/* ================================================================
   WIPER FINDERS — Main Stylesheet
   Design: clean simple · warm palette · balanced density
   Approach: desktop-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.6;
    -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 wrapper ─────────────────────────────────────────────── */
.wf-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Main content area ──────────────────────────────────────────── */
.wf-main { min-height: 50vh; padding-bottom: 2rem; }


/* ================================================================
   ANNOUNCEMENT RIBBON
   ================================================================ */
.wf-ribbon {
    background: var(--color-secondary);
    color: #fff;
    text-align: center;
    padding: .5rem 1rem;
    font-size: .8rem;
    letter-spacing: .03em;
}
.wf-ribbon-msg { margin: 0; }


/* ================================================================
   HEADER
   ================================================================ */
.wf-header {
    background: var(--color-header-footer);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}
.wf-header-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 0;
    min-height: 56px;
}

/* Hamburger */
.wf-burger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
    z-index: 102;
}
.wf-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform .25s, opacity .25s;
}
.wf-burger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.wf-burger.active span:nth-child(2) { opacity: 0; }
.wf-burger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Brand / Logo */
.wf-brand-link {
    display: inline-flex;
    align-items: center;
    color: #fff;
    flex-shrink: 0;
}
.wf-brand-link:hover { color: #fff; opacity: .9; }
.wf-brand-img { height: auto; max-height: 60px; width: auto; }
.wf-brand-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -.01em;
    white-space: nowrap;
}

/* Header actions bar (lang + cart) */
.wf-header-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-left: auto;
}

/* Cart icon */
.wf-cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #fff;
    padding: 4px;
}
.wf-cart-icon:hover { color: var(--color-accent); }
.wf-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%;
}


/* ================================================================
   LANGUAGE / LOCALE PICKER
   ================================================================ */
.wf-locale-picker { position: relative; }
.wf-locale-toggle {
    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;
}
.wf-locale-toggle:hover { background: rgba(255,255,255,.18); }
.wf-locale-flag { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; }
.wf-locale-label { display: none; }
.wf-locale-arrow { transition: transform .2s; flex-shrink: 0; }
.wf-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;
}
.wf-locale-dropdown.open { display: block; }
.wf-locale-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem .9rem;
    color: var(--color-text);
    font-size: .85rem;
    transition: background .15s;
}
.wf-locale-item:hover { background: #f5f5f5; color: var(--color-text); }

/* Country banner / geo redirect popup */
.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; }
.wf-geo-notice {
    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;
}
.wf-geo-flag { width: 32px; height: 24px; border-radius: 3px; object-fit: cover; }
.wf-geo-msg { flex: 1; font-size: .9rem; color: #222; min-width: 140px; margin: 0; }
.wf-geo-btns { display: flex; gap: .5rem; width: 100%; }
.wf-geo-btn {
    flex: 1;
    padding: .55rem 1rem;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    text-align: center;
    color: #222;
    transition: opacity .2s;
}
.wf-geo-btn:hover { opacity: .85; }
.wf-geo-confirm { background: var(--color-primary); color: #fff; }
.wf-geo-dismiss { background: #eee; color: #222; }


/* ================================================================
   NAVIGATION (mobile slide-out / desktop inline)
   ================================================================ */
.wf-topnav {
    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;
}
.wf-topnav.open { left: 0; }
.wf-topnav .wf-wrap { padding: 0; }

.wf-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 99;
}
.wf-nav-overlay.open { display: block; }

.wf-menu-link {
    display: block;
    padding: .75rem 1.5rem;
    color: rgba(255,255,255,.85);
    font-size: .9rem;
    transition: color .15s, background .15s;
}
.wf-menu-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.wf-menu-parent { display: flex; align-items: center; justify-content: space-between; }
.wf-menu-static { cursor: default; }
.wf-menu-chevron { margin-left: auto; transition: transform .2s; flex-shrink: 0; }
.wf-menu-group { position: relative; }
.wf-menu-sub {
    display: none;
    background: rgba(0,0,0,.15);
}
.wf-menu-group.open .wf-menu-sub { display: block; }
.wf-menu-group.open .wf-menu-chevron { transform: rotate(180deg); }
.wf-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;
}
.wf-menu-sub-link:hover { color: #fff; background: rgba(255,255,255,.06); }


/* ================================================================
   VEHICLE SELECTOR BAR (car-selector)
   ================================================================ */
.wf-vehicle-bar {
    background: #f7f7f8;
    border-bottom: 1px solid #e8e8ea;
    padding: .65rem 0;
}
.wf-vehicle-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}
.wf-vehicle-label {
    font-weight: 600;
    font-size: .85rem;
    color: var(--color-secondary);
    white-space: nowrap;
}
.wf-vehicle-fields {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    flex: 1;
    min-width: 0;
}
.wf-vehicle-select {
    flex: 1;
    min-width: 100px;
    padding: .45rem .6rem;
    border: 1px solid #d4d4d8;
    border-radius: 6px;
    background: #fff;
    font-size: .82rem;
    color: var(--color-text);
    cursor: pointer;
    transition: border-color .2s;
    appearance: auto;
}
.wf-vehicle-select:focus { border-color: var(--color-primary); }
.wf-vehicle-select:disabled { opacity: .5; cursor: not-allowed; }
.wf-vehicle-go {
    padding: .45rem 1rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: 6px;
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background .2s, opacity .2s;
    display: inline-block;
    text-align: center;
}
.wf-vehicle-go:hover { opacity: .88; color: #fff; }
.wf-vehicle-go:disabled { opacity: .4; cursor: not-allowed; }
.wf-vehicle-result {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}
.wf-vehicle-name { font-size: .9rem; color: var(--color-secondary); }
.wf-vehicle-actions { display: flex; gap: .4rem; }
.wf-vehicle-change {
    padding: .4rem .8rem;
    border: 1px solid #d4d4d8;
    border-radius: 6px;
    font-size: .8rem;
    color: var(--color-text);
    background: #fff;
    transition: border-color .2s;
}
.wf-vehicle-change:hover { border-color: var(--color-primary); }


/* ================================================================
   SHARED BUTTONS
   ================================================================ */
.wf-btn {
    display: inline-block;
    padding: .7rem 1.6rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .95rem;
    text-align: center;
    transition: background .2s, color .2s, transform .15s, box-shadow .2s;
}
.wf-btn:hover { transform: translateY(-1px); }
.wf-btn--accent {
    background: var(--color-accent);
    color: var(--color-secondary);
}
.wf-btn--accent:hover {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.wf-btn--ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.6);
}
.wf-btn--ghost:hover {
    background: rgba(255,255,255,.15);
    color: #fff;
}
.wf-btn--xl { padding: .85rem 2.2rem; font-size: 1.05rem; }

.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-primary {
    background: var(--color-primary);
    color: #fff;
    border: none;
}
.btn-primary:hover { background: var(--color-secondary); color: #fff; }
.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;
}


/* ================================================================
   SHARED CATEGORY CARD / TILE (wf-card)
   ================================================================ */
.wf-card {
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f7;
    color: var(--color-text);
    transition: transform .2s, box-shadow .2s;
    min-width: 0;
}
/* Inside horizontal scroll containers, cards need a fixed width */
.dp-sub-scroll .wf-card {
    min-width: 200px;
    flex-shrink: 0;
}
.wf-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
    color: var(--color-text);
}
.wf-card-media {
    aspect-ratio: var(--category-image-ratio);
    overflow: hidden;
    background: #eee;
}
.wf-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.wf-card:hover .wf-card-media img { transform: scale(1.05); }
.wf-card-media--blank { background: linear-gradient(135deg, #e8e8ea 0%, #d4d4d8 100%); }
.wf-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 PRICING (wf-price-block)
   ================================================================ */
.wf-price-block { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.wf-price-old {
    text-decoration: line-through;
    color: #999;
    font-size: .85rem;
}
.wf-price-current {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-primary);
}


/* ================================================================
   SHARED TRUST STRIP (above footer)
   ================================================================ */
.wf-trust-strip {
    background: var(--color-secondary);
    color: #fff;
    padding: 1rem 0;
}
.wf-trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}
.wf-trust-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    font-weight: 500;
}
.wf-trust-item svg { flex-shrink: 0; opacity: .9; }


/* ================================================================
   SHARED FAQ SECTION
   ================================================================ */
.wf-faq { padding: 2.5rem 0; }
.wf-faq-heading {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1.25rem;
}
.wf-faq-entry {
    border: 1px solid #e8e8ea;
    border-radius: 8px;
    margin-bottom: .5rem;
    overflow: hidden;
    transition: border-color .2s;
}
.wf-faq-entry[open] { border-color: var(--color-primary); }
.wf-faq-q {
    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;
}
.wf-faq-q:hover { background: #fafafa; }
.wf-faq-q::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform .2s;
    flex-shrink: 0;
}
.wf-faq-entry[open] .wf-faq-q::after { content: '\2212'; }
.wf-faq-a {
    padding: 0 1rem 1rem;
    font-size: .88rem;
    color: #555;
    line-height: 1.6;
}

/* Shipping table inside FAQ */
.wf-shipping-table-wrap { overflow-x: auto; margin-top: .75rem; }
.wf-shipping-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .82rem;
}
.wf-shipping-table th, .wf-shipping-table td {
    padding: .5rem .6rem;
    border: 1px solid #e0e0e3;
    text-align: left;
}
.wf-shipping-table th {
    background: #f5f5f7;
    font-weight: 600;
    color: var(--color-secondary);
}


/* ================================================================
   FOOTER
   ================================================================ */
.wf-footer {
    background: var(--color-header-footer);
    color: rgba(255,255,255,.8);
    padding: 2.5rem 0 0;
    margin-top: 2rem;
}
.wf-footer a { color: rgba(255,255,255,.7); }
.wf-footer a:hover { color: #fff; }

.wf-footer-cols {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2rem;
}
.wf-footer-col { min-width: 0; }
.wf-footer-about {}
.wf-footer-brand-link { display: inline-block; margin-bottom: .75rem; }
.wf-footer-brand-img { max-height: 40px; width: auto; opacity: .9; }
.wf-footer-brand-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}
.wf-footer-address {
    font-size: .82rem;
    line-height: 1.5;
    margin-bottom: .5rem;
    opacity: .7;
}
.wf-footer-contact-links {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    font-size: .82rem;
    margin-bottom: .4rem;
}
.wf-footer-hours { font-size: .78rem; opacity: .6; }
.wf-footer-title {
    font-family: var(--font-heading);
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .6rem;
}
.wf-footer-nav li { margin-bottom: .4rem; }
.wf-footer-nav a { font-size: .84rem; }

.wf-footer-social-row {
    display: flex;
    gap: .5rem;
    padding-bottom: 1.5rem;
}
.wf-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;
}
.wf-social-icon:hover { background: rgba(255,255,255,.2); }
.wf-social-icon svg { width: 16px; height: 16px; }

.wf-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1rem 0;
    font-size: .75rem;
    opacity: .6;
    text-align: center;
}


/* ================================================================
   HOMEPAGE — DEAL HERO
   ================================================================ */
.wf-deal-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-color: var(--color-secondary);
}
.wf-deal-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.35) 100%);
    display: flex;
    align-items: center;
}
.wf-deal-hero__content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 3rem 0;
}
.wf-deal-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 20px;
    padding: .35rem .9rem;
    font-size: .8rem;
    color: #fff;
    margin-bottom: 1rem;
}
.wf-deal-hero__stars { color: var(--color-accent); letter-spacing: 2px; }
.wf-deal-hero__h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: .75rem;
}
.wf-deal-hero__desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.wf-deal-hero__btns {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1.5rem;
}
.wf-deal-hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.wf-deal-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.85);
    padding: .3rem .7rem;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 500;
}


/* ================================================================
   HOMEPAGE — PRICE BATTLE (comparison table)
   ================================================================ */
.wf-price-battle {
    padding: 3rem 0;
    background: #fff;
}
.wf-price-battle__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-secondary);
    margin-bottom: 2rem;
}
.wf-price-battle__table {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8e8ea;
}
.wf-price-battle__header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: var(--color-secondary);
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
}
.wf-price-battle__col { padding: .75rem 1rem; text-align: center; }
.wf-price-battle__col--dealer { background: rgba(255,255,255,.06); }
.wf-price-battle__col--ours { background: var(--color-primary); }
.wf-price-battle__row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid #f0f0f0;
    font-size: .9rem;
}
.wf-price-battle__row:last-child { border-bottom: none; }
.wf-price-battle__label { padding: .75rem 1rem; font-weight: 600; color: var(--color-text); }
.wf-price-battle__val { padding: .75rem 1rem; text-align: center; }
.wf-price-battle__val--old { color: #999; text-decoration: line-through; }
.wf-price-battle__val--deal { color: var(--color-primary); font-weight: 700; }
.wf-price-battle__footer {
    background: #f9f9f9;
    padding: .85rem 1rem;
    text-align: center;
}
.wf-price-battle__savings {
    color: #16a34a;
    font-size: 1rem;
}


/* ================================================================
   HOMEPAGE — SOCIAL PROOF STRIP
   ================================================================ */
.wf-proof-strip {
    background: var(--color-secondary);
    color: #fff;
    padding: .85rem 0;
}
.wf-proof-strip__items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 2rem;
    font-size: .85rem;
}
.wf-proof-strip__item {
    display: flex;
    align-items: center;
    gap: .4rem;
}
.wf-proof-strip__stars { color: var(--color-accent); font-size: 1rem; letter-spacing: 2px; }
.wf-proof-strip__icon { flex-shrink: 0; opacity: .85; }
.wf-proof-strip__text { font-weight: 500; }


/* ================================================================
   HOMEPAGE — BROWSE BY MAKE
   ================================================================ */
.wf-makes-section { padding: 3rem 0; background: #f7f7f8; }
.wf-makes-section__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    gap: 1rem;
}
.wf-makes-section__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
}
.wf-makes-section__link {
    font-size: .9rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--color-primary);
}
.wf-makes-section__link:hover { text-decoration: underline; }
.wf-makes-section__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}


/* ================================================================
   HOMEPAGE — VALUE PROPOSITIONS (PERKS)
   ================================================================ */
.wf-perks { padding: 3.5rem 0; }
.wf-perks__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-secondary);
    margin-bottom: 2rem;
}
.wf-perks__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.wf-perks__card {
    text-align: center;
    padding: 2rem 1.25rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #f0f0f0;
    transition: box-shadow .2s, transform .2s;
}
.wf-perks__card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
    transform: translateY(-2px);
}
.wf-perks__icon-ring {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(232,69,28,.08);
    color: var(--color-primary);
    margin-bottom: 1rem;
}
.wf-perks__card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .4rem;
}
.wf-perks__card-desc { font-size: .9rem; color: #666; line-height: 1.55; }


/* ================================================================
   HOMEPAGE — BUNDLE DEALS
   ================================================================ */
.wf-bundles { padding: 3rem 0; background: #fff; }
.wf-bundles__heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-secondary);
    margin-bottom: 2rem;
}
.wf-bundles__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}
.wf-bundles__card {
    background: #f9f9f9;
    border: 2px solid #e8e8ea;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: border-color .2s, box-shadow .2s;
}
.wf-bundles__card:hover { border-color: var(--color-primary); box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.wf-bundles__card--highlight {
    border-color: var(--color-accent);
    background: #fffbf5;
}
.wf-bundles__tag {
    display: inline-block;
    background: var(--color-secondary);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: .25rem .7rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: .75rem;
}
.wf-bundles__tag--best { background: var(--color-accent); color: var(--color-secondary); }
.wf-bundles__desc { font-size: .9rem; color: #555; line-height: 1.5; }
.wf-bundles__action { text-align: center; margin-top: 1.5rem; }


/* ================================================================
   HOMEPAGE — TESTIMONIALS
   ================================================================ */
.wf-testimonials { padding: 3rem 0; background: #f7f7f8; }
.wf-testimonials__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1.5rem;
    margin-bottom: 1.5rem;
}
.wf-testimonials__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-secondary);
}
.wf-testimonials__summary {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .88rem;
    color: #555;
}
.wf-testimonials__stars-summary { color: var(--color-accent); font-size: 1rem; letter-spacing: 2px; }
.wf-testimonials__trending {
    background: var(--color-accent);
    color: var(--color-secondary);
    font-size: .72rem;
    font-weight: 700;
    padding: .2rem .5rem;
    border-radius: 4px;
    text-transform: uppercase;
}
.wf-testimonials__row {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .75rem;
}
.wf-testimonials__card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.25rem;
    transition: box-shadow .2s;
}
.wf-testimonials__card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.07); }
.wf-testimonials__stars {
    color: var(--color-accent);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: .5rem;
}
.wf-testimonials__quote {
    font-size: .9rem;
    color: #444;
    line-height: 1.55;
    margin-bottom: .75rem;
    font-style: italic;
}
.wf-testimonials__footer {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}
.wf-testimonials__author {
    font-style: normal;
    font-weight: 600;
    font-size: .85rem;
    color: var(--color-secondary);
}
.wf-testimonials__badge {
    color: #16a34a;
    font-size: .75rem;
}


/* ================================================================
   HOMEPAGE — BRAND NARRATIVE
   ================================================================ */
.wf-narrative { padding: 3.5rem 0; }
.wf-narrative__block {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.wf-narrative__heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .75rem;
}
.wf-narrative__body {
    font-size: .95rem;
    color: #555;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}
.wf-narrative__trust-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.wf-narrative__trust-item {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    text-align: left;
    max-width: 340px;
}
.wf-narrative__trust-item svg { flex-shrink: 0; color: var(--color-primary); margin-top: 2px; }
.wf-narrative__trust-item strong {
    font-size: .9rem;
    color: var(--color-secondary);
    display: block;
    margin-bottom: .15rem;
}
.wf-narrative__trust-item p { font-size: .82rem; color: #666; line-height: 1.45; margin: 0; }
.wf-narrative__metrics {
    display: flex;
    justify-content: center;
    gap: 3rem;
}
.wf-narrative__metric { text-align: center; }
.wf-narrative__metric-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary);
}
.wf-narrative__metric-label { font-size: .82rem; color: #777; }


/* ================================================================
   HOMEPAGE — CLOSING CTA
   ================================================================ */
.wf-closer {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #333 100%);
    color: #fff;
    text-align: center;
    padding: 3.5rem 1.5rem;
}
.wf-closer__inner { max-width: 640px; margin: 0 auto; }
.wf-closer__heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: .6rem;
}
.wf-closer__sub {
    font-size: 1rem;
    opacity: .88;
    margin-bottom: 1.5rem;
    line-height: 1.55;
}
.wf-closer__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem 1.5rem;
    margin-top: 1.5rem;
    font-size: .82rem;
    opacity: .8;
}


/* ================================================================
   PRODUCT PAGE — BLADE PREFIX
   ================================================================ */

/* Breadcrumb */
.blade-breadcrumb {
    padding: .75rem 0;
    font-size: .82rem;
    color: #888;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem;
}
.blade-breadcrumb a { color: #888; }
.blade-breadcrumb a:hover { color: var(--color-primary); }
.blade-bc-sep { color: #ccc; margin: 0 .1rem; }

/* Position picker */
.blade-pos-picker { margin-bottom: 1.5rem; }
.blade-pos-label {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: .4rem;
}
.blade-pos-dropdown {
    width: 100%;
    max-width: 360px;
    padding: .6rem .75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-size: .9rem;
    transition: border-color .2s;
    appearance: auto;
    cursor: pointer;
}
.blade-pos-dropdown:focus { border-color: var(--color-primary); }

/* Product top layout */
.blade-product-top {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 2.5rem;
    align-items: start;
    padding: 1rem 0 2rem;
}
.blade-media-col { }
.blade-info-col { }

/* Image gallery */
.blade-visual {
    margin: 0;
    position: sticky;
    top: 80px;
}
.blade-visual img { border-radius: 10px; width: 100%; height: auto; }
.blade-thumb-row {
    display: flex;
    gap: .5rem;
    margin-top: .75rem;
    overflow-x: auto;
}
.blade-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color .2s;
}
.blade-thumb:hover { border-color: var(--color-primary); }
.blade-thumb--on { border-color: var(--color-primary); }

/* Info column */
.blade-info-col {}
.blade-urgency-bar {
    display: flex;
    gap: .5rem;
    margin-bottom: .5rem;
}
.blade-fire-tag {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-secondary);
    font-size: .72rem;
    font-weight: 700;
    padding: .2rem .6rem;
    border-radius: 4px;
    text-transform: uppercase;
}
.blade-sold-tag {
    display: inline-block;
    background: rgba(0,0,0,.05);
    color: #555;
    font-size: .72rem;
    font-weight: 600;
    padding: .2rem .6rem;
    border-radius: 4px;
}
.blade-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.25;
    margin-bottom: .6rem;
}
.blade-rating-row {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .6rem;
}
.blade-stars { color: var(--color-accent); font-size: 1rem; letter-spacing: 2px; }
.blade-rating-text { font-size: .82rem; color: #777; }
.blade-price-area { margin-bottom: .75rem; }
.blade-price-area .wf-price-current { font-size: 1.5rem; }
.blade-price-area .wf-price-old { font-size: 1rem; }
.blade-short-desc {
    font-size: .92rem;
    color: #555;
    line-height: 1.55;
    margin-bottom: .75rem;
}
.blade-stock-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
    font-size: .82rem;
}
.blade-in-stock { color: #16a34a; font-weight: 600; }
.blade-limited { color: var(--color-primary); font-weight: 600; }

/* Add to cart button */
.blade-atc-btn {
    width: 100%;
    padding: .9rem 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;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-bottom: .5rem;
}
.blade-atc-btn:hover { background: var(--color-secondary); transform: translateY(-1px); }
.blade-atc-btn:active { transform: translateY(0); }
.blade-atc-feedback {
    text-align: center;
    font-size: .85rem;
    color: #16a34a;
    font-weight: 600;
    min-height: 1.2em;
}

/* Perks list */
.blade-perks {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.blade-perks li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    color: #555;
}
.blade-perks svg { color: var(--color-primary); flex-shrink: 0; }

/* Bundle deals */
.blade-bundles-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.blade-bundle {
    background: #fff;
    border: 2px solid #e8e8ea;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: border-color .2s, box-shadow .2s;
}
.blade-bundle:hover { border-color: var(--color-primary); box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.blade-bundle--pair { }
.blade-bundle--full { border-color: var(--color-accent); background: #fffbf5; }
.blade-bundle-flag {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-secondary);
    font-size: .72rem;
    font-weight: 700;
    padding: .2rem .6rem;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: .5rem;
}
.blade-bundle-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .25rem;
}
.blade-bundle-desc { font-size: .82rem; color: #666; margin-bottom: .5rem; }
.blade-bundle-pricing { display: flex; align-items: baseline; justify-content: center; gap: .5rem; margin-bottom: .25rem; }
.blade-bundle-old { text-decoration: line-through; color: #999; font-size: .85rem; }
.blade-bundle-now { font-size: 1.2rem; font-weight: 700; color: var(--color-primary); }
.blade-bundle-save { font-size: .82rem; color: #16a34a; font-weight: 600; }

/* Comparison table */
.blade-compare { margin-bottom: 2rem; }
.blade-section-hd {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}
.blade-compare-tbl {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8e8ea;
}
.blade-compare-tbl th,
.blade-compare-tbl td {
    padding: .7rem 1rem;
    text-align: left;
    font-size: .9rem;
}
.blade-compare-tbl thead { background: var(--color-secondary); color: #fff; }
.blade-compare-tbl thead th { font-weight: 600; }
.blade-compare-tbl tbody tr { border-bottom: 1px solid #f0f0f0; }
.blade-compare-dealer { color: #999; text-decoration: line-through; }
.blade-compare-ours { color: var(--color-primary); font-weight: 700; }
.blade-compare-save-row { background: #f9fff9; }
.blade-compare-saved { color: #16a34a; font-weight: 700; font-size: 1rem; }

/* Specs */
.blade-specs { margin-bottom: 2rem; }
.blade-specs-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .4rem 1.5rem;
    font-size: .9rem;
}
.blade-specs-list dt { font-weight: 600; color: var(--color-secondary); }
.blade-specs-list dd { color: #555; }

/* Trust badges */
.blade-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.5rem;
}
.blade-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .75rem;
    background: #f5f5f7;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 600;
    color: #555;
}
.blade-badge svg { flex-shrink: 0; color: var(--color-primary); }

/* Compatibility note */
.blade-compat-note {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    font-size: .88rem;
    color: #166534;
    line-height: 1.5;
}
.blade-compat-note svg { flex-shrink: 0; color: #16a34a; margin-top: 2px; }
.blade-compat-note p { margin: 0; }

/* Full description */
.blade-full-desc { margin-bottom: 2rem; }
.blade-prose {
    font-size: .92rem;
    color: #555;
    line-height: 1.65;
}
.blade-prose p { margin-bottom: .75rem; }
.blade-prose h2 { font-size: 1.1rem; font-weight: 600; color: var(--color-secondary); margin: 1.2rem 0 .5rem; }
.blade-prose h3 { font-size: 1rem; font-weight: 600; color: var(--color-secondary); margin: 1rem 0 .4rem; }
.blade-prose ul, .blade-prose ol { margin: .75rem 0; padding-left: 1.5rem; }
.blade-prose ul { list-style: disc; }
.blade-prose ol { list-style: decimal; }
.blade-prose li { margin-bottom: .35rem; }
.blade-prose a { text-decoration: underline; }

/* Lifestyle sections */
.blade-life {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: center;
}
.blade-life--right .blade-life-copy { order: -1; }
.blade-life-img img { border-radius: 10px; width: 100%; height: auto; }

/* Related products */
.blade-related { margin-bottom: 2.5rem; }
.blade-rel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.blade-rel-card {
    display: block;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    color: var(--color-text);
    transition: transform .2s, box-shadow .2s;
}
.blade-rel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    color: var(--color-text);
}
.blade-rel-img {
    width: 100%;
    aspect-ratio: var(--image-ratio);
    object-fit: cover;
    background: #f5f5f7;
}
.blade-rel-info { padding: .75rem; }
.blade-rel-name {
    font-family: var(--font-heading);
    font-size: .85rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: .25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Subcategories / card grid on product page */
.blade-subcats { margin-bottom: 2rem; }
.blade-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.blade-also-like { margin-bottom: 2rem; }


/* ================================================================
   CART PAGE
   ================================================================ */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}
.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
    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: 0.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 #ddd;
    border-radius: 6px;
    overflow: hidden;
}
.qty-btn {
    background: #f0f0f0;
    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 0.2s;
}
.qty-btn:hover { background: #ddd; }
.qty-value { width: 36px; text-align: center; font-weight: 600; font-size: 0.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: 0.85rem;
    text-decoration: underline;
}
.cart-remove-btn:hover { color: #c0392b; }
.cart-summary {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #eee;
    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 #ddd;
    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;
}

/* Breadcrumb (cart/checkout/thank-you) */
.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; }


/* ================================================================
   CHECKOUT PAGE
   ================================================================ */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 2.5rem;
    padding: 1rem 0;
    align-items: start;
}
.checkout-form-section { }
.checkout-summary-section {
    background: #f7f7f8;
    border-radius: 10px;
    padding: 1.25rem;
    position: sticky;
    top: 80px;
}
.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 { }
.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 #e0e0e3;
    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(232,69,28,.1);
}

.card-element-wrapper { margin-bottom: 1rem; }
.card-element-wrapper label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: .35rem;
}
.card-input {
    padding: .75rem;
    border: 2px solid #e0e0e3;
    border-radius: 8px;
    background: #fff;
    min-height: 44px;
}
.card-errors { color: #dc3545; font-size: .82rem; margin-top: .35rem; min-height: 1em; }

.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); }
.btn-checkout:disabled { opacity: .5; cursor: not-allowed; }
.checkout-feedback {
    font-size: .85rem;
    color: #16a34a;
    min-height: 1.2em;
    margin-top: .5rem;
}
.checkout-discount-row { color: var(--color-accent); font-weight: 600; }
.checkout-grand-total {
    border-top: 2px solid #ddd;
    padding-top: 10px;
    margin-top: 6px;
    font-size: 1.1rem;
}
.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 #e0e0e3;
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: wf-spin .7s linear infinite;
}
@keyframes wf-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; }


/* ================================================================
   THANK YOU PAGE
   ================================================================ */
.thank-you-section {
    text-align: center;
    padding: 3rem 1rem;
    max-width: 520px;
    margin: 0 auto;
}
.thank-you-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f0fdf4;
    color: #16a34a;
    font-size: 2rem;
    margin-bottom: 1rem;
}
.thank-you-section h1 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .5rem;
}
.thank-you-message { font-size: .95rem; color: #555; margin-bottom: 1rem; }
.thank-you-order {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    font-size: .9rem;
}
.thank-you-email { font-size: .88rem; color: #777; margin-bottom: 1.5rem; }


/* ================================================================
   CAR SELECTOR PAGE (bf- prefix)
   ================================================================ */
.bf-breadcrumb { padding: .75rem 0 0; }
.bf-breadcrumb__list {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    color: #888;
}
.bf-breadcrumb__item + .bf-breadcrumb__item::before { content: '/'; margin-right: .4rem; color: #ccc; }
.bf-breadcrumb__item a { color: var(--color-primary); text-decoration: none; }
.bf-breadcrumb__item a:hover { text-decoration: underline; }
.bf-breadcrumb__item--active { color: var(--color-text); font-weight: 600; }

.bf-deal-strip {
    display: flex;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    color: #fff;
    padding: .6rem 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-size: .88rem;
    font-weight: 600;
}
.bf-deal-strip__badge, .bf-deal-strip__stat { }

.bf-finder-intro {
    text-align: center;
    padding: 1.5rem 0 1rem;
}
.bf-finder-intro__heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: .5rem;
}
.bf-finder-intro__desc {
    font-size: .95rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto .75rem;
    line-height: 1.6;
}
.bf-finder-intro__badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
}
.bf-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .82rem;
    font-weight: 500;
}
.bf-badge--trust {
    background: #f5f5f7;
    padding: .35rem .75rem;
    border-radius: 20px;
    color: #555;
}
.bf-badge--trust svg { flex-shrink: 0; color: var(--color-primary); }

.bf-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 0;
    margin-bottom: 1rem;
}
.bf-social-proof__stars { display: flex; gap: 2px; }
.bf-social-proof__text { font-size: .88rem; color: #555; }

.bf-makes-section { margin-bottom: 2.5rem; }
.bf-makes-section__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}
.bf-makes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1rem;
}

.bf-value-props {
    background: #fff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.bf-value-props__heading {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}
.bf-value-props__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.bf-prop-card { text-align: center; }
.bf-prop-card__icon { margin-bottom: .75rem; }
.bf-prop-card__title {
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .3rem;
}
.bf-prop-card__text { font-size: .82rem; color: #666; line-height: 1.5; }

.bf-bottom-cta {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #333 100%);
    border-radius: 12px;
    color: #fff;
    margin-bottom: 2rem;
}
.bf-bottom-cta__heading {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: .4rem;
}
.bf-bottom-cta__sub { font-size: .9rem; opacity: .85; }


/* ================================================================
   STATIC PAGE (sp- prefix)
   ================================================================ */
.sp-trail {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: 1rem 0 0;
    font-size: .85rem;
    color: #888;
}
.sp-trail-link { color: var(--color-primary); }
.sp-trail-link:hover { text-decoration: underline; }
.sp-trail-divider { color: #ccc; }
.sp-trail-current { color: var(--color-text); font-weight: 600; }

.sp-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
    padding: 1.5rem 0;
    align-items: start;
}
.sp-content-area {}
.sp-headline {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}
.sp-rich-text {
    font-size: .95rem;
    color: #444;
    line-height: 1.7;
}
.sp-rich-text h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 1.5rem 0 .5rem;
}
.sp-rich-text h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 1.2rem 0 .4rem;
}
.sp-rich-text p { margin-bottom: .75rem; }
.sp-rich-text ul, .sp-rich-text ol { margin: .75rem 0; padding-left: 1.5rem; }
.sp-rich-text ul { list-style: disc; }
.sp-rich-text ol { list-style: decimal; }
.sp-rich-text li { margin-bottom: .35rem; }
.sp-rich-text a { text-decoration: underline; }
.sp-rich-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}
.sp-rich-text th, .sp-rich-text td {
    padding: .5rem .75rem;
    border: 1px solid #e0e0e3;
    text-align: left;
    font-size: .88rem;
}
.sp-rich-text th { background: #f5f5f7; font-weight: 600; }

.sp-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.sp-sidebar-card {
    background: #fff;
    border: 1px solid #e8e8ea;
    border-radius: 10px;
    padding: 1.25rem;
}
.sp-sidebar-trust { display: flex; flex-direction: column; gap: .75rem; }
.sp-trust-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    color: #555;
    font-weight: 500;
}
.sp-trust-icon { flex-shrink: 0; }
.sp-sidebar-heading {
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .5rem;
}
.sp-sidebar-detail { font-size: .88rem; margin-bottom: .25rem; }
.sp-sidebar-detail a { color: var(--color-primary); }
.sp-sidebar-detail a:hover { text-decoration: underline; }


/* ================================================================
   ORDER TRACKING PAGE (ot- prefix — inline styles in template)
   Override any missing pieces here
   ================================================================ */
.ot-crumb-trail {
    padding: 0.75rem 0 1.25rem;
    font-size: 0.85rem;
    color: #777;
}
.ot-crumb-link {
    color: var(--color-link);
    text-decoration: none;
}
.ot-crumb-link:hover { text-decoration: underline; }
.ot-crumb-divider { margin: 0 0.4rem; color: #bbb; }


/* ================================================================
   BLOG
   ================================================================ */
.blog-listing {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}
.blog-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.13); transform: translateY(-2px); }
.blog-card-image { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-title { font-family: var(--font-heading); font-size: 1.2rem; margin: 0 0 0.5rem; line-height: 1.3; }
.blog-card-title a { color: var(--color-text); text-decoration: none; }
.blog-card-title a:hover { color: var(--color-primary); }
.blog-card-meta { font-size: 0.85rem; color: #777; margin-bottom: 0.75rem; }
.blog-card-excerpt { font-size: 0.95rem; color: #555; line-height: 1.6; flex: 1; }
.blog-card-readmore { display: inline-block; margin-top: 1rem; font-weight: 600; color: var(--color-primary); font-size: 0.9rem; }
.blog-card-readmore:hover { text-decoration: underline; }

.blog-article { max-width: 780px; margin: 0 auto; padding: 0 1rem; }
.blog-article-header { margin-bottom: 2rem; }
.blog-article-title { font-family: var(--font-heading); font-size: 2rem; line-height: 1.25; margin: 0 0 0.75rem; }
.blog-article-meta { font-size: 0.9rem; color: #777; margin-bottom: 1.5rem; }
.blog-article-hero { width: 100%; border-radius: 10px; margin-bottom: 2rem; aspect-ratio: 16/9; object-fit: cover; }
.blog-article-content { font-size: 1.05rem; line-height: 1.8; color: var(--color-text); }
.blog-article-content h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.blog-article-content h3 { font-size: 1.25rem; margin: 1.5rem 0 0.75rem; }
.blog-article-content p { margin-bottom: 1.2rem; }
.blog-article-content img { max-width: 100%; height: auto; border-radius: 8px; }
.blog-article-content a { color: var(--color-primary); text-decoration: underline; }
.blog-article-content blockquote {
    border-left: 4px solid var(--color-primary);
    margin: 1.5rem 0;
    padding: 0.75rem 1.25rem;
    background: #f9f9f9;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}
.blog-article-content ul, .blog-article-content ol { margin: 1rem 0; padding-left: 1.5rem; }
.blog-article-content li { margin-bottom: 0.5rem; }

.blog-breadcrumb { font-size: 0.85rem; color: #777; margin-bottom: 1.5rem; }
.blog-breadcrumb a { color: #777; text-decoration: none; }
.blog-breadcrumb a:hover { color: var(--color-primary); }
.blog-breadcrumb .separator { margin: 0 0.4rem; }

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 2.5rem 0 1rem;
    flex-wrap: wrap;
}
.blog-pagination a, .blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s;
}
.blog-pagination a { background: #f0f0f0; color: var(--color-text); }
.blog-pagination a:hover { background: var(--color-primary); color: #fff; }
.blog-pagination .current { background: var(--color-primary); color: #fff; font-weight: 700; }
.blog-empty { text-align: center; padding: 4rem 1rem; color: #999; font-size: 1.1rem; }


/* ================================================================
   RESPONSIVE — TABLET (max-width: 900px)
   ================================================================ */
@media (max-width: 900px) {
    .wf-locale-label { display: none; }

    /* Nav stays mobile slide-out below 900px (default state) */

    /* Hero */
    .wf-deal-hero { min-height: 400px; }
    .wf-deal-hero__h1 { font-size: 2rem; }
    .wf-deal-hero__desc { font-size: 1rem; }

    /* Makes grid */
    .wf-makes-section__grid { grid-template-columns: repeat(3, 1fr); }

    /* Perks */
    .wf-perks__grid { grid-template-columns: 1fr; gap: 1rem; }

    /* Bundles */
    .wf-bundles__cards { grid-template-columns: 1fr; }

    /* Product page */
    .blade-product-top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .blade-visual { position: static; }
    .blade-title { font-size: 1.35rem; }
    .blade-bundles-wrap { grid-template-columns: 1fr; }
    .blade-rel-grid { grid-template-columns: repeat(2, 1fr); }
    .blade-card-grid { grid-template-columns: repeat(2, 1fr); }
    .blade-life { grid-template-columns: 1fr; gap: 1rem; }
    .blade-life--right .blade-life-copy { order: 0; }

    /* Footer */
    .wf-footer-cols { grid-template-columns: 1fr; gap: 1.5rem; }

    /* Checkout */
    .checkout-layout { grid-template-columns: 1fr; }
    .checkout-summary-section { position: static; }

    /* Static page */
    .sp-layout { grid-template-columns: 1fr; gap: 1.5rem; }

    /* Car selector value props */
    .bf-value-props__row { grid-template-columns: 1fr; gap: 1rem; }
}


/* ================================================================
   RESPONSIVE — MOBILE (max-width: 600px)
   ================================================================ */
@media (max-width: 600px) {
    .wf-wrap { padding: 0 1rem; }

    .wf-deal-hero { min-height: 340px; }
    .wf-deal-hero__h1 { font-size: 1.6rem; }
    .wf-deal-hero__content { padding: 2rem 0; }
    .wf-deal-hero__btns { flex-direction: column; }

    .wf-makes-section__grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }

    .wf-testimonials__card { flex: 0 0 260px; }

    .blade-rel-grid { grid-template-columns: 1fr; }
    .blade-card-grid { grid-template-columns: repeat(2, 1fr); }

    .bf-makes-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
    .bf-finder-intro__heading { font-size: 1.4rem; }

    .form-row-half { flex-direction: column; }

    .blog-listing { grid-template-columns: 1fr; }
    .blog-article-title { font-size: 1.5rem; }
    .blog-article-content { font-size: 1rem; }
}


/* ================================================================
   RESPONSIVE — DESKTOP NAV (min-width: 901px)
   ================================================================ */
@media (min-width: 901px) {
    .wf-locale-label { display: inline; }

    .wf-burger { display: none; }
    .wf-topnav {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        overflow: visible;
        transition: none;
        border-top: 1px solid rgba(255,255,255,.08);
    }
    .wf-topnav .wf-wrap {
        display: flex;
        align-items: center;
        gap: 0;
        padding: 0 1.5rem;
    }
    .wf-nav-overlay { display: none !important; }

    .wf-menu-link {
        padding: .6rem .9rem;
        font-size: .85rem;
        white-space: nowrap;
    }

    /* Desktop dropdowns */
    .wf-menu-group { position: relative; }
    .wf-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: 200px;
        z-index: 90;
        padding: .4rem 0;
    }
    .wf-menu-group:hover .wf-menu-sub,
    .wf-menu-group.open .wf-menu-sub {
        display: block;
    }
    .wf-menu-group:hover .wf-menu-chevron { transform: rotate(180deg); }
    .wf-menu-sub-link {
        padding: .5rem 1rem;
        color: var(--color-text);
        font-size: .85rem;
    }
    .wf-menu-sub-link:hover { background: #f5f5f7; color: var(--color-primary); }

    /* Geo prompt */
    .wf-geo-btns { width: auto; }
}


/* ================================================================
   PRINT
   ================================================================ */
@media print {
    .wf-ribbon, .wf-header, .wf-topnav, .wf-vehicle-bar, .wf-footer,
    .wf-nav-overlay, .country-banner, .blade-atc-btn, .wf-cart-icon,
    .wf-trust-strip { display: none; }
    body { color: #000; background: #fff; }
    a { color: #000; text-decoration: underline; }
}
