/* ================================================================
   Wedding Cup & Life — Main Stylesheet
   Design: clean simple · warm · balanced
   Approach: mobile-first responsive
   All colours/fonts from CSS custom properties (set inline by base.py)
   ================================================================ */

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-text);
    color: var(--color-text);
    background: var(--color-background);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-link); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-primary); }
ul, ol { list-style: none; }
button, input, select, textarea {
    font-family: inherit; font-size: inherit; color: inherit;
    border: none; outline: none; background: none;
}
button { cursor: pointer; }
address { font-style: normal; }
details summary { cursor: pointer; }
details summary::-webkit-details-marker { display: none; }
details summary::marker { display: none; content: ''; }

/* ── Layout Wrap ─────────────────────────────────────────────── */
.wc-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.wc-main { min-height: 55vh; padding-bottom: 2rem; }

/* ================================================================
   ANNOUNCEMENT TOP BAR
   ================================================================ */
.wc-topbar {
    background: var(--color-secondary);
    color: #fff;
    text-align: center;
    padding: .5rem 1rem;
    font-size: .8rem;
    letter-spacing: .02em;
}
.wc-topbar-msg { margin: 0; }

/* ================================================================
   HEADER
   ================================================================ */
.wc-header {
    background: var(--color-header-footer);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}
.wc-header-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 0;
    min-height: 58px;
}
.wc-header-row--compact { justify-content: center; }

/* Mobile hamburger */
.wc-mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
    z-index: 102;
}
.wc-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform .25s, opacity .25s;
}
.wc-mobile-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.wc-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.wc-mobile-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Brand / Logo */
.wc-brand-link {
    display: inline-flex;
    align-items: center;
    color: #fff;
    flex-shrink: 0;
}
.wc-brand-link:hover { color: #fff; opacity: .9; }
.wc-brand-img { height: auto; max-height: 44px; width: auto; }
.wc-brand-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -.01em;
    white-space: nowrap;
}

/* Header actions (cart, locale) */
.wc-header-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-left: auto;
}

/* Language / Locale Picker */
.wc-locale-picker { position: relative; }
.wc-locale-btn {
    display: flex;
    align-items: center;
    gap: .35rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 6px;
    padding: .35rem .6rem;
    color: #fff;
    font-size: .8rem;
    cursor: pointer;
    transition: background .2s;
}
.wc-locale-btn:hover { background: rgba(255,255,255,.18); }
.wc-locale-flag { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; }
.wc-locale-label { display: none; }
.wc-locale-arrow { transition: transform .2s; flex-shrink: 0; }
.wc-locale-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    min-width: 180px;
    overflow: hidden;
    z-index: 110;
}
.wc-locale-dropdown.open { display: block; }
.wc-locale-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem .9rem;
    color: var(--color-text);
    font-size: .85rem;
    transition: background .15s;
}
.wc-locale-item:hover { background: #f5f5f5; color: var(--color-text); }

/* Cart icon */
.wc-cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #fff;
    padding: 4px;
}
.wc-cart-link:hover { color: var(--color-accent); }
.wc-cart-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--color-primary);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
}

/* ================================================================
   GEO / COUNTRY REDIRECT BANNER (white popup, dark text)
   ================================================================ */
.country-banner {
    display: none;
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    width: calc(100% - 2rem);
    max-width: 440px;
}
.country-banner.show { display: block; }

.wc-geo-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    padding: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    color: #222;
}
.wc-geo-flag { width: 32px; height: 24px; border-radius: 3px; object-fit: cover; }
.wc-geo-msg {
    flex: 1;
    font-size: .9rem;
    color: #222;
    min-width: 140px;
    margin: 0;
}
.wc-geo-btns { display: flex; gap: .5rem; width: 100%; }
.wc-geo-confirm,
.wc-geo-dismiss {
    flex: 1;
    padding: .55rem 1rem;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    color: #222;
    transition: opacity .2s;
}
.wc-geo-confirm:hover,
.wc-geo-dismiss:hover { opacity: .85; }
.wc-geo-confirm { background: var(--color-primary); color: #fff; }
.wc-geo-dismiss { background: #eee; color: #333; }

/* ================================================================
   NAVIGATION (Mobile drawer + desktop inline)
   ================================================================ */
.wc-main-nav {
    background: var(--color-header-footer);
    border-top: 1px solid rgba(255,255,255,.08);
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    z-index: 101;
    overflow-y: auto;
    transition: left .3s ease;
    padding: 4.5rem 0 2rem;
}
.wc-main-nav.open { left: 0; }
.wc-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 99;
}
.wc-nav-backdrop.open { display: block; }

.wc-menu-link {
    display: block;
    padding: .75rem 1.5rem;
    color: rgba(255,255,255,.85);
    font-size: .9rem;
    transition: color .15s, background .15s;
}
.wc-menu-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.wc-menu-parent { display: flex; align-items: center; justify-content: space-between; }
.wc-menu-static { cursor: default; }
.wc-menu-chevron { margin-left: auto; transition: transform .2s; flex-shrink: 0; }
.wc-menu-group { position: relative; }
.wc-menu-sub {
    display: none;
    background: rgba(0,0,0,.15);
}
.wc-menu-group.open .wc-menu-sub { display: block; }
.wc-menu-group.open .wc-menu-chevron { transform: rotate(180deg); }
.wc-menu-sub-link {
    display: block;
    padding: .6rem 1.5rem .6rem 2.25rem;
    color: rgba(255,255,255,.7);
    font-size: .85rem;
    transition: color .15s, background .15s;
}
.wc-menu-sub-link:hover { color: #fff; background: rgba(255,255,255,.06); }

/* ================================================================
   SHARED UTILITIES
   ================================================================ */

/* Price group */
.wc-price-group { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.wc-price-original {
    text-decoration: line-through;
    color: #999;
    font-size: .82rem;
}
.wc-price-sale {
    font-weight: 700;
    font-size: .95rem;
    color: var(--color-primary);
}

/* Shared card (category tiles across pages) */
.wc-card {
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f6f4;
    color: var(--color-text);
    transition: transform .2s, box-shadow .2s;
}
.wc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
    color: var(--color-text);
}
.wc-card-media {
    aspect-ratio: var(--category-image-ratio);
    overflow: hidden;
    background: #ede9e4;
}
.wc-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.wc-card:hover .wc-card-media img { transform: scale(1.05); }
.wc-card-media--blank { background: linear-gradient(135deg, #ede9e4 0%, #d6cfc7 100%); }
.wc-card-name {
    display: block;
    padding: .6rem .75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .9rem;
    text-align: center;
    text-transform: capitalize;
}

/* Shared FAQ block */
.wc-faq-block { padding: 2rem 0; }
.wc-faq-heading {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}
.wc-faq-entry {
    border: 1px solid #e8e5e0;
    border-radius: 8px;
    margin-bottom: .5rem;
    overflow: hidden;
    transition: border-color .2s;
}
.wc-faq-entry[open] { border-color: var(--color-primary); }
.wc-faq-question {
    padding: .85rem 1rem;
    font-weight: 600;
    font-size: .92rem;
    color: var(--color-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    transition: background .15s;
}
.wc-faq-question:hover { background: #faf8f6; }
.wc-faq-question::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform .2s;
    flex-shrink: 0;
}
.wc-faq-entry[open] .wc-faq-question::after { content: '\2212'; }
.wc-faq-answer {
    padding: 0 1rem 1rem;
    font-size: .88rem;
    color: #555;
    line-height: 1.6;
}

/* Shipping table */
.wc-shipping-table-wrap { overflow-x: auto; margin-top: .75rem; }
.wc-shipping-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .82rem;
}
.wc-shipping-table th, .wc-shipping-table td {
    padding: .5rem .6rem;
    border: 1px solid #e0ddd8;
    text-align: left;
}
.wc-shipping-table th {
    background: #f7f5f2;
    font-weight: 600;
    color: var(--color-secondary);
}

/* ================================================================
   HOMEPAGE — PROOF STRIP
   ================================================================ */
.brd-proof-strip {
    background: #faf8f6;
    border-bottom: 1px solid #eae6e1;
    padding: .6rem 0;
}
.brd-proof-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    flex-wrap: wrap;
    font-size: .8rem;
    color: #666;
}
.brd-proof-item {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    white-space: nowrap;
}
.brd-proof-ico { color: var(--color-primary); flex-shrink: 0; }
.brd-proof-divider {
    width: 1px;
    height: 14px;
    background: #d4d0cb;
    display: none;
}

/* ================================================================
   HOMEPAGE — HERO SECTION
   ================================================================ */
.brd-hero {
    position: relative;
    background: linear-gradient(135deg, #faf8f6 0%, #f0ece6 100%);
    background-size: cover;
    background-position: center right;
    padding: 2.5rem 0;
    min-height: 320px;
    overflow: hidden;
}
.brd-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(250,248,246,.97) 35%, rgba(250,248,246,.45) 65%, rgba(250,248,246,.05) 100%);
    pointer-events: none;
}
.brd-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    max-width: 100%;
    pointer-events: auto;
}
.brd-hero-tag {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: .3rem .8rem;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .5rem;
}
.brd-hero-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-secondary);
    margin-bottom: .5rem;
}
.brd-hero-desc {
    font-size: 1rem;
    color: #555;
    line-height: 1.55;
    margin-bottom: 1rem;
    max-width: 520px;
}
.brd-hero-btns {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    justify-content: center;
}
.brd-btn {
    display: inline-block;
    padding: .75rem 1.8rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .95rem;
    text-align: center;
    transition: background .2s, color .2s, transform .15s, border-color .2s;
}
.brd-btn--fill {
    background: var(--color-primary);
    color: #fff;
    border: 2px solid var(--color-primary);
}
.brd-btn--fill:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #fff;
    transform: translateY(-1px);
}
.brd-btn--ghost {
    background: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}
.brd-btn--ghost:hover {
    background: var(--color-secondary);
    color: #fff;
    transform: translateY(-1px);
}
.brd-btn--lg { padding: .9rem 2.2rem; font-size: 1.05rem; }
.brd-hero-urgency {
    font-size: .82rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-top: .5rem;
}

/* ================================================================
   HOMEPAGE — COLLECTIONS / BROWSE SECTION
   ================================================================ */
.brd-collections { padding: 2.5rem 0; }
.brd-sec-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    gap: 1rem;
}
.brd-sec-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-secondary);
}
.brd-sec-title--centered { text-align: center; display: block; }
.brd-sec-link {
    font-size: .88rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--color-primary);
}
.brd-sec-link:hover { text-decoration: underline; }
.brd-cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
}

/* ================================================================
   HOMEPAGE — BENEFITS / WHY CHOOSE US
   ================================================================ */
.brd-benefits { padding: 2.5rem 0; background: #faf8f6; }
.brd-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
}
.brd-benefit-card {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    background: #fff;
    transition: box-shadow .2s;
}
.brd-benefit-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.brd-benefit-icon { color: var(--color-primary); margin-bottom: .75rem; }
.brd-benefit-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: .4rem;
}
.brd-benefit-desc { font-size: .9rem; color: #666; line-height: 1.5; }

/* ================================================================
   HOMEPAGE — REVIEWS / TESTIMONIALS
   ================================================================ */
.brd-reviews { padding: 2.5rem 0; }
.brd-reviews-meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.brd-reviews-stars { color: var(--color-accent); font-size: 1rem; letter-spacing: 2px; }
.brd-reviews-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .75rem;
}
.brd-review-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #eae6e1;
    border-radius: 12px;
    padding: 1.25rem;
    transition: box-shadow .2s;
}
.brd-review-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.07); }
.brd-review-stars {
    color: var(--color-accent);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: .5rem;
}
.brd-review-quote {
    font-size: .9rem;
    color: #444;
    line-height: 1.55;
    margin-bottom: .75rem;
    font-style: italic;
}
.brd-review-footer {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    font-size: .8rem;
}
.brd-review-name {
    font-weight: 600;
    color: var(--color-secondary);
}
.brd-review-badge {
    color: #2a9d3e;
    font-size: .75rem;
}

/* ================================================================
   HOMEPAGE — TRUST BAR
   ================================================================ */
.brd-trust-bar {
    background: var(--color-secondary);
    color: #fff;
    padding: .75rem 0;
}
.brd-trust-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .75rem 1.5rem;
    font-size: .82rem;
}
.brd-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 500;
}
.brd-trust-svg { flex-shrink: 0; }

/* ================================================================
   HOMEPAGE — BRAND STORY
   ================================================================ */
.brd-story { padding: 2.5rem 0; background: #faf8f6; }
.brd-story-split {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}
.brd-story-copy { max-width: 560px; }
.brd-story-heading {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .6rem;
}
.brd-story-body { font-size: .95rem; color: #555; line-height: 1.65; }
.brd-story-promise {
    margin-top: 1rem;
    font-size: .88rem;
    color: var(--color-primary);
    font-weight: 600;
}
.brd-story-numbers {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.brd-stat { text-align: center; }
.brd-stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}
.brd-stat-lbl { font-size: .78rem; color: #888; }
.brd-story-img { width: 100%; max-width: 480px; }
.brd-story-img img { border-radius: 12px; width: 100%; height: auto; }

/* ================================================================
   HOMEPAGE — FAQ BLOCK (extends shared wc-faq)
   ================================================================ */
.brd-faq-block { padding: 2.5rem 0; }
.brd-faq-heading {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    text-align: center;
}

/* ================================================================
   HOMEPAGE — FINAL CTA
   ================================================================ */
.brd-final-cta {
    background: var(--color-primary);
    color: #fff;
    padding: 2.5rem 0;
    text-align: center;
}
.brd-final-cta-content { max-width: 560px; margin: 0 auto; }
.brd-final-cta-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: .5rem;
}
.brd-final-cta-desc {
    font-size: .95rem;
    opacity: .92;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}
.brd-final-cta .brd-btn--ghost {
    border-color: #fff;
    color: #fff;
}
.brd-final-cta .brd-btn--ghost:hover {
    background: #fff;
    color: var(--color-primary);
}

/* ================================================================
   CATEGORY PAGE — BREADCRUMBS
   ================================================================ */
.bp-crumbs { padding: .75rem 0; }
.bp-crumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem;
    font-size: .82rem;
    color: #888;
}
.bp-crumbs__item a { color: #888; }
.bp-crumbs__item a:hover { color: var(--color-primary); }
.bp-crumbs__item--active { color: var(--color-secondary); font-weight: 500; }

/* ================================================================
   CATEGORY PAGE — HERO LAYOUTS
   ================================================================ */
.bp-hero-split {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0;
}
.bp-hero-split__media { max-width: 100%; }
.bp-hero-split__media img { border-radius: 10px; width: 100%; height: auto; }
.bp-hero-split__text { flex: 1; }
.bp-hero-split__heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .4rem;
}
.bp-hero-split__desc { font-size: .92rem; color: #555; line-height: 1.55; }
.bp-hero-split__badges,
.bp-hero-flat__badges {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .75rem;
}
.bp-badge {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .3rem .65rem;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 500;
    background: #f0ece6;
    color: #555;
}
.bp-badge--warm {
    background: rgba(255,107,53,.08);
    color: var(--color-primary);
}

/* Flat hero (no image) */
.bp-hero-flat { padding: 1.5rem 0; }
.bp-hero-flat__heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .4rem;
}
.bp-hero-flat__desc { font-size: .92rem; color: #555; line-height: 1.55; }

/* ================================================================
   CATEGORY PAGE — COLLECTION HEADER
   ================================================================ */
.bp-collection-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .75rem;
}
.bp-collection-header__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-secondary);
}
.bp-collection-header__count { font-size: .82rem; color: #999; }

/* Tile grid for subcategories on category pages */
.bp-tile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
}
.bp-tile-grid--two-col { grid-template-columns: repeat(2, 1fr); }

/* ================================================================
   CATEGORY PAGE — SUBCATEGORIES
   ================================================================ */
.bp-sub-cats { padding: 1.5rem 0; }
.bp-sub-cats__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}
.bp-sub-cats__row {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .5rem;
}
.bp-sub-card {
    flex: 0 0 160px;
    scroll-snap-align: start;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f6f4;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
    color: var(--color-text);
}
.bp-sub-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
    color: var(--color-text);
}
.bp-sub-card__img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}
.bp-sub-card__name {
    padding: .5rem .4rem;
    font-family: var(--font-heading);
    font-size: .82rem;
    font-weight: 600;
    color: var(--color-secondary);
}
.bp-sub-card--text {
    padding: .75rem .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    background: linear-gradient(135deg, #ede9e4 0%, #d6cfc7 100%);
}

/* ================================================================
   CATEGORY PAGE — PRODUCT LISTING
   ================================================================ */
.bp-product-listing { padding: 1.5rem 0; }
.bp-product-listing__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: .75rem;
}
.bp-product-listing__count { font-size: .82rem; color: #999; }
.bp-product-listing__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
}

/* Dress card (product tile in category) */
.bp-dress-card {
    background: #fff;
    border: 1px solid #eae6e1;
    border-radius: 10px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.bp-dress-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.bp-dress-card__link {
    display: block;
    color: var(--color-text);
}
.bp-dress-card__link:hover { color: var(--color-text); }
.bp-dress-card__image-wrap {
    position: relative;
    aspect-ratio: var(--image-ratio);
    overflow: hidden;
    background: #f5f2ef;
}
.bp-dress-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.bp-dress-card:hover .bp-dress-card__img { transform: scale(1.04); }
.bp-dress-card__tag {
    position: absolute;
    top: .5rem;
    left: .5rem;
    display: inline-block;
    padding: .2rem .5rem;
    background: var(--color-primary);
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    border-radius: 4px;
    z-index: 1;
}
.bp-dress-card__body { padding: .75rem; }
.bp-dress-card__title {
    font-family: var(--font-heading);
    font-size: .88rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: .25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bp-dress-card__snippet {
    font-size: .78rem;
    color: #777;
    line-height: 1.4;
    margin-bottom: .35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bp-dress-card__stars {
    color: var(--color-accent);
    font-size: .85rem;
    letter-spacing: 1px;
    margin-bottom: .25rem;
}
.bp-dress-card__sold {
    font-size: .75rem;
    color: #888;
    margin-bottom: .25rem;
}
.bp-dress-card__shipping {
    font-size: .75rem;
    color: #2a9d3e;
    font-weight: 500;
    margin-bottom: .35rem;
}
.bp-dress-card__cta {
    display: inline-block;
    padding: .4rem .8rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 600;
    transition: background .2s;
    margin-top: .25rem;
}
.bp-dress-card__cta:hover { background: var(--color-secondary); color: #fff; }

/* ================================================================
   CATEGORY PAGE — ASSURANCE BAR
   ================================================================ */
.bp-assurance-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid #eae6e1;
    border-bottom: 1px solid #eae6e1;
}
.bp-assurance-bar__item {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .82rem;
    color: #555;
}
.bp-assurance-bar__icon { width: 18px; height: 18px; color: var(--color-primary); flex-shrink: 0; }

/* ================================================================
   CATEGORY PAGE — RELATED CATEGORIES
   ================================================================ */
.bp-related-cats { padding: 1.5rem 0; }
.bp-related-cats__heading {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .75rem;
}
.bp-related-cats__list {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}
.bp-related-cats__link {
    display: inline-block;
    padding: .35rem .75rem;
    background: #f0ece6;
    border-radius: 20px;
    font-size: .82rem;
    color: var(--color-secondary);
    transition: background .2s, color .2s;
}
.bp-related-cats__link:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ================================================================
   PRODUCT DETAIL — BREADCRUMBS
   ================================================================ */
.wd-breadcrumbs {
    padding: .75rem 0;
    font-size: .82rem;
    color: #888;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem;
}
.wd-breadcrumbs a { color: #888; }
.wd-breadcrumbs a:hover { color: var(--color-primary); }
.wd-bc-divider { color: #ccc; margin: 0 .1rem; }

/* ================================================================
   PRODUCT DETAIL — URGENCY STRIP
   ================================================================ */
.wd-urgency-strip {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .5rem 0;
    font-size: .82rem;
    flex-wrap: wrap;
}
.wd-urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: var(--color-primary);
    color: #fff;
    padding: .25rem .6rem;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
}
.wd-urgency-viewers { color: #888; font-size: .8rem; }
#wd-viewer-count { font-weight: 600; color: var(--color-secondary); }

/* ================================================================
   PRODUCT DETAIL — LAYOUT
   ================================================================ */
.wd-product-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
}
.wd-product-media-col { width: 100%; }
.wd-product-info-col { width: 100%; }

/* Gallery */
.wd-gallery { position: relative; display: flex; flex-direction: column-reverse; gap: .6rem; }
.wd-gallery-main {
    border-radius: 10px;
    overflow: hidden;
    background: #f5f2ef;
}
.wd-hero-img {
    width: 100%;
    height: auto;
    display: block;
}
.wd-thumb-rail {
    display: flex;
    gap: .4rem;
    overflow-x: auto;
    padding-bottom: .25rem;
}
.wd-thumb {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .2s, opacity .2s;
    opacity: .7;
}
.wd-thumb:hover { opacity: 1; }
.wd-thumb--selected {
    border-color: var(--color-primary);
    opacity: 1;
}

/* Product badges */
.wd-product-badges {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
    margin-bottom: .5rem;
}
.wd-badge-trending,
.wd-badge-custom {
    display: inline-block;
    padding: .25rem .6rem;
    border-radius: 4px;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.wd-badge-trending { background: var(--color-accent); color: var(--color-secondary); }
.wd-badge-custom { background: #f0ece6; color: var(--color-secondary); }

/* Title */
.wd-product-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.25;
    margin-bottom: .5rem;
}

/* Rating */
.wd-rating-block {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: .5rem;
}
.wd-stars { color: var(--color-accent); font-size: .95rem; letter-spacing: 1px; }
.wd-rating-text { font-size: .82rem; color: #888; }
.wd-sold-count { font-size: .78rem; color: #888; }

/* Price */
.wd-price-block { margin-bottom: .75rem; }
.wd-price-block .wc-price-sale { font-size: 1.4rem; }
.wd-price-block .wc-price-original { font-size: .95rem; }

/* Short desc */
.wd-short-desc {
    font-size: .92rem;
    color: #555;
    line-height: 1.55;
    margin-bottom: .75rem;
}

/* Availability */
.wd-availability-row {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    margin-bottom: .75rem;
}
.wd-stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2a9d3e;
    flex-shrink: 0;
}

/* Product details / specs */
.wd-details-block { margin-bottom: 1rem; }
.wd-section-label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: .35rem;
}
.wd-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}
.wd-detail-pill {
    display: inline-block;
    padding: .3rem .65rem;
    background: #f0ece6;
    border-radius: 6px;
    font-size: .78rem;
    color: #555;
}

/* ================================================================
   PRODUCT DETAIL — MEASUREMENT FORM
   ================================================================ */
.wd-measurement-block {
    background: #faf8f6;
    border: 1px solid #eae6e1;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}
.wd-meas-heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .75rem;
}
.wd-meas-unit-toggle {
    display: flex;
    gap: 0;
    margin-bottom: .75rem;
    border: 1px solid #ddd8d2;
    border-radius: 6px;
    overflow: hidden;
    width: fit-content;
}
.wd-unit-btn {
    padding: .4rem .8rem;
    font-size: .8rem;
    font-weight: 600;
    background: #fff;
    color: #666;
    cursor: pointer;
    transition: background .2s, color .2s;
    border: none;
}
.wd-unit-btn--active {
    background: var(--color-primary);
    color: #fff;
}
.wd-meas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .6rem;
}
.wd-meas-field { display: flex; flex-direction: column; gap: .25rem; }
.wd-meas-label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--color-secondary);
}
.wd-meas-input-wrap {
    display: flex;
    align-items: center;
    border: 2px solid #e0ddd8;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    transition: border-color .2s;
}
.wd-meas-input-wrap:focus-within { border-color: var(--color-primary); }
.wd-meas-input {
    flex: 1;
    padding: .5rem .65rem;
    border: none;
    background: transparent;
    font-size: .88rem;
}
.wd-meas-unit {
    padding: .5rem .6rem;
    background: #f5f2ef;
    font-size: .78rem;
    color: #888;
    font-weight: 500;
}
.wd-size-guide-trigger {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .82rem;
    color: var(--color-primary);
    font-weight: 600;
    cursor: pointer;
    margin-top: .5rem;
    background: none;
    border: none;
    transition: color .2s;
}
.wd-size-guide-trigger:hover { color: var(--color-secondary); }

/* Size guide modal */
.wd-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 250;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.wd-modal-overlay:not([hidden]) { display: flex; }
.wd-modal-panel {
    background: #fff;
    border-radius: 12px;
    max-width: 520px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 1.5rem;
}
.wd-modal-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.wd-modal-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-secondary);
}
.wd-modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0ece6;
    cursor: pointer;
    transition: background .2s;
}
.wd-modal-close:hover { background: #e0dbd4; }
.wd-guide-intro { font-size: .88rem; color: #555; line-height: 1.6; margin-bottom: 1rem; }
.wd-guide-list { display: flex; flex-direction: column; gap: .75rem; }
.wd-guide-item { border-bottom: 1px solid #eae6e1; padding-bottom: .75rem; }
.wd-guide-item:last-child { border-bottom: none; }
.wd-guide-term {
    font-weight: 600;
    font-size: .88rem;
    color: var(--color-secondary);
    margin-bottom: .2rem;
}
.wd-guide-def { font-size: .84rem; color: #666; line-height: 1.5; }

/* ================================================================
   PRODUCT DETAIL — ADD TO CART
   ================================================================ */
.wd-atc-btn {
    width: 100%;
    padding: .85rem 1.5rem;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background .2s, transform .12s;
    margin-bottom: .5rem;
}
.wd-atc-btn:hover { background: var(--color-secondary); transform: translateY(-1px); }
.wd-atc-btn:active { transform: translateY(0); }
.wd-atc-feedback {
    text-align: center;
    font-size: .85rem;
    color: #2a9d3e;
    font-weight: 600;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity .3s, max-height .3s;
}
.wd-atc-feedback.show { opacity: 1; max-height: 40px; padding: .35rem 0; }

/* Promise / perks row */
.wd-promise-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: .75rem 0;
}
.wd-promise-item {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .78rem;
    color: #555;
}
.wd-promise-item svg { color: var(--color-primary); flex-shrink: 0; }

/* Trust banner */
.wd-trust-banner {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}
.wd-trust-item {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .3rem .6rem;
    background: #f0ece6;
    border-radius: 20px;
    font-size: .75rem;
    color: #555;
}
.wd-trust-item svg { flex-shrink: 0; }

/* ================================================================
   PRODUCT DETAIL — DESCRIPTION
   ================================================================ */
.wd-description-section { padding: 1.5rem 0; border-top: 1px solid #eae6e1; }
.wd-desc-heading {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .75rem;
}
.wd-rich-text {
    font-size: .92rem;
    color: #555;
    line-height: 1.65;
}
.wd-rich-text p { margin-bottom: .75rem; }
.wd-rich-text ul { list-style: disc; padding-left: 1.5rem; margin: .75rem 0; }
.wd-rich-text li { margin-bottom: .35rem; }

/* ================================================================
   PRODUCT DETAIL — LIFESTYLE SECTIONS
   ================================================================ */
.wd-lifestyle-section { padding: 1.5rem 0; }
.wd-lifestyle-row {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.wd-lifestyle--media-start { flex-direction: column; }
.wd-lifestyle--media-end { flex-direction: column; }
.wd-lifestyle-visual { width: 100%; }
.wd-lifestyle-img {
    border-radius: 10px;
    width: 100%;
    height: auto;
}
.wd-lifestyle-copy { flex: 1; }

/* ================================================================
   PRODUCT DETAIL — RELATED / EXPLORE
   ================================================================ */
.wd-related-section { padding: 1.5rem 0; }
.wd-section-heading {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}
.wd-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
}
.wd-related-card {
    display: block;
    background: #fff;
    border: 1px solid #eae6e1;
    border-radius: 10px;
    overflow: hidden;
    color: var(--color-text);
    transition: transform .2s, box-shadow .2s;
}
.wd-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    color: var(--color-text);
}
.wd-related-img-wrap {
    aspect-ratio: var(--image-ratio);
    overflow: hidden;
    background: #f5f2ef;
}
.wd-related-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.wd-related-card:hover .wd-related-img-wrap img { transform: scale(1.04); }
.wd-related-info { padding: .65rem; }
.wd-related-name {
    font-family: var(--font-heading);
    font-size: .85rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: .2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.wd-related-price {
    font-weight: 700;
    font-size: .9rem;
    color: var(--color-primary);
}

/* Subcategories & explore on PDP */
.wd-subcats-section { padding: 1.5rem 0; border-top: 1px solid #eae6e1; }
.wd-subcats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
}
.wd-explore-section { padding: 1.5rem 0; }
.wd-explore-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.ct-wrap { padding: 1rem 0; }
.ct-trail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem;
    font-size: .82rem;
    color: #888;
    padding: .5rem 0;
}
.ct-trail a { color: #888; }
.ct-trail a:hover { color: var(--color-primary); }
.ct-trail-divider { color: #ccc; }
.ct-banner { text-align: center; padding: 1.5rem 0; }
.ct-banner-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .4rem;
}
.ct-banner-desc { font-size: .95rem; color: #666; max-width: 520px; margin: 0 auto; }

/* Contact methods / tiles */
.ct-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    padding: 1.5rem 0;
}
.ct-tile {
    display: flex;
    gap: .75rem;
    padding: 1rem;
    background: #faf8f6;
    border-radius: 10px;
    transition: box-shadow .2s;
}
.ct-tile:hover { box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.ct-tile-icon { color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }
.ct-tile-heading {
    font-weight: 600;
    font-size: .9rem;
    color: var(--color-secondary);
    margin-bottom: .25rem;
}
.ct-tile-body { font-size: .85rem; color: #666; margin-bottom: .25rem; }
.ct-tile-action { font-size: .85rem; font-weight: 500; color: var(--color-primary); }
.ct-tile-action:hover { text-decoration: underline; }
.ct-tile-addr {
    font-size: .82rem;
    color: #666;
    line-height: 1.5;
}

/* Contact form */
.ct-form-section { padding: 1.5rem 0; }
.ct-form-box {
    max-width: 600px;
}
.ct-form-box-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}
.ct-input-group { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .75rem; }
.ct-input-label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--color-secondary);
}
.ct-input-hint { font-weight: 400; color: #999; }
.ct-input-field {
    padding: .6rem .75rem;
    border: 2px solid #e0ddd8;
    border-radius: 8px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    font-size: .9rem;
}
.ct-input-field:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255,107,53,.08);
}
.ct-textarea { resize: vertical; min-height: 110px; }
.ct-submit-btn {
    padding: .75rem 2rem;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: background .2s;
}
.ct-submit-btn:hover { background: var(--color-secondary); }
.ct-form-result {
    font-size: .85rem;
    color: #2a9d3e;
    font-weight: 500;
    min-height: 1.2em;
    margin-top: .5rem;
    display: none;
}
.ct-form-result.show { display: block; }

/* Trust / promise section */
.ct-trust-panel { padding: 1.5rem 0; border-top: 1px solid #eae6e1; }
.ct-promise-card {
    padding: 1rem;
    background: #faf8f6;
    border-radius: 10px;
    margin-bottom: .75rem;
}
.ct-promise-heading {
    font-weight: 600;
    font-size: .9rem;
    color: var(--color-secondary);
    margin-bottom: .35rem;
}
.ct-promise-body { font-size: .85rem; color: #666; line-height: 1.5; }
.ct-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1rem;
}
.ct-badge-row {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    color: #555;
}
.ct-badge-icon { color: var(--color-primary); flex-shrink: 0; }

/* ================================================================
   ORDER TRACKING PAGE
   ================================================================ */
.ot-wrap { padding: 1rem 0; }
.ot-crumb {
    padding: .75rem 0;
    font-size: .82rem;
    color: #888;
}
.ot-crumb a { color: #888; }
.ot-crumb a:hover { color: var(--color-primary); }
.ot-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem 0;
}
.ot-main-heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .4rem;
}
.ot-intro { font-size: .92rem; color: #666; margin-bottom: 1rem; }
.ot-custom-notice {
    background: #faf8f6;
    border: 1px solid #eae6e1;
    border-radius: 8px;
    padding: .75rem 1rem;
    font-size: .85rem;
    color: #555;
    margin-bottom: 1rem;
}
.ot-panel {
    background: #faf8f6;
    border-radius: 10px;
    padding: 1.25rem;
}
.ot-field-group { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .75rem; }
.ot-field-label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--color-secondary);
}
.ot-field-input {
    padding: .6rem .75rem;
    border: 2px solid #e0ddd8;
    border-radius: 8px;
    background: #fff;
    transition: border-color .2s;
    font-size: .9rem;
}
.ot-field-input:focus { border-color: var(--color-primary); }
.ot-submit-btn {
    padding: .75rem 1.5rem;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.ot-submit-btn:hover { background: var(--color-secondary); }
.ot-secure-note {
    font-size: .78rem;
    color: #999;
    margin-top: .5rem;
}
.ot-error-box {
    background: #fef2f2;
    color: #dc3545;
    padding: .75rem 1rem;
    border-radius: 8px;
    font-size: .85rem;
    margin-top: .5rem;
    display: none;
}
.ot-error-box.show { display: block; }

/* Sidebar */
.ot-sidebar {}
.ot-tips-card {
    background: #faf8f6;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}
.ot-tips-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .75rem;
}
.ot-tips-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.ot-tip-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    margin-right: .4rem;
    flex-shrink: 0;
}
.ot-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1rem;
}
.ot-trust-item {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .78rem;
    color: #555;
}
.ot-help-row {
    margin-top: 1rem;
    font-size: .85rem;
}
.ot-help-row a { color: var(--color-primary); font-weight: 600; }
.ot-help-row a:hover { text-decoration: underline; }

/* ================================================================
   404 PAGE
   ================================================================ */
.nf-wrap { padding: 1rem 0; }
.nf-banner {
    text-align: center;
    padding: 3rem 0 2rem;
}
.nf-code {
    display: block;
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    color: var(--color-primary);
    opacity: .25;
    line-height: 1;
    margin-bottom: .5rem;
}
.nf-heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .5rem;
}
.nf-desc { font-size: .95rem; color: #666; margin-bottom: 1.25rem; }
.nf-home-btn {
    display: inline-block;
    padding: .65rem 2rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    transition: background .2s;
}
.nf-home-btn:hover { background: var(--color-secondary); color: #fff; }

/* 404 search */
.nf-search-area { max-width: 460px; margin: 0 auto; padding: 1.5rem 0; }
.nf-search-label {
    font-size: .88rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: .5rem;
    display: block;
}
.nf-search-row { display: flex; gap: .5rem; }
.nf-search-input {
    flex: 1;
    padding: .6rem .75rem;
    border: 2px solid #e0ddd8;
    border-radius: 8px;
    background: #fff;
    font-size: .9rem;
    transition: border-color .2s;
}
.nf-search-input:focus { border-color: var(--color-primary); }
.nf-search-submit {
    padding: .6rem 1.25rem;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.nf-search-submit:hover { background: var(--color-secondary); }

/* 404 browse sections */
.nf-help { padding: 1rem 0; }
.nf-help-text { font-size: .9rem; color: #666; margin-bottom: 1rem; }
.nf-cats-section { padding: 1rem 0; }
.nf-cats-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .75rem;
}
.nf-cats-strip {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .5rem;
}
.nf-popular-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .75rem;
}

/* ================================================================
   STATIC PAGES
   ================================================================ */
.sp-trail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem;
    padding: .75rem 0;
    font-size: .82rem;
    color: #888;
}
.sp-trail a { color: #888; }
.sp-trail a:hover { color: var(--color-primary); }
.sp-trail-divider { color: #ccc; }
.sp-wrapper { padding: 1rem 0 2rem; }
.sp-heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .25rem;
}
.sp-accent-rule {
    width: 48px;
    height: 3px;
    background: var(--color-primary);
    border: none;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}
.sp-content {
    font-size: .95rem;
    color: #444;
    line-height: 1.7;
}
.sp-content h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 1.5rem 0 .5rem;
}
.sp-content h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 1.2rem 0 .4rem;
}
.sp-content p { margin-bottom: .75rem; }
.sp-content ul, .sp-content ol { margin: .75rem 0; padding-left: 1.5rem; }
.sp-content ul { list-style: disc; }
.sp-content ol { list-style: decimal; }
.sp-content li { margin-bottom: .35rem; }
.sp-content a { text-decoration: underline; }
.sp-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}
.sp-content th, .sp-content td {
    padding: .5rem .75rem;
    border: 1px solid #e0ddd8;
    text-align: left;
    font-size: .88rem;
}
.sp-content th { background: #f7f5f2; font-weight: 600; }

/* Static page aside strip */
.sp-aside-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid #eae6e1;
}
.sp-aside-block {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    color: #555;
}
.sp-aside-icon { color: var(--color-primary); flex-shrink: 0; }
.sp-aside-label { font-weight: 600; }
.sp-aside-value { color: #888; }

/* ================================================================
   CAR SELECTOR PAGE (kept for compatibility)
   ================================================================ */
.vs-crumbs {
    padding: .75rem 0;
    font-size: .82rem;
    color: #888;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem;
}
.vs-crumbs a { color: #888; }
.vs-crumbs a:hover { color: var(--color-primary); }
.vs-crumbs-sep { color: #ccc; margin: 0 .1rem; }
.vs-selector-page { padding: 1rem 0; }
.vs-selector-hero { text-align: center; padding: 1.5rem 0; }
.vs-selector-heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
}
.vs-selector-makes { padding: 1rem 0; }
.vs-section-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}
.vs-tile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
}

/* ================================================================
   CART PAGE
   ================================================================ */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}
.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #faf8f6;
    border-radius: 8px;
    border: 1px solid #eae6e1;
    align-items: center;
}
.cart-item-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}
.cart-item-details { flex: 1; }
.cart-item-details h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.cart-item-attr {
    font-size: .85rem;
    color: #777;
    margin-bottom: 4px;
}
.cart-item-price {
    font-weight: 600;
    color: var(--color-accent);
}
.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd8d2;
    border-radius: 6px;
    overflow: hidden;
}
.qty-btn {
    background: #f0ece6;
    border: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.qty-btn:hover { background: #e0dbd4; }
.qty-value {
    width: 36px;
    text-align: center;
    font-weight: 600;
    font-size: .95rem;
}
.cart-item-line-total {
    font-weight: bold;
    font-size: 1rem;
    color: var(--color-secondary);
}
.cart-remove-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: .85rem;
    text-decoration: underline;
}
.cart-remove-btn:hover { color: #c0392b; }
.cart-summary {
    background: #faf8f6;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #eae6e1;
    max-width: 400px;
    margin-left: auto;
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 1rem;
}
.cart-total-row {
    border-top: 2px solid #ddd8d2;
    padding-top: 12px;
    margin-top: 8px;
    font-size: 1.15rem;
}
.cart-discount-row {
    color: var(--color-accent);
    font-weight: 600;
}
.cart-empty {
    text-align: center;
    padding: 3rem;
    color: #999;
    font-size: 1.1rem;
}
.cart-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 0;
}
.breadcrumb {
    padding: .75rem 0;
    font-size: .82rem;
    color: #888;
}
.breadcrumb a { color: #888; }
.breadcrumb a:hover { color: var(--color-primary); }
#cart-container {
    min-height: 120px;
    margin-bottom: 1.5rem;
}

/* Shared button styles */
.btn {
    display: inline-block;
    padding: .65rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: .9rem;
    text-align: center;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}
.btn-secondary {
    background: var(--color-secondary);
    color: #fff;
    border: none;
}
.btn-secondary:hover { opacity: .88; }
.btn-outline {
    background: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}
.btn-outline:hover {
    background: var(--color-secondary);
    color: #fff;
}

/* ================================================================
   CHECKOUT PAGE
   ================================================================ */
.checkout-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem 0;
}
.checkout-form-section { flex: 1; }
.checkout-summary-section {
    background: #f7f5f2;
    border-radius: 10px;
    padding: 1.25rem;
}
.checkout-form-section h2, .checkout-summary-section h2 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: .75rem;
}
.checkout-form { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.5rem; }
.form-row { display: flex; gap: .75rem; }
.form-row-half { flex-direction: column; }
.form-group { display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.form-group label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--color-secondary);
}
.form-input {
    padding: .6rem .75rem;
    border: 2px solid #e0ddd8;
    border-radius: 8px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255,107,53,.08);
}
.checkout-discount-row {
    color: var(--color-accent);
    font-weight: 600;
}
.checkout-grand-total {
    border-top: 2px solid #ddd8d2;
    padding-top: 10px;
    margin-top: 6px;
    font-size: 1.1rem;
}
.payment-info-text { font-size: .88rem; color: #666; margin-bottom: 1rem; }
.payment-methods-selection {
    display: flex;
    gap: .75rem;
    margin-bottom: 1rem;
}
.btn-payment {
    flex: 1;
    padding: .75rem 1rem;
    border: 2px solid #e0ddd8;
    border-radius: 8px;
    background: #fff;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    text-align: center;
}
.btn-payment:hover, .btn-payment.active {
    border-color: var(--color-primary);
    background: rgba(255,107,53,.04);
}
.payment-icon-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
}
.selected-payment-label {
    font-size: .85rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: .75rem;
}
.btn-checkout {
    width: 100%;
    padding: .85rem 1.5rem;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background .2s;
}
.btn-checkout:hover { background: var(--color-secondary); }
.checkout-feedback {
    font-size: .85rem;
    color: #2a9d3e;
    min-height: 1.2em;
    margin-top: .5rem;
}
.checkout-loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 300;
    gap: 1rem;
}
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e0ddd8;
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: wc-spin .7s linear infinite;
}
@keyframes wc-spin { to { transform: rotate(360deg); } }
.checkout-loading-overlay p {
    font-size: .95rem;
    color: var(--color-secondary);
    font-weight: 500;
}
.checkout-error {
    background: #fef2f2;
    color: #dc3545;
    padding: .75rem 1rem;
    border-radius: 8px;
    font-size: .85rem;
    margin-top: .75rem;
}
#checkout-summary-container {
    font-size: .88rem;
    line-height: 1.5;
}

/* ================================================================
   FOOTER
   ================================================================ */
.wc-footer {
    background: var(--color-header-footer);
    color: rgba(255,255,255,.8);
    padding: 2.5rem 0 0;
    margin-top: 2rem;
}
.wc-footer a { color: rgba(255,255,255,.7); }
.wc-footer a:hover { color: #fff; }
.wc-footer-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}
.wc-footer-col {}
.wc-footer-about {}
.wc-footer-brand-link { display: inline-block; margin-bottom: .75rem; }
.wc-footer-logo { max-height: 40px; width: auto; opacity: .9; }
.wc-footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}
.wc-footer-address {
    font-size: .82rem;
    line-height: 1.5;
    margin-bottom: .5rem;
    opacity: .7;
}
.wc-footer-contact-links {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    font-size: .82rem;
    margin-bottom: .4rem;
}
.wc-footer-hours { font-size: .78rem; opacity: .6; }
.wc-footer-social {
    display: flex;
    gap: .5rem;
    margin-top: .75rem;
}
.wc-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    transition: background .2s;
}
.wc-social-icon:hover { background: rgba(255,255,255,.2); }
.wc-social-icon svg { width: 16px; height: 16px; }
.wc-footer-nav {}
.wc-footer-title {
    font-family: var(--font-heading);
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .6rem;
}
.wc-footer-links li { margin-bottom: .4rem; }
.wc-footer-links a { font-size: .84rem; }
.wc-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1rem 0;
    font-size: .75rem;
    opacity: .6;
    text-align: center;
}

/* ================================================================
   RESPONSIVE — TABLET (>= 600px)
   ================================================================ */
@media (min-width: 600px) {
    .wc-locale-label { display: inline; }
    .brd-proof-divider { display: block; }

    /* Category grids */
    .brd-cat-grid { grid-template-columns: repeat(3, 1fr); }
    .bp-tile-grid { grid-template-columns: repeat(3, 1fr); }
    .vs-tile-grid { grid-template-columns: repeat(3, 1fr); }

    /* Benefits */
    .brd-benefits-grid { grid-template-columns: repeat(2, 1fr); }

    /* Review cards wider */
    .brd-review-card { flex: 0 0 300px; }

    /* Product grids */
    .bp-product-listing__grid { grid-template-columns: repeat(3, 1fr); }
    .wd-related-grid { grid-template-columns: repeat(3, 1fr); }
    .wd-subcats-grid { grid-template-columns: repeat(3, 1fr); }
    .wd-explore-grid { grid-template-columns: repeat(3, 1fr); }

    /* Measurement grid */
    .wd-meas-grid { grid-template-columns: 1fr 1fr; }

    /* Contact tiles */
    .ct-methods { grid-template-columns: 1fr 1fr; }

    /* Checkout form rows */
    .form-row-half { flex-direction: row; }

    /* Footer */
    .wc-footer-columns { grid-template-columns: 2fr 1fr 1fr; }
}

/* ================================================================
   RESPONSIVE — DESKTOP (>= 900px)
   ================================================================ */
@media (min-width: 900px) {
    .wc-wrap { padding: 0 1.5rem; }

    /* Header: hide hamburger, show inline nav */
    .wc-mobile-toggle { display: none; }
    .wc-main-nav {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        overflow: visible;
        transition: none;
        border-top: 1px solid rgba(255,255,255,.08);
    }
    .wc-main-nav .wc-wrap {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0;
        padding: 0 1.5rem;
    }
    .wc-nav-backdrop { display: none !important; }

    .wc-menu-link {
        padding: .6rem .9rem;
        font-size: .85rem;
        white-space: nowrap;
    }

    /* Desktop dropdown menus */
    .wc-menu-group { position: relative; }
    .wc-menu-sub {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 8px 24px rgba(0,0,0,.12);
        min-width: 210px;
        z-index: 90;
        padding: .4rem 0;
    }
    .wc-menu-group:hover .wc-menu-sub,
    .wc-menu-group.open .wc-menu-sub { display: block; }
    .wc-menu-group:hover .wc-menu-chevron { transform: rotate(180deg); }
    .wc-menu-sub-link {
        padding: .5rem 1rem;
        color: var(--color-text);
        font-size: .85rem;
    }
    .wc-menu-sub-link:hover { background: #f7f5f2; color: var(--color-primary); }

    /* Benefits */
    .brd-benefits-grid { grid-template-columns: repeat(4, 1fr); }

    /* Hero — text left, image right via background */
    .brd-hero { padding: 3.5rem 0; min-height: 400px; }
    .brd-hero-inner {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        max-width: 50%;
        gap: 1rem;
    }
    .brd-hero-title { font-size: 2.5rem; }
    .brd-hero-desc { font-size: 1.1rem; }
    .brd-hero-btns { justify-content: flex-start; }

    /* Category grids */
    .brd-cat-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
    .bp-tile-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
    .vs-tile-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }

    /* Product grids */
    .bp-product-listing__grid {
        grid-template-columns: repeat(var(--products-per-row, 4), 1fr);
        gap: 1rem;
    }
    .wd-related-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
    .wd-subcats-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
    .wd-explore-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }

    /* Category hero — side by side */
    .bp-hero-split { flex-direction: row; align-items: center; gap: 2rem; }
    .bp-hero-split__media { max-width: 360px; }

    /* PDP — side by side */
    .wd-product-layout {
        flex-direction: row;
        gap: 2.5rem;
        align-items: flex-start;
    }
    .wd-product-media-col { flex: 1.1; position: sticky; top: 80px; }
    .wd-product-info-col { flex: 0.9; }
    .wd-product-title { font-size: 1.6rem; }

    /* Lifestyle — alternating layout */
    .wd-lifestyle-row { flex-direction: row; align-items: center; gap: 2rem; }
    .wd-lifestyle--media-start { flex-direction: row; }
    .wd-lifestyle--media-end { flex-direction: row-reverse; }
    .wd-lifestyle-visual { width: 45%; flex-shrink: 0; }

    /* Brand story */
    .brd-story-split { flex-direction: row; gap: 3rem; align-items: center; }
    .brd-story-copy { flex: 1; }
    .brd-story-img { flex: 1; }

    /* Contact */
    .ct-methods { grid-template-columns: repeat(3, 1fr); }

    /* Order tracking */
    .ot-grid { flex-direction: row; gap: 2.5rem; }
    .ot-sidebar { flex: 0 0 300px; }

    /* Checkout */
    .checkout-layout { flex-direction: row; gap: 2.5rem; }
    .checkout-form-section { flex: 1.2; }
    .checkout-summary-section { flex: 0.8; position: sticky; top: 80px; align-self: flex-start; }

    /* Footer */
    .wc-footer-columns { grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
    .wc-footer-contact-links { flex-direction: row; gap: 1rem; }

    /* Geo prompt */
    .wc-geo-btns { width: auto; }
}

/* ================================================================
   RESPONSIVE — WIDE (>= 1200px)
   ================================================================ */
@media (min-width: 1200px) {
    .brd-hero-title { font-size: 2.8rem; }
    .brd-cat-grid { grid-template-columns: repeat(5, 1fr); }
    .bp-tile-grid { grid-template-columns: repeat(5, 1fr); }
    .vs-tile-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ================================================================
   PRINT
   ================================================================ */
@media print {
    .wc-topbar, .wc-header, .wc-main-nav, .wc-footer,
    .wc-nav-backdrop, .country-banner, .wd-atc-btn, .wc-cart-link { display: none; }
    body { color: #000; background: #fff; }
    a { color: #000; text-decoration: underline; }
}
