/* =========================================================================
   ШАБЛОН 2 — «ВИТРИНА» (светлый, карточный, бирюзовый акцент)
   Принципиально отличается от шаблона 1 (тёмный, табличный, оранжевый):
   светлый фон, сплит-герой с фото-карточкой, прайс карточками по категориям,
   преимущества, двухколоночные детали со стики-карточкой заказа, карта-полоса,
   документы списком. Данные те же (Quarry + prices).
   ========================================================================= */
:root {
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --ink: #112437;
  --ink-soft: #5c6c7e;
  --line: #e2e9ee;
  --surface: #ffffff;
  --surface-2: #f1f6f8;
  --surface-3: #e6eff2;
  --bg-deep: #0c2230;
  --on-deep: #e8f1f4;
  --on-deep-soft: #93a8b3;

  --accent: #0f8377;
  --accent-2: #16b7a4;
  --accent-soft: #d3efea;
  --on-accent: #ffffff;
  --good: #1f9d6b;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shadow: 0 4px 10px rgba(17,52,70,.05), 0 26px 56px -28px rgba(17,70,90,.4);
  --shadow-sm: 0 2px 6px rgba(17,52,70,.07), 0 14px 30px -22px rgba(17,70,90,.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--surface-2); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.14; color: var(--ink); letter-spacing: -.01em; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { width: min(1180px, 92vw); margin: 0 auto; }
section { scroll-margin-top: 100px; }

.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .15em; font-size: 12.5px; font-weight: 800; color: var(--accent); display: inline-flex; align-items: center; gap: 9px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 15px; padding: 13px 24px; border-radius: 12px; border: 1.5px solid transparent; cursor: pointer; transition: transform .12s, box-shadow .2s, background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 12px 24px -12px var(--accent); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-dark { background: var(--bg-deep); color: var(--on-deep); }
.btn-dark:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* =========================================================================
   ШАПКА
   ========================================================================= */
.topbar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 22px; padding: 15px 0; }
.brand { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; }
.brand > span:last-child { min-width: 0; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 23px; height: 23px; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 18px; line-height: 1.05; overflow-wrap: anywhere; }
.brand-sub { font-size: 12px; color: var(--ink-soft); }
.nav { display: flex; gap: 24px; margin-left: auto; flex: none; }
.nav a { font-size: 15px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.nav a:hover { color: var(--accent); }
.topbar-cta { display: flex; align-items: center; gap: 14px; }
.topbar-phone { font-family: var(--font-head); font-weight: 700; font-size: 16px; }

/* =========================================================================
   ГЕРОЙ — сплит: текст + фото-карточка
   ========================================================================= */
.hero { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; padding: 70px 0 76px; }
.hero h1 { font-size: clamp(36px, 5vw, 60px); margin: 18px 0 0; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-subtitle { color: var(--ink-soft); font-family: var(--font-head); font-weight: 600; font-size: clamp(17px, 2vw, 24px); margin: 10px 0 0; max-width: 44ch; }
.hero-lead { color: var(--ink-soft); font-size: clamp(16px, 1.6vw, 19px); max-width: 46ch; margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-stats { display: flex; gap: 30px; margin-top: 36px; flex-wrap: wrap; }
.hero-stat b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 26px; color: var(--ink); line-height: 1; }
.hero-stat span { font-size: 13px; color: var(--ink-soft); margin-top: 6px; display: block; }
.hero-stat + .hero-stat { padding-left: 30px; border-left: 1px solid var(--line); }

.hero-card { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero-card img { width: 100%; height: 470px; object-fit: cover; display: block; }
.hero-badge { position: absolute; left: 20px; bottom: 20px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-radius: 14px; padding: 12px 18px; box-shadow: var(--shadow-sm); }
.hero-badge b { font-family: var(--font-head); font-weight: 800; font-size: 15px; display: block; color: var(--accent); }
.hero-badge span { font-size: 12.5px; color: var(--ink-soft); }

/* =========================================================================
   СЕКЦИИ
   ========================================================================= */
.section { padding: 76px 0; }
.section--tint { background: var(--surface); }
.section-head { max-width: 64ch; margin: 0 auto 40px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin-top: 12px; }
.section-head p { color: var(--ink-soft); font-size: 17px; margin-top: 12px; }

/* =========================================================================
   ПРАЙС — КАРТОЧКИ КАТЕГОРИЙ
   ========================================================================= */
.price-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: center; margin-bottom: 28px; }
.filters2 { display: flex; flex-wrap: wrap; gap: 8px; }
.filter2 { font-family: var(--font-body); font-size: 14px; font-weight: 700; padding: 9px 17px; border-radius: 999px; cursor: pointer; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-soft); transition: all .15s; }
.filter2:hover { border-color: var(--accent); color: var(--accent); }
.filter2[aria-pressed='true'] { background: var(--accent); color: #fff; border-color: var(--accent); }
.dl2 { display: flex; gap: 10px; }

.catalog { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
.cat-head { display: flex; align-items: center; gap: 15px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.cat-ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent); }
.cat-ico svg { width: 25px; height: 25px; }
.cat-head h3 { font-size: 20px; }
.cat-count { font-size: 13px; color: var(--ink-soft); }
.cat-list { list-style: none; padding: 6px 0; flex: 1; }
.cat-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 24px; border-bottom: 1px dashed var(--line); }
.cat-item:last-child { border-bottom: 0; }
.ci-main b { font-family: var(--font-head); font-weight: 600; font-size: 16px; }
.ci-frac { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.ci-bulk { display: block; font-size: 12px; color: var(--accent); margin-top: 1px; }
.ci-side { text-align: right; flex: none; }
.ci-price { font-family: var(--font-head); font-weight: 700; font-size: 18px; white-space: nowrap; }
.ci-price small { font-weight: 400; font-family: var(--font-body); font-size: 12.5px; color: var(--ink-soft); }
.stock2 { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; margin-top: 4px; color: var(--good); }
.stock2 i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.stock2.out { color: var(--ink-soft); }
.stock2.out i { background: #d6a13a; }
.price-note2 { text-align: center; font-size: 13px; color: var(--ink-soft); margin-top: 22px; }

/* =========================================================================
   ПРЕИМУЩЕСТВА
   ========================================================================= */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.adv-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px; box-shadow: var(--shadow-sm); }
.adv-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; background: var(--accent-soft); color: var(--accent); }
.adv-ico svg { width: 24px; height: 24px; }
.adv-card h3 { font-size: 18px; margin-bottom: 6px; }
.adv-card p { font-size: 14px; color: var(--ink-soft); }

/* =========================================================================
   ДЕТАЛИ + КАРТОЧКА ЗАКАЗА
   ========================================================================= */
.details { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: start; }
.info-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.info-block + .info-block { margin-top: 20px; }
.info-head { display: flex; align-items: center; gap: 13px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.info-head .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.info-head .ico svg { width: 21px; height: 21px; }
.info-head h3 { font-size: 19px; }
.info-rows { padding: 8px 24px 16px; }
.kv2 { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.kv2:last-child { border-bottom: 0; }
.kv2 .k { color: var(--ink-soft); font-size: 14.5px; }
.kv2 .v { font-weight: 700; text-align: right; font-size: 14.5px; }
.tp-item { padding: 11px 0; border-bottom: 1px dashed var(--line); }
.tp-item:last-child { border-bottom: 0; }
.tp-item b { display: block; font-size: 15px; }
.tp-item span { font-size: 13px; color: var(--ink-soft); }

.order-card { position: sticky; top: 90px; background: var(--bg-deep); color: var(--on-deep); border-radius: var(--radius-xl); padding: 30px; box-shadow: var(--shadow); }
.order-card h3 { color: #fff; font-size: 23px; }
.order-card p { color: var(--on-deep-soft); font-size: 14.5px; margin: 10px 0 22px; }
.order-phone { font-family: var(--font-head); font-weight: 800; font-size: 26px; color: var(--accent-2); display: block; margin-bottom: 18px; }
.order-actions { display: flex; flex-direction: column; gap: 11px; }
.order-card .btn-ghost { color: #fff; border-color: rgba(255,255,255,.26); }
.order-card .btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }
.order-trust { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); font-size: 13px; color: var(--on-deep-soft); }

/* =========================================================================
   КАРТА — полоса с плавающей карточкой
   ========================================================================= */
.map-band { position: relative; }
.map-canvas { position: relative; min-height: 440px; overflow: hidden; background-color: var(--surface-2);
  background-image:
    linear-gradient(0deg, color-mix(in srgb, var(--accent) 6%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 6%, transparent) 1px, transparent 1px),
    radial-gradient(circle at 68% 42%, color-mix(in srgb, var(--accent-2) 18%, var(--surface-2)), var(--surface-2) 60%);
  background-size: 42px 42px, 42px 42px, 100% 100%; }
.map-road { position: absolute; background: color-mix(in srgb, var(--ink) 9%, transparent); }
.map-road.a { top: 0; bottom: 0; left: 64%; width: 16px; transform: rotate(-7deg); }
.map-road.b { left: 0; right: 0; top: 48%; height: 12px; }
.map-road.c { left: 22%; right: 8%; top: 26%; height: 7px; transform: rotate(5deg); }
.map-pin { position: absolute; left: 64%; top: 48%; transform: translate(-50%,-100%); display: flex; flex-direction: column; align-items: center; z-index: 3; }
.map-pin .dot { width: 28px; height: 28px; border-radius: 50% 50% 50% 0; background: var(--accent); transform: rotate(-45deg); box-shadow: 0 10px 22px -6px var(--accent); border: 3px solid #fff; }
.map-pin .tag { margin-top: 14px; background: #fff; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 13px; padding: 6px 13px; border-radius: 999px; box-shadow: var(--shadow-sm); white-space: nowrap; }
.map-card { position: absolute; left: max(4vw, calc((100vw - 1180px) / 2)); top: 50%; transform: translateY(-50%); width: min(390px, 86vw); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 30px; box-shadow: var(--shadow); z-index: 4; }
.map-card h3 { font-size: 24px; margin-bottom: 8px; }
.map-card .addr { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; margin-bottom: 18px; }
.map-card .map-kv { font-size: 14px; color: var(--ink-soft); padding: 7px 0; border-top: 1px dashed var(--line); }
.map-card .map-kv b { color: var(--ink); }
.map-kv .copy-coords-btn {
  display: inline-flex; align-items: center; gap: 5px;
  margin-left: 8px; padding: 2px 7px;
  border: 1px solid currentColor; border-radius: 6px;
  background: transparent; color: inherit; opacity: .65;
  font: inherit; font-size: 12px; line-height: 1.2;
  vertical-align: middle; cursor: pointer;
  transition: opacity .15s ease, color .15s ease;
}
.map-kv .copy-coords-btn:hover { opacity: 1; }
.map-kv .copy-coords-btn:focus-visible { opacity: 1; outline: 2px solid currentColor; outline-offset: 1px; }
.map-kv .copy-coords-btn__icon { display: block; }
.map-kv .copy-coords-btn__done { display: none; }
.map-kv .copy-coords-btn.is-copied { opacity: 1; color: #4caf50; }
.map-kv .copy-coords-btn.is-copied .copy-coords-btn__icon { display: none; }
.map-kv .copy-coords-btn.is-copied .copy-coords-btn__done { display: inline; }
.map-card .btn-row { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }

/* =========================================================================
   ДОКУМЕНТЫ — список
   ========================================================================= */
.doc-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.doc-row { display: flex; align-items: center; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; box-shadow: var(--shadow-sm); transition: transform .12s, border-color .2s; }
.doc-row:hover { transform: translateX(4px); border-color: var(--accent); }
.doc-row .ft { width: 44px; height: 52px; border-radius: 8px; flex: none; display: grid; place-items: end center; padding-bottom: 7px; font-family: var(--font-head); font-weight: 800; font-size: 11.5px; background: var(--accent-soft); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--surface)); position: relative; }
.doc-row .ft::before { content: ''; position: absolute; top: 6px; left: 8px; right: 8px; height: 3px; background: color-mix(in srgb, var(--accent) 30%, transparent); box-shadow: 0 6px 0 color-mix(in srgb, var(--accent) 30%, transparent); }
.doc-row .ft--img { padding: 0; border: 0; background: none; overflow: hidden; }
.doc-row .ft--img::before { display: none; }
.doc-row .ft--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doc-row .d-main { flex: 1; min-width: 0; }
.doc-row .d-main b { font-family: var(--font-head); font-weight: 600; font-size: 16px; display: block; }
.doc-row .d-main span { font-size: 13px; color: var(--ink-soft); }
.doc-row .dl { color: var(--ink-soft); }
.doc-row:hover .dl { color: var(--accent); }
.doc-row .dl svg { width: 22px; height: 22px; }
/* документ-картинка: крупное превью на всю ширину карточки, имя под ним */
.doc-row.is-image { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; position: relative; }
.doc-row.is-image:hover { transform: translateY(-2px); }
.doc-row.is-image .ft--img { width: 100%; height: 200px; border-radius: 0; }
.doc-row.is-image .d-main { padding: 14px 20px; }
.doc-row.is-image .dl { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.doc-row.is-image .dl svg { width: 18px; height: 18px; }

/* =========================================================================
   ЗАЯВКА + ПОДВАЛ
   ========================================================================= */
.cta { background: linear-gradient(120deg, var(--accent), #0c6a60); color: #fff; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: 56px 0; }
.cta h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); }
.cta p { color: rgba(255,255,255,.9); margin-top: 8px; font-size: 17px; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.cta .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

footer { background: var(--bg-deep); color: var(--on-deep-soft); padding: 48px 0 28px; }
.foot { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot .brand-name { color: var(--on-deep); font-size: 17px; }
.foot-bottom { padding-top: 18px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* =========================================================================
   ПЕЧАТНЫЙ ПРАЙС
   ========================================================================= */
.print-sheet { display: none; }
@media print {
  @page { size: A4; margin: 0; }

  html, body { margin: 0 !important; padding: 0 !important; background: #fff !important; }
  body > *:not(.print-sheet) { display: none !important; }

  .print-sheet {
    display: block !important;
    color: #333333;
    background: #fff;
    font-family: Arial, sans-serif;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .print-sheet .ps-page {
    width: 595px;
    height: 842px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
  }

  .print-sheet .ps-top { position: static; }
  .print-sheet .ps-brand-logo {
    position: absolute;
    left: 8px;
    top: 48px;
    width: 92px;
    height: 40px;
    overflow: hidden;
  }
  .print-sheet .ps-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
  .print-sheet .ps-doc {
    position: absolute;
    left: 240px;
    right: auto;
    top: 48px;
    width: 397px;
    z-index: 3;
  }
  .print-sheet h1 {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 23px;
    font-weight: 700;
    color: #181717;
    text-transform: none;
    font-family: Arial, sans-serif;
    letter-spacing: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .print-sheet .ps-meta { display: flex; gap: 4px; flex-wrap: wrap; font-size: 8px; line-height: 10px; color: rgba(24,23,23,.6); }
  .print-sheet .ps-meta + .ps-meta { margin-top: 4px; }
  .print-sheet .ps-qr {
    position: absolute;
    right: 8px;
    top: 48px;
    width: 60px;
    height: 60px;
    overflow: hidden;
    z-index: 4;
  }
  .print-sheet .ps-qr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .print-sheet .ps-company {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 113px;
    width: auto;
    min-height: 106px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    background: #ffffff;
    border: 0;
    border-left: 6px solid #000000;
    border-radius: 2px;
    padding: 12px 16px;
    box-sizing: border-box;
    z-index: 2;
  }
  .print-sheet .ps-company h2 { margin: 0 0 10px; font-size: 14px; line-height: 16px; font-weight: 700; color: #000000; text-transform: none; }
  .print-sheet .ps-company-grid {
    width: 100%;
    min-height: 58px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
    box-sizing: border-box;
  }
  .print-sheet .ps-company-col {
    width: calc((100% - 10px) / 2);
    min-height: 58px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
  }
  .print-sheet .ps-company-col + .ps-company-col {
    padding-left: 16px;
    border-left: 1px solid rgba(207,211,187,.6);
    width: calc((100% - 10px) / 2);
    box-sizing: border-box;
  }
  .print-sheet .ps-company-row { margin-bottom: 0; font-size: 8px; line-height: 14px; color: #000000; font-weight: 700; }
  .print-sheet .ps-company-row:last-child { margin-bottom: 0; }
  .print-sheet .ps-company-label { font-size: 8px; line-height: 14px; color: #000000; font-weight: 700; }
  .print-sheet .ps-company-value { font-size: 8px; line-height: 14px; color: #000000; font-weight: 700; }

  .print-sheet .ps-title {
    position: absolute;
    left: 8px;
    top: 235px;
    margin: 0;
    font-size: 14px;
    line-height: 16px;
    font-weight: 700;
    color: #646B41;
  }

  .print-sheet .ps-table {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 259px;
    width: auto;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 10px;
    line-height: 11px;
    background: #f5f5f5;
  }
  .print-sheet .ps-table th,
  .print-sheet .ps-table td {
    padding: 8px;
    border-bottom: 1px solid #bdbdbd;
    vertical-align: middle;
    box-sizing: border-box;
    word-break: break-word;
  }
  .print-sheet .ps-table thead th {
    padding: 4px 8px;
    height: 17px;
    background: #1f1f1f;
    color: #fff;
    font-size: 8px;
    line-height: 9px;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 0;
  }
  .print-sheet .ps-table .col-material { width: 37.77%; text-align: left; }
  .print-sheet .ps-table .col-fraction { width: 29.35%; text-align: left; font-size: 8px; line-height: 9px; }
  .print-sheet .ps-table .col-unit { width: 6.26%; text-align: center; font-size: 8.5px; line-height: 10px; }
  .print-sheet .ps-table .col-price { width: 12.52%; }
  .print-sheet .ps-table td.col-price { font-weight: 700; }
  .print-sheet .ps-table .col-stock { width: 14.10%; text-align: left; }
  .print-sheet .ps-table td.col-price,
  .print-sheet .ps-table th.col-price,
  .print-sheet .ps-table td.num,
  .print-sheet .ps-table th.num { text-align: right; }

  .print-sheet .ps-cat td {
    height: 26px;
    font-size: 10px;
    line-height: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1f1f1f;
    background: #d9d9d9;
    border-bottom: 1px solid #bdbdbd;
  }

  .print-sheet .ps-stock-badge {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 14px;
    padding: 2px 6px;
    border-radius: 20px;
    font-family: 'Involve', Arial, sans-serif;
    font-size: 8px;
    line-height: 9px;
    font-weight: 700;
    background: #e6e6e6;
    color: #1f1f1f;
    white-space: nowrap;
  }
  .print-sheet .ps-stock-badge.is-in::before {
    content: "✓";
    color: #1f1f1f;
    font-size: 8px;
    line-height: 1;
    margin-right: 4px;
  }
  .print-sheet .ps-stock-badge.is-order { background: #d0d0d0; }

  .print-sheet .ps-page-num {
    position: absolute;
    right: 8px;
    bottom: 27px;
    font-size: 8px;
    color: #181717;
  }
}

/* =========================================================================
   АДАПТИВ
   ========================================================================= */
@media (max-width: 1120px) {
  .topbar-inner { gap: 16px; }
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; padding: 46px 0; }
  .hero-card img { height: 320px; }
  .catalog { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .details { grid-template-columns: 1fr; }
  .order-card { position: static; }
  .map-card { position: static; transform: none; width: auto; margin: 0 auto; }
  .map-band .map-canvas { min-height: 300px; }
}
@media (max-width: 560px) {
  .topbar-cta .topbar-phone { display: none; }
  .adv-grid { grid-template-columns: 1fr; }
  .hero-stat + .hero-stat { padding-left: 0; border-left: 0; }
  .cat-item { flex-direction: column; }
  .ci-side { text-align: left; }
}
