:root {
  color-scheme: light;
  --cream: #F7F4E9;
  --sand: #ECE5D6;
  --ink: #372C20;
  --pressed: #241C14;
  --text: #6E6253;
  --gold: #7D5F37;
  --line: #DCD3C1;
  --sun: #E9DFCB;  /* был жёлтый; теперь спокойный светлый акцент на тёмном фоне */
  --error: #9B2C2C;
  --paper: #FFFFFF;
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 56px);
  --header-height: 64px;
  --wide: 1360px;
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { margin: 0; scroll-padding-top: calc(var(--header-height) + 12px); }
body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  min-height: 100dvh;
  background: var(--cream);
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
#shop { flex: 1; min-width: 0; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 20px; height: 20px; flex: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; }
h1 { font-weight: 800; letter-spacing: -.027em; overflow-wrap: anywhere; }
h2 { font-weight: 750; letter-spacing: -.025em; }
h3 { font-weight: 700; letter-spacing: -.015em; }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
:where(input, select, textarea) { scroll-margin: 12px; }
::selection { background: var(--sand); color: var(--ink); }

.wrap {
  width: min(100%, var(--wide));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  z-index: 99;
  position: fixed;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  color: var(--cream);
  background: var(--ink);
  border-radius: 24px;
  padding: 10px 18px;
  font-weight: 700;
}
.skip-link:focus { transform: none; }
.eyebrow {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.money, .price, .cart-count, .stepper, .sum-row { font-variant-numeric: tabular-nums; }
.money, .price { white-space: nowrap; font-weight: 700; }
.subtitle, .tile-meta, .muted, .hint { color: var(--text); }
.hint { font-size: .875rem; }

.primary, .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  max-width: 100%;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.primary { color: var(--cream); background: var(--ink); }
.primary:active { background: var(--pressed); }
.primary:disabled,
.primary[aria-disabled=true] { color: var(--text); background: var(--sand); border-color: var(--line); }
.secondary { background: transparent; border-color: var(--gold); color: var(--ink); }
.secondary:active { background: var(--sand); }
.primary.split {
  width: 100%;
  justify-content: space-between;
  text-align: left;
  padding-inline: 19px;
}
.primary.split .price { padding-inline-start: 10px; font-size: 1rem; }
.text-link, .gift-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: .875rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--gold);
}
.text-link:active, .gift-link:active { color: var(--gold); }
.icon-btn {
  position: relative;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
}
.icon-btn:active { background: var(--sand); }

.shop-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 6;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: var(--header-height);
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  align-self: stretch;
  text-decoration: none;
}
.brand img { width: clamp(96px, 21vw, 130px); height: auto; }
.main-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 1px; flex: 0 0 auto; }
.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding-inline: 3px;
  border: 2px solid var(--cream);
  border-radius: 12px;
  background: var(--ink);
  color: var(--cream);
  font-size: 10px;
  line-height: 1;
  font-weight: 750;
}

.section-head, .page-heading, .toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 18px;
}
.section-head { margin-block: 29px 13px; }
.section-head h2 { font-size: clamp(1.45rem, 4.6vw, 2.3rem); }
.page-heading { margin-block: 22px 17px; }
.page-heading h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
.page-heading p { max-width: 68ch; color: var(--text); }
.collection-links {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-block: 10px 26px;
}
.collection-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 11px;
  min-height: 67px;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--sand);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.collection-link svg { width: 16px; height: 16px; }
.collection-link small { color: var(--text); font-size: .8125rem; font-weight: 500; }
.product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 10px;
  margin-block: 12px 26px;
}
.tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}
.tile-link { display: flex; flex: 1; flex-direction: column; min-width: 0; color: inherit; text-decoration: none; }
.tile-link:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; border-radius: 14px; }
.tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 10px 12px; }
.tile-foot .money { font-size: 1rem; }
.tile-add {
  display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.tile-add svg { width: 20px; height: 20px; }
.tile-add:hover { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.tile-add:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.tile-add.is-added { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.tile-image { aspect-ratio: 1; background: var(--sand); overflow: hidden; }
.tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.tile-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  padding: 11px 10px 12px;
}
.tile-copy .eyebrow {
  font-size: 10px;
  letter-spacing: .08em;
  overflow-wrap: anywhere;
}
.tile-copy h3 {
  font-size: clamp(.875rem, 3.65vw, 1.125rem);
  line-height: 1.3;
}
.tile-meta { font-size: .8125rem; line-height: 1.35; }
.tile-copy { padding-bottom: 8px; }

.chips, .variants {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-weight: 650;
  font-size: .8125rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.chip[aria-pressed=true] { background: var(--sand); border-color: var(--gold); }
.toolbar { padding-block: 11px 7px; }
.grid-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.grid-tools .secondary { min-height: 44px; font-size: .8125rem; padding-inline: 14px; }
.empty, .notice {
  padding: 14px 15px;
  border-radius: 13px;
  background: var(--sand);
  color: var(--ink);
}
.empty { display: grid; justify-items: start; gap: 8px; margin-block: 18px; }
.error { color: var(--error); }
.notice.error, .error.notice {
  border: 1px solid var(--error);
  background: var(--paper);
}
.filter-form, .search-form, .gift-form { display: grid; gap: 12px; }
.search-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  margin-block: 7px 16px;
}
.search-form .field { min-width: 0; }
.search-form .primary { min-height: 50px; padding-inline: 14px; }

.back, .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--text);
  font-size: .8125rem;
  font-weight: 650;
  text-decoration: none;
}
.back { border: 0; background: transparent; padding: 0; }
.back svg, .breadcrumb svg { width: 15px; height: 15px; }
.breadcrumb a { text-underline-offset: 3px; }
.product-page { padding-top: 2px; padding-bottom: 34px; }
.product-layout { display: grid; gap: 17px; }
.gallery, .product-info { min-width: 0; }
.photo-main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.16;
  border-radius: var(--radius);
  background: var(--sand);
}
.photo-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  touch-action: pan-y;
}
.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-block: 1px 2px;
}
.gallery-dot {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: transparent;
  color: var(--text);
}
.gallery-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 999px;
}
.gallery-dot[aria-pressed=true] { color: var(--ink); }
.gallery-dot[aria-pressed=true]::after { width: 20px; }
.gallery-caption, .photo-caption {
  color: var(--text);
  font-size: .75rem;
  line-height: 1.4;
}
.source-stamp {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: .8125rem;
  line-height: 1.4;
}
.source-country {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .05em;
}
.source-copy { min-width: 0; overflow-wrap: anywhere; }
.source-copy small { display: block; color: var(--text); }

.product-info {
  display: grid;
  justify-items: stretch;
  align-content: start;
  gap: 10px;
}
.product-info h1 {
  font-size: clamp(1.9rem, 7.4vw, 3rem);
  line-height: 1.07;
  text-wrap: balance;
}
.product-info .subtitle { font-size: .9375rem; }
.product-info .variants { margin-block: 4px; }
.product-info .primary.split { margin-top: 2px; }
.product-info .gift-link { margin-bottom: 1px; }
.guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-height: 58px;
  padding: 7px 9px 7px 12px;
  border-radius: 13px;
  background: var(--sand);
}
.guest-row > :first-child { min-width: 0; }
.guest-row small { display: block; color: var(--text); font-size: .75rem; line-height: 1.3; }
.stepper {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 2px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}
.stepper button {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 50%;
  line-height: 1;
  font-size: 1.15rem;
  font-weight: 650;
}
.stepper button:active { background: var(--sand); }
.stepper button:disabled { color: var(--text); opacity: .45; }
.stepper output, .stepper .qty, .stepper span { min-width: 2ch; text-align: center; }
.stock {
  color: var(--text);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.5;
}
.stock:is(.out, .unavailable, .error), .stock[aria-disabled=true], .stock[data-in-stock=false] { color: var(--error); }
.info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 49px;
  min-width: 0;
  padding: 8px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  font-size: .875rem;
}
.info-row svg { width: 19px; height: 19px; color: var(--gold); }
.info-row strong { font-weight: 700; }
.info-row small { display: block; color: var(--text); font-size: .8125rem; }
.info-row .chevron, .info-row svg:last-child:not(:first-child) { margin-inline-start: auto; }
.accordion { border-top: 1px solid var(--line); font-size: .875rem; }
.accordion:last-child { border-bottom: 1px solid var(--line); }
.accordion summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 47px;
  padding-block: 8px;
  padding-inline-end: 27px;
  cursor: pointer;
  list-style: none;
  font-size: .9375rem;
  font-weight: 700;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 3px;
  color: var(--gold);
  font-size: 1.17rem;
  font-weight: 500;
}
.accordion[open] summary::after { content: "−"; }
.accordion[open] > :last-child:not(summary) { margin-bottom: 14px; }
.accordion dd { margin-inline-start: 0; margin-bottom: 5px; }
.accordion dt { font-weight: 700; }
.accordion ul { padding-inline-start: 22px; margin: 4px 0 12px; }
.alternatives { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: var(--sand); }
.alternatives h2, .alternatives h3 { font-size: 1rem; line-height: 1.3; }
.alternative {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 7px 9px;
  border: 0;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  font-size: .875rem;
}
.alternative img { width: 52px; height: 52px; border-radius: 7px; object-fit: cover; }
.alternative small { display: block; color: var(--text); font-size: .75rem; }
.alternative svg:last-child { margin-inline-start: auto; }
#purchase-dock {
  position: fixed;
  z-index: 7;
  inset: auto 0 0;
  padding: 7px var(--gutter) calc(7px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--cream);
}
#purchase-dock > .primary { width: 100%; }
body:has(#purchase-dock:not([hidden])) .site-footer { padding-bottom: 92px; }

.checkout-page, .status-page { padding-block: 5px 37px; }
.checkout-page > h1, .status-page h1, .empty h1 {
  font-size: clamp(1.95rem, 7.5vw, 3.15rem);
  margin-block: 10px 17px;
  line-height: 1.08;
}
.checkout-layout { display: grid; gap: 14px; }
.checkout-layout > * { min-width: 0; }
.order-lines, .totals {
  border-radius: var(--radius);
  background: var(--sand);
}
.order-lines { display: grid; gap: 9px; padding: 12px; }
.order-lines h2, .form-section h2, .form-section legend { font-size: 1.125rem; }
.cart-line {
  display: grid;
  grid-template-columns: 49px minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  padding-block: 7px 9px;
  border-bottom: 1px solid var(--line);
}
.cart-line img {
  width: 49px;
  height: 49px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--paper);
}
.line-copy { min-width: 0; color: var(--ink); font-size: .8125rem; line-height: 1.3; }
.line-copy a { text-decoration-thickness: 1px; text-underline-offset: 2px; }
.line-copy .money { display: block; padding-top: 3px; }
.cart-line .stepper button { min-width: 40px; height: 44px; }
.checkout-form { min-width: 0; }
.checkout-form .actions { margin-block-start: 12px; }
.totals { padding: 11px 13px; }
.order-lines > .totals { padding: 0; }
.sum-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding-block: 3px;
  font-size: .875rem;
}
.sum-row > :last-child { text-align: end; }
.sum-row.final, .totals > .final {
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 750;
}
.form-section {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.form-section h2, .form-section legend { font-weight: 750; line-height: 1.15; }
.form-section legend { padding: 11px 0 0; }
.form-section .chips { gap: 5px; }
.fields { display: grid; gap: 9px; grid-template-columns: minmax(0, 1fr); }
.field {
  display: grid;
  gap: 4px;
  align-content: start;
  min-width: 0;
  font-size: .8125rem;
  font-weight: 650;
}
.field :is(input, select, textarea), .search-form input:not([type=hidden]) {
  display: block;
  width: 100%;
  min-height: 48px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid var(--gold);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-size: max(16px, 1rem);
  font-weight: 500;
  line-height: 1.3;
}
.field textarea { resize: vertical; min-height: 87px; }
.field :is(input, select, textarea)[aria-invalid=true] { border-color: var(--error); }
.field :is(input, textarea)::placeholder { color: var(--text); opacity: 1; }
.field small { font-weight: 500; line-height: 1.35; }
.radio-option {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-size: .875rem;
  font-weight: 650;
  cursor: pointer;
}
.radio-option:has(input:checked) { background: var(--sand); border-color: var(--gold); }
.radio-option input {
  appearance: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
}
.radio-option input:checked { border: 6px solid var(--ink); background: var(--paper); }
.radio-option:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.actions > .primary, .actions > .secondary { flex: 1 1 160px; }
.status-page { max-width: 680px; }
.status-page :is(.notice, .totals, .actions) { margin-block: 12px; }
.status-page > p { color: var(--text); }
.status-page h1 + p { margin-top: -5px; }

.shop-dialog {
  width: min(calc(100% - 32px), 485px);
  max-height: min(80dvh, 750px);
  overflow-y: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
}
.shop-dialog::backdrop { background: rgb(36 28 20 / 55%); }
.dialog-inner { padding: 13px 16px 19px; }
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.dialog-head h2 { font-size: clamp(1.25rem, 5vw, 1.65rem); }
.menu-list { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; }
.menu-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 47px;
  padding: 8px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-weight: 650;
  font-size: .9375rem;
  text-align: left;
  text-decoration: none;
}
.menu-link svg { width: 16px; height: 16px; color: var(--gold); }
.menu-link[aria-current=page] { color: var(--gold); }

.site-footer {
  margin-top: 20px;
  padding: 19px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--sand);
  color: var(--ink);
  font-size: .8125rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 17px; align-items: center; }
.site-footer a { text-underline-offset: 3px; }
.site-footer .brand img { width: 96px; }

@media (hover: hover) {
  .primary:hover:not(:disabled, [aria-disabled=true]) { background: var(--pressed); }
  .secondary:hover, .icon-btn:hover, .chip:hover, .stepper button:hover:not(:disabled) { background: var(--sand); }
  :is(.main-nav, .site-footer, .menu-list) a:hover, .back:hover, .text-link:hover, .gift-link:hover { color: var(--gold); }
  .tile:hover .tile-image img { transform: scale(1.035); }
  .collection-link:hover { border-color: var(--gold); }
  .info-row:is(a,button):hover, .alternative:hover { color: var(--gold); }
}

@media (max-width: 355px) {
  .header-row { padding-inline: 10px; }
  .header-actions, .header-row { gap: 0; }
  .primary.split { padding-inline: 15px; }
  .cart-line { grid-template-columns: 41px minmax(0,1fr) auto; gap: 6px; }
  .cart-line img { width: 41px; height: 41px; }
  .cart-line .stepper button { min-width: 35px; }
  .tile-copy { padding-inline: 8px; }
  .tile-foot { padding-inline: 8px; }
  .tile-add { width: 36px; height: 36px; }
}

@media (min-width: 560px) {
  .collection-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .collection-link { padding: 14px; font-size: .9375rem; }
  .product-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
  .tile-copy { padding: 13px 12px 8px; }
  .tile-foot { padding: 0 12px 14px; }
  .fields.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fields.two-up > .full { grid-column: 1 / -1; }
}

@media (min-width: 760px) {
  :root { --header-height: 72px; --radius: 22px; }
  .header-row { gap: clamp(12px, 3vw, 35px); }
  .main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px clamp(12px, 2.25vw, 34px);
    align-items: center;
    font-size: .875rem;
    font-weight: 650;
  }
  .main-nav > a { padding-block: 10px; text-decoration: none; }
  .main-nav > a[aria-current=page] { color: var(--gold); text-decoration: underline; text-underline-offset: 7px; }
  .header-row :is(.menu-open, .mobile-only, [data-action=menu], [data-act=menu]) { display: none; }
  .section-head { margin-block: 34px 16px; }
  .collection-links { margin-bottom: 32px; }
  .collection-link { min-height: 82px; }
  .product-list { gap: 18px; margin-block: 14px 34px; }
  .product-page { padding-block: 8px 50px; }
  .product-layout { grid-template-columns: minmax(0, 1.27fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 68px); }
  .photo-main { aspect-ratio: 1; }
  .product-info { align-content: start; padding-block-start: 8px; }
  .product-info h1 { font-size: clamp(1.97rem, 4vw, 3.35rem); }
  .checkout-page, .status-page { padding-block: 18px 48px; }
  .checkout-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); gap: 20px; align-items: start; }
  .order-lines { padding: 16px; }
  .cart-line { grid-template-columns: 54px minmax(0, 1fr) auto; }
  .cart-line img { width: 54px; height: 54px; }
  .form-section:first-child { border-top: 0; padding-top: 0; }
  #purchase-dock { display: none !important; }
  body:has(#purchase-dock:not([hidden])) .site-footer { padding-bottom: 24px; }
}

@media (min-width: 1030px) {
  .tile-copy { padding: 16px 16px 8px; }
  .tile-foot { padding: 0 16px 16px; }
  .tile-foot .money { font-size: 1.125rem; }
  .tile-copy .eyebrow { font-size: 11px; }
  .catalog-page .product-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-layout { grid-template-columns: minmax(0, 1.18fr) minmax(0, .9fr); }
  .product-info { padding-block-start: 17px; }
  .checkout-layout { gap: clamp(35px, 5vw, 68px); }
  .order-lines { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.collection-link { flex-direction: row; align-items: center; }
.collection-link small { display: block; margin-top: 4px; }
.collection-link > span { min-width: 0; }
.catalog-tabs .chip:is([aria-current=page], [aria-current=true]),
.variants .chip[aria-current=true] { background: var(--sand); border-color: var(--gold); }
.landing-page .page-heading p { flex: 0 1 100%; }
.result-count { color: var(--text); font-size: .8125rem; }
.sort-form select {
  max-width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--paper);
  font-size: .875rem;
}
.check-option {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 9px;
  font-size: .875rem;
  font-weight: 650;
}
.check-option input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.info-page { max-width: 870px; padding-block-end: 38px; }
.info-intro { max-width: 64ch; font-weight: 500; }
.info-sections { margin-block: 22px; }
.info-sections section { padding: 13px 0; border-top: 1px solid var(--line); }
.info-sections section:last-child { border-bottom: 1px solid var(--line); }
.info-sections h2 { font-size: 1.15rem; margin-bottom: 4px; }
.info-sections p { max-width: 68ch; color: var(--text); }
.photo-figure { position: relative; margin: 0 0 8px; }
.photo-main { touch-action: pan-y; }
.photo-main img { object-fit: cover; }
.photo-main.is-detail img { transform: scale(1.46); transform-origin: 57% 49%; }
.photo-main.is-detail[data-sf-gallery=deep] img { transform-origin: 72% 68%; }
.photo-main.is-detail[data-sf-gallery=orange] img { transform-origin: 73% 56%; }
.photo-figure .gallery-controls {
  position: absolute;
  right: 7px;
  bottom: 7px;
  margin: 0;
  gap: 0;
  border-radius: 22px;
  background: var(--cream);
}
.photo-figure .gallery-caption {
  position: absolute;
  left: 8px;
  bottom: 10px;
  padding: 4px 6px;
  border-radius: 5px;
  color: var(--ink);
  background: var(--cream);
}
.product-use { display: flex; align-items: center; gap: 7px; font-weight: 650; font-size: .875rem; }
.product-use svg { width: 16px; height: 16px; color: var(--gold); }
.per-guest { color: var(--text); font-size: .8125rem; }
.source-copy { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 9px; }
.source-copy strong { flex: 1 0 100%; }
.alternative > span { min-width: 0; }
.alternative > img { flex: 0 0 52px; }
.accordion dl { display: grid; gap: 6px; margin: 0; }
.accordion dl > div { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; }
@media (max-width: 759px) {
  .product-info .eyebrow { display: none; }
}
#shop:focus { outline: none; }
.sort-form select { font-size: 1rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 15px; align-items: center; }
.site-footer nav a { display: inline-flex; min-height: 39px; align-items: center; }

/* «Добавлено в корзину» */
.added-item { display: flex; gap: 12px; align-items: center; margin-block: 4px 16px; }
.added-item img { width: 72px; height: 72px; flex: none; object-fit: cover; border: 1px solid var(--line); border-radius: 12px; background: var(--sand); }
.added-title { margin: 0; font-weight: 650; line-height: 1.3; }
.added-meta { margin: 3px 0 0; color: var(--text); }
.added-item .hint { margin: 4px 0 0; font-size: .8125rem; }
.added-actions { display: grid; gap: 8px; }
.added-actions > * { width: 100%; justify-content: center; text-align: center; }
@media (max-width: 759px) {
  .shop-dialog.is-sheet { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 18px 18px 0 0; border-bottom: 0;
    padding-bottom: env(safe-area-inset-bottom); }
}

/* Сенсорные экраны: без рамок фокуса. iPhone рисует их, когда меню или окно само ставит фокус
   на первую ссылку (например, на логотип в меню). С клавиатуры на компьютере рамки остаются. */
@media (hover: none) and (pointer: coarse) {
  :focus, :focus-visible { outline: none !important; }
}
