/*
==================================================
  Twin Cats - Warm Commerce Redesign Layer
  Inspired by calm Saudi pet-commerce UX patterns.
==================================================
*/

:root {
    --tc-bg: #fffaf3;
    --tc-surface: #ffffff;
    --tc-surface-warm: #fff3df;
    --tc-surface-soft: #fff8ed;
    --tc-ink: #111827;
    --tc-muted: #667085;
    --tc-border: #f1dfc7;
    --tc-primary: #d85f1f;
    --tc-primary-dark: #b94716;
    --tc-primary-soft: #fff0d7;
    --tc-accent: #f1a53a;
    --tc-green: #9fcb3a;
    --tc-shadow: 0 14px 36px rgba(88, 46, 12, 0.1);
    --tc-shadow-strong: 0 22px 56px rgba(74, 38, 9, 0.18);

    --primary-color: var(--tc-primary);
    --primary-dark: var(--tc-primary-dark);
    --primary-light: #efaa74;
    --primary-lighter: var(--tc-primary-soft);
    --secondary-color: var(--tc-accent);
    --secondary-dark: #c97417;
    --bg-gray: var(--tc-bg);
    --bg-light: var(--tc-surface-soft);
    --text-primary: var(--tc-ink);
    --text-secondary: var(--tc-muted);
    --border-color: var(--tc-border);
    --pol-primary: var(--tc-primary);
    --pol-primary-2: var(--tc-accent);
    --pol-accent: var(--tc-accent);
    --apple-bg: var(--tc-bg);
    --apple-card: var(--tc-surface);
    --apple-text: var(--tc-ink);
    --apple-secondary: var(--tc-muted);
    --apple-accent: var(--tc-primary);
    --apple-accent-hover: var(--tc-primary-dark);
    --apple-green: #15803d;
    --apple-border: rgba(88, 46, 12, 0.1);
}

html,
body {
    background: var(--tc-bg);
}

body {
    color: var(--tc-ink);
}

.btn-primary,
.btn-search-modern,
.btn-package-add,
.btn-add-package,
.btn-submit-review,
.btn-cart,
.btn-order {
    background: linear-gradient(135deg, var(--tc-primary), var(--tc-accent)) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(216, 95, 31, 0.22);
}

.btn-primary:hover,
.btn-search-modern:hover,
.btn-package-add:hover,
.btn-add-package:hover,
.btn-submit-review:hover,
.btn-cart:hover,
.btn-order:hover {
    background: linear-gradient(135deg, var(--tc-primary-dark), var(--tc-primary)) !important;
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(216, 95, 31, 0.3);
}

.btn-outline-primary {
    border-color: var(--tc-primary) !important;
    color: var(--tc-primary) !important;
    background: #fff !important;
}

.btn-outline-primary:hover {
    background: var(--tc-primary) !important;
    color: #fff !important;
}

/* Header */
.site-header {
    background: var(--tc-surface);
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

#mainNavbar,
.mega-menu-nav {
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: none !important;
}

#mainNavbar {
    border-bottom: 1px solid #f4eadc;
    padding: 0.72rem 0;
}

#mainNavbar.scrolled {
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06) !important;
}

.header-logo-img {
    filter: none;
}

.search-wrapper,
.search-form-center .input-group,
#mobileSearchBar .input-group {
    border-radius: 14px;
    border: 1px solid #ead9c1;
    background: #fffaf3;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.search-input-modern,
#mobileSearchBar .form-control {
    border: none !important;
    background: transparent !important;
    color: var(--tc-ink) !important;
    min-height: 46px;
    font-size: 1rem;
    line-height: 1.4;
    display: flex;
    align-items: center;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

#mobileSearchBar .container {
    max-width: none;
    width: 100%;
    padding: 0.75rem 14px !important;
}

#mobileSearchBar .input-group {
    width: 100%;
    min-height: 48px;
}

#mobileSearchBar .btn {
    min-width: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.header-icon-link,
.btn-icon-modern,
.navbar-toggler {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px !important;
    background: #fff8ed !important;
    border: 1px solid #f0e0ca !important;
    color: var(--tc-ink) !important;
    box-shadow: none !important;
}

.header-icon-link:hover,
.btn-icon-modern:hover,
.navbar-toggler:hover {
    color: var(--tc-primary) !important;
    background: var(--tc-primary-soft) !important;
    transform: translateY(-1px);
}

.header-icon-link .bi-bell-fill {
    color: var(--tc-accent) !important;
}

.theme-toggle-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #f0e0ca;
    border-radius: 13px;
    background: #fff8ed;
    color: var(--tc-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), 0 8px 18px rgba(87,46,10,0.06);
}

.theme-toggle-icon {
    font-size: 1.08rem;
    line-height: 1;
    color: #1f2937;
}

.theme-toggle-btn.is-dark {
    background: #151515;
    border-color: rgba(255,255,255,0.14);
}

.theme-toggle-btn.is-dark .theme-toggle-icon {
    color: #fff7ed;
}

.cart-badge-modern,
.wishlist-badge-modern,
.cart-nav-badge {
    background: #ee4b6a !important;
}

.money {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.18em;
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
    line-height: 1;
}

.money-amount {
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.sar-symbol {
    display: inline-block;
    width: 0.88em;
    height: 0.88em;
    flex: 0 0 auto;
    color: currentColor;
    background: currentColor;
    -webkit-mask: url('../uploads/Saudi_Riyal_Symbol.svg') center / contain no-repeat;
    mask: url('../uploads/Saudi_Riyal_Symbol.svg') center / contain no-repeat;
    transform: translateY(0.07em);
}

.money.is-muted .sar-symbol,
.original-price .sar-symbol,
.product-old-price .sar-symbol,
.price-old .sar-symbol,
.price-original-small .sar-symbol {
    opacity: 0.78;
}

.promo-coupon-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1058;
    background: rgba(38, 27, 13, 0.58);
    backdrop-filter: blur(5px);
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.promo-coupon-backdrop.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.promo-coupon-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    z-index: 1060;
    width: min(540px, calc(100vw - 32px));
    max-height: min(88vh, 620px);
    display: grid;
    grid-template-columns: 144px minmax(0, 1fr);
    grid-template-areas:
        "brand brand"
        "icon copy"
        "actions actions";
    align-items: center;
    gap: 1rem 1.15rem;
    padding: 1.15rem;
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(255, 254, 250, 0.98), rgba(255, 239, 216, 0.98)) padding-box,
        linear-gradient(135deg, #f08a36, #f6c177 48%, #7c3aed) border-box;
    border: 1px solid transparent;
    box-shadow: 0 34px 80px rgba(54, 31, 10, 0.36), 0 0 0 1px rgba(255,255,255,0.72) inset;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    isolation: isolate;
    overscroll-behavior: contain;
}

.promo-coupon-toast::before,
.promo-coupon-toast::after {
    display: none;
}

.promo-coupon-brand,
.promo-coupon-icon,
.promo-coupon-copy,
.promo-coupon-actions {
    position: relative;
    z-index: 1;
}

.promo-coupon-toast.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, calc(-50% + 18px)) scale(0.98);
    pointer-events: none;
}

.promo-coupon-close {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.9);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    box-shadow: 0 10px 22px rgba(17,24,39,0.24);
    z-index: 3;
}

.promo-coupon-brand {
    grid-area: brand;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-left: 2.55rem;
}

.promo-coupon-brand img {
    width: 114px;
    max-height: 42px;
    object-fit: contain;
}

.promo-coupon-brand span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 0.75rem;
    border-radius: 999px;
    background: rgba(240, 138, 54, 0.12);
    color: #8a4a13;
    font-size: 0.76rem;
    font-weight: 900;
}

.promo-coupon-icon {
    grid-area: icon;
    width: 144px;
    height: 168px;
    border-radius: 28px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    background: linear-gradient(145deg, #7c3aed, #f08a36 58%, #f6c177);
    color: #fff;
    font-size: 1.65rem;
    box-shadow: 0 22px 44px rgba(124, 58, 237, 0.22), 0 18px 34px rgba(240, 138, 54, 0.24);
}

.promo-coupon-icon span {
    font-size: 3.2rem;
    font-weight: 950;
    line-height: 0.9;
}

.promo-coupon-copy {
    grid-area: copy;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
}

.promo-coupon-label {
    width: fit-content;
    color: #8a4a13;
    font-size: 0.78rem;
    font-weight: 950;
    padding: 0.22rem 0.58rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(216, 95, 31, 0.18);
}

.promo-coupon-copy h2 {
    margin: 0;
    color: #2f241b;
    font-size: 1.6rem;
    line-height: 1.22;
    font-weight: 950;
}

.promo-coupon-copy p {
    margin: 0;
    color: #7c6654;
    font-size: 0.9rem;
    line-height: 1.55;
    font-weight: 750;
}

.promo-coupon-code {
    width: fit-content;
    max-width: 100%;
    color: #111827;
    font-size: 1.3rem;
    letter-spacing: 0;
    line-height: 1.16;
    padding: 0.34rem 0.74rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px dashed rgba(216, 95, 31, 0.55);
    box-shadow: 0 8px 18px rgba(74, 38, 9, 0.08);
}

.promo-coupon-perks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 0.12rem;
}

.promo-coupon-perks span {
    min-width: 0;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.32rem;
    padding: 0.34rem 0.42rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(216, 95, 31, 0.14);
    color: #6d5643;
    font-size: 0.68rem;
    font-weight: 850;
    text-align: center;
    line-height: 1.35;
    overflow: hidden;
}

.promo-coupon-perks .money {
    flex: 0 0 auto;
    gap: 0.1em;
    font-size: 0.72rem;
    line-height: 1;
}

.promo-coupon-perks .sar-symbol {
    width: 0.72em;
    height: 0.72em;
}

.promo-coupon-perks i {
    color: #f08a36;
    font-size: 0.86rem;
}

.promo-coupon-actions {
    grid-area: actions;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}

.promo-coupon-copy-btn,
.promo-coupon-shop-btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    padding: 0 0.95rem;
    border: 0;
    border-radius: 999px;
    font-weight: 950;
    font-size: 0.86rem;
    white-space: nowrap;
    text-decoration: none;
}

.promo-coupon-copy-btn {
    background: linear-gradient(135deg, #f08a36, #f5a623);
    color: #fff;
    box-shadow: 0 14px 28px rgba(240, 138, 54, 0.28);
}

.promo-coupon-shop-btn {
    background: #111827;
    color: #fff;
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.16);
}

.promo-coupon-copy-btn.copied {
    background: #16a34a;
}

.mega-menu-nav {
    border-top: none !important;
    border-bottom: 1px solid #f3e4d2;
}

.nav-link-modern {
    color: var(--tc-muted) !important;
    font-weight: 800;
    border-radius: 999px;
    padding: 0.62rem 0.9rem !important;
}

.nav-link-modern:hover,
.nav-link-modern.active {
    background: var(--tc-primary-soft);
    color: var(--tc-primary-dark) !important;
}

.nav-link-modern::after {
    display: none !important;
}

.mega-menu {
    overflow: visible;
    position: relative;
}

.mega-menu .row > [class*="col-"] {
    min-width: 0;
}

.mega-menu-section,
.mega-menu-highlight {
    min-width: 0;
}

.mega-menu-title,
.mega-menu-list a,
.mega-menu-highlight h6,
.mega-menu-highlight p {
    white-space: normal !important;
    overflow-wrap: anywhere;
    line-height: 1.45;
}

@media (min-width: 992px) {
    .mega-menu-nav {
        overflow: visible;
        position: relative;
    }

    .mega-menu-nav .container {
        position: relative;
        overflow: visible;
    }

    .mega-dropdown {
        position: static;
    }

    .mega-dropdown > .mega-menu {
        position: absolute !important;
        top: calc(100% - 2px);
        right: 50%;
        left: auto !important;
        width: min(900px, calc(100vw - 48px));
        min-width: 0;
        margin-top: 0;
        transform: translateX(50%) !important;
        animation: none !important;
        z-index: 1055;
        display: none;
        pointer-events: auto;
    }

    /* Full-width invisible hover catcher — prevents hero/banner from stealing mouse */
    .mega-menu-nav.is-mega-active::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% - 2px);
        height: var(--mega-hover-height, 320px);
        z-index: 1050;
        background: transparent;
        pointer-events: auto;
    }

    .mega-dropdown > .mega-menu::before {
        content: '';
        position: absolute;
        top: -20px;
        left: -40px;
        right: -40px;
        width: auto;
        height: 24px;
        background: transparent;
        pointer-events: auto;
    }

    .mega-dropdown.is-mega-open > .mega-menu,
    .mega-dropdown > .mega-menu.show {
        display: block !important;
    }

    /* Block page content from intercepting pointer while mega menu is open */
    body.mega-menu-open main {
        pointer-events: none !important;
    }
}

    .mega-dropdown > .nav-link-modern:hover {
        transform: none !important;
    }
}

/* Hero */
.hero-carousel {
    overflow: visible !important;
    margin-bottom: 34px;
    background: var(--tc-bg);
}

.hero-carousel::after {
    display: none !important;
}

.hero-carousel .carousel-inner {
    height: 100%;
    overflow: hidden;
}

.hero-carousel,
.hero-carousel .carousel-item {
    border-radius: 0;
}

.hero-carousel .carousel-item::after {
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.55) 0%, rgba(17, 24, 39, 0.18) 38%, rgba(17, 24, 39, 0) 72%) !important;
}

@media (min-width: 992px) {
    .hero-carousel .hero-framed-slide {
        overflow: hidden;
        isolation: isolate;
        background: #fff7ed;
    }

    .hero-carousel .hero-framed-slide::before {
        content: "";
        position: absolute;
        inset: -28px;
        z-index: 0;
        pointer-events: none;
        background-image: linear-gradient(90deg, rgba(255, 247, 237, 0.9), rgba(255, 247, 237, 0.64)), var(--hero-frame-bg);
        background-size: cover;
        background-position: center;
        filter: blur(18px) saturate(1.08);
        transform: scale(1.04);
    }

    .hero-carousel .hero-framed-slide::after {
        z-index: 2;
        background: linear-gradient(to left, rgba(17, 24, 39, 0.72) 0%, rgba(17, 24, 39, 0.38) 30%, rgba(255, 247, 237, 0.1) 62%, rgba(255, 247, 237, 0) 100%) !important;
    }

    .hero-carousel .hero-framed-img {
        position: relative;
        z-index: 1;
        box-sizing: border-box;
        object-fit: contain !important;
        object-position: 28% center !important;
        padding: clamp(16px, 2vw, 28px) 0;
        filter: drop-shadow(0 18px 34px rgba(17, 24, 39, 0.22));
    }

    .hero-carousel .hero-framed-slide-store .hero-framed-img {
        object-position: 22% center !important;
        padding: clamp(28px, 3vw, 46px) 0;
    }

    .hero-carousel .hero-framed-slide .carousel-caption {
        top: 50% !important;
        right: clamp(34px, 5vw, 88px) !important;
        bottom: auto !important;
        left: auto !important;
        width: min(430px, 32vw);
        margin: 0 !important;
        text-align: right;
        transform: translateY(-50%);
    }
}

.hero-carousel .carousel-indicators {
    position: absolute;
    right: 0;
    left: 0;
    bottom: -26px !important;
    z-index: 18;
    gap: 8px;
    margin: 0 !important;
    align-items: center;
    justify-content: center;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 7px !important;
    height: 7px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #dfc4a4 !important;
    opacity: 1 !important;
}

.hero-carousel .carousel-indicators .active {
    width: 24px !important;
    background: var(--tc-primary) !important;
}

.package-ad-slide {
    background: #61368a !important;
}

.hero-carousel .package-ad-slide::after {
    display: none !important;
}

.package-ad-slide .package-hero-panel {
    display: none !important;
}

.package-hero-mini-cta {
    position: absolute;
    z-index: 9;
    right: clamp(18px, 4vw, 68px);
    bottom: clamp(18px, 4vw, 48px);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.58rem 0.7rem 0.58rem 1rem;
    border-radius: 999px;
    background: rgba(255, 250, 243, 0.9);
    border: 1px solid rgba(255,255,255,0.68);
    box-shadow: 0 16px 34px rgba(26, 13, 4, 0.18);
    backdrop-filter: blur(12px);
}

.package-hero-mini-cta span {
    color: #2a1608;
    font-weight: 900;
    font-size: 0.95rem;
    white-space: nowrap;
}

.package-hero-mini-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--tc-primary), var(--tc-accent));
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(216, 95, 31, 0.28);
}

.package-hero-panel,
.carousel-caption {
    border-radius: 16px !important;
    background: rgba(17, 24, 39, 0.8) !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    box-shadow: var(--tc-shadow-strong) !important;
}

.package-hero-panel {
    width: min(390px, 35vw);
    padding: 1.25rem !important;
}

.package-hero-badge {
    background: rgba(140, 198, 62, 0.18) !important;
    color: #d9f99d !important;
    border-color: rgba(190, 242, 100, 0.35) !important;
}

.btn-package-hero-primary {
    background: linear-gradient(135deg, var(--tc-green), #74b72e) !important;
    color: #13210b !important;
    box-shadow: 0 12px 28px rgba(140, 198, 62, 0.32) !important;
}

.btn-package-hero-secondary {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.22) !important;
}

/* Homepage sections */
.shop-by-pet,
.static-banners,
.brands-marquee,
.reviews-section,
.product-slider-section {
    background: var(--tc-bg) !important;
}

.shop-by-pet {
    padding: 3rem 0 2.4rem !important;
}

.section-title {
    color: var(--tc-ink) !important;
    letter-spacing: 0 !important;
}

.section-title::after,
.section-title.text-center::after,
.section-title:not(.text-center)::after {
    background: linear-gradient(90deg, var(--tc-primary), var(--tc-accent)) !important;
    height: 3px !important;
}

.pet-category-item {
    padding: 0.5rem 0.25rem;
}

.pet-circle {
    border-radius: 24px !important;
    background: #fff1d9 !important;
    border: 1px solid #f2dfc2 !important;
    box-shadow: 0 10px 24px rgba(87, 46, 10, 0.08) !important;
}

.pet-category-item:hover .pet-circle {
    border-color: var(--tc-primary) !important;
    box-shadow: 0 14px 28px rgba(216, 95, 31, 0.14) !important;
}

.pet-name {
    color: var(--tc-ink) !important;
    font-weight: 900 !important;
}

.coming-soon-badge {
    background: #f3aa4b !important;
    color: #fff !important;
}

.product-card-slider,
.product-card,
.offer-card,
.package-card,
.review-card {
    border: 1px solid #f0dfc8 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(87, 46, 10, 0.06) !important;
}

.product-card-slider:hover,
.product-card:hover,
.offer-card:hover,
.package-card:hover {
    border-color: #efc99b !important;
    box-shadow: 0 16px 34px rgba(87, 46, 10, 0.11) !important;
}

.product-img,
.product-image,
.offer-image {
    background: #ffffff !important;
    border-radius: 14px !important;
}

.product-title,
.offer-title {
    color: var(--tc-ink) !important;
    font-weight: 850 !important;
}

.page-header {
    background: linear-gradient(135deg, #fff0d7 0%, #fffaf3 48%, #ffe1ba 100%) !important;
    color: var(--tc-ink) !important;
}

.page-header::before {
    background: radial-gradient(circle, rgba(216, 95, 31, 0.12) 0%, transparent 62%) !important;
}

.page-title {
    color: var(--tc-ink) !important;
    text-shadow: none !important;
}

.page-subtitle,
.breadcrumb-item.active {
    color: var(--tc-muted) !important;
}

.breadcrumb {
    background: rgba(255,255,255,0.72) !important;
    border-color: #f0dfc8 !important;
}

.breadcrumb-item a {
    color: var(--tc-primary) !important;
}

html[data-theme="dark"] .page-header .breadcrumb {
    background: rgba(255, 247, 237, 0.94) !important;
    border-color: rgba(240, 138, 54, 0.24) !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .page-header .breadcrumb-item,
html[data-theme="dark"] .page-header .breadcrumb-item.active {
    color: #1f2937 !important;
    font-weight: 800;
}

html[data-theme="dark"] .page-header .breadcrumb-item a {
    color: #b94716 !important;
}

html[data-theme="dark"] .page-header .breadcrumb-item + .breadcrumb-item::before {
    color: #6b7280 !important;
}

.products-filter {
    background: var(--tc-bg) !important;
    border-bottom: 1px solid #f0dfc8 !important;
}

.filter-tabs {
    gap: 0.65rem !important;
}

.filter-btn {
    border: 1px solid #f0dfc8 !important;
    background: #fff !important;
    color: #806a56 !important;
    border-radius: 999px !important;
    font-weight: 850 !important;
    box-shadow: none !important;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--tc-primary-soft) !important;
    border-color: var(--tc-primary) !important;
    color: var(--tc-primary-dark) !important;
    transform: none !important;
}

.filter-count {
    background: #f7e8d4 !important;
    color: #806a56 !important;
}

html[data-theme="dark"] .filter-btn {
    background: #fffaf3 !important;
    color: #4b5563 !important;
    border-color: rgba(240, 138, 54, 0.24) !important;
}

html[data-theme="dark"] .filter-btn:hover,
html[data-theme="dark"] .filter-btn.active {
    background: var(--tc-primary) !important;
    border-color: var(--tc-primary) !important;
    color: #fff !important;
}

html[data-theme="dark"] .filter-count {
    background: rgba(17, 24, 39, 0.1) !important;
    color: inherit !important;
}

.filter-btn:hover .filter-count,
.filter-btn.active .filter-count {
    background: var(--tc-primary) !important;
    color: #fff !important;
}

html[data-theme="dark"] .filter-btn:hover .filter-count,
html[data-theme="dark"] .filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.24) !important;
    color: #fff !important;
}

.product-image-wrapper {
    background: #ffffff !important;
}

.product-card .badge,
.offer-badge,
.package-badge-discount {
    border-radius: 999px !important;
    font-weight: 900 !important;
}

.product-card .badge.bg-danger,
.offer-badge {
    background: #ee4b6a !important;
}

.product-card .badge.bg-warning {
    background: #f3aa4b !important;
    color: #fff !important;
}

.wishlist-btn-floating {
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid #f0dfc8 !important;
    color: #8a7a69 !important;
    box-shadow: 0 6px 16px rgba(87, 46, 10, 0.08) !important;
}

.wishlist-btn-floating:hover,
.wishlist-btn-floating.active {
    color: #ee4b6a !important;
    transform: none !important;
}

.product-category {
    background: var(--tc-primary-soft) !important;
    color: var(--tc-primary-dark) !important;
    border-radius: 999px !important;
    font-weight: 850 !important;
}

.product-footer {
    align-items: center !important;
    gap: 0.7rem;
}

.product-price .price,
.product-price .currency,
.product-price .original-price {
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
}

.product-price .price {
    color: var(--tc-primary) !important;
    font-weight: 900 !important;
}

.product-price .currency {
    color: var(--tc-muted) !important;
}

.product-price .original-price {
    color: #aa9987 !important;
}

.btn-add-cart,
.btn-quick-add {
    min-width: 42px;
    min-height: 42px;
    border-radius: 13px !important;
    background: var(--tc-primary) !important;
    border: 1px solid var(--tc-primary) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.btn-add-cart:hover,
.btn-quick-add:hover {
    background: var(--tc-primary-dark) !important;
    border-color: var(--tc-primary-dark) !important;
}

.btn-out-of-stock {
    background: #f1e6d8 !important;
    border-color: #ead9c1 !important;
    color: #a99886 !important;
}

@media (max-width: 576px) {
    .product-card {
        border-radius: 14px !important;
    }

    .product-body {
        padding: 0.7rem 0.7rem 0.85rem !important;
    }

    .product-footer {
        margin-top: 0.45rem !important;
    }

    .btn-add-cart,
    .btn-quick-add,
    .btn-out-of-stock {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }
}

.product-price,
.product-price-current,
.price-current,
.package-price-new,
.package-price-current {
    color: var(--tc-primary) !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
}

.product-old-price,
.product-price-old,
.price-old {
    color: #a99886 !important;
}

.banner-item {
    border-radius: 16px !important;
    box-shadow: var(--tc-shadow) !important;
}

.banner-overlay {
    background: linear-gradient(0deg, rgba(17, 24, 39, 0.82), rgba(17, 24, 39, 0.14), transparent) !important;
}

/* Subscription story */
.sub-promo-banner {
    margin: 1.5rem 0 2.5rem !important;
}

.sub-promo-card {
    border-radius: 20px !important;
    background: linear-gradient(135deg, #fff2dd 0%, #ffffff 48%, #fbe0bc 100%) !important;
    color: var(--tc-ink) !important;
    box-shadow: var(--tc-shadow) !important;
    border: 1px solid #f0dfc8;
}

.sub-promo-card:hover {
    color: var(--tc-ink) !important;
    box-shadow: 0 20px 44px rgba(87, 46, 10, 0.14) !important;
}

.sub-promo-visual::after {
    background: linear-gradient(to top, rgba(255, 242, 221, 0.96), rgba(255, 242, 221, 0)) !important;
}

.sub-promo-label {
    color: var(--tc-primary) !important;
    letter-spacing: 0 !important;
    font-weight: 900 !important;
}

.sub-promo-headline {
    background: none !important;
    color: var(--tc-ink) !important;
    -webkit-text-fill-color: currentColor !important;
    font-weight: 900 !important;
}

.sub-promo-subtitle {
    color: var(--tc-muted) !important;
}

.sub-promo-pill {
    background: rgba(216, 95, 31, 0.08) !important;
    color: #7a3b13 !important;
    border-color: rgba(216, 95, 31, 0.16) !important;
}

.sub-promo-pill i {
    color: var(--tc-green) !important;
}

.sub-promo-btn {
    background: linear-gradient(135deg, var(--tc-primary), var(--tc-accent)) !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(216, 95, 31, 0.22) !important;
}

.sub-promo-card:hover .sub-promo-btn {
    background: linear-gradient(135deg, var(--tc-primary-dark), var(--tc-primary)) !important;
}

.sub-promo-dot {
    background: #dfc4a4 !important;
}

.sub-promo-dot.active {
    background: var(--tc-primary) !important;
}

html[data-theme="dark"] .sub-promo-card {
    background: linear-gradient(135deg, #fff2dd 0%, #ffffff 48%, #fbe0bc 100%) !important;
    color: #111827 !important;
    border-color: rgba(240, 138, 54, 0.24) !important;
}

html[data-theme="dark"] .sub-promo-card:hover {
    color: #111827 !important;
}

html[data-theme="dark"] .sub-promo-visual::after {
    background: linear-gradient(to top, rgba(255, 242, 221, 0.96), rgba(255, 242, 221, 0)) !important;
}

html[data-theme="dark"] .sub-promo-label {
    color: #b94716 !important;
}

html[data-theme="dark"] .sub-promo-headline {
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
}

html[data-theme="dark"] .sub-promo-subtitle {
    color: #4b5563 !important;
}

html[data-theme="dark"] .sub-promo-pill {
    background: rgba(216, 95, 31, 0.08) !important;
    color: #7a3b13 !important;
    border-color: rgba(216, 95, 31, 0.16) !important;
}

/* Subscription plans page */
.apple-hero {
    background: linear-gradient(180deg, #fffaf3 0%, #fff0d7 100%) !important;
}

.apple-hero .overline,
.hero-pill i,
.meta-chip i,
.customization-note i {
    color: var(--tc-primary) !important;
}

.apple-hero h1,
.apple-card h3,
.how-section h2 {
    color: var(--tc-ink) !important;
}

.apple-hero .subtitle,
.apple-card .desc,
.how-section .how-sub {
    color: var(--tc-muted) !important;
}

.hero-pill,
.apple-card,
.how-card,
.economy-link {
    border-color: #f0dfc8 !important;
    box-shadow: var(--tc-shadow) !important;
}

.hero-pill,
.meta-chip:not(.trial),
.customization-note {
    background: #fff8ed !important;
}

.meta-chip.trial {
    background: linear-gradient(135deg, #ffe8c7, #ffd399) !important;
    color: #16120f !important;
    border: 1px solid rgba(216, 95, 31, 0.28) !important;
    box-shadow: 0 4px 10px rgba(87, 46, 10, 0.14) !important;
}

.meta-chip.trial .money,
.meta-chip.trial .money-amount,
.meta-chip.trial .sar-symbol {
    color: #7c2d12 !important;
    font-weight: 900;
}

.trial-offer-strip {
    width: min(780px, 100%);
    margin: 1.5rem auto 0;
    padding: 0.85rem;
    border-radius: 18px;
    background: #16120f;
    color: #fff7ed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 18px 40px rgba(87, 46, 10, 0.16);
}

.trial-offer-copy {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    text-align: right;
}

.trial-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: rgba(216, 95, 31, 0.18);
    color: #ffd7a8;
    font-size: 0.78rem;
    font-weight: 900;
}

.trial-offer-copy strong {
    font-size: 1.05rem;
    font-weight: 950;
}

.trial-offer-copy span:last-child {
    color: rgba(255, 247, 237, 0.76);
    font-size: 0.85rem;
}

.trial-offer-cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.6rem 1.1rem;
    border-radius: 12px;
    background: var(--tc-primary);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.trial-offer-cta:hover {
    background: var(--tc-primary-dark);
    color: #fff;
}

.apple-card.featured {
    border-color: rgba(216, 95, 31, 0.35) !important;
}

.apple-card.featured::before,
.btn-apple {
    background: linear-gradient(135deg, var(--tc-primary), var(--tc-accent)) !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(216, 95, 31, 0.22) !important;
}

.price-chip.yearly,
.yearly-saving-note,
.save-pill {
    background: var(--tc-primary-soft) !important;
    color: var(--tc-primary-dark) !important;
}

.btn-whatsapp {
    color: #15803d !important;
    background: rgba(22, 163, 74, 0.08) !important;
    border-color: rgba(22, 163, 74, 0.18) !important;
}

.pkg-hero {
    background: linear-gradient(135deg, #fff0d7 0%, #d85f1f 62%, #a83c13 100%) !important;
}

.pkg-hero::after {
    background: var(--tc-bg) !important;
}

.pkg-hero .hero-price {
    background: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 14px 30px rgba(87, 46, 10, 0.18) !important;
}

.pkg-hero-banner {
    background: #61368a !important;
}

.pkg-hero-banner img {
    aspect-ratio: 3 / 2 !important;
    min-height: 0 !important;
    max-height: 480px !important;
    object-fit: contain !important;
    background: #61368a !important;
}

.detail-trial-offer {
    width: min(720px, 100%);
    margin: 1rem auto 0;
    padding: 0.72rem 0.85rem;
    border-radius: 17px;
    background: rgba(17, 24, 39, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff8ed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.detail-trial-offer strong {
    font-size: 1rem;
    font-weight: 950;
}

.trial-code-button {
    border: 0;
    border-radius: 999px;
    background: #fff8ed;
    color: var(--tc-primary-dark);
    padding: 0.2rem 0.65rem;
    font-weight: 950;
    letter-spacing: 0;
    cursor: pointer;
}

.trial-code-button:hover {
    background: var(--tc-accent);
    color: #fff;
}

.step-dot.active,
.btn-cta,
.sticky-bottom-inner .btn-cta,
.btn-coupon-apply {
    background: var(--tc-primary) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(216, 95, 31, 0.22) !important;
}

.btn-cta:hover,
.sticky-bottom-inner .btn-cta:hover,
.btn-coupon-apply:hover {
    background: var(--tc-primary-dark) !important;
    color: #fff !important;
}

.step-dot.done,
.step-line.done {
    background: #15803d !important;
}

.step-labels span.active,
.acc-head-text h6,
.base-item strong,
.summary-total {
    color: var(--tc-ink) !important;
}

.acc-section,
.summary-sticky,
.sticky-bottom-bar,
.plan-toggle,
.base-item,
.addon-card,
.coupon-inline,
.inline-otp-panel {
    border-color: #f0dfc8 !important;
    box-shadow: var(--tc-shadow) !important;
}

.acc-icon,
.base-icon {
    color: var(--tc-primary) !important;
}

.apple-input:focus,
.apple-textarea:focus,
.phone-combo:focus-within,
.city-search-input:focus {
    border-color: var(--tc-primary) !important;
    box-shadow: 0 0 0 3px rgba(216, 95, 31, 0.14) !important;
}

.btn-whatsapp-detail {
    color: #15803d !important;
    background: rgba(22, 163, 74, 0.08) !important;
    border-color: rgba(22, 163, 74, 0.18) !important;
}

@media (max-width: 768px) {
    .package-hero-mini-cta {
        right: 12px;
        left: auto;
        top: 12px;
        bottom: auto;
        max-width: calc(100% - 96px);
        justify-content: flex-start;
        padding: 0.48rem 0.5rem 0.48rem 0.8rem;
    }

    .package-hero-mini-cta span {
        font-size: 0.78rem;
    }

    .package-hero-mini-cta a {
        min-height: 34px;
        padding: 0 0.72rem;
        font-size: 0.78rem;
    }

    .hero-carousel .package-ad-slide img {
        object-fit: contain !important;
        object-position: center center !important;
        background: #61368a !important;
    }

    .pkg-hero-banner img {
        max-height: none !important;
    }

    .trial-offer-strip {
        align-items: stretch;
        flex-direction: column;
        padding: 0.75rem;
    }

    .trial-offer-copy {
        gap: 0.45rem;
    }

    .trial-offer-cta {
        width: 100%;
    }
}

@media (min-width: 769px) {
    .hero-carousel,
    .hero-carousel .carousel-item {
        height: clamp(460px, 34vw, 620px) !important;
    }

    .hero-carousel .package-ad-slide img {
        object-fit: contain !important;
        object-position: center center !important;
        background: #61368a !important;
        padding: 10px 0 18px;
    }

    .sub-promo-visual::after {
        background: linear-gradient(to left, rgba(255, 242, 221, 0.96), rgba(255, 242, 221, 0)) !important;
    }
}

/* Mobile bottom nav */
.mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid #f0dfc8 !important;
    box-shadow: 0 -10px 30px rgba(87, 46, 10, 0.12) !important;
}

.bottom-nav-item {
    color: #7a6c5e !important;
}

.bottom-nav-item.active {
    color: var(--tc-primary) !important;
    background: var(--tc-primary-soft) !important;
    border-radius: 14px;
}

.bottom-nav-item.active::before {
    display: none !important;
}

.pol-scroll-top {
    display: none !important;
}
.pol-whatsapp {
    background: var(--tc-primary) !important;
    box-shadow: 0 12px 28px rgba(216, 95, 31, 0.25) !important;
}

/* Footer */
.footer {
    background: #16120f !important;
    color: #fef7ed !important;
}

.footer-text,
.footer-links a,
.contact-item-compact,
.footer-copyright {
    color: rgba(254, 247, 237, 0.72) !important;
}

.footer-title,
.footer-payments-title,
.biz-label {
    color: #fff7ed !important;
}

.footer-title::after {
    background: var(--tc-accent) !important;
}

.footer-business,
.footer-payments {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.footer-store-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.footer-store-link {
    width: 140px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
}

.footer-store-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    display: block;
}

.footer-payments {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.footer-payments-title {
    background: transparent !important;
    border: 0 !important;
    padding-inline: 0.4rem !important;
}

.pay-badge,
.pay-badge:hover {
    border: 0 !important;
    box-shadow: none !important;
}

.pay-badge:hover {
    transform: translateY(-1px);
}

/* New corporate desktop footer (full-bleed, edge-to-edge) */
.footer-desktop { display: none; }

@media (min-width: 992px) {
    .footer-mobile-container { display: none !important; }
    .footer-desktop { display: block; }

    .footer.footer-modern {
        padding: 0 !important;
        margin-top: 4rem !important;
        background:
            radial-gradient(circle at 88% 10%, rgba(140, 198, 62, 0.10), transparent 35%),
            radial-gradient(circle at 12% 95%, rgba(240, 138, 54, 0.10), transparent 40%),
            #100d0b !important;
        border-top: 1px solid rgba(240, 138, 54, 0.18);
        color: rgba(254, 247, 237, 0.78) !important;
    }

    .footer.footer-modern .footer-main {
        width: 100%;
        padding: 3.2rem clamp(28px, 5vw, 96px) 2.4rem;
    }

    .footer.footer-modern .footer-inner {
        max-width: 1480px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr 1.15fr;
        gap: 2.4rem;
        align-items: flex-start;
    }

    .footer.footer-modern .fcol { min-width: 0; }
    .footer.footer-modern .fcol-brand .fbrand-logo {
        height: 56px;
        width: auto;
        display: block;
        margin-bottom: 0.9rem;
        filter: drop-shadow(0 6px 18px rgba(140, 198, 62, 0.18));
    }
    .footer.footer-modern .fcol-brand .fbrand-text {
        margin: 0 0 1.05rem;
        max-width: 320px;
        font-size: 0.92rem;
        line-height: 1.85;
        color: rgba(254, 247, 237, 0.72);
    }
    .footer.footer-modern .fsocial {
        display: flex;
        gap: 0.55rem;
        flex-wrap: wrap;
    }
    .footer.footer-modern .fsocial-icon {
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        color: #fef7ed;
        font-size: 1rem;
        text-decoration: none;
        transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
    }
    .footer.footer-modern .fsocial-icon:hover {
        background: var(--tc-accent, #f08a36);
        color: #fff;
        transform: translateY(-2px);
        border-color: transparent;
    }

    .footer.footer-modern .fcol-title {
        margin: 0 0 1.1rem;
        font-size: 0.98rem;
        font-weight: 700;
        color: #fff7ed;
        letter-spacing: 0.01em;
        position: relative;
        padding-bottom: 0.6rem;
    }
    .footer.footer-modern .fcol-title::after {
        content: '';
        position: absolute;
        right: 0;
        bottom: 0;
        width: 32px;
        height: 2px;
        background: var(--tc-accent, #f08a36);
        border-radius: 2px;
    }

    .footer.footer-modern .fcol-links {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 0.55rem;
    }
    .footer.footer-modern .fcol-links a,
    .footer.footer-modern .fcol-static {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        color: rgba(254, 247, 237, 0.72);
        font-size: 0.9rem;
        text-decoration: none;
        transition: color 0.18s ease, transform 0.18s ease;
        padding: 0.1rem 0;
    }
    .footer.footer-modern .fcol-links a:hover {
        color: #fff;
        transform: translateX(-3px);
    }
    .footer.footer-modern .fcol-contact a i,
    .footer.footer-modern .fcol-contact .fcol-static i {
        color: var(--tc-accent, #f08a36);
        font-size: 1rem;
        flex-shrink: 0;
    }

    .footer.footer-modern .fcol-apps .fcol-apps-text {
        margin: 0 0 0.9rem;
        font-size: 0.86rem;
        color: rgba(254, 247, 237, 0.68);
        line-height: 1.7;
    }
    .footer.footer-modern .fapps-badges {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
    }
    .footer.footer-modern .fapp-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 170px;
        height: 50px;
        border-radius: 10px;
        overflow: hidden;
        transition: transform 0.2s ease, filter 0.2s ease;
    }
    .footer.footer-modern .fapp-link img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }
    .footer.footer-modern .fapp-link:hover {
        transform: translateY(-2px);
        filter: brightness(1.06);
    }

    /* Bottom bar — full-width, separate background */
    .footer.footer-modern .footer-bottom-bar {
        width: 100%;
        background: rgba(0, 0, 0, 0.32);
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
    .footer.footer-modern .footer-bottom-inner {
        max-width: 1480px;
        margin: 0 auto;
        padding: 1.1rem clamp(28px, 5vw, 96px);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    .footer.footer-modern .fbb-payments {
        display: flex;
        align-items: center;
        gap: 0.85rem;
        flex-wrap: wrap;
    }
    .footer.footer-modern .fbb-label {
        font-size: 0.78rem;
        font-weight: 600;
        color: rgba(254, 247, 237, 0.86);
        letter-spacing: 0.02em;
    }
    .footer.footer-modern .fbb-pay-icons {
        display: flex;
        gap: 0.42rem;
        align-items: center;
        flex-wrap: wrap;
    }
    .footer.footer-modern .fbb-pay-icons .pay-badge {
        background: linear-gradient(180deg, #ffffff 0%, #f4f6f8 100%) !important;
        border: 1px solid rgba(255, 255, 255, 0.72) !important;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
        color: #111827 !important;
    }
    .footer.footer-modern .fbb-pay-icons .pay-badge-apple,
    .footer.footer-modern .fbb-pay-icons .pay-badge-mastercard {
        background: #ffffff !important;
    }
    .footer.footer-modern .fbb-pay-icons .pay-badge-tap {
        background: #f7fbff !important;
    }
    .footer.footer-modern .fbb-pay-icons .pay-badge-mada {
        background: #f8fafc !important;
    }
    .footer.footer-modern .fbb-pay-icons .pay-badge-tamara {
        background: #fff7fa !important;
    }
    .footer.footer-modern .fbb-pay-icons .tap-word,
    .footer.footer-modern .fbb-pay-icons .apple-word,
    .footer.footer-modern .fbb-pay-icons .mada-word,
    .footer.footer-modern .fbb-pay-icons .visa-word,
    .footer.footer-modern .fbb-pay-icons .tamara-word,
    .footer.footer-modern .fbb-pay-icons .pay-badge-apple i {
        filter: none !important;
        opacity: 1 !important;
    }

    .footer.footer-modern .fbb-business {
        display: flex;
        gap: 0.7rem;
        flex-wrap: wrap;
    }
    .footer.footer-modern .fbb-biz-item {
        display: inline-flex;
        align-items: center;
        gap: 0.55rem;
        padding: 0.45rem 0.75rem;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
    .footer.footer-modern .fbb-biz-item .authority-logo {
        width: 26px;
        height: 26px;
        flex-shrink: 0;
    }
    .footer.footer-modern .fbb-biz-label {
        display: block;
        font-size: 0.66rem;
        color: rgba(254, 247, 237, 0.55);
        line-height: 1.2;
    }
    .footer.footer-modern .fbb-biz-item strong {
        font-size: 0.84rem;
        color: #fff7ed;
        letter-spacing: 0.02em;
    }

    .footer.footer-modern .footer-copy-bar {
        width: 100%;
        background: rgba(0, 0, 0, 0.55);
        border-top: 1px solid rgba(255, 255, 255, 0.04);
    }
    .footer.footer-modern .footer-copy-inner {
        max-width: 1480px;
        margin: 0 auto;
        padding: 0.85rem clamp(28px, 5vw, 96px);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
        flex-wrap: wrap;
        font-size: 0.78rem;
        color: rgba(254, 247, 237, 0.55);
    }
    .footer.footer-modern .footer-copy-inner .fcopy-sep { opacity: 0.4; }
    .footer.footer-modern .footer-copy-inner a {
        color: #f08a36;
        font-weight: 700;
        text-decoration: none;
    }
    .footer.footer-modern .footer-copy-inner a:hover { color: #fff; }
}

@media (min-width: 992px) and (max-width: 1280px) {
    .footer.footer-modern .footer-inner {
        grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
        gap: 2rem;
    }
    .footer.footer-modern .fcol-apps {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        gap: 1.5rem;
        padding-top: 1.2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
    .footer.footer-modern .fcol-apps .fcol-title { margin: 0; padding: 0; }
    .footer.footer-modern .fcol-apps .fcol-title::after { display: none; }
    .footer.footer-modern .fcol-apps .fcol-apps-text { display: none; }
    .footer.footer-modern .fapps-badges { flex-direction: row; }
}

@media (min-width: 992px) and (max-width: 1440px) {
    .footer.footer-modern .footer-main { padding: 2.4rem clamp(24px, 4vw, 64px) 1.8rem; }
    .footer.footer-modern .fcol-brand .fbrand-logo { height: 48px; }
    .footer.footer-modern .fcol-brand .fbrand-text { font-size: 0.86rem; line-height: 1.75; }
    .footer.footer-modern .fcol-title { font-size: 0.9rem; margin-bottom: 0.85rem; }
    .footer.footer-modern .fcol-links a,
    .footer.footer-modern .fcol-static { font-size: 0.84rem; }
    .footer.footer-modern .fapp-link { width: 140px; height: 40px; }
    .footer.footer-modern .footer-bottom-inner { padding: 0.9rem clamp(24px, 4vw, 64px); }
}

/* Legacy desktop block kept for any leftover references — neutralised */
@media (min-width: 992px) {
    .footer-mobile-container .footer-divider { display: none; }
}

@media (min-width: 992px) {
    .footer .footer-mobile-container {
        max-width: 1180px;
        display: none;
    }

    .footer-top {
        grid-area: brand;
        margin: 0 !important;
        padding: 1.25rem 1.35rem;
        text-align: right !important;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 0.65rem;
        min-height: 210px;
        border-radius: 18px;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
        border: 1px solid rgba(255, 255, 255, 0.09);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }

    .footer-top .footer-logo {
        height: 66px;
        width: auto;
        margin: 0 0 0.35rem !important;
        filter: drop-shadow(0 10px 24px rgba(140, 198, 62, 0.18));
    }

    .footer-top .footer-text {
        max-width: 260px;
        margin: 0 !important;
        color: rgba(254, 247, 237, 0.8) !important;
        font-size: 0.94rem;
        line-height: 1.8;
    }

    .footer .row.g-3 {
        grid-area: nav;
        margin: 0 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 1.35rem;
        padding: 1.25rem 1.35rem;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.045);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    .footer .row.g-3 > [class*="col-"] {
        width: auto !important;
        max-width: none !important;
        flex: none !important;
        padding: 0 !important;
    }

    .footer-title {
        margin-bottom: 0.9rem !important;
        font-size: 0.94rem !important;
        letter-spacing: 0 !important;
    }

    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.42rem 0.9rem;
    }

    .footer-links li {
        margin: 0 !important;
    }

    .footer-links a,
    .contact-item-compact {
        min-height: 32px;
        display: inline-flex !important;
        align-items: center;
        gap: 0.42rem;
        border-radius: 10px;
        color: rgba(254, 247, 237, 0.74) !important;
        transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
    }

    .footer-links a {
        padding: 0.28rem 0 !important;
    }

    .footer-links a:hover,
    .contact-item-compact:hover {
        color: #fff7ed !important;
        transform: translateX(-2px);
    }

    .contact-info {
        display: grid;
        gap: 0.48rem;
    }

    .contact-item-compact {
        padding: 0.42rem 0.55rem;
        background: rgba(255, 255, 255, 0.035);
        border: 1px solid rgba(255, 255, 255, 0.06);
        text-decoration: none;
    }

    .contact-item-compact i {
        color: var(--tc-accent);
        font-size: 0.95rem;
    }

    .footer-apps {
        grid-area: apps;
        margin: 0 !important;
        padding: 1.2rem 1.1rem;
        display: flex;
        align-items: center;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.045);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-store-badges {
        width: 100%;
        justify-content: flex-start;
        gap: 0.68rem;
    }

    .footer-store-link {
        width: 138px;
        height: 42px;
        border-radius: 10px;
        transition: transform 0.18s ease, filter 0.18s ease;
    }

    .footer-store-link:hover {
        transform: translateY(-2px);
        filter: brightness(1.06);
    }

    .footer .social-icons {
        grid-area: social;
        margin: 0 !important;
        padding: 1rem 1.1rem;
        justify-content: flex-start !important;
        align-items: center;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.035);
        border: 1px solid rgba(255, 255, 255, 0.07);
    }

    .footer .social-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.065) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
    }

    .footer-divider {
        grid-area: divider;
        width: 100%;
        margin: 0.35rem 0 0.15rem !important;
        background: linear-gradient(90deg, transparent, rgba(240, 138, 54, 0.42), rgba(140, 198, 62, 0.28), transparent) !important;
    }

    .footer-payments {
        grid-area: payments;
        max-width: none !important;
        margin: 0 !important;
        padding: 1.05rem 1.15rem !important;
        text-align: right;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.045) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .footer-payments-title {
        justify-content: flex-start;
        margin-bottom: 0.75rem;
        padding: 0 !important;
        font-size: 0.82rem;
    }

    .footer-payments-icons {
        justify-content: flex-end;
        gap: 0.5rem;
    }

    .footer-business {
        grid-area: business;
        max-width: none !important;
        margin: 0 !important;
        padding: 1.05rem !important;
        border-radius: 18px !important;
    }

    .footer-business-grid {
        gap: 0.8rem;
    }

    .biz-card-item {
        min-height: 64px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.045);
    }

    .footer > .container > .text-center {
        grid-area: copy;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.7rem;
        padding-top: 0.65rem !important;
        color: rgba(254, 247, 237, 0.68);
    }

    .footer > .container > .text-center p {
        margin: 0 !important;
    }
}

@media (min-width: 992px) and (max-width: 1440px) {
    .hero-carousel,
    .hero-carousel .carousel-item {
        height: clamp(390px, 30vw, 500px) !important;
    }

    .carousel-caption {
        width: min(420px, 34vw) !important;
        padding: 1.35rem 1.55rem !important;
        border-radius: 14px !important;
    }

    .carousel-caption h2,
    .package-hero-title {
        font-size: clamp(1.45rem, 2vw, 2.05rem) !important;
        line-height: 1.25 !important;
    }

    .carousel-caption p,
    .package-hero-copy {
        font-size: 0.94rem !important;
        line-height: 1.65 !important;
    }

    .shop-by-pet,
    .static-banners,
    .brands-marquee,
    .reviews-section,
    .product-slider-section {
        padding-top: 2.35rem !important;
        padding-bottom: 2.35rem !important;
    }

    .section-title {
        font-size: clamp(1.32rem, 1.45vw, 1.78rem) !important;
        margin-bottom: 1.35rem !important;
    }

    .pet-category-item {
        padding: 0.35rem 0.2rem !important;
    }

    .pet-circle {
        width: 98px !important;
        height: 98px !important;
        border-radius: 22px !important;
    }

    .product-card-slider,
    .product-card,
    .offer-card,
    .package-card,
    .review-card {
        border-radius: 14px !important;
        box-shadow: 0 7px 20px rgba(87, 46, 10, 0.055) !important;
    }

    .product-card-slider:hover,
    .product-card:hover,
    .offer-card:hover,
    .package-card:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 14px 30px rgba(87, 46, 10, 0.1) !important;
    }

    .sub-promo-banner {
        margin: 1.15rem 0 2rem !important;
    }

    .sub-promo-banner .container {
        max-width: 1120px;
    }

    .sub-promo-card {
        min-height: 320px !important;
        border-radius: 18px !important;
    }

    .sub-promo-visual {
        min-height: 320px !important;
    }

    .sub-promo-text {
        padding: 2rem 2.1rem 2rem 1rem !important;
    }

    .sub-promo-headline {
        font-size: clamp(1.75rem, 2.2vw, 2.15rem) !important;
        line-height: 1.18 !important;
    }
}

/* Dark mode overrides for /account/subscription/<id> (subscriptions/manage.html) */
html[data-theme="dark"] .manage-header {
    background: transparent !important;
}
html[data-theme="dark"] .manage-header h1 { color: #f5f5f7 !important; }
html[data-theme="dark"] .manage-header .back-btn { color: #5ac8fa !important; }

html[data-theme="dark"] .apple-block {
    background: #1c1c1e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
html[data-theme="dark"] .apple-block .block-head {
    color: #f5f5f7 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
html[data-theme="dark"] .apple-block .detail-row {
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}
html[data-theme="dark"] .apple-block .detail-row .lbl { color: #98989d !important; }
html[data-theme="dark"] .apple-block .detail-row .val { color: #f5f5f7 !important; }

html[data-theme="dark"] .countdown-card {
    background: rgba(0, 113, 227, 0.10) !important;
    border: 1px solid rgba(0, 113, 227, 0.18) !important;
}
html[data-theme="dark"] .countdown-card .days-label,
html[data-theme="dark"] .countdown-card .date-text { color: #98989d !important; }
html[data-theme="dark"] .countdown-card .days { color: #5ac8fa !important; }

html[data-theme="dark"] .pref-chip {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #f5f5f7 !important;
}
html[data-theme="dark"] .pref-chip.excluded {
    background: rgba(255, 59, 48, 0.14) !important;
    color: #ff6b61 !important;
}

html[data-theme="dark"] .act-btn {
    background: #2c2c2e !important;
    border: 1.5px solid rgba(255, 255, 255, 0.10) !important;
    color: #f5f5f7 !important;
}
html[data-theme="dark"] .act-btn:hover { background: #3a3a3c !important; }
html[data-theme="dark"] .act-btn.danger { color: #ff6b61 !important; border-color: rgba(255, 59, 48, 0.25) !important; }
html[data-theme="dark"] .act-btn.danger:hover { background: rgba(255, 59, 48, 0.10) !important; }
html[data-theme="dark"] .act-btn.success { color: #34c759 !important; border-color: rgba(52, 199, 89, 0.25) !important; }
html[data-theme="dark"] .act-btn.success:hover { background: rgba(52, 199, 89, 0.10) !important; }

html[data-theme="dark"] .apple-field {
    background: #2c2c2e !important;
    color: #f5f5f7 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
}
html[data-theme="dark"] .apple-field:focus {
    border-color: #5ac8fa !important;
    box-shadow: 0 0 0 3px rgba(90, 200, 250, 0.18) !important;
}
html[data-theme="dark"] .apple-field option {
    background: #1c1c1e;
    color: #f5f5f7;
}

html[data-theme="dark"] .apple-btn-sm.secondary {
    background: #2c2c2e !important;
    color: #f5f5f7 !important;
}
html[data-theme="dark"] .apple-btn-sm.secondary:hover { background: #3a3a3c !important; }

html[data-theme="dark"] .order-row {
    background: #2c2c2e !important;
    color: #f5f5f7 !important;
}
html[data-theme="dark"] .order-cycle { color: #5ac8fa !important; }

html[data-theme="dark"] .edit-link { color: #5ac8fa !important; }

html[data-theme="dark"] .status-expired {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #98989d !important;
}

html[data-theme="dark"] .alert {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #f5f5f7 !important;
}
html[data-theme="dark"] .alert.alert-success { background: rgba(52, 199, 89, 0.12) !important; color: #5fdc7a !important; }
html[data-theme="dark"] .alert.alert-danger { background: rgba(255, 59, 48, 0.12) !important; color: #ff6b61 !important; }
html[data-theme="dark"] .alert .btn-close { filter: invert(1) brightness(1.4); }

html[data-theme="dark"] .form-label { color: #f5f5f7 !important; }
html[data-theme="dark"] .form-check-label { color: rgba(245, 245, 247, 0.85) !important; }

.terms-container,
.privacy-container {
    background: linear-gradient(135deg, var(--tc-bg) 0%, var(--tc-surface-soft) 100%) !important;
}

.terms-card,
.privacy-card {
    max-width: 1080px;
    margin: 20px auto !important;
    border: 1px solid #f0dfc8;
    color: #111827;
}

.terms-content .section-title::after,
.privacy-content .section-title::after {
    display: none !important;
}

.terms-content .section-title,
.privacy-content .section-title,
.terms-content .subsection-title,
.privacy-content .subsection-title {
    color: #111827 !important;
    text-shadow: none !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
}

.privacy-content .section-title {
    border-right: 4px solid var(--tc-primary) !important;
    border-left: 0 !important;
    padding-right: 15px !important;
    padding-left: 0 !important;
}

.terms-text,
.privacy-text,
.terms-list li,
.privacy-list li {
    color: #4a5568 !important;
}

.privacy-list {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.privacy-list li {
    padding-right: 25px !important;
    padding-left: 0 !important;
}

.privacy-list li::before {
    right: 0 !important;
    left: auto !important;
}

.definition-term {
    color: var(--tc-primary-dark) !important;
}

html[data-theme="dark"] .terms-card,
html[data-theme="dark"] .privacy-card {
    background: #ffffff !important;
    border-color: rgba(240, 138, 54, 0.24) !important;
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme="dark"] .terms-content,
html[data-theme="dark"] .privacy-content {
    background: #ffffff !important;
}

html[data-theme="dark"] .terms-content .section-title,
html[data-theme="dark"] .privacy-content .section-title,
html[data-theme="dark"] .terms-content .subsection-title,
html[data-theme="dark"] .privacy-content .subsection-title {
    color: #111827 !important;
}

html[data-theme="dark"] .terms-text,
html[data-theme="dark"] .privacy-text,
html[data-theme="dark"] .terms-list li,
html[data-theme="dark"] .privacy-list li {
    color: #4a5568 !important;
}

@media (max-width: 768px) {
    .footer-store-link {
        width: 120px;
        height: 36px;
    }

    .terms-content,
    .privacy-content {
        padding: 24px 18px !important;
    }
}

html[data-theme="dark"] {
    --tc-bg: #121212;
    --tc-surface: #1b1b1b;
    --tc-surface-warm: #23201c;
    --tc-surface-soft: #191715;
    --tc-ink: #f8fafc;
    --tc-muted: #b6b0a7;
    --tc-border: rgba(255,255,255,0.1);
    --tc-primary: #f08a36;
    --tc-primary-dark: #d66f1f;
    --tc-primary-soft: rgba(240,138,54,0.14);
    --tc-accent: #f5bd54;
    --tc-shadow: 0 16px 36px rgba(0,0,0,0.32);
    --tc-shadow-strong: 0 24px 64px rgba(0,0,0,0.42);
}

html[data-theme="dark"],
html[data-theme="dark"] body {
    background: var(--tc-bg) !important;
    color: var(--tc-ink) !important;
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] #mainNavbar,
html[data-theme="dark"] .mega-menu-nav,
html[data-theme="dark"] .mobile-bottom-nav {
    background: rgba(27, 27, 27, 0.95) !important;
    border-color: var(--tc-border) !important;
    color: var(--tc-ink) !important;
}

html[data-theme="dark"] #mainNavbar.scrolled {
    background: rgba(18, 18, 18, 0.94) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.34) !important;
}

html[data-theme="dark"] .search-wrapper,
html[data-theme="dark"] .search-form-center .input-group,
html[data-theme="dark"] #mobileSearchBar .input-group,
html[data-theme="dark"] #mobileSearchBar .container,
html[data-theme="dark"] .header-icon-link,
html[data-theme="dark"] .btn-icon-modern,
html[data-theme="dark"] .navbar-toggler {
    background: #232323 !important;
    border-color: rgba(255,255,255,0.11) !important;
    color: var(--tc-ink) !important;
}

html[data-theme="dark"] .promo-coupon-backdrop {
    background: rgba(0, 0, 0, 0.66);
}

html[data-theme="dark"] .promo-coupon-toast {
    background:
        linear-gradient(135deg, rgba(35, 35, 35, 0.98), rgba(47, 34, 24, 0.98)) padding-box,
        linear-gradient(135deg, #f08a36, #f6c177 45%, #8b5cf6) border-box;
    border-color: rgba(240, 138, 54, 0.22);
    box-shadow: 0 18px 46px rgba(0,0,0,0.42);
}

html[data-theme="dark"] .promo-coupon-toast::before,
html[data-theme="dark"] .promo-coupon-toast::after {
    background: rgba(31, 31, 31, 0.98);
    border-color: rgba(240, 138, 54, 0.2);
}

html[data-theme="dark"] .promo-coupon-brand span,
html[data-theme="dark"] .promo-coupon-label {
    color: #f6c177;
    background: rgba(255, 247, 237, 0.08);
    border-color: rgba(246, 193, 119, 0.2);
}

html[data-theme="dark"] .promo-coupon-copy h2 {
    color: var(--tc-ink);
}

html[data-theme="dark"] .promo-coupon-copy p,
html[data-theme="dark"] .promo-coupon-perks span {
    color: var(--tc-muted);
}

html[data-theme="dark"] .promo-coupon-code,
html[data-theme="dark"] .promo-coupon-copy small {
    color: var(--tc-ink);
}

html[data-theme="dark"] .promo-coupon-code {
    background: rgba(255, 247, 237, 0.08);
    border-color: rgba(246, 193, 119, 0.46);
}

html[data-theme="dark"] .promo-coupon-perks span {
    background: rgba(255, 247, 237, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .promo-coupon-copy-btn {
    background: linear-gradient(135deg, #f08a36, #f5a623);
    color: #fff;
}

html[data-theme="dark"] .promo-coupon-shop-btn {
    background: #fff7ed;
    color: #111827;
}

html[data-theme="dark"] .promo-coupon-copy-btn.copied {
    background: #22c55e;
    color: #06280f;
}

html[data-theme="dark"] .search-input-modern,
html[data-theme="dark"] #mobileSearchBar .form-control,
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select {
    background-color: #232323 !important;
    color: var(--tc-ink) !important;
    border-color: rgba(255,255,255,0.13) !important;
}

html[data-theme="dark"] .search-input-modern::placeholder,
html[data-theme="dark"] .form-control::placeholder {
    color: rgba(248,250,252,0.52) !important;
}

html[data-theme="dark"] .nav-link-modern,
html[data-theme="dark"] .bottom-nav-item,
html[data-theme="dark"] .section-subtitle,
html[data-theme="dark"] .product-desc,
html[data-theme="dark"] .text-muted {
    color: var(--tc-muted) !important;
}

html[data-theme="dark"] .shop-by-pet,
html[data-theme="dark"] .static-banners,
html[data-theme="dark"] .brands-marquee,
html[data-theme="dark"] .reviews-section,
html[data-theme="dark"] .product-slider-section,
html[data-theme="dark"] .hero-carousel,
html[data-theme="dark"] .page-header {
    background: var(--tc-bg) !important;
}

html[data-theme="dark"] .product-card-slider,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .offer-card,
html[data-theme="dark"] .package-card,
html[data-theme="dark"] .review-card,
html[data-theme="dark"] .menu-card,
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .acc-section,
html[data-theme="dark"] .summary-sticky,
html[data-theme="dark"] .base-item,
html[data-theme="dark"] .addon-card,
html[data-theme="dark"] .coupon-inline,
html[data-theme="dark"] .inline-otp-panel {
    background: var(--tc-surface) !important;
    border-color: var(--tc-border) !important;
    box-shadow: var(--tc-shadow) !important;
    color: var(--tc-ink) !important;
}

html[data-theme="dark"] .product-img,
html[data-theme="dark"] .product-image,
html[data-theme="dark"] .offer-image,
html[data-theme="dark"] .pet-circle {
    background: #23201c !important;
    border-color: var(--tc-border) !important;
}

html[data-theme="dark"] .section-title,
html[data-theme="dark"] .product-title,
html[data-theme="dark"] .offer-title,
html[data-theme="dark"] .pet-name,
html[data-theme="dark"] .stat-value,
html[data-theme="dark"] .section-title,
html[data-theme="dark"] .order-ref,
html[data-theme="dark"] .menu-item,
html[data-theme="dark"] .review-name,
html[data-theme="dark"] .review-comment,
html[data-theme="dark"] .page-title,
html[data-theme="dark"] .summary-total,
html[data-theme="dark"] .acc-head-text h6,
html[data-theme="dark"] .base-item strong {
    color: var(--tc-ink) !important;
}

html[data-theme="dark"] .menu-item {
    border-bottom-color: rgba(255,255,255,0.08) !important;
}

html[data-theme="dark"] .menu-item:hover,
html[data-theme="dark"] .nav-link-modern:hover,
html[data-theme="dark"] .nav-link-modern.active,
html[data-theme="dark"] .bottom-nav-item.active {
    background: rgba(240,138,54,0.14) !important;
    color: var(--tc-accent) !important;
}

html[data-theme="dark"] .package-hero-mini-cta {
    background: rgba(27,27,27,0.88);
    border-color: rgba(255,255,255,0.12);
}

html[data-theme="dark"] .package-hero-mini-cta span {
    color: var(--tc-ink);
}

html[data-theme="dark"] .plan-toggle {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 28px rgba(0, 0, 0, 0.18) !important;
}

html[data-theme="dark"] .plan-toggle label {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid transparent !important;
}

html[data-theme="dark"] .plan-toggle label:not(.active) .tg-label,
html[data-theme="dark"] .plan-toggle label:not(.active) .tg-unit {
    color: rgba(254, 247, 237, 0.72) !important;
}

html[data-theme="dark"] .plan-toggle label:not(.active) .tg-price {
    color: #fff7ed !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .plan-toggle label.active {
    background: linear-gradient(180deg, #fffaf4 0%, #f4e4d0 100%) !important;
    border-color: rgba(240, 138, 54, 0.36) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

html[data-theme="dark"] .plan-toggle label.active .tg-label {
    color: #6b4a33 !important;
}

html[data-theme="dark"] .plan-toggle label.active .tg-price {
    color: #24160f !important;
    text-shadow: none !important;
}

html[data-theme="dark"] .plan-toggle label.active .tg-unit {
    color: #7a5d45 !important;
}

html[data-theme="dark"] .plan-toggle .tg-badge,
html[data-theme="dark"] .plan-toggle .tg-save {
    background: #15803d !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(21, 128, 61, 0.25);
}

html[data-theme="dark"] .yearly-detail-note {
    background: rgba(34, 197, 94, 0.12) !important;
    border-color: rgba(34, 197, 94, 0.24) !important;
    color: #86efac !important;
}

html[data-theme="dark"] .btn-outline-primary {
    background: transparent !important;
}

@media (max-width: 991.98px) {
    #mainNavbar {
        padding: 0.58rem 0;
    }

    #mainNavbar .container {
        padding-inline: 12px;
    }

    #mainNavbar .gap-3 {
        gap: 0.45rem !important;
    }

    .header-icon-link,
    .btn-icon-modern,
    .navbar-toggler {
        width: 38px;
        height: 38px;
        border-radius: 12px !important;
    }

    .theme-toggle-btn {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .promo-coupon-toast {
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        width: min(410px, calc(100vw - 28px));
        max-height: calc(100vh - 28px);
        grid-template-columns: 82px minmax(0, 1fr);
        grid-template-areas:
            "brand brand"
            "icon copy"
            "actions actions";
        gap: 0.74rem;
        padding: 0.94rem;
        border-radius: 24px;
    }

    .promo-coupon-brand {
        min-height: 34px;
        padding-left: 2.2rem;
    }

    .promo-coupon-brand img {
        width: 92px;
    }

    .promo-coupon-brand span {
        min-height: 28px;
        padding: 0 0.58rem;
        font-size: 0.68rem;
    }

    .promo-coupon-icon {
        width: 82px;
        height: 104px;
        border-radius: 20px;
        font-size: 1.08rem;
    }

    .promo-coupon-icon span {
        font-size: 1.75rem;
    }

    .promo-coupon-copy {
        gap: 0.32rem;
    }

    .promo-coupon-label {
        font-size: 0.68rem;
        padding: 0.18rem 0.44rem;
    }

    .promo-coupon-copy h2 {
        font-size: 1.12rem;
        line-height: 1.28;
    }

    .promo-coupon-copy p {
        font-size: 0.74rem;
        line-height: 1.45;
    }

    .promo-coupon-code {
        font-size: 0.98rem;
        padding: 0.26rem 0.52rem;
        border-radius: 13px;
    }

    .promo-coupon-perks {
        grid-template-columns: 1fr;
        gap: 0.32rem;
    }

    .promo-coupon-perks span {
        min-height: 30px;
        justify-content: flex-start;
        font-size: 0.66rem;
        padding: 0.26rem 0.42rem;
        text-align: right;
    }

    .promo-coupon-actions {
        grid-template-columns: 1fr 1fr;
        gap: 0.52rem;
    }

    .promo-coupon-copy-btn,
    .promo-coupon-shop-btn {
        min-height: 42px;
        padding: 0 0.58rem;
        font-size: 0.74rem;
    }

    .mega-menu-nav {
        border-bottom: 0;
    }

    .hero-carousel {
        margin-bottom: 28px;
    }

    .hero-carousel .carousel-indicators {
        bottom: -22px !important;
    }

    .package-hero-panel,
    .carousel-caption {
        right: 5% !important;
        left: 5% !important;
        bottom: 16px !important;
        width: auto !important;
        padding: 0.9rem 1rem !important;
        border-radius: 16px !important;
    }

    .package-hero-title,
    .carousel-caption h2 {
        font-size: 1.06rem !important;
        line-height: 1.35 !important;
    }

    .package-hero-copy,
    .carousel-caption p {
        font-size: 0.76rem !important;
        line-height: 1.55 !important;
    }

    .package-hero-badge {
        font-size: 0.68rem !important;
    }

    .btn-package-hero-primary,
    .btn-package-hero-secondary,
    .carousel-caption .btn {
        min-height: 38px;
        padding: 0.48rem 0.78rem !important;
        font-size: 0.78rem !important;
        border-radius: 12px !important;
    }
}

@media (max-width: 575.98px) {
    .package-hero-panel,
    .carousel-caption {
        bottom: 12px !important;
    }

    .package-hero-copy,
    .package-hero-points,
    .btn-package-hero-secondary {
        display: none !important;
    }

    .hero-carousel .carousel-indicators [data-bs-target] {
        width: 6px !important;
        height: 6px !important;
    }

    .hero-carousel .carousel-indicators .active {
        width: 20px !important;
    }
}

@media (max-width: 768px) and (max-height: 520px) {
    .promo-coupon-toast {
        width: min(540px, calc(100vw - 32px));
        max-height: calc(100vh - 28px);
        grid-template-columns: 110px minmax(0, 1fr) 124px;
        grid-template-areas:
            "brand brand brand"
            "icon copy actions";
        align-items: stretch;
        gap: 0.55rem 0.75rem;
        padding: 0.68rem 0.85rem 0.74rem;
        border-radius: 24px;
        overflow: hidden;
    }

    .promo-coupon-close {
        top: 0.55rem;
        left: 0.55rem;
        width: 30px;
        height: 30px;
    }

    .promo-coupon-brand {
        min-height: 28px;
        padding-left: 2.35rem;
    }

    .promo-coupon-brand img {
        width: 82px;
        max-height: 32px;
    }

    .promo-coupon-brand span {
        min-height: 24px;
        padding: 0 0.52rem;
        font-size: 0.66rem;
    }

    .promo-coupon-icon {
        width: 110px;
        height: 94px;
        border-radius: 22px;
        font-size: 1.05rem;
    }

    .promo-coupon-icon span {
        font-size: 2.1rem;
    }

    .promo-coupon-copy {
        gap: 0.24rem;
    }

    .promo-coupon-label {
        font-size: 0.68rem;
        padding: 0.16rem 0.44rem;
    }

    .promo-coupon-copy h2 {
        font-size: 1.14rem;
        line-height: 1.2;
    }

    .promo-coupon-copy p {
        font-size: 0.72rem;
        line-height: 1.35;
    }

    .promo-coupon-code {
        font-size: 0.94rem;
        padding: 0.22rem 0.5rem;
        border-radius: 12px;
    }

    .promo-coupon-perks {
        display: none;
    }

    .promo-coupon-actions {
        grid-template-columns: 1fr;
        align-self: stretch;
        gap: 0.42rem;
    }

    .promo-coupon-copy-btn,
    .promo-coupon-shop-btn {
        min-height: 38px;
        padding: 0 0.5rem;
        font-size: 0.72rem;
    }

    .hero-carousel,
    .hero-carousel .carousel-item {
        height: 245px !important;
    }
}

@media (max-width: 430px) {
    .package-hero-mini-cta {
        max-width: calc(100% - 86px);
        gap: 0.45rem;
    }

    .package-hero-mini-cta span {
        white-space: normal;
        line-height: 1.25;
    }
}

/* ==================== Product Horizontal Scroller — hidden scrollbar (arrows used instead) ==================== */
body .product-scroll {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
body .product-scroll::-webkit-scrollbar,
body .product-scroll::-webkit-scrollbar-track,
body .product-scroll::-webkit-scrollbar-thumb,
body .product-scroll::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}
.product-scroll-wrap { overflow: hidden; }


/* === App store badges normalization (visual parity) === */
.footer-store-badges,
.footer.footer-modern .fapps-badges {
    align-items: center !important;
}
.footer-store-link,
.footer-store-link.footer-store-link-google {
    width: 135px !important;
    height: 40px !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 6px;
    box-sizing: border-box;
    flex: 0 0 auto !important;
    line-height: 0;
}
.footer-store-link .footer-store-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    object-position: center !important;
    border-radius: inherit;
}
.footer.footer-modern .fapp-link,
.footer.footer-modern .fapp-link.fapp-link-google {
    width: 135px !important;
    height: 40px !important;
    padding: 0 !important;
    box-sizing: border-box;
    background: transparent !important;
    border-radius: 6px;
    flex: 0 0 auto !important;
    line-height: 0;
}
.footer.footer-modern .fapp-link img {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    object-position: center !important;
    border-radius: inherit;
}
@media (max-width: 991.98px) {
    .footer.footer-modern .fapp-link,
    .footer.footer-modern .fapp-link.fapp-link-google { width: 135px !important; height: 40px !important; }

}

/* === Fixed full header (top navbar + mega menu pinned together) ===
   Uses position:fixed because html/body have overflow-x:hidden which
   breaks position:sticky in some browsers. A JS-set spacer reserves
   the original header height in document flow. */
.site-header {
    position: fixed !important;
    top: 0;
    inset-inline: 0;
    width: 100%;
    z-index: 1040;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    transition: box-shadow .25s ease;
}
.site-header > .navbar.sticky-top {
    position: relative !important;
    top: auto !important;
    z-index: auto !important;
    box-shadow: none !important;
}
.site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
}
html[data-theme="dark"] .site-header { background: #14110f; }
/* Spacer placed right after .site-header to reserve flow height */
.site-header-spacer { display: block; width: 100%; }

/* === Mobile navbar toggler (hamburger) — make icon clearly visible === */
.navbar-toggler {
    padding: 0 !important;
}
.navbar-toggler .bi-list,
.navbar-toggler i.bi-list {
    font-size: 1.65rem !important;
    line-height: 1 !important;
    color: var(--tc-ink) !important;
    -webkit-text-stroke: 0.6px currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.navbar-toggler:hover .bi-list,
.navbar-toggler:focus .bi-list {
    color: var(--tc-primary) !important;
}
.navbar-toggler:focus {
    outline: none !important;
    box-shadow: 0 0 0 0.18rem rgba(124, 58, 237, 0.28) !important;
}
html[data-theme="dark"] .navbar-toggler .bi-list,
html[data-theme="dark"] .navbar-toggler i.bi-list {
    color: #ffffff !important;
}
@media (max-width: 575.98px) {
    .navbar-toggler .bi-list,
    .navbar-toggler i.bi-list {
        font-size: 1.55rem !important;
    }
}

/* ==========================================================
   Trust Banner Strip (below header, all pages)
   ========================================================== */
.trust-banner-strip {
    background: linear-gradient(135deg, #fff7ed 0%, #fdf4e7 100%);
    border-bottom: 1px solid #f0dfc7;
    padding: 0.42rem 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.trust-banner-strip::-webkit-scrollbar { display: none; }
.tbs-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    white-space: nowrap;
    min-width: max-content;
}
.tbs-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #6d5643;
}
.tbs-item i {
    color: var(--tc-primary, #d85f1f);
    font-size: 0.85rem;
}
.tbs-sep {
    color: #d4c4b0;
    font-size: 0.85rem;
    font-weight: 300;
}
@media (max-width: 767.98px) {
    .tbs-inner { justify-content: flex-start; padding: 0 0.5rem; }
    .tbs-item { font-size: 0.68rem; }
}
html[data-theme="dark"] .trust-banner-strip {
    background: linear-gradient(135deg, #1a1a1a 0%, #1c1c1e 100%);
    border-bottom-color: rgba(255,255,255,0.06);
}
html[data-theme="dark"] .tbs-item { color: #a1a1aa; }
html[data-theme="dark"] .tbs-sep { color: #3f3f46; }

/* ==========================================================
   Product Badges (New, Best Seller, Sale)
   ========================================================== */
.product-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.01em;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.product-badge-new {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: #fff;
}
.product-badge-bestseller {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}
.product-badge-sale {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
}

/* ==========================================================
   Sticky Mobile Add-to-Cart Bar (PDP)
   ========================================================== */
.sticky-atc-bar {
    position: fixed;
    bottom: 68px; /* above mobile bottom nav */
    left: 0;
    right: 0;
    z-index: 1040;
    background: rgba(255,250,243,0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid #f0dfc7;
    padding: 0.55rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    transform: translateY(120%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -8px 24px rgba(0,0,0,0.08);
}
.sticky-atc-bar.visible { transform: translateY(0); }
.sticky-atc-bar .satc-price {
    font-size: 1.05rem;
    font-weight: 900;
    color: #111827;
    white-space: nowrap;
}
.sticky-atc-bar .satc-btn {
    flex: 1;
    max-width: 220px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--tc-primary, #d85f1f), var(--tc-accent, #f1a53a));
    color: #fff;
    font-weight: 800;
    font-size: 0.88rem;
    box-shadow: 0 8px 20px rgba(216,95,31,0.25);
    transition: all 0.2s ease;
}
.sticky-atc-bar .satc-btn:active { transform: scale(0.97); }
.sticky-atc-bar .satc-btn:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    box-shadow: none;
}
@media (min-width: 992px) { .sticky-atc-bar { display: none !important; } }
html[data-theme="dark"] .sticky-atc-bar {
    background: rgba(28,28,30,0.96);
    border-top-color: rgba(255,255,255,0.08);
}
html[data-theme="dark"] .sticky-atc-bar .satc-price { color: #f5f5f7; }
