:root {
  --bg: #000;
  --card: #0d0c0a;
  --line: #24221b;
  --text: #f3f1e7;
  --muted: #8d8a7c;
  --gold: #d5c570;
  --gold-light: #efe29a;
  --gold-dark: #a38f37;
  --on-gold: #0d0b04;
  /* type scale: every text size on the site is one of these */
  --fs-xs: 12px;
  --fs-s: 14px;
  --fs-m: 16px;
  --fs-l: 18px;
  --fs-xl: 22px;
  --fs-2xl: 28px;
  --fs-3xl: 40px;
  --fs-h2: clamp(30px, 3.4vw, 42px);
  --fs-title: clamp(34px, 4.2vw, 54px);
  /* corners: fields, tiles, panels, pills */
  --r-s: 12px;
  --r-m: 20px;
  --r-l: 28px;
  --r-pill: 99px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: var(--fs-m)/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.wrap { width: min(1296px, 100% - 48px); margin-inline: auto; }
/* .h1 is the first screen's heading on the built pages, where another heading is the main one */
h1, h2, h3, .h1 { letter-spacing: -.03em; line-height: 1.04; }
h2 { font-size: var(--fs-title); font-weight: 800; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px; border-radius: var(--r-pill); border: 1px solid transparent;
  font-family: inherit; font-size: var(--fs-m); font-weight: 700; line-height: 1; cursor: pointer; text-align: center;
  transition: filter .15s, border-color .15s;
}
.btn:hover { filter: brightness(1.08); }
.btn--gold { background: var(--gold); color: var(--on-gold); }
.btn--ghost { background: var(--card); color: var(--text); border-color: #35321f; }
.btn--ghost:hover { border-color: var(--gold); }
.btn--dark { background: #000; color: var(--gold-light); }
.btn--outline-dark { border-color: var(--on-gold); color: var(--on-gold); }
.btn--sm { min-height: 45px; padding: 0 23px; font-size: var(--fs-s); }

/* header */
.header { position: sticky; top: 0; z-index: 20; padding-top: 24px; }
/* Menu text has to stay readable over the golden blocks that pass underneath. */
.header__bar .nav { color: #e4e1d3; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.header__bar .header__logo img { filter: drop-shadow(0 1px 5px rgba(0, 0, 0, .85)); }
.header__bar {
  display: flex; align-items: center; gap: 14px; min-height: 74px;
  padding: 0 12px 0 28px; border-radius: var(--r-pill);
}
.header__logo img { width: 180px; height: auto; }
.header__bar { cursor: default; }
.header__logo { cursor: pointer; }
.header__logo, .footer__logo { -webkit-user-select: none; user-select: none; }
.header__logo img, .footer__logo img { -webkit-user-drag: none; }
.nav { display: flex; gap: 2px; margin-inline: auto; font-size: var(--fs-m); color: #b9b6a8; white-space: nowrap; }
.nav a { position: relative; padding: 11px 13px; border-radius: var(--r-pill); transition: color .2s; }
/* the current section: gold word with a short line under it */
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 2px; border-radius: 2px;
  background: var(--gold); translate: -50% 0; opacity: 0; transition: opacity .25s;
}
.nav a.is-active::after { opacity: 1; }
.nav a:hover, .nav a:focus-visible, .nav a.is-active { color: var(--gold-light); }
.nav__search, .nav__foot { display: none; }
.rate-line { margin-top: 14px; color: var(--muted); font-size: var(--fs-s); }
.burger {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--text); font-size: var(--fs-xl); cursor: pointer;
}

.insta {
  flex: none; display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%;
  border: 1px solid #35321f; color: var(--gold); transition: border-color .15s, translate .15s;
}
.insta:hover { border-color: var(--gold); translate: 0 -2px; }
.insta svg { width: 21px; height: 21px; }

/* hero */
main { overflow-x: clip; }
.hero { text-align: center; padding-top: 40px; position: relative; }
/* Dynamic Island: address and whether the shop is open right now. */
.island.lg {
  display: inline-flex; align-items: center; gap: 12px; padding: 9px 22px; border-radius: var(--r-pill);
  font-size: var(--fs-s); white-space: nowrap;
}
.island i { width: 1px; height: 14px; background: rgba(255, 255, 255, .2); }
/* a light runs along the edge of the pill: a turning gradient, cut down to the border */
@property --turn { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.island .ring { position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none; background: conic-gradient(from var(--turn), transparent 0 68%, rgba(213, 197, 112, .9) 84%, #fff3b0 88%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: island-turn 4s linear infinite; }
@keyframes island-turn { to { --turn: 360deg; } }
@media (prefers-reduced-motion: reduce) { .island .ring { display: none; } }
#island-status { color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.dot.is-open { background: #5fd07e; box-shadow: 0 0 10px #5fd07e; }
.dot.is-closed { background: #e0a25c; box-shadow: 0 0 10px #e0a25c; }
h1, .h1 { font-size: clamp(42px, 7.4vw, 106px); font-weight: 800; margin-top: 30px; letter-spacing: -.045em; }
h1 span, .h1 span {
  display: block; width: fit-content; margin-inline: auto; padding: 0 .05em;
  background: linear-gradient(115deg, #8f7d30, #f6e9a6 55%, #a38f37);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__text { max-width: 580px; margin: 28px auto 0; font-size: var(--fs-l); line-height: 1.65; color: #a5a293; }
.only-narrow { display: none; }
.hero__actions { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
/* One scene: every object stands on the same floor and shares one light.
   Positions are percentages of a 900 x 490 stage, so the picture only scales. */
.scene { position: relative; max-width: 960px; margin: 34px auto 0; padding-bottom: 40px; }
.scene__stage { position: relative; aspect-ratio: 900 / 490; isolation: isolate; }
.scene__item { position: absolute; }
.scene__item svg, .scene__item img { display: block; width: 100%; height: auto; }
.scene__laptop { left: 11.1%; top: 2%; width: 77.8%; }
.scene__steve { left: 9.1%; bottom: 2%; width: 11.05%; z-index: 2; }
.scene__phone { left: 76.7%; bottom: 2%; width: 17.3%; z-index: 2; }
.scene__steve > *, .scene__phone > * {
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .8));
  -webkit-box-reflect: below 1px linear-gradient(transparent 76%, rgba(255, 255, 255, .22));
}
.scene__steve > * { filter: brightness(.93) saturate(.92) drop-shadow(0 14px 18px rgba(0, 0, 0, .8)); }
.scene__steve::after, .scene__phone::after {
  content: ""; position: absolute; left: -22%; right: -22%; bottom: -9px; height: 20px; z-index: -1;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .9), transparent);
}
.scene__floor {
  position: absolute; left: 0; right: 0; bottom: -7%; height: 30%; z-index: -1;
  background: radial-gradient(closest-side, rgba(213, 197, 112, .26), rgba(213, 197, 112, .07) 55%, transparent);
}
.scene__floor::after {
  content: ""; position: absolute; left: 4%; right: 4%; top: 52%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239, 226, 154, .45), transparent);
}
.scene__glow { position: absolute; z-index: -1; width: 38%; aspect-ratio: 1; border-radius: 50%; filter: blur(70px); opacity: .22; }
.scene__glow--a { left: 6%; top: 8%; background: #b79f3c; }
.scene__glow--b { right: 6%; top: 24%; background: #f3e49a; }
/* the lid is a layer of its own and turns on the hinge; the eye is level with it */
.scene__laptop [data-device] { position: relative; perspective: 1500px; perspective-origin: 50% 87.7%; }
.scene__laptop .lid-layer { position: absolute; inset: 0; transform-origin: 50% 87.7%; }
.scene__laptop .lid-layer .d-base, .scene__laptop .base-layer .d-lid { visibility: hidden; }
.scene__laptop .lid-layer.is-moving { transition: transform 1.9s cubic-bezier(.3, .05, .2, 1); }
.scene__laptop .lid-layer.is-closed { transform: rotateX(-88.5deg); }
.d-off { transition: opacity 1.4s ease-in-out; }
.d-logo { opacity: 0; transition: opacity .5s ease-in-out; }
.scene__stage.is-booting .d-logo { opacity: 1; }
.scene__stage.is-awake .d-logo, .scene__stage.is-awake .d-off { opacity: 0; }
.scene__hinge { position: absolute; left: 0; right: 0; top: 87.7%; height: 1px; pointer-events: none; }

/* what the figurine is thinking: a cloud over its head and two beads leading down to it.
   The head tops out at 66.6% of the stage and is centred at 14.6% of its width. */
.think { position: absolute; inset: 0; z-index: 3; visibility: hidden; pointer-events: none; }
.think.is-on { visibility: visible; }
.think__cloud { position: absolute; right: 82%; bottom: calc(66.6% + 36px); display: grid; place-items: center; width: 250px; height: 124px; padding: 14px 34px; color: var(--gold-light); font-size: var(--fs-m); font-weight: 700; line-height: 1.35; text-align: center; transform-origin: 85% 100%; }
/* the outline of a thought: drawn behind the words and stretched to the size of the box */
.think__shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .6)) drop-shadow(0 0 16px rgba(213, 197, 112, .18)); }
.think__shape path { fill: rgba(24, 21, 10, .94); stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.think__cloud > span { position: relative; }
.think__cloud > span { transition: opacity .25s; }
.think__cloud.is-out > span { opacity: 0; }
.think__rest { visibility: hidden; }
.think i { position: absolute; border: 2px solid var(--gold); border-radius: 50%; background: #3a3317; }
.think i:nth-of-type(1) { left: calc(14.6% - 8px); bottom: calc(66.6% + 18px); width: 15px; height: 15px; }
.think i:nth-of-type(2) { left: calc(14.6% - 2px); bottom: calc(66.6% + 6px); width: 8px; height: 8px; }
.think.is-on .think__cloud { animation: think-in .55s .45s cubic-bezier(.2, .8, .2, 1.3) both, think-float 4.5s 1.1s ease-in-out infinite; }
.think.is-on i { animation: think-in .35s ease-out both; }
.think.is-on i:nth-of-type(1) { animation-delay: .22s; }
@keyframes think-in { from { opacity: 0; scale: .4; } }
@keyframes think-float { 50% { translate: 0 -5px; } }
@media (max-width: 1100px) {
  .think__cloud { right: auto; left: 0; }
}
@media (max-width: 900px) {
  .think__cloud { right: auto; left: 0; bottom: calc(66.6% + 20px); width: 172px; height: 82px; padding: 8px 22px; font-size: var(--fs-xs); line-height: 1.25; transform-origin: 30% 100%; }
  .think i:nth-of-type(1) { left: calc(14.6% - 6px); bottom: calc(66.6% + 11px); width: 11px; height: 11px; }
  .think i:nth-of-type(2) { left: calc(14.6% - 1px); bottom: calc(66.6% + 2px); width: 7px; height: 7px; }
}
/* every figure is golden, except on the golden card, where it stays dark */
.stat:not(.stat--big) b { color: var(--gold); }

/* ticker */
.ticker { position: relative; z-index: 5; background: var(--gold); color: var(--on-gold); overflow: hidden; }
.ticker__row {
  display: flex; width: max-content; min-height: 52px;
  font-family: Futura, "Jost", "Century Gothic", sans-serif; font-weight: 800; font-size: var(--fs-l);
  text-transform: uppercase; white-space: nowrap;
}
.ticker i { font-style: normal; font-size: var(--fs-xs); }
/* Four identical groups, each sliding by its own width, give an endless loop up to very wide screens. */
.ticker__group { display: flex; flex: none; align-items: center; gap: 32px; padding-right: 32px; animation: ticker 20s linear infinite; }
@keyframes ticker { to { transform: translateX(-100%); } }

/* stats */
.stats {
  display: grid; grid-template-columns: 540fr 359fr 359fr; grid-template-rows: auto auto;
  gap: 14px; padding-top: 48px;
}
.stat {
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 124px;
  padding: 22px 28px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card);
}
.stat b { font-size: var(--fs-3xl); line-height: 1.1; letter-spacing: -.04em; }
.stat span { color: var(--muted); font-size: var(--fs-m); margin-top: 4px; }
.stat--big {
  grid-row: span 2; padding: 30px 36px; border: 0; color: var(--on-gold);
  background: linear-gradient(150deg, var(--gold-light), var(--gold) 50%, var(--gold-dark));
}
.stat--big b { font-size: clamp(72px, 8vw, 112px); letter-spacing: -.055em; }
.stat--big span { color: #2f2909; font-size: var(--fs-l); font-weight: 700; }
.stat--wide { grid-column: span 2; }

/* catalog */
section[id] { scroll-margin-top: 110px; }
.catalog { padding-top: 64px; }
.catalog__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.tabs { position: relative; display: flex; gap: 4px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabbar { padding: 6px; border-radius: var(--r-pill); max-width: 100%; min-width: 0; }
.tab {
  position: relative; z-index: 1; border: 0; border-radius: var(--r-pill); background: transparent; color: #c9c6b8; cursor: pointer;
  padding: 0 22px; min-height: 40px; font-family: inherit; font-size: var(--fs-s); font-weight: 700; line-height: 1; white-space: nowrap;
  transition: color .25s, scale .35s cubic-bezier(.3, 1.8, .5, 1);
}
.tab:hover, .tab[aria-pressed="true"] { color: var(--gold-light); }
/* the chosen category is marked the same way as the current menu item */
.tab::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 18px; height: 2px; border-radius: 2px;
  background: var(--gold); translate: -50% 0; opacity: 0; transition: opacity .25s;
}
.tab[aria-pressed="true"]::after { opacity: 1; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.card {
  position: relative; display: flex; flex-direction: column; padding: 0 20px 20px;
  border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card);
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: #5a5228; transform: translateY(-3px); }
.card__media {
  display: flex; align-items: center; justify-content: center; height: 196px; margin: 0 -19px; padding-top: 14px;
  border-radius: var(--r-l) var(--r-l) 0 0; overflow: hidden;
  background: radial-gradient(ellipse 55% 60% at 50% 50%, rgba(152, 136, 62, .17), transparent 75%);
}
.card__media .device { width: 222px; max-width: 85%; }
.card__media .device--phone, .card__media .device--watch { width: auto; height: 92%; }
.card__media .card__photo { width: 100%; height: 100%; object-fit: cover; }
.card__media--photo { height: 232px; padding-top: 0; }
.card__title {
  margin-top: 15px; font-size: var(--fs-l); font-weight: 700; line-height: 1.3; letter-spacing: -.02em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
a.card__title:hover { color: var(--gold); }
.card__text { flex: 1; }
.price { color: var(--gold); font-size: var(--fs-xl); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; white-space: nowrap; }
.price small { display: block; color: #8d8a7c; font-size: var(--fs-xs); font-weight: 400; letter-spacing: 0; }
.empty { margin-top: 34px; padding: 50px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r-l); }
.empty a { color: var(--gold); text-decoration: underline; }
.catalog__note { margin-top: 16px; text-align: center; color: var(--muted); font-size: var(--fs-s); }
.catalog__more { display: flex; justify-content: center; margin-top: 16px; }

a.stat { transition: border-color .2s; }
a.stat:hover { border-color: var(--gold); }

/* section titles */


/* how to buy: outlined numbers on a line that lights up once the block is seen */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; margin-top: 24px; padding-top: 18px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.steps::after { background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark)); transform: scaleX(0); transform-origin: left; }
.steps.is-lit::after { transform: scaleX(1); transition: transform 1.8s cubic-bezier(.4, 0, .2, 1); }
.steps li { display: flex; scroll-margin-top: 110px; }
.steps a {
  display: flex; flex-direction: column; gap: 18px; width: 100%; padding: 18px 20px 20px;
  border: 1px solid transparent; border-radius: var(--r-l); transition: background .25s, border-color .25s, translate .25s;
}
.steps a:hover, .steps a:focus-visible { translate: 0 -4px; border-color: rgba(255, 255, 255, .12); background: linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02) 60%, rgba(213, 197, 112, .1)); }
.steps i {
  font: 400 clamp(64px, 6.4vw, 92px)/1 Futura, "Jost", "Century Gothic", sans-serif; font-style: normal;
  color: rgba(213, 197, 112, 0); -webkit-text-stroke: 1.3px var(--gold); transition: color .35s;
}
.steps a:hover i { color: var(--gold); }
.steps.is-lit i { animation: light-up 1.3s ease-in-out both; }
.steps.is-lit li:nth-child(2) i { animation-delay: .55s; }
.steps.is-lit li:nth-child(3) i { animation-delay: 1.1s; }
@keyframes light-up { 45% { color: var(--gold); text-shadow: 0 0 34px rgba(239, 226, 154, .55); } }
.steps span { display: block; }
.steps h3 { font-size: var(--fs-xl); margin-bottom: 8px; }
.steps p { max-width: 340px; color: var(--muted); font-size: var(--fs-m); }

/* delivery and warranty */
/* contacts: how to reach the shop on the left, the form on the right */
.talk { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r-l); background: #0d0c0a; overflow: hidden; }
.talk h2 { margin: 0; font-size: var(--fs-3xl); line-height: 1.1; letter-spacing: -.035em; }
.talk__slot { display: flex; min-width: 0; }
.talk .callback__ways, .callback .callback__ways { margin-top: 4px; }
.talk .callback__ways a { min-height: 70px; }
.talk .callback__ways .i { flex: none; box-sizing: content-box; padding: 9px; border-radius: var(--r-s); background: rgba(213, 197, 112, .14); }
.follow { display: flex; gap: 12px; }
.follow a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; min-height: 56px; padding: 8px 12px; border: 1px solid #35321f; border-radius: var(--r-pill); font-size: var(--fs-s); font-weight: 700; transition: border-color .2s; }
.follow a:hover { border-color: var(--gold); }
.follow i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--on-gold); }
.follow svg { width: 20px; height: 20px; }
/* the place of the shop's photo */
.facade { display: grid; place-content: center; justify-items: center; gap: 8px; min-height: 220px; padding: 20px; border: 1.5px dashed rgba(213, 197, 112, .5); border-radius: var(--r-m); background: radial-gradient(ellipse 70% 70% at 50% 40%, rgba(213, 197, 112, .12), transparent 70%), #0d0c0a; text-align: center; }
.facade svg { width: 64px; height: 64px; color: var(--gold); }
.facade b { font-size: var(--fs-xl); }
.facade span { color: var(--muted); font-size: var(--fs-s); }
.facade--aside { flex: 1; min-height: 270px; margin-top: 4px; }
.facade--after { display: none; margin-top: 14px; border-radius: var(--r-l); }

/* the form: "call me back" or a message */
.fb { flex: 1; display: flex; flex-direction: column; gap: 20px; min-width: 0; padding: 34px 44px; }
.fb__body { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.fb h3 { font-size: var(--fs-3xl); line-height: 1.1; letter-spacing: -.04em; }
.fb h3 span { color: var(--gold); }
.fb__lead { margin: 12px 0 6px; color: #a9a696; font-size: var(--fs-m); line-height: 1.55; }
.fb__fields { display: grid; gap: 10px; }
.fb[data-tab="write"] .fb__fields { grid-template-columns: 1fr 1fr; }
.talk .fb__fields { flex: 1; }
.talk .fb[data-tab="write"] .fb__fields { grid-template-rows: auto 1fr; }
.fb .input--fill { align-content: stretch; grid-template-rows: auto 1fr; }
.fb__fields .input--wide { grid-column: 1 / -1; }
.fb.is-google[data-tab="write"] .fb__fields { grid-template-columns: minmax(0, 1fr); }
.fb.is-google [data-email] { display: none; }
.fb .input { padding: 10px 18px 6px; }
.fb[data-tab="call"] .input input { min-height: 46px; font-size: var(--fs-l); }
.fb .input u { margin-left: 6px; color: #77745f; text-decoration: none; }
.fb .input u::before { content: "· "; }
.fb .input textarea { min-height: 104px; resize: none; }
.fb .btn { flex: none; min-height: 56px; margin-top: 4px; }
/* under the shorter "call me back" form: what happens next */
.promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 6px; list-style: none; }
.talk .promise { flex: 1; }
.callback .promise { display: none; }
.promise li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-width: 0; padding: 18px 12px; border: 1px solid #2f2c1c; border-radius: var(--r-m); background: radial-gradient(ellipse 90% 70% at 50% 0, rgba(213, 197, 112, .12), transparent 70%), #000; text-align: center; }
.promise i { color: var(--gold); font-style: normal; font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -.05em; }
.promise b { font-size: var(--fs-m); line-height: 1.25; }
.promise span { color: var(--muted); font-size: var(--fs-s); line-height: 1.35; }
@media (max-width: 600px) {
  /* one under another: the number on the left, the words beside it */
  .promise { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 10px; }
  .promise li { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; justify-content: stretch; gap: 2px 12px; padding: 14px 16px; text-align: left; }
  .promise i { grid-row: span 2; font-size: 30px; }
}
.callback__error { color: #e59a84; font-size: var(--fs-s); }
.callback__note { color: var(--muted); font-size: var(--fs-xs); text-align: center; }
.callback__note a { color: var(--gold); }
/* filling the name and e-mail from Google */
.google { display: grid; gap: 12px; }
.quick { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 14px 20px; border: 1px solid rgba(213, 197, 112, .35); border-radius: var(--r-m); background: radial-gradient(ellipse 60% 140% at 100% 50%, rgba(213, 197, 112, .16), transparent 70%); }
.quick > span { display: grid; gap: 2px; }
.quick b { font-size: var(--fs-m); }
.quick small { color: #a9a696; font-size: var(--fs-s); }
.gbtn { flex: none; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 1px solid #fff; border-radius: var(--r-pill); background: #fff; color: #1f1f1f; font: inherit; font-size: var(--fs-m); font-weight: 700; cursor: pointer; transition: box-shadow .2s; }
.gbtn:hover { box-shadow: 0 8px 22px rgba(255, 255, 255, .18); }
.gbtn svg { width: 20px; height: 20px; }
.or { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: var(--fs-xs); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.me { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid rgba(213, 197, 112, .55); border-radius: var(--r-m); background: radial-gradient(ellipse 60% 140% at 0 50%, rgba(213, 197, 112, .16), transparent 70%); }
.me i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--on-gold); font-style: normal; font-weight: 800; font-size: var(--fs-l); }
.me > span { display: grid; min-width: 0; margin-right: auto; }
.me b, .me small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me b { font-size: var(--fs-m); }
.me small { color: #a9a696; font-size: var(--fs-s); }
.me em { color: var(--gold); font-style: normal; font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; }
.me button { flex: none; min-width: 44px; min-height: 44px; border: 0; background: none; color: var(--muted); font: inherit; font-size: var(--fs-s); text-decoration: underline; cursor: pointer; }
.map {
  position: relative; min-height: 380px; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden;
  background:
    linear-gradient(96deg, transparent 13%, #211f17 13% 15.5%, transparent 15.5% 43%, #1a1812 43% 44%, transparent 44% 74%, #211f17 74% 76.5%, transparent 76.5% 91%, #1a1812 91% 92%, transparent 92%),
    linear-gradient(186deg, transparent 9%, #1a1812 9% 10%, transparent 10% 28%, #211f17 28% 31%, transparent 31% 54%, #1a1812 54% 55%, transparent 55% 74%, #211f17 74% 77%, transparent 77%),
    var(--card);
}
.map__pin {
  position: absolute; left: 50%; top: 50%; width: 130px; height: 130px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle closest-side,
    var(--gold) 0 11px, rgba(213, 197, 112, .24) 12px 35px, rgba(213, 197, 112, .09) 36px 64px, transparent 65px);
}
[data-page="contacts"] .map { display: block; min-height: 300px; margin-top: 14px; }
.map__label { position: absolute; left: 0; right: 0; top: calc(50% + 74px); text-align: center; font-weight: 800; font-size: var(--fs-l); }

@media (pointer: coarse) {
  .tab { min-height: 44px; }
  .island.lg { padding-block: 12px; }
  .header__logo { padding-block: 8px; }
}

@media (max-width: 420px) {
  .island span:nth-of-type(2), .island i { display: none; }
}

/* narrower header: the menu needs room */
@media (max-width: 1340px) {
  .header__logo img { width: 156px; }
  .header__bar { gap: 10px; }
  .nav { gap: 0; font-size: var(--fs-s); }
  .nav a { padding-inline: 8px; }
}

@media (max-width: 1200px) {
  .header { padding-top: 12px; }
  .header__bar { min-height: 64px; padding: 0 9px 0 20px; justify-content: space-between; }
  .header__bar > .lang { margin-left: auto; }
  .header__bar > .lang ~ .search-btn.lg { margin-left: 0; }
  .burger { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); flex-direction: column; gap: 0;
    padding: 10px 14px; border-radius: var(--r-l); background: rgba(20, 19, 15, .97); font-size: var(--fs-l);
    -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
    box-shadow: inset 1.5px 1.5px 1px -1px rgba(255, 255, 255, .65), inset -1.5px -1.5px 1px -1px rgba(255, 255, 255, .45), inset 0 0 0 .5px rgba(255, 255, 255, .18), 0 24px 50px rgba(0, 0, 0, .5);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav a::after { left: 0; bottom: 50%; width: 3px; height: 20px; translate: 0 50%; }
}

@media (max-width: 760px) {
  /* the header keeps the logo, search and the menu; the language stands under the menu */
  .header__bar > .lang { display: none; }
  .header__bar > .lang ~ .search-btn.lg { margin-left: auto; }
  .nav__search { display: flex; align-items: center; gap: 12px; min-height: 48px; margin: 2px 0 6px; padding: 0 16px; border: 1px solid #35321f; border-radius: var(--r-pill); background: rgba(0, 0, 0, .45); color: #c9c6b8; font: inherit; font-size: var(--fs-m); text-align: left; cursor: pointer; }
  .nav__search svg { width: 20px; height: 20px; color: var(--gold); }
  .nav__foot { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 6px; padding: 12px 0 4px; border-top: 1px solid var(--line); }
  .nav__foot .lang { flex: none; }
}

@media (max-width: 1100px) {
  .card { padding: 0 14px 14px; }
  .card__media { margin: 0 -13px; height: 170px; }
  .price { font-size: var(--fs-l); }
}

@media (max-width: 880px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .steps { grid-template-columns: 1fr; gap: 4px; padding: 0 0 0 14px; }
  .steps::before, .steps::after { right: auto; bottom: 0; width: 1px; height: auto; }
  .steps::after { transform: scaleY(0); transform-origin: top; }
  .steps.is-lit::after { transform: scaleY(1); }
  .steps a { flex-direction: row; align-items: center; gap: 18px; padding: 14px 8px 14px 6px; border-radius: var(--r-l); }
  .steps i { flex: none; min-width: 76px; font-size: 54px; }
  .steps h3 { font-size: var(--fs-l); margin-bottom: 4px; }
  .steps p { font-size: var(--fs-s); }
}

/* tablet */

@media (max-width: 920px) {
  .scene { margin-top: 24px; padding-bottom: 28px; }
  .stats { grid-template-columns: 1fr 1fr; padding-top: 40px; }
  .stat--big, .stat--wide { grid-column: span 2; grid-row: auto; }
}

/* phone */
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .header__logo img { width: 132px; }
  .header__bar { gap: 8px; }
  .insta { display: none; }
  .insta.search-btn { display: grid; margin-left: auto; width: 42px; height: 42px; }
  .hero { padding-top: 34px; }
  .island.lg { gap: 9px; padding: 7px 14px; font-size: var(--fs-xs); max-width: 100%; }
  h1, .h1 { margin-top: 18px; }
  .scene { margin-inline: -6px; }
  h1 span, .h1 span { display: inline; }
  .only-wide { display: none; }
  .only-narrow { display: inline; }
  .hero__text { font-size: var(--fs-m); margin-top: 18px; }
  .hero__actions { flex-direction: column; margin-top: 22px; }
  .hero__actions .btn { min-height: 56px; }
  .ticker__row { font-size: var(--fs-m); min-height: 44px; }
  .ticker__group { gap: 24px; padding-right: 24px; animation-duration: 16s; }
  .stats { gap: 10px; }
  .stat { padding: 16px 18px; min-height: 108px; border-radius: var(--r-l); }
  .stat b { font-size: var(--fs-3xl); }
  .stat--wide { min-height: 90px; }
  .stat--big { padding: 22px; min-height: 160px; }
  .stat--big b { font-size: 72px; }
  .stat--big span { font-size: var(--fs-m); }
  .catalog { padding-top: 44px; }
  .tabbar { width: 100%; }
  .tab { padding: 0 16px; }
  .grid { gap: 12px; margin-top: 20px; }
  .card { padding: 0 13px 13px; border-radius: var(--r-l); }
  .card__media { height: 140px; margin: 0 -12px; border-radius: var(--r-l) var(--r-l) 0 0; }
  .card__title { font-size: var(--fs-s); margin-top: 10px; }
  .price { font-size: var(--fs-l); }
}

@media (max-width: 360px) {
  .grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__group { animation: none; }
  .card { transition: none; }
}

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; translate: 0 26px; } }
@keyframes slide-in { from { opacity: 0; translate: 60px 0; } }
@keyframes bob { 50% { translate: 0 -12px; } }
@keyframes shine { to { background-position: -200% 0; } }
@keyframes pulse { from { scale: .2; opacity: .8; } to { scale: 1.25; opacity: 0; } }

/* first screen: lines appear one after another */
.hero > .island { animation: unfold .8s cubic-bezier(.2, .8, .2, 1.15) both; }
.hero h1, .hero .h1 { animation: rise .7s .08s ease-out both; }
.hero__text { animation: rise .7s .18s ease-out both; }
.hero__actions { animation: rise .7s .28s ease-out both; }
h1 span, .h1 span {
  background-image: linear-gradient(90deg, #96842f, #f6e9a6 25%, #a38f37 50%, #f6e9a6 75%, #96842f);
  background-size: 200% 100%; animation: shine 6s linear infinite;
}

/* the opening screen */
@keyframes unfold { from { opacity: 0; scale: .55 .85; } }

/* blocks appear while scrolling (classes are set by app.js) */
.reveal { opacity: 0; translate: 0 32px; }
.reveal.is-in {
  opacity: 1; translate: 0 0;
  transition: opacity .6s ease-out var(--delay, 0s), translate .6s ease-out var(--delay, 0s);
}

/* hover and map */
.btn { transition: filter .15s, border-color .15s, translate .15s, box-shadow .2s; }
.btn:hover { translate: 0 -2px; }
.btn--gold:hover { box-shadow: 0 8px 26px rgba(213, 197, 112, .3); }
.card__media > * { transition: scale .35s ease-out; }
.card:hover .card__media > * { scale: 1.07; }
.map__pin::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold);
  animation: pulse 2.4s ease-out infinite;
}

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

/* ---------- liquid glass buttons ---------- */
.btn, .go, .insta {
  -webkit-backdrop-filter: blur(10px) saturate(180%); backdrop-filter: blur(10px) saturate(180%);
  transition: scale .45s cubic-bezier(.3, 1.9, .5, 1), translate .2s, box-shadow .25s, filter .2s, background .2s, rotate .25s;
}
.btn:active, .go:active, .insta:active, .tab:active { scale: .96; transition-duration: .08s; }
.btn { position: relative; isolation: isolate; }
.btn--gold, .go {
  background: var(--gold); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn--gold:hover, .go:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 8px 22px rgba(213, 197, 112, .25); }
.btn--ghost, .insta {
  border-color: transparent; background: linear-gradient(165deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04) 55%, rgba(255, 255, 255, .08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -1px 0 rgba(255, 255, 255, .12), inset 0 0 14px rgba(255, 255, 255, .05), 0 8px 20px rgba(0, 0, 0, .3);
}
.btn--ghost:hover, .insta:hover { border-color: transparent; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(255, 240, 180, .4), inset 0 0 16px rgba(255, 240, 180, .14), 0 10px 26px rgba(0, 0, 0, .4); }
.btn--dark { background: linear-gradient(165deg, rgba(36, 31, 10, .94), rgba(8, 7, 2, .94) 55%, rgba(26, 22, 6, .94)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 8px 20px rgba(60, 46, 0, .3); }
.btn--outline-dark { background: linear-gradient(165deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .08) 55%, rgba(255, 255, 255, .18)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), 0 8px 18px rgba(80, 62, 0, .15); }
/* on the golden card the glass stays calm: no extra saturation or top light */
/* ---------- product page ---------- */
.card__open { display: block; margin: 0; }
.card__title:hover { color: var(--gold); }
html:has(.product[open]) { overflow: hidden; }
.product {
  width: min(980px, calc(100% - 32px)); max-height: min(860px, calc(100dvh - 32px)); margin: auto; padding: 0;
  border: 1px solid #35321f; border-radius: var(--r-l); background: #070706; color: var(--text); overflow: hidden;
}
.product[open] { display: flex; flex-direction: column; animation: rise .4s ease-out; }
.product::backdrop { background: rgba(0, 0, 0, .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.product__close {
  position: absolute; right: 14px; top: 14px; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  color: var(--text); font-size: var(--fs-2xl); line-height: 1; background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4);
}
/* rows as tall as their content: the card scrolls, nothing in it is squeezed on a low screen */
.product__body { display: grid; grid-template-columns: 1.1fr 1fr; grid-auto-rows: max-content; align-content: start; gap: 28px; padding: 24px; overflow-y: auto; min-height: 0; }
.product__gallery { min-width: 0; align-self: start; position: sticky; top: 0; }
.product__stage { position: relative; width: min(100%, max(280px, 100vh - 352px)); margin-inline: auto; }
.product__slides {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border: 1px solid var(--line); border-radius: var(--r-l);
  background: radial-gradient(ellipse 60% 55% at 50% 55%, rgba(152, 136, 62, .22), transparent 75%);
}
.product__slides::-webkit-scrollbar, .product__thumbs::-webkit-scrollbar { display: none; }
.product__slides > * { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; min-width: 0; }
.product__slides img { width: 100%; height: 100%; object-fit: contain; }
.product__drawing { display: flex; align-items: center; justify-content: center; padding: 24px; }
.product__drawing svg { width: 100%; max-height: 100%; }
.product__drawing .device--phone { width: auto; height: 90%; }
.product__nav { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 44px; height: 44px; padding-bottom: 4px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; background: rgba(10, 9, 6, .65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font: 400 28px/1 -apple-system, BlinkMacSystemFont, sans-serif; cursor: pointer; transition: border-color .2s, color .2s; }
.product__nav:hover { border-color: var(--gold); color: var(--gold-light); }
.product__nav--prev { left: 12px; }
.product__nav--next { right: 12px; }
/* the number of the photo is read out, the dots show it */
.product__count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* under the photo, not on it: photos differ in shape, and on an edge the dots looked askew */
.product__dots { display: flex; justify-content: center; align-items: center; gap: 8px; height: 8px; margin-top: 14px; pointer-events: none; }
.product__dots[hidden] { display: none; }
.product__dots i { width: 8px; height: 8px; border-radius: var(--r-pill); background: rgba(213, 197, 112, .34); transition: width .3s cubic-bezier(.2, .8, .2, 1), background .3s; }
.product__dots i.is-on { width: 30px; background: var(--gold); }
.product__thumbs { position: relative; display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; justify-content: safe center; }
.product__thumbs:empty { display: none; }
.product__thumbs button { flex: 1 1 0; min-width: 40px; max-width: 56px; aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: var(--r-s); overflow: hidden; background: #15130b; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.product__thumbs button:hover { opacity: 1; }
.product__thumbs button[aria-current="true"] { border-color: var(--gold); opacity: 1; }
.product__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product__info { min-width: 0; }
.product__info h2 { font-size: clamp(24px, 3vw, 32px); padding-right: 48px; }
.product__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin: 12px 0 14px; color: var(--gold); font-size: var(--fs-3xl); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.product__price small { color: var(--muted); font-size: var(--fs-l); font-weight: 400; letter-spacing: 0; }
.product__specs div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-m); }
.product__specs dt { color: var(--muted); }
.product__specs dd { text-align: right; }
.product__text { margin-top: 14px; color: #a5a293; font-size: var(--fs-m); white-space: pre-line; }
.product__text:empty { display: none; }
.product__olx { display: inline-block; margin-top: 14px; padding-block: 8px; color: var(--gold); font-size: var(--fs-s); }
.product__bar { display: flex; gap: 12px; padding: 14px 24px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: rgba(13, 12, 10, .92); }
.product__bar .btn--gold { flex: 1; }
@media (max-width: 720px) {
  .product { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; }
  .product__body { display: block; padding: 64px 16px 20px; flex: 1; }
  .product__gallery { position: static; margin-bottom: 18px; }
  .product__info h2 { padding-right: 0; }
  .product__price { font-size: var(--fs-3xl); }
  .product__bar { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

button.insta { cursor: pointer; font: inherit; padding: 0; }
button.insta { cursor: pointer; font: inherit; padding: 0; }

/* ---------- search fields and the search panel ---------- */
.field { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 20px; border-radius: var(--r-pill); }
.field svg { flex: none; width: 20px; height: 20px; color: var(--muted); }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: var(--fs-m); }
.field input::placeholder { color: var(--muted); }
.field:focus-within { box-shadow: inset 0 0 0 1px var(--gold), 0 10px 28px rgba(0, 0, 0, .34); }
.search { width: min(620px, calc(100% - 24px)); margin: 90px auto auto; padding: 10px; border: 0; border-radius: var(--r-l); color: var(--text); background: rgba(24, 23, 19, .62); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: inset 1.5px 1.5px 1px -1px rgba(255, 255, 255, .65), inset -1.5px -1.5px 1px -1px rgba(255, 255, 255, .45), inset 0 0 0 .5px rgba(255, 255, 255, .18), 0 24px 60px rgba(0, 0, 0, .5); }
.search[open] { animation: rise .35s ease-out; }
.search::backdrop { background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.search__form { display: flex; align-items: center; gap: 6px; }
.search .field { flex: 1; min-width: 0; background: rgba(255, 255, 255, .06); }
.search__close { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--text); font-size: var(--fs-2xl); cursor: pointer; }
.search__results { display: grid; gap: 2px; margin-top: 8px; }
.search__all { min-height: 48px; border: 0; border-radius: var(--r-m); background: transparent; color: var(--gold); font: inherit; font-weight: 700; cursor: pointer; }
.search__all:hover { background: rgba(255, 255, 255, .07); }
html:has(.search[open]) { overflow: hidden; }

/* ---------- catalog page ---------- */
.page { padding-top: 32px; min-height: 62vh; animation: rise .4s ease-out both; }
.page__back { display: inline-block; padding-block: 10px; color: var(--muted); font-size: var(--fs-s); }
.page__back:hover { color: var(--gold); }
.page > h2 { font-size: var(--fs-title); margin: 6px 0 24px; }
/* the same title as the main heading of a built page */
.page h1.page__title { margin: 6px 0 24px; font-size: var(--fs-title); letter-spacing: -.03em; animation: none; }
.page h1.page__title span { display: inline; width: auto; margin: 0; padding: 0; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; white-space: normal; animation: none; }
.page .services__grid { grid-template-columns: 1fr 1fr; }
.steps li > div { display: flex; flex-direction: column; gap: 18px; width: 100%; padding: 18px 20px 20px; }
.all .field { max-width: 640px; }
.all__bar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.all__bar .btn { flex: none; min-height: 52px; }
/* ---------- footer: the logo and the sections in the middle, one quiet line under them ---------- */
.footer { margin-top: 56px; padding-bottom: 22px; border-top: 1px solid rgba(213, 197, 112, .45); background: radial-gradient(ellipse 60% 100% at 50% 0, rgba(213, 197, 112, .13), transparent 70%), #0d0c0a; }
.footer__top { display: grid; justify-items: center; gap: 20px; padding-block: 44px 30px; }
.footer__logo { cursor: default; }
.footer__logo img { width: 320px; max-width: 100%; height: auto; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 30px; }
.footer__nav a { padding-block: 11px; color: var(--text); font-size: var(--fs-s); transition: color .2s; }
.footer a:hover { color: var(--gold-light); }
.footer__line { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; padding-top: 20px; border-top: 1px solid var(--line); color: #8d8a7c; font-size: var(--fs-xs); }
.footer__legal { display: flex; gap: 18px; }
.footer__legal a { color: var(--muted); }
/* on narrower screens the arrow back to the top stands over the right edge */
@media (max-width: 1424px) { .footer__line { padding-right: 64px; } }
@media (max-width: 600px) {
  .footer { margin-top: 40px; padding-bottom: 80px; }
  .footer__top { padding-block: 32px 22px; }
  .footer__nav, .footer__line { justify-content: center; text-align: center; }
  .footer__line { padding-right: 0; }
}
@media (pointer: coarse) { .footer__legal a { padding-block: 10px; } }

/* ---------- privacy and cookie pages ---------- */
.legal > h3, .legal > div > h3 { margin: 26px 0 8px; font-size: var(--fs-xl); }
.legal > p, .legal > div > p { max-width: 760px; margin-top: 10px; color: #b9b6a8; }
.legal > p a, .legal > div > p a { color: var(--gold); }
.legal__date { color: var(--muted) !important; font-size: var(--fs-s); }

/* ---------- glass: one material for navigation and controls ---------- */
.lg.lg {
  position: relative; isolation: isolate;
  background: rgba(240, 249, 255, .1);
  -webkit-backdrop-filter: blur(5px) saturate(1.25) contrast(1.09); backdrop-filter: blur(5px) saturate(1.25) contrast(1.09);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .08), inset 0 1px 0 rgba(255, 255, 255, .24);
}
.field.lg.lg:focus-within { border-color: var(--gold); }
/* header icons: just a thin ring, gold under the pointer, as in the recorded version */
.header .insta.lg.lg { border-color: #35321f; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.header a.insta.lg.lg:hover, .header button.insta.lg.lg:hover { border-color: var(--gold); }
.field.lg.lg:focus-within { border-color: var(--gold); }

/* ---------- action buttons: two looks everywhere, a filled golden one and an outlined golden one ---------- */
.btn.btn.btn--gold { border: 1px solid transparent; background: linear-gradient(150deg, var(--gold-light), var(--gold) 55%, #bda94f); color: var(--on-gold); }
.btn.btn.btn--ghost { border: 1.5px solid var(--gold); background: rgba(213, 197, 112, .08); color: var(--gold-light); box-shadow: none; }
.btn.btn.btn--gold:hover { filter: brightness(1.06); box-shadow: 0 8px 26px rgba(213, 197, 112, .3); }
.btn.btn.btn--ghost:hover { background: rgba(213, 197, 112, .18); box-shadow: 0 8px 26px rgba(213, 197, 112, .2); }
@media (min-width: 701px) { .btn.btn { min-height: 52px; font-size: var(--fs-m); } }

/* ---------- language switch ---------- */
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid #35321f; border-radius: var(--r-pill); }
.lang button { min-width: 36px; min-height: 36px; border: 0; border-radius: var(--r-pill); background: transparent; color: #c9c6b8; font: 700 var(--fs-xs)/1 -apple-system, BlinkMacSystemFont, sans-serif; cursor: pointer; transition: color .2s, background .2s; }
.lang button:hover { color: var(--gold-light); }
.lang button[aria-pressed="true"] { background: rgba(213, 197, 112, .18); color: var(--gold-light); }
@media (max-width: 420px) { .lang button { min-width: 30px; } }

/* ---------- warranty and the checks: on the home page and the inner pages ---------- */

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; align-items: center; gap: 18px; min-height: 68px; padding: 12px 4px; cursor: pointer; list-style: none; font-size: var(--fs-l); font-weight: 700; transition: color .2s; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover, .accordion details[open] summary { color: var(--gold-light); }
.accordion summary i { min-width: 28px; color: var(--muted); font-size: var(--fs-s); font-style: normal; font-weight: 600; }
.accordion summary::after { content: ""; flex: none; width: 10px; height: 10px; margin: 0 6px 0 auto; border: solid var(--gold); border-width: 0 2px 2px 0; rotate: 45deg; translate: 0 -3px; transition: rotate .25s, translate .25s; }
.accordion details[open] summary::after { rotate: 225deg; translate: 0 2px; }
.accordion details > p { max-width: 640px; padding: 0 4px 22px; color: #b9b6a8; animation: rise .3s ease-out both; }
.accordion summary i + span { min-width: 0; }
.checks .accordion details > p { padding-left: 50px; }

/* ---------- inner pages: one lead line, small headings, strict rows ---------- */
.page__lead { max-width: 640px; margin: -10px 0 8px; color: #b9b6a8; font-size: var(--fs-l); }
.page__sub { margin: 56px 0 18px; font-size: var(--fs-2xl); }
.page__sub--first { margin-top: 32px; }



.ask { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 56px; padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card); }
.ask p { display: grid; gap: 4px; margin-right: auto; }
.ask b { font-size: var(--fs-xl); }
.ask span { color: #a5a293; font-size: var(--fs-m); }

/* ---------- home: one wide band for each page of the shop ---------- */
.bands { display: grid; gap: 16px; padding-top: 72px; padding-bottom: 72px; }
.band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 40px; min-height: 304px; padding: 40px 48px; border: 1px solid rgba(213, 197, 112, .32); border-radius: var(--r-l); background: radial-gradient(ellipse 62% 130% at 100% 50%, rgba(213, 197, 112, .2), transparent 70%), #0d0c0a; color: var(--text); text-decoration: none; overflow: hidden; transition: border-color .2s; }
.band:hover { border-color: var(--gold); }
.band h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.04em; }
.band h2 span { display: block; color: var(--gold); }
.band__text p { max-width: 420px; margin: 14px 0 26px; color: #b9b6a8; font-size: var(--fs-l); line-height: 1.5; }
.band .btn { display: inline-flex; }
.band .btn::after { content: "→"; margin-left: 8px; }
.band { scroll-margin-top: 110px; }
.band:hover .btn { box-shadow: 0 8px 26px rgba(213, 197, 112, .3); }
.band__art { min-width: 0; }

/* the two devices and the arrow share one middle line, the captions share another;
   the whole group stands in the middle of its half */
.art-swap { display: grid; grid-template-columns: 110px 56px minmax(0, 330px); justify-content: center; gap: 24px; }
.art-swap figure { display: grid; grid-template-rows: 1fr auto; align-items: center; justify-items: center; gap: 12px; }
.art-swap svg { display: block; width: 100%; height: auto; }
.nowrap { white-space: nowrap; }
.art-swap__old div { opacity: .6; }
.art-swap__old div { width: 74px; }
.art-swap__new div { width: 100%; }
.art-swap figcaption { color: var(--muted); font-size: var(--fs-xs); white-space: nowrap; }
.art-swap > i { align-self: center; margin-bottom: 30px; display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--gold); border-radius: 50%; background: #17150d; color: var(--gold); font-size: 30px; line-height: 1; font-style: normal; }

.art-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; list-style: none; }
.art-tiles li { display: grid; justify-items: center; gap: 14px; padding: 28px 6px 22px; border: 1px solid #2f2c1c; border-radius: var(--r-m); background: rgba(0, 0, 0, .7); }
.art-tiles .i { width: 40px; height: 40px; color: var(--gold); }
.art-tiles b { font-size: var(--fs-xs); text-align: center; }

.art-ways { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; }
.art-ways::before { content: ""; position: absolute; left: 16%; right: 16%; top: 36px; height: 1px; background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark)); }
.art-ways li { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; }
.art-ways i { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 10px; border: 1px solid var(--gold); border-radius: 50%; background: #121006; color: var(--gold); }
.art-ways .i { width: 34px; height: 34px; }
.art-ways b { font-size: var(--fs-m); }
.art-ways small { color: var(--muted); font-size: var(--fs-xs); }

.art-warranty { display: flex; align-items: center; justify-content: center; gap: 48px; }
.art-warranty p { display: flex; align-items: baseline; gap: 10px; color: var(--gold); }
.art-warranty p b { font-size: 168px; line-height: .9; letter-spacing: -.06em; }
.art-warranty p span { font-size: var(--fs-2xl); font-weight: 800; }
.art-warranty ul { display: grid; gap: 8px; min-width: 220px; list-style: none; }
.art-warranty li { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border: 1px solid #2f2c1c; border-radius: var(--r-s); background: rgba(0, 0, 0, .7); font-size: var(--fs-s); font-weight: 600; }
.art-warranty li::before { content: ""; width: 5px; height: 10px; margin-top: -3px; border: solid var(--gold); border-width: 0 2px 2px 0; rotate: 45deg; }

.art-map { min-height: 224px; }
.art-map .map__pin { width: 110px; height: 110px; left: 34%; }
.art-map__card { position: absolute; right: 20px; top: 50%; translate: 0 -50%; display: grid; gap: 4px; padding: 16px 22px; border: 1px solid rgba(213, 197, 112, .4); border-radius: var(--r-m); background: rgba(13, 12, 10, .92); }
.art-map__card small { color: var(--muted); font-size: var(--fs-s); }

@media (max-width: 1100px) {
  .band { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 700px) {
  .bands { gap: 10px; padding-top: 40px; padding-bottom: 40px; }
  .band { gap: 22px; min-height: 0; padding: 26px 20px; }
  /* title, text, picture, and the button closes the band */
  .band { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .band__text { display: contents; }
  .band__text p { margin: 10px 0 22px; font-size: var(--fs-m); }
  .band__art { order: 2; }
  .band .btn { order: 3; display: flex; justify-content: center; margin-top: 22px; }
  .art-swap { grid-template-columns: minmax(80px, auto) 40px minmax(0, 220px); gap: 10px; }
  .art-swap__old div { width: 46px; }
  .art-swap > i { width: 40px; height: 40px; font-size: 22px; }
  .art-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .art-tiles li { flex: 0 0 calc((100% - 16px) / 3); }
  .art-tiles li { gap: 8px; padding: 16px 4px 12px; }
  .art-tiles .i { width: 30px; height: 30px; }
  .art-ways { gap: 4px; }
  .art-ways::before { top: 26px; }
  .art-ways i { width: 52px; height: 52px; margin-bottom: 6px; }
  .art-ways .i { width: 26px; height: 26px; }
  .art-ways b { font-size: var(--fs-s); }
  .art-warranty { justify-content: space-between; gap: 14px; }
  .art-warranty p { display: grid; gap: 0; justify-items: center; }
  .art-warranty p b { font-size: 96px; }
  .art-warranty p span { font-size: var(--fs-m); }
  .art-warranty ul { min-width: 0; flex: 1; max-width: 200px; }
  .art-warranty li { padding: 9px 12px; }
  .art-map { min-height: 170px; }
  .art-map .map__pin { left: 24%; width: 90px; height: 90px; }
  .art-map__card { right: 12px; padding: 12px 14px; }
}


/* ---------- Trade-in: the form on the left, the exchange being put together on the right ---------- */
.swap__fields { display: grid; grid-template-columns: 3fr 2fr; gap: 10px; }
.picks { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.pick { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-width: 0; min-height: 104px; padding: 14px 6px; border: 1px solid #2f2c1c; border-radius: var(--r-m); background: #000; color: #c9c6b8; font: inherit; font-size: var(--fs-s); font-weight: 700; line-height: 1.2; text-align: center; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.pick .i { width: 36px; height: 36px; color: var(--gold); }
.pick:hover { border-color: var(--gold-dark); color: var(--text); }
.pick[aria-pressed="true"] { border-color: var(--gold); background: rgba(213, 197, 112, .16); color: var(--gold-light); }
.toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.toggle { min-height: 44px; padding: 0 18px; border: 1px solid #2f2c1c; border-radius: var(--r-pill); background: #000; color: #c9c6b8; font: inherit; font-size: var(--fs-s); font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.toggle:hover { border-color: var(--gold-dark); color: var(--text); }
.toggle[aria-pressed="true"] { border-color: var(--gold); background: rgba(213, 197, 112, .16); color: var(--gold-light); }
.trade__more { justify-self: start; color: var(--gold); font-size: var(--fs-m); font-weight: 600; }

.ticket__side { display: grid; gap: 8px; }
.ticket__side small, .ticket__label { color: var(--muted); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ticket__item { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 14px; min-height: 84px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-m); background: #000; }
.ticket__item--empty { border-style: dashed; border-color: #4a4424; background: none; }
a.ticket__item { transition: border-color .2s; }
a.ticket__item:hover { border-color: var(--gold); }
.ticket__item b { display: block; font-size: var(--fs-m); line-height: 1.3; overflow-wrap: anywhere; }
.ticket__item span span, .ticket__item div > span { display: block; color: #a5a293; font-size: var(--fs-s); }
.ticket__pic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--r-s); background: #15130b; overflow: hidden; color: var(--gold); }
.ticket__pic .i { width: 36px; height: 36px; }
.ticket__pic .card__media { width: 100%; height: 100%; margin: 0; padding: 4px; border-radius: 0; }
.ticket__pic .card__media--photo { padding: 0; }
.ticket__pic img { width: 100%; height: 100%; object-fit: cover; }
.ticket__pic .device { width: 100%; max-height: 100%; }
.ticket__item .ticket__price { color: var(--gold-light); font-weight: 800; white-space: nowrap; }
.ticket__arrow { align-self: center; display: grid; place-items: center; width: 36px; height: 36px; margin: 8px 0 -10px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-light); }
.ticket__arrow svg { width: 20px; height: 20px; }
.ticket__text { margin-top: 12px; border-top: 1px solid var(--line); }
.ticket__text summary { padding: 12px 0 2px; color: var(--gold); font-size: var(--fs-s); font-weight: 600; text-align: center; cursor: pointer; }
.trade__message { margin-top: 10px; padding: 14px 16px; border-radius: var(--r-m) var(--r-m) var(--r-m) 4px; background: #1a180f; color: #e4e1d3; font-size: var(--fs-s); white-space: pre-line; overflow-wrap: anywhere; }

@media (max-width: 600px) {
  .swap__fields { grid-template-columns: minmax(0, 1fr); }
  .picks { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pick { min-height: 92px; }
}

.input { display: grid; align-content: start; min-width: 0; padding: 8px 16px 5px; border: 1px solid #2f2c1c; border-radius: var(--r-s); background: #000; cursor: text; transition: border-color .2s; }
.input:focus-within { border-color: var(--gold); }
.input span { color: var(--muted); font-size: var(--fs-xs); }
.input input, .input select, .input textarea { width: 100%; min-height: 34px; padding: 0; border: 0; background: none; color: var(--text); font: inherit; font-size: var(--fs-m); outline: 0; }
.input select { appearance: none; -webkit-appearance: none; padding-right: 28px; text-overflow: ellipsis; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23d5c570' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 2px center; cursor: pointer; }
.input option { background: #0c0b08; }
.input textarea { padding: 6px 0; resize: vertical; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { flex: none; width: 24px; height: 24px; }
.trade__pick { display: grid; }
.trade__pick .card__media { height: 170px; }
.trade__more { margin-top: auto; color: var(--gold); font-size: var(--fs-m); font-weight: 600; }
.trade__message { flex: 1; padding: 18px; border-radius: var(--r-m) var(--r-m) var(--r-m) 4px; background: #1a180f; color: #e4e1d3; font-size: var(--fs-m); white-space: pre-line; overflow-wrap: anywhere; }
.accordion--wide { max-width: 860px; }

@media (max-width: 600px) {
  .checks .accordion details > p { padding-left: 4px; }
}

/* ---------- text pages: the guarantee link ---------- */

/* ---------- delivery: choose a way, then see its price, time and steps ---------- */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.ways button { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--card); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.ways button:hover { border-color: var(--gold-dark); }
.ways .i { width: 32px; height: 32px; color: var(--gold); }
.ways span { display: grid; min-width: 0; }
.ways b { font-size: var(--fs-l); line-height: 1.25; }
.ways small { color: var(--muted); font-size: var(--fs-s); }
.ways button[aria-pressed="true"] { border-color: var(--gold); background: var(--gold); color: var(--on-gold); }
.ways button[aria-pressed="true"] :is(.i, small) { color: var(--on-gold); }
.way { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card); overflow: hidden; animation: rise .35s ease-out both; }
.way__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; padding: 32px; background: radial-gradient(ellipse 60% 130% at 0 0, rgba(213, 197, 112, .16), transparent 70%); }
.way__price { display: grid; }
.way__price b { color: var(--gold-light); font-size: clamp(40px, 5.4vw, 68px); letter-spacing: -.045em; line-height: 1.05; }
.way__price span { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -.02em; }
.way__price small { margin-top: 4px; color: var(--muted); font-size: var(--fs-s); }
.way__facts { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.way__facts div { padding: 22px 32px; }
.way__facts div + div { border-left: 1px solid var(--line); }
.way__facts dt { margin-bottom: 6px; color: var(--muted); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.way__facts dd { font-size: var(--fs-m); }
.route { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; counter-reset: stop; padding: 28px 0 32px; }
.route li { position: relative; padding: 48px 32px 0; counter-increment: stop; }
.route li::before { content: counter(stop); position: absolute; z-index: 1; left: 32px; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--on-gold); font-size: var(--fs-s); font-weight: 800; }
.route li::after { content: ""; position: absolute; left: 0; right: 0; top: 15px; border-top: 2px dashed rgba(213, 197, 112, .35); }
.route li:first-child::after { left: 32px; }
.route li:last-child::after { right: auto; width: 32px; }
.route h4 { margin-bottom: 6px; font-size: var(--fs-l); line-height: 1.25; }
.route p { max-width: 300px; color: #a5a293; font-size: var(--fs-s); }
.split { display: grid; grid-template-columns: 4fr 8fr; gap: 32px; margin-top: 72px; }
.split > h3 { font-size: var(--fs-2xl); line-height: 1.15; }
.pay { list-style: none; border-top: 1px solid var(--line); }
.pay li { display: grid; grid-template-columns: 28px 5fr 7fr; align-items: center; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.pay svg { width: 28px; height: 28px; color: var(--gold); }
.pay h4 { font-size: var(--fs-l); line-height: 1.25; }
.pay p { color: #a5a293; font-size: var(--fs-s); }
.order { display: grid; grid-template-columns: 7fr 5fr; align-items: center; gap: 32px 56px; margin-top: 72px; padding: 40px; border: 1px solid rgba(213, 197, 112, .38); border-radius: var(--r-l); background: radial-gradient(ellipse 60% 110% at 100% 100%, rgba(213, 197, 112, .18), transparent 70%), var(--card); }
.order h3 { margin-bottom: 10px; font-size: var(--fs-2xl); line-height: 1.15; }
.order p { max-width: 520px; color: #b9b6a8; }
.order__terms { display: inline-block; margin-top: 14px; color: var(--gold); font-weight: 600; }
.order__actions { display: grid; gap: 10px; }
.order__actions .btn { width: 100%; }

@media (max-width: 860px) {
  .split, .order { grid-template-columns: minmax(0, 1fr); }
  .split { gap: 16px; margin-top: 48px; }
  .order { margin-top: 48px; padding: 28px 24px; }
}
@media (max-width: 700px) {
  .way__facts, .route { grid-template-columns: minmax(0, 1fr); }
  .way__facts div { padding: 16px 24px; }
  .way__facts div + div { border-left: 0; border-top: 1px solid var(--line); }
  .route { gap: 22px; padding: 24px; }
  .route li { min-height: 32px; padding: 4px 0 0 52px; }
  .route li::before { left: 0; }
  .route li::after, .route li:first-child::after { left: 15px; right: auto; top: 32px; bottom: -22px; width: 0; border-top: 0; border-left: 2px dashed rgba(213, 197, 112, .35); }
  .route li:last-child::after { display: none; }
}
@media (max-width: 600px) {
  .ways { gap: 6px; margin-top: 24px; }
  .ways button { flex-direction: column; justify-content: center; gap: 8px; padding: 14px 6px; text-align: center; }
  .ways .i { width: 28px; height: 28px; }
  .ways b { font-size: var(--fs-s); }
  .ways small { display: none; }
  .way__head { padding: 24px; }
  .way__head .btn { width: 100%; }
  .way__price span { font-size: var(--fs-l); }
  .pay li { grid-template-columns: 28px minmax(0, 1fr); gap: 2px 16px; }
  .pay svg { grid-row: 1 / 3; align-self: start; }
}

/* ---------- warranty ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px; border-block: 1px solid var(--line); }
.facts div { padding: 32px 28px; }
.facts div:first-child { padding-left: 0; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { color: var(--gold); font-size: clamp(56px, 6vw, 84px); font-weight: 800; letter-spacing: -.05em; line-height: 1; white-space: nowrap; }
.facts dt small { color: var(--text); font-size: var(--fs-xl); letter-spacing: -.02em; }
.facts dd { max-width: 300px; margin-top: 12px; color: #a5a293; font-size: var(--fs-m); }
.rules { display: grid; grid-template-columns: 7fr 5fr; gap: 14px; margin-top: 56px; }
.rules article { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 32px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card); }
.rules h3 { font-size: var(--fs-xl); }
.rules p { color: #b9b6a8; font-size: var(--fs-m); }
.rules ul { display: grid; gap: 12px; list-style: none; }
.rules li { position: relative; padding-left: 32px; font-size: var(--fs-m); }
.rules li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.rules__yes li::before { content: "✓"; color: var(--gold); }
.rules__no li::before { content: "✕"; color: #b8735c; }
.rules a { margin-top: auto; color: var(--gold); font-size: var(--fs-s); }
.docs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.docs li { padding: 12px 22px; border: 1px solid #35321f; border-radius: var(--r-pill); font-size: var(--fs-m); font-weight: 600; }
.docs__note { margin-top: 16px; color: var(--muted); font-size: var(--fs-s); }

/* ---------- a process shown as a line with dots ---------- */
.timeline { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 24px; list-style: none; counter-reset: stage; }
.timeline li { position: relative; padding-top: 52px; counter-increment: stage; }
.timeline li::before { content: counter(stage); position: absolute; z-index: 1; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--gold); border-radius: 50%; background: #000; color: var(--gold-light); font-size: var(--fs-s); font-weight: 700; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 32px; right: -24px; top: 16px; height: 1px; background: linear-gradient(90deg, var(--gold-dark), var(--line)); }
.timeline h4 { margin-bottom: 8px; font-size: var(--fs-l); }
.timeline p { color: #a5a293; font-size: var(--fs-s); }

/* ---------- repair extras ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); list-style: none; }
.perks li { display: flex; flex-direction: column; gap: 16px; padding: 28px 24px; }
.perks li:first-child { padding-left: 0; }
.perks li + li { border-left: 1px solid var(--line); }
.perks svg { flex: none; width: 36px; height: 36px; color: var(--gold); }
.perks h4 { margin-bottom: 6px; font-size: var(--fs-l); line-height: 1.25; }
.perks p { color: #a5a293; font-size: var(--fs-s); }
@media (max-width: 1000px) and (min-width: 601px) {
  .perks { grid-template-columns: 1fr 1fr; }
  .perks li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .perks li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.ask .btn { flex: none; }

/* ---------- feedback and call-back ---------- */
.callback { width: min(900px, 100% - 32px); max-height: calc(100% - 32px); margin: auto; padding: 0; border: 1px solid #35321f; border-radius: var(--r-l); background: #0c0b08; color: var(--text); overflow-y: auto; }
.callback::backdrop { background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.callback[open] { animation: rise .3s ease-out both; }
.callback__grid { display: grid; grid-template-columns: 5fr 7fr; }
.callback__aside { display: flex; flex-direction: column; gap: 16px; padding: 36px 32px; border-right: 1px solid var(--line); background: radial-gradient(ellipse 90% 55% at 0 0, rgba(213, 197, 112, .2), transparent 70%), #12110b; }
.callback h2:focus { outline: 0; }
.callback h2 { font-size: var(--fs-3xl); line-height: 1.05; letter-spacing: -.035em; }
.callback h2 .gold { display: block; }
.callback__lead { color: #b9b6a8; font-size: var(--fs-m); }
.callback__status { display: flex; align-items: center; gap: 10px; font-size: var(--fs-s); font-weight: 600; }
.callback__ways { display: grid; gap: 8px; margin-top: auto; list-style: none; }
.callback__ways a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid #35321f; border-radius: var(--r-m); background: rgba(0, 0, 0, .45); transition: border-color .2s; }
.callback__ways a:hover { border-color: var(--gold); }
.callback__ways .i { width: 24px; height: 24px; color: var(--gold); }
.callback__ways span { display: grid; min-width: 0; }
.callback__ways small { color: var(--muted); font-size: var(--fs-xs); }
.callback__ways b { font-size: var(--fs-m); white-space: nowrap; }
.callback__status .dot { flex: none; }
.callback__place { display: grid; color: var(--muted); font-size: var(--fs-s); }
/* the close button stays in sight while a short screen scrolls the window */
.callback__close { position: sticky; z-index: 2; top: 16px; display: block; width: 40px; height: 40px; margin: 16px 16px -56px auto; border: 1px solid #35321f; border-radius: 50%; background: #0c0b08; color: var(--text); font-size: var(--fs-xl); line-height: 1; cursor: pointer; }
.callback__close:hover, .callback__close:focus-visible { border-color: var(--gold); color: var(--gold-light); }
.callback__slot { display: flex; min-width: 0; }
.callback .fb { padding: 72px 32px 28px; }
.callback .fb h3 { font-size: var(--fs-2xl); }
.callback__ways .narrow { display: none; }
@media (min-width: 701px) { .callback .callback__ways .i { flex: none; box-sizing: content-box; padding: 9px; border-radius: var(--r-s); background: rgba(213, 197, 112, .14); } }
.switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 1px solid #2f2c1c; border-radius: var(--r-pill); background: #000; }
.switch button { min-height: 44px; border: 0; border-radius: var(--r-pill); background: none; color: #c9c6b8; font: inherit; font-size: var(--fs-m); font-weight: 700; cursor: pointer; transition: background .2s, color .2s; }
.switch button[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); }
.callback__error { color: #e59a84; font-size: var(--fs-s); }
.callback__note { margin-top: -6px; color: var(--muted); font-size: var(--fs-xs); text-align: center; }


/* on a phone the window rises from the bottom edge */
@media (max-width: 700px) {
  .callback { width: 100%; max-width: 100%; max-height: 94dvh; margin: auto 0 0; border-width: 1px 0 0; border-radius: var(--r-l) var(--r-l) 0 0; }
  .callback__grid { grid-template-columns: minmax(0, 1fr); }
  .callback__aside { gap: 12px; padding: 24px 18px 16px; border: 0; border-bottom: 1px solid var(--line); }
  .callback h2 { padding-right: 48px; font-size: var(--fs-2xl); }
  .callback h2 .gold { display: inline; }
  .callback__lead, .callback__place, .callback__ways b { display: none; }
  /* the two buttons say what they do: the number itself is in the footer and contacts */
  .callback__ways small { color: var(--text); font-size: var(--fs-s); font-weight: 700; }
  .callback__ways { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin: 0; }
  .callback__ways a { justify-content: center; gap: 8px; min-height: 48px; padding: 8px 10px; }
  .callback__ways .i { flex: none; width: 20px; height: 20px; }
  .callback__ways .wide { display: none; }
  .callback__ways .narrow { display: inline; }
  .talk .callback__ways a { flex-direction: column; gap: 6px; min-height: 78px; padding: 8px 4px; }
  .talk .callback__ways small { font-size: var(--fs-xs); }
  .talk .callback__ways .i { width: 22px; height: 22px; padding: 7px; }
  .follow { gap: 8px; }
  .follow a { gap: 8px; min-height: 52px; padding: 6px; font-size: var(--fs-xs); }
  .follow i { width: 32px; height: 32px; }
  .fb, .callback .fb { padding: 18px; }
  .callback .fb { padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
  .fb h3 { font-size: var(--fs-2xl); }
  .fb[data-tab="write"] .fb__fields { grid-template-columns: minmax(0, 1fr); }
  .talk .fb[data-tab] .fb__fields { grid-template-rows: none; }
  .quick { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px; text-align: center; }
  .me { flex-wrap: wrap; gap: 4px 12px; padding: 12px 14px; }
  .me > span { flex: 1 1 calc(100% - 56px); }
  .me em { order: 3; margin-right: auto; padding-left: 56px; }
  .me button { order: 4; }
}
/* the narrowest phones: the words need the room of the icons */
@media (max-width: 360px) { .callback .callback__ways .i { display: none; } }
@media (max-width: 360px) { .gbtn { gap: 8px; padding: 0 12px; font-size: var(--fs-s); } .follow a { font-size: var(--fs-xs); gap: 6px; } .follow i { width: 28px; height: 28px; } }
@media (max-width: 420px) {
  .switch button { padding: 0 4px; font-size: var(--fs-s); line-height: 1.15; }
}

/* contacts in one column: the photo comes after the form */
@media (max-width: 860px) {
  .talk { grid-template-columns: minmax(0, 1fr); }
  .talk .callback__aside { border-right: 0; border-bottom: 1px solid var(--line); }
  .facade--aside { display: none; }
  .facade--after { display: grid; }
}

@media (max-width: 1100px) { .timeline--five { grid-auto-flow: row; } .timeline--five li { padding: 0 0 8px 52px; } .timeline--five li:not(:last-child)::after { left: 16px; right: auto; top: 32px; bottom: -24px; width: 1px; height: auto; } }
@media (max-width: 860px) {
  .facts, .rules { grid-template-columns: 1fr; gap: 14px; }
  .facts div, .facts div:first-child { padding: 22px 0; }
  .facts div + div { border-left: 0; border-top: 1px solid var(--line); }
  .timeline { grid-auto-flow: row; }
  .timeline li { padding: 0 0 8px 52px; }
  .timeline li:not(:last-child)::after { left: 16px; right: auto; top: 32px; bottom: -24px; width: 1px; height: auto; }
}

/* ---------- how to buy: the ways to get a purchase live inside the third step ---------- */

.select { position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- cards: marks, price, the whole card opens the product ---------- */
.card { padding: 0 20px 20px; cursor: pointer; }
.card:focus-within { border-color: var(--gold); }
.card__title::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-l); }
.card__title:focus-visible { outline: 0; }
.card:hover .card__title { color: var(--gold); }
.chips-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; list-style: none; }
.chips-list li { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-pill); background: #1a1810; color: #cfcbbb; font-size: var(--fs-xs); }
.chips-list li.is-warn { background: #2d1c0f; color: #f0bc8c; }
/* used or new: always the first mark */
.chips-list li.is-used { box-shadow: inset 0 0 0 1px rgba(213, 197, 112, .75); background: transparent; color: var(--gold-light); font-weight: 800; }
.chips-list li.is-new { background: linear-gradient(115deg, #efe29a, #d5c570 60%, #a38f37); color: var(--on-gold); font-weight: 800; }
.chips-list svg { width: 16px; height: 10px; }
.chip-more { margin-left: -6px; white-space: pre; }
/* the price on the left, a golden arrow on the right */
.card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.card .price { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; margin: 0; padding: 0; }
.card .price small { margin: 0; color: #a29f90; font-size: var(--fs-s); }
.card__go { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--on-gold); transition: background .2s, translate .2s, scale .2s; }
.card__go svg { width: 22px; height: 22px; }
.card:hover .card__go { translate: 2px -2px; background: var(--gold-light); }
@media (max-width: 1100px) { .card__go { width: 40px; height: 40px; } .card__go svg { width: 18px; height: 18px; } }
/* two narrow cards side by side: the arrow moves into the corner and shrinks */
@media (max-width: 600px) { #grid .card__foot { margin: 0 -8px -8px 0; } .card__go { width: 30px; height: 30px; } .card__go svg { width: 15px; height: 15px; } }
@media (max-width: 420px) { #grid .card .price { font-size: var(--fs-m); } #grid .card .price small { font-size: var(--fs-xs); } }
@media (max-width: 360px) { #all-grid .card__foot { margin: 0 -4px -4px 0; } #all-grid .card .price { font-size: var(--fs-m); } }

/* ---------- catalog: one toolbar and filters ---------- */
/* two glass panels side by side, made of the same material as the header: the models on the
   left, the filters and the sorting on the right */
.toolbar { display: flex; align-items: stretch; gap: 12px; }
.toolbar .tools, .toolbar .filters { display: flex; align-items: center; min-height: 68px; padding: 9px 10px; border-radius: var(--r-pill); }
.toolbar .tools { flex: 1 1 auto; min-width: 0; }
/* the models share the whole width of their panel, so no empty tail is left after the last one */
.toolbar .tools .tabs { width: 100%; justify-content: space-between; }
.toolbar .filters { flex: none; gap: 6px; }
.filters__list { display: flex; align-items: center; gap: 2px; min-width: 0; }
/* inside the panel the filters are quiet, like the items of the menu */
.toolbar .filters__list .drop, .toolbar .filters__list select { border-color: transparent; }
.toolbar .filters__list .drop { gap: 10px; padding: 0 12px; }
.toolbar .filters__list select { padding: 0 30px 0 12px; }
.toolbar .filters__list .select:not(.is-custom) select { width: calc(var(--chars, 6) * .6em + 46px); }
.toolbar .filters__list .drop:hover, .toolbar .filters__list .drop:focus-visible, .toolbar .filters__list .drop[aria-expanded="true"] { color: var(--gold-light); }
.toolbar .filters__list .drop:focus-visible, .toolbar .filters__list select:focus-visible { border-color: var(--gold); }
.toolbar .filters__list .drop.is-set, .toolbar .filters__list select.is-set { background-color: rgba(213, 197, 112, .18); }
.found { display: flex; align-items: center; flex-wrap: wrap; gap: 0 16px; }
.found .rate-line { margin-top: 10px; }
.found .filters__reset { margin-top: 10px; }
/* the number of chosen values sits on the corner of its button and takes no room, so no
   button and no panel changes size when a filter is chosen */
.toolbar .filters__list .drop { position: relative; }
.toolbar .filters__list .drop__value { overflow: visible; }
.drop__value em { position: absolute; top: -7px; right: 2px; display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: var(--r-pill); background: var(--gold); box-shadow: 0 0 0 2px #17181a; color: var(--on-gold); font-style: normal; font-size: var(--fs-xs); font-weight: 800; }
.chosen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chosen:empty { display: none; }
.chosen__item { min-height: 36px; padding: 0 14px; border: 1px solid rgba(213, 197, 112, .55); border-radius: var(--r-pill); background: rgba(213, 197, 112, .14); color: var(--gold-light); font: inherit; font-size: var(--fs-s); font-weight: 600; cursor: pointer; }
.chosen__item:hover { border-color: var(--gold-light); }
.chosen__item i { margin-left: 8px; font-style: normal; }
@media (pointer: coarse) { .chosen__item { min-height: 44px; } }
/* ---------- from a tablet up, the line under the toolbar is always there and never grows, so
   the goods stay in place whatever is chosen ---------- */
/* never shorter than the screen: the scrollbar stays, and nothing moves sideways without it */
.page.all { min-height: 100vh; }
@media (min-width: 761px) {
  .found { flex-wrap: nowrap; height: 46px; margin-top: 6px; }
  .found .chosen { flex: 0 1 auto; flex-wrap: nowrap; min-width: 0; margin: 0 0 0 -5px; padding: 5px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
  .found .chosen:empty { display: none; }
  .found .chosen.is-more { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
  .found .chosen__item { flex: none; white-space: nowrap; }
  .found .rate-line, .found .filters__reset { flex: none; margin: 0; white-space: nowrap; }
  .found .rate-line { max-width: 45%; overflow: hidden; text-overflow: ellipsis; }
  .found .chosen:empty + .rate-line { padding-left: 8px; }
}
@media (min-width: 761px) and (pointer: coarse) { .found { height: 54px; } }
@media (max-width: 760px) { .found:not(.is-narrowed) .rate-line { display: none; } }
/* below this width four chosen filters would squeeze the categories */
@media (max-width: 1320px) {
  .toolbar { flex-direction: column; gap: 10px; }
  .toolbar .filters { justify-content: space-between; }
}
@media (max-width: 700px) {
  .toolbar .tools, .toolbar .filters { min-height: 62px; padding: 8px; }
  .toolbar .tools .tabs { padding-right: 28px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  /* the filters scroll in their panel, the sorting stays in sight */
  .filters__list { flex: 1; overflow-x: auto; scrollbar-width: none; padding-right: 24px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .filters__list::-webkit-scrollbar { display: none; }
  .filters__list > * { flex: none; }
}
.tools .tab { display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; }
.tools .tab em { color: var(--muted); font-style: normal; font-weight: 500; }
.tools .tab[aria-pressed="true"] { background: rgba(213, 197, 112, .16); }
.tools .tab.is-empty { opacity: .45; }
/* sorting: a round button with two arrows; the list of orders opens from it */
.select--sort { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #2f2c1c; border-radius: 50%; color: var(--gold); cursor: pointer; transition: border-color .2s, background .2s; }
.select--sort:hover, .select--sort:focus-within, .select--sort.is-open { border-color: var(--gold); }
.select--sort.is-sorted { border-color: var(--gold); background: var(--gold); color: var(--on-gold); }
.select--sort .sort-icon { width: 22px; height: 22px; pointer-events: none; }
/* on a touch screen the system picker lies unseen over the icon */
.select--sort:not(.is-custom) select { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; min-height: 0; padding: 0; opacity: 0; cursor: pointer; }
.select--sort .drop { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.select--sort .drop::after { display: none; }
.select--sort .drop__value { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.select select { min-height: 44px; max-width: 100%; padding: 0 38px 0 18px; border: 1px solid #2f2c1c; border-radius: var(--r-pill); appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' fill='none' stroke='%23d5c570' stroke-width='1.8'%3E%3Cpath d='m1 1 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 15px center; color: var(--text); font: inherit; font-size: var(--fs-s); font-weight: 600; cursor: pointer; }
.select select:hover, .select select:focus-visible, .select select.is-set { border-color: var(--gold); }
.select select.is-set { color: var(--gold-light); }
.select option { background: #14120b; color: var(--text); }
/* the same lists on a computer, drawn by the site */
.select.is-custom select, .input.is-custom select { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.drop { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 44px; padding: 0 18px; border: 1px solid #2f2c1c; border-radius: var(--r-pill); background: transparent; color: var(--text); font: inherit; font-size: var(--fs-s); font-weight: 600; white-space: nowrap; cursor: pointer; transition: border-color .2s, background .2s; }
.drop::after { content: ""; flex: none; width: 6px; height: 6px; margin-top: -4px; border: solid var(--gold); border-width: 0 2px 2px 0; rotate: 45deg; transition: rotate .2s, margin .2s; }
.drop[aria-expanded="true"]::after { margin-top: 4px; rotate: 225deg; }
.drop:hover, .drop:focus-visible, .drop[aria-expanded="true"], .drop.is-set { border-color: var(--gold); }
.drop.is-set { background: rgba(213, 197, 112, .12); color: var(--gold-light); }
.drop__list { position: fixed; inset: auto; margin: 0; padding: 6px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #3a3620; border-radius: var(--r-m); background: #12110c; color: var(--text); box-shadow: 0 18px 50px rgba(0, 0, 0, .7); }
.drop__list:popover-open { display: flex; flex-direction: column; gap: 2px; animation: drop-in .16s ease-out; }
@keyframes drop-in { from { opacity: 0; translate: 0 -6px; } }
.drop__item { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 42px; padding: 0 14px; border: 0; border-radius: var(--r-s); background: none; color: #e4e1d3; font: inherit; font-size: var(--fs-s); text-align: left; white-space: nowrap; cursor: pointer; }
.drop__item:hover, .drop__item:focus-visible { background: rgba(213, 197, 112, .14); color: var(--text); outline: 0; }
.drop__item[aria-selected="true"] { color: var(--gold-light); font-weight: 700; }
.drop__item[aria-selected="true"]::after { content: ""; flex: none; width: 5px; height: 10px; margin-top: -3px; border: solid var(--gold); border-width: 0 2px 2px 0; rotate: 45deg; }
.drop__value { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* inside a form field the button is the field itself, and the field lights up */
.input.is-custom { position: relative; cursor: pointer; }
.input.is-open { border-color: var(--gold); }
.input .drop { min-height: 34px; padding: 0 4px 0 0; border: 0; border-radius: 0; font-size: var(--fs-m); font-weight: 400; text-align: left; outline: 0; }
.input .drop span { color: inherit; font-size: inherit; }
.drop__list--field .drop__item { min-height: 44px; padding-block: 8px; white-space: normal; }
.drop__name { display: grid; min-width: 0; margin-right: auto; }
.drop__name b { font-weight: 600; }
.drop__name small { color: var(--muted); font-size: var(--fs-xs); font-weight: 400; }
.drop__price { color: var(--gold-light); font-weight: 700; white-space: nowrap; }
/* the prices of a list stand in one column and start on one line; a phone keeps the room for
   the names */
@media (min-width: 701px) {
  .drop__list--field .drop__item { gap: 16px; }
  .drop__list--field .drop__price { flex: none; min-width: 6.6em; margin-inline: 8px; font-variant-numeric: tabular-nums; }
}
/* every row keeps the place of the tick, so the prices stay in one column */
.drop__list--field .drop__item::after { content: ""; flex: none; width: 5px; height: 10px; margin-top: -3px; border: solid transparent; border-width: 0 2px 2px 0; rotate: 45deg; }
.drop__list--field .drop__item[aria-selected="true"]::after { border-color: var(--gold); }
.toolbar .filters__list .drop:disabled { border-color: transparent; background: none; color: var(--text); opacity: .35; cursor: default; }
.filters__reset { min-height: 32px; padding: 0 4px; border: 0; background: none; color: var(--gold); font: inherit; font-size: var(--fs-s); font-weight: 600; cursor: pointer; }

/* ---------- search results ---------- */
.search__row { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 16px; padding: 10px 12px; border-radius: var(--r-m); }
.search__row:hover, .search__row:focus-visible { background: rgba(213, 197, 112, .1); }
.search__picture { display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--r-s); overflow: hidden; background: #15130b; }
.search__picture img { width: 100%; height: 100%; object-fit: cover; }
.search__picture .device { max-width: 90%; max-height: 90%; }
.search__info { display: grid; min-width: 0; }
.search__info b { font-size: var(--fs-m); }
.search__info span { color: #a29f90; font-size: var(--fs-s); }
.search__row em { color: var(--gold); font-size: var(--fs-l); font-style: normal; font-weight: 800; white-space: nowrap; }

/* ---------- product: condition marks and what comes with every purchase ---------- */
.product__body:focus { outline: 0; }
.product__state { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.product__state:empty { display: none; }
.product__state > span:not(.hint), .product__state .hint__mark { padding: 6px 12px; border-radius: var(--r-pill); background: #16210f; color: #c2e5a8; font-size: var(--fs-s); font-weight: 600; }
.product__state > span.is-warn:not(.hint), .product__state .hint__mark { background: #2d1c0f; color: #f0bc8c; }
.product__state > span.is-used:not(.hint) { box-shadow: inset 0 0 0 1px rgba(213, 197, 112, .75); background: transparent; color: var(--gold-light); }
.product__state > span.is-new:not(.hint) { background: linear-gradient(115deg, #efe29a, #d5c570 60%, #a38f37); color: var(--on-gold); }
/* what comes with every purchase: three rows in one frame, each leads to its page */
.product__trust { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r-m); background: radial-gradient(ellipse 70% 120% at 100% 50%, rgba(213, 197, 112, .1), transparent 70%), #0d0c0a; overflow: hidden; }
.product__trust button { width: 100%; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 16px 10px 14px; transition: background .2s; }
.product__trust button + a { border-top: 1px solid var(--line); }
.product__trust button:hover, .product__trust button:focus-visible { background: rgba(213, 197, 112, .09); }
.product__trust i { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-s); background: rgba(213, 197, 112, .12); color: var(--gold); }
.product__trust svg { width: 24px; height: 24px; }
.product__trust span { display: grid; min-width: 0; margin-right: auto; }
.product__trust b { font-size: var(--fs-m); line-height: 1.3; }
.product__trust small { color: #a29f90; font-size: var(--fs-s); line-height: 1.35; }
.product__trust button::after { content: "+"; flex: none; width: 18px; color: var(--gold); font-size: var(--fs-xl); line-height: 1; text-align: center; }
.product__trust button[aria-expanded="true"]::after { content: "−"; }
/* it closes the card under both columns */
/* its own height always: a frame that clips its corners would otherwise be squeezed on a low screen */
.product__body > .product__trust { grid-column: 1 / -1; min-height: max-content; }
/* with two columns there is room for the three side by side, one line of words in each */
@media (min-width: 901px) and (min-height: 521px) {
  .product__body > .product__trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: -8px; border: 0; background: none; overflow: visible; }
  .product__body > .product__trust button { border: 1px solid #2f2c1c; border-radius: var(--r-m); background: radial-gradient(ellipse 90% 90% at 100% 0, rgba(213, 197, 112, .13), transparent 70%), #0d0c0a; }
  .product__body > .product__trust button:hover, .product__body > .product__trust button:focus-visible { border-color: var(--gold); }
  .product__trust b, .product__trust small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* the row lies under the photo now, so the photo scrolls with the card instead of staying over it */
  .product__body > .product__gallery, .productpage__box .product__body > .product__gallery { position: static; }
}
/* a phone on its side: the photo stays in view, the rows stand in the column of facts */
@media (orientation: landscape) and (max-height: 520px) {
  .product__body > .product__trust { grid-column: 2; }
}
.productpage__box { border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card); overflow: clip; }
.productpage__box .product__body { overflow: visible; }
.productpage__box .product__gallery { top: 120px; }
.productpage__box .product__stage { width: 100%; }
.productpage__box .product__title { margin: 0; padding-right: 0; font-size: var(--fs-h2); letter-spacing: -.03em; }
.productpage__box .product__bar { background: none; }
.productpage__box .product__slides:not(:has(img + img)) img, .productpage__box .product__slides img { flex: 0 0 100%; aspect-ratio: 1; }
@media (max-width: 760px) {
  .productpage__box .product__body { display: block; padding: 16px; }
  .productpage__box .product__gallery { position: static; margin-bottom: 18px; }
  .search__row { grid-template-columns: 52px 1fr auto; gap: 10px; }
  .search__picture { width: 52px; height: 52px; }
}

/* every section of the home page has a title of the same size */
.catalog__head h2 { font-size: var(--fs-h2); }

/* ================= phones and tablets ================= */
@media (max-width: 1200px) {
  /* panels over the page are solid here: small screens leave no room for what shows through */
  .nav.is-open { background: #12110d; }
  .search { background: #15140f; }
  /* pictures pass right under the header: the glass is darker here, so the logo stays readable */
  .toolbar .lg.lg { background: rgba(14, 13, 9, .74); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
  .header__bar.lg.lg { background: rgba(14, 13, 9, .74); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
}

/* fingers */
@media (pointer: coarse) {
  /* Safari zooms the page when a field with smaller text gets the focus */
  .select select, .input input, .input select, .input textarea, .field input { font-size: var(--fs-m); }
  .lang button { min-width: 40px; min-height: 40px; }
  .header__logo { display: flex; align-items: center; min-height: 44px; }
  .island.lg { min-height: 44px; }
  .order__terms, .trade__more, .rules a { display: inline-block; padding-block: 11px; }
  .footer__legal a { display: inline-block; min-width: 44px; padding-block: 13px; text-align: center; }
  .ticket__text summary { padding-block: 12px; }
  .card:hover { transform: none; }
}

/* the guarantee card and the checks stand one under the other: keep them apart */

/* upright tablets: use the width instead of one long column */
@media (min-width: 601px) and (max-width: 920px) {
  .stat--big, .stat--wide { grid-column: span 1; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .facts div, .facts div:first-child { padding: 26px 20px; }
  .facts div:first-child { padding-left: 0; }
  .facts div + div { border-top: 0; border-left: 1px solid var(--line); }
  .ask p { flex: 1 1 100%; }
}

/* upright tablets: the product reads from top to bottom */
@media (max-width: 900px) {
  .product__body { display: block; }
  .product__gallery { position: static; margin-bottom: 18px; }
  .product__stage { width: min(100%, 520px); }
  .product__info h2 { padding-right: 0; }
  .productpage__box .product__body { padding: 20px; }
  .productpage__box .product__gallery { position: static; }
}

@media (max-width: 700px) {
  /* the third step reads like the first two: number on the left, text beside it */
  .steps li > div { flex-direction: row; align-items: flex-start; gap: 18px; padding: 14px 8px 14px 6px; }
}

/* phones */
@media (max-width: 600px) {
  .stat b { white-space: nowrap; }
  .stat:not(.stat--big):not(.stat--wide) b { font-size: var(--fs-2xl); }
  .stats .stat span { font-size: var(--fs-s); }

  .grid .chips-list { gap: 4px; margin-top: 8px; }
  .grid:not(.grid--all) .chips-list li { padding: 2px 8px; }
  .grid:not(.grid--all) .chips-list li.is-year, .grid:not(.grid--all) .chip-more { display: none; }
  .card__foot { gap: 6px; padding-top: 12px; }

  /* the catalog: tabs in one scrolling line, search next to sorting, filters in one line */
  /* the fading edge says there are more categories */

  /* the goods are a list: picture on the left, details on the right */
  .grid--all { grid-template-columns: 1fr; }
  .grid--all .card { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 14px; padding: 12px; }
  .grid--all .card__media { grid-row: 1 / 3; align-self: start; width: 112px; height: 112px; margin: 0; padding: 0; border-radius: var(--r-s); }
  .grid--all .card__text { grid-column: 2; }
  .grid--all .card__title { margin-top: 0; }
  .grid--all .card .card__foot { grid-column: 2; align-self: end; padding-top: 10px; }

  .search { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px)); border-radius: 0; background: #0e0d09; box-shadow: none; overflow-y: auto; }
  .search__info span { font-size: var(--fs-xs); }

  .perks { grid-template-columns: minmax(0, 1fr); }
  .perks li { flex-direction: row; gap: 16px; padding: 18px 0; }
  .perks li + li { border-left: 0; border-top: 1px solid var(--line); }
  .perks svg { width: 28px; height: 28px; }
  .ask .btn { flex: 1 1 100%; }

  .footer__logo img { width: min(260px, 100%); }
  .footer__nav { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; justify-items: center; column-gap: 40px; }
  .switch button { font-size: var(--fs-s); }
}

/* the smallest phones: the header still fits with buttons a finger can hit */
@media (max-width: 360px) {
  .header__bar { gap: 4px; padding-left: 12px; }
  .header__logo img { width: 104px; }
  .lang { gap: 0; padding: 2px; }
  .insta.search-btn { width: 40px; height: 40px; }
  .burger { flex: none; width: 40px; height: 40px; }
}

/* a phone held sideways: the picture stands next to the details, the menu scrolls */
@media (orientation: landscape) and (max-height: 520px) {
  .nav.is-open { max-height: calc(100dvh - 104px); overflow-y: auto; }
  .product__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; padding: 16px; }
  .product__gallery { position: sticky; top: 0; margin: 0; }
  .product__stage { width: min(100%, max(180px, 100dvh - 152px)); }
  .product__thumbs { display: none; }
  .product .product__info h2 { padding-right: 52px; }
  .product__bar { padding-block: 8px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .productpage__box .product__body { display: grid; padding: 16px; }
  .productpage__box .product__gallery { position: sticky; top: 104px; margin: 0; }
  .productpage__box .product__stage { width: min(100%, max(180px, 100dvh - 152px)); }
}

/* on phones the cloud needs some air under the buttons, the narrower the phone the more */
@media (max-width: 700px) {
  .scene { margin-top: 42px; }
}
@media (max-width: 400px) {
  .scene { margin-top: 58px; }
}

/* ---------- home: one manner for the buttons, the figures and the small words ---------- */
.stats .stat { align-items: center; justify-content: center; text-align: center; }
.hero__text, .band__text p, .stats .stat:not(.stat--big) span { color: #a9a696; }

/* two buttons only: the filled golden one and the outlined golden one, of one width */
main > .hero .btn, main > .catalog .btn { width: 268px; padding-inline: 16px; }

/* one size for the small words under the pictures */
.art-swap figcaption, .art-tiles b, .art-ways b, .art-ways small, .art-warranty li { font-size: var(--fs-s); }
.art-ways li { align-content: start; }

/* between the blocks: a thin golden line with the star of the ticker */
.bands { gap: 0; padding-top: 40px; }
.bands__sep { display: flex; align-items: center; justify-content: center; gap: 18px; height: 64px; color: var(--gold); font-size: var(--fs-s); }
.bands__sep::before, .bands__sep::after { content: ""; width: min(220px, 28%); height: 1px; background: linear-gradient(90deg, transparent, rgba(213, 197, 112, .65)); }
.bands__sep::after { rotate: 180deg; }

/* the arrow on a card: a quiet call now and then, and it flies when the card is under the pointer */
.card__go { overflow: hidden; animation: go-pulse 4s ease-out infinite; }
.card__go svg { animation: go-nudge 4s ease-in-out infinite; }
.card:nth-child(4n+2) .card__go, .card:nth-child(4n+2) .card__go svg { animation-delay: .35s; }
.card:nth-child(4n+3) .card__go, .card:nth-child(4n+3) .card__go svg { animation-delay: .7s; }
.card:nth-child(4n) .card__go, .card:nth-child(4n) .card__go svg { animation-delay: 1.05s; }
.card:hover .card__go { animation: none; scale: 1.1; }
.card:hover .card__go svg { animation: go-fly .55s ease-in-out; }
.card:active .card__go { scale: .94; }
@keyframes go-pulse { 0%, 62% { box-shadow: 0 0 0 0 rgba(213, 197, 112, .6); } 88%, 100% { box-shadow: 0 0 0 12px rgba(213, 197, 112, 0); } }
@keyframes go-nudge { 0%, 62%, 86%, 100% { translate: 0 0; } 72% { translate: 4px -4px; } }
@keyframes go-fly { 0% { translate: 0 0; } 45% { translate: 30px -30px; } 46% { translate: -30px 30px; } 100% { translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .card__go, .card__go svg { animation: none !important; } }

@media (max-width: 700px) {
  .hero__actions { flex-direction: row; gap: 10px; }
  main > .hero .btn, main > .catalog .btn { flex: 1 1 0; width: auto; min-width: 0; min-height: 52px; padding-inline: 8px; line-height: 1.2; }
  main > .catalog .catalog__more { display: flex; gap: 10px; }
  /* every pair of buttons stands side by side; the long phone number takes a line of its own */
  .order__actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .order__actions .btn { min-width: 0; padding-inline: 8px; line-height: 1.2; }
  .order__actions a[href^="tel:"] { grid-column: 1 / -1; order: 1; }
  .ask p { flex: 1 1 100%; }
  .ask .btn { flex: 1 1 100px; min-width: 0; padding-inline: 8px; line-height: 1.2; }
  .bands { padding-top: 16px; }
  .bands__sep { height: 40px; gap: 12px; font-size: var(--fs-xs); }
}

/* ---------- search: the list scrolls, the button under it stays ---------- */
.search[open] { display: flex; flex-direction: column; max-height: min(720px, calc(100dvh - 110px)); overflow: hidden; }
.search__form { flex: none; }
.search__results { flex: 1 1 auto; min-height: 0; align-content: start; overflow-y: auto; overscroll-behavior: contain; }
.search__more { flex: none; padding-top: 10px; }
.search__all { display: block; width: 100%; min-height: 52px; border: 1px solid rgba(213, 197, 112, .6); border-radius: var(--r-pill); background: rgba(213, 197, 112, .16); color: var(--gold-light); font-size: var(--fs-m); }
.search__all:hover { border-color: var(--gold-light); background: rgba(213, 197, 112, .26); }
@media (max-width: 600px) { .search[open] { max-height: 100dvh; height: 100dvh; } }

/* ---------- product window ---------- */
/* the button to buy is a button, not a stripe across the window */
@media (min-width: 601px) {
  .product__bar { justify-content: flex-end; }
  .product__bar .btn--gold { flex: 0 1 280px; }
  .product__bar .btn--ghost { flex: 0 0 160px; }
}
.product__panels:not(:has([data-panel]:not([hidden]))) { display: none; }
.product__body > .product__panels { grid-column: 1 / -1; margin-top: -14px; }
.product__panel { padding: 16px 18px; border: 1px solid rgba(213, 197, 112, .4); border-radius: var(--r-m); background: #12110b; }
.product__panel ul { display: grid; gap: 8px; list-style: none; }
.product__panel li { position: relative; padding-left: 20px; color: #d8d5c6; font-size: var(--fs-s); }
.product__panel li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.product__panel p { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.product__panel p a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold); font-size: var(--fs-s); font-weight: 700; }
.product__panel p:not(:has(a:not([hidden]))) { display: none; }
.product__state { position: relative; align-items: center; }
.hint { display: inline-flex; }
.hint__mark { display: inline-flex; align-items: center; gap: 8px; border: 0; font-family: inherit; line-height: inherit; cursor: help; }
.hint__mark i { display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid currentColor; border-radius: 50%; font-style: normal; font-size: 11px; font-weight: 800; line-height: 1; }
.hint__text { position: absolute; z-index: 5; left: 0; top: calc(100% + 8px); width: min(340px, 100%); padding: 12px 14px; border: 1px solid #6d4a22; border-radius: var(--r-s); background: #1d140a; color: #eddcc3; font-size: var(--fs-s); font-weight: 500; line-height: 1.45; text-align: left; box-shadow: 0 14px 34px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; translate: 0 -4px; transition: opacity .15s, translate .15s, visibility .15s; }
.hint__mark:focus-visible + .hint__text, .hint__mark[aria-expanded="true"] + .hint__text { opacity: 1; visibility: visible; translate: 0 0; }
@media (hover: hover) { .hint__mark:hover + .hint__text { opacity: 1; visibility: visible; translate: 0 0; } }
@media (pointer: coarse) { .hint__mark { min-height: 40px; } }
@media (max-width: 900px) { .product__body > .product__panels, .productpage__box .product__panels { margin-top: 10px; } }
@media (orientation: landscape) and (max-height: 520px) { .product__body > .product__panels { grid-column: 2; margin-top: 0; } }

/* ---------- an arrow back to the top ---------- */
.totop { position: fixed; z-index: 40; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(213, 197, 112, .6); border-radius: 50%; background: rgba(14, 13, 9, .95); color: var(--gold-light); box-shadow: 0 10px 28px rgba(0, 0, 0, .55); cursor: pointer; transition: opacity .2s, translate .2s, visibility .2s; }
.totop svg { width: 22px; height: 22px; }
.totop:not(.is-on) { visibility: hidden; opacity: 0; translate: 0 10px; }
.totop:hover { border-color: var(--gold-light); }
/* it steps aside while the keyboard of a phone is up, and under an open menu */
@media (pointer: coarse) { body:has(input:focus, textarea:focus) .totop { display: none; } }
body:has(.nav.is-open) .totop { display: none; }

/* ---------- filters: several values; a phone has one button and a sheet ---------- */
.sort-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.filters__open { display: none; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 20px; border: 1px solid #2f2c1c; border-radius: var(--r-pill); background: #0e0d09; color: var(--text); font: inherit; font-size: var(--fs-m); font-weight: 700; cursor: pointer; }
.filters__open svg { width: 22px; height: 22px; color: var(--gold); }
.filters__open em { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: var(--r-pill); background: var(--gold); color: var(--on-gold); font-style: normal; font-size: var(--fs-xs); }
/* where the button is only as wide as its words, its number goes to the corner too */
@media (min-width: 761px) {
  .toolbar .filters__open { position: relative; }
  .toolbar .filters__open em { position: absolute; top: -7px; right: -2px; min-width: 20px; height: 20px; box-shadow: 0 0 0 2px #17181a; }
}
.facet-pop__item { justify-content: flex-start; gap: 12px; white-space: nowrap; }
.facet-pop__item::before { content: ""; flex: none; display: block; width: 18px; height: 18px; border: 1.500px solid #6d6330; border-radius: 6px; }
.facet-pop__item[aria-pressed="true"] { color: var(--gold-light); font-weight: 700; }
.facet-pop__item[aria-pressed="true"]::before { content: "✓"; display: grid; place-items: center; border-color: var(--gold); background: var(--gold); color: var(--on-gold); font-size: 12px; font-weight: 800; }
.sheet { width: min(560px, 100%); max-width: 100%; max-height: 86dvh; margin: auto auto 0; padding: 0; border: 1px solid #35321f; border-bottom: 0; border-radius: var(--r-l) var(--r-l) 0 0; background: #0e0d09; color: var(--text); overflow: hidden; }
.sheet[open] { display: flex; flex-direction: column; animation: sheet-up .28s ease-out; }
.sheet::backdrop { background: rgba(0, 0, 0, .65); }
@keyframes sheet-up { from { translate: 0 40px; opacity: .4; } }
html:has(.sheet[open]) { overflow: hidden; }
.sheet__head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.sheet__head h2 { font-size: var(--fs-xl); }
.sheet__head h2:focus { outline: 0; }
.sheet__close { width: 44px; height: 44px; border: 1px solid #35321f; border-radius: 50%; background: none; color: var(--text); font-size: var(--fs-xl); line-height: 1; cursor: pointer; }
.sheet__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px 18px 14px; }
.sheet__group { min-width: 0; padding: 14px 0 4px; border: 0; }
.sheet__group + .sheet__group { border-top: 1px solid var(--line); }
.sheet__group legend { float: left; width: 100%; margin-bottom: 10px; color: var(--muted); font-size: var(--fs-s); }
.sheet__group > div { clear: both; display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 8px; }
.sheet__chip { min-height: 44px; padding: 0 16px; border: 1px solid #2f2c1c; border-radius: var(--r-pill); background: #000; color: var(--text); font: inherit; font-size: var(--fs-s); font-weight: 600; cursor: pointer; }
.sheet__chip[aria-pressed="true"] { border-color: var(--gold); background: rgba(213, 197, 112, .18); color: var(--gold-light); }
.sheet__chip[aria-pressed="true"]::before { content: "✓ "; }
.sheet__foot { flex: none; display: flex; gap: 10px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.sheet__foot .btn--ghost { flex: 0 0 auto; padding-inline: 22px; }
.sheet__foot .btn--gold { flex: 1; }
/* touch screens and narrow windows use the sheet instead of the little lists */
@media (pointer: coarse), (max-width: 900px) {
  .filters__list { display: none; }
  .filters__open { display: flex; }
}
.no-popover .filters__list { display: none; }
.no-popover .filters__open { display: flex; }
@media (max-width: 760px) {
  /* the categories wrap, so all of them are in sight */
  .toolbar .tools.lg.lg, .tabbar.lg.lg { min-height: 0; padding: 0; border: 0; background: none; box-shadow: none; }
  .toolbar .tools.lg.lg::before, .toolbar .tools.lg.lg::after, .tabbar.lg.lg::before, .tabbar.lg.lg::after { display: none; }
  .toolbar .tools .tabs, .tabbar .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; overflow: visible; padding-right: 0; -webkit-mask-image: none; mask-image: none; }
  .toolbar .tools .tab, .tabbar .tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 0; min-height: 50px; padding: 6px 2px; border: 1px solid #2f2c1c; border-radius: var(--r-s); background: #0e0d09; font-size: var(--fs-s); line-height: 1.2; text-align: center; }
  .toolbar .tools .tab em { font-size: var(--fs-xs); line-height: 1; }
  .toolbar .tools .tab[aria-pressed="true"], .tabbar .tab[aria-pressed="true"] { border-color: var(--gold); background: rgba(213, 197, 112, .18); color: var(--gold-light); }
  .toolbar .tools .tab::after, .tabbar .tab::after { display: none; }
  /* filters and sorting: two buttons of one size, apart from the categories */
  .toolbar .filters.lg.lg { gap: 10px; min-height: 0; padding: 0; border: 0; background: none; box-shadow: none; }
  .toolbar .filters.lg.lg::before, .toolbar .filters.lg.lg::after { display: none; }
  .toolbar .filters .filters__open, .toolbar .filters .select--sort { flex: 1 1 0; min-width: 0; height: 52px; padding-inline: 0; }
  .toolbar .filters .select--sort { display: flex; align-items: center; justify-content: center; gap: 10px; width: auto; border-radius: var(--r-pill); background-color: #0e0d09; color: var(--text); font-weight: 700; }
  .toolbar .filters .select--sort .sort-icon { color: var(--gold); }
  .toolbar .filters .select--sort.is-sorted { background-color: var(--gold); color: var(--on-gold); }
  .toolbar .filters .select--sort.is-sorted .sort-icon { color: var(--on-gold); }
  .toolbar .filters .select--sort .sort-name { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
}

/* ---------- social buttons: one line each ---------- */
.follow a > span { white-space: nowrap; }
.follow .short { display: none; }
@media (max-width: 420px) { .follow a { gap: 6px; padding-inline: 4px; } .follow i { width: 30px; height: 30px; } }
@media (max-width: 359px) { .follow .long { display: none; } .follow .short { display: inline; } }

/* ---------- a browser that fills a field keeps it dark ---------- */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, textarea:-webkit-autofill, select:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #000 inset; box-shadow: 0 0 0 1000px #000 inset; -webkit-text-fill-color: var(--text); caret-color: var(--text); transition: background-color 100000s 0s; }
input:autofill, textarea:autofill { box-shadow: 0 0 0 1000px #000 inset; color: var(--text); }

/* ---------- phones and tablets: nothing that repaints the screen all the time ---------- */
@media (pointer: coarse), (max-width: 900px) {
  *, *::before, *::after, ::backdrop { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .header__bar.lg.lg, .toolbar .tools.lg.lg { background: rgba(14, 13, 9, .96); }
  .nav { background: #12110d; }
  h1 span, .h1 span, .card__go, .card__go svg, .map__pin::after { animation: none !important; }
  .island .ring { display: none; }
}
@media (max-width: 760px) { .toolbar .tools.lg.lg { background: none; } }

/* ---------- phones: everything one step smaller ---------- */
@media (max-width: 700px) {
  :root { --fs-s: 13px; --fs-m: 15px; --fs-l: 16px; --fs-xl: 20px; --fs-2xl: 24px; --fs-3xl: 32px; --fs-h2: 26px; --fs-title: 30px; --r-m: 16px; --r-l: 22px; }
  h1, .h1 { font-size: 36px; }
  h1 span, .h1 span { white-space: nowrap; }
  .stat--big b { font-size: 60px; }
  .stat { min-height: 94px; padding: 12px 14px; }
  .stat--big { min-height: 134px; padding: 16px; }
  .stat--wide { min-height: 78px; }
  .btn, .hero__actions .btn, main > .hero .btn, main > .catalog .btn { min-height: 48px; }
  .steps i { min-width: 60px; font-size: 44px; }
  .art-warranty p b { font-size: 80px; }
  .way__price b { font-size: 34px; }
  .facts dt { font-size: 56px; }
  .pick { min-height: 80px; gap: 6px; }
  .pick .i { width: 28px; height: 28px; }
  .band { padding: 20px 16px; }
  .card__media { height: 128px; }
  .talk .callback__ways a { min-height: 70px; }
  .footer__logo img { width: min(220px, 100%); }
  .page__back { min-height: 44px; }
  /* fields keep 16px: smaller text makes an iPhone zoom the page */
  .select select, .input input, .input select, .input textarea, .field input, .fb[data-tab="call"] .input input { font-size: 16px; }
}

/* ---------- buyers' reviews: the OLX rating among the figures and a slowly moving row ---------- */
.stat b em { font-style: normal; }
.stat__star { width: .85em; height: .85em; margin-left: .25em; vertical-align: -.04em; }
.reviews { padding-top: 64px; }
.reviews:not(.is-ready) { display: none; }
.reviews h2 { font-size: var(--fs-h2); }
.reviews h2 .gold { color: var(--gold); }
.reviews__row { display: flex; margin-top: 24px; overflow: hidden; }
/* both groups slide by their own width, as the running line at the top does */
.reviews__group { display: flex; flex: none; gap: 14px; padding-right: 14px; list-style: none; animation: ticker var(--time, 240s) linear infinite; }
.reviews__row:hover .reviews__group, .reviews__row:focus-within .reviews__group, .reviews__row:focus .reviews__group { animation-play-state: paused; }
.review { display: flex; flex: none; flex-direction: column; width: 372px; min-height: 144px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card); }
.review__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review__head b { overflow: hidden; color: var(--gold); font-size: var(--fs-l); text-overflow: ellipsis; white-space: nowrap; }
.review__stars { display: flex; flex: none; gap: 1px; color: var(--gold); }
.review__stars svg { width: 19px; height: 19px; }
.review__item { display: flex; gap: 5px; color: var(--muted); font-size: var(--fs-m); white-space: nowrap; }
.review__item span { overflow: hidden; text-overflow: ellipsis; }
.review__item time { flex: none; }
.review__mark { margin-top: 16px; color: #c9c6b8; font-size: var(--fs-m); }
@media (max-width: 600px) { .review { width: 300px; padding: 18px 20px; } }
/* without motion the row stands still and is scrolled by hand */
@media (prefers-reduced-motion: reduce) {
  .reviews__row { overflow-x: auto; }
  .reviews__group[aria-hidden] { display: none; }
}

/* ---------- Trade-in: choose the device, describe it, see the exchange ---------- */
.tin .picks { gap: 12px; }
.tin .pick { flex-direction: row; justify-content: flex-start; gap: 14px; min-height: 76px; padding: 14px 22px; border-color: var(--line); background: var(--card); color: var(--text); font-size: var(--fs-l); }
.tin .pick .i { width: 30px; height: 30px; }
.tin .pick[aria-pressed="true"] { border-color: var(--gold); background: var(--gold); color: var(--on-gold); }
.tin .pick[aria-pressed="true"] .i { color: var(--on-gold); }
.tin__panel { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card); overflow: hidden; }
.tin__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tin__cell { display: grid; align-content: start; gap: 14px; min-width: 0; padding: 28px 32px; }
.tin__cell + .tin__cell { border-left: 1px solid var(--line); }
.tin__label { color: var(--muted); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tin .swap__fields { grid-template-columns: 3fr 2fr; }
.tin__deal { display: grid; grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr); align-items: center; gap: 16px; padding: 24px 32px; border-top: 1px solid var(--line); }
.tin__deal .ticket__arrow { margin: 0; rotate: -90deg; }
.tin__head { border-top: 1px solid var(--line); }
.tin__head .way__price b { font-size: clamp(32px, 4vw, 52px); }
.tin__head .btn { min-width: 260px; }
.tin .ticket__text { margin: 0; padding: 0 32px 16px; }
@media (max-width: 960px) {
  .tin .picks { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tin__row { grid-template-columns: minmax(0, 1fr); }
  .tin__cell + .tin__cell { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .tin .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tin .pick { gap: 10px; min-height: 60px; padding: 10px 14px; font-size: var(--fs-s); }
  .tin__cell, .tin__deal { padding: 20px 18px; }
  .tin .swap__fields { grid-template-columns: minmax(0, 1fr); }
  .tin__deal { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
  .tin__deal .ticket__arrow { rotate: none; justify-self: center; }
  .tin__head .btn { width: 100%; min-width: 0; }
}

/* ---------- the end of a page: call, write or ask to be called ---------- */
.reach { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 72px; padding: 28px; border: 1px solid rgba(213, 197, 112, .38); border-radius: var(--r-l); background: radial-gradient(ellipse 60% 120% at 50% 0, rgba(213, 197, 112, .18), transparent 70%), var(--card); }
.reach__head { grid-column: 1 / -1; margin-bottom: 10px; text-align: center; }
.reach__head h3 { margin-bottom: 8px; font-size: var(--fs-2xl); line-height: 1.15; }
.reach__head p { color: #b9b6a8; }
.reach__head .order__terms { margin: 0 0 0 12px; }
.reach > a, .reach > button { display: flex; align-items: center; gap: 16px; min-width: 0; min-height: 86px; padding: 14px 18px; border: 1px solid #2f2c1c; border-radius: var(--r-m); background: rgba(0, 0, 0, .55); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s; }
.reach > a:hover, .reach > button:hover { border-color: var(--gold); }
.reach i { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-s); background: rgba(213, 197, 112, .14); color: var(--gold); }
.reach span { display: grid; min-width: 0; }
.reach small { color: var(--muted); font-size: var(--fs-s); }
.reach b { font-size: var(--fs-l); }
/* narrower than that, three cards in a row would squeeze the phone number */
@media (max-width: 960px) {
  .reach { grid-template-columns: minmax(0, 1fr); margin-top: 48px; padding: 22px 16px 16px; }
  .reach > a, .reach > button { min-height: 72px; }
}

/* ---------- repair and services: what we repair, what we glue, engraving, questions ---------- */
.mx { border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card); overflow: hidden; }
.mx table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.mx thead th:first-child { width: 38%; text-align: left; color: var(--muted); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; }
.mx th, .mx td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.mx th:first-child { padding-left: 32px; text-align: left; }
.mx thead th { font-size: var(--fs-m); vertical-align: bottom; }
.mx thead .i { display: block; width: 30px; height: 30px; margin: 0 auto 8px; color: var(--gold); }
.mx tbody th { font-size: var(--fs-m); font-weight: 600; }
.mx tbody th small { margin-left: 8px; color: var(--gold-light); font-size: var(--fs-s); font-weight: 800; }
.mx tbody tr:not(.mx__group):hover { background: rgba(213, 197, 112, .07); }
.mx td b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--on-gold); font-size: var(--fs-s); }
.mx td i { color: #4a473c; font-style: normal; }
.mx .mx__group th { padding-top: 24px; color: var(--gold); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; }
.mx tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 600px) {
  .mx thead th:first-child { width: 40%; font-size: 10px; }
  .mx th, .mx td { padding: 12px 1px; }
  .mx th:first-child { padding-left: 12px; padding-right: 6px; }
  .mx thead th span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .mx thead .i { width: 22px; height: 22px; margin-bottom: 0; }
  .mx tbody th { font-size: var(--fs-xs); overflow-wrap: anywhere; }
  .mx tbody th small { display: block; margin: 0; font-size: var(--fs-xs); }
  .mx td b { width: 22px; height: 22px; font-size: 11px; }
  .mx .mx__group th { padding-left: 12px; }
}
[data-page="services"] .page__sub { scroll-margin-top: 110px; }
.sv__free { margin: 0 0 12px; }
.sv__hint { margin-top: 14px; color: var(--muted); font-size: var(--fs-s); }
.sv__hint a { color: var(--gold); }
.en { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border: 1px solid var(--line); border-radius: var(--r-l); background: #0d0c0a; overflow: hidden; }
.en__info { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; padding: 40px 36px; color: var(--on-gold); background: linear-gradient(150deg, var(--gold-light), var(--gold) 50%, var(--gold-dark)); }
.en .service__price { font-size: clamp(56px, 7vw, 96px); font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.en .service__price small { display: block; margin-top: 4px; color: #3d350d; font-size: var(--fs-m); font-weight: 600; letter-spacing: 0; }
.en__text { max-width: 380px; color: #2f2909; font-size: var(--fs-l); font-weight: 700; line-height: 1.45; }
.en__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border-radius: var(--r-pill); background: #0d0b04; color: var(--gold-light); font-weight: 700; }
.en__btn:hover { filter: brightness(1.4); }
.en__art { display: flex; align-items: center; justify-content: center; gap: 22px; min-width: 0; min-height: 340px; padding: 32px; overflow: hidden; background: radial-gradient(ellipse 55% 65% at 50% 55%, rgba(213, 197, 112, .24), transparent 72%), #000; }
.en__key { position: relative; flex: none; display: block; aspect-ratio: 1; border: 1px solid #34322a; border-radius: 22%; background: linear-gradient(#201f19, #0d0c09); box-shadow: 0 10px 0 #050504, 0 26px 30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .14); }
.en__key small { position: absolute; left: 16%; top: 10%; color: #d8d6cc; font-weight: 600; }
.en__key b { position: absolute; right: 16%; bottom: 10%; color: var(--gold-light); text-shadow: 0 0 18px rgba(239, 226, 154, .75); }
.en__key--main { width: 200px; }
.en__key--main small { font-size: 46px; }
.en__key--main b { font-size: 72px; animation: en-write 4s ease-in-out infinite; }
.en__key--main i { position: absolute; left: 44%; right: 8%; top: 46%; height: 2px; border-radius: 2px; background: #fff6bd; box-shadow: 0 0 14px 3px rgba(255, 235, 130, .85); opacity: 0; animation: en-laser 4s ease-in-out infinite; }
.en__key--side { width: 130px; opacity: .4; }
.en__key--side small { font-size: var(--fs-2xl); }
.en__key--side b { font-size: var(--fs-3xl); }
@keyframes en-write { 0%, 8% { clip-path: inset(0 0 100% 0); } 55%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes en-laser { 0%, 6% { top: 48%; opacity: 0; } 10% { opacity: 1; } 55% { top: 90%; opacity: 1; } 62%, 100% { top: 90%; opacity: 0; } }
@media (max-width: 860px) {
  .en { grid-template-columns: minmax(0, 1fr); }
  .en__art { order: -1; min-height: 220px; padding: 28px 12px 36px; gap: 12px; }
  .en__key--main { width: 140px; }
  .en__key--main small { font-size: 32px; } .en__key--main b { font-size: 50px; }
  .en__key--side { width: 90px; }
  .en__key--side small { font-size: var(--fs-l); } .en__key--side b { font-size: var(--fs-2xl); }
  .en__info { padding: 28px 20px; }
  .en__btn { width: 100%; }
}
#sv-faq { scroll-margin-top: 110px; }
[data-page="services"] .accordion a { color: var(--gold); text-decoration: underline; }
.kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kinds article { display: flex; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card); }
.kinds__ic { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--r-m); background: rgba(213, 197, 112, .14); color: var(--gold); }
.kinds__ic .i { width: 34px; height: 34px; }
.kinds h4 { margin-bottom: 8px; font-size: var(--fs-xl); line-height: 1.25; }
.kinds p { color: #a5a293; font-size: var(--fs-m); }
@media (max-width: 760px) { .kinds { grid-template-columns: minmax(0, 1fr); } .kinds article { flex-direction: column; padding: 20px 18px; } }

/* ---------- warranty: the three terms, the way to claim, the papers, what is checked ---------- */
.wr__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.wr__facts div { padding: 30px 32px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card); }
.wr__facts div:first-child { border: 0; color: var(--on-gold); background: linear-gradient(150deg, var(--gold-light), var(--gold) 50%, var(--gold-dark)); }
.wr__facts dt { color: var(--gold); font-size: clamp(52px, 5.6vw, 80px); font-weight: 800; letter-spacing: -.05em; line-height: 1; white-space: nowrap; }
.wr__facts dt small { color: var(--text); font-size: var(--fs-xl); letter-spacing: -.02em; }
.wr__facts dd { margin-top: 12px; color: #a5a293; font-size: var(--fs-m); }
.wr__facts div:first-child :is(dt, dt small) { color: var(--on-gold); }
.wr__facts div:first-child dd { color: #2f2909; font-weight: 700; }
.wr__docs { padding: 26px 32px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card); }
.wr__docs h4 { font-size: var(--fs-xl); }
.wr__docs ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; list-style: none; }
.wr__docs li { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 60px; padding: 10px 16px; border: 1px solid #2f2c1c; border-radius: var(--r-m); background: #000; font-weight: 700; line-height: 1.3; }
.wr__docs li .i { color: var(--gold); }
.wr__docs p { margin-top: 14px; color: var(--muted); font-size: var(--fs-s); }
[data-page="warranty"] .rules { margin-top: 0; }
.wr__checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; }
.wr__checks li { padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card); }
.wr__checks i { display: block; margin-bottom: 14px; font: 400 52px/1 Futura, "Jost", "Century Gothic", sans-serif; color: transparent; -webkit-text-stroke: 1.2px var(--gold); }
.wr__checks h4 { margin-bottom: 8px; font-size: var(--fs-l); }
.wr__checks p { color: #a5a293; font-size: var(--fs-s); }
#checks { scroll-margin-top: 110px; }
@media (max-width: 900px) { .wr__checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wr__docs ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .wr__facts { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 24px; }
  .wr__facts div { padding: 22px 20px; }
  .wr__docs { padding: 20px 14px; } .wr__docs ul { gap: 8px; } .wr__docs li { gap: 8px; padding: 8px 10px; font-size: var(--fs-s); }
}
@media (max-width: 560px) { .wr__checks { grid-template-columns: minmax(0, 1fr); gap: 8px; } .wr__checks li { padding: 20px; } }

/* ---------- delivery: three ways side by side, payment, after the purchase ---------- */
.dv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); column-gap: 12px; }
.dv__card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card); overflow: hidden; }
.dv__card header { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.dv__ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-s); background: rgba(213, 197, 112, .14); color: var(--gold); }
.dv__ic .i { width: 28px; height: 28px; }
.dv__card h4 { font-size: var(--fs-xl); line-height: 1.2; }
.dv__card header small { color: var(--muted); font-size: var(--fs-s); }
.dv__price { display: grid; align-content: start; padding: 22px 24px; background: radial-gradient(ellipse 90% 130% at 0 0, rgba(213, 197, 112, .16), transparent 70%); }
.dv__price b { color: var(--gold-light); font-size: clamp(30px, 3.2vw, 42px); letter-spacing: -.04em; line-height: 1.1; }
.dv__price span { font-size: var(--fs-m); font-weight: 700; }
.dv__card dl div { padding: 14px 24px; border-top: 1px solid var(--line); }
.dv__card dl { display: grid; align-content: start; }
.dv__card dt { margin-bottom: 4px; color: var(--muted); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.dv__note { padding: 16px 24px; border-top: 1px solid var(--line); color: #a5a293; font-size: var(--fs-s); }
.dv__card .btn { align-self: end; margin: 0 24px 24px; }
@media (max-width: 960px) {
  .dv { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 12px; }
  .dv__card { grid-row: auto; grid-template-rows: none; }
  .dv__card header, .dv__price { padding: 18px; } .dv__card dl div, .dv__note { padding-inline: 18px; } .dv__card .btn { margin: 0 18px 18px; }
}
.pm { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; list-style: none; }
.pm li { grid-column: span 2; display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 30px 22px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card); text-align: center; transition: border-color .2s; }
.pm li:nth-child(n+4) { grid-column: span 3; }
.pm li:hover { border-color: var(--gold-dark); }
.pm__ic { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 16px; border-radius: 50%; background: rgba(213, 197, 112, .14); color: var(--gold); }
.pm__ic svg { width: 30px; height: 30px; }
.pm h4 { font-size: var(--fs-l); line-height: 1.3; }
.pm b { margin-top: 10px; color: var(--gold-light); font-size: var(--fs-2xl); letter-spacing: -.03em; line-height: 1.15; }
.pm p { max-width: 340px; margin-top: 6px; color: #a5a293; font-size: var(--fs-s); }
@media (max-width: 760px) {
  .pm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pm li, .pm li:nth-child(n+4) { grid-column: span 1; padding: 20px 12px; }
  .pm li:last-child { grid-column: 1 / -1; }
  .pm__ic { width: 46px; height: 46px; margin-bottom: 12px; } .pm__ic svg { width: 24px; height: 24px; }
  .pm h4 { font-size: var(--fs-s); } .pm b { font-size: var(--fs-l); }
}
.af { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; }
.af li { padding: 28px 30px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card); }
.af li:first-child { border: 0; color: var(--on-gold); background: linear-gradient(150deg, var(--gold-light), var(--gold) 50%, var(--gold-dark)); }
.af b { color: var(--gold); font-size: clamp(48px, 5vw, 72px); letter-spacing: -.05em; line-height: 1; white-space: nowrap; }
.af b small { color: var(--text); font-size: var(--fs-xl); letter-spacing: -.02em; }
.af p { margin-top: 10px; color: #a5a293; font-size: var(--fs-m); }
.af li:first-child :is(b, b small) { color: var(--on-gold); }
.af li:first-child p { color: #2f2909; font-weight: 700; }
.af__more { display: inline-block; margin-top: 12px; padding-block: 8px; color: var(--gold); font-weight: 600; }
[data-page="delivery"] .accordion a { color: var(--gold); text-decoration: underline; }
@media (max-width: 760px) { .af { grid-template-columns: minmax(0, 1fr); gap: 8px; } .af li { padding: 22px 20px; } }

/* ---------- the pages of the catalog ---------- */
#all-grid:focus { outline: 0; }
.pager { margin-top: 32px; text-align: center; }
.pager__row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; }
.pager button { display: grid; place-items: center; min-width: 48px; height: 48px; padding: 0 12px; border: 1px solid #2f2c1c; border-radius: var(--r-pill); background: #0d0c0a; color: var(--text); font: inherit; font-size: var(--fs-m); font-weight: 700; cursor: pointer; transition: border-color .2s; }
.pager button:hover { border-color: var(--gold); }
.pager button[aria-current] { border-color: var(--gold); background: var(--gold); color: var(--on-gold); }
.pager .pager__step { color: var(--gold); }
.pager button:disabled { border-color: #2f2c1c; opacity: .35; cursor: default; }
.pager svg { width: 20px; height: 20px; }
.pager__gap { min-width: 24px; color: var(--muted); }
.pager__count { margin-top: 12px; color: var(--muted); font-size: var(--fs-s); }
@media (max-width: 600px) { .pager__row { gap: 6px; } .pager button { min-width: 40px; height: 44px; padding: 0 8px; } .pager__gap { min-width: 12px; } }

/* ---------- frequent questions: a heading in the middle, every question in a card of its own ---------- */
.faq { max-width: 860px; margin: 80px auto 0; text-align: center; }
.faq h3 { font-size: var(--fs-h2); }
.faq h3 .gold { color: var(--gold); }
.faq h3::after { content: ""; display: block; width: 84px; height: 4px; margin: 18px auto 0; border-radius: 4px; background: var(--gold); }
.faq .accordion { display: grid; gap: 14px; margin-top: 34px; border: 0; text-align: left; }
.faq .accordion details { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--card); transition: border-color .2s; }
.faq .accordion details:hover { border-color: #4a4424; }
.faq .accordion details[open] { border-color: rgba(213, 197, 112, .5); }
.faq .accordion summary { min-height: 76px; padding: 18px 30px; }
.faq .accordion summary::after { content: "+"; width: auto; height: auto; margin: 0 0 0 auto; border: 0; rotate: none; translate: none; color: var(--gold); font-size: 32px; font-weight: 300; line-height: 1; transition: rotate .25s; }
.faq .accordion details[open] summary::after { rotate: 45deg; translate: none; }
.faq .accordion details > p { max-width: 700px; padding: 0 30px 26px; color: #a9a696; line-height: 1.7; }
@media (max-width: 600px) {
  .faq { margin-top: 48px; }
  .faq .accordion { gap: 8px; margin-top: 24px; }
  .faq .accordion summary { min-height: 60px; padding: 12px 16px; }
  .faq .accordion details > p { padding: 0 16px 18px; }
}

/* ---------- the notice about cookies: a bar over the bottom edge ---------- */
.cookie { position: fixed; z-index: 60; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); translate: -50% 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(960px, 100% - 48px); padding: 12px 14px 12px 26px; border: 1px solid rgba(213, 197, 112, .55); border-radius: var(--r-pill); background: rgba(16, 15, 10, .97); box-shadow: 0 18px 50px rgba(0, 0, 0, .65); font-size: var(--fs-s); line-height: 1.5; }
.cookie[hidden] { display: none; }
.cookie a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.cookie div { display: flex; gap: 10px; }
.cookie .btn.btn { min-height: 44px; padding-inline: 22px; }
/* the arrow to the top would stand on the bar */
body:has(.cookie:not([hidden])) .totop { visibility: hidden; }
@media (max-width: 700px) {
  .cookie { right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); left: 10px; translate: none; flex-direction: column; align-items: stretch; gap: 12px; width: auto; padding: 16px; border-radius: 20px; }
  .cookie .btn.btn { flex: 1; }
}
