/* RSA Leather Goods — дизайн-система */
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-normal-cyrillic.woff2") format("woff2"); font-weight: 400 600; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-normal-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Cormorant"; font-style: italic; src: url("../fonts/cormorant-italic-cyrillic.woff2") format("woff2"); font-weight: 400 500; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; font-style: italic; src: url("../fonts/cormorant-italic-latin.woff2") format("woff2"); font-weight: 400 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-normal-cyrillic.woff2") format("woff2"); font-weight: 300 600; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-normal-latin.woff2") format("woff2"); font-weight: 300 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+20BD, U+2122, U+2212; }

:root {
  --chocolate: #30241F;
  --brown: #70462E;
  --cognac: #A47750;
  --sand: #D4C3A8;
  --brass: #A58A60;
  --ivory: #F4F0E8;
  --sand-soft: #EAE2D3;
  --muted: #6E5F54;
  --line: #D9CFBF;
  --error: #8E2F20;
  --serif: "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(18px, 3.4vw, 56px);
  --header: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; background: var(--ivory); color: var(--chocolate); font: 400 15px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
dialog { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--chocolate); color: var(--ivory); }
.skip:focus { top: 12px; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.1; flex: none; }

/* Типографика */
.display { font: 500 clamp(32px, 3.6vw, 52px)/1.08 var(--serif); letter-spacing: -.005em; }
.display--xl { font-size: clamp(44px, 6vw, 88px); }
.display--page { margin-bottom: 26px; font-size: clamp(36px, 4vw, 58px); }
.eyebrow { display: block; margin-bottom: 14px; color: var(--brown); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.lead { max-width: 620px; margin-bottom: 26px; color: var(--muted); font-size: 16px; }
.link { display: inline-block; padding-bottom: 3px; border-bottom: 1px solid var(--brass); font-size: 13px; font-weight: 500; letter-spacing: .04em; transition: color .25s, border-color .25s; }
.link:hover { color: var(--brown); border-color: var(--brown); }
.textbtn { color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.textbtn:hover { color: var(--chocolate); }
.error { margin-top: 4px; color: var(--error); font-size: 13px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 32px; border: 1px solid var(--chocolate); background: var(--chocolate); color: var(--ivory); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-align: center; transition: background-color .25s, color .25s, border-color .25s; }
.btn:hover { background: var(--brown); border-color: var(--brown); }
.btn--ghost { background: transparent; color: var(--chocolate); }
.btn--ghost:hover { background: var(--chocolate); border-color: var(--chocolate); color: var(--ivory); }
.btn--light { background: transparent; border-color: var(--ivory); color: var(--ivory); }
.btn--light:hover { background: var(--ivory); border-color: var(--ivory); color: var(--chocolate); }
.btn--solid { background: var(--ivory); border-color: var(--ivory); color: var(--chocolate); }
.btn--solid:hover { background: var(--sand); border-color: var(--sand); color: var(--chocolate); }
.btn--large { min-height: 64px; padding: 18px 44px; font-size: 13px; }
.btn--small { min-height: 42px; padding: 8px 18px; font-size: 11px; }
.btn--full { display: flex; width: 100%; }
.btn--grow { flex: 1; padding-inline: 16px; }

/* Шапка */
.header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: var(--header); padding: 0 var(--pad); background: var(--ivory); border-bottom: 1px solid var(--line); transition: background-color .35s, color .35s, border-color .35s; }
.header--over { margin-bottom: calc(var(--header) * -1); background: rgba(48, 36, 31, .55); border-color: transparent; color: var(--ivory); }
.header--over.is-solid { background: var(--ivory); border-color: var(--line); color: var(--chocolate); }
.iconbtn.header__burger { display: none; }
.header__nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 13px; }
.header__nav a { position: relative; padding: 4px 0; transition: opacity .2s; }
.header__nav a:hover { opacity: .65; }
.header__nav .nav-accent { padding: 6px 14px; margin: -2px 0; background: var(--brown); color: var(--ivory); font-weight: 600; opacity: 1; transition: background-color .25s; }
.header__nav .nav-accent:hover { background: var(--chocolate); opacity: 1; }
.header__nav .nav-accent[aria-current] { box-shadow: none; }
.menu__main .menu__accent { color: var(--brown); }
.header__nav a[aria-current] { box-shadow: 0 1px 0 currentColor; }
.soon { margin-left: 6px; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; vertical-align: 3px; }
.logo { display: flex; flex-direction: column; align-items: center; justify-self: center; line-height: 1; }
.logo__mark { font: 500 32px/1 var(--serif); letter-spacing: .24em; margin-right: -.24em; }
.logo__sub { margin-top: 4px; font-size: 8px; letter-spacing: .34em; margin-right: -.34em; text-transform: uppercase; }
.header__tools { position: relative; display: flex; justify-content: flex-end; gap: 6px; }
.header__contacts summary { list-style: none; cursor: pointer; }
.header__contacts summary::-webkit-details-marker { display: none; }
.header__contact-links {
  position: absolute;
  inset-block-start: 100%;
  inset-inline-end: 0;
  width: max-content;
  max-width: calc(100vw - 2 * var(--pad));
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--chocolate);
  box-shadow: 0 6px 20px rgba(48, 36, 31, .14);
  overflow-wrap: anywhere;
}
.header__contact-links a { display: block; padding: 5px 0; }
.header__contact-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.iconbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; transition: opacity .2s; }
.iconbtn:hover { opacity: .65; }
.iconbtn.is-active .icon, .wish.is-active .icon { fill: currentColor; }
.badge { position: absolute; top: 2px; right: 0; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--brown); color: var(--ivory); font-size: 10px; line-height: 16px; text-align: center; }

/* Меню и поиск */
.menu { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0 var(--pad) 32px; border: 0; background: var(--ivory); }
.menu[open] { display: flex; flex-direction: column; animation: fade .25s ease-out; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: 72px; flex: none; border-bottom: 1px solid var(--line); }
.menu__main { display: flex; flex-direction: column; padding: 24px 0; }
.menu__main a { padding: 10px 0; font: 500 34px/1.15 var(--serif); }
.menu__sub { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); }
.searchbox { width: 100%; max-width: none; margin: 0 0 auto; padding: 0 var(--pad) 28px; border: 0; background: var(--ivory); }
.searchbox::backdrop, .filters::backdrop { background: rgba(48, 36, 31, .42); }
.searchbox__form { display: flex; align-items: center; gap: 14px; height: var(--header); border-bottom: 1px solid var(--chocolate); }
.searchbox__form input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 clamp(22px, 2.6vw, 32px) var(--serif); }
.searchbox__results { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 24px; padding-top: 14px; }
.searchbox__results a { display: flex; align-items: center; gap: 14px; padding: 8px 0; }
.searchbox__results .searchbox__all { grid-column: 1 / -1; width: fit-content; text-decoration: underline; text-underline-offset: 3px; }
.searchbox__results img { width: 64px; height: 80px; object-fit: cover; }
.searchbox__results small { display: block; color: var(--muted); }
.searchbox__results p { color: var(--muted); }

/* Уведомления */
.toast { position: fixed; z-index: 60; left: 50%; bottom: 26px; padding: 13px 22px; max-width: calc(100vw - 32px); background: var(--chocolate); color: var(--ivory); font-size: 14px; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .3s, transform .3s var(--ease); }
.toast.is-visible { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.toast--error { background: var(--error); }
.toast a { margin-left: 12px; text-decoration: underline; text-underline-offset: 3px; }
.notice { margin-bottom: 20px; padding: 12px 16px; background: var(--sand-soft); }
.notice--error { background: #F1DDD4; color: var(--error); }

/* Главная: первый экран */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; background: var(--chocolate); color: var(--ivory); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 60%; opacity: .78; }
.hero__text { position: absolute; left: var(--pad); bottom: clamp(36px, 7vh, 72px); max-width: 560px; }
.hero__brand { font: 500 clamp(72px, 11vw, 168px)/.9 var(--serif); letter-spacing: .14em; }
.hero__slogan { margin: 18px 0 16px; font-size: 13px; font-weight: 500; letter-spacing: .3em; }
.hero__lead { margin-bottom: 28px; font-size: 15px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.feature { display: grid; grid-template-columns: 7fr 5fr; background: var(--sand-soft); }
.feature__media { display: block; overflow: hidden; min-height: 420px; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature__media:hover img { transform: scale(1.025); }
.feature__text { align-self: center; padding: clamp(32px, 6vw, 96px); }
.feature__text .display { margin-bottom: 18px; }
.feature__text p:not(.eyebrow) { margin-bottom: 24px; color: var(--muted); }

.section { padding: clamp(56px, 7vw, 112px) var(--pad); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: clamp(24px, 3vw, 44px); }

/* Карточки */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 22px; }
.grid--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1180px; }
.grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--large { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; min-width: 0; }
.card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand-soft); }
.card__media > a { display: block; height: 100%; }
.card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .9s var(--ease); }
.card__alt { position: absolute; inset: 0; opacity: 0; transition: opacity .45s; }
.card__tag { position: absolute; left: 12px; top: 12px; padding: 3px 9px; background: var(--ivory); font-size: 11px; }
.card__wish { position: absolute; top: 6px; right: 6px; color: var(--ivory); }
.card__body { display: flex; flex-direction: column; flex: 1; padding-top: 14px; }
.card__sku { margin: 0 0 6px; font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.card__name { font: 500 clamp(18px, 1.5vw, 22px)/1.2 var(--serif); }
.card__name a:hover { color: var(--brown); }
.card__price { margin: 6px 0 10px; font-size: 14px; }
.card__buy { align-self: flex-start; margin-top: auto; padding-bottom: 2px; border-bottom: 1px solid var(--brass); font-size: 12px; font-weight: 500; letter-spacing: .08em; transition: color .2s; }
.card__buy:hover { color: var(--brown); }
.card form[data-cart-form] { margin-top: auto; }
@media (hover: hover) {
  .card:hover .card__alt { opacity: 1; }
  .card:hover .card__media > a > img { transform: none; }
}
.noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 160px; background: var(--sand-soft); color: var(--brass); font: 500 28px var(--serif); letter-spacing: .24em; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches--small { gap: 5px; margin-bottom: 10px; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(48, 36, 31, .2); }
.swatch--link { position: relative; width: 28px; height: 28px; }
.swatch--link.is-active { outline: 1px solid var(--chocolate); outline-offset: 3px; }
.swatch--link.is-out { opacity: .4; }

/* Философия, мастерство, путешествие */
.philosophy { display: flex; flex-direction: column; align-items: center; padding: clamp(72px, 10vw, 160px) var(--pad); background: var(--chocolate); color: var(--ivory); text-align: center; }
.philosophy__rule { width: 64px; height: 1px; margin-bottom: 40px; background: var(--brass); }
.philosophy blockquote { max-width: 980px; margin-bottom: 44px; font: italic 400 clamp(28px, 3.5vw, 52px)/1.2 var(--serif); }
.craft__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; align-items: end; margin-bottom: clamp(28px, 4vw, 60px); }
.craft__intro .eyebrow { grid-column: 1 / -1; margin: 0; }
.craft__intro p:last-child { max-width: 480px; color: var(--muted); }
.craft__grid { display: grid; grid-template-columns: 5fr 4fr 5fr; gap: 22px; align-items: start; }
.craft__item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.craft__item:nth-child(2) { margin-top: clamp(32px, 6vw, 96px); }
.craft__item figcaption { padding-top: 16px; }
.craft__item h3 { margin-bottom: 6px; font: 500 24px/1.2 var(--serif); }
.craft__item p { color: var(--muted); font-size: 14px; }
.travel { display: grid; grid-template-columns: 1fr 1fr; background: var(--sand); }
.travel__media img { width: 100%; height: 100%; object-fit: cover; }
.travel__text { align-self: center; padding: clamp(32px, 6vw, 96px); }
.travel__text .display { margin-bottom: 18px; }
.travel__text p:not(.eyebrow) { margin-bottom: 24px; }
.newsletter { padding: clamp(56px, 7vw, 104px) var(--pad); text-align: center; }
.newsletter > p { margin: 10px 0 26px; color: var(--muted); }
.subscribe { max-width: 520px; margin: 0 auto; text-align: left; }
.subscribe__row { display: flex; gap: 0; margin-bottom: 12px; }
.subscribe input[type=email] { flex: 1; min-width: 0; padding: 0 16px; border: 1px solid var(--chocolate); border-right: 0; border-radius: 0; background: transparent; }

/* Сумка на заказ */
.customstrip { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px clamp(32px, 6vw, 96px); align-items: end; padding: clamp(64px, 9vw, 144px) var(--pad); background: var(--chocolate); color: var(--ivory); }
.customstrip .display { font-size: clamp(50px, 7.4vw, 116px); line-height: 1; }
.customstrip__term { margin-top: 20px; color: var(--sand); font-size: clamp(13px, 1.1vw, 15px); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.customstrip p:not(.customstrip__term) { max-width: 560px; margin-bottom: 28px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; }
.custom { display: grid; grid-template-columns: 1fr minmax(0, 620px); gap: clamp(28px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 88px); }
.custom__intro { padding: 0; }
.custom__intro ol { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: step; }
.custom__intro li { position: relative; margin: 0; padding: 16px 0 16px 44px; border-top: 1px solid var(--line); counter-increment: step; }
.custom__intro li::before { content: counter(step); position: absolute; left: 0; top: 8px; color: var(--brass); font: 500 28px var(--serif); }
.custom__form { padding: clamp(20px, 3vw, 36px); background: var(--sand-soft); }
.custom__form h2 { margin: 10px 0 14px; font: 500 26px/1.2 var(--serif); }
.custom__form h2:not(:first-of-type) { margin-top: 26px; }
.custom__term { margin-top: 14px; color: var(--muted); font-size: 12px; text-align: center; }
.custom__form .check { margin-bottom: 14px; }
.custom__sent { padding: clamp(24px, 4vw, 48px); background: var(--sand-soft); }
.custom__sent .display { margin-bottom: 14px; }
.custom__sent p:not(.eyebrow) { margin-bottom: 20px; }
.upload { position: relative; display: block; margin-bottom: 14px; padding: 18px; border: 1px dashed var(--brass); cursor: pointer; transition: background-color .2s; }
.upload:hover, .upload:focus-within { background: var(--ivory); }
.upload--error { border-color: var(--error); }
.upload__title { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.upload small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.upload input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

/* Подвал */
.footer { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px 28px; padding: clamp(44px, 5vw, 76px) var(--pad) 28px; background: var(--chocolate); color: var(--ivory); font-size: 14px; }
.footer .logo { align-items: flex-start; justify-self: start; }
.footer__slogan { margin-top: 18px; color: var(--sand); font: italic 400 22px var(--serif); }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer__col h2 { margin-bottom: 8px; color: var(--sand); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.footer__col a:hover, .footer__legal a:hover { color: var(--sand); }
.footer__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 22px; border-top: 1px solid rgba(212, 195, 168, .25); color: var(--sand); font-size: 12px; }
.consent { position: fixed; z-index: 40; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; max-width: 560px; padding: 14px 18px; background: var(--ivory); border: 1px solid var(--line); }
.consent p { flex: 1 1 200px; font-size: 13px; }
.consent a { text-decoration: underline; }

/* Каталог */
.wrap { padding: 0 var(--pad); }
.narrow-top { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 88px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 22px 0; color: var(--muted); font-size: 12px; }
.crumbs a:hover { color: var(--chocolate); }
.tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; margin-bottom: 28px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.tabs a[aria-current] { box-shadow: 0 2px 0 var(--brown); padding-bottom: 2px; }
.tabs a:hover { color: var(--brown); }
.tabs form { margin-left: auto; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-bottom: 26px; font-size: 13px; }
.toolbar__filters { display: none; align-items: center; gap: 8px; }
.toolbar__count { margin-right: auto; color: var(--muted); }
.toolbar__select { display: flex; align-items: center; gap: 8px; }
.toolbar__select span { color: var(--muted); }
select { padding: 6px 26px 6px 8px; border: 1px solid var(--line); border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%2330241F'/%3E%3C/svg%3E") no-repeat right 8px center / 10px; appearance: none; }
.toolbar__view { display: flex; }
.toolbar__view .iconbtn { opacity: .4; }
.toolbar__view .iconbtn.is-active { opacity: 1; }
.toolbar__view .is-active .icon { fill: none; }
.catalog { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 40px; padding-bottom: clamp(48px, 6vw, 96px); }
.filters { position: static; display: block; width: auto; max-width: none; height: auto; max-height: none; margin: 0; padding: 0; border: 0; background: none; }
.filters__head { display: none; }
.filters fieldset { padding: 16px 0; border-top: 1px solid var(--line); }
.filters legend { float: left; width: 100%; margin-bottom: 10px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.filters legend + * { clear: both; }
.filters__price { display: flex; gap: 8px; }
.filters__price input { width: 50%; min-width: 0; padding: 8px; border: 1px solid var(--line); background: transparent; font-size: 13px; }
.filters__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.check { display: flex; align-items: flex-start; gap: 10px; padding: 4px 0; cursor: pointer; font-size: 14px; }
.check input { width: 17px; height: 17px; margin: 3px 0 0; flex: none; accent-color: var(--chocolate); }
.check span { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0 7px; }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.check--small { font-size: 12px; color: var(--muted); }
.check--small span { display: inline; }
.check--error { color: var(--error); }
.empty { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 44px 0; }
.pagination { display: flex; gap: 6px; margin-top: 44px; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--line); font-size: 13px; }
.pagination span { background: var(--chocolate); border-color: var(--chocolate); color: var(--ivory); }
.pagehero { position: relative; display: flex; align-items: flex-end; min-height: 72vh; overflow: hidden; background: var(--chocolate); color: var(--ivory); }
.pagehero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.pagehero__img--top { object-position: 50% 25%; }
.pagehero__text { position: relative; max-width: 720px; padding: clamp(32px, 5vw, 72px) var(--pad); }
.pagehero .eyebrow { color: var(--sand); }
.pagehero__text p:last-child:not(.eyebrow) { margin-top: 16px; font-size: 16px; }
.soonpage { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: clamp(72px, 12vw, 180px) var(--pad); text-align: center; }
.soonpage .lead { margin: 0; }
.soonpage .subscribe { width: 100%; }
.searchpage { display: flex; max-width: 620px; margin-bottom: 28px; }
.searchpage input { flex: 1; min-width: 0; padding: 0 16px; border: 1px solid var(--chocolate); border-right: 0; border-radius: 0; background: transparent; }

/* Карточка товара */
.pdp { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: clamp(28px, 4vw, 72px); padding: 0 var(--pad); }
.gallery { --stage-h: max(240px, calc(100vh - var(--header) - 96px)); --stage-h: max(240px, calc(100svh - var(--header) - 96px)); display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-self: start; align-items: start; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 8px; max-height: var(--stage-h); overflow-y: auto; scrollbar-width: none; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__thumbs button { flex: none; aspect-ratio: 3 / 2; overflow: hidden; opacity: .55; transition: opacity .2s; }
.gallery__thumbs button.is-active, .gallery__thumbs button:hover { opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gallery__stage { grid-column: 2; grid-row: 1; justify-self: center; width: min(100%, calc(var(--stage-h) * 1.5)); display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--sand-soft); }
.gallery__stage::-webkit-scrollbar { display: none; }
.gallery__slide { display: block; flex: 0 0 100%; aspect-ratio: 3 / 2; overflow: hidden; scroll-snap-align: start; cursor: zoom-in; }
.gallery__slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery__hint { grid-column: 2; justify-self: center; width: min(100%, calc(var(--stage-h) * 1.5)); color: var(--muted); font-size: 12px; text-align: right; }
.gallery__video { grid-column: 2; width: 100%; background: var(--chocolate); }
.buy { position: sticky; top: calc(var(--header) + 20px); align-self: start; }
.buy__name { margin-bottom: 12px; font: 500 clamp(30px, 3vw, 44px)/1.1 var(--serif); }
.buy__price { margin-bottom: 16px; font-size: 19px; }
.buy__short { margin-bottom: 24px; color: var(--muted); }
.buy__label { margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.buy__label strong { color: var(--chocolate); font-weight: 500; }
.buy__stock { margin: 18px 0; color: var(--error); font-size: 13px; }
.buy__stock.is-in { color: var(--brown); }
.buy__note { margin-bottom: 16px; padding: 16px 18px; background: var(--sand-soft); }
.buy__note--small { margin: 14px 0 0; padding: 0; background: none; color: var(--muted); font-size: 13px; }
.buy__note a { text-decoration: underline; text-underline-offset: 3px; color: var(--chocolate); }
.buy__order { margin-bottom: 10px; }
.stock-alert { scroll-margin-top: calc(var(--header) + 16px); }
.stock-alert .subscribe__row .btn { padding-inline: 16px; }
.buy__trust { display: grid; gap: 8px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 13px; }
.buy__trust li { position: relative; padding-left: 20px; }
.buy__trust li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 8px; height: 5px; border: solid var(--brown); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.buy__trust a { color: var(--chocolate); text-decoration: none; }
.buy__trust a:hover { text-decoration: underline; text-underline-offset: 3px; }
.custom__model { margin-bottom: 14px; font-size: 14px; }
.custom__model a { text-decoration: underline; text-underline-offset: 3px; }
.buy__form { display: flex; gap: 10px; margin-bottom: 10px; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--chocolate); height: 52px; }
.qty button { width: 40px; font-size: 18px; }
.qty input { width: 40px; border: 0; background: none; text-align: center; appearance: textfield; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.specs { margin: 26px 0; border-top: 1px solid var(--line); }
.specs > div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { text-align: right; }
.details { max-width: 880px; padding-top: clamp(32px, 4vw, 64px); }
.accordion { border-bottom: 1px solid var(--line); }
.accordion:first-child { border-top: 1px solid var(--line); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary h2 { font: 500 24px var(--serif); }
.accordion summary::after { content: "+"; font-size: 22px; font-weight: 300; line-height: 1; }
.accordion[open] summary::after { content: "−"; }
.accordion__body { padding-bottom: 22px; color: var(--muted); }
.accordion__body ul { margin: 8px 0 12px; }
.accordion__body li { margin-bottom: 6px; }
.accordion__body strong { color: var(--chocolate); font-weight: 500; }
.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--chocolate); color: var(--ivory); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: fade .2s ease-out; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox .iconbtn { position: absolute; z-index: 1; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 14px; top: 50%; }
.lightbox__next { right: 14px; top: 50%; }

/* Корзина и оформление */
.cartlayout, .checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(28px, 4vw, 64px); align-items: start; }
.cartline { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.cartline__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cartline h2 { font: 500 22px/1.2 var(--serif); }
.cartline__price { margin: 4px 0 12px; color: var(--muted); font-size: 14px; }
.cartline__form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 18px; margin-bottom: 10px; }
.cartline__form .qty { height: 38px; }
.cartline__form .qty button { width: 32px; }
.cartline__form .qty input { width: 34px; }
.cartline__sum { font-size: 16px; white-space: nowrap; }
.summary { position: sticky; top: calc(var(--header) + 20px); padding: 28px; background: var(--sand-soft); }
.summary h2, .checkout h2, .accountblock h2, .accountform h2, .orderpage h2 { margin-bottom: 16px; font: 500 26px/1.2 var(--serif); }
.summary__items { margin-bottom: 18px; }
.summary__items li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; font-size: 14px; }
.summary__items img { width: 56px; height: 70px; object-fit: cover; }
.summary__items .noimg { width: 56px; height: 70px; min-height: 0; font-size: 11px; }
.summary__items small { display: block; color: var(--muted); }
.summary__items b { font-weight: 400; white-space: nowrap; }
.summary__note { margin: 14px 0; color: var(--muted); font-size: 12px; }
.summary__back { display: block; margin-top: 14px; text-align: center; }
.promo { display: flex; gap: 8px; margin-bottom: 18px; }
.promo input { flex: 1; min-width: 0; padding: 0 12px; border: 1px solid var(--chocolate); border-radius: 0; background: transparent; }
.totals > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 14px; }
.totals dt { color: var(--muted); }
.totals__sum { margin: 8px 0 14px; padding-top: 14px !important; border-top: 1px solid var(--brass); font-size: 18px !important; }
.totals__sum dt { color: inherit; }
.checkout section { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.checkout section:last-child { border: 0; margin: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 12px; }
.field input, .field textarea, .field select { display: block; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 0; background: transparent; font-size: 16px; transition: border-color .2s; }
.field input:focus, .field textarea:focus { border-color: var(--chocolate); outline: 0; }
.field select { padding-right: 28px; }
.field small { display: block; margin-top: 4px; color: var(--error); font-size: 12px; }
.field--error input, .field--error textarea { border-color: var(--error); }
.field--inline { margin: 0; }
.field--inline select { padding: 8px 28px 8px 10px; font-size: 14px; min-width: 150px; }
.option { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); cursor: pointer; }
.option:first-child { border-top: 0; padding-top: 0; }
.option input { width: 17px; height: 17px; margin: 3px 0 0; flex: none; accent-color: var(--chocolate); }
.option span { flex: 1; min-width: 0; }
.option strong { display: block; font-weight: 500; }
.option small { color: var(--muted); font-size: 13px; }
.option em { color: var(--muted); font-size: 13px; font-style: normal; text-align: right; }
.orderpage { max-width: 720px; margin: 0 auto; }
.orderpage .btn { margin-top: 12px; }
.history li { padding: 6px 0; font-size: 14px; }
.history span { color: var(--muted); margin-right: 8px; }

/* Кабинет */
.authbox { width: min(440px, 100%); margin: 0 auto; padding: clamp(36px, 6vw, 80px) 18px; }
.authbox > p:not(.authbox__links):not(.notice) { margin-bottom: 18px; color: var(--muted); }
.authbox__links { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; }
.accountblock { margin-bottom: 44px; }
.accountform { max-width: 700px; }
.accountform h2 { margin-top: 18px; }
.addresses li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.addresses strong { font-weight: 500; }
.tablewrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); text-align: left; }
.table th { color: var(--muted); font-size: 12px; font-weight: 400; }
.table a { text-decoration: underline; text-underline-offset: 3px; }

/* Текстовые страницы */
.prose { max-width: 760px; padding-bottom: clamp(48px, 6vw, 88px); }
.prose h2 { margin: 30px 0 10px; font: 500 28px/1.2 var(--serif); }
.prose p { margin-bottom: 14px; }
.prose ul { margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.prose strong { font-weight: 500; }
.prose a:not(.link) { text-decoration: underline; text-underline-offset: 3px; }
.prose details { padding: 14px 0; border-bottom: 1px solid var(--line); }
.prose summary { font: 500 22px var(--serif); cursor: pointer; }
.prose details p { margin: 10px 0 0; color: var(--muted); }
.prose--about { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 56px; padding-bottom: 28px; }
.prose--about h2 { margin-top: 12px; font-size: 36px; }
.prose--about section { padding: 18px 0; border-top: 1px solid var(--line); }
.about__cta { padding-bottom: clamp(48px, 6vw, 88px); }
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); padding-bottom: clamp(48px, 6vw, 88px); }
.contacts .prose { padding: 0; }

/* Появление при прокрутке — только если работает JS */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-seen { opacity: 1; transform: none; }
@keyframes fade { from { opacity: 0; } }

@media (max-width: 1600px) {
  .header__nav { column-gap: 16px; }
  .header__nav .soon { display: none; }
}
@media (max-width: 1440px) {
  .header { grid-template-columns: auto 1fr auto; }
  .header__nav { display: none; }
  .iconbtn.header__burger { display: inline-flex; margin-left: -9px; justify-self: start; }
  .header .logo { justify-self: center; }
  .header__account { display: none; }
}
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog { grid-template-columns: 1fr; gap: 0; }
  .toolbar__filters { display: inline-flex; }
  .filters { position: fixed; inset: 0 auto 0 0; display: none; width: min(380px, 100%); height: 100%; padding: 0 22px 22px; overflow-y: auto; background: var(--ivory); }
  .filters[open] { display: block; animation: fade .2s ease-out; }
  .filters__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; height: 62px; background: var(--ivory); }
  .filters__head h2 { font: 500 26px var(--serif); }
  .filters__actions .btn { width: 100%; }
}
@media (max-width: 960px) {
  .pdp { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery__stage, .gallery__hint, .gallery__video { grid-column: 1; }
  .gallery__stage { grid-row: 1; }
  .gallery__thumbs { display: none; }
  .gallery__hint { padding: 0 var(--pad); }
  .buy { position: static; padding: 0 var(--pad); }
  .cartlayout, .checkout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .feature, .travel, .contacts, .custom, .customstrip { grid-template-columns: minmax(0, 1fr); }
  .feature__media { min-height: 0; aspect-ratio: 4 / 3; }
  .travel__media { aspect-ratio: 1; }
  .craft__intro { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --header: 64px; }
  .logo__mark { font-size: 25px; }
  .logo__sub { font-size: 7px; }
  .header { gap: 6px; }
  .header__tools { gap: 0; }
  .header__tools .iconbtn { width: 36px; }
  .hero__img { object-position: 62% 60%; }
  .hero__text { right: var(--pad); }
  .hero__actions .btn { flex: 1 1 100%; }
  .customstrip .btn--large { display: flex; }
  .grid { gap: 28px 10px; }
  .grid--large { grid-template-columns: minmax(0, 1fr); }
  .card__name { font-size: 17px; }
  .card__price { font-size: 13px; }
  .toolbar__per, .toolbar__view { display: none; }
  .toolbar__count { order: 3; width: 100%; }
  .craft__grid { grid-template-columns: minmax(0, 1fr); }
  .craft__item:nth-child(2) { margin-top: 0; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .cartline { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; }
  .cartline__sum { grid-column: 2; }
  .subscribe__row { flex-direction: column; gap: 8px; }
  .subscribe input[type=email] { min-height: 52px; border-right: 1px solid var(--chocolate); }
  .prose--about { grid-template-columns: minmax(0, 1fr); }
  .pagehero { min-height: 62vh; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
  .tabs form { margin-left: 0; }
  .summary { margin-inline: calc(var(--pad) * -1); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Страница «Подарки»: сетка сумок внутри текста */
.prose:has(+ .gifts__grid) { padding-bottom: 0; }
.gifts__grid { margin: 18px 0 clamp(32px, 4vw, 56px); }

/* Availability is separate from the quantity that can be ordered. */
.card__tag--release { max-width: calc(100% - 60px); padding: 5px 8px; line-height: 1.35; color: var(--brown); background: var(--ivory); }
.card__availability { margin: 0 0 8px; font-size: 12px; line-height: 1.5; color: var(--brown); }
.card__gift { align-self: flex-start; margin: 0 0 12px; font-size: 12px; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
.release-badge { display: inline-block; margin: 10px 0 14px; padding: 7px 12px; background: var(--sand-soft); color: var(--brown); font-size: 14px; line-height: 1.5; }
.gift-link { display: inline-block; margin: 0 0 18px; color: var(--brown); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.availability-note { margin: 8px 0; color: var(--brown); font-size: 13px; line-height: 1.5; }
.summary__items .availability-note { color: var(--brown); }
.gift-season { margin: 24px 0 32px; padding: clamp(18px, 3vw, 32px); background: var(--sand-soft); border-left: 2px solid var(--brass); }
.prose .gift-season h2 { margin-top: 8px; }
