/* =====================================================================
   TERA DESIGN — тема для Turbo CMS (мультибрендовый салон)
   Светлый фон, Playfair Display + Inter,
   нулевые радиусы, тонкие линии, крупные фотографии.
   ===================================================================== */

:root {
  --bg: #fafaf7;
  --paper: #f2f1ec;
  --stone: #e9e7e1;
  --ink: #1a1a1a;
  --ink-2: #2b2b2a;
  --muted: #6b6a66;
  --faint: #9a9892;
  --line: rgba(26, 26, 26, .12);
  --line-strong: rgba(26, 26, 26, .28);
  --dark: #1b1b1a;
  --dark-2: #262624;
  --brass: #a3814f;
  --ok: #3f6b4a;
  --err: #a2402f;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 15px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--bg); }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- типографика ---------- */
.kicker, .eyebrow {
  font: 500 11px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}
.h1, .h2, .h3, .h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; margin: 0; }
.h1 { font-size: clamp(40px, 6.4vw, 84px); line-height: 1.02; }
.h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.05; }
.h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.12; }
.h4 { font-size: 22px; line-height: 1.25; }
.h1 em, .h2 em, .h3 em { font-style: italic; }
.lead { font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 40rem; }
.muted { color: var(--muted); }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .04em; }

.content { max-width: 46rem; }
.content--delivery { max-width: none; }
.delivery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0 28px; }
.delivery-card { border: 1px solid var(--line); background: var(--paper); padding: clamp(20px, 3vw, 32px); }
.delivery-card__eyebrow { color: var(--muted); font: 600 10px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.content .delivery-card h3 { font: 400 24px/1.2 var(--serif); margin: 14px 0 18px; }
.content .delivery-card__price { font: 400 21px/1.3 var(--serif); color: var(--ink); margin-bottom: 8px; }
@media (max-width: 800px) { .delivery-grid { grid-template-columns: 1fr; } }
.content h2 { font: 400 28px/1.2 var(--serif); margin: 48px 0 16px; }
.content h3 { font: 600 15px/1.4 var(--sans); margin: 32px 0 10px; }
.content p, .content ul, .content ol { margin: 0 0 16px; color: var(--ink-2); }
.content ul { padding-left: 18px; }
.content li { margin-bottom: 8px; }
.content a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.content table { border-collapse: collapse; width: 100%; margin: 16px 0; }
.content td, .content th { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.content .lead { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.5; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  border-radius: 0; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s;
  white-space: nowrap;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--ink-2); }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: transparent; color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--sm { min-height: 40px; padding: 0 20px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn .ic { width: 15px; height: 15px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 6px;
}
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--sm { width: 15px; height: 15px; }
.ic--lg { width: 22px; height: 22px; }

/* ---------- поля ---------- */
.field {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong);
  background: #fff; border-radius: 0; outline: none; transition: border-color .2s;
}
.field:focus { border-color: var(--ink); }
textarea.field { min-height: 120px; resize: vertical; }
.field--qty { width: 84px; text-align: center; min-height: 44px; padding: 8px; }
.form-stack { display: grid; gap: 12px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-label { display: block; font: 500 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.check input { margin-top: 4px; accent-color: var(--ink); }
.alert { padding: 14px 16px; border: 1px solid var(--line-strong); background: #fff; font-size: 14px; margin-bottom: 16px; }
.alert--ok { border-color: var(--ok); color: var(--ok); }
.alert--err { border-color: var(--err); color: var(--err); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(250, 250, 247, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line); transition: background .35s var(--ease), border-color .35s, color .35s;
}
.header__bar { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: baseline; text-decoration: none; line-height: 1; flex: none; }
.logo__word { font: 500 24px/1 var(--serif); letter-spacing: -.01em; }
.logo__tag { font: 300 10.5px/1 var(--sans); letter-spacing: .35em; text-transform: uppercase; opacity: .7; margin-left: 5px; }
.nav { display: flex; gap: 28px; margin: 0 auto; }
.nav a {
  font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  padding: 8px 0; position: relative; white-space: nowrap;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.search-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px;
  border: 1px solid var(--line-strong); background: transparent;
  font: 500 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
}
.search-btn kbd { font: 500 9px/1 var(--sans); letter-spacing: .08em; color: var(--faint); border: 0; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; text-decoration: none; background: transparent; border: 0;
}
.icon-btn .badge {
  position: absolute; top: 4px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--ink); color: var(--bg); font: 600 9px/16px var(--sans); text-align: center; border-radius: 8px;
}
.icon-btn .badge:empty, .icon-btn .badge[data-n="0"] { display: none; }
.burger { display: none; }
/* шапка поверх hero */
.has-hero .header:not(.is-scrolled) { background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-hero .header:not(.is-scrolled) .logo__tag { color: rgba(255,255,255,.75); }
.has-hero .header:not(.is-scrolled) .search-btn { border-color: rgba(255,255,255,.45); }
.has-hero .header:not(.is-scrolled) .search-btn kbd { color: rgba(255,255,255,.6); }
.has-hero .header:not(.is-scrolled) .icon-btn .badge { background: #fff; color: var(--ink); }
.has-hero main { margin-top: calc(var(--header-h) * -1); }

@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .search-btn kbd { display: none; }
}
@media (max-width: 960px) {
  .nav, .search-btn span, .header__actions .hide-m { display: none; }
  .search-btn { border: 0; padding: 0 8px; }
  .burger { display: inline-flex; }
}

/* мобильное меню */
.drawer-nav {
  position: fixed; inset: 0; z-index: 80; background: var(--bg); color: var(--ink);
  padding: calc(var(--header-h) + 16px) var(--gutter) 32px; overflow-y: auto;
  transform: translateY(-100%); transition: transform .45s var(--ease); visibility: hidden;
}
.drawer-nav.is-open { transform: none; visibility: visible; }
.drawer-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 400 26px/1.2 var(--serif); }
.drawer-nav .drawer-nav__small a { font: 500 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 16px 0; }
.drawer-close { position: absolute; top: 16px; right: var(--gutter); }

/* ---------- поиск (Ctrl+K) ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(20, 20, 19, .45);
  display: flex; align-items: flex-start; justify-content: center; padding: 10vh var(--gutter) 24px;
  opacity: 0; visibility: hidden; transition: opacity .25s;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-box { width: 100%; max-width: 720px; background: var(--bg); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.search-box__row { display: flex; align-items: center; gap: 14px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.search-box__input { flex: 1; border: 0; outline: 0; background: transparent; height: 64px; font: 400 22px/1 var(--serif); }
.search-box__hint { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.search-results { max-height: 60vh; overflow-y: auto; }
.search-results a { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 12px 20px; text-decoration: none; border-bottom: 1px solid var(--line); }
.search-results a:hover, .search-results a.is-active { background: var(--paper); }
.search-results img { width: 56px; height: 56px; object-fit: cover; background: var(--stone); }
.search-results__name { font-size: 14px; }
.search-results__sku { font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.search-results__price { font-size: 13px; white-space: nowrap; }
.search-results__empty { padding: 24px 20px; color: var(--muted); font-size: 14px; }
.search-box__foot { padding: 14px 20px; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; min-height: 100vh; color: #fff; display: flex; align-items: flex-end; overflow: hidden; background: #5c5b57; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(1.06); animation: heroZoom 2.4s var(--ease) forwards; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.08) 50%, rgba(0,0,0,.58) 100%); }
.hero__body { position: relative; z-index: 2; padding-bottom: clamp(48px, 9vh, 96px); padding-top: 140px; width: 100%; }
.hero .kicker { color: rgba(255,255,255,.82); }
.hero__title { margin-top: 18px; max-width: 18ch; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .14s; }
.hero__sub { margin-top: 22px; max-width: 30rem; color: rgba(255,255,255,.86); font-size: 16px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 40px; z-index: 2; writing-mode: vertical-rl; font: 500 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.75); }
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes lineUp { to { transform: none; } }

/* бегущая строка */
.marquee { border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__item { display: flex; align-items: center; gap: 40px; padding: 20px 20px; font: 500 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; white-space: nowrap; color: var(--muted); }
.marquee__item::after { content: "◦"; color: var(--faint); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- секции ---------- */
.section { padding: clamp(64px, 10vw, 140px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--line { border-top: 1px solid var(--line); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--dark); color: #f4f3ef; }
.section--dark .kicker, .section--dark .muted { color: rgba(244,243,239,.6); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lead { font-size: 14px; color: var(--muted); max-width: 22rem; text-align: right; }
.section-head .h2 { margin-top: 14px; max-width: 20ch; }
@media (max-width: 760px) { .section-head { flex-direction: column; align-items: flex-start; } .section-head .lead { text-align: left; } }

/* плитка серий */
.series-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.series-card { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; background: var(--stone); min-height: 300px; grid-column: span 2; }
.series-card:nth-child(1) { grid-column: span 4; min-height: 520px; }
.series-card:nth-child(2) { grid-column: span 2; min-height: 520px; }
.series-card:nth-child(6) { grid-column: span 4; min-height: 440px; }
.series-card:nth-child(7) { grid-column: span 2; min-height: 440px; }
.series-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.series-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%); transition: background .4s; }
.series-card:hover img { transform: scale(1.04); }
.series-card__num { position: absolute; top: 18px; left: 20px; z-index: 2; font: 500 10px/1 var(--sans); letter-spacing: .2em; color: rgba(255,255,255,.8); }
.series-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.series-card__name { font: 400 clamp(24px, 2.4vw, 34px)/1.1 var(--serif); }
.series-card__text { font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.82); margin-top: 6px; max-width: 26ch; }
.series-card__count { font: 500 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-top: 10px; }
@media (max-width: 960px) {
  .series-grid { grid-template-columns: 1fr 1fr; }
  .series-card, .series-card:nth-child(n) { grid-column: span 1; min-height: 300px; }
  .series-card:nth-child(1) { grid-column: span 2; min-height: 380px; }
}
@media (max-width: 560px) { .series-grid { grid-template-columns: 1fr; } .series-card:nth-child(n) { grid-column: span 1; min-height: 320px; } }

/* материалы / покрытия */
.craft { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.craft__media { position: relative; }
.craft__media .craft__main { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.craft__media .craft__inset { position: absolute; left: -8%; bottom: -12%; width: 38%; aspect-ratio: 3/4; object-fit: cover; border: 8px solid var(--bg); }
.craft__text .h2 { margin: 14px 0 22px; max-width: 16ch; }
.swatches { display: flex; flex-wrap: wrap; gap: 18px 22px; margin-top: 32px; }
.swatch { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.swatch i, .dot { width: 22px; height: 22px; border-radius: 50%; display: inline-block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); background: var(--c, #ccc); flex: none; }
.dot--satin, .swatch--satin i { background: linear-gradient(135deg, #d8dadb 0%, #9fa3a5 45%, #e6e8e9 70%, #a9adaf 100%); }
.dot--brass, .swatch--brass i { background: linear-gradient(135deg, #c7a06a 0%, #8c6a3a 50%, #b99260 100%); }
.dot--darksatin, .swatch--darksatin i { background: linear-gradient(135deg, #59564f 0%, #2d2b28 55%, #4a4741 100%); }
.dot--ral, .swatch--ral i { background: conic-gradient(#c45a3b, #d9a440, #6c8f5a, #3f6f8f, #7d5a8f, #c45a3b); }
.dot--combo, .swatch--combo i { background: linear-gradient(135deg, var(--c, #1d1d1d) 0 50%, #b9bcbd 50% 100%); }
@media (max-width: 860px) { .craft { grid-template-columns: 1fr; } .craft__media { margin: 0 0 40px 8%; } }

/* блок дизайнерам */
.designers { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); }
.designers .h2 { margin: 18px 0 20px; }
.designers__list { border-top: 1px solid rgba(255,255,255,.14); }
.designers__item { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.designers__item .n { font: 500 10px/2.4 var(--sans); letter-spacing: .2em; color: rgba(255,255,255,.45); }
.designers__item h3 { font: 400 24px/1.2 var(--serif); margin: 0 0 8px; }
.designers__item p { margin: 0; color: rgba(255,255,255,.65); font-size: 14px; }
.designers .note { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 22px; }
@media (max-width: 860px) { .designers { grid-template-columns: 1fr; } }

/* ---------- страницы / хлебные крошки ---------- */
.page-top { padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(28px, 4vw, 48px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font: 500 10.5px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: var(--faint); }
.page-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.page-title .h1 { font-size: clamp(40px, 5.6vw, 72px); }
.page-title__sub { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---------- каталог ---------- */
.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.rail::-webkit-scrollbar { height: 4px; }
.rail::-webkit-scrollbar-thumb { background: var(--line-strong); }
.rail-card { position: relative; flex: 0 0 216px; height: 150px; scroll-snap-align: start; overflow: hidden; color: #fff; text-decoration: none; background: var(--stone); }
.rail-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.rail-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.58)); }
.rail-card:hover img { transform: scale(1.05); }
.rail-card__body { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; }
.rail-card__name { font: 400 18px/1.15 var(--serif); }
.rail-card__count { font: 500 9.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-top: 6px; }
.rail-card.is-active { outline: 2px solid var(--ink); outline-offset: -2px; }
.rail-card.is-active::before { content: ""; position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: #fff; z-index: 3; }
.rail-card--all { background: var(--ink); }
.rail-card--all::after { display: none; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); margin-bottom: 36px; flex-wrap: wrap; }
.toolbar__left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 1px solid var(--line-strong); font-size: 12px; text-decoration: none; background: #fff; }
.chip:hover { border-color: var(--ink); }
.chip .x { font-size: 14px; line-height: 1; color: var(--muted); }
.select { height: 40px; padding: 0 34px 0 12px; border: 1px solid var(--line-strong); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231a1a1a'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; border-radius: 0; font-size: 13px; }
.count-note { font: 500 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .grid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .grid, .grid--4 { grid-template-columns: repeat(2, 1fr); gap: 36px 14px; } }
@media (max-width: 480px) { .grid, .grid--4 { gap: 28px 10px; } }

/* карточка товара в сетке */
.card { position: relative; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .6s var(--ease), transform 1.1s var(--ease); }
.card__media .card__hover { opacity: 0; }
.card:hover .card__media .card__hover { opacity: 1; }
.card:hover .card__media img:first-child { transform: scale(1.03); }
.card__tag { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(250,250,247,.92); padding: 6px 9px; font: 500 9px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.card__fav { position: absolute; top: 8px; right: 8px; z-index: 2; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(250,250,247,.92); text-decoration: none; opacity: 0; transition: opacity .25s; }
.card:hover .card__fav, .card__fav.is-active { opacity: 1; }
.card__fav.is-active { background: var(--ink); color: #fff; }
.card__body { padding-top: 16px; }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__name { font: 400 18px/1.25 var(--serif); margin: 0; }
.card__name a { text-decoration: none; }
.card__price { white-space: nowrap; font-size: 14px; font-weight: 500; }
.card__price small { font-size: 11px; color: var(--muted); font-weight: 400; margin-right: 3px; }
.card__meta { margin-top: 6px; font-size: 11px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.card__dots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; align-items: center; }
.card__dots .dot { width: 14px; height: 14px; }
.card__finish-label { display: inline-block; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 1px solid var(--line); padding: 2px 5px; font-size: 10px; color: var(--muted); }
.card__dots .more { font-size: 11px; color: var(--muted); margin-left: 2px; }
.card__buy { margin-top: 14px; }
form.card__buy { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.card__select { box-sizing: border-box; flex: 0 0 100%; width: 100%; min-width: 0; height: 38px; padding: 0 30px 0 10px; border: 1px solid var(--line); border-radius: 0; background-color: transparent; color: var(--ink); font: 400 12px/1.3 var(--sans); cursor: pointer; }
.card__select:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }
.card__action { box-sizing: border-box; min-height: 36px; padding: 9px 12px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 500 10px/1.3 var(--sans); letter-spacing: .12em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.card__action span { font-size: 15px; line-height: 1; }
.card__action:hover, .card__action:focus-visible { background: var(--ink); color: #fff; }
.card__action:disabled { opacity: .6; cursor: wait; }
.card__details { color: var(--muted); font: 400 11px/1.3 var(--sans); text-decoration: underline; text-underline-offset: 3px; }
.card__details:hover { color: var(--ink); }

@media (max-width: 560px) { .card__row { flex-direction: column; gap: 4px; } .card__name { font-size: 16px; } }

/* drawer фильтров */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(20,20,19,.4); z-index: 85; opacity: 0; visibility: hidden; transition: opacity .3s; }
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--bg); z-index: 86; transform: translateX(100%); transition: transform .45s var(--ease); display: flex; flex-direction: column; }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__title { font: 400 26px/1 var(--serif); }
.drawer__hint { margin-top: 8px; color: var(--muted); font-size: 12px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 24px 24px; }
.drawer__foot { padding: 16px 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.fgroup { border-bottom: 1px solid var(--line); }
.fgroup__title { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 0; list-style: none; cursor: pointer; font: 500 15px/1.3 var(--sans); }
.fgroup__title::-webkit-details-marker { display: none; }
.fgroup__title:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.fgroup__meta { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.fgroup__selected { color: var(--brass); font: 500 10px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.fgroup__chevron { display: block; width: 8px; height: 8px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.fgroup[open] .fgroup__chevron { transform: rotate(225deg); }
.fgroup__content { padding-bottom: 22px; }
.fgroup__search { display: none; align-items: center; gap: 10px; height: 42px; padding: 0 12px; margin-bottom: 10px; border: 1px solid var(--line-strong); background: #fff; color: var(--muted); }
.fgroup.is-enhanced .fgroup__search { display: flex; }
.fgroup__search:focus-within { border-color: var(--ink); }
.fgroup__search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.fgroup__search input::placeholder { color: var(--faint); }
.fopts { display: grid; }
.fopt { position: relative; display: block; border-bottom: 1px solid var(--line); }
.fopt input { position: absolute; opacity: 0; pointer-events: none; }
.fopt__row { display: flex; align-items: center; gap: 11px; min-height: 48px; padding: 9px 10px; cursor: pointer; background: transparent; transition: background .2s; }
.fopt:hover .fopt__row { background: #f0efe9; }
.fopt input:focus-visible + .fopt__row { outline: 2px solid var(--brass); outline-offset: -2px; }
.fopt input:checked + .fopt__row { background: var(--paper); }
.fopt__check { position: relative; flex: none; width: 18px; height: 18px; border: 1px solid var(--line-strong); background: #fff; }
.fopt input:checked + .fopt__row .fopt__check { border-color: var(--ink); background: var(--ink); }
.fopt input:checked + .fopt__row .fopt__check::after { content: '✓'; position: absolute; inset: -1px 0 0; color: #fff; text-align: center; font: 600 13px/18px var(--sans); }
.fopt__name { flex: 1; min-width: 0; font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.fopt__count { flex: none; min-width: 2ch; color: var(--muted); font: 500 11px/1 var(--sans); text-align: right; }
.fopt--swatch .dot { flex: none; width: 20px; height: 20px; }
.fprice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fgroup__more { margin-top: 14px; padding: 3px 0; border: 0; border-bottom: 1px solid var(--ink); background: none; color: var(--ink); font: 500 11px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.fgroup__more:hover { color: var(--brass); border-color: var(--brass); }
.fgroup__empty { padding: 20px 10px; color: var(--muted); font-size: 13px; }
@media (max-width: 480px) { .drawer__head, .drawer__foot { padding-left: 18px; padding-right: 18px; } .drawer__body { padding-left: 18px; padding-right: 18px; } }

/* пагинация */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; list-style: none; padding: 0; margin: 64px 0 0; }
.pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); text-decoration: none; font-size: 13px; }
.pagination .active a { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- карточка товара ---------- */
.product-page { padding-bottom: clamp(56px, 7vw, 96px); }
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.pdp__gallery { display: grid; gap: 12px; }
.pdp__media { min-width: 0; }
.pdp__stage { position: relative; aspect-ratio: 4 / 5; background: var(--stone); overflow: hidden; }
.pdp__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; transition: opacity .35s; }
.pdp__stage .card__tag { top: 16px; left: 16px; }
.pdp__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(250,250,247,.9); border: 0; }
.pdp__nav--prev { left: 12px; } .pdp__nav--next { right: 12px; }
.pdp__zoom { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(250,250,247,.9); }
.pdp__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.pdp__thumb { aspect-ratio: 4 / 5; background: var(--stone); border: 1px solid transparent; padding: 0; overflow: hidden; opacity: .62; transition: opacity .2s, border-color .2s; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.pdp__thumb.is-active, .pdp__thumb:hover { opacity: 1; border-color: var(--ink); }
.pdp__scheme { margin-top: 20px; border: 1px solid var(--line); background: #fff; }
.pdp__scheme-head { display: flex; justify-content: space-between; gap: 16px; padding: 15px 18px; border-bottom: 1px solid var(--line); font: 500 12px/1.4 var(--sans); }
.pdp__scheme-head span:last-child { color: var(--muted); font-weight: 400; }
.pdp__scheme a { display: block; padding: 12px; }
.pdp__scheme img { display: block; width: 100%; height: auto; object-fit: contain; }
.pdp__info { position: sticky; top: calc(var(--header-h) + 24px); }
.pdp__kicker { font: 500 10.5px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pdp__kicker a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.pdp__title { font: 400 clamp(32px, 3.4vw, 46px)/1.08 var(--serif); margin: 14px 0 18px; }
.pdp__code { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 16px; width: fit-content; max-width: 100%; padding: 11px 15px; margin-bottom: 22px; border: 1px solid var(--line); background: #fff; }
.pdp__code-label { font: 500 10px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pdp__code-value { font: 500 14px/1.4 var(--sans); color: var(--ink); overflow-wrap: anywhere; }
.pdp__price { font: 400 30px/1 var(--serif); display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.pdp__price small { font: 400 13px/1 var(--sans); color: var(--muted); }
.pdp__price del { font-size: 18px; color: var(--faint); }
.pdp__stock { font: 500 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.pdp__opts { margin-top: 30px; display: grid; gap: 22px; }
.opt__label { font: 500 10.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.opt__label b { color: var(--ink); font-weight: 500; }
.opt__vals { display: flex; flex-wrap: wrap; gap: 8px; }
.opt__btn { min-height: 38px; padding: 0 14px; border: 1px solid var(--line-strong); background: #fff; font-size: 13px; transition: border-color .2s, background .2s, color .2s, opacity .2s; }
.opt__btn:hover { border-color: var(--ink); }
.opt__btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.opt__btn.is-na { opacity: .35; text-decoration: line-through; }
.opt__swatch { width: 40px; height: 40px; border-radius: 50%; padding: 0; border: 1px solid transparent; background: transparent; display: inline-flex; align-items: center; justify-content: center; }
.opt__swatch .dot { width: 30px; height: 30px; }
.opt__swatch.is-active { border-color: var(--ink); }
.opt__swatch.is-na { opacity: .3; }
.pdp__buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 30px; }
.pdp__buy .btn--solid { width: 100%; }
.pdp__second { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.pdp__sku { margin-top: 18px; font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.pdp__facts { margin-top: 28px; border-top: 1px solid var(--line); }
.pdp__facts div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.pdp__facts dt, .pdp__facts span:first-child { color: var(--muted); }
.pdp__facts span:last-child { text-align: right; }
.qty { display: inline-flex; border: 1px solid var(--line-strong); background: #fff; }
.qty button { width: 40px; border: 0; background: transparent; font-size: 18px; }
.qty input { width: 44px; border: 0; text-align: center; outline: 0; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
@media (max-width: 960px) { .pdp { grid-template-columns: 1fr; } .pdp__info { position: static; } }

.tabs { margin-top: clamp(56px, 8vw, 110px); border-top: 1px solid var(--line); }
.tabs__nav { display: flex; gap: 32px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.tabs__btn { background: none; border: 0; padding: 22px 0 18px; font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs__btn.is-active { color: var(--ink); border-color: var(--ink); }
.tabs__panel { display: none; padding: 40px 0 0; }
.tabs__panel.is-active { display: block; }
.specs { width: 100%; max-width: 46rem; border-collapse: collapse; font-size: 14px; }
.specs th, .specs td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 40%; font-weight: 400; color: var(--muted); padding-right: 24px; }
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; max-width: 60rem; }
.doc { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line-strong); text-decoration: none; background: #fff; transition: border-color .2s; }
.doc:hover { border-color: var(--ink); }
.doc__ext { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; font: 600 10px/1 var(--sans); letter-spacing: .1em; }
.doc__name { font-size: 14px; }
.doc__hint { font-size: 11px; color: var(--muted); margin-top: 3px; }
.locked { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 28px; border: 1px dashed var(--line-strong); background: var(--paper); max-width: 60rem; }
.locked p { margin: 6px 0 0; color: var(--muted); font-size: 14px; max-width: 36rem; }
.video-empty { padding: 48px 28px; background: var(--paper); text-align: center; color: var(--muted); max-width: 60rem; }
.video-frame { position: relative; aspect-ratio: 16/9; max-width: 60rem; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- корзина / заказ / кабинет ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } }
.line-items { border-top: 1px solid var(--line); }
.line-item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto auto 28px; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line-item img { width: 88px; aspect-ratio: 4/5; object-fit: cover; background: var(--stone); }
.line-item__name { font: 400 18px/1.25 var(--serif); text-decoration: none; }
.line-item__opts { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.line-item__sku { font-size: 11px; color: var(--faint); margin-top: 4px; letter-spacing: .06em; }
.line-item__sum { white-space: nowrap; font-weight: 500; }
.line-item__del { color: var(--faint); text-decoration: none; display: inline-flex; }
@media (max-width: 640px) { .line-item { grid-template-columns: 72px 1fr; } .line-item img { width: 72px; } .line-item > :nth-child(n+3) { grid-column: 2; } }
.summary { background: var(--paper); padding: 28px; position: sticky; top: calc(var(--header-h) + 24px); }
.summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.summary__row--total { font: 400 24px/1.2 var(--serif); border: 0; padding-top: 18px; }
.radio-card { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; }
.radio-card input { accent-color: var(--ink); margin-top: 4px; }
.radio-card__title { font-weight: 500; font-size: 14px; }
.radio-card__desc { font-size: 13px; color: var(--muted); margin-top: 4px; }
.radio-card__desc p { margin: 0; }
.stack { display: grid; gap: 10px; }
.block-title { font: 400 26px/1.2 var(--serif); margin: 48px 0 18px; }
.block-title:first-child { margin-top: 0; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font: 500 10.5px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line-strong); }
.table td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.status { display: inline-block; padding: 4px 8px; font: 500 10px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line-strong); }
.status--ok { border-color: var(--ok); color: var(--ok); }
.panel { background: #fff; border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); }
.panel--paper { background: var(--paper); border: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.kpi { background: var(--bg); padding: 24px; }
.kpi__v { font: 400 34px/1 var(--serif); }
.kpi__l { font: 500 10px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
@media (max-width: 640px) { .kpis { grid-template-columns: 1fr; } }

/* шаги заявки дизайнера */
.steps { display: flex; gap: 8px; margin-bottom: 24px; }
.steps span { flex: 1; height: 2px; background: var(--line-strong); }
.steps span.is-on { background: var(--ink); }
.step { display: none; }
.step.is-active { display: grid; gap: 14px; }
.file-field { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px dashed var(--line-strong); background: #fff; font-size: 13px; color: var(--muted); cursor: pointer; }
.file-field input { display: none; }

/* ---------- всплывающие формы ---------- */
.modal { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(18,18,17,.58); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { position: relative; width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; background: var(--bg); padding: clamp(24px, 4vw, 44px); box-shadow: 0 40px 100px rgba(0,0,0,.28); transform: translateY(22px) scale(.985); transition: transform .45s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; background: none; border: 1px solid transparent; color: var(--ink); cursor: pointer; transition: border-color .2s, transform .3s var(--ease); }
.modal__close:hover { border-color: var(--line-strong); transform: rotate(90deg); }
.modal__title { font: 400 30px/1.1 var(--serif); margin: 10px 0 10px; }
.modal__sub { color: var(--muted); font-size: 14px; margin: 0 0 22px; }

.modal__box--split { max-width: 920px; padding: 0; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); overflow: hidden; max-height: min(92vh, 780px); }
.modal__aside { position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--dark); color: #f3f2ee; padding: 48px 40px 36px; }
.modal__aside > * { position: relative; z-index: 1; }
.modal__aside::after { content: "TERA"; position: absolute; left: 30px; bottom: -.2em; z-index: 0; font: 400 128px/1 var(--serif); letter-spacing: .02em; color: rgba(255,255,255,.035); pointer-events: none; }
.modal__aside .kicker { color: rgba(255,255,255,.5); }
.modal__aside .modal__title { color: #fff; font-size: clamp(28px, 3vw, 38px); margin: 16px 0 14px; }
.modal__aside .modal__sub { color: rgba(255,255,255,.62); margin-bottom: 26px; }
.modal__product { margin: 0 0 24px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.03); }
.modal__product .form-label { color: rgba(255,255,255,.45); margin-bottom: 6px; }
.modal__product-name { font: 400 17px/1.35 var(--serif); color: #fff; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.modal__product-sku { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 4px; }
.modal__product-sku:empty { display: none; }
.modal__points { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.12); }
.modal__points li { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.8); }
.modal__points li span { flex: none; padding-top: 2px; font-size: 10.5px; letter-spacing: .14em; color: var(--brass); }
.modal__contacts { margin-top: auto; padding-top: 30px; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: rgba(255,255,255,.5); }
.modal__contacts a { color: #fff; text-decoration: none; }
.modal__contacts a:hover { color: var(--brass); }
.modal__main { position: relative; overflow-y: auto; max-height: min(92vh, 780px); padding: 56px 44px 40px; background: var(--bg); }
.modal__main .form-stack { gap: 16px; }
.modal__main .form-label { margin-bottom: 7px; }
.modal__main .btn--block { margin-top: 6px; }
.fl { display: block; margin: 0; }
.form-grid--one { grid-template-columns: 1fr; }
.fl[hidden] { display: none; }
.modal__done { padding: 24px 0 8px; }
.modal__done .modal__title { margin-top: 14px; }
.modal__done-ic { width: 56px; height: 56px; margin-bottom: 26px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ok); }
.df--modal .steps { margin-bottom: 26px; }
.df--modal .step[data-step="done"] { padding: 16px 0 8px; }

/* текстовые кнопки, вызывающие формы */
.link-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 0 0 3px; background: none; border: 0; border-bottom: 1px solid var(--line-strong); font: 500 12.5px/1.4 var(--sans); color: var(--ink); cursor: pointer; text-align: left; transition: border-color .2s, color .2s; }
.link-btn:hover { border-color: var(--ink); }
.link-btn--footer { margin-top: 6px; padding: 0; border: 0; font: inherit; color: inherit; opacity: .9; }
.link-btn--footer:hover { color: var(--ink); }
.drawer-nav .link-btn { margin-top: 10px; }
.designers .note--link { display: block; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; font-family: var(--sans); transition: color .2s; }
.designers .note--link:hover { color: #fff; }
.cta-band { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .modal { padding: 0; align-items: flex-end; }
  .modal__box { max-height: 94vh; transform: translateY(48px); }
  .modal__box--split { grid-template-columns: 1fr; overflow-y: auto; -webkit-overflow-scrolling: touch; max-height: 94vh; }
  .modal__aside { padding: 30px 22px 22px; }
  .modal__aside::after, .modal__aside .modal__points, .modal__aside .modal__contacts { display: none; }
  .modal__aside .modal__title { font-size: 28px; margin: 12px 0 8px; padding-right: 40px; }
  .modal__aside .modal__sub { margin-bottom: 14px; }
  .modal__product { margin-bottom: 4px; }
  .modal__main { max-height: none; overflow: visible; padding: 24px 22px 32px; }
  .modal__box--split > .modal__close { color: #fff; top: 10px; right: 10px; }
  .modal__main .form-grid { grid-template-columns: 1fr; }
}

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 99; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 14px 20px; font-size: 13px; opacity: 0; visibility: hidden; transition: all .3s var(--ease); display: flex; gap: 16px; align-items: center; }
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast a { color: #fff; font-weight: 500; }

/* ---------- контакты ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.contact-list { border-top: 1px solid var(--line); margin-top: 28px; }
.contact-item { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item dt { font: 500 10.5px/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact-item dd { margin: 0; font-size: 16px; }
.contact-item a { text-decoration: none; }
@media (max-width: 860px) { .contacts { grid-template-columns: 1fr; } .contact-item { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- футер ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1.7fr .8fr 1.1fr; gap: 40px; }
.footer__about { color: var(--muted); font-size: 14px; max-width: 24rem; margin-top: 18px; }
.footer__label { font: 500 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer__links { display: grid; gap: 10px; font-size: 14px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__word { font: 400 clamp(72px, 20vw, 300px)/.8 var(--serif); letter-spacing: -.01em; color: transparent; -webkit-text-stroke: 1px var(--line-strong); margin: 64px 0 28px; white-space: nowrap; overflow: hidden; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 500 10.5px/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line); padding-top: 22px; }
.footer__bottom a { text-decoration: none; margin-left: 18px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* появление при скролле */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .marquee__track, .hero__media img, .hero__title .line > span { animation: none; transform: none; }
}
.empty { padding: 64px 0; text-align: center; }
.empty .lead { margin: 0 auto 24px; }

/* автокомплит движка (на всякий случай) */
.autocomplete-w1 { display: none !important; }

/* мобильные уточнения */
@media (max-width: 960px) {
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .pdp > * { min-width: 0; }
}
@media (max-width: 560px) {
  .pdp__second .btn, .pdp__buy .btn { white-space: normal; padding: 0 10px; letter-spacing: .14em; text-align: center; }
  .pdp__facts div { flex-wrap: wrap; }
  .two-col > * { min-width: 0; }
  .kpis[style] { grid-template-columns: 1fr 1fr !important; }
  .page-title .h1 { font-size: 40px; }
}

/* ---------- кабинет партнёра ---------- */
.auth { max-width: 460px; background: var(--paper); padding: clamp(28px, 4vw, 44px); }
.cab-head { align-items: flex-end; }
.cab-head__side { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cab-status { display: inline-block; padding: 7px 12px; font: 500 10.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--line-strong); }
.cab-status--verified { border-color: var(--ok); color: var(--ok); }
.cab-status--pending { border-color: var(--brass); color: var(--brass); }
.cab-status--rejected, .cab-status--blocked { border-color: var(--err); color: var(--err); }
.cab-alert { max-width: 60rem; }
.cab-tabs { display: flex; gap: 32px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: clamp(32px, 5vw, 52px); scrollbar-width: none; }
.cab-tabs::-webkit-scrollbar { display: none; }
.cab-tab { padding: 18px 0 16px; font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.cab-tab:hover { color: var(--ink); }
.cab-tab.is-active { color: var(--ink); border-color: var(--ink); }
.cab-tab sup { font-size: 9px; letter-spacing: 0; color: var(--brass); }

.cab-kpis { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: clamp(40px, 6vw, 64px); }
.cab-kpi { background: var(--bg); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cab-kpi__l { font: 500 10px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.cab-kpi__v { font: 400 clamp(26px, 3vw, 34px)/1.05 var(--serif); white-space: nowrap; }
.cab-kpi__n { font-size: 12.5px; color: var(--muted); margin-top: auto; }
.cab-kpi__n a { color: inherit; }
.cab-kpi--main { background: var(--dark); color: #f3f2ee; }
.cab-kpi--main .cab-kpi__l, .cab-kpi--main .cab-kpi__n { color: rgba(255,255,255,.6); }
.cab-kpi--main .cab-kpi__v { font-size: clamp(32px, 4vw, 46px); }
.cab-kpi--main .cab-kpi__n a { color: #fff; }

.cab-cols { margin-top: 0; }
.cab-cols .summary { position: static; }
.cab-chart { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; align-items: end; height: 220px; padding: 12px 0 0; border-bottom: 1px solid var(--line-strong); }
.cab-chart__col { display: flex; flex-direction: column; align-items: stretch; height: 100%; min-width: 0; }
.cab-chart__val { font-size: 11.5px; color: var(--muted); text-align: center; min-height: 18px; white-space: nowrap; }
.cab-chart__bar { flex: 1; display: flex; align-items: flex-end; }
.cab-chart__bar span { display: block; width: 100%; background: var(--ink); transition: height .6s var(--ease); }
.cab-chart__bar span.is-empty { background: var(--line-strong); }
.cab-chart__lbl { font: 500 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 10px 0 0; margin-bottom: -26px; }
.cab-chart + p { margin-top: 36px !important; }

.cab-table .r, .cab-order .r { text-align: right; }
.cab-table td.r, .cab-table th.r { padding-right: 0; padding-left: 12px; white-space: nowrap; }
.cab-sm { font-size: 12px; display: block; }
.cab-badge { display: inline-block; padding: 4px 8px; font: 500 10px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line-strong); color: var(--muted); white-space: nowrap; }
.cab-badge--accrued { border-color: var(--ok); color: var(--ok); }
.cab-badge--pending { border-color: var(--brass); color: var(--brass); }
.cab-badge--cancelled { text-decoration: line-through; }
.cab-pos { color: var(--ok); } .cab-neg { color: var(--err); }
.cab-total td { font-weight: 600; border-bottom: 0; }
.cab-empty { padding: 28px; background: var(--paper); max-width: 46rem; }
.cab-empty p { margin: 0 0 18px; color: var(--muted); }

.cab-terms__rate { font: 400 clamp(40px, 5vw, 56px)/1 var(--serif); margin: 14px 0 6px; }
.cab-terms__mode { font: 500 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.cab-terms p { font-size: 13.5px; margin: 16px 0; }
.cab-example { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 0 0; border-top: 1px solid var(--line-strong); font-size: 13.5px; }
.cab-steps { margin: 12px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--ink-2); }
.cab-steps li { margin-bottom: 8px; }
.cab-tools { display: grid; gap: 10px; margin-top: 16px; }
.cab-list { margin: 14px 0 0; padding-left: 18px; font-size: 14px; }
.cab-list li { margin-bottom: 8px; }
.cab-dl { display: grid; grid-template-columns: 190px 1fr; gap: 10px 20px; margin: 0; font-size: 14.5px; }
.cab-dl dt { color: var(--muted); }
.cab-dl dd { margin: 0; }
.cab-dl--sm { grid-template-columns: 110px 1fr; font-size: 13.5px; }
.cab-ro { padding: 13px 0; font-size: 15px; border-bottom: 1px solid var(--line); }

.cab-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cab-step { display: flex; gap: 16px; padding: 24px; background: var(--bg); }
.cab-step > span { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); }
.cab-step b { font-weight: 500; display: block; }
.cab-step p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.cab-step.is-done > span { background: var(--ink); border-color: var(--ink); color: #fff; }
.cab-step.is-current { background: var(--paper); }
.cab-step.is-current > span { border-color: var(--brass); color: var(--brass); }
.cab-step.is-fail > span { border-color: var(--err); color: var(--err); }

.cab-orders { display: grid; gap: 10px; }
.cab-order { border: 1px solid var(--line); background: #fff; }
.cab-order[open] { border-color: var(--line-strong); }
.cab-order summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 120px minmax(0, 1fr) 140px 170px 140px; gap: 16px; align-items: center; padding: 18px 20px; }
.cab-order summary::-webkit-details-marker { display: none; }
.cab-order summary > span { min-width: 0; }
.cab-order__bonus b { font: 400 20px/1.2 var(--serif); }
.cab-order summary .cab-badge { justify-self: end; }
.cab-order__body { padding: 0 20px 18px; border-top: 1px solid var(--line); }

@media (max-width: 980px) {
  .cab-kpis { grid-template-columns: 1fr 1fr; }
  .cab-kpi--main { grid-column: 1 / -1; }
  .cab-order summary { grid-template-columns: 1fr auto; }
  .cab-order__client { grid-column: 1 / -1; order: 3; }
  .cab-order__sum { display: none; }
  .cab-order summary .cab-badge { grid-column: 1 / -1; justify-self: start; order: 4; }
  .cab-progress { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cab-kpis { grid-template-columns: 1fr; }
  .cab-dl { grid-template-columns: 1fr; gap: 2px 0; }
  .cab-dl dd { margin-bottom: 10px; }
  .cab-chart { gap: 6px; }
  .cab-chart__val { font-size: 9.5px; }
  .cab-table { font-size: 13px; }
  .cab-head { align-items: flex-start; }
}
.cab-cart-note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 28px; align-items: end; padding: 22px; margin-bottom: 24px; background: var(--paper); border-left: 2px solid var(--brass); }
.cab-cart-note p { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
@media (max-width: 760px) { .cab-cart-note { grid-template-columns: 1fr; } }
.cab-table th + th, .cab-table td + td { padding-left: 14px; }
@media (max-width: 640px) {
  .cab-table .hide-m { display: none; }
  .cab-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cab-table td .cab-badge { margin-top: 2px; }
}

/* =====================================================================
   TERA DESIGN — мультибрендовые блоки: бренды, страница бренда, журнал
   ===================================================================== */
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.marquee__item--brand { color: var(--ink); font-weight: 600; }
.card__brand { font: 500 9.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.series-card img[src*="/series/3sc-"] { object-position: 50% 76%; }
.series-card__brand { display: block; font: 500 9.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.78); margin-bottom: 8px; }
.series-card:nth-child(8), .series-card:nth-child(9), .series-card:nth-child(10), .series-card:nth-child(11) { grid-column: span 3; min-height: 380px; }
@media (max-width: 960px) { .series-card:nth-child(n+8) { grid-column: span 2; } }
@media (max-width: 560px) { .series-card:nth-child(n) { grid-column: span 1; } }

/* ---------- бренды на главной ---------- */
.brand-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(14px, 2vw, 24px); }
.brand-card { position: relative; display: block; aspect-ratio: 5 / 4; overflow: hidden; background: var(--stone); color: #fff; text-decoration: none; }
@media (max-width: 640px) { .brand-card { aspect-ratio: 4 / 5; } }
.brand-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.brand-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,26,26,0) 45%, rgba(26,26,26,.75) 100%); }
.brand-card:hover img { transform: scale(1.06); }
.brand-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(18px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 6px; }
.brand-card__meta { font: 500 9.5px/1 var(--sans); letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.brand-card__name { font: 400 clamp(28px, 3vw, 40px)/1.05 var(--serif); }
.brand-card__tag { font-size: 13px; color: rgba(255,255,255,.78); max-width: 30ch; }

/* ---------- список брендов ---------- */
.brands-head { padding-bottom: clamp(36px, 5vw, 64px); }
.brands-head .kicker { margin-top: 28px; }
.brands-head__title { margin-top: 16px; max-width: 16ch; font-size: clamp(38px, 5.4vw, 72px); }
.brands-head .lead { margin-top: 22px; color: var(--muted); }
.brands-stats { display: flex; flex-wrap: wrap; gap: 10px 40px; margin-top: 34px; font: 500 11px/1.4 var(--sans); letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.brands-list { padding-bottom: clamp(64px, 9vw, 120px); }
.brand-row { position: relative; display: grid; grid-template-columns: 60px minmax(0, 4fr) minmax(0, 4fr) minmax(0, 2fr) 40px; align-items: baseline; gap: 16px 24px; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); text-decoration: none; overflow: hidden; }
.brand-row:last-child { border-bottom: 1px solid var(--line); }
.brand-row__curtain { position: absolute; top: 0; bottom: 0; right: 0; width: 36%; opacity: 0; transition: opacity .7s var(--ease); pointer-events: none; }
.brand-row__curtain img { width: 100%; height: 100%; object-fit: cover; }
.brand-row__curtain::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(250,250,247,0) 60%); }
.brand-row:hover .brand-row__curtain { opacity: 1; }
.brand-row > span:not(.brand-row__curtain), .brand-row > svg { position: relative; z-index: 1; }
.brand-row__num { font: 500 10px/1 var(--sans); letter-spacing: .3em; color: var(--muted); }
.brand-row__name { font: 400 clamp(36px, 5vw, 64px)/1 var(--serif); letter-spacing: -.01em; transition: transform .5s var(--ease); }
.brand-row:hover .brand-row__name { transform: translateX(8px); }
.brand-row__spec { font-size: 14px; color: var(--muted); }
.brand-row__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font: 500 10px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); text-align: right; }
.brand-row__arrow { color: var(--muted); justify-self: end; transition: transform .5s var(--ease), color .3s; }
.brand-row:hover .brand-row__arrow { color: var(--ink); transform: translate(4px, -4px); }
.brand-row__mobile { display: none; }
@media (max-width: 860px) {
  .brand-row { grid-template-columns: 40px 1fr 32px; }
  .brand-row__spec, .brand-row__meta { grid-column: 2 / 4; align-items: flex-start; text-align: left; }
  .brand-row__arrow { grid-row: 1; grid-column: 3; }
  .brand-row__curtain { display: none; }
  .brand-row__mobile { display: block; grid-column: 1 / -1; aspect-ratio: 16 / 9; overflow: hidden; background: var(--stone); margin-top: 8px; }
  .brand-row__mobile img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- страница бренда ---------- */
.brand-hero { position: relative; min-height: 72vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #2a2a28; }
.brand-hero__media { position: absolute; inset: 0; }
.brand-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 2.2s var(--ease) forwards; }
.brand-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(26,26,26,.85) 0%, rgba(26,26,26,.25) 45%, rgba(26,26,26,.35) 100%); }
.brand-hero__body { position: relative; z-index: 2; padding-top: 140px; padding-bottom: clamp(48px, 8vh, 80px); width: 100%; }
.brand-hero__back { display: inline-flex; align-items: center; gap: 8px; font: 500 10px/1 var(--sans); letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.65); text-decoration: none; margin-bottom: 30px; }
.brand-hero__back:hover { color: #fff; }
.brand-hero .kicker { color: rgba(255,255,255,.65); }
.brand-hero__title { margin-top: 14px; font-size: clamp(56px, 8vw, 112px); }
.brand-hero__title .line { display: block; overflow: hidden; }
.brand-hero__title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) .1s forwards; }
.brand-hero__tag { margin-top: 18px; max-width: 30rem; color: rgba(255,255,255,.75); font-size: 16px; }
.brand-hero--plain { min-height: 44vh; }
.brand-story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(40px, 6vw, 80px); align-items: start; }
.brand-story__lead { margin-top: 22px; font: 400 clamp(20px, 2vw, 27px)/1.55 var(--serif); letter-spacing: -.005em; }
.brand-story__lead p { margin: 0 0 1em; }
.brand-spec { margin: 0; border: 1px solid var(--line); padding: 30px; }
.brand-spec > div { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.brand-spec > div:first-child { padding-top: 0; }
.brand-spec > div:last-child { border-bottom: 0; padding-bottom: 0; }
.brand-spec dt { font: 500 10px/1.6 var(--sans); letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.brand-spec dd { margin: 0; text-align: right; max-width: 62%; font-size: 14px; }
.brand-spec__catalogs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.brand-pdf { position: relative; display: grid; place-items: end center; flex: 0 0 54px; width: 54px; height: 66px; padding: 0 0 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color .25s, transform .25s var(--ease); }
.brand-pdf:hover, .brand-pdf:focus-visible { border-color: var(--brass); transform: translateY(-3px); }
.brand-pdf:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.brand-pdf svg { position: absolute; inset: 5px 5px auto; width: 44px; height: 54px; fill: none; stroke: currentColor; stroke-width: 1.25; }
.brand-pdf span { position: relative; z-index: 1; padding: 2px 4px; background: var(--paper); color: #a03f35; font: 700 10px/1 var(--sans); letter-spacing: .08em; }
.brand-pdf::after { content: attr(data-title); position: absolute; z-index: 5; top: calc(100% + 10px); right: 0; width: max-content; max-width: min(260px, 70vw); padding: 10px 13px; background: var(--ink); color: #fff; font: 400 12px/1.45 var(--sans); text-align: left; white-space: normal; box-shadow: 0 12px 28px rgba(0,0,0,.16); opacity: 0; visibility: hidden; transform: translateY(-5px); pointer-events: none; transition: opacity .2s, transform .2s, visibility .2s; }
.brand-pdf:hover::after, .brand-pdf:focus-visible::after { opacity: 1; visibility: visible; transform: translateY(0); }
.brand-spec__empty { color: var(--muted); }
@media (max-width: 860px) { .brand-story { grid-template-columns: 1fr; } }
.brand-spec { position: relative; z-index: 2; }
.brand-nav-section { padding-bottom: clamp(64px, 8vw, 112px); }
.brand-nav-section--series { padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.brand-nav-section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(24px, 3vw, 38px); }
.brand-nav-section__head .h2 { margin-top: 12px; }
.brand-nav-section__head p { margin: 0 0 4px; font-size: 13px; text-align: right; }
.brand-tile-grid { display: grid; gap: clamp(12px, 1.8vw, 22px); }
.brand-tile-grid--categories { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.brand-tile-grid--series { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.brand-tile { display: flex; flex-direction: column; min-width: 0; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .35s, box-shadow .35s, transform .35s var(--ease); }
.brand-tile:hover, .brand-tile:focus-visible { border-color: var(--brass); box-shadow: 0 14px 35px rgba(26,26,26,.07); transform: translateY(-3px); }
.brand-tile:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.brand-tile__media { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.brand-tile__media img { display: block; width: 100%; height: 100%; transition: transform .7s var(--ease); }
.brand-tile:hover .brand-tile__media img, .brand-tile:focus-visible .brand-tile__media img { transform: scale(1.045); }
.brand-tile-grid--categories .brand-tile__media { aspect-ratio: 1 / 1; background: #fff; }
.brand-tile-grid--categories .brand-tile__media img { object-fit: cover; }
.brand-tile-grid--series .brand-tile__media img { object-fit: cover; }
.brand-tile__body { display: flex; flex: 1; flex-direction: column; gap: 18px; padding: clamp(14px, 1.6vw, 22px); }
.brand-tile__name { display: block; font: 400 clamp(20px, 2vw, 27px)/1.12 var(--serif); overflow-wrap: anywhere; hyphens: auto; }
.brand-tile__bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; font: 500 10px/1.35 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.brand-tile__bottom svg { flex: none; color: var(--ink); transition: transform .3s var(--ease); }
.brand-tile:hover .brand-tile__bottom svg { transform: translate(3px, -3px); }
@media (max-width: 980px) { .brand-tile-grid--categories, .brand-tile-grid--series { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .brand-spec dd.brand-spec__catalogs { max-width: 130px; } .brand-nav-section__head { align-items: start; flex-direction: column; gap: 8px; } .brand-nav-section__head p { text-align: left; } .brand-tile-grid--categories, .brand-tile-grid--series { grid-template-columns: repeat(2, minmax(0, 1fr)); } .brand-tile__body { gap: 12px; } }
@media (max-width: 420px) { .brand-tile-grid--categories, .brand-tile-grid--series { gap: 10px; } .brand-tile__name { font-size: 18px; } .brand-tile__bottom { font-size: 9px; letter-spacing: .08em; } }

/* ---------- журнал ---------- */
.journal-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(36px, 5vw, 64px); }
.journal-card { position: relative; grid-column: span 5; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); color: #fff; text-decoration: none; }
.journal-card--wide { grid-column: span 7; }
.journal-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.journal-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(26,26,26,.78) 0%, rgba(26,26,26,.12) 55%, rgba(26,26,26,0) 100%); }
.journal-card:hover img { transform: scale(1.05); }
.journal-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(20px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 10px; }
.journal-card__meta { font: 500 10px/1.4 var(--sans); letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.journal-card__title { font: 400 clamp(22px, 2.4vw, 32px)/1.12 var(--serif); max-width: 22ch; }
.journal-card__text { font-size: 14px; color: rgba(255,255,255,.75); max-width: 40ch; }
.journal-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font: 500 10px/1 var(--sans); letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.85); }
@media (max-width: 860px) { .journal-card, .journal-card--wide { grid-column: span 12; aspect-ratio: 4 / 3; } }

.article { padding-bottom: clamp(64px, 9vw, 120px); }
.article__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 36px; font: 500 11px/1 var(--sans); letter-spacing: .25em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.article__back:hover { color: var(--ink); }
.article__title { margin-top: 16px; max-width: 18ch; font-size: clamp(34px, 5.2vw, 72px); line-height: 1.08; }
.article__body { margin-top: 44px; }
.article__body > p { max-width: 42rem; font-size: 16px; line-height: 1.75; color: #3a3a38; margin: 0 0 26px; }
.article__body > p.lead-p { font: 400 clamp(20px, 2vw, 25px)/1.55 var(--serif); color: var(--ink); margin-top: 56px; }
.look { position: relative; margin: 0 0 8px; background: var(--stone); aspect-ratio: 16 / 9; overflow: visible; }
.look > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.look__dot { position: absolute; z-index: 3; width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 50%; background: rgba(250,250,247,.95); border: 1px solid rgba(26,26,26,.15); box-shadow: 0 6px 20px rgba(0,0,0,.18); text-decoration: none; color: var(--ink); }
.look__dot::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; background: rgba(255,255,255,.45); animation: lookPing 2.2s ease-out infinite; z-index: -1; }
.look__dot::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; font: 300 18px/1 var(--sans); }
@keyframes lookPing { 0% { transform: scale(.7); opacity: .9; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.look__card { position: absolute; left: 50%; top: calc(100% + 12px); transform: translate(-50%, 6px); width: 260px; display: flex; gap: 14px; padding: 14px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.18); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.look__card img { width: 64px; height: 64px; object-fit: cover; background: var(--stone); flex: none; }
.look__card > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.look__card small { font: 500 9px/1 var(--sans); letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.look__card b { font: 400 14px/1.25 var(--serif); }
.look__card em { font-style: normal; font-size: 13px; font-weight: 500; }
.look__dot:hover .look__card, .look__dot:focus .look__card { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.look__dot[style*="left:7"] .look__card, .look__dot[style*="left:8"] .look__card { left: auto; right: -14px; transform: translate(0, 6px); }
.look__dot[style*="left:7"]:hover .look__card, .look__dot[style*="left:8"]:hover .look__card { transform: translate(0, 0); }
.look__dot[style*="left:1"] .look__card, .look__dot[style*="left:2"] .look__card { left: -14px; transform: translate(0, 6px); }
.look__dot[style*="left:1"]:hover .look__card, .look__dot[style*="left:2"]:hover .look__card { transform: translate(0, 0); }
.look-title { font: 400 clamp(26px, 2.6vw, 34px)/1.15 var(--serif); margin: 72px 0 32px; padding-top: 48px; border-top: 1px solid var(--line); }
.look-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px 24px; max-width: 64rem; }
.look-item { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.look-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--stone); margin-bottom: 10px; transition: opacity .3s; }
.look-item:hover img { opacity: .9; }
.look-item__brand { font: 500 9.5px/1 var(--sans); letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.look-item__name { font: 400 18px/1.25 var(--serif); }
.look-item__price { font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .look__card { width: 220px; } .look { aspect-ratio: 4 / 3; } }

/* предметные фото на белом фоне (3SC) */
.card--b-3sc .card__media img { mix-blend-mode: multiply; object-fit: contain; padding: 7%; }
.pdp--b-3sc .pdp__stage { background: var(--stone); }
.pdp--b-3sc .pdp__stage img { mix-blend-mode: multiply; object-fit: contain; padding: 6%; }
.pdp--b-3sc .pdp__thumb img { mix-blend-mode: multiply; object-fit: contain; }
.pdp--b-3sc .pdp__thumb { background: var(--stone); }
.footer__grid > div:nth-child(2) .footer__links { columns: 2; column-gap: 28px; display: block; }
.footer__grid > div:nth-child(2) .footer__links a { display: block; break-inside: avoid; margin-bottom: 10px; }
.look-item img[src*="originals/3sc-"], .look__card img[src*="originals/3sc-"] { mix-blend-mode: multiply; object-fit: contain; padding: 6%; }
.journal-card:last-child:nth-child(odd) { grid-column: span 12; aspect-ratio: 21 / 9; }
.journal-card::after { background: linear-gradient(0deg, rgba(26,26,26,.82) 0%, rgba(26,26,26,.38) 55%, rgba(26,26,26,.18) 100%); }
@media (max-width: 860px) { .journal-card:last-child:nth-child(odd) { aspect-ratio: 4 / 3; } }
.m-CollectionsView .hero::after, .brand-hero::after { background: linear-gradient(0deg, rgba(26,26,26,.82) 0%, rgba(26,26,26,.32) 50%, rgba(26,26,26,.42) 100%); }
/* A price may exist for one Bertocci finish and be pending for another. */
[data-priced-buy][hidden], [data-request-buy][hidden], [data-oneclick-buy][hidden] { display: none !important; }
