/* ==========================================================================
   Торты НН — frontend.

   No Bootstrap, no jQuery, no build step: one stylesheet served straight from the
   web root. Interactivity that would normally cost a script (mobile menu, FAQ
   accordion) is done with <details>, so the site works with JavaScript switched
   off and there is nothing to block the first paint.

   Type: Onest, self-hosted. It is a variable font drawn Cyrillic-first, so Russian
   text is not an afterthought bolted onto a Latin design — and one 14 KB file
   covers every weight the site uses. No request ever leaves the server.
   ========================================================================== */

/* Two subsets, variable weight 100–900. The Cyrillic file is what nearly every
   visitor will actually download; Latin loads only when Latin glyphs appear. */
@font-face {
    font-family: "Onest";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/onest-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Onest";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/onest-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    /* Lets height/block-size animate to and from `auto` — used by the FAQ. */
    interpolate-size: allow-keywords;

    /* Palette. Cream is genuinely creamy (yellow-leaning), not the grey-beige that
       every template ships; the accent is sour-cherry rather than terracotta. */
    --cream: #fff9f2;
    --cream-deep: #fdf0e4;
    --surface: #ffffff;
    --ink: #2a1a1d;
    --ink-soft: #8a6f6a;
    --line: #f0e2d8;
    --cherry: #a8123c;
    --cherry-dark: #7d0d2c;
    --cherry-wash: #fdeef2;
    /* Pistachio: micro-indicators only — availability dots, checkmarks. Never a
       surface, never a heading. */
    --pistachio: #5c7a52;

    --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

    --radius: 10px;
    --radius-lg: 20px;
    --shadow: 0 1px 2px rgba(42, 26, 29, .04), 0 10px 30px -12px rgba(42, 26, 29, .18);
    --shadow-lift: 0 2px 4px rgba(42, 26, 29, .05), 0 20px 44px -16px rgba(42, 26, 29, .25);
    --container: 1180px;
    /* The trust strip and other full-bleed rows break out to this width. */
    --container-wide: 1400px;
    --gap: clamp(16px, 3vw, 28px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.14;
    /* Onest is fairly wide by default; pulling the tracking in at display sizes is
       what makes the headings read as designed rather than merely set. */
    letter-spacing: -.025em;
    margin: 0 0 .5em;
}

h1 { font-size: clamp(1.95rem, 1.2rem + 2.7vw, 3.15rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.15rem); }
h3 { font-size: clamp(1.12rem, 1rem + .6vw, 1.35rem); letter-spacing: -.015em; }

p { margin: 0 0 1.1rem; }

a { color: var(--cherry); text-decoration: none; }
a:hover, a:focus-visible { color: var(--cherry-dark); text-decoration: underline; }

:focus-visible {
    outline: 2px solid var(--cherry);
    outline-offset: 3px;
    border-radius: 3px;
}

img { max-width: 100%; height: auto; display: block; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.container--narrow { max-width: 760px; }

/* Breaks out past the reading column for rows that need the room. */
.container--wide { max-width: var(--container-wide); }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 100;
    padding: 12px 18px; background: var(--cherry); color: #fff;
    border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; text-decoration: none; }

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

/* Numerals ---------------------------------------------------------------
   Every figure the customer weighs a decision on: kg, ₽, guests, dates. Tabular
   figures keep columns of prices aligned; the tighter tracking stops long sums
   like "12 500 ₽" from sprawling. */

.num {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    letter-spacing: -.015em;
}

/* Header ------------------------------------------------------------------ */

.topbar {
    background: var(--ink);
    color: #f6e9e2;
    font-size: .84rem;
    letter-spacing: .01em;
}

.topbar__inner {
    display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: 6px 20px;
    min-height: 38px;
}

.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.topbar__hours { color: #c9aea6; }
.topbar__note { color: #c9aea6; }

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 30;
}

.site-header__inner {
    display: flex; align-items: center; gap: 14px;
    min-height: 58px;
}

/* Mark, then name with the city stacked under it — the city is a qualifier, not a
   second headline, so it sits below at a whisper. */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover, .brand:focus-visible { color: var(--cherry); text-decoration: none; }

.brand__mark { width: 34px; height: 34px; flex: 0 0 auto; }

.brand__text { display: flex; flex-direction: column; line-height: 1.05; }

.brand__name {
    font-size: 1.16rem; font-weight: 800; letter-spacing: -.03em;
}

.brand__city {
    margin-top: 2px;
    font-size: .625rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .14em;
    color: var(--ink-soft);
}

.site-header__spacer { flex: 1 1 auto; }

.site-header__phone {
    font-size: 1.02rem; font-weight: 700; color: var(--ink);
    letter-spacing: -.015em; white-space: nowrap;
}
.site-header__phone:hover { color: var(--cherry); text-decoration: none; }

/* Channel marks in the header ---------------------------------------------
   No labels: four recognisable logos say «напишите нам» faster than the words
   would, and naming one messenger in the header picks the channel for the
   visitor instead of letting them pick it. */

.header-social {
    display: flex; align-items: center; gap: 6px;
    margin: 0; padding: 0; list-style: none;
    flex: 0 0 auto;
}

.header-social__link {
    display: grid; place-items: center;
    width: 38px; height: 38px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.header-social__link:hover, .header-social__link:focus-visible {
    border-color: var(--channel);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgb(43 26 26 / 9%);
    text-decoration: none;
}

.header-social__logo { width: 22px; height: 22px; display: block; }

.header-social__mark {
    display: grid; place-items: center;
    width: 22px; height: 22px;
    border-radius: 6px;
    background: var(--channel);
    color: #fff;
    font-size: .76rem; font-weight: 800; line-height: 1;
}

/* Primary nav — a horizontal rail of categories under the header. */

.catnav { background: var(--cream-deep); border-bottom: 1px solid var(--line); }

.catnav__list {
    display: flex; flex-wrap: wrap; gap: 2px;
    margin: 0; padding: 6px 0; list-style: none;
}

.catnav__link {
    display: block; padding: 8px 14px; border-radius: 999px;
    color: var(--ink); font-size: .93rem; font-weight: 500;
}
.catnav__link:hover, .catnav__link:focus-visible {
    background: var(--surface); color: var(--cherry-dark); text-decoration: none;
}
.catnav__link[aria-current="page"] {
    background: var(--cherry); color: #fff;
}

/* Mobile menu — a <details> element, so no script is needed to open it. */

.menu-toggle { display: none; }

.menu-toggle > summary {
    list-style: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px;
    font-weight: 600; font-size: .93rem;
}
.menu-toggle > summary::-webkit-details-marker { display: none; }
.menu-toggle > summary::before {
    content: ""; width: 16px; height: 2px; background: var(--ink);
    box-shadow: 0 5px 0 var(--ink), 0 -5px 0 var(--ink);
}
.menu-toggle[open] > summary::before {
    box-shadow: none; transform: rotate(45deg);
}

.menu-toggle__panel {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 8px 0 18px;
}

.menu-toggle__list { list-style: none; margin: 0; padding: 0; }
.menu-toggle__list a {
    display: block; padding: 11px 20px; color: var(--ink); font-weight: 500;
    border-bottom: 1px solid var(--line);
}
.menu-toggle__list a:hover { background: var(--cherry-wash); text-decoration: none; }

/* Main -------------------------------------------------------------------- */

.site-main { flex: 1 0 auto; padding: 0 0 72px; }

.section { margin: clamp(44px, 7vw, 76px) 0 0; }
.section--tight { margin-top: clamp(28px, 4vw, 44px); }

.section__head {
    display: flex; flex-wrap: wrap; align-items: baseline;
    justify-content: space-between; gap: 8px 24px; margin-bottom: 24px;
}
.section__head h2 { margin: 0; }
.section__head a { font-size: .95rem; font-weight: 600; }

.eyebrow {
    display: block; margin: 0 0 10px;
    font-size: .74rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .18em;
    color: var(--cherry);
}

.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 62ch; }

.breadcrumbs {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin: 18px 0 22px; padding: 0; list-style: none;
    font-size: .86rem; color: var(--ink-soft);
}
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--cherry); }
.breadcrumbs li + li::before { content: "→"; margin-right: 6px; color: #d9c3b6; }

/* Buttons ----------------------------------------------------------------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 14px 28px; border: 1px solid transparent; border-radius: 999px;
    font-weight: 600; font-size: 1rem; line-height: 1.2;
    cursor: pointer; text-align: center;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease,
                transform .15s ease, box-shadow .15s ease;
}
.btn:hover, .btn:focus-visible { text-decoration: none; }

.btn--primary { background: var(--cherry); color: #fff; }
.btn--primary:hover, .btn--primary:focus-visible {
    background: var(--cherry-dark); color: #fff;
    transform: translateY(-1px); box-shadow: var(--shadow-lift);
}

.btn--ghost { border-color: #e3cfc4; background: transparent; color: var(--ink); }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--cherry); color: var(--cherry); }

.btn--white { background: var(--surface); color: var(--ink); }
.btn--white:hover, .btn--white:focus-visible { background: var(--cream-deep); color: var(--cherry-dark); }

.btn--sm { padding: 10px 20px; font-size: .92rem; }
.btn--block { width: 100%; }

/* Flash ------------------------------------------------------------------- */

.flash {
    margin: 18px 0; padding: 14px 18px; border-radius: var(--radius);
    border: 1px solid transparent; font-size: .95rem;
}
.flash--success { background: #eef7f0; border-color: #cfe6d6; color: #275c3c; }
.flash--info    { background: #eef3fa; border-color: #d2e0f0; color: #24507d; }
.flash--warning { background: #fdf4e6; border-color: #f2dfba; color: #7a5615; }
.flash--error   { background: var(--cherry-wash); border-color: #f2c8d3; color: var(--cherry-dark); }

/* Hero -------------------------------------------------------------------- */

.hero {
    display: grid; gap: clamp(24px, 4vw, 42px);
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    padding: clamp(32px, 5vw, 64px) 0 clamp(24px, 4vw, 40px);
}

.hero__title { margin-bottom: 18px; text-wrap: balance; }
.hero__title em { font-style: normal; color: var(--cherry); }

.hero__lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 46ch; margin-bottom: 26px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

.hero__media { position: relative; }

.hero__photo {
    width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lift);
    background: var(--cream-deep);
}

/* Price tag pinned to the photo — the one piece of visual bravado on the page. */
/* Both children get an explicit line-height and the spacing between them comes from
   `gap`, not from leading. Left inline, the caption inherits body's 1.6 — at .74rem
   that is ~4px of half-leading above and below, which opens a gap under the price
   and makes the bottom padding read larger than the top even though both are equal. */
.hero__tag {
    position: absolute; right: -14px; top: 22px;
    display: flex; flex-direction: column; gap: 3px;
    padding: 12px 18px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 14px; box-shadow: var(--shadow-lift);
}

.hero__tag b {
    font-variant-numeric: tabular-nums;
    font-size: 1.3rem; font-weight: 800;
    letter-spacing: -.03em; line-height: 1.15;
}

.hero__tag span {
    font-size: .74rem; line-height: 1.25; color: var(--ink-soft);
    white-space: nowrap;
}

/* The confectioner. The artwork is an illustration, so it gets a round frame and a
   caption — presenting a drawing as though it were a photo of the kitchen would be
   a small lie on a page whose whole pitch is "these are our real cakes". */
.hero__author {
    position: absolute; left: -14px; bottom: 22px;
    display: flex; align-items: center; gap: 10px;
    /* Left padding equals the ring's own inset, so the avatar is optically centred
       in the pill rather than pushed against its edge. */
    margin: 0; padding: 7px 20px 7px 7px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 999px; box-shadow: var(--shadow-lift);
}

.hero__author-photo {
    width: 46px; height: 46px; flex: 0 0 auto;
    border-radius: 50%; object-fit: cover;
    background: var(--cherry-wash);
}

/* Same rhythm as the price tag: fixed line-heights, spacing from `gap`. */
.hero__author-text { display: flex; flex-direction: column; gap: 2px; }
.hero__author-text b {
    font-size: .9rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15;
}
.hero__author-text span {
    font-size: .74rem; line-height: 1.25; color: var(--ink-soft); white-space: nowrap;
}

/* Weight scale — the signature element.
   Cakes are sold by weight, and the question every customer actually asks is
   "how much do I need for N people". Competitors bury this in a FAQ; here it is
   the first thing on the page, doubling as the answer to a real search query. */

.scale {
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

.scale__label {
    font-size: .76rem; text-transform: uppercase; letter-spacing: .14em;
    color: var(--ink-soft); margin: 0 0 14px;
}

.scale__track {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0; list-style: none; margin: 0; padding: 0;
}

.scale__step {
    position: relative; padding: 18px 8px 0 0;
    border-top: 2px solid var(--line);
}
.scale__step::before {
    content: ""; position: absolute; top: -5px; left: 0;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--cherry);
}
.scale__step:not(:first-child)::before { background: #e0c4b8; }

.scale__kg {
    display: block; font-variant-numeric: tabular-nums;
    font-size: 1.25rem; font-weight: 700; line-height: 1;
}
.scale__guests { display: block; font-size: .8rem; color: var(--ink-soft); margin-top: 3px; }

/* Trust strip ------------------------------------------------------------- */

/* Four facts on one line. Given a wide container it fits without wrapping, which
   is the whole point — a trust strip that breaks into two rows reads as filler. */
/* Колонок ровно столько, сколько пунктов. Жёсткие `repeat(4, …)` держались на том,
   что пунктов всегда четыре, — и на странице доставки, где их три, справа зияла
   пустая ячейка. */
.trust {
    display: grid; gap: 1px; background: var(--line);
    border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
    grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
}

.trust__item { background: var(--surface); padding: 18px 20px; }

.trust__value {
    font-size: 1.34rem; font-weight: 800; line-height: 1.15; display: block;
    letter-spacing: -.025em; margin-bottom: 2px;
}

.trust__label { font-size: .84rem; line-height: 1.4; color: var(--ink-soft); display: block; }

/* На узком экране колонки становятся строками, поэтому auto-flow надо вернуть в
   row — иначе grid-template-columns конфликтует с ним и раскладка не меняется. */
@media (max-width: 860px) {
    .trust { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 460px) {
    .trust { grid-auto-flow: row; grid-template-columns: 1fr; }
}

/* Cards ------------------------------------------------------------------- */

.grid { display: grid; gap: var(--gap); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* Exactly two columns, not auto-fill: every use of this is "copy on the left, form
   on the right". auto-fill would fit a third track on a wide screen and leave the
   pair huddled against the left edge with a gap where nothing goes. */
.grid--2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
}

/* The order form does not need to be as wide as the text beside it. */
.grid--2--form { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); }

@media (max-width: 900px) {
    .grid--2, .grid--2--form { grid-template-columns: minmax(0, 1fr); }
}

.card {
    display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: #e6d1c5; }

.card__media { display: block; position: relative; background: var(--cream-deep); }
.card__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.card--wide .card__img { aspect-ratio: 3 / 2; }

.card__placeholder {
    width: 100%; aspect-ratio: 4 / 5;
    display: grid; place-items: center;
    background: linear-gradient(150deg, var(--cream-deep), var(--cherry-wash));
    color: #c9a596; font-size: 2.4rem;
}
.card--wide .card__placeholder { aspect-ratio: 3 / 2; }

.card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1 1 auto; }

.card__title { font-size: 1.08rem; margin: 0 0 6px; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--cherry); text-decoration: none; }

.card__text { font-size: .92rem; color: var(--ink-soft); margin: 0; }

.card__foot {
    margin-top: auto; display: flex; align-items: baseline;
    justify-content: space-between; gap: 10px;
}

.card__price {
    font-variant-numeric: tabular-nums;
    font-weight: 700; font-size: 1.06rem;
}
.card__meta { font-size: .82rem; color: var(--ink-soft); }

/* Category tile — bigger, photo-led, used on the home page. */

.tile { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; }
.tile__img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s ease; }
.tile:hover .tile__img { transform: scale(1.04); }
.tile__placeholder {
    width: 100%; aspect-ratio: 1 / 1;
    background: linear-gradient(150deg, var(--cream-deep), var(--cherry-wash));
}
.tile__overlay {
    position: absolute; inset: auto 0 0 0;
    padding: 44px 18px 16px;
    background: linear-gradient(to top, rgba(42, 26, 29, .82), rgba(42, 26, 29, 0));
    color: #fff;
}
.tile__name { font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; display: block; }
.tile__price {
    font-size: .84rem; color: #f0d5cd;
}
.tile:hover { text-decoration: none; }

/* Steps — a genuine sequence, so the numbers carry information. */

.steps { counter-reset: step; display: grid; gap: var(--gap); }
.steps { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.step { position: relative; padding-top: 46px; }
.step::before {
    counter-increment: step; content: counter(step);
    position: absolute; top: 0; left: 0;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--cherry-wash); color: var(--cherry);
    display: grid; place-items: center;
    font-weight: 700; font-size: 1.05rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

/* Filling menu — dot leaders, the way a bakery prints its card. */

.menu-list { list-style: none; margin: 0; padding: 0; }

.menu-list__item {
    display: flex; align-items: baseline; gap: 8px;
    padding: 13px 0; border-bottom: 1px dashed var(--line);
}
.menu-list__name { font-weight: 600; }
.menu-list__desc { color: var(--ink-soft); font-size: .9rem; }
.menu-list__dots {
    flex: 1 1 auto; border-bottom: 1px dotted #dcc7bb;
    transform: translateY(-4px); min-width: 24px;
}
.menu-list__price {
    font-variant-numeric: tabular-nums;
    font-size: .95rem; color: var(--ink-soft); white-space: nowrap;
}
.menu-list__price--free { color: var(--pistachio); }

/* Prose — editor HTML from the database. --------------------------------- */

.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1rem; }
.prose li { margin-bottom: .45em; }
.prose img { border-radius: var(--radius); margin: 1.4rem 0; }
.prose blockquote {
    margin: 1.6rem 0; padding: 4px 0 4px 20px;
    border-left: 3px solid var(--cherry); color: var(--ink-soft); font-style: italic;
}
.prose table {
    width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .95rem;
}
.prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--cream-deep); font-weight: 600; }

.prose--wide { max-width: none; }

/* SEO copy at the bottom of a landing page: present, readable, not shouting. */
.seo-text {
    margin-top: clamp(44px, 6vw, 72px);
    padding-top: 32px; border-top: 1px solid var(--line);
    color: #4b3a36; font-size: .97rem;
}
.seo-text h2, .seo-text h3 { color: var(--ink); }

/* Product page ------------------------------------------------------------ */

.product {
    display: grid; gap: clamp(24px, 4vw, 52px);
    /* The photo column is the wider one: it is what the visitor came to look at,
       and the specs beside it are short lines that do not need the room. */
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: start;
    margin-bottom: clamp(32px, 5vw, 56px);
}

/* Follows the specs down instead of leaving a hole under the gallery — the two
   columns are never the same height and the right one always wins. */
.product__media { position: sticky; top: 74px; }

.product__info > .prose { margin-bottom: 20px; }

.product__actions {
    display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0;
}

/* Gallery ----------------------------------------------------------------- */

.gallery__main-link { display: block; position: relative; }

.gallery__main {
    width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
    border-radius: var(--radius-lg); box-shadow: var(--shadow);
    background: var(--cream-deep);
}

.gallery__zoom {
    position: absolute; right: 14px; bottom: 14px;
    padding: 7px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .94); color: var(--ink);
    font-size: .8rem; font-weight: 600;
    box-shadow: var(--shadow);
    opacity: 0; transform: translateY(4px);
    transition: opacity .2s ease, transform .2s ease;
}

.gallery__main-link:hover .gallery__zoom,
.gallery__main-link:focus-visible .gallery__zoom { opacity: 1; transform: none; }

.gallery__thumbs {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 10px; margin-top: 10px; list-style: none; padding: 0;
}

.gallery__thumb-link { display: block; }

.gallery__thumb {
    width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
    border-radius: var(--radius); border: 1px solid var(--line);
    transition: border-color .15s ease, transform .15s ease;
}

.gallery__thumb-link:hover .gallery__thumb,
.gallery__thumb-link:focus-visible .gallery__thumb {
    border-color: var(--cherry); transform: translateY(-2px);
}

/* Full-screen viewer -------------------------------------------------------
   Driven by :target, upgraded by js/lightbox.js. `visibility` rather than
   `display` so it can fade, and so the links inside stay out of the tab order
   while it is closed.

   z-index has to clear the sticky header (30) — and the markup has to live outside
   the sticky gallery column, because a sticky ancestor creates a stacking context
   that would trap this overlay underneath the header regardless of z-index. */

.lightbox {
    position: fixed; inset: 0; z-index: 200;
    display: grid; place-items: center;
    padding: clamp(16px, 4vw, 48px);
    background: rgba(28, 16, 19, .94);
    opacity: 0; visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
}

/* `:target` is the no-JS path; `.is-open` is what the script toggles, so closing
   never has to touch the hash and never scrolls the page. */
.lightbox:target,
.lightbox.is-open { opacity: 1; visibility: visible; }

/* Once the script is in charge, :target must stop competing with it — otherwise a
   stale hash would keep the first slide visible behind the one being shown. */
.js-lightbox .lightbox:target:not(.is-open) { opacity: 0; visibility: hidden; }

/* The page must not scroll under the photo. */
.is-lightbox-open, .is-lightbox-open body { overflow: hidden; }

.lightbox__backdrop { position: absolute; inset: 0; cursor: zoom-out; }

.lightbox__figure {
    position: relative; margin: 0;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    max-height: 100%;
}

.lightbox__img {
    max-width: min(100%, 1100px);
    max-height: calc(100vh - 150px);
    width: auto; height: auto;
    border-radius: var(--radius);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
}

.lightbox__caption {
    display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
    justify-content: center;
    color: #e8d8d2; font-size: .88rem; text-align: center;
}
.lightbox__caption .num { color: #b39b95; }

.lightbox__close,
.lightbox__nav {
    position: absolute; z-index: 2;
    display: grid; place-items: center;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff; line-height: 1;
    transition: background-color .15s ease;
}

.lightbox__close:hover, .lightbox__nav:hover,
.lightbox__close:focus-visible, .lightbox__nav:focus-visible {
    background: rgba(255, 255, 255, .26); color: #fff; text-decoration: none;
}

.lightbox__close { top: 18px; right: 18px; font-size: 1.7rem; }

.lightbox__nav { top: 50%; margin-top: -23px; font-size: 2rem; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

/* Touch screens: the arrows move to the bottom where a thumb reaches them, and the
   photo gets the height back. Swiping works too — see js/lightbox.js. */
@media (max-width: 640px) {
    .lightbox { padding: 12px; }
    .lightbox__nav {
        top: auto; bottom: 16px; margin-top: 0;
        width: 52px; height: 52px;
        background: rgba(255, 255, 255, .18);
    }
    .lightbox__nav--prev { left: 12px; }
    .lightbox__nav--next { right: 12px; }
    .lightbox__close { top: 12px; right: 12px; width: 44px; height: 44px; }
    .lightbox__img { max-height: calc(100dvh - 200px); }
    .lightbox__caption { padding: 0 68px; font-size: .82rem; }
}

/* Pointer devices get a hint that the arrows are clickable targets, not decoration. */
@media (hover: hover) {
    .lightbox__nav, .lightbox__close { backdrop-filter: blur(2px); }
}

.spec { list-style: none; margin: 22px 0; padding: 0; border-top: 1px solid var(--line); }
.spec__row {
    display: flex; align-items: baseline; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid var(--line);
}
.spec__key { flex: 0 0 42%; color: var(--ink-soft); font-size: .92rem; }
.spec__value { flex: 1 1 auto; font-weight: 500; }

.price-block {
    display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
    margin: 4px 0 18px;
}
.price-block__value {
    font-variant-numeric: tabular-nums;
    font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 700; line-height: 1;
}
.price-block__note { color: var(--ink-soft); font-size: .9rem; }

/* Order form -------------------------------------------------------------- */

.order-form {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px);
    box-shadow: var(--shadow);
}

.order-form--accent {
    background: linear-gradient(155deg, var(--cherry-wash), var(--surface) 62%);
}

.order-form__title { margin-bottom: 6px; }
.order-form__note { color: var(--ink-soft); font-size: .93rem; margin-bottom: 20px; }

.field { margin-bottom: 16px; }
.field__label {
    display: block; margin-bottom: 6px;
    font-size: .86rem; font-weight: 600; color: #5a4540;
}

.field__control {
    width: 100%; padding: 12px 15px;
    border: 1px solid #e3cfc4; border-radius: var(--radius);
    background: var(--surface); color: var(--ink);
    font-size: 1rem; line-height: 1.4;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field__control:focus {
    outline: none; border-color: var(--cherry);
    box-shadow: 0 0 0 3px var(--cherry-wash);
}
textarea.field__control { min-height: 108px; resize: vertical; }

.field__error { display: block; margin-top: 5px; font-size: .84rem; color: var(--cherry-dark); }
.field__hint  { display: block; margin-top: 5px; font-size: .82rem; color: var(--ink-soft); }

.field-row { display: grid; gap: 0 16px; grid-template-columns: 1fr 1fr; }

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.field--trap {
    position: absolute; left: -9999px; width: 1px; height: 1px;
    overflow: hidden; opacity: 0;
}

.consent { font-size: .82rem; color: var(--ink-soft); margin: 14px 0 0; }

/* Reviews ----------------------------------------------------------------- */

.review {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 22px 24px;
    display: flex; flex-direction: column;
}
.review__head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 10px;
}
.review__author { font-weight: 700; }
.review__date { font-size: .82rem; color: var(--ink-soft); }
.review__text { margin: 0 0 12px; font-size: .96rem; }
.review__source { margin-top: auto; font-size: .8rem; color: var(--ink-soft); }
.review__photo { border-radius: var(--radius); margin-bottom: 12px; }

.stars { color: var(--cherry); letter-spacing: 2px; font-size: .95rem; }
.stars span { color: #e2cdc2; }

.rating-summary {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 26px;
}
.rating-summary__value {
    font-variant-numeric: tabular-nums;
    font-size: 2.6rem; font-weight: 700; line-height: 1;
}

/* FAQ — native <details>, no script. --------------------------------------

   Opening and closing are animated in CSS. `::details-content` plus
   `interpolate-size: allow-keywords` (set on :root) lets the panel transition to
   and from `auto` height in both directions. Where that selector is unsupported,
   the @supports block below falls back to an open-only reveal — the accordion
   still works, it just snaps shut instead of sliding. */

.faq { border-top: 1px solid var(--line); }

.faq__item { border-bottom: 1px solid var(--line); }

.faq__item > summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; gap: 14px;
    padding: 18px 0; font-weight: 600; font-size: 1.02rem;
    transition: color .18s ease;
}
.faq__item > summary::-webkit-details-marker { display: none; }

/* Chevron: rotates 180° on open, so the state change is a movement rather than a
   glyph swap. */
.faq__item > summary::after {
    content: ""; margin-left: auto; flex: 0 0 auto;
    width: 9px; height: 9px; margin-right: 4px;
    border-right: 2px solid var(--cherry);
    border-bottom: 2px solid var(--cherry);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.faq__item[open] > summary::after {
    transform: rotate(225deg) translate(-2px, -2px);
}
.faq__item > summary:hover { color: var(--cherry-dark); }

.faq__answer { padding: 0 0 20px; color: #4b3a36; max-width: 76ch; }
.faq__answer > :last-child { margin-bottom: 0; }

@supports selector(::details-content) {
    .faq__item::details-content {
        block-size: 0;
        overflow: hidden;
        opacity: 0;
        transition:
            block-size .32s cubic-bezier(.4, 0, .2, 1),
            opacity .24s ease,
            content-visibility .32s allow-discrete;
        transition-behavior: allow-discrete;
    }

    .faq__item[open]::details-content {
        block-size: auto;
        opacity: 1;
    }
}

@supports not selector(::details-content) {
    .faq__item[open] > .faq__answer { animation: faq-reveal .3s cubic-bezier(.4, 0, .2, 1); }
}

@keyframes faq-reveal {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

/* Blog --------------------------------------------------------------------
   The article used to be a 74ch column pinned to the left of an 1180px container,
   which left a third of the page empty for its whole height. Now the leftover
   space carries the category links and a way to get in touch — useful to the
   reader, and internal linking out of the blog into the commercial pages, which
   is the only reason a bakery runs a blog at all. */

.article-layout {
    display: grid;
    gap: clamp(28px, 4vw, 56px);
    grid-template-columns: minmax(0, 1fr) 290px;
    align-items: start;
}

.article { max-width: 74ch; min-width: 0; }

.article-aside__inner { position: sticky; top: 74px; display: grid; gap: 16px; }

.article-aside__box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
}

.article-aside__box--cta { background: linear-gradient(155deg, var(--cherry-wash), var(--surface) 70%); }

.article-aside__title {
    margin: 0 0 12px;
    font-size: .74rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .14em;
    color: var(--ink-soft);
}

.article-aside__list { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.article-aside__list li { margin-bottom: 8px; }
.article-aside__list li:last-child { margin-bottom: 0; }

.article-aside__text { font-size: .92rem; color: var(--ink-soft); margin-bottom: 14px; }

.article-aside__phone { margin: 12px 0 0; text-align: center; font-size: 1.02rem; font-weight: 700; }
.article-aside__phone a { color: var(--ink); }

@media (max-width: 900px) {
    .article-layout { grid-template-columns: minmax(0, 1fr); }
    .article-aside__inner { position: static; }
}

/* Illustrations placed in the text with #{image:N}. */

.prose-figure { margin: 1.8rem 0; }

.prose-figure__img {
    width: 100%; height: auto;
    border-radius: var(--radius);
    background: var(--cream-deep);
}

.prose-figure__caption {
    margin-top: 10px;
    font-size: .86rem;
    color: var(--ink-soft);
    text-align: center;
}
.article__meta { color: var(--ink-soft); font-size: .88rem; margin-bottom: 18px; }
.article__cover { border-radius: var(--radius-lg); margin-bottom: 28px; width: 100%; }

/* Pagination -------------------------------------------------------------- */

.pagination {
    display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
    list-style: none; margin: 40px 0 0; padding: 0;
}
/* Кнопкой оформляется и <a>, и <span>. LinkPager отдаёт неактивную стрелку как
   <li class="prev disabled"><span>←</span></li> — без ссылки внутри. Правило только
   на `li a` её не задевало, и на краю списка вместо кнопки болтался голый символ.
   По той же причине `li.disabled a` не срабатывало никогда: этого `a` там нет. */
.pagination li a,
.pagination li span {
    display: block; min-width: 42px; padding: 9px 12px; text-align: center;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--surface); color: var(--ink);
    line-height: 1.2;
}
.pagination li a:hover,
.pagination li a:focus-visible { border-color: var(--cherry); color: var(--cherry); text-decoration: none; }

.pagination li.active a { background: var(--cherry); border-color: var(--cherry); color: #fff; }

/* Неактивная кнопка остаётся кнопкой: та же рамка и размер, но приглушённая и
   некликабельная. Так видно, что край списка достигнут, а не что вёрстка поехала. */
.pagination li.disabled a,
.pagination li.disabled span {
    background: var(--cream-deep); color: var(--ink-soft);
    border-color: var(--line); opacity: .65;
    cursor: default; pointer-events: none;
}

/* Callout ----------------------------------------------------------------- */

.callout {
    background: var(--ink); color: #f7ece6;
    border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 46px);
    display: grid; gap: 22px; align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
}
.callout h2 { color: #fff; margin-bottom: 8px; }
.callout p { margin: 0; color: #d9c2ba; }

/* Contacts ---------------------------------------------------------------- */

.contact-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.contact-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 22px 24px;
}
.contact-card__label {
    font-size: .76rem; text-transform: uppercase; letter-spacing: .14em;
    color: var(--ink-soft); margin: 0 0 8px;
}
.contact-card__value { font-size: 1.2rem; font-weight: 700; margin: 0; }
.contact-card__value a { color: var(--ink); }
.contact-card__value a:hover { color: var(--cherry); }

/* Price table ------------------------------------------------------------- */

.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td {
    padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left;
}
.price-table th { background: var(--cream-deep); font-size: .88rem; font-weight: 600; }
.price-table td:last-child, .price-table th:last-child { text-align: right; }
.price-table .num { font-weight: 700; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Empty state ------------------------------------------------------------- */

.empty {
    text-align: center; padding: 48px 20px;
    border: 1px dashed var(--line); border-radius: var(--radius-lg);
    color: var(--ink-soft);
}

/* Error page -------------------------------------------------------------- */

.site-error { max-width: 640px; margin: 0 auto; padding: 64px 0; text-align: center; }
.site-error__code {
    margin: 0; font-variant-numeric: tabular-nums;
    font-size: clamp(4rem, 16vw, 7rem); font-weight: 700; line-height: 1; color: #e9d5c9;
}
.site-error__title { margin: 8px 0 14px; }
.site-error__text { color: var(--ink-soft); margin-bottom: 28px; }

/* Footer ------------------------------------------------------------------ */

.site-footer {
    margin-top: auto; background: var(--ink); color: #cbb2aa;
    padding: 48px 0 28px; font-size: .93rem;
}

.site-footer a { color: #f0e2dc; }
.site-footer a:hover { color: #fff; }

.site-footer__grid {
    display: grid; gap: 30px var(--gap);
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.site-footer__title {
    font-size: .76rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .16em; color: #8f736b;
    margin: 0 0 14px;
}

.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer__list li { margin-bottom: 8px; }

.site-footer__brand { font-size: 1.35rem; color: #fff; margin: 0 0 10px; }

.site-footer__bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
    padding-top: 22px; font-size: .84rem; color: #8f736b;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 960px) {
    .hero { grid-template-columns: 1fr; padding-top: 24px; }
    .hero__media { order: -1; }
    .hero__photo { aspect-ratio: 3 / 2; }
    .hero__tag { right: 14px; top: 14px; }
    .hero__author { left: 14px; bottom: 14px; }
    .product { grid-template-columns: 1fr; }
    /* Sticky is pointless once the columns stack — it would pin the photo over the
       specs the visitor is trying to read. */
    .product__media { position: static; }
    .callout { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
    .catnav { display: none; }
    .menu-toggle { display: block; }
    .site-header { position: static; }
    .site-header__inner { position: relative; min-height: 66px; }
    .site-header__phone { font-size: 1.02rem; }
    .brand__city { display: none; }
    .scale__track { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
    .field-row { grid-template-columns: 1fr; }

    /* The strip carries hours and the delivery area — both fit a phone if they
       stack, and neither is worth a line of its own above the logo. */
    .topbar__inner { justify-content: center; gap: 2px 14px; text-align: center; }

    /* The header stops being sticky here, so the marks have to stay reachable in
       the flow rather than shrink out of the way. */
    .header-social { gap: 4px; }
    .header-social__link { width: 34px; height: 34px; border-radius: 9px; }
    .header-social__logo { width: 20px; height: 20px; }
}

@media (max-width: 480px) {
    body { font-size: 16px; }
    .grid--4 { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .card__body { padding: 13px 14px 16px; }
    .card__title { font-size: .98rem; }
    .spec__key { flex-basis: 50%; }
    .site-main { padding-bottom: 48px; }

    /* Brand, phone and the burger already fill a 360px row; squeezing four more
       tap targets in beside them would make every one of them too small to hit.
       On its own line the marks get the full width instead. */
    .site-header__inner { flex-wrap: wrap; padding-bottom: 10px; }
    .site-header__spacer { display: none; }
    .brand { margin-right: auto; }
    .header-social { order: 3; width: 100%; gap: 8px; }
    .header-social__link { flex: 1 1 0; max-width: 76px; }
}

@media print {
    .topbar, .catnav, .menu-toggle, .order-form, .site-footer { display: none; }
}

/* Page cover ------------------------------------------------------------- */

.page-cover {
    margin: 0 0 clamp(24px, 4vw, 40px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--cream-deep);
    box-shadow: var(--shadow);
}

.page-cover img { width: 100%; height: auto; display: block; }

/* Weight / price variants ------------------------------------------------- */

.options {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 22px;
    font-size: .95rem;
}

.options th {
    padding: 8px 12px 8px 0;
    border-bottom: 1px solid var(--line);
    font-size: .74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ink-soft);
    text-align: left;
}

.options td {
    padding: 12px 12px 12px 0;
    border-bottom: 1px solid var(--line);
    vertical-align: baseline;
}

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

.options__label { font-weight: 700; white-space: nowrap; }
.options__serves { color: var(--ink-soft); font-size: .9rem; }

.options th:last-child,
.options td:last-child { padding-right: 0; text-align: right; }

.options__price { font-weight: 700; white-space: nowrap; }

/* Contact block -----------------------------------------------------------
   Messengers are the primary call to action, the phone is a line of text, and
   the form is folded away. Ordering matches how people actually get in touch —
   and folding the form removes the tall-column-next-to-short-column gap the old
   two-column layout always produced. */

.contact {
    background: linear-gradient(155deg, var(--cherry-wash), var(--surface) 68%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 40px);
    box-shadow: var(--shadow);
}

.contact__head { max-width: 62ch; }
.contact__title { margin-bottom: 8px; }
.contact__lead { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 22px; }

.channels {
    display: grid; gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    margin: 0 0 18px; padding: 0; list-style: none;
}

/* One shape for every channel, with the brand colour used as an accent rather
   than a fill: four saturated buttons in a row would fight the page and each
   other, and the cherry accent would lose. */
.channel {
    display: flex; align-items: center; gap: 12px;
    height: 100%;
    padding: 13px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.channel:hover, .channel:focus-visible {
    border-color: var(--channel);
    color: var(--ink);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Real brand logo where the project ships one — all four channels do; a lettermark
   in the brand colour for anything added later without a file. Borrowing another
   company's mark for a channel we have no asset for would be worse than a letter. */
.channel__logo { width: 22px; height: 22px; flex: 0 0 auto; }

.channel__mark {
    width: 22px; height: 22px; flex: 0 0 auto;
    display: grid; place-items: center;
    border-radius: 6px;
    background: var(--channel);
    color: #fff;
    font-size: .78rem; font-weight: 800; line-height: 1;
}

.channel__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.channel__text b { font-size: .98rem; font-weight: 700; letter-spacing: -.015em; }
.channel__text span { font-size: .78rem; color: var(--ink-soft); }

.contact__phone {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px;
    margin: 0; font-size: .95rem; color: var(--ink-soft);
}
.contact__phone a { font-size: 1.08rem; font-weight: 700; color: var(--ink); }
.contact__phone a:hover { color: var(--cherry); text-decoration: none; }
.contact__hours { font-size: .85rem; }

/* Folded form ------------------------------------------------------------- */

.contact__form { margin-top: 20px; border-top: 1px solid var(--line); }

.contact__form > summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; gap: 10px;
    padding: 16px 0 0;
    font-size: .93rem; font-weight: 600; color: var(--cherry);
}
.contact__form > summary::-webkit-details-marker { display: none; }
.contact__form > summary::after {
    content: ""; flex: 0 0 auto;
    width: 8px; height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .25s ease;
}
.contact__form[open] > summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.contact__form > summary:hover { color: var(--cherry-dark); }

.contact__form-body { padding-top: 18px; max-width: 620px; }

/* Inside the contact block the form has no card of its own. */
.order-form--bare {
    background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none;
}

@supports selector(::details-content) {
    .contact__form::details-content {
        block-size: 0; overflow: hidden; opacity: 0;
        transition: block-size .3s cubic-bezier(.4, 0, .2, 1), opacity .25s ease,
            content-visibility .3s allow-discrete;
        transition-behavior: allow-discrete;
    }
    .contact__form[open]::details-content { block-size: auto; opacity: 1; }
}
