:root {
  --green: #3fc600;
  --green-dark: #2f9600;
  --ink: #161816;
  --muted: #687068;
  --line: #dfe3df;
  --surface: #f5f7f4;
  --white: #ffffff;
  --danger: #d84836;
  --shadow: 0 22px 60px rgba(14, 20, 14, .14);
  --page-content-width: 1416px;
  --page-gutter: clamp(20px, 5.5vw, 92px);
  --page-inline: max(var(--page-gutter), calc((100vw - var(--page-content-width)) / 2));
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.site-header { height: 82px; padding: 0 var(--page-inline); display: flex; align-items: center; gap: 44px; position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(20,24,20,.08); box-shadow: 0 8px 24px rgba(18,24,18,.04); }
.brand { display: flex; align-items: center; gap: 9px; min-width: 148px; }
.brand img { width: 82px; height: 47px; object-fit: contain; }
.brand span { color: var(--muted); font-size: 14px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; padding-left: 9px; border-left: 1px solid var(--line); }
.main-nav { display: flex; align-items: center; gap: 30px; margin-right: auto; font-size: 15px; font-weight: 650; }
.main-nav a:hover { color: var(--green-dark); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.admin-link { color: var(--muted); font-size: 14px; font-weight: 650; }
.cart-button { border: 0; background: var(--ink); color: #fff; min-height: 45px; padding: 0 8px 0 20px; border-radius: 5px; display: flex; align-items: center; gap: 14px; font-weight: 720; }
.cart-button strong { background: var(--green); color: #102000; border-radius: 4px; min-width: 30px; height: 30px; display: grid; place-items: center; }

.hero { height: min(760px, calc(100vh - 82px)); min-height: 690px; position: relative; overflow: visible; background: #111; color: #fff; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,8,.96) 0%, rgba(8,10,8,.80) 30%, rgba(8,10,8,.12) 72%); }
.hero-inner { position: relative; z-index: 2; width: calc(100% - clamp(40px, 11vw, 184px)); max-width: var(--page-content-width); height: 100%; margin: 0 auto; }
.hero-copy { position: relative; z-index: 2; padding: clamp(64px, 8vh, 92px) 0; width: min(750px, 58vw); }
.eyebrow { color: var(--green); font-size: 13px; line-height: 1; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; }
.eyebrow.dark { color: var(--green-dark); }
.hero h1 { font-size: clamp(48px, 5.8vw, 82px); letter-spacing: -.06em; line-height: .94; margin: 24px 0 26px; font-weight: 790; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-copy p { color: #d2d7d2; font-size: 18px; line-height: 1.65; max-width: 580px; margin: 0 0 36px; }
.primary-button, .secondary-button { border: 0; display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 52px; padding: 0 24px; border-radius: 4px; font-weight: 780; transition: transform .2s ease, background .2s ease; }
.primary-button { background: var(--green); color: #112000; }
.primary-button:hover { background: #4cdd0a; transform: translateY(-1px); }
.primary-button.full { width: 100%; }
.secondary-button { background: var(--ink); color: #fff; }
.hero-proof { position: absolute; z-index: 2; bottom: 132px; left: 0; max-width: 100%; display: flex; flex-wrap: wrap; gap: 10px; }
.proof-item { min-height: 62px; padding: 10px 18px 10px 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(10,13,10,.78); backdrop-filter: blur(14px); display: flex; align-items: center; gap: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.16); }
.proof-icon { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.proof-icon img { width: 20px; height: 20px; }
.proof-copy { display: grid; gap: 3px; }
.proof-copy strong { font-size: 14px; white-space: nowrap; }
.proof-copy span { color: #aeb6ae; font-size: 12px; white-space: nowrap; }

.vehicle-finder { position: absolute; z-index: 5; left: 50%; width: calc(100% - clamp(40px, 11vw, 184px)); max-width: var(--page-content-width); transform: translateX(-50%); bottom: -92px; background: #fff; color: var(--ink); min-height: 154px; padding: 20px 24px 15px; display: grid; grid-template-columns: minmax(235px, .8fr) minmax(0, 3.8fr); gap: 10px 24px; box-shadow: 0 28px 80px rgba(0,0,0,.25); border-radius: 7px; border-top: 4px solid var(--green); }
.finder-intro { display: flex; gap: 14px; align-items: center; }
.finder-intro > div { flex: 1; min-width: 0; }
.finder-icon { width: 52px; height: 52px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: #eaf8e4; }
.finder-icon img { width: 25px; height: 25px; }
.finder-intro .eyebrow { white-space: nowrap; }
.finder-intro h2 { margin: 7px 0 0; font-size: 25px; letter-spacing: -.035em; }
.finder-fields { display: grid; grid-template-columns: minmax(125px, .72fr) repeat(2, minmax(155px, 1fr)) minmax(130px, .72fr) minmax(175px, .9fr); gap: 10px; align-items: end; }
.finder-fields label { display: grid; gap: 8px; position: relative; color: var(--muted); font-size: 13px; font-weight: 700; }
.finder-fields label > span { display: flex; align-items: center; gap: 7px; }
.finder-fields label b { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #edf0ed; color: #555c55; font-size: 11px; }
.finder-fields input, .finder-fields select { height: 54px; border-radius: 3px; border-color: #cbd0cb; font-size: 16px; font-weight: 650; }
.finder-kind select { font-size: 14px; }
.finder-fields input:disabled, .finder-fields select:disabled { background: #f5f6f5; color: #9aa09a; cursor: not-allowed; }
.finder-submit { height: 54px; border: 0; border-radius: 3px; background: var(--green); color: #102000; padding: 0 8px 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-weight: 800; }
.finder-submit i { font-style: normal; font-size: 21px; }
.finder-submit:disabled { background: #e4e7e4; color: #929992; cursor: not-allowed; }
.finder-help { grid-column: 2; margin: 1px 0 0; color: var(--muted); font-size: 12px; }
.finder-help button { border: 0; background: none; color: var(--ink); text-decoration: underline; padding: 0; font-weight: 650; }
.finder-help span { float: right; }
.suggestions { display: none; position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid #ccd1cc; border-radius: 4px; box-shadow: var(--shadow); overflow: hidden; }
.suggestions.open { display: grid; }
.suggestions button { min-height: 43px; padding: 0 13px; border: 0; border-bottom: 1px solid #edf0ed; background: #fff; color: var(--ink); display: flex; justify-content: space-between; align-items: center; text-align: left; font-weight: 650; }
.suggestions button:hover, .suggestions button:focus { background: #eff9eb; color: var(--green-dark); outline: 0; }

.catalog-section { padding: 180px var(--page-inline) 110px; margin: auto; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-heading h2 { font-size: clamp(36px, 4.5vw, 64px); letter-spacing: -.055em; margin: 13px 0 0; line-height: 1; }
.section-heading > p { color: var(--muted); margin: 0; font-size: 14px; }
.filter-deck { margin-bottom: 24px; }
.filter-toggle { width: min(330px, 100%); min-height: 58px; padding: 10px 12px 10px 16px; border: 1px solid var(--line); border-radius: 4px; background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 28px; cursor: pointer; list-style: none; }
.filter-toggle::-webkit-details-marker { display: none; }
.filter-toggle span { display: grid; gap: 3px; }
.filter-toggle strong { font-size: 14px; }
.filter-toggle small { color: var(--muted); font-size: 12px; }
.filter-toggle i { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 22px; font-style: normal; transition: transform .2s ease; }
.filter-deck[open] .filter-toggle i { transform: rotate(45deg); }
.filter-panel { border: 1px solid var(--line); background: #fff; margin-top: 10px; }
.category-tabs { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; margin-bottom: 0; padding: 0 20px; }
.category-tab { border: 0; border-bottom: 3px solid transparent; background: transparent; padding: 15px 24px 17px; font-weight: 720; color: var(--muted); white-space: nowrap; }
.category-tab:first-child { padding-left: 4px; }
.category-tab.active { color: var(--ink); border-color: var(--green); }
.quick-filters { display: flex; align-items: center; gap: 12px; padding: 16px 20px; }
.quick-filters label { margin: 0; }
.catalog-search { position: relative; flex: 1; min-width: 230px; }
.catalog-search > span { position: absolute; left: 14px; top: 50%; transform: translateY(-52%); font-size: 24px; color: var(--muted); }
.catalog-search input { padding-left: 43px; min-height: 48px; font-size: 15px; }
.quick-filters > label:not(.catalog-search):not(.stock-switch) { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.filter-label { color: var(--muted); font-size: 13px; font-weight: 700; }
.quick-filters select { width: 105px; min-height: 48px; }
.season-pills { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 5px; min-height: 48px; }
.season-pill { border: 0; border-radius: 3px; background: transparent; padding: 0 12px; color: var(--muted); font-size: 13px; font-weight: 700; }
.season-pill.active { background: var(--ink); color: #fff; }
.stock-switch { display: flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap; }
.stock-switch input { position: absolute; opacity: 0; pointer-events: none; }
.stock-switch > span { width: 40px; height: 23px; background: #d9ddd9; border-radius: 30px; padding: 3px; transition: .2s; }
.stock-switch > span::after { content: ""; display: block; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: .2s; }
.stock-switch input:checked + span { background: var(--green); }
.stock-switch input:checked + span::after { transform: translateX(17px); }
.stock-switch b { font-size: 13px; }
.reset-button { border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; }
.selected-vehicle { align-items: center; gap: 13px; padding: 15px 18px; background: #ecf9e7; border: 1px solid #bde5ac; margin-bottom: 18px; border-radius: 5px; }
.selected-vehicle:not([hidden]) { display: flex; }
.vehicle-check { width: 34px; height: 34px; border-radius: 50%; background: var(--green); display: grid; place-items: center; font-weight: 900; }
.selected-vehicle div { display: grid; gap: 3px; margin-right: auto; }
.selected-vehicle small { color: #4f7440; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; font-weight: 750; }
.selected-vehicle strong { font-size: 15px; }
.selected-vehicle button { border: 0; background: transparent; color: var(--green-dark); text-decoration: underline; font-weight: 700; }
.selected-vehicle button:last-child { text-decoration: none; font-size: 21px; color: #5f6b5b; }
.filters { position: sticky; top: 24px; border-top: 3px solid var(--ink); padding-top: 17px; }
.filter-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 23px; }
.filter-head h3 { margin: 0; font-size: 17px; }
.filter-head button { border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; padding: 0; }
.filters label, .checkout-dialog label, .checkout-form label, .product-form label { display: grid; gap: 8px; margin-bottom: 20px; color: #4e554e; font-size: 13px; font-weight: 650; }
input, select, textarea { width: 100%; min-height: 45px; border: 1px solid #ccd1cc; border-radius: 4px; background: #fff; padding: 0 12px; color: var(--ink); outline: 0; }
textarea { padding-top: 11px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(63,198,0,.12); }
.check-row { display: flex !important; align-items: center; gap: 9px !important; font-size: 14px !important; }
.check-row input { width: 18px; min-height: 18px; accent-color: var(--green); }
.filter-note { border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.status-dot { display: inline-block; width: 8px; height: 8px; background: var(--green); border-radius: 50%; margin-right: 7px; box-shadow: 0 0 0 4px rgba(63,198,0,.14); }
.sort-row { min-height: 46px; display: flex; justify-content: space-between; align-items: start; margin-bottom: 18px; font-size: 13px; color: var(--muted); }
.sort-row > span { color: var(--ink); font-weight: 720; }
.sort-row label { display: flex; align-items: center; gap: 9px; }
.sort-row select { min-height: 34px; width: auto; padding-right: 32px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card { border: 1px solid var(--line); background: #fff; min-width: 0; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.product-image { display: block; width: 100%; height: 205px; position: relative; overflow: hidden; background: #1b1d1b; border: 0; padding: 0; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform .35s ease; filter: saturate(.75); }
.product-card:hover .product-image img { transform: scale(1.23); }
.product-badge { position: absolute; top: 13px; left: 13px; background: rgba(255,255,255,.94); border-radius: 3px; padding: 7px 9px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.stock-badge { position: absolute; bottom: 12px; right: 12px; background: rgba(13,16,13,.9); color: #fff; border-radius: 3px; padding: 6px 8px; font-size: 11px; }
.stock-badge.out { color: #ffb7ad; }
.product-body { padding: 20px; }
.product-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 750; }
.fitment-confirmed { display: flex; align-items: center; gap: 6px; color: #2b7f06; font-size: 11px; font-weight: 750; margin-top: 10px; }
.fitment-confirmed span { width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; background: #e5f7dd; }
.tread-fact { min-height: 34px; display: flex; align-items: center; gap: 7px; margin: -5px 0 14px; padding: 7px 9px; background: #f2f5f1; color: var(--muted); font-size: 11px; }
.tread-fact strong { color: var(--ink); margin-left: auto; font-size: 12px; }
.tread-icon { color: var(--green-dark); font-size: 15px; font-weight: 900; }
.tread-fact.no-tire { color: #7d847d; }
.product-body h3 { margin: 9px 0 12px; font-size: 19px; letter-spacing: -.025em; line-height: 1.2; min-height: 46px; }
.product-spec { color: #555d55; font-size: 13px; line-height: 1.55; min-height: 40px; margin: 0 0 17px; }
.product-price-row { display: flex; align-items: end; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.product-price strong { display: block; font-size: 21px; }
.product-price small { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; }
.product-price del { color: #8b928b; font-size: 12px; }
.icon-button { border: 0; width: 42px; height: 42px; border-radius: 3px; background: var(--ink); color: #fff; font-size: 23px; display: grid; place-items: center; }
.icon-button:hover { background: var(--green-dark); }
.empty-state { border: 1px dashed #bbc2bb; text-align: center; padding: 70px 24px; background: var(--surface); }
.empty-state h3 { font-size: 24px; margin: 0 0 8px; }
.empty-state p { color: var(--muted); margin: 0 0 24px; }

.buying-strip { background: var(--ink); color: #fff; padding: 65px var(--page-inline); display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.buying-strip > div { position: relative; padding-left: 58px; }
.step-number { position: absolute; left: 0; color: var(--green); font-size: 13px; font-weight: 850; }
.buying-strip h3 { font-size: 22px; margin: 0 0 9px; }
.buying-strip p { color: #a8afa8; margin: 0; line-height: 1.55; }
footer { padding: 60px var(--page-inline) 32px; display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 50px; background: #f0f2ef; }
footer img { width: 102px; margin-bottom: 16px; }
footer p { margin: 4px 0; color: var(--muted); line-height: 1.5; }
footer > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
footer > div > span { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 5px; }
.copyright { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--line); font-size: 12px; }

.cart-drawer { position: fixed; z-index: 50; inset: 0 0 0 auto; width: min(480px, 100%); background: #fff; padding: 30px; transform: translateX(102%); transition: transform .28s ease; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.cart-drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: start; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.drawer-head h2 { font-size: 38px; margin: 8px 0 0; }
.drawer-head button, .dialog-close { border: 0; background: #eff1ef; width: 40px; height: 40px; border-radius: 50%; font-size: 24px; }
.cart-items { overflow: auto; flex: 1; }
.cart-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 15px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 88px; height: 76px; object-fit: cover; }
.cart-item h4 { margin: 0 0 6px; font-size: 14px; }
.cart-item span { color: var(--muted); font-size: 12px; }
.cart-item button { border: 0; background: none; color: var(--danger); font-size: 12px; }
.cart-empty { margin: auto; text-align: center; max-width: 260px; }
.cart-empty h3 { margin: 0 0 7px; }
.cart-empty p { color: var(--muted); line-height: 1.5; }
.cart-summary { padding-top: 20px; border-top: 2px solid var(--ink); }
.cart-summary > div { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 14px; }
.cart-summary .cart-total { font-size: 19px; margin: 20px 0; }
.backdrop { position: fixed; z-index: 40; inset: 0; background: rgba(8,10,8,.57); opacity: 0; visibility: hidden; transition: opacity .2s ease; }
.backdrop.visible { opacity: 1; visibility: visible; }

dialog { border: 0; padding: 0; box-shadow: var(--shadow); border-radius: 6px; color: var(--ink); }
dialog::backdrop { background: rgba(8,10,8,.62); backdrop-filter: blur(3px); }
.checkout-dialog { width: min(1180px, calc(100% - 30px)); max-height: calc(100vh - 30px); padding: 0; overflow: auto; }
.checkout-dialog .dialog-close, .product-dialog .dialog-close { position: absolute; right: 18px; top: 18px; }
.checkout-dialog h2 { font-size: 38px; margin: 10px 0; }
.checkout-heading { padding: 34px 42px 26px; border-bottom: 1px solid var(--line); }
.checkout-heading p { color: var(--muted); line-height: 1.5; margin: 0 50px 0 0; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, .75fr); align-items: start; }
.checkout-fields { padding: 28px 42px 42px; }
.checkout-section { border-bottom: 1px solid var(--line); padding: 6px 0 24px; margin-bottom: 24px; }
.checkout-section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.checkout-section-title { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.checkout-section-title > b { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: #e9f8e2; color: var(--green-dark); }
.checkout-section-title h3 { margin: 1px 0 4px; font-size: 19px; }
.checkout-section-title p { margin: 0; color: var(--muted); font-size: 12px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.wide { grid-column: 1 / -1; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; }
legend { font-size: 13px; font-weight: 700; color: #4e554e; margin-bottom: 9px; }
.radio-card { display: flex !important; grid-column: auto !important; align-items: center; gap: 11px !important; border: 1px solid var(--line); padding: 14px; margin: 0 !important; border-radius: 4px; }
.radio-card input { width: 18px; min-height: 18px; accent-color: var(--green); }
.radio-card span { display: grid; gap: 3px; flex: 1; }
.radio-card small { color: var(--muted); font-weight: 450; }
.radio-card:has(input:checked) { border-color: var(--green-dark); background: #f3fbef; box-shadow: inset 0 0 0 1px var(--green-dark); }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shipping-fields { padding: 18px 18px 0; margin: -10px 0 20px; background: #f6f8f5; border: 1px solid var(--line); }
.payment-choices { display: grid; gap: 8px; margin-top: 21px; }
.payment-choices legend { grid-column: 1 / -1; }
.checkout-summary { position: sticky; top: 104px; align-self: start; min-height: 0; background: #f4f6f3; padding: 34px 32px; border-left: 1px solid var(--line); border-radius: 0 10px 10px 0; }
.checkout-items { display: grid; gap: 13px; margin: 22px 0; padding-bottom: 22px; border-bottom: 1px solid #d5dad5; }
.checkout-items > div { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; }
.checkout-items span { min-width: 0; font-weight: 650; }
.checkout-items small { display: block; color: var(--muted); font-weight: 450; line-height: 1.4; margin-top: 3px; }
.checkout-items strong { white-space: nowrap; }
.checkout-totals { display: grid; gap: 12px; }
.checkout-totals > div { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 13px; }
.checkout-totals strong { color: var(--ink); }
.checkout-totals .checkout-grand-total { color: var(--ink); font-size: 17px; padding: 17px 0; margin-top: 4px; border-top: 2px solid var(--ink); }
.checkout-grand-total strong { font-size: 23px; }
.checkout-consent { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 10px !important; margin: 8px 0 16px !important; font-size: 12px !important; line-height: 1.45; }
.checkout-consent input { width: 18px; min-height: 18px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--green); }
.checkout-consent a { text-decoration: underline; font-weight: 750; }
.binding-note { color: var(--muted); font-size: 11px; line-height: 1.45; margin: 0 0 14px; }
.binding-button { min-height: 60px; }
.checkout-error { color: #9e2418; background: #fff0ed; border-left: 3px solid var(--danger); padding: 11px 13px; margin: 12px 0 0; font-size: 12px; }
.vat-label { display: block; color: var(--muted); font-size: 12px; margin: -14px 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.success-panel { padding: clamp(28px, 5vw, 60px); }
.success-heading { display: grid; grid-template-columns: 78px 1fr; gap: 24px; align-items: start; max-width: 860px; margin: 0 auto 32px; text-align: left; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--green); font-size: 34px; box-shadow: 0 12px 30px rgba(63,198,0,.2); }
.success-panel h2 { margin: 10px 0 10px; font-size: clamp(34px, 4vw, 54px); line-height: 1; letter-spacing: -.05em; }
.success-heading p { color: var(--muted); line-height: 1.65; margin: 0; max-width: 660px; }
.success-panel > .primary-button { display: flex; width: max-content; margin: 30px auto 0; }
.success-payment { max-width: 860px; margin: 0 auto; padding: 28px; border-radius: 10px; background: #101210; color: #fff; display: grid; grid-template-columns: 1fr 270px; gap: 34px; align-items: center; text-align: left; }
.success-payment h3 { margin: 10px 0 22px; font-size: 30px; letter-spacing: -.035em; }
.success-payment-rows { display: grid; gap: 0; }
.success-payment-rows > div { min-height: 46px; padding: 10px 0; border-bottom: 1px solid #2e342e; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.success-payment-rows span { color: #aeb6ae; font-size: 13px; }
.success-payment-rows strong { font-size: 16px; text-align: right; }
.success-payment-copy > p { max-width: none; margin: 18px 0 0; color: #aeb6ae; font-size: 12px; }
.success-payment-qr { padding: 16px; border-radius: 8px; background: #fff; color: var(--muted); text-align: center; }
.success-payment-qr img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.success-payment-qr span { display: block; margin-top: 9px; font-size: 11px; }
.checkout-page-body { background: #f3f5f2; }
.checkout-page-main { width: min(1260px, calc(100% - clamp(36px, 7vw, 112px))); margin: 0 auto; padding: 26px 0 90px; }
.checkout-page-heading { padding: 26px 0 32px; }
.checkout-page-heading h1 { margin: 13px 0 12px; font-size: clamp(46px, 5.5vw, 76px); line-height: .94; letter-spacing: -.06em; }
.checkout-page-heading p { max-width: 620px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.checkout-page-card { overflow: hidden; background: #fff; border: 1px solid rgba(20,24,20,.08); border-radius: 10px; box-shadow: 0 22px 65px rgba(18,24,18,.08); }
.checkout-form.checkout-page-card { overflow: visible; }
.checkout-empty { padding: 70px 30px; text-align: center; }
.checkout-empty h2 { margin: 12px 0 8px; font-size: 40px; letter-spacing: -.045em; }
.checkout-empty p { margin: 0 0 26px; color: var(--muted); }
.product-dialog { width: min(900px, calc(100% - 30px)); }
.dialog-product { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.dialog-product-image { min-height: 420px; background: #111; position: relative; overflow: hidden; }
.dialog-product-image > img { width: 100%; height: 100%; object-fit: cover; }
.dialog-gallery-thumbs { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 8px; overflow-x: auto; }
.dialog-gallery-thumbs button { width: 62px; height: 62px; flex: 0 0 auto; padding: 3px; border: 2px solid transparent; border-radius: 5px; background: rgba(255,255,255,.88); }
.dialog-gallery-thumbs button.active { border-color: var(--green); }
.dialog-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.dialog-product-copy { padding: 54px 42px 38px; }
.dialog-product-copy h2 { font-size: 34px; line-height: 1.05; margin: 12px 0 14px; }
.dialog-product-copy > p { color: var(--muted); line-height: 1.5; }
.spec-table { margin: 25px 0; border-top: 1px solid var(--line); }
.spec-table div { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.spec-table span { color: var(--muted); }
.spec-table strong { text-align: right; overflow-wrap: anywhere; }
.dialog-price { font-size: 28px; display: block; margin: 20px 0; }
.toast { position: fixed; z-index: 90; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 13px 18px; border-left: 4px solid var(--green); border-radius: 4px; opacity: 0; pointer-events: none; transition: .2s ease; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Informational and legal pages */
.legal-page-body { background: #f4f6f3; }
.legal-page-main { width: min(var(--page-content-width), calc(100% - clamp(40px, 11vw, 184px))); margin: 0 auto; padding: 28px 0 96px; }
.legal-hero { padding: clamp(54px, 8vw, 96px) 0 46px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { max-width: 980px; margin: 16px 0 20px; font-size: clamp(44px, 6vw, 84px); line-height: .94; letter-spacing: -.06em; }
.legal-hero p { max-width: 760px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; color: var(--muted); font-size: 12px; }
.legal-layout { display: grid; grid-template-columns: minmax(230px, .34fr) minmax(0, 1fr); gap: clamp(38px, 7vw, 110px); align-items: start; padding-top: 50px; }
.legal-nav { position: sticky; top: 112px; display: grid; border-top: 3px solid var(--ink); }
.legal-nav strong { padding: 17px 0 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.legal-nav a { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 650; }
.legal-nav a:hover, .legal-nav a[aria-current="page"] { color: var(--green-dark); }
.legal-content { min-width: 0; display: grid; gap: 18px; }
.legal-card { padding: clamp(24px, 4vw, 48px); background: #fff; border: 1px solid rgba(20,24,20,.08); border-radius: 9px; box-shadow: 0 16px 45px rgba(18,24,18,.05); }
.legal-card h2 { margin: 0 0 20px; font-size: clamp(26px, 3vw, 38px); line-height: 1.05; letter-spacing: -.04em; }
.legal-card h3 { margin: 30px 0 10px; font-size: 19px; }
.legal-card p, .legal-card li { color: #505850; line-height: 1.75; }
.legal-card p { margin: 0 0 14px; }
.legal-card ul, .legal-card ol { margin: 12px 0 18px; padding-left: 22px; }
.legal-card li + li { margin-top: 7px; }
.legal-card a { color: #277d08; text-decoration: underline; text-underline-offset: 3px; }
.legal-card address { color: #505850; font-style: normal; line-height: 1.75; }
.legal-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.legal-facts > div { padding: 16px; background: #f2f5f1; border-left: 3px solid var(--green); display: grid; gap: 4px; }
.legal-facts span { color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.legal-facts strong { overflow-wrap: anywhere; }
.legal-notice { padding: 18px 20px; border-left: 4px solid var(--green); background: #eff9eb; color: #355235; line-height: 1.65; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-tile { min-height: 180px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 8px; display: flex; flex-direction: column; justify-content: space-between; }
.contact-tile span { color: var(--green-dark); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.contact-tile strong { margin: 18px 0 6px; font-size: 24px; }
.contact-tile p { margin: 0; color: var(--muted); line-height: 1.6; }
.contact-tile a { color: var(--ink); text-decoration: none; }
.withdrawal-form { display: grid; gap: 18px; }
.withdrawal-line { min-height: 36px; border-bottom: 1px solid #879087; }
.withdrawal-access { position: fixed; right: 22px; bottom: 22px; z-index: 95; min-height: 48px; padding: 0 19px; border-radius: 7px; background: var(--ink); color: #fff; box-shadow: 0 14px 35px rgba(0,0,0,.24); display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 850; text-decoration: none; }
.withdrawal-access::before { content: "↩"; color: var(--green); font-size: 18px; }
.withdrawal-access:hover { background: #202420; transform: translateY(-1px); }
.withdrawal-hero { border-left: 5px solid var(--green); }
.withdrawal-process { scroll-margin-top: 110px; }
.withdrawal-steps { margin: -4px 0 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.withdrawal-steps span { min-height: 46px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; }
.withdrawal-steps b { width: 25px; height: 25px; border-radius: 50%; background: #edf0ed; display: grid; place-items: center; font-size: 10px; }
.withdrawal-steps span.active { border-color: #9cd788; background: #f0faec; color: var(--green-dark); }
.withdrawal-steps span.active b { background: var(--green); color: #102000; }
.withdrawal-fields { margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.withdrawal-fields label { display: grid; gap: 8px; }
.withdrawal-fields label.wide { grid-column: 1 / -1; }
.withdrawal-fields label > span { font-size: 12px; font-weight: 800; }
.withdrawal-fields small { color: var(--muted); font-size: 10px; }
.withdrawal-next { width: 100%; }
.withdrawal-review, .withdrawal-receipt { margin: 22px 0; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.withdrawal-review > div, .withdrawal-receipt > div { padding: 14px 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.withdrawal-review > div:last-child, .withdrawal-receipt > div:last-child { border-bottom: 0; }
.withdrawal-review span, .withdrawal-receipt span { color: var(--muted); font-size: 11px; }
.withdrawal-review strong, .withdrawal-receipt strong { text-align: right; font-size: 13px; overflow-wrap: anywhere; }
.withdrawal-actions { margin-top: 24px; display: grid; grid-template-columns: .8fr 1.5fr; gap: 10px; }
.withdrawal-success { text-align: center; }
.withdrawal-success > span { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--green); color: #102000; display: grid; place-items: center; font-size: 32px; font-weight: 900; }
.withdrawal-success .withdrawal-receipt { text-align: left; }
.withdrawal-success > p:last-of-type { color: #4f574f; line-height: 1.7; }
.withdrawal-success .secondary-button { margin-top: 12px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.form-error { min-height: 20px; margin: 16px 0 0; color: var(--danger); font-size: 12px; font-weight: 750; }
.print-button { width: fit-content; border: 0; min-height: 48px; padding: 0 20px; border-radius: 4px; background: var(--ink); color: #fff; font-weight: 780; }

@media (max-width: 780px) {
  .legal-page-main { width: calc(100% - 32px); padding-bottom: 70px; }
  .legal-hero { padding-top: 48px; }
  .legal-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 32px; }
  .legal-nav { position: static; }
  .legal-facts, .contact-grid { grid-template-columns: 1fr; }
  .contact-tile { min-height: 150px; }
  .withdrawal-access { right: 12px; bottom: 12px; min-height: 44px; padding: 0 14px; }
  .withdrawal-fields, .withdrawal-steps, .withdrawal-actions { grid-template-columns: 1fr; }
  .withdrawal-fields label.wide { grid-column: auto; }
}

@media print {
  .site-header, .legal-nav, footer, .print-button { display: none !important; }
  .legal-page-body { background: #fff; }
  .legal-page-main { width: 100%; padding: 0; }
  .legal-hero { padding: 0 0 20px; }
  .legal-layout { display: block; padding-top: 20px; }
  .legal-card { padding: 0; border: 0; box-shadow: none; }
}

/* Product detail */
.product-page-body { background: #f4f6f3; }
.product-page-main { width: min(1460px, calc(100% - clamp(40px, 8vw, 128px))); margin: 0 auto; padding: 28px 0 90px; }
.product-breadcrumb { min-height: 48px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.product-breadcrumb a:hover { color: var(--green-dark); }
.product-breadcrumb strong { color: var(--ink); font-weight: 700; }
.product-page-layout { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr); gap: clamp(34px, 5vw, 76px); align-items: start; padding: 24px 0 70px; }
.product-page-gallery { min-width: 0; }
.product-page-main-image { height: min(650px, 68vw); min-height: 500px; position: relative; overflow: hidden; background: #171a17; border-radius: 9px; }
.product-page-main-image > img { width: 100%; height: 100%; object-fit: cover; }
.product-page-main-image > span { position: absolute; left: 18px; top: 18px; padding: 8px 11px; border-radius: 4px; background: rgba(255,255,255,.94); font-size: 10px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.product-page-thumbs { margin-top: 12px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
.product-page-thumbs button { height: 92px; padding: 3px; overflow: hidden; border: 2px solid transparent; border-radius: 6px; background: #fff; }
.product-page-thumbs button.active { border-color: var(--green); }
.product-page-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.product-page-info { position: sticky; top: 112px; padding: 30px 0 0; }
.product-page-info h1 { margin: 15px 0 22px; font-size: clamp(42px, 4.4vw, 68px); line-height: .96; letter-spacing: -.055em; }
.product-stock-number { width: fit-content; margin-top: 16px; padding: 9px 13px; border-left: 4px solid var(--green); background: #edf8e8; display: flex; align-items: baseline; gap: 12px; }
.product-stock-number span { color: #667066; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.product-stock-number strong { color: #1f7210; font-size: 23px; letter-spacing: -.03em; }
.product-page-lead { margin: 0 0 24px; color: #5d655d; font-size: 15px; line-height: 1.7; }
.product-page-availability { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #2d720f; font-size: 12px; font-weight: 800; }
.product-page-availability i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(63,198,0,.13); }
.product-page-availability.out { color: #8a5149; }
.product-page-availability.out i { background: var(--danger); box-shadow: 0 0 0 5px rgba(216,72,54,.12); }
.product-page-price { margin: 28px 0 22px; display: grid; gap: 5px; }
.product-page-price strong { font-size: 36px; letter-spacing: -.035em; }
.product-page-price span { color: var(--muted); font-size: 11px; }
.product-page-info .primary-button { min-height: 58px; font-size: 15px; }
.product-page-vin { margin: 13px 0 0; color: var(--muted); text-align: center; font-size: 11px; }
.product-detail-panels { display: grid; }
.product-detail-panels.has-tires { grid-template-columns: minmax(0, 2fr) minmax(390px, 1fr); gap: 20px; align-items: stretch; }
.product-page-specs { min-width: 0; padding: 42px; background: #fff; border-radius: 10px; box-shadow: 0 18px 55px rgba(18,24,18,.06); display: grid; grid-template-columns: minmax(180px, .55fr) 1.45fr; gap: 36px; }
.product-page-specs h2 { margin: 12px 0 0; font-size: 37px; line-height: 1; letter-spacing: -.045em; }
.product-page-spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; }
.product-page-spec-grid > div { min-width: 0; padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: .8fr 1.2fr; gap: 15px; font-size: 12px; }
.product-page-spec-grid span { color: var(--muted); }
.product-page-spec-grid strong { text-align: right; overflow-wrap: anywhere; }
.product-tire-visual { min-width: 0; padding: 32px; border-radius: 10px; background: #fff; box-shadow: 0 18px 55px rgba(18,24,18,.06); display: flex; flex-direction: column; }
.tire-visual-copy h2 { margin: 12px 0 16px; font-size: clamp(32px, 3vw, 46px); line-height: 1; letter-spacing: -.045em; }
.tire-visual-copy p { max-width: 430px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.tire-scale { margin-top: 28px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; color: #8a918a; font-size: 10px; font-weight: 750; }
.tire-scale i { height: 5px; border-radius: 999px; background: linear-gradient(90deg, #d94838, #f08a2b 42%, var(--green)); }
.tire-visual-grid { min-width: 0; margin-top: 28px; display: grid; grid-template-columns: minmax(110px, 1fr) 72px minmax(110px, 1fr); grid-template-rows: auto auto; gap: 10px; align-items: stretch; }
.tire-check-mark { grid-column: 2; grid-row: 1 / 3; min-height: 210px; align-self: stretch; border: 1px solid #d5ddd2; border-radius: 8px; background: #f4f7f2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; box-shadow: inset 0 3px 0 var(--green); }
.tire-check-mark img { width: 38px; height: 38px; margin-bottom: 9px; }
.tire-check-mark strong { font-size: 11px; letter-spacing: .12em; }
.tire-check-mark small { color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.tire-check-mark span { min-width: 44px; margin-top: 12px; padding: 5px 7px; border: 1px solid #d8ded6; border-radius: 3px; background: #fff; color: var(--green-dark); text-align: center; font-size: 9px; font-weight: 900; }
.tire-measurement { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #f7f9f6; display: grid; gap: 10px; }
.tire-measurement > div:first-child { display: grid; gap: 3px; }
.tire-measurement span { color: #4f574f; font-size: 11px; font-weight: 800; }
.tire-measurement small { color: var(--muted); font-size: 10px; font-weight: 700; }
.tire-measurement strong { font-size: 25px; line-height: 1; letter-spacing: -.035em; }
.tire-measurement strong em { color: var(--muted); font-size: 12px; font-style: normal; letter-spacing: 0; }
.tire-meter { height: 7px; position: relative; overflow: hidden; border-radius: 999px; background: linear-gradient(90deg, #d94838 0%, #f08a2b 45%, var(--green) 100%); }
.tire-meter i { position: absolute; inset: 0 0 0 auto; width: var(--tire-remaining); height: 100%; background: #dfe4de; }
.tire-1 { grid-column: 1; grid-row: 1; }
.tire-2 { grid-column: 3; grid-row: 1; }
.tire-3 { grid-column: 1; grid-row: 2; }
.tire-4 { grid-column: 3; grid-row: 2; }
.tire-measurement:nth-of-type(n+5) { grid-column: 1 / -1; }
.product-page-service { margin-top: 20px; padding: 30px 36px; background: var(--ink); color: #fff; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; border-radius: 9px; }
.product-page-service > div { display: flex; gap: 15px; align-items: flex-start; }
.product-page-service b { color: var(--green); font-size: 11px; }
.product-page-service span { display: grid; gap: 5px; }
.product-page-service strong { font-size: 14px; }
.product-page-service small { color: #aab1aa; font-size: 11px; line-height: 1.45; }

/* Admin */
.admin-body { background: #f2f4f1; min-height: 100vh; }
.admin-body::before { content: ""; position: fixed; inset: 0 0 auto 274px; height: 340px; pointer-events: none; background: radial-gradient(circle at 86% 0, rgba(63,198,0,.09), transparent 42%); }
.admin-shell { display: grid; grid-template-columns: 274px minmax(0, 1fr); min-height: 100vh; }
.admin-sidebar { background: #111411; color: #fff; padding: 30px 22px 24px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow: hidden; }
.admin-sidebar::after { content: ""; position: absolute; width: 260px; height: 260px; left: -130px; bottom: -110px; border-radius: 50%; background: rgba(63,198,0,.11); filter: blur(12px); pointer-events: none; }
.admin-sidebar .brand { position: relative; z-index: 1; margin: 0 8px 54px; }
.admin-sidebar .brand img { width: 92px; }
.admin-sidebar .brand::after { content: ""; position: absolute; z-index: 2; left: 0; top: 0; width: 92px; height: 52px; pointer-events: none; background: url('/assets/sema-cars-logo.svg') center / contain no-repeat; filter: brightness(0) invert(1); clip-path: inset(48% 0 0 0); }
.admin-sidebar .brand span { color: #a8afa8; border-color: #343934; }
.admin-nav { position: relative; z-index: 1; display: grid; gap: 8px; }
.admin-nav::before { content: "SPRÁVA E-SHOPU"; padding: 0 14px 10px; color: #646c64; font-size: 10px; font-weight: 850; letter-spacing: .15em; }
.admin-nav a { min-height: 48px; border: 1px solid transparent; background: transparent; color: #abb2ab; padding: 11px 14px; border-radius: 8px; display: flex; align-items: center; gap: 13px; text-align: left; font-weight: 700; transition: .18s ease; }
.admin-nav a:hover { color: #fff; background: rgba(255,255,255,.055); }
.admin-nav a span:first-child { width: 25px; height: 25px; border-radius: 7px; background: rgba(255,255,255,.06); display: grid; place-items: center; text-align: center; }
.admin-nav a.active { background: var(--green); color: #102000; box-shadow: 0 10px 30px rgba(63,198,0,.2); }
.admin-nav a.active span:first-child { background: rgba(16,32,0,.11); }
.admin-store-link { position: relative; z-index: 1; margin-top: auto; border: 1px solid #303630; border-radius: 8px; padding: 14px 16px; color: #d1d6d1; font-size: 13px; font-weight: 700; transition: .18s ease; }
.admin-store-link:hover { border-color: #526052; background: rgba(255,255,255,.04); }
.admin-main { position: relative; z-index: 1; min-width: 0; }
.admin-topbar { min-height: 82px; background: rgba(255,255,255,.91); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(20,24,20,.08); padding: 0 clamp(28px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 12; }
.admin-topbar p { margin: 0; color: var(--muted); font-size: 14px; }
.admin-user { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 14px; }
.admin-avatar { width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: var(--green); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(18,22,18,.16); }
.admin-logout { border: 0; border-left: 1px solid var(--line); background: none; color: var(--muted); padding: 5px 0 5px 13px; font-size: 12px; font-weight: 700; }
.admin-content { padding: 48px clamp(28px, 4vw, 64px) 80px; max-width: 1580px; margin: 0 auto; }
.admin-page { display: none; }
.admin-page.active { display: block; }
.admin-title-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.admin-title-row h1 { font-size: clamp(38px, 4vw, 58px); line-height: .96; letter-spacing: -.055em; margin: 11px 0 0; }
.admin-title-row .primary-button { min-height: 48px; border-radius: 7px; box-shadow: 0 10px 26px rgba(63,198,0,.19); }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.kpi { position: relative; overflow: hidden; background: #fff; padding: 24px; border: 1px solid rgba(20,24,20,.08); border-radius: 10px; box-shadow: 0 12px 32px rgba(18,24,18,.045); }
.kpi::after { content: ""; position: absolute; width: 72px; height: 3px; left: 24px; bottom: 0; background: var(--green); }
.kpi span { color: var(--muted); font-size: 13px; }
.kpi strong { display: block; font-size: 30px; margin: 10px 0 5px; letter-spacing: -.04em; }
.kpi small { color: var(--green-dark); font-weight: 700; }
.dashboard-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; }
.panel { background: #fff; border: 1px solid rgba(20,24,20,.08); border-radius: 10px; padding: 26px; min-width: 0; box-shadow: 0 14px 38px rgba(18,24,18,.045); }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.panel-head h2 { font-size: 19px; margin: 0; }
.panel-head button { border: 0; background: none; color: var(--green-dark); font-size: 13px; font-weight: 700; }
.activity-list { display: grid; gap: 2px; }
.activity-item { width: 100%; display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border: 0; border-bottom: 1px solid #edf0ed; background: transparent; color: inherit; text-align: left; }
.activity-item:hover { background: #fbfdfb; }
.activity-icon { width: 38px; height: 38px; background: var(--surface); border-radius: 50%; display: grid; place-items: center; }
.activity-item strong, .activity-item span { display: block; font-size: 13px; }
.activity-item span { color: var(--muted); margin-top: 4px; }
.activity-item > strong:last-child { font-size: 14px; }
.stock-bars { display: grid; gap: 18px; }
.stock-row-top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 7px; }
.stock-row-top span { color: var(--muted); }
.bar { height: 8px; background: #edf0ed; border-radius: 20px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.admin-toolbar { display: flex; gap: 12px; margin-bottom: 18px; padding: 14px; background: #fff; border: 1px solid rgba(20,24,20,.08); border-radius: 10px; box-shadow: 0 10px 28px rgba(18,24,18,.035); }
.admin-toolbar input { max-width: 360px; }
.admin-toolbar select { width: 190px; }
.table-wrap { overflow: auto; background: #fff; border: 1px solid rgba(20,24,20,.08); border-radius: 10px; box-shadow: 0 14px 38px rgba(18,24,18,.045); }
.admin-table { width: 100%; border-collapse: collapse; min-width: 850px; }
.admin-table th { text-align: left; color: #697069; background: #f7f9f6; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.admin-table td { padding: 17px 18px; border-bottom: 1px solid #edf0ed; font-size: 13px; vertical-align: middle; }
.admin-table tbody tr { transition: background .15s ease; }
.admin-table tbody tr:hover { background: #fbfdfb; }
.admin-table td small { color: var(--muted); line-height: 1.45; }
.admin-empty-state { min-height: 180px; display: grid; place-content: center; gap: 7px; text-align: center; color: var(--muted); }
.admin-empty-state strong { color: var(--ink); font-size: 16px; }
.product-cell { display: flex; align-items: center; gap: 12px; min-width: 240px; }
.product-cell img { width: 64px; height: 56px; object-fit: cover; border-radius: 6px; background: #151815; }
.product-cell strong, .product-cell span { display: block; }
.product-cell span { color: var(--muted); margin-top: 4px; font-size: 11px; }
.status-pill { display: inline-flex; padding: 6px 9px; border-radius: 20px; font-size: 11px; font-weight: 750; background: #e9f7e3; color: #287c03; }
.status-pill.warn { background: #fff1d9; color: #925800; }
.status-pill.gray { background: #edf0ed; color: #697069; }
.status-pill.blue { background: #e6f0ff; color: #175cb9; }
.table-actions { display: flex; gap: 6px; }
.table-actions button, .table-actions a { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 6px; padding: 8px 11px; font-size: 12px; font-weight: 700; }
.table-actions button:hover, .table-actions a:hover { border-color: #aab2aa; background: #f7f9f6; }
.table-actions button.delete { color: var(--danger); }
.admin-dialog { width: min(660px, calc(100% - 30px)); padding: 38px; }
.admin-dialog h2 { font-size: 30px; margin: 7px 0 25px; }
.product-form { display: block; }
.product-form .wide { grid-column: 1 / -1; }
.admin-editor-surface { min-width: 0; }
.admin-editor-bar { min-height: 86px; padding: 18px 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; background: #fff; border: 1px solid rgba(20,24,20,.08); border-radius: 10px; box-shadow: 0 12px 34px rgba(18,24,18,.045); }
.admin-editor-bar > div { text-align: center; }
.admin-editor-bar h2 { margin: 4px 0 0; font-size: 28px; letter-spacing: -.035em; }
.admin-editor-back { justify-self: start; border: 0; background: #eff2ee; color: var(--ink); min-height: 42px; padding: 0 16px; border-radius: 7px; font-weight: 750; }
.admin-editor-back:hover { background: #e4e9e2; }
.admin-editor-status { justify-self: end; color: var(--muted); font-size: 12px; font-weight: 700; }
.admin-label-link { justify-self: end; min-height: 42px; padding: 0 15px; border: 1px solid #b7c0b5; border-radius: 7px; background: #f5f8f4; color: var(--ink); display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; text-decoration: none; }
.admin-label-link:hover { border-color: var(--green-dark); color: var(--green-dark); }
.admin-label-link[hidden] { display: none; }
.admin-editor-form { width: 100%; margin: 20px 0 0; }
.admin-editor-form input, .admin-editor-form select { min-height: 50px; border-radius: 6px; }
.admin-editor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.admin-editor-main-column { min-width: 0; display: grid; gap: 20px; }
.admin-editor-aside { display: grid; gap: 16px; position: sticky; top: 102px; }
.admin-form-card, .product-parameter-group, .fitments-editor { margin: 0; padding: 26px; border: 1px solid rgba(20,24,20,.09); border-radius: 10px; background: #fff; box-shadow: 0 12px 34px rgba(18,24,18,.045); }
.admin-form-card > header, .product-parameter-group > header, .fitments-editor > header { margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.admin-form-card > header > div, .product-parameter-group > header > div, .fitments-editor > header > div { display: flex; align-items: center; gap: 13px; }
.admin-form-card > header > div > span, .product-parameter-group > header > div > span, .fitments-editor > header > div > span { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; background: #eaf8e4; color: var(--green-dark); display: grid; place-items: center; font-size: 11px; font-weight: 850; }
.admin-form-card header small, .product-parameter-group header small, .fitments-editor header small { display: block; color: var(--green-dark); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.admin-form-card header h3, .product-parameter-group header h3, .fitments-editor header h3 { margin: 3px 0 0; font-size: 20px; letter-spacing: -.025em; }
.admin-editor-actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 9px; padding: 6px 0 0; }
.admin-editor-actions .secondary-button { background: #edf0ed; color: var(--ink); border-radius: 7px; }
.admin-editor-actions .primary-button { min-width: 0; padding: 0 14px; border-radius: 7px; }
.order-detail-page { min-width: 0; }
.order-detail-bar { min-height: 92px; padding: 18px 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; background: #fff; border: 1px solid rgba(20,24,20,.08); border-radius: 10px; box-shadow: 0 12px 34px rgba(18,24,18,.045); }
.order-detail-bar > div:nth-child(2) { text-align: center; }
.order-detail-bar h1 { margin: 5px 0 0; font-size: 28px; line-height: 1; letter-spacing: -.035em; }
.order-detail-bar > div:last-child { justify-self: end; }
.order-detail-loading { min-height: 260px; margin-top: 20px; border: 1px solid rgba(20,24,20,.08); border-radius: 10px; background: #fff; color: var(--muted); display: grid; place-items: center; }
.order-detail-layout { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; }
.order-detail-main { min-width: 0; display: grid; gap: 20px; }
.order-detail-aside { display: grid; gap: 14px; position: sticky; top: 104px; }
.order-detail-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.order-detail-card { padding: 26px; border: 1px solid rgba(20,24,20,.09); border-radius: 10px; background: #fff; box-shadow: 0 12px 34px rgba(18,24,18,.045); }
.order-withdrawal-card { border-left: 5px solid var(--green); }
.order-detail-card > header { display: flex; align-items: center; gap: 13px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #edf0ed; }
.order-detail-card > header > span { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; background: #eaf8e4; color: var(--green-dark); display: grid; place-items: center; font-size: 11px; font-weight: 850; }
.order-detail-card header small { display: block; color: var(--green-dark); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.order-detail-card header h2 { margin: 3px 0 0; font-size: 20px; letter-spacing: -.025em; }
.order-items-detail { display: grid; }
.order-items-detail article { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; padding: 16px 0; border-bottom: 1px solid #edf0ed; }
.order-items-detail article:first-child { padding-top: 0; }
.order-items-detail article:last-child { padding-bottom: 0; border-bottom: 0; }
.order-items-detail article div { min-width: 0; }
.order-items-detail strong, .order-items-detail span, .order-items-detail small { display: block; }
.order-items-detail strong { font-size: 14px; }
.order-items-detail span { margin-top: 5px; color: var(--muted); font-size: 12px; }
.order-items-detail small { margin-top: 5px; color: var(--green-dark); font-size: 10px; font-weight: 700; }
.order-items-detail article > b { font-size: 15px; white-space: nowrap; }
.order-info-grid, .order-addresses { display: grid; gap: 18px; }
.order-info-grid > div, .order-addresses > div { display: grid; gap: 5px; }
.order-info-grid span, .order-addresses span { color: var(--muted); font-size: 11px; }
.order-info-grid strong, .order-info-grid a, .order-addresses strong { font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.order-info-grid a { color: var(--green-dark); font-weight: 750; }
.order-info-grid small, .order-addresses small { color: var(--muted); font-size: 11px; }
.order-email-list { display: grid; }
.order-email-row { min-height: 62px; padding: 12px 0; border-bottom: 1px solid #edf0ed; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.order-email-row:last-child { border-bottom: 0; }
.order-email-row div { min-width: 0; display: grid; gap: 4px; }
.order-email-row strong { font-size: 13px; }
.order-email-row span:not(.status-pill) { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.order-email-row small { color: var(--danger); font-size: 10px; }
.order-detail-note { margin: 0; color: #4f574f; font-size: 14px; line-height: 1.7; white-space: pre-wrap; }
.order-detail-empty { margin: 0; color: var(--muted); font-size: 13px; }
.order-status-card, .order-total-card, .order-method-card, .order-payment-card { padding: 22px; border-radius: 10px; background: #fff; border: 1px solid rgba(20,24,20,.09); box-shadow: 0 12px 34px rgba(18,24,18,.045); }
.order-status-card > small, .order-total-card > small, .order-method-card > small, .order-payment-card > small { display: block; margin-bottom: 13px; color: var(--green-dark); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.order-status-card select { width: 100%; min-height: 48px; border-radius: 6px; font-weight: 750; }
.order-status-card p { margin: 12px 0 0; color: var(--muted); font-size: 11px; }
.order-total-card > div, .order-method-card > div, .order-payment-card > div { min-height: 42px; padding: 10px 0; border-top: 1px solid #edf0ed; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.order-total-card span, .order-method-card span, .order-payment-card span { color: var(--muted); font-size: 11px; }
.order-total-card strong, .order-method-card strong, .order-payment-card strong { max-width: 180px; font-size: 12px; text-align: right; overflow-wrap: anywhere; }
.order-total-card .grand { margin-top: 8px; padding-top: 16px; border-top-color: #cfd5cf; }
.order-total-card .grand span, .order-total-card .grand strong { color: var(--ink); font-size: 17px; font-weight: 850; }
.order-payment-card { background: var(--ink); color: #fff; border: 0; }
.order-payment-card > small { color: var(--green); }
.order-payment-card h3 { margin: 0 0 16px; font-size: 22px; }
.order-payment-card > div { border-color: #303530; }
.order-payment-card > div span { color: #aeb6ae; }
.order-payment-card img { width: 100%; margin-top: 16px; padding: 10px; border-radius: 6px; background: #fff; }
.order-detail-alert { padding: 18px; border: 1px solid #f0d4a8; border-radius: 9px; background: #fff7e9; color: #744b09; }
.order-detail-alert strong { font-size: 12px; }
.order-detail-alert p { margin: 5px 0 0; font-size: 11px; line-height: 1.5; }
.product-parameter-group { background: #fff; }
.product-parameter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.product-parameter-grid label { margin-bottom: 16px; }
.product-parameter-grid label:nth-last-child(-n+2) { margin-bottom: 0; }
.admin-stock-input { position: relative; }
.admin-stock-input b { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--green-dark); font-size: 18px; }
.admin-stock-input input { padding-left: 38px; }
.admin-stock-auto { min-height: 96px; margin-bottom: 16px; padding: 14px 16px; border: 1px solid #d9ded7; border-radius: 6px; background: #f6f8f5; display: grid; align-content: center; gap: 5px; }
.admin-stock-auto[hidden] { display: none; }
.admin-stock-auto span { color: #4e554e; font-size: 12px; font-weight: 700; }
.admin-stock-auto strong { font-size: 17px; }
.admin-stock-auto small, .product-parameter-grid label small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.fitments-list { display: grid; gap: 10px; }
.fitment-row { display: grid; grid-template-columns: 1.15fr 1.35fr .72fr .72fr 42px; gap: 12px; align-items: end; padding: 16px; background: #f6f8f5; border: 1px solid var(--line); border-radius: 7px; }
.tires-list { margin-top: 4px; display: grid; gap: 10px; }
.tire-row { display: grid; grid-template-columns: 110px 1fr 1fr 1fr 42px; gap: 12px; align-items: end; padding: 16px; background: #f6f8f5; border: 1px solid var(--line); border-radius: 7px; }
.tire-row > strong { align-self: center; font-size: 12px; }
.product-form .tire-row label { margin: 0; }
.product-form .fitment-row label { margin: 0; }
.fitment-row input { min-width: 0; }
.fitment-remove-button { width: 42px; min-height: 46px; border: 1px solid #e2c4bf; border-radius: 4px; background: #fff; color: var(--danger); font-size: 22px; line-height: 1; }
.fitment-remove-button:hover { background: #fff0ed; }
.fitment-add-button { width: 100%; min-height: 50px; margin-top: 12px; border: 1px dashed var(--green-dark); border-radius: 7px; background: #f0faec; color: var(--green-dark); display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 780; }
.fitment-add-button span { width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #102000; display: grid; place-items: center; font-size: 19px; line-height: 1; }
.fitment-add-button:hover { background: #e7f8df; border-style: solid; }
.admin-media-editor > p { margin: -10px 0 20px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.admin-upload-button { min-height: 42px; padding: 0 16px; border-radius: 6px; background: var(--ink); color: #fff; display: flex; align-items: center; font-size: 12px; font-weight: 800; cursor: pointer; }
.admin-upload-button input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; pointer-events: none; }
.admin-media-workspace { display: grid; grid-template-columns: minmax(280px, 1.15fr) 1fr; gap: 18px; }
.admin-main-preview { min-height: 310px; overflow: hidden; border-radius: 8px; background: #171a17; display: grid; place-items: center; color: #858d85; font-size: 13px; }
.admin-main-preview img { width: 100%; height: 310px; object-fit: contain; }
.admin-media-tools { display: grid; align-content: start; gap: 16px; }
.admin-image-dropzone { min-height: 174px; width: 100%; padding: 22px; border: 2px dashed #bfc7bc; border-radius: 9px; background: #f7f9f6; color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; transition: .18s ease; }
.admin-image-dropzone > span { width: 42px; height: 42px; margin-bottom: 4px; border-radius: 50%; background: #e5f7dd; color: var(--green-dark); display: grid; place-items: center; font-size: 24px; font-weight: 800; }
.admin-image-dropzone strong { font-size: 14px; }
.admin-image-dropzone small { color: var(--muted); font-size: 11px; }
.admin-image-dropzone em { margin-top: 5px; color: #8b928b; font-size: 9px; font-style: normal; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.admin-image-dropzone:hover, .admin-image-dropzone.dragging { border-color: var(--green-dark); background: #eff9eb; transform: translateY(-1px); }
.admin-media-note { padding: 18px; border-radius: 8px; background: #f2f5f1; display: grid; gap: 7px; }
.admin-media-note strong { font-size: 13px; }
.admin-media-note span { color: var(--muted); font-size: 12px; line-height: 1.55; }
.admin-gallery-thumbs { margin-top: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.admin-gallery-thumbs article { min-width: 0; padding: 5px; border: 1px solid #d7ddd5; border-radius: 7px; background: #fff; }
.admin-gallery-thumbs article.main { padding: 4px; border: 2px solid var(--green); }
.admin-gallery-thumbs .thumb { width: 100%; height: 112px; padding: 0; overflow: hidden; display: block; border: 0; border-radius: 4px; background: #eef1ed; }
.admin-gallery-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-gallery-thumbs article > div { margin-top: 5px; display: grid; grid-template-columns: 1fr auto; gap: 4px; }
.admin-gallery-thumbs .set-main, .admin-gallery-thumbs .remove { min-height: 30px; padding: 0 7px; border: 0; border-radius: 4px; font-size: 9px; font-weight: 750; }
.admin-gallery-thumbs .set-main { background: #edf0ed; color: #464d46; }
.admin-gallery-thumbs article.main .set-main { background: var(--green); color: #102000; }
.admin-gallery-thumbs .remove { background: #fff0ed; color: var(--danger); }
.admin-gallery-empty { grid-column: 1 / -1; min-height: 90px; border: 1px dashed #cbd1cb; border-radius: 7px; display: grid; place-items: center; color: #8b928b; font-size: 12px; }
.admin-publish-card label { display: grid; gap: 8px; margin-bottom: 17px; color: #4e554e; font-size: 12px; font-weight: 700; }
.admin-price-input { position: relative; }
.admin-price-input input { padding-right: 50px; }
.admin-price-input b { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 12px; }
.admin-publish-state { margin-top: 4px; padding: 13px; border-radius: 7px; background: #eff9eb; color: #3f6330; display: flex; gap: 9px; font-size: 11px; line-height: 1.45; }
.admin-publish-state i { width: 8px; height: 8px; flex: 0 0 auto; margin-top: 3px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(63,198,0,.15); }
.admin-checklist-card > small { color: var(--green-dark); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.admin-checklist-card ul { margin: 16px 0 0; padding: 0; display: grid; gap: 11px; list-style: none; }
.admin-checklist-card li { position: relative; padding-left: 22px; color: #596159; font-size: 12px; }
.admin-checklist-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green-dark); font-weight: 900; }
.admin-note { color: var(--muted); line-height: 1.6; max-width: 700px; }
.settings-title-row { align-items: end; }
.settings-title-row p { margin: 13px 0 0; color: var(--muted); font-size: 14px; }
.settings-saved-state { display: flex; align-items: center; gap: 9px; color: #536053; font-size: 12px; font-weight: 750; }
.settings-saved-state i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(63,198,0,.14); }
.settings-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; }
.settings-main-column { min-width: 0; display: grid; gap: 20px; }
.settings-side-column { display: grid; gap: 14px; position: sticky; top: 104px; }
.settings-card { padding: 28px; border: 1px solid rgba(20,24,20,.09); border-radius: 10px; background: #fff; box-shadow: 0 12px 34px rgba(18,24,18,.045); }
.settings-card > header { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid #edf0ed; }
.settings-card-number { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; background: #eaf8e4; color: var(--green-dark); display: grid; place-items: center; font-size: 11px; font-weight: 850; }
.settings-card header small { display: block; color: var(--green-dark); font-size: 10px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.settings-card header h2 { margin: 4px 0 0; font-size: 23px; letter-spacing: -.03em; }
.settings-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.settings-field-grid label { display: grid; gap: 8px; color: #4e554e; font-size: 12px; font-weight: 750; }
.settings-field-grid label.wide { grid-column: 1 / -1; }
.settings-field-grid input { min-height: 52px; border-radius: 6px; font-size: 15px; }
.settings-field-grid label > small { color: #858d85; font-size: 11px; font-weight: 500; line-height: 1.45; }
.settings-suffix-input { position: relative; }
.settings-suffix-input input { width: 100%; padding-right: 52px; }
.settings-suffix-input b { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 12px; }
.settings-bank-note { margin-top: 24px; padding: 18px; border-radius: 8px; background: #f2f5f1; display: flex; gap: 14px; align-items: flex-start; }
.settings-bank-note > span { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 8px; background: var(--ink); color: var(--green); display: grid; place-items: center; font-size: 12px; font-weight: 900; }
.settings-bank-note strong { display: block; font-size: 13px; }
.settings-bank-note p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.settings-summary-card { padding: 24px; border-radius: 10px; background: var(--ink); color: #fff; box-shadow: 0 14px 38px rgba(18,24,18,.13); }
.settings-summary-card > small { color: var(--green); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.settings-summary-card h3 { margin: 8px 0 20px; font-size: 23px; letter-spacing: -.03em; }
.settings-summary-card > div { min-height: 45px; padding: 11px 0; border-top: 1px solid #303530; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.settings-summary-card span { color: #aeb6ae; font-size: 11px; }
.settings-summary-card strong { max-width: 170px; font-size: 12px; text-align: right; overflow-wrap: anywhere; }
.settings-warning { padding: 17px 18px; border: 1px solid #f0d4a8; border-radius: 9px; background: #fff7e9; color: #744b09; }
.settings-warning strong { font-size: 12px; }
.settings-warning p { margin: 5px 0 0; font-size: 11px; line-height: 1.5; }
.settings-save-button { min-height: 56px; border-radius: 8px; justify-content: space-between; padding: 0 18px 0 21px; box-shadow: 0 10px 26px rgba(63,198,0,.2); }
.settings-save-button b { font-size: 20px; }

/* Native admin login */
.login-body { min-height: 100vh; background: #f3f5f2; }
.login-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 1.08fr) minmax(420px, .92fr); }
.login-visual { position: relative; overflow: hidden; min-height: 100vh; background: #101210; color: #fff; }
.login-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.login-visual-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,9,7,.16), rgba(7,9,7,.88)); }
.login-brand { position: absolute; z-index: 2; left: 48px; top: 38px; background: rgba(255,255,255,.94); padding: 8px 12px; border-radius: 4px; }
.login-visual-copy { position: absolute; z-index: 2; left: 48px; bottom: 55px; max-width: 520px; }
.login-visual-copy h1 { font-size: clamp(56px, 6vw, 86px); line-height: .9; letter-spacing: -.06em; margin: 20px 0 24px; }
.login-visual-copy p { color: #c4cbc4; font-size: 17px; }
.login-panel { display: grid; place-items: center; position: relative; padding: 60px; }
.login-back { position: absolute; left: 42px; top: 35px; color: var(--muted); font-size: 13px; font-weight: 700; }
.login-card { width: min(430px, 100%); }
.login-card h2 { margin: 12px 0 13px; font-size: 48px; line-height: 1; letter-spacing: -.05em; }
.login-card > p { color: var(--muted); line-height: 1.6; margin: 0 0 30px; }
.login-card form label { display: grid; gap: 8px; margin-bottom: 18px; color: #4e554e; font-size: 13px; font-weight: 700; }
.login-card input { min-height: 52px; font-size: 16px; }
.login-card .primary-button { justify-content: space-between; margin-top: 6px; }
.login-card > small { display: block; color: var(--muted); line-height: 1.5; margin-top: 20px; }
.login-error { color: #9e2418; background: #fff0ed; border-left: 3px solid var(--danger); padding: 11px 13px; margin-bottom: 16px; font-size: 13px; }

@media (max-width: 1250px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-copy { width: 70vw; }
  .vehicle-finder { grid-template-columns: 1fr; bottom: -165px; }
  .finder-intro { display: flex; }
  .finder-intro > div { display: flex; align-items: center; gap: 16px; }
  .finder-intro h2 { margin: 0; }
  .finder-help { grid-column: 1; }
  .catalog-section { padding-top: 250px; }
  .quick-filters { flex-wrap: wrap; }
  .catalog-search { flex-basis: 100%; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; min-height: 0; border-left: 0; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; }
  .admin-editor-layout { grid-template-columns: 1fr; }
  .admin-editor-aside { position: static; grid-template-columns: 1fr 1fr; }
  .admin-editor-actions { grid-column: 1 / -1; justify-self: end; width: min(420px, 100%); }
  .settings-workspace { grid-template-columns: 1fr 290px; }
  .order-detail-layout { grid-template-columns: minmax(0, 1fr) 290px; }
  .order-detail-pair { grid-template-columns: 1fr; }
}

@media (max-width: 900px) and (min-width: 781px) {
  .vehicle-finder { bottom: -245px; min-height: 360px; }
  .finder-fields { grid-template-columns: 1fr 1fr; }
  .finder-submit { grid-column: 1 / -1; }
  .catalog-section { padding-top: 335px; }
}

@media (max-width: 780px) {
  .site-header { height: 70px; padding: 0 16px; gap: 12px; }
  .brand { min-width: 0; }
  .brand img { width: 67px; }
  .brand span, .main-nav, .admin-link { display: none; }
  .header-actions { margin-left: auto; }
  .cart-button { min-height: 42px; }
  .hero { min-height: 790px; height: auto; overflow: visible; }
  .hero-inner, .vehicle-finder { width: calc(100% - 32px); }
  .hero-image { object-position: 61% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(8,10,8,.96) 0%, rgba(8,10,8,.82) 48%, rgba(8,10,8,.15) 100%); }
  .hero-copy { width: 100%; padding: 220px 22px 320px; }
  .hero h1 { font-size: 48px; }
  .hero-copy p { font-size: 16px; }
  .hero-proof { display: none; }
  .vehicle-finder { bottom: -290px; padding: 20px; min-height: 480px; }
  .finder-intro > div { display: block; }
  .finder-intro h2 { margin-top: 6px; }
  .finder-icon { display: none; }
  .finder-fields { grid-template-columns: 1fr; }
  .finder-fields input, .finder-fields select, .finder-submit { height: 50px; }
  .finder-help { text-align: center; }
  .finder-help span { display: block; float: none; margin-top: 6px; }
  .catalog-section { padding: 365px 16px 75px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 15px; }
  .quick-filters { display: grid; grid-template-columns: 1fr 1fr; }
  .catalog-search, .season-pills { grid-column: 1 / -1; }
  .season-pills { overflow-x: auto; }
  .season-pill { min-height: 38px; flex: 1; }
  .reset-button { grid-column: 1 / -1; justify-self: start; }
  .selected-vehicle { align-items: flex-start; flex-wrap: wrap; }
  .selected-vehicle div { width: calc(100% - 52px); }
  .product-grid { grid-template-columns: 1fr; }
  .product-image { height: 260px; }
  .buying-strip { grid-template-columns: 1fr; gap: 34px; padding: 50px 16px; }
  footer { grid-template-columns: 1fr; gap: 30px; padding-inline: 16px; }
  .copyright { grid-column: auto; }
  .form-grid, .dialog-product { grid-template-columns: 1fr; }
  .checkout-heading { padding: 28px 22px 22px; }
  .checkout-heading h2 { font-size: 34px; }
  .checkout-fields, .checkout-summary { padding: 24px 22px 30px; }
  .checkout-page-main { width: calc(100% - 28px); padding-top: 12px; }
  .checkout-page-heading { padding: 18px 0 24px; }
  .checkout-page-heading h1 { font-size: 46px; }
  .checkout-section .wide { grid-column: auto; }
  .choice-grid { grid-template-columns: 1fr; }
  .shipping-fields { padding: 16px 16px 0; }
  .success-heading { grid-template-columns: 1fr; text-align: center; }
  .success-icon { margin: 0 auto; }
  .success-heading p { margin-inline: auto; }
  .success-payment { grid-template-columns: 1fr; padding: 22px 18px; }
  .success-payment-qr { width: min(280px, 100%); margin: 0 auto; }
  .dialog-product-image { min-height: 280px; }
  .dialog-product-copy { padding: 35px 24px; }
  .product-page-main { width: calc(100% - 32px); padding-top: 12px; }
  .product-breadcrumb { overflow: hidden; white-space: nowrap; }
  .product-breadcrumb strong { overflow: hidden; text-overflow: ellipsis; }
  .product-page-layout { grid-template-columns: 1fr; gap: 20px; padding: 12px 0 46px; }
  .product-page-main-image { min-height: 340px; height: 110vw; max-height: 520px; }
  .product-detail-panels.has-tires { grid-template-columns: 1fr; }
  .tire-visual-grid { grid-template-columns: 1fr 78px 1fr; gap: 8px; }
  .tire-check-mark { min-height: 204px; }
  .tire-measurement { padding: 13px; gap: 10px; }
  .tire-measurement > div:first-child { display: grid; }
  .tire-measurement strong { font-size: 24px; }
  .product-page-thumbs { grid-template-columns: repeat(4, 1fr); }
  .product-page-thumbs button { height: 76px; }
  .product-page-info { position: static; padding-top: 12px; }
  .product-page-info h1 { font-size: 42px; }
  .product-page-specs { padding: 25px 20px; grid-template-columns: 1fr; gap: 25px; }
  .product-page-spec-grid { grid-template-columns: 1fr; }
  .product-page-service { padding: 28px 22px; grid-template-columns: 1fr; }
  .admin-shell { display: block; }
  .admin-body::before { display: none; }
  .admin-sidebar { height: auto; position: static; padding: 14px 16px; flex-direction: row; align-items: center; overflow-x: auto; }
  .admin-sidebar::after, .admin-nav::before { display: none; }
  .admin-sidebar .brand { margin: 0 20px 0 0; }
  .admin-sidebar .brand::after { width: 67px; height: 38px; }
  .admin-sidebar .brand span, .admin-store-link { display: none; }
  .admin-nav { display: flex; gap: 4px; }
  .admin-nav a { white-space: nowrap; padding: 10px; }
  .admin-nav a span:last-child { display: none; }
  .admin-topbar { padding: 0 18px; }
  .admin-topbar p { display: none; }
  .admin-content { padding: 28px 16px 50px; }
  .admin-title-row { align-items: start; }
  .admin-title-row h1 { font-size: 34px; }
  .settings-title-row { display: grid; }
  .settings-saved-state { margin-top: 8px; }
  .settings-workspace { grid-template-columns: 1fr; }
  .settings-side-column { position: static; }
  .settings-field-grid { grid-template-columns: 1fr; }
  .settings-field-grid label.wide { grid-column: auto; }
  .settings-card { padding: 20px 16px; }
  .order-detail-bar { min-height: 76px; padding: 12px 16px; grid-template-columns: 1fr auto; }
  .order-detail-bar > div:nth-child(2) { text-align: right; }
  .order-detail-bar h1 { font-size: 21px; }
  .order-detail-bar .eyebrow, .order-detail-bar > div:last-child { display: none; }
  .order-detail-layout { grid-template-columns: 1fr; }
  .order-detail-aside { position: static; }
  .order-detail-card { padding: 20px 16px; }
  .order-items-detail article { align-items: start; }
  .kpi-grid, .dashboard-grid { grid-template-columns: 1fr; }
  .admin-toolbar { flex-wrap: wrap; }
  .admin-toolbar input, .admin-toolbar select { max-width: none; width: 100%; }
  .product-parameter-grid { grid-template-columns: 1fr; }
  .product-parameter-grid label, .product-parameter-grid label:nth-last-child(-n+2) { margin-bottom: 16px; }
  .fitment-row { grid-template-columns: 1fr 1fr; }
  .tire-row { grid-template-columns: 1fr 1fr; }
  .tire-row > strong { grid-column: 1 / -1; }
  .fitment-remove-button { grid-column: 1 / -1; width: 100%; min-height: 40px; }
  .admin-editor-bar { min-height: 76px; padding: 12px 16px; grid-template-columns: 1fr auto; }
  .admin-editor-bar > div { text-align: right; }
  .admin-editor-bar h2 { font-size: 21px; }
  .admin-editor-bar .eyebrow, .admin-editor-status { display: none; }
  .admin-editor-form { width: 100%; margin: 14px 0 0; }
  .admin-editor-aside { grid-template-columns: 1fr; }
  .admin-editor-actions { grid-column: auto; width: 100%; padding: 0; }
  .admin-editor-actions .primary-button { min-width: 0; flex: 1; }
  .admin-form-card, .product-parameter-group, .fitments-editor { padding: 18px 14px; }
  .admin-form-card > header, .product-parameter-group > header, .fitments-editor > header { align-items: flex-start; flex-direction: column; }
  .admin-upload-button { width: 100%; justify-content: center; }
  .admin-media-workspace { grid-template-columns: 1fr; }
  .admin-main-preview, .admin-main-preview img { min-height: 250px; height: 250px; }
  .admin-gallery-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .login-layout { grid-template-columns: 1fr; }
  .login-visual { display: none; }
  .login-panel { padding: 90px 24px 40px; }
  .login-back { left: 24px; top: 28px; }
  .login-card h2 { font-size: 42px; }
}
