/* =============================================================
   TG 2026-04-22: index-v2 — мобильный продающий лендинг.
   API-контракты идентичны index.html:
     GET  /post-offers.php         → каталог
     GET  /post-offers.php?order_id=X → статус
     POST /post-offers.php         → оформление заказа
     POST /visitors.php            → трекинг визита
   ============================================================= */

*,
*::before,
*::after { box-sizing: border-box; }

:root {
    color-scheme: light;
    --bg: #ffffff;
    --bg-soft: #f5f5f7;
    --card: #ffffff;
    --surface: #f5f5f7;
    --surface-2: #ebebed;
    --elevated: #ffffff;
    --ink: #1d1d1f;
    --ink-soft: #515154;
    --muted: #86868b;
    --line: #e5e5ea;
    --brand: #0071e3;       /* системный синий */
    --brand-dark: #0060c2;
    --accent: #0071e3;
    --accent-2: #0060c2;
    --success: #248a3d;
    --danger: #d70015;
    --warn: #c93400;
    --radius: 14px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body.lock-scroll { overflow: hidden; }

h1, h2, h3, h4 {
    font-family: inherit;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.022em;
    margin: 0 0 12px;
}

h1 { font-size: clamp(28px, 7vw, 42px); line-height: 1.1; }
h2 { font-size: clamp(24px, 6vw, 34px); line-height: 1.15; }
h3 { font-size: 20px; }

p { margin: 0 0 12px; }

.container {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 0 18px;
}

/* =========================
   HEADER
   ========================= */
.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line);
}

.topbar__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    gap: 10px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--ink);
}

.brand__mark {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--ink);
    display: grid; place-items: center;
    color: var(--bg);
    font-weight: 700;
    font-size: 14px;
}

.brand__name {
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
}

.brand__tag {
    font-size: 11px;
    color: var(--muted);
    margin-top: -2px;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--brand);
    font-weight: 600;
    font-size: 14px;
    background: var(--bg-soft);
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-family: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.phone-link:active { transform: scale(0.97); }

/* "Inline" версия для футера — просто подчёркнутая ссылка */
.phone-link--inline {
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
    font-weight: inherit;
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.phone-link--inline::before { content: none; }
.phone-link--inline:active { transform: none; opacity: 0.75; }

/* =========================
   HERO
   ========================= */
.hero {
    position: relative;
    padding: 36px 0 44px;
    background: var(--bg);
    overflow: hidden;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-soft);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 14px;
}

.hero__eyebrow::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--success);
}

.hero__promo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.hero h1 { margin-bottom: 14px; }
.hero h1 em {
    font-style: normal;
    color: var(--brand);
}

.hero__sub {
    font-size: 17px;
    color: var(--ink-soft);
    margin-bottom: 22px;
    max-width: 440px;
}

.hero__ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
}

.btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 20px;
    border-radius: 999px;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease,
        transform 0.12s cubic-bezier(0.2, 0.8, 0.4, 1);
    min-height: 52px;
    -webkit-tap-highlight-color: transparent;
}

.btn:not(:disabled):active { transform: scale(0.97); }

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 40%, transparent);
}

.btn--primary {
    background: var(--brand);
    color: #fff;
}

.btn--primary:hover {
    filter: brightness(1.07);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--brand) 30%, transparent);
}

.btn--primary:active { background: var(--brand-dark); filter: none; }

.btn--accent {
    background: var(--accent);
    color: #fff;
}

.btn--accent:hover {
    filter: brightness(1.07);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 30%, transparent);
}

.btn--accent:active { background: var(--accent-2); filter: none; }

.btn--ghost {
    background: var(--card);
    color: var(--ink);
    border: 1px solid var(--line);
}

.btn--ghost:hover {
    background: var(--bg-soft);
    border-color: var(--muted);
}

.btn--block { width: 100%; }

.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.hero__trust {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 13px;
    color: var(--ink-soft);
}

.hero__trust span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hero__trust span::before {
    content: "✓";
    color: var(--success);
    font-weight: 700;
}

/* =========================
   USP STRIP
   ========================= */
.usp {
    padding: 18px 0;
    background: var(--card);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.usp__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.usp__item {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.usp__icon {
    width: 36px; height: 36px;
    flex: 0 0 36px;
    border-radius: 10px;
    background: var(--bg-soft);
    display: grid; place-items: center;
    font-size: 18px;
}

.usp__title {
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
    line-height: 1.25;
}

.usp__text {
    font-size: 12px;
    color: var(--ink-soft);
    margin-top: 2px;
    line-height: 1.35;
}

/* =========================
   CATALOG
   ========================= */
.section {
    padding: 34px 0;
}

.section__head {
    margin-bottom: 18px;
}

.section__kicker {
    display: inline-block;
    color: var(--accent-2);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.section__sub {
    color: var(--ink-soft);
    font-size: 15px;
    margin: 0;
}

.catalog {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.catalog__card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.catalog__img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--bg-soft);
    overflow: hidden;
}

.catalog__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Карусель фото товара */
.catalog__gallery-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.45s ease;
}

.catalog__gallery-track img {
    flex: 0 0 100%;
}

.catalog__gallery-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 2;
    pointer-events: none;
}

.catalog__gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: color-mix(in srgb, var(--elevated) 55%, transparent);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.2s ease, transform 0.2s ease;
}

.catalog__gallery-dot.is-active {
    background: var(--elevated);
    transform: scale(1.25);
}

@media (prefers-reduced-motion: reduce) {
    .catalog__gallery-track {
        transition: none;
    }
}

.catalog__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.catalog__cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-2);
}

.catalog__name {
    font-family: inherit;
    font-size: 18px;
    line-height: 1.2;
    margin: 0;
    color: var(--ink);
}

.catalog__compose,
.catalog__desc {
    font-size: 13px;
    color: var(--ink-soft);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.catalog__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
}

.catalog__price {
    font-size: 17px;
    font-weight: 800;
    color: var(--ink);
}

.catalog__badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.btn--sm {
    min-height: 40px;
    padding: 10px 14px;
    font-size: 14px;
}

.product {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.product--unavailable { opacity: 0.72; }

.product__media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--bg-soft);
    overflow: hidden;
}

.product__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.product:hover .product__img { transform: scale(1.03); }

.product__placeholder {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    color: var(--muted);
    font-size: 36px;
}

.product__badge {
    position: absolute;
    top: 12px; left: 12px;
    background: color-mix(in srgb, var(--card) 95%, transparent);
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-sm);
}

.product__stock {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(46, 125, 58, 0.92);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
}

.product__stock.is-low { background: rgba(178, 93, 0, 0.95); }
.product__stock.is-out { background: rgba(90, 90, 90, 0.9); }

.product__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product__name {
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: var(--ink);
}

.product__desc {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product__footer {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.product__price {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.product__price-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
}

.product__price-unit {
    font-size: 12px;
    color: var(--muted);
}

.add-btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 999px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    -webkit-tap-highlight-color: transparent;
    transition: filter 0.18s ease, box-shadow 0.18s ease, transform 0.12s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.add-btn:not(:disabled):hover {
    filter: brightness(1.07);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 28%, transparent);
}

.add-btn:not(:disabled):active { transform: scale(0.96); }

.add-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 40%, transparent);
}

.add-btn::before {
    content: "+";
    font-size: 18px;
    font-weight: 800;
}

.add-btn:disabled {
    background: var(--surface-2);
    color: var(--muted);
    box-shadow: none;
    cursor: not-allowed;
}
.add-btn:disabled::before { content: "✕"; font-size: 14px; }

.stepper {
    display: inline-flex;
    align-items: center;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 2px;
    min-height: 44px;
}

.stepper button {
    appearance: none;
    border: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--card);
    color: var(--ink);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.15s ease, transform 0.12s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.stepper button:hover { background: var(--surface-2); }
.stepper button:active { transform: scale(0.92); }

.stepper__count {
    min-width: 28px;
    text-align: center;
    font-weight: 700;
    color: var(--ink);
    padding: 0 6px;
}

.catalog__empty {
    text-align: center;
    color: var(--muted);
    padding: 40px 20px;
}

.catalog__loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 30px 10px;
    color: var(--ink-soft);
}

.spinner {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 3px solid var(--line);
    border-top-color: var(--accent);
    animation: spin 0.9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* =========================
   HOW IT WORKS
   ========================= */
.steps {
    background: var(--surface);
    padding: 34px 0;
}

.steps__list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.step {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 14px 14px 60px;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.step__num {
    position: absolute;
    top: 14px; left: 14px;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--bg);
    font-weight: 700;
    display: grid; place-items: center;
    box-shadow: var(--shadow-sm);
}

.step__title {
    font-weight: 700;
    font-size: 16px;
    margin: 0 0 4px;
}

.step__text {
    color: var(--ink-soft);
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

/* =========================
   DELIVERY INFO
   ========================= */
.delivery-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-md);
}

.delivery-card h3 {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 12px;
}

.delivery-row {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px dashed var(--line);
}

.delivery-row:first-of-type { border-top: 0; padding-top: 0; }

.delivery-row__icon {
    font-size: 22px;
    line-height: 1;
    padding-top: 2px;
}

.delivery-row__title {
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 15px;
}

.delivery-row__text {
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.45;
    margin: 0;
}

/* =========================
   STORY
   ========================= */
.story {
    background: var(--surface);
}

.story blockquote {
    font-family: inherit;
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink);
    margin: 0;
    border-left: 3px solid var(--accent);
    padding-left: 14px;
}

/* =========================
   CINEMA PROMO (storefront)
   ========================= */
.cinema-promo {
    background: var(--surface);
}

.cinema-promo__card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cinema-promo__card .section__head {
    margin: 0;
    flex: 1 1 240px;
}

.cinema-promo__card .btn {
    flex: 0 0 auto;
    min-width: 180px;
}

/* Featured static landings (before catalog) */
.featured-landings {
    padding-top: 8px;
}
.featured-landings .container {
    display: grid;
    gap: 16px;
}
.featured-landings__card {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #1c1410;
    color: #faf7f2;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.featured-landings__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(28, 20, 16, .18);
}
.featured-landings__media {
    min-height: 200px;
    background: #2a1f18;
}
.featured-landings__media img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}
.featured-landings__body {
    padding: 22px 20px 24px;
}
.featured-landings__body .section__kicker {
    color: #e0a04a;
}
.featured-landings__body h2 {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 3.5vw, 1.85rem);
    line-height: 1.2;
    color: #faf7f2;
}
.featured-landings__body p {
    margin: 0 0 16px;
    color: rgba(250, 247, 242, .78);
    font-size: 15px;
    line-height: 1.5;
}
.featured-landings__cta {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #e0a04a;
}
@media (min-width: 720px) {
    .featured-landings__card {
        grid-template-columns: minmax(220px, .9fr) 1.2fr;
        align-items: stretch;
    }
    .featured-landings__media {
        min-height: 100%;
    }
    .featured-landings__media img {
        min-height: 240px;
        height: 100%;
    }
    .featured-landings__body {
        padding: 28px 32px;
    }
}

.hosp-float-widget {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--accent, #2563eb);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

/* =========================
   VACANCIES (storefront)
   ========================= */
.vacancies {
    background: var(--surface);
}

.vacancies__grid {
    display: grid;
    gap: 14px;
}

.vacancy-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px 16px;
    box-shadow: var(--shadow-sm);
}

.vacancy-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px 12px;
    margin-bottom: 8px;
}

.vacancy-card__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
}

.vacancy-card__salary {
    font-weight: 700;
    color: var(--accent-2, var(--accent));
    font-size: 14px;
    white-space: nowrap;
}

.vacancy-card__meta {
    margin-bottom: 8px;
}

.vacancy-card__pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--ink-soft);
    font-size: 12.5px;
    font-weight: 600;
}

.vacancy-card__text {
    margin: 0 0 10px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.5;
}

.vacancy-card__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.vacancy-card__skill {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 8px;
    background: var(--surface-2);
    color: var(--ink);
}

.vacancy-card__cta {
    margin-top: 4px;
}

.vacancies__empty,
.vacancies__hint {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.vacancies__hint {
    margin-top: 12px;
}

@media (min-width: 720px) {
    .vacancies__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .vacancies__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* =========================
   REVIEWS (carousel)
   ========================= */
.reviews-section {
    background: var(--card);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.reviews-carousel {
    position: relative;
    margin: 0 -16px;
}

.reviews-track {
    display: flex;
    gap: 12px;
    padding: 4px 16px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.reviews-track::-webkit-scrollbar { display: none; }

.review {
    flex: 0 0 88%;
    max-width: 420px;
    scroll-snap-align: center;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
}

.review__head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review__avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    color: var(--ink);
    display: grid; place-items: center;
    font-weight: 700;
    font-size: 15px;
    flex: 0 0 auto;
    background: var(--surface-2);
}

.review__name {
    font-weight: 700;
    font-size: 14px;
}

.review__stars {
    color: var(--accent-2);
    font-size: 14px;
    letter-spacing: 1.5px;
    line-height: 1;
    margin-top: 2px;
}

.review__text {
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0;
    quotes: "«" "»";
}

.review__text::before {
    content: open-quote;
    color: var(--accent-2);
    font-size: 22px;
    font-weight: 700;
    vertical-align: -2px;
    margin-right: 2px;
}

.review__text::after { content: close-quote; color: var(--accent-2); font-weight: 700; }

/* Nav arrows — скрыты на мобильных, видны на больших экранах */
.reviews-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--brand);
    font-size: 22px;
    line-height: 1;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.1s ease, background 0.15s ease;
}
.reviews-nav:hover { background: var(--bg-soft); }
.reviews-nav:active { transform: translateY(-50%) scale(0.94); }
.reviews-nav--prev { left: 6px; }
.reviews-nav--next { right: 6px; }

/* Dots */
.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.reviews-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--line);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, width 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

.reviews-dot.is-active {
    background: var(--brand);
    width: 22px;
    border-radius: 999px;
}

@media (min-width: 720px) {
    .reviews-nav { display: flex; }
    .reviews-carousel { margin: 0; }
    .reviews-track { padding: 4px 8px 8px; }
    .review { flex-basis: 60%; max-width: 460px; }
}

/* =========================
   CASHBACK
   ========================= */
.cashback {
    background: var(--surface);
}

.cashback__card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cashback__badge {
    position: relative;
    background: var(--brand);
    color: #fff;
    padding: 26px 20px 22px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
}

.cashback__badge::after {
    content: "";
    position: absolute;
    inset: auto -40px -60px -40px;
    height: 120px;
    background: none;
    pointer-events: none;
}

.cashback__percent {
    font-size: 62px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    display: inline-flex;
    align-items: baseline;
}

.cashback__percent > span {
    font-size: 30px;
    font-weight: 700;
    margin-left: 4px;
    opacity: 0.9;
}

.cashback__badge-label {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: lowercase;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.cashback__body {
    padding: 20px 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cashback__title {
    margin: 4px 0 0;
    font-size: 22px;
    line-height: 1.2;
    color: var(--ink);
}

.cashback__text {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.55;
}

.cashback__text b { color: var(--ink); }

.cashback__how {
    background: var(--bg-soft);
    border-radius: var(--radius);
    padding: 14px 16px 16px;
    margin-top: 4px;
}

.cashback__how-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.cashback__steps {
    margin: 0;
    padding-left: 20px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.55;
    display: grid;
    gap: 6px;
}

.cashback__steps li::marker { color: var(--accent-2); font-weight: 700; }

.cashback__steps b { color: var(--ink); }

.cashback__ctas {
    display: grid;
    gap: 8px;
    margin-top: 6px;
}

@media (min-width: 720px) {
    .cashback__card { flex-direction: row; }
    .cashback__badge {
        flex: 0 0 240px;
        flex-direction: column;
        padding: 28px 20px;
        gap: 6px;
    }
    .cashback__percent { font-size: 84px; }
    .cashback__body { padding: 26px 28px; gap: 14px; }
    .cashback__title { font-size: 26px; }
    .cashback__ctas { grid-template-columns: 1fr 1fr; }
}

/* =========================
   HOW TO SPOT GOOD BREAD
   ========================= */
.bread-check {
    background: var(--bg);
}

.bread-check__list {
    display: grid;
    gap: 12px;
    margin-top: 8px;
}

.bread-check__item {
    display: flex;
    gap: 14px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    align-items: flex-start;
}

.bread-check__icon {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: 14px;
    background: var(--bg-soft);
    display: grid;
    place-items: center;
    font-size: 24px;
}

.bread-check__body h3 {
    font-size: 16px;
    margin: 2px 0 6px;
    font-weight: 700;
    color: var(--ink);
}

.bread-check__body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-soft);
}

.bread-check__body p b {
    color: var(--ink);
    font-weight: 700;
}

@media (min-width: 720px) {
    .bread-check__list { grid-template-columns: 1fr 1fr; }
}

/* =========================
   STATS
   ========================= */
.stats {
    background: var(--bg);
}

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

.stats__item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 14px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stats__item--hero {
    grid-column: 1 / -1;
    background: var(--ink);
    color: var(--bg);
    border: none;
    padding: 22px 16px;
}

.stats__num {
    font-size: 28px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.5px;
}

.stats__item--hero .stats__num {
    color: #fff;
    font-size: 40px;
}

.stats__label {
    margin-top: 6px;
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.35;
    font-weight: 600;
}

.stats__label small {
    display: block;
    font-weight: 400;
    opacity: 0.75;
    font-size: 11.5px;
    margin-top: 2px;
}

.stats__item--hero .stats__label {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
}
.stats__item--hero .stats__label small {
    color: rgba(255, 255, 255, 0.78);
}

.stats__highlight {
    margin-top: 14px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
}

.stats__highlight-icon {
    width: 48px; height: 48px;
    flex: 0 0 auto;
    border-radius: 14px;
    display: grid; place-items: center;
    font-size: 24px;
    background: var(--bg-soft);
}

.stats__highlight-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
}

.stats__highlight p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--ink-soft);
}

@media (min-width: 720px) {
    .stats__grid { grid-template-columns: repeat(4, 1fr); }
    .stats__item--hero { grid-column: 1 / -1; }
    .stats__num { font-size: 30px; }
    .stats__item--hero .stats__num { font-size: 48px; }
}

/* =========================
   FAQ
   ========================= */
.faq {
    display: grid;
    gap: 10px;
}

details.faq__item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
}

details.faq__item summary {
    padding: 14px 44px 14px 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    list-style: none;
    font-size: 15px;
}

details.faq__item summary::-webkit-details-marker { display: none; }

details.faq__item summary::after {
    content: "+";
    position: absolute;
    right: 16px; top: 50%;
    transform: translateY(-50%);
    color: var(--accent-2);
    font-size: 20px;
    font-weight: 700;
    transition: transform 0.2s ease;
}

details.faq__item[open] summary::after {
    content: "−";
    transform: translateY(-50%) rotate(180deg);
}

details.faq__item p {
    padding: 0 16px 14px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* =========================
   STICKY CART BAR
   ========================= */
.cart-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding: 12px 14px calc(12px + var(--safe-bottom));
    transform: translateY(110%);
    transition: transform 0.25s ease;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
}

.cart-bar.is-visible { transform: translateY(0); }

.cart-bar__row {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 560px;
    margin: 0 auto;
}

/* display: flex выше перебивает браузерное [hidden] — возвращаем его семантику,
   иначе строка «Статус заказа» видна даже без активного заказа. */
.cart-bar__row[hidden] {
    display: none;
}

.cart-bar__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.cart-bar__count {
    font-size: 12px;
    color: var(--muted);
}

.cart-bar__total {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
}

.cart-bar__cta {
    flex: 0 0 auto;
    background: var(--brand);
    color: #fff;
    padding: 14px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: filter 0.18s ease, box-shadow 0.18s ease, transform 0.12s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.cart-bar__cta:hover {
    filter: brightness(1.07);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 28%, transparent);
}

.cart-bar__cta:active { transform: scale(0.96); }

body.has-cart { padding-bottom: 96px; }

/* =========================
   SHEET (checkout modal)
   ========================= */
.sheet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.sheet-backdrop.is-open {
    opacity: 1; visibility: visible;
}

.sheet {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 100;
    background: var(--bg);
    border-radius: 22px 22px 0 0;
    padding: 8px 0 0;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.18);
}

.sheet.is-open { transform: translateY(0); }

.sheet__handle {
    width: 40px; height: 4px;
    background: var(--line);
    border-radius: 2px;
    margin: 6px auto 4px;
}

.sheet__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 18px 10px;
    border-bottom: 1px solid var(--line);
}

.sheet__title {
    font-family: inherit;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.sheet__close {
    appearance: none;
    border: 0;
    background: var(--bg-soft);
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 20px;
    color: var(--ink);
    cursor: pointer;
    display: grid; place-items: center;
}

.sheet__body {
    overflow-y: auto;
    padding: 16px 18px calc(24px + var(--safe-bottom));
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

/* Checkout cart list */
.cart-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px 12px;
}

.cart-item__name {
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
    line-height: 1.25;
    margin: 0;
}

.cart-item__price {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

.cart-empty {
    text-align: center;
    color: var(--muted);
    padding: 18px 12px;
    border: 1px dashed var(--line);
    border-radius: 14px;
    background: var(--card);
}

/* =========================
   FORM
   ========================= */
.toggle-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: var(--bg-soft);
    padding: 4px;
    border-radius: 14px;
    margin-bottom: 14px;
}

.toggle-row button {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 12px 10px;
    font-weight: 600;
    font-size: 14px;
    color: var(--ink-soft);
    border-radius: 10px;
    cursor: pointer;
}

.toggle-row button.is-active {
    background: var(--card);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}

.field {
    margin-bottom: 12px;
}

.field label {
    display: block;
    font-size: 13px;
    color: var(--ink-soft);
    font-weight: 600;
    margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 16px;
    font-family: inherit;
    color: var(--ink);
    min-height: 48px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.18);
}

.field textarea { resize: vertical; min-height: 70px; }

.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.phone-field .phone-wrap {
    display: flex;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}
.phone-field .phone-wrap:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.18);
}

.phone-field .phone-prefix {
    padding: 12px 10px 12px 14px;
    color: var(--ink-soft);
    font-weight: 600;
    background: var(--bg-soft);
    border-right: 1px solid var(--line);
    font-size: 16px;
}

.phone-field input {
    border: 0;
    border-radius: 0;
    background: transparent;
    flex: 1;
    box-shadow: none;
    /* Explicit: iOS Safari zooms inputs with computed font-size < 16px */
    font-size: 16px;
}
.phone-field input:focus { box-shadow: none; }

.pickup-options {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.pickup-option {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.pickup-option.is-selected {
    border-color: var(--accent);
    background: rgba(0, 113, 227, 0.06);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.16);
}

.pickup-option__title { font-weight: 700; }
.pickup-option__meta { font-size: 12px; color: var(--ink-soft); }

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    cursor: pointer;
    font-size: 14px;
    color: var(--ink);
    line-height: 1.4;
}

.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); }

.summary {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    margin: 14px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary__label { color: var(--ink-soft); font-size: 14px; }
.summary__value { font-weight: 800; font-size: 20px; color: var(--ink); }

.notice {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    margin: 8px 0;
    display: flex;
    gap: 8px;
}

.notice--info { background: rgba(0, 113, 227, 0.08); color: var(--brand); }
.notice--warn { background: rgba(201, 52, 0, 0.08); color: var(--warn); }
.notice--error { background: rgba(215, 0, 21, 0.07); color: var(--danger); }
.notice--ok { background: rgba(36, 138, 61, 0.08); color: var(--success); }

.field-error {
    color: var(--danger);
    font-size: 12px;
    margin-top: 4px;
    min-height: 14px;
}

/* =========================
   STATUS CARD
   ========================= */
.status-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-top: 14px;
}

.status-card h4 { margin: 0 0 10px; font-size: 16px; }

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
}

.status-pill .dot {
    width: 8px; height: 8px; border-radius: 50%;
    animation: pulse 1.4s ease-in-out infinite;
}
.status-pill.st-inprogress, .status-pill.st-submitted { background: rgba(0, 113, 227, 0.08); color: var(--brand); }
.status-pill.st-inprogress .dot, .status-pill.st-submitted .dot { background: var(--brand); }
.status-pill.st-approved { background: rgba(36, 138, 61, 0.08); color: var(--success); }
.status-pill.st-approved .dot { background: var(--success); }
.status-pill.st-completed { background: rgba(36, 138, 61, 0.1); color: var(--success); }
.status-pill.st-completed .dot { background: var(--success); animation: none; }
.status-pill.st-canceled, .status-pill.st-removed, .status-pill.st-notfound { background: rgba(215, 0, 21, 0.07); color: var(--danger); }
.status-pill.st-canceled .dot, .status-pill.st-removed .dot, .status-pill.st-notfound .dot { background: var(--danger); animation: none; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.status-card__desc {
    margin-top: 8px;
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.45;
}

.status-fulfillment {
    font-size: 13px;
    color: var(--ink-soft);
    font-weight: 500;
}

.status-contact {
    margin: 10px 0 0;
    font-size: 13px;
}

.status-contact a {
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
}

.status-contact a:hover {
    text-decoration: underline;
}

/* =========================
   TOAST
   ========================= */
.toast-wrap {
    position: fixed;
    left: 50%;
    bottom: calc(100px + var(--safe-bottom));
    transform: translateX(-50%);
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    width: min(92vw, 420px);
}

.toast {
    background: rgba(29, 29, 31, 0.92);
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(12px);
    animation: toast-in 0.25s forwards;
    pointer-events: auto;
}

.toast.ok { background: #1e5f28; }
.toast.warn { background: #7a4c00; }
.toast.err { background: #a3160f; }

@keyframes toast-in {
    to { opacity: 1; transform: translateY(0); }
}

/* =========================
   FOOTER
   ========================= */
footer,
.footer {
    background: var(--surface);
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    padding: 26px 0 40px;
}

footer a,
.footer a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
footer p,
.footer p { margin: 0 0 8px; font-size: 14px; }
footer small,
.footer small { color: var(--muted); font-size: 12px; }

.footer--rich {
    padding: 36px 0 48px;
}

.footer__grid {
    display: grid;
    gap: 22px;
    margin-bottom: 22px;
}

@media (min-width: 720px) {
    .footer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px;
    }
}

.footer__col-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}

.footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer__list li {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--ink-soft);
}

.footer__list strong {
    color: var(--ink);
    font-weight: 700;
}

.footer__muted {
    color: var(--muted) !important;
}

.footer__link {
    text-decoration: none !important;
}

.footer__link:hover {
    text-decoration: underline !important;
}

.footer__docs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-bottom: 18px;
}

.footer__doc {
    font-size: 13px;
    font-weight: 600;
}

.footer__copy {
    margin: 0 !important;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    font-size: 13px !important;
    color: var(--muted);
}

/* =========================
   MISC
   ========================= */
.hr {
    border: 0;
    border-top: 1px dashed var(--line);
    margin: 18px 0;
}

/* Stage 7 SS.4 — phone storefront @430px (touch ≥44px, single column) */
@media (max-width: 430px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .container {
        padding: 0 12px;
        max-width: 100%;
    }

    h1 { font-size: 26px; }
    .product__name { font-size: 18px; }

    .catalog { grid-template-columns: 1fr; }

    .stepper button {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .phone-link {
        min-height: 44px;
        padding: 10px 14px;
    }

    .cart-bar__cta {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 18px;
    }

    .btn--sm {
        min-height: 44px;
        padding: 10px 16px;
    }

    .sheet__close {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .field input,
    .field textarea,
    .field select {
        min-height: 44px;
        font-size: 16px;
    }

    /* iOS Safari: keep form controls ≥16px so focus does not auto-zoom the page */
    .sheet input,
    .sheet textarea,
    .sheet select,
    .phone-field input,
    .phone-field .phone-prefix {
        font-size: 16px !important;
    }

    .shop-point-option {
        min-height: 44px;
        align-items: center;
    }

    body.has-cart {
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    }
}

/* Larger screens: keep mobile feel but centered */
@media (min-width: 720px) {
    .catalog { grid-template-columns: 1fr 1fr; }
    .usp__grid { grid-template-columns: repeat(4, 1fr); }
    .container { max-width: 760px; }
}

/* =========================
   CONTACT SHEET
   ========================= */
.sheet--compact {
    max-height: 80vh;
}

.contact-actions {
    padding: 14px 16px 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-action {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--ink);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
    transition: transform 0.1s ease, box-shadow 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.contact-action:active { transform: scale(0.985); }

.contact-action--wa {
    background: #25D366;
    border-color: #1ebd5d;
    color: #fff;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.28);
}

.contact-action--wa-call {
    background: #128C7E;
    border-color: #0e7a6e;
    box-shadow: 0 6px 18px rgba(18, 140, 126, 0.28);
}

.contact-action--phone {
    background: var(--card, #fff);
    border-color: var(--line);
    color: var(--ink);
}

.contact-action__icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    font-size: 22px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    flex: 0 0 auto;
    color: #25D366;
}

.contact-action--wa .contact-action__icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.contact-action__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 2px;
    min-width: 0;
}

.contact-action__title {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
}

.contact-action__sub {
    font-size: 13px;
    opacity: 0.85;
}

.contact-action__chev {
    font-size: 26px;
    line-height: 1;
    opacity: 0.4;
    flex: 0 0 auto;
}

.contact-action--wa .contact-action__chev { opacity: 0.75; }
