/* ============================================================================
   TAYYABACOLLECTIVE — PREMIUM LAYER
   ----------------------------------------------------------------------------
   Loaded AFTER style.css. This file only refines: it re-tunes the design
   tokens, then upgrades the header, product cards, buttons, forms, trust
   signals, footer, toasts and the floating WhatsApp button.

   Nothing here renames a class, so every template keeps working as-is.
   ========================================================================== */

/* ============================================================
   1. REFINED TOKENS
   ============================================================ */

:root {
    /* Deeper, warmer brand range — the old flat maroon gains a top and bottom */
    --primary:        #5e0b27;
    --primary-dark:   #47131f;
    --primary-light:  #7f3248;
    --primary-tint:   #faf8f9;

    --gold:           #5a1424;
    --gold-light:     #f2e9eb;
    --gold-tint:      #faf8f9;

    --ink:            #1a1416;
    --text:           #2a2224;
    --text-light:     #6f6669;
    --text-muted:     #948b8e;

    --cream:          #fcfafb;
    --cream-dark:     #f7f3f4;
    --border:         #f3eff0;
    --border-strong:  #ebe6e7;

    --success:        #2f7a51;
    --whatsapp:       #25d366;

    /* Elevation — soft, warm-tinted, never grey */
    --shadow-xs: 0 1px 2px rgba(38, 22, 26, .05);
    --shadow-sm: 0 2px 8px rgba(38, 22, 26, .06);
    --shadow-md: 0 8px 24px rgba(38, 22, 26, .09);
    --shadow-lg: 0 18px 48px rgba(38, 22, 26, .13);
    --shadow-xl: 0 32px 72px rgba(38, 22, 26, .18);

    --radius-sm: 4px;
    --radius:    8px;
    --radius-lg: 14px;
    --radius-pill: 999px;

    /* Motion — one easing for entrances, one for exits */
    --ease:      cubic-bezier(.4, 0, .2, 1);
    --ease-out:  cubic-bezier(.16, 1, .3, 1);
    --transition: all .3s var(--ease);

    --container: 1280px;
    --header-h: 78px;
}

/* Respect users who ask for less motion. */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
   2. TYPOGRAPHY POLISH
   ============================================================ */

body {
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -.005em;
}

/* No colour here on purpose: hero, newsletter and footer headings inherit
   white from their dark parent, and setting one would black them out. */
h1, h2, h3, h4 {
    font-family: "Playfair Display", Georgia, serif;
    letter-spacing: -.02em;
    text-wrap: balance;
}

p { text-wrap: pretty; }

.section-header h2,
.section-title {
    font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem);
    line-height: 1.1;
}

/* The small uppercase eyebrow above section titles */
.section-label,
.section-header span,
.eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ============================================================
   3. HEADER — sticky, condenses on scroll
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s var(--ease), border-color .3s var(--ease),
                background .3s var(--ease);
}

.site-header.is-stuck {
    background: rgba(255, 255, 255, .96);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-container { min-height: var(--header-h); }

/* Underline that grows from the centre instead of just appearing */
.site-nav > a {
    position: relative;
    padding: 6px 0;
    font-weight: 500;
}

.site-nav > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width .28s var(--ease-out);
}

.site-nav > a:hover::after,
.site-nav > a.active::after { width: 100%; }

.nav-actions a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    color: var(--text);
    transition: background .25s var(--ease), color .25s var(--ease),
                transform .25s var(--ease);
}

.nav-actions a:hover {
    background: var(--primary-tint);
    color: var(--primary);
    transform: translateY(-1px);
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    border-radius: var(--radius-pill);
    box-shadow: 0 0 0 2px #fff;
}

/* A count that just changed gets a quick pop so the change is noticed */
.cart-count.is-bumped { animation: tc-bump .45s var(--ease-out); }

@keyframes tc-bump {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* ============================================================
   4. BUTTONS
   ============================================================ */

.btn {
    position: relative;
    min-height: 52px;
    padding: 0 32px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    letter-spacing: .12em;
    overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease),
                background .25s var(--ease), color .25s var(--ease),
                border-color .25s var(--ease);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active { transform: translateY(0); }

/* A soft sheen that sweeps across on hover */
.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%,
                rgba(255, 255, 255, .22) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .7s var(--ease-out);
}

.btn-primary:hover::before { transform: translateX(120%); }

/* The white glass version only reads on a dark photo. It used to be the
   default, which left "Buy Now", the 403/404 actions and the About CTA as
   white text on a white page -- invisible. Light is now the default and the
   white variant is scoped to the dark hero. */
.btn-outline {
    border-color: var(--primary);
    background: transparent;
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-buttons .btn-outline,
.hero-content .btn-outline,
.shop-hero .btn-outline {
    border-color: rgba(255, 255, 255, .75);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(6px);
    color: #fff;
}

.hero-buttons .btn-outline:hover,
.hero-content .btn-outline:hover,
.shop-hero .btn-outline:hover {
    background: #fff;
    border-color: #fff;
    color: var(--primary);
}

/* Keyboard focus must stay obvious everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* ============================================================
   5. PRODUCT CARDS
   ============================================================ */

.product-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-card .product-thumb,
.product-card .product-image {
    position: relative;
    overflow: hidden;
    background: var(--cream);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    aspect-ratio: 3 / 4;
    height: auto;
}

.product-card .product-thumb img,
.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease-out), opacity .5s var(--ease);
}

.product-card:hover .product-thumb img,
.product-card:hover .product-image img { transform: scale(1.07); }

/* Second photo cross-fades in on hover when the product has one */
.product-card .img-alt {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.product-card:hover .img-alt { opacity: 1; }

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    padding: 6px 12px;
    background: var(--ink);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
}

.product-badge.sale { background: var(--primary); }

.product-tag {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 3;
    padding: 5px 11px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(6px);
    color: var(--text);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.product-card:hover .product-tag { opacity: 1; transform: translateY(0); }
.product-tag.out-of-stock { background: rgba(26, 20, 22, .9); color: #fff; opacity: 1; transform: none; }

.product-info { padding: 18px 16px 16px; }

.product-info .p-name {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ink);
    /* Two lines max so a long name never breaks the grid rhythm */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

.product-info .p-price {
    margin-top: 8px;
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
}

.product-info .p-price .old-price {
    margin-right: 7px;
    color: var(--text-muted);
    font-weight: 500;
    text-decoration: line-through;
}

.product-info .p-cat {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* --- Quick add: slides up over the image on hover ------------------------ */
.mini-cart-btn {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 4;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--radius);
    background: var(--ink);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease-out),
                background .25s var(--ease);
}

.product-card:hover .mini-cart-btn { opacity: 1; transform: translateY(0); }
.mini-cart-btn:hover { background: var(--primary); }
.mini-cart-btn:disabled { background: var(--text-muted); cursor: not-allowed; }

/* The image needs room for the button to sit over, so anchor it there */
.product-card { padding-bottom: 0; }
.product-card .product-card-link { display: block; position: relative; }

/* Touch devices have no hover — keep the quick-add permanently visible */
@media (hover: none) {
    .mini-cart-btn { opacity: 1; transform: none; }
    .product-tag  { opacity: 1; transform: none; }
}

/* ============================================================
   6. TRUST BAR
   ============================================================ */

.trust-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--cream);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 26px 22px;
    background: var(--cream);
}

.trust-item i {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--primary);
    font-size: 17px;
    box-shadow: var(--shadow-xs);
}

.trust-item h4 {
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--ink);
}

.trust-item p {
    margin-top: 2px;
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .trust-grid { grid-template-columns: 1fr; }
    .trust-item { padding: 18px; }
}

/* ============================================================
   7. FOOTER
   ============================================================ */

.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .72);
}

.site-footer h3 {
    margin-bottom: 18px;
    color: #fff;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.site-footer .footer-column a {
    display: block;
    padding: 6px 0;
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
    transition: color .25s var(--ease), transform .25s var(--ease);
}

.site-footer .footer-column a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-logo {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 26px;
    color: #fff;
}

.social-links { display: flex; gap: 10px; margin-top: 20px; }

.social-links a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius-pill);
    color: rgba(255, 255, 255, .8);
    font-size: 15px;
    transition: background .25s var(--ease), color .25s var(--ease),
                border-color .25s var(--ease), transform .25s var(--ease);
}

.social-links a:hover {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
    transform: translateY(-3px);
}

/* Each network keeps its own colour on hover */
.social-links a.s-instagram:hover { background: #e1306c; border-color: #e1306c; color: #fff; }
.social-links a.s-facebook:hover  { background: #1877f2; border-color: #1877f2; color: #fff; }
.social-links a.s-linkedin:hover  { background: #0a66c2; border-color: #0a66c2; color: #fff; }
.social-links a.s-whatsapp:hover  { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 13px;
}

/* ============================================================
   8. FLOATING WHATSAPP BUTTON
   ============================================================ */

.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 950;
    display: inline-flex;
    align-items: center;
    gap: 0;
    height: 58px;
    padding: 0 17px;
    background: var(--whatsapp);
    color: #fff;
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 26px rgba(37, 211, 102, .42);
    transition: gap .35s var(--ease-out), padding .35s var(--ease-out),
                transform .25s var(--ease), box-shadow .25s var(--ease);
}

.wa-float i { font-size: 28px; line-height: 1; }

/* The label is collapsed until hover, so the button stays out of the way */
.wa-float span {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transition: max-width .35s var(--ease-out), opacity .25s var(--ease);
}

.wa-float:hover {
    gap: 11px;
    padding-right: 22px;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, .5);
}

.wa-float:hover span { max-width: 190px; opacity: 1; }

/* A slow halo so the button reads as live without being loud */
.wa-float::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
    animation: tc-halo 2.8s ease-out infinite;
}

@keyframes tc-halo {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
    70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 600px) {
    .wa-float { right: 16px; bottom: 16px; height: 54px; padding: 0 15px; }
    .wa-float i { font-size: 25px; }
    .wa-float:hover span { max-width: 0; opacity: 0; }
    .wa-float:hover { gap: 0; padding-right: 15px; }
}

/* ============================================================
   9. TOASTS
   ============================================================ */

.tc-toasts {
    position: fixed;
    right: 20px;
    bottom: 92px;
    z-index: 980;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.tc-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 340px;
    padding: 14px 18px;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    pointer-events: auto;
    animation: tc-toast-in .35s var(--ease-out);
}

.tc-toast.is-out { animation: tc-toast-out .3s var(--ease) forwards; }
.tc-toast i { color: var(--gold-light); font-size: 16px; }
.tc-toast.is-success i { color: #6ee7a0; }
.tc-toast.is-error   { background: #7a2230; }

@keyframes tc-toast-in {
    from { opacity: 0; transform: translateY(14px) scale(.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes tc-toast-out {
    to { opacity: 0; transform: translateY(10px) scale(.97); }
}

@media (max-width: 600px) {
    .tc-toasts { left: 16px; right: 16px; bottom: 84px; }
    .tc-toast  { max-width: none; }
}

/* ============================================================
   10. FORMS & CHECKOUT
   ============================================================ */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
select,
textarea {
    padding: 13px 15px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: #fff;
    font-size: 14.5px;
    color: var(--text);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-tint);
    outline: none;
}

.payment-option { margin-bottom: 12px; }

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background: #fff;
    cursor: pointer;
    transition: border-color .25s var(--ease), background .25s var(--ease),
                box-shadow .25s var(--ease);
}

.payment-label:hover { border-color: var(--primary-light); }

.payment-option input[type="radio"]:checked + .payment-label {
    border-color: var(--primary);
    background: var(--primary-tint);
    box-shadow: 0 0 0 3px rgba(107, 34, 51, .09);
}

.payment-option input[type="radio"]:focus-visible + .payment-label {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.payment-icon {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: var(--radius-pill);
    background: var(--cream);
    color: var(--primary);
    font-size: 19px;
}

.payment-option input[type="radio"]:checked + .payment-label .payment-icon {
    background: var(--primary);
    color: #fff;
}

.payment-label strong { display: block; font-size: 15px; color: var(--ink); }
.payment-label span   { font-size: 13px; color: var(--text-light); }

/* The COD option carries a recommended flag since card is not live yet */
.payment-label .pay-flag {
    margin-left: auto;
    padding: 4px 10px;
    background: var(--success);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
}

.payment-option.is-disabled .payment-label {
    opacity: .55;
    cursor: not-allowed;
    background: var(--cream);
}

.card-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    padding: 13px 16px;
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-sm);
    background: var(--gold-tint);
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.5;
}

/* ============================================================
   11. SECTION RHYTHM
   ============================================================ */

.section-padding { padding: clamp(64px, 7vw, 108px) 0; }

.category-card,
.collection-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}

.category-card:hover,
.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Section entrances — only after JS marks the element, so no-JS stays visible */
.tc-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

.tc-reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   12. GRID BREAKPOINTS
   ============================================================ */

@media (max-width: 1100px) {
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .product-info { padding: 14px 12px 14px; }
    .product-info .p-name { font-size: 15px; }
}

@media (max-width: 400px) {
    .product-grid { gap: 12px; }
}

/* ============================================================================
   13. PURCHASE FUNNEL — cart, checkout, confirmation
   ----------------------------------------------------------------------------
   These three pages shipped with no stylesheet at all: every .cart-*,
   .checkout-* and .confirmation-* class was unmatched, so the most important
   pages in the store rendered as unstyled blocks. Everything below is new.
   ========================================================================== */

/* --- shared page hero ---------------------------------------------------- */
.cart-hero,
.checkout-hero {
    padding: clamp(46px, 5vw, 74px) 0 clamp(30px, 3vw, 44px);
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.cart-hero h1,
.checkout-hero h1 {
    font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem);
    color: var(--ink);
}

.cart-hero p,
.checkout-hero p { margin-top: 8px; color: var(--text-light); }

.cart-hero .eyebrow,
.checkout-hero .eyebrow,
.cart-hero .section-label,
.checkout-hero .section-label { margin-bottom: 10px; }

.cart-section { padding: clamp(38px, 4.5vw, 68px) 0 clamp(56px, 6vw, 96px); background: #fbf9f6; }

/* --- two-column layout --------------------------------------------------- */
.cart-layout,
.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: start;
    gap: 30px;
}

.checkout-container { padding: clamp(30px, 4vw, 56px) 0 clamp(56px, 6vw, 96px); }

@media (max-width: 980px) {
    .cart-layout,
    .checkout-grid { grid-template-columns: minmax(0, 1fr); }
}

/* --- cart items ---------------------------------------------------------- */
.cart-items-wrapper {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* One shared column track keeps the header aligned with every row */
.cart-table-header,
.cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px 132px 110px 44px;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
}

.cart-table-header {
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cart-table-header span:nth-child(2),
.cart-table-header span:nth-child(3),
.cart-table-header span:nth-child(4),
.cart-price,
.cart-total { text-align: center; }

.cart-item + .cart-item { border-top: 1px solid var(--border); }
.cart-item { transition: background .2s var(--ease); }
.cart-item:hover { background: var(--cream); }

.cart-product { display: flex; align-items: center; gap: 15px; min-width: 0; }

.cart-product-image {
    flex: 0 0 84px;
    width: 84px;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--cream-dark);
}

.cart-product-image img { width: 100%; height: 100%; object-fit: cover; }

.cart-product-info { min-width: 0; }

.cart-product-info h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 16px;
    color: var(--ink);
    line-height: 1.3;
}

.cart-product-info p { color: var(--text-light); font-size: 12.5px; margin-top: 3px; }

.cart-product-info a {
    display: inline-block;
    margin-top: 5px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color .2s var(--ease);
}

.cart-product-info a:hover { border-bottom-color: var(--primary); }

.cart-product-info .stock-status.out { color: #b3261e; font-weight: 600; }

.cart-price  { color: var(--text-light); font-size: 14px; }
.cart-total  { color: var(--primary); font-size: 15px; font-weight: 700; }

.cart-quantity {
    display: inline-flex;
    align-items: center;
    justify-self: center;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill);
    overflow: hidden;
    background: #fff;
}

.qty-btn {
    width: 34px;
    height: 38px;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 16px;
    line-height: 1;
    transition: background .2s var(--ease), color .2s var(--ease);
}

.qty-btn:hover { background: var(--primary); color: #fff; }

.qty-input {
    width: 42px;
    height: 38px;
    padding: 0;
    border: 0;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-radius: 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input:focus { box-shadow: none; border-color: var(--border); }

.cart-remove {
    width: 34px;
    height: 34px;
    justify-self: center;
    border: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--text-muted);
    font-size: 15px;
    transition: background .2s var(--ease), color .2s var(--ease);
}

.cart-remove:hover { background: #fcf8f7; color: #b3261e; }

.cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
}

.continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    transition: color .2s var(--ease), gap .2s var(--ease);
}

.continue-shopping:hover { color: var(--primary); gap: 12px; }

.clear-cart {
    padding: 9px 17px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
    transition: border-color .2s var(--ease), color .2s var(--ease);
}

.clear-cart:hover { border-color: #b3261e; color: #b3261e; }

/* Narrow screens: drop the table shape and label each cell */
@media (max-width: 720px) {
    .cart-table-header { display: none; }

    .cart-item {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "product remove"
            "qty     total";
        row-gap: 14px;
        padding: 18px;
    }

    .cart-product  { grid-area: product; }
    .cart-remove   { grid-area: remove; justify-self: end; }
    .cart-quantity { grid-area: qty; justify-self: start; }
    .cart-total    { grid-area: total; justify-self: end; text-align: right; font-size: 17px; }
    .cart-price    { display: none; }
}

/* --- empty states -------------------------------------------------------- */
.empty-cart,
.empty-checkout {
    padding: clamp(48px, 7vw, 88px) 26px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.empty-cart-icon {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    margin: 0 auto 22px;
    border-radius: var(--radius-pill);
    background: var(--cream);
    color: var(--primary);
    font-size: 30px;
}

.empty-cart h2,
.empty-checkout h2 { font-size: 26px; color: var(--ink); }

.empty-cart p,
.empty-checkout p {
    max-width: 440px;
    margin: 12px auto 26px;
    color: var(--text-light);
    font-size: 14.5px;
}

.empty-cart > a,
.empty-checkout > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 32px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    transition: background .25s var(--ease), transform .25s var(--ease);
}

.empty-cart > a:hover,
.empty-checkout > a:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* --- order summary (shared by cart and checkout) ------------------------- */
.order-summary {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    padding: 26px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.order-summary h2 {
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border);
    font-size: 20px;
    color: var(--ink);
}

.summary-row,
.summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-light);
}

.summary-row strong,
.summary-line strong { color: var(--text); font-weight: 600; }

.summary-divider { height: 1px; margin: 14px 0; background: var(--border); }

.summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 15px;
    margin-top: 12px;
    border-top: 1px solid var(--border);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 21px;
    font-weight: 600;
    color: var(--ink);
}

.summary-total span:last-child { color: var(--primary); }

.summary-note {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--gold-tint);
    color: var(--text-light);
    font-size: 12.5px;
}

.checkout-btn,
.checkout-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 54px;
    margin-top: 20px;
    padding: 0 22px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: background .25s var(--ease), transform .25s var(--ease),
                box-shadow .25s var(--ease);
}

.checkout-btn:hover,
.checkout-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.secure-note,
.shipping-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 13px;
    color: var(--text-light);
    font-size: 12.5px;
    text-align: center;
}

.shipping-note { color: var(--success); }

/* --- checkout: the item list inside the summary -------------------------- */
.checkout-products {
    max-height: 320px;
    overflow-y: auto;
    margin-bottom: 16px;
    padding-right: 4px;
}

.checkout-product {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
}

.checkout-product + .checkout-product { border-top: 1px solid var(--border); }

.checkout-product-image {
    width: 58px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: var(--cream-dark);
}

.checkout-product-info h3 {
    font-family: "DM Sans", sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
}

.checkout-product-info p { color: var(--text-muted); font-size: 12px; margin-top: 2px; }
.checkout-product-price { color: var(--primary); font-size: 13.5px; font-weight: 700; white-space: nowrap; }

/* --- checkout form ------------------------------------------------------- */
.checkout-section {
    padding: 26px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.checkout-section-title {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
}

.checkout-section-number {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-pill);
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.checkout-section-title h2 { font-size: 20px; color: var(--ink); }

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 620px) {
    .form-row { grid-template-columns: minmax(0, 1fr); }
}

.form-group { margin-bottom: 16px; display: flex; flex-direction: column; }

.form-group label {
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea { width: 100%; }

.form-group .help { margin-top: 6px; color: var(--text-muted); font-size: 12px; }

.required { color: #b3261e; }

.field-error { margin-top: 6px; color: #b3261e; font-size: 12.5px; font-weight: 500; }

/* --- delivery options ---------------------------------------------------- */
.delivery-option { margin-bottom: 12px; }

.delivery-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.delivery-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 19px;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background: #fff;
    cursor: pointer;
    transition: border-color .25s var(--ease), background .25s var(--ease),
                box-shadow .25s var(--ease);
}

.delivery-label:hover { border-color: var(--primary-light); }

.delivery-option input[type="radio"]:checked + .delivery-label {
    border-color: var(--primary);
    background: var(--primary-tint);
    box-shadow: 0 0 0 3px rgba(107, 34, 51, .09);
}

.delivery-option input[type="radio"]:focus-visible + .delivery-label {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.delivery-left { display: flex; align-items: center; gap: 13px; min-width: 0; }

.radio-circle {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    border: 2px solid var(--border-strong);
    border-radius: var(--radius-pill);
    background: #fff;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.delivery-option input[type="radio"]:checked + .delivery-label .radio-circle {
    border-color: var(--primary);
    box-shadow: inset 0 0 0 4px var(--primary);
}

.delivery-info strong { display: block; font-size: 14.5px; color: var(--ink); }
.delivery-info span   { font-size: 12.5px; color: var(--text-light); }

.delivery-price { color: var(--primary); font-size: 14px; font-weight: 700; white-space: nowrap; }

/* --- flash messages ------------------------------------------------------ */
.flash {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: var(--radius);
    font-size: 14px;
}

.flash-error   { background: #fcf8f7; border-left: 3px solid #b3261e; color: #7a1c17; }
.flash-success { background: #e9f6ee; border-left: 3px solid var(--success); color: #1d5636; }

/* --- order confirmation -------------------------------------------------- */
.section-tight { padding: clamp(48px, 6vw, 88px) 0; background: #fbf9f6; }

.confirmation-shell { max-width: 680px; margin: 0 auto; }

.confirmation-card {
    padding: clamp(30px, 4vw, 48px);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.confirmation-card .kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--success);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.confirmation-card h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); color: var(--ink); }

.confirmation-card .lead {
    max-width: 460px;
    margin: 12px auto 0;
    color: var(--text-light);
    font-size: 15px;
}

.confirmation-card table { width: 100%; margin-top: 26px; border-collapse: collapse; text-align: left; }

.confirmation-card th,
.confirmation-card td {
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.confirmation-card th { color: var(--text-light); font-weight: 500; }
.confirmation-card td { text-align: right; font-weight: 600; color: var(--ink); }

.cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 30px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: background .25s var(--ease), transform .25s var(--ease);
}

.btn-solid:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ============================================================================
   14. BRAND LOCKUP
   ----------------------------------------------------------------------------
   The header logo used to be a small icon plus the store name as live text,
   with the tagline hardcoded in a ::after. The new artwork already contains
   the wordmark and the tagline, so both text layers are switched off here and
   the name is carried by a .sr-only span for screen readers and SEO.
   ========================================================================== */

.brand-logo {
    display: inline-flex;
    align-items: center;
    /* Cancel the old two-column text grid */
    grid-template-columns: none;
    column-gap: 0;
    letter-spacing: normal;
    font-size: 0;              /* kills the stray whitespace text node */
    line-height: 0;
}

.brand-logo::after { content: none; }

.brand-logo img {
    grid-row: auto;
    width: auto;
    height: 54px;
    max-width: 100%;
    object-fit: contain;
    transition: opacity .25s var(--ease);
}

.brand-logo:hover img { opacity: .82; }

@media (max-width: 900px) { .brand-logo img { height: 44px; } }
@media (max-width: 420px) { .brand-logo img { height: 36px; } }

/* ============================================================================
   15. CONTACT PAGE
   ----------------------------------------------------------------------------
   Another page that shipped with no stylesheet: every .contact-* and .faq-*
   class was unmatched, so it rendered as full-bleed unstyled text.
   ========================================================================== */

.contact-page { background: #fbf9f6; }

/* --- hero ---------------------------------------------------------------- */
.contact-hero {
    padding: clamp(56px, 6vw, 96px) 20px clamp(40px, 4vw, 64px);
    background:
        radial-gradient(120% 140% at 50% 0%, var(--primary-tint) 0%, transparent 62%),
        var(--cream);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.contact-hero h1 {
    font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.2rem);
    color: var(--ink);
}

.contact-hero p {
    max-width: 560px;
    margin: 14px auto 0;
    color: var(--text-light);
    font-size: 15.5px;
    line-height: 1.65;
}

/* --- shared layout ------------------------------------------------------- */
.contact-container {
    width: min(92%, var(--container));
    margin: 0 auto;
    padding: clamp(44px, 5vw, 84px) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: start;
    gap: clamp(28px, 4vw, 56px);
}

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

/* The gold eyebrow above each section heading */
.small-heading {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.contact-info > h2,
.contact-form-wrapper > h2 {
    font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
    line-height: 1.15;
    color: var(--ink);
}

.contact-info > p,
.contact-form-wrapper > p {
    margin-top: 12px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* --- contact details ----------------------------------------------------- */
.contact-details {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease),
                transform .25s var(--ease);
}

.contact-detail:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-icon {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: var(--radius-pill);
    background: var(--primary-tint);
    color: var(--primary);
    font-size: 17px;
}

.contact-detail h3 {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-detail p,
.contact-detail a {
    display: block;
    margin-top: 5px;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.5;
}

.contact-detail a { transition: color .2s var(--ease); }
.contact-detail a:hover { color: var(--primary); }

/* --- social --------------------------------------------------------------- */
.contact-social { margin-top: 30px; }

.contact-social h3 {
    margin-bottom: 14px;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* The footer's social chips are reversed out on dark; on this light page they
   need the inverse treatment. */
.contact-social .social-links { margin-top: 0; }

.contact-social .social-links a {
    border-color: var(--border-strong);
    background: #fff;
    color: var(--text);
}

.contact-social .social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* --- form card ------------------------------------------------------------ */
.contact-form-wrapper {
    padding: clamp(26px, 3vw, 40px);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-form { margin-top: 24px; }

.contact-form textarea {
    min-height: 148px;
    resize: vertical;
}

.contact-form .optional {
    color: var(--text-muted);
    font-weight: 500;
}

.send-message-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 54px;
    padding: 0 26px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: background .25s var(--ease), transform .25s var(--ease),
                box-shadow .25s var(--ease);
}

.send-message-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.send-message-btn:active { transform: translateY(0); }

/* --- FAQ accordion -------------------------------------------------------- */
.faq-section {
    padding: clamp(48px, 5vw, 88px) 0;
    background: #fff;
    border-top: 1px solid var(--border);
}

.faq-container {
    width: min(92%, 860px);
    margin: 0 auto;
}

.faq-heading { text-align: center; margin-bottom: 34px; }

.faq-heading h2 {
    font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem);
    color: var(--ink);
}

.faq-heading p { margin-top: 10px; color: var(--text-light); font-size: 15px; }

.faq-list { display: grid; gap: 12px; }

.faq-item {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color .25s var(--ease), background .25s var(--ease),
                box-shadow .25s var(--ease);
}

.faq-item.open {
    background: #fff;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 19px 22px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    text-align: left;
    transition: color .2s var(--ease);
}

.faq-question:hover { color: var(--primary); }

.faq-chevron {
    flex: 0 0 auto;
    color: var(--primary);
    font-size: 13px;
    transition: transform .3s var(--ease-out);
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

/* Animating max-height keeps the reveal smooth without measuring in JS; the
   cap only has to exceed the tallest answer. */
.faq-answer {
    max-height: 0;
    padding: 0 22px;
    overflow: hidden;
    color: var(--text-light);
    font-size: 14.5px;
    line-height: 1.7;
    transition: max-height .35s var(--ease), padding .35s var(--ease);
}

.faq-item.open .faq-answer {
    max-height: 340px;
    padding: 0 22px 20px;
}

/* --- bottom CTA ----------------------------------------------------------- */
.contact-bottom-cta {
    padding: clamp(44px, 5vw, 76px) 0;
    background: var(--ink);
    color: rgba(255, 255, 255, .75);
    text-align: center;
}

.contact-bottom-cta h2 {
    font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
    color: #fff;
}

.contact-bottom-cta p { margin-top: 12px; font-size: 15.5px; }

.contact-bottom-cta a {
    color: var(--gold-light);
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color .2s var(--ease);
}

.contact-bottom-cta a:hover { border-bottom-color: var(--gold-light); }

/* ============================================================================
   16. COLLECTIONS PAGE
   ----------------------------------------------------------------------------
   Also shipped unstyled: the category images had no box to sit in, so each
   one rendered at full width and the page became a stack of giant photos.
   ========================================================================== */

.categories-hero {
    padding: clamp(56px, 6vw, 96px) 0 clamp(38px, 4vw, 62px);
    background:
        radial-gradient(120% 140% at 50% 0%, var(--primary-tint) 0%, transparent 62%),
        var(--cream);
    border-bottom: 1px solid var(--border);
}

.categories-hero-content { max-width: 720px; margin: 0 auto; text-align: center; }

.categories-hero-content h1 {
    margin-top: 12px;
    font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.2rem);
    color: var(--ink);
}

.categories-hero-content p {
    margin-top: 14px;
    color: var(--text-light);
    font-size: 15.5px;
    line-height: 1.65;
}

.categories-intro { padding: clamp(40px, 4.5vw, 70px) 0 0; }

.categories-intro-inner { max-width: 700px; margin: 0 auto; text-align: center; }

.categories-intro-inner h2 {
    margin-top: 12px;
    font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem);
    color: var(--ink);
}

.categories-intro-inner p {
    margin-top: 12px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

.fashion-categories { padding: clamp(34px, 4vw, 60px) 0 clamp(56px, 6vw, 92px); }

/* Editorial grid: the first two cards run double-width as feature tiles */
.fashion-category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
}

.fashion-category-card {
    position: relative;
    grid-column: span 2;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--cream-dark);
    isolation: isolate;
    transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}

.fashion-category-card.large { grid-column: span 3; aspect-ratio: 4 / 3; }

.fashion-category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.fashion-category-image { position: absolute; inset: 0; }

.fashion-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ease-out);
}

.fashion-category-card:hover .fashion-category-image img { transform: scale(1.07); }

/* Gradient keeps the caption legible over any photo */
.fashion-category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(26, 20, 22, .88) 0%,
        rgba(26, 20, 22, .45) 38%,
        rgba(26, 20, 22, .05) 70%);
    transition: background .4s var(--ease);
}

.fashion-category-card:hover .fashion-category-overlay {
    background: linear-gradient(to top,
        rgba(26, 20, 22, .92) 0%,
        rgba(26, 20, 22, .58) 45%,
        rgba(26, 20, 22, .15) 78%);
}

.fashion-category-content {
    position: absolute;
    inset: auto 0 0 0;
    padding: 26px;
    color: #fff;
}

.category-number {
    display: block;
    margin-bottom: 8px;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
}

.fashion-category-content h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.15rem, .95rem + .7vw, 1.7rem);
    font-weight: 600;
    line-height: 1.15;
    color: #fff;
    letter-spacing: .01em;
}

.fashion-category-content > p {
    margin-top: 5px;
    color: rgba(255, 255, 255, .74);
    font-size: 12.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.category-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 15px;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: var(--radius-pill);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, .1);
    transition: background .25s var(--ease), color .25s var(--ease),
                border-color .25s var(--ease), gap .25s var(--ease);
}

.category-shop-btn:hover {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
    gap: 14px;
}

@media (max-width: 900px) {
    .fashion-category-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .fashion-category-card { grid-column: span 2; }
    .fashion-category-card.large { grid-column: span 4; aspect-ratio: 16 / 10; }
    .fashion-category-content { padding: 20px; }
}

@media (max-width: 560px) {
    .fashion-category-grid { grid-template-columns: 1fr; }
    .fashion-category-card,
    .fashion-category-card.large { grid-column: span 1; aspect-ratio: 4 / 3; }
}

/* --- feature strip -------------------------------------------------------- */
.category-feature-strip {
    padding: clamp(44px, 5vw, 76px) 0;
    background: var(--cream);
    border-top: 1px solid var(--border);
}

.category-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.category-feature {
    padding: 30px 26px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.category-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.category-feature i {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    border-radius: var(--radius-pill);
    background: var(--primary-tint);
    color: var(--primary);
    font-size: 20px;
}

.category-feature h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 19px;
    color: var(--ink);
}

.category-feature p {
    margin-top: 9px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 780px) {
    .category-feature-grid { grid-template-columns: minmax(0, 1fr); }
}

/* --- empty state ---------------------------------------------------------- */
.section-empty,
.category-grid-empty {
    padding: clamp(48px, 6vw, 80px) 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.section-empty i { color: var(--primary); font-size: 30px; }
.section-empty h3 { margin-top: 14px; font-size: 22px; color: var(--ink); }
.section-empty p { margin-top: 8px; color: var(--text-light); font-size: 14.5px; }

/* ============================================================================
   17. PRODUCT PAGE — breadcrumb, rating, info tabs
   ----------------------------------------------------------------------------
   The tab strip had working JS (it toggles .active) but no styles, so every
   panel was visible at once and the buttons rendered as default browser
   controls. The breadcrumb and details list were unstyled too.
   ========================================================================== */

.breadcrumb-section {
    padding: 16px 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumb a { color: var(--text-light); transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--border-strong); }

/* The trailing item is the current page, so it should not read as a link */
.breadcrumb > :last-child { color: var(--ink); font-weight: 600; }

.stars { display: inline-flex; gap: 3px; color: var(--gold); font-size: 13px; }

.product-information-section {
    width: min(92%, var(--container));
    margin: 0 auto;
    padding: clamp(40px, 4.5vw, 72px) 0 clamp(20px, 2vw, 32px);
}

.product-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-bottom: 1px solid var(--border);
}

.product-tab {
    position: relative;
    padding: 14px 22px;
    border: 0;
    background: transparent;
    color: var(--text-light);
    font-family: "DM Sans", sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .01em;
    transition: color .25s var(--ease);
}

.product-tab::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transform: translateX(-50%);
    transition: width .28s var(--ease-out);
}

.product-tab:hover { color: var(--primary); }
.product-tab.active { color: var(--primary); }
.product-tab.active::after { width: 100%; }

/* Only the active panel shows; the JS toggles .active on both layers */
.product-tab-content { display: none; padding: 28px 2px 0; }
.product-tab-content.active { display: block; animation: tc-fade-in .35s var(--ease-out); }

@keyframes tc-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

.product-tab-content h3 {
    margin-bottom: 12px;
    font-size: 20px;
    color: var(--ink);
}

.product-tab-content p {
    max-width: 78ch;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.75;
}

.details-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
    max-width: 880px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.details-list li {
    display: flex;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14.5px;
    color: var(--text);
}

.details-list li strong {
    flex: 0 0 108px;
    color: var(--text-muted);
    font-weight: 600;
}

@media (max-width: 700px) {
    .details-list { grid-template-columns: minmax(0, 1fr); }
    .product-tab { padding: 12px 15px; font-size: 12.5px; }
}

/* ============================================================================
   ENTERPRISE POLISH — final design upgrades
   ========================================================================== */

/* --- Smooth page load animation ------------------------------------------- */
body {
    animation: tc-page-in .4s var(--ease-out);
}

@keyframes tc-page-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* --- Hero section: refined gradient and text shadow ------------------------ */
.hero-content h1 {
    text-shadow: 0 2px 20px rgba(26, 20, 22, .25);
}

.hero-content .hero-description {
    text-shadow: 0 1px 10px rgba(26, 20, 22, .15);
}

/* --- Section labels: animated underline ----------------------------------- */
.section-label {
    position: relative;
    display: inline-block;
}

.section-label::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: width .35s var(--ease-out);
}

.tc-reveal.is-visible .section-label::after {
    width: 24px;
}

/* --- Category cards: shimmer effect on hover ------------------------------ */
.category-card {
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(255, 255, 255, .12) 50%,
        transparent 70%
    );
    transform: translateX(-120%);
    transition: transform .7s var(--ease-out);
    z-index: 1;
    pointer-events: none;
}

.category-card:hover::before {
    transform: translateX(120%);
}

/* --- Product cards: refined shadow layers ---------------------------------- */
.product-card {
    background: #fff;
    border: 1px solid rgba(243, 239, 240, .6);
}

.product-card:hover {
    box-shadow:
        0 4px 8px rgba(38, 22, 26, .04),
        0 12px 24px rgba(38, 22, 26, .08),
        0 24px 48px rgba(38, 22, 26, .06);
}

/* --- Buttons: refined focus ring ------------------------------------------ */
.btn:focus-visible,
a.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px var(--primary-tint);
}

/* --- Review cards: subtle top border accent -------------------------------- */
.review-card {
    border-top: 3px solid var(--primary);
}

/* --- Footer: refined social links ----------------------------------------- */
.social-links a {
    transition: all .25s var(--ease), transform .25s var(--ease);
}

.social-links a:active {
    transform: scale(.94);
}

/* --- Newsletter: refined input focus --------------------------------------- */
.newsletter-form input:focus {
    outline: none;
}

.newsletter-form input:focus::placeholder {
    color: rgba(255, 255, 255, .45);
}

.newsletter-form button {
    position: relative;
}

.newsletter-form button::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, .35);
}

/* --- Gallery: subtle overlay on hover -------------------------------------- */
.gallery-grid {
    position: relative;
}

.gallery-grid img {
    border-radius: 4px;
    transition: transform .5s var(--ease-out), box-shadow .3s var(--ease);
}

.gallery-grid img:hover {
    box-shadow: 0 12px 32px rgba(38, 22, 26, .18);
}

/* --- Trust bar: refined icon backgrounds ----------------------------------- */
.trust-item i {
    background: linear-gradient(135deg, #fff 0%, var(--cream) 100%);
    box-shadow:
        0 2px 4px rgba(38, 22, 26, .06),
        inset 0 1px 0 rgba(255, 255, 255, .8);
}

/* --- Why section: hover lift on feature cards ------------------------------ */
.feature-card {
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out),
                border-color .3s var(--ease);
}

.feature-card:hover {
    border-color: transparent;
}

/* --- Scrollbar styling for a premium feel ---------------------------------- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* --- Selection color ------------------------------------------------------- */
::selection {
    background: var(--primary-tint);
    color: var(--primary-dark);
}

/* ============================================================================
   LUXE OVERLAY — final polish layer (appended last, wins the cascade)
   ----------------------------------------------------------------------------
   Glass header finish, cinematic hero, section ornaments, product-card shine,
   trust strip, newsletter panel and the back-to-top control. Everything here
   is additive: no class is renamed, so templates keep working unchanged.
   ========================================================================== */

/* ============================================================
   L1. ANNOUNCEMENT BAR — maroon gradient with a slow sheen
   ============================================================ */

.announcement-bar {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg,
        var(--primary-dark) 0%, var(--primary) 45%, var(--primary-light) 100%);
    padding: 9px 15px;
}

.announcement-bar p {
    color: #f6f0f2;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
}

/* Diagonal light sweep every 7s */
.announcement-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
        transparent 30%, rgba(255,255,255,.14) 50%, transparent 70%);
    transform: translateX(-120%);
    animation: tc-sheen 7s var(--ease) infinite;
    pointer-events: none;
}

@keyframes tc-sheen {
    0%, 55%  { transform: translateX(-120%); }
    85%, 100%{ transform: translateX(120%); }
}

/* ============================================================
   L2. HEADER — glass finish, gold hairline, confident type
   ============================================================ */

.site-header {
    background: rgba(255, 253, 250, .82);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
}

/* Gold-to-transparent hairline under the header */
.site-header::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg,
        transparent, rgba(90,20,36,.55) 30%,
        rgba(90,20,36,.55) 70%, transparent);
    opacity: 0;
    transition: opacity .3s var(--ease);
}

.site-header.is-stuck::after { opacity: 1; }

.site-header.is-stuck {
    background: rgba(255, 253, 250, .94);
    box-shadow: 0 10px 34px rgba(38, 22, 26, .10);
}

/* Brand mark: gentle lift and a warm glow */
.brand-logo img {
    transition: transform .35s var(--ease-out), filter .35s var(--ease-out);
    filter: drop-shadow(0 2px 6px rgba(38, 22, 26, .12));
}

.brand-logo:hover img {
    transform: scale(1.03);
    filter: drop-shadow(0 4px 12px rgba(38, 22, 26, .18));
}

/* Nav links: small-caps confidence, gold on hover/active */
.site-nav > a {
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text);
}

.site-nav > a::after {
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.site-nav > a:hover,
.site-nav > a.active { color: var(--primary); }

/* Count badges: deep maroon pill with a fine gold ring */
.nav-actions .cart-count,
.nav-actions .wishlist-count {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 0 0 1.5px rgba(242, 233, 235, .8);
    font-weight: 700;
}

/* ============================================================
   L3. HERO — cinematic entrance and Ken Burns drift
   ============================================================ */

.hero-section {
    position: relative;
    overflow: hidden;
    animation: tc-kenburns 26s var(--ease) infinite alternate;
    will-change: transform;
}

@keyframes tc-kenburns {
    from { transform: scale(1); }
    to   { transform: scale(1.07) translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-section { animation: none; }
}

/* Vignette so text always wins over the photograph */
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 90% at 50% 42%,
        transparent 55%, rgba(20, 8, 10, .38) 100%);
    pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }

.hero-content > * {
    opacity: 0;
    transform: translateY(24px);
    animation: tc-hero-in .9s var(--ease-out) forwards;
}

.hero-content .hero-eyebrow   { animation-delay: .15s; }
.hero-content h1              { animation-delay: .3s; }
.hero-content .hero-description { animation-delay: .45s; }
.hero-content .hero-buttons   { animation-delay: .6s; }

@keyframes tc-hero-in {
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content > * { opacity: 1; transform: none; animation: none; }
}

/* Primary button: light sweep on hover (hero scope keeps it safe) */
.hero-buttons .btn-primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-buttons .btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(115deg,
        transparent 32%, rgba(255,255,255,.28) 50%, transparent 68%);
    transform: translateX(-130%);
    transition: transform .7s var(--ease);
}

.hero-buttons .btn-primary:hover::after { transform: translateX(130%); }

/* Scroll cue */
.hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.85);
    font-size: 10px;
    letter-spacing: .3em;
    text-transform: uppercase;
    text-decoration: none;
}

.hero-scroll-cue span {
    display: block;
    width: 1px;
    height: 44px;
    background: linear-gradient(180deg, rgba(255,255,255,.9), transparent);
    animation: tc-cue 2.2s var(--ease) infinite;
    transform-origin: top;
}

@keyframes tc-cue {
    0%   { transform: scaleY(0); opacity: 0; }
    45%  { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(1) translateY(12px); opacity: 0; }
}

/* ============================================================
   L4. TRUST STRIP — the "enterprise" reassurance band
   ============================================================ */

.trust-strip {
    background: var(--cream);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 26px 0;
}

.trust-strip .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
}

.trust-item i {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    font-size: 17px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(90,20,36,.35);
}

.trust-item strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: .01em;
}

.trust-item span {
    display: block;
    font-size: 12px;
    color: var(--text-light);
}

@media (max-width: 900px) {
    .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
    .trust-item { justify-content: flex-start; }
}

@media (max-width: 520px) {
    .trust-strip .container { grid-template-columns: 1fr; }
}

/* ============================================================
   L5. SECTION HEADINGS — gold ornament
   ============================================================ */

.section-heading h2,
.section-top .section-heading h2 {
    position: relative;
    padding-bottom: 14px;
}

.section-heading h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), rgba(90,20,36,0));
}

.section-heading:not(.left) h2::after {
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg,
        rgba(90,20,36,0), var(--gold), rgba(90,20,36,0));
}

/* ============================================================
   L6. PRODUCT CARDS — lift, deeper image zoom, shine sweep
   ============================================================ */

.product-card {
    position: relative;
    overflow: hidden;
    transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-card .product-image img {
    transition: transform .8s var(--ease-out), filter .8s var(--ease-out);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
    filter: saturate(1.06);
}

/* Diagonal light sweep across the card image on hover */
.product-card .product-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
        transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%);
    transform: translateX(-130%);
    transition: transform .9s var(--ease);
    pointer-events: none;
}

.product-card:hover .product-image::after { transform: translateX(130%); }

/* ============================================================
   L7. REVIEWS & GALLERY
   ============================================================ */

.review-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out),
                border-color .4s var(--ease-out);
}

.review-card::before {
    content: "";
    position: absolute;
    top: 0; left: 24px; right: 24px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg,
        rgba(90,20,36,0), rgba(90,20,36,.7), rgba(90,20,36,0));
    opacity: 0;
    transition: opacity .4s var(--ease);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(90,20,36,.4);
}

.review-card:hover::before { opacity: 1; }

.gallery-grid img {
    transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out),
                filter .7s var(--ease-out);
}

.gallery-grid img:hover {
    transform: scale(1.045);
    box-shadow: var(--shadow-lg);
    filter: saturate(1.08);
}

/* ============================================================
   L8. NEWSLETTER — maroon panel with gold button
   ============================================================ */

.newsletter-section {
    background:
        radial-gradient(90% 140% at 85% 10%, rgba(90,20,36,.16) 0%, transparent 55%),
        linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
}

.newsletter-section .section-label { color: var(--gold-light); }

.newsletter-section h2,
.newsletter-content h2 { color: #fff; }

.newsletter-content p { color: rgba(255,255,255,.82); }

.newsletter-form input {
    background: rgba(255,255,255,.96) !important;
    border-color: transparent !important;
}

/* ============================================================
   L9. BACK TO TOP
   ============================================================ */

.tc-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 880;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(90,20,36,.45);
    background: rgba(255, 253, 250, .92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--primary);
    font-size: 15px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity .35s var(--ease), transform .35s var(--ease),
                box-shadow .35s var(--ease);
    box-shadow: var(--shadow-md);
}

.tc-top.is-on {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.tc-top:hover {
    box-shadow: var(--shadow-lg);
    color: var(--primary-dark);
}
