/* v0.8 — стили главной страницы */
:root {
    --hm-ink: #0f172a;
    --hm-line: #e6e9ef;
    --hm-accent: #3e4b61;
    --hm-shadow: 0 10px 28px rgba(15, 23, 42, .06);
    --deal-border: #f3d19c;
    --deal-ink: #7a4a00;
  }

  .sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 1px, 1px);
    white-space: nowrap; border: 0;
  }

  .home-inner { max-width: 1140px; margin: 0 auto; }
  .top-kicker { margin: 4px 0 10px; font-size: 14px; color: #6b7280; }
  .home-section { margin-top: 24px; }

  .home-card {
    background: #fff;
    border: 1px solid var(--hm-line);
    border-radius: 12px;
    box-shadow: var(--hm-shadow);
    padding: 16px;
  }

  .home-hero {
    background: #fff;
    border: 1px solid var(--hm-line);
    border-radius: 16px;
    box-shadow: var(--hm-shadow);
    padding: 20px 20px 18px;
  }

  .home-h2 {
    font-size: clamp(18px, 2.8vw, 24px);
    font-weight: 700;
    color: var(--hm-ink);
    margin: 0 0 14px;
    line-height: 1.25;
    letter-spacing: -0.01em;
  }

  .page-title {
    margin: 0 0 10px;
    font-size: clamp(24px, 4.5vw, 36px);
    line-height: 1.15;
    font-weight:600;
    color: var(--hm-ink);
    letter-spacing: -0.015em;
  }

  .h1-sub {
    display: block;
    font-size: clamp(17px, 3vw, 24px);
    font-weight: 600;
    color: var(--hm-accent);
    margin-top: 2px;
  }

  .lead-intro {
    font-size: clamp(14px, 2.4vw, 16px);
    color: #374151;
    line-height: 1.6;
    margin: 0 0 10px;
    max-width: 720px;
  }

  .lead-intro a { color: var(--hm-accent); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 2px; }
  .lead-intro a:hover { text-decoration-style: solid; }

 .lead-meta { display: flex; flex-direction: column; gap: 5px; margin: 0 0 16px; }
  .lead-meta-item { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #6b7280; }

  .home-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
  .home-cta .site-button { border-radius: 10px; padding: 10px 18px; font-size: 15px; line-height: 1; }
  .home-cta .site-button-primary { background: var(--hm-accent); border-color: var(--hm-accent); color: #fff; box-shadow: 0 2px 6px rgba(62, 75, 97, .2); }
  .home-cta .site-button-primary:hover { filter: brightness(.92); }
  .home-cta .site-button-secondary { background: #fff; border: 1.5px solid #d1d5db; color: #374151; }
  .home-cta .site-button-secondary:hover { border-color: var(--hm-accent); color: var(--hm-accent); }

  /* --- Счётчики --- */

  .stats-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }

  .stat-card {
    background: #fff;
    border: 1px solid var(--hm-line);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .05);
    padding: 20px 16px 16px;
    text-align: center;
    transition: box-shadow .2s ease, transform .2s ease;
  }

  .stat-card:hover { box-shadow: 0 8px 24px rgba(15, 23, 42, .09); transform: translateY(-2px); }

  .stat-num {
    font-size: clamp(32px, 5vw, 48px);
    font-weight:600;
    color: var(--hm-accent);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
  }

  .stat-num--rating { display: inline-flex; align-items: center; gap: 4px; }
  .stat-num--min { color: #c2410c; }
  .stat-label { font-size: 14px; font-weight: 600; color: var(--hm-ink); line-height: 1.3; margin-bottom: 4px; }
  .stat-sub { font-size: 12px; color: #9ca3af; line-height: 1.3; }
  .stat-reviews-link { color: var(--hm-accent); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 2px; font-size: 12px; }
  .stat-reviews-link:hover { text-decoration-style: solid; }

  /* --- Скидка --- */

  .deal-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0 12px;
    padding: 7px 12px;
    border: 1px dashed var(--deal-border);
    border-radius: 10px;
    background: #fffdf7;
    color: var(--deal-ink);
    font-size: 14px;
    line-height: 1.4;
  }

  .deal-icon { color: #f59e0b; flex-shrink: 0; animation: pulse-soft 1.8s ease-in-out infinite; }
  .deal-main strong { color: #b45309; }
  .deal-note { margin-left: 6px; font-size: 12px; color: #a37a2a; opacity: .8; }

  @keyframes pulse-soft {
    0%, 100% { transform: scale(1); opacity: .9; }
    50% { transform: scale(1.15); opacity: .7; }
  }

  @media (prefers-reduced-motion: reduce) { .deal-icon { animation: none; } }

  /* --- Категории образцов: компактные навигационные кнопки в стиле сайта --- */

  .stamp-category-grid {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 20px;
    padding: 7px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border: 1px solid #e2e7ef;
    border-radius: 14px;
    background: #f7f9fc;
  }
  .stamp-category-grid::-webkit-scrollbar { display: none; }

  .stamp-category-tile {
    appearance: none;
    flex: 1 0 auto;
    min-width: 118px;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #41516a;
    cursor: pointer;
    text-align: center;
    box-shadow: none;
    transition: color .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
  }

  .stamp-category-tile:hover {
    border-color: #d6dde8;
    background: #fff;
    color: #172033;
    box-shadow: 0 4px 12px rgba(24,34,52,.06);
    transform: translateY(-1px);
  }

  .stamp-category-tile.is-active {
    border-color: #3e4b61;
    background: #3e4b61;
    color: #fff;
    box-shadow: 0 7px 18px rgba(46,58,78,.18);
  }

  .stamp-category-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
    color: inherit;
    white-space: nowrap;
    text-shadow: none;
  }

  .stamp-category-sub {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.1;
    color: #8490a3;
    white-space: nowrap;
  }

  .stamp-category-tile.is-active .stamp-category-title { color: #fff; }
  .stamp-category-tile.is-active .stamp-category-sub { color: rgba(255,255,255,.72); }
  .stamp-category-content { margin-top: 10px; }
  .stamp-category-module { display: none; }
  .stamp-category-module.is-active { display: block; animation: stampCategoryFade .18s ease; }

  @keyframes stampCategoryFade {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* --- Таблица цен desktop --- */

  #price-table .home-card {
    border-radius: 18px;
    padding: 22px;
    overflow: hidden;
  }

  #price-table .home-h2 { margin-bottom: 18px; }

  .price-tbl-desktop {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #dfe5ee;
    border-radius: 14px;
    background: #fff;
  }

  .price-cards-mobile { display: none; }

  .price-tbl {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    color: #172033;
  }

  .price-tbl thead th {
    padding: 13px 16px;
    background: #f7f9fc;
    color: #65738a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .01em;
    border: 0;
    border-bottom: 1px solid #dfe5ee;
    text-transform: none;
  }

  .price-tbl thead th:first-child { text-align: left; }
  .price-tbl thead th:nth-child(2),
  .price-tbl thead th:nth-child(3) { text-align: right; }

  .price-tbl tbody td {
    padding: 11px 16px;
    border: 0;
    border-bottom: 1px solid #edf1f6;
    background: #fff;
    font-size: 14px;
    line-height: 1.35;
    vertical-align: middle;
  }

  .price-tbl tbody tr:last-child td { border-bottom: 0; }
  .price-tbl tbody tr:not(.tbl-group):hover td { background: #fbfcfe; }

  .price-tbl tbody td:first-child { color: #172033; }
  .price-tbl tbody td:first-child strong { font-weight:600; }
  .price-tbl .text-meta {
    color: #8a96a8;
    font-size: 12px;
    font-weight: 500;
  }

  .price-tbl tbody td:nth-child(2),
  .price-tbl tbody td:nth-child(3) {
    width: 23%;
    text-align: right;
    white-space: nowrap;
    font-weight:600;
    color: #172033;
  }

  .price-tbl tbody td:nth-child(3) { color: #c2410c; }

  .price-tbl td[colspan="2"] {
    text-align: right;
    color: #172033;
  }

  .tbl-group td {
    padding: 9px 16px !important;
    background: #eef3f9 !important;
    color: #33435b !important;
    border-bottom: 1px solid #dce4ee !important;
    font-size: 12px !important;
    font-weight:600 !important;
    text-transform: uppercase;
    letter-spacing: .055em;
  }

  #price-table .text-meta.meta-top {
    display: block;
    margin-top: 12px;
    color: #7f8b9d;
    font-size: 12px;
    line-height: 1.5;
  }

  /* --- Таблица цен mobile --- */

  .price-group-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #6b7280; background: #f3f4f6; padding: 6px 12px; margin: 12px -16px 0; border-top: 1px solid #e6e9ef; border-bottom: 1px solid #e6e9ef; }
  .price-group-title:first-child { margin-top: 4px; }
  .price-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f1f3; }
  .price-row:last-child { border-bottom: none; }
  .price-name { font-size: 14px; font-weight: 600; color: #0f172a; flex: 1; min-width: 0; }
  .price-name span { display: block; font-size: 11px; font-weight: 400; color: #9ca3af; margin-top: 1px; }
  .price-vals { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; flex-shrink: 0; }
  .price-vals--full { grid-template-columns: 1fr; }
  .price-val { display: flex; flex-direction: column; align-items: center; background: #f6f7f9; border: 1px solid #e6e9ef; border-radius: 8px; padding: 5px 8px; min-width: 70px; text-align: center; gap: 1px; }
  .price-val.urgent { background: #fff8f0; border-color: #fed7aa; }
  .price-label { font-size: 10px; color: #9ca3af; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; line-height: 1.2; }
  .price-val.urgent .price-label { color: #c2410c; }
  .price-val strong { color: #0f172a; line-height: 1.2; font-size: 13px; }
  .price-val.urgent strong { color: #c2410c; }

  /* --- Оттиск --- */

  .ottisk-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; margin-top: 16px; }
  .ottisk-photo-wrap { background: #f3f4f6; border: 1px solid var(--hm-line); border-radius: 10px; padding: 10px 10px 6px; text-align: center; }
  .ottisk-photo { width: 100%; height: auto; display: block; border-radius: 6px; }
  .ottisk-badges { display: flex; justify-content: space-between; margin-top: 8px; padding: 0 2px; }
  .ottisk-badge { font-size: 12px; font-weight: 600; color: #6b7280; background: #fff; border: 1px solid var(--hm-line); border-radius: 20px; padding: 2px 12px; }
  .ottisk-badge--after { color: var(--hm-accent); border-color: var(--hm-accent); background: #eef1f5; }
  .ottisk-img-caption { display: block; font-size: 10px; color: #9ca3af; text-align: center; margin-top: 6px; text-transform: uppercase; letter-spacing: .05em; }
  .ottisk-text p { font-size: 15px; color: #374151; line-height: 1.65; margin: 0 0 10px; }
  .ottisk-text a { color: var(--hm-accent); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 2px; }
  .ottisk-checklist { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 16px; }
  .ottisk-check-item { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: #374151; line-height: 1.45; }
  .ottisk-check-item svg { flex-shrink: 0; margin-top: 1px; }
  .ottisk-prices { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 18px; font-size: 14px; color: #374151; }
  .ottisk-price-item strong { font-weight: 700; }
  .ottisk-price-urgent { color: #c2410c; }
  .ottisk-price-sep { color: #d1d5db; }
  .ottisk-btn { display: inline-flex; }

  /* --- Шаги --- */

  .steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 12px; }
  .step-item { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: #f9fafb; border: 1px solid var(--hm-line); border-radius: 12px; padding: 16px; }
  .step-num { width: 38px; height: 38px; border-radius: 50%; background: var(--hm-accent); color: #fff; font-size: 20px; font-weight:600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .step-body h3 { font-size: 15px; font-weight: 700; margin: 0 0 6px; color: var(--hm-ink); }
  .step-body p { font-size: 14px; color: #4b5563; line-height: 1.55; margin: 0; }

  /* --- Помощь --- */

  .help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px; }
  .help-card { background: #f9fafb; border: 1px solid var(--hm-line); border-radius: 12px; padding: 16px; }
  .help-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #eef3f9;
    color: #3e4b61;
    border: 1px solid #dbe3ed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
  }
  .help-icon .site-inline-icon { color: inherit; width: 20px; height: 20px; }
  .help-icon .site-inline-icon svg { stroke: currentColor; }
  .help-card h3 { font-size: 15px; font-weight: 700; margin: 0 0 6px; color: var(--hm-ink); }
  .help-card p { font-size: 14px; color: #4b5563; line-height: 1.55; margin: 0; }
  .help-card a { color: var(--hm-accent); text-decoration: underline; text-decoration-style: dotted; }
  .help-more { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--hm-accent); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 2px; }
  .help-more:hover { text-decoration-style: solid; }

  /* --- Два-колонки (срочные + о нас) --- */

  .two-col-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
  }

  .two-col-text { min-width: 0; }

  .two-col-text p,
  .two-col-text p a,
  .home-card .two-col-text p,
  .content-card .two-col-text p {
    font-size: 15px;
    line-height: 1.7;
    color: #374151 !important;
    margin: 0 0 12px;
  }

  .two-col-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 20px;
  }

  .btn-dark, .btn-red {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: filter .15s;
    border: none;
    cursor: pointer;
  }

  .btn-dark { background: var(--hm-accent); }
  .btn-dark:hover { filter: brightness(.88); color: #fff; }

  .btn-red { background: #c2410c; }
  .btn-red:hover { filter: brightness(.88); color: #fff; }

  .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: var(--hm-accent);
    text-decoration: none;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    transition: border-color .15s, background .15s;
  }

  .btn-ghost:hover { border-color: var(--hm-accent); background: #f6f7f9; }

  .two-col-photo {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--hm-line);
    background: #f6f7f9;
    min-width: 0;
  }

  .two-col-photo img {
    width: 100%;
    height: auto;
    display: block;
  }

  .photo-placeholder {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #9ca3af;
    font-size: 13px;
    padding: 70px 20px;
  }

  /* --- Виды печатей --- */

  .make-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }

  .make-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--hm-ink);
    text-decoration: none !important;
    background: #f6f7f9;
    border: 1px solid var(--hm-line);
    border-radius: 10px;
    transition: background .15s, border-color .15s, color .15s;
  }

  .make-chip:hover { background: var(--hm-accent); border-color: var(--hm-accent); color: #fff; }
  .make-chip-icon { color: var(--hm-accent); flex-shrink: 0; transition: color .15s; }
  .make-chip:hover .make-chip-icon { color: #fff; }
  .make-chip--new { border-color: #c8d8ec; background: #eef4fb; }
  .make-chip--new:hover { background: var(--hm-accent); border-color: var(--hm-accent); color: #fff; }
  .make-chip--new .make-chip-icon { color: #1a6fad; }
  .make-chip--new:hover .make-chip-icon { color: #fff; }

  /* --- Кнопки svc --- */

  .svc-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--hm-accent);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: filter .15s;
    border: none;
  }

  .svc-btn-primary:hover { filter: brightness(.88); }

  .svc-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--hm-accent) !important;
    text-decoration: none !important;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    transition: border-color .15s, background .15s;
  }

  .svc-btn-ghost:hover { border-color: var(--hm-accent); background: #f6f7f9; }

  /* --- Доп. услуги --- */

  .extra-table td { font-size: 14px; vertical-align: middle; }
  .extra-table td:last-child { white-space: nowrap; }

  /* --- Материалы и оснастка --- */

  .materials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
  .material-card { background: #f9fafb; border: 1px solid var(--hm-line); border-radius: 12px; padding: 14px 16px; }
  .material-card h3 { font-size: 14.5px; font-weight: 700; color: var(--hm-ink); margin: 0 0 6px; }
  .material-card p { font-size: 13.5px; color: #4b5563; line-height: 1.55; margin: 0; }

  /* --- FAQ аккордеон --- */

  .content-accordion > li { border-bottom: 1px solid #e5e7eb; padding: 12px 0; }
  .content-accordion > li:last-child { border-bottom: none; }
  .content-accordion-title { font-size: 15px; font-weight: 600; color: var(--hm-ink); line-height: 1.4; }
  .content-accordion-title:hover { color: var(--hm-accent); }
  .content-accordion-content { margin-top: 8px; color: #4b5563; line-height: 1.6; font-size: 14px; }
  .faq-footer { margin-top: 16px; padding-top: 16px; border-top: 1px solid #e5e7eb; }

  /* --- About аккордеон --- */

  .about-accordion { display: flex; flex-direction: column; border: 1px solid var(--hm-line); border-radius: 10px; overflow: hidden; }
  .about-item { border-bottom: 1px solid var(--hm-line); }
  .about-item:last-child { border-bottom: none; }

  .about-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #f9fafb;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--hm-ink);
    line-height: 1.4;
    transition: background .15s, color .15s;
  }

  .about-trigger:hover,
  .about-trigger[aria-expanded="true"] { background: #eef1f6; color: var(--hm-accent); }

  .about-arrow { flex-shrink: 0; color: #9ca3af; transition: transform .2s ease; }
  .about-trigger[aria-expanded="true"] .about-arrow { transform: rotate(180deg); color: var(--hm-accent); }
  .about-body { display: none; padding: 4px 16px 16px; background: #fff; }
  .about-body.is-open { display: block; animation: aboutFadeIn .18s ease; }

  @keyframes aboutFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .about-body p { font-size: 14px; color: #374151; line-height: 1.65; margin: 10px 0 8px; }
  .about-chips { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
  .about-chip { display: flex; align-items: baseline; gap: 8px; padding: 10px 12px; background: #f6f7f9; border: 1px solid var(--hm-line); border-radius: 8px; font-size: 14px; line-height: 1.5; }
  .about-chip-label { flex-shrink: 0; font-weight: 700; color: var(--hm-accent); white-space: nowrap; }
  .about-chip-text { color: #4b5563; }

  /* --- Преимущества --- */

  .why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 12px; }
  .why-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 12px; border-bottom: 1px solid var(--hm-line); }
  .why-item:nth-child(odd) { border-right: 1px solid var(--hm-line); }
  .why-item:nth-last-child(1), .why-item:nth-last-child(2) { border-bottom: none; }
  .why-icon { width: 38px; height: 38px; flex-shrink: 0; background: var(--hm-accent); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
  .why-icon .site-inline-icon { color: #fff; }
  .why-item h3 { font-size: 14px; font-weight: 700; color: var(--hm-ink); margin: 0 0 4px; }
  .why-item p { font-size: 13.5px; color: #4b5563; line-height: 1.5; margin: 0; }
  .why-item a { color: var(--hm-accent); text-decoration: underline; text-decoration-style: dotted; }

  .why-cta { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hm-line); flex-wrap: wrap; }

  .home-cta-btn {
    background: var(--hm-accent);
    border-color: var(--hm-accent);
    color: #fff;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 15px;
    line-height: 1;
  }

  .home-cta-btn:hover { filter: brightness(.95); color: #fff; }

  /* --- Карта --- */

  .map-contacts-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 20px; margin-top: 12px; align-items: start; }
  .map-contacts-info p { font-size: 14px; line-height: 1.6; margin: 0 0 8px; }
  .map-contact-link { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-right: 4px; text-decoration: none; }
  .map-wa { background: #e7f9ee; color: #1a7a3c; }
  .map-tg { background: #e6f3fc; color: #0c6ea8; }
  .map-iframe-wrap { border-radius: 10px; overflow: hidden; border: 1px solid var(--hm-line); }
  .map-iframe-wrap iframe { display: block; }
  .reviews-widget-card { overflow: hidden; }

  /* --- Модальные формы --- */

  .mini-radio-label, .mini-check-label { display: inline-block; cursor: pointer; }

  .mini-radio-body, .mini-check-body {
    display: inline-block;
    padding: 7px 13px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    background: #f6f7f9;
    border: 1px solid #e6e9ef;
    border-radius: 10px;
    transition: background .13s, border-color .13s, color .13s;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
  }

  .mini-radio-body:hover, .mini-check-body:hover { background: #eef1f6; border-color: #c8cdd8; }

  .mini-radio-label input:checked + .mini-radio-body,
  .mini-check-label input:checked + .mini-check-body {
    background: #eef1f6;
    border-color: #3e4b61;
    border-width: 1.5px;
    color: #3e4b61;
    font-weight: 600;
  }

  #form-ottisk input:focus, #form-ottisk textarea:focus,
  #form-electronic input:focus, #form-electronic textarea:focus {
    outline: none;
    border-color: #3e4b61;
    box-shadow: 0 0 0 3px rgba(62, 75, 97, .12);
  }

  .field-invalid { border-color: #fca5a5 !important; background: #fef2f2 !important; }
  .btn-loading { opacity: .7; pointer-events: none; }
  #ottisk-upload-label:hover, #elec-upload-label:hover { border-color: #3e4b61; }
  hr.section-divider { margin: 18px auto; }

  /* --- Адаптив --- */

  @media (max-width: 760px) {
    .two-col-block { grid-template-columns: 1fr; gap: 20px; }
    .two-col-photo { order: -1; }
    .materials-grid { grid-template-columns: 1fr 1fr; }
  }

  @media (max-width: 640px) {
    .price-tbl-desktop { display: none; }
    .price-cards-mobile { display: block; }

    .home-hero { padding: 16px 14px 14px; }
    .page-title, .lead-intro { max-width: 100%; }
    .home-cta { flex-direction: column; }
    .home-cta .site-button { width: 100%; justify-content: center; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .help-grid { grid-template-columns: 1fr; }
    .make-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .why-item { border-right: none !important; }
    .why-item:nth-last-child(2) { border-bottom: 1px solid var(--hm-line) !important; }
    .why-cta { flex-direction: column; align-items: flex-start; }
    .map-contacts-wrap { grid-template-columns: 1fr; }
    .ottisk-wrap { grid-template-columns: 1fr; gap: 20px; }
    .ottisk-btn { width: 100%; justify-content: center; }
    .svc-btn-primary, .svc-btn-ghost { width: 100%; text-align: center; justify-content: center; }
    .stats-wrap { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .stat-num { font-size: clamp(26px, 8vw, 36px); }
    .stat-label { font-size: 13px; }
    .materials-grid { grid-template-columns: 1fr; }

    .stamp-category-grid { margin-left: -4px; margin-right: -4px; padding: 6px; gap: 6px; }
    .stamp-category-tile { min-width: 104px; min-height: 42px; padding: 9px 13px; }
  }

  @media (max-width: 480px) {
    .steps-grid { grid-template-columns: 1fr; }

    .two-col-cta { flex-direction: column; }
    .btn-dark, .btn-red, .btn-ghost { width: 100%; justify-content: center; }
  }

  @media (max-width: 360px) {
    .stats-wrap { grid-template-columns: 1fr; }
  }

/* v1.8 — секции главной идентифицированы как компоненты без изменения старой верстки */
.home-page [data-component]{scroll-margin-top:110px}.home-page [data-component="hero"]{scroll-margin-top:90px}


/* v2.2 — интерактивная карточка заказа с главной: вынесено из Joomla-модуля 238 */
/* =========================
     ПЕРЕМЕННЫЕ
     ========================= */
  #stamp-order {
    --so-text: #182234;
    --so-muted: #586577;
    --so-soft: #f6f8fb;
    --so-line: #e4e9f0;
    --so-dark: #3e4b61;
    --so-dark-hover: #2f3a4d;
    --so-blue: #2f6fed;
    --so-blue-soft: #edf4ff;
    --so-orange: #ed8b22;
    --so-orange-soft: #fff6eb;
    --so-radius: 18px;
    color: var(--so-text);
  }

  #stamp-order *,
  #modal-order * {
    box-sizing: border-box;
  }

  /* =========================
     ШАПКА
     ========================= */
  .stamp-order__head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    margin-bottom: 18px;
  }

  .stamp-order__eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    color: #62718a;
    font-size: 12px;
    font-weight:600;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .stamp-order__title {
    margin: 0 !important;
    color: var(--so-text);
    font-size: clamp(25px, 3vw, 34px);
    font-weight:600;
    line-height: 1.15;
  }

  .stamp-order__lead {
    margin: 8px 0 0;
    color: var(--so-muted);
    font-size: 15px;
  }

  .stamp-order__trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--so-line);
    border-radius:14px;
    background: #fff;
    color: #59667b;
    font-size: 12px;
    white-space: nowrap;
  }

  .stamp-order__trust-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #39a66a;
    box-shadow: 0 0 0 4px rgba(57,166,106,.10);
  }

  /* =========================
     ПОМОЩНИК
     ========================= */
  .stamp-helper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
  }

  .stamp-helper__item {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 8px 11px;
    border: 1px solid var(--so-line);
    border-radius: 11px;
    background: #fbfcfe;
    color: var(--so-text);
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
  }

  .stamp-helper__item:hover {
    border-color: #c7d0dc;
    background: var(--so-soft);
    transform: translateY(-1px);
  }

  .stamp-helper__icon {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #eef1f5;
    color: var(--so-dark);
  }

  .stamp-helper__icon svg,
  .stamp-type__icon svg,
  .stamp-order-button svg,
  .stamp-compare-button svg,
  .stamp-file__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .stamp-helper__item b,
  .stamp-helper__item small {
    display: block;
  }

  .stamp-helper__icon svg {
    width: 16px;
    height: 16px;
  }

  .stamp-helper__item b {
    font-size: 12px;
    font-weight: 700;
  }

  .stamp-helper__item small {
    margin-top: 1px;
    color: var(--so-muted);
    font-size: 10.5px;
  }

  /* =========================
     ТАБЫ ОСНАСТКИ
     ========================= */
  .stamp-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 12px;
  }

  .stamp-product-tab {
    position: relative;
    display: grid;
    grid-template-columns: 76px 1fr auto;
    gap: 14px;
    align-items: center;
    min-width: 0;
    padding: 17px 19px;
    border: 1.5px solid var(--so-line);
    border-radius: 17px;
    background: #fff;
    color: var(--so-text);
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  }

  .stamp-product-tab:hover {
    border-color: #cbd3df;
    background: #fbfcfe;
  }

  .stamp-product-tab.is-active {
    border-color: var(--so-dark);
    box-shadow: 0 0 0 1px var(--so-dark);
    background: #fff;
  }

  .stamp-product-tab__image {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 16px;
    background: #f2f4f7;
  }

  .stamp-product-tab__image img {
    display: block;
    max-width: 64px;
    max-height: 64px;
    object-fit: contain;
  }

  .stamp-product-tab__content {
    min-width: 0;
  }

  .stamp-product-tab__name,
  .stamp-product-tab__desc {
    display: block;
  }

  .stamp-product-tab__name {
    font-size: 16px;
    font-weight:600;
  }

  .stamp-product-tab__desc {
    margin-top: 3px;
    color: var(--so-muted);
    font-size: 12.5px;
    line-height: 1.3;
  }

  .stamp-product-tab__price {
    color: var(--so-dark);
    font-size: 14px;
    font-weight:600;
    white-space: nowrap;
  }

  .stamp-product-tab__badge {
    position: absolute;
    top: -9px;
    left: 82px;
    padding: 3px 8px;
    border-radius:14px;
    background: var(--so-dark);
    color: #fff;
    font-size: 8px;
    font-weight:600;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  /* =========================
     ОСНОВНАЯ КАРТОЧКА
     ========================= */
  .stamp-card {
    overflow: hidden;
    border: 1px solid var(--so-line);
    border-radius: var(--so-radius);
    background: #fff;
    box-shadow: 0 14px 36px rgba(30,45,64,.06);
  }

  .stamp-card__product {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 28px;
    align-items: center;
    padding: 26px 28px 22px;
  }

  .stamp-card__visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 190px;
  }

  .stamp-card__visual-bg {
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background:
      radial-gradient(circle at 45% 40%, #fff 0 30%, #eef1f5 65%, rgba(238,241,245,0) 72%);
  }

  .stamp-card__visual img {
    position: relative;
    z-index: 1;
    max-width: 180px;
    max-height: 180px;
    object-fit: contain;
    transition: opacity .18s ease, transform .18s ease;
  }

  .stamp-card__label {
    display: inline-flex;
    padding: 5px 9px;
    border-radius:14px;
    background: #f0f2f5;
    color: #5c6879;
    font-size: 10px;
    font-weight:600;
    text-transform: uppercase;
    letter-spacing: .05em;
  }

  .stamp-card__name {
    margin: 9px 0 8px !important;
    color: var(--so-text);
    font-size: 23px;
    font-weight:600;
    line-height: 1.2;
  }

  .stamp-card__description {
    max-width: 680px;
    margin: 0 0 14px;
    color: var(--so-text);
    font-size: 14px;
    line-height: 1.55;
  }

  .stamp-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .stamp-card__features li {
    position: relative;
    padding: 7px 10px 7px 27px;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    background: #fafbfd;
    color: var(--so-text);
    font-size: 12px;
  }

  .stamp-card__features li::before {
    content: "✓";
    position: absolute;
    left: 10px;
    top: 7px;
    color: #3a9b67;
    font-weight: 900;
  }

  .stamp-card__divider {
    height: 1px;
    background: var(--so-line);
  }

  /* =========================
     ШАГИ
     ========================= */
  .stamp-step {
    padding: 22px 28px;
  }

  .stamp-step + .stamp-step {
    border-top: 1px solid var(--so-line);
  }

  .stamp-step__head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 13px;
  }

  .stamp-step__number {
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--so-dark);
    color: #fff;
    font-size: 11px;
    font-weight:600;
  }

  .stamp-step__head h4 {
    margin: 1px 0 2px;
    color: var(--so-text);
    font-size: 15px;
    font-weight:600;
  }

  .stamp-step__head p {
    margin: 0;
    color: var(--so-muted);
    font-size: 12px;
  }

  /* НОВАЯ / КОПИЯ */
  .stamp-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
  }

  .stamp-type {
    position: relative;
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 15px;
    border: 1.5px solid var(--so-line);
    border-radius: 14px;
    background: #fff;
    color: var(--so-text);
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
  }

  .stamp-type:hover {
    border-color: #c9d1dd;
    background: #fbfcfe;
  }

  .stamp-type.is-active {
    border-color: var(--so-blue);
    background: var(--so-blue-soft);
    box-shadow: 0 0 0 1px rgba(47,111,237,.10);
  }

  .stamp-type__check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 16px;
    height: 16px;
    border: 1.5px solid #cbd2dc;
    border-radius: 50%;
    background: #fff;
  }

  .stamp-type.is-active .stamp-type__check {
    border: 5px solid var(--so-blue);
  }

  .stamp-type__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f1f3f6;
    color: #526075;
  }

  .stamp-type.is-active .stamp-type__icon {
    background: #dce9ff;
    color: var(--so-blue);
  }

  .stamp-type__body {
    min-width: 0;
    padding-right: 8px;
  }

  .stamp-type__body b,
  .stamp-type__body small,
  .stamp-type__hint {
    display: block;
  }

  .stamp-type__body b {
    padding-right: 14px;
    font-size: 14px;
    font-weight:600;
  }

  .stamp-type__body small {
    margin-top: 3px;
    color: #6e7b8d;
    font-size: 11.5px;
    line-height: 1.4;
  }

  .stamp-type__hint {
    margin-top: 5px;
    color: #8b96a6;
    font-size: 10.5px;
  }

  .stamp-type__price {
    padding-right: 10px;
    color: var(--so-text);
    font-size: 14px;
    font-weight:600;
    white-space: nowrap;
  }

  .stamp-type.is-active .stamp-type__price {
    color: var(--so-blue);
  }

  .stamp-explain {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f7f8fa;
    color: #6f7a8a;
    font-size: 11.5px;
    line-height: 1.45;
  }

  .stamp-explain__icon {
    display: grid;
    place-items: center;
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    margin-top: 1px;
    border-radius: 50%;
    background: #dfe4ea;
    color: #596679;
    font-size: 10px;
    font-weight: 900;
  }

  /* СРОК */
  .stamp-time-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stamp-time {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 62px;
    padding: 11px 13px;
    border: 1.5px solid var(--so-line);
    border-radius: 13px;
    background: #fff;
    color: var(--so-text);
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease;
  }

  .stamp-time:hover {
    border-color: #c8d0dc;
  }

  .stamp-time.is-active {
    border-color: var(--so-dark);
    background: #f5f7f9;
  }

  .stamp-time--urgent {
    border-color: #f1ddc7;
    background: #fffbf6;
  }

  .stamp-time--urgent.is-active {
    border-color: var(--so-orange);
    background: var(--so-orange-soft);
  }

  .stamp-time > span:nth-child(1):not(.stamp-time__bolt),
  .stamp-time > span:nth-child(2) {
    flex: 1;
  }

  .stamp-time b,
  .stamp-time small {
    display: block;
  }

  .stamp-time b {
    font-size: 13px;
    font-weight:600;
  }

  .stamp-time small {
    margin-top: 2px;
    color: var(--so-muted);
    font-size: 11px;
  }

  .stamp-time__bolt {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #fff0db;
    font-size: 15px;
  }

  .stamp-time__status {
    color: #69768a;
    font-size: 11.5px;
    font-weight:600;
    white-space: nowrap;
  }

  .stamp-time--urgent .stamp-time__status {
    color: #b55d13;
  }

  /* =========================
     ИТОГ И CTA
     ========================= */
  .stamp-total {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto;
    gap: 16px 24px;
    align-items: center;
    padding: 20px 28px;
    border-top: 1px solid var(--so-line);
    background: #f8fafc;
  }

  .stamp-total__caption {
    display: block;
    margin-bottom: 2px;
    color: #7e8999;
    font-size: 11px;
  }

  .stamp-total__price {
    color: var(--so-text);
    font-size: 28px;
    font-weight:600;
    line-height: 1.1;
  }

  .stamp-total__note {
    margin-top: 5px;
    color: #7b8798;
    font-size: 11px;
  }

  .stamp-order-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-width: 240px;
    min-height: 50px;
    padding: 0 19px;
    border: 0;
    border-radius: 12px;
    background: var(--so-dark);
    color: #fff;
    font-size: 14px;
    font-weight:600;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(62,75,97,.18);
    transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
  }

  .stamp-order-button:hover {
    background: var(--so-dark-hover);
    transform: translateY(-1px);
    box-shadow: 0 11px 22px rgba(62,75,97,.24);
  }

  .stamp-order-button svg {
    width: 18px;
    height: 18px;
  }

  .stamp-total__micro {
    grid-column: 2;
    margin-top: -10px;
    color: #7f8a99;
    font-size: 10.5px;
    text-align: center;
  }

  /* =========================
     СРАВНЕНИЕ
     ========================= */
  .stamp-compare-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 11px;
    padding: 5px 0;
    border: 0;
    background: transparent;
    color: #59677a;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
  }

  .stamp-compare-button svg {
    width: 16px;
    height: 16px;
    transition: transform .18s ease;
  }

  .stamp-compare-button.is-open svg {
    transform: rotate(180deg);
  }

  .stamp-compare {
    margin-top: 8px;
    overflow: hidden;
    border: 1px solid var(--so-line);
    border-radius: 14px;
    background: #fff;
  }

  .stamp-compare__scroll {
    overflow-x: auto;
  }

  .stamp-compare table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
    font-size: 12px;
  }

  .stamp-compare th,
  .stamp-compare td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--so-line);
    text-align: center;
  }

  .stamp-compare th:first-child,
  .stamp-compare td:first-child {
    text-align: left;
  }

  .stamp-compare th {
    background: #f7f8fa;
    color: #647186;
    font-size: 10px;
    font-weight:600;
    text-transform: uppercase;
    letter-spacing: .04em;
  }

  .stamp-compare .is-featured {
    background: #f0f3f7;
    font-weight:600;
  }

  .stamp-compare tr:last-child td {
    border-bottom: 0;
  }

  /* =========================
     МОДАЛЬНОЕ ОКНО
     ========================= */
  .stamp-modal {
    width: min(680px, calc(100% - 24px)) !important;
    padding: 26px !important;
    border-radius: 18px;
  }

  .stamp-modal__head {
    padding-right: 35px;
    margin-bottom: 18px;
  }

  .stamp-modal__head h2 {
    margin: 0 0 5px !important;
    color: #182234;
    font-size: 25px;
    font-weight:600;
  }

  .stamp-modal__head p {
    margin: 0;
    color: #758195;
    font-size: 13px;
    line-height: 1.5;
  }

  .stamp-modal__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
    padding: 13px 14px;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    background: #f7f9fb;
  }

  .stamp-modal__summary small,
  .stamp-modal__summary b {
    display: block;
  }

  .stamp-modal__summary small {
    margin-bottom: 2px;
    color: #8a95a5;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .05em;
  }

  .stamp-modal__summary b {
    color: var(--so-text);
    font-size: 12px;
    line-height: 1.35;
  }

  .stamp-modal__summary strong {
    color: #273449;
    font-size: 19px;
    white-space: nowrap;
  }

  #popup-form .form-label {
    margin-bottom: 5px;
    color: #344155;
    font-size: 12px;
    font-weight:600;
  }

  .stamp-input {
    height: 44px;
    border: 1px solid #dfe4eb !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #263348 !important;
    transition: border-color .16s ease, box-shadow .16s ease !important;
  }

  textarea.stamp-input {
    min-height: 86px;
    padding-top: 10px !important;
  }

  .stamp-input:focus {
    border-color: #8292aa !important;
    box-shadow: 0 0 0 3px rgba(82,96,117,.08) !important;
  }

  .stamp-input.is-invalid {
    border-color: #e0685f !important;
    background: #fff6f5 !important;
  }

  .stamp-field-note {
    margin-top: 5px;
    color: #8a95a5;
    font-size: 10.5px;
    line-height: 1.4;
  }

  .stamp-modal__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
  }

  .stamp-file {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 13px;
    border: 1px dashed #cbd3df;
    border-radius: 12px;
    background: #fafbfd;
    cursor: pointer;
  }

  .stamp-file input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
  }

  .stamp-file__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eef1f5;
    color: #526075;
  }

  .stamp-file b,
  .stamp-file small {
    display: block;
  }

  .stamp-file b {
    color: var(--so-text);
    font-size: 12px;
  }

  .stamp-file small {
    margin-top: 1px;
    color: #8a95a5;
    font-size: 10.5px;
  }

  .stamp-delivery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .stamp-delivery label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 11px 12px;
    border: 1px solid #e2e7ed;
    border-radius: 11px;
    cursor: pointer;
  }

  .stamp-delivery b,
  .stamp-delivery small {
    display: block;
  }

  .stamp-delivery b {
    color: var(--so-text);
    font-size: 12px;
  }

  .stamp-delivery small {
    margin-top: 2px;
    color: #8994a4;
    font-size: 10px;
    line-height: 1.35;
  }

  .stamp-modal__submit {
    width: 100%;
    min-height: 48px;
    border-radius: 11px !important;
    background: #3e4b61 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight:600 !important;
    text-transform: none !important;
  }

  .stamp-modal__submit:hover {
    background: #2f3a4d !important;
  }

  .stamp-modal__privacy {
    margin: 8px 0 0;
    color: #9aa4b2;
    font-size: 9.5px;
    text-align: center;
  }

  /* =========================
     АДАПТИВ
     ========================= */
  @media (max-width: 800px) {
    .stamp-order__head {
      display: block;
    }

    .stamp-order__trust {
      margin-top: 12px;
    }

    .stamp-helper {
      grid-template-columns: 1fr;
    }

    .stamp-products {
      grid-template-columns: 1fr;
    }

    .stamp-product-tab {
      grid-template-columns: 60px 1fr auto;
    }

    .stamp-product-tab__image {
      width: 60px;
      height: 60px;
    }

    .stamp-product-tab__image img {
      max-width: 50px;
      max-height: 50px;
    }

    .stamp-product-tab__badge {
      top: 7px;
      right: 8px;
      left: auto;
    }

    .stamp-card__product {
      grid-template-columns: 145px 1fr;
      gap: 18px;
      padding: 22px 20px 18px;
    }

    .stamp-card__visual {
      min-height: 140px;
    }

    .stamp-card__visual-bg {
      width: 135px;
      height: 135px;
    }

    .stamp-card__visual img {
      max-width: 130px;
      max-height: 130px;
    }

    .stamp-step {
      padding: 20px;
    }

    .stamp-type-grid,
    .stamp-time-options {
      grid-template-columns: 1fr;
    }

    .stamp-total {
      padding: 18px 20px;
    }
  }

  @media (max-width: 560px) {
    .stamp-order__title {
      font-size: 25px;
    }

    .stamp-order__trust {
      white-space: normal;
    }

    .stamp-card__product {
      grid-template-columns: 1fr;
      padding: 18px 16px;
      text-align: center;
    }

    .stamp-card__visual {
      min-height: 130px;
    }

    .stamp-card__visual-bg {
      width: 130px;
      height: 130px;
    }

    .stamp-card__visual img {
      max-width: 125px;
      max-height: 125px;
    }

    .stamp-card__features {
      justify-content: center;
    }

    .stamp-card__name {
      font-size: 20px;
    }

    .stamp-step {
      padding: 18px 14px;
    }

    .stamp-type {
      grid-template-columns: 39px 1fr;
      padding: 13px;
    }

    .stamp-type__icon {
      width: 39px;
      height: 39px;
    }

    .stamp-type__price {
      grid-column: 2;
      padding: 0;
      margin-top: -3px;
    }

    .stamp-time {
      min-height: 60px;
    }

    .stamp-total {
      grid-template-columns: 1fr;
      gap: 14px;
      padding: 18px 16px;
      text-align: center;
    }

    .stamp-order-button {
      width: 100%;
      min-width: 0;
    }

    .stamp-total__micro {
      grid-column: 1;
      margin-top: -5px;
    }

    .stamp-modal {
      padding: 20px 16px !important;
    }

    .stamp-modal__row,
    .stamp-delivery {
      grid-template-columns: 1fr;
    }

    .stamp-modal__summary {
      align-items: flex-start;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    #stamp-order *,
    #modal-order * {
      scroll-behavior: auto !important;
      transition: none !important;
      animation: none !important;
    }
  }

/* v2.7.2 — визуальная доводка главной: оснастка, итог заказа и мобильная версия */
#stamp-order{
  --so-blue:#3e4b61;
  --so-blue-soft:#f2f4f7;
  --so-line:#e2e7ee;
  --so-soft:#f8fafc;
  --so-radius:18px;
}
.stamp-order__head{margin-bottom:16px}
.stamp-order__eyebrow{color:#738095;font-size:11px}
.stamp-order__title{color:#172033;letter-spacing:-.015em}
.stamp-order__lead{color:#7b8798}
.stamp-order__trust{border-color:#e0e5ec;background:#f9fafb;color:#667085}
.stamp-helper{gap:8px;margin-bottom:12px}
.stamp-helper__item{border-color:#e3e7ed;border-radius:12px;background:#f9fafb}
.stamp-helper__item:hover{border-color:#cfd6e0;background:#fff;transform:none}
.stamp-helper__icon{background:#eef1f5;color:#3e4b61}
.stamp-products{gap:9px;margin-bottom:12px}
.stamp-product-tab{grid-template-columns:64px 1fr auto;gap:12px;padding:13px 14px;border:1px solid #e0e5ec;border-radius:14px;background:#fff;box-shadow:0 2px 10px rgba(15,23,42,.025)}
.stamp-product-tab:hover{border-color:#cbd3df;background:#fff;box-shadow:0 5px 18px rgba(15,23,42,.05)}
.stamp-product-tab.is-active{border-color:#3e4b61;background:#f8fafc;box-shadow:0 0 0 1px #3e4b61}
.stamp-product-tab__image{width:64px;height:64px;border-radius:13px;background:#f2f4f7}
.stamp-product-tab__image img{max-width:54px;max-height:54px}
.stamp-product-tab__name{font-size:14px;color:#172033}
.stamp-product-tab__desc{font-size:11px;color:#8490a1}
.stamp-product-tab__price{padding:5px 8px;border-radius:14px;background:#f2f4f7;color:#3e4b61;font-size:12px}
.stamp-product-tab.is-active .stamp-product-tab__price{background:#3e4b61;color:#fff}
.stamp-product-tab__badge{top:-8px;left:70px;background:#3e4b61}
#stamp-order .stamp-card{border-color:#e0e5ec;border-radius:18px;box-shadow:0 8px 28px rgba(15,23,42,.045)}
.stamp-card__product{grid-template-columns:190px 1fr;gap:25px;padding:23px 26px 20px}
.stamp-card__visual{min-height:170px}
.stamp-card__visual-bg{width:155px;height:155px;background:radial-gradient(circle at 45% 40%,#fff 0 30%,#f0f2f5 65%,rgba(240,242,245,0) 72%)}
.stamp-card__visual img{max-width:165px;max-height:165px}
.stamp-card__label{background:#f2f4f7;color:#667085}
.stamp-card__name{font-size:21px}
.stamp-card__description{color:#667085}
.stamp-card__features li{border-color:#e7ebf0;background:#fafbfc;color:#475467}
.stamp-step{padding:20px 26px}
.stamp-step__number{background:#3e4b61}
.stamp-type{border-color:#e0e5ec;border-radius:13px;background:#fff}
.stamp-type:hover{border-color:#cbd3df;background:#fff}
.stamp-type.is-active{border-color:#3e4b61;background:#f4f6f8;box-shadow:0 0 0 1px rgba(62,75,97,.08)}
.stamp-type.is-active .stamp-type__check{border-color:#3e4b61;border-width:5px}
.stamp-type.is-active .stamp-type__icon{background:#e9edf2;color:#3e4b61}
.stamp-type.is-active .stamp-type__price{color:#3e4b61}
.stamp-explain{background:#f8fafc;color:#667085}
.stamp-time.is-active{border-color:#3e4b61;background:#f4f6f8}
.stamp-total{padding:18px 26px;background:#f7f9fb}
.stamp-total__price{font-size:27px;color:#172033}
.stamp-order-button{min-width:238px;border-radius:11px;background:#3e4b61;box-shadow:0 7px 17px rgba(62,75,97,.16)}
.stamp-order-button:hover{background:#2f3a4d;box-shadow:0 10px 22px rgba(62,75,97,.22)}
.stamp-compare-button{color:#3e4b61}

@media(max-width:800px){
  .stamp-helper{grid-template-columns:repeat(3,minmax(0,1fr));overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
  .stamp-helper::-webkit-scrollbar{display:none}
  .stamp-helper__item{min-width:190px}
  .stamp-products{grid-template-columns:repeat(3,minmax(220px,1fr));overflow-x:auto;padding:2px 1px 8px;scroll-snap-type:x proximity;scrollbar-width:none}
  .stamp-products::-webkit-scrollbar{display:none}
  .stamp-product-tab{scroll-snap-align:start}
  .stamp-card__product{grid-template-columns:135px 1fr;gap:16px;padding:19px 18px}
  .stamp-step{padding:18px}
  .stamp-total{padding:16px 18px}
}
@media(max-width:560px){
  .home-card{padding:14px;border-radius:14px}
  .stamp-order__head{margin-bottom:14px}
  .stamp-order__title{font-size:23px}
  .stamp-order__lead{font-size:13px;line-height:1.45}
  .stamp-order__trust{font-size:11px;padding:7px 10px}
  .stamp-helper{margin-inline:-2px}
  .stamp-helper__item{min-width:170px;padding:8px 10px}
  .stamp-products{margin-inline:-2px;grid-template-columns:repeat(3,minmax(205px,1fr))}
  .stamp-product-tab{grid-template-columns:54px 1fr auto;padding:11px 12px}
  .stamp-product-tab__image{width:54px;height:54px}
  .stamp-product-tab__image img{max-width:46px;max-height:46px}
  #stamp-order .stamp-card{border-radius:15px;box-shadow:none}
  .stamp-card__product{grid-template-columns:110px 1fr;text-align:left;padding:15px 13px}
  .stamp-card__visual{min-height:110px}
  .stamp-card__visual-bg{width:105px;height:105px}
  .stamp-card__visual img{max-width:104px;max-height:104px}
  .stamp-card__features{justify-content:flex-start}
  .stamp-card__features li{padding:5px 7px 5px 22px;font-size:10.5px}
  .stamp-card__features li::before{left:8px;top:5px}
  .stamp-card__name{font-size:17px;margin-top:7px!important}
  .stamp-card__description{font-size:12px;line-height:1.45;margin-bottom:10px}
  .stamp-step{padding:15px 12px}
  .stamp-step__head{margin-bottom:10px}
  .stamp-type{grid-template-columns:35px 1fr;padding:11px}
  .stamp-type__icon{width:35px;height:35px}
  .stamp-type__body b{font-size:13px}
  .stamp-type__body small{font-size:10.5px}
  .stamp-type__hint{display:none}
  .stamp-time{padding:10px 11px}
  .stamp-total{padding:15px 13px}
  .stamp-total__price{font-size:25px}
  .stamp-order-button{min-height:48px}
}
@media(max-width:380px){
  .stamp-card__product{grid-template-columns:1fr;text-align:center}
  .stamp-card__features{justify-content:center}
}

/* v2.9.0 — cleanup + performance */
.home-container{box-sizing:border-box;max-width:1200px;margin-left:auto;margin-right:auto;padding-left:20px;padding-right:20px}
.home-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;box-sizing:border-box;min-height:40px;padding:0 18px;border:1px solid transparent;border-radius:10px;text-decoration:none!important;font:inherit;font-weight:700;line-height:1.2;transition:.18s ease}
.home-action-primary{background:var(--hm-accent);border-color:var(--hm-accent);color:#fff;box-shadow:0 2px 6px rgba(62,75,97,.2)}
.home-action-primary:hover{filter:brightness(.92);color:#fff}
.home-action-secondary{background:#fff;border:1.5px solid #d1d5db;color:#374151}
.home-action-secondary:hover{border-color:var(--hm-accent);color:var(--hm-accent)}
.home-action-icon{font-size:1.05em;line-height:1}

.faq-list{display:block}
.faq-item{border-bottom:1px solid #e5e7eb;padding:0}
.faq-item:last-child{border-bottom:0}
.faq-question{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;cursor:pointer;font-size:15px;font-weight:650;color:var(--hm-ink);line-height:1.4;list-style:none}
.faq-question::-webkit-details-marker{display:none}
.faq-question::after{content:'+';font-size:22px;font-weight:400;line-height:1;color:#64748b;transition:transform .15s ease}
.faq-item[open] .faq-question::after{content:'−'}
.faq-question:hover{color:var(--hm-accent)}
.faq-answer{padding:0 0 14px;color:#4b5563;line-height:1.6;font-size:14px}
.faq-answer>:first-child{margin-top:0}.faq-answer>:last-child{margin-bottom:0}

.stamp-module-placeholder{display:flex;align-items:center;justify-content:center;min-height:180px;padding:24px;border:1px dashed #d8dee8;border-radius:14px;background:#fafbfc;color:#667085;text-align:center;font-size:14px}
.stamp-module-placeholder.is-loading::before{content:'';width:18px;height:18px;margin-right:10px;border:2px solid #d8dee8;border-top-color:var(--hm-accent);border-radius:50%;animation:pvspin .7s linear infinite}
.stamp-module-placeholder.is-error{color:#8b3a32;background:#fff8f7;border-color:#efc7c2}
.stamp-retry{margin-left:8px;border:0;background:transparent;color:var(--hm-accent);font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}
@keyframes pvspin{to{transform:rotate(360deg)}}

.deferred-frame{background:#f4f6f8}

@media(max-width:639px){
  .home-container{padding-left:0;padding-right:0}
  .home-cta .home-action{width:100%}
  .faq-question{font-size:14px;padding:13px 0}
  .stamp-module-placeholder{min-height:140px}
}

/* v2.9.1 — главная без UIkit / legacy-compat */
.is-hidden,[hidden]{display:none!important}
html.modal-open,body.modal-open{overflow:hidden}
.site-modal{position:fixed;inset:0;z-index:1100;display:none;align-items:flex-start;justify-content:center;padding:32px 16px;overflow:auto;background:rgba(20,27,38,.58);backdrop-filter:blur(2px)}
.site-modal.is-open{display:flex}
.site-modal-dialog{position:relative;width:min(680px,100%);margin:auto;background:#fff;border:1px solid #e2e7ee;border-radius:18px;box-shadow:0 24px 70px rgba(20,31,48,.24)}
.site-modal-body{padding:24px}
.site-modal-title{margin:0 0 8px;color:#273449;font-size:24px;line-height:1.2;font-weight:600}
.site-modal-close{position:absolute;top:12px;right:12px;z-index:2;width:38px;height:38px;border:0;border-radius:10px;background:#f3f5f8;color:#4a5668;cursor:pointer;font-size:0}
.site-modal-close::before,.site-modal-close::after{content:"";position:absolute;left:11px;top:18px;width:16px;height:2px;background:currentColor;border-radius:2px}
.site-modal-close::before{transform:rotate(45deg)}.site-modal-close::after{transform:rotate(-45deg)}
.site-modal-close:hover{background:#e8edf3;color:#263348}
.site-form .form-group{margin:0 0 14px}.form-label{display:block;margin-bottom:5px;color:#344155;font-size:12px;font-weight:600}.text-danger{color:#c64136}.text-meta{color:#7d8796;font-size:12px}.meta-top{margin-top:6px}
.site-input,.site-textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #dfe4eb;border-radius:10px;background:#fff;color:#263348;font:inherit;outline:none}.site-input{height:44px;padding:0 12px}.site-textarea{min-height:86px;padding:10px 12px;resize:vertical}.site-input:focus,.site-textarea:focus{border-color:#8292aa;box-shadow:0 0 0 3px rgba(82,96,117,.08)}
.site-radio{accent-color:#3e4b61}.form-message{padding:11px 13px;border-radius:10px;font-size:13px;line-height:1.45}.form-message-success{background:#eef9f2;color:#23633b;border:1px solid #cbe9d4}.form-message-error{background:#fff2f1;color:#9b332c;border:1px solid #f0cbc7}
.site-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:10px;padding:10px 16px;text-decoration:none;font-weight:700;line-height:1.1;cursor:pointer}.site-button-primary{background:#3e4b61;color:#fff}.site-button-secondary{background:#fff;border-color:#d1d5db;color:#374151}.site-button-small{padding:7px 11px;font-size:13px}
.site-inline-icon{display:inline-flex;width:1.05em;height:1.05em;vertical-align:-.14em;flex:0 0 auto}.site-inline-icon svg{display:block;width:100%;height:100%}
.table-scroll{overflow:auto}.site-table{width:100%;border-collapse:collapse}.site-table-divider tr+tr{border-top:1px solid #e5e7eb}.site-table-striped tbody tr:nth-child(odd){background:#f8fafc}.section-divider{border:0;border-top:1px solid #e3e8ef;margin:18px auto}
.deferred-map-script{min-height:400px;width:100%;background:#f4f6f8;border-radius:14px;overflow:hidden}
.deferred-map-script>script{display:none}
@media(max-width:640px){.site-modal{padding:16px 10px}.site-modal-dialog{border-radius:14px}.site-modal-body{padding:20px 16px}.site-modal-title{font-size:21px}.deferred-map-script{min-height:340px}}


/* v2.10.1 — mobile polish: contrast icons, compact catalog types, order copy */
.why-icon{color:#fff!important}
.why-icon .site-inline-icon,.why-icon .site-inline-icon svg{color:#fff!important;stroke:#fff!important}
.why-icon svg{stroke:#fff!important;fill:none!important}
.make-chip-icon.site-inline-icon,.make-chip-icon.site-inline-icon svg{stroke:currentColor!important;fill:none!important}
.make-chip-icon.site-inline-icon{width:17px;height:17px}

.make-grid-toggle{display:none;margin:14px auto 2px;min-height:44px;padding:0 18px;border:1px solid #d8dee8;border-radius:12px;background:#fff;color:#344155;font:inherit;font-size:14px;font-weight:600;cursor:pointer;align-items:center;justify-content:center;gap:8px}
.make-grid-toggle:hover{border-color:#9aa8bb;background:#f8fafc}
.make-grid-toggle__chevron{font-size:18px;line-height:1;transition:transform .2s ease}
.types-expanded .make-grid-toggle__chevron{transform:rotate(180deg)}

@media(max-width:640px){
  #catalog-types .make-grid{grid-template-columns:1fr;gap:9px}
  #catalog-types .make-chip{min-height:52px;padding:13px 16px;font-size:15px;border-radius:12px}
  #catalog-types .make-chip-more{display:none}
  #catalog-types.types-expanded .make-chip-more{display:flex}
  #catalog-types .make-grid-toggle{display:flex;width:100%}
  .why-icon{width:44px;height:44px;border-radius:12px}
  .why-icon .site-inline-icon{width:21px;height:21px}
  .stamp-order__title{max-width:430px}
}

/* v2.10.4 — mobile equipment selector layout fix */
@media (max-width: 680px) {
  #stamp-order {
    overflow: hidden;
  }

  /* Сценарии использования: компактная горизонтальная лента без обрезания страницы */
  .stamp-helper {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    margin-inline: 0;
    padding: 2px 2px 8px;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .stamp-helper::-webkit-scrollbar { display: none; }
  .stamp-helper__item {
    flex: 0 0 156px;
    min-width: 156px;
    padding: 10px 11px;
    scroll-snap-align: start;
  }
  .stamp-helper__item b {
    font-size: 12px;
    line-height: 1.2;
  }
  .stamp-helper__item small {
    font-size: 10.5px;
    line-height: 1.25;
  }

  /* Оснастки: строго одна карточка в строку */
  .stamp-products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    overflow: visible;
    margin-inline: 0;
    padding: 2px 0 4px;
    scroll-snap-type: none;
  }
  .stamp-product-tab {
    width: 100%;
    min-width: 0;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px 14px;
    overflow: visible;
    scroll-snap-align: none;
  }
  .stamp-product-tab__image {
    width: 64px;
    height: 64px;
  }
  .stamp-product-tab__image img {
    max-width: 56px;
    max-height: 56px;
  }
  .stamp-product-tab__content {
    min-width: 0;
  }
  .stamp-product-tab__name {
    font-size: 15px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
  .stamp-product-tab__desc {
    margin-top: 3px;
    font-size: 11.5px;
    line-height: 1.35;
  }
  .stamp-product-tab__price {
    align-self: center;
    padding: 6px 9px;
    border-radius: 10px;
    font-size: 12.5px;
  }
  .stamp-product-tab__badge {
    top: -8px;
    right: 12px;
    left: auto;
    max-width: calc(100% - 24px);
    border-radius: 8px 8px 4px 8px;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .stamp-helper__item {
    flex-basis: 148px;
    min-width: 148px;
  }
  .stamp-product-tab {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 13px 11px;
  }
  .stamp-product-tab__image {
    width: 58px;
    height: 58px;
  }
  .stamp-product-tab__image img {
    max-width: 50px;
    max-height: 50px;
  }
  .stamp-product-tab__price {
    font-size: 12px;
    padding: 5px 7px;
  }
}

/* v2.11.1 — definitive mobile layout for equipment selector */
@media (max-width: 680px) {
  #stamp-order,
  #stamp-order .stamp-order,
  #stamp-order .stamp-products,
  #stamp-order .stamp-product-tab,
  #stamp-order .stamp-helper {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Scenarios: swipeable cards that never widen the page */
  #stamp-order .stamp-helper {
    display: flex !important;
    width: 100% !important;
    gap: 8px !important;
    margin: 0 0 12px !important;
    padding: 2px 0 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  #stamp-order .stamp-helper::-webkit-scrollbar { display: none; }
  #stamp-order .stamp-helper__item {
    flex: 0 0 min(78vw, 250px) !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 250px !important;
    padding: 11px 12px !important;
    border-radius: 13px !important;
    scroll-snap-align: start;
  }
  #stamp-order .stamp-helper__icon {
    flex: 0 0 38px !important;
    width: 38px !important;
    height: 38px !important;
  }
  #stamp-order .stamp-helper__item b {
    font-size: 14px !important;
    line-height: 1.15 !important;
  }
  #stamp-order .stamp-helper__item small {
    font-size: 11.5px !important;
    line-height: 1.3 !important;
  }

  /* Equipment choices: one full-width row per option */
  #stamp-order .stamp-products {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    gap: 10px !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
  }
  #stamp-order .stamp-product-tab {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    grid-template-areas:
      "image content"
      "image price" !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 102px !important;
    gap: 3px 14px !important;
    padding: 14px 14px !important;
    border-radius: 16px !important;
    overflow: visible !important;
  }
  #stamp-order .stamp-product-tab__image {
    grid-area: image !important;
    width: 72px !important;
    height: 72px !important;
    align-self: center !important;
  }
  #stamp-order .stamp-product-tab__image img {
    max-width: 62px !important;
    max-height: 62px !important;
  }
  #stamp-order .stamp-product-tab__content {
    grid-area: content !important;
    min-width: 0 !important;
    padding-right: 0 !important;
  }
  #stamp-order .stamp-product-tab__name {
    display: block !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }
  #stamp-order .stamp-product-tab__desc {
    display: block !important;
    margin-top: 3px !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }
  #stamp-order .stamp-product-tab__price {
    grid-area: price !important;
    justify-self: start !important;
    align-self: end !important;
    width: auto !important;
    max-width: 100% !important;
    margin-top: 5px !important;
    padding: 6px 10px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
  #stamp-order .stamp-product-tab__badge {
    top: 8px !important;
    right: 10px !important;
    left: auto !important;
    max-width: calc(100% - 100px) !important;
    padding: 3px 7px !important;
    border-radius: 7px !important;
    font-size: 8px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    transform: none !important;
  }
  #stamp-order .stamp-product-tab:has(.stamp-product-tab__badge) .stamp-product-tab__content {
    padding-right: 88px !important;
  }
}

@media (max-width: 390px) {
  #stamp-order .stamp-helper__item {
    flex-basis: min(82vw, 235px) !important;
  }
  #stamp-order .stamp-product-tab {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    min-height: 94px !important;
    gap: 3px 11px !important;
    padding: 12px !important;
  }
  #stamp-order .stamp-product-tab__image {
    width: 64px !important;
    height: 64px !important;
  }
  #stamp-order .stamp-product-tab__image img {
    max-width: 56px !important;
    max-height: 56px !important;
  }
  #stamp-order .stamp-product-tab__name { font-size: 15px !important; }
  #stamp-order .stamp-product-tab__desc { font-size: 11.5px !important; }
  #stamp-order .stamp-product-tab:has(.stamp-product-tab__badge) .stamp-product-tab__content {
    padding-right: 76px !important;
  }
}


/* v2.18.1 — polish формы заказа */
#stamp-order .stamp-order__head{margin-bottom:14px}
#stamp-order .stamp-order__lead{max-width:720px;font-size:14px}
#stamp-order .stamp-helper{margin-bottom:11px}
#stamp-order .stamp-helper__item{padding:7px 10px;background:#fcfdfe}
#stamp-order .stamp-helper__item small{color:#8792a2}

/* Карточка выбранной оснастки занимает меньше первого экрана. */
#stamp-order .stamp-card__product{
  grid-template-columns:155px minmax(0,1fr);
  gap:22px;
  padding:19px 22px 17px;
}
#stamp-order .stamp-card__visual{min-height:142px}
#stamp-order .stamp-card__visual-bg{width:132px;height:132px}
#stamp-order .stamp-card__visual img{max-width:138px;max-height:138px}
#stamp-order .stamp-card__name{font-size:21px;margin:7px 0 6px!important}
#stamp-order .stamp-card__description{
  display:-webkit-box;
  max-width:760px;
  margin-bottom:10px;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  font-size:13px;
}
#stamp-order .stamp-card__features li{padding:6px 9px 6px 25px;font-size:11px}
#stamp-order .stamp-card__features li::before{top:6px;left:9px}

#stamp-order.is-configured .stamp-card__product{
  grid-template-columns:122px minmax(0,1fr);
  padding-top:15px;
  padding-bottom:14px;
}
#stamp-order.is-configured .stamp-card__visual{min-height:112px}
#stamp-order.is-configured .stamp-card__visual-bg{width:104px;height:104px}
#stamp-order.is-configured .stamp-card__visual img{max-width:112px;max-height:112px}
#stamp-order.is-configured .stamp-card__description{-webkit-line-clamp:1}
#stamp-order.is-configured .stamp-card__features li{padding-top:5px;padding-bottom:5px}

/* Срочность показывает именно доплату, а не второй итог. */
#stamp-order .stamp-time__surcharge{
  padding:5px 8px;
  border-radius:14px;
  background:#fff0db;
  color:#b55d13;
  font-size:12px;
  font-weight:600;
}

/* Итог визуально становится финальным подтверждением заказа. */
#stamp-order .stamp-total{
  grid-template-columns:minmax(0,1fr) minmax(250px,auto);
  gap:11px 24px;
  padding:18px 22px;
  background:linear-gradient(135deg,#f7f9fc 0%,#fff 100%);
}
#stamp-order .stamp-total__caption{
  color:#526075;
  font-size:11px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.055em;
}
#stamp-order .stamp-total__price{
  margin-top:2px;
  font-size:31px;
}
#stamp-order .stamp-total__note{
  margin-top:4px;
  color:#667085;
  font-size:11px;
}
#stamp-order .stamp-total__breakdown{
  display:flex;
  flex-wrap:wrap;
  gap:5px 6px;
  margin-top:9px;
}
#stamp-order .stamp-total__breakdown span{
  padding:5px 8px;
  border:1px solid #e3e8ef;
  border-radius:8px;
  background:#fff;
  color:#526075;
  font-size:10.5px;
  line-height:1.25;
}
#stamp-order .stamp-order-button{
  min-width:270px;
  min-height:54px;
  font-size:14.5px;
}
#stamp-order .stamp-total__micro{
  display:flex;
  justify-content:center;
  gap:10px;
  grid-column:2;
  margin-top:-4px;
  color:#788497;
  font-size:10px;
  text-align:center;
}
#stamp-order .stamp-total__micro span:first-child{color:#357a55}

/* Сравнение выглядит как полезная вторичная опция, а не потерянная ссылка. */
#stamp-order .stamp-compare-button{
  width:100%;
  justify-content:space-between;
  margin-top:10px;
  padding:10px 12px;
  border:1px solid #e4e9f0;
  border-radius:11px;
  background:#fafbfd;
  color:#526075;
  text-align:left;
}
#stamp-order .stamp-compare-button:hover{background:#f4f6f9;border-color:#ced6e1}
#stamp-order .stamp-compare-button__copy{display:flex;flex-direction:column;gap:1px}
#stamp-order .stamp-compare-button__copy b{font-size:11.5px}
#stamp-order .stamp-compare-button__copy small{color:#8792a2;font-size:10px;font-weight:500}

@media(max-width:760px){
  #stamp-order .stamp-order__head{align-items:flex-start;flex-direction:column;gap:9px}
  #stamp-order .stamp-order__trust{padding:7px 10px;font-size:11px}
  #stamp-order .stamp-helper{grid-template-columns:1fr 1fr 1fr;gap:6px}
  #stamp-order .stamp-helper__item{align-items:flex-start;gap:6px;padding:7px}
  #stamp-order .stamp-helper__icon{display:none}
  #stamp-order .stamp-helper__item b{font-size:10.5px}
  #stamp-order .stamp-helper__item small{font-size:9px;line-height:1.25}

  #stamp-order .stamp-card__product,
  #stamp-order.is-configured .stamp-card__product{
    grid-template-columns:92px minmax(0,1fr);
    gap:12px;
    padding:14px;
  }
  #stamp-order .stamp-card__visual,
  #stamp-order.is-configured .stamp-card__visual{min-height:90px}
  #stamp-order .stamp-card__visual-bg,
  #stamp-order.is-configured .stamp-card__visual-bg{width:82px;height:82px}
  #stamp-order .stamp-card__visual img,
  #stamp-order.is-configured .stamp-card__visual img{max-width:90px;max-height:90px}
  #stamp-order .stamp-card__name{font-size:17px}
  #stamp-order .stamp-card__description{display:none}
  #stamp-order .stamp-card__features{display:none}

  /* На телефоне итог и CTA остаются под рукой после выбора. */
  #stamp-order .stamp-total{
    position:sticky;
    bottom:7px;
    z-index:12;
    grid-template-columns:1fr auto;
    gap:7px 10px;
    padding:11px 12px;
    border:1px solid #d7dee8;
    border-radius:14px;
    box-shadow:0 12px 32px rgba(15,23,42,.18);
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(10px);
  }
  #stamp-order .stamp-total__caption{font-size:9px}
  #stamp-order .stamp-total__price{font-size:23px}
  #stamp-order .stamp-total__note{max-width:58vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9.5px}
  #stamp-order .stamp-total__breakdown{display:none}
  #stamp-order .stamp-order-button{min-width:154px;min-height:48px;padding:0 13px;font-size:12px}
  #stamp-order .stamp-order-button svg{width:15px;height:15px}
  #stamp-order .stamp-total__micro{display:none}
}
@media(max-width:390px){
  #stamp-order .stamp-total{grid-template-columns:minmax(0,1fr) 142px}
  #stamp-order .stamp-order-button{min-width:0;width:142px}
  #stamp-order .stamp-order-button span{font-size:11.5px}
}


/* v2.18.2 — mobile sticky order total hotfix */
@media(max-width:760px){
  #stamp-order .stamp-total{
    grid-template-columns:minmax(0,1fr)!important;
    gap:9px!important;
    width:100%!important;
    max-width:100%!important;
    overflow:hidden;
  }
  #stamp-order .stamp-total__summary{
    min-width:0;
    width:100%;
  }
  #stamp-order .stamp-total__note{
    max-width:100%!important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  #stamp-order .stamp-order-button{
    grid-column:1!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:48px;
  }
  #stamp-order .stamp-total__micro{
    grid-column:1!important;
  }
}
@media(max-width:390px){
  #stamp-order .stamp-total{
    grid-template-columns:minmax(0,1fr)!important;
  }
  #stamp-order .stamp-order-button{
    width:100%!important;
    min-width:0!important;
  }
  #stamp-order .stamp-order-button span{
    font-size:12px!important;
    white-space:nowrap;
  }
}

/* v2.18.8 — no-pill UI system */
.stamp-card__label,.stamp-order__trust,.stamp-product-tab__badge,
.stamp-product-tab__price,.stamp-time__surcharge,
.stamp-card__badge,.stamp-badge,.price-badge{
  border-radius:6px!important;
}
.stamp-product-tab,.stamp-type,.stamp-category-grid{border-radius:9px!important}
.stamp-order-button,.site-button{border-radius:9px!important}


/* v2.20.5 — compact online-order copy: less repeated text, clearer decision flow. */
#stamp-order .stamp-order__head{margin-bottom:10px}
#stamp-order .stamp-order__lead{margin-top:5px;max-width:560px}
#stamp-order .stamp-step__head p{display:none}
#stamp-order .stamp-type__hint{display:none!important}
#stamp-order .stamp-type__body small{margin-top:3px;line-height:1.3}
#stamp-order .stamp-explain[hidden]{display:none!important}
#stamp-order .stamp-explain{margin-top:9px;padding:8px 10px;font-size:11px}
#stamp-order .stamp-total__note{max-width:620px}
#stamp-order .stamp-total__micro{justify-content:flex-end}
#stamp-order .stamp-total__micro span:first-child{color:#788497}
@media(max-width:760px){
  #stamp-order .stamp-order__lead{font-size:12px}
  #stamp-order .stamp-step__head{margin-bottom:9px}
  #stamp-order .stamp-type__body small{font-size:10px}
}

/* v2.20.6: visually separate the order configurator from the stamp gallery. */
#showcase .showcase-intro{margin:0 0 18px;padding:2px 2px 0}
#showcase .showcase-title{margin:0 0 6px}
#showcase .showcase-lead{margin:0;color:#667085;font-size:14px;line-height:1.5}
#showcase .stamp-category-grid{margin-top:0}
@media (max-width:700px){
  #showcase .showcase-intro{margin-bottom:14px}
  #showcase .showcase-lead{font-size:13px}
}

/* v2.20.16 — lighter order form and calmer public typography */
.home-page{font-weight:400}
.home-page strong,.home-page b{font-weight:600}
.home-page .page-title,.home-page .home-h2,.home-page .site-modal-title{font-weight:700}
.home-page .h1-sub{font-weight:500}
.home-page .stat-num{font-weight:700}
.home-page .stat-label,.home-page .price-name,.home-page .step-body h3,.home-page .help-card h3,.home-page .material-card h3,.home-page .why-item h3{font-weight:500}
.home-page .price-group-title,.home-page .price-label,.home-page .ottisk-badge,.home-page .help-more,.home-page .content-accordion-title,.home-page .about-chip-label,.home-page .map-contact-link,.home-page .faq-question{font-weight:500}
.home-page .home-action,.home-page .site-button,.home-page .form-label,.home-page .make-grid-toggle,.home-page .stamp-retry{font-weight:600}

/* Active choices are shown by border/background, not by heavy text. */
#stamp-order,
#stamp-order button,
#modal-order,
#modal-order input,
#modal-order textarea,
#modal-order button{font-weight:400}
#stamp-order .stamp-helper{display:none!important}
#stamp-order .stamp-card__product,#stamp-order .stamp-card__divider{display:none!important}
#stamp-order .stamp-order__head{align-items:center;margin-bottom:14px}
#stamp-order .stamp-order__eyebrow{margin-bottom:5px;font-weight:500;letter-spacing:.05em}
#stamp-order .stamp-order__title{font-size:clamp(25px,3vw,32px);font-weight:700;letter-spacing:-.02em}
#stamp-order .stamp-order__lead{margin-top:5px;max-width:540px;font-size:13px;line-height:1.45}
#stamp-order .stamp-order__trust{padding:7px 10px;background:#fafbfc;font-size:11px;font-weight:400}

#stamp-order .stamp-products{gap:8px;margin-bottom:8px}
#stamp-order .stamp-product-tab{grid-template-columns:58px minmax(0,1fr) auto;gap:11px;min-height:78px;padding:10px 12px;border-width:1px;border-radius:13px;box-shadow:none}
#stamp-order .stamp-product-tab:hover{border-color:#cfd6df;background:#fbfcfd;box-shadow:none}
#stamp-order .stamp-product-tab.is-active{border-color:#56647a;background:#f8fafc;box-shadow:0 0 0 1px rgba(62,75,97,.12)}
#stamp-order .stamp-product-tab__image{width:58px;height:58px;border-radius:11px}
#stamp-order .stamp-product-tab__image img{max-width:50px;max-height:50px}
#stamp-order .stamp-product-tab__name{font-size:14px;font-weight:500}
#stamp-order .stamp-product-tab__desc{margin-top:2px;font-size:10.5px;line-height:1.3}
#stamp-order .stamp-product-tab__price{padding:4px 7px;border-radius:6px!important;background:#f2f4f7;font-size:11.5px;font-weight:600}
#stamp-order .stamp-product-tab.is-active .stamp-product-tab__price{background:#46546b;color:#fff}
#stamp-order .stamp-product-tab__badge{top:-7px;left:66px;padding:2px 6px;font-size:7.5px;font-weight:600;letter-spacing:.025em}

#stamp-order .stamp-card{border-radius:14px;box-shadow:none}
#stamp-order .stamp-step{padding:16px 20px}
#stamp-order .stamp-step__head{margin-bottom:10px}
#stamp-order .stamp-step__number{width:22px;height:22px;flex-basis:22px;font-size:10px;font-weight:600}
#stamp-order .stamp-step__head h4{margin-top:1px;font-size:14px;font-weight:600}
#stamp-order .stamp-step__head p{display:none}
#stamp-order .stamp-type-grid,#stamp-order .stamp-time-options{gap:8px}
#stamp-order .stamp-type{grid-template-columns:38px minmax(0,1fr) auto;gap:10px;padding:11px 12px;border-width:1px;border-radius:11px}
#stamp-order .stamp-type:hover{background:#fbfcfd}
#stamp-order .stamp-type.is-active{border-color:#56647a;background:#f7f9fb;box-shadow:none}
#stamp-order .stamp-type__icon{width:38px;height:38px;border-radius:9px}
#stamp-order .stamp-type.is-active .stamp-type__icon{background:#e9edf3;color:#46546b}
#stamp-order .stamp-type__check{top:9px;right:9px;width:14px;height:14px}
#stamp-order .stamp-type.is-active .stamp-type__check{border:4px solid #46546b}
#stamp-order .stamp-type__body b{padding-right:11px;font-size:13px;font-weight:500}
#stamp-order .stamp-type__body small{margin-top:2px;font-size:10.5px;line-height:1.3}
#stamp-order .stamp-type__price{padding-right:9px;font-size:12.5px;font-weight:600}
#stamp-order .stamp-type.is-active .stamp-type__price{color:#273449}
#stamp-order .stamp-explain{display:none!important}

#stamp-order .stamp-time{min-height:54px;padding:9px 11px;border-width:1px;border-radius:11px}
#stamp-order .stamp-time:hover{background:#fbfcfd}
#stamp-order .stamp-time.is-active{border-color:#56647a;background:#f7f9fb}
#stamp-order .stamp-time b{font-size:12px;font-weight:500}
#stamp-order .stamp-time small{font-size:10px}
#stamp-order .stamp-time__status{font-size:10.5px;font-weight:500}
#stamp-order .stamp-time__bolt{width:30px;height:30px;flex-basis:30px;border-radius:8px}

#stamp-order .stamp-total{grid-template-columns:minmax(180px,1fr) auto;gap:12px 20px;padding:15px 20px;background:#fafbfc}
#stamp-order .stamp-total__caption{font-size:9.5px;font-weight:500;text-transform:uppercase;letter-spacing:.045em}
#stamp-order .stamp-total__price{font-size:26px;font-weight:700}
#stamp-order .stamp-total__note{margin-top:3px;font-size:10px}
#stamp-order .stamp-order-button{min-width:220px;min-height:46px;border-radius:10px;font-size:13px;font-weight:600;box-shadow:0 6px 14px rgba(62,75,97,.14)}
#stamp-order .stamp-compare-button{margin-top:7px;font-size:11px;font-weight:400}
#stamp-order .stamp-compare th,#stamp-order .stamp-compare .is-featured{font-weight:500}

#modal-order .stamp-modal__head h2{font-weight:700}
#modal-order .stamp-modal__summary b,#modal-order .form-label,#modal-order .stamp-file b,#modal-order .stamp-delivery b{font-weight:500}
#modal-order .stamp-modal__summary strong{font-weight:700}
#modal-order .stamp-modal__submit{font-weight:600!important}

@media(max-width:800px){
  #stamp-order .stamp-order__head{align-items:flex-start}
  #stamp-order .stamp-products{grid-template-columns:1fr;overflow:visible;padding:0}
  #stamp-order .stamp-product-tab{width:100%;scroll-snap-align:none}
}
@media(max-width:560px){
  #stamp-order .stamp-order__title{font-size:24px}
  #stamp-order .stamp-product-tab{grid-template-columns:52px minmax(0,1fr) auto;min-height:70px;padding:9px 10px}
  #stamp-order .stamp-product-tab__image{width:52px;height:52px}
  #stamp-order .stamp-product-tab__image img{max-width:45px;max-height:45px}
  #stamp-order .stamp-step{padding:14px 12px}
  #stamp-order .stamp-total{padding:14px 12px;text-align:left}
  #stamp-order .stamp-total__micro{text-align:center}
}



/* v2.20.17 — final order-form polish: 14px UI, lighter selections, tighter cards */
#stamp-order{font-size:14px}
#stamp-order .stamp-order__head{display:block;margin-bottom:12px}
#stamp-order .stamp-order__eyebrow{margin-bottom:4px;font-size:11px;font-weight:500}
#stamp-order .stamp-order__title{font-size:clamp(23px,2.4vw,27px);font-weight:700;line-height:1.16;letter-spacing:-.018em}
#stamp-order .stamp-order__lead{margin-top:5px;max-width:680px;font-size:14px;line-height:1.45}
#stamp-order .stamp-order__trust{margin-top:8px;padding:0;border:0;background:transparent;font-size:12px;line-height:1.4;color:#6f7b8d;white-space:normal}
#stamp-order .stamp-order__trust-dot{width:7px;height:7px;box-shadow:0 0 0 3px rgba(57,166,106,.09)}

#stamp-order .stamp-products{gap:8px;margin-bottom:8px}
#stamp-order .stamp-product-tab{grid-template-columns:54px minmax(0,1fr) auto;gap:10px;min-height:70px;padding:8px 11px;border:1px solid #e1e6ec;border-radius:12px;box-shadow:none}
#stamp-order .stamp-product-tab:hover{border-color:#cfd6df;background:#fbfcfd;box-shadow:none}
#stamp-order .stamp-product-tab.is-active{border-color:#9ca8b8;background:#f7f9fb;box-shadow:none}
#stamp-order .stamp-product-tab__image{width:54px;height:54px;border-radius:10px}
#stamp-order .stamp-product-tab__image img{max-width:46px;max-height:46px}
#stamp-order .stamp-product-tab__name{font-size:14px;font-weight:500;line-height:1.25}
#stamp-order .stamp-product-tab__desc{margin-top:2px;font-size:12px;line-height:1.3}
#stamp-order .stamp-product-tab__price{padding:4px 7px;border-radius:6px!important;background:#f2f4f7;font-size:13px;font-weight:600}
#stamp-order .stamp-product-tab.is-active .stamp-product-tab__price{background:#46546b;color:#fff}
#stamp-order .stamp-product-tab__badge{top:-7px;left:61px;padding:2px 6px;font-size:8px;font-weight:600;letter-spacing:.02em}

#stamp-order .stamp-card{border-radius:13px;box-shadow:none}
#stamp-order .stamp-step{padding:14px 20px}
#stamp-order .stamp-step__head{margin-bottom:9px}
#stamp-order .stamp-step__number{width:22px;height:22px;flex-basis:22px;font-size:11px;font-weight:600}
#stamp-order .stamp-step__head h4{margin-top:1px;font-size:14px;font-weight:600;line-height:1.35}
#stamp-order .stamp-type-grid,#stamp-order .stamp-time-options{gap:8px}
#stamp-order .stamp-type{grid-template-columns:36px minmax(0,1fr) auto;gap:10px;min-height:56px;padding:8px 11px;border:1px solid #e1e6ec;border-radius:10px}
#stamp-order .stamp-type:hover{background:#fbfcfd}
#stamp-order .stamp-type.is-active{border-color:#9ca8b8;background:#f7f9fb;box-shadow:none}
#stamp-order .stamp-type__icon{width:36px;height:36px;border-radius:8px}
#stamp-order .stamp-type.is-active .stamp-type__icon{background:#e9edf3;color:#46546b}
#stamp-order .stamp-type__check{top:9px;right:9px;width:14px;height:14px}
#stamp-order .stamp-type.is-active .stamp-type__check{border:4px solid #56647a}
#stamp-order .stamp-type__body b{padding-right:12px;font-size:14px;font-weight:500;line-height:1.3}
#stamp-order .stamp-type__body small{margin-top:1px;font-size:12px;line-height:1.3}
#stamp-order .stamp-type__price{padding-right:9px;font-size:14px;font-weight:600}

#stamp-order .stamp-time{min-height:50px;padding:7px 10px;border:1px solid #e1e6ec;border-radius:10px}
#stamp-order .stamp-time:hover{background:#fbfcfd}
#stamp-order .stamp-time.is-active{border-color:#9ca8b8;background:#f7f9fb}
#stamp-order .stamp-time b{font-size:14px;font-weight:500;line-height:1.3}
#stamp-order .stamp-time small{font-size:12px;line-height:1.25}
#stamp-order .stamp-time__status{font-size:12px;font-weight:500}
#stamp-order .stamp-time__bolt{width:28px;height:28px;flex-basis:28px;border-radius:8px}

#stamp-order .stamp-total{grid-template-columns:minmax(180px,1fr) auto;gap:10px 20px;padding:14px 20px;background:#fafbfc}
#stamp-order .stamp-total__caption{font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.04em}
#stamp-order .stamp-total__price{font-size:26px;font-weight:700}
#stamp-order .stamp-total__note{margin-top:3px;font-size:12px;line-height:1.35}
#stamp-order .stamp-order-button{min-width:246px;min-height:46px;padding-inline:22px;border-radius:9px;font-size:14px;font-weight:600;box-shadow:0 5px 12px rgba(62,75,97,.12)}
#stamp-order .stamp-total__micro{font-size:11.5px}

#stamp-order .stamp-compare-button{display:inline-flex;width:auto;margin-top:8px;padding:4px 0;border:0;background:transparent;color:#59677a;font-size:13px;font-weight:400;text-align:left}
#stamp-order .stamp-compare-button u{text-decoration:none;color:#334155;font-weight:500;border-bottom:1px solid #c8d0da}
#stamp-order .stamp-compare-button:hover u{border-bottom-color:#59677a}
#stamp-order .stamp-compare table{font-size:13px}
#stamp-order .stamp-compare th{font-size:11px;font-weight:500}
#stamp-order .stamp-compare td{font-size:13px}

@media(max-width:800px){
  #stamp-order .stamp-products{grid-template-columns:1fr;overflow:visible;padding:0}
  #stamp-order .stamp-product-tab{width:100%}
}
@media(max-width:560px){
  #stamp-order{font-size:14px}
  #stamp-order .stamp-order__title{font-size:23px}
  #stamp-order .stamp-order__lead{font-size:14px}
  #stamp-order .stamp-product-tab{grid-template-columns:50px minmax(0,1fr) auto;min-height:66px;padding:7px 9px}
  #stamp-order .stamp-product-tab__image{width:50px;height:50px}
  #stamp-order .stamp-product-tab__image img{max-width:43px;max-height:43px}
  #stamp-order .stamp-product-tab__desc{font-size:12px}
  #stamp-order .stamp-step{padding:13px 11px}
  #stamp-order .stamp-type{padding:8px 9px}
  #stamp-order .stamp-time{padding:7px 9px}
  #stamp-order .stamp-total{padding:13px 11px;text-align:left}
  #stamp-order .stamp-order-button{width:100%;min-width:0;font-size:14px}
  #stamp-order .stamp-total__micro{text-align:center}
  #stamp-order .stamp-compare-button{font-size:13px}
}

/* v2.20.18 — срочный срок: доплата внутри подписи, без отдельного бейджа. */
#stamp-order .stamp-time--urgent .stamp-time__urgent-title{color:#c64b3f;font-weight:600}
#stamp-order .stamp-time__inline-surcharge{display:inline;color:#b55d13;font-size:inherit;font-weight:500;white-space:nowrap}
#stamp-order .stamp-time__inline-surcharge::before{content:" · ";color:#a08b7c;font-weight:400}
#stamp-order .stamp-time--urgent small{white-space:normal}


/* v2.20.19 — global homepage typography after full public-page audit. */
.home-page{font-family:var(--font-sans);font-size:14px;line-height:1.55;color:var(--hm-ink)}
.home-page p,.home-page li,.home-page td{font-size:14px;line-height:1.55;font-weight:400}
.home-page small{font-size:12px;line-height:1.4}
.home-page .page-title{font-weight:700;font-size:clamp(28px,4vw,38px);line-height:1.12;letter-spacing:-.018em}
.home-page .h1-sub{font-weight:500;font-size:clamp(18px,2.6vw,23px)}
.home-page .home-h2{font-size:clamp(20px,2.5vw,26px);font-weight:700;line-height:1.25}
.home-page .lead-intro{font-size:14px;line-height:1.6}
.home-page .lead-meta-item{font-size:12px}
.home-page .home-cta .site-button{font-size:14px;font-weight:600}
.home-page .stat-num{font-weight:700}
.home-page .stat-label{font-size:14px;font-weight:500}
.home-page .stat-sub,.home-page .stat-reviews-link{font-size:12px}
.home-page .deal-line{font-size:14px}.home-page .deal-note{font-size:12px}
.home-page .stamp-category-title{font-size:13px;font-weight:500}
.home-page .showcase-lead{font-size:14px}
.home-page .price-name{font-size:14px;font-weight:500}
.home-page .price-name span{font-size:12px}
.home-page .price-label{font-size:11px;font-weight:500}
.home-page .price-val strong{font-weight:600}
.home-page .price-group-title{font-size:12px;font-weight:500}
.home-page .step-body h3,.home-page .help-card h3,.home-page .material-card h3,.home-page .why-item h3{font-size:14px;font-weight:600}
.home-page .step-body p,.home-page .help-card p,.home-page .material-card p,.home-page .why-item p{font-size:14px;line-height:1.55}
.home-page .about-chip{font-size:14px}.home-page .about-chip-label{font-weight:500}
.home-page .faq-question{font-size:14px;font-weight:500}.home-page .faq-answer{font-size:14px}
.home-page .map-contact-link{font-size:13px;font-weight:500}
.home-page .site-table th{font-size:13px;font-weight:500}.home-page .site-table td{font-size:14px}
.home-page .form-label{font-size:14px;font-weight:500}
.home-page .site-input,.home-page .site-textarea,.home-page .site-select{font-size:14px}
.home-page .site-button{font-size:14px;font-weight:600}

/* Remove leftover heavy weights from non-heading micro UI. */
.home-page .make-grid-toggle,
.home-page .help-more,
.home-page .content-accordion-title,
.home-page .ottisk-badge,
.home-page .about-chip-label,
.home-page .map-contact-link{font-weight:500}

@media(max-width:760px){
  .home-page{font-size:14px}
  .home-page .page-title{font-size:clamp(27px,8vw,35px)}
  .home-page .home-h2{font-size:clamp(20px,6vw,25px)}
  .home-page p,.home-page li{font-size:14px}
  .home-page input,.home-page select,.home-page textarea{font-size:16px!important}
}

/* v2.20.20 — order card: included-cost note by total + larger tooling photos. */
#stamp-order .stamp-products{gap:9px}
#stamp-order .stamp-product-tab{
  grid-template-columns:62px minmax(0,1fr) auto;
  min-height:78px;
  padding:8px 11px;
}
#stamp-order .stamp-product-tab__image{
  width:62px;
  height:62px;
  border-radius:11px;
}
#stamp-order .stamp-product-tab__image img{
  max-width:56px;
  max-height:56px;
}
#stamp-order .stamp-product-tab__badge{left:69px}

#stamp-order .stamp-total__included{
  display:flex;
  align-items:center;
  gap:6px;
  margin:2px 0 1px;
  color:#557064;
  font-size:12px;
  line-height:1.35;
  font-weight:400;
}
#stamp-order .stamp-total__included span{
  display:inline-grid;
  place-items:center;
  width:16px;
  height:16px;
  flex:0 0 16px;
  border-radius:50%;
  background:#e9f7ef;
  color:#2f9b64;
  font-size:11px;
  font-weight:700;
}
#stamp-order .stamp-total__price{margin-top:2px}

@media(max-width:560px){
  #stamp-order .stamp-product-tab{
    grid-template-columns:56px minmax(0,1fr) auto;
    min-height:72px;
    padding:7px 9px;
  }
  #stamp-order .stamp-product-tab__image{width:56px;height:56px}
  #stamp-order .stamp-product-tab__image img{max-width:50px;max-height:50px}
  #stamp-order .stamp-product-tab__badge{left:63px}
  #stamp-order .stamp-total__included{font-size:12px}
}


/* v2.20.21 — mobile order form: compact 3-column tooling picker + 2-column steps. */
@media (max-width:560px){
  /* Discount note: keep the promise visible without taking half the first screen. */
  .home-page .deal-line{
    align-items:flex-start;
    gap:7px;
    margin:5px 0 12px;
    padding:8px 10px;
    font-size:12.5px;
    line-height:1.38;
  }
  .home-page .deal-note{
    display:block;
    margin:3px 0 0;
    font-size:10.5px;
    line-height:1.3;
  }

  #stamp-order .stamp-order__eyebrow{display:none!important}
  #stamp-order .stamp-order__head{margin-bottom:10px!important}
  #stamp-order .stamp-order__title{font-size:22px!important;line-height:1.15!important}
  #stamp-order .stamp-order__lead{margin-top:4px!important;font-size:13px!important;line-height:1.4!important}

  /* All three tooling options are visible at once: no three-card vertical scroll. */
  #stamp-order .stamp-products{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
    width:100%!important;
    margin:0 0 9px!important;
    padding:0!important;
    overflow:visible!important;
  }
  #stamp-order .stamp-product-tab{
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:100%!important;
    min-width:0!important;
    min-height:126px!important;
    padding:9px 5px 8px!important;
    gap:4px!important;
    border-radius:11px!important;
    text-align:center!important;
    overflow:visible!important;
  }
  #stamp-order .stamp-product-tab__image{
    flex:0 0 50px!important;
    width:50px!important;
    height:50px!important;
    margin:0 auto!important;
    border-radius:9px!important;
  }
  #stamp-order .stamp-product-tab__image img{
    max-width:45px!important;
    max-height:45px!important;
  }
  #stamp-order .stamp-product-tab__content{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    min-height:30px!important;
    padding:0!important;
  }
  #stamp-order .stamp-product-tab__name{
    display:block!important;
    font-size:12.5px!important;
    line-height:1.15!important;
    font-weight:500!important;
    overflow-wrap:anywhere!important;
  }
  #stamp-order .stamp-product-tab__desc{display:none!important}
  #stamp-order .stamp-product-tab__price{
    display:inline-flex!important;
    grid-area:auto!important;
    align-items:center!important;
    justify-content:center!important;
    align-self:center!important;
    justify-self:auto!important;
    width:auto!important;
    max-width:100%!important;
    margin:auto 0 0!important;
    padding:4px 5px!important;
    border-radius:6px!important;
    font-size:11.5px!important;
    line-height:1.1!important;
    white-space:nowrap!important;
  }
  #stamp-order .stamp-product-tab__badge{
    top:4px!important;
    right:4px!important;
    left:auto!important;
    max-width:calc(100% - 8px)!important;
    padding:2px 4px!important;
    border-radius:5px!important;
    font-size:6.5px!important;
    line-height:1.05!important;
    letter-spacing:0!important;
    transform:none!important;
  }
  #stamp-order .stamp-product-tab:has(.stamp-product-tab__badge) .stamp-product-tab__content{
    padding-right:0!important;
  }
  #stamp-order .stamp-product-tab.is-active::after{
    content:"✓";
    position:absolute;
    top:5px;
    left:5px;
    display:grid;
    place-items:center;
    width:16px;
    height:16px;
    border-radius:50%;
    background:#46546b;
    color:#fff;
    font-size:10px;
    font-weight:700;
    line-height:1;
  }

  #stamp-order .stamp-card{border-radius:12px!important}
  #stamp-order .stamp-step{padding:11px 9px!important}
  #stamp-order .stamp-step__head{margin-bottom:8px!important}
  #stamp-order .stamp-step__number{width:21px!important;height:21px!important;flex-basis:21px!important}
  #stamp-order .stamp-step__head h4{font-size:13px!important}

  /* Step 1: two compact choices side by side. */
  #stamp-order .stamp-type-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }
  #stamp-order .stamp-type{
    position:relative!important;
    display:block!important;
    min-width:0!important;
    min-height:88px!important;
    padding:9px 8px 8px!important;
    border-radius:9px!important;
    text-align:left!important;
  }
  #stamp-order .stamp-type__icon{display:none!important}
  #stamp-order .stamp-type__check{top:9px!important;right:9px!important}
  #stamp-order .stamp-type__body{display:block!important;min-width:0!important}
  #stamp-order .stamp-type__body b{
    display:block!important;
    padding-right:19px!important;
    font-size:13px!important;
    line-height:1.2!important;
  }
  #stamp-order .stamp-type__body small{
    display:block!important;
    margin-top:3px!important;
    font-size:10.5px!important;
    line-height:1.25!important;
  }
  #stamp-order .stamp-type__price{
    display:block!important;
    grid-column:auto!important;
    margin-top:8px!important;
    padding:0!important;
    font-size:13px!important;
    line-height:1.1!important;
    text-align:left!important;
  }

  /* Step 2: standard / urgent on one row. */
  #stamp-order .stamp-time-options{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }
  #stamp-order .stamp-time{
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    min-width:0!important;
    min-height:88px!important;
    padding:9px 8px!important;
    gap:3px!important;
    border-radius:9px!important;
    text-align:left!important;
  }
  #stamp-order .stamp-time__bolt{display:none!important}
  #stamp-order .stamp-time > span:not(.stamp-time__bolt){display:block!important;width:100%!important;min-width:0!important}
  #stamp-order .stamp-time b{font-size:13px!important;line-height:1.2!important}
  #stamp-order .stamp-time small{display:block!important;margin-top:3px!important;font-size:10.5px!important;line-height:1.25!important}
  #stamp-order .stamp-time__status{margin-top:auto!important;font-size:10.5px!important;line-height:1.2!important}
  #stamp-order .stamp-time__inline-surcharge{font-size:10.5px!important}

  /* Compact final action. No sticky card inside an overflow container. */
  #stamp-order .stamp-total{
    position:static!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 132px!important;
    align-items:center!important;
    gap:7px 9px!important;
    width:100%!important;
    padding:10px 9px!important;
    overflow:visible!important;
    border-radius:0 0 12px 12px!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
  }
  #stamp-order .stamp-total__summary{min-width:0!important}
  #stamp-order .stamp-total__caption{font-size:9.5px!important}
  #stamp-order .stamp-total__included{
    gap:4px!important;
    margin:1px 0 2px!important;
    font-size:10px!important;
    line-height:1.2!important;
  }
  #stamp-order .stamp-total__included span{width:14px!important;height:14px!important;flex-basis:14px!important;font-size:9px!important}
  #stamp-order .stamp-total__price{margin-top:1px!important;font-size:23px!important;line-height:1.05!important}
  #stamp-order .stamp-total__note{display:none!important}
  #stamp-order .stamp-order-button{
    grid-column:2!important;
    grid-row:1!important;
    width:132px!important;
    min-width:132px!important;
    max-width:132px!important;
    min-height:44px!important;
    padding:0 9px!important;
    font-size:11.5px!important;
    white-space:nowrap!important;
  }
  #stamp-order .stamp-order-button svg{width:14px!important;height:14px!important}
  #stamp-order .stamp-total__micro{display:none!important}
  #stamp-order .stamp-compare-button{margin-top:7px!important;font-size:12px!important}
}

@media (max-width:350px){
  #stamp-order .stamp-product-tab{min-height:122px!important;padding-inline:3px!important}
  #stamp-order .stamp-product-tab__image{width:46px!important;height:46px!important;flex-basis:46px!important}
  #stamp-order .stamp-product-tab__image img{max-width:41px!important;max-height:41px!important}
  #stamp-order .stamp-product-tab__name{font-size:11.5px!important}
  #stamp-order .stamp-product-tab__price{font-size:10.5px!important;padding-inline:4px!important}
  #stamp-order .stamp-total{grid-template-columns:minmax(0,1fr)!important}
  #stamp-order .stamp-order-button{grid-column:1!important;grid-row:auto!important;width:100%!important;min-width:0!important;max-width:100%!important}
}
