/* Mudra Stones: стили витрины по дизайн-системе финала.
   Сетка 1440 / 12 колонок / поля 40 / межколонник 16; телефон 390 / 2 колонки / поля 16 / 12.
   Отступы 4-8-12-16-24-32-40-64. Радиусы 32 у блоков, 24 у карточек. Контролы 56 / 48 / 44.
   Точки перелома: телефон < 768, планшет 768-1099, десктоп от 1100. */

@font-face { font-family: 'Wix Madefor Display'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/wix-madefor-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Wix Madefor Display'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/wix-madefor-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Wix Madefor Display'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/wix-madefor-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Noto Sans Symbols'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/noto-symbols-zodiac.woff2) format('woff2'); unicode-range: U+2648-2653, U+FE0E; }

:root {
  --night: #1a1147; --tint: #2a1d6b; --accent: #ffd23f; --ink: #140d33; --paper: #f4f1ec;
  --ntext: #cfc8f2; --nline: #5a4db0; --muted: #4a4466; --tilea: #e4defa; --tileb: #d6e4ff;
  --deep: #100e20; --deeptint: #2f2a5c; --line: rgba(20, 13, 51, .1); --err: #c62828;
  --font: 'Wix Madefor Display', 'Helvetica Neue', Arial, sans-serif;
  --sym: 'Noto Sans Symbols', 'Apple Symbols', 'Segoe UI Symbol', sans-serif;
  --pad: 40px; --gap: 16px; --r: 32px; --rc: 24px;
  --spot: radial-gradient(ellipse 74% 46% at 50% 36%, rgba(255,255,255,.96) 0%, rgba(255,255,255,.8) 50%, rgba(255,255,255,0) 100%);
  --stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Ccircle cx='173' cy='85' r='1' fill='white' opacity='0.35'/%3E%3Ccircle cx='210' cy='341' r='1' fill='white' opacity='0.75'/%3E%3Ccircle cx='32' cy='45' r='1' fill='white' opacity='0.35'/%3E%3Ccircle cx='282' cy='56' r='1.8' fill='white' opacity='0.5'/%3E%3Ccircle cx='37' cy='267' r='1.8' fill='white' opacity='0.5'/%3E%3Ccircle cx='117' cy='27' r='1' fill='white' opacity='0.75'/%3E%3Ccircle cx='222' cy='43' r='1.4' fill='white' opacity='0.5'/%3E%3Ccircle cx='290' cy='225' r='1.8' fill='white' opacity='0.35'/%3E%3Ccircle cx='71' cy='122' r='0.9' fill='white' opacity='0.75'/%3E%3Ccircle cx='330' cy='329' r='1.4' fill='white' opacity='0.35'/%3E%3Ccircle cx='156' cy='222' r='1' fill='white' opacity='0.35'/%3E%3Ccircle cx='81' cy='284' r='1.4' fill='white' opacity='0.5'/%3E%3Ccircle cx='165' cy='294' r='0.9' fill='white' opacity='0.75'/%3E%3Ccircle cx='357' cy='100' r='0.9' fill='white' opacity='0.75'/%3E%3Ccircle cx='104' cy='198' r='1.8' fill='white' opacity='0.5'/%3E%3Ccircle cx='372' cy='40' r='1' fill='white' opacity='0.75'/%3E%3Ccircle cx='262' cy='356' r='1' fill='white' opacity='0.75'/%3E%3Ccircle cx='405' cy='168' r='1.4' fill='white' opacity='0.75'/%3E%3Ccircle cx='246' cy='307' r='1.4' fill='white' opacity='0.35'/%3E%3Ccircle cx='240' cy='193' r='0.9' fill='white' opacity='0.5'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ основа */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: 96px; scrollbar-gutter: stable; interpolate-size: allow-keywords; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
.i { flex-shrink: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 16px; border-radius: 24px; background: #fff; font-weight: 700; }
.skip:focus { left: 16px; }
.nw { white-space: nowrap; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.night :focus-visible, .foot :focus-visible { outline-color: var(--accent); }
.muted { color: var(--muted); }
.ntext { color: var(--ntext); }
.acc { color: var(--accent); }
.small { font-size: 15px; line-height: 1.45; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
main.wrap { display: flex; flex-direction: column; gap: var(--gap); min-height: 50vh; }

.h1 { font-size: 60px; font-weight: 700; line-height: 1; letter-spacing: -.035em; }
.h2 { font-size: 40px; font-weight: 700; line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; }
.h3 { font-size: 28px; font-weight: 700; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
.gl { font-family: var(--sym); font-weight: 400; line-height: 1; }

/* ночные блоки: индиго, звёзды узором, искры */
.night { position: relative; overflow: hidden; background-color: var(--night); background-image: var(--stars); background-size: 420px 420px; color: #fff; }
.spark { position: absolute; fill: var(--accent); pointer-events: none; transform: translate(-50%, -50%); }

/* ------------------------------------------------------------------ кнопки, чипы */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 48px; padding: 0 24px; border: 0; border-radius: 999px; font-size: 15px; font-weight: 700; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
.btn--56 { height: 56px; padding: 0 28px; font-size: 17px; }
.btn--48 { height: 48px; }
.btn--accent { background: var(--accent); color: var(--ink); }
@media (hover: hover) { .btn--accent:hover { background: #ffdc5c; } }
.btn--ink { background: var(--ink); color: #fff; }
@media (hover: hover) { .btn--ink:hover { background: #2b2256; } }
.btn--ghost { border: 1px solid var(--nline); background: transparent; color: #fff; font-weight: 600; }
@media (hover: hover) { .btn--ghost:hover { border-color: #8f83e6; background: rgba(255,255,255,.06); } }
.btn--ghost-ink { border: 1px solid rgba(20,13,51,.2); background: #fff; color: var(--ink); }
@media (hover: hover) { .btn--ghost-ink:hover { border-color: var(--ink); } }
.btn--block { display: flex; width: 100%; }
@media (hover: hover) { .btn:hover { transform: translateY(-1px); } }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.rbtn, .rmark { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.rbtn--ink, .rmark { background: var(--ink); color: #fff; }
.rbtn--white { background: #fff; color: var(--ink); }
.rbtn--accent { background: var(--accent); color: var(--ink); }
.rbtn--ghost { border: 1px solid var(--nline); background: transparent; color: #fff; }
.rbtn--56 { width: 56px; height: 56px; }
.rbtn--44, .rmark { width: 44px; height: 44px; }
@media (hover: hover) { .rbtn:hover, button.rmark:hover { transform: scale(1.06); } }
.rbtn:active, button.rmark:active { transform: scale(.94); }
.rbtn.is-added, .rmark.is-added { background: var(--accent); color: var(--ink); }
.rbtn--accent.is-added { background: #fff; }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 16px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; white-space: nowrap; }
.chip .gl { margin-left: -3px; font-size: 18px; }
.chip--accent { background: var(--accent); }
.badge { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 16px; background: var(--ink); color: var(--accent); font-size: 13px; font-weight: 700; white-space: nowrap; }
.badge--on-dark { background: var(--accent); color: var(--ink); }
.soldout { font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--muted); text-align: right; }
.card--dark .soldout { color: var(--ntext); }
.soldout--big { padding: 16px; border-radius: 16px; background: var(--paper); font-size: 16px; text-align: center; }

.more { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; height: 48px; padding: 0 20px; border-radius: 24px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 700; white-space: nowrap; text-decoration: none; transition: transform .15s ease; }
@media (hover: hover) { .more:hover { transform: translateX(2px); } }

.astro-d { color: var(--accent); }
.astro-l { background-image: linear-gradient(to top, rgba(0,0,0,0) 10%, var(--accent) 10%, var(--accent) 46%, rgba(0,0,0,0) 46%); }

/* ------------------------------------------------------------------ шапка */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(244, 241, 236, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 80px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; flex-shrink: 0; color: var(--ink); font-size: 24px; font-weight: 700; letter-spacing: -.04em; white-space: nowrap; text-decoration: none; }
.logo-star { width: 24px; height: 24px; fill: currentColor; }
.logo--light { color: #fff; }
.nav { display: flex; gap: 4px; padding: 4px; border-radius: 24px; background: #fff; }
.nav a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 20px; font-size: 15px; font-weight: 600; white-space: nowrap; text-decoration: none; transition: background-color .15s ease; }
@media (hover: hover) { .nav a:hover { background: var(--paper); } }
.nav a[aria-current] { background: var(--ink); color: #fff; }
.hdr-tools { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-shrink: 0; width: 328px; }
.search { display: flex; align-items: center; gap: 8px; flex: 1 1 0; min-width: 0; height: 48px; padding: 0 16px; border-radius: 24px; background: #fff; color: var(--ink); }
.search input { flex: 1 1 0; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; font-size: 15px; font-weight: 500; }
.search input::placeholder { color: #6f6a86; }
.search:focus-within { box-shadow: 0 0 0 2px var(--ink); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; height: 48px; padding: 0 12px 0 16px; border-radius: 24px; background: var(--ink); color: #fff; text-decoration: none; transition: transform .15s ease; }
@media (hover: hover) { .cart-btn:hover { transform: translateY(-1px); } }
.cart-count { display: flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 700; }
.cart-btn.bump .cart-count { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.search-mini, .menu-btn { display: none; }

/* ------------------------------------------------------------------ герой главной */
.hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 139px; gap: var(--gap); }
.hero-night { grid-column: span 5; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 40px; border-radius: var(--r); }
.hero-const { position: absolute; top: 40px; right: 40px; width: 168px; height: 168px; }
.hero-const .const-svg { width: 100%; height: 100%; overflow: visible; }
.season-chip { position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px 0 12px; border-radius: 18px; background: var(--accent); color: var(--ink); font-size: 14px; font-weight: 700; white-space: nowrap; }
.season-chip .gl { font-size: 18px; }
.hero-text { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.hero .h1 { font-size: clamp(44px, 4.17vw, 60px); white-space: nowrap; }
.hero-lead { max-width: 430px; margin-top: 16px; color: var(--ntext); text-wrap: pretty; }
.hero-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }

.hero-feat { grid-column: span 4; grid-row: span 2; position: relative; display: flex; flex-direction: column; min-height: 0; padding: 24px; border-radius: var(--r); overflow: hidden; background: radial-gradient(ellipse 74% 46% at 50% 40%, rgba(255,255,255,.96) 0%, rgba(255,255,255,.8) 50%, rgba(255,255,255,0) 100%), var(--tile); }
.hero-feat-pic { position: relative; display: flex; align-items: center; justify-content: center; flex: 1 1 0; min-height: 0; text-decoration: none; }
.hero-feat-pic .lay { width: min(394px, 100%); }
.hero-feat-pic .card-const { top: 44px; }
.hero-feat-pic .card-const .const-svg { width: min(320px, 82%); height: auto; aspect-ratio: 1; }
.hero-feat-chip { position: absolute; top: 24px; left: 24px; }
.hero-feat-chip .chip { height: 36px; padding: 0 16px 0 13px; font-size: 15px; }
.hero-feat-foot { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.hero-feat-t { display: flex; flex-direction: column; min-width: 0; }
.hero-feat-t .h3 { text-decoration: none; }
.hero-feat-t .small { margin-top: 4px; }
.hero-price { margin-top: 12px; font-size: 28px; font-weight: 700; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }

.hero-model { grid-column: span 3; align-self: start; position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: #d9dadd; color: var(--ink); text-decoration: none; }
.hero-model img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
@media (hover: hover) { .hero-model:hover img { transform: scale(1.03); } }

.hero-hit { grid-column: span 3; container-type: inline-size; position: relative; display: flex; align-items: center; gap: 8px; padding: 0 24px 0 8px; border-radius: var(--r); overflow: hidden; background: radial-gradient(ellipse 74% 46% at 21% 50%, rgba(255,255,255,.96) 0%, rgba(255,255,255,.8) 50%, rgba(255,255,255,0) 100%), var(--accent); }
.hero-hit-pic { display: block; flex-shrink: 0; text-decoration: none; }
.hero-hit-pic .lay { width: clamp(76px, 37.8cqi, 124px); }
.hero-hit-t { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; flex: 1 1 0; min-width: 0; }
.hero-hit-t .badge { height: 24px; padding: 0 10px; border-radius: 12px; font-size: 12px; }
.hero-hit-name { font-size: 17px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; white-space: nowrap; text-decoration: none; }
.hero-hit-price { font-size: 18px; font-weight: 700; line-height: 1; white-space: nowrap; }
@container (max-width: 260px) {
  .hero-hit-name { font-size: 15px; }
  .hero-hit-price { font-size: 16px; }
  .hero-hit .rbtn { width: 44px; height: 44px; }
}

/* подпись на фото: две строки и круглая кнопка */
.pill { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 8px 8px 8px 20px; border-radius: 24px; background: #fff; color: var(--ink); }
.pill-text { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; min-height: 44px; text-decoration: none; }
.pill-text b { font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.pill-text span { font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--muted); }
.pill--static { padding: 12px 20px; }

/* ------------------------------------------------------------------ категории */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.cat { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(112px, 10.6vw, 152px); height: 184px; border-radius: var(--r); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .2s ease; }
@media (hover: hover) { .cat:hover { transform: translateY(-2px); } }
.cat--spot { background: radial-gradient(ellipse 74% 46% at 77% 50%, rgba(255,255,255,.96) 0%, rgba(255,255,255,.8) 50%, rgba(255,255,255,0) 100%), var(--tile); }
.cat--white { background: #fff; }
.cat--night { background: var(--night); color: #fff; }
.cat-t { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 24px 0 24px 24px; }
.cat-title { font-size: clamp(22px, 1.95vw, 28px); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; }
.cat-sub { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--muted); white-space: nowrap; }
.cat--night .cat-sub { color: var(--ntext); }
.cat--night .rmark { background: #fff; color: var(--ink); }
.cat-vis { display: flex; align-items: center; justify-content: center; height: 184px; overflow: hidden; }
.cat--photo .cat-vis img { width: 100%; height: 100%; object-fit: cover; }
.cat--spot .cat-vis .lay { width: clamp(108px, 10.3vw, 148px); }
.cat--spot .cat-vis .cutimg { width: clamp(100px, 9.4vw, 136px); aspect-ratio: 1; }

/* ------------------------------------------------------------------ ночной астроблок */
.astro { display: flex; flex-direction: column; padding: 40px; border-radius: var(--r); scroll-margin-top: 96px; }
.astro-head { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px; }
.astro-head-t { display: flex; flex-direction: column; gap: 8px; flex: 1 1 480px; min-width: 0; }
.wheel { position: relative; display: flex; justify-content: space-between; margin-top: 32px; --sw: clamp(56px, 5vw, 72px); }
.sw { display: flex; flex-direction: column; align-items: center; gap: 8px; width: var(--sw); color: #fff; text-decoration: none; }
.sw-c { display: flex; align-items: center; justify-content: center; width: var(--sw); height: var(--sw); border: 1px solid var(--nline); border-radius: 50%; background: var(--tint); transition: transform .15s ease, background-color .15s ease; }
.sw-c .gl { font-size: calc(var(--sw) * .47); }
@media (hover: hover) { .sw:hover .sw-c { transform: translateY(-2px); background: #36288a; } }
.sw--on .sw-c { border-color: var(--accent); background: var(--accent); color: var(--ink); }
@media (hover: hover) { .sw--on:hover .sw-c { background: var(--accent); } }
.sw-n { font-size: 15px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.sw-d { margin-top: -6px; font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--ntext); white-space: nowrap; }
.astro-sep { height: 1px; margin-top: 40px; background: var(--nline); opacity: .5; }
.astro-row { position: relative; display: flex; flex-direction: column; margin-top: 40px; }
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.row-head > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.row-arrows { display: flex; gap: 8px; }
.scroller { display: flex; gap: var(--gap); margin: 18px -40px 0 0; padding: 6px 40px 0 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { flex-shrink: 0; width: 264px; scroll-snap-align: start; }
.astro-all { align-self: center; margin-top: 40px; }
.astro--compact .wheel { margin-top: 32px; }

/* круг знаков: выбранный знак жёлтый; повторное нажатие снимает выбор */
.wheel[data-sign-filter] .sw { cursor: pointer; }
.wheel[data-sign-filter] .sw:focus-visible { outline: none; }
.wheel[data-sign-filter] .sw:focus-visible .sw-c { outline: 2px solid #fff; outline-offset: 3px; }

/* блок знака вместо рядов: слева заголовок и описание, справа браслеты знака */
.sp-wrap { position: relative; overflow-anchor: none; }
.sp { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 40px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.12); }
.sp-info { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; flex: 1 1 0; min-width: 0; max-width: 560px; }
.sp-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.sp-reset { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border: 1px solid var(--nline); border-radius: 24px; background: transparent; color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .15s ease, transform .15s ease; }
.sp-reset svg { width: 14px; height: 14px; }
@media (hover: hover) { .sp-reset:hover { background: rgba(255,255,255,.08); } }
.sp-reset:active { transform: scale(.96); }
.sp-stage { display: grid; grid-template-columns: repeat(2, 264px); gap: var(--gap); flex-shrink: 0; }
.sp-stage--one { grid-template-columns: 544px; }
.sp-stage .card { width: auto; }
.page-hero .sp { margin-top: 8px; }

/* большая карточка единственного браслета знака */
.fcard { position: relative; display: flex; flex-direction: column; height: 376px; padding: 20px 24px 24px; border-radius: var(--rc); overflow: hidden; background: radial-gradient(ellipse 60% 52% at 50% 44%, rgba(255,255,255,.96) 0%, rgba(255,255,255,.8) 50%, rgba(255,255,255,0) 100%), var(--tile); color: var(--ink); }
.fcard-pic { position: relative; display: flex; align-items: center; justify-content: center; flex: 1 1 0; min-height: 0; text-decoration: none; }
.fcard-pic .lay { width: min(280px, 70%); }
.fcard-pic .card-const { top: 12px; }
.fcard-pic .card-const .const-svg { width: min(250px, 62%); }
.fcard-chips { position: absolute; top: 20px; left: 20px; right: 20px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fcard-chips .badge { margin-left: auto; }
.fcard-foot { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.fcard-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fcard-name { font-size: 22px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.fcard-price { margin-top: 8px; font-size: 24px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }

.birth { position: relative; display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.birth label { margin-right: 8px; font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--ntext); text-align: right; }
.birth label b { display: block; color: #fff; font-weight: 700; }
.birth-row { display: flex; gap: 8px; }
.birth input { width: 184px; height: 48px; padding: 0 16px; border: 0; border-radius: 24px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 600; }
.birth-out { flex-basis: 100%; font-size: 14px; font-weight: 600; color: var(--accent); text-align: right; }
.birth-out:empty { display: none; }

/* ------------------------------------------------------------------ заголовки разделов */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 48px 0 8px; }
.sec-head-t { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sec-sub { color: var(--muted); }

/* ------------------------------------------------------------------ карточка товара */
.card { --side: 232px; position: relative; display: flex; flex-direction: column; height: 376px; padding: 16px; border-radius: var(--rc); overflow: hidden; background: var(--spot), var(--tile); color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.card--dark { border: 1px solid var(--nline); background: var(--deep); color: #fff; }
@media (hover: hover) { .card:hover { transform: translateY(-3px); } }
.card-pic { position: relative; display: flex; align-items: center; justify-content: center; height: var(--side); text-decoration: none; }
.card-const { position: absolute; left: 0; right: 0; top: 36px; bottom: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.card-const .const-svg { width: calc(var(--side) - 36px); max-width: 100%; aspect-ratio: 1; height: auto; overflow: visible; }
.lay { position: relative; display: block; flex-shrink: 0; width: min(var(--side), 100%); aspect-ratio: 1; }
.lay img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lay-shadow { mix-blend-mode: multiply; filter: brightness(1.12); -webkit-mask-image: radial-gradient(ellipse 50% 42% at 50% 52%, #000 50%, rgba(0,0,0,0) 96%); mask-image: radial-gradient(ellipse 50% 42% at 50% 52%, #000 50%, rgba(0,0,0,0) 96%); }
.darkphoto { position: relative; width: min(var(--side), 100%); height: auto; aspect-ratio: 1; object-fit: contain; filter: contrast(1.06); -webkit-mask-image: radial-gradient(ellipse 50% 33% at 50% 50%, #000 62%, rgba(0,0,0,0) 100%); mask-image: radial-gradient(ellipse 50% 33% at 50% 50%, #000 62%, rgba(0,0,0,0) 100%); }
.cutimg { position: relative; width: calc(min(var(--side), 100%) * .9); height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(20,13,51,.16)); }
.card-top { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.card-top .badge { margin-left: auto; }
.card-body { position: relative; display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.card-name { display: flex; align-items: flex-end; min-height: 44px; font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; text-decoration: none; }
@media (hover: hover) { .card-name:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; } }
.card-buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-price { font-size: 18px; font-weight: 700; line-height: 1; white-space: nowrap; }

.pcard { position: relative; display: block; height: 376px; border-radius: var(--rc); overflow: hidden; background: #d9dadd; color: var(--ink); text-decoration: none; }
.pcard img { width: 100%; height: 100%; object-fit: cover; }
.pcard-label { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 16px; background: #fff; }
.pcard-label b { font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.pcard-label span { font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--muted); }

/* ------------------------------------------------------------------ тонкие браслеты, серьги, сделано руками */
.thin-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.ptile { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: #d9dadd; }
.ptile-img { position: absolute; inset: 0; }
.ptile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
@media (hover: hover) { .ptile:hover .ptile-img img { transform: scale(1.03); } }
.ptile--square { background: #f6f1ea; }
.ptile--square .ptile-img img { object-fit: contain; object-position: 50% 38%; }
.col .qty { background: #fff; }

.ear-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.ear-promo { grid-column: span 6; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 24px; min-height: 376px; padding: 40px; border-radius: var(--r); }
.ear-promo-t { position: relative; display: flex; flex-direction: column; gap: 16px; }
.ear-promo .h2 { white-space: nowrap; }
.ear-promo p { max-width: 440px; }
.ear-promo .btn { position: relative; }
.ear-grid .card { grid-column: span 3; }

.hand-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(210px, auto)); grid-auto-flow: dense; gap: var(--gap); }
.hand-photo { grid-column: 1 / span 3; grid-row: 1 / span 2; border-radius: var(--r); overflow: hidden; background: #d9dadd; }
.hand-box { grid-column: 10 / span 3; grid-row: 1 / span 2; position: relative; border-radius: var(--r); overflow: hidden; background: #e9e9ec; }
.hand-photo img, .hand-box img { width: 100%; height: 100%; object-fit: cover; }
.benefit { grid-column: span 3; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 24px; border-radius: var(--r); background: #fff; }
.benefit-t { font-size: 28px; font-weight: 700; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
.benefit-x { font-size: 15px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.benefit--night { background: var(--night); color: #fff; }
.benefit--night .benefit-x { color: var(--ntext); }
.benefit--accent { background: var(--accent); }
.benefit--accent .benefit-x { color: var(--ink); }

/* ------------------------------------------------------------------ подвал */
footer.wrap { margin-top: 64px; padding-bottom: 40px; }
.foot { display: flex; flex-direction: column; padding: 40px; border-radius: var(--r); background: var(--night); color: #fff; }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.foot-brand { grid-column: span 6; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 460px; }
.foot-brand p { font-size: 15px; line-height: 1.45; color: var(--ntext); text-wrap: pretty; }
.foot-brand .btn { margin-top: 8px; }
.fcol { grid-column: span 2; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.fcol-t { margin-bottom: 4px; font-size: 15px; font-weight: 700; line-height: 1.35; }
.fcol a, .fcol span:not(.fcol-t) { font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--ntext); text-decoration: none; }
@media (hover: hover) { .fcol a:hover, .foot-legal a:hover { color: #fff; } }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--nline); font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--ntext); }
.foot-legal { display: flex; gap: 24px; }
.foot-legal a { color: var(--ntext); text-decoration: none; }

/* ------------------------------------------------------------------ корзина, меню, уведомление */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(20, 13, 51, .45); opacity: 0; transition: opacity .25s ease; }
.scrim.is-on { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; display: flex; flex-direction: column; width: min(440px, 100%); background: var(--paper); box-shadow: -24px 0 48px rgba(20,13,51,.18); transform: translateX(104%); visibility: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s linear .3s; }
.drawer.is-open { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.drawer:focus { outline: 0; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 12px 24px; }
.drawer-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px 16px; }
.drawer-foot { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer-foot:empty { display: none; }
.drawer-total { display: flex; align-items: baseline; justify-content: space-between; font-size: 17px; font-weight: 700; }
.drawer-total b { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.drawer-note { font-size: 13px; line-height: 1.4; color: var(--muted); }
.drawer-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 8px; }
.drawer-empty p:not(.h3) { color: var(--muted); }
body.is-locked { overflow: hidden; }

.cl { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; margin-bottom: 8px; padding: 12px; border-radius: 20px; background: #fff; }
.cl-img { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 14px; background: var(--spot), var(--tilea); overflow: hidden; text-decoration: none; }
.cl-img.is-dark { background: var(--deep); }
.cl-img img { width: 64px; height: 64px; object-fit: contain; }
.cl-img img.cover { width: 100%; height: 100%; object-fit: cover; }
.cl-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cl-top { display: flex; justify-content: space-between; gap: 8px; }
.cl-t { font-size: 15px; font-weight: 700; line-height: 1.25; text-decoration: none; }
.cl-price { font-size: 15px; font-weight: 700; white-space: nowrap; }
.cl-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cl-size { height: 36px; padding: 0 30px 0 12px; border: 1px solid rgba(20,13,51,.18); border-radius: 18px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23140d33' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center; font-size: 14px; font-weight: 600; -webkit-appearance: none; appearance: none; cursor: pointer; }
.cl-size.is-empty { border-color: #e0a800; background-color: #fff8dc; }
.qty { display: inline-flex; align-items: center; height: 36px; border-radius: 18px; background: var(--paper); }
.qty button { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
@media (hover: hover) { .qty button:hover { background: rgba(20,13,51,.08); } }
.qty button[disabled] { opacity: .35; cursor: default; background: transparent; }
.qty span { min-width: 20px; font-size: 15px; font-weight: 700; text-align: center; }
.cl-rm { margin-left: auto; padding: 6px 4px; border: 0; background: none; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (hover: hover) { .cl-rm:hover { color: var(--err); } }
.cl-na { font-size: 13px; font-weight: 600; color: var(--err); }

.drawer--menu .drawer-head { padding-left: 16px; }
.search--menu { flex: 0 0 auto; margin: 0 16px 16px; height: 52px; }
.menu-nav { display: flex; flex-direction: column; gap: 8px; padding: 0 16px 24px; overflow-y: auto; }
.menu-nav a { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 20px; border-radius: 20px; background: #fff; font-size: 17px; font-weight: 700; text-decoration: none; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 80; display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100% - 32px); padding: 8px 8px 8px 8px; border-radius: 24px; background: var(--ink); color: #fff; box-shadow: 0 16px 40px rgba(20,13,51,.3); transform: translate(-50%, 16px); opacity: 0; transition: transform .25s ease, opacity .25s ease; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast-img { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; background: #fff; overflow: hidden; }
.toast-img img { width: 40px; height: 40px; object-fit: contain; }
.toast-t { display: flex; flex-direction: column; min-width: 0; font-size: 13px; line-height: 1.3; color: var(--ntext); }
.toast-t b { display: -webkit-box; overflow: hidden; color: #fff; font-size: 15px; line-height: 1.25; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.toast .btn { height: 44px; padding: 0 16px; font-size: 14px; }

/* ------------------------------------------------------------------ внутренние страницы */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 4px; font-size: 14px; font-weight: 500; color: var(--muted); }
.crumbs a { text-decoration: none; }
@media (hover: hover) { .crumbs a:hover { color: var(--ink); text-decoration: underline; } }
.crumbs [aria-current] { color: var(--ink); }

.page-hero { display: flex; flex-direction: column; gap: 24px; padding: 40px; border-radius: var(--r); }
.page-hero-t { position: relative; display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.page-hero .birth { justify-content: flex-start; }
.page-hero .birth label { text-align: left; }
.page-hero .wheel { margin-top: 8px; }
.h1--page { font-size: clamp(34px, 4vw, 56px); white-space: normal; text-wrap: balance; }

.sign-hero { display: flex; align-items: flex-end; min-height: 340px; padding: 40px; border-radius: var(--r); }
.sign-hero-const { position: absolute; top: 50%; right: 56px; width: clamp(180px, 24vw, 300px); aspect-ratio: 1; transform: translateY(-50%); }
.sign-hero-const .const-svg { width: 100%; height: 100%; overflow: visible; }
.sign-hero-t { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 640px; }
/* страница «Всё о знаке»: характер, почему браслет собран так, камни, кому подарить */
.sign-hero-t { max-width: 680px; }
.sign-intro { font-size: 18px; line-height: 1.55; color: #fff; text-wrap: pretty; }
.sign-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.sign-facts span { display: inline-flex; align-items: baseline; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--nline); border-radius: 20px; align-items: center; color: #fff; font-size: 15px; font-weight: 600; }
.sign-facts b { color: var(--ntext); font-weight: 500; }
.sign-traits { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sign-traits li { padding: 8px 14px; border-radius: 16px; background: var(--tint); color: #fff; font-size: 15px; font-weight: 600; line-height: 1.3; }
.sign-buy { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 16px; padding: 40px; border-radius: var(--r); background: #fff; }
.sign-buy-t { display: flex; flex-direction: column; gap: 16px; flex: 1 1 0; min-width: 0; max-width: 560px; }
.sign-text { font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.sign-note { padding: 14px 18px; border-radius: 16px; background: var(--paper); color: var(--muted); font-size: 15px; line-height: 1.45; }
.stone-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--gap); margin-top: 16px; }
.stone { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--r); background: #fff; }
.stone p { font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.stone--lava { background: var(--deep); color: #fff; }
.stone--lava p { color: var(--ntext); }
.sign-gift { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-top: 16px; padding: 32px 40px; border-radius: var(--r); background: var(--accent); }
.sign-gift > div { display: flex; flex-direction: column; gap: 8px; flex: 1 1 420px; max-width: 720px; }
.sign-gift p { font-size: 17px; line-height: 1.55; }
.sign-gift + .astro, .stone-grid + .astro { margin-top: 16px; }

.tabs { display: flex; align-self: flex-start; gap: 4px; max-width: 100%; margin-top: 16px; padding: 4px; border-radius: 24px; background: #fff; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 20px; font-size: 15px; font-weight: 600; white-space: nowrap; text-decoration: none; }
@media (hover: hover) { .tab:hover { background: var(--paper); } }
.tab--on, .tab--on:hover { background: var(--ink); color: #fff; }
.cat-sec { display: flex; flex-direction: column; gap: var(--gap); scroll-margin-top: 88px; }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: var(--gap); }
.pgrid--photo { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.empty { padding: 40px; border-radius: var(--r); background: #fff; color: var(--muted); }

.search--page { max-width: 720px; height: 56px; margin-top: 16px; padding: 0 6px 0 20px; }
.search--page input { font-size: 17px; }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.chip--link { height: 40px; padding: 0 16px; font-size: 15px; text-decoration: none; transition: background-color .15s ease; }
@media (hover: hover) { .chip--link:hover { background: var(--ink); color: #fff; } }

/* карточка товара (страница) */
.pp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; gap: var(--gap); margin-top: 8px; }
.pp-gallery { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
.pp-main { --side: 520px; position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; max-height: 760px; padding: 48px; border-radius: var(--r); overflow: hidden; background: radial-gradient(ellipse 62% 46% at 50% 48%, rgba(255,255,255,.96) 0%, rgba(255,255,255,.8) 50%, rgba(255,255,255,0) 100%), var(--tile); }
.pp-main--dark { background: var(--deep); }
.pp-main .card-const { top: 40px; }
.pp-main .card-const .const-svg { width: 64%; }
.pp-main .card-const circle { transform-box: fill-box; transform-origin: center; transform: scale(.7); }
.pp-main .lay, .pp-main .darkphoto { width: min(520px, 88%); }
.pp-main .cutimg { width: min(460px, 78%); }
.pp-main .coverimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-chips { position: absolute; top: 24px; left: 24px; right: 24px; display: flex; justify-content: space-between; gap: 8px; }
.pp-thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.pp-shot { border-radius: var(--rc); overflow: hidden; background: #fff; }
.pp-shot--dark { background: var(--deep); }
.pp-shot img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.pp-info { position: sticky; top: 96px; min-width: 0; }
/* галерея товара: любой кадр открывается на весь экран; на телефоне кадры листаются свайпом */
.search-res { transition: opacity .15s ease; }
.search-res.is-busy { opacity: .55; }
.pp-media { position: relative; min-width: 0; }
.pp-main, .pp-shot { cursor: zoom-in; }
.pp-main:focus-visible, .pp-shot:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.pp-dots { display: none; }
.lb { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 72px 16px; background: rgba(12, 8, 32, .92); opacity: 0; transition: opacity .25s ease; touch-action: pan-y pinch-zoom; }
.lb.is-on { opacity: 1; }
.lb-img { display: block; max-width: min(100%, 900px); max-height: 100%; width: auto; height: auto; border-radius: 24px; background: #fff; object-fit: contain; transform: scale(.96); transition: transform .3s cubic-bezier(.2, .7, .2, 1), opacity .15s ease; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.lb.is-on .lb-img { transform: none; }
.lb-img.is-swap { opacity: 0; }
.lb-btn { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; transition: transform .15s ease; }
.lb-btn:active { transform: scale(.94); }
.lb-close { top: calc(12px + env(safe-area-inset-top)); right: 12px; }
.lb-prev, .lb-next { top: 50%; margin-top: -24px; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-count { position: absolute; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateX(-50%); padding: 6px 12px; border-radius: 16px; background: rgba(255,255,255,.14); color: #fff; font-size: 14px; font-weight: 600; }
.lb[data-single] .lb-prev, .lb[data-single] .lb-next, .lb[data-single] .lb-count { display: none; }
html.lb-open { overflow: hidden; }
@media (hover: none) { .lb-prev, .lb-next { display: none; } }
.pp-sticky { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: var(--r); background: #fff; }
.pp-sub { font-size: 15px; font-weight: 600; }
.pp-title { margin-top: -8px; }
.pp-price { font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.pp-buy { display: flex; flex-direction: column; gap: 12px; }
.pp-desc { font-size: 16px; line-height: 1.55; color: var(--muted); }
.pp-facts { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pp-facts li { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 16px; background: var(--paper); }
.pp-facts b { font-size: 15px; font-weight: 700; }
.pp-facts span { font-size: 14px; line-height: 1.4; color: var(--muted); }
.sizes { display: flex; flex-direction: column; gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.sizes legend { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; width: 100%; margin-bottom: 12px; padding: 0; font-size: 15px; font-weight: 700; }
.sizes legend a { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; color: var(--muted); font-weight: 600; white-space: nowrap; text-underline-offset: 3px; }
.sizes-row { display: flex; flex-wrap: wrap; gap: 8px; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size span { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 48px; padding: 0 16px; border: 1px solid rgba(20,13,51,.18); border-radius: 24px; background: #fff; font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
@media (hover: hover) { .size span:hover { border-color: var(--ink); } }
.size input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.size input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.sizes.is-error .size span { border-color: var(--err); }
.sizes.is-error .sizes-hint { color: var(--err); font-weight: 600; }
.sizes--sm .size span { min-width: 52px; height: 40px; padding: 0 12px; font-size: 14px; }
.pick { display: flex; flex-direction: column; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.pick legend { margin-bottom: 10px; padding: 0; font-size: 15px; font-weight: 700; }
.pick .size span { min-width: 112px; }
.pick.is-error .size span { border-color: var(--err); }
.sizes--sm .sizes-row { gap: 6px; }

/* оформление заказа */
.co { display: flex; flex-direction: column; gap: var(--gap); }
.co-title { margin: 16px 0 8px; }
.co-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 40px; border-radius: var(--r); background: #fff; }
.co-form { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; gap: var(--gap); }
.co-form[hidden] { display: none; }
.co-main { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
.co-box, .co-sum { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: var(--r); background: #fff; }
.co-side { position: sticky; top: 96px; }
.co-lines { display: flex; flex-direction: column; gap: 8px; }
.col { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 12px; border-radius: 20px; background: var(--paper); }
.col .cl-img { width: 88px; height: 88px; background: var(--spot), var(--tilea); }
.col .cl-img img { width: 80px; height: 80px; }
.col .sizes legend { margin-bottom: 8px; font-size: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 15px; font-weight: 700; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 14px 18px; border: 1px solid rgba(20,13,51,.18); border-radius: 16px; background: #fff; font-size: 17px; line-height: 1.35; transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea { min-height: 84px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6f6a86; }
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: none; }
.field.is-error input, .field.is-error textarea { border-color: var(--err); box-shadow: 0 0 0 3px rgba(198,40,40,.1); }
.field-hint { font-size: 13px; line-height: 1.4; color: var(--muted); }
.field-err { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--err); }
.field-err { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .2s ease, opacity .2s ease; }
.field-err:not(:empty) { max-height: 80px; opacity: 1; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.co-comment summary { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; font-weight: 600; list-style: none; cursor: pointer; }
.co-comment summary::-webkit-details-marker { display: none; }
.co-comment summary::before { content: '+'; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); color: var(--ink); font-weight: 700; }
.co-comment[open] summary { margin-bottom: 12px; }
.co-comment[open] summary::before { content: '−'; }
.co-rows { display: flex; flex-direction: column; gap: 8px; }
.co-rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.co-rows dd { font-weight: 600; text-align: right; }
.co-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 700; }
.co-total b { font-size: 28px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.45; cursor: pointer; }
.check input { flex-shrink: 0; width: 26px; height: 26px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.check a { color: var(--ink); text-underline-offset: 2px; }
.check.is-error span { color: var(--err); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.co-note { line-height: 1.45; }
.co-alert { padding: 12px 16px; border-radius: 16px; background: #fdecec; color: #a31515; font-size: 15px; font-weight: 600; }
.co-alert:empty { display: none; }
body.is-checkout .cart-btn { pointer-events: none; }

.done { display: flex; flex-direction: column; gap: var(--gap); margin-top: 16px; }
.done-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 40px; border-radius: var(--r); }
.done-hero > * { position: relative; }
.done-ok { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--ink); }
.done-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: var(--gap); }
.done-lines { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.done-lines li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px; border-radius: 16px; background: var(--paper); }
.done-img { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 12px; background: var(--spot), var(--tilea); overflow: hidden; }
.done-img img { width: 58px; height: 58px; object-fit: contain; }
.done-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 15px; line-height: 1.3; }
.done-sum { font-weight: 700; white-space: nowrap; }
.done-dl div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.done-dl dt { color: var(--muted); }
.done-dl dd { font-weight: 600; overflow-wrap: anywhere; }
.done > .btn { align-self: flex-start; }

.info { display: flex; flex-direction: column; gap: var(--gap); }
.info-head { display: flex; flex-direction: column; gap: 8px; max-width: 820px; margin: 16px 0 8px; }
.info-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: start; gap: var(--gap); }
.info-grid:not(:has(.info-aside)) { grid-template-columns: minmax(0, 880px); }
.info-main { display: flex; flex-direction: column; gap: var(--gap); }
.info-box { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--r); background: #fff; line-height: 1.55; }
.info-box ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding-left: 22px; }
.info-box a { text-underline-offset: 3px; }
.info-aside { position: sticky; top: 96px; }
.info-photo { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: #e9e9ec; }
.info-photo img { width: 100%; height: 100%; object-fit: cover; }
.req div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.req dt { color: var(--muted); }
.req dd { font-weight: 600; overflow-wrap: anywhere; }
.contacts { padding: 0 !important; list-style: none; gap: 0 !important; }
.contacts li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contacts b { font-weight: 600; color: var(--muted); }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.tbl th { font-size: 14px; font-weight: 600; color: var(--muted); }

.nf { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 16px; padding: 64px 40px; border-radius: var(--r); }
.nf > * { position: relative; }

/* ------------------------------------------------------------------ плавность: переходы, отклик, проявление */
/* плавный переход между страницами (Chrome, Edge, Safari 18+); шапка стоит на месте */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .24s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
.hdr { view-transition-name: hdr; }

/* картинки ниже первого экрана проявляются по мере загрузки, а не выпрыгивают */
@media (prefers-reduced-motion: no-preference) {
  .js img[loading="lazy"] { opacity: 0; transition: opacity .45s ease; }
  .js img[loading="lazy"].is-in { opacity: 1; }
}

/* отклик на нажатие: на телефоне видно, что касание засчитано */
.card, .ptile, .pcard, .cat, .tab, .chip--link, .size span, .menu-nav a, .fcol a { -webkit-user-select: none; user-select: none; }
.card:active, .pcard:active, .ptile:active, .cat:active { transform: scale(.985); transition-duration: .08s; }
.pcard, .ptile { transition: transform .2s ease; }
.sw:active .sw-c { transform: scale(.92); transition-duration: .08s; }
.tab:active, .chip--link:active, .size span:active, .more:active { transform: scale(.97); }
.tab, .size span { transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease; }
.sw-c { transition: transform .2s cubic-bezier(.2, .7, .2, 1), background-color .2s ease, border-color .2s ease, color .2s ease; }

/* касание: без двойного тапа-зума на кнопках, нажатие видно */
a, button, summary, label, select, [role="button"], [role="tab"] { touch-action: manipulation; }
.cart-btn:active, .nav a:active, .menu-nav a:active, .qty button:active, .cl-rm:active { transform: scale(.96); transition-duration: .08s; }
.cart-btn, .menu-nav a, .qty button, .cl-rm { transition: transform .15s ease, background-color .15s ease, color .15s ease; }
.fcol a, .foot-legal a, .crumbs a, .card-name { transition: color .15s ease; }
/* мелкие ссылки: зона нажатия больше самой надписи, вёрстка не меняется */
.crumbs a, .foot-legal a { position: relative; }
.crumbs a::after, .foot-legal a::after { content: ''; position: absolute; inset: -13px -4px; }
.pcard img { transition: transform .5s ease; }
@media (hover: hover) { .pcard:hover img { transform: scale(1.03); } }
/* «+» превращается в галочку мягко */
.rbtn.is-added svg, .rmark.is-added svg { animation: pop .32s cubic-bezier(.2, .7, .2, 1); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* карточка товара: «Оформить заказ» раскрывается после «в корзину», текст ниже не прыгает */
.pp-go { display: grid; grid-template-rows: 0fr; margin-top: -12px; opacity: 0; transition: grid-template-rows .3s cubic-bezier(.2, .7, .2, 1), margin-top .3s cubic-bezier(.2, .7, .2, 1), opacity .25s ease; }
.pp-go > div { min-height: 0; overflow: hidden; }
.pp-go.is-on { grid-template-rows: 1fr; margin-top: 0; opacity: 1; }
.pp-bar, .pp-bar-space { display: none; }

/* оформление появляется уже собранным: без скачков строк корзины при загрузке */
.js [data-checkout-page]:not(.is-ready) { visibility: hidden; }
.js [data-checkout-page].is-ready { animation: co-in .3s ease both; }
@keyframes co-in { from { opacity: 0; } to { opacity: 1; } }
/* «Добавить комментарий» раскрывается плавно (Chrome 131+, остальные - сразу) */
.co-comment::details-content { block-size: 0; overflow: clip; transition: block-size .25s ease, content-visibility .25s allow-discrete; }
.co-comment[open]::details-content { block-size: auto; }

/* ------------------------------------------------------------------ десктоп и мобильная версия */
@media (min-width: 1100px) {
  .only-m { display: none !important; }
}
@media (min-width: 1100px) and (max-width: 1319px) {
  .nav a { padding: 0 12px; }
  .hdr-tools { width: auto; }
  .hdr .search { display: none; }
  .search-mini { display: flex; width: 48px; height: 48px; }
  .wheel .sw-d { font-size: 12px; }
  .wheel .sw-n { font-size: 14px; }
  .hero-btns { gap: 8px; }
  .hero-btns .btn--56 { padding: 0 20px; font-size: 16px; gap: 10px; }
}

@media (max-width: 1099px) {
  :root { --pad: 24px; }
  .only-d { display: none !important; }
  .hdr-in { height: 64px; }
  .logo { gap: 8px; font-size: 20px; }
  .logo-star { width: 20px; height: 20px; }
  .hdr-tools { width: auto; gap: 8px; }
  .search-mini, .menu-btn { display: flex; }
  .cart-btn { justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: #fff; color: var(--ink); }
  .cart-count { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; font-size: 12px; }
  .cart-count.is-zero { display: none; }

  .hero { display: block; }
  .hero-night { padding: 24px 20px 20px; border-radius: var(--rc); gap: 0; }
  .hero-const { display: none; }
  .season-chip { height: 32px; padding: 0 14px 0 10px; border-radius: 16px; font-size: 13px; }
  .season-chip .gl { font-size: 16px; }
  .hero .h1 { margin-top: 20px; font-size: clamp(30px, 9.7vw, 44px); letter-spacing: -.04em; }
  .hero-lead { margin-top: 12px; font-size: 15px; }
  .hero-btns { align-self: stretch; margin-top: 20px; }
  .hero-btns .btn--accent { width: 100%; }
  .hero-night .spark:nth-of-type(1) { left: 90% !important; top: 7% !important; }
  .hero-night .spark:nth-of-type(2) { left: 80% !important; top: 13% !important; }

  .grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--gap); }

  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat { display: flex; flex-direction: column-reverse; justify-content: flex-end; height: 188px; border-radius: var(--rc); }
  .cat-vis { flex-shrink: 0; height: 116px; }
  .cat-t { justify-content: flex-start; gap: 2px; padding: 12px 12px 0 16px; }
  .cat-title { font-size: 17px; letter-spacing: -.02em; white-space: nowrap; }
  .cat-sub { font-size: 13px; font-weight: 500; }
  .cat--spot { background: radial-gradient(ellipse 74% 46% at 50% 32%, rgba(255,255,255,.96) 0%, rgba(255,255,255,.8) 50%, rgba(255,255,255,0) 100%), var(--tile); }
  .cat--spot .cat-vis .lay { width: 116px; }
  .cat--spot .cat-vis .cutimg { width: 104px; }

  .astro { padding: 24px 20px 20px; border-radius: var(--rc); }
  .astro-head { display: contents; }
  .astro-head-t { order: 1; flex: 0 0 auto; }
  .astro .wheel { order: 2; }
  .astro .birth { order: 3; }
  .astro .sp-wrap { order: 4; }
  /* телефон: заголовок и описание, под ними браслеты, ниже кнопки */
  .sp { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 24px; padding-top: 24px; }
  .sp-info { display: contents; }
  .sp-stage { order: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; margin-top: 8px; }
  .sp-stage--one { grid-template-columns: minmax(0, 1fr); }
  .sp-actions { order: 2; flex-wrap: nowrap; margin-top: 8px; }
  .sp-actions .more { flex: 1 1 auto; min-width: 0; justify-content: center; }
  .sp-reset { flex-shrink: 0; width: 48px; padding: 0; justify-content: center; }
  .sp-reset span { display: none; }
  .fcard { height: 340px; }
  .wheel { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 16px; justify-items: center; margin-top: 20px; --sw: 72px; }
  .sw { width: 100%; }
  .sw-c { width: min(var(--sw), 100%); height: auto; aspect-ratio: 1; }
  .sw-c .gl { font-size: 32px; }
  .sw-n { font-size: 14px; }
  .sw-d { font-size: 12px; }
  .birth { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 12px; margin-top: 20px; padding: 16px; border: 1px solid var(--nline); border-radius: 20px; background: var(--tint); }
  .birth label { margin: 0; color: #fff; font-weight: 700; text-align: left; }
  .birth input { flex: 1 1 0; width: auto; min-width: 0; }
  .birth-out { text-align: left; }
  .page-hero .birth { align-self: stretch; }
  .astro-m { display: flex; flex-direction: column; gap: var(--gap); }

  .sec-head { gap: 12px; margin: 28px 0 4px; }
  .sec-head .h2 { font-size: 28px; letter-spacing: -.035em; }
  .more { height: 44px; padding: 0 16px; border-radius: 22px; font-size: 14px; }

  .thin-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ear-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .ear-grid .card { grid-column: auto; }
  .hand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .hand-box { grid-column: 1 / -1; grid-row: auto; height: 420px; border-radius: var(--rc); }
  .hand-box img { object-position: 50% 58%; }
  .benefit { grid-column: auto; gap: 8px; padding: 20px; border-radius: var(--rc); }
  .benefit-t { font-size: 22px; }

  .foot { padding: 28px 20px 24px; border-radius: var(--rc); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 12px; }
  .foot-brand { grid-column: 1 / -1; padding-right: 0; }
  .fcol { grid-column: auto; gap: 0; }
  .fcol a, .fcol span:not(.fcol-t) { display: block; padding: 8px 0; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  .page-hero, .sign-hero { padding: 24px 20px; border-radius: var(--rc); }
  .sign-hero { min-height: 300px; }
  .sign-intro { font-size: 16px; }
  .sign-buy { flex-direction: column; align-items: stretch; gap: 24px; padding: 24px 20px; border-radius: var(--rc); }
  .sign-buy-t { max-width: none; }
  .sign-buy .sp-stage { max-width: none; }
  .stone-grid { grid-template-columns: 1fr; }
  .stone { padding: 20px; border-radius: var(--rc); }
  .sign-gift { padding: 24px 20px; border-radius: var(--rc); }
  .sign-gift .btn { width: 100%; }
  .sign-hero-const { top: 24px; right: 20px; width: 150px; transform: none; opacity: .9; }
  .pp { grid-template-columns: 1fr; }
  .pp-gallery { flex-direction: row; gap: 12px; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); scrollbar-width: none; }
  .pp-gallery::-webkit-scrollbar { display: none; }
  .pp-thumbs { display: contents; }
  .pp-main, .pp-shot { flex: 0 0 88%; scroll-snap-align: start; scroll-snap-stop: always; }
  .pp-gallery > .pp-main:only-child { flex-basis: 100%; }
  .pp-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
  .pp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: block; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: var(--paper); box-shadow: 0 -8px 24px rgba(20,13,51,.1); transform: translateY(110%); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
  .pp-bar.is-on { transform: none; }
  .pp-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 720px; margin: 0 auto; }
  .pp-bar-t { display: flex; flex-direction: column; min-width: 0; }
  .pp-bar-t b { font-size: 20px; font-weight: 700; line-height: 1.15; }
  .pp-bar-t span { overflow: hidden; font-size: 14px; line-height: 1.3; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
  .pp-bar .btn { flex-shrink: 0; }
  .pp-bar-space { display: block; height: 76px; }
  .has-bar .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .pp-dots span { width: 6px; height: 6px; border-radius: 3px; background: rgba(20,13,51,.2); transition: width .25s ease, background-color .25s ease; }
  .pp-dots span.on { width: 18px; background: var(--ink); }
  .pp-info { position: static; }
  .pp-main { padding: 32px; border-radius: var(--rc); }
  .co-form { grid-template-columns: 1fr; }
  .co-side { position: static; }
  .info-grid { grid-template-columns: 1fr; }
  .info-aside { position: static; max-width: 480px; }
  .done-grid { grid-template-columns: 1fr; }
  /* зоны нажатия в корзине и оформлении не меньше 44 px */
  .qty { height: 44px; border-radius: 22px; }
  .qty button { width: 44px; height: 44px; }
  .cl-size { height: 44px; border-radius: 22px; }
  .cl-rm { min-height: 44px; padding: 12px 6px; }
  .sizes--sm .size span { height: 44px; min-width: 56px; }
}

@media (max-width: 767px) {
  :root { --pad: 16px; --gap: 12px; --r: 24px; }
  body { font-size: 16px; }
  .h1 { font-size: 38px; letter-spacing: -.04em; }
  .h2 { font-size: 28px; letter-spacing: -.035em; }
  .h3 { font-size: 22px; }
  .hdr-in { gap: 8px; }

  .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wheel { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sw-d .sp { display: none; }
  .birth input, .search input, .cl-size { font-size: 16px; }
  .ptile .pill-text span, .pcard-label span, .drawer-note, .field-hint, .toast-t { font-size: 14px; }
  .drawer { width: calc(100% - 32px); }

  .card { --side: 148px; height: 268px; padding: 12px; }
  .card-const { top: 28px; }
  .card-const .const-svg { width: calc(var(--side) - 28px); }
  .card-top { top: 12px; left: 12px; right: 12px; }
  .card-top .chip { height: 28px; padding: 0 11px; border-radius: 14px; font-size: 13px; gap: 4px; }
  .card-top .chip .gl { font-size: 15px; }
  .card-top .badge { height: 28px; padding: 0 10px; border-radius: 14px; font-size: 13px; }
  .card-top .badge--season { display: none; }
  .card-body { gap: 6px; }
  .card-name { min-height: 34px; font-size: 14px; line-height: 1.2; }
  .card-price { font-size: 15px; }
  .card .rbtn { width: 44px; height: 44px; }
  .pcard { height: 268px; }
  .pcard-label { left: 8px; right: 8px; bottom: 8px; padding: 8px 12px; }
  .pcard-label b { font-size: 13px; }
  .pcard-label span { font-size: 13px; }

  .is-home .sec-sub { display: none; }
  .sec-sub { font-size: 15px; }
  .thin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ptile { border-radius: var(--rc); }
  .ptile .pill { left: 8px; right: 8px; bottom: 8px; min-height: 0; padding: 8px 12px; border-radius: 16px; }
  .ptile .pill-text b { font-size: 13px; }
  .ptile .pill-text span { font-weight: 600; }
  .ptile .rmark { display: none; }
  .ear-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hand-grid { display: flex; flex-direction: column; }
  .hand-box { height: 358px; }
  .hand-box .pill { left: 8px; right: 8px; bottom: 8px; padding: 12px 16px; border-radius: 16px; }

  footer.wrap { margin-top: 40px; padding-bottom: 16px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand .btn { width: 100%; }
  .foot-legal { flex-direction: column; gap: 8px; }

  .pgrid, .pgrid--photo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero .h1--page, .sign-hero .h1--page { font-size: 32px; }
  .sign-hero-const { width: 110px; }
  .pp-main { padding: 20px; }
  .pp-chips { top: 12px; left: 12px; right: 12px; }
  .pp-thumbs { gap: 12px; }
  .pp-sticky, .co-box, .co-sum, .info-box, .empty, .co-empty { padding: 20px; }
  .pp-price { font-size: 28px; }
  .field-row { grid-template-columns: 1fr; }
  .col { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .col .cl-main { display: contents; }
  .col .cl-top { grid-column: 2; align-self: center; }
  .col .cl-na, .col .sizes, .col .cl-ctrl { grid-column: 1 / -1; }
  .col .cl-img { width: 64px; height: 64px; }
  .col .cl-img img { width: 58px; height: 58px; }
  .done-hero { padding: 24px 20px; }
  .done-dl div { grid-template-columns: 100px minmax(0, 1fr); }
  .req div { grid-template-columns: 1fr; gap: 2px; }
  .nf { padding: 40px 20px; }
  .toast { left: 16px; right: 16px; width: auto; max-width: none; transform: translateY(16px); }
  .toast.is-on { transform: none; }
  .toast-t { flex: 1 1 auto; }
}

@media (max-width: 359px) {
  .hdr .search-mini { display: none; }
  .wheel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
