/* ================================================================
   sm-landing.css — общий CSS лендинговых страниц SweetMarin
   Скоуп: .sm-landing. Канонический источник: инлайнится в каждую
   страницу тегом стилей (tools/build_run.py).
   Собран из эталона главной/бенто: только компоненты лендинга,
   без квиза, отзывов, команды, формы заявки и hero-слайдера.
   ================================================================ */

/* ================ ШРИФТЫ, ТОКЕНЫ И ОСНОВА БЛОКА ================ */

@font-face {
      font-family: "SMontserrat";
      src: url("https://sweetmarin.ru/custom/my/fonts/Montserrat/Montserrat-Regular.woff2")
        format("woff2");
      font-weight: 400;
      font-display: swap;
    }
    @font-face {
      font-family: "SMontserrat";
      src: url("https://sweetmarin.ru/custom/my/fonts/Montserrat/Montserrat-Medium.woff2")
        format("woff2");
      font-weight: 500;
      font-display: swap;
    }
    @font-face {
      font-family: "SMontserrat";
      src: url("https://sweetmarin.ru/custom/my/fonts/Montserrat/Montserrat-SemiBold.woff2")
        format("woff2");
      font-weight: 600;
      font-display: swap;
    }
    @font-face {
      font-family: "SMontserrat";
      src: url("https://sweetmarin.ru/custom/my/fonts/Montserrat/Montserrat-Bold.woff2")
        format("woff2");
      font-weight: 700;
      font-display: swap;
    }
    .sm-landing {
      --sm-coral: #fd7669;
      --sm-coral-dark: #df5d51;
      --sm-pink: #ffdcd9;
      --sm-pink-soft: #fff8f7;
      --sm-navy: #2b345a;
      --sm-text: #333;
      --sm-muted: #626262;
      --sm-line: #e7e7e7;
      --sm-white: #fff;
      --sm-light: #f8f8f8;
      --sm-error: #b42318;
      --sm-success: #257942;
      --sm-radius-sm: 7px;
      --sm-radius: 10px;
      --sm-radius-lg: 18px;
      --sm-shadow: 0 8px 25px rgba(43, 52, 90, 0.09);
      --sm-container: 1180px;
      --sm-section: 72px;
      overflow: hidden;
      color: var(--sm-text);
      background: var(--sm-white);
      font-family: "SMontserrat", Montserrat, Arial, sans-serif;
      font-size: 16px;
      line-height: 1.55;
    }

/* ================ БАЗОВЫЕ СТИЛИ ================ */

/* ==================================================================
   CSS 02. БАЗОВЫЕ СТИЛИ
   ================================================================== */
    .sm-landing *,
    .sm-landing *::before,
    .sm-landing *::after {
      box-sizing: border-box;
    }
    .sm-landing [hidden] {
      display: none !important;
    }
    .sm-landing img {
      display: block;
      max-width: 100%;
      height: auto;
      background: var(--sm-light);
    }
    .sm-landing a {
      color: inherit;
      text-decoration: none;
    }
    .sm-landing button,
    .sm-landing input,
    .sm-landing select,
    .sm-landing textarea {
      font: inherit;
    }
    .sm-landing button {
      cursor: pointer;
    }
    .sm-landing h1,
    .sm-landing h2,
    .sm-landing :is(h3, .sm-heading-text),
    .sm-landing p,
    .sm-landing ul,
    .sm-landing ol,
    .sm-landing dl {
      margin-top: 0;
    }
    .sm-landing h1,
    .sm-landing h2,
    .sm-landing :is(h3, .sm-heading-text) {
      color: var(--sm-navy);
      line-height: 1.17;
      text-wrap: balance;
    }
    .sm-landing .sm-heading-text {
      display: block;
      margin-right: 0;
      margin-bottom: 1em;
      margin-left: 0;
      font-size: 1.17em;
      font-weight: bold;
    }
    .sm-landing p,
    .sm-landing li {
      max-width: 72ch;
      text-wrap: pretty;
    }
    .sm-landing :focus-visible {
      outline: 3px solid var(--sm-navy);
      outline-offset: 3px;
    }
    .sm-landing .sm-skip {
      position: absolute;
      left: 16px;
      top: -100px;
      z-index: 1000;
      padding: 12px 18px;
      background: var(--sm-navy);
      color: #fff;
      border-radius: var(--sm-radius-sm);
    }
    .sm-landing .sm-skip:focus {
      top: 16px;
    }
    .sm-landing .sm-wrap {
      width: min(var(--sm-container), calc(100% - 32px));
      margin-inline: auto;
    }
    .sm-landing .sm-section {
      padding: var(--sm-section) 0;
      scroll-margin-top: 20px;
    }
    .sm-landing .sm-section--soft {
      background: var(--sm-pink-soft);
    }
    .sm-landing .sm-section--light {
      background: var(--sm-light);
    }
    .sm-landing .sm-section-head {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 24px;
      margin-bottom: 34px;
    }
    .sm-landing .sm-section-head > div {
      max-width: 760px;
    }
    .sm-landing .sm-kicker {
      margin-bottom: 10px;
      color: var(--sm-coral-dark);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .sm-landing .sm-title {
      margin-bottom: 12px;
      font-size: clamp(28px, 3.1vw, 42px);
      font-weight: 700;
    }
    .sm-landing .sm-lead {
      margin-bottom: 0;
      color: var(--sm-muted);
    }
    .sm-landing .sm-required {
      color: #6c3c36;
      font-weight: 600;
    }
    .sm-landing .sm-card {
      background: var(--sm-white);
      border: 1px solid var(--sm-line);
      border-radius: var(--sm-radius);
      box-shadow: var(--sm-shadow);
    }
    

/* ================ ОБЩИЕ КОМПОНЕНТЫ ================ */

/* ==================================================================
   CSS 03. ОБЩИЕ КОМПОНЕНТЫ
   ================================================================== */
    .sm-landing .sm-btn {
      display: inline-flex;
      min-height: 50px;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 11px 24px;
      border: 2px solid var(--sm-coral);
      border-radius: var(--sm-radius-sm);
      background: var(--sm-coral);
      color: var(--sm-white);
      font-weight: 600;
      text-align: center;
      transition:
        background 0.2s,
        border-color 0.2s,
        color 0.2s,
        transform 0.2s,
        box-shadow 0.2s;
    }
    .sm-landing .sm-btn:hover {
      background: var(--sm-coral-dark);
      border-color: var(--sm-coral-dark);
      transform: translateY(-1px);
    }
    .sm-landing .sm-btn:active {
      transform: translateY(1px);
      box-shadow: none;
    }
    .sm-landing .sm-btn--secondary {
      background: transparent;
      color: var(--sm-navy);
    }
    .sm-landing .sm-btn--secondary:hover {
      color: var(--sm-white);
    }
    .sm-landing .sm-btn--navy {
      border-color: var(--sm-navy);
      background: var(--sm-navy);
    }
    .sm-landing .sm-btn--navy:hover {
      border-color: #1e274c;
      background: #1e274c;
    }
    .sm-landing .sm-text-link {
      display: inline-flex;
      min-height: 44px;
      align-items: center;
      color: var(--sm-coral-dark);
      font-weight: 600;
      text-decoration: underline;
      text-underline-offset: 4px;
    }
    .sm-landing .sm-text-link:hover {
      color: var(--sm-navy);
    }
    

/* ================ HERO (база и вариант с коллажем) ================ */

/* ==================================================================
   CSS 04. БЛОК 01 — HERO
   ================================================================== */
    .sm-landing .sm-hero {
      padding: 32px 0 40px;
      background: var(--sm-pink-soft);
    }
    .sm-landing .sm-hero__grid {
      width: min(1320px, calc(100% - 32px));
      display: grid;
      grid-template-columns: minmax(340px, 0.65fr) minmax(0, 1.35fr);
      align-items: center;
      gap: 32px;
    }
    .sm-landing .sm-hero h1 {
      max-width: 620px;
      margin: 0 0 16px;
      font-size: clamp(34px, 3.8vw, 52px);
      letter-spacing: -0.03em;
    }
    .sm-landing .sm-hero__sub {
      max-width: 610px;
      margin-bottom: 28px;
      color: var(--sm-muted);
      font-size: clamp(17px, 1.7vw, 21px);
    }
    .sm-landing .sm-hero__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 16px;
    }
    .sm-landing .sm-hero__reply {
      display: flex;
      align-items: center;
      gap: 9px;
      margin: 0;
      color: var(--sm-navy);
      font-size: 14px;
      font-weight: 600;
    }
    .sm-landing .sm-hero__reply::before {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--sm-success);
      content: "";
    }
    .sm-landing .sm-hero__media {
      position: relative;
      min-height: 510px;
      border-radius: var(--sm-radius-lg);
      overflow: hidden;
      box-shadow: var(--sm-shadow);
    }
    .sm-landing .sm-hero__media img {
      width: 100%;
      height: 100%;
      min-height: 510px;
      object-fit: cover;
      image-rendering: auto;
    }
    .sm-landing .sm-hero__badge {
      position: absolute;
      right: 18px;
      bottom: 18px;
      max-width: 250px;
      padding: 13px 16px;
      border-radius: var(--sm-radius);
      background: rgba(255, 255, 255, 0.94);
      color: var(--sm-navy);
      font-size: 14px;
      font-weight: 600;
      box-shadow: var(--sm-shadow);
    }
    
.sm-landing .sm-hero--collage { padding:62px 0 74px; background:linear-gradient(135deg,var(--sm-pink-soft),#fff 66%); }
    .sm-landing .sm-hero-collage { position:relative; min-height:490px; }
    .sm-landing .sm-hero-collage__main { position:absolute; inset:0 50px 30px 0; margin:0; overflow:hidden; border-radius:28px 28px 10px 28px; background:#fff; box-shadow:var(--sm-shadow); }
    .sm-landing .sm-hero-collage__main img { width:100%; height:100%; object-fit:cover; }
    .sm-landing .sm-hero-collage__main figcaption { position:absolute; right:16px; bottom:16px; left:16px; padding:13px 16px; border-radius:8px; background:rgba(255,255,255,.93); color:var(--sm-navy); font-size:13px; font-weight:600; backdrop-filter:blur(8px); }
    .sm-landing .sm-hero-collage__mini { position:absolute; z-index:2; width:150px; height:150px; object-fit:cover; border:7px solid #fff; border-radius:50%; box-shadow:var(--sm-shadow); }
    .sm-landing .sm-hero-collage__mini--one { top:-22px; right:0; }
    .sm-landing .sm-hero-collage__mini--two { right:0; bottom:0; }
    

/* ================ ПОЛОСА ДОВЕРИЯ ================ */

/* ==================================================================
   CSS 05. БЛОК 02 — ДОВЕРИЕ
   ================================================================== */
    .sm-landing .sm-trust {
      position: relative;
      z-index: 2;
      margin-top: -1px;
      background: var(--sm-navy);
      color: #fff;
    }
    .sm-landing .sm-trust__grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
    }
    .sm-landing .sm-trust__item {
      padding: 24px 18px;
      text-align: center;
    }
    .sm-landing .sm-trust__item + .sm-trust__item {
      border-left: 1px solid rgba(255, 255, 255, 0.2);
    }
    .sm-landing .sm-trust strong {
      display: block;
      margin-bottom: 3px;
      font-size: 25px;
      font-variant-numeric: tabular-nums;
    }
    .sm-landing .sm-trust span {
      font-size: 13px;
      opacity: 0.9;
    }
    

/* ================ ССЫЛКА ВНУТРИ КАРТОЧКИ ================ */

.sm-landing .sm-occasion__link {
      display: inline-block;
      margin-top: 10px;
      color: var(--sm-coral-dark);
      font-size: 14px;
      font-weight: 600;
    }

/* ================ ХЛЕБНЫЕ КРОШКИ ================ */

.sm-landing .sm-breadcrumbs { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; color:var(--sm-muted); font-size:13px; }.sm-landing .sm-breadcrumbs a { text-decoration:underline; text-underline-offset:3px; }

/* ================ КИТ: СЕТКИ КАРТОЧЕК ================ */

.sm-landing .sm-cat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
    .sm-landing .sm-cat { overflow:hidden; min-width:0; }
    .sm-landing .sm-cat > img { width:100%; aspect-ratio:1; object-fit:cover; }
    .sm-landing .sm-cat > div { padding:20px; }
    .sm-landing .sm-cat :is(h3, .sm-heading-text) { margin-bottom:8px; font-size:20px; }
    .sm-landing .sm-cat p { margin-bottom:14px; color:var(--sm-muted); font-size:14px; }
    .sm-landing .sm-cat--wide { grid-column:span 2; display:grid; grid-template-columns:1.1fr .9fr; }
    .sm-landing .sm-cat--wide > img { height:100%; aspect-ratio:auto; }
    .sm-landing .sm-cat--wide > div { display:flex; flex-direction:column; justify-content:center; padding:30px; }
    .sm-landing .sm-cat__eyebrow { margin-bottom:9px; color:var(--sm-coral-dark); font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
    .sm-landing .sm-center-action { display:flex; justify-content:center; margin-top:34px; }
    .sm-landing .sm-moment-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
    .sm-landing .sm-moment { overflow:hidden; }
    .sm-landing .sm-moment img { width:100%; aspect-ratio:1.25; object-fit:cover; }
    .sm-landing .sm-moment div { padding:22px; }
    .sm-landing .sm-moment span { color:var(--sm-coral-dark); font-size:13px; font-weight:700; }
    .sm-landing .sm-moment :is(h3, .sm-heading-text) { margin:8px 0; font-size:21px; }
    .sm-landing .sm-moment p { margin:0; color:var(--sm-muted); font-size:14px; }
    .sm-landing .sm-chip-box { margin-top:42px; padding:30px; border:1px solid var(--sm-line); border-radius:var(--sm-radius-lg); background:#fff; }
    .sm-landing .sm-chip-box :is(h3, .sm-heading-text) { margin-bottom:18px; }
    .sm-landing .sm-chip-box p { margin:16px 0 0; color:var(--sm-muted); font-size:13px; }
    .sm-landing .sm-format-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
    .sm-landing .sm-format { display:block; padding:30px; }
    .sm-landing .sm-format__badge { display:inline-flex; margin-bottom:26px; padding:6px 11px; border-radius:99px; background:var(--sm-pink-soft); color:var(--sm-coral-dark); font-size:12px; font-weight:700; }
    .sm-landing .sm-format :is(h3, .sm-heading-text) { margin-bottom:10px; }
    .sm-landing .sm-format strong { display:block; margin-bottom:14px; color:var(--sm-coral-dark); font-size:28px; }
    .sm-landing .sm-format p { min-height:68px; color:var(--sm-muted); font-size:14px; }
    .sm-landing .sm-format--accent { background:var(--sm-navy); }
    .sm-landing .sm-format--accent :is(h3, .sm-heading-text),.sm-landing .sm-format--accent p,.sm-landing .sm-format--accent .sm-occasion__link { color:#fff; }
    .sm-landing .sm-format--accent strong { color:var(--sm-pink); }
    .sm-landing .sm-product-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
    .sm-landing .sm-product { overflow:hidden; }
    .sm-landing .sm-product img { width:100%; aspect-ratio:1; object-fit:cover; }
    .sm-landing .sm-product div { padding:18px; }
    .sm-landing .sm-product span { color:var(--sm-coral-dark); font-size:12px; font-weight:700; text-transform:uppercase; }
    .sm-landing .sm-product :is(h3, .sm-heading-text) { min-height:47px; margin:7px 0 9px; font-size:18px; }
    .sm-landing .sm-product p { margin-bottom:12px; color:var(--sm-muted); font-size:13px; }
    .sm-landing .sm-product a { color:var(--sm-coral-dark); font-size:13px; font-weight:700; text-decoration:underline; text-underline-offset:3px; }
    .sm-landing .sm-filling-mini-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
    .sm-landing .sm-filling-mini-grid article { overflow:hidden; border-radius:var(--sm-radius); background:#fff; }
    .sm-landing .sm-filling-mini-grid img { width:100%; aspect-ratio:1.14; object-fit:cover; }
    .sm-landing .sm-filling-mini-grid :is(h3, .sm-heading-text) { margin:16px 16px 7px; font-size:17px; }
    .sm-landing .sm-filling-mini-grid p { margin:0 16px 18px; color:var(--sm-muted); font-size:13px; }
    .sm-landing .sm-allergy-note { display:flex; gap:18px; align-items:center; margin-top:26px; padding:20px 24px; border-radius:var(--sm-radius); background:var(--sm-navy); color:#fff; }
    .sm-landing .sm-allergy-note p { margin:0; font-size:14px; }
    .sm-landing .sm-order-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:0; padding:0; list-style:none; counter-reset:steps; }
    .sm-landing .sm-order-steps li { position:relative; padding:26px 24px; border-top:1px solid var(--sm-line); border-bottom:1px solid var(--sm-line); }
    .sm-landing .sm-order-steps li + li { border-left:1px solid var(--sm-line); }
    .sm-landing .sm-order-steps span { display:block; margin-bottom:34px; color:var(--sm-coral-dark); font-weight:700; }
    .sm-landing .sm-order-steps :is(h3, .sm-heading-text) { margin-bottom:10px; font-size:18px; }
    .sm-landing .sm-order-steps p { margin:0; color:var(--sm-muted); font-size:14px; }
    

/* ================ КИТ: ДОСТАВКА ================ */

.sm-landing .sm-delivery-card { display:grid; grid-template-columns:1.5fr .75fr; gap:40px; padding:42px; background:var(--sm-pink-soft); }
    .sm-landing .sm-delivery-card ul { padding-left:20px; color:var(--sm-muted); }
    .sm-landing .sm-delivery-card__address { display:flex; flex-direction:column; justify-content:center; gap:10px; padding:28px; border-radius:var(--sm-radius); background:var(--sm-navy); color:#fff; }
    .sm-landing .sm-delivery-card__address strong { font-size:22px; }
    .sm-landing .sm-delivery-card__address a { color:var(--sm-pink); font-weight:700; }
    

/* ================ КИТ: FAQ ================ */

.sm-landing .sm-faq-list { max-width:880px; }
    .sm-landing .sm-faq-list details { border-top:1px solid var(--sm-line); }
    .sm-landing .sm-faq-list details:last-child { border-bottom:1px solid var(--sm-line); }
    .sm-landing .sm-faq-list summary { position:relative; padding:22px 52px 22px 0; color:var(--sm-navy); font-weight:700; cursor:pointer; list-style:none; }
    .sm-landing .sm-faq-list summary::-webkit-details-marker { display:none; }
    .sm-landing .sm-faq-list summary::after { content:'+'; position:absolute; right:8px; top:16px; color:var(--sm-coral-dark); font-size:28px; font-weight:400; }
    .sm-landing .sm-faq-list details[open] summary::after { content:'−'; }
    .sm-landing .sm-faq-list details p { padding:0 52px 22px 0; margin:0; color:var(--sm-muted); }
    

/* ================ КИТ: SEO-БЛОК ================ */

.sm-landing .sm-editorial { display:grid; grid-template-columns:.8fr 1.2fr; gap:72px; align-items:start; }
    .sm-landing .sm-editorial__copy { columns:2; column-gap:38px; }
    .sm-landing .sm-editorial__copy p { break-inside:avoid; margin-bottom:18px; color:var(--sm-muted); }
    

/* ================ КИТ: АДАПТИВ ================ */

@media (max-width:980px) {
      .sm-landing .sm-cat-grid,.sm-landing .sm-product-grid,.sm-landing .sm-filling-mini-grid { grid-template-columns:repeat(2,1fr); }
      .sm-landing .sm-moment-grid,.sm-landing .sm-format-grid { grid-template-columns:1fr 1fr; }
      .sm-landing .sm-order-steps { grid-template-columns:1fr 1fr; }
      .sm-landing .sm-order-steps li:nth-child(3) { border-left:0; }
      .sm-landing .sm-editorial { grid-template-columns:1fr; gap:24px; }
    }
    @media (max-width:680px) {
      .sm-landing .sm-hero--collage { padding:38px 0 48px; }
      .sm-landing .sm-hero-collage { min-height:340px; margin-top:20px; }
      .sm-landing .sm-hero-collage__main { inset:0 20px 0 0; }
      .sm-landing .sm-hero-collage__mini { width:92px; height:92px; border-width:4px; }
      .sm-landing .sm-hero-collage__mini--one { top:-10px; }
      .sm-landing .sm-hero-collage__main figcaption { display:none; }
      .sm-landing .sm-cat-grid,.sm-landing .sm-moment-grid,.sm-landing .sm-format-grid,.sm-landing .sm-product-grid,.sm-landing .sm-filling-mini-grid,.sm-landing .sm-delivery-card { grid-template-columns:1fr; }
      .sm-landing .sm-cat--wide { grid-column:auto; grid-template-columns:1fr; }
      .sm-landing .sm-cat--wide > img { aspect-ratio:1.2; }
      .sm-landing .sm-format p,.sm-landing .sm-product :is(h3, .sm-heading-text) { min-height:0; }
      .sm-landing .sm-order-steps { display:block; }
      .sm-landing .sm-order-steps li,.sm-landing .sm-order-steps li + li { border:0; border-top:1px solid var(--sm-line); }
      .sm-landing .sm-order-steps li:last-child { border-bottom:1px solid var(--sm-line); }
      .sm-landing .sm-order-steps span { margin-bottom:14px; }
      .sm-landing .sm-allergy-note { display:block; }
      .sm-landing .sm-allergy-note strong { display:block; margin-bottom:7px; }
      .sm-landing .sm-delivery-card { gap:20px; padding:24px; }
      .sm-landing .sm-editorial__copy { columns:1; }
    }

/* ================ КИТ V2: FEATURED, FAQ-СЕТКА, EDITORIAL ================ */

/* ================================================================
   ПРАВКИ V2
   ================================================================ */
.sm-landing .sm-cat--featured {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
}
.sm-landing .sm-cat--featured > img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.sm-landing .sm-cat--featured > div {
  display: block;
  padding: 24px;
}
.sm-landing .sm-cat--featured .sm-occasion__link {
  display: inline-flex;
  margin-top: 2px;
}
.sm-landing .sm-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sm-landing .sm-chip-list .sm-chip-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: none;
  border-radius: 12px;
  background: #f2f2f2;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2143;
  box-shadow: none;
  transition: background-color .15s ease;
}
.sm-landing .sm-chip-list .sm-chip-link:hover,
.sm-landing .sm-chip-list .sm-chip-link:focus-visible {
  background: #e8e8e8;
}
.sm-landing .sm-chip-list .sm-chip-link:active {
  background: #ffdcd9;
}
.sm-landing .sm-faq-list--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 0 36px;
  max-width: none;
}
.sm-landing .sm-faq-list--grid details,
.sm-landing .sm-faq-list--grid details:last-child {
  border-top: 1px solid var(--sm-line);
  border-bottom: 0;
}
.sm-landing .sm-faq-list--grid details:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--sm-line);
}
.sm-landing .sm-editorial--single {
  display: block;
  max-width: 920px;
}
.sm-landing .sm-editorial--single > div:first-child {
  margin-bottom: 24px;
}
.sm-landing .sm-editorial--single .sm-editorial__copy {
  max-width: 78ch;
  columns: auto;
  column-count: 1;
  column-gap: normal;
}
.sm-landing .sm-editorial--single .sm-editorial__copy p {
  max-width: none;
  margin-bottom: 18px;
}
.sm-landing .sm-editorial--single .sm-editorial__copy p:last-child {
  margin-bottom: 0;
}
@media (max-width: 680px) {
  .sm-landing .sm-cat--featured {
    grid-column: auto;
  }
  .sm-landing .sm-cat--featured > img {
    aspect-ratio: 1.2 / 1;
  }
  .sm-landing .sm-faq-list--grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .sm-landing .sm-faq-list--grid details:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .sm-landing .sm-faq-list--grid details:last-child {
    border-bottom: 1px solid var(--sm-line);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sm-landing .sm-chip-list .sm-chip-link {
    transition: none;
  }
  .sm-landing .sm-chip-list .sm-chip-link:hover,
  .sm-landing .sm-chip-list .sm-chip-link:focus-visible {
    transform: none;
  }
}

/* ================ ИНТЕРАКТИВ КАРТОЧЕК ================ */

/* Интерактив карточек во всех сетках лендинга */
.sm-landing .sm-cat,
.sm-landing .sm-moment,
.sm-landing .sm-format,
.sm-landing .sm-product,
.sm-landing .sm-filling-mini-grid > article {
  transform: translateZ(0);
  transform-origin: center;
  transition: transform .24s cubic-bezier(.22,1,.36,1), box-shadow .24s ease, background-color .24s ease;
}

.sm-landing .sm-cat img,
.sm-landing .sm-moment img,
.sm-landing .sm-product img,
.sm-landing .sm-filling-mini-grid img {
  transition: transform .32s cubic-bezier(.22,1,.36,1);
  transform-origin: center;
}

.sm-landing .sm-filling-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: inherit;
}

.sm-landing .sm-filling-link:focus-visible {
  outline: 3px solid var(--sm-coral-dark);
  outline-offset: -3px;
}

@media (hover: hover) and (pointer: fine) {
  .sm-landing .sm-cat:hover,
  .sm-landing .sm-moment:hover,
  .sm-landing .sm-format:hover,
  .sm-landing .sm-product:hover,
  .sm-landing .sm-filling-mini-grid > article:hover {
    transform: translateY(-4px) scale(1.018);
    box-shadow: 0 14px 34px rgba(39, 42, 67, .14);
  }

  .sm-landing .sm-cat:hover img,
  .sm-landing .sm-moment:hover img,
  .sm-landing .sm-product:hover img,
  .sm-landing .sm-filling-mini-grid > article:hover img {
    transform: scale(1.045);
  }
}

.sm-landing .sm-cat:focus-visible,
.sm-landing .sm-moment:focus-visible,
.sm-landing .sm-format:focus-visible,
.sm-landing .sm-product:focus-within,
.sm-landing .sm-filling-mini-grid > article:focus-within {
  transform: translateY(-3px) scale(1.012);
  box-shadow: 0 12px 30px rgba(39, 42, 67, .14);
}

.sm-landing .sm-cat:active,
.sm-landing .sm-moment:active,
.sm-landing .sm-format:active,
.sm-landing .sm-product:active,
.sm-landing .sm-filling-mini-grid > article:active {
  transform: scale(.99);
}

@media (prefers-reduced-motion: reduce) {
  .sm-landing .sm-cat,
  .sm-landing .sm-moment,
  .sm-landing .sm-format,
  .sm-landing .sm-product,
  .sm-landing .sm-filling-mini-grid > article,
  .sm-landing .sm-cat img,
  .sm-landing .sm-moment img,
  .sm-landing .sm-product img,
  .sm-landing .sm-filling-mini-grid img {
    transform: none !important;
    transition: none !important;
  }
}

/* ================ АДАПТИВНОСТЬ БАЗЫ ================ */

@media (max-width: 768px) {
  .sm-landing .sm-section-head { align-items: start;
        flex-direction: column;
        margin-bottom: 26px; }
  .sm-landing .sm-hero { padding: 26px 0 34px; }
  .sm-landing .sm-hero__grid { width: min(var(--sm-container), calc(100% - 32px));
        grid-template-columns: 1fr;
        gap: 24px; }
  .sm-landing .sm-hero__media { min-height: 380px; }
  .sm-landing .sm-hero__media img { min-height: 380px; }
  .sm-landing .sm-trust__grid { grid-template-columns: repeat(2, 1fr); }
  .sm-landing .sm-trust__item:nth-child(3) { border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2); }
  .sm-landing .sm-trust__item:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.2); }
}

@media (max-width: 520px) {
  .sm-landing .sm-wrap { width: min(var(--sm-container), calc(100% - 24px)); }
  .sm-landing .sm-hero h1 { font-size: 32px; }
  .sm-landing .sm-hero__actions { display: grid; }
  .sm-landing .sm-hero__media,
      .sm-landing .sm-hero__media img { min-height: 325px; }
  .sm-landing .sm-hero__badge { left: 12px;
        right: 12px;
        bottom: 12px; }
  .sm-landing .sm-trust__item { padding: 18px 8px; }
  .sm-landing .sm-trust strong { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
      .sm-landing *,
      .sm-landing *::before,
      .sm-landing *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }
/* Hero-кнопки мессенджеров (17.11.2026). TG — официальный синий
   (#2AABEE→#229ED9). MAX — официальный градиент, цвета сняты пикселями
   с иконки приложения (RuStore CDN, 12.11.2026):
   #52c7fe (голубой, низ-лево) → #328aff → #3f48eb (центр) → #943bdb (фиолет). */
.sm-landing .sm-btn--tg {
  border-color: #229ed9;
  background: linear-gradient(180deg, #2aabee, #229ed9);
  color: #fff;
}
.sm-landing .sm-btn--tg:hover {
  border-color: #1b84b7;
  background: linear-gradient(180deg, #3cb7ef, #1f8ec2);
  color: #fff;
}
.sm-landing .sm-btn--max {
  border-color: #8a46d2;
  background: linear-gradient(45deg, #52c7fe 0%, #328aff 35%, #3f48eb 68%, #943bdb 100%);
  color: #fff;
}
.sm-landing .sm-btn--max:hover {
  /* фон задан явно: иначе срабатывает базовый .sm-btn:hover (--sm-coral-dark) */
  border-color: #7b3cc2;
  background: linear-gradient(45deg, #5fd0ff 0%, #4195ff 35%, #4a53f5 68%, #a146e8 100%);
  color: #fff;
}

/* Карточка-ссылка на фото товара */
.sm-landing .sm-product-img {
  display: block;
}

/* Корпоративный отдел: контакты + условия юрлицам (navy-карточка) */
.sm-landing .sm-corp-dept {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  border-color: var(--sm-navy);
  background: var(--sm-navy);
  overflow: hidden;
}
.sm-landing .sm-corp-dept > div:first-child {
  padding: 38px;
}
.sm-landing .sm-corp-dept :is(h2, .sm-heading-text) {
  color: #fff;
}
.sm-landing .sm-corp-dept p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.85);
}
.sm-landing .sm-corp-dept__contacts {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}
.sm-landing .sm-corp-dept__contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.sm-landing .sm-corp-dept__contact:hover {
  color: var(--sm-pink);
}
.sm-landing .sm-corp-dept__terms {
  display: grid;
  gap: 16px;
  align-content: center;
  padding: 38px;
  background: rgba(255, 255, 255, 0.06);
}
.sm-landing .sm-corp-dept__term {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #fff;
  font-size: 15px;
  line-height: 1.45;
}
.sm-landing .sm-corp-dept__term svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  padding: 5px;
  border-radius: 50%;
  background: var(--sm-coral);
  color: #fff;
}
@media (max-width: 680px) {
  .sm-landing .sm-corp-dept {
    grid-template-columns: 1fr;
  }
  .sm-landing .sm-corp-dept > div:first-child,
  .sm-landing .sm-corp-dept__terms {
    padding: 26px 22px;
  }
}

/* Карта в карточке доставки */
.sm-landing .sm-delivery-card__map {
  overflow: hidden;
  border-radius: 16px;
  min-height: 320px;
}

/* Почему мы: чек-карточки (вместо номерного списка, чтобы не дублировать «Этапы заказа») */
.sm-landing .sm-why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.sm-landing .sm-why-card {
  padding: 30px;
}
.sm-landing .sm-why-card__icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--sm-pink);
  color: var(--sm-coral-dark);
}
.sm-landing .sm-why-card :is(h3, .sm-heading-text) {
  margin-bottom: 8px;
  font-size: 19px;
}
.sm-landing .sm-why-card p {
  margin: 0;
  color: var(--sm-muted);
  font-size: 14px;
}
.sm-landing .sm-why-card--accent {
  border-color: var(--sm-navy);
  background: var(--sm-navy);
}
.sm-landing .sm-why-card--accent :is(h3, .sm-heading-text) {
  color: #fff;
}
.sm-landing .sm-why-card--accent p {
  color: rgba(255, 255, 255, 0.82);
}
.sm-landing .sm-why-card--accent .sm-why-card__icon {
  background: var(--sm-coral);
  color: #fff;
}
@media (max-width: 680px) {
  .sm-landing .sm-why-cards {
    grid-template-columns: 1fr;
  }
}

/* Карта в карточке доставки */
.sm-landing .sm-delivery-card__map {
  overflow: hidden;
  border-radius: 16px;
  min-height: 320px;
}
.sm-landing .sm-delivery-card__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}
@media (max-width: 680px) {
  .sm-landing .sm-delivery-card__map {
    min-height: 260px;
  }
  .sm-landing .sm-delivery-card__map iframe {
    min-height: 260px;
  }
}

/* ==== Карточные блоки 1:1 с боевой главной (17.11.2026) ====
   Эталон: живая главная, блоки категорий и хитов продаж:
   gap 18px, тело карточки 17px, заголовки 18/17px, подпись muted 14px,
   ссылка «Смотреть … →» 14/600 #df5d51, hover-подъём -3px/-2px БЕЗ масштаба.
   Решения: цена в товарах остаётся; поводы — в стиле категорий;
   featured-категория сохранена. */
.sm-landing .sm-cat-grid,
.sm-landing .sm-moment-grid,
.sm-landing .sm-product-grid,
.sm-landing .sm-filling-mini-grid {
  gap: 18px;
}
.sm-landing .sm-cat > div,
.sm-landing .sm-moment > div,
.sm-landing .sm-product > div {
  padding: 17px;
}
.sm-landing .sm-cat :is(h3, .sm-heading-text),
.sm-landing .sm-moment :is(h3, .sm-heading-text) {
  margin-bottom: 6px;
  font-size: 18px;
}
.sm-landing .sm-cat p {
  margin-bottom: 0;
  min-height: 24px;
}
.sm-landing .sm-moment img {
  aspect-ratio: 1;
}
/* тег-правило .sm-moment span красит и заголовок — вернуть navy, как на главной */
.sm-landing .sm-moment .sm-heading-text {
  color: var(--sm-navy);
}
.sm-landing .sm-moment p {
  min-height: 24px;
}
.sm-landing .sm-product > div {
  display: flex;
  min-height: 132px;
  flex-direction: column;
  align-items: flex-start;
}
.sm-landing .sm-product :is(h3, .sm-heading-text) {
  min-height: 0;
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.3;
}
/* span-правило цены красит и заголовок товара — вернуть navy и обычный регистр,
   как в «Хитах продаж» главной; цена (span без класса) остаётся коралловой */
.sm-landing .sm-product .sm-heading-text {
  color: var(--sm-navy);
  text-transform: none;
}
.sm-landing .sm-product > div > a {
  margin-top: auto;
  color: var(--sm-coral-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.sm-landing .sm-filling-mini-grid > article {
  border: 1px solid var(--sm-line);
  box-shadow: var(--sm-shadow);
}
.sm-landing .sm-filling-mini-grid img {
  aspect-ratio: 1;
}
.sm-landing .sm-filling-mini-grid .sm-heading-text {
  margin: 0;
  padding: 17px 17px 0;
  font-size: 17px;
}
.sm-landing .sm-filling-mini-grid p {
  margin: 0;
  padding: 0 17px 17px;
  color: var(--sm-muted);
  font-size: 14px;
}
/* Ховеры — как на главной: подъём без масштаба, linear .2s */
.sm-landing .sm-cat,
.sm-landing .sm-moment,
.sm-landing .sm-product,
.sm-landing .sm-filling-mini-grid > article {
  transition: transform 0.2s, box-shadow 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .sm-landing .sm-cat:hover,
  .sm-landing .sm-moment:hover,
  .sm-landing .sm-filling-mini-grid > article:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(43, 52, 90, 0.14);
  }
  .sm-landing .sm-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(43, 52, 90, 0.14);
  }
  .sm-landing .sm-cat:hover img,
  .sm-landing .sm-moment:hover img,
  .sm-landing .sm-product:hover img,
  .sm-landing .sm-filling-mini-grid > article:hover img {
    transform: none;
  }
}
.sm-landing .sm-cat:focus-visible,
.sm-landing .sm-moment:focus-visible,
.sm-landing .sm-product:focus-within,
.sm-landing .sm-filling-mini-grid > article:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(43, 52, 90, 0.14);
}
.sm-landing .sm-cat:active,
.sm-landing .sm-moment:active,
.sm-landing .sm-product:active,
.sm-landing .sm-filling-mini-grid > article:active {
  transform: translateY(1px);
}

/* ==== «Как проходит заказ» — лента 5 шагов, копия с боевой главной (17.11.2026).
   Горизонтальная линия var(--sm-pink), круги 44px var(--sm-coral); ≤768px —
   вертикальная лента слева, как на главной. ==== */
.sm-landing .sm-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  padding-top: 22px;
}
.sm-landing .sm-steps::before {
  position: absolute;
  top: 43px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--sm-pink);
  content: "";
}
.sm-landing .sm-step {
  position: relative;
  text-align: center;
}
.sm-landing .sm-step__num {
  position: relative;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 50%;
  background: var(--sm-coral);
  color: #fff;
  font-weight: 700;
}
.sm-landing .sm-step .sm-heading-text {
  font-size: 17px;
}
.sm-landing .sm-step p {
  margin: 0;
  color: var(--sm-muted);
  font-size: 13px;
}
@media (max-width: 768px) {
  .sm-landing .sm-steps {
    grid-template-columns: 1fr;
    padding: 0 0 0 6px;
    gap: 0;
  }
  .sm-landing .sm-steps::before {
    top: 20px;
    bottom: 20px;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .sm-landing .sm-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 17px;
    padding-bottom: 25px;
    text-align: left;
  }
  .sm-landing .sm-step__num {
    grid-row: span 2;
    margin: 0;
  }
  .sm-landing .sm-step .sm-heading-text {
    margin: 2px 0 6px;
  }
}

/* ==== Hero ужат (17.11.2026, «слишком выступает по сравнению с другими
   блоками»): вертикальные отступы 62/74 → 44/36; коллаж min-height
   490 → 560 — выровнен по текстовой колонке (~600px), чтобы обе колонки
   заканчивались вровень (хвосты 36/56px вместо 136px слева).
   Мобайл: 38/48 → 30/24, 340 → 320. ==== */
.sm-landing .sm-hero--collage {
  padding: 44px 0 36px;
}
.sm-landing .sm-hero-collage {
  min-height: 560px;
}
@media (max-width: 680px) {
  .sm-landing .sm-hero--collage {
    padding: 30px 0 24px;
  }
  .sm-landing .sm-hero-collage {
    min-height: 320px;
  }
}

.sm-landing p {
  line-height: 1.55;
}

.sm-landing .sm-cat-grid--c3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (min-width: 681px) and (max-width: 980px) {
  .sm-landing .sm-cat-grid--c3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .sm-landing .sm-cat-grid--c3 .sm-cat--featured {
    grid-column: auto;
  }
  .sm-landing .sm-cat-grid--c3 .sm-cat--featured > img {
    aspect-ratio: 1;
  }
}
@media (max-width: 680px) {
  .sm-landing .sm-cat-grid--c3 {
    grid-template-columns: 1fr;
  }
}
