/* =========================================================
   TITTAC CHRISTMAS THEME 2026
   Themes/TittacClean/Content/css/christmas.css

   Loaded LAST by _Root.Head.cshtml only while html has the
   class "tt-xmas" (12/1 - 12/26, or any page with ?xmas=1).
   Every rule starts with html.tt-xmas so it outranks tittac.css
   and tittac-home.css without editing them.
   Tittac orange stays the brand color. Christmas red, pine green
   and gold are added only to the site frame and a few accents.
   Checkout, account and popups are left untouched on purpose.
   ========================================================= */

html.tt-xmas {
    --tt-xmas-red: #b3262e;
    --tt-xmas-red-dark: #7d1d22;
    --tt-xmas-green: #1f6b3a;
    --tt-xmas-gold: #d4a53c;
    --tt-xmas-stripe: repeating-linear-gradient(
        90deg,
        #b3262e 0 22px,
        #ffffff 22px 30px,
        #1f6b3a 30px 52px,
        #ffffff 52px 60px
    );
}

/* ---------- Top bar: dark gray -> deep Christmas red ---------- */

html.tt-xmas .tittac-topbar {
    background: var(--tt-xmas-red-dark) !important;
    box-shadow: inset 0 -1px 0 rgba(212, 165, 60, .55) !important;
}

html.tt-xmas .tittac-topbar-separator {
    color: rgba(255, 255, 255, .6) !important;
}

/* ---------- Garland stripe under the white logo/search row ----------
   Drawn as a background image, so the header height does not change
   and the sticky offsets (88px desktop, 58px mobile) stay correct. */

html.tt-xmas .tittac-main-header {
    background:
        var(--tt-xmas-stripe) left bottom / 100% 3px no-repeat,
        #ffffff !important;
}

/* ---------- Search button ---------- */

html.tt-xmas .tittac-search-wrap .search-box-button {
    background: var(--tt-xmas-green) !important;
}

/* ---------- Cart count badge ---------- */

html.tt-xmas .tittac-header-actions .header-links a.ico-cart .cart-qty {
    color: var(--tt-xmas-red) !important;
}

@media (max-width: 768px) {
    html.tt-xmas .tittac-header-actions .cart-qty {
        background: var(--tt-xmas-red) !important;
        color: #ffffff !important;
    }
}

/* ---------- Desktop menu: "All categories" button ---------- */

@media (min-width: 769px) {
    html.tt-xmas .tittac-all-categories-button {
        background: var(--tt-xmas-green) !important;
        color: #ffffff !important;
    }

    html.tt-xmas .tittac-all-categories-button:before {
        color: rgba(255, 255, 255, .85) !important;
    }
}

/* ---------- Mobile menu: active tab ---------- */

@media (max-width: 900px) {
    html.tt-xmas .tittac-mobile-department-tab.is-active {
        border-color: var(--tt-xmas-red) !important;
        background: #fdf0f0 !important;
        color: var(--tt-xmas-red) !important;
        box-shadow: inset 0 0 0 1px rgba(179, 38, 46, .12) !important;
    }
}

/* =========================================================
   HOME PAGE ACCENTS
   ========================================================= */

/* Trust strip under the hero: gold dots -> alternating red / green */
html.tt-xmas .tt-home-trust-strip > *:nth-child(odd):not(:last-child)::after {
    background: var(--tt-xmas-red);
}

html.tt-xmas .tt-home-trust-strip > *:nth-child(even):not(:last-child)::after {
    background: var(--tt-xmas-green);
}

/* Category showcase: small gold underline under "Karaoke" / "Ghe Massage" */
html.tt-xmas .tt-home-showcase-title::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin-top: 10px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--tt-xmas-red) 0 50%, var(--tt-xmas-green) 50% 100%);
}

/* Product tabs: active underline */
html.tt-xmas .tt-home-tab-btn.is-active::after {
    background: var(--tt-xmas-red);
}

/* SALE ribbon on product cards */
html.tt-xmas .tt-home-mini-sale-ribbon {
    background: var(--tt-xmas-red);
}

/* Google reviews eyebrow ("KHACH HANG NOI GI VE TITTAC") */
html.tt-xmas .tt-home-page .tt-home-google-reviews .tittac-campaign-eyebrow {
    color: var(--tt-xmas-red);
}

/* =========================================================
   FOOTER
   ========================================================= */

/* Same garland stripe on top of the footer brand strip */
html.tt-xmas .footer.tittac-footer-clean .tt-brand-strip {
    background:
        var(--tt-xmas-stripe) left top / 100% 3px no-repeat,
        #f6f6f6;
}

/* Copyright row: plain gray line -> thin gold line */
html.tt-xmas .footer.tittac-footer-clean .footer-lower {
    border-top-color: rgba(212, 165, 60, .6);
}

/* =========================================================
   Accessibility: no motion is added by this theme.
   ========================================================= */
