/* ==========================================================================
   TeslaParts Depot — Wholesale B2B storefront
   Responsive, light theme. Red = brand accent, navy = primary text.
   ========================================================================== */
:root {
  --navy: #0f1e33;
  --navy-2: #172b46;
  --red: #d92b2b;
  --red-dark: #b82020;
  --ink: #1d2a3a;
  --muted: #6b7787;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --blue-soft: #eef3fa;
  --green: #1a7f52;
  --shadow-sm: 0 1px 3px rgba(15, 30, 51, .07), 0 1px 2px rgba(15, 30, 51, .04);
  --shadow-md: 0 8px 24px rgba(15, 30, 51, .10);
  --radius: 12px;
  --radius-lg: 18px;
  --maxw: 1280px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- utility ---------- */
.muted { color: var(--muted); }
.small { font-size: 13px; }
.bold { font-weight: 700; }
.red { color: var(--red); }
.center { text-align: center; }
.hidden { display: none !important; }
.flex { display: flex; }
.between { display: flex; justify-content: space-between; align-items: center; }
.gap8 { gap: 8px; }
.gap12 { gap: 12px; }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; }
.mt32 { margin-top: 32px; } .mt48 { margin-top: 48px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
}
.pill-red { background: #fdeaea; color: var(--red-dark); }
.pill-navy { background: var(--blue-soft); color: var(--navy-2); }
.pill-green { background: #e6f4ed; color: var(--green); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 700; font-size: 14px; line-height: 1;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--navy); }
.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
}
.header-top {
  background: var(--navy); color: #cbd6e4; font-size: 12.5px;
}
.header-top .wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.header-top strong { color: #fff; }
.header-main { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px; background: var(--red);
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 20px;
}
.logo-text { line-height: 1.15; }
.logo-text b { display: block; font-size: 17px; letter-spacing: -.02em; color: var(--navy); }
.logo-text span { font-size: 10px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: 12px; }
.nav a { font-size: 14px; font-weight: 600; color: var(--navy); padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: var(--red); border-bottom-color: var(--red); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.search-box { position: relative; }
.search-box input {
  width: 230px; padding: 10px 14px 10px 38px; border: 1px solid var(--line);
  border-radius: 9px; background: var(--bg-soft); font-size: 13.5px; outline: none;
}
.search-box input:focus { border-color: var(--navy); background: #fff; }
.search-box svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--navy);
}
.icon-btn:hover { border-color: var(--navy); }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800;
  display: grid; place-items: center;
}
.menu-toggle { display: none; }

/* mobile nav drawer */
.mobile-nav {
  display: none; position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw);
  background: #fff; z-index: 100; box-shadow: -12px 0 40px rgba(15,30,51,.18);
  padding: 24px; transform: translateX(105%); transition: transform .25s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(15,30,51,.45); z-index: 90; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(120deg, #0f1e33 0%, #172b46 55%, #22395a 100%);
  color: #fff; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -120px; top: -160px; width: 560px; height: 560px;
  border-radius: 50%; background: radial-gradient(circle, rgba(217,43,43,.28), transparent 68%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 82px 0 88px; }
.hero h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.1; margin: 0 0 20px; letter-spacing: -.03em; font-weight: 800; }
.hero h1 em { font-style: normal; color: #ff6a6a; }
.hero p.lead { font-size: 17px; color: #c8d4e3; max-width: 600px; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-point { border-left: 3px solid var(--red); padding-left: 14px; }
.hero-point b { display: block; font-size: 20px; }
.hero-point span { font-size: 12.5px; color: #a9b8ca; }
.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(8px); border-radius: var(--radius-lg); padding: 28px;
}
.hero-card h3 { margin: 0 0 18px; font-size: 18px; }
.hc-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.hc-row:last-child { border-bottom: 0; }
.hc-row span { color: #b6c4d4; }
.hc-row b { color: #fff; }

/* ---------- trust strip ---------- */
.trust-strip { border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.trust-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon { width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--red); flex-shrink: 0; }
.trust-item b { display: block; font-size: 14px; }
.trust-item span { font-size: 12px; color: var(--muted); }

/* ---------- section ---------- */
section.block { padding: 70px 0; }
section.block.soft { background: var(--bg-soft); }
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 10px; letter-spacing: -.02em; }
.section-head p { color: var(--muted); margin: 0; max-width: 680px; }
.eyebrow { color: var(--red); font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; display: block; }

/* category cards */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cat-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #cdd6e2; }
.cat-card-top { padding: 28px 28px 20px; display: flex; align-items: flex-start; gap: 16px; }
.cat-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--blue-soft); color: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
.cat-card h3 { margin: 0 0 6px; font-size: 21px; }
.cat-card p { margin: 0; color: var(--muted); font-size: 14px; }
.cat-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 28px 22px; }
.cat-tags span { background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted); font-size: 12px; padding: 5px 10px; border-radius: 7px; }
.cat-card-foot { margin-top: auto; padding: 18px 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.cat-card-foot b { color: var(--navy); }
.cat-card-foot a { color: var(--red); font-weight: 700; font-size: 14px; }

/* ---------- product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #cdd6e2; }
.product-card .thumb { position: relative; background: var(--bg-soft); aspect-ratio: 1 / 1; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.product-card:hover .thumb img { transform: scale(1.04); }
.thumb-badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; }
.badge-moq { background: var(--navy); color: #fff; font-size: 11px; font-weight: 800; padding: 5px 9px; border-radius: 7px; letter-spacing: .02em; }
.badge-wholesale { background: #fff; color: var(--red); font-size: 11px; font-weight: 800; padding: 5px 9px; border-radius: 7px; border: 1px solid #f3cfcf; }
.product-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-sku { font-size: 11px; color: var(--muted); letter-spacing: .06em; font-weight: 700; }
.product-title { font-size: 14.5px; line-height: 1.4; font-weight: 700; margin: 6px 0 10px; min-height: 40px; }
.product-title a:hover { color: var(--red); }
.model-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.model-tags span { font-size: 10.5px; color: var(--navy-2); background: var(--blue-soft); padding: 3px 7px; border-radius: 5px; }
.product-price { margin-top: auto; }
.product-price .from { font-size: 11px; color: var(--muted); display: block; }
.product-price .amount { font-size: 22px; font-weight: 800; color: var(--red); letter-spacing: -.02em; }
.product-price .amount small { font-size: 12px; font-weight: 600; color: var(--muted); }
.product-card .btn { margin-top: 14px; }

/* ---------- catalog layout ---------- */
.catalog-layout { display: grid; grid-template-columns: 246px 1fr; gap: 32px; align-items: start; padding: 36px 0 80px; }
.filters {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 20px;
  position: sticky; top: 130px; max-height: calc(100vh - 150px); overflow: auto;
}
.filters h3 { margin: 0 0 16px; font-size: 16px; }
.filter-group { padding: 16px 0; border-top: 1px solid var(--line); }
.filter-group h4 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); }
.filter-group label { display: flex; align-items: center; gap: 9px; font-size: 13.5px; padding: 5px 0; cursor: pointer; color: var(--ink); }
.filter-group input[type=checkbox] { accent-color: var(--red); width: 15px; height: 15px; }
.filter-group label span { margin-left: auto; color: var(--muted); font-size: 12px; }
.filter-group select { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 13px; }
.catalog-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.catalog-head h1 { margin: 0; font-size: 28px; }
.catalog-head .count { color: var(--muted); font-size: 13px; }
.catalog-tools { display: flex; gap: 10px; align-items: center; }
.catalog-tools select { padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 13px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-filters .chip { background: var(--blue-soft); border: 1px solid #d6e0ee; border-radius: 999px; padding: 5px 11px; font-size: 12px; display: inline-flex; gap: 8px; align-items: center; }
.active-filters .chip button { border: 0; background: transparent; color: var(--muted); font-size: 15px; line-height: 1; padding: 0; }
.empty-state { border: 1px dashed var(--line); border-radius: var(--radius); padding: 60px 20px; text-align: center; color: var(--muted); }

/* ---------- breadcrumb ---------- */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); padding: 22px 0 0; }
.breadcrumb a:hover { color: var(--red); }

/* ---------- detail page ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding: 32px 0 64px; }
.detail-gallery .main-img { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-soft); aspect-ratio: 1/1.05; overflow: hidden; }
.detail-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.detail-thumbs img { width: 72px; height: 72px; border-radius: 9px; border: 2px solid transparent; background: var(--bg-soft); cursor: pointer; object-fit: cover; }
.detail-thumbs img.active, .detail-thumbs img:hover { border-color: var(--red); }
.detail-info h1 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; margin: 8px 0 12px; letter-spacing: -.02em; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.detail-desc { color: var(--muted); font-size: 14.5px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 13.5px; }
.spec-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); }
.spec-table td:first-child { color: var(--muted); width: 40%; }
.tier-box { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 22px 0; }
.tier-box h4 { margin: 0; padding: 12px 16px; background: var(--navy); color: #fff; font-size: 13.5px; }
.tier-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tier-table th, .tier-table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.tier-table th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; background: var(--bg-soft); }
.tier-table tr:last-child td { border-bottom: 0; }
.tier-table tr.active td { background: #fff7f7; color: var(--red-dark); font-weight: 700; }
.tier-table td:last-child, .tier-table th:last-child { text-align: right; }
.qty-row { display: flex; align-items: center; gap: 14px; margin: 22px 0 14px; flex-wrap: wrap; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty-stepper button { width: 40px; height: 44px; border: 0; background: var(--bg-soft); font-size: 20px; color: var(--navy); }
.qty-stepper button:hover { background: #e9edf3; }
.qty-stepper input { width: 96px; height: 44px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-weight: 700; outline: none; }
.unit-price { font-size: 13.5px; color: var(--muted); }
.unit-price b { font-size: 19px; color: var(--red); }
.moq-note { font-size: 12.5px; color: var(--red-dark); background: #fff4f4; border: 1px solid #f6d5d5; padding: 9px 12px; border-radius: 8px; margin-bottom: 14px; }
.detail-actions { display: flex; gap: 12px; }
.detail-actions .btn-primary { flex: 1; }

/* ---------- cart page ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; padding: 36px 0 80px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cart-table th { text-align: left; padding: 12px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.cart-table td { padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-item { display: flex; gap: 12px; align-items: center; }
.cart-item img { width: 62px; height: 62px; border-radius: 8px; object-fit: cover; background: var(--bg-soft); }
.cart-item a { font-weight: 700; font-size: 13.5px; }
.cart-item .sku { font-size: 11px; color: var(--muted); }
.cart-table input[type=number] { width: 86px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; text-align: center; }
.remove-btn { border: 0; background: transparent; color: var(--muted); font-size: 18px; }
.remove-btn:hover { color: var(--red); }
.summary-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 130px; }
.summary-card h3 { margin: 0 0 18px; }
.summary-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14px; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; font-size: 18px; font-weight: 800; }
.summary-row.total span:last-child { color: var(--red); }
.payment-slot { margin-top: 18px; border: 1px dashed #c9d3e0; border-radius: 10px; padding: 16px; background: var(--bg-soft); }
.payment-slot h4 { margin: 0 0 8px; font-size: 13.5px; }
.pay-methods { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pay-method { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; background: #fff; font-size: 12px; font-weight: 700; color: var(--muted); }

/* ---------- toast ---------- */
#toast-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--navy); color: #fff; padding: 14px 18px; border-radius: 10px; box-shadow: var(--shadow-md); font-size: 14px; min-width: 240px; animation: toastIn .22s ease; }
.toast.err { background: var(--red-dark); }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; padding: 56px 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 8px; font-size: 30px; }
.cta-band p { margin: 0; color: #b9c7d6; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.step-num { width: 38px; height: 38px; border-radius: 10px; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; }
.step h3 { margin: 0 0 8px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- faq ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--red); font-size: 20px; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--muted); margin: 12px 0 0; font-size: 14px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 50px 0 80px; }
.form-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; outline: none; background: #fff; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--navy); }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.info-list .trust-icon { flex-shrink: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #b9c7d6; padding: 60px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.site-footer .logo-mark { background: #fff; color: var(--red); }
.site-footer .logo-text b { color: #fff; }
.site-footer .logo-text span { color: #8fa1b6; }
.footer-grid h4 { color: #fff; margin: 0 0 16px; font-size: 14px; }
.footer-grid a, .footer-grid p { display: block; color: #b9c7d6; margin: 0 0 9px; font-size: 13.5px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #8fa1b6; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .nav { gap: 16px; }
  .search-box input { width: 180px; }
}
@media (max-width: 900px) {
  .nav, .search-box { display: none; }
  .menu-toggle { display: grid; }
  .header-main { height: 66px; }
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 64px; gap: 32px; }
  .hero-card { max-width: 520px; }
  .trust-strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; }
  .filters-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
  .detail-layout { grid-template-columns: 1fr; gap: 28px; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .header-top { font-size: 11px; }
  .header-top .wrap > span:last-child { display: none; }
  .header-top .wrap > span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 100%; }
  .filters-grid { grid-template-columns: 1fr; }
  .filters { padding: 16px; }
  .logo-text b { font-size: 15px; }
  .logo-text span { font-size: 9px; }
  .header-main { gap: 12px; }
  .header-actions { gap: 8px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-body { padding: 12px; }
  .product-title { font-size: 13px; min-height: 36px; }
  .product-price .amount { font-size: 19px; }
  .catalog-head h1 { font-size: 23px; }
  body { overflow-x: hidden; }
  .header-main .logo { min-width: 0; }
  .logo-text { overflow: hidden; }
  .trust-strip .wrap { grid-template-columns: 1fr 1fr; gap: 12px; }
  .trust-item b { font-size: 12.5px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .detail-actions { flex-direction: column; }
  .hero-points { gap: 18px; }
  .cart-table { font-size: 12.5px; }
  .cart-table th, .cart-table td { padding: 10px 6px; }
  .cart-item img { width: 46px; height: 46px; }
  .tier-table th, .tier-table td { padding: 9px 10px; }
  section.block { padding: 48px 0; }
}
