:root{--bg:#f4f8fc;--surface:#fff;--surface-2:#f8fbff;--text:#0b1220;--muted:#66758c;--border:#dbe7f3;--primary:#009ef7;--primary-dark:#0087d1;--success:#22c55e;--danger:#ef4444;--warning:#ffb800;--dark:#0f1728;--radius:18px;--shadow:0 16px 40px rgba(15,23,40,.08);--container:1320px;--header-h:84px;font-synthesis-weight:none}
[data-theme="dark"]{--bg:#08111f;--surface:#111c2d;--surface-2:#17253a;--text:#f3f7fb;--muted:#9fb0c7;--border:#24344f;--dark:#030811;--shadow:0 20px 45px rgba(0,0,0,.28)}
*{box-sizing:border-box}html,body{margin:0;padding:0}body{font:400 16px/1.5 Inter,Arial,sans-serif;background:var(--bg);color:var(--text)}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}
.container{width:min(calc(100% - 32px),var(--container));margin:0 auto}.page-shell{min-height:60vh}.muted{color:var(--muted)}.eyebrow{display:inline-block;margin:0 0 8px;color:var(--primary);font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:.78rem}.section{padding:28px 0 56px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}.section-head--stacked{align-items:start;flex-direction:column}.section h1,.section h2,.section h3{margin:0}.flash{padding:12px 0;background:#eafaf0;border-bottom:1px solid #d3f4de;color:#0f7a32}.card,.list-card,.product-card,.category-card,.brand-card,.selection-tile,.action-tile,.empty-state,.search-panel,.summary-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.topbar{background:var(--dark);color:#d7e2f0}.topbar-inner{display:flex;justify-content:space-between;align-items:center;min-height:40px;gap:16px;font-size:13px}.topbar-actions{display:flex;align-items:center;gap:16px}.theme-toggle{border:0;background:transparent;color:inherit;padding:0}.site-header{position:sticky;top:0;z-index:20;background:rgba(244,248,252,.92);backdrop-filter:blur(16px);border-bottom:1px solid rgba(219,231,243,.8)}[data-theme="dark"] .site-header{background:rgba(8,17,31,.92)}.header-main{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;padding:14px 0}.logo{display:flex;align-items:center;gap:12px}.logo-mark{width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,var(--primary),#47c0ff);display:grid;place-items:center;color:#fff;font-weight:900;font-size:28px}.logo-text strong{display:block;font-size:1.1rem}.logo-text small{display:block;color:var(--muted)}.header-search{display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--border);border-radius:999px;padding:8px 8px 8px 16px;min-height:56px}.header-search input,.hero-search input,.search-panel input,.oecat-vin-form input,.checkout-form input,.checkout-form textarea,.auth-card input,.buy-form input{width:100%;border:0;background:transparent;outline:none;color:var(--text)}.header-search button,.hero-search button,.search-panel button,.oecat-vin-form button,.checkout-form button,.auth-card button,.buy-form button,.btn-primary{border:0;border-radius:999px;background:var(--primary);color:#fff;font-weight:800;padding:14px 22px;transition:.2s}.header-search button:hover,.hero-search button:hover,.search-panel button:hover,.oecat-vin-form button:hover,.checkout-form button:hover,.auth-card button:hover,.buy-form button:hover,.btn-primary:hover{background:var(--primary-dark)}.header-actions{display:flex;gap:10px}.header-pill{padding:14px 18px;border-radius:999px;border:1px solid var(--border);background:var(--surface);font-weight:700}.header-pill--accent{background:var(--primary);color:#fff;border-color:transparent}.burger{display:none;width:46px;height:46px;border:1px solid var(--border);border-radius:14px;background:var(--surface);padding:12px}.burger span{display:block;height:2px;background:var(--text);margin:5px 0}.navline{border-top:1px solid rgba(219,231,243,.7)}.navline-inner{display:flex;align-items:center;gap:28px;min-height:52px;font-weight:700;color:var(--muted)}
.hero-home{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:28px;padding-top:34px}.hero{align-items:stretch}.hero-copy,.hero-panel{padding:34px}.hero-copy{background:linear-gradient(135deg,var(--surface),var(--surface-2));border:1px solid var(--border);border-radius:28px;box-shadow:var(--shadow)}.hero-copy h1{font-size:clamp(2.2rem,4.2vw,4.2rem);line-height:1.02;max-width:12ch;margin:0 0 16px}.hero-text{font-size:1.06rem;color:var(--muted);max-width:60ch;margin:0 0 22px}.hero-search,.search-panel,.oecat-vin-form{display:flex;gap:12px;align-items:center;padding:10px;background:var(--surface);border:1px solid var(--border);border-radius:24px}.quick-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.quick-chip,.chip,.badge{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:var(--surface);border:1px solid var(--border);font-weight:700}.hero-panel{background:linear-gradient(180deg,#10213c,#08111f);color:#fff}.card-dark{border:0}.hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px}.hero-stats div{background:rgba(255,255,255,.08);border-radius:20px;padding:18px}.hero-stats strong{display:block;font-size:1.6rem}.hero-stats span{font-size:.9rem;color:#b7c9df}.hero-actions-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.action-tile{padding:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08);color:#fff}.action-tile strong,.category-card strong,.brand-card strong,.product-card strong,.selection-tile strong{display:block;font-size:1.02rem;margin-bottom:6px}.action-tile span,.category-card span,.brand-card span,.product-card span,.selection-tile span{color:var(--muted)}
.cards-grid,.product-grid,.selection-grid,.dashboard-grid,.details-grid{display:grid;gap:18px}.cards-grid--categories{grid-template-columns:repeat(4,minmax(0,1fr))}.cards-grid--brands{grid-template-columns:repeat(6,minmax(0,1fr))}.category-card,.brand-card,.selection-tile,.product-card{padding:20px;transition:.18s transform,.18s border-color}.category-card:hover,.brand-card:hover,.selection-tile:hover,.product-card:hover,.action-tile:hover{transform:translateY(-2px);border-color:rgba(0,158,247,.45)}.category-card__icon,.brand-card__logo,.brand-logo{width:56px;height:56px;border-radius:16px;display:grid;place-items:center;background:var(--surface-2);border:1px solid var(--border);font-weight:800;font-size:1.35rem;margin-bottom:16px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-card__head{display:flex;justify-content:space-between;gap:10px;align-items:start;margin-bottom:12px}.badge{font-size:.8rem;padding:7px 11px;background:var(--primary);color:#fff;border-color:transparent}.badge--ghost{background:var(--surface-2);color:var(--text);border-color:var(--border)}
.breadcrumbs{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:18px;color:var(--muted);font-weight:600}.product-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);gap:20px}.product-gallery,.card-buy,.card-heavy,.summary-card,.checkout-form,.auth-card{padding:24px}.product-brand-inline{display:flex;align-items:center;gap:14px;margin-bottom:14px}.gallery{margin-top:16px}.gallery-main{border-radius:24px;background:var(--surface-2);border:1px solid var(--border);aspect-ratio:1/1;object-fit:contain;padding:24px}.gallery-thumbs{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.thumb{width:84px;height:84px;border-radius:16px;border:1px solid var(--border);background:var(--surface);padding:8px}.thumb img{width:100%;height:100%;object-fit:contain}.buy-top{display:flex;justify-content:space-between;align-items:start;gap:14px;margin-bottom:18px}.buy-top h2{font-size:2rem}.stock-pill{padding:8px 12px;border-radius:999px;background:rgba(34,197,94,.14);color:#148a41;font-weight:800}.buy-form,.checkout-form,.auth-card{display:grid;gap:14px}.buy-form label,.checkout-form label,.auth-card label{display:grid;gap:8px;font-weight:700}.buy-form input,.checkout-form input,.checkout-form textarea,.auth-card input{min-height:52px;border:1px solid var(--border);background:var(--surface-2);border-radius:16px;padding:14px}.checkout-form textarea{min-height:130px;resize:vertical}.details-grid{grid-template-columns:1.3fr 1fr 1fr;margin-top:20px}.feature-list,.simple-list,.footer-links{list-style:none;margin:0;padding:0;display:grid;gap:12px}.feature-list a,.simple-list a{color:var(--primary);font-weight:700}.card-heavy__head{margin-bottom:14px}.skeleton-block{height:200px;border-radius:22px;background:linear-gradient(90deg,var(--surface-2),rgba(0,158,247,.08),var(--surface-2));background-size:200% 100%;animation:shimmer 1.5s infinite}
.list-card{overflow:hidden}.list-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;border-bottom:1px solid var(--border)}.list-row:last-child{border-bottom:0}.cart-inline-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.link-danger{background:none;border:0;color:var(--danger);font-weight:800;padding:0}.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px}.summary-card{height:max-content;position:sticky;top:120px}.summary-total{font-size:2rem;font-weight:900;margin:10px 0 18px}.success-card{max-width:640px;margin:0 auto;padding:34px;text-align:center}.success-page{padding-top:56px}.auth-shell{display:grid;grid-template-columns:.9fr 1.1fr;gap:22px;align-items:start}.auth-forms{display:grid;grid-template-columns:1fr 1fr;gap:18px}.otp-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.otp-cell{text-align:center;font-size:1.2rem;font-weight:800}.dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-meta{padding:10px 0;border-bottom:1px solid var(--border)}.profile-meta:last-child{border-bottom:0}.info-banner{display:grid;gap:6px;padding:18px 20px;border:1px solid var(--border);border-radius:20px;background:var(--surface);margin-top:18px}.selection-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.empty-state{padding:32px;text-align:center}.code-block{white-space:pre-wrap;word-break:break-word;font-size:14px}
.site-footer{background:var(--dark);color:#e2ebf7;margin-top:30px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:28px;padding:40px 0 24px}.footer-brand{font-weight:900;font-size:1.35rem;margin-bottom:12px}.footer-links a{color:#c6d6ea}.footer-copy{padding:16px 0;border-top:1px solid rgba(255,255,255,.09);color:#9fb0c7}
@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
@media (max-width:1279px){.cards-grid--brands{grid-template-columns:repeat(4,minmax(0,1fr))}.cards-grid--categories,.selection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-grid,.details-grid,.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-shell,.hero-home,.product-hero,.checkout-layout{grid-template-columns:1fr}.summary-card{position:static}}
@media (max-width:1023px){.header-main{grid-template-columns:auto auto;grid-template-areas:"burger logo" "search search"}.burger{display:block;grid-area:burger}.logo{grid-area:logo}.header-search{grid-area:search}.header-actions{display:none}.navline{display:none}.navline.is-open{display:block}.navline-inner{display:grid;gap:0;padding:8px 0}.navline-inner a{padding:14px 0;border-bottom:1px solid var(--border)}.cards-grid--categories,.cards-grid--brands,.product-grid,.selection-grid,.details-grid,.dashboard-grid,.auth-forms,.footer-grid{grid-template-columns:1fr 1fr}}
@media (max-width:767px){body{font-size:15px}.container{width:min(calc(100% - 24px),var(--container))}.topbar{display:none}.header-main{padding:10px 0}.header-search,.hero-search,.search-panel,.oecat-vin-form{border-radius:18px}.hero-copy,.hero-panel,.product-gallery,.card-buy,.card-heavy,.summary-card,.checkout-form,.auth-card,.success-card{padding:20px}.hero-copy h1{max-width:none}.hero-actions-grid,.hero-stats,.cards-grid--categories,.cards-grid--brands,.product-grid,.selection-grid,.details-grid,.dashboard-grid,.auth-forms,.footer-grid{grid-template-columns:1fr}.gallery-thumbs{display:grid;grid-template-columns:repeat(4,1fr)}.thumb{width:100%;height:72px}.buy-top h2{font-size:1.7rem}.section{padding:22px 0 42px}.section-head{margin-bottom:18px}.otp-grid{gap:8px}.footer-grid{padding:30px 0 22px}}
.hero-auto-widget{display:grid;gap:14px;min-height:100%}.hero-auto-widget__catalog{display:flex;align-items:center;gap:18px;min-height:106px;padding:22px 26px;border-radius:24px;background:#ff6b2c;color:#fff;font-weight:900;font-size:1.18rem;line-height:1.2;box-shadow:0 18px 40px rgba(255,107,44,.28)}.hero-auto-widget__catalog:hover{background:#ff5f1d;color:#fff}.hero-auto-widget__menu{display:grid;gap:6px;width:30px;flex:0 0 auto}.hero-auto-widget__menu span{display:block;height:3px;border-radius:999px;background:#fff}.hero-auto-widget__steps{display:grid;background:rgba(255,255,255,.96);border:1px solid rgba(219,231,243,.86);border-radius:24px;overflow:hidden;color:#0b1424}.hero-auto-step{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:0 22px;border-bottom:1px solid #dbe7f3;color:#0b1424;font-weight:900}.hero-auto-step:last-child{border-bottom:0}.hero-auto-step:hover{background:#f4f8fc;color:#0b1424}.hero-auto-step.is-disabled{color:#98a4b3;background:#fff;pointer-events:none}.hero-auto-step__chevron{width:12px;height:12px;border-right:3px solid currentColor;border-bottom:3px solid currentColor;transform:rotate(45deg);opacity:.8;margin-top:-5px;flex:0 0 auto}.hero-auto-step.is-active .hero-auto-step__chevron{color:#0b1424}@media (max-width:1279px){.hero-auto-widget{max-width:520px;margin:0 auto}}@media (max-width:767px){.hero-auto-widget__catalog{min-height:88px;border-radius:20px;padding:18px 20px}.hero-auto-widget__steps{border-radius:20px}.hero-auto-step{min-height:58px;padding:0 18px}}
.logo-image{display:block;width:clamp(148px,14vw,230px);height:auto}.header-main .logo{min-width:clamp(148px,14vw,230px);gap:0}.header-main{grid-template-columns:minmax(148px,230px) 1fr auto}@media (max-width:1023px){.header-main{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"burger logo" "search search"}.logo{justify-self:start;max-width:100%;overflow:hidden}.logo-image{width:156px;max-width:100%}.header-main .logo{min-width:0}}@media (max-width:520px){.logo-image{width:132px}}@media (max-width:420px){.logo-image{width:112px}}

.search-meta{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 18px}
.search-page .search-panel{margin-bottom:18px}
.search-panel--with-brand{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,260px) auto}
.search-brand-picker{display:grid;gap:16px;margin-top:18px}
.search-brand-picker__head{display:grid;gap:4px}
.search-brand-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.search-brand-card{display:grid;gap:6px;padding:18px;border-radius:18px;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow)}
.search-brand-card:hover{border-color:rgba(0,158,247,.45);transform:translateY(-2px)}
.search-brand-card strong{font-size:1.05rem}
.search-brand-card span{color:var(--muted)}
.search-matrix-list{display:grid;gap:18px}
.search-matrix-card{margin-top:0}
.search-matrix-title{font-size:1.15rem;font-weight:900}
.search-matrix-title a{color:var(--text)}
.search-matrix-title a:hover{color:var(--primary)}
.search-empty{margin-top:18px}
@media (max-width:1023px){.search-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){.search-panel--with-brand{grid-template-columns:1fr}.search-brand-grid{grid-template-columns:1fr}}
.buy-note{margin-top:12px}
.offer-matrix{display:grid;gap:16px}
.offer-matrix__toolbar{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:4px}
.offer-group{display:grid;gap:10px}
.offer-group__title{font-weight:900;font-size:1rem}
.offer-row{display:grid;grid-template-columns:220px minmax(0,1fr) 180px 140px 120px;gap:14px;align-items:center;padding:14px 16px;border:1px solid var(--border);border-radius:18px;background:var(--surface)}
.offer-row__main,.offer-row__meta,.offer-row__price,.offer-row__action,.offer-row__diag{min-width:0}
.offer-row__main strong,.offer-row__meta strong{display:block}
.offer-row__price strong{font-size:1.05rem}
.offer-diag{position:relative;display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border-radius:999px;background:var(--surface-2);border:1px solid var(--border);font-weight:800;cursor:help}
.offer-diag__icon{width:20px;height:20px;border-radius:999px;background:var(--primary);color:#fff;display:grid;place-items:center;font-size:12px;line-height:1}
.offer-tooltip{position:absolute;left:0;top:calc(100% + 10px);width:260px;padding:12px 14px;border-radius:14px;background:var(--dark);color:#fff;box-shadow:var(--shadow);opacity:0;pointer-events:none;transform:translateY(6px);transition:.18s;z-index:5}
.offer-diag:hover .offer-tooltip,.offer-diag:focus .offer-tooltip{opacity:1;transform:translateY(0)}
.offer-buy-form{display:flex;justify-content:flex-end}
.btn-buy-row{width:100%;padding:12px 14px}
.offer-unavailable{display:inline-flex;padding:10px 12px;border-radius:999px;background:var(--surface-2);border:1px solid var(--border);font-weight:700}
.checkout-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.pickup-box{display:grid;gap:12px;padding:18px;border-radius:20px;background:var(--surface-2);border:1px solid var(--border)}
.pickup-box__head{display:grid;gap:4px}
.pickup-grid{display:grid;gap:10px}
.pickup-card{display:grid;gap:4px;padding:14px 16px;border-radius:16px;border:1px solid var(--border);background:var(--surface);cursor:pointer;transition:.18s}
.pickup-card input{display:none}
.pickup-card.is-active{border-color:var(--primary);box-shadow:0 0 0 3px rgba(0,158,247,.12)}
.pickup-card__title{font-weight:800}
.delivery-box{margin-top:18px;padding:16px;border-radius:18px;background:var(--surface-2);border:1px solid var(--border)}
@media (max-width:1023px){.offer-row{grid-template-columns:1fr 1fr}.offer-row__main{grid-column:span 2}.offer-matrix__toolbar{flex-direction:column}.checkout-grid-2{grid-template-columns:1fr}}
@media (max-width:767px){.offer-row{grid-template-columns:1fr;gap:10px}.offer-row__main{grid-column:auto}.offer-buy-form{justify-content:stretch}.btn-buy-row{width:100%}}

.flash{padding:12px 14px;border-radius:14px;margin-top:16px;font-weight:700}.flash--error{background:#2a1115;color:#ffb4b4;border:1px solid rgba(239,68,68,.35)}.flash--success{background:#0f2017;color:#9ff0b7;border:1px solid rgba(34,197,94,.3)}.auth-shell--single{grid-template-columns:minmax(0,.85fr) minmax(420px,560px)}.auth-card--otp{display:grid;gap:14px}.auth-step-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:4px}.field-label{display:grid;gap:8px;font-weight:800}.field-hint{margin:0;color:var(--muted);font-size:.95rem}.auth-inline-actions{display:flex;gap:12px;flex-wrap:wrap}.btn-secondary{background:transparent;border:1px solid var(--border);color:var(--text);border-radius:999px;padding:14px 22px;font-weight:800}.otp-stage{display:grid;gap:14px;padding-top:8px;border-top:1px solid var(--border)}.otp-grid--unified{grid-template-columns:repeat(6,56px);justify-content:flex-start}.otp-grid--unified .otp-cell{height:72px;border-radius:20px;font-size:1.6rem;background:rgba(255,255,255,.04)}.otp-resend-note{color:var(--muted);font-weight:700}.btn-block{width:100%}.hidden{display:none!important}
@media (max-width:1024px){.auth-shell--single{grid-template-columns:1fr}.auth-card--otp{max-width:680px}}
@media (max-width:767px){.auth-inline-actions{display:grid;grid-template-columns:1fr}.otp-grid--unified{grid-template-columns:repeat(6,minmax(0,1fr))}.otp-grid--unified .otp-cell{height:64px}}

.product-gallery{overflow:hidden}
.gallery-main{width:100%;max-height:520px}
.gallery-strip{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;gap:10px;align-items:center;margin-top:12px}
.gallery-thumbs{display:flex;gap:10px;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;margin-top:0;padding:2px 0 8px;scrollbar-width:thin}
.gallery-thumbs::-webkit-scrollbar{height:8px}
.gallery-thumbs::-webkit-scrollbar-thumb{background:var(--border);border-radius:999px}
.thumb{flex:0 0 86px;scroll-snap-align:start}
.thumb.is-active{border-color:var(--primary);box-shadow:0 0 0 2px rgba(0,158,247,.16)}
.gallery-nav{width:42px;height:42px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:28px;font-weight:900;line-height:1;display:grid;place-items:center}
.gallery-nav:hover{border-color:var(--primary);color:var(--primary)}
.product-buy,.card-heavy{min-width:0;overflow:hidden}
.offer-matrix{min-width:0}
.offer-matrix__toolbar{align-items:center}
.offer-legend{max-width:260px}
.offer-row{grid-template-columns:minmax(150px,190px) minmax(180px,1fr) minmax(110px,150px) minmax(110px,140px) minmax(118px,132px);gap:10px;width:100%;box-sizing:border-box}
.offer-row__main strong,.offer-row__main span,.offer-row__meta strong,.offer-row__meta span,.offer-row__price strong{overflow-wrap:anywhere}
.offer-diag{max-width:100%;padding:9px 11px}
.offer-diag__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.offer-row__action{justify-self:end}
.offer-row__action .offer-buy-form{justify-content:flex-end}
.offer-row__action .btn-buy-row{width:auto;max-width:100%;min-width:0;white-space:nowrap;padding:12px 16px}
.offer-row__price{display:grid;gap:2px}
.offer-row__price .muted{font-size:.82rem}
@media (max-width:1279px){.offer-row{grid-template-columns:1fr 1fr}.offer-row__main{grid-column:span 2}.offer-row__action{justify-self:start}.offer-row__action .offer-buy-form{justify-content:flex-start}}
@media (max-width:767px){.gallery-strip{grid-template-columns:36px minmax(0,1fr) 36px}.gallery-nav{width:36px;height:36px}.gallery-thumbs{display:flex}.thumb{flex-basis:74px;height:74px}.offer-row{grid-template-columns:1fr}.offer-row__main{grid-column:auto}.offer-row__action,.offer-row__action .offer-buy-form{justify-self:stretch}.offer-row__action .btn-buy-row{width:100%}}

.admin-actions,.admin-row-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}

.section-head--inline{margin:0 0 14px}
.car-catalog-sections{margin:22px 0}
.car-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.car-category-card{padding:18px;min-height:96px}
.car-category-card strong{font-size:1rem}
.car-products-head{margin-top:24px}
.car-page .breadcrumbs strong{color:var(--text)}
@media (max-width:1279px){.car-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:1023px){.car-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){.car-category-grid{grid-template-columns:1fr}}

.product-details-grid{grid-template-columns:minmax(320px,1fr) minmax(420px,1.25fr);align-items:start}
.product-hero{align-items:start}
.product-feature-card .buy-top,.product-feature-card .buy-form,.product-feature-card .buy-note{display:none}
.product-feature-card .details-card__head{margin-bottom:16px}
.product-feature-card .details-feature-list{max-height:520px;overflow:auto;padding-right:4px}
.product-details-grid{grid-template-columns:1fr}
.product-info-masonry{columns:2 420px;column-gap:20px;margin-top:20px}
.product-info-masonry>.details-card{display:inline-block;width:100%;margin:0 0 20px;break-inside:avoid}
.product-info-masonry .details-card--oem-wide{margin-top:0}
.details-card{padding:22px;min-width:0;overflow:hidden}
.details-card__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid var(--border)}
.details-card__head h3{font-size:1.25rem;line-height:1.2}
.details-card__head span{display:inline-flex;min-width:34px;height:28px;align-items:center;justify-content:center;padding:0 10px;border-radius:999px;background:var(--surface-2);border:1px solid var(--border);color:var(--muted);font-weight:800;font-size:.86rem}
.details-feature-list{gap:10px}
.details-feature-list li a{display:grid;grid-template-columns:minmax(120px,.9fr) minmax(140px,1.1fr);gap:12px;align-items:start;padding:11px 12px;border-radius:14px;background:var(--surface-2);border:1px solid transparent;color:var(--text);font-weight:600}
.details-feature-list li a:hover{border-color:rgba(0,158,247,.35)}
.details-feature-list span{color:var(--muted);font-weight:700}
.details-feature-list strong{color:var(--primary);overflow-wrap:anywhere}
.oem-list{display:flex;flex-wrap:wrap;gap:10px;max-height:460px;overflow:auto;padding-right:4px}
.oem-list li{display:flex}
.oem-list a{display:inline-flex;align-items:center;min-height:36px;padding:8px 11px;border-radius:999px;background:var(--surface-2);border:1px solid var(--border);font-weight:800}
.details-card--oem-wide{margin-top:20px}
.oem-list--wide{max-height:none;overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;padding:2px 0 10px;scrollbar-width:thin}
.oem-list--wide li{flex:0 0 auto}
.oem-list--wide a{min-height:42px;padding:10px 14px}
.fitment-tree{display:grid;gap:14px;max-height:520px;overflow:auto;padding-right:6px}
.fitment-mark{display:grid;gap:10px;padding:14px;border-radius:16px;background:var(--surface-2);border:1px solid var(--border)}
.fitment-mark h4{margin:0;font-size:1rem;text-transform:uppercase;letter-spacing:0;color:var(--primary)}
.fitment-model{display:grid;gap:8px;padding:12px;border-radius:14px;background:var(--surface)}
.fitment-model__name{font-weight:900;color:var(--text)}
.fitment-model ul{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.fitment-model li{position:relative;padding-left:16px;color:var(--muted);line-height:1.35}
.fitment-model li::before{content:"";position:absolute;left:0;top:.65em;width:6px;height:6px;border-radius:999px;background:var(--primary)}
.fitment-model a{color:var(--muted);font-weight:700}
.fitment-model a:hover{color:var(--primary)}
.details-empty{padding:18px;text-align:left;box-shadow:none}
@media (max-width:1279px){.product-details-grid{grid-template-columns:1fr 1fr}.details-card--fitment{grid-column:auto}}
@media (max-width:767px){.product-details-grid{grid-template-columns:1fr}.product-info-masonry{columns:1;margin-top:16px}.product-info-masonry>.details-card{margin-bottom:16px}.details-feature-list li a{grid-template-columns:1fr}.details-card{padding:18px}.oem-list,.fitment-tree{max-height:none;overflow:visible}.details-card--fitment{grid-column:auto}}

.offer-matrix__toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;overflow:hidden}
.offer-legend{max-width:190px}
.offer-legend .chip{max-width:100%;white-space:normal;line-height:1.25;padding:8px 12px}
.offer-row{grid-template-columns:minmax(104px,148px) minmax(120px,1fr) minmax(78px,112px) minmax(108px,130px);grid-template-areas:"diag main meta price" "diag main meta action";align-items:center}
.offer-row__diag{grid-area:diag}
.offer-row__main{grid-area:main}
.offer-row__meta{grid-area:meta}
.offer-row__price{grid-area:price;justify-self:end;white-space:nowrap}
.offer-row__action{grid-area:action;justify-self:end}
.offer-diag{width:100%;min-height:42px;justify-content:center}
.offer-diag__icon{display:none!important}
.offer-row__action .btn-buy-row{padding:9px 14px;font-size:.9rem}
@media (max-width:1279px){.offer-matrix__toolbar{grid-template-columns:1fr}.offer-legend{display:none}.offer-row{grid-template-columns:minmax(96px,132px) minmax(0,1fr) minmax(105px,125px);grid-template-areas:"diag main price" "diag meta action"}.offer-row__main{grid-column:auto}}
@media (max-width:767px){.offer-row{grid-template-columns:1fr;grid-template-areas:"diag" "main" "meta" "price" "action"}.offer-row__price,.offer-row__action{justify-self:stretch}.offer-row__action .offer-buy-form{justify-content:stretch}.offer-row__action .btn-buy-row{width:100%}}

.product-buy,.card-heavy,.offer-matrix,.offer-group,.offer-row,.offer-row__diag{overflow:visible}
.card-heavy,.offer-row,.offer-diag{position:relative}
.card-heavy{z-index:2}
.offer-row{z-index:1}
.offer-row:has(.offer-diag:hover),.offer-row:has(.offer-diag:focus){z-index:20}
.offer-diag{z-index:2}
.offer-tooltip{z-index:1000;width:min(320px,calc(100vw - 40px));white-space:normal;line-height:1.35}

.product-brand-card{padding:24px;display:grid;gap:18px}
.product-brand-card__head{display:flex;align-items:center;gap:16px}
.brand-logo--large{width:72px;height:72px;margin-bottom:0;overflow:hidden;flex:0 0 auto}
.brand-logo--large img{width:100%;height:100%;object-fit:contain}
.brand-info-list{display:grid;gap:0}
.brand-info-list>div{display:grid;gap:6px;padding:14px 0;border-top:1px solid var(--border)}
.brand-info-list span{color:var(--muted);font-size:.88rem;font-weight:800}
.brand-info-list strong,.brand-info-list p{margin:0;overflow-wrap:anywhere}
.brand-info-html{color:var(--text);line-height:1.55;font-weight:500;overflow-wrap:anywhere}
.brand-info-html>*:first-child{margin-top:0}
.brand-info-html>*:last-child{margin-bottom:0}
.brand-info-html p,.brand-info-html ul,.brand-info-html ol,.brand-info-html table{margin:0 0 10px}
.brand-info-html ul,.brand-info-html ol{padding-left:20px}
.brand-info-html li{margin:4px 0}
.brand-info-html a{color:var(--primary);font-weight:800;text-decoration:none}
.brand-info-html a:hover{text-decoration:underline}
.brand-info-html img{display:block;max-width:100%;height:auto;margin:0 0 12px;border-radius:10px}
.brand-info-html table{width:100%;border-collapse:collapse;display:block;overflow-x:auto}
.brand-info-html th,.brand-info-html td{padding:8px 10px;border:1px solid var(--border);text-align:left;vertical-align:top}
.brand-info-html th{background:var(--surface-2);font-weight:800}
.card-heavy--wide{width:100%;margin-top:20px;overflow:visible}
.offer-product-group{display:grid;gap:10px;padding:16px;border:1px solid var(--border);border-radius:20px;background:var(--surface)}
.offer-product-group__head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:0 2px 6px;border-bottom:1px solid var(--border)}
.offer-product-group__head strong{display:block;font-size:1.08rem;overflow-wrap:anywhere}
.offer-count{display:inline-flex;align-items:center;justify-content:center;min-width:max-content;padding:7px 10px;border-radius:999px;background:var(--surface-2);border:1px solid var(--border);color:var(--muted);font-weight:800;font-size:.84rem}
.offer-row--compact{border-color:transparent;background:var(--surface-2);box-shadow:none}
.offer-row--compact+.offer-row--compact{margin-top:0}
.offer-row--compact .offer-row__main strong{font-size:.94rem}
.offer-more{display:grid;gap:10px}
.offer-more summary{cursor:pointer;list-style:none;color:var(--muted);font-weight:800;text-align:right;padding:8px 4px 0}
.offer-more summary::-webkit-details-marker{display:none}
.offer-more summary::after{content:"";display:inline-block;width:9px;height:9px;margin-left:10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:.18s}
.offer-more[open] summary::after{transform:rotate(225deg) translateY(-2px)}
.offer-more__body{display:grid;gap:8px;padding-top:8px}
@media (max-width:767px){.offer-product-group{padding:12px}.offer-product-group__head{display:grid}.offer-more summary{text-align:left}}
.offer-row__media{grid-area:diag;width:82px;height:58px;border-radius:14px;border:1px solid var(--border);background:var(--surface);display:grid;place-items:center;overflow:hidden}
.offer-row__brand-logo{width:100%;height:100%;display:grid;place-items:center;padding:8px}
.offer-row__brand-logo img{width:100%;height:100%;object-fit:contain}
.offer-row__brand-logo--text{padding:0 8px;color:var(--text);font-weight:900;font-size:.82rem;letter-spacing:0;text-align:center;overflow:hidden;text-overflow:ellipsis}
.offer-row__main-title{display:flex;align-items:center;gap:8px;min-width:0}
.offer-row__main-title strong{min-width:0}
.offer-diag-icon{position:relative;display:inline-grid;place-items:center;flex:0 0 auto;width:24px;height:24px;border-radius:999px;background:var(--primary);color:#fff;font-weight:900;font-size:.78rem;cursor:help}
.offer-diag-icon .offer-tooltip{left:50%;transform:translate(-50%,6px);text-align:left}
.offer-diag-icon:hover .offer-tooltip,.offer-diag-icon:focus .offer-tooltip{opacity:1;transform:translate(-50%,0)}
@media (max-width:767px){.offer-row__media{width:100%;height:58px}.offer-diag-icon .offer-tooltip{left:0;transform:translateY(6px)}.offer-diag-icon:hover .offer-tooltip,.offer-diag-icon:focus .offer-tooltip{transform:translateY(0)}}
.offer-product-group,.offer-more,.offer-more__body,.offer-row__main-title{overflow:visible}
.offer-product-group,.offer-row--compact,.offer-diag-icon{position:relative}
.offer-product-group{z-index:1}
.offer-product-group:has(.offer-diag-icon:hover),.offer-product-group:has(.offer-diag-icon:focus){z-index:80}
.offer-row--compact{z-index:1}
.offer-row--compact:has(.offer-diag-icon:hover),.offer-row--compact:has(.offer-diag-icon:focus){z-index:120}
.offer-diag-icon{z-index:130}
.offer-diag-icon .offer-tooltip{z-index:2000;width:min(420px,calc(100vw - 40px));max-height:min(320px,calc(100vh - 40px));overflow:auto}
.product-card__media{height:150px;margin-bottom:14px;border-radius:16px;border:1px solid var(--border);background:var(--surface-2);display:grid;place-items:center;overflow:hidden}
.product-card__media img{width:100%;height:100%;object-fit:contain;padding:12px}
.offer-product-group__link{display:block;color:var(--text);font-weight:900;font-size:1.08rem;overflow-wrap:anywhere}
.offer-product-group__link:hover{color:var(--primary)}
.offer-row__media-link{display:grid;place-items:center;width:100%;height:100%}

/* Emex-inspired retail theme */
:root{
    --bg:#f4f5f7;
    --surface:#fff;
    --surface-2:#f7f8fa;
    --text:#1f252d;
    --muted:#697381;
    --border:#e1e5eb;
    --primary:#e53935;
    --primary-dark:#c62828;
    --success:#44a857;
    --danger:#d93025;
    --warning:#ffb300;
    --dark:#2f3338;
    --radius:16px;
    --shadow:0 8px 22px rgba(35,42,52,.08);
    --container:1440px;
}
[data-theme="dark"]{
    --bg:#f4f5f7;
    --surface:#fff;
    --surface-2:#f7f8fa;
    --text:#1f252d;
    --muted:#697381;
    --border:#e1e5eb;
    --primary:#e53935;
    --primary-dark:#c62828;
    --dark:#2f3338;
    --shadow:0 8px 22px rgba(35,42,52,.08);
}
body{background:var(--bg);color:var(--text);overflow-x:hidden}
.card,.list-card,.product-card,.category-card,.brand-card,.selection-tile,.action-tile,.empty-state,.search-panel,.summary-card{border-radius:14px;box-shadow:0 4px 14px rgba(35,42,52,.06)}
.topbar{background:#fff;color:var(--muted);border-bottom:1px solid var(--border)}
.topbar-inner{min-height:34px;font-size:13px}
.topbar a,.theme-toggle{color:var(--muted);font-weight:700}
.site-header{background:#fff;border-bottom:1px solid var(--border);backdrop-filter:none}
[data-theme="dark"] .site-header{background:#fff}
.header-main{min-height:78px;padding:12px 0}
.header-search{min-height:50px;border-radius:8px;border:2px solid var(--primary);padding:0 0 0 16px;box-shadow:none}
.header-main,.hero-copy,.hero-panel{min-width:0}
.header-search,.hero-search,.search-panel{min-width:0;width:100%;max-width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto}
.header-search input,.hero-search input,.search-panel input{font-size:15px;min-width:0;width:auto;flex:1 1 auto}
.header-search button,.hero-search button,.search-panel button,.oecat-vin-form button,.checkout-form button,.auth-card button,.buy-form button,.btn-primary{border-radius:6px;background:var(--primary);padding:12px 22px;min-height:46px}
.header-search button:hover,.hero-search button:hover,.search-panel button:hover,.oecat-vin-form button:hover,.checkout-form button:hover,.auth-card button:hover,.buy-form button:hover,.btn-primary:hover{background:var(--primary-dark)}
.header-pill{border-radius:6px;box-shadow:none;padding:11px 14px;background:#fff}
.header-pill--accent{background:var(--primary);color:#fff}
.navline{border-top:1px solid #edf0f3;background:#fff}
.navline-inner{min-height:44px;gap:24px;font-size:14px;color:#39424e}
.navline-inner a:hover{color:var(--primary)}
.hero-home{grid-template-columns:minmax(0,1fr) minmax(340px,420px);gap:20px;padding-top:26px}
.hero-copy{border-radius:18px;background:#fff;box-shadow:0 10px 26px rgba(35,42,52,.07);padding:34px 36px}
.hero-copy h1{max-width:13ch;font-size:clamp(2.15rem,4vw,4.55rem);font-weight:900;letter-spacing:0;line-height:.98;color:#222831}
.hero-text{max-width:56ch;color:var(--muted);font-size:1rem}
.hero-search{border-radius:10px;border:1px solid var(--border);box-shadow:0 8px 18px rgba(35,42,52,.06);padding:8px;background:#fff}
.quick-chip,.chip,.badge{border-radius:6px;background:#f7f8fa;color:#39424e;box-shadow:none}
.quick-chip:hover,.chip:hover{border-color:var(--primary);color:var(--primary)}
.hero-panel{background:#fff;color:var(--text);border:1px solid var(--border);border-radius:18px;box-shadow:0 10px 26px rgba(35,42,52,.07)}
.hero-auto-widget__catalog{border-radius:12px;background:#ff6b2b;box-shadow:none}
.hero-auto-widget__catalog:hover{background:#f25f1f}
.hero-auto-widget__steps{border-radius:12px;border-color:var(--border)}
.hero-auto-step{min-height:58px;font-size:15px;background:#fff}
.hero-auto-step:hover{background:#f7f8fa}
.hero-auto-step.is-disabled{background:#fbfbfc;color:#9aa3ae}
.section{padding:26px 0 48px}
.section-head{margin-bottom:16px}
.section-head h1,.section-head h2{font-size:1.8rem}
.cards-grid,.product-grid,.selection-grid,.dashboard-grid,.details-grid{gap:14px}
.category-card,.brand-card,.selection-tile,.product-card{padding:18px;border-radius:14px;box-shadow:0 4px 14px rgba(35,42,52,.05);transform:none}
.category-card:hover,.brand-card:hover,.selection-tile:hover,.product-card:hover,.action-tile:hover{transform:none;border-color:#f0b3b0;box-shadow:0 8px 20px rgba(35,42,52,.08)}
.category-card__icon,.brand-card__logo,.brand-logo{width:44px;height:44px;border-radius:10px;background:#fff4f3;border-color:#ffd9d7;color:var(--primary);font-size:0;margin-bottom:12px}
.category-card__icon::before{content:"";width:18px;height:18px;border-radius:4px;border:3px solid currentColor;display:block}
.brand-card__logo{font-size:1rem}
.badge{background:#fff4f3;color:var(--primary);border:1px solid #ffd9d7}
.badge--ghost{background:#f7f8fa;color:#39424e}
.product-card__media{height:132px;border-radius:10px;background:#fff;border-color:#edf0f3}
.breadcrumbs{font-size:14px;margin-bottom:16px}
.product-hero{grid-template-columns:minmax(420px,.9fr) minmax(360px,1fr);gap:16px}
.product-gallery,.card-buy,.card-heavy,.summary-card,.checkout-form,.auth-card,.product-brand-card,.details-card{border-radius:14px;box-shadow:0 4px 14px rgba(35,42,52,.06)}
.product-gallery h1{font-size:1.9rem;line-height:1.15}
.gallery-main{border-radius:12px;background:#fff;padding:16px;max-height:470px}
.thumb,.gallery-nav{border-radius:8px}
.details-card__head h3{font-size:1.12rem}
.details-feature-list li a,.fitment-mark,.fitment-model,.oem-list a{border-radius:10px}
.details-feature-list strong,.feature-list a,.simple-list a,.fitment-mark h4,.offer-product-group__link:hover{color:var(--primary)}
.card-heavy--wide{margin-top:16px}
.card-heavy__head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border);padding-bottom:14px}
.card-heavy__head .eyebrow{margin:0;color:#39424e;text-transform:none;letter-spacing:0;font-size:1.05rem}
.card-heavy__head h2{font-size:1rem;color:var(--muted);font-weight:600}
.offer-matrix{gap:12px}
.offer-matrix__toolbar{margin:0}
.offer-product-group{border-radius:12px;background:#fff;padding:0;gap:0;overflow:hidden;box-shadow:0 4px 14px rgba(35,42,52,.05)}
.offer-product-group__head{align-items:center;padding:14px 16px;background:#fff;border-bottom:1px solid var(--border)}
.offer-product-group__head strong,.offer-product-group__link{font-size:1.05rem}
.offer-count{border-radius:6px;background:#f7f8fa;color:var(--muted)}
.offer-row{border-radius:0}
.offer-row--compact{grid-template-columns:72px minmax(0,1fr) minmax(126px,160px) minmax(120px,150px);grid-template-areas:"diag main meta price" "diag main meta action";padding:12px 16px;border:0;border-top:1px solid #edf0f3;background:#fff}
.offer-product-group>.offer-row--compact:first-of-type,.offer-more__body>.offer-row--compact:first-child{background:#eef8ee}
.offer-row__media{width:54px;height:44px;border-radius:8px;background:#fff}
.offer-row__main-title strong{font-size:1rem}
.offer-row__main span,.offer-row__meta span,.offer-row__price .muted{color:var(--muted)}
.offer-row__price strong{font-size:1.18rem;color:#2a2f36}
.btn-buy-row{border-radius:8px;background:#ffd85a;color:#2a2f36;font-weight:900}
.btn-buy-row:hover{background:#ffc928;color:#2a2f36}
.offer-more summary{background:#fff;padding:10px 16px;border-top:1px solid #edf0f3;color:var(--muted)}
.offer-more--no-price summary{color:#8a94a3;background:#fbfcfd}
.offer-more--no-price .offer-more__body>.offer-row--compact:first-child{background:#fff}
.offer-diag-icon{background:var(--primary);width:22px;height:22px}
.search-panel{border-radius:10px;box-shadow:0 4px 14px rgba(35,42,52,.06)}
.search-brand-card{border-radius:12px;box-shadow:0 4px 14px rgba(35,42,52,.05)}
.site-footer{background:#2f3338}
@media (max-width:1279px){
    .hero-home{grid-template-columns:1fr}
    .product-hero{grid-template-columns:1fr}
    .offer-row--compact{grid-template-columns:64px minmax(0,1fr) minmax(112px,140px);grid-template-areas:"diag main price" "diag meta action"}
}
@media (max-width:1023px){
    .header-main{min-height:auto}
    .header-search{border-radius:8px}
}
@media (max-width:767px){
    .container{width:min(calc(100% - 32px),var(--container))}
    .header-main,.hero-home{width:calc(100vw - 32px);max-width:calc(100vw - 32px)}
    .header-search,.hero-copy,.hero-panel{max-width:calc(100vw - 32px)}
    .hero-copy,.hero-panel,.product-gallery,.card-buy,.card-heavy,.summary-card,.checkout-form,.auth-card,.success-card{padding:18px}
    .hero-copy h1{font-size:2.3rem}
    .hero-text{max-width:100%;overflow-wrap:break-word}
    .header-search,.hero-search{grid-template-columns:1fr;gap:8px}
    .header-search button,.hero-search button,.search-panel button{width:100%;padding:10px 12px;font-size:.92rem}
    .hero-home{gap:14px}
    .hero-auto-widget__catalog{min-height:72px}
    .offer-row--compact{grid-template-columns:1fr;grid-template-areas:"diag" "main" "meta" "price" "action";padding:12px}
    .offer-row__media{width:100%;height:46px}
}
.admin-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}
.admin-stat{padding:20px}.admin-stat span{display:block;color:var(--muted);font-weight:800}.admin-stat strong{display:block;font-size:2rem;margin-top:6px}
.admin-two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}.admin-panel{padding:22px}.admin-panel h2{margin:0 0 14px}
.admin-mini-row{display:grid;gap:4px;padding:12px 0;border-bottom:1px solid var(--border)}.admin-mini-row:last-child{border-bottom:0}.admin-mini-row span{color:var(--muted)}
.admin-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:22px;margin-bottom:18px}.admin-form label{display:grid;gap:8px;font-weight:800}.admin-form input,.admin-order-form input,.admin-order-form select{min-height:46px;border:1px solid var(--border);border-radius:14px;background:var(--surface-2);color:var(--text);padding:10px 12px}.admin-form button{align-self:end}
.admin-table{overflow:hidden}.admin-table__head{font-weight:900;background:var(--surface-2);color:var(--muted)}
.admin-price-row,.admin-order-row{display:grid;gap:14px;align-items:center;padding:16px 18px;border-bottom:1px solid var(--border)}.admin-price-row:last-child,.admin-order-row:last-child{border-bottom:0}
.admin-price-row{grid-template-columns:minmax(260px,1.4fr) 160px 190px 120px minmax(220px,.9fr)}.admin-order-row{grid-template-columns:150px minmax(220px,1.1fr) minmax(180px,.9fr) 120px minmax(280px,1fr)}
.admin-price-row strong,.admin-order-row strong{display:block}.admin-status{display:inline-flex;width:max-content;padding:8px 10px;border-radius:999px;background:var(--surface-2);border:1px solid var(--border);font-weight:800}.admin-order-form{display:grid;grid-template-columns:120px minmax(120px,1fr) auto;gap:8px}
.admin-order-form button,.admin-form button{border:0;border-radius:999px;background:var(--primary);color:#fff;font-weight:800;padding:12px 18px}
@media (max-width:1279px){.admin-stat-grid,.admin-form{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-two-col{grid-template-columns:1fr}.admin-price-row,.admin-order-row{grid-template-columns:1fr 1fr}.admin-row-actions,.admin-order-form{grid-column:span 2}}
@media (max-width:767px){.admin-stat-grid,.admin-form,.admin-price-row,.admin-order-row,.admin-order-form{grid-template-columns:1fr}.admin-row-actions,.admin-order-form{grid-column:auto}.admin-page .section-head{align-items:flex-start;flex-direction:column}}

/* Product cards and search brand output */
.product-grid{align-items:stretch}
.product-card{display:grid;grid-template-rows:auto auto auto 1fr;gap:14px;padding:22px;border-radius:18px;background:#fff}
.product-card__media{height:240px;margin:0;border-radius:18px;border:1px solid #e4e9f0;background:#fff;display:grid;place-items:center;overflow:hidden}
.product-card__media img{width:100%;height:100%;object-fit:contain;padding:18px}
.product-card__head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0}
.product-card .badge{min-height:52px;padding:0 18px;border-radius:10px;background:#fff7f6;border-color:#ffc9c6;color:#697381;font-size:1.05rem;font-weight:900}
.product-card .product-card__head .muted{font-size:1.18rem;color:#697381;white-space:nowrap}
.product-card>strong{font-size:1.35rem;line-height:1.2;margin:0;color:#0f1720}
.product-card>span.muted{font-size:1.15rem;line-height:1.35;color:#697381}
.search-brand-card{display:grid;grid-template-columns:68px minmax(0,1fr);align-items:center;gap:14px;padding:16px}
.search-brand-card__logo{width:68px;height:54px;border-radius:12px;border:1px solid #e1e5eb;background:#fff;display:grid;place-items:center;color:#697381;font-weight:900;overflow:hidden}
.search-brand-card__logo img{width:100%;height:100%;object-fit:contain;padding:7px}
.search-brand-card__logo--small{width:56px;height:44px;border-radius:10px}
.search-brand-card__body{display:grid;gap:4px;min-width:0}
.search-brand-card .search-brand-card__body span{color:var(--muted)}
.search-matrix-placeholder,.search-matrix-title--with-brand{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.search-matrix-placeholder>div,.search-matrix-title--with-brand>div{display:grid;gap:3px;min-width:0}
.search-matrix-title--with-brand a,.search-matrix-title--with-brand strong{font-size:1.12rem;color:var(--text)}
.search-matrix-title--with-brand .muted{font-size:.96rem;font-weight:600}
@media (max-width:1279px){.product-card__media{height:210px}}
@media (max-width:767px){.product-card{padding:18px}.product-card__media{height:190px}.product-card .badge{min-height:44px;font-size:.96rem}.product-card .product-card__head .muted{font-size:1rem}.search-brand-card{grid-template-columns:56px minmax(0,1fr)}.search-brand-card__logo{width:56px;height:46px}}
@media (max-width:767px){.header-main,.hero-home{width:100%;max-width:100%}.header-main{grid-template-columns:46px minmax(0,1fr)}.header-search{grid-column:1/-1;box-sizing:border-box;overflow:hidden}.header-search button{max-width:100%}}
@media (max-width:767px){.header-main,.hero-home{width:min(calc(100% - 24px),var(--container));max-width:var(--container)}}
@media (max-width:767px){.site-header .header-main{width:100%;max-width:none;margin:0;padding:10px 16px}.site-header .header-search{width:calc(100% - 16px);max-width:100%;padding:8px}}
@media (max-width:767px){.container{width:100%;max-width:100%;padding-left:16px;padding-right:16px}.site-header .header-main{padding:10px 16px}.site-header .header-search{width:100%}}
