/* Fonts */
:root {
    --primary-color: #FFBF00;
    --success-color: #178217;
    --text-color: #1A1A1A;
    --bg-color: #FFF;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color) !important;
    overflow-x: hidden;
}

@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1095px;
    }
}

.font-playfair {
    font-family: var(--font-heading);
}

.text-warning {
    color: var(--primary-color) !important;
}

.bg-warning {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #e6ac00;
    border-color: #e6ac00;
}

/* Danger Action: Gradient */
.btn-danger {
    background: linear-gradient(135deg, #E12B38 0%, #b21f2a 100%) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #ff4d5a 0%, #d92632 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(225, 43, 56, 0.3) !important;
}

/* Light Action: Soft Gradient */
.btn-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border: 1px solid #dee2e6 !important;
    color: #495057 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04) !important;
}

.btn-light:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f1f3f5 100%) !important;
    color: #212529 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08) !important;
}


.text-success {
    color: var(--success-color) !important;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}



.marquee-content:hover {
    animation-play-state: paused;
}

.announcement-bar {
    background-color: #F28CBF;
    padding: 0.65rem 0;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    width: 100%;
    z-index: 3;
}

.marquee-wrapper {
    overflow: hidden;
}

.marquee-content {
    display: flex;
    gap: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.shop-link {
    margin-left: 6px;
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

.shop-link:hover {
    text-decoration: none;
}


/* Announcement Bar */

/* Navbar Deskstop */
.navbar-brand img {
    height: 40px;
    object-fit: contain;
}

/* Tablet */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 42px;
    }

    .iconsize-top {
        width: 32px;
        height: 32px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .navbar-brand img {
        height: 34px;
    }

    .iconsize-top {
        width: 32px;
        height: 32px;
    }
}

.iconsize-top {
    width: 40px;
    height: 40px;
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    position: relative;
    font-size: 1rem;
    /* User requested check font size, increasing slightly */
}

.nav-item {
    position: relative;
    text-align: center;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0px;
    padding-left: 0px;
}

/* Dropdown Arrow Animation */
.dropdown-toggle::after {
    transition: transform 0.3s ease;
    border: none;
    content: "\f282";
    font-family: 'bootstrap-icons';
    margin-left: 0.5em;
    vertical-align: middle;
    font-size: 0.8em;
    font-weight: bold;
}

.dropdown-toggle.show::after,
.nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.nav-link.active::before,
.nav-link:hover::before {
    content: '';
    position: absolute;
    width: 100%;
    /* Adjusted width for better look */
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    transition: width 0.3s;
}

/* Multi-level Dropdown Hover (Desktop Only) */
@media (min-width: 992px) {

    .hover-dropdown:hover>.dropdown-menu,
    .dropdown-menu.show {
        display: block;
        margin-top: 0;
        border-radius: 0;
        border: none;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        animation: fadeIn 0.3s ease;
    }

    .hover-dropend:hover>.dropdown-menu,
    .dropend .dropdown-menu.show {
        display: block;
        top: 0;
        left: 100%;
        margin-top: -5px;
        margin-left: 0;
        border-radius: 0;
        border: none;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        animation: fadeIn 0.3s ease;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Offcanvas Styles */
.offcanvas-header {
    background-color: #f8f9fa;
}

.offcanvas-title>img {
    width: 80px;
    object-fit: contain;
}

.offcanvas-body .list-group-item {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #333;
}

.offcanvas-body .accordion-button {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #333;
}

.offcanvas-body .accordion-button:not(.collapsed) {
    color: var(--success-color);
    background-color: transparent;
    box-shadow: none;
}

.offcanvas-body .accordion-button:focus {
    box-shadow: none;
}


/* Hero Section */
.hero-section {
    position: relative;
    /* Height is handled inline or via min-height now */
    margin-top: 0;
}

/* Offcanvas Cart */
.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Category Tabs */
#categoryTabs .btn {
    border: 1px solid #ddd;
    background: white;
    color: var(--text-color);
    padding: 0.5rem 1.5rem;
}

#categoryTabs .btn.active,
#categoryTabs .btn:hover {
    background-color: var(--text-color);
    color: white;
    border-color: var(--text-color);
}

/* Product Card */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.product-card img {
    height: 250px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* Lazy Loading */
.lazy-img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.lazy-img.loaded {
    opacity: 1;
}

/* Footer links hover */
.hover-white:hover {
    color: white !important;
    padding-left: 5px;
    transition: all 0.2s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
    }

    .display-3 {
        font-size: 2.5rem;
    }
}

/* Swiper Pagination & Navigation Customization */
.swiper-button-next,
.swiper-button-prev {
    color: #1a5d1a !important;
    /* Dark Green arrows */
    background-color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background-color: white;
    opacity: 0.6;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    background-color: #178217 !important;
    /* Green active bullet */
    opacity: 1;
    width: 25px;
    /* Elongated active bullet */
    border-radius: 5px;
}

/* Hero Section Image 1 Replica */
.hero-replica {
    background: linear-gradient(90deg, #e3ffe7 0%, #d9e7ff 100%);
    /* Soft green/blue gradient like Image 1 */
    position: relative;
    padding: 80px 0;
    min-height: 600px;
    /* Adjust as needed */
    display: flex;
    align-items: center;
}

.hero-title {
    color: #1a5d1a;
    /* Dark Green Text */
    font-weight: bold;
    line-height: 1.1;
}

.hero-subtitle {
    color: #638c1c;
    /* Lighter Green/Gold Text */
    font-style: italic;
}

.btn-hero-green {
    background-color: #2da133;
    color: white;
    border-radius: 30px;
    padding: 12px 35px;
    font-weight: bold;
    border: none;
    box-shadow: 0 4px 15px rgba(45, 161, 51, 0.4);
    transition: transform 0.2s;
}

.btn-hero-green:hover {
    transform: translateY(-2px);
    background-color: #238b28;
}

/* Sticky Categories Nav */
.categories-nav-wrapper {
    position: sticky;
    top: 76px;
    /* Adjust based on header height */
    z-index: 99;
    background-color: #fff;
    /* Light cream background */
    padding: 15px 0;
    margin-top: -1px;
}

.cat-nav-swiper .swiper-slide {
    width: auto;
    /* Allow auto width for pills */
}


/* Waves */
.wave-container {
    position: relative;
    width: 100%;
    height: 60px;
    /* Reduced height to avoid massive gaps */
    background-color: #fff9e8;
    /* Match categories bg */
    z-index: 10;
}

.wave-top {
    bottom: -1px;
    transform: rotate(180deg);
}

.wave-bottom {
    top: -1px;
}

.wave-svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* Feature Card Hover (Gut Health) */
.feature-card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Utility */
.letter-spacing-2 {
    letter-spacing: 2px;
}

/* Diagrand Swiper Customization */
.diagrandSwiper .swiper-pagination-bullet {
    background-color: #333;
    opacity: 0.3;
}

.diagrandSwiper .swiper-pagination-bullet-active {
    background-color: #333 !important;
    opacity: 1;
    width: 25px;
}

.diagrandSwiper .swiper-button-next,
.diagrandSwiper .swiper-button-prev {
    color: #333;
}

/* Ensure Categories Nav Top position is correct for sticky header */
.categories-nav-wrapper {
    /* Header is height approx 94px + padding -> check rendered height. 
       Assuming header ~100px. User logo is 94px inside header. 
       Let's use a safe top value or ensure sticky works.*/
    top: 0;
    /* sticky-top usually sticks to 0. If header is also sticky, we need to account for it. 
             If header is position: sticky, top: 0. Then cat-nav should be top: header-height.
             Header Logo height 94px + py-3 (1rem*2 = 32px) = ~126px.
             Let's try 120px for now, or just verification will tell. */
    top: 80px;
}

@media (max-width: 991px) {
    .categories-nav-wrapper {
        top: 60px;
        /* Mobile header is smaller ~60px */
        top: 55px;
    }
}

/* Footer Replica Styles */
.footer-replica h2,
.footer-replica h5 {
    letter-spacing: 0.5px;
}

.social-icon-circle {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    /* Very subtle white for dark theme */
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-icon-circle:hover {
    background-color: #ffbf00;
    /* Warning Yellow */
    color: #000;
    transform: translateY(-3px);
}

.hover-warning {
    transition: color 0.3s ease;
}

.hover-warning:hover {
    color: #ffbf00 !important;
}

/* Specific Border Opacity for footer bottom */
.border-opacity-10 {
    --bs-border-opacity: 0.1;
}

.border-opacity-25 {
    --bs-border-opacity: 0.25;
}

/* Font size adjustments */
.fs-7 {
    font-size: 0.9rem;
}

.truncate-multiline {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.truncate {
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Best Selling Product Card Styles */
.best-selling-products {
    padding: 0rem 0rem 3rem;
}

.bs-product-card {
    display: flex;
    flex-direction: column;
    padding: 30px;
    /* Slightly more padding for a premium look */
    height: 100%;
    border-radius: 24px;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bs-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.bs-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.bs-product-card h4 {
    font-size: 1.25rem;
    line-height: 1.75rem;
    /* Slightly larger title */
    font-weight: 800;
    margin-bottom: 10px;
    color: #000;
    font-family: 'Playfair Display', serif;
    /* Ensure Serif font used */
}

.bs-product-card p {
    font-size: 0.875rem;
    /* Closer to reference image */
    color: #444;
    line-height: 1.625;
    margin-bottom: 30px;
    /* Gap above image container */
    font-weight: 400;
    min-height: 3.9rem;
    /* Accommodate ~3 lines to keep boxes aligned */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bs-image-box {
    background: #fff;
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 215px;
    width: 100%;
}

.bs-image-box img {
    max-height: 170px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.bs-product-card:hover .bs-image-box img {
    transform: scale(1.05);
}

.bs-btn-wrapper {
    margin-top: auto;
}

.bs-view-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-radius: 50px;
    background: #111;
    color: #fff !important;
    text-decoration: none;
    padding: 7px 20px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.bs-view-btn span {
    letter-spacing: 0.1px;
}

.bs-view-btn:hover {
    background: #000;
}

.bs-view-btn i {
    font-size: 1.3rem;
}

/* Background Colors from Image */
.bs-bg-pink {
    background-color: #f7dee4;
}

.bs-bg-cream {
    background-color: #fff4d1;
}

.bs-bg-green {
    background-color: #d1f2eb;
}

.bs-bg-lime {
    background-color: #ecf3d9;
}

.section--padding {
    padding: 2rem 0rem;
}

.section__text_align_start {
    text-align: start;
}

.section__heading {
    margin-bottom: 2rem;
}

.rating__list {
    margin-right: 0.4rem;
}

.dropdown-item:active {
    background-color: #ea8830;
}

.main__content_padding {
    padding-top: 3rem;
}

/* Wrapper */
.breadcrumb-wrapper {
    background: #fff7f0;
    padding: 14px 0;
    border-radius: 999px;
    max-width: fit-content;
    margin: 0 auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* Base breadcrumb */
.custom-breadcrumb {
    background: transparent;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 500;
}

/* Separator */
.custom-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: #c9a27c;
    padding: 0 10px;
    font-weight: 700;
}

/* Links */
.breadcrumb-link {
    color: #6c757d;
    text-decoration: none;
    transition: color .2s ease;
}

.breadcrumb-link:hover {
    color: #ce7b28;
}


.titletext {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
}

.subtitletext {
    font-size: 1.1rem;
}

/* Active page */
.custom-breadcrumb .breadcrumb-item.active {
    color: #ce7b28;
    font-weight: 700;
}

/* Mobile */
@media (max-width: 576px) {
    .breadcrumb-wrapper {
        border-radius: 16px;
        padding: 10px 0;
    }

    .custom-breadcrumb {
        font-size: 13px;
        padding: 0 16px;
    }

    .titletext {
        font-size: 2.4rem;
    }

    .better_health {
        padding: 1rem 0rem 5rem;
    }
}

.better_health {
    padding: 4rem 0rem 7rem;
}

/* Modern Clean Product Card */
.product-card-clean {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #111;
    /* Distinct black border */
    transition: all 0.3s ease;
    background: #fff;
}

.product-card-clean:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Header Image Area */
.card-img-header {
    position: relative;
    min-height: 185px;
    padding: 15px;
}

.card-img-header img {
    max-height: 210px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card-clean:hover .card-img-header img {
    transform: scale(1.05);
}

/* Background Colors – Accurate HSL Conversion */

.bg-card-pink {
    background-color: #fde7ee;
    /* hsl(350,85%,92%) */
}

.bg-card-cream {
    background-color: #fff2cc;
    /* hsl(45,100%,90%) */
}

.bg-card-green {
    background-color: #def3ee;
    /* hsl(165,60%,88%) */
}

.bg-card-lime {
    background-color: #eef5db;
    /* hsl(85,55%,88%) */
}

/* Discount Badge */
.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff7f00;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 7px;
    border-radius: 8px;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Body Content */
.card-body-content {
    padding: 1rem;
}

.product-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
    color: #000;
    line-height: 1.25;
}

.product-subtitle {
    color: #666;
    font-size: 0.85rem;
    line-height: 1rem;
    /* Increased size */
    margin-bottom: 5px;
    font-weight: 400;
}

.product-rating {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: #666;
}

.stars {
    color: #ffc107;
    font-size: 0.85rem;
    display: flex;
    gap: 2px;
}

.product-price {
    font-weight: 900;
    font-size: 0.89rem;
    line-height: 1.25rem;
    color: #000;
    display: flex;
    align-items: center;
    gap: 12px;
}

.old-price {
    font-weight: 500;
    text-decoration: line-through;
    color: #999;
}

/* Button */
.add-to-cart-btn {
    background: #111;
    color: #fff;
    border-radius: 14px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.75rem;
    line-height: 1rem;
    text-align: center;
    display: block;
    transition: background 0.2s;
    border: none;
    text-decoration: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.add-to-cart-btn i {
    font-size: 1.25em;
    vertical-align: middle;
}

.add-to-cart-btn:hover {
    background: #ffbf00;
    color: #333;
}


.btn-tag-active {
    background: #ffbf00;
    color: #080808;
}

.btn-tag-inactive {
    background: #fff;
    color: #080808;
    border: 1px solid #080808;
}

.tag-image-container {
    /*    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);*/
    transition: transform 0.3s ease;
}

.tag-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.text-leaf {
    color: #7eb82e;
}

.text-rose-deep {
    color: #ed5ea6;
}

/*Section background*/
.section-why-triq {
    background-color: #7eb82e33;
    position: relative;
}

/* Icon wrapper base */
.why-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Icon background variants */
.icon-bg-yellow {
    background: hsl(45, 100%, 50%);
    color: #000;
}

.icon-bg-green {
    background: hsl(85, 60%, 45%);
    color: #fff;
}

.icon-bg-orange {
    background: hsl(28, 100%, 55%);
    color: #fff;
}

.icon-bg-pink {
    background: hsl(330, 70%, 85%);
    color: #dc3545;
}

.icon-bg-teal {
    background: hsl(175, 50%, 45%);
    color: #fff;
}

.icon-bg-dark {
    background: hsl(0, 0%, 10.2%);
    color: #fff;
}


.package-card.active-pack {
    background: linear-gradient(135deg, #f9b9e0 0%, #ffe095 100%);
    border-color: #ffc107 !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.save-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff9800;
    color: #fff;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
}


/*Cart Drawer*/
/* Header */
.cart-drawer-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4545 100%);
    padding: 1.1rem 1.5rem;
    border-bottom: none;
}

.cart-icon-wrapper {
    position: relative;
    width: 45px;
    height: 45px;
    background: rgba(255, 191, 0, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFBF00;
    font-size: 1.25rem;
}

.offcanvas-title {
    font-weight: 600;
    margin-bottom: 0;
    color: #fff;
}

.cart-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FFBF00;
    color: #1a1a1a;
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Empty Cart */
.empty-cart-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-cart-icon i {
    font-size: 2.5rem;
    color: #adb5bd;
}

/* Cart Items */
.cart-items-list {
    background: #f8f9fa;
}

.cart-item-card {
    display: flex;
    gap: 12px;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.cart-item-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cart-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.cart-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #adb5bd;
    padding: 0;
    font-size: 0.8rem;
    cursor: pointer;
    transition: color 0.2s;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    color: #dc3545;
}

.cart-item-variant {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 2px;
}

.cart-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
}

.cart-item-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.current-price {
    font-weight: 700;
    font-size: 1rem;
    color: #1a1a1a;
}

.original-price {
    font-size: 0.8rem;
    color: #adb5bd;
    text-decoration: line-through;
}

/* Quantity Controls */
.cart-item-quantity {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #FFBF00;
    color: #1a1a1a;
}

.qty-input {
    width: 32px;
    height: 28px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Cart Summary */
.cart-summary {
    background: #fff;
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.25rem 1.5rem;
}

.savings-banner {
    background: linear-gradient(90deg, #198754 0%, #20c997 100%);
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 1rem;
}

.price-breakdown {
    margin-bottom: 1rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.9rem;
    color: #6c757d;
}

.price-row.total {
    border-top: 1px dashed #dee2e6;
    padding-top: 12px;
    margin-top: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* Action Buttons */
.cart-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

.btn-checkout {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    background: linear-gradient(135deg, #FFBF00 0%, #FFD54F 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 191, 0, 0.3);
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 191, 0, 0.4);
    color: #1a1a1a;
}

.btn-clear-cart {
    padding: 14px 16px;
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-clear-cart:hover {
    background: #fee2e2;
    color: #dc3545;
    border-color: #fecaca;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 0.5rem;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #6c757d;
    font-size: 0.7rem;
}

.trust-badge i {
    font-size: 1rem;
    color: #198754;
}

/* Responsive */
@media (max-width: 575.98px) {
    #cartDrawer {
        width: 100%;
    }

    .cart-item-image {
        width: 70px;
        height: 70px;
    }

    .cart-item-title {
        font-size: 0.85rem;
    }

    .savings-banner {
        padding: 5px;
        border-radius: 50px;
    }
}

#cartDrawer {
    width: 420px;
    max-width: 100%;
    border: none;
}


/* Mobile */
@media (max-width: 576px) {
    .cart-drawer-header {
        padding: 0.9rem 1rem;
    }

    .cart-summary {
        padding: 0.9rem 1rem 1.5rem !important;
    }
}

/* Banner wrapper */
.products__banner {
    width: 100%;
    max-height: 24rem;
    /* Desktop height control */
    overflow: hidden;
    position: relative;
}

/* Banner image */
.products__banner .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* KEY: prevents stretching */
    display: block;
}

/* Tablet */
@media (max-width: 992px) {
    .products__banner {
        max-height: 240px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .products__banner {
        max-height: 180px;
    }
}

.about__thumbnail {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Image itself */
.about__thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: inherit;
    transition: transform 0.6s ease;
}

/* Subtle hover effect */
.about__thumbnail:hover {
    transform: translateY(-6px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.25);
}

.about__thumbnail:hover img {
    transform: scale(1.05);
}

/* Optional soft gradient overlay */
.about__thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0) 40%,
            rgba(0, 0, 0, 0.15) 100%);
    pointer-events: none;
}

/* Common card styles for all three cards */
.contact-card {
    transition: all 0.25s ease;
    background: white;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08) !important;
}

/* Icon wrapper & icon */
.contact-icon-wrapper {
    line-height: 1;
}

.contact-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(206, 123, 40, 0.10);
}

/* Titles & text */
.contact-title {
    margin-bottom: 0.5rem;
}

.contact-text,
.contact-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Call number items */
.call-number-item {
    display: block;
    padding: 14px 16px;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
    transition: all 0.22s ease;
    border: 1px solid #e9ecef;
}

.call-number-item:hover {
    background: #fff3e8;
    border-color: #ffd8a8;
    transform: translateY(-2px);
}

.call-number-item.accounts {
    background: #fff8f0;
}

.call-number-item.accounts:hover {
    background: #ffe8cc;
}

.call-number-item .number {
    font-weight: 600;
    color: #1f3d2b;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.call-number-item .action {
    font-size: 0.82rem;
    color: #6c757d;
}

/* Group labels */
.group-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1f3d2b;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-align: left;
}

.group-label.accent {
    color: #ce7b28;
}

/* Responsive tweaks */
@media (max-width: 767px) {
    .call-number-item {
        padding: 16px 12px;
    }
}


/* Address Selection Cards */
.address-card-label {
    width: 100%;
    cursor: pointer;
    margin-bottom: 0;
}

.address-card-label input[type="radio"] {
    display: none;
}

.address-card {
    padding: 24px;
    border: 2px solid #f1f3f5;
    border-radius: 16px;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    /* Removed overflow: hidden to prevent badge clipping */
}

.address-card-label input:checked+.address-card {
    border-color: #ffbf00 !important;
    background: #fffcf5;
    box-shadow: 0 8px 30px rgba(255, 191, 0, 0.12);
}

.address-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: #178217;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(23, 130, 23, 0.25);
}

.address-type {
    font-size: 13px;
    font-weight: 500;
    color: #ce7b28;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Add New Address Card */
.add-new-card {
    border-style: dashed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    text-align: center;
    color: #6c757d;
}

.add-new-card:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(255, 191, 0, 0.05);
}

.add-new-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.add-new-card:hover .add-new-icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.address-card-label input:checked+.add-new-card {
    border-style: solid;
}

/* New Address Form Animation */
.new-address-form {
    border-top: 1px dashed #dee2e6;
    margin-top: 20px;
    padding-top: 25px;
}

/* Quantity Selector Component (Premium Fix) */
.cart-item-quantity-control {
    width: fit-content !important;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    user-select: none;
}

.cart-item-quantity-control .quantity__number {
    width: 42px !important;
    height: 100%;
    padding: 0 !important;
    font-size: 14px;
    line-height: 1;
    color: #1a1a1a;
    outline: none;
    -moz-appearance: textfield;
}

.cart-item-quantity-control .quantity__number::-webkit-outer-spin-button,
.cart-item-quantity-control .quantity__number::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-item-quantity-control .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-width: 32px;
    box-shadow: none !important;
}

.cart-item-quantity-control .btn i {
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 700;
}

.cart-item-quantity-control .btn:disabled {
    opacity: 0.3;
}

.fade-in {
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


 /* Login Page Premium Styles */
    .login-page {
        background: linear-gradient(135deg, #f8f6f2 0%, #fff9e8 100%);
    }

    .login-brand-side {
        background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    }

    .login-brand-bg {
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at 20% 80%, rgba(255, 191, 0, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(23, 130, 23, 0.1) 0%, transparent 50%);
    }

    .login-decoration {
        position: absolute;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(255, 191, 0, 0.2), rgba(255, 191, 0, 0.05));
    }

    .login-decoration-1 {
        width: 200px;
        height: 200px;
        bottom: -50px;
        right: -50px;
    }

    .login-decoration-2 {
        width: 100px;
        height: 100px;
        top: 20%;
        right: 10%;
        background: linear-gradient(135deg, rgba(23, 130, 23, 0.2), rgba(23, 130, 23, 0.05));
    }

    .login-form-side {
        min-height: 500px;
    }

    /* Auth Slider */
    .auth-slider-container {
        position: relative;
        overflow: hidden;
    }

    .auth-slide {
        display: none;
        animation: slideIn 0.4s ease-out;
    }

    .auth-slide.active {
        display: block;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(30px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Form Styles */
    .login-input-group {
        position: relative;
        margin-bottom: 1.5rem;
    }

    .login-input-group .form-control {
        padding: 1rem 1rem 1rem 3rem;
        border: 2px solid #e9ecef;
        border-radius: 12px;
        font-size: 1rem;
        transition: all 0.3s ease;
        background-color: #f8f9fa;
    }

    .login-input-group .form-control:focus {
        border-color: var(--primary-color);
        background-color: #fff;
        box-shadow: 0 0 0 4px rgba(255, 191, 0, 0.1);
    }

    .login-input-group .input-icon {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: #adb5bd;
        font-size: 1.1rem;
        transition: color 0.3s ease;
    }

    .login-input-group .form-control:focus+.input-icon,
    .login-input-group:focus-within .input-icon {
        color: var(--primary-color);
    }

    /* OTP Inputs */
    .otp-inputs {
        display: flex;
        gap: 0.75rem;
        justify-content: center;
    }

    .otp-input {
        width: 50px;
        height: 55px;
        text-align: center;
        font-size: 1.5rem;
        font-weight: 600;
        border: 2px solid #e9ecef;
        border-radius: 12px;
        transition: all 0.3s ease;
        background-color: #f8f9fa;
    }

    .otp-input:focus {
        border-color: var(--primary-color);
        background-color: #fff;
        box-shadow: 0 0 0 4px rgba(255, 191, 0, 0.1);
        outline: none;
    }

    .otp-input.filled {
        border-color: var(--success-color);
        background-color: rgba(23, 130, 23, 0.05);
    }

    /* Buttons */
    .btn-login {
        background: linear-gradient(135deg, var(--primary-color) 0%, #e6ac00 100%);
        border: none;
        color: #1a1a1a;
        font-weight: 600;
        padding: 0.875rem 2rem;
        border-radius: 12px;
        font-size: 1rem;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 191, 0, 0.35);
        color: #1a1a1a;
    }

    .btn-login:active {
        transform: translateY(0);
    }

    .btn-login .spinner-border {
        width: 1.25rem;
        height: 1.25rem;
    }

    /* Countdown Timer */
    .countdown-timer {
        font-size: 0.9rem;
        color: #6c757d;
    }

    .countdown-timer .time {
        font-weight: 600;
        color: var(--primary-color);
    }

    /* Resend Link */
    .resend-link {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .resend-link:hover {
        color: #e6ac00;
        text-decoration: underline;
    }

    .resend-link.disabled {
        color: #adb5bd;
        pointer-events: none;
    }

    /* Back Button */
    .btn-back {
        color: #6c757d;
        background: transparent;
        border: none;
        padding: 0.5rem;
        font-size: 0.9rem;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
    }

    .btn-back:hover {
        color: var(--primary-color);
    }
    
    .policiicon{
        width:40px; height:40px;margin-right:5px; 
        display: flex;align-items: center;justify-content: center;
     }

    /* Responsive */
    @media (max-width: 991.98px) {
        .login-form-side {
            border-radius: 1.5rem !important;
        }
    }

    @media (max-width: 575.98px) {
        .otp-input {
            width: 45px;
            height: 50px;
            font-size: 1.25rem;
        }

        .otp-inputs {
            gap: 0.5rem;
        }
    }
    
    .login-icon-circle {
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, rgba(255, 191, 0, 0.15) 0%, rgba(255, 191, 0, 0.05) 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-color);
    }

    .trust-badge {
        padding: 0.75rem;
        border-radius: 12px;
        background: #f8f9fa;
        transition: all 0.3s ease;
    }

    .trust-badge:hover {
        background: #fff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        transform: translateY(-2px);
    }

    .trust-badge i {
        font-size: 1.25rem;
    }
    
    /* Additional OTP form styles */
    .otp-inputs {
        display: flex;
        gap: 0.75rem;
        justify-content: center;
    }

    .otp-input {
        width: 50px;
        height: 55px;
        text-align: center;
        font-size: 1.5rem;
        font-weight: 600;
        border: 2px solid #e9ecef;
        border-radius: 12px;
        transition: all 0.3s ease;
        background-color: #f8f9fa;
    }

    .otp-input:focus {
        border-color: var(--primary-color);
        background-color: #fff;
        box-shadow: 0 0 0 4px rgba(255, 191, 0, 0.1);
        outline: none;
    }

    .otp-input.filled {
        border-color: var(--success-color);
        background-color: rgba(23, 130, 23, 0.05);
    }

    .otp-input.error {
        border-color: #dc3545;
        background-color: rgba(220, 53, 69, 0.05);
        animation: shake 0.4s ease-in-out;
    }

    @keyframes shake {

        0%,
        100% {
            transform: translateX(0);
        }

        25% {
            transform: translateX(-5px);
        }

        75% {
            transform: translateX(5px);
        }
    }

    @media (max-width: 575.98px) {
        .otp-input {
            width: 42px;
            height: 48px;
            font-size: 1.25rem;
        }

        .otp-inputs {
            gap: 0.5rem;
        }
    }