/* design B «Тёплый дом», palette «Белый и олива» — Figma «Дизайн B — компоненты» */
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/static/fonts/manrope-cyrillic-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/static/fonts/manrope-latin-ext-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/static/fonts/manrope-latin-wght-normal.woff2) format("woff2-variations"); 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; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-display: swap; font-weight: 600; src: url(/static/fonts/cormorant-garamond-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-display: swap; font-weight: 600; src: url(/static/fonts/cormorant-garamond-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-display: swap; font-weight: 600; src: url(/static/fonts/cormorant-garamond-latin-600-normal.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; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-display: swap; font-weight: 700; src: url(/static/fonts/cormorant-garamond-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-display: swap; font-weight: 700; src: url(/static/fonts/cormorant-garamond-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-display: swap; font-weight: 700; src: url(/static/fonts/cormorant-garamond-latin-700-normal.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 {
  --green: #3f6b4f;          /* primary: buttons, links */
  --green-dark: #33583f;
  --green-tint: #eef0e6;     /* olive plates and bands */
  --sage: #e2e8d5;           /* chips, labels */
  --accent: #a85a3a;         /* terracotta: caps labels, numbers */
  --ink: #1d201a;
  --muted: #5e6258;
  --line: #e4e6de;
  --field-border: #cfd3c6;
  --bg: #fff;
  --card: #fff;
  --warn: #7a4a00;
  --warn-bg: #fff6e5;
  --radius: 20px;
  --radius-img: 16px;
  --radius-field: 12px;
  --shadow: 0 8px 24px rgba(43, 39, 34, .06);
  --shadow-hover: 0 14px 32px rgba(43, 39, 34, .1);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.875rem); }
h3 { font-size: 1.625rem; font-weight: 700; line-height: 1.15; }
p { margin: 0 0 1em; }
code { background: var(--green-tint); padding: .1em .35em; border-radius: 6px; font-size: .92em; }
.wrap { max-width: 1232px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.125rem; line-height: 1.6; color: var(--muted); }
.caps { display: inline-block; font: 600 .75rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 .9em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 10; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid rgba(63, 107, 79, .45); outline-offset: 2px; }

/* header */
.top { background: #fff; border-bottom: 1px solid var(--line); }
.cart-link { font-weight: 600; }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 8px; font: 600 1.75rem/1 var(--serif); letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.logo { min-width: 0; }
.logo img { display: block; height: 48px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
@media (max-width: 719px) { .logo img { height: 40px; } }
.menu-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.menu-btn { display: none; }
.btn__short { display: none; }
.nav { display: flex; align-items: center; gap: 4px 28px; flex-wrap: wrap; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 8px 0; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--green); }
.badge { display: inline-block; min-width: 1.4em; padding: 0 .4em; border-radius: 99px; background: var(--green); color: #fff; font-size: .78rem; font-weight: 700; text-align: center; line-height: 1.5em; }
.badge[hidden] { display: none; }
.partner-bar { background: #fff; border-top: 1px solid var(--line); font-size: .875rem; }
.partner-bar__in { display: flex; align-items: center; gap: 10px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.partner-bar__in > div:nth-child(2) { display: flex; flex-direction: column; line-height: 1.35; }
.partner-bar__contacts { margin-left: auto; display: flex; gap: 16px; font-weight: 600; }
.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid var(--green);
  background: var(--green); color: #fff; font: 600 .95rem/1.1 var(--sans);
  text-decoration: none; cursor: pointer; min-height: 48px; transition: background-color .15s, border-color .15s;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--sage); color: var(--ink); border-color: var(--ink); }
.btn--sm { padding: 10px 18px; font-size: .875rem; min-height: 40px; }
.btn[disabled] { opacity: .55; cursor: default; }

/* sections */
.section { padding-block: 48px; }
.section--tint { background: var(--green-tint); }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hero { padding: 48px 0; background: var(--bg); }
.hero__in { display: grid; gap: 32px; align-items: center; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.about { display: flex; gap: 18px; background: #fff; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.about__photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: none; }
.about__name { margin-bottom: .2em; }
.about__links { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
/* facts: hairline columns with terracotta serif numbers */
.facts { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.facts li { padding: 14px 16px 0; border-left: 1px solid var(--line); display: flex; flex-direction: column; color: var(--muted); font-size: .9rem; }
.facts li:first-child { padding-left: 0; border-left: 0; }
.facts strong { font: 600 1.75rem/1.15 var(--serif); color: var(--accent); }
/* steps: hairline top, numbers 01–04 */
.steps { list-style: none; counter-reset: s; padding: 0; display: grid; gap: 28px; }
.steps li { counter-increment: s; border-top: 1px solid var(--line); padding: 20px 0 0; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 600 2.6rem/1 var(--serif); color: var(--accent); margin-bottom: 14px; }
.two { display: grid; gap: 32px; }
.ticks { padding: 0; list-style: none; }
.ticks li { padding-left: 30px; position: relative; margin-bottom: .7em; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.promo { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--green-tint); border-radius: var(--radius); padding: 32px; }
.promo p { margin: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }

/* catalog */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; display: flex; flex-direction: column; overflow: hidden; height: 100%; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card__img { position: relative; display: block; background: #fff; border-radius: var(--radius-img); overflow: hidden; }
.card__img img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 8px; background: #fff; }
.card__img2 { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity .25s; }
.card:hover .card__img2 { opacity: 1; }
.card--off .card__img img { opacity: .45; filter: grayscale(.6); }
.card__body { padding: 10px 6px 6px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__brand { margin: 0; font: 600 .7rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.card__title { font: 600 .95rem/1.35 var(--sans); letter-spacing: 0; margin: 0; hyphens: auto; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rating { margin: 0; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rating__star { color: #c98a00; }
.qty--card { background: var(--green-tint); border-color: transparent; }
.qty--card button { width: 38px; height: 38px; font-size: 1.1rem; font-weight: 700; }
.qty--card span { font-weight: 700; min-width: 2.2ch; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--green); }
.card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.price { font-weight: 700; white-space: nowrap; }
.price--lg { font-size: 2rem; letter-spacing: -.01em; margin: .3em 0; }
.note { color: var(--warn); font-size: .85rem; margin: 0; }
.note--box { background: var(--warn-bg); border-radius: var(--radius-field); padding: 12px 16px; margin: 0 0 1em; font-size: .95rem; }
.note--box p { margin: 0; }
.note--ok { background: #e3eedb; color: #2f5a3b; }
.panel--inner { box-shadow: none; padding: 18px; margin: 0; display: grid; gap: 12px; }
.panel--inner legend { font-weight: 700; padding: 0 6px; }
.pills { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { display: inline-block; padding: 9px 16px; border-radius: 99px; background: var(--sage); border: 1px solid var(--sage); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.pills a[aria-current], .pills a:hover { background: var(--green); border-color: var(--green); color: #fff; }
.crumbs { font-size: .875rem; color: var(--muted); margin-bottom: 16px; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 28px; }
.pager__gap { padding: 8px 4px; font-style: normal; color: var(--muted); }
.pager a, .pager span { min-width: 40px; text-align: center; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; }
.pager span { background: var(--green); color: #fff; border-color: var(--green); }
.product { display: grid; gap: 28px; }
.product__photo { border-radius: var(--radius); background: #fff; width: 100%; aspect-ratio: 1; object-fit: contain; border: 1px solid var(--line); }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs__btn { flex: none; padding: 0; border: 2px solid var(--line); border-radius: var(--radius-field); background: #fff; cursor: pointer; overflow: hidden; }
.thumbs__btn img { width: 64px; height: 64px; object-fit: contain; }
.thumbs__btn[aria-current] { border-color: var(--green); }
.product__title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.1; margin-bottom: .3em; }
.buy-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 24px 18px; margin: 16px 0 8px; }
.buy-box .price--lg { margin: .4em 0 .5em; }
.product__more { border-top: 1px solid var(--line); padding: 14px 0; }
.product__more summary { cursor: pointer; font: 700 1.5rem/1.2 var(--serif); }
.product__more[open] summary { margin-bottom: 10px; }
.product__text { margin-top: 24px; }
.buybar { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(43, 39, 34, .08); }
.buybar .price { font-size: 1.2rem; }
body:has(.buybar) { padding-bottom: 72px; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 10px; color: var(--ink); text-decoration: none; height: 100%; transition: box-shadow .2s, transform .2s; }
.tile:hover { color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.tile img { width: 110px; height: 110px; object-fit: contain; margin-bottom: 6px; }
.tile__name { font-weight: 700; }
.tile__count { font-size: .85rem; color: var(--muted); }
.section--tight { padding-bottom: 0; }
.grid--mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mini { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; color: var(--ink); text-decoration: none; }
.mini img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.mini__name { font-size: .9rem; line-height: 1.3; hyphens: auto; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product__info section { margin-top: 24px; }
.buy { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.sets { display: grid; gap: 20px; }
.set { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: border-color .15s; }
.set:hover { border-color: var(--green); }
.set h2, .set h3 { color: var(--ink); }
.set__meta { margin: 0; font: 600 .75rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.set-buy { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.set-buy p { margin: 0; }
.set-item .small { margin: 6px 4px 0; }

/* cart */
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 64px; height: 64px; border-radius: var(--radius-field); object-fit: cover; background: var(--green-tint); }
.cart-line__name { font-weight: 600; color: var(--ink); text-decoration: none; }
.cart-line__ctrl { display: flex; align-items: center; gap: 6px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; }
.qty button { border: 0; background: none; font: inherit; width: 36px; height: 36px; cursor: pointer; color: var(--green); }
.qty span { min-width: 2ch; text-align: center; }
.link-btn { border: 0; background: none; color: var(--muted); cursor: pointer; font: inherit; text-decoration: underline; padding: 4px; }
.cart-summary { margin-top: 20px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.cart-summary[hidden] { display: none; }
.fallback { padding-left: 1.2em; }
.checkout-steps { padding-left: 1.3em; margin: 0 0 20px; }
.checkout-steps li { margin-bottom: .4em; }
.fallback a:visited { background: var(--green-dark); border-color: var(--green-dark); }
.fallback li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; }
.fallback li > div { display: flex; flex-direction: column; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 99px; z-index: 20; }

/* forms */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 400; font-size: 1rem; padding: 13px 16px; border: 1px solid var(--field-border); border-radius: var(--radius-field); background: #fff; width: 100%; min-height: 48px; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(63, 107, 79, .15); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.check input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--green); }
.consents { display: grid; gap: 10px; }
.req { color: #a3242c; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-weight: 600; margin-bottom: 8px; font-size: .9rem; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--sage); background: var(--sage); font-weight: 600; font-size: .9rem; cursor: pointer; }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid rgba(63, 107, 79, .45); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__error { color: #a3242c; margin: 0; }
.modal { border: 0; border-radius: var(--radius); padding: 28px; max-width: 500px; width: calc(100% - 32px); box-shadow: 0 24px 60px rgba(29, 32, 26, .25); }
.modal::backdrop { background: rgba(29, 32, 26, .5); }
.modal__actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* prose */
.prose h2 { margin-top: 1.4em; }

/* footer: olive band */
.foot { background: var(--green-tint); color: var(--ink); padding: 56px 0; margin-top: 56px; font-size: .9rem; }
.foot a { color: var(--ink); display: inline-block; padding: 4px 0; }
.foot a:hover { color: var(--green); }
.foot p { color: var(--muted); }
.foot__grid { display: grid; gap: 28px; }
.foot__h { font: 700 1.4rem/1.2 var(--serif); color: var(--ink); }

@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form__row, .two { grid-template-columns: 1fr 1fr; }
  .sets, .foot__grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .product { grid-template-columns: 1fr 1fr; }
  .promo { padding: 40px 48px; }
}
@media (min-width: 1000px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero { padding: 72px 0; }
  .hero__in { grid-template-columns: 1.3fr 1fr; gap: 64px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .section { padding-block: 80px; }
}
@media (max-width: 420px) {
  .facts { grid-template-columns: 1fr; }
  .facts li { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts li:first-child { border-top: 0; }
  .about { flex-direction: column; }
  .nav { column-gap: 16px; font-size: .95rem; }
}

/* cabinet & admin */
.appui .nav form { display: inline; }
.login { max-width: 460px; margin: 0 auto; }
.stats { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 22px; min-width: 180px; color: var(--ink); text-decoration: none; display: flex; flex-direction: column; }
.stat strong { font: 700 1.9rem/1.15 var(--sans); color: var(--ink); }
.links { list-style: none; padding: 0; display: grid; gap: 10px; }
.links li { display: grid; grid-template-columns: 1fr; gap: 4px; }
.links input { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-field); width: 100%; background: var(--green-tint); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; font-size: .92rem; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--green-tint); font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.copy-field { width: 100%; margin-top: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-field); font: inherit; background: var(--green-tint); }
.tag { display: inline-block; white-space: nowrap; padding: 2px 10px; border-radius: 99px; background: #eceee6; font-size: .78rem; font-weight: 600; }
.tag--ok { background: #e3eedb; color: #2f5a3b; }
.tag--error { background: #f6e1d8; color: #8a3a1e; }
.flash { background: #e3eedb; color: #2f5a3b; padding: 12px 16px; border-radius: var(--radius-field); }
.errors { background: #fbe3e4; color: #8a1f26; padding: 4px 16px; border-radius: var(--radius-field); margin-bottom: 14px; }
.photo-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.field textarea { font: inherit; font-weight: 400; padding: 13px 16px; border: 1px solid var(--field-border); border-radius: var(--radius-field); width: 100%; }
.search { display: flex; gap: 8px; margin-bottom: 16px; }
.search input { font: inherit; padding: 8px 12px; border: 1px solid var(--field-border); border-radius: var(--radius-field); flex: 1; max-width: 360px; }
@media (min-width: 720px) { .links li { grid-template-columns: 240px 1fr auto; align-items: center; } }
.steps-bar { list-style: none; padding: 0; display: flex; gap: 8px; margin: 0 0 24px; counter-reset: st; }
.steps-bar li { counter-increment: st; flex: 1; padding: 8px 12px; border-radius: 99px; background: var(--green-tint); color: var(--muted); font-size: .875rem; font-weight: 600; text-align: center; }
.steps-bar li::before { content: counter(st) ". "; }
.steps-bar li[aria-current] { background: var(--green); color: #fff; }
.steps-bar li.done { background: var(--sage); color: var(--green-dark); }
.addr { display: flex; align-items: center; gap: 6px; }
.panel + .panel { margin-top: 20px; }

/* search */
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.search { position: relative; display: flex; order: 3; flex: 1 1 100%; margin-bottom: 10px; }
.search input {
  flex: 1; min-width: 0; font: inherit; padding: 10px 44px 10px 18px; border-radius: 999px;
  border: 1px solid var(--field-border); background: #fff; -webkit-appearance: none; appearance: none;
}
.search input:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(63, 107, 79, .15); }
.search button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: var(--green); cursor: pointer; display: grid; place-items: center; }
.search button:hover { background: var(--green-tint); }
.search__suggest {
  position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0; max-height: 70vh; overflow: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(43, 39, 34, .14); padding: 6px;
}
.search__suggest a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-field); color: var(--ink); text-decoration: none; }
.search__suggest a:hover, .search__suggest a[aria-selected="true"] { background: var(--green-tint); }
.suggest__item img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: #fff; flex: none; }
.suggest__name { flex: 1; font-size: .95rem; line-height: 1.3; }
.suggest__price { font-weight: 700; white-space: nowrap; font-size: .92rem; }
.suggest__label { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); background: var(--sage); padding: 2px 8px; border-radius: 99px; }
.search__suggest .suggest__all { justify-content: center; color: var(--green); font-weight: 600; }
.suggest__empty { margin: 0; padding: 10px; color: var(--muted); }

/* catalog: section tree, chips, toolbar */
.catalog { display: grid; gap: 24px; }
.catalog__side { display: none; }
.catalog__main { min-width: 0; }
.catalog__title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.catalog__title .muted { font: 400 1rem/1.4 var(--sans); }
.tree { list-style: none; margin: 0; padding: 0; }
.tree--sub { padding-left: 12px; margin: 2px 0 6px; border-left: 2px solid var(--line); }
.tree a, .tree__all { display: flex; justify-content: space-between; gap: 8px; padding: 7px 12px; border-radius: var(--radius-field); color: var(--ink); text-decoration: none; line-height: 1.3; }
.tree a:hover, .tree__all:hover { background: var(--green-tint); color: var(--ink); }
.tree a[aria-current], .tree__all[aria-current] { background: var(--green); color: #fff; }
.tree a[aria-current] .tree__count { color: #e2efe6; }
.tree__all { font-weight: 600; margin-bottom: 4px; }
.tree__count { color: var(--muted); font-size: .85rem; }
/* phones: one swipeable row that fades at the edge; wider screens wrap (mice can't swipe) */
.pills--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 4px 16px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.pills--scroll::-webkit-scrollbar { display: none; }
.pills--scroll a { white-space: nowrap; }
.catalog__tree-mobile { margin: -8px 0 16px; }
.catalog__tree-mobile summary { cursor: pointer; color: var(--green); font-weight: 600; padding: 4px 0; }
.catalog__tree-mobile .tree { margin-top: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 18px; }
.toolbar select { font: inherit; font-size: .95rem; padding: 9px 32px 9px 14px; border-radius: var(--radius-field); border: 1px solid var(--field-border); background: #fff; color: var(--ink); max-width: 100%; }
.toolbar__field { flex: 1 1 150px; max-width: 240px; }
.toolbar__field select { width: 100%; }
.toolbar__check { align-items: center; }
.empty { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.empty .pills { margin: 16px 0 0; }

@media (max-width: 719px) {
  .top .search { margin-bottom: 8px; }
}
@media (min-width: 720px) {
  .pills--scroll { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding: 0; -webkit-mask-image: none; mask-image: none; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--mini { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .buybar { display: none; }
  body:has(.buybar) { padding-bottom: 0; }
  .search { order: 0; flex: 1 1 260px; max-width: 420px; margin-bottom: 0; }
}
@media (min-width: 1000px) {
  .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .product { grid-template-columns: 1fr 1.1fr; gap: 48px; }
  .product__gallery { position: sticky; top: 16px; align-self: start; }
  .catalog { grid-template-columns: 250px minmax(0, 1fr); align-items: start; }
  .catalog__side { display: block; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
  .catalog__tree-mobile { display: none; }
  .catalog .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---- design B layouts: header, footer, landing, shop home ---- */
.h3 { font-size: 1.625rem; font-weight: 700; line-height: 1.15; }
.strip { margin: 0; background: var(--green-tint); color: var(--ink); text-align: center; font-size: .8rem; padding: 7px 16px; }
.strip__short { display: none; }
/* header: logo on the left, then the menu, actions on the right (phones: logo + actions, menu below) */
.top--center .top__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo end" "nav nav"; align-items: center; gap: 0 12px; min-height: 64px; padding-top: 8px; padding-bottom: 4px; }
.top--center .logo { grid-area: logo; }
.top--center .nav { grid-area: nav; }
.top__end { grid-area: end; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.cart-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: .9rem; white-space: nowrap; }
.cart-link:hover { background: var(--sage); color: var(--ink); }
.top--shop .top__in { grid-template-areas: "logo end" "search search" "nav nav"; }
.top--shop .top__end { display: contents; }
.top--shop .cart-link { grid-area: end; justify-self: end; }
.top--shop .search { grid-area: search; margin: 6px 0 8px; max-width: none; }
.partner-bar__in { padding-top: 10px; padding-bottom: 10px; }
.partner-bar__in > div:nth-child(2) { min-width: 0; flex: 1; }
.partner-bar__contacts { margin-left: auto; align-items: center; gap: 8px; }
.partner-bar__phone { font-weight: 600; margin-left: 4px; }
.round-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink); color: var(--ink); }
.round-btn:hover { background: var(--sage); color: var(--ink); }
.round-btn--fill { background: var(--green); border-color: var(--green); color: #fff; }
.round-btn--fill:hover { background: var(--green-dark); color: #fff; }
@media (max-width: 719px) {
  .strip__long { display: none; }
  .strip__short { display: inline; }
  .partner-bar .muted { font-size: .8rem; }
}
@media (max-width: 719px) {
  /* phones: logo, action, burger; the menu opens under them, works without JS */
  .btn__long { display: none; }
  .btn__short { display: inline; }
  .menu-btn { grid-area: burger; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-right: -8px; color: var(--ink); cursor: pointer; }
  .menu-btn__close { display: none; }
  .menu-toggle:checked ~ .menu-btn .menu-btn__open { display: none; }
  .menu-toggle:checked ~ .menu-btn .menu-btn__close { display: block; }
  .menu-toggle:focus-visible ~ .menu-btn { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 8px; }
  .top--center .top__in { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "logo end burger" "nav nav nav"; column-gap: 8px; }
  .top--shop .top__in { grid-template-areas: "logo end burger" "search search search" "nav nav nav"; }
  .top .nav { display: none; flex-direction: column; align-items: stretch; flex-wrap: nowrap; overflow: visible; width: 100%; margin: 4px 0 0; padding: 4px 0 8px; border-top: 1px solid var(--line); }
  .menu-toggle:checked ~ .nav { display: flex; }
  .top .nav a:not(.btn) { padding: 12px 0; font-size: 1.0625rem; white-space: normal; }
}
@media (min-width: 1000px) {
  .top--center .top__in { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo nav end"; column-gap: 40px; min-height: 80px; padding-top: 0; padding-bottom: 0; }
  .top--center .nav { margin-top: 0; }
  .top--shop .top__end { display: flex; }
  .top--shop .search { margin: 0; flex: 0 1 280px; }
  .is-home .partner-bar { display: none; }
@media (min-width: 1000px) and (max-width: 1199px) {
  .top--shop .top__in { column-gap: 24px; }
  .top--shop .nav { column-gap: 20px; }
  .top--shop .search { flex-basis: 200px; }
}
}

/* footer: olive band, centred */
.foot--center { text-align: center; padding: 48px 0 40px; }
.foot__logo { font: 600 2rem/1 var(--serif); color: var(--ink) !important; margin: 0 0 18px; }
.foot__logo img { display: inline-block; height: 56px; width: auto; max-width: 100%; vertical-align: top; }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 22px; margin-bottom: 14px; }
.foot__partner { color: var(--ink) !important; }
.foot__partner a { margin-left: 10px; }

/* hero with the arch photo */
.arch { position: relative; margin: 0; max-width: 360px; justify-self: center; width: 100%; }
@media (min-width: 1000px) { .arch { max-width: 440px; } }
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 220px 220px var(--radius) var(--radius); background: var(--green-tint); }
.arch__card { position: absolute; left: 16px; bottom: 16px; right: 16px; max-width: 300px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; font-size: .875rem; color: var(--muted); }
.arch__card strong { font: 700 1.35rem/1.2 var(--serif); color: var(--ink); }
.arch__actions { display: flex; gap: 8px; margin-top: 10px; }
.hero .facts { margin-top: 32px; }
.hero .lead { max-width: 640px; }

/* wide team photo with a caption card */
.photo-band { position: relative; }
.photo-band img { width: 100%; aspect-ratio: 1200 / 520; object-fit: cover; border-radius: var(--radius); }
.photo-band__card { background: #fff; border-radius: var(--radius); padding: 24px; margin: -40px 12px 0; position: relative; box-shadow: var(--shadow); }
.photo-band__card p:last-child { margin: 0; color: var(--muted); }

/* numbered features 01–06 in two columns */
.features { list-style: none; counter-reset: f; padding: 0; margin: 32px 0 0; display: grid; gap: 0 48px; }
.features li { counter-increment: f; display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; border-top: 1px solid var(--line); padding: 20px 0; }
.features li::before { content: counter(f, decimal-leading-zero); grid-row: span 2; font: 600 1.75rem/1 var(--serif); color: var(--accent); }
.features h3 { font-size: 1.4rem; margin: 0 0 .25em; }
.features p { margin: 0; color: var(--muted); }

/* "your shop is ready": text + phone mock */
.showcase__in { display: grid; gap: 40px; align-items: center; }
.dashes { list-style: none; padding: 0; margin: 8px 0 28px; }
.dashes li { padding: 8px 0 8px 28px; position: relative; font-size: 1.05rem; }
.dashes li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.phone { justify-self: center; width: min(328px, 100%); padding: 8px; background: #1d201a; border-radius: 44px; box-shadow: 0 24px 60px rgba(29, 32, 26, .18); }
.phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 36px; background: #fff; }

/* honest band */
.honest__quote { margin: 0 0 24px; font: 600 clamp(1.6rem, 3vw, 2.25rem)/1.25 var(--serif); color: var(--ink); }
.honest p:not(.caps) { color: var(--muted); }
.person { display: inline-flex; align-items: center; gap: 12px; text-align: left; margin: 12px 0 18px; }
.person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.person p { margin: 0; display: flex; flex-direction: column; line-height: 1.35; font-size: .875rem; color: var(--muted); }
.person strong { color: var(--ink); font-size: 1rem; }
.honest__actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* FAQ */
.faq dl { margin: 24px 0 0; }
.faq dt { font: 700 1.4rem/1.25 var(--serif); border-top: 1px solid var(--line); padding-top: 20px; margin: 0 0 6px; }
.faq dd { margin: 0 0 20px; color: var(--muted); max-width: 860px; }

/* application form on the green plate */
.section--flush { padding-top: 0; }
.apply { background: var(--green); color: #fff; border-radius: var(--radius); padding: 32px 20px; }
.apply h2 { color: #fff; }
.apply > p { color: rgba(255, 255, 255, .85); margin-bottom: 24px; }
.apply .field, .apply .check, .apply .chips legend { color: #fff; }
.apply .field input, .apply .field select { border-color: transparent; }
.apply .check a { color: #fff; }
.apply .req { color: #ffd9c9; }
.apply .btn { background: #fff; border-color: #fff; color: var(--green-dark); justify-self: start; }
.apply .btn:hover { background: var(--sage); border-color: var(--sage); }
.apply :focus-visible { outline-color: #fff; }

@media (min-width: 720px) {
  .features { grid-template-columns: 1fr 1fr; }
  .photo-band__card { position: absolute; left: 40px; bottom: 40px; margin: 0; max-width: 440px; padding: 32px; }
  .apply { padding: 56px 64px; }
}
@media (min-width: 1000px) {
  .hero .hero__in:has(.arch) { grid-template-columns: minmax(0, 1fr) 440px; gap: 72px; }
  .showcase__in { grid-template-columns: 1fr 360px; gap: 80px; }
}
@media (max-width: 719px) {
  .photo-band { padding: 0; }
  .photo-band img { border-radius: 0; aspect-ratio: 4 / 3; object-position: 100% 50%; }
}

/* shop home */
.hero__in--photo .arch { order: 2; }
.perks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.perks li { padding: 14px 14px 0; border-left: 1px solid var(--line); display: flex; flex-direction: column; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.perks li:first-child { padding-left: 0; border-left: 0; }
.perks strong { color: var(--ink); font-size: .9rem; }
.arch--shop .arch__card { max-width: 340px; }
.note--bad { color: var(--ink); font-weight: 600; }
.note--box.note--bad { background: var(--warn-bg); color: var(--warn); font-weight: 400; }
.steps--3 { margin-top: 28px; }
/* set card: product thumbnails on an olive plate */
.set { display: flex; flex-direction: column; padding: 8px; height: 100%; }
.set__pics { display: flex; justify-content: center; gap: 10px; background: var(--green-tint); border-radius: var(--radius-img); padding: 24px 16px; }
.set__pics img { width: 30%; max-width: 96px; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 12px; padding: 6px; }
.set__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 12px 12px; flex: 1; }
.set__name { margin: 0; }
.set__text { color: var(--muted); font-size: .92rem; }
.set__more { margin-top: auto; padding-top: 6px; color: var(--green); font-weight: 600; font-size: .9rem; }
.section__head a { font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (max-width: 719px) {
  .hero__in--photo .arch { display: none; }
  .perks { grid-template-columns: 1fr; }
  .perks li { padding: 10px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .perks li:first-child { border-top: 0; }
  /* sets: one swipeable row */
  .sets--scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 12px; gap: 12px; scrollbar-width: none; }
  .sets--scroll::-webkit-scrollbar { display: none; }
  .sets--scroll .set { flex: 0 0 80%; scroll-snap-align: start; }
}
@media (min-width: 720px) {
  .steps--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .hero .hero__in--photo:has(.arch) { grid-template-columns: 440px minmax(0, 1fr); gap: 72px; }
  .hero__in--photo .arch { order: 0; }
}

/* shop footer, consultant box, training page */
.foot__links a { text-decoration: none; }
.foot__grid--4 .caps { font-size: .72rem; margin-bottom: 12px; }
.foot__grid--4 .foot__logo { margin-bottom: 12px; }
.foot__grid--4 .person { margin: 0 0 8px; }
.foot__grid--4 .person img { width: 40px; height: 40px; }
.foot__list a, .foot__contacts a { display: block; text-decoration: none; }
.ask { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--green-tint); border-radius: var(--radius); padding: 16px 20px; margin: 16px 0; }
.ask img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.ask__text { flex: 1 1 220px; display: flex; flex-direction: column; font-size: .9rem; color: var(--muted); }
.ask__text strong { font: 700 1.25rem/1.25 var(--serif); color: var(--ink); }
.ask--wide { margin-top: 40px; padding: 20px 28px; }
.ask--wide .ask__text strong { font-size: 1.5rem; }
.hero__media { width: 100%; aspect-ratio: 520 / 480; object-fit: cover; border-radius: var(--radius); }
.duo { display: grid; gap: 16px; }
.duo__card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.duo__card--tint { background: var(--green-tint); border-color: transparent; }
.duo__card .caps { margin-bottom: .6em; }
.duo__actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.person--lg img { width: 72px; height: 72px; }
.person--lg p { font-size: .85rem; }
.person--lg .caps { margin: 0 0 2px; font-size: .68rem; }
.person--lg strong { font: 700 1.5rem/1.2 var(--serif); }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sage); border-color: var(--sage); color: var(--ink); }
.apply-tint { background: var(--green-tint); border-radius: var(--radius); padding: 28px 16px; display: grid; gap: 24px; }
.apply-tint .panel { box-shadow: none; border: 0; }
@media (min-width: 720px) {
  .duo { grid-template-columns: 1fr 1fr; }
  .duo__card { padding: 28px 32px; }
  .apply-tint { grid-template-columns: 1fr 1.6fr; padding: 40px; gap: 40px; align-items: start; }
  .partner-bar__in > div:nth-child(2) { flex-direction: row; flex-wrap: wrap; gap: 0 8px; align-items: baseline; }
  .foot__grid--4 { grid-template-columns: 1.4fr 1.2fr 1fr 1.2fr; }
}
@media (min-width: 1000px) {
  .hero .hero__in--media { grid-template-columns: minmax(0, 1fr) 520px; gap: 64px; }
}

/* message pages: 404, thanks, errors */
.msg { max-width: 640px; margin: 24px auto; text-align: center; }
.msg h1 { font-size: clamp(2.2rem, 4vw, 2.75rem); }
.msg__badge { display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 24px; border-radius: 50%; background: var(--green-tint); font: 600 1.9rem/1 var(--serif); color: var(--accent); }
.msg__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.msg__person { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; text-align: left; background: var(--green-tint); border-radius: var(--radius); padding: 18px 22px; margin-top: 32px; }
.msg__person .person { margin: 0; }
/* documents: contents on the side */
.doc { display: grid; gap: 28px; margin-top: 12px; }
.doc__toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 16px; }
.doc__toc ol { list-style: none; margin: 0; padding: 0; }
.doc__toc li + li { border-top: 1px solid var(--line); }
.doc__toc a { display: block; padding: 8px 0; color: var(--ink); text-decoration: none; font-size: .9rem; }
.doc__toc a span { color: var(--accent); margin-right: 6px; font-size: .8rem; }
.doc__side .caps { margin-bottom: .4em; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.75rem; }
.note--box .caps { margin: 0; }
/* cart */
.cart-layout { display: grid; gap: 24px; align-items: start; }
.cart-summary { margin-top: 0; }
.cart-summary h2 { margin-bottom: .6em; }
.cart-summary__row { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.cart-summary__total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.cart-summary__total .price { font: 600 2rem/1 var(--serif); }
.cart-summary .btn { width: 100%; }
.cart-back a { font-weight: 600; text-decoration: none; }
.ask--compact .btn { margin-left: auto; }
/* set page */
.set-hero { display: grid; gap: 32px; align-items: start; margin-bottom: 16px; }
.set-lines { list-style: none; padding: 0; margin: 20px 0; border-top: 1px solid var(--line); }
.set-lines li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.set-lines img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.set-lines a { color: var(--ink); text-decoration: none; flex: 1; }
.set-lines strong { white-space: nowrap; }
.set-buy .price { font: 600 1.75rem/1 var(--serif); }
.set-hero__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--green-tint); border-radius: var(--radius); padding: 20px; }
.set-hero__pics img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: var(--radius-img); padding: 10px; }
.set-hero__pics .set-hero__img { grid-column: 1 / -1; object-fit: cover; padding: 0; }
/* breadcrumbs and accordions */
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); }
.product__more summary { list-style: none; display: flex; justify-content: space-between; align-items: center; }
.product__more summary::-webkit-details-marker { display: none; }
.product__more summary::after { content: "+"; font: 400 1.5rem/1 var(--sans); color: var(--muted); }
.product__more[open] summary::after { content: "−"; }
@media (min-width: 720px) {
  .set-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 48px; }
}
@media (min-width: 1000px) {
  .doc { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; }
  .doc__side { position: sticky; top: 16px; align-self: start; }
  .cart-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; }
  .cart-aside { position: sticky; top: 16px; }
}
.set-hero__pics img:first-child:nth-last-child(3) { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.checkout-steps { list-style: none; counter-reset: cs; padding: 0; }
.checkout-steps li { counter-increment: cs; position: relative; padding-left: 40px; margin-bottom: 12px; }
.checkout-steps li::before { content: counter(cs); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; background: var(--green-tint); color: var(--accent); display: grid; place-items: center; font: 600 1rem/1 var(--serif); }
.arch__actions:empty { display: none; }
.doc-links { padding-left: 1.2em; margin: 0; }
.doc-links li { margin-bottom: .4em; }
