/* ================================================================
   WIPER SEARCH — Main Stylesheet
   Design: earthy modern · spacious · lifestyle
   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.7;
    -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 CONTAINER
   ================================================================ */
.ws-wrap {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}
.ws-site-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.ws-content {
    flex: 1;
    padding-bottom: 3rem;
}


/* ================================================================
   ANNOUNCEMENT BAR
   ================================================================ */
.ws-topbar {
    background: var(--color-secondary);
    color: #fff;
    text-align: center;
    padding: .55rem 0;
    font-size: .82rem;
    letter-spacing: .03em;
}
.ws-topbar-msg { margin: 0; }


/* ================================================================
   HEADER
   ================================================================ */
.ws-header {
    background: var(--color-header-footer);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}
.ws-header-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .85rem 0;
    min-height: 60px;
}
.ws-header-inner--slim { justify-content: center; }

/* Hamburger */
.ws-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4.5px;
    padding: 6px;
    z-index: 102;
}
.ws-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform .25s, opacity .25s;
}
.ws-mobile-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ws-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.ws-mobile-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Logo */
.ws-brand-link {
    display: inline-flex;
    align-items: center;
    color: #fff;
    flex-shrink: 0;
}
.ws-brand-link:hover { color: #fff; opacity: .92; }
.ws-brand-img { height: auto; max-height: 60px; width: auto; }
.ws-brand-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -.01em;
    white-space: nowrap;
}

/* Header toolbar */
.ws-header-actions {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-left: auto;
}


/* ================================================================
   LANGUAGE PICKER
   ================================================================ */
.ws-locale-picker { position: relative; }
.ws-locale-btn {
    display: flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 6px;
    padding: .38rem .65rem;
    color: #fff;
    font-size: .82rem;
    cursor: pointer;
    transition: background .2s;
}
.ws-locale-btn:hover { background: rgba(255,255,255,.18); }
.ws-locale-flag { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; }
.ws-locale-label { display: none; }
.ws-locale-arrow { transition: transform .2s; flex-shrink: 0; }
.ws-locale-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    min-width: 190px;
    overflow: hidden;
    z-index: 110;
}
.ws-locale-dropdown.open { display: block; }
.ws-locale-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1rem;
    color: #222;
    font-size: .88rem;
    transition: background .15s;
}
.ws-locale-item:hover { background: #f5f3f0; color: #222; }


/* ================================================================
   GEO REDIRECT BANNER (country-banner / sun-geo-prompt)
   ================================================================ */
.country-banner {
    display: none;
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    width: calc(100% - 2rem);
    max-width: 440px;
}
.country-banner.show { display: block; }

.ws-geo-notice {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 36px rgba(0,0,0,.18);
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
}
.ws-geo-flag { width: 32px; height: 24px; border-radius: 3px; object-fit: cover; }
.ws-geo-msg {
    flex: 1;
    font-size: .9rem;
    color: #222;
    min-width: 140px;
    margin: 0;
}
.ws-geo-btns { display: flex; gap: .5rem; width: 100%; }
.ws-geo-accept,
.ws-geo-dismiss {
    flex: 1;
    padding: .6rem 1rem;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    text-align: center;
    transition: opacity .2s;
    color: #222;
}
.ws-geo-accept:hover,
.ws-geo-dismiss:hover { opacity: .85; }
.ws-geo-accept { background: var(--color-primary); color: #fff; }
.ws-geo-dismiss { background: #eee; color: #222; }

/* Alias support: .sun-geo-prompt popup white bg + dark text */
.sun-geo-prompt { background: #fff; }
.sun-geo-text { color: #222; }
.sun-geo-btn { color: #222; }


/* ================================================================
   CART ICON
   ================================================================ */
.ws-cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #fff;
    padding: 4px;
}
.ws-cart-link:hover { color: var(--color-accent); }
.ws-cart-count {
    position: absolute;
    top: -5px;
    right: -7px;
    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%;
}


/* ================================================================
   NAVIGATION
   ================================================================ */
.ws-nav-bar {
    background: var(--color-header-footer);
    border-top: 1px solid rgba(255,255,255,.08);
}
.ws-nav-bar .ws-wrap {
    display: flex;
    align-items: center;
    gap: 0;
}
.ws-nav-shade {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 99;
}
.ws-nav-shade.open { display: block; }

.ws-menu-link {
    display: inline-flex;
    align-items: center;
    padding: .65rem 1rem;
    color: rgba(255,255,255,.88);
    font-size: .88rem;
    white-space: nowrap;
    transition: color .15s, background .15s;
}
.ws-menu-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.ws-menu-parent { gap: .35rem; cursor: pointer; }
.ws-menu-static { cursor: default; }
.ws-menu-caret { transition: transform .2s; flex-shrink: 0; }
.ws-menu-group { position: relative; }
.ws-menu-sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 28px rgba(0,0,0,.12);
    min-width: 210px;
    z-index: 90;
    padding: .4rem 0;
}
.ws-menu-group:hover .ws-menu-sub { display: block; }
.ws-menu-group:hover .ws-menu-caret { transform: rotate(180deg); }
.ws-menu-sub-link {
    display: block;
    padding: .55rem 1.1rem;
    color: var(--color-text);
    font-size: .86rem;
    transition: background .15s;
}
.ws-menu-sub-link:hover { background: #f5f3f0; color: var(--color-primary); }


/* ================================================================
   VEHICLE SELECTOR BAR (car selector in header)
   ================================================================ */
.ws-vehicle-bar {
    background: #f6f4f0;
    border-bottom: 1px solid #e8e3dc;
    padding: .7rem 0;
}
.ws-vehicle-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
}
.ws-vehicle-title {
    font-weight: 700;
    font-size: .88rem;
    color: var(--color-secondary);
    white-space: nowrap;
}
.ws-vehicle-selects {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    flex: 1;
    min-width: 0;
}
.ws-vehicle-input {
    flex: 1;
    min-width: 110px;
    padding: .5rem .7rem;
    border: 1.5px solid #d5cfc7;
    border-radius: 8px;
    background: #fff;
    font-size: .84rem;
    color: var(--color-text);
    cursor: pointer;
    transition: border-color .2s;
    appearance: auto;
}
.ws-vehicle-input:focus { border-color: var(--color-primary); }
.ws-vehicle-input:disabled { opacity: .5; cursor: not-allowed; }
.ws-vehicle-submit {
    padding: .5rem 1.15rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: 8px;
    font-size: .84rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background .2s, opacity .2s;
    display: inline-block;
    text-align: center;
}
.ws-vehicle-submit:hover { opacity: .88; }
.ws-vehicle-submit:disabled { opacity: .4; cursor: not-allowed; }

.ws-vehicle-result {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
}
.ws-vehicle-name { font-size: .92rem; color: var(--color-secondary); }
.ws-vehicle-actions { display: flex; gap: .45rem; }
.ws-vehicle-change {
    padding: .45rem .85rem;
    border: 1.5px solid #d5cfc7;
    border-radius: 8px;
    font-size: .82rem;
    color: var(--color-text);
    background: #fff;
    transition: border-color .2s;
}
.ws-vehicle-change:hover { border-color: var(--color-primary); }


/* ================================================================
   FOOTER
   ================================================================ */
.ws-footer {
    background: var(--color-header-footer);
    color: rgba(255,255,255,.82);
    padding: 3.5rem 0 0;
    margin-top: 3rem;
}
.ws-footer a { color: rgba(255,255,255,.72); }
.ws-footer a:hover { color: #fff; }

.ws-footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3.5rem;
    padding-bottom: 2.5rem;
}
.ws-footer-identity {}
.ws-footer-home { display: inline-block; margin-bottom: .85rem; }
.ws-footer-brand-img { max-height: 44px; width: auto; opacity: .92; }
.ws-footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}
.ws-footer-address {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    font-size: .84rem;
    line-height: 1.55;
    margin-bottom: .6rem;
    opacity: .72;
}
.ws-footer-contact {
    display: flex;
    gap: 1.25rem;
    font-size: .84rem;
    margin-bottom: .5rem;
}
.ws-footer-hours { font-size: .8rem; opacity: .58; }
.ws-footer-social {
    display: flex;
    gap: .6rem;
    margin-top: .85rem;
}
.ws-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    transition: background .2s;
}
.ws-social-icon:hover { background: rgba(255,255,255,.22); }
.ws-social-icon svg { width: 16px; height: 16px; }

.ws-footer-nav {
    display: contents;
}
.ws-footer-col {}
.ws-footer-heading {
    font-family: var(--font-heading);
    font-size: .88rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .7rem;
}
.ws-footer-links li { margin-bottom: .5rem; }
.ws-footer-links a { font-size: .86rem; }

.ws-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1.15rem 0;
    font-size: .78rem;
    opacity: .58;
    text-align: center;
}


/* ================================================================
   PRICING (shared component from base.py)
   ================================================================ */
.ws-price-group {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    flex-wrap: wrap;
}
.ws-price-original {
    text-decoration: line-through;
    color: #999;
    font-size: .88rem;
}
.ws-price-current {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-primary);
}


/* ================================================================
   CATEGORY TILES (shared card from base.py)
   ================================================================ */
.ws-card {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f6f4f0;
    color: var(--color-text);
    transition: transform .25s ease, box-shadow .25s ease;
}
.ws-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(78,52,46,.1);
    color: var(--color-text);
}
.ws-card-media {
    aspect-ratio: var(--category-image-ratio);
    overflow: hidden;
    background: #ebe8e2;
}
.ws-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.ws-card:hover .ws-card-media img { transform: scale(1.05); }
.ws-card-media--blank {
    background: linear-gradient(135deg, #e8e3dc 0%, #d5cfc7 100%);
}
.ws-card-name {
    display: block;
    padding: .7rem .85rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .92rem;
    text-align: center;
    text-transform: capitalize;
}


/* ================================================================
   FAQ (shared from base.py)
   ================================================================ */
.ws-faq-block {
    padding: 3rem 0 2rem;
}
.ws-faq-heading {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}
.ws-faq-entry {
    border: 1.5px solid #e8e3dc;
    border-radius: 10px;
    margin-bottom: .65rem;
    overflow: hidden;
    transition: border-color .25s;
}
.ws-faq-entry[open] { border-color: var(--color-primary); }
.ws-faq-question {
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: .95rem;
    color: var(--color-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .6rem;
    transition: background .15s;
}
.ws-faq-question:hover { background: #faf8f5; }
.ws-faq-question::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform .2s;
    flex-shrink: 0;
}
.ws-faq-entry[open] .ws-faq-question::after { content: '\2212'; }
.ws-faq-answer {
    padding: 0 1.25rem 1.15rem;
    font-size: .9rem;
    color: #555;
    line-height: 1.7;
}

/* Shipping table */
.ws-shipping-table-wrap { overflow-x: auto; margin-top: .85rem; }
.ws-shipping-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .84rem;
}
.ws-shipping-table th,
.ws-shipping-table td {
    padding: .55rem .7rem;
    border: 1px solid #e8e3dc;
    text-align: left;
}
.ws-shipping-table th {
    background: #f6f4f0;
    font-weight: 600;
    color: var(--color-secondary);
}


/* ================================================================
   HOMEPAGE — HERO
   ================================================================ */
.wh-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 540px;
    display: flex;
    align-items: center;
}
.wh-hero-shade {
    width: 100%;
    background: linear-gradient(135deg, rgba(62,39,35,.78) 0%, rgba(62,39,35,.42) 100%);
    padding: 5rem 0;
}
.wh-contain {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}
.wh-hero-pill {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-secondary);
    padding: .4rem 1rem;
    border-radius: 24px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.wh-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.18;
    margin-bottom: 1rem;
    max-width: 680px;
}
.wh-hero-lead {
    font-size: 1.12rem;
    color: rgba(255,255,255,.88);
    line-height: 1.65;
    max-width: 560px;
    margin-bottom: 2rem;
}
.wh-hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* Shared button system */
.wh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .85rem 2rem;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    transition: background .2s, color .2s, transform .15s, box-shadow .2s;
}
.wh-btn--fill {
    background: var(--color-primary);
    color: #fff;
}
.wh-btn--fill:hover {
    background: var(--color-secondary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.wh-btn--ghost {
    background: transparent;
    border: 2px solid rgba(255,255,255,.5);
    color: #fff;
}
.wh-btn--ghost:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff;
    color: #fff;
}
.wh-btn--lg {
    padding: 1rem 2.5rem;
    font-size: 1.08rem;
}

.wh-hero-mini-proof {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .88rem;
    color: rgba(255,255,255,.8);
}
.wh-hero-stars {
    color: var(--color-accent);
    font-size: 1.05rem;
    letter-spacing: 2px;
}


/* ================================================================
   HOMEPAGE — ECO IMPACT STATS BAR
   ================================================================ */
.wh-impact-bar {
    background: var(--color-secondary);
    color: #fff;
    padding: 1.15rem 0;
}
.wh-impact-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 3rem;
}
.wh-impact-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.wh-impact-num {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -.02em;
}
.wh-impact-desc {
    font-size: .78rem;
    opacity: .78;
    margin-top: .15rem;
}


/* ================================================================
   HOMEPAGE — BRAND STORY / ABOUT
   ================================================================ */
.wh-about {
    padding: 5rem 0;
}
.wh-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.wh-about-copy {}
.wh-heading {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1.15rem;
    line-height: 1.25;
}
.wh-heading--center { text-align: center; }
.wh-about-body {
    font-size: .98rem;
    color: #555;
    line-height: 1.75;
    margin-bottom: 1.75rem;
}
.wh-about-counters {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2rem;
}
.wh-counter { display: flex; flex-direction: column; }
.wh-counter-val {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary);
}
.wh-counter-lbl {
    font-size: .82rem;
    color: #777;
    margin-top: .15rem;
}
.wh-about-visual {
    margin: 0;
}
.wh-about-visual img {
    border-radius: 14px;
    width: 100%;
    height: auto;
}


/* ================================================================
   HOMEPAGE — BROWSE BY MAKE
   ================================================================ */
.wh-brands {
    padding: 4.5rem 0;
    background: #f6f4f0;
}
.wh-brands-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    gap: 1rem;
}
.wh-brands-all {
    font-size: .92rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--color-primary);
}
.wh-brands-all:hover { text-decoration: underline; }
.wh-brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.15rem;
}


/* ================================================================
   HOMEPAGE — VALUE PROPOSITIONS (benefits)
   ================================================================ */
.wh-benefits {
    padding: 5rem 0;
}
.wh-benefits-trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}
.wh-benefit-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #fff;
    border: 1.5px solid #e8e3dc;
    border-radius: 14px;
    transition: box-shadow .25s, transform .25s;
}
.wh-benefit-card:hover {
    box-shadow: 0 8px 28px rgba(78,52,46,.08);
    transform: translateY(-3px);
}
.wh-benefit-icon {
    color: var(--color-primary);
    margin-bottom: 1.15rem;
}
.wh-benefit-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .55rem;
}
.wh-benefit-desc {
    font-size: .92rem;
    color: #666;
    line-height: 1.65;
}


/* ================================================================
   HOMEPAGE — CUSTOMER REVIEWS
   ================================================================ */
.wh-reviews {
    padding: 4.5rem 0;
    background: #faf8f5;
}
.wh-reviews-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}
.wh-reviews-meta {
    display: flex;
    align-items: center;
    gap: .65rem;
}
.wh-reviews-stars {
    color: var(--color-accent);
    font-size: 1.1rem;
    letter-spacing: 2px;
}
.wh-reviews-tally {
    font-size: .88rem;
    color: #777;
}
.wh-reviews-tag {
    background: var(--color-accent);
    color: var(--color-secondary);
    padding: .25rem .65rem;
    border-radius: 5px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.wh-reviews-strip {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .85rem;
}
.wh-review {
    flex: 0 0 310px;
    scroll-snap-align: start;
    background: #fff;
    border: 1.5px solid #e8e3dc;
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    transition: box-shadow .25s;
}
.wh-review:hover { box-shadow: 0 6px 20px rgba(78,52,46,.07); }
.wh-review-stars {
    color: var(--color-accent);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: .65rem;
}
.wh-review-quote {
    font-size: .92rem;
    color: #444;
    line-height: 1.65;
    margin-bottom: .85rem;
    font-style: italic;
    border: 0;
    padding: 0;
}
.wh-review-footer {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    font-size: .82rem;
}
.wh-review-author {
    font-style: normal;
    font-weight: 600;
    color: var(--color-secondary);
}
.wh-review-badge {
    color: var(--color-primary);
    font-size: .78rem;
}


/* ================================================================
   HOMEPAGE — TRUST & TRANSPARENCY
   ================================================================ */
.wh-trust {
    padding: 5rem 0;
}
.wh-trust-panels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}
.wh-trust-card {
    text-align: center;
    padding: 2.25rem 1.75rem;
    background: #fff;
    border: 1.5px solid #e8e3dc;
    border-radius: 14px;
    transition: box-shadow .25s;
}
.wh-trust-card:hover { box-shadow: 0 6px 20px rgba(78,52,46,.07); }
.wh-trust-icon {
    color: var(--color-primary);
    margin-bottom: 1rem;
}
.wh-trust-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .5rem;
}
.wh-trust-desc {
    font-size: .9rem;
    color: #666;
    line-height: 1.65;
}
.wh-guarantee-strip {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    background: var(--color-primary);
    color: #fff;
    padding: 1.5rem 2rem;
    border-radius: 14px;
}
.wh-guarantee-strip svg { flex-shrink: 0; stroke: #fff; }
.wh-guarantee-copy strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: .3rem;
}
.wh-guarantee-copy p {
    font-size: .9rem;
    opacity: .9;
    line-height: 1.55;
    margin: 0;
}


/* ================================================================
   HOMEPAGE — CLOSING CTA
   ================================================================ */
.wh-final-cta {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #5d4037 100%);
    color: #fff;
    padding: 4.5rem 2rem;
    text-align: center;
}
.wh-final-cta-wrap {
    max-width: 640px;
    margin: 0 auto;
}
.wh-final-cta-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: .65rem;
}
.wh-final-cta-lead {
    font-size: 1.05rem;
    opacity: .88;
    margin-bottom: 2rem;
    line-height: 1.65;
}


/* ================================================================
   PRODUCT DETAIL PAGE
   ================================================================ */
.wpr-crumbs {
    padding: .85rem 0;
    font-size: .84rem;
    color: #888;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .3rem;
}
.wpr-crumbs a { color: #888; }
.wpr-crumbs a:hover { color: var(--color-primary); }
.wpr-sep { color: #ccc; margin: 0 .15rem; }

.wpr-product-layout {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 3.5rem;
    align-items: start;
    padding: 1.5rem 0 3rem;
}
.wpr-media-col { position: sticky; top: 80px; }
.wpr-main-figure { margin: 0; }
.wpr-main-figure img {
    border-radius: 14px;
    width: 100%;
    height: auto;
}

/* Gallery thumbnails */
.wpr-thumbs {
    display: flex;
    gap: .55rem;
    margin-top: .85rem;
    overflow-x: auto;
    padding-bottom: .35rem;
}
.wpr-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    border: 2.5px solid transparent;
    cursor: pointer;
    transition: border-color .2s;
    padding: 0;
    background: #f6f4f0;
}
.wpr-thumb:hover { border-color: var(--color-accent); }
.wpr-thumb--sel { border-color: var(--color-primary); }
.wpr-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info column */
.wpr-info-col {}
.wpr-product-header { margin-bottom: 1.5rem; }
.wpr-stock-eco {
    display: flex;
    gap: .55rem;
    margin-bottom: .85rem;
}
.wpr-stock-tag {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    padding: .3rem .75rem;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 700;
}
.wpr-eco-tag {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-secondary);
    padding: .3rem .75rem;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 700;
}
.wpr-product-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.25;
    margin-bottom: .85rem;
}
.wpr-price-block .ws-price-current { font-size: 1.45rem; }
.wpr-price-block .ws-price-original { font-size: .98rem; }

.wpr-short-desc {
    font-size: .95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Position picker */
.wpr-position-picker {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: #f6f4f0;
    border-radius: 12px;
}
.wpr-picker-label {
    display: block;
    font-size: .88rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .55rem;
}
.wpr-picker-dropdown {
    width: 100%;
    padding: .65rem .85rem;
    border: 2px solid #d5cfc7;
    border-radius: 8px;
    background: #fff;
    font-size: .92rem;
    transition: border-color .2s;
    appearance: auto;
}
.wpr-picker-dropdown:focus { border-color: var(--color-primary); }

/* Add to cart */
.wpr-action-area { margin-bottom: 1.5rem; }
.wpr-cart-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    transition: background .2s, transform .15s;
}
.wpr-cart-btn:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
}
.wpr-cart-btn:active { transform: translateY(0); }
.wpr-cart-feedback {
    text-align: center;
    font-size: .88rem;
    color: #2e7d32;
    font-weight: 600;
    min-height: 1.3em;
    margin-top: .5rem;
}

/* Delivery info */
.wpr-delivery-info {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.wpr-delivery-info li {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .86rem;
    color: #555;
}
.wpr-delivery-info svg { color: var(--color-primary); flex-shrink: 0; }

/* Trust badges row */
.wpr-trust-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .65rem;
    margin-bottom: 1.5rem;
}
.wpr-trust-item {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .6rem .75rem;
    background: #f6f4f0;
    border-radius: 10px;
    font-size: .8rem;
    color: #555;
}
.wpr-trust-item svg { flex-shrink: 0; }

/* Bundle offers */
.wpr-bundles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0 2.5rem;
}
.wpr-bundle-card {
    background: #fff;
    border: 2px solid #e8e3dc;
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    transition: border-color .25s, box-shadow .25s;
}
.wpr-bundle-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 6px 20px rgba(78,52,46,.06);
}
.wpr-bundle-card--full { border-color: var(--color-accent); }
.wpr-bundle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .85rem;
}
.wpr-bundle-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0;
}
.wpr-bundle-badge {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-secondary);
    padding: .25rem .65rem;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.wpr-bundle-badge--best {
    background: var(--color-primary);
    color: #fff;
}
.wpr-bundle-detail {
    font-size: .88rem;
    color: #777;
    line-height: 1.5;
    margin-bottom: .85rem;
}
.wpr-bundle-pricing {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    margin-bottom: 1.25rem;
}
.wpr-bundle-was {
    text-decoration: line-through;
    color: #999;
    font-size: .9rem;
}
.wpr-bundle-now {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-primary);
}
.wpr-bundle-btn {
    width: 100%;
    padding: .8rem 1rem;
    background: var(--color-secondary);
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    font-size: .92rem;
    transition: background .2s, transform .15s;
}
.wpr-bundle-btn:hover {
    background: var(--color-primary);
    transform: translateY(-1px);
}

/* Specifications table */
.wpr-specs-section {
    margin: 2.5rem 0;
}
.wpr-heading-md {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1.25rem;
}
.wpr-specs-table {
    width: 100%;
    border-collapse: collapse;
}
.wpr-specs-table th,
.wpr-specs-table td {
    padding: .75rem 1rem;
    border: 1px solid #e8e3dc;
    text-align: left;
    font-size: .92rem;
}
.wpr-specs-table th {
    background: #f6f4f0;
    font-weight: 600;
    color: var(--color-secondary);
    width: 35%;
}
.wpr-specs-table td { color: #555; }

/* Compatibility notice */
.wpr-compat-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #e8f5e9;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
}
.wpr-compat-notice svg { flex-shrink: 0; margin-top: .1rem; }
.wpr-compat-notice p {
    font-size: .92rem;
    color: #2e7d32;
    line-height: 1.6;
    margin: 0;
}

/* Description section */
.wpr-description {
    padding: 2rem 0;
    border-top: 1.5px solid #e8e3dc;
}
.wpr-prose {
    font-size: .95rem;
    color: #555;
    line-height: 1.75;
}
.wpr-prose p { margin-bottom: .85rem; }
.wpr-prose h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 1.5rem 0 .6rem;
}
.wpr-prose h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 1.25rem 0 .45rem;
}
.wpr-prose ul, .wpr-prose ol { margin: .85rem 0; padding-left: 1.5rem; }
.wpr-prose ul { list-style: disc; }
.wpr-prose ol { list-style: decimal; }
.wpr-prose li { margin-bottom: .4rem; }
.wpr-prose a { text-decoration: underline; }

/* Lifestyle sections */
.wpr-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 2.5rem 0;
}
.wpr-story--media-start {}
.wpr-story--media-end {}
.wpr-story--text-only { grid-template-columns: 1fr; }
.wpr-story-visual img {
    border-radius: 14px;
    width: 100%;
    height: auto;
}
.wpr-story-copy {}

/* Related products */
.wpr-related {
    padding: 2.5rem 0;
    border-top: 1.5px solid #e8e3dc;
}
.wpr-related-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .6rem;
}
.wpr-related-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
    display: block;
    background: #fff;
    border: 1.5px solid #e8e3dc;
    border-radius: 12px;
    overflow: hidden;
    color: var(--color-text);
    transition: transform .25s, box-shadow .25s;
}
.wpr-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(78,52,46,.08);
    color: var(--color-text);
}
.wpr-related-img {
    width: 100%;
    aspect-ratio: var(--image-ratio);
    object-fit: cover;
}
.wpr-related-name {
    font-family: var(--font-heading);
    font-size: .9rem;
    font-weight: 600;
    color: var(--color-secondary);
    padding: .75rem .85rem .35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.wpr-related-card .ws-price-current {
    padding: 0 .85rem .75rem;
    font-size: .88rem;
}
.wpr-related-card .ws-price-group {
    padding: 0 .85rem .75rem;
}

/* Subcategories / sibling categories on product page */
.wpr-subcats,
.wpr-also-like {
    padding: 2rem 0;
    border-top: 1.5px solid #e8e3dc;
}
.wpr-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}


/* ================================================================
   CATEGORY PAGES
   ================================================================ */
/* Breadcrumb */
.ew-breadcrumb {
    padding: .85rem 0;
    font-size: .84rem;
    color: #888;
}
.ew-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .15rem;
}
.ew-breadcrumb__item { display: flex; align-items: center; }
.ew-breadcrumb__item::before {
    content: '/';
    margin: 0 .4rem;
    color: #ccc;
    font-size: .78rem;
}
.ew-breadcrumb__item:first-child::before { display: none; }
.ew-breadcrumb__item a { color: #888; }
.ew-breadcrumb__item a:hover { color: var(--color-primary); }

/* Category list page intro */
.ew-page-intro {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 1rem 0 1.75rem;
}
.ew-page-intro__title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--color-secondary);
}
.ew-page-intro__count {
    font-size: .88rem;
    color: #999;
    background: #f6f4f0;
    padding: .25rem .65rem;
    border-radius: 6px;
}
.ew-make-tiles {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.15rem;
    margin-bottom: 3rem;
}

/* Category hero */
.ew-cat-hero {
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    min-height: 240px;
    display: flex;
    align-items: center;
}
.ew-cat-hero--plain {
    background: linear-gradient(135deg, #f6f4f0 0%, #ebe8e2 100%);
}
.ew-cat-hero__inner {
    padding: 3rem 2.5rem;
    max-width: 640px;
}
.ew-cat-hero__heading {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .65rem;
    line-height: 1.2;
}
.ew-cat-hero--plain .ew-cat-hero__heading { color: var(--color-secondary); }
.ew-cat-hero__text {
    font-size: .98rem;
    color: rgba(255,255,255,.88);
    line-height: 1.7;
}
.ew-cat-hero--plain .ew-cat-hero__text { color: #555; }

/* Subcategories section */
.ew-sub-section {
    margin-bottom: 3rem;
}
.ew-sub-section__heading {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1.25rem;
}
.ew-sub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
}

/* Product listing */
.ew-product-listing {
    margin-bottom: 3rem;
}
.ew-product-listing__items {
    display: grid;
    grid-template-columns: repeat(var(--products-per-row, 3), 1fr);
    gap: 1.25rem;
}
.ew-product-tile {
    background: #fff;
    border: 1.5px solid #e8e3dc;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}
.ew-product-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(78,52,46,.08);
}
.ew-product-tile__link {
    display: block;
    color: var(--color-text);
}
.ew-product-tile__link:hover { color: var(--color-text); }
.ew-product-tile__figure {
    position: relative;
    margin: 0;
    aspect-ratio: var(--image-ratio);
    overflow: hidden;
    background: #f6f4f0;
}
.ew-product-tile__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
}
.ew-product-tile:hover .ew-product-tile__figure img { transform: scale(1.05); }
.ew-product-tile__badge {
    position: absolute;
    top: .75rem;
    left: .75rem;
    background: var(--color-accent);
    color: var(--color-secondary);
    padding: .25rem .6rem;
    border-radius: 5px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.ew-product-tile__body {
    padding: 1.15rem;
}
.ew-product-tile__name {
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: .35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ew-product-tile__desc {
    font-size: .82rem;
    color: #777;
    line-height: 1.5;
    margin-bottom: .45rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ew-product-tile__stars {
    color: var(--color-accent);
    font-size: .9rem;
    letter-spacing: 2px;
    margin-bottom: .35rem;
}
.ew-product-tile__ship {
    display: block;
    font-size: .78rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-top: .45rem;
}
.ew-product-tile__cart {
    display: block;
    width: 100%;
    padding: .75rem;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: .88rem;
    border-top: 1px solid #e8e3dc;
    transition: background .2s;
}
.ew-product-tile__cart:hover { background: var(--color-secondary); }

/* Trust strip */
.ew-trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 0;
    margin: 1.5rem 0;
    background: #f6f4f0;
    border-radius: 14px;
}
.ew-trust-strip__item {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .86rem;
    color: var(--color-secondary);
    font-weight: 500;
}
.ew-trust-strip__icon {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
}

/* Related categories */
.ew-related-cats {
    margin: 2.5rem 0;
}
.ew-related-cats__heading {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}
.ew-related-cats__list {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}
.ew-related-cats__tag {
    display: inline-block;
    padding: .5rem 1.15rem;
    background: #fff;
    border: 1.5px solid #e8e3dc;
    border-radius: 24px;
    font-size: .86rem;
    color: var(--color-secondary);
    font-weight: 500;
    transition: border-color .2s, background .2s;
}
.ew-related-cats__tag:hover {
    border-color: var(--color-primary);
    background: #faf8f5;
    color: var(--color-primary);
}


/* ================================================================
   CAR SELECTOR PAGE
   ================================================================ */
.wb-trail {
    padding: .85rem 0;
    font-size: .84rem;
}
.wb-trail-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .15rem;
}
.wb-trail-item { display: flex; align-items: center; }
.wb-trail-item::before {
    content: '/';
    margin: 0 .4rem;
    color: #ccc;
}
.wb-trail-item:first-child::before { display: none; }
.wb-trail-item a { color: #888; }
.wb-trail-item a:hover { color: var(--color-primary); }
.wb-trail-current { color: var(--color-secondary); }

.wb-finder-banner {
    text-align: center;
    padding: 2.5rem 0 3rem;
    border-bottom: 2px solid var(--color-accent);
    margin-bottom: 2.5rem;
}
.wb-finder-banner-inner { max-width: 640px; margin: 0 auto; }
.wb-finder-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .75rem;
}
.wb-finder-intro {
    font-size: 1.02rem;
    color: #555;
    line-height: 1.7;
}

.wb-value-strip {
    margin-bottom: 2.5rem;
}
.wb-value-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
}
.wb-value-item {
    display: flex;
    align-items: center;
    gap: .55rem;
}
.wb-value-icon { flex-shrink: 0; }
.wb-value-label {
    font-size: .88rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.wb-makes-section {
    margin-bottom: 3rem;
}
.wb-makes-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.wb-makes-heading {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-secondary);
}
.wb-makes-count {
    font-size: .88rem;
    color: #999;
}
.wb-makes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.15rem;
}

.wb-eco-banner {
    background: #f6f4f0;
    border-radius: 14px;
    padding: 1.75rem 2rem;
    margin-bottom: 2.5rem;
}
.wb-eco-banner-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 640px;
    margin: 0 auto;
}
.wb-eco-icon { flex-shrink: 0; }
.wb-eco-text {
    font-size: .92rem;
    color: #555;
    line-height: 1.65;
}


/* ================================================================
   STATIC PAGES (ep- prefix)
   ================================================================ */
.ep-trail {
    padding: .85rem 0 .5rem;
    font-size: .84rem;
}
.ep-trail-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .15rem;
}
.ep-trail-item { display: flex; align-items: center; }
.ep-trail-item::before {
    content: '/';
    margin: 0 .4rem;
    color: #ccc;
}
.ep-trail-item:first-child::before { display: none; }
.ep-trail-link { color: #888; }
.ep-trail-link:hover { color: var(--color-primary); }
.ep-trail-current { color: var(--color-secondary); }

.ep-document {
    max-width: 860px;
    margin: 0 auto;
    padding: 1.5rem 0 4rem;
}
.ep-document-banner {
    text-align: center;
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid var(--color-accent);
}
.ep-document-heading {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .85rem;
}
.ep-document-accent {
    width: 50px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    margin: 0 auto;
}
.ep-document-content {}
.ep-prose {
    font-size: .97rem;
    color: #444;
    line-height: 1.8;
}
.ep-prose h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 2rem 0 .65rem;
}
.ep-prose h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 1.5rem 0 .5rem;
}
.ep-prose p { margin-bottom: .85rem; }
.ep-prose ul, .ep-prose ol { margin: .85rem 0; padding-left: 1.5rem; }
.ep-prose ul { list-style: disc; }
.ep-prose ol { list-style: decimal; }
.ep-prose li { margin-bottom: .4rem; }
.ep-prose a { text-decoration: underline; }
.ep-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.15rem 0;
}
.ep-prose th, .ep-prose td {
    padding: .6rem .85rem;
    border: 1px solid #e8e3dc;
    text-align: left;
    font-size: .9rem;
}
.ep-prose th { background: #f6f4f0; font-weight: 600; }


/* ================================================================
   CART PAGE (cart.py legacy classes)
   ================================================================ */
.breadcrumb {
    padding: .85rem 0;
    font-size: .84rem;
    color: #888;
}
.breadcrumb a { color: #888; }
.breadcrumb a:hover { color: var(--color-primary); }

#cart-container {
    min-height: 120px;
    margin-bottom: 1.75rem;
}

/* DO NOT DELETE — Cart component CSS */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}
.cart-item {
    display: flex;
    gap: 1.15rem;
    padding: 1.15rem;
    background: #fff;
    border-radius: 12px;
    border: 1.5px solid #e8e3dc;
    align-items: center;
}
.cart-item-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}
.cart-item-details { flex: 1; }
.cart-item-details h3 {
    font-size: 1.02rem;
    margin-bottom: 4px;
}
.cart-item-attr {
    font-size: .85rem;
    color: #777;
    margin-bottom: 4px;
}
.cart-item-price {
    font-weight: 600;
    color: var(--color-primary);
}
.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.qty-control {
    display: flex;
    align-items: center;
    border: 1.5px solid #d5cfc7;
    border-radius: 8px;
    overflow: hidden;
}
.qty-btn {
    background: #f6f4f0;
    border: none;
    width: 34px;
    height: 34px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.qty-btn:hover { background: #e8e3dc; }
.qty-value {
    width: 38px;
    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: #f6f4f0;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1.5px solid #e8e3dc;
    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 #d5cfc7;
    padding-top: 12px;
    margin-top: 8px;
    font-size: 1.15rem;
}
.cart-discount-row { color: var(--color-primary); font-weight: 600; }
.checkout-discount-row { color: var(--color-primary); font-weight: 600; }
.checkout-grand-total {
    border-top: 2px solid #d5cfc7;
    padding-top: 10px;
    margin-top: 6px;
    font-size: 1.1rem;
}
.cart-empty {
    text-align: center;
    padding: 3rem;
    color: #999;
    font-size: 1.1rem;
}
.cart-actions {
    margin-top: 1.75rem;
    display: flex;
    gap: .85rem;
    flex-wrap: wrap;
}

/* Shared buttons */
.btn {
    display: inline-block;
    padding: .7rem 1.35rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: .92rem;
    text-align: center;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.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;
}


/* ================================================================
   CHECKOUT PAGE (checkout.py legacy classes)
   ================================================================ */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 3rem;
    padding: 1.5rem 0 3rem;
    align-items: start;
}
.checkout-form-section {}
.checkout-summary-section {
    background: #f6f4f0;
    border-radius: 14px;
    padding: 1.5rem;
    position: sticky;
    top: 80px;
}
.checkout-form-section h2,
.checkout-summary-section h2 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .85rem;
}
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    margin-bottom: 1.75rem;
}
.form-row { display: flex; gap: .85rem; }
.form-row-half { }
.form-group {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    flex: 1;
}
.form-group label {
    font-size: .84rem;
    font-weight: 600;
    color: var(--color-secondary);
}
.form-input {
    padding: .65rem .85rem;
    border: 2px solid #d5cfc7;
    border-radius: 10px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(46,125,50,.08);
}

/* Card element */
.card-element-wrapper {
    margin-bottom: 1.25rem;
}
.card-element-wrapper label {
    display: block;
    font-size: .84rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: .4rem;
}
.card-input {
    padding: .75rem .85rem;
    border: 2px solid #d5cfc7;
    border-radius: 10px;
    background: #fff;
    min-height: 44px;
}
.card-errors {
    font-size: .82rem;
    color: #dc3545;
    margin-top: .4rem;
}

.btn-checkout {
    width: 100%;
    padding: .95rem 1.5rem;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.02rem;
    cursor: pointer;
    transition: background .2s;
}
.btn-checkout:hover { background: var(--color-secondary); }
.btn-checkout:disabled { opacity: .5; cursor: not-allowed; }

.checkout-feedback {
    font-size: .88rem;
    color: #2e7d32;
    min-height: 1.3em;
    margin-top: .55rem;
}
.checkout-loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(250,250,245,.88);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 300;
    gap: 1.15rem;
}
.loading-spinner {
    width: 42px;
    height: 42px;
    border: 4px solid #e8e3dc;
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: ws-spin .7s linear infinite;
}
@keyframes ws-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: .85rem 1.15rem;
    border-radius: 10px;
    font-size: .88rem;
    margin-top: .85rem;
}
#checkout-summary-container {
    font-size: .9rem;
    line-height: 1.55;
}


/* ================================================================
   THANK YOU PAGE
   ================================================================ */
.thank-you-section {
    text-align: center;
    padding: 4rem 0 3rem;
    max-width: 560px;
    margin: 0 auto;
}
.thank-you-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.thank-you-section h1 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: .85rem;
}
.thank-you-message {
    font-size: 1.02rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.thank-you-order {
    background: #f6f4f0;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}
.thank-you-email {
    font-size: .92rem;
    color: #777;
    margin-bottom: 2rem;
}


/* ================================================================
   404 PAGE (inline styles in template — base support)
   ================================================================ */
.err-page { text-align: center; padding: 4rem 0 2rem; }
.err-code {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(5rem, 12vw, 9rem);
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    letter-spacing: -.04em;
    margin-bottom: .5rem;
}
.err-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--color-secondary);
    margin: 0 0 1rem;
    font-weight: 700;
}
.err-desc {
    max-width: 520px;
    margin: 0 auto 1.5rem;
    font-size: 1.05rem;
    color: var(--color-text);
    line-height: 1.7;
    opacity: .85;
}
.err-hint {
    max-width: 480px;
    margin: 0 auto 2rem;
    font-size: .95rem;
    color: var(--color-text);
    opacity: .7;
    line-height: 1.6;
}
.err-home-btn {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: .85rem 2.5rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .15s;
    margin-bottom: 3.5rem;
}
.err-home-btn:hover {
    background: var(--color-secondary);
    color: #fff;
    transform: translateY(-2px);
}
.err-divider {
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    margin: 0 auto 2.5rem;
    border: none;
    border-radius: 2px;
}
.err-browse-label {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--color-text);
    opacity: .55;
    margin-bottom: .75rem;
}
.err-browse-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--color-secondary);
    margin: 0 0 2rem;
    font-weight: 600;
}
.err-makes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
}


/* ================================================================
   BLOG — Listing & Article Pages
   ================================================================ */
.blog-listing {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.blog-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid #e8e3dc;
    transition: box-shadow .25s, transform .25s;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    box-shadow: 0 6px 20px rgba(78,52,46,.08);
    transform: translateY(-3px);
}
.blog-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.blog-card-body {
    padding: 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin: 0 0 .55rem;
    line-height: 1.3;
}
.blog-card-title a { color: var(--color-text); }
.blog-card-title a:hover { color: var(--color-primary); }
.blog-card-meta {
    font-size: .85rem;
    color: #777;
    margin-bottom: .85rem;
}
.blog-card-excerpt {
    font-size: .95rem;
    color: #555;
    line-height: 1.65;
    flex: 1;
}
.blog-card-readmore {
    display: inline-block;
    margin-top: 1.15rem;
    font-weight: 600;
    color: var(--color-primary);
    font-size: .9rem;
}
.blog-card-readmore:hover { text-decoration: underline; }

/* Blog article page */
.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 .85rem;
}
.blog-article-meta {
    font-size: .9rem;
    color: #777;
    margin-bottom: 1.5rem;
}
.blog-article-hero {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 2rem;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.blog-article-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--color-text);
}
.blog-article-content h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.blog-article-content h3 { font-size: 1.25rem; margin: 2rem 0 .85rem; }
.blog-article-content p { margin-bottom: 1.25rem; }
.blog-article-content img { border-radius: 10px; }
.blog-article-content a { color: var(--color-primary); text-decoration: underline; }
.blog-article-content blockquote {
    border-left: 4px solid var(--color-primary);
    margin: 1.75rem 0;
    padding: .85rem 1.35rem;
    background: #f6f4f0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
}
.blog-article-content ul, .blog-article-content ol {
    margin: 1.15rem 0;
    padding-left: 1.5rem;
}
.blog-article-content li { margin-bottom: .55rem; }

/* Blog breadcrumb */
.blog-breadcrumb {
    font-size: .85rem;
    color: #777;
    margin-bottom: 1.5rem;
}
.blog-breadcrumb a { color: #777; }
.blog-breadcrumb a:hover { color: var(--color-primary); }
.blog-breadcrumb .separator { margin: 0 .4rem; }

/* Blog pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .55rem;
    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: 42px;
    height: 42px;
    padding: 0 .85rem;
    border-radius: 10px;
    font-size: .9rem;
    transition: background .2s;
}
.blog-pagination a { background: #f6f4f0; 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) {
    .ws-wrap { padding: 0 1.25rem; }
    .wh-contain { padding: 0 1.25rem; }

    /* Header: mobile drawer nav */
    .ws-mobile-toggle { display: flex; }
    .ws-nav-bar {
        position: fixed;
        top: 0;
        left: -290px;
        width: 290px;
        height: 100%;
        z-index: 101;
        overflow-y: auto;
        transition: left .3s ease;
        padding: 4.5rem 0 2rem;
        flex-direction: column;
    }
    .ws-nav-bar.open { left: 0; }
    .ws-nav-bar .ws-wrap {
        display: flex;
        flex-direction: column;
        padding: 0;
    }
    .ws-menu-link {
        display: block;
        padding: .75rem 1.5rem;
    }
    .ws-menu-parent { display: flex; }
    .ws-menu-sub {
        position: static;
        background: rgba(0,0,0,.15);
        border-radius: 0;
        box-shadow: none;
        min-width: 0;
        padding: 0;
    }
    .ws-menu-group.open .ws-menu-sub { display: block; }
    .ws-menu-group:hover .ws-menu-sub { display: none; }
    .ws-menu-group.open .ws-menu-caret { transform: rotate(180deg); }
    .ws-menu-sub-link {
        padding: .6rem 1.5rem .6rem 2.25rem;
        color: rgba(255,255,255,.7);
    }
    .ws-menu-sub-link:hover { color: #fff; background: rgba(255,255,255,.06); }

    /* Homepage */
    .wh-about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .wh-brands-grid { grid-template-columns: repeat(3, 1fr); }
    .wh-benefits-trio { grid-template-columns: 1fr; gap: 1.25rem; }
    .wh-trust-panels { grid-template-columns: 1fr; gap: 1.15rem; }

    /* Product page */
    .wpr-product-layout { grid-template-columns: 1fr; gap: 2rem; }
    .wpr-media-col { position: static; }
    .wpr-story { grid-template-columns: 1fr; gap: 1.5rem; }
    .wpr-cat-grid { grid-template-columns: repeat(2, 1fr); }

    /* Category page */
    .ew-make-tiles { grid-template-columns: repeat(3, 1fr); }
    .ew-sub-grid { grid-template-columns: repeat(2, 1fr); }
    .ew-product-listing__items { grid-template-columns: repeat(2, 1fr); }

    /* Car selector */
    .wb-makes-grid { grid-template-columns: repeat(3, 1fr); }

    /* Checkout */
    .checkout-layout { grid-template-columns: 1fr; gap: 2rem; }
    .checkout-summary-section { position: static; }

    /* Footer */
    .ws-footer-top { grid-template-columns: 1fr; gap: 2rem; }

    /* Geo prompt */
    .ws-geo-btns { width: auto; }
}


/* ================================================================
   RESPONSIVE — MOBILE (max-width: 600px)
   ================================================================ */
@media (max-width: 600px) {
    .ws-wrap { padding: 0 1rem; }
    .wh-contain { padding: 0 1rem; }

    .wh-hero { min-height: 400px; }
    .wh-hero-shade { padding: 3rem 0; }
    .wh-hero-title { font-size: 1.65rem; }
    .wh-hero-lead { font-size: .95rem; }
    .wh-hero-btns { flex-direction: column; }
    .wh-btn { width: 100%; justify-content: center; }

    .wh-impact-row { gap: 1rem 1.5rem; }
    .wh-impact-num { font-size: 1.2rem; }

    .wh-brands-grid { grid-template-columns: repeat(2, 1fr); }
    .wh-reviews-strip { gap: .85rem; }
    .wh-review { flex: 0 0 260px; padding: 1.25rem; }

    .wpr-trust-row { grid-template-columns: 1fr; }

    .ew-make-tiles { grid-template-columns: repeat(2, 1fr); }
    .ew-product-listing__items { grid-template-columns: 1fr; }
    .ew-cat-hero { min-height: 180px; }
    .ew-cat-hero__inner { padding: 2rem 1.5rem; }
    .ew-cat-hero__heading { font-size: 1.4rem; }

    .wb-makes-grid { grid-template-columns: repeat(2, 1fr); }
    .wb-finder-title { font-size: 1.55rem; }

    .err-makes-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
    .err-page { padding: 2.5rem 0 1.5rem; }

    .form-row { flex-direction: column; }

    .blog-listing { grid-template-columns: 1fr; }
    .blog-article-title { font-size: 1.5rem; }
    .blog-article-content { font-size: 1rem; }
}


/* ================================================================
   WIDE SCREENS (min-width: 600px)
   ================================================================ */
@media (min-width: 600px) {
    .ws-locale-label { display: inline; }
}


/* ================================================================
   PRINT
   ================================================================ */
@media print {
    .ws-topbar, .ws-header, .ws-nav-bar, .ws-vehicle-bar,
    .ws-footer, .ws-nav-shade, .country-banner,
    .wpr-cart-btn, .ws-cart-link,
    .ew-product-tile__cart, .wh-hero-btns,
    .wh-final-cta { display: none !important; }
    body { color: #000; background: #fff; }
    a { color: #000; text-decoration: underline; }
}
