/* ═══════════════════════════════════════════════════════
   JUSTHYB — custom.css  v3 production
   Light theme · Inter font · 1200px container
   ═══════════════════════════════════════════════════════ */

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    background: #f8fafc;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ── Tokens ──────────────────────────────────────────── */
:root {
    /* Layout */
    --container:    1200px;
    --header-h:     56px;
    --radius:       8px;
    --radius-sm:    5px;

    /* Light palette */
    --bg:           #f8fafc;
    --surface:      #ffffff;
    --surface-2:    #f1f5f9;
    --border:       #e2e8f0;
    --border-light: #f1f5f9;

    /* Text */
    --text:         #0f172a;
    --text-2:       #334155;
    --muted:        #64748b;
    --faint:        #94a3b8;

    /* Brand */
    --blue:         #3b82f6;
    --blue-dk:      #2563eb;
    --gold:         #facc15;
    --gold-dk:      #eab308;
    --green:        #25d366;
    --green-dk:     #1da851;

    /* Grade colours */
    --refurb:       #2563eb;
    --asnew:        #059669;
    --new:          #7c3aed;
    --budget:       #d97706;
    --economy:      #64748b;

    /* Make colours */
    --toyota:       #0f172a;
    --lexus:        #1a1a1a;
    --honda:        #1d4ed8;
    --peugeot:      #0055a4;
    --citroen:      #1d4ed8;
}

/* ── Container ───────────────────────────────────────── */
.container {
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}
@media (max-width: 760px) {
    .container { padding-left: 16px; padding-right: 16px; }
}

/* ── Page shell ──────────────────────────────────────── */
#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--bg);
}
#main { flex: 1; }

/* ════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════ */
#masthead {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Logo */
.header-logo a,
.header-logo .custom-logo-link { display: flex; align-items: center; }
.header-logo img.custom-logo   { height: 36px; width: auto; }

/* Fallback logo (before upload) */
.logo-fallback { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-mark {
    width: 32px; height: 32px;
    background: var(--text);
    color: #fff;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: .5px;
    flex-shrink: 0;
}
.logo-text { font-size: 16px; font-weight: 700; color: var(--text); }

/* Nav */
#primary-nav ul {
    display: flex;
    list-style: none;
    gap: 2px;
}
#primary-nav ul li a {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: background .15s, color .15s;
    display: block;
}
#primary-nav ul li a:hover,
#primary-nav ul li.current-menu-item a {
    background: var(--surface-2);
    color: var(--text);
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
    border-radius: var(--radius-sm);
}
.burger {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: opacity .15s, transform .2s;
}

/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
#footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 14px 0;
}
.footer-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-logo { font-size: 13px; font-weight: 700; color: var(--text); }
.footer-copy { font-size: 12px; color: var(--muted); flex: 1; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { font-size: 12px; color: var(--muted); transition: color .15s; }
.footer-links a:hover { color: var(--text); }

/* ════════════════════════════════════════════════════════
   BUTTONS (shared — theme + plugin use these)
════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity .15s, transform .1s;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    font-family: inherit;
}
.btn:hover    { opacity: .88; }
.btn:active   { transform: scale(.98); }
.btn-whatsapp { background: var(--green);   color: #fff; }
.btn-email    { background: var(--text);    color: #fff; }
.btn-blue     { background: var(--blue);    color: #fff; }
.btn-outline  {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--text); background: var(--surface-2); opacity: 1; }
.btn-sm { padding: 7px 13px; font-size: 12px; }

/* ════════════════════════════════════════════════════════
   GRADE LABELS (shared — used in legend + plugin cards)
════════════════════════════════════════════════════════ */
.grade-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}
.grade-label em { font-style: normal; font-weight: 400; opacity: .7; }
.grade-refurb  { background: #dbeafe; color: #1d4ed8; }
.grade-asnew   { background: #d1fae5; color: #065f46; }
.grade-new     { background: #ede9fe; color: #5b21b6; }
.grade-budget  { background: #fef3c7; color: #92400e; }
.grade-economy { background: #f1f5f9; color: #475569; }

/* ════════════════════════════════════════════════════════
   BLOCK PATTERNS
════════════════════════════════════════════════════════ */

/* Trust + CTA strip */
.jh-pattern-trust {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 0 0;
}
.jh-trust-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.jh-trust-badges {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.jh-trust-badge {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 5px;
}
.jh-cta-buttons { display: flex; gap: 8px; flex-wrap: wrap; }

/* Grade legend */
.jh-pattern-grades {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}
.grades-inner { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

/* Contact strip */
.jh-pattern-contact {
    background: var(--text);
    padding: 28px 0;
}
.contact-inner { display: flex; gap: 32px; flex-wrap: wrap; }
.contact-block { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 160px; }
.contact-block strong {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #94a3b8;
    margin-bottom: 2px;
}
.contact-block span { font-size: 13px; color: #cbd5e1; }
.contact-block a    { font-size: 13px; color: #cbd5e1; transition: color .15s; }
.contact-block a:hover { color: #fff; }

/* Wholesale CTA */
.jh-pattern-wholesale-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 40px 0;
}
.jh-wholesale-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.jh-wholesale-cta-text h2 {
    font-size: 20px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 8px;
}
.jh-wholesale-cta-text p {
    font-size: 14px;
    color: #94a3b8;
    max-width: 480px;
}
.jh-pattern-wholesale-cta .btn-outline {
    color: #f1f5f9;
    border-color: #334155;
    white-space: nowrap;
}
.jh-pattern-wholesale-cta .btn-outline:hover {
    background: #1e293b;
    border-color: #64748b;
}

/* ════════════════════════════════════════════════════════
   PAGE CONTENT (Gutenberg output)
════════════════════════════════════════════════════════ */
.entry-content { padding: 32px 0; }
.entry-content h1 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.entry-content h2 { font-size: 20px; font-weight: 700; margin-bottom: 10px; margin-top: 28px; }
.entry-content h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; margin-top: 20px; }
.entry-content p  { color: var(--text-2); margin-bottom: 14px; font-size: 14px; line-height: 1.7; }
.entry-content ul { padding-left: 20px; margin-bottom: 14px; }
.entry-content li { color: var(--text-2); margin-bottom: 6px; font-size: 14px; }
.entry-content a  { color: var(--blue); text-decoration: underline; }

/* ════════════════════════════════════════════════════════
   FAQ SECTION (if added via Gutenberg HTML block)
════════════════════════════════════════════════════════ */
.jh-faq { padding: 40px 0; background: var(--surface); }
.jh-faq h2 { font-size: 18px; font-weight: 700; margin-bottom: 24px; color: var(--text); }
.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.faq-item p  { font-size: 13px; color: var(--muted); line-height: 1.65; }
.faq-item a  { color: var(--blue); text-decoration: underline; }

/* ════════════════════════════════════════════════════════
   WHOLESALE PAGE
════════════════════════════════════════════════════════ */
.page-wholesale { max-width: 800px; margin: 0 auto; padding: 40px 0 60px; }
.page-wholesale h1 { font-size: 26px; font-weight: 700; margin-bottom: 14px; }
.page-wholesale h2 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; }
.page-wholesale p  { color: var(--text-2); margin-bottom: 14px; line-height: 1.7; }
.page-wholesale .btn { margin-top: 12px; }

/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 760px) {
    .menu-toggle { display: flex; }
    #primary-nav { display: none; }
    #primary-nav.nav-open {
        display: block;
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        padding: 12px 16px;
        z-index: 99;
        box-shadow: 0 4px 12px rgba(0,0,0,.08);
    }
    #primary-nav.nav-open ul { flex-direction: column; gap: 2px; }
    #primary-nav.nav-open ul li a { padding: 10px 12px; font-size: 14px; }

    .jh-trust-cta  { flex-direction: column; align-items: flex-start; }
    .jh-trust-badges { gap: 12px; }
    .contact-inner { flex-direction: column; gap: 16px; }
    .jh-wholesale-cta-inner { flex-direction: column; align-items: flex-start; }

    .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
    .footer-copy  { flex: none; }
}

/* ════════════════════════════════════════════════════════
   CONTAINER FIX — ensure catalogue section is contained
════════════════════════════════════════════════════════ */

/* Catalogue section needs container on the wrapper */
#catalogue-section,
.jh-catalogue-wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 20px 24px;
    width: 100%;
}

/* Table image cell — fix cropping */
#jh-battery-table td.col-img {
    width: 80px;
    min-width: 80px;
    max-width: 80px;
    padding: 6px 8px;
    overflow: hidden;
}

#jh-battery-table td.col-price {
    text-align: center !important;
}
.img-placeholder--thumb,
.jh-car-img--thumb {
    width: 68px !important;
    height: 38px !important;
    min-width: 68px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}
.img-placeholder--thumb svg {
    width: 52px;
    height: auto;
}

/* Plugin filter bar needs container too */
#jh-filter-bar .jh-filter-inner,
#jh-filter-bar {
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

@media (max-width: 760px) {
    #catalogue-section,
    .jh-catalogue-wrap {
        padding: 12px 16px;
    }
    #jh-filter-bar {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ════════════════════════════════════════════════════════
   BRAND SECTIONS (SEO content — Toyota, Lexus, Honda etc)
════════════════════════════════════════════════════════ */
.jh-brand-sections {
    padding: 48px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
}
.jh-brand-section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px 40px;
    border-bottom: 1px solid var(--border-light);
}
.jh-brand-section:last-child { border-bottom: none; padding-bottom: 0; }
.jh-brand-section h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}
.jh-brand-section h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
    margin: 16px 0 8px;
}
.jh-brand-section p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 10px;
    max-width: 720px;
}
.jh-error-codes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}
.jh-error-code {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
    border-radius: 4px;
}
.jh-brand-section .jh-resolve {
    font-size: 13px;
    color: var(--asnew);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0;
}

/* ════════════════════════════════════════════════════════
   QUALITY EXPLAINER SECTION
════════════════════════════════════════════════════════ */
.jh-quality-section {
    padding: 48px 0;
    background: var(--surface-2);
    border-top: 1px solid var(--border);
}
.jh-quality-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.jh-quality-inner > h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
}
.jh-quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.jh-quality-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}
.jh-quality-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.jh-quality-card-header .grade-label { font-size: 12px; }
.jh-quality-card h3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.jh-quality-card p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 8px;
}
.jh-quality-card .jh-warranty-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-2);
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2px 8px;
}

/* ════════════════════════════════════════════════════════
   FOOTER — full redesign
════════════════════════════════════════════════════════ */
#footer {
    background: #0f172a;
    color: #cbd5e1;
    margin-top: auto;
}

/* Contact grid */
.footer-contact { padding: 48px 0 40px; border-bottom: 1px solid #1e293b; }
.footer-contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #64748b;
    margin-bottom: 14px;
}
.footer-brand { margin-bottom: 12px; }
.footer-brand img { height: 32px; width: auto; filter: brightness(0) invert(1); opacity: .8; }
.footer-logo-text { font-size: 18px; font-weight: 700; color: #f1f5f9; }
.footer-tagline { font-size: 13px; color: #64748b; line-height: 1.6; max-width: 260px; }

address { font-style: normal; font-size: 13px; line-height: 1.8; color: #94a3b8; }
.footer-note { font-size: 11px; color: #475569; display: block; margin-top: 4px; }

.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links-list li a {
    font-size: 13px;
    color: #94a3b8;
    transition: color .15s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-links-list li a:hover { color: #f1f5f9; }

/* Bottom bar */
.footer-bottom { padding: 16px 0; }
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-copy  { font-size: 12px; color: #475569; }
.footer-credit { font-size: 12px; color: #475569; }
.footer-credit a { color: #3b82f6; transition: color .15s; }
.footer-credit a:hover { color: #60a5fa; }

@media (max-width: 900px) {
    .footer-contact-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 560px) {
    .footer-contact-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-contact { padding: 32px 0 28px; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* ════════════════════════════════════════════════════════
   PAGE HERO (About + standard pages)
════════════════════════════════════════════════════════ */
.page-hero {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 32px 0 28px;
}
.page-hero h1 {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -.3px;
}
.page-content-wrap {
    padding: 36px 0 48px;
    max-width: 760px;
}
.page-content-wrap p  { font-size: 14px; color: var(--text-2); line-height: 1.75; margin-bottom: 16px; }
.page-content-wrap h2 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; }
.page-content-wrap h3 { font-size: 15px; font-weight: 600; margin: 20px 0 8px; }
.page-content-wrap a  { color: var(--blue); text-decoration: underline; }
.page-content-wrap ul { padding-left: 20px; margin-bottom: 16px; }
.page-content-wrap li { font-size: 14px; color: var(--text-2); margin-bottom: 6px; line-height: 1.6; }

/* ════════════════════════════════════════════════════════
   ABOUT PAGE
════════════════════════════════════════════════════════ */
.about-mission {
    background: var(--surface-2);
    border-top: 1px solid var(--border);
    padding: 48px 0;
}
.about-mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.about-mission-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.about-mission-icon { font-size: 24px; display: block; margin-bottom: 12px; }
.about-mission-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.about-mission-card p  { font-size: 13px; color: var(--muted); line-height: 1.65; }

@media (max-width: 700px) {
    .about-mission-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════
   WHOLESALE PAGE
════════════════════════════════════════════════════════ */
.wholesale-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 56px 0 48px;
    border-bottom: 1px solid #1e293b;
}
.wholesale-hero-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}
.wholesale-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #3b82f6;
    margin-bottom: 14px;
    background: rgba(59,130,246,.1);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(59,130,246,.2);
}
.wholesale-hero-text h1 {
    font-size: clamp(22px, 3.5vw, 34px);
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: -.4px;
    line-height: 1.2;
    margin-bottom: 14px;
}
.wholesale-lead {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 28px;
}
.wholesale-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.wholesale-hero-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: rgba(255,255,255,.04);
    border: 1px solid #1e293b;
    border-radius: var(--radius);
    padding: 28px 32px;
    white-space: nowrap;
}
.wholesale-stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #3b82f6;
    line-height: 1;
    margin-bottom: 4px;
}
.wholesale-stat-label { font-size: 12px; color: #64748b; }

.wholesale-section { padding: 52px 0; }
.wholesale-section--alt { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.wholesale-section h2 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 24px; }
.wholesale-section-intro { font-size: 14px; color: var(--muted); margin-bottom: 20px; max-width: 600px; }

.wholesale-offer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.wholesale-offer-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.wholesale-offer-card h3 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.wholesale-offer-card p  { font-size: 13px; color: var(--muted); line-height: 1.65; }

.wholesale-who-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.wholesale-who-list li {
    font-size: 14px;
    color: var(--text-2);
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}
.wholesale-who-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 700;
}

.wholesale-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 36px;
}
.wholesale-step {
    border-left: 3px solid var(--blue);
    padding-left: 20px;
}
.wholesale-step-num {
    font-size: 11px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: .5px;
    display: block;
    margin-bottom: 8px;
}
.wholesale-step h3 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.wholesale-step p  { font-size: 13px; color: var(--muted); line-height: 1.6; }

.wholesale-cta-box {
    background: #0f172a;
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.wholesale-cta-box h3 { font-size: 16px; font-weight: 700; color: #f1f5f9; margin-bottom: 6px; }
.wholesale-cta-box p  { font-size: 13px; color: #64748b; }

.wholesale-seo-content { max-width: 760px; }
.wholesale-seo-content p { font-size: 14px; color: var(--text-2); line-height: 1.75; margin-bottom: 16px; }
.wholesale-seo-content a { color: var(--blue); text-decoration: underline; }

@media (max-width: 760px) {
    .wholesale-hero-inner  { grid-template-columns: 1fr; }
    .wholesale-hero-stats  { flex-direction: row; flex-wrap: wrap; padding: 20px; gap: 16px; }
    .wholesale-offer-grid  { grid-template-columns: 1fr; }
    .wholesale-steps       { grid-template-columns: 1fr; }
    .wholesale-cta-box     { flex-direction: column; align-items: flex-start; }
}

/* ════════════════════════════════════════════════════════
   HERO PATTERN — fix cramped layout
════════════════════════════════════════════════════════ */
.jh-pattern-hero {
    background: var(--surface);
    padding: 40px 0 32px;
    border-bottom: 1px solid var(--border);
}
.jh-hero-h1 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -.5px;
    line-height: 1.2;
    max-width: 700px;
    margin-bottom: 12px;
}
.jh-hero-sub {
    font-size: 15px;
    color: var(--muted);
    max-width: 580px;
    line-height: 1.65;
}

/* ════════════════════════════════════════════════════════
   TRUST STRIP — fix email button
════════════════════════════════════════════════════════ */
.jh-trust-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: var(--text);
    color: #fff;
    font-family: inherit;
    transition: opacity .15s;
    text-decoration: none;
}
.jh-trust-email-btn:hover { opacity: .88; }

/* ════════════════════════════════════════════════════════
   DRAWER HINT — styled properly
════════════════════════════════════════════════════════ */
.jh-drawer-footer-hint {
    padding: 8px 20px 4px;
    background: var(--surface);
    border-top: 1px solid var(--border);
    text-align: center;
}
.jh-drawer-selection-hint {
    font-size: 11px;
    color: var(--budget);
    font-weight: 500;
    min-height: 16px;
    display: block;
}
.jh-drawer-selection-hint:empty { display: none; }

/* ════════════════════════════════════════════════════════
   ABOUT PAGE — add more visual weight
════════════════════════════════════════════════════════ */
.about-intro {
    padding: 48px 0 40px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.about-intro-text h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -.3px;
}
.about-intro-text p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.75;
    margin-bottom: 14px;
}
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.about-stat-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}
.about-stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 6px;
}
.about-stat-label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}

@media (max-width: 700px) {
    .about-intro-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ════════════════════════════════════════════════════════
   SERVICE EXPLAINER PATTERN
════════════════════════════════════════════════════════ */
.jh-pattern-service {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 48px 0;
}
.jh-section-heading {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
}
.jh-service-explainer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.jh-service-explainer-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}
.jh-service-explainer-icon { font-size: 28px; display: block; margin-bottom: 14px; }
.jh-service-explainer-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.jh-service-explainer-card p  { font-size: 13px; color: var(--text-2); line-height: 1.65; margin-bottom: 14px; }
.jh-service-list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.jh-service-list li { font-size: 13px; color: var(--text-2); }
.jh-service-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 3px 8px;
}
@media (max-width: 640px) {
    .jh-service-explainer-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════
   REVIEWS STRIP PATTERN
════════════════════════════════════════════════════════ */
.jh-pattern-reviews {
    background: var(--surface-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
}
.jh-reviews-strip {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.jh-reviews-rating { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.jh-stars { display: flex; gap: 2px; }
.jh-reviews-score { font-size: 22px; font-weight: 700; color: var(--text); }
.jh-reviews-count { font-size: 12px; color: var(--muted); }
.jh-reviews-divider { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }
.jh-reviews-quote { flex: 1; min-width: 200px; }
.jh-reviews-quote p    { font-size: 13px; color: var(--text-2); font-style: italic; margin-bottom: 4px; }
.jh-reviews-quote span { font-size: 11px; color: var(--muted); }
@media (max-width: 640px) {
    .jh-reviews-divider { display: none; }
    .jh-reviews-strip { gap: 16px; }
}

/* ════════════════════════════════════════════════════════
   PAGE CTA BANNER PATTERN
════════════════════════════════════════════════════════ */
.jh-pattern-page-cta {
    background: #0f172a;
    padding: 40px 0;
}
.jh-page-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.jh-page-cta-text h2 { font-size: 20px; font-weight: 700; color: #f1f5f9; margin-bottom: 6px; }
.jh-page-cta-text p  { font-size: 13px; color: #64748b; }
.jh-page-cta-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) {
    .jh-page-cta-inner  { flex-direction: column; align-items: flex-start; }
    .jh-page-cta-buttons .btn { flex: 1; justify-content: center; }
}

/* ════════════════════════════════════════════════════════
   REVIEWS PATTERN — updated with real cards
════════════════════════════════════════════════════════ */
.jh-pattern-reviews {
    background: var(--surface-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 48px 0;
}
.jh-reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}
.jh-reviews-rating { display: flex; align-items: center; gap: 10px; }
.jh-stars { display: flex; gap: 2px; }
.jh-reviews-score {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}
.jh-reviews-count { font-size: 13px; color: var(--muted); }
.jh-reviews-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
    transition: opacity .15s;
}
.jh-reviews-link:hover { opacity: .75; }

.jh-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.jh-review-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.jh-review-card--cta {
    background: var(--text);
    border-color: var(--text);
    align-items: flex-start;
    justify-content: space-between;
}
.jh-review-card--cta .jh-review-stars { color: #f59e0b; }
.jh-review-cta-text {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    flex: 1;
}
.jh-review-card--cta .btn-outline {
    color: #f1f5f9;
    border-color: #334155;
    margin-top: auto;
}
.jh-review-card--cta .btn-outline:hover {
    background: #1e293b;
    border-color: #94a3b8;
}

.jh-review-stars { color: #f59e0b; font-size: 14px; letter-spacing: 1px; }
.jh-review-text {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.65;
    font-style: italic;
    flex: 1;
}
.jh-review-meta { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.jh-review-name   { font-size: 13px; font-weight: 600; color: var(--text); }
.jh-review-detail { font-size: 11px; color: var(--muted); }

@media (max-width: 900px) {
    .jh-reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
    .jh-reviews-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════
   LOGO — new text design
════════════════════════════════════════════════════════ */
.logo-link { display: flex; align-items: center; gap: 0; text-decoration: none; }
.logo-text-block { display: flex; flex-direction: column; gap: 1px; }
.logo-main {
    font-size: 18px;
    font-weight: 800;
    color: #facc15;
    letter-spacing: -.5px;
    line-height: 1;
    text-transform: uppercase;
}
.logo-com {
    color: #fff;
    font-size: 12px;
    font-weight: 400;
}
.logo-tagline {
    font-size: 9px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .8px;
    line-height: 1;
}
/* Override header background for logo visibility */
#masthead { background: #0f172a; border-bottom: 1px solid #1e293b; }
.header-inner { background: #0f172a; }
#primary-nav ul li a { color: #94a3b8; }
#primary-nav ul li a:hover,
#primary-nav ul li.current-menu-item a { background: #1e293b; color: #f1f5f9; }
.menu-toggle .burger { background: #f1f5f9; }

/* ════════════════════════════════════════════════════════
   CAR HOVER PREVIEW
════════════════════════════════════════════════════════ */
.jh-battery-row { position: relative; }
.jh-row-preview {
    display: none;
    position: absolute;
    left: 90px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: 8px;
    pointer-events: none;
}
.jh-row-preview img,
.jh-row-preview .img-placeholder--detail {
    width: 220px;
    height: 130px;
    border-radius: 4px;
    object-fit: cover;
}
.jh-battery-row:hover .jh-row-preview { display: block; }
.jh-row-preview-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-align: center;
    margin-top: 5px;
}

/* ════════════════════════════════════════════════════════
   DRAWER — wider on desktop, prices side by side
════════════════════════════════════════════════════════ */
#jh-battery-drawer { width: 560px; }

.jh-drawer-grades-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
}

/* Service options horizontal */
.jh-service-options { grid-template-columns: 1fr 1fr; gap: 10px; }
.jh-service-btn { padding: 14px 12px; }

@media (max-width: 760px) {
    #jh-battery-drawer { width: 100%; }
    .jh-service-options { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════
   DYNAMIC REVIEWS — updated styles
════════════════════════════════════════════════════════ */
.jh-review-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
}
.jh-review-author {
    display: flex;
    align-items: center;
    gap: 8px;
}
.jh-review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.jh-review-name { font-size: 13px; font-weight: 600; color: var(--text); }
.jh-review-time { font-size: 11px; color: var(--muted); margin-top: 1px; }
.jh-review-stars {
    display: flex;
    gap: 1px;
    margin-bottom: 8px;
}
.jh-review-skeleton {
    background: linear-gradient(90deg, var(--faint) 25%, var(--border) 50%, var(--faint) 75%);
    background-size: 200% 100%;
    animation: jh-shimmer 1.5s infinite;
    min-height: 140px;
}
@keyframes jh-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ════════════════════════════════════════════════════════
   WHOLESALE GRID — updated (no pricing column)
════════════════════════════════════════════════════════ */
.jh-wholesale-grid-header {
    grid-template-columns: 110px 1fr 120px 1fr;
}
.jh-wholesale-row {
    grid-template-columns: 110px 1fr 120px 1fr;
}

/* ════════════════════════════════════════════════════════
   COLOR FIXES — remove red from non-error contexts
════════════════════════════════════════════════════════ */

/* Make badges — professional, no red */
.jh-make-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .4px;
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border);
}
.make-toyota  { background: #f1f5f9; color: #0f172a; border-color: #cbd5e1; }
.make-lexus   { background: #f8fafc; color: #0f172a; border-color: #cbd5e1; }
.make-honda   { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.make-peugeot { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.make-citroen { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }

/* Bestseller — no fire, use a star */
.jh-bestseller {
    display: inline-block;
    font-size: 10px;
    margin-right: 3px;
}

/* jh-resolve — was green with checkmark, keep that */
.jh-resolve {
    font-size: 13px;
    color: #065f46;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0;
}

/* Footer logo — same as header */
.footer-logo-text {
    font-size: 18px;
    font-weight: 800;
    color: #facc15;
    letter-spacing: -.5px;
    line-height: 1;
    text-transform: uppercase;
}
.footer-logo-com {
    color: #fff;
    font-size: 12px;
    font-weight: 400;
}
.footer-logo-tagline {
    font-size: 9px;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: .8px;
    line-height: 1;
    display: block;
    margin-top: 2px;
}

/* Footer headings — p instead of h4 */
.footer-col-heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #64748b;
    margin-bottom: 14px;
}

/* Wholesale CTA btn-outline override */
.jh-pattern-wholesale-cta .btn-outline-light,
.wholesale-hero .btn-outline-light {
    color: #f1f5f9 !important;
    border: 1.5px solid #94a3b8 !important;
    background: transparent !important;
}
.jh-pattern-wholesale-cta .btn-outline-light:hover,
.wholesale-hero .btn-outline-light:hover {
    background: #1e293b !important;
    border-color: #f1f5f9 !important;
}

/* ════════════════════════════════════════════════════════
   FOOTER LOGO — matches header exactly
════════════════════════════════════════════════════════ */
.footer-logo-main {
    font-size: 20px;
    font-weight: 800;
    color: #facc15;
    letter-spacing: -.5px;
    line-height: 1;
    text-transform: uppercase;
}
.footer-logo-com {
    color: #fff;
    font-size: 13px;
    font-weight: 400;
}
.footer-logo-tagline {
    font-size: 9px;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-top: 3px;
}

/* ════════════════════════════════════════════════════════
   HEADER LOGO — fixed width, hover effect, no overflow
════════════════════════════════════════════════════════ */
.logo-link {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
    transition: opacity .15s, transform .15s;
}
.logo-link:hover { opacity: .88; transform: scale(1.02); }

.logo-text-block { display: flex; flex-direction: column; gap: 1px; }

.logo-main {
    font-size: 20px;
    font-weight: 800;
    color: #facc15;
    letter-spacing: -.5px;
    line-height: 1;
    white-space: nowrap;
}
.logo-com {
    color: #ffffff;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
}
.logo-tagline {
    font-size: 8px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1;
    white-space: nowrap;
    /* Constrain so it never exceeds the logo width */
    max-width: 130px;
    overflow: hidden;
}

/* ════════════════════════════════════════════════════════
   REVIEWS CAROUSEL
════════════════════════════════════════════════════════ */
.jh-pattern-reviews {
    background: var(--surface-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 32px 0;
    overflow: hidden;
}
.jh-reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.jh-reviews-rating { display: flex; align-items: center; gap: 10px; }
.jh-stars { display: flex; gap: 2px; }
.jh-reviews-score { font-size: 24px; font-weight: 700; color: var(--text); line-height: 1; }
.jh-reviews-count { font-size: 13px; color: var(--muted); }
.jh-reviews-link { font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; }
.jh-reviews-link:hover { opacity: .75; }

/* Carousel track — full bleed, scrollable */
.jh-carousel-wrap {
    overflow: hidden;
    width: 100%;
    cursor: grab;
}
.jh-carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: scroll;
    scroll-behavior: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 4px 24px 8px;
}
.jh-carousel-track::-webkit-scrollbar { display: none; }

/* Review cards */
.jh-review-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    min-width: 300px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    transition: box-shadow .15s;
}
.jh-review-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }

.jh-review-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.jh-review-author { display: flex; align-items: center; gap: 8px; }
.jh-review-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.jh-review-name { font-size: 13px; font-weight: 600; color: var(--text); }
.jh-review-time { font-size: 11px; color: var(--muted); }
.jh-review-stars { display: flex; gap: 1px; }
.jh-review-text {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.6;
    flex: 1;
}

/* Skeleton loading */
.jh-review-skeleton {
    min-width: 300px;
    min-height: 160px;
    background: linear-gradient(90deg, var(--surface-2) 25%, var(--border) 50%, var(--surface-2) 75%);
    background-size: 200% 100%;
    animation: jh-shimmer 1.5s infinite;
    border: 1px solid var(--border);
}
@keyframes jh-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (max-width: 640px) {
    .jh-review-card { min-width: 260px; max-width: 260px; }
    .jh-carousel-track { padding: 4px 16px 8px; }
}

/* ════════════════════════════════════════════════════════
   GALLERY PAGE
════════════════════════════════════════════════════════ */
.jh-gallery-wrap { padding: 36px 0 60px; }

.jh-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.jh-gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface-2);
    cursor: zoom-in;
    aspect-ratio: 4/3;
    border: 1px solid var(--border);
}
.jh-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.jh-gallery-item:hover img { transform: scale(1.04); }
.jh-gallery-zoom {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,.55);
    color: #fff;
    border-radius: 6px;
    padding: 4px 6px;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity .2s;
}
.jh-gallery-item:hover .jh-gallery-zoom { opacity: 1; }
.jh-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    color: #fff;
    font-size: 12px;
    padding: 20px 10px 8px;
    margin: 0;
}
.jh-gallery-empty {
    padding: 60px 0;
    text-align: center;
    color: var(--muted);
}

/* Gallery lightbox */
#jh-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}
#jh-gallery-lightbox.open { opacity: 1; pointer-events: all; }
#jh-gallery-lb-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.95);
    z-index: 9998;
}
#jh-gallery-lb-overlay.open { display: block; }
#jh-gallery-lb-img-wrap {
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
#jh-gallery-lb-img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
#jh-gallery-lb-caption {
    color: #94a3b8;
    font-size: 13px;
    text-align: center;
    margin: 0;
}
#jh-gallery-lb-close {
    position: fixed;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
    padding: 8px;
    opacity: .7;
    transition: opacity .15s;
}
#jh-gallery-lb-close:hover { opacity: 1; }
#jh-gallery-lb-prev,
#jh-gallery-lb-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.1);
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    z-index: 10000;
    padding: 12px 16px;
    border-radius: 8px;
    transition: background .15s;
    line-height: 1;
}
#jh-gallery-lb-prev { left: 12px; }
#jh-gallery-lb-next { right: 12px; }
#jh-gallery-lb-prev:hover,
#jh-gallery-lb-next:hover { background: rgba(255,255,255,.2); }

@media (max-width: 640px) {
    .jh-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    #jh-gallery-lb-prev { left: 4px; }
    #jh-gallery-lb-next { right: 4px; }
}

/* ════════════════════════════════════════════════════════
   REVIEWS CAROUSEL — inside container like other sections
════════════════════════════════════════════════════════ */
.jh-carousel-wrap {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}
.jh-carousel-track {
    padding: 4px 24px 8px;
}

/* ── Make badges with logos ──────────────────────── */
.jh-make-badge img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 4px;
    display: inline-block;
}

/* ════════════════════════════════════════════════════════
   FOOTER SOCIAL ICONS
════════════════════════════════════════════════════════ */
.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-social-link {
    color: #475569;
    display: flex;
    align-items: center;
    transition: color .15s;
    text-decoration: none;
}
.footer-social-link:hover { color: #f1f5f9; }

/* ════════════════════════════════════════════════════════
   GALLERY PAGE
════════════════════════════════════════════════════════ */
.page-hero { background: #fff; border-bottom: 1px solid var(--border); padding: 32px 0 24px; }
.page-hero h1 { font-size: clamp(20px, 3vw, 28px); font-weight: 700; color: var(--text); margin-bottom: 6px; }
.page-hero h2.page-hero-sub,
.page-hero-sub { font-size: 14px; color: var(--muted); font-weight: 400; margin: 0; }

/* ════════════════════════════════════════════════════════
   FOOTER — fix horizontal grid layout
════════════════════════════════════════════════════════ */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 48px 0;
}
.footer-top { background: var(--surface-dark, #0f172a); }
.footer-col--brand .footer-logo-link { text-decoration: none; display: inline-block; margin-bottom: 12px; }
.footer-tagline { font-size: 13px; color: #475569; line-height: 1.6; margin-top: 8px; }
.footer-address { font-style: normal; font-size: 13px; color: #64748b; line-height: 1.8; }
.footer-note { display: block; font-size: 11px; color: #475569; margin-top: 6px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: none;
    transition: color .15s;
}
.footer-links a:hover { color: #f1f5f9; }

/* Footer bottom */
.footer-bottom {
    background: #080f1a;
    border-top: 1px solid #1e293b;
    padding: 16px 0;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-copy { font-size: 12px; color: #475569; }
.footer-credit { font-size: 12px; color: #475569; }
.footer-credit a { color: #60a5fa; text-decoration: none; }
.footer-credit a:hover { color: #93c5fd; }

/* Social icons */
.footer-social { display: flex; align-items: center; gap: 14px; }
.footer-social-link {
    color: #475569;
    display: flex;
    align-items: center;
    transition: color .15s;
    text-decoration: none;
}
.footer-social-link:hover { color: #94a3b8; }

/* Logos under brand section */
.footer-col--brand .footer-makes {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.footer-col--brand .footer-makes img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    opacity: .5;
    filter: grayscale(1);
    transition: opacity .15s;
}
.footer-col--brand .footer-makes img:hover { opacity: .8; }

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding: 36px 0; }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}