/* Spare parts marketplace — storefront */
:root {
  --ink: #141a24;
  --ink-2: #2b3442;
  --muted: #6c7787;
  --muted-2: #94a0b0;
  --line: #e3e7ee;
  --line-2: #eef1f5;
  --bg: #f6f7f9;
  --white: #fff;
  --red: #e3382f;
  --red-dark: #c32a22;
  --red-soft: #fdecea;
  --blue: #1f4e8c;
  --green: #1f8a5b;
  --green-soft: #e8f6ef;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(20, 26, 36, .08);
  --shadow-sm: 0 4px 14px rgba(20, 26, 36, .06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0 0 12px; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 22px; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 999; background: #fff; padding: 10px 16px; }
.skip-link:focus { left: 12px; top: 12px; }

/* top bar */
.topbar { background: var(--ink); color: #aeb8c7; font-size: 12.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 18px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar-right a { color: #aeb8c7; }
.topbar-right a:hover { color: #fff; }

/* header */
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 90; }
.header-main { display: grid; grid-template-columns: 268px minmax(200px, 1fr) auto; align-items: center; gap: 26px; padding-top: 15px; padding-bottom: 15px; }
.logo { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.logo-mark {
  width: 48px; height: 48px; flex: 0 0 48px; border-radius: 11px;
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 18px; letter-spacing: -1px;
  background: linear-gradient(145deg, #ff5147, #c51f18);
  box-shadow: 0 8px 20px rgba(227, 56, 47, .28);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text b { font-size: 18px; letter-spacing: .1em; font-weight: 800; white-space: nowrap; }
.logo-text i { font-style: normal; margin-top: 5px; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.search { position: relative; display: flex; align-items: stretch; height: 48px; }
.search input {
  width: 100%; min-width: 0; border: 2px solid var(--line); border-right: 0;
  border-radius: 10px 0 0 10px; padding: 0 16px; outline: 0; background: #fbfcfd; font-size: 14.5px;
}
.search input:focus { border-color: var(--red); background: #fff; }
.search button {
  width: 54px; border: 0; border-radius: 0 10px 10px 0; background: var(--red); color: #fff;
  display: grid; place-items: center;
}
.search button:hover { background: var(--red-dark); }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 7px); background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; z-index: 100; max-height: 430px; overflow-y: auto;
}
.suggest a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line-2); }
.suggest a:last-child { border-bottom: 0; }
.suggest a:hover { background: #f7f9fc; }
.suggest .s-kind { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.suggest .s-title { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.suggest .s-sub { font-size: 12px; color: var(--muted); }
.suggest .s-price { margin-left: auto; font-weight: 700; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.head-link { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: var(--ink-2); position: relative; }
.head-link svg { color: var(--ink); }
.head-link:hover { color: var(--red); }
.cart-link .cart-count {
  position: absolute; top: -5px; right: -8px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 99px; background: var(--red); color: #fff; font-size: 10.5px; display: grid; place-items: center;
}
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 4px 0; }
.nav { border-top: 1px solid var(--line-2); }
.nav-inner { display: flex; align-items: center; gap: 26px; min-height: 42px; }
.nav a { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.nav a:hover { color: var(--red); }
.nav-catalog { display: inline-flex; align-items: center; gap: 8px; color: var(--red) !important; }
.nav-spacer { flex: 1; }
.nav-note { font-size: 11.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.nav-note i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }

/* buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent;
  border-radius: 10px; padding: 11px 18px; font-size: 14px; font-weight: 650; line-height: 1; transition: .18s; white-space: nowrap; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(227, 56, 47, .22); }
.btn-red:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 9px 12px; font-size: 12.5px; border-radius: 8px; }
.btn-lg { padding: 15px 24px; font-size: 15px; }
.btn-block { width: 100%; }
.inline-form { margin: 0; }
.field { display: block; margin-bottom: 14px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select, .form-grid input, .form-grid select, .form-grid textarea,
.filter-form input, .filter-form select {
  display: block; width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: 9px;
  background: #fff; padding: 11px 12px; outline: 0; font-size: 14px; font-weight: 400;
}
.field input:focus, .field textarea:focus, .form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus,
.filter-form input:focus, .filter-form select:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); margin: 9px 0; }
.check input { width: 16px; height: 16px; accent-color: var(--red); }
.flash { margin: 16px 0 0; padding: 12px 16px; border-radius: 10px; font-size: 14px; }
.flash-ok { background: var(--green-soft); color: #14603f; border: 1px solid #c5e9d7; }
.flash-error { background: var(--red-soft); color: #8c211b; border: 1px solid #f6cbc7; }

/* hero */
.hero { background: linear-gradient(180deg, #f8f9fc 0%, #eef2f7 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; padding-top: 52px; padding-bottom: 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: .16em;
  font-size: 11px; font-weight: 700; color: var(--red); margin-bottom: 14px; }
.eyebrow:before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow.light { color: #ff9a92; }
.hero h1 { font-size: clamp(40px, 5vw, 62px); line-height: .99; letter-spacing: -.04em; font-weight: 850; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-lead { font-size: 17px; line-height: 1.55; color: #4f5b6b; max-width: 560px; margin-bottom: 24px; }
.hero-search { display: flex; gap: 8px; max-width: 590px; margin-bottom: 14px; }
.hero-search input { flex: 1; min-width: 0; height: 54px; border: 1px solid #d5dbe4; border-radius: 11px; background: #fff; padding: 0 17px; outline: 0; font-size: 15px; }
.hero-search input:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 56, 47, .1); }
.hero-search .btn { padding-left: 24px; padding-right: 24px; }
.hero-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); margin-bottom: 26px; }
.hero-chips a { border: 1px solid #dde2e9; background: rgba(255, 255, 255, .7); border-radius: 99px; padding: 5px 11px; color: var(--ink-2); }
.hero-chips a:hover { border-color: var(--red); color: var(--red); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 620px; }
.hero-stats div { border-left: 2px solid var(--red); padding-left: 12px; }
.hero-stats b { display: block; font-size: 21px; letter-spacing: -.03em; }
.hero-stats span { font-size: 11.5px; color: var(--muted); }
.hero-visual { position: relative; }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px 18px 14px; box-shadow: 0 30px 70px rgba(20, 26, 36, .12); transform: rotate(.6deg); }
.hero-card-head { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); padding: 2px 4px 10px; }
.live-dot { color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.live-dot:before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.hero-car { width: 100%; height: auto; }
.hero-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px solid var(--line-2); padding-top: 12px; }
.hero-mini div { padding: 0 8px; border-right: 1px solid var(--line-2); }
.hero-mini div:last-child { border-right: 0; }
.hero-mini span { display: block; font-size: 9.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.hero-mini b { display: block; font-size: 12px; margin-top: 3px; }

/* sections */
.section { padding: 52px 0; }
.section-tight { padding: 38px 0; }
.section-gray { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-head.center { justify-content: center; text-align: center; }
.section-head h2 { font-size: clamp(25px, 2.6vw, 34px); font-weight: 800; }
.section-head .eyebrow { margin-bottom: 8px; }
.link-more { font-size: 13px; font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.link-more:hover { color: var(--red); }
.link-more.center { display: block; text-align: center; margin-top: 12px; }

/* brand, group, model grids */
.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 11px; }
.brand-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 15px 15px 13px; display: flex; flex-direction: column; gap: 4px; min-width: 0; transition: .16s; }
.brand-card:hover { border-color: #cfd6e0; box-shadow: var(--shadow-sm); transform: translateY(-1px); color: var(--ink); }
.brand-card b { font-size: 15px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-card span { font-size: 11.5px; color: var(--muted); }
.brand-card i { font-style: normal; font-size: 11.5px; color: var(--red); font-weight: 650; }
.brand-grid-all { grid-template-columns: repeat(5, 1fr); }
.group-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 11px; }
.group-card { background: #fbfcfd; border: 1px solid var(--line); border-radius: 12px; padding: 13px; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 11px; align-items: center; min-width: 0; }
.group-card:hover { background: #fff; border-color: #cfd6e0; box-shadow: var(--shadow-sm); color: var(--ink); }
.group-ico { grid-row: span 2; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; color: var(--red); background: #fff; border: 1px solid var(--line); }
.group-ico svg { width: 30px; height: 30px; }
.group-name { font-size: 12.5px; font-weight: 650; line-height: 1.25; }
.group-count { font-size: 10.5px; color: var(--muted); }
.groups-all { grid-template-columns: repeat(4, 1fr); }
.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.model-card { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 17px; display: flex; flex-direction: column; gap: 5px; }
.model-card:hover { border-color: #cfd6e0; box-shadow: var(--shadow-sm); color: var(--ink); }
.model-brand { font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--red); font-weight: 700; }
.model-card b { font-size: 16px; }
.model-card span { font-size: 12px; color: var(--muted); }
.model-card i { font-style: normal; font-size: 11.5px; color: var(--ink-2); margin-top: 4px; }

/* product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.product-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .16s; }
.pcard:hover { border-color: #ccd3dd; box-shadow: var(--shadow); transform: translateY(-2px); }
.pcard-media { position: relative; display: block; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #f4f6f9, #e9edf3); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.pcard:hover .pcard-media img { transform: scale(1.03); }
.partph { width: 100%; height: 100%; display: grid; place-items: center; color: #aeb9c8; background: linear-gradient(160deg, #f7f9fb, #e8edf3); }
.partph svg { width: 56%; height: 56%; }
.partph.ph-engine, .partph.ph-electronics { color: #a9b7c9; }
.pcard-badge { position: absolute; left: 10px; top: 10px; background: rgba(20, 26, 36, .82); color: #fff; border-radius: 5px; padding: 4px 7px; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.pcard-stock { position: absolute; right: 10px; bottom: 10px; background: var(--green-soft); color: #14603f; border-radius: 5px; padding: 4px 7px; font-size: 10px; font-weight: 650; }
.pcard-body { padding: 13px 13px 14px; display: flex; flex-direction: column; flex: 1; }
.pcard-title { font-size: 13.5px; font-weight: 650; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px; }
.pcard-title:hover { color: var(--red); }
.pcard-meta { font-size: 11.5px; color: var(--muted); margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-sku { font-size: 10.5px; color: var(--muted-2); margin-top: 3px; }
.pcard-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.price-wrap { display: flex; flex-direction: column; line-height: 1.2; }
.price { font-size: 18px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.price-wrap s { font-size: 11px; color: var(--muted-2); }
.pcard-foot .btn-sm span { display: none; }
.pcard-foot .btn-sm { width: 38px; height: 36px; padding: 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 24px; }
.step-num { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 9px; background: var(--red-soft); color: var(--red); font-weight: 800; font-size: 13px; margin-bottom: 16px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* seo */
.seo-text { max-width: 980px; }
.seo-text h2 { font-size: 25px; margin-bottom: 14px; }
.seo-text p { color: #5b6675; font-size: 14px; line-height: 1.65; }

/* page/catalog */
.page { padding-top: 22px; padding-bottom: 50px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; font-size: 11.5px; color: var(--muted); margin: 4px 0 18px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs span { color: var(--muted-2); }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.page-head h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 820; }
.page-sub { color: var(--muted); font-size: 13.5px; margin: 8px 0 0; max-width: 760px; }
.page-count { text-align: right; white-space: nowrap; }
.page-count b { display: block; font-size: 24px; letter-spacing: -.03em; }
.page-count span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.page-total { font-size: 24px; }
.catalog-layout { display: grid; grid-template-columns: 246px 1fr; gap: 24px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: sticky; top: 132px; }
.filter-block { padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid var(--line-2); }
.filter-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.filter-block h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.price-range input { margin: 0 !important; padding: 9px 10px !important; font-size: 13px !important; }
.filter-form select { margin-top: 0; padding: 9px 10px; }
.filter-form .btn { margin-top: 3px; }
.filter-reset { display: block; text-align: center; margin-top: 10px; font-size: 12px; color: var(--muted); }
.filter-list h3 { margin-bottom: 8px; }
.filter-list a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 12.5px; color: var(--ink-2); border-bottom: 1px dashed transparent; }
.filter-list a:hover, .filter-list a.active { color: var(--red); }
.filter-list a b { font-weight: 500; color: var(--muted-2); font-size: 11px; }
.catalog-main { min-width: 0; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 14px; font-size: 12px; color: var(--muted); }
.active-filters a { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 5px 10px; color: var(--ink-2); }
.active-filters a i { font-style: normal; color: var(--muted-2); }
.active-filters a.clear { border-color: transparent; color: var(--red); background: transparent; }
.empty { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 54px 24px; text-align: center; }
.empty-ico { margin: 0 auto 14px; width: 68px; height: 68px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; }
.empty h2 { font-size: 22px; margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 440px; margin: 0 auto 18px; }

/* model groups */
.mgroups { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 17px 18px; margin-bottom: 18px; }
.mgroups-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.mgroups-head b { font-size: 15px; }
.mgroups-head span { font-size: 11.5px; color: var(--muted); }
.mgroups-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.mgroups-grid a { display: flex; justify-content: space-between; gap: 8px; border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; font-size: 12px; background: #fbfcfd; }
.mgroups-grid a:hover { border-color: #cfd6e0; background: #fff; color: var(--red); }
.mg-meta { color: var(--muted); white-space: nowrap; font-size: 11px; }

/* pagination */
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; }
.page-list { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; }
.page-num, .page-dots { min-width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; color: var(--ink-2); }
.page-num:hover { border-color: var(--red); color: var(--red); }
.page-num.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-arrow { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.page-arrow.disabled { color: var(--muted-2); }

/* product page */
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 34px; align-items: start; }
.product-gallery { min-width: 0; }
.gallery-main { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery-main .partph svg { width: 46%; height: 46%; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 9px; overflow-x: auto; }
.thumb { width: 76px; height: 62px; flex: 0 0 76px; padding: 0; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff; }
.thumb.active { border-color: var(--red); box-shadow: 0 0 0 2px var(--red-soft); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-note { font-size: 11.5px; color: var(--muted); margin-top: 9px; }
.product-top { display: flex; gap: 10px; align-items: center; margin-bottom: 9px; }
.product-brand { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 750; color: var(--red); }
.product-group { font-size: 11px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 4px 9px; }
.product-info h1 { font-size: clamp(25px, 3vw, 36px); line-height: 1.13; margin-bottom: 10px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 7px; font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.product-meta span { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; }
.buy-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow-sm); }
.buy-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-xl { font-size: 34px; color: var(--ink); }
.buy-price s { color: var(--muted-2); font-size: 14px; }
.price-note { font-size: 11.5px; color: var(--muted); }
.buy-stock { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 650; margin: 9px 0 14px; }
.buy-stock i { width: 7px; height: 7px; border-radius: 50%; }
.buy-stock.in { color: var(--green); }
.buy-stock.in i { background: var(--green); }
.buy-stock.order { color: #b06a12; }
.buy-stock.order i { background: #d99a3e; }
.buy-form { display: flex; gap: 9px; margin-bottom: 9px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff; flex: 0 0 auto; }
.qty button { width: 34px; height: 44px; border: 0; background: #fff; font-size: 17px; color: var(--ink-2); }
.qty button:hover { background: var(--bg); }
.qty input { width: 42px; height: 44px; border: 0; text-align: center; outline: 0; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.btn-buy { flex: 1; }
.buy-points { display: flex; flex-direction: column; gap: 7px; margin-top: 13px; font-size: 12px; color: var(--ink-2); }
.buy-points span { display: flex; align-items: center; gap: 7px; }
.buy-points svg { color: var(--green); flex: 0 0 auto; }
.seller-box { display: flex; align-items: center; gap: 11px; margin-top: 14px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 11px; }
.seller-ico { width: 36px; height: 36px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.seller-box b { display: block; font-size: 13px; }
.seller-box span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.product-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
.specs, .product-desc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.specs h2, .product-desc h2 { font-size: 20px; margin-bottom: 14px; }
.specs table { width: 100%; border-collapse: collapse; font-size: 13px; }
.specs th, .specs td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.specs th { color: var(--muted); font-weight: 500; width: 42%; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.product-desc p { font-size: 13.5px; color: #4f5b6b; line-height: 1.65; }
.warn { background: #fff8e8; border: 1px solid #f0dfb8; color: #79530d; border-radius: 9px; padding: 11px 13px; font-size: 12.5px; line-height: 1.5; margin-top: 12px; }

/* cart */
.cart-layout { display: grid; grid-template-columns: 1fr 330px; gap: 22px; align-items: start; }
.cart-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-row { display: grid; grid-template-columns: 86px minmax(0, 1fr) auto auto 32px; gap: 14px; align-items: center; padding: 14px; border-bottom: 1px solid var(--line-2); }
.cart-row:last-child { border-bottom: 0; }
.cart-img { width: 86px; height: 70px; border-radius: 8px; overflow: hidden; background: var(--bg); }
.cart-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-img .partph svg { width: 56% !important; height: 56% !important; }
.cart-name { display: block; font-size: 13.5px; font-weight: 650; line-height: 1.3; }
.cart-meta { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.cart-avail { font-size: 11px; color: #b06a12; margin-top: 3px; }
.cart-avail.in { color: var(--green); }
.cart-qty .qty button { height: 32px; width: 27px; font-size: 15px; }
.cart-qty .qty input { height: 32px; width: 32px; font-size: 12px; }
.qty-form { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cart-update { border: 0; background: transparent; color: var(--muted); font-size: 10px; text-decoration: underline; }
.cart-price { text-align: right; }
.cart-price b { display: block; font-size: 15px; }
.cart-price span { font-size: 10.5px; color: var(--muted); }
.cart-remove button { border: 0; background: transparent; color: var(--muted-2); font-size: 19px; }
.cart-remove button:hover { color: var(--red); }
.cart-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 132px; }
.cart-summary h3 { font-size: 17px; margin-bottom: 14px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; padding: 8px 0; border-bottom: 1px solid var(--line-2); color: var(--ink-2); }
.sum-row span:last-child { color: var(--muted); text-align: right; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 0 16px; }
.sum-total span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sum-total b { font-size: 24px; }
.sum-note { font-size: 11px; color: var(--muted); line-height: 1.5; margin: 10px 0 0; }

/* checkout */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
.checkout-form { display: flex; flex-direction: column; gap: 14px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.form-card h2 { font-size: 19px; margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.radio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 14px; }
.radio { border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; gap: 8px; align-items: flex-start; cursor: pointer; background: #fbfcfd; }
.radio:hover { border-color: #cfd6e0; }
.radio input { margin-top: 2px; accent-color: var(--red); }
.radio b { display: block; font-size: 12.5px; }
.radio i { display: block; font-style: normal; font-size: 10.5px; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.consent { font-size: 12px; margin: 2px 0 4px; }
.checkout-aside { position: sticky; top: 132px; }
.mini-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 12px; }
.mini-row span { display: flex; flex-direction: column; gap: 2px; }
.mini-row i { font-style: normal; color: var(--muted); font-size: 10.5px; }
.mini-row b { white-space: nowrap; }

/* auth/account */
.auth-page { display: grid; place-items: center; padding-top: 42px; padding-bottom: 54px; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: var(--shadow-sm); }
.auth-card h1 { font-size: 30px; margin-bottom: 8px; }
.auth-sub { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.auth-card .btn { margin-top: 4px; }
.auth-switch { text-align: center; font-size: 12.5px; color: var(--muted); margin: 14px 0 0; }
.auth-switch a { color: var(--red); font-weight: 650; }
.account-layout { display: grid; grid-template-columns: 210px 1fr; gap: 18px; align-items: start; }
.account-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; position: sticky; top: 132px; }
.account-side a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 13px; color: var(--ink-2); }
.account-side a:hover, .account-side a.active { background: var(--bg); color: var(--red); }
.account-main { min-width: 0; }
.orders { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.order-row { display: grid; grid-template-columns: 1.2fr .8fr .8fr .6fr 20px; gap: 10px; align-items: center; padding: 15px 17px; border-bottom: 1px solid var(--line-2); font-size: 12.5px; }
.order-row:last-child { border-bottom: 0; }
.order-row:hover { background: #fbfcfd; color: var(--ink); }
.order-num { font-weight: 700; }
.order-date { color: var(--muted); }
.order-status { font-size: 10.5px; font-weight: 650; padding: 4px 8px; border-radius: 99px; width: max-content; background: var(--bg); }
.status-new { background: #e9f1fb; color: #245a96; }
.status-confirmed { background: #fff3de; color: #8a5a12; }
.status-shipped { background: #e8f6ef; color: #14603f; }
.status-done { background: #eceff3; color: #4b5767; }
.status-cancelled { background: var(--red-soft); color: #8c211b; }
.order-sum { font-weight: 700; text-align: right; }
.order-arrow { color: var(--muted-2); }

/* order success */
.order-success { max-width: 620px; margin: 30px auto 10px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 38px 34px; }
.success-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto 16px; }
.order-success h1 { font-size: 27px; margin-bottom: 12px; }
.order-success p { color: var(--muted); font-size: 13.5px; }
.success-box { text-align: left; border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 14px; margin: 18px 0; }
.success-actions { display: flex; gap: 9px; justify-content: center; }
.muted { font-size: 11.5px !important; color: var(--muted) !important; margin-top: 15px !important; }

/* info */
.info-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.info-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.info-body h2 { font-size: 21px; margin: 22px 0 10px; }
.info-body h2:first-child { margin-top: 0; }
.info-body p, .info-body li { color: #4f5b6b; font-size: 14px; line-height: 1.7; }
.info-body ul { padding-left: 20px; }
.info-side { display: flex; flex-direction: column; gap: 12px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 17px; }
.info-card b { display: block; font-size: 14px; margin-bottom: 6px; }
.info-card p { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.info-card a { display: block; font-weight: 750; font-size: 16px; color: var(--red); }
.info-card span { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
.alpha-nav { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 22px; }
.alpha-nav a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; border-radius: 8px; font-size: 12px; font-weight: 650; }
.alpha-nav a:hover { border-color: var(--red); color: var(--red); }
.alpha-section { margin-bottom: 26px; scroll-margin-top: 140px; }
.alpha-section h2 { font-size: 20px; color: var(--red); margin-bottom: 10px; }

/* lead band */
.lead-band { background: #101a2b; color: #fff; padding: 38px 0; margin-top: 20px; }
.lead-band-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.lead-copy h2 { font-size: clamp(25px, 2.8vw, 34px); margin-bottom: 10px; }
.lead-copy p { color: #aeb9c9; font-size: 13.5px; max-width: 430px; }
.lead-points { display: flex; flex-wrap: wrap; gap: 12px; font-size: 11.5px; color: #d3dce8; }
.lead-points span:before { content: "✓"; color: #63d39b; margin-right: 5px; }
.lead-form { background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 16px; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.lead-grid label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: #aeb9c9; }
.lead-grid input, .lead-grid textarea { display: block; width: 100%; margin-top: 5px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; color: #fff; padding: 10px 11px; outline: 0; font-size: 13px; resize: vertical; }
.lead-grid input:focus, .lead-grid textarea:focus { border-color: #ff8a80; background: rgba(255, 255, 255, .1); }
.lead-grid input::placeholder, .lead-grid textarea::placeholder { color: #7f8b9c; }
.lead-wide { grid-column: 1 / -1; }
.lead-actions { display: flex; align-items: center; gap: 12px; margin-top: 11px; }
.lead-actions span { font-size: 10px; color: #8e9aab; line-height: 1.4; }
.lead-actions a { color: #c6d2e3; text-decoration: underline; }

/* footer */
.footer { background: var(--ink); color: #aeb8c7; padding-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 30px; }
.footer h4 { color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 13px; }
.footer a { display: block; font-size: 12.5px; color: #aeb8c7; padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer p { font-size: 12.5px; line-height: 1.6; color: #8e9aab; }
.footer-brand p { max-width: 330px; }
.logo-light .logo-text b { color: #fff; }
.logo-light .logo-text i { color: #8e9aab; }
.footer-phone { margin-top: 14px; }
.footer-phone a { font-size: 17px; color: #fff; font-weight: 700; padding: 0; }
.footer-phone span { font-size: 11px; color: #8e9aab; }
.footer-note { font-size: 11px !important; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255, 255, 255, .09); padding-top: 16px; padding-bottom: 20px; font-size: 11px; color: #7f8b9c; flex-wrap: wrap; }
.footer-bottom a { color: #7f8b9c; }

/* responsive */
@media (max-width: 1100px) {
  .header-main { grid-template-columns: 230px 1fr auto; gap: 16px; }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .group-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { gap: 30px; }
  .model-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .header-main { grid-template-columns: 1fr auto; }
  .search { grid-column: 1 / -1; grid-row: 2; height: 46px; }
  .header-actions { gap: 14px; }
  .burger { display: block; }
  .nav { display: none; }
  .nav.open { display: block; }
  .nav-inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; gap: 14px 20px; }
  .nav-spacer, .nav-note { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 34px; }
  .hero-visual { max-width: 600px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .cart-layout, .checkout-layout, .info-layout, .account-layout, .product, .product-bottom { grid-template-columns: 1fr; }
  .cart-summary, .checkout-aside, .account-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lead-band-inner { grid-template-columns: 1fr; gap: 22px; }
  .product-gallery { max-width: 620px; }
  .mgroups-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .container { padding: 0 15px; }
  .topbar-left { gap: 10px; }
  .topbar-right { display: none; }
  .hide-sm { display: none; }
  .header-main { padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .logo-mark { width: 40px; height: 40px; flex-basis: 40px; font-size: 15px; }
  .logo-text b { font-size: 14px; }
  .logo-text i { font-size: 8.5px; }
  .head-link span { display: none; }
  .hero { padding-bottom: 30px; }
  .hero h1 { font-size: 38px; }
  .hero-search { flex-direction: column; }
  .hero-search .btn { height: 48px; }
  .hero-stats b { font-size: 18px; }
  .brand-grid, .group-grid, .groups-all, .model-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid-all { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .product-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .pcard-body { padding: 10px; }
  .pcard-title { font-size: 12px; min-height: 32px; }
  .price { font-size: 15px; }
  .pcard-foot .btn-sm { width: 34px; height: 32px; }
  .product-grid .pcard-sku { display: none; }
  .section { padding: 34px 0; }
  .section-head { align-items: flex-start; }
  .page-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .page-count { text-align: left; }
  .radio-grid, .form-grid, .lead-grid { grid-template-columns: 1fr; }
  .lead-wide { grid-column: auto; }
  .cart-row { grid-template-columns: 64px 1fr auto; gap: 10px; }
  .cart-img { width: 64px; height: 56px; }
  .cart-qty { grid-column: 2; }
  .cart-price { text-align: left; }
  .cart-remove { grid-column: 3; grid-row: 1; }
  .order-row { grid-template-columns: 1fr auto; gap: 6px; }
  .order-date { display: none; }
  .order-sum { text-align: left; }
  .order-arrow { display: none; }
  .mgroups-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .product-info h1 { font-size: 24px; }
  .buy-form { flex-direction: column; }
  .qty { width: 100%; justify-content: space-between; }
  .qty input { flex: 1; }
  .btn-buy { width: 100%; }
  .success-actions { flex-direction: column; }
  .order-success { padding: 26px 18px; }
  .auth-card { padding: 20px; }
  .lead-actions { flex-direction: column; align-items: stretch; }
  .lead-actions span { text-align: center; }
}

@media (max-width: 620px) {
  .hero-search input { flex: 0 0 48px; height: 48px; }
  .hero-search { gap: 7px; }
}

/* public project report */
.report-hero { background: linear-gradient(180deg, #f8f9fc, #eef2f7); border-bottom: 1px solid var(--line); padding: 46px 0; }
.report-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.report-hero h1 { font-size: clamp(32px, 4vw, 50px); margin-bottom: 16px; }
.report-hero h1 em { font-style: normal; color: var(--red); }
.report-hero .lead { color: #4f5b6b; font-size: 15px; max-width: 620px; }
.report-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 20px; }
.report-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.report-stats div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 15px; }
.report-stats b { display: block; font-size: 24px; letter-spacing: -.03em; }
.report-stats span { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }
.report-page { padding-top: 30px; }
.report-block { padding: 30px 0; border-bottom: 1px solid var(--line); }
.report-block:last-child { border-bottom: 0; }
.report-head { margin-bottom: 18px; }
.report-head h2 { font-size: clamp(25px, 3vw, 34px); margin-bottom: 6px; }
.report-head p { color: var(--muted); font-size: 13px; max-width: 760px; margin: 0; }
.report-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.report-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 17px; }
.report-card .report-num { display: block; font-size: 10px; letter-spacing: .1em; color: var(--red); font-weight: 700; margin-bottom: 8px; }
.report-card b { display: block; font-size: 15px; margin-bottom: 5px; }
.report-card p { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 0; }
.report-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.report-panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.report-panel h3 { font-size: 17px; margin-bottom: 10px; }
.report-panel h3 span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; margin-top: 2px; }
.report-panel p { font-size: 12.5px; color: #4f5b6b; line-height: 1.6; margin-bottom: 8px; }
.report-panel ul { margin: 6px 0 0; padding-left: 18px; }
.report-panel li { font-size: 12px; color: #4f5b6b; line-height: 1.55; margin-bottom: 4px; }
.report-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.report-table td { padding: 7px 0; border-bottom: 1px solid var(--line-2); }
.report-table td:last-child { text-align: right; font-weight: 650; white-space: nowrap; }
.report-table tr:last-child td { border-bottom: 0; }
.report-note { font-size: 10.5px !important; color: var(--muted) !important; margin: 10px 0 0 !important; }
.report-checks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.report-checks div { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 11px; }
.report-checks b { display: block; font-size: 11.5px; }
.report-checks span { display: block; font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.report-arch { display: grid; gap: 7px; }
.arch-row { display: grid; grid-template-columns: 160px 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 11px 14px; font-size: 12px; }
.arch-row b { color: var(--red); }
.arch-row span { color: #4f5b6b; line-height: 1.5; }
.report-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.report-shots figure, .photo-demo figure { margin: 0; }
.report-shots img { width: 100%; height: 180px; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 9px; }
.report-shots figcaption, .photo-demo figcaption { font-size: 10px; color: var(--muted); margin-top: 4px; }
.photo-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.photo-demo img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #f6f8fb; border: 1px solid var(--line); border-radius: 10px; }
.report-next { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.report-next div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.report-next b { display: block; font-size: 12px; margin-bottom: 4px; }
.report-next span { display: block; font-size: 11px; color: var(--muted); line-height: 1.45; }
@media (max-width: 980px) {
  .report-hero-grid, .report-grid-2 { grid-template-columns: 1fr; }
  .report-cards { grid-template-columns: 1fr 1fr; }
  .report-checks { grid-template-columns: 1fr 1fr; }
  .report-next { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .report-cards, .report-checks, .report-next, .report-shots, .photo-demo { grid-template-columns: 1fr 1fr; }
  .report-stats { grid-template-columns: 1fr 1fr; }
  .arch-row { grid-template-columns: 1fr; gap: 3px; }
  .report-shots img { height: 130px; }
  .report-hero { padding: 26px 0; }
  .report-hero h1 { font-size: 32px; }
}

/* demo ribbon + report entry points */
.demo-ribbon { display: flex; align-items: center; justify-content: center; gap: 11px; background: #101a2b; color: #dbe4f0; font-size: 12px; padding: 8px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.demo-ribbon:hover { color: #fff; background: #162337; }
.demo-pill { background: var(--red); color: #fff; border-radius: 4px; padding: 2px 7px; font-size: 9px; letter-spacing: .1em; font-weight: 800; }
.demo-ribbon b { color: #ff9a92; font-weight: 650; }
.nav-report { color: var(--red) !important; border: 1px solid rgba(227,56,47,.32); border-radius: 6px; padding: 5px 9px !important; }
.nav-report:hover { background: var(--red-soft); }
.hero-report { display: flex; align-items: center; gap: 11px; margin-top: 18px; max-width: 620px; background: #fff; border: 1px solid #dfe5ec; border-radius: 11px; padding: 10px 13px; transition: .16s; }
.hero-report:hover { border-color: #c9d2de; box-shadow: var(--shadow-sm); color: var(--ink); }
.hero-report-pill { flex: 0 0 auto; background: var(--red-soft); color: var(--red); border-radius: 5px; padding: 4px 7px; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.hero-report-text { min-width: 0; flex: 1; }
.hero-report-text b { display: block; font-size: 12.5px; line-height: 1.3; }
.hero-report-text i { display: block; font-style: normal; font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.hero-report-arrow { color: var(--red); font-size: 18px; }
@media (max-width: 620px) {
  .demo-ribbon { font-size: 11px; justify-content: space-between; gap: 7px; padding: 7px 12px; }
  .demo-ribbon .demo-text { display: none; }
  .hero-report { margin-top: 14px; }
}
