:root{--black:#06080c;--red:#e31d27;--grey:#f4f5f7;--text:#121212;--muted:#6f7680;--border:#e5e7eb}*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:white}button{cursor:pointer;border:0;font-weight:700}.hidden{display:none!important}a{text-decoration:none;color:inherit;cursor:pointer}.top-header{min-height:88px;background:var(--black);color:white;display:grid;grid-template-columns:220px 1fr 250px;align-items:center;gap:24px;padding:0 28px}.logo{display:flex;flex-direction:column;line-height:.9;font-style:italic;letter-spacing:-2px}.logo-main{font-size:42px;font-weight:900}.logo-main::first-letter{color:var(--red)}.logo-sub{font-size:15px;font-weight:800;letter-spacing:2px}.search-bar{display:flex;background:white;border-radius:7px;overflow:hidden;height:48px}.search-bar input{flex:1;border:0;padding:0 18px;font-size:15px;outline:none}.search-bar button{width:54px;background:white;font-size:19px}.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:18px;font-size:13px}.header-actions div{display:flex;gap:7px;align-items:center}.cart-button{background:transparent;color:white;font-size:24px;position:relative}.cart-button span{background:var(--red);border-radius:50%;font-size:12px;padding:4px 7px;position:absolute;top:-10px;right:-12px}.nav{min-height:48px;background:#08090d;color:white;display:flex;align-items:center;padding:0 28px;border-top:1px solid #1e2430;overflow:visible}.nav a{padding:16px 18px;text-transform:uppercase;font-size:13px;font-weight:800;white-space:nowrap}.nav a.active{background:var(--red)}.trust-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding:14px 34px;border-bottom:1px solid var(--border);background:white;font-size:13px}.trust-strip span{color:var(--muted)}main{max-width:1280px;margin:0 auto}.hero{min-height:430px;background:linear-gradient(90deg,rgba(3,6,11,.95),rgba(8,14,24,.88),rgba(9,13,20,.55)),url('https://images.unsplash.com/photo-1542362567-b07e54358753?auto=format&fit=crop&w=1600&q=80');background-size:cover;background-position:center;color:white;padding:54px 34px}.hero h1{font-size:48px;margin:0 0 16px;line-height:1.08}.hero h1 span{color:var(--red)}.hero p{font-size:20px;margin-bottom:22px;max-width:560px}.reg-box{display:flex;width:520px;max-width:100%;height:68px;border:2px solid white;border-radius:9px;overflow:hidden;background:white;margin:8px 0}.plate-badge{width:56px;background:#07389d;color:#ffd500;display:flex;align-items:center;justify-content:center;font-weight:800}.reg-box input{flex:1;border:0;text-align:center;font-size:22px;font-weight:800;outline:none;text-transform:uppercase;min-width:0}.reg-box button{width:145px;background:var(--red);color:white;font-size:18px}.reviews{margin-top:44px;color:#19b15f}.card{background:white;border:1px solid var(--border);border-radius:8px;margin:-36px 28px 26px;padding:22px 26px;box-shadow:0 12px 30px rgba(0,0,0,.08)}.steps h2,.section-head h2{text-transform:uppercase;font-size:18px}.step-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;text-align:center}.step-icon{width:74px;height:74px;border-radius:50%;background:#fdebed;color:var(--red);display:inline-flex;align-items:center;justify-content:center;font-size:28px}.step-grid p{color:var(--muted)}.section-head{display:flex;justify-content:space-between;align-items:center;margin:26px 28px 14px}.section-head a{color:var(--red);font-weight:700;font-size:14px}.categories,.products{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;margin:0 28px 20px}.category,.product{border:1px solid var(--border);border-radius:8px;background:white;padding:16px;text-align:center;transition:.15s}.category:hover,.product:hover{transform:translateY(-3px);box-shadow:0 8px 22px rgba(0,0,0,.08)}.category .icon{font-size:46px;height:64px;display:flex;align-items:center;justify-content:center}.product{text-align:left;display:flex;flex-direction:column;min-height:270px}.product .product-img{height:94px;display:flex;align-items:center;justify-content:center;font-size:56px;margin-bottom:10px}.product h3{font-size:15px;margin:0 0 4px}.product small{color:var(--muted)}.stock{color:#16a34a;margin:8px 0;font-size:13px}.price{margin-top:auto;font-weight:900;font-size:18px}.product button{margin-top:12px;background:var(--red);color:white;width:100%;padding:12px;border-radius:5px}.vehicle-selected{margin:20px 28px;background:linear-gradient(90deg,#07111d,#0c1522);color:white;border-radius:8px;padding:18px 22px;display:flex;justify-content:space-between;align-items:center}.vehicle-selected p{margin:5px 0 0}.vehicle-selected button{background:transparent;border:1px solid white;color:white;padding:12px 18px;border-radius:5px}.cart-drawer{position:fixed;top:0;right:-430px;height:100vh;width:410px;max-width:calc(100vw - 20px);background:white;box-shadow:-14px 0 40px rgba(0,0,0,.18);transition:right .25s ease;z-index:99;padding:22px;overflow-y:auto}.cart-drawer.open{right:0}.cart-header{display:flex;align-items:center;justify-content:space-between}.cart-header button{background:white;font-size:30px}.cart-line{display:grid;grid-template-columns:62px 1fr 58px 22px;gap:12px;padding:18px 0;border-bottom:1px solid var(--border);align-items:center}.cart-img{font-size:36px;background:var(--grey);border-radius:7px;text-align:center;padding:10px 0}.cart-line h4{margin:0 0 5px;font-size:14px}.cart-line small{color:var(--muted)}.remove{background:white;color:#999;font-size:18px}.cart-summary{border-top:1px solid var(--border);padding-top:18px}.cart-summary p,.cart-summary h3{display:flex;justify-content:space-between}.cart-summary button{width:100%;padding:14px;border-radius:6px;margin-top:10px}.primary{background:var(--red);color:white}.secondary{background:white;border:1px solid #bfc5ce;color:#444}.admin{padding:30px}.admin-login{max-width:360px;display:grid;gap:10px}.admin input{padding:12px;border:1px solid var(--border);border-radius:6px}.admin button{padding:12px;border-radius:6px;background:var(--red);color:white}.admin-grid{display:grid;grid-template-columns:1fr 1.5fr 1.5fr;gap:18px}.admin-card{border:1px solid var(--border);border-radius:8px;padding:18px;background:white}.admin-card label{display:block;margin:12px 0 6px;font-weight:700}.admin-list-item{border-bottom:1px solid var(--border);padding:10px 0;font-size:14px}footer{background:var(--black);color:white;margin-top:34px;padding:0 34px 26px}.footer-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;border-bottom:1px solid #222a35;padding:26px 0}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.4fr;gap:40px;padding-top:28px}.footer-grid a{display:block;color:#c7ced8;margin:7px 0;font-size:14px}.footer-grid p{color:#c7ced8;line-height:1.5}.footer-logo{margin-bottom:10px}@media(max-width:900px){.top-header{grid-template-columns:1fr;height:auto;padding:18px}.trust-strip,.footer-trust{grid-template-columns:1fr 1fr}.categories,.products{grid-template-columns:repeat(2,1fr)}.step-grid,.footer-grid,.admin-grid{grid-template-columns:1fr}.hero h1{font-size:36px}}@media(max-width:560px){.trust-strip{grid-template-columns:1fr}.categories,.products{grid-template-columns:1fr}.reg-box{height:auto;flex-wrap:wrap}.plate-badge{height:56px}.reg-box input{height:56px}.reg-box button{width:100%;height:54px}}

/* v7 menu/submenu and reg-required catalogue states */
.main-nav{display:flex;gap:4px;align-items:center;flex-wrap:wrap}.nav-item{position:relative}.nav-item>a{display:block}.nav-item.has-submenu:hover .submenu,.nav-item.has-submenu:focus-within .submenu{display:grid}.submenu{display:none;position:absolute;top:100%;left:0;min-width:240px;max-height:70vh;overflow:auto;background:#111218;border:1px solid rgba(255,255,255,.12);box-shadow:0 20px 45px rgba(0,0,0,.45);z-index:50;border-radius:0 0 14px 14px;padding:8px}.submenu a{white-space:nowrap;padding:10px 12px;border-radius:8px;color:#fff;text-decoration:none}.submenu a:hover{background:var(--red)}.notice-card{grid-column:1/-1;background:#15151b;border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:22px}.notice-card h3{margin-top:0}.notice-card button{background:#e31b23;color:#fff;border:0;border-radius:10px;padding:12px 16px;font-weight:800}.stock-own{color:#22c55e}.admin-help{background:#101118;border:1px solid #2e303a;border-radius:12px;padding:12px;margin:10px 0;color:#a6a7ad}


.category-page {
  scroll-margin-top: 110px;
}

.section-head div p {
  margin: 6px 0 0;
  color: var(--muted);
  max-width: 760px;
}

.notice-card {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 14px 35px rgba(15,23,42,.08);
}

.notice-card h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.notice-card p {
  color: var(--muted);
  max-width: 760px;
}

.inline-reg {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.inline-reg input {
  min-width: 220px;
  flex: 1;
  max-width: 340px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(17,24,39,.18);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .08em;
}

.inline-reg button {
  border: 0;
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 800;
  cursor: pointer;
  background: var(--red);
  color: #fff;
}

.reg-required-card {
  border-left: 5px solid var(--red);
}


/* v9 customer account */
.account-link{display:flex;gap:7px;align-items:center;color:white}
.auth-page,.account-page{padding:42px 28px;background:#f4f5f7;min-height:520px}
.auth-card{max-width:480px;margin:0 auto;background:white;border:1px solid var(--border);border-radius:16px;padding:24px;box-shadow:0 12px 30px rgba(0,0,0,.08)}
.auth-tabs{display:flex;background:#f4f5f7;border-radius:999px;padding:5px;margin-bottom:20px}
.auth-tabs button{flex:1;border-radius:999px;padding:12px;background:transparent;color:#333}
.auth-tabs button.active{background:var(--black);color:white}
.auth-card h1,.account-page h1{margin:0 0 8px}
.auth-card label,.account-card label{display:block;font-weight:700;margin:14px 0 6px}
.auth-card input,.account-card input,.mini-reg-box input{width:100%;height:44px;border:1px solid var(--border);border-radius:9px;padding:0 12px;font-size:15px}
.auth-card .primary,.account-card .primary,.mini-reg-box button{width:100%;height:46px;border-radius:9px;background:var(--red);color:white;margin-top:16px}
.auth-links{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;margin:12px 0 0}.auth-links button{background:transparent;color:var(--red);padding:0;border:0;font-weight:800;text-decoration:underline}.auth-message{min-height:20px;color:#188038;font-weight:700}
.auth-message.error{color:#b00020}
.account-hero{max-width:1320px;margin:0 auto 24px;background:var(--black);color:white;border-radius:16px;padding:26px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.account-hero button{background:white;color:var(--black);border-radius:9px;padding:12px 18px}
.account-grid{max-width:1320px;margin:0 auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.account-card{background:white;border:1px solid var(--border);border-radius:16px;padding:22px;box-shadow:0 8px 20px rgba(0,0,0,.05)}
.account-wide{grid-column:1/-1}
.mini-reg-box{display:flex;gap:10px}
.mini-reg-box input{text-transform:uppercase}
.mini-reg-box button{width:auto;margin-top:0;padding:0 18px}
.saved-vehicle,.order-row{border:1px solid var(--border);border-radius:12px;padding:14px;margin:10px 0;display:flex;align-items:center;justify-content:space-between;gap:14px}
.saved-vehicle button{background:#f4f5f7;border-radius:8px;padding:9px 12px}
.customer-order-card{border:1px solid var(--border);border-radius:12px;padding:12px 14px;margin:10px 0;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.035);display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(130px,.65fr) minmax(220px,1.2fr) minmax(170px,.75fr);gap:12px;align-items:start}
.customer-order-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:0}
.customer-order-head span,.customer-order-meta,.muted.small{color:#6b7280;font-size:12px}
.customer-order-status{display:inline-block;background:#111827;color:#fff;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;margin:0}
.customer-tracking{border-left:4px solid var(--red);background:#fff5f5;padding:8px 10px;margin:0;border-radius:8px;display:grid;gap:2px;font-size:13px}
.customer-tracking span{display:block;color:#374151;font-size:13px}
.customer-tracking a,.customer-order-btn{display:inline-block;color:var(--red);font-weight:800;text-decoration:underline;margin-top:0}
.customer-order-actions{margin-top:0}
.customer-order-meta{line-height:1.35;margin:0;font-size:12px}
@media(max-width:980px){.customer-order-card{grid-template-columns:1fr;gap:8px}.customer-order-head{margin-bottom:0}}


@media(max-width:780px){.account-grid{grid-template-columns:1fr}.account-hero{align-items:flex-start;flex-direction:column}.mini-reg-box{flex-direction:column}.mini-reg-box button{width:100%}}

/* v10_hostsafe: prevent old static nav flash until JS renders DB nav */
.nav.nav-loading{visibility:visible}

/* v10_hostsafe: clickable dropdown menus */
.nav-item.open .submenu{display:grid}.nav-item.has-submenu>a::after{content:" ▾";font-size:12px;opacity:.8}


/* v11_hostsafe menu/category cleanup */
.top-header,.nav{position:relative;z-index:1000}
.nav{overflow:visible!important;flex-wrap:wrap}
.nav-item{position:relative;flex:0 0 auto}
.nav-item .submenu{z-index:5000}
.nav-item.open .submenu{display:grid!important}
.categories .category[data-department="1"]{border-top:4px solid var(--red)}


/* v11.01 category page routing */
.category-page{scroll-margin-top:110px}
.nav{overflow:visible!important}
.top-header,.nav{z-index:1000}
.nav-item.open .submenu{display:grid!important}


/* v11.02: real category/results page mode */
body.category-route #homePage > :not(#vehicleSelected):not(#categoryPage){display:none!important}
body.category-route #homePage{padding:34px 28px;background:#f4f5f7;min-height:620px}
body.category-route #vehicleSelected{max-width:1180px;margin:0 auto 18px}
body.category-route #categoryPage{max-width:1180px;margin:0 auto;background:white;border:1px solid var(--border);border-radius:18px;padding:24px;box-shadow:0 12px 30px rgba(0,0,0,.06)}
body.category-route #productsSectionHead{margin-top:0}
body.category-route .products{margin-top:20px}
body.category-route .notice-card{background:#fff}


/* v11.03 fixed header image slot */
.top-header{grid-template-columns:220px 1fr 250px}
.header-promo-slot{width:110px;height:50px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.header-promo-slot img{max-width:110px;max-height:50px;width:100%;height:100%;object-fit:contain;display:block}
@media(max-width:900px){
  .top-header{grid-template-columns:180px 1fr;grid-auto-rows:auto}
  .header-promo-slot{display:none!important}
}

/* v11.04 header promo slot only reserves space when enabled */
.top-header.has-promo{grid-template-columns:220px 110px 1fr 250px}

/* v11.04 brand red menu hover */
.nav a:hover,
.nav a.active,
.submenu a:hover,
.submenu a:focus{
  background:var(--red)!important;
  color:#fff!important;
}

/* v11.04: keep header/menu visible while JS loads */
.nav.nav-loading{visibility:visible!important}

/* v11.04 hide empty category helper */
#categoryPageIntro:empty{display:none}

/* v11.05 search results */
body.category-route #categoryPageIntro:not(:empty){display:block}
.search-bar input{text-transform:none}


/* v11.06 unified product display */
.product{position:relative}
.product a{color:inherit;text-decoration:none}
.product-title-link:hover{text-decoration:underline}
.product-info{display:flex;flex-direction:column;gap:8px}
.product-description{color:var(--muted);line-height:1.45}
.product-actions{display:flex;gap:10px;align-items:center;margin-top:8px}
.product-actions .secondary,.product-actions button{border-radius:9px;padding:11px 14px;font-weight:800;text-align:center}
.product-actions .secondary{background:#f4f5f7;color:#111;border:1px solid var(--border)}
.product-actions button{background:var(--red);color:#fff}
.products.product-results-list{display:flex;flex-direction:column;gap:18px}
.product-row-card{display:grid;grid-template-columns:180px 1fr;gap:18px;align-items:start;width:100%}
.product-row-card .product-img{height:160px}
.product-row-card .product-img img{max-height:150px;object-fit:contain}
.product-page{padding:34px 28px;background:#f4f5f7;min-height:620px}
.product-detail-card{max-width:1180px;margin:0 auto;background:white;border:1px solid var(--border);border-radius:18px;padding:26px;display:grid;grid-template-columns:360px 1fr;gap:28px;box-shadow:0 12px 30px rgba(0,0,0,.06)}
.product-detail-image{height:340px;display:flex;align-items:center;justify-content:center;background:#f8fafc;border:1px solid var(--border);border-radius:16px}
.product-detail-image img{max-width:100%;max-height:310px;object-fit:contain}
.product-detail-info h1{margin:0 0 8px;font-size:2rem}
.product-detail-price{font-size:1.8rem;margin:12px 0}
.product-spec-table{width:100%;border-collapse:collapse;margin:16px 0}
.product-spec-table th,.product-spec-table td{border:1px solid var(--border);padding:10px;text-align:left}
.product-spec-table th{background:#f8fafc;width:190px}
@media(max-width:800px){
  .product-row-card{grid-template-columns:1fr}
  .product-detail-card{grid-template-columns:1fr}
}


/* v11.08 product action buttons and compatibility info */
.product-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.product-actions .secondary,
.product-actions button{
  width:118px;
  min-width:118px;
  max-width:118px;
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  padding:10px 12px;
  line-height:1.1;
}
.product-detail-info .product-actions button{width:140px;max-width:140px}
.important-compatibility{
  background:#fff4e5;
  border-left:5px solid #f59e0b;
  border-radius:12px;
  padding:12px 14px;
  color:#5f370e;
  margin:10px 0;
}
.important-compatibility h4{
  margin:0 0 8px;
  color:#9a5b00;
  font-size:.95rem;
}
.compatibility-lines{
  display:grid;
  gap:5px;
  font-size:.92rem;
}


/* v11.09 selected vehicle and action alignment fixes */
.home-route #vehicleSelected,
.category-route #vehicleSelected{
  max-width:1180px;
  margin:18px auto;
}
.vehicle-selected{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.vehicle-selected.hidden{display:none!important}
.vehicle-selected button{
  white-space:nowrap;
  min-width:140px;
}
.product-actions{
  align-items:stretch!important;
}
.product-actions .secondary,
.product-actions button{
  height:42px!important;
  min-height:42px!important;
  width:118px!important;
  min-width:118px!important;
  max-width:118px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  vertical-align:middle!important;
  font-family:inherit!important;
  font-size:.95rem!important;
  border-width:1px!important;
}


/* v11.10 admin image upload previews */
.admin-image-preview{
  width:160px;
  height:90px;
  border:1px solid #d6d6d6;
  border-radius:10px;
  background:#f7f7f7;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  margin-top:6px;
}
.admin-image-preview img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  display:block;
}


/* v11.11 admin upload preview containment */
.admin-image-preview{
  width:120px!important;
  height:120px!important;
  min-width:120px!important;
  max-width:120px!important;
  min-height:120px!important;
  max-height:120px!important;
  overflow:hidden!important;
  border:1px solid #d6d6d6;
  border-radius:10px;
  background:#f7f7f7;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.admin-image-preview img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  display:block!important;
}


/* v11.12 header/logo grouping and admin polish */
.top-header{
  grid-template-columns:minmax(280px, auto) 1fr 250px!important;
  column-gap:22px;
}
.top-header.has-promo{
  grid-template-columns:minmax(390px, auto) 1fr 250px!important;
}
.logo-cluster{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:14px;
  min-width:0;
}
.logo-cluster .logo{
  flex:0 0 auto;
}
.logo-cluster .header-promo-slot{
  flex:0 0 110px;
  width:110px!important;
  height:50px!important;
  max-width:110px!important;
  max-height:50px!important;
  overflow:hidden!important;
  display:flex;
  align-items:center;
  justify-content:center;
}
.logo-cluster .header-promo-slot.hidden{
  display:none!important;
}
.logo-cluster .header-promo-slot img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
}
@media(max-width:900px){
  .top-header,.top-header.has-promo{
    grid-template-columns:180px 1fr!important;
  }
  .logo-cluster .header-promo-slot{display:none!important}
}

/* v11.12 admin upload preview containment */
.admin-image-preview{
  width:120px!important;
  height:120px!important;
  min-width:120px!important;
  max-width:120px!important;
  min-height:120px!important;
  max-height:120px!important;
  overflow:hidden!important;
  border:1px solid #d6d6d6!important;
  border-radius:10px!important;
  background:#f7f7f7!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
}
.admin-image-preview img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  display:block!important;
  margin:0!important;
}
.admin-toast{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:99999;
  padding:14px 18px;
  border-radius:12px;
  box-shadow:0 12px 30px rgba(0,0,0,.22);
  font-weight:800;
  max-width:360px;
}
.admin-toast.success{background:#138a36;color:#fff}
.admin-toast.error{background:#b00020;color:#fff}


/* v11.13 dedicated admin preview boxes */
.admin-preview-box{
  width:120px!important;
  height:120px!important;
  min-width:120px!important;
  max-width:120px!important;
  min-height:120px!important;
  max-height:120px!important;
  overflow:hidden!important;
  border:1px solid #3a3d48!important;
  border-radius:10px!important;
  background:#0f1016!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  margin-top:6px!important;
}
.admin-preview-img{
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  display:block!important;
  margin:0!important;
}
.admin-preview-img.empty{
  display:none!important;
}
.remove-image-btn{
  margin-top:8px!important;
  width:160px!important;
}
.admin-toast{
  position:fixed!important;
  right:22px!important;
  top:22px!important;
  bottom:auto!important;
  z-index:999999!important;
  padding:14px 18px!important;
  border-radius:12px!important;
  box-shadow:0 12px 30px rgba(0,0,0,.35)!important;
  font-weight:800!important;
  max-width:380px!important;
  color:#fff!important;
}
.admin-toast.hidden{display:none!important}
.admin-toast.success{background:#138a36!important}
.admin-toast.error{background:#b00020!important}


/* v11.14 hard preview containment */
.zcp-preview-frame{
  width:120px!important;
  height:120px!important;
  min-width:120px!important;
  max-width:120px!important;
  min-height:120px!important;
  max-height:120px!important;
  overflow:hidden!important;
  border:1px solid #3a3d48!important;
  border-radius:10px!important;
  background:#0f1016!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  margin:6px 0 0 0!important;
  box-sizing:border-box!important;
}
.zcp-preview-frame .zcp-preview-image{
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  position:static!important;
}
.zcp-preview-frame .zcp-preview-image.empty,
.zcp-preview-frame .zcp-preview-image:not([src]){
  display:none!important;
}
.admin-toast{
  position:fixed!important;
  top:18px!important;
  right:18px!important;
  left:auto!important;
  bottom:auto!important;
  z-index:2147483647!important;
  padding:14px 18px!important;
  border-radius:12px!important;
  box-shadow:0 12px 30px rgba(0,0,0,.45)!important;
  font-weight:800!important;
  max-width:420px!important;
  color:#fff!important;
  pointer-events:none!important;
}
.admin-toast.hidden{display:none!important}
.admin-toast.success{background:#138a36!important}
.admin-toast.error{background:#b00020!important}
.remove-image-btn.hidden{display:none!important}
.remove-image-btn:disabled{opacity:.45;cursor:not-allowed}


/* v11.15 admin toast and product image lightbox */
.admin-toast{
  position:fixed!important;
  top:18px!important;
  right:18px!important;
  left:auto!important;
  bottom:auto!important;
  transform:none!important;
  z-index:2147483647!important;
}
.admin-toast.success,
.admin-toast.error{
  position:fixed!important;
}
body.lightbox-open{overflow:hidden}
.product-detail-image-wrap{
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:center;
}
.product-detail-image.product-image-enlarge{
  width:100%;
  height:340px;
  border:1px solid var(--border);
  background:#f8fafc;
  border-radius:16px;
  padding:0;
  cursor:zoom-in;
}
.product-detail-image.product-image-enlarge img{
  max-width:100%;
  max-height:310px;
  object-fit:contain;
}
.image-enlarge-btn{
  width:180px;
  min-height:42px;
  border-radius:10px;
  background:#f4f5f7;
  border:1px solid var(--border);
  color:#111;
  font-weight:800;
}
.image-lightbox{
  position:fixed;
  inset:0;
  z-index:2147483646;
  background:rgba(0,0,0,.84);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
}
.image-lightbox.hidden{display:none!important}
.image-lightbox img{
  max-width:min(1100px,96vw);
  max-height:90vh;
  object-fit:contain;
  border-radius:14px;
  background:#fff;
  box-shadow:0 18px 60px rgba(0,0,0,.45);
}
.image-lightbox-close{
  position:fixed;
  top:18px;
  right:22px;
  z-index:2147483647;
  width:46px;
  height:46px;
  border-radius:999px;
  background:#fff;
  color:#111;
  font-size:30px;
  line-height:1;
}


/* v11.16 admin message fallback */
.admin-message-live{
  position:relative!important;
  display:block!important;
  margin:10px 0!important;
  padding:13px 16px!important;
  border-radius:10px!important;
  font-weight:800!important;
  box-shadow:0 8px 22px rgba(0,0,0,.16)!important;
}
.admin-message-live.success{background:#138a36!important;color:#fff!important}
.admin-message-live.error{background:#b00020!important;color:#fff!important}
.pulse-message{animation:zcpPulseMsg .7s ease-out 1}
@keyframes zcpPulseMsg{
  0%{transform:scale(.98);filter:brightness(1.15)}
  60%{transform:scale(1.02)}
  100%{transform:scale(1);filter:brightness(1)}
}
.admin-toast{display:none!important}


/* v11.17 content/info pages */
.content-page{padding:34px 28px;background:#f4f5f7;min-height:620px}
.content-card{max-width:1000px;margin:0 auto;background:white;border:1px solid var(--border);border-radius:18px;padding:28px;box-shadow:0 12px 30px rgba(0,0,0,.06)}
.content-card h1{margin-top:0}
.content-body{line-height:1.65;color:#222}
.content-body p{margin:0 0 16px}
.page-body-editor{min-height:220px}

/* v11.18 seo admin */
#tab-seo textarea{min-height:90px}


/* v11.19 selected vehicle below reg box */
.hero-vehicle-selected{
  margin-top:14px;
  background:rgba(255,255,255,.96);
  color:#111;
  border:1px solid rgba(255,255,255,.35);
  border-radius:14px;
  padding:14px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  max-width:720px;
  box-shadow:0 10px 28px rgba(0,0,0,.18);
}
.hero-vehicle-selected.hidden{display:none!important}
.hero-vehicle-selected p{margin:5px 0 0;color:#333}
.hero-vehicle-selected button{
  background:var(--red);
  color:#fff;
  border-radius:10px;
  padding:10px 14px;
  white-space:nowrap;
}
@media(max-width:700px){
  .hero-vehicle-selected{flex-direction:column;align-items:flex-start}
}


/* v11.20 improved editable content page formatting */
.content-card{
  max-width:1000px;
  margin:0 auto;
  background:white;
  border:1px solid var(--border);
  border-radius:18px;
  padding:34px;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
}
.content-card h1{
  margin:0 0 24px;
  font-size:2rem;
}
.content-body h2{
  margin:28px 0 10px;
  font-size:1.18rem;
  color:#111;
  border-left:4px solid var(--red);
  padding-left:12px;
}
.content-body p{
  margin:0 0 18px;
  line-height:1.72;
  color:#2b2f36;
}
.content-body ul{
  margin:0 0 20px 24px;
  padding:0;
}
.content-body li{
  margin:7px 0;
  line-height:1.6;
}


/* v11.21 product-card alignment and non-cropping images */
.products{
  align-items:stretch;
}
.product{
  display:flex!important;
  flex-direction:column!important;
  height:100%;
}
.product .product-img{
  width:100%;
  height:180px!important;
  min-height:180px!important;
  padding:12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  background:#f8fafc;
  border-radius:12px;
  box-sizing:border-box!important;
}
.product .product-img img,
.product-img img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  display:block!important;
}
.product .product-info{
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
}
.product .product-actions{
  margin-top:auto!important;
  padding-top:12px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}
.product .product-actions .secondary,
.product .product-actions button{
  align-self:flex-end!important;
}

/* List/category result rows need larger image boxes and must never crop uploaded photos */
.products.product-results-list .product-row-card{
  display:grid!important;
  grid-template-columns:210px 1fr!important;
  align-items:stretch!important;
}
.products.product-results-list .product-row-card .product-img{
  height:200px!important;
  min-height:200px!important;
  padding:16px!important;
}
.products.product-results-list .product-row-card .product-img img{
  object-fit:contain!important;
  object-position:center center!important;
}

@media(max-width:800px){
  .products.product-results-list .product-row-card{
    grid-template-columns:1fr!important;
  }
  .products.product-results-list .product-row-card .product-img{
    height:190px!important;
  }
}


/* v11.29 no-db integration planning screen */
.integrations-grid > div{
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px;
  background:#fff;
}
.integrations-grid h3{margin:4px 0 12px}


/* v11.30 no-db order automation planning */
.automation-plan-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:14px;
  margin:18px 0;
}
.automation-card{
  border:1px solid var(--border);
  border-radius:14px;
  padding:16px;
  background:#fff;
}
.automation-card h3{
  margin:0 0 8px;
}
.automation-card p{
  margin:0 0 10px;
  color:#475569;
}
.automation-card ul{
  margin:0;
  padding-left:20px;
}
.automation-card li{
  margin:6px 0;
}
.checklist{
  display:grid;
  gap:8px;
  margin-top:10px;
}
.checklist label{
  background:#f8fafc;
  border:1px solid var(--border);
  border-radius:10px;
  padding:10px;
}


/* v11.31 read-only database diagnostics */
.diag-output pre{
  white-space:pre-wrap;
  max-height:260px;
  overflow:auto;
  background:#f8fafc;
  border:1px solid var(--border);
  border-radius:8px;
  padding:8px;
  font-size:12px;
}
.diag-output table td{
  vertical-align:top;
}


/* v11.36 display-only order workflow fields */
.order-display-note{
  background:#eef6ff;
  border-left:5px solid #2563eb;
  color:#16325c;
  padding:12px 14px;
  border-radius:10px;
  margin:0 0 14px;
}
.order-field-summary{
  margin-top:16px;
  background:#f8fafc;
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px;
}
.order-field-summary h3{
  margin:0 0 8px;
}
.order-field-summary p{
  margin:6px 0;
}


/* v11.37 admin order workflow editor */
#ordersList table select,
#ordersList table input,
#ordersList table textarea{
  width:100%;
  min-width:130px;
  font-size:13px;
}
#ordersList table textarea{
  min-height:58px;
  resize:vertical;
}
#ordersList table th,
#ordersList table td{
  vertical-align:top;
}


/* v11.38 cleaner admin order workflow layout */
.orders-card-list{
  display:grid;
  gap:14px;
  margin-top:12px;
}
.order-admin-card{
  border:1px solid var(--border);
  border-radius:16px;
  padding:16px;
  background:#fff;
}
.order-admin-main{
  display:grid;
  grid-template-columns:minmax(210px,1.2fr) minmax(190px,1fr) minmax(100px,.4fr);
  gap:16px;
  align-items:start;
  padding-bottom:14px;
  border-bottom:1px solid var(--border);
}
.order-admin-main span,
.order-admin-id span{
  display:block;
  color:#64748b;
  margin-top:4px;
}
.order-admin-workflow{
  display:grid;
  grid-template-columns:minmax(250px,1.1fr) minmax(220px,1fr) minmax(190px,.8fr) minmax(170px,.7fr) minmax(140px,.5fr);
  gap:14px;
  align-items:start;
  margin-top:14px;
}
.workflow-field label,
.label-small{
  display:block;
  font-weight:800;
  font-size:12px;
  color:#334155;
  text-transform:uppercase;
  letter-spacing:.04em;
  margin-bottom:6px;
}
.workflow-field select{
  width:100%;
  min-width:240px;
  height:44px;
  padding:0 12px;
}
.public-status-preview{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 14px;
  border-radius:999px;
  background:#eef6ff;
  color:#16325c;
  font-weight:800;
}
.status-badge{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:0 12px;
  border-radius:999px;
  background:#f1f5f9;
  color:#334155;
  font-weight:800;
}
.status-badge.failed{
  background:#fee2e2;
  color:#991b1b;
}
.status-badge.synced,
.status-badge.exported{
  background:#dcfce7;
  color:#166534;
}
.retry-btn,
.refund-btn{
  margin-top:8px;
  width:100%;
}
.retry-btn:disabled,
.refund-btn:disabled{
  opacity:.45;
  cursor:not-allowed;
}
.workflow-actions button{
  width:100%;
  min-height:44px;
}
#ordersMsg{
  margin-bottom:12px;
}
@media(max-width:1100px){
  .order-admin-main,
  .order-admin-workflow{
    grid-template-columns:1fr;
  }
  .workflow-field select{
    min-width:0;
  }
}


/* v11.39 compact horizontal order list and filters */
.orders-filter-bar{
  display:grid;
  grid-template-columns:160px minmax(220px,1fr) 150px 150px 110px auto;
  gap:12px;
  align-items:end;
  margin:14px 0 16px;
  padding:14px;
  border:1px solid var(--border);
  border-radius:14px;
  background:#f8fafc;
}
.orders-filter-bar label{
  display:block;
  font-size:12px;
  font-weight:800;
  color:#334155;
  text-transform:uppercase;
  letter-spacing:.04em;
  margin-bottom:6px;
}
.orders-filter-bar input,
.orders-filter-bar select{
  width:100%;
  min-height:42px;
}
.orders-filter-actions{
  display:flex;
  gap:8px;
}
.orders-compact-table-wrap{
  width:100%;
  overflow-x:auto;
}
.orders-compact-table{
  min-width:1080px;
}
.orders-compact-table th,
.orders-compact-table td{
  vertical-align:middle;
}
.orders-compact-table select{
  min-width:230px;
  height:42px;
}
.orders-compact-table .public-status-preview{
  white-space:nowrap;
}
.orders-compact-table .retry-btn,
.orders-compact-table .refund-btn{
  margin-top:6px;
  min-width:130px;
}
@media(max-width:1100px){
  .orders-filter-bar{
    grid-template-columns:1fr 1fr;
  }
  .orders-filter-actions{
    grid-column:1/-1;
  }
}
@media(max-width:700px){
  .orders-filter-bar{
    grid-template-columns:1fr;
  }
}


/* v11.40 compact order rows, expanders, actions and VAT totals */
.orders-alert-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:12px 0;
}
.attention-alert{
  border:1px solid #fecaca;
  background:#fff1f2;
  color:#991b1b;
  border-radius:999px;
  padding:9px 14px;
  font-weight:800;
}
.attention-alert.active{
  background:#dc2626;
  color:white;
}
.attention-alert.accounting.active{
  background:#b91c1c;
}
.orders-filter-compact{
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px;
  background:#f8fafc;
  margin:12px 0 16px;
  display:grid;
  gap:10px;
}
.orders-filter-line{
  display:flex;
  gap:10px;
  align-items:end;
  flex-wrap:wrap;
}
.orders-filter-line label{
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  color:#334155;
  letter-spacing:.04em;
}
.orders-filter-line input,
.orders-filter-line select{
  display:block;
  min-height:38px;
  min-width:150px;
  margin-top:4px;
}
.orders-search-label input{
  min-width:320px;
}
.orders-compact-table-wrap{
  width:100%;
  overflow-x:auto;
}
.orders-compact-table{
  min-width:1060px;
}
.orders-compact-table th,
.orders-compact-table td{
  vertical-align:middle;
}
.orders-compact-table select{
  min-width:230px;
  height:40px;
}
.expand-order-btn{
  width:32px;
  height:32px;
  padding:0;
  border-radius:50%;
  font-size:20px;
  line-height:1;
}
.linklike{
  background:none!important;
  color:#b91c1c!important;
  box-shadow:none!important;
  padding:0!important;
  border-radius:0!important;
  text-decoration:underline;
  font-weight:800;
}
.order-actions{
  white-space:nowrap;
}
.icon-btn{
  min-width:36px;
  width:36px;
  height:36px;
  padding:0;
  margin-right:4px;
}
.icon-btn:disabled,
.retry-btn:disabled,
.refund-btn:disabled{
  opacity:.45;
  cursor:not-allowed;
}
.order-detail-row.hidden{
  display:none;
}
.order-detail-box{
  background:#f8fafc;
  border:1px solid var(--border);
  border-radius:14px;
  padding:16px;
}
.order-expanded-layout{
  display:grid;
  grid-template-columns:1fr 280px;
  gap:18px;
  align-items:start;
}
.order-items-table{
  margin-top:8px;
}
.order-totals-side{
  background:white;
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px;
}
.order-totals-side div{
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:8px 0;
  border-bottom:1px solid #e5e7eb;
}
.order-totals-side div:last-of-type{
  border-bottom:0;
}
.order-totals-side .grand{
  font-size:1.08rem;
  font-weight:900;
}
.order-totals-side small{
  display:block;
  margin-top:8px;
  color:#64748b;
}
.status-badge{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 10px;
  border-radius:999px;
  background:#f1f5f9;
  color:#334155;
  font-weight:800;
}
.status-badge.failed{
  background:#fee2e2;
  color:#991b1b;
}
.status-badge.synced,
.status-badge.exported{
  background:#dcfce7;
  color:#166534;
}
@media(max-width:900px){
  .order-expanded-layout{
    grid-template-columns:1fr;
  }
  .orders-search-label input{
    min-width:220px;
  }
}


/* v11.41 Admin Orders UI fixes */
.orders-filter-compact{
  display:grid!important;
  gap:8px!important;
}
.orders-filter-row{
  display:flex!important;
  align-items:end!important;
  gap:10px!important;
  flex-wrap:nowrap!important;
}
.orders-filter-row label{
  display:flex!important;
  flex-direction:column!important;
  gap:4px!important;
  font-size:12px!important;
  font-weight:800!important;
  color:#334155!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
}
.orders-filter-top label:first-child{
  width:190px!important;
  flex:0 0 190px!important;
}
.orders-search-label{
  flex:1 1 auto!important;
  min-width:260px!important;
}
.orders-filter-top label:nth-child(3){
  width:100px!important;
  flex:0 0 100px!important;
}
.orders-filter-dates label{
  width:170px!important;
  flex:0 0 170px!important;
}
.orders-filter-row input,
.orders-filter-row select{
  min-height:38px!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.orders-filter-row input[type="date"]{
  appearance:auto!important;
  -webkit-appearance:auto!important;
  cursor:pointer!important;
  color-scheme:light!important;
  padding-right:8px!important;
}
.orders-filter-actions{
  display:flex!important;
  gap:8px!important;
  flex:0 0 auto!important;
}
.order-action-row{
  display:flex!important;
  gap:6px!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
}
.order-action-row button{
  margin:0!important;
}
.customer-link{
  background:none!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  color:#b91c1c!important;
  text-decoration:underline!important;
  font-weight:700!important;
  cursor:pointer!important;
  min-height:0!important;
}
.admin-modal.hidden{
  display:none!important;
}
.admin-modal{
  position:fixed;
  inset:0;
  z-index:9999;
}
.admin-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.45);
}
.admin-modal-panel{
  position:relative;
  max-width:560px;
  margin:8vh auto;
  background:#fff;
  border-radius:18px;
  padding:24px;
  box-shadow:0 24px 70px rgba(0,0,0,.25);
}
.admin-modal-close{
  position:absolute;
  top:12px;
  right:12px;
  width:34px;
  height:34px;
  border-radius:999px;
  padding:0!important;
}
.customer-detail-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:14px;
}
.customer-detail-grid label{
  display:block;
  font-size:12px;
  font-weight:800;
  color:#64748b;
  text-transform:uppercase;
  margin-bottom:4px;
}
.customer-detail-grid p{
  margin:0;
  padding:10px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#f8fafc;
}
@media(max-width:850px){
  .orders-filter-row{
    flex-wrap:wrap!important;
  }
  .orders-filter-top label:first-child,
  .orders-filter-top label:nth-child(3),
  .orders-filter-dates label{
    flex:1 1 160px!important;
    width:auto!important;
  }
  .orders-search-label{
    flex:1 1 100%!important;
  }
  .customer-detail-grid{
    grid-template-columns:1fr;
  }
}


/* v11.42 hard replacement for Admin Orders layout */
#ordersList .orders-filter-fixed{
  display:block!important;
  width:100%!important;
  box-sizing:border-box!important;
  padding:12px!important;
  margin:12px 0 16px!important;
  border:1px solid var(--border)!important;
  border-radius:14px!important;
  background:#f8fafc!important;
}
#ordersList .filter-row{
  display:flex!important;
  flex-direction:row!important;
  align-items:flex-end!important;
  gap:10px!important;
  width:100%!important;
  margin:0 0 10px!important;
  flex-wrap:nowrap!important;
}
#ordersList .filter-row:last-child{
  margin-bottom:0!important;
}
#ordersList .filter-field{
  display:flex!important;
  flex-direction:column!important;
  gap:4px!important;
  margin:0!important;
}
#ordersList .filter-field span{
  display:block!important;
  font-size:12px!important;
  font-weight:800!important;
  color:#334155!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
  margin:0!important;
}
#ordersList .status-field{flex:0 0 190px!important;width:190px!important;}
#ordersList .search-field{flex:1 1 auto!important;min-width:280px!important;}
#ordersList .limit-field{flex:0 0 100px!important;width:100px!important;}
#ordersList .date-field{flex:0 0 190px!important;width:190px!important;}
#ordersList .filter-buttons{
  display:flex!important;
  gap:8px!important;
  align-items:flex-end!important;
  flex:0 0 auto!important;
  white-space:nowrap!important;
}
#ordersList .filter-field input,
#ordersList .filter-field select{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:38px!important;
  min-height:38px!important;
  box-sizing:border-box!important;
  margin:0!important;
}
#ordersList .date-wrap{
  display:flex!important;
  gap:6px!important;
  align-items:center!important;
}
#ordersList .date-wrap input[type="date"]{
  flex:1 1 auto!important;
  appearance:auto!important;
  -webkit-appearance:auto!important;
  color-scheme:light!important;
  cursor:pointer!important;
}
#ordersList .calendar-btn{
  flex:0 0 38px!important;
  width:38px!important;
  height:38px!important;
  padding:0!important;
  min-width:38px!important;
}
#ordersList .customer-text-link{
  color:#e11d48!important;
  text-decoration:underline!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  font-weight:700!important;
  padding:0!important;
  display:inline!important;
}
#ordersList .order-action-row{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:6px!important;
  white-space:nowrap!important;
}
#ordersList .order-action-row button{
  margin:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
}
#ordersList .order-action-row .icon-btn{
  width:36px!important;
  min-width:36px!important;
  height:36px!important;
  padding:0!important;
}
#ordersList .order-action-row .refund-btn{
  min-width:70px!important;
}
.zcp-modal.hidden{display:none!important;}
.zcp-modal{
  position:fixed!important;
  inset:0!important;
  z-index:99999!important;
}
.zcp-modal-bg{
  position:absolute!important;
  inset:0!important;
  background:rgba(0,0,0,.55)!important;
}
.zcp-modal-card{
  position:relative!important;
  max-width:560px!important;
  margin:8vh auto!important;
  background:#fff!important;
  color:#111827!important;
  border-radius:18px!important;
  padding:24px!important;
  box-shadow:0 24px 70px rgba(0,0,0,.35)!important;
}
.zcp-modal-x{
  position:absolute!important;
  top:12px!important;
  right:12px!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  padding:0!important;
  border-radius:999px!important;
}
.zcp-modal-card h2{
  margin:0 0 14px!important;
}
.customer-detail-grid{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:12px!important;
}
.customer-detail-grid label{
  display:block!important;
  font-size:12px!important;
  font-weight:800!important;
  color:#64748b!important;
  text-transform:uppercase!important;
  margin-bottom:4px!important;
}
.customer-detail-grid p{
  margin:0!important;
  padding:10px!important;
  border:1px solid #e5e7eb!important;
  border-radius:10px!important;
  background:#f8fafc!important;
  color:#111827!important;
}
@media(max-width:1000px){
  #ordersList .filter-row{flex-wrap:wrap!important;}
  #ordersList .status-field,
  #ordersList .limit-field,
  #ordersList .date-field{
    flex:1 1 160px!important;
    width:auto!important;
  }
  #ordersList .search-field{
    flex:1 1 100%!important;
  }
}
@media(max-width:650px){
  .customer-detail-grid{grid-template-columns:1fr!important;}
}

/* v11.70 checkout form */
.checkout-modal{position:fixed;inset:0;background:rgba(17,24,39,.62);z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px}
.checkout-modal.hidden{display:none}
.checkout-card{position:relative;background:#fff;border-radius:18px;box-shadow:0 24px 80px rgba(0,0,0,.32);width:min(560px,96vw);padding:24px;color:#111827}
.checkout-close{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:28px;cursor:pointer;color:#374151}
.checkout-card label{display:block;margin:12px 0 5px;font-weight:800}
.checkout-card input,.checkout-card textarea{width:100%;box-sizing:border-box;border:1px solid #d1d5db;border-radius:10px;padding:10px;font:inherit}
.checkout-summary-small{background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;padding:10px;margin-top:12px;font-size:14px}
.checkout-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:14px}

/* v11.71 full checkout page */
.checkout-page{max-width:1180px;margin:28px auto;padding:0 18px 40px}
.checkout-shell{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:22px;align-items:start}
.checkout-form-card,.checkout-summary-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 12px 34px rgba(15,23,42,.08);padding:22px;color:#111827}
.checkout-heading h1{margin:0 0 8px;font-size:32px}.checkout-heading p{margin:0;color:#4b5563}.checkout-heading .eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#dc2626;font-weight:900;margin-bottom:6px}
.checkout-section{border-top:1px solid #eef2f7;margin-top:20px;padding-top:18px}.checkout-section h2,.checkout-summary-card h2{margin:0 0 14px;font-size:20px}
.checkout-two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}.checkout-page label{display:block;margin:10px 0 5px;font-weight:800;font-size:14px}.checkout-page input{width:100%;box-sizing:border-box;border:1px solid #d1d5db;border-radius:10px;padding:11px 12px;font:inherit;background:#fff}.checkout-page input:focus{outline:2px solid rgba(220,38,38,.16);border-color:#dc2626}.checkout-page-actions{justify-content:space-between;border-top:1px solid #eef2f7;padding-top:16px;margin-top:18px}.checkout-summary-line{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #f1f5f9}.checkout-summary-line span{font-weight:700}.checkout-summary-line small{color:#6b7280;font-weight:600}.checkout-summary-small p,.checkout-summary-small h3{display:flex;justify-content:space-between;gap:12px;margin:8px 0}.checkout-summary-small h3{border-top:1px solid #e5e7eb;padding-top:10px}.small{font-size:13px}.muted{color:#6b7280}
@media(max-width:820px){.checkout-shell{grid-template-columns:1fr}.checkout-two-col{grid-template-columns:1fr}.checkout-page{margin-top:16px}}

/* v11.72 checkout/delivery polish */
.checkout-lookup-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:10px 0 0}
.checkout-lookup-row button[disabled]{opacity:.55;cursor:not-allowed}
.checkout-section select,.checkout-form-card select{width:100%;height:44px;border:1px solid var(--border);border-radius:9px;padding:0 12px;font-size:15px;background:#fff}
.checkout-section select:disabled{background:#f4f5f7;color:#374151;font-weight:700;opacity:1}
.checkout-delivery-box{border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin:14px 0;padding:12px 0}
.checkout-delivery-option{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;background:#fff5f5;border:1px solid #ffd4d4;border-radius:12px;padding:12px}
.checkout-delivery-option small{display:block;color:#6b7280;margin-top:4px;line-height:1.3}
.checkout-delivery-option strong{white-space:nowrap;color:var(--red)}
.checkout-success-card{border:1px solid #bbf7d0;background:#f0fdf4;border-radius:14px;padding:16px;margin-top:16px;color:#166534}
.checkout-success-card h2{margin:0 0 8px;color:#166534}
.checkout-success-card button{margin-top:8px}

/* v11.76 checkout/payment success polish */
.checkout-pay-button{min-height:56px;padding:0 24px!important;border-radius:10px!important;font-size:17px!important;background:var(--red)!important;color:#fff!important;box-shadow:0 8px 18px rgba(227,29,39,.2)}
.customer-order-btn.pay-now-btn{display:inline-flex;align-items:center;justify-content:center;background:var(--red);color:#fff!important;text-decoration:none!important;border-radius:9px;padding:12px 18px;margin-right:8px;font-weight:900;border:0;box-shadow:0 6px 14px rgba(227,29,39,.16)}
.order-success-page{max-width:980px;margin:0 auto;padding:36px 20px 60px}.order-success-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:30px;box-shadow:0 14px 35px rgba(0,0,0,.08)}.order-success-card h1{margin:0 0 16px;font-size:34px}.order-success-card .eyebrow{color:var(--red);font-weight:900;text-transform:uppercase;letter-spacing:.08em}.order-success-summary{border:1px solid var(--border);border-radius:12px;padding:20px;margin:14px 0;background:#fff}.order-success-summary dl{display:grid;grid-template-columns:150px 1fr;gap:8px 14px;margin:18px 0}.order-success-summary dt{color:var(--muted);font-weight:800}.order-success-summary dd{margin:0;font-weight:800}.order-success-account-box{border:1px solid #ffd2d5;background:#fff8f8;border-radius:12px;padding:20px;margin-top:18px}.order-success-account-box input{width:100%;height:46px;border:1px solid var(--border);border-radius:8px;padding:0 12px;margin:8px 0 4px}.order-success-actions{margin-top:18px}@media(max-width:640px){.order-success-card{padding:22px}.order-success-summary dl{grid-template-columns:1fr}.checkout-pay-button{width:100%}}

/* v11.77 order-success anti-flash/cache polish */
html.preload-order-success #homePage{display:none!important}
html.preload-order-success #orderSuccessPage{display:block!important}

/* v11.83: absorb browser password-manager autofill away from reg/search boxes. */
.zcp-autofill-trap {
  position: fixed;
  left: -10000px;
  top: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.zcp-autofill-trap input {
  width: 1px;
  height: 1px;
}


/* v11.84: hide any early Chrome/Google Password Manager injection until guards finish. */
html.zcp-autofill-booting input[data-zcp-search-lock="1"],
html.zcp-autofill-booting input[data-zcp-search-lock="1"][readonly],
html.zcp-autofill-booting input[data-zcp-search-lock="1"].zcp-soft-autofill-locked {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  caret-color: transparent !important;
  text-shadow: none !important;
}
input[data-zcp-search-lock="1"].zcp-soft-autofill-locked,
input[data-zcp-search-lock="1"][readonly] {
  cursor: text;
}

/* v11.86: persistent selected vehicle strip across site routes */
.site-vehicle-strip{background:#fff;border-bottom:1px solid var(--border);padding:10px 28px;position:relative;z-index:20}
.site-vehicle-inner{max-width:1280px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid rgba(227,29,39,.18);border-left:5px solid var(--red);border-radius:12px;background:#fff7f7;padding:10px 14px;box-shadow:0 6px 18px rgba(15,23,42,.05)}
.site-vehicle-copy{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px;color:#1f2937}
.site-vehicle-kicker{text-transform:uppercase;font-size:11px;font-weight:900;color:var(--red);letter-spacing:.08em}
#siteVehicleReg{background:#111827;color:#fff;border-radius:8px;padding:6px 10px;letter-spacing:.08em;white-space:nowrap}
#siteVehicleText{color:#374151}
#siteChangeVehicle{background:var(--red);color:#fff;border-radius:9px;padding:10px 14px;white-space:nowrap}
.site-vehicle-change{display:flex;align-items:center;gap:12px;flex-wrap:wrap;flex:1}
.site-vehicle-reg-entry{display:flex;align-items:stretch;gap:0;border:1px solid rgba(227,29,39,.28);border-radius:10px;overflow:hidden;background:#fff;min-width:310px;max-width:480px;flex:1}
.site-vehicle-reg-entry input{border:0;padding:0 14px;min-height:42px;flex:1;font-weight:800;letter-spacing:.08em;text-transform:uppercase;background:#fff}
.site-vehicle-reg-entry button{background:var(--red);color:#fff;padding:0 18px;font-weight:900;white-space:nowrap}
@media(max-width:700px){.site-vehicle-strip{padding:10px 14px}.site-vehicle-inner{align-items:flex-start;flex-direction:column}.site-vehicle-copy{align-items:flex-start;flex-direction:column;gap:6px}.site-vehicle-change{width:100%;align-items:flex-start;flex-direction:column}.site-vehicle-reg-entry{min-width:0;width:100%;max-width:none}#siteChangeVehicle{width:100%}}
/* v11.89 shared contact/address validation */
.field-error{border-color:#b00020!important;box-shadow:0 0 0 2px rgba(176,0,32,.14)!important;background:#fff7f7!important}

/* v11.98 mobile storefront polish: phone layout only; desktop remains unchanged. */
.mobile-menu-toggle{display:none;background:var(--red);color:#fff;border-radius:10px;padding:12px 14px;font-weight:900;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.mobile-menu-icon{font-size:20px;line-height:1}.mobile-menu-open{overflow-x:hidden}
@media(max-width:900px){
  body{overflow-x:hidden}
  .top-header,.top-header.has-promo{display:grid!important;grid-template-columns:1fr auto auto!important;grid-auto-rows:auto!important;gap:12px!important;min-height:0!important;height:auto!important;padding:12px 14px!important;align-items:center!important}
  .logo-cluster{grid-column:1;grid-row:1;min-width:0}.logo-main{font-size:36px}.logo-sub{font-size:13px}.header-promo-slot{display:none!important}
  .header-actions{grid-column:2;grid-row:1;gap:10px!important;justify-content:flex-end!important;min-width:0}.header-actions .account-link span,#cartTotalTop{display:none!important}.account-link{display:inline-flex!important;align-items:center!important}.account-icon-img,.cart-icon-img{width:24px!important;height:24px!important}.cart-button{font-size:20px!important;margin-right:4px}
  .mobile-menu-toggle{display:inline-flex;grid-column:3;grid-row:1;min-height:44px}
  .search-bar{grid-column:1 / -1;grid-row:2;width:100%!important;height:48px!important;border-radius:10px!important}.search-bar input{font-size:16px!important;padding:0 14px!important}.search-bar button{width:52px!important}
  .nav{display:none!important;position:relative!important;z-index:950!important;width:100%!important;padding:8px 14px!important;min-height:0!important;border-top:1px solid #202532!important;border-bottom:1px solid #202532!important;background:#08090d!important;box-shadow:0 12px 25px rgba(0,0,0,.22)}
  .nav.mobile-open{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important}.nav .nav-item{width:100%!important}.nav .nav-item>a,.nav>a{display:block!important;width:100%!important;padding:14px 12px!important;border-radius:10px!important;font-size:14px!important}.nav .nav-item>a.active,.nav>a.active{background:var(--red)!important}.nav-item.has-submenu:hover .submenu{display:none}.nav .nav-item.open .submenu{display:grid!important}.nav .submenu{position:static!important;display:none;min-width:0!important;max-height:none!important;overflow:visible!important;border-radius:10px!important;box-shadow:none!important;background:#141821!important;margin:4px 0 8px!important;padding:6px!important}.nav .submenu a{padding:12px!important;white-space:normal!important}
  .trust-strip{grid-template-columns:1fr 1fr!important;padding:10px 14px!important;gap:10px!important;font-size:12px!important}.trust-strip div{display:flex;align-items:center;gap:8px}.trust-text span{display:none}.trust-icon-img{width:28px!important;height:28px!important}
  main{max-width:100%!important}.hero{min-height:0!important;padding:26px 16px 30px!important;background-position:center!important}.hero h1{font-size:34px!important;margin-bottom:12px!important}.hero p{font-size:16px!important;margin:0 0 16px!important}.reviews{margin-top:20px!important;font-size:13px!important}.reg-box{width:100%!important;height:58px!important;max-width:560px!important}.plate-badge{width:50px!important;height:auto!important}.reg-box input{height:auto!important;font-size:18px!important}.reg-box button{width:116px!important;font-size:15px!important}
  .card{margin:14px 14px 22px!important;padding:18px!important}.section-head{margin:22px 14px 12px!important}.categories,.products{margin:0 14px 18px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.category,.product{padding:13px!important}.product .product-img{height:130px!important}.product h3{font-size:14px!important}.product button{padding:12px 10px!important}.footer-grid,.footer-trust{grid-template-columns:1fr!important}footer{padding:0 18px 24px!important}
  .site-vehicle-strip{padding:8px 12px!important}.site-vehicle-inner{padding:10px 12px!important;gap:10px!important}.site-vehicle-copy{display:grid!important;grid-template-columns:auto 1fr!important;align-items:center!important;gap:5px 8px!important;width:100%!important}.site-vehicle-kicker{grid-column:1 / -1;font-size:10px!important}.site-vehicle-copy strong{font-size:13px!important;padding:5px 8px!important}.site-vehicle-copy span:not(.site-vehicle-kicker){font-size:13px!important;line-height:1.25!important}.site-vehicle-inner #siteChangeVehicle{width:100%!important;min-height:40px!important}.site-vehicle-reg-entry{min-width:0!important;width:100%!important}.site-vehicle-reg-entry input{min-height:44px!important}.site-vehicle-reg-entry button{min-height:44px!important;padding:0 14px!important}
}
@media(max-width:560px){
  .top-header,.top-header.has-promo{grid-template-columns:1fr auto!important}.mobile-menu-toggle{grid-column:2;grid-row:1}.header-actions{grid-column:1 / -1;grid-row:3;justify-content:space-between!important;border-top:1px solid #202532;padding-top:8px}.search-bar{grid-row:2}.logo-main{font-size:32px}.mobile-menu-toggle span:last-child{display:none}.mobile-menu-toggle{width:46px;height:44px;padding:0}.trust-strip{grid-template-columns:1fr 1fr!important}.trust-strip b{font-size:12px}.hero h1{font-size:30px!important}.reg-box{height:auto!important;display:grid!important;grid-template-columns:48px 1fr!important}.plate-badge{height:54px!important}.reg-box input{height:54px!important;font-size:17px!important}.reg-box button{grid-column:1 / -1;width:100%!important;height:50px!important}.categories,.products{grid-template-columns:1fr!important}.product .product-img{height:120px!important}.order-success-page{padding-left:12px!important;padding-right:12px!important}
}


/* v11.99: keep selected vehicle strip behind/hidden while cart drawer is open on mobile. */
.cart-drawer{z-index:10000!important}
body.cart-open .site-vehicle-strip{display:none!important}
body.cart-open{overflow-x:hidden}
@media(max-width:900px){
  body.cart-open .nav.mobile-open{display:none!important}
  body.cart-open .cart-drawer{max-width:100vw!important;width:100vw!important;right:-100vw}
  body.cart-open .cart-drawer.open{right:0!important}
}

/* v12.00: editable cart quantities in drawer and checkout summary */
.cart-line-details{min-width:0}
.cart-line-details h4{margin-bottom:8px}
.cart-qty-control{display:inline-flex;align-items:center;border:1px solid #d1d5db;border-radius:9px;overflow:hidden;background:#fff;vertical-align:middle}
.cart-qty-control .qty-btn{width:34px;height:32px;background:#f3f4f6;color:#111827;font-size:18px;line-height:1;border-radius:0;padding:0;display:inline-flex;align-items:center;justify-content:center}
.cart-qty-control .qty-btn:hover{background:#e5e7eb}
.cart-qty-control .qty-input{width:44px;height:32px;border:0;border-left:1px solid #d1d5db;border-right:1px solid #d1d5db;text-align:center;font-weight:800;font-size:14px;padding:0;background:#fff;color:#111827;-moz-appearance:textfield}
.cart-qty-control .qty-input::-webkit-outer-spin-button,.cart-qty-control .qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.checkout-summary-line-editable{align-items:center}
.checkout-summary-product{display:flex;flex-direction:column;gap:8px;min-width:0}
.checkout-summary-product span{line-height:1.25}
.checkout-qty-control .qty-btn{width:30px;height:28px;font-size:16px}
.checkout-qty-control .qty-input{width:40px;height:28px;font-size:13px}
@media(max-width:560px){.cart-line{grid-template-columns:58px 1fr 72px 24px!important;gap:9px!important}.cart-qty-control .qty-btn{width:32px}.cart-qty-control .qty-input{width:40px}.checkout-summary-line-editable{align-items:flex-start}.checkout-summary-line-editable>b{white-space:nowrap}}

/* v12.03: inline reg lookup errors and homepage-only selected-vehicle strip suppression. */
.reg-lookup-message{margin:8px 0 0;font-size:13px;font-weight:800;line-height:1.35;border-radius:10px;padding:9px 12px;max-width:520px}
.reg-lookup-error{background:#fff1f1;color:#b91c1c;border:1px solid rgba(185,28,28,.28)}
.reg-lookup-info{background:#f3f4f6;color:#374151;border:1px solid rgba(55,65,81,.18)}
.reg-lookup-error-field{border-color:#b91c1c!important;box-shadow:0 0 0 3px rgba(185,28,28,.12)!important}
.reg-box + .reg-lookup-message{max-width:520px}
.site-vehicle-reg-entry + .reg-lookup-message{width:100%;box-sizing:border-box}
@media(max-width:700px){.reg-lookup-message{width:100%;box-sizing:border-box}}
