/* Brand colors: true neon green (fills/dark bg only) + a darker readable green for text/links on white */
:root {
    --color-accent: rgba(8, 252, 4, 0.8);
    --color-accent-strong: #146b0c;
}

/* Basic Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; color: #333; background: #f8f9fa; }
a { text-decoration: none; color: #0066cc; }
ul { list-style: none; }
/* Every <img> here carries real width/height attributes (img_attrs() in
   includes/header.php, for CLS prevention). Without this, any rule that sets
   only width (or only aspect-ratio) on an img leaves height pinned to that
   attribute's raw natural pixel value instead of scaling with it — stretching
   the image vertically. This low-specificity rule is overridden wherever a
   fixed height is actually wanted (e.g. .gallery-thumbs .gallery-thumb). */
img { height: auto; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid #eaeaea; padding: 20px 0; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; color: #111; }
.logo span { color: var(--color-accent); }
.main-nav { display: flex; align-items: center; }
.main-nav a { margin-left: 20px; color: #555; font-weight: 500; }
.main-nav a:hover { color: var(--color-accent-strong); }
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown-label { margin-left: 20px; color: #555; font-weight: 500; cursor: pointer; }
.nav-dropdown-menu { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 20px; 
    background: #fff; 
    border: 1px solid #eaeaea; 
    border-radius: 6px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.08); 
    min-width: 140px; 
    padding: 6px 0; 
    z-index: 30; 
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; margin-left: 0; padding: 8px 16px; }
.nav-dropdown-menu a:hover { background: #f8f9fa; }

/* Promo banner */
.promo-banner {
    position: relative;
    z-index: 40;
    background-color: var(--color-accent);
    color: #000;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
}
.promo-break { display: none; }
.countdown { display: inline-flex; align-items: center; gap: 2px; margin-left: 4px; vertical-align: middle; }
.cd-box { background: #111; color: #fff; border-radius: 3px; padding: 1px 5px; font-variant-numeric: tabular-nums; font-weight: 700; min-width: 1.6em; text-align: center; }
.cd-sep { font-weight: 700; }
@media (max-width: 640px) {
    .promo-break { display: block; }
    .promo-banner { line-height: 1.6; }
}

/* Hero */
.hero { text-align: center; padding: 60px 20px; background: #111; color: #fff; }
.hero h1 { font-size: 2.5rem; margin-bottom: 10px; }
.hero-tagline { font-size: 1.2rem; font-style: italic; color: var(--color-accent-strong); margin: 15px 0 20px; font-weight: 500; }

/* Product Grid */
.products-section { padding: 40px 20px; }
.products-section h2 { margin-bottom: 30px; text-align: center; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.card-img img { width: 100%; height: auto; display: block; aspect-ratio: 4/3; object-fit: cover; background: #eee; }
.card-content { padding: 20px; }
.card-content h3, .card-content h4 { margin-bottom: 10px; font-size: 1.17em; }
.price { font-size: 1.25rem; font-weight: bold; color: var(--color-accent-strong); margin-bottom: 15px; }
.features-list { margin-bottom: 20px; font-size: 0.9rem; color: #666; }
.features-list li { margin-bottom: 5px; }
.btn { display: inline-block; background: #111; color: #fff; padding: 10px 20px; border: 0; border-radius: 4px; text-align: center; transition: background 0.2s; cursor: pointer; font-family: inherit; }
.btn:hover { background: #333; color: #fff; }
.btn-secondary { background: #fff; color: #111; border: 1px solid #ccc; }
.btn-secondary:hover { background: #f0f0f0; color: #111; }

/* Coupon UI */
.coupon-group-heading { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; color: #888; margin: 20px 0 8px; }
.coupons-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 0 0 16px; }
.coupon-card { background: #fff; border: 1px dashed var(--color-accent-strong); border-radius: 8px; padding: 16px; text-align: center; }
.coupon-label { font-size: 0.9rem; color: #444; margin-bottom: 10px; }
.coupon-btn-wrap { display: block; position: relative; }
.coupon-reveal-btn { display: inline-block; box-sizing: border-box; background: #d32f2f; color: #fff; border: none; padding: 10px 16px; border-radius: 6px; font-weight: 700; cursor: pointer; font-size: 0.85rem; width: 100%; text-align: center; text-decoration: none; }
.coupon-reveal-btn:hover { background: #b71c1c; color: #fff; }
.coupon-reveal-btn.copied { background: var(--color-accent-strong); }
.copy-toast {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #111;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: normal;
    width: max-content;
    max-width: 220px;
    text-align: center;
    line-height: 1.5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 5;
}
.copy-toast-link { color: var(--color-accent); text-decoration: underline; pointer-events: auto; }
.copy-toast-link:hover { color: #fff; }
.copy-toast::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #111;
}
.copy-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.promo-fallback { background: #fff; border: 1px solid #eaeaea; border-radius: 8px; padding: 20px; margin-bottom: 16px; }
.promo-fallback p { margin-bottom: 10px; color: #333; }
.coupon-cta-link { max-width: 320px; }
.coupon-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.stacking-guide { margin-top: 24px; padding-top: 20px; border-top: 1px solid #eaeaea; }
.stacking-guide h3 { margin-bottom: 10px; font-size: 1rem; }
.stacking-guide ol { list-style: decimal; padding-left: 20px; }
.stacking-guide li { margin-bottom: 6px; font-size: 0.9rem; color: #444; }

/* Product Page */
.product-page { padding: 40px 20px; }
.breadcrumb { margin-bottom: 20px; font-size: 0.9rem; color: #666; }
.breadcrumb a { color: #666; text-decoration: underline; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; min-width: 0; }
.product-gallery { min-width: 0; }
.product-gallery img { width: 100%; border-radius: 8px; background: #eee; }
.main-image-container { min-width: 0; }
.main-image-container img { min-width: 0; max-width: 100%; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; }
.gallery-thumbs .gallery-thumb { width: 70px; height: 70px; flex-shrink: 0; object-fit: cover; border-radius: 6px; cursor: pointer; opacity: 0.6; border: 2px solid transparent; transition: opacity 0.15s, border-color 0.15s; }
.gallery-thumbs .gallery-thumb:hover { opacity: 0.9; }
.gallery-thumbs .gallery-thumb.active { opacity: 1; border-color: var(--color-accent-strong); }
.product-info .label { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; padding: 3px 10px; border-radius: 3px; color: #fff; margin-bottom: 10px; }
.product-info .label.bg-ink { background: #111; }
.tagline { color: #666; font-style: italic; margin-bottom: 10px; }
.product-info .description { color: #444; margin-bottom: 15px; }
.product-video { margin-top: 16px; }
.product-video video { width: 100%; aspect-ratio: 1/1; border-radius: 8px; background: #000; }
.product-video.small video { max-width: 320px; aspect-ratio: 9/16; display: block; }
.video-caption { font-size: 0.85rem; color: #777; margin-top: 8px; }
.price-large { font-size: 2rem; font-weight: bold; color: var(--color-accent-strong); margin: 10px 0; }
.trust-badge { font-size: 0.9rem; color: var(--color-accent-strong); font-weight: 600; margin-bottom: 20px; }

/* Product page — supporting sections */
.product-section { padding: 50px 20px; border-top: 1px solid #eaeaea; }
.product-section.alt-bg { background: #fff; }
.bike-builds-videos { margin-top: 4rem; }
.product-section-inner { max-width: 760px; margin: 0 auto; }
.product-section-inner-wide { max-width: 1100px; margin: 0 auto; }
.full-gallery-stack { display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 700px; margin: 20px auto 0; }
.full-gallery-stack img { width: 100%; display: block; background: #eee; }
.product-section h2 { margin-bottom: 10px; }
.section-lead { color: #555; margin-bottom: 20px; }
.freehub-lookup { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: start; }
.ten-second-test { background: #fff; border: 1px solid #eaeaea; border-radius: 8px; padding: 16px; }
.ten-second-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--color-accent-strong); margin-bottom: 8px; }
.ten-second-test p { margin-bottom: 6px; color: #444; }
.ten-second-result { font-size: 0.95rem; font-weight: 600; }
.ten-second-example { font-size: 0.85rem; color: #666; margin-top: 8px; padding-top: 8px; border-top: 1px solid #eaeaea; }
.freehub-table-wrap { overflow-x: auto; }
.freehub-table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 0.9rem; }
.freehub-table th { text-align: left; padding: 8px 12px 8px 0; border-bottom: 2px solid #111; color: #777; font-weight: 600; }
.freehub-table td { padding: 8px 12px 8px 0; border-bottom: 1px solid #eaeaea; }
.fine-print { font-size: 0.8rem; color: #888; margin-top: 16px; }
.fine-print a { text-decoration: underline; }
.qc-video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 20px 0; }
.qc-video-grid .product-video.small video { max-width: 100%; }
.pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pros-list li, .cons-list li { margin-bottom: 10px; font-size: 0.9rem; color: #444; }
.sources-list li { margin-bottom: 10px; font-size: 0.9rem; }
.sources-list a { text-decoration: underline; }
.listing-highlights { list-style: disc; padding-left: 20px; }
.listing-highlights li { margin-bottom: 12px; font-size: 0.9rem; color: #444; }

@media (max-width: 640px) {
    .freehub-lookup { grid-template-columns: 1fr; }
    .qc-video-grid { grid-template-columns: 1fr; }
    .pros-cons-grid { grid-template-columns: 1fr; }
}
.tech-specs { background: #fff; padding: 20px; border-radius: 8px; border: 1px solid #eaeaea; margin-bottom: 30px; }
.tech-specs h2 { margin-bottom: 15px; border-bottom: 1px solid #eaeaea; padding-bottom: 10px; font-size: 1.3rem; }
.tech-specs li { margin-bottom: 10px; }
.btn-large { display: block; width: 100%; font-size: 1.2rem; padding: 15px; background: var(--color-accent); text-align: center; color: #000; border-radius: 6px; font-weight: bold; }
.btn-large:hover { background: var(--color-accent-strong); color: #fff; }
.buy-note { text-align: center; font-size: 0.85rem; color: #777; margin-top: 10px; }

/* One-time warm-up popup on the home page (e.g. 11.11) */
.promo-popup { margin: auto; border: none; border-radius: 12px; padding: 32px 24px 24px; max-width: 440px; width: calc(100% - 32px); text-align: center; box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
.promo-popup::backdrop { background: rgba(0,0,0,0.55); }
.promo-popup:focus { outline: none; }
.promo-popup-close { position: absolute; top: 8px; right: 12px; background: none; border: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: #555; }
.promo-popup-kicker { font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.8rem; color: var(--color-accent-strong); margin-bottom: 8px; }
.promo-popup h2 { font-size: 1.4rem; margin-bottom: 12px; }
.promo-popup p { margin-bottom: 20px; }
.promo-popup-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.promo-popup-actions .btn { background: var(--color-accent); color: #000; font-weight: 600; }
.promo-popup-actions .btn:hover { background: var(--color-accent-strong); color: #fff; }

/* Cookie consent banner (Consent Mode v2) */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    background: #111;
    color: #fff;
    padding: 16px 20px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
}
.cookie-banner-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cookie-banner p { font-size: 0.9rem; margin: 0; flex: 1 1 320px; }
.cookie-banner a { color: var(--color-accent); }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept-btn { background: var(--color-accent); color: #000; font-weight: 600; }
.cookie-accept-btn:hover { background: var(--color-accent-strong); color: #fff; }
.cookie-banner-actions .btn-secondary { background: transparent; border-color: #555; color: #fff; }
.cookie-banner-actions .btn-secondary:hover { background: rgba(255,255,255,0.1); color: #fff; }
@media (max-width: 640px) {
    .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 12px; }
    /* In a column the 320px flex-basis above becomes a height, not a width. */
    .cookie-banner p { flex-basis: auto; }
    .cookie-banner-actions { width: 100%; }
    .cookie-banner-actions .btn { flex: 1; }
}

/* Sticky "Check Current Price" bar */
.sticky-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    /* Empurrada para cima pelo main.js (adjustStickyCtaForCookieBanner)
       enquanto o banner de cookies estiver visível, para não sobrepor. */
    bottom: var(--cookie-banner-offset, 0px);
    z-index: 100;
    background: #fff;
    border-top: 1px solid #eaeaea;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
    padding: 12px 0;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform 0.25s ease, bottom 0.25s ease;
}
.sticky-cta-bar.visible { transform: translateY(0); }
.sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sticky-cta-name { font-size: 0.85rem; font-weight: 600; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-cta-btn { flex-shrink: 0; padding: 12px 20px; white-space: nowrap; }

@media (max-width: 640px) {
    .sticky-cta-name { display: none; }
    .sticky-cta-inner { justify-content: center; }
    .sticky-cta-btn { width: 100%; text-align: center; }
}

/* Footer */
.site-footer { background: #111; color: #aaa; text-align: center; padding: 40px 20px; margin-top: 60px; }
.site-footer p { margin-bottom: 10px; font-size: 0.9rem; }
.footer-nav { margin: 15px 0; }
.footer-nav a { color: #ccc; margin: 0 12px; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--color-accent); }

@media (max-width: 768px) {
    .product-layout { grid-template-columns: 1fr; }
    .header-flex { flex-direction: column; gap: 15px; }
    .main-nav { justify-content: center; }
    .main-nav a, .main-nav .nav-dropdown-label { margin: 0 10px; text-align: center; }
}

/* Homepage product matrix */
.products-section .page-intro { max-width: 620px; margin: 0 auto 40px; text-align: left; color: #555; }
.product-category-section { margin-bottom: 50px; }
.product-category-section:last-child { margin-bottom: 0; }
.category-heading { font-size: 1.1rem; letter-spacing: 0.08em; color: #888; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid #eaeaea; }
.tier-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.tier-card { display: flex; flex-direction: column; position: relative; }
.tier-card .card-img { display: block; position: relative; }
.tier-card .card-img img { aspect-ratio: 4/5; object-fit: cover; }
.badges-container { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; position: absolute; top: 10px; left: 10px; z-index: 2; max-width: calc(100% - 20px); }
.tier-badge, .promo-badge, .coupon-badge { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; padding: 3px 10px; border-radius: 4px; color: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.35); }
.tier-badge-t-series { background: #555; }
.tier-badge-e-series { background: var(--color-accent); color: #000; }
.tier-badge-p-series { background: #fff; color: #111; }
.promo-badge { background: #d32f2f; }
.coupon-badge { background: var(--color-accent-strong); font-size: 0.62rem; letter-spacing: 0.02em; max-width: 150px; line-height: 1.3; }
.tier-label { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #999; margin-bottom: 4px; }
.tier-card .card-content { display: flex; flex-direction: column; flex: 1; }
.tier-note { font-size: 0.85rem; color: #777; font-style: italic; margin-bottom: 15px; }
.tier-card .btn { margin-top: auto; }
.tier-card.tier-e-series { box-shadow: 0 4px 6px rgba(20,107,12,0.08); border: 1px solid rgba(20,107,12,0.15); }
.tier-card.tier-p-series { box-shadow: 0 4px 6px rgba(0,0,0,0.12); border: 1px solid #111; }
/* A category with a single model (Premium): one centred card, not half a grid. */
.tier-comparison-single { grid-template-columns: minmax(0, 480px); justify-content: center; }

@media (max-width: 640px) {
    .tier-comparison { grid-template-columns: 1fr; }
    .tier-comparison-single { grid-template-columns: 1fr; }
}

/* Bike Builds page */
.featured-build { background: #fff; border: 1px solid #eaeaea; border-radius: 8px; padding: 30px; margin-bottom: 40px; }
.featured-build-header { max-width: 640px; margin-bottom: 20px; }
.featured-build-header h2 { margin: 10px 0 8px; }
.featured-build-header .section-lead { color: #555; }
.featured-build-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 20px; }
.featured-build-gallery img { width: 100%; border-radius: 8px; background: #eee; aspect-ratio: 4/5; object-fit: cover; }
.featured-build-gallery figcaption { font-size: 0.8rem; color: #777; margin-top: 6px; }

.bike-builds-page { padding: 40px 20px; }
.bike-builds-page h1 { margin-bottom: 10px; }
.page-intro { max-width: 720px; color: #555; margin-bottom: 30px; }
.bike-builds-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.bike-build-card { margin: 0; }
.bike-build-card .card-content { padding: 12px 4px; font-size: 0.85rem; color: #555; }
.badge { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; padding: 2px 8px; border-radius: 3px; color: #fff; margin-right: 6px; }
.badge-road { background: #111; }
.badge-gravel { background: #6d4c2b; }
.bike-model { font-weight: 600; color: #222; }
.wheel-size { color: #777; }
.credit-link { display: inline-block; margin-top: 4px; font-size: 0.8rem; color: #777; text-decoration: underline; }
.credit-link:hover { color: var(--color-accent-strong); }
.verified-buyers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin-top: 20px; }
.verified-buyers-grid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; background: #eee; }
.verified-buyers-grid figcaption { font-size: 0.75rem; color: #888; margin-top: 4px; }
.verified-buyers-grid .badge { margin-right: 4px; }
.verified-buyers-grid.collapsed figure:nth-child(n+7) { display: none; }
.buyer-photos-more { display: block; margin: 20px auto 0; }
@media (max-width: 480px) { .verified-buyers-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.submission-cta { margin-top: 50px; padding: 30px; background: #fff; border: 1px dashed var(--color-accent-strong); border-radius: 8px; text-align: center; }
.submission-cta h2 { margin-bottom: 8px; }
.submission-cta a { color: var(--color-accent-strong); font-weight: 600; text-decoration: underline; }

/* Quality Control page */
.qc-page { padding: 40px 20px; max-width: 800px; margin: 0 auto; }
.qc-page h1 { margin-bottom: 10px; }
.qc-page h2 { margin: 40px 0 15px; }
.qc-card-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 20px; }
.qc-card-gallery img { width: 100%; border-radius: 8px; background: #eee; }
.qc-card-gallery figcaption { font-size: 0.85rem; color: #777; margin-top: 8px; }

/* About page */
.about-page, .terms-page { padding: 40px 20px; max-width: 800px; margin: 0 auto; }
.about-page h1, .terms-page h1 { margin-bottom: 20px; }
.about-page h2, .terms-page h2 { margin: 40px 0 15px; }
.prose p { margin-bottom: 15px; color: #444; }
.faq-list { margin-top: 10px; }
.faq-item { padding: 20px 0; border-bottom: 1px solid #eaeaea; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { margin-bottom: 10px; font-size: 1.05rem; color: #111; }
.faq-item p { color: #444; }

/* Blog listing */
.blog-page { padding: 40px 20px; }
.blog-page h1 { margin-bottom: 10px; }
.blog-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 30px; }
.blog-card { display: flex; flex-direction: column; }
.blog-card-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-cluster { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--color-accent-strong); margin-bottom: 8px; }
.blog-card h2, .blog-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.blog-card h2 a, .blog-card h3 a { color: #111; }
/* Home: posts about our own set, after the models */
.our-wheels-section { padding: 0 20px 40px; }
.our-wheels-section h2 { text-align: center; margin-bottom: 10px; }
.our-wheels-section .section-lead { text-align: center; color: #555; }
.blog-dek { color: #666; font-size: 0.9rem; margin-bottom: 12px; flex: 1; }
.blog-meta { font-size: 0.8rem; color: #999; }

/* Blog single */
.blog-single { padding: 40px 20px; max-width: 760px; margin: 0 auto; }
.blog-single .blog-header { margin-bottom: 30px; }
.blog-single .blog-cluster { display: inline-block; margin-bottom: 12px; }
.blog-single h1 { margin-bottom: 12px; font-size: 2rem; }
.blog-single .blog-dek { font-size: 1.1rem; color: #555; margin-bottom: 12px; }
.blog-single .blog-meta { color: #999; }
.blog-body-section { margin-bottom: 30px; }
.blog-body-section h2 { font-size: 1.3rem; margin-bottom: 12px; }
.blog-body-section p { color: #333; margin-bottom: 15px; }
.blog-body-section ul { padding-left: 20px; margin-bottom: 15px; }
.blog-body-section li { list-style: disc; color: #333; margin-bottom: 8px; }
.blog-section-img { display: block; max-width: 320px; width: 100%; border-radius: 8px; background: #eee; margin-bottom: 15px; }

/* Small "which one should I pick" callout, dropped near the top of a
   buying-guide post so a skimming reader gets the gist in 5 seconds. */
.quick-picks { background: #fff; border: 1px solid #eaeaea; border-radius: 8px; padding: 18px 20px; margin-bottom: 20px; }
.quick-picks-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--color-accent-strong); margin-bottom: 10px; }
.quick-pick-item { margin-bottom: 10px; font-size: 0.92rem; color: #444; }
.quick-pick-item:last-child { margin-bottom: 0; }
.quick-pick-item strong { color: #222; }
.blog-media { margin: 30px 0; }
.blog-media figure { margin-bottom: 20px; }
.blog-media img { width: 100%; border-radius: 8px; background: #eee; }
.blog-media video { width: 100%; max-width: 320px; aspect-ratio: 9/16; display: block; border-radius: 8px; background: #000; }
.blog-media figcaption { font-size: 0.85rem; color: #777; margin-top: 8px; }
.blog-sources { margin-top: 40px; padding-top: 20px; border-top: 1px solid #eaeaea; }
.blog-sources h2 { font-size: 1.1rem; margin-bottom: 12px; }
.blog-sources ul { list-style: disc; padding-left: 20px; }
.blog-sources li { margin-bottom: 8px; font-size: 0.9rem; }
.blog-sources a { text-decoration: underline; }
.confidence-tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.02em; color: #999; margin-left: 6px; }
.blog-related { margin-top: 30px; }
.blog-related h2 { font-size: 1.1rem; margin-bottom: 12px; }
.related-products-list { display: flex; flex-wrap: wrap; gap: 10px; }
.related-products-list a { background: #fff; border: 1px solid #eaeaea; padding: 8px 14px; border-radius: 6px; font-size: 0.9rem; color: #111; }
.related-products-list a:hover { border-color: var(--color-accent-strong); color: var(--color-accent-strong); }

@media (max-width: 768px) {
    .blog-single h1 { font-size: 1.5rem; }
}

/* Promo Pricing */
.slashed-price { color: #888; text-decoration: line-through; font-size: 0.65em; margin-right: 12px; font-weight: 500; }
.sale-price { color: #d32f2f; font-weight: 800; }
.slashed-price-small { color: #888; text-decoration: line-through; font-size: 0.85em; margin-right: 6px; font-weight: 500; }
.sale-price-small { color: #d32f2f; font-weight: 800; }
/* No sale live: sale price shown as the upcoming one, under the regular price */
.price + .upcoming-price { margin-top: -10px; }
.upcoming-price { font-size: 0.95rem; color: #555; margin: 0 0 15px; }
.price-large + .upcoming-price { font-size: 1.15rem; margin-top: -4px; }
.next-promo-note { font-size: 0.95rem; color: #555; margin: 0 0 15px; }

/* Vanilla JS Lightbox */
#lightbox {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

#lightbox.active {
    display: flex;
}

#lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.5);
    animation: lightbox-in 0.25s ease-out forwards;
    cursor: default;
}

@keyframes lightbox-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Product Gallery Carousel */
.main-image-container { 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.gallery-arrow { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: rgba(17, 17, 17, 0.5); 
    color: #fff; 
    border: none; 
    font-size: 1.2rem; 
    padding: 12px 16px; 
    cursor: pointer; 
    border-radius: 4px; 
    z-index: 10; 
    transition: background 0.2s, color 0.2s;
}
.gallery-arrow:hover { 
    background: rgba(17, 17, 17, 0.9); 
    color: var(--color-accent); 
}
.prev-arrow { left: 10px; }
.next-arrow { right: 10px; }


/* video */
video {
    width: 100%;
    height: auto;
    max-height: 450px;
    border-radius: 8px;
    display: block;
    background: #000;
}