/* Общие стили витрины и страницы Санты. Приложение использует свои styles.css. */
:root {
  --paper: #F7F2E6;
  --card: #FFFDF6;
  --ink: #1F2A22;
  --muted: #5C6355;
  --line: #DCD4C0;
  --brass: #9A6F1E;
  --brass-strong: #7A5512;
  --brass-ink: #FFF9EA;
  --accent-soft: #F0E8D6;
  --gold: #D3A24A;
  --ice: #DCE8EA;
  --ice-strong: #8FB3B8;
  --dark-card: #222D26;
  --dark-line: #334034;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1B241E;
    --card: #222D26;
    --ink: #EFE9DA;
    --muted: #A3AB9B;
    --line: #334034;
    --brass: #D3A24A;
    --brass-strong: #B9822E;
    --brass-ink: #1B241E;
    --accent-soft: #26332B;
  }
}
html[data-theme="dark"] { --paper:#1B241E; --card:#222D26; --ink:#EFE9DA; --muted:#A3AB9B; --line:#334034; --brass:#D3A24A; --brass-strong:#B9822E; --brass-ink:#1B241E; --accent-soft:#26332B; }
html[data-theme="light"] { --paper:#F7F2E6; --card:#FFFDF6; --ink:#1F2A22; --muted:#5C6355; --line:#DCD4C0; --brass:#9A6F1E; --brass-strong:#7A5512; --brass-ink:#FFF9EA; --accent-soft:#F0E8D6; }

.theme-switch { display:inline-flex; border:1px solid var(--line); border-radius:999px; overflow:hidden; background:var(--card); vertical-align:middle; }
.theme-switch button { border:0; background:transparent; color:var(--muted); font:inherit; font-size:15px; line-height:1; width:34px; min-height:32px; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; }
.theme-switch button[aria-pressed="true"] { background:var(--accent-soft); color:var(--ink); }
.theme-switch button:focus-visible { outline:2px solid var(--brass); outline-offset:-2px; }
.head-actions { display:flex; gap:8px; flex-wrap:wrap; }
.head-sep { width:1px; height:26px; background:var(--line); margin-left:4px; }

* { box-sizing: border-box; }
html, body { overflow-x: clip; margin: 0; padding: 0; }
body {
  background: var(--paper); color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif; font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -0.01em; }
a { color: var(--brass); }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
header.top { padding: 14px 0 0; border-bottom: 1px solid var(--line); }
header.top .wrap { display: block; }
.brand-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; }
.mark { font-family: Georgia, serif; font-size: 23px; line-height: 1; text-decoration: none; color: var(--ink); display: inline-flex; align-items: baseline; gap: 8px; }
.mark small { font-family: "Segoe UI", Arial, sans-serif; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.brand-row .head-actions { margin-left: auto; }
.sub-row { display: flex; align-items: center; gap: 18px; padding: 9px 0 12px; border-top: 1px solid var(--line); }
.product-nav { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--brass); border-radius: 11px; background: var(--card); }
.product-nav a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.product-nav a.on { background: var(--brass); color: var(--brass-ink); box-shadow: inset 0 0 0 1px var(--brass-strong); }
.product-nav a:not(.on):hover { background: var(--accent-soft); color: var(--ink); }
.product-nav svg { width: 17px; height: 17px; }
.info-links { display: flex; gap: 14px; font-size: 13px; color: var(--muted); }
.info-links a { color: var(--muted); text-decoration: none; }
.info-links a:hover { color: var(--ink); }
.nav { display: none; }
.santa-teaser { display: none; }
.santa-teaser .st-icon { width: 40px; height: 40px; flex: none; border-radius: 11px; background: rgba(211,162,74,.16); color: var(--gold); display: grid; place-items: center; }
.santa-teaser .st-icon svg { width: 20px; height: 20px; }
.santa-teaser .st-text { flex: 1; min-width: 0; }
.santa-teaser .st-text b { display: block; font-family: Georgia, serif; font-weight: 400; font-size: 18px; line-height: 1.2; }
.santa-teaser .st-text small { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; margin-top: 2px; }
.santa-teaser .st-arrow { color: var(--gold); font-size: 20px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 10px;
  background: var(--brass); color: var(--brass-ink);
  border: 1px solid var(--brass); font-weight: 600; text-decoration: none; font-size: 16px;
}
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); font-weight: 500; }
.btn.small { min-height: 40px; padding: 0 14px; font-size: 14px; }
.hero { padding: 56px 0 40px; }
.hero.winter { position: relative; overflow: hidden; background:
  radial-gradient(circle at 84% 16%, rgba(220,232,234,.8), transparent 32%),
  radial-gradient(circle at 12% 78%, rgba(143,179,184,.18), transparent 28%); }
.winter-badge { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 14px; padding: 6px 11px; border-radius: 999px; background: var(--ice); color: #1F3A3D; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.winter-badge svg { width: 15px; height: 15px; }
.snowflakes { position: absolute; inset: 0; pointer-events: none; color: var(--ice-strong); }
.snowflakes svg { position: absolute; opacity: .55; }
.snowflakes .s1 { width: 34px; height: 34px; left: 4%; top: 14%; }
.snowflakes .s2 { width: 22px; height: 22px; left: 8%; top: 62%; opacity: .35; }
.snowflakes .s3 { width: 28px; height: 28px; right: 5%; bottom: 10%; opacity: .45; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; margin: 0 0 16px; }
.hero p { font-size: clamp(17px, 2vw, 20px); color: var(--muted); margin: 0 0 26px; max-width: 42ch; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.phone { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 18px; max-width: 360px; margin-left: auto; }
.phone h2 { font-size: 22px; margin: 0 0 2px; }
.phone .sub { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
.wish-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; background: var(--paper); }
.wish-card .row { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.wish-card b { font-family: Georgia, serif; font-weight: 400; font-size: 17px; }
.wish-card .price { color: var(--muted); font-size: 14px; white-space: nowrap; }
.pill { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); margin-top: 6px; }
.pill.taken { border-style: dashed; color: var(--ink); }
.note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
section { padding: 44px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 0 0 18px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.step .n { font-family: Georgia, serif; color: var(--brass); font-size: 22px; }
.step h3 { font-size: 19px; margin: 6px 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.panel h3 { font-size: 20px; margin: 0 0 8px; }
.panel p { margin: 0; color: var(--muted); font-size: 15px; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-size: 17px; }
details p { margin: 8px 0 0; color: var(--muted); }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--muted); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
@media (max-width: 860px) {
  .hero .wrap, .steps, .split { grid-template-columns: minmax(0, 1fr); }
  .wrap { padding: 0 16px; }
  .phone { margin: 0; max-width: 100%; }
  .nav { display: none; }
  .hide-mob { display: none; }
  .info-links { display: none; }
  .head-actions .open { display: none; }
  .brand-row { gap: 8px; padding-bottom: 10px; }
  .mark { font-size: 21px; }
  .mark small { display: none; }
  .sub-row { padding: 8px 0 10px; }
  .product-nav { width: 100%; }
  .product-nav a { flex: 1; justify-content: center; }
  .santa-teaser { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px; border-radius: 14px; background: var(--dark-card); border: 1px solid var(--dark-line); color: #EFE9DA; text-decoration: none; }
  .santa-teaser .st-text small { color: #A3AB9B; }
  body { font-size: 16px; }
  .hero { padding: 32px 0 24px; }
  .hero .actions { flex-direction: column; }
  .hero .actions .btn { width: 100%; }
  section { padding: 32px 0; }
  .step, .panel { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
