/*
Theme Name: Automodz Revamp — Complete
Theme URI: https://automodz.co/
Author: Automodz
Author URI: https://automodz.co/
Description: Complete Automodz WooCommerce redesign with the blue and lime brand system, real dashboard hero, direct product navigation, original product names, and full cart and checkout styling.
Version: 6.5.2
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: automodz-revamp
*/

:root {
  --ink: #071223;
  --muted: #69758a;
  --line: #d9dee8;
  --soft: #f4f6fa;
  --soft-blue: #eef3ff;
  --blue: #2f63ff;
  --lime: #b8ff2c;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 22px 70px rgba(7, 18, 35, .09);
  --shell: min(1600px, calc(100% - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; line-height: 1.55; }
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
.site-shell { width: var(--shell); margin-inline: auto; }
.screen-reader-text { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
.skip-link { position: fixed; left: 12px; top: -60px; background: var(--ink); color: #fff; z-index: 9999; padding: 12px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.topbar { background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 28px; }
.topbar a { color: #fff; opacity: .82; }
.topbar a:hover { opacity: 1; }
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-main { display: grid; grid-template-columns: 220px minmax(0,1fr) auto; align-items: center; gap: 34px; min-height: 92px; }
.custom-logo { max-height: 48px; width: auto; }
.automodz-wordmark { display: inline-flex; align-items: center; gap: 5px; font-size: 24px; letter-spacing: -.05em; font-weight: 800; }
.automodz-wordmark span { font-weight: 500; }
.automodz-wordmark strong { font-weight: 900; }
.automodz-nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 12px; }
.automodz-nav-list > li { position: relative; }
.automodz-nav-list > li > a, .nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 18px; border: 0; background: transparent; color: var(--ink); font-weight: 750; cursor: pointer; border-radius: 13px; }
.automodz-nav-list > li > a:hover, .nav-dropdown-toggle:hover { background: var(--soft); }
.automodz-nav-list .menu-shop > a { color: #fff; background: var(--blue); }
.automodz-nav-list .menu-shop > a:hover { background: #204edf; }
.automodz-dropdown { position: absolute; left: 0; top: calc(100% + 8px); width: 340px; margin: 0; padding: 10px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s ease; }
.has-dropdown:hover .automodz-dropdown, .has-dropdown.dropdown-open .automodz-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.automodz-dropdown a { display: block; padding: 12px 14px; border-radius: 10px; font-weight: 650; }
.automodz-dropdown a:hover { background: var(--soft); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions button, .cart-link { height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 13px; padding: 0 13px; color: var(--ink); cursor: pointer; }
.header-actions svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cart-count { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 999px; color: #fff; background: var(--ink); font-size: 11px; font-weight: 800; }
.header-search { border-top: 1px solid var(--line); background: #fff; }
.header-search .site-shell { padding-block: 14px; }
.search-form { display: flex; gap: 10px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; }
.search-form button { min-width: 110px; border: 0; border-radius: 12px; color: #fff; background: var(--ink); font-weight: 800; cursor: pointer; }
.mobile-menu-toggle { display: none; }

.eyebrow { margin: 0 0 14px; color: var(--blue); font-size: 13px; line-height: 1.2; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 22px; border-radius: 12px; font-weight: 800; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-dark { background: var(--ink); color: #fff; }
.button-light { background: #fff; color: var(--ink); border: 1px solid #aeb7c8; }
.button-blue { background: var(--blue); color: #fff; border: 0; }

.home-hero { overflow: hidden; background: linear-gradient(120deg,#fff 44%,#eef3ff 100%); border-bottom: 1px solid var(--line); }
.hero-grid { min-height: 650px; display: grid; grid-template-columns: 1.04fr .96fr; gap: 64px; align-items: center; padding-block: 72px; }
.hero-copy h1 { max-width: 790px; margin: 0; font-size: clamp(58px, 6.4vw, 108px); line-height: .9; letter-spacing: -.07em; font-weight: 520; }
.hero-lede { max-width: 700px; margin: 30px 0 0; color: var(--muted); font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; color: #4c596e; font-size: 13px; font-weight: 750; }
.hero-benefits span::before { content: "✓"; margin-right: 7px; color: var(--blue); }
.hero-visual { position: relative; }
.hero-image-card { position: relative; min-height: 520px; display: grid; place-items: center; padding: 56px; background: #fff; border: 1px solid var(--line); border-radius: 34px; box-shadow: var(--shadow); }
.hero-image-card img { max-height: 390px; width: 100%; object-fit: contain; }
.visual-label { position: absolute; padding: 9px 12px; color: #fff; background: var(--ink); border-radius: 8px; font-size: 11px; font-weight: 900; letter-spacing: .15em; }
.visual-label-top { left: 28px; top: 28px; }
.visual-label-bottom { right: 28px; bottom: 28px; background: var(--blue); }
.hero-visual-caption { display: flex; justify-content: space-between; gap: 24px; margin: 14px 12px 0; color: var(--muted); font-size: 13px; }
.hero-visual-caption strong { color: var(--ink); }

.fitment-section { padding: 94px 0 60px; }
.section-heading { margin-bottom: 36px; }
.section-heading h2 { margin: 0; font-size: clamp(44px, 5vw, 78px); line-height: .98; letter-spacing: -.055em; font-weight: 530; }
.split-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: end; }
.split-heading > p { max-width: 520px; margin: 0 0 8px; color: var(--muted); font-size: 17px; }
.fitment-form { display: grid; grid-template-columns: 1fr 1fr .8fr auto; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.fitment-form label { min-width: 0; display: flex; flex-direction: column; padding: 18px 20px; border-right: 1px solid var(--line); }
.fitment-form label span { margin-bottom: 8px; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.fitment-form select, .fitment-form input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-weight: 700; }
.fitment-form .button { border-radius: 0; min-width: 180px; }
.fitment-note { margin: 14px 2px 0; color: var(--muted); font-size: 13px; }
.fitment-note.is-alert { color: #ad3f15; }

.trust-strip { padding: 22px 0 84px; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.trust-grid > div { position: relative; min-height: 140px; padding: 24px; border-right: 1px solid var(--line); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid span { position: absolute; right: 18px; top: 18px; color: #a4afc0; font-size: 12px; font-weight: 900; }
.trust-grid strong { display: block; font-size: 17px; }
.trust-grid p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.bestseller-feature { background: var(--ink); color: #fff; }
.bestseller-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; min-height: 620px; padding-block: 72px; }
.bestseller-copy .eyebrow { color: var(--lime); }
.bestseller-copy h2 { max-width: 650px; margin: 0; font-size: clamp(48px, 5vw, 84px); line-height: .95; letter-spacing: -.06em; font-weight: 520; }
.bestseller-copy > p:not(.eyebrow) { max-width: 610px; margin: 26px 0 0; color: #bdc7d8; font-size: 18px; }
.bestseller-copy .button { margin-top: 28px; background: #fff; color: var(--ink); }
.feature-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.feature-meta > span { padding: 8px 10px; border: 1px solid #344157; border-radius: 8px; color: #dce3ef; font-size: 12px; font-weight: 850; }
.feature-meta .price { color: #fff; }
.bestseller-image { position: relative; display: grid; place-items: center; min-height: 440px; padding: 40px; background: #fff; border-radius: 28px; }
.bestseller-image img { max-height: 370px; object-fit: contain; }
.bestseller-image > span { position: absolute; left: 18px; bottom: 18px; padding: 8px 10px; border-radius: 7px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .12em; }

.featured-products { padding: 106px 0; }
.priority-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.priority-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.priority-media { position: relative; min-height: 360px; display: grid; place-items: center; padding: 42px 28px 24px; background: linear-gradient(135deg,#f6f8fc,#eef0f5); }
.priority-media img { width: 100%; max-height: 265px; object-fit: contain; mix-blend-mode: multiply; }
.priority-badge { position: absolute; left: 16px; top: 16px; padding: 9px 11px; border-radius: 7px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.priority-number { position: absolute; right: 16px; top: 18px; color: #a4afc0; font-size: 11px; font-weight: 900; }
.priority-body { padding: 24px; }
.priority-eyebrow { min-height: 34px; margin: 0 0 8px; color: var(--blue); font-size: 11px; line-height: 1.4; font-weight: 900; letter-spacing: .08em; }
.priority-body h3 { min-height: 64px; margin: 0; font-size: 18px; line-height: 1.34; font-weight: 560; }
.priority-body h3 a:hover { color: var(--blue); }
.priority-price-row { min-height: 72px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.priority-price { font-size: 23px; font-weight: 850; white-space: nowrap; }
.priority-price del { color: #9aa5b5; font-size: 13px; font-weight: 500; }
.priority-price ins { text-decoration: none; }
.priority-price-row > span { color: var(--muted); font-size: 11px; font-weight: 800; text-align: right; }
.priority-link { margin-top: 14px; min-height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; background: var(--soft); border-radius: 9px; font-size: 13px; font-weight: 850; }
.priority-link span { color: var(--blue); font-size: 18px; }
.section-cta { margin-top: 30px; text-align: right; font-weight: 850; }
.section-cta a { color: var(--blue); }

.upgrade-paths { padding: 0 0 106px; }
.path-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.path-grid a { position: relative; min-height: 270px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .18s ease; }
.path-grid a:hover { background: var(--soft); }
.path-grid a > span { position: absolute; right: 22px; top: 22px; color: #a4afc0; font-size: 12px; font-weight: 900; }
.path-grid small { display: block; margin-bottom: 36px; color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.path-grid strong { display: block; font-size: 28px; letter-spacing: -.03em; }
.path-grid p { max-width: 320px; margin: 10px 0 0; color: var(--muted); }
.path-grid em { position: absolute; right: 24px; bottom: 20px; color: var(--blue); font-style: normal; font-size: 26px; }

.automodz-standard { padding: 100px 0; background: var(--soft); }
.standard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.standard-grid h2 { margin: 0; font-size: clamp(56px, 6vw, 92px); line-height: .92; letter-spacing: -.06em; font-weight: 520; }
.standard-lede { max-width: 690px; margin: 26px 0 0; color: var(--muted); font-size: 18px; }
.standard-points { border-top: 1px solid var(--line); }
.standard-points > div { display: grid; grid-template-columns: 50px 180px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.standard-points span { color: var(--blue); font-size: 12px; font-weight: 900; }
.standard-points strong { font-size: 17px; }
.standard-points p { margin: 0; color: var(--muted); }

.seo-copy-section { padding: 104px 0; }
.seo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.seo-grid h2 { max-width: 680px; margin: 0; font-size: clamp(48px, 5vw, 78px); line-height: .98; letter-spacing: -.055em; font-weight: 520; }
.seo-grid > div:last-child { color: var(--muted); font-size: 18px; }
.seo-grid a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.faq-section { padding: 100px 0; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.faq-section .section-heading h2 { font-size: clamp(48px, 5vw, 78px); }
.faq-section .section-heading > p:last-child { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 52px 1fr 28px; align-items: center; gap: 12px; padding: 22px 0; font-weight: 750; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { color: var(--blue); font-size: 12px; }
.faq-item summary b { font-size: 22px; font-weight: 400; text-align: center; transition: transform .18s ease; }
.faq-item[open] summary b { transform: rotate(45deg); }
.faq-item > div { padding: 0 40px 20px 64px; color: var(--muted); }
.faq-item p { margin: 0; }

.fitment-cta { padding: 76px 0; background: var(--ink); color: #fff; }
.fitment-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.fitment-cta .eyebrow { color: var(--lime); }
.fitment-cta h2 { margin: 0; font-size: clamp(42px, 4vw, 68px); line-height: 1; letter-spacing: -.05em; font-weight: 520; }
.fitment-cta p:not(.eyebrow) { margin: 14px 0 0; color: #bdc7d8; }

.site-footer { background: #060f1d; color: #fff; padding: 72px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 60px; }
.footer-brand p { max-width: 330px; color: #aeb9ca; }
.site-footer .automodz-wordmark { color: #fff; }
.site-footer h2 { margin: 0 0 15px; color: #8f9db3; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 9px; }
.site-footer a:hover { color: #a9c1ff; }
.footer-bottom { margin-top: 62px; padding-top: 20px; border-top: 1px solid #263247; display: flex; justify-content: space-between; gap: 20px; color: #8896ab; font-size: 12px; }

.generic-main, .woocommerce-main { min-height: 55vh; }
.content-shell, .woo-shell { padding-block: 64px 100px; }
.narrow-content { max-width: 1050px; }
.compact-page-header, .compact-shop-header { margin-bottom: 42px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.compact-page-header h1, .compact-shop-header h1 { margin: 0; font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -.055em; font-weight: 540; }
.compact-shop-header { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.compact-shop-header p:last-child { max-width: 650px; margin: 0; color: var(--muted); }
.page-content, .single-content { font-size: 17px; }
.page-content h2, .single-content h2 { font-size: 34px; letter-spacing: -.03em; }
.page-content a, .single-content a { color: var(--blue); text-decoration: underline; }
.single-thumbnail { margin-bottom: 34px; }
.error-page { padding-block: 120px; }
.error-page h1 { margin: 0; font-size: clamp(56px, 7vw, 100px); line-height: .9; letter-spacing: -.06em; font-weight: 520; }
.post-list { display: grid; gap: 18px; }
.post-card { padding: 26px; border: 1px solid var(--line); border-radius: 16px; }
.post-card h2 { margin-top: 0; }

/* WooCommerce */
.woocommerce .woocommerce-breadcrumb { margin: 0 0 24px; color: var(--muted); font-size: 13px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--ink); }
.woocommerce .woocommerce-result-count { color: var(--muted); }
.woocommerce .woocommerce-ordering select { min-height: 44px; padding: 0 38px 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; margin: 34px 0 0!important; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none!important; }
.woocommerce ul.products li.product { float: none!important; width: auto!important; margin: 0!important; padding: 0 0 18px!important; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.woocommerce ul.products li.product a img { aspect-ratio: 1/1; object-fit: contain; padding: 22px; margin: 0 0 18px!important; background: var(--soft); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 18px!important; min-height: 66px; font-size: 16px!important; line-height: 1.35; font-weight: 650; }
.woocommerce ul.products li.product .price { padding: 0 18px; color: var(--ink)!important; font-size: 18px!important; font-weight: 850!important; }
.woocommerce ul.products li.product .button { margin: 10px 18px 0!important; min-height: 44px; background: var(--ink)!important; color: #fff!important; border-radius: 10px!important; }
.woocommerce span.onsale { min-width: 0!important; min-height: 0!important; line-height: 1!important; margin: 12px!important; padding: 9px 10px!important; border-radius: 7px!important; background: var(--blue)!important; font-size: 10px!important; letter-spacing: .08em; }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr); gap: 70px; align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none!important; width: auto!important; margin-bottom: 0!important; }
.woocommerce div.product .product_title { font-size: clamp(38px, 4.3vw, 66px); line-height: .98; letter-spacing: -.05em; font-weight: 540; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink)!important; font-size: 28px!important; font-weight: 850; }
.woocommerce div.product form.cart { margin: 26px 0!important; display: flex; gap: 10px; flex-wrap: wrap; }
.woocommerce .quantity .qty { min-height: 52px; border: 1px solid var(--line); border-radius: 10px; }
.woocommerce div.product form.cart .button { min-height: 52px; padding-inline: 24px; background: var(--blue)!important; border-radius: 10px!important; }
.woocommerce-product-gallery__wrapper { background: var(--soft); border-radius: 18px; overflow: hidden; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 50px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0!important; border-bottom: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none!important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0!important; background: transparent!important; margin: 0 24px 0 0!important; padding: 0!important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 14px 0!important; }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 900px; line-height: 1.7; }
.woocommerce .related.products, .woocommerce .up-sells { grid-column: 1 / -1; margin-top: 50px; }
.woocommerce .related.products > h2, .woocommerce .up-sells > h2 { font-size: 34px; letter-spacing: -.04em; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--blue)!important; background: var(--soft)!important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--blue)!important; }

@media (max-width: 1180px) {
  :root { --shell: min(100% - 40px, 1180px); }
  .header-main { grid-template-columns: 180px minmax(0,1fr) auto; gap: 20px; }
  .automodz-nav-list > li > a, .nav-dropdown-toggle { padding-inline: 12px; font-size: 14px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .hero-image-card { min-height: 430px; }
  .priority-grid, .woocommerce ul.products { grid-template-columns: repeat(2,1fr); }
  .priority-media { min-height: 330px; }
}

@media (max-width: 900px) {
  :root { --shell: calc(100% - 28px); }
  .topbar-inner { justify-content: flex-start; overflow-x: auto; white-space: nowrap; gap: 18px; }
  .header-main { min-height: 72px; grid-template-columns: 1fr auto auto; }
  .mobile-menu-toggle { width: 44px; height: 44px; display: grid; align-content: center; gap: 5px; padding: 10px; border: 1px solid var(--line); background: #fff; border-radius: 10px; }
  .mobile-menu-toggle span:not(.screen-reader-text) { height: 2px; background: var(--ink); }
  .primary-navigation { position: fixed; inset: 111px 0 auto 0; max-height: calc(100vh - 111px); overflow: auto; padding: 14px; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .primary-navigation.is-open { display: block; }
  .automodz-nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .automodz-nav-list > li > a, .nav-dropdown-toggle { width: 100%; justify-content: space-between; padding-inline: 14px; }
  .automodz-dropdown { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; margin-top: 4px; }
  .has-dropdown.dropdown-open .automodz-dropdown { display: block; }
  .header-actions .cart-link span:not(.cart-count) { display: none; }
  .hero-grid, .bestseller-grid, .standard-grid, .seo-grid, .faq-grid, .compact-shop-header { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 56px; min-height: auto; }
  .hero-copy h1 { font-size: clamp(56px, 13vw, 86px); }
  .hero-visual { order: -1; }
  .hero-image-card { min-height: 360px; padding: 42px; }
  .split-heading { grid-template-columns: 1fr; gap: 18px; }
  .fitment-form { grid-template-columns: 1fr 1fr; }
  .fitment-form label { border-bottom: 1px solid var(--line); }
  .fitment-form .button { min-height: 64px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid > div { border-bottom: 1px solid var(--line); }
  .priority-grid, .woocommerce ul.products { grid-template-columns: repeat(2,1fr); }
  .path-grid { grid-template-columns: 1fr; }
  .standard-points > div { grid-template-columns: 42px 150px 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .woocommerce div.product { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 22px); }
  .topbar { font-size: 10px; }
  .header-main { grid-template-columns: 1fr auto auto; gap: 8px; }
  .automodz-wordmark { font-size: 20px; }
  .hero-grid { gap: 28px; padding-block: 28px 52px; }
  .hero-copy h1 { font-size: clamp(50px, 16vw, 74px); }
  .hero-lede { font-size: 17px; }
  .hero-image-card { min-height: 300px; padding: 36px; border-radius: 24px; }
  .hero-visual-caption { flex-direction: column; gap: 4px; }
  .section-heading h2, .bestseller-copy h2, .standard-grid h2, .seo-grid h2, .fitment-cta h2 { font-size: 44px; }
  .fitment-form { grid-template-columns: 1fr; }
  .fitment-form label { border-right: 0; }
  .fitment-form .button { border-radius: 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { border-right: 0; }
  .bestseller-grid { padding-block: 54px; }
  .priority-grid, .woocommerce ul.products { grid-template-columns: 1fr; }
  .priority-media { min-height: 300px; }
  .standard-points > div { grid-template-columns: 36px 1fr; }
  .standard-points p { grid-column: 2; }
  .faq-item summary { grid-template-columns: 36px 1fr 24px; }
  .faq-item > div { padding-left: 48px; }
  .fitment-cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; }
  .woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { float: none!important; }
  .woocommerce .woocommerce-ordering { margin-top: 12px; }
}

/* === PREMIUM REVAMP OVERRIDES === */
.site-header { border-bottom: 0; }
.header-main { min-height: 112px; grid-template-columns: 230px minmax(0,1fr) auto; }
.automodz-nav-list { gap: 14px; }
.automodz-nav-list > li > a,
.automodz-nav-list .nav-dropdown-toggle {
  min-height: 58px;
  padding: 0 18px;
  border-radius: 13px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.automodz-nav-list .menu-shop > a {
  min-height: 66px;
  padding-inline: 22px;
  border-radius: 13px;
  background: var(--blue);
  font-size: 18px;
}
.automodz-dropdown { width: 390px; padding: 12px; }
.automodz-dropdown a { display: grid; gap: 2px; padding: 13px 15px; }
.automodz-dropdown a strong { font-size: 14px; }
.automodz-dropdown a small { color: var(--muted); font-size: 12px; font-weight: 600; }
.demo-home-hero { background: linear-gradient(115deg,#fff 0 54%,#f0f4ff 54% 100%); }
.demo-home-hero .hero-grid { min-height: 720px; padding-block: 78px; }
.demo-home-hero .hero-copy h1 { font-size: clamp(72px,7.1vw,124px); max-width: 900px; }
.demo-home-hero .hero-lede { max-width: 760px; font-size: 20px; line-height: 1.65; }
.hero-kicker {
  margin: 0 0 14px 8px;
  color: #5e6a7d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
}
.hero-kicker span { color: var(--blue); margin-inline: 7px; }
.demo-home-hero .hero-image-card {
  min-height: 560px;
  padding: 60px;
  border-radius: 34px;
  box-shadow: 0 36px 90px rgba(7,18,35,.13);
  isolation: isolate;
  overflow: hidden;
}
.demo-home-hero .hero-image-card::before {
  content: '';
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle,#dbe5ff 0,#eff3ff 55%,transparent 70%);
  z-index: -1;
}
.demo-home-hero .hero-image-card img { max-height: 410px; filter: drop-shadow(0 22px 22px rgba(7,18,35,.14)); }
.hero-orbit { position: absolute; border: 1px solid rgba(47,99,255,.16); border-radius: 999px; z-index: -1; }
.hero-orbit-one { width: 460px; height: 460px; }
.hero-orbit-two { width: 620px; height: 620px; }
.featured-products .split-heading h2 { font-size: clamp(72px,7vw,118px); letter-spacing: -.075em; font-weight: 500; }
.featured-products .split-heading > p { font-size: 17px; line-height: 1.65; }
.priority-grid { gap: 20px; }
.priority-card { border-radius: 18px; }
.priority-media { background: #f4f6fa; min-height: 360px; padding: 32px 28px 26px; }
.priority-media > a { min-height: 292px; display: grid; place-items: center; background: #fff; }
.priority-media img { max-height: 260px; width: 100%; object-fit: contain; padding: 18px; }
.priority-badge { left: 18px; top: 18px; padding: 10px 12px; font-size: 10px; letter-spacing: .14em; }
.priority-number { right: 18px; top: 18px; }
.priority-body { padding: 25px 24px 24px; }
.priority-eyebrow { margin: 0 0 12px; color: var(--blue); font-size: 11px; font-weight: 950; letter-spacing: .08em; }
.priority-body h3 { min-height: 58px; margin: 0; font-size: 18px; line-height: 1.35; font-weight: 550; letter-spacing: -.02em; }
.priority-price-row { min-height: 82px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.priority-price { font-size: 23px; font-weight: 900; }
.priority-price del { color: #a0a9b7; font-size: 12px; font-weight: 700; }
.priority-price ins { text-decoration: none; }
.priority-price-row > span { color: #69758a; font-size: 11px; font-weight: 800; }
.priority-link { min-height: 52px; margin-top: 0; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; border-radius: 8px; background: #f3f5f9; font-size: 13px; font-weight: 900; }
.priority-link span { color: var(--blue); font-size: 18px; }
.fitment-form { box-shadow: 0 20px 50px rgba(7,18,35,.05); }
.bestseller-feature { overflow: hidden; position: relative; }
.bestseller-feature::after { content:''; position:absolute; width:460px; height:460px; right:-150px; top:-130px; border:1px solid #243550; border-radius:50%; }
.compact-shop-header h1 { font-size: clamp(48px,5vw,76px); }
.woocommerce ul.products li.product { box-shadow: 0 12px 40px rgba(7,18,35,.035); }
.woocommerce div.product { padding-top: 18px; }

@media (max-width: 1180px) {
  .header-main { grid-template-columns: 190px minmax(0,1fr) auto; }
  .automodz-nav-list { gap: 4px; }
    .automodz-nav-list > li > a,
  .automodz-nav-list .nav-dropdown-toggle { font-size: 14px; padding-inline: 10px; }
  .automodz-nav-list .menu-shop > a { min-height: 56px; font-size: 15px; }
  }
@media (max-width: 900px) {
        .primary-navigation { inset: 111px 0 auto 0; }
  .demo-home-hero { background: linear-gradient(180deg,#eef3ff 0 44%,#fff 44% 100%); }
  .demo-home-hero .hero-grid { min-height: auto; }
  .demo-home-hero .hero-copy h1 { font-size: clamp(60px,14vw,90px); }
  .hero-kicker { display: none; }
}


/* =========================================================
   AUTOMODZ V3 — COMPLETE WORDPRESS / WOOCOMMERCE COVERAGE
   ========================================================= */

/* Global document and content defaults */
body {
  min-width: 320px;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
main { display: block; }
::selection { background: var(--ink); color: var(--white); }
:focus-visible { outline: 3px solid rgba(47,99,255,.42); outline-offset: 3px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }
blockquote { margin: 28px 0; padding: 8px 0 8px 24px; border-left: 3px solid var(--blue); color: #45536a; font-size: 1.08em; }
pre, code, kbd, samp { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
pre { max-width: 100%; overflow: auto; padding: 18px; border-radius: 12px; background: #0d1727; color: #edf3ff; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; }

/* Header hardening / dropdown polish */
.site-branding { min-width: 0; display: flex; align-items: center; }
.site-branding a { display: inline-flex; align-items: center; }
.primary-navigation { min-width: 0; }
.search-toggle:hover, .cart-link:hover { background: var(--soft); }
.automodz-dropdown { z-index: 150; }
.automodz-dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}
.automodz-dropdown li { margin: 0; }
.automodz-dropdown li + li { border-top: 1px solid #edf0f5; }
.header-search[hidden] { display: none !important; }
.header-search:not([hidden]) { display: block; }

/* Quick navigation should retain the screenshot proportions */

/* Homepage visual refinements */
.home-hero .site-shell,
.featured-products .site-shell,
.fitment-section .site-shell,
.bestseller-feature .site-shell,
.upgrade-paths .site-shell,
.automodz-standard .site-shell,
.seo-copy-section .site-shell,
.faq-section .site-shell,
.fitment-cta .site-shell { position: relative; z-index: 1; }
.demo-home-hero .hero-copy { position: relative; z-index: 2; }
.demo-home-hero .hero-visual { min-width: 0; }
.hero-image-card > a { display: grid; place-items: center; width: 100%; height: 100%; }
.hero-image-card .woocommerce-placeholder { max-height: 380px; object-fit: contain; }
.bestseller-image { overflow: hidden; }
.bestseller-image::before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: #eff3ff;
  z-index: 0;
}
.bestseller-image img { position: relative; z-index: 1; }
.bestseller-image > span { z-index: 2; }
.priority-card { min-width: 0; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.priority-card:hover { transform: translateY(-3px); border-color: #c9d1df; box-shadow: 0 22px 55px rgba(7,18,35,.08); }
.priority-media > a { width: 100%; }
.priority-media a:focus-visible { outline-offset: -3px; }
.priority-price .amount { white-space: nowrap; }
.feature-meta del { opacity: .55; font-size: .8em; }
.feature-meta ins { text-decoration: none; }
.path-grid a { color: var(--ink); }
.path-grid a:focus-visible { outline-offset: -4px; }

/* Generic WordPress content */
.page-content > :first-child,
.single-content > :first-child { margin-top: 0; }
.page-content > :last-child,
.single-content > :last-child { margin-bottom: 0; }
.page-content p,
.single-content p { margin: 0 0 1.15em; }
.page-content h2, .single-content h2,
.page-content h3, .single-content h3,
.page-content h4, .single-content h4 { margin: 1.55em 0 .55em; line-height: 1.08; color: var(--ink); }
.page-content h3, .single-content h3 { font-size: 26px; letter-spacing: -.025em; }
.page-content h4, .single-content h4 { font-size: 20px; }
.page-content ul, .page-content ol,
.single-content ul, .single-content ol { padding-left: 1.25em; }
.page-content li + li, .single-content li + li { margin-top: .4em; }
.page-content img, .single-content img { border-radius: 14px; }
.archive-description { max-width: 760px; margin-top: 18px; color: var(--muted); font-size: 16px; }
.navigation.pagination { margin-top: 42px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.nav-links .page-numbers { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 800; }
.nav-links .page-numbers.current, .nav-links a.page-numbers:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* WordPress block compatibility */
.wp-block-button__link { border-radius: 10px; }
.wp-block-image { margin: 28px 0; }
.wp-block-table { overflow-x: auto; }
.wp-block-table table { min-width: 600px; }
.wp-block-table th, .wp-block-table td { padding: 13px; border: 1px solid var(--line); }
.wp-block-quote { border-left-color: var(--blue); }
.wp-caption { max-width: 100%; }
.wp-caption-text { margin-top: 7px; color: var(--muted); font-size: 12px; }
.alignwide { width: min(1280px, calc(100vw - 40px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }

/* Common forms */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="number"], input[type="search"], textarea, select {
  max-width: 100%;
}
.page-content input[type="text"], .page-content input[type="email"], .page-content input[type="tel"], .page-content input[type="url"], .page-content input[type="password"], .page-content textarea,
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  outline: none;
}
.page-content textarea, .wpcf7 textarea { min-height: 150px; resize: vertical; }
.wpcf7 label { display: grid; gap: 8px; margin-bottom: 16px; font-weight: 700; }
.wpcf7-submit,
.page-content input[type="submit"] { min-height: 50px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 850; cursor: pointer; }
.wpcf7-not-valid-tip { margin-top: 5px; color: #b42318; font-size: 12px; }
.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; }

/* =========================================================
   WOOCOMMERCE COMPLETE COVERAGE
   ========================================================= */
.woocommerce, .woocommerce-page { color: var(--ink); }
.woocommerce a { transition: color .15s ease, background .15s ease, border-color .15s ease; }
.woocommerce .woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-error, .woocommerce-info, .woocommerce-message {
  position: relative;
  margin: 0 0 24px !important;
  padding: 18px 20px 18px 52px !important;
  border: 1px solid var(--line) !important;
  border-top: 3px solid var(--blue) !important;
  border-radius: 12px;
  background: #f8faff !important;
  color: var(--ink) !important;
  list-style: none !important;
}
.woocommerce-error { border-top-color: #c4322e !important; }
.woocommerce-error::before { color: #c4322e !important; }
.woocommerce-error .button, .woocommerce-info .button, .woocommerce-message .button { float: right; margin-top: -6px; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--ink) !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  cursor: pointer;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce #respond input#submit:hover { background: #14233a !important; color: #fff !important; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce #respond input#submit.alt { background: var(--blue) !important; }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover { background: #204edf !important; }

/* Catalogue */
.woocommerce .products ul, .woocommerce ul.products { padding: 0; }
.woocommerce ul.products li.product { position: relative; min-width: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__link { display: block; color: var(--ink); }
.woocommerce ul.products li.product .star-rating { margin: 0 18px 10px !important; color: #f3a51b; }
.woocommerce ul.products li.product .price del { color: #9aa5b5 !important; opacity: 1 !important; font-size: .72em; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .added_to_cart { display: block; margin: 10px 18px 0; color: var(--blue); font-size: 13px; font-weight: 800; }
.woocommerce nav.woocommerce-pagination { margin-top: 44px; }
.woocommerce nav.woocommerce-pagination ul { display: flex; gap: 8px; margin: 0 !important; border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-weight: 800; }
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Single product */
.woocommerce div.product .woocommerce-product-gallery { min-width: 0; }
.woocommerce div.product .woocommerce-product-gallery__image { background: var(--soft); }
.woocommerce div.product .woocommerce-product-gallery__image img { width: 100%; object-fit: contain; }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin-top: 10px !important; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; float: none !important; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff; }
.woocommerce div.product div.images .flex-control-thumbs img { aspect-ratio: 1/1; object-fit: contain; padding: 6px; }
.woocommerce div.product .summary { min-width: 0; padding-top: 4px; }
.woocommerce div.product .summary .woocommerce-product-details__short-description { margin: 22px 0; color: #59667a; font-size: 16px; line-height: 1.7; }
.woocommerce div.product .product_meta { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 7px; color: var(--muted); font-size: 12px; }
.woocommerce div.product .product_meta a { color: var(--ink); font-weight: 700; }
.woocommerce div.product form.cart .variations { width: 100%; margin-bottom: 14px; }
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td { display: block; padding: 0 0 8px !important; }
.woocommerce div.product form.cart .variations label { font-weight: 850; }
.woocommerce div.product form.cart .variations select { width: 100%; min-height: 50px; padding: 0 40px 0 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.woocommerce div.product form.cart .reset_variations { display: inline-block; margin-top: 7px; color: var(--blue); font-size: 12px; font-weight: 800; }
.woocommerce div.product .single_variation_wrap { width: 100%; }
.woocommerce div.product .woocommerce-variation-price { margin-bottom: 12px; }
.woocommerce div.product .stock { color: #287a43; font-weight: 750; }
.woocommerce div.product .out-of-stock { color: #b42318; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink) !important; box-shadow: inset 0 -2px 0 var(--blue); }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { font-size: 34px; letter-spacing: -.035em; }
.woocommerce div.product .woocommerce-tabs .panel table { margin: 24px 0; border: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs .panel th,
.woocommerce div.product .woocommerce-tabs .panel td { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs .panel th { width: 35%; background: var(--soft); }

/* Reviews */
.woocommerce #reviews #comments ol.commentlist { padding: 0; }
.woocommerce #reviews #comments ol.commentlist li { margin: 0 0 18px; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { margin: 0 !important; padding: 20px !important; border: 1px solid var(--line) !important; border-radius: 12px !important; }
.woocommerce #reviews #comments ol.commentlist li img.avatar { display: none; }
.woocommerce #review_form_wrapper { margin-top: 32px; }
.woocommerce #review_form #respond textarea { width: 100%; min-height: 140px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.woocommerce p.stars a { color: #f3a51b; }

/* Cart */
.woocommerce-cart .woocommerce-main .woo-shell,
.woocommerce-checkout .woocommerce-main .woo-shell,
.woocommerce-account .woocommerce-main .woo-shell { max-width: 1380px; }
.woocommerce table.shop_table { margin: 0 0 28px !important; border: 1px solid var(--line) !important; border-collapse: separate !important; border-spacing: 0; border-radius: 14px !important; overflow: hidden; background: #fff; }
.woocommerce table.shop_table th { padding: 15px 16px !important; background: var(--soft); color: #536076; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.woocommerce table.shop_table td { padding: 16px !important; border-top: 1px solid var(--line) !important; vertical-align: middle !important; }
.woocommerce table.shop_table td.product-thumbnail { width: 96px; }
.woocommerce table.shop_table td.product-thumbnail img { width: 72px !important; height: 72px; object-fit: contain; border-radius: 8px; background: var(--soft); }
.woocommerce table.shop_table td.product-name a { font-weight: 800; }
.woocommerce-cart table.cart td.actions { padding: 18px !important; }
.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 8px; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 180px !important; min-height: 46px; margin: 0 !important; padding: 0 12px !important; border: 1px solid var(--line) !important; border-radius: 9px; }
.woocommerce .cart-collaterals { margin-top: 34px; }
.woocommerce .cart-collaterals .cart_totals { float: none; width: min(100%, 760px) !important; margin-inline: auto; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.woocommerce .cart-collaterals .cart_totals h2 { margin-top: 0; font-size: 30px; letter-spacing: -.035em; }
.woocommerce .cart-collaterals .cart_totals table { border: 0; }
.woocommerce .cart-collaterals .cart_totals th,
.woocommerce .cart-collaterals .cart_totals td { padding: 12px 0 !important; border-top: 1px solid var(--line) !important; background: transparent; }
.woocommerce .wc-proceed-to-checkout { padding-bottom: 0 !important; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { width: 100%; min-height: 56px; font-size: 15px !important; }
.woocommerce .cart-empty { margin-top: 20px; font-size: 18px; }

/* Checkout */
.woocommerce form.checkout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(360px,.9fr); gap: 54px; align-items: start; }
.woocommerce form.checkout #customer_details { display: grid; grid-template-columns: 1fr; gap: 26px; }
.woocommerce form.checkout #customer_details .col-1,
.woocommerce form.checkout #customer_details .col-2 { float: none !important; width: 100% !important; }
.woocommerce form.checkout h3 { margin: 0 0 18px; font-size: 28px; letter-spacing: -.035em; }
.woocommerce form .form-row { margin: 0 0 15px; padding: 0; }
.woocommerce form .form-row label { margin-bottom: 6px; color: #334158; font-size: 13px; font-weight: 800; }
.woocommerce form .form-row .required { color: #b42318; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single {
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.woocommerce form .form-row textarea { min-height: 120px; resize: vertical; }
.woocommerce .select2-container .select2-selection--single { padding-top: 9px; }
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px; right: 8px; }
.woocommerce-checkout-review-order { position: sticky; top: 140px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.woocommerce-checkout-review-order-table { background: #fff !important; }
.woocommerce-checkout #payment { margin-top: 18px; border-radius: 12px !important; background: #fff !important; border: 1px solid var(--line); }
.woocommerce-checkout #payment ul.payment_methods { padding: 20px !important; border-bottom: 1px solid var(--line) !important; }
.woocommerce-checkout #payment div.payment_box { border-radius: 9px !important; background: var(--soft) !important; color: #45536a; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--soft) !important; }
.woocommerce-checkout #payment div.form-row { padding: 20px !important; }
.woocommerce-checkout #payment #place_order { width: 100%; min-height: 56px; background: var(--blue) !important; }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { padding: 22px !important; border: 1px solid var(--line) !important; border-radius: 12px !important; }

/* My Account */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 46px; }
.woocommerce-account .woocommerce::before, .woocommerce-account .woocommerce::after { display: none; }
.woocommerce-account .woocommerce-MyAccount-navigation { float: none !important; width: auto !important; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 8px; list-style: none; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 11px 12px; border-radius: 8px; font-weight: 750; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: #fff; color: var(--blue); }
.woocommerce-account .woocommerce-MyAccount-content { float: none !important; width: auto !important; min-width: 0; }
.woocommerce-account .addresses .title h3 { font-size: 24px; }
.woocommerce-account .addresses .title .edit { color: var(--blue); font-weight: 800; }
.woocommerce-account address { padding: 18px; border: 1px solid var(--line); border-radius: 12px; font-style: normal; line-height: 1.7; }

/* Login/register */
.woocommerce .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.woocommerce .col2-set::before, .woocommerce .col2-set::after { display: none; }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { float: none !important; width: 100% !important; }

/* Widgets / legacy Woo blocks if used */
.widget { margin-bottom: 30px; }
.widget-title { margin: 0 0 14px; font-size: 18px; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li + li { margin-top: 8px; }
.widget_product_search form { display: flex; gap: 8px; }
.widget_product_search input[type="search"] { min-height: 44px; flex: 1; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; }
.widget_product_search button { border: 0; border-radius: 9px; padding: 0 14px; background: var(--ink); color: #fff; font-weight: 800; }

/* Empty states */
.wc-block-cart__empty-cart__title,
.wc-block-components-notice-banner,
.woocommerce-info { border-radius: 12px; }

/* Footer resilience */
.footer-grid > * { min-width: 0; }
.site-footer a { color: #fff; }
.site-footer .custom-logo { filter: brightness(0) invert(1); }

/* =========================================================
   RESPONSIVE COMPLETE COVERAGE
   ========================================================= */
@media (max-width: 1320px) {
  .header-main { grid-template-columns: 180px minmax(0,1fr) auto; gap: 16px; }
    .automodz-nav-list { gap: 3px; }
    .automodz-nav-list > li > a,
  .automodz-nav-list .nav-dropdown-toggle { padding-inline: 11px; font-size: 14px; }
  .automodz-nav-list .menu-shop > a { padding-inline: 16px; font-size: 15px; }
  }

@media (max-width: 1020px) {
  .woocommerce form.checkout { grid-template-columns: 1fr; gap: 34px; }
  .woocommerce-checkout-review-order { position: static; }
  .woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 26px; }
  .woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; gap: 6px; }
  .woocommerce-account .woocommerce-MyAccount-navigation li { flex: 0 0 auto; }
  .woocommerce .col2-set { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .header-main { min-height: 72px; }
  .site-branding { min-width: 120px; }
  .primary-navigation { z-index: 200; top: 110px; }
  .automodz-nav-list .menu-shop > a { min-height: 50px; }
  .automodz-dropdown::before { display: none; }
  .automodz-dropdown li + li { border-top: 0; }
    .hero-image-card .visual-label { transform: scale(.9); transform-origin: top left; }
  .woocommerce div.product div.images .flex-control-thumbs { grid-template-columns: repeat(5, minmax(0,1fr)); }
  .woocommerce .cart-collaterals .cart_totals { float: none; width: 100% !important; }
}

@media (max-width: 720px) {
  .woocommerce table.shop_table_responsive tr,
  .woocommerce-page table.shop_table_responsive tr { display: block; padding: 12px 0; }
  .woocommerce table.shop_table_responsive tr td,
  .woocommerce-page table.shop_table_responsive tr td { display: grid; grid-template-columns: minmax(100px, .6fr) 1fr; gap: 12px; align-items: center; padding: 10px 14px !important; text-align: right !important; }
  .woocommerce table.shop_table_responsive tr td::before,
  .woocommerce-page table.shop_table_responsive tr td::before { float: none !important; text-align: left; }
  .woocommerce table.shop_table_responsive tr td.product-thumbnail { display: none; }
  .woocommerce-cart table.cart td.actions .coupon { width: 100%; }
  .woocommerce-cart table.cart td.actions .coupon .input-text { flex: 1; width: auto !important; }
  .woocommerce-cart table.cart td.actions .button { width: 100%; margin-top: 8px; }
}

@media (max-width: 620px) {
  .topbar-inner > *:nth-child(2) { display: none; }
  .header-actions { gap: 5px; }
  .header-actions button, .cart-link { width: 42px; height: 42px; padding: 0; }
  .header-actions .cart-count { position: absolute; transform: translate(13px,-14px); }
  .hero-actions .button { width: 100%; }
  .hero-benefits { display: grid; gap: 8px; }
  .visual-label { font-size: 9px; padding: 7px 8px; }
  .visual-label-top { left: 14px; top: 14px; }
  .visual-label-bottom { right: 14px; bottom: 14px; }
  .bestseller-image { min-height: 330px; padding: 24px; }
  .feature-meta { gap: 7px; }
  .priority-body h3 { min-height: 0; }
  .priority-price-row { min-height: 0; align-items: center; }
  .page-content, .single-content { font-size: 16px; }
  .woocommerce div.product .product_title { font-size: 38px; }
  .woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; overflow-x: auto; white-space: nowrap; }
  .woocommerce div.product .woocommerce-tabs ul.tabs li { flex: 0 0 auto; }
  .woocommerce div.product div.images .flex-control-thumbs { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .woocommerce-error .button, .woocommerce-info .button, .woocommerce-message .button { float: none; width: 100%; margin: 8px 0 0; }
  .woocommerce table.shop_table td { font-size: 14px; }
  .woocommerce form.checkout h3 { font-size: 24px; }
}

/* Print */
@media print {
  body { color: #000; background: #fff; }
  .site-shell { width: 100%; }
  a { color: #000; text-decoration: none; }
}


/* === V4 LATEST FLOW: compact main-product links (no shortcut strip) === */
.main-product-pills { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.main-product-pills a { display:inline-flex; align-items:center; min-height:40px; padding:0 14px; border:1px solid var(--line); border-radius:999px; background:#fff; color:var(--ink); font-size:13px; font-weight:800; }
.main-product-pills a:hover { border-color:var(--blue); color:var(--blue); }
.compact-shop-header .main-product-pills { grid-column:1 / -1; }
.admin-main-product-note { color:var(--muted); }
@media (max-width: 720px) { .main-product-pills { gap:7px; } .main-product-pills a { min-height:36px; padding-inline:11px; font-size:12px; } }

/* =========================================================
   V5 — DIRECT SHOPPING FLOW + RESTRAINED TYPOGRAPHY
   ========================================================= */
.header-main {
  min-height: 92px;
  grid-template-columns: 205px minmax(0,1fr) auto;
  gap: 22px;
}
.automodz-nav-list { justify-content: center; gap: 3px; }
.automodz-nav-list > li > a,
.automodz-nav-list .nav-dropdown-toggle {
  min-height: 48px;
  padding-inline: 12px;
  font-size: 14px;
  white-space: nowrap;
}
.automodz-nav-list .menu-shop > a {
  min-height: 52px;
  padding-inline: 17px;
  font-size: 15px;
}
.automodz-nav-list .menu-product > a:hover { color: var(--blue); }

/* The previous display scale overwhelmed real WooCommerce product names. */
.demo-home-hero .hero-grid { min-height: 650px; padding-block: 64px; }
.demo-home-hero .hero-copy h1 {
  max-width: 760px;
  font-size: clamp(52px, 5.2vw, 82px);
  line-height: .94;
  letter-spacing: -.055em;
}
.demo-home-hero .hero-image-card { min-height: 500px; }
.section-heading h2,
.featured-products .split-heading h2 {
  font-size: clamp(42px, 4vw, 64px);
  line-height: 1;
  letter-spacing: -.05em;
}
.bestseller-copy h2 { font-size: clamp(42px, 4.2vw, 66px); }
.standard-grid h2 { font-size: clamp(46px, 4.8vw, 72px); }
.seo-grid h2,
.faq-section .section-heading h2 { font-size: clamp(40px, 4vw, 60px); }
.fitment-cta h2 { font-size: clamp(38px, 3.8vw, 56px); }
.compact-page-header h1,
.compact-shop-header h1 { font-size: clamp(38px, 4vw, 58px); }

.woocommerce div.product .product_title {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(28px, 2.25vw, 38px);
  line-height: 1.12;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}
.priority-body h3 {
  min-height: 0;
  font-size: 15px;
  line-height: 1.4;
}

@media (max-width: 1180px) {
  .header-main { grid-template-columns: 175px minmax(0,1fr) auto; gap: 10px; }
  .automodz-nav-list > li > a,
  .automodz-nav-list .nav-dropdown-toggle { padding-inline: 8px; font-size: 12.5px; }
  .automodz-nav-list .menu-shop > a { padding-inline: 12px; font-size: 13px; }
}

@media (max-width: 900px) {
  .header-main { min-height: 72px; grid-template-columns: 1fr auto auto; }
  .primary-navigation { inset: 110px 0 auto 0; }
  .automodz-nav-list > li > a { width: 100%; min-height: 50px; justify-content: flex-start; padding-inline: 14px; font-size: 15px; }
  .demo-home-hero .hero-copy h1 { font-size: clamp(48px, 10vw, 68px); }
}

@media (max-width: 620px) {
  .demo-home-hero .hero-copy h1 { font-size: clamp(42px, 13vw, 58px); }
  .section-heading h2,
  .featured-products .split-heading h2,
  .bestseller-copy h2,
  .standard-grid h2,
  .seo-grid h2,
  .faq-section .section-heading h2,
  .fitment-cta h2 { font-size: 38px; }
  .compact-page-header h1,
  .compact-shop-header h1 { font-size: 36px; }
  .woocommerce div.product .product_title { font-size: 28px; line-height: 1.12; }
}

/* =========================================================
   V6 — COMPLETE PREVIEW DESIGN
   ========================================================= */
:root {
  --ink: #08111f;
  --ink-soft: #111e31;
  --blue: #2864ff;
  --blue-deep: #1748d9;
  --lime: #c7ff42;
  --paper: #f4f7fb;
  --soft: #f4f7fb;
  --soft-blue: #edf3ff;
  --mist: #dfe6ef;
  --muted: #657185;
  --line: rgba(8, 17, 31, .12);
  --radius: 14px;
  --shadow: 0 20px 60px rgba(9, 23, 45, .12);
  --shell: min(1180px, calc(100% - 48px));
}

body { background: var(--paper); }

/* Exact preview identity: intentionally independent from the old WP logo. */
.brand-link { display: inline-flex; flex: 0 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  position: relative; width: 38px; height: 38px; display: grid; place-items: center;
  overflow: hidden; border-radius: 9px 3px 9px 3px; background: var(--blue); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}
.brand-mark > span { font-size: 20px; line-height: 1; font-weight: 900; letter-spacing: -.12em; transform: skewX(-7deg); }
.brand-mark i { position: absolute; right: -7px; bottom: 8px; width: 26px; height: 3px; background: var(--lime); transform: rotate(-45deg); }
.brand-word { font-size: 20px; line-height: 1; font-weight: 900; letter-spacing: -.055em; }
.brand-word > span { color: var(--blue); }
.site-footer .brand-word { color: #fff; }
.site-footer .brand-word > span { color: var(--lime); }

.topbar { background: var(--blue); }
.topbar-inner { min-height: 34px; justify-content: space-between; }
.topbar a { opacity: 1; }
.site-header { position: sticky; background: rgba(255,255,255,.97); backdrop-filter: blur(16px); }
.header-main { min-height: 82px; grid-template-columns: 190px minmax(0,1fr) auto; }
.automodz-nav-list { gap: 22px; }
.automodz-nav-list > li > a,
.automodz-nav-list .nav-dropdown-toggle {
  position: relative; min-height: 82px; padding: 0; border-radius: 0; background: transparent; font-size: 14px; font-weight: 720;
}
.automodz-nav-list > li > a::after {
  content: ""; position: absolute; right: 100%; bottom: 20px; left: 0; height: 2px; background: var(--blue); transition: right .2s ease;
}
.automodz-nav-list > li > a:hover { background: transparent; color: var(--ink); }
.automodz-nav-list > li > a:hover::after { right: 0; }
.automodz-nav-list .menu-shop > a {
  min-height: 44px; padding: 0 17px; border-radius: 7px; background: var(--blue); color: #fff; font-size: 14px;
}
.automodz-nav-list .menu-shop > a::after { display: none; }
.automodz-nav-list .menu-shop > a:hover { color: #fff; background: var(--blue-deep); }
.header-actions button, .cart-link { border-radius: 999px; }
.cart-link { border-color: var(--ink); background: var(--ink); color: #fff; }
.cart-link:hover { border-color: var(--ink-soft); background: var(--ink-soft); color: #fff; }
.cart-count { background: var(--lime); color: var(--ink); }

/* Homepage hero copied from the approved preview. */
.home-hero { position: relative; overflow: hidden; border: 0; background: var(--ink); color: #fff; }
.hero-bg-grid {
  position: absolute; inset: 0; opacity: .15;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px);
  background-size: 76px 76px; mask-image: linear-gradient(to right,#000,transparent 82%);
}
.hero-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(100px); opacity: .22; }
.hero-glow-one { top: -250px; left: 38%; background: var(--blue); }
.hero-glow-two { right: -340px; bottom: -340px; background: #00d7ff; }
.demo-home-hero .hero-grid { position: relative; min-height: 715px; grid-template-columns: 1.02fr .98fr; gap: 50px; padding-block: 76px 68px; }
.home-hero .eyebrow { color: #c8d3e3; }
.home-hero .eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--lime); }
.demo-home-hero .hero-copy h1 { max-width: 670px; font-size: clamp(60px,7vw,104px); line-height: .89; letter-spacing: -.075em; font-weight: 850; }
.demo-home-hero .hero-copy h1 em { display: block; color: var(--lime); font-style: normal; }
.home-hero .hero-lede { max-width: 620px; color: #c1ccda; font-size: 17px; line-height: 1.7; }
.home-hero .button-dark { background: var(--lime); color: var(--ink); box-shadow: 0 12px 30px rgba(199,255,66,.13); }
.home-hero .button-light { border-color: rgba(255,255,255,.28); background: transparent; color: #fff; }
.home-hero .hero-benefits { color: #8f9bad; font-size: 11px; }
.home-hero .hero-benefits span::before { color: var(--lime); }
.hero-install { position: relative; display: grid; place-items: center; min-height: 570px; }
.hero-install::before { content: ""; position: absolute; width: 465px; height: 465px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.hero-install::after { content: ""; position: absolute; width: 375px; height: 375px; border: 1px dashed rgba(199,255,66,.24); border-radius: 50%; animation: automodz-rotate 32s linear infinite; }
@keyframes automodz-rotate { to { transform: rotate(360deg); } }
.hero-install-photo {
  position: relative; z-index: 2; width: min(570px,100%); aspect-ratio: 1.08/1; overflow: hidden;
  border: 1px solid rgba(255,255,255,.16); border-radius: 22px 5px 22px 5px; background: #111923; box-shadow: 0 38px 85px rgba(0,0,0,.48);
}
.hero-install-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 48%,rgba(4,9,17,.76)); pointer-events: none; }
.hero-install-photo picture { display: block; width: 100%; height: 100%; }
.hero-install-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }
.install-badge { position: absolute; z-index: 3; top: 18px; left: 18px; display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 4px; background: rgba(8,17,31,.82); backdrop-filter: blur(10px); color: #fff; font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.install-badge i, .product-orbit i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); }
.install-caption { position: absolute; z-index: 3; right: 20px; bottom: 18px; display: grid; gap: 4px; color: #b3c0d2; font-size: 9px; text-align: right; }
.install-caption b { color: #fff; font-size: 10px; letter-spacing: .12em; }
.product-orbit { position: absolute; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(7,17,31,.76); backdrop-filter: blur(10px); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.orbit-one { top: 105px; right: 0; }
.orbit-two { bottom: 90px; left: -20px; }

/* Blue fitment panel and airy service strip. */
.fitment-section { position: relative; z-index: 5; padding: 38px 0 28px; color: #fff; background: var(--blue); box-shadow: 0 18px 50px rgba(24,74,210,.18); }
.fitment-section .section-heading { margin-bottom: 20px; }
.fitment-section .section-heading .eyebrow { display: inline-flex; margin: 0 0 12px; padding: 8px 10px; border-radius: 4px; background: var(--lime); color: var(--ink); font-size: 9px; }
.fitment-section .section-heading h2 { font-size: 36px; font-weight: 800; letter-spacing: -.04em; }
.fitment-section .split-heading > p { color: #dbe5ff; font-size: 13px; }
.fitment-section .fitment-form { gap: 8px; border: 0; border-radius: 0; overflow: visible; background: transparent; }
.fitment-section .fitment-form label { border: 0; border-radius: 6px; background: #fff; }
.fitment-section .fitment-form .button { border-radius: 6px; background: var(--ink); }
.fitment-section .fitment-note { color: #dbe5ff; }
.trust-strip { padding: 52px 0 64px; background: #fff; }
.trust-grid { border-width: 1px 0; border-radius: 0; }
.trust-grid > div { min-height: 112px; padding: 25px 18px; }

/* Campaign, shop cards and content sections. */
.bestseller-feature { padding: 58px 0; background: var(--paper); }
.bestseller-grid { min-height: 530px; gap: 45px; padding: 58px 64px; overflow: hidden; border-radius: 22px; background: radial-gradient(circle at 76% 48%,rgba(40,100,255,.38),transparent 31%),linear-gradient(125deg,#08111f 0%,#101d32 62%,#0b1424 100%); box-shadow: 0 28px 75px rgba(8,17,31,.18); }
.bestseller-copy h2 { font-size: clamp(48px,5.3vw,76px); line-height: .92; font-weight: 850; letter-spacing: -.075em; }
.bestseller-copy > p:not(.eyebrow) { color: #b7c4d5; font-size: 15px; }
.bestseller-copy .button { background: var(--lime); }
.bestseller-image { min-height: 400px; border-radius: 18px 5px 18px 5px; transform: rotate(2deg); box-shadow: 0 35px 70px rgba(0,0,0,.38); }
.featured-products { padding: 82px 0 100px; background: #fff; }
.section-heading h2, .featured-products .split-heading h2 { font-weight: 850; letter-spacing: -.065em; }
.priority-grid { gap: 16px; }
.priority-card { border-radius: 13px; transition: transform .25s ease,box-shadow .25s ease; }
.priority-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.priority-media { min-height: 300px; background: #f4f6fa; }
.priority-body h3 { font-weight: 680; }
.priority-link { border-radius: 5px; background: var(--paper); }
.upgrade-paths { padding-top: 100px; background: var(--paper); }
.path-grid a:nth-child(2) { background: var(--blue); color: #fff; }
.path-grid a:nth-child(2) small, .path-grid a:nth-child(2) em { color: var(--lime); }
.path-grid a:nth-child(2) p { color: #dbe5ff; }
.automodz-standard { color: #fff; background: var(--ink); }
.automodz-standard .eyebrow { color: var(--lime); }
.standard-grid h2 { font-weight: 850; }
.standard-lede, .standard-points p { color: #a9b7ca; }
.standard-points { border-color: rgba(255,255,255,.14); }
.standard-points > div { border-color: rgba(255,255,255,.14); }
.standard-points span { color: var(--lime); }
.seo-copy-section { background: #fff; }
.seo-grid h2 { font-weight: 850; }
.faq-section { color: #fff; border: 0; background: var(--blue); }
.faq-section .eyebrow, .faq-item summary span { color: var(--lime); }
.faq-section .section-heading > p:last-child, .faq-item > div { color: #dbe5ff; }
.faq-list, .faq-item { border-color: rgba(255,255,255,.22); }
.fitment-cta { background: var(--lime); color: var(--ink); }
.fitment-cta .eyebrow { color: var(--blue-deep); }
.fitment-cta p:not(.eyebrow) { color: #354214; }
.fitment-cta .button-blue { background: var(--ink); color: #fff; }

/* Compact inner pages: no oversized decorative hero. */
.generic-main, .woocommerce-main { background: #fff; }
.content-shell, .woo-shell { padding-block: 48px 90px; }
.compact-page-header, .compact-shop-header { margin-bottom: 34px; padding: 0 0 24px; }
.compact-page-header h1, .compact-shop-header h1 { font-weight: 850; }
.main-product-pills a:hover { background: var(--blue); color: #fff; }
.site-footer { background: var(--ink); }

@media (max-width: 1180px) {
  .header-main { grid-template-columns: 165px minmax(0,1fr) auto; }
  .automodz-nav-list { gap: 12px; }
  .automodz-nav-list > li > a { font-size: 12.5px; }
  .demo-home-hero .hero-grid { min-height: 650px; }
}

@media (max-width: 900px) {
  .header-main { grid-template-columns: 1fr auto auto; }
  .primary-navigation { top: 106px; }
  .automodz-nav-list { gap: 3px; }
  .automodz-nav-list > li > a { min-height: 50px; padding: 0 14px; font-size: 15px; }
  .automodz-nav-list .menu-shop > a { min-height: 50px; border-radius: 8px; }
  .automodz-nav-list > li > a::after { display: none; }
  .demo-home-hero .hero-grid { min-height: 0; grid-template-columns: 1fr; padding-block: 64px; }
  .demo-home-hero .hero-visual { order: initial; }
  .demo-home-hero .hero-copy h1 { max-width: 700px; font-size: clamp(54px,10vw,76px); }
  .hero-install { min-height: 520px; }
  .orbit-one { right: 4%; }
  .orbit-two { left: 2%; }
  .bestseller-grid { grid-template-columns: 1fr; padding: 48px; }
  .priority-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 620px) {
  :root { --shell: min(100% - 30px,1180px); }
  .topbar-inner { justify-content: center; }
  .topbar-inner > a:last-child { display: none; }
  .brand { gap: 7px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-word { font-size: 18px; }
  .demo-home-hero .hero-grid { padding-block: 50px 44px; }
  .demo-home-hero .hero-copy h1 { font-size: clamp(45px,14vw,62px); }
  .home-hero .hero-lede { font-size: 15px; }
  .hero-install { min-height: 360px; }
  .hero-install::before { width: 330px; height: 330px; }
  .hero-install::after { width: 270px; height: 270px; }
  .hero-install-photo { width: 94%; }
  .product-orbit { display: none; }
  .fitment-section .split-heading { grid-template-columns: 1fr; gap: 10px; }
  .fitment-section .fitment-form { gap: 8px; }
  .fitment-section .fitment-form label { border: 0; }
  .bestseller-feature { padding: 28px 0; }
  .bestseller-grid { padding: 34px 24px; border-radius: 15px; }
  .bestseller-copy h2 { font-size: 42px; }
  .priority-grid { grid-template-columns: 1fr; }
  .priority-media { min-height: 320px; }
  .upgrade-paths { padding-top: 72px; }
}

/* =========================================================
   V6.1 — TIGHTER HOMEPAGE FLOW + FOOTER SCALE
   ========================================================= */
.demo-home-hero .hero-grid {
  min-height: 590px;
  grid-template-columns: 1.04fr .96fr;
  padding-block: 52px 48px;
}
.demo-home-hero .hero-copy h1 {
  max-width: 620px;
  font-size: clamp(52px,5.6vw,82px);
  line-height: .91;
}
.home-hero .hero-lede { margin-top: 22px; font-size: 16px; }
.home-hero .hero-actions { margin-top: 26px; }
.home-hero .hero-benefits { margin-top: 26px; }
.hero-install { min-height: 470px; }
.hero-install::before { width: 400px; height: 400px; }
.hero-install::after { width: 325px; height: 325px; }
.hero-install-photo { width: min(500px,100%); }
.orbit-one { top: 75px; }
.orbit-two { bottom: 65px; }

.trust-strip { padding: 38px 0 42px; }
.bestseller-feature { padding: 28px 0 18px; }
.bestseller-grid { min-height: 470px; padding: 46px 52px; }
.bestseller-image { min-height: 350px; }
.featured-products { padding: 38px 0 78px; }
.featured-products .section-heading { margin-bottom: 30px; }
.priority-media { min-height: 285px; }
.fitment-section { padding: 42px 0 38px; }
.upgrade-paths { padding-top: 78px; }

.site-footer { padding-top: 58px; }
.site-footer .footer-grid { gap: 44px; }
.site-footer .footer-grid a { font-size: 13px; line-height: 1.45; }
.site-footer .footer-grid > div:nth-child(2) a {
  display: block;
  max-width: 230px;
  color: #c1ccda;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 550;
}
.site-footer .footer-grid > div:nth-child(2) li + li { margin-top: 7px; }

@media (max-width: 900px) {
  .demo-home-hero .hero-grid { min-height: 0; padding-block: 48px 46px; }
  .hero-install { min-height: 440px; }
  .bestseller-grid { padding: 42px; }
  .featured-products { padding-top: 34px; }
}

@media (max-width: 620px) {
  .demo-home-hero .hero-grid { padding-block: 40px 36px; }
  .demo-home-hero .hero-copy h1 { font-size: clamp(42px,13vw,56px); }
  .hero-install { min-height: 330px; }
  .hero-install::before { width: 300px; height: 300px; }
  .hero-install::after { width: 245px; height: 245px; }
  .trust-strip { padding-block: 26px 34px; }
  .bestseller-feature { padding-block: 18px 12px; }
  .bestseller-grid { min-height: 0; padding: 32px 22px; }
  .featured-products { padding: 30px 0 62px; }
  .fitment-section { padding-block: 36px 34px; }
}

/* =========================================================
   V6.2 — MOBILE REPAIR + COMPACT FIAT FEATURE
   ========================================================= */
@media (min-width: 901px) {
  .bestseller-feature { padding: 20px 0 12px; }
  .bestseller-grid {
    min-height: 390px;
    grid-template-columns: 1fr .78fr;
    gap: 38px;
    padding: 34px 42px;
  }
  .bestseller-copy h2 { max-width: 600px; font-size: clamp(40px,4vw,58px); }
  .bestseller-copy > p:not(.eyebrow) { margin-top: 18px; }
  .feature-meta { margin-top: 20px; }
  .bestseller-copy .button { margin-top: 20px; }
  .bestseller-image { min-height: 300px; padding: 28px; }
  .bestseller-image img { max-height: 270px; }
  .featured-products { padding-top: 30px; }
}

.site-footer .footer-grid > div:nth-child(2) a {
  max-width: none;
  color: #d8e0ec;
  font-size: 13px;
  font-weight: 650;
}

@media (max-width: 720px) {
  .demo-home-hero .hero-grid {
    display: block;
    min-height: 0;
    padding-block: 34px 32px;
  }
  .demo-home-hero .hero-visual {
    display: grid !important;
    width: 100%;
    min-height: 0;
    margin-top: 26px;
    place-items: center;
  }
  .hero-install::before,
  .hero-install::after,
  .hero-install .product-orbit { display: none !important; }
  .hero-install-photo {
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 10;
    border-radius: 14px 4px 14px 4px;
    box-shadow: 0 20px 48px rgba(0,0,0,.34);
  }
  .hero-install-photo img { object-position: 52% center; }
  .install-badge { top: 12px; left: 12px; padding: 7px 8px; }
  .install-caption { right: 14px; bottom: 12px; }
  .home-hero .eyebrow { margin-bottom: 16px; font-size: 10px; }
  .demo-home-hero .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(43px,13vw,56px);
    line-height: .91;
    letter-spacing: -.065em;
  }
  .home-hero .hero-lede { margin-top: 20px; font-size: 15px; line-height: 1.58; }
  .home-hero .hero-actions { gap: 9px; margin-top: 22px; }
  .home-hero .hero-actions .button { min-height: 50px; }
  .home-hero .hero-benefits { margin-top: 20px; gap: 6px; font-size: 11px; }
  .home-hero .hero-benefits span::before { margin-right: 6px; }
  .trust-strip { padding: 18px 0 28px; }
  .trust-grid { grid-template-columns: repeat(2,minmax(0,1fr)); border: 1px solid var(--line); border-radius: 11px; }
  .trust-grid > div { min-height: 76px; padding: 14px; }
  .trust-grid > div:nth-child(2n) { border-right: 0; }
  .trust-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
  .trust-grid span { top: 11px; right: 11px; font-size: 9px; }
  .trust-grid strong { max-width: 105px; font-size: 13px; line-height: 1.2; }
  .trust-grid p { display: none; }
}

@media (max-width: 620px) {
  .hero-install { min-height: 0; }
  .bestseller-feature { padding-block: 14px 10px; }
  .bestseller-grid { padding: 28px 19px; }
  .bestseller-copy h2 { font-size: 36px; line-height: .96; }
  .bestseller-copy > p:not(.eyebrow) { margin-top: 18px; font-size: 14px; }
  .bestseller-image { min-height: 260px; margin-top: 8px; padding: 18px; }
  .bestseller-image img { max-height: 225px; }
  .site-footer { padding-top: 42px; }
  .site-footer .footer-grid { gap: 28px; }
  .site-footer .footer-grid > div:nth-child(2) a { font-size: 14px; }
}
