/* Paper and Silk · Полиграфия — новый магазин (DRP-194).
   Направление «Лист и шёлк»: бумага, чернила, шёлковые линии; Cormorant Garamond — заголовки,
   Manrope — интерфейс, IBM Plex Mono — технические строки (формат, г/м², тираж). Мотив — пробный оттиск с метками обреза. */

:root {
  --paper: #F6F2EE;
  --paper-2: #EFE8E0;
  --sheet: #FBF8F4;
  --ink: #2E251C;
  --ink-2: #5B4F44;
  --ink-3: #7A6656;
  --silk: #C9B09A;
  --silk-2: #A48D7B;
  --rule: rgba(164, 141, 123, .38);
  --rule-2: rgba(164, 141, 123, .62);
  --wax: #8E3B2E;
  --wax-soft: #F3E3DC;
  --ok: #4D6B4F;
  --satin: linear-gradient(90deg, #A8907A, #E9DCCF 22%, #BCA48E 42%, #F0E5DA 63%, #AE9680 82%, #DCCBBB);
  --display: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --ui: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in: cubic-bezier(.5, 0, .75, 0);
  --gut: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --hdr: 68px;
  --shadow: 0 1px 0 var(--rule), 0 24px 48px -32px rgba(46, 37, 28, .35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 20px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 15.5px/1.6 var(--ui); -webkit-font-smoothing: antialiased; overflow-x: clip;
  background-image: var(--grain, none);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: rgba(201, 176, 154, .45); }
:focus-visible { outline: 2px solid var(--wax); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); font-size: .86em; letter-spacing: .01em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }

/* ——— полоса разделов домена ——— */
.realm {
  display: flex; justify-content: center; gap: 4px 34px; flex-wrap: wrap; padding: 9px 16px 7px;
  font: 500 11.5px/1.2 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3);
  border-bottom: 1px solid var(--rule);
}
.realm a, .realm span { position: relative; padding-bottom: 6px; }
.realm a:hover { color: var(--ink); }
.realm .on { color: var(--ink); }
.realm .on::after { content: ""; position: absolute; left: 0; right: .2em; bottom: 0; height: 2px; border-radius: 2px; background: var(--satin); }

/* ——— шапка ——— */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(246, 242, 238, .9); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); transition: box-shadow .3s; }
.hdr.stuck { box-shadow: 0 1px 0 var(--rule); }
.hdr .wrap { height: var(--hdr); display: flex; align-items: center; gap: clamp(14px, 2.4vw, 36px); }
.brand { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.brand b { font: 500 26px/1 var(--display); letter-spacing: .005em; }
.brand b i { font-style: italic; color: var(--silk-2); padding: 0 .04em; }
.brand small { font: 500 10.5px/1 var(--ui); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); }
.nav { display: flex; gap: clamp(14px, 2vw, 28px); margin-left: 8px; }
.nav a { position: relative; font-weight: 500; font-size: 14px; color: var(--ink-2); padding: 6px 0; transition: color .2s; }
.nav a:hover, .nav a.on { color: var(--ink); }
.nav a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--satin); }
.tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); transition: background-color .2s; position: relative; }
.ic:hover { background: var(--paper-2); }
.ic svg { width: 20px; height: 20px; }
.badge { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--wax); color: #fff; font: 600 10.5px/18px var(--ui); text-align: center; transform: scale(0); transition: transform .3s var(--ease); }
.badge.on { transform: scale(1); }
.langs { display: flex; gap: 2px; margin-right: 4px; }
.langs button { font: 600 11.5px/1 var(--ui); letter-spacing: .08em; color: var(--ink-3); padding: 8px 5px; position: relative; }
.langs button:hover { color: var(--ink); }
.langs button[aria-pressed="true"] { color: var(--ink); }
.langs button[aria-pressed="true"]::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--satin); }
.burger { display: none; }

/* ——— кнопки ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px;
  border-radius: 999px; background: var(--ink); color: var(--paper); font: 600 14px/1 var(--ui); letter-spacing: .01em;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s; white-space: nowrap;
}
.btn:hover { background: #3d3226; box-shadow: 0 10px 22px -12px rgba(46, 37, 28, .6); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule-2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn.wide { width: 100%; }
.btn.sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn svg { width: 17px; height: 17px; }
.link { border-bottom: 1px solid var(--silk-2); padding-bottom: 1px; transition: border-color .2s; }
.link:hover { border-color: var(--ink); }

/* ——— заголовки ——— */
.kick { font: 500 11.5px/1.2 var(--ui); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.h1 { font: 400 clamp(44px, 6.4vw, 92px)/.98 var(--display); letter-spacing: -.012em; margin: 0; }
.h1 em { font-style: italic; color: var(--ink-2); }
.h2 { font: 400 clamp(32px, 3.6vw, 52px)/1.02 var(--display); letter-spacing: -.01em; margin: 0; }
.h3 { font: 500 26px/1.1 var(--display); margin: 0; }
.lead { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 54ch; }
.silkline { display: block; width: 72px; height: 2px; border-radius: 2px; background: var(--satin); }

/* ——— пробный оттиск: метки обреза по углам ——— */
.proof { position: relative; background: var(--sheet); }
.proof::before, .proof::after, .proof > .cm::before, .proof > .cm::after {
  content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none; opacity: .55; transition: opacity .3s, transform .4s var(--ease);
  border-color: var(--ink-3); border-style: solid; border-width: 0;
}
.proof::before { top: -7px; left: -7px; border-top-width: 1px; border-left-width: 1px; }
.proof::after { top: -7px; right: -7px; border-top-width: 1px; border-right-width: 1px; }
.proof > .cm::before { bottom: -7px; left: -7px; border-bottom-width: 1px; border-left-width: 1px; }
.proof > .cm::after { bottom: -7px; right: -7px; border-bottom-width: 1px; border-right-width: 1px; }

/* ——— каталог ——— */
.cat-hero { padding: clamp(40px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.cat-hero .h1 { margin-top: 18px; }
.cat-hero .lead { margin-top: 22px; }
.search { position: relative; }
.search input {
  width: 100%; height: 60px; padding: 0 56px 0 22px; border: 0; border-radius: 999px; background: var(--sheet);
  box-shadow: inset 0 0 0 1px var(--rule-2); font-size: 16px; outline: none; transition: box-shadow .2s;
}
.search input:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.search .go { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; }
.search .go svg { width: 18px; height: 18px; }
.suggest { position: absolute; left: 0; right: 0; top: 68px; z-index: 30; background: var(--sheet); border-radius: 18px; box-shadow: 0 0 0 1px var(--rule), 0 30px 60px -30px rgba(46, 37, 28, .45); padding: 8px; max-height: 60vh; overflow: auto; animation: rise .22s var(--ease) both; }
.suggest a { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 8px 10px; border-radius: 12px; }
.suggest a:hover, .suggest a.on { background: var(--paper-2); }
.suggest img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.suggest b { font-weight: 600; font-size: 14.5px; }
.suggest b mark { background: none; color: var(--wax); }
.suggest span { font-size: 12.5px; color: var(--ink-3); display: block; }
.suggest .pr { font: 500 12.5px/1 var(--mono); color: var(--ink-2); white-space: nowrap; }
.suggest .none { padding: 14px; color: var(--ink-3); font-size: 14px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; font-size: 13px; color: var(--ink-2); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--silk-2); }

.groups { position: sticky; top: var(--hdr); z-index: 20; background: rgba(246, 242, 238, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.groups .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 12px; padding-bottom: 12px; }
.groups .wrap::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 38px; padding: 0 16px; border-radius: 999px; font: 500 13.5px/38px var(--ui); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule); transition: background-color .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink-3); color: var(--ink); }
.chip.on { background: var(--ink); color: var(--paper); box-shadow: none; }
.chip .n { font: 500 11px/1 var(--mono); opacity: .6; margin-left: 6px; }

.sec { padding: clamp(36px, 5vw, 64px) 0; }
.sec-h { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: clamp(22px, 3vw, 36px); flex-wrap: wrap; }
.sec-h p { margin: 0; color: var(--ink-3); font-size: 14px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr)); gap: clamp(26px, 3vw, 40px) clamp(20px, 2.4vw, 32px); }
.card { display: flex; flex-direction: column; gap: 14px; animation: rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
.card .proof { aspect-ratio: 4 / 3; overflow: visible; border-radius: 2px; box-shadow: 0 0 0 1px var(--rule); }
.card .proof .ph { position: absolute; inset: 0; overflow: hidden; border-radius: 2px; }
.card .proof img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .proof img { transform: scale(1.035); }
.card:hover .proof::before { transform: translate(-3px, -3px); opacity: .9; }
.card:hover .proof::after { transform: translate(3px, -3px); opacity: .9; }
.card:hover .proof > .cm::before { transform: translate(-3px, 3px); opacity: .9; }
.card:hover .proof > .cm::after { transform: translate(3px, 3px); opacity: .9; }
.card .t { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card h3 { font: 500 25px/1.08 var(--display); margin: 0; }
.card .from { font: 500 12.5px/1 var(--mono); color: var(--ink-2); white-space: nowrap; }
.card p { margin: -6px 0 0; font-size: 13.5px; color: var(--ink-3); line-height: 1.45; }
.card .tag { position: absolute; left: 12px; top: 12px; z-index: 2; font: 600 10.5px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; padding: 6px 8px; border-radius: 3px; background: var(--wax); color: #fff; }

.index { columns: 3 260px; column-gap: clamp(24px, 4vw, 56px); }
.index a { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--rule); break-inside: avoid; transition: padding-left .25s var(--ease), color .2s; }
.index a:hover { padding-left: 6px; color: var(--wax); }
.index .no { font: 400 11.5px/1 var(--mono); color: var(--ink-3); }
.index b { font-weight: 500; font-size: 15px; }
.index .pr { font: 400 12px/1 var(--mono); color: var(--ink-3); }

.band { background: var(--ink); color: var(--paper); border-radius: 4px; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.band .h2 { color: var(--paper); }
.band p { color: rgba(246, 242, 238, .72); margin: 12px 0 0; }
.band .btn { background: var(--paper); color: var(--ink); }
.band ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14.5px; color: rgba(246, 242, 238, .85); }
.band li { display: flex; gap: 12px; align-items: baseline; }
.band li .mono { color: var(--silk); }

/* ——— товар: калькулятор ——— */
.crumbs { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); padding-top: 22px; }
.crumbs a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); padding: 18px 0 80px; align-items: start; }
.pdp-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-bottom: 6px; }
.pdp-head p { margin: 10px 0 0; color: var(--ink-2); max-width: 60ch; }
.stage { position: sticky; top: calc(var(--hdr) + 20px); }
.stage .proof { aspect-ratio: 5 / 4; border-radius: 2px; box-shadow: 0 0 0 1px var(--rule); }
.stage .ph { position: absolute; inset: 0; overflow: hidden; border-radius: 2px; }
.stage .ph img { width: 100%; height: 100%; object-fit: cover; }
.stage .ph iframe { width: 100%; height: 100%; border: 0; background: var(--paper-2); }
.stage-tabs { display: flex; gap: 6px; margin-top: 16px; }
.spec { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.spec span { font: 400 12px/1 var(--mono); padding: 8px 10px; border-radius: 3px; background: var(--paper-2); color: var(--ink-2); }

.subtypes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.subtypes a { padding: 16px; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--rule); display: grid; gap: 10px; transition: box-shadow .2s, transform .25s var(--ease); background: var(--sheet); }
.subtypes a:hover { box-shadow: inset 0 0 0 1px var(--ink-3); transform: translateY(-2px); }
.subtypes img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; width: 100%; }
.subtypes b { font: 500 21px/1.1 var(--display); }
.subtypes span { font-size: 13px; color: var(--ink-3); }

.cfg { display: grid; gap: 4px; }
.step { padding: 22px 0; border-top: 1px solid var(--rule); }
.step:first-child { border-top: 0; padding-top: 4px; }
.step-h { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.step-h .no { font: 500 12px/1 var(--mono); color: var(--wax); letter-spacing: .04em; }
.step-h h3 { font: 600 15px/1.2 var(--ui); margin: 0; letter-spacing: .01em; }
.step-h .cur { margin-left: auto; font: 400 12.5px/1.2 var(--mono); color: var(--ink-3); text-align: right; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  position: relative; min-height: 42px; padding: 9px 14px; border-radius: 8px; background: var(--sheet); text-align: left;
  box-shadow: inset 0 0 0 1px var(--rule-2); font-size: 13.5px; line-height: 1.3; transition: box-shadow .15s, background-color .15s, transform .15s;
}
.opt:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.opt.on { background: var(--ink); color: var(--paper); box-shadow: none; }
.opt.off { opacity: .4; pointer-events: none; text-decoration: line-through; text-decoration-color: rgba(46, 37, 28, .35); }
.opt small { display: block; font: 400 11px/1.2 var(--mono); opacity: .7; margin-top: 3px; }
.opts.many .opt { flex: 1 1 calc(50% - 4px); }
.sel { width: 100%; height: 46px; padding: 0 40px 0 14px; border-radius: 8px; border: 0; background: var(--sheet) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%232E251C' stroke-width='1.4'/></svg>") no-repeat right 14px center; box-shadow: inset 0 0 0 1px var(--rule-2); -webkit-appearance: none; appearance: none; font-size: 14px; }
.more-btn { margin-top: 10px; font-size: 13px; color: var(--ink-2); border-bottom: 1px dashed var(--silk-2); }
.hint { font-size: 12.5px; color: var(--ink-3); margin: 8px 0 0; }

.qty-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.qty { padding: 10px 12px; border-radius: 8px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--rule-2); text-align: left; transition: box-shadow .15s, background-color .15s; }
.qty:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.qty b { display: block; font: 600 14px/1.2 var(--ui); }
.qty span { display: block; font: 400 11.5px/1.3 var(--mono); color: var(--ink-3); margin-top: 3px; }
.qty.on { background: var(--ink); color: var(--paper); box-shadow: none; }
.qty.on span { color: rgba(246, 242, 238, .7); }
.qty-own { display: flex; gap: 10px; align-items: center; margin-top: 12px; font-size: 13.5px; color: var(--ink-2); }
.qty-own input { width: 110px; height: 42px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--rule-2); font: 500 15px/1 var(--mono); outline: none; }
.qty-own input:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.curve { margin-top: 14px; height: 54px; width: 100%; }
.curve path.l { fill: none; stroke: var(--silk-2); stroke-width: 1.5; }
.curve path.a { fill: rgba(201, 176, 154, .18); stroke: none; }
.curve circle { fill: var(--wax); }

.sum { margin-top: 18px; padding: 22px; border-radius: 4px; background: var(--sheet); box-shadow: 0 0 0 1px var(--rule); position: sticky; bottom: 16px; }
.sum .row { display: flex; justify-content: space-between; gap: 14px; font-size: 13.5px; color: var(--ink-2); padding: 3px 0; }
.sum .row b { font-weight: 500; color: var(--ink); font-family: var(--mono); font-size: 13px; }
.sum .total { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin: 4px 0 12px; }
.sum .total .v { font: 400 46px/1 var(--display); letter-spacing: -.01em; transition: opacity .2s; }
.sum .total .v small { font: 500 14px/1 var(--ui); color: var(--ink-3); margin-left: 6px; }
.sum .total .per { font: 400 12.5px/1.4 var(--mono); color: var(--ink-3); text-align: right; }
.sum.busy .total .v { opacity: .45; }
.sum .note { font-size: 12px; color: var(--ink-3); margin: 10px 0 0; }
.sum .acts { display: flex; gap: 8px; margin-top: 16px; }
.sum .acts .btn:first-child { flex: 1; }
.sum .err { color: var(--wax); font-size: 13px; margin: 6px 0 0; }

.mbar { display: none; }

/* ——— корзина ——— */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(46, 37, 28, .28); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.scrim.on { opacity: 1; visibility: visible; transition: opacity .3s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(440px, 100vw); background: var(--paper); box-shadow: -30px 0 60px -30px rgba(46, 37, 28, .4); transform: translateX(104%); transition: transform .35s var(--ease); display: flex; flex-direction: column; }
.drawer.on { transform: none; }
.drawer .hd { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--rule); }
.drawer .bd { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer .ft { padding: 20px 24px 24px; border-top: 1px solid var(--rule); display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: start; animation: rise .35s var(--ease) both; }
.line img { width: 64px; height: 64px; object-fit: cover; border-radius: 3px; }
.line b { font: 500 19px/1.15 var(--display); display: block; }
.line .sp { font: 400 11.5px/1.5 var(--mono); color: var(--ink-3); margin-top: 4px; }
.line .x { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; border-bottom: 1px solid transparent; }
.line .x:hover { color: var(--wax); border-color: var(--wax); }
.line .p { font: 500 13.5px/1.2 var(--mono); white-space: nowrap; }
.empty { padding: 48px 8px; text-align: center; color: var(--ink-3); }
.empty .h3 { color: var(--ink); margin-bottom: 8px; }

/* ——— страницы: корзина, оформление, формы ——— */
.page { padding: clamp(32px, 5vw, 72px) 0 80px; }
.page-h { margin-bottom: clamp(24px, 3vw, 40px); }
.page-h .lead { margin-top: 14px; }
.two { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.panel { background: var(--sheet); border-radius: 4px; box-shadow: 0 0 0 1px var(--rule); padding: clamp(20px, 3vw, 32px); }
.form { display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font: 600 12px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 12px 14px; border: 0; border-radius: 8px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule-2); outline: none; font-size: 15px; transition: box-shadow .15s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.radio { display: grid; gap: 8px; }
.radio label { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--rule-2); cursor: pointer; transition: box-shadow .15s, background-color .15s; }
.radio label:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--paper); }
.radio input { accent-color: var(--ink); width: 18px; height: 18px; }
.radio small { display: block; font-size: 12.5px; color: var(--ink-3); }
.radio .mono { color: var(--ink-2); }
.tabs2 { display: inline-flex; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule); margin-bottom: 20px; }
.tabs2 button { height: 38px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 13.5px; color: var(--ink-2); }
.tabs2 button.on { background: var(--ink); color: var(--paper); }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 12.5px; margin: 6px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.services article { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 10px; align-content: start; }
.services .mono { color: var(--wax); }
.services h3 { font: 500 26px/1.1 var(--display); margin: 0; }
.services p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.contact-list { display: grid; gap: 18px; }
.contact-list div > span { display: block; font: 600 11.5px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.contact-list a { border-bottom: 1px solid var(--rule-2); }

/* ——— подвал ——— */
.foot { margin-top: 40px; border-top: 1px solid var(--rule); padding: 48px 0 28px; font-size: 14px; color: var(--ink-2); }
.foot .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.foot h5 { margin: 0 0 14px; font: 600 11px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.foot a { display: block; padding: 4px 0; }
.foot a:hover { color: var(--ink); }
.foot .legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 12px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
.foot .big { font: 400 clamp(56px, 11vw, 160px)/.8 var(--display); color: var(--paper-2); letter-spacing: -.02em; margin-top: 26px; white-space: nowrap; overflow: hidden; }

/* ——— сообщение ——— */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 80; transform: translate(-50%, 24px); opacity: 0; background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 999px; font-size: 14px; transition: transform .3s var(--ease), opacity .25s; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.toast.on { transform: translate(-50%, 0); opacity: 1; }
.skel { background: linear-gradient(90deg, var(--paper-2), var(--sheet), var(--paper-2)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; border-radius: 4px; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes shimmer { to { background-position: -200% 0; } }
::view-transition-old(root) { animation: .2s var(--ease-in) both vt-out; }
::view-transition-new(root) { animation: .3s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

/* ——— адаптив ——— */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: grid; }
  .pdp, .two { grid-template-columns: 1fr; }
  .stage { position: relative; top: 0; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --hdr: 60px; }
  .cat-hero { grid-template-columns: 1fr; }
  .langs { display: none; }
  .brand small { display: none; }
  .form .row2 { grid-template-columns: 1fr; }
  .sum { position: relative; bottom: auto; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; gap: 12px; align-items: center; padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom, 0px)); background: rgba(246, 242, 238, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--rule); transform: translateY(110%); transition: transform .3s var(--ease); }
  .mbar.on { transform: none; }
  .mbar .v { font: 400 28px/1 var(--display); }
  .mbar .v small { display: block; font: 400 11px/1.3 var(--mono); color: var(--ink-3); }
  .mbar .btn { margin-left: auto; }
  .foot .cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; transition-duration: .01s !important; }
}

/* меню-шторка на телефоне */
.sheet-menu { position: fixed; inset: 0 auto 0 0; z-index: 61; width: min(340px, 88vw); background: var(--paper); transform: translateX(-104%); transition: transform .35s var(--ease); padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.sheet-menu.on { transform: none; }
.sheet-menu a { font: 400 30px/1.25 var(--display); padding: 6px 0; }
.sheet-menu .langs { display: flex; margin-top: auto; }

/* правки после первого показа */
.cat-hero { padding-left: var(--gut); padding-right: var(--gut); }
.drawer { box-shadow: none; }
.drawer.on { box-shadow: -30px 0 60px -30px rgba(46, 37, 28, .4); }
.stage .proof { aspect-ratio: auto; height: clamp(220px, 40vh, 440px); }
.stage .sum { position: static; margin-top: 16px; }
.step.off { opacity: .5; }
@media (max-width: 1100px) { .stage .proof { height: auto; aspect-ratio: 4 / 3; } }
.pdp-head .h1 { font-size: clamp(38px, 4.2vw, 62px); }
.pdp-head p { margin-top: 6px; }
.pdp { padding-top: 8px; row-gap: 22px; }
.stage .proof { height: clamp(200px, 32vh, 380px); }

/* ═══════════ v2 · 17.11: фото, мозаика, лёгкая динамика ═══════════ */

/* появление при прокрутке */
[data-rv] { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .5s var(--ease); } /* без лесенки задержек: блоки появляются вместе (20.11) */
[data-rv].in { opacity: 1; transform: none; }

/* первый экран: текст + живая композиция из трёх фото */
.hero2 { padding: clamp(28px, 5vw, 72px) 0 clamp(36px, 5vw, 72px); overflow: hidden; }
.hero2-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.hero2 .h1 { margin-top: 18px; font-size: clamp(48px, 6.6vw, 104px); }
.hero2 .lead { margin-top: 20px; }
.hero2 .search { margin-top: 30px; max-width: 520px; }
.collage { position: relative; aspect-ratio: 1 / .92; --mx: 0; --my: 0; }
.collage figure { position: absolute; margin: 0; overflow: hidden; border-radius: 3px; background: var(--paper-2); box-shadow: 0 30px 60px -34px rgba(46, 37, 28, .55), 0 0 0 1px rgba(164, 141, 123, .25); }
.collage img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.collage .c1 { left: 0; top: 10%; width: 64%; aspect-ratio: 3 / 2; z-index: 2; transform: translate(calc(var(--mx) * -14px), calc(var(--my) * -10px)) rotate(-2.2deg); animation: drift1 11s ease-in-out infinite alternate; }
.collage .c2 { right: 2%; top: 0; width: 40%; aspect-ratio: 2 / 3; z-index: 1; transform: translate(calc(var(--mx) * 10px), calc(var(--my) * 8px)) rotate(2.6deg); animation: drift2 13s ease-in-out infinite alternate; }
.collage .c3 { left: 24%; bottom: 0; width: 52%; aspect-ratio: 3 / 2; z-index: 3; transform: translate(calc(var(--mx) * 18px), calc(var(--my) * 14px)) rotate(1.2deg); animation: drift3 12s ease-in-out infinite alternate; }
.collage figure { transition: transform .6s var(--ease); }
@keyframes drift1 { to { translate: 0 -8px; } }
@keyframes drift2 { to { translate: 0 10px; } }
@keyframes drift3 { to { translate: 6px -6px; } }
/* метки совмещения — типографский знак */
.collage .reg { position: absolute; width: 26px; height: 26px; border: 1px solid var(--ink-3); border-radius: 50%; opacity: .5; z-index: 4; }
.collage .reg::before, .collage .reg::after { content: ""; position: absolute; background: var(--ink-3); }
.collage .reg::before { left: 50%; top: -7px; bottom: -7px; width: 1px; }
.collage .reg::after { top: 50%; left: -7px; right: -7px; height: 1px; }
.collage .r1 { left: 66%; top: 6%; }
.collage .r2 { left: 6%; bottom: 8%; }
.collage { animation: fadein 1s var(--ease) both; }
@keyframes fadein { from { opacity: 0; transform: translateY(14px); } }

/* группы-якоря */
.groups .chip { text-decoration: none; display: inline-flex; align-items: center; }

/* мозаика «чаще всего заказывают» */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 2.4vw, 34px) clamp(18px, 2vw, 28px); }
.bento .pc.big { grid-column: span 2; }
.bento .pc.big .proof { aspect-ratio: 16 / 10; }
.bento .pc.big h3 { font-size: 32px; }

/* карточка товара */
.pc { display: flex; flex-direction: column; gap: 12px; }
.pc .proof { aspect-ratio: 4 / 3; border-radius: 2px; box-shadow: 0 0 0 1px var(--rule); background: var(--paper-2); }
.pc .proof .ph { position: absolute; inset: 0; overflow: hidden; border-radius: 2px; }
.pc .proof img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); transition: transform 1.1s var(--ease), filter .6s; }
.pc:hover .proof img { transform: scale(1.06); }
.pc .proof::before, .pc .proof::after, .pc .proof > .cm::before, .pc .proof > .cm::after { opacity: 0; }
.pc:hover .proof::before { opacity: .8; transform: translate(-4px, -4px); }
.pc:hover .proof::after { opacity: .8; transform: translate(4px, -4px); }
.pc:hover .proof > .cm::before { opacity: .8; transform: translate(-4px, 4px); }
.pc:hover .proof > .cm::after { opacity: .8; transform: translate(4px, 4px); }
.pc-t { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pc h3 { font: 500 24px/1.08 var(--display); margin: 0; transition: color .3s; }
.pc:hover h3 { color: var(--wax); }
.pc .from { font: 500 12.5px/1 var(--mono); color: var(--ink-2); white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.pc .from.on { opacity: 1; transform: none; }
.pc p { margin: -4px 0 0; font-size: 13.5px; color: var(--ink-3); line-height: 1.45; }

/* разделы групп */
.grp { padding: clamp(30px, 4vw, 52px) 0; border-top: 1px solid var(--rule); }
.grp .sec-h { justify-content: flex-start; align-items: baseline; gap: 16px; }
.grp .cnt { color: var(--wax); font-size: 13px; }
.grp .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }

/* почему Paper & Silk */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.why article { padding-top: 22px; border-top: 2px solid transparent; border-image: var(--satin) 1; }
.why .mono { color: var(--wax); }
.why h3 { font: 500 28px/1.1 var(--display); margin: 10px 0 10px; }
.why p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }

/* цена в сводке — мягкая смена */
.sum .total .v { font-variant-numeric: tabular-nums; }

/* адаптив v2 */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero2-in { grid-template-columns: 1fr; }
  .collage { max-width: 520px; width: 100%; justify-self: center; order: -1; aspect-ratio: 1 / .78; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .bento .pc.big { grid-column: span 2; }
  .grp .grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .pc h3 { font-size: 19px; }
  .pc-t { flex-direction: column; gap: 4px; }
  .pc p { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  [data-rv] { opacity: 1; transform: none; }
  .collage figure { animation: none; }
}

/* v3: сцена конфигуратора — крупнее, без прокрутки внутри; фото — по кнопке */
.stage .proof { height: clamp(360px, 56vh, 560px); }
@media (max-width: 1100px) { .stage .proof { height: auto; aspect-ratio: 5 / 4; } }
.stage .ph .pv-host { position: absolute; inset: 0; }
.stage .ph .pv-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage .pv-note { margin-top: 8px; }
.sum .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.sum .acts .btn { flex: 1 1 200px; }
.prelim { margin-top: 12px; font-size: 12.5px; line-height: 1.45; color: var(--muted, #7A6656); }
.opt.off { opacity: .38; text-decoration: line-through; text-decoration-color: rgba(46, 37, 28, .35); cursor: help; background: transparent; pointer-events: auto; } /* нажатие — пояснение «почему недоступно» */
.opt.off:hover { box-shadow: inset 0 0 0 1px var(--rule); }
.step.off .opts, .step.off .sel, .step.off input { pointer-events: none; }
.step.off .cur { color: var(--wax); font-family: var(--ui); font-size: 12px; }

/* v3: логотип как у издательства — монограмма P·S и «PAPER and SILK»; живой шёлковый блик */
.brand { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.brand-mk { width: auto; height: 40px; display: block; transform-origin: 50% 60%; transition: transform .9s var(--ease); }
.brand:hover .brand-mk { transform: rotate(-4deg) scale(1.04); }
.brand-w { display: flex; flex-direction: column; gap: 5px; line-height: 1; }
.brand-w b { position: relative; font: 500 21px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  background: linear-gradient(100deg, var(--ink) 0 40%, #C9B09A 47%, #F0E5DA 50%, #B49A83 53%, var(--ink) 60% 100%) 120% 0 / 260% 100% repeat-x;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: brandSilk 1.8s .5s var(--ease) both; }
.brand:hover .brand-w b { animation: brandSilk 1.4s var(--ease) both; }
.brand-w b i { font-style: normal; font-size: .6em; letter-spacing: .16em; margin: 0 .5em 0 .55em; vertical-align: .08em; color: inherit; padding: 0; }
.brand-w small { font: 500 9.5px/1 var(--ui); letter-spacing: .32em; text-transform: uppercase; color: var(--ink-3); padding-left: 1px; }
.brand-w small::before { content: ""; display: inline-block; width: 18px; height: 1px; margin: 0 8px 3px 0; vertical-align: middle; background: var(--satin); }
@keyframes brandSilk { from { background-position: 120% 0; } to { background-position: -20% 0; } }
.foot .brand-mk { height: 46px; }
.foot .big i { font-style: normal; font-size: .42em; letter-spacing: .12em; vertical-align: .18em; }
@media (max-width: 760px) { .brand { gap: 8px; } .brand-mk { height: 30px; } .brand-w b { font-size: 15px; letter-spacing: .1em; } .brand-w small { display: none; } }
@media (max-width: 400px) { .brand-w b i { margin: 0 .35em; } .brand-w b { font-size: 14px; letter-spacing: .08em; } }
@media (prefers-reduced-motion: reduce) { .brand-w b, .brand:hover .brand-w b { animation: none; background-position: -20% 0; } .brand-mk { transition: none; } }

/* v3: лист бумаги при переходе издательство ↔ каталог (тот же жест, что во вступлении издательства) */
.sheet { display: none; position: fixed; inset: 0; z-index: 400; background-color: var(--paper); pointer-events: none;
  transform: translateY(0); transition: transform .45s cubic-bezier(.76, 0, .2, 1); }
.sheet::after { content: ""; position: absolute; left: -14%; right: -14%; top: calc(100% - 8vh); height: 16vh; border-radius: 50%;
  background-color: var(--paper); box-shadow: 0 22px 60px rgba(57, 47, 37, .13); }
.sheet img { position: absolute; left: 50%; top: 50%; width: 64px; height: auto; transform: translate(-50%, -50%); opacity: .92; }
.sheet.on, .sheet-in .sheet { display: block; }
.sheet.up { transform: translateY(-124%); }
.sheet-in .sheet.up { transition-duration: .62s; }
.prelim.box { margin: 10px 0 14px; padding: 10px 12px; border-left: 2px solid var(--silk); background: rgba(201, 176, 154, .1); }
.prelim .more { white-space: nowrap; color: var(--ink); border-bottom: 1px solid var(--rule-2); }
.sum .err.wait { color: var(--ink-3); }
.sum .err.wait::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; border: 1.5px solid var(--silk); border-top-color: transparent; vertical-align: -1px; animation: psSpin .9s linear infinite; }
@keyframes psSpin { to { transform: rotate(360deg); } }

/* проверка 17.11: подсказки поиска не обрезаются первым экраном (коллаж по-прежнему не вылезает вбок) */
.hero2 { overflow: visible; overflow-x: clip; }
.hero2 .search { z-index: 25; }

/* отделка «по запросу»: видна, но приглушена и с подписью, не зачёркнута */
.opt.ask { color: var(--ink-3); background: transparent; box-shadow: none; outline: 1px dashed var(--silk-2); outline-offset: -1px; }
.opt .ask-l { display: block; margin-top: 2px; font: italic 500 11px/1.2 var(--ui); color: var(--silk-2); }

/* подпись к названию — «штамп» (выбор владельца 18.11): слово в рамке оттиска, сургучные чернила, чуть наискосок; при появлении и наведении «ставится» */
.brand-w small { align-self: flex-start; font: 700 9.5px/1 var(--ui); letter-spacing: .3em; text-transform: uppercase; color: var(--wax);
  padding: 4px 7px 4px 9px; border: 1.5px solid var(--wax); border-radius: 3px; transform: rotate(-4deg); opacity: .88;
  -webkit-mask: radial-gradient(circle at 30% 40%, #000 60%, rgba(0, 0, 0, .78) 61%); mask: radial-gradient(circle at 30% 40%, #000 60%, rgba(0, 0, 0, .78) 61%);
  }
.brand-w small::before { content: none; display: none; }
/* штамп «ставится» один раз — при переходе из издательства в каталог (класс stamp-in), в остальное время неподвижен */
.stamp-in .brand-w small { animation: psStamp .6s .45s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes psStamp { 0% { opacity: 0; transform: rotate(-12deg) scale(1.9); } 70% { opacity: .95; transform: rotate(-3deg) scale(.94); } 100% { opacity: .88; transform: rotate(-4deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .brand-w small, .brand:hover .brand-w small { animation: none; } }

/* переход к оформлению: пока освежаем цены позиций (до 8 с) — курсор ожидания */
html.co-wait, html.co-wait * { cursor: progress !important; }
/* «Оформить заказ»: видимая плашка, пока подтверждаем цены позиций */
#coWait { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(246, 241, 232, .72); backdrop-filter: blur(2px); }
#coWait > div { display: flex; gap: 12px; align-items: center; padding: 16px 22px; border-radius: 14px; background: var(--paper, #FBF8F2); box-shadow: 0 10px 40px rgba(46, 37, 28, .16); font: 500 15px/1.3 var(--ui); color: var(--ink); }
#coWait .spin { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(46, 37, 28, .15); border-top-color: var(--ink); animation: coSpin .8s linear infinite; }
@keyframes coSpin { to { transform: rotate(360deg); } }
/* смена вида товара: пока грузится — прежняя форма приглушена и не нажимается */
#cfg.loading .step:not(:first-child) { opacity: .45; pointer-events: none; transition: opacity .2s; }
/* весь каталог (/catalog/all): одна сетка без разделов, поиск по странице */
.allcat { padding-bottom: clamp(30px, 4vw, 56px); }
.all-head { margin: 6px 0 clamp(26px, 3.4vw, 44px); }
.all-find { width: min(100%, 420px); }
.all-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.all-grid .pc[hidden] { display: none; }
.all-grid .pc h3 { font-size: 21px; }
.pc-k { font: 500 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 2px 0 -6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.all-grid .pc p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#allNone { padding: 30px 0 10px; }
@media (max-width: 600px) {
  .all-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .all-grid .pc { gap: 9px; }
  .all-grid .pc h3 { font-size: 17px; }
  .all-grid .pc-t { flex-direction: column; align-items: flex-start; gap: 5px; }
  .all-grid .pc p { font-size: 12.5px; }
  .all-grid .pc-k { font-size: 9.5px; letter-spacing: .05em; margin-bottom: -4px; }
  .all-find { width: 100%; }
}

/* переход на другую страницу: полоска загрузки сверху, страница приглушена, пока грузится следующая */
#psxLoad { position: fixed; left: 0; top: 0; z-index: 2147483000; height: 3px; width: 0; opacity: 0; pointer-events: none; border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, #A8907A, #8E3B2E); box-shadow: 0 0 10px rgba(142, 59, 46, .35); }
#psxLoad.go { opacity: 1; width: 88%; transition: width 9s cubic-bezier(.08, .82, .17, 1), opacity .1s; }
#psxLoad.end { opacity: 0; width: 100%; transition: width .2s ease, opacity .35s ease .15s; }
html.psx-leaving main, html.psx-leaving #main { opacity: .45; transition: opacity .25s ease .06s; }
html.psx-leaving body { cursor: progress; }
/* скорость (20.11): место под страницу занято до отрисовки — подвал не прыгает вниз, когда появляется содержимое */
#main { min-height: 100vh; min-height: 100svh; }

/* логотип «Гравировка» (выбор владельца 22.11): наш знак, тонкая черта и PAPER and SILK заглавными; штамп «Полиграфия» и шёлковый блик сняты */
.brand { gap: 12px; }
.brand-rl { flex: none; width: 1px; height: 29px; background: var(--rule-2); }
.brand-w { gap: 0; }
.brand-w b { font: 400 18.5px/1 'PS Brand', 'Marcellus', Georgia, serif; letter-spacing: .17em; text-transform: uppercase; color: var(--ink); padding-top: 1.5px;
  background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: var(--ink); animation: none; }
.brand:hover .brand-w b { animation: none; }
.brand-w b i { font: italic 500 1.14em/1 'PS Brand', var(--display); letter-spacing: .01em; text-transform: none; color: var(--silk-2); -webkit-text-fill-color: var(--silk-2); margin: 0 .3em 0 .12em; vertical-align: baseline; padding: 0; }
.brand-w small { display: none; }
.foot .brand-rl { height: 34px; }
@media (max-width: 760px) { .brand { gap: 9px; } .brand-rl { height: 22px; } .brand-w b { font-size: 14px; letter-spacing: .17em; } }
@media (max-width: 400px) { .brand { gap: 7px; } .brand-mk { height: 28px; } .brand-rl { height: 20px; } .brand-w b { font-size: 12px; letter-spacing: .14em; } .brand-w b i { margin: 0 .28em 0 .1em; } }
@media (max-width: 350px) { .brand { gap: 6px; } .brand-mk { height: 26px; } .brand-rl { display: none; } .brand-w b { font-size: 10px; letter-spacing: .08em; } }

/* Paper and Silk · живой макет изделия. Только transform/opacity в анимациях. */
.pv { position: relative; width: 100%; height: 100%; --tx: 0deg; --ty: 0deg; --ease-v: cubic-bezier(.2, .7, .1, 1); overflow: hidden; user-select: none;
  background: radial-gradient(120% 90% at 50% 30%, #FBF8F4 0%, #EFE7DD 70%, #E8DED2 100%); }
.pv * { box-sizing: border-box; }

/* ═════ КНИГА ═════ */
.bv-scene { position: absolute; inset: 0; perspective: 1600px; perspective-origin: 50% 40%; transition: opacity .45s var(--ease-v); }
.bv-book { position: absolute; left: 50%; top: 47%; width: 0; height: 0; transform-style: preserve-3d;
  transition: transform 1s var(--ease-v); transform: rotateX(calc(-9deg + var(--ty))) rotateY(calc(28deg + var(--tx))); }
.pv[data-view="front"] .bv-book { transform: rotateX(var(--ty)) rotateY(var(--tx)); }
.pv[data-view="back"] .bv-book { transform: rotateX(var(--ty)) rotateY(calc(180deg + var(--tx))); }
.pv[data-view="spine"] .bv-book { transform: rotateX(var(--ty)) rotateY(calc(90deg + var(--tx))); }
.bv-f { position: absolute; left: 0; top: 0; backface-visibility: hidden; transition: width .7s var(--ease-v), height .7s var(--ease-v), transform .7s var(--ease-v), margin .7s var(--ease-v), background .5s; }
/* обложки: при твёрдом переплёте крышки выступают на --oh */
.bv-front, .bv-back { width: calc(var(--w) + var(--oh)); height: calc(var(--h) + var(--oh) * 2); margin: calc(var(--h) / -2 - var(--oh)) 0 0 calc(var(--w) / -2);
  background: #F3EDE4; overflow: hidden; border-radius: 0 2px 2px 0; }
.bv-front { transform: translateZ(calc(var(--t) / 2)); box-shadow: inset 3px 0 6px -3px rgba(0, 0, 0, .25); }
.bv-back { transform: rotateY(180deg) translateZ(calc(var(--t) / 2)); margin-left: calc(var(--w) / -2 - var(--oh)); border-radius: 2px 0 0 2px; box-shadow: inset -3px 0 6px -3px rgba(0, 0, 0, .25); }
.bv-spine { width: var(--t); height: calc(var(--h) + var(--oh) * 2); margin: calc(var(--h) / -2 - var(--oh)) 0 0 calc(var(--t) / -2);
  transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); background: linear-gradient(90deg, #E9E0D3, #F7F1E8 45%, #E2D7C8); display: grid; place-items: center; overflow: hidden; }
.bv-edge { width: var(--t); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--t) / -2); transform: rotateY(90deg) translateZ(calc(var(--w) / 2 - 1px));
  background: repeating-linear-gradient(90deg, var(--page) 0 1.6px, rgba(0, 0, 0, .07) 1.6px 2.1px), var(--page); }
.bv-top, .bv-bottom { width: var(--w); height: var(--t); margin: calc(var(--t) / -2) 0 0 calc(var(--w) / -2);
  background: repeating-linear-gradient(0deg, var(--page) 0 1.6px, rgba(0, 0, 0, .06) 1.6px 2.1px), var(--page); }
.bv-top { transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); }
.bv-bottom { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); }
/* твёрдый: тёмная ткань, скруглённый корешок */
.pv[data-binding="hard"] .bv-front, .pv[data-binding="hard"] .bv-back { background: #2F2821; }
.pv[data-binding="hard"] .bv-spine { background: linear-gradient(90deg, #221c16, #3d3329 40%, #4a3e32 55%, #2a231c); border-radius: 40% / 6%; }
.pv[data-binding="hard"] .bv-front::after, .pv[data-binding="hard"] .bv-back::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 4px); pointer-events: none; }
/* скоба: тонкий блок и две скобы на корешке */
.pv[data-binding="staple"] .bv-spine::before, .pv[data-binding="staple"] .bv-spine::after { content: ""; position: absolute; left: 50%; width: 2px; height: 14%; margin-left: -1px; background: linear-gradient(90deg, #8d9196, #e3e5e8, #8d9196); border-radius: 1px; }
.pv[data-binding="staple"] .bv-spine::before { top: 22%; }
.pv[data-binding="staple"] .bv-spine::after { bottom: 22%; }
/* пружина: витки вдоль корешка */
.bv-coil { position: absolute; display: none; width: calc(var(--t) + 14px); height: calc(var(--h) * .96); margin: calc(var(--h) * -.48) 0 0 0; left: calc(var(--w) / -2 - 8px);
  transform: translateZ(0); background: repeating-linear-gradient(180deg, transparent 0 4px, var(--coil) 4px 7px, transparent 7px 10px); -webkit-mask: radial-gradient(ellipse 60% 50% at 50% 50%, #000 60%, transparent 62%) 0 0 / 100% 10px; mask: radial-gradient(ellipse 60% 50% at 50% 50%, #000 60%, transparent 62%) 0 0 / 100% 10px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25)); }
.pv[data-binding="spring"] .bv-coil { display: block; }
.pv[data-binding="spring"] .bv-spine { background: repeating-linear-gradient(180deg, var(--coil) 0 3px, #ddd3c5 3px 10px); }
/* ляссе */
.bv-lace { position: absolute; width: 7px; height: 38px; left: calc(var(--w) / -2 + var(--w) * .38); top: calc(var(--h) / 2 - 2px); transform: translateZ(calc(var(--t) / 2 - 2px)); background: var(--lace);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); opacity: 0; transition: opacity .4s; }
.pv[data-lace="1"] .bv-lace { opacity: 1; }
/* глянец / мат / бархат: блик на обложке */
.bv-front::before, .bv-back::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .5) 46%, transparent 60%); }
.pv[data-finish="gloss"] .bv-front::before, .pv[data-finish="gloss"] .bv-back::before { opacity: 1; animation: sheen 6s var(--ease-v) infinite; }
.pv[data-finish="matte"] .bv-front::before { opacity: .25; background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, .25) 50%, transparent 80%); }
.pv[data-finish="velvet"] .bv-front::before { opacity: .3; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .35), transparent 60%); }
@keyframes sheen { 0%, 60% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.bv-shadow { position: absolute; left: 50%; top: calc(47% + var(--h) / 2 + 10px); width: calc(var(--w) * 1.25); height: 26px; margin-left: calc(var(--w) * -.62);
  background: radial-gradient(closest-side, rgba(46, 37, 28, .28), transparent); filter: blur(6px); transition: width .7s var(--ease-v), margin .7s var(--ease-v), top .7s var(--ease-v); }

/* фирменная обложка */
.bv-art { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--h) * .03); padding: 10% 12%; color: #2E251C; text-align: center; font-family: 'Cormorant Garamond', 'Cormorant', Georgia, serif; }
.bv-art.dark { color: #E9DCCF; }
.bv-k { position: absolute; top: 7%; font: 600 calc(var(--h) * .022)/1 'Manrope', sans-serif; letter-spacing: .3em; text-transform: uppercase; opacity: .6; }
.bv-t { display: flex; flex-direction: column; align-items: center; line-height: .86; }
.bv-t b { font-weight: 500; font-size: calc(var(--w) * .2); letter-spacing: .02em; }
.bv-t i { font-style: italic; font-size: calc(var(--w) * .07); letter-spacing: .3em; margin: calc(var(--h) * .012) 0; opacity: .8; }
.bv-art.dark .bv-t b { background: linear-gradient(90deg, #C9B09A, #F0E5DA 40%, #BCA48E 70%, #E9DCCF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bv-rib { width: 34%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #A8907A, #E9DCCF 22%, #BCA48E 42%, #F0E5DA 63%, #AE9680 82%, #DCCBBB); margin-top: 4%; }
.bv-m { position: absolute; bottom: 7%; font: 500 calc(var(--h) * .02)/1.3 'Manrope', sans-serif; letter-spacing: .14em; opacity: .55; }
.bv-backart { justify-content: flex-start; padding-top: 16%; }
.bv-lines { display: grid; gap: calc(var(--h) * .018); width: 70%; }
.bv-lines i { display: block; height: 2px; background: currentColor; opacity: .18; }
.bv-lines i:nth-child(odd) { width: 86%; }
.bv-bar { position: absolute; bottom: 9%; right: 12%; width: 22%; height: 7%; background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 3px, currentColor 3px 5px, transparent 5px 6px); opacity: .45; }
.bv-mk { position: absolute; bottom: 9%; left: 12%; font: 500 calc(var(--w) * .07)/1 'Cormorant Garamond', serif; letter-spacing: .1em; opacity: .7; }
.bv-sp { writing-mode: vertical-rl; transform: rotate(180deg); font: 500 calc(var(--h) * .045)/1 'Cormorant Garamond', serif; letter-spacing: .14em; color: #2E251C; white-space: nowrap; }
.bv-sp i { font-size: .6em; font-style: italic; }
.bv-sp.dark { color: #E9DCCF; }

/* разворот («внутри») */
.bv-spread { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .45s var(--ease-v), transform .6s var(--ease-v); transform: scale(.96); }
.pv[data-view="inside"] .bv-spread { opacity: 1; transform: none; }
.pv[data-view="inside"] .bv-scene { opacity: 0; }
.bv-pages { display: flex; filter: drop-shadow(0 22px 30px rgba(46, 37, 28, .28)); --pw: 220px; }
.bv-pg { position: relative; width: var(--pw); aspect-ratio: 145 / 205; background: var(--page, #F9F7F1); padding: 12% 11%; display: flex; flex-direction: column; gap: 6%; overflow: hidden; }
.bv-pg.l { border-radius: 3px 0 0 3px; background: linear-gradient(90deg, var(--page, #F9F7F1) 80%, #e8e0d4); }
.bv-pg.r { border-radius: 0 3px 3px 0; background: linear-gradient(270deg, var(--page, #F9F7F1) 80%, #e8e0d4); }
.bv-pg.endp { background: radial-gradient(circle at 30% 30%, rgba(201, 176, 154, .35) 0 1.5px, transparent 2px) 0 0 / 14px 14px, linear-gradient(135deg, #EFE4D3, #E4D5C0); }
.bv-pg.endp::after { content: "Paper and Silk"; position: absolute; left: 0; right: 0; bottom: 12%; text-align: center; font: italic 500 13px/1 "Cormorant Garamond", "Cormorant", Georgia, serif; color: #8F7763; letter-spacing: .08em; }
.bv-h { font: 500 calc(var(--pw) * .09)/1 'Cormorant Garamond', serif; color: #2E251C; }
.bv-tx { display: grid; gap: calc(var(--pw) * .035); }
.bv-tx i { display: block; height: 2px; background: #2E251C; opacity: .2; }
.bv-tx i:nth-child(4n) { width: 70%; }
.bv-img { display: block; height: 42%; border-radius: 2px; background: linear-gradient(160deg, #c9a57c, #8e3b2e 55%, #2f4b5c); transition: filter .5s; }
.bv-img.bw { filter: grayscale(1) contrast(.9); }
.bv-no { position: absolute; bottom: 5%; left: 0; right: 0; text-align: center; font: 400 calc(var(--pw) * .05)/1 'Cormorant Garamond', serif; color: #7A6656; }

/* ═════ ЛИСТ ═════ */
.sv-scene { position: absolute; inset: 0; perspective: 1500px; }
.sv-stack { position: absolute; left: 50%; top: 47%; width: 0; height: 0; transform-style: preserve-3d; transition: transform 1s var(--ease-v);
  transform: rotateX(calc(52deg + var(--ty))) rotateZ(calc(-24deg + var(--tx))); }
.pv[data-view="front"] .sv-stack { transform: rotateX(var(--ty)) rotateY(var(--tx)); }
.pv[data-view="back"] .sv-stack { transform: rotateX(var(--ty)) rotateY(calc(180deg + var(--tx))); }
.sv-card { position: absolute; left: 0; top: 0; width: var(--w); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2); transform-style: preserve-3d;
  transition: width .7s var(--ease-v), height .7s var(--ease-v), margin .7s var(--ease-v), transform .9s var(--ease-v), opacity .5s; }
.sv-card.c2 { transform: translate3d(14px, -10px, -6px) rotateZ(5deg); }
.sv-card.c3 { transform: translate3d(28px, -18px, -12px) rotateZ(10deg); }
.pv:not([data-view="angle"]) .sv-card.c2, .pv:not([data-view="angle"]) .sv-card.c3, .pv[data-stack=""] .sv-card.c2, .pv[data-stack=""] .sv-card.c3 { opacity: 0; transform: none; }
.sv-f { position: absolute; inset: 0; border-radius: var(--r); background: var(--paper); overflow: hidden; backface-visibility: hidden; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .06); transition: background .5s, border-radius .5s; }
.sv-a { transform: translateZ(calc(var(--t) / 2)); }
.sv-b { transform: rotateY(180deg) translateZ(calc(var(--t) / 2)); }
.sv-edge { position: absolute; inset: 0; border-radius: var(--r); transform: translateZ(0); box-shadow: 0 0 0 var(--t) #e7dfd3; opacity: .0; }
.pv[data-grain="1"] .sv-f::after { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 30% 40%, rgba(0, 0, 0, .025) 0 1px, transparent 1px 3px); pointer-events: none; }
.pv[data-pearl="1"] .sv-f { background: linear-gradient(135deg, #f7f3ee, #efe7f1 40%, #f8f2e6 70%, #ede7df); }
.pv[data-plastic="1"] .sv-f { background: linear-gradient(135deg, #ffffff, #f1f2f3); }
.sv-gloss { position: absolute; inset: 0; border-radius: var(--r); transform: translateZ(calc(var(--t) / 2 + .5px)); pointer-events: none; opacity: 0; transition: opacity .5s; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 46%, transparent 60%); }
.pv[data-finish="gloss"] .sv-gloss, .pv[data-plastic="1"] .sv-gloss { opacity: 1; animation: sheen 6s var(--ease-v) infinite; }
.pv[data-finish="matte"] .sv-gloss { opacity: .3; background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, .25) 50%, transparent 80%); }
.pv[data-finish="velvet"] .sv-gloss { opacity: .35; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .35), transparent 60%); }
.pv[data-hole="1"] .sv-a::before { content: ""; position: absolute; top: 7%; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #E8DED2; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3); z-index: 3; }
.sv-shadow { position: absolute; left: 50%; top: 62%; width: 60%; height: 40px; margin-left: -30%; background: radial-gradient(closest-side, rgba(46, 37, 28, .22), transparent); filter: blur(8px); }
.sv-blank { position: absolute; inset: 0; }

/* фирменные макеты на листах */
.sa { position: absolute; inset: 0; display: flex; flex-direction: column; color: #2E251C; font-family: 'Cormorant Garamond', 'Cormorant', Georgia, serif; }
.pv[data-dark="1"] .sa { color: #E9DCCF; }
.sa-brand { font: 500 calc(min(var(--w), var(--h) * 1.6) * .1)/1 'Cormorant Garamond', serif; letter-spacing: .01em; }
.sa-brand i { font-size: .5em; letter-spacing: .25em; font-style: italic; opacity: .75; }
.sa-card { align-items: center; justify-content: center; gap: 6%; }
.sa-card .sa-mk { font: 500 calc(var(--h) * .16)/1 'Cormorant Garamond', serif; letter-spacing: .12em; color: #A48D7B; }
.sa-card .sa-sub { font: 500 calc(var(--h) * .065)/1 'Manrope', sans-serif; letter-spacing: .3em; text-transform: uppercase; opacity: .55; }
.sa-card.back { align-items: flex-start; padding: 10% 9%; }
.sa-name { font: 500 calc(var(--h) * .14)/1 'Cormorant Garamond', serif; }
.sa-role { font: 500 calc(var(--h) * .06)/1.6 'Manrope', sans-serif; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.sa-l { display: grid; gap: 6px; width: 60%; margin-top: auto; }
.sa-l i { display: block; height: 2px; background: currentColor; opacity: .2; }
.sa-l.many { width: 80%; gap: calc(var(--h) * .02); margin-top: 8%; }
.sa-poster { padding: 8%; gap: 3%; }
.sa-poster .sa-img { flex: 1 1 52%; border-radius: 2px; background: linear-gradient(160deg, #c9a57c, #8e3b2e 55%, #2f4b5c); transition: filter .5s; }
.sa-poster.bw .sa-img { filter: grayscale(1); }
.sa-kick { font: 600 calc(var(--w) * .028)/1 'Manrope', sans-serif; letter-spacing: .3em; text-transform: uppercase; opacity: .6; margin-top: 3%; }
.sa-title { font: 500 calc(var(--w) * .13)/.95 'Cormorant Garamond', serif; hyphens: manual; }
.sa-title.s { font-size: calc(var(--w) * .09); }
.sa-poster.back { justify-content: space-between; }
.sa-letter { padding: 9% 10%; gap: 4%; }
.sa-letter .sa-brand { font-size: calc(var(--w) * .06); }
.sa-foot { margin-top: auto; font: 500 calc(var(--w) * .018)/1 'Manrope', sans-serif; letter-spacing: .1em; opacity: .5; }
.sa-cert { align-items: center; justify-content: center; gap: 4%; padding: 10%; }
.sa-frame { position: absolute; inset: 5%; border: 1.5px solid #C9B09A; outline: 1px solid #C9B09A; outline-offset: -6px; }
.sa-seal { width: 14%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #a35b4b, #8E3B2E 60%, #6e2b20); margin-top: 4%; }
.sa-sticker { align-items: center; justify-content: center; }
.sa-sticker .dot { position: absolute; border-radius: 50%; }
.sa-sticker .d1 { width: 22%; aspect-ratio: 1; left: 8%; top: 10%; background: #8E3B2E; }
.sa-sticker .d2 { width: 16%; aspect-ratio: 1; right: 10%; top: 14%; background: #C9B09A; }
.sa-sticker .d3 { width: 18%; aspect-ratio: 1; left: 14%; bottom: 12%; background: #2f4b5c; }
.sa-sticker .d4 { width: 24%; aspect-ratio: 1; right: 8%; bottom: 8%; background: #6E7F5E; }
.sa-plaque { align-items: center; justify-content: center; background: linear-gradient(135deg, #2F2821, #3d3329); color: #E9DCCF; }
.sa-plaque b { font: 500 calc(var(--h) * .5)/1 'Cormorant Garamond', serif; }
.sa-plaque span { font: 500 calc(var(--h) * .1)/1 'Manrope', sans-serif; letter-spacing: .3em; text-transform: uppercase; }
.sa-cal { padding: 7%; gap: 3%; }
.sa-cal .sa-img { height: 46%; border-radius: 2px; background: linear-gradient(160deg, #c9a57c, #8e3b2e 55%, #2f4b5c); }
.sa-month { font: 500 calc(var(--w) * .07)/1 'Cormorant Garamond', serif; }
.sa-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; flex: 1; }
.sa-grid i { background: currentColor; opacity: .08; border-radius: 1px; }

/* ═════ SVG-изделия ═════ */
.xv-scene { position: absolute; inset: 0; display: grid; place-items: center; }
.xv-obj { width: 62%; max-width: 380px; transition: transform 1s var(--ease-v); transform: perspective(900px) rotateY(var(--tx)) rotateX(var(--ty)); filter: drop-shadow(0 26px 30px rgba(46, 37, 28, .22)); }
.xv-obj svg { width: 100%; height: auto; display: block; }
.pv[data-view="back"] .xv-obj { transform: perspective(900px) rotateY(calc(180deg + var(--tx))); }

/* панель видов и пометка */
.pv-ui { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.pv-views { display: inline-flex; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(164, 141, 123, .45); background: rgba(251, 248, 244, .7); }
.pv-views button { border: 0; background: transparent; cursor: pointer; appearance: none; height: 32px; padding: 0 14px; border-radius: 999px; font: 600 12.5px/1 'Manrope', sans-serif; color: #5B4F44; transition: background-color .25s, color .25s; }
.pv-views button.on { background: #2E251C; color: #F6F2EE; }
.pv-note { font: 400 12px/1.4 'Manrope', sans-serif; color: #7A6656; }
@media (prefers-reduced-motion: reduce) { .pv *, .pv { transition-duration: .01s !important; animation: none !important; } }
@media (max-width: 520px) { .pv-views button { padding: 0 9px; font-size: 12px; height: 30px; } .pv-views { padding: 3px; } }

/* ═════ книга «вживую» (18.11): свет, сгиб у корешка, лёгкое покачивание; обложка с названием и тиснением ═════ */
.bv-float { position: absolute; inset: 0; transform-style: preserve-3d; animation: bvFloat 7s ease-in-out infinite alternate; }
@keyframes bvFloat { from { transform: translateY(2px) rotateY(-3deg) rotateZ(-.4deg); } to { transform: translateY(-7px) rotateY(4deg) rotateZ(.4deg); } }
.bv-shadow { animation: bvShadow 7s ease-in-out infinite alternate; }
@keyframes bvShadow { from { transform: scale(1); opacity: 1; } to { transform: scale(.9); opacity: .78; } }
/* свет на крышке: тень у корешка, сгиб (бороздка), мягкий блик сверху справа */
.bv-front { background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .16) 0, rgba(0, 0, 0, .04) 2.2%, rgba(255, 255, 255, .22) 3.4%, rgba(0, 0, 0, .07) 4.6%, rgba(0, 0, 0, 0) 8%),
    radial-gradient(120% 80% at 88% 6%, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .05)); }
.bv-back { background-image: linear-gradient(270deg, rgba(0, 0, 0, .14) 0, rgba(0, 0, 0, 0) 7%), radial-gradient(120% 80% at 12% 6%, rgba(255, 255, 255, .25), rgba(255, 255, 255, 0) 55%); }
.bv-top, .bv-bottom, .bv-edge { box-shadow: inset 0 0 calc(var(--t) * .6) rgba(120, 100, 80, .18); }
/* обложка с названием */
.bv-titled { justify-content: flex-start; padding: 24% 11% 10%; gap: 0; }
.bv-ttl { font: 500 calc(var(--w) * .125)/1.04 'Cormorant Garamond', 'Cormorant', Georgia, serif; letter-spacing: .005em; text-align: center; color: #2E251C; }
.bv-titled.dark .bv-ttl { background: linear-gradient(100deg, #b8976d 0%, #f3e3c4 30%, #c8a676 52%, #f7e9cd 72%, #b08c60 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .45)); }
.bv-orn { position: relative; display: block; width: 26%; height: 1px; margin-top: calc(var(--h) * .05); background: currentColor; opacity: .4; }
.bv-orn i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -3px 0 0 -3px; border: 1px solid currentColor; transform: rotate(45deg); background: #F3EDE4; }
.bv-titled.dark .bv-orn { color: #c8a676; opacity: .7; }
.bv-titled.dark .bv-orn i { background: #2F2821; }
/* тиснение (блинт): буквы вдавлены в обложку — темнее фона, светлая кромка снизу */
.bv-eng { position: absolute; left: 0; right: 0; bottom: 7%; text-align: center; font: 600 calc(var(--w) * .04)/1 'Manrope', sans-serif; letter-spacing: .34em; text-transform: uppercase;
  color: rgba(70, 52, 36, .3); text-shadow: 0 1px 0 rgba(255, 255, 255, .75), 0 -1px 0 rgba(0, 0, 0, .1); }
.bv-titled.dark .bv-eng { color: rgba(0, 0, 0, .5); text-shadow: 0 1px 0 rgba(255, 255, 255, .12), 0 -1px 0 rgba(0, 0, 0, .45); }
.bv-titled.bv-backart { padding-top: 18%; }
@media (prefers-reduced-motion: reduce) { .bv-float, .bv-shadow { animation: none; } }
.pv[data-binding="hard"] .bv-front { background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .35) 0, rgba(0, 0, 0, .1) 2.4%, rgba(255, 255, 255, .07) 3.6%, rgba(0, 0, 0, .2) 5%, rgba(0, 0, 0, 0) 8%),
    radial-gradient(120% 80% at 88% 6%, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 55%); }
.bv-plane { position: absolute; left: 50%; bottom: 19%; width: 36%; transform: translateX(-46%) rotate(-4deg); color: #A48D7B; opacity: .85; }
.bv-titled.dark .bv-plane { color: #c8a676; opacity: .75; }
.bv-sp.t { letter-spacing: .05em; font-size: calc(var(--h) * .04); }
