/* ---------- robot lab: camera row under the robot, speech bubble, helper dock, fx ---------- */
.hero .hero-hint { position: static; transform: none; animation: none; opacity: 1; margin: 0; }
.hero-ui {
  position: absolute; left: 50%; bottom: 16px; translate: -50% 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: min(92vw, 640px); text-align: center;
  opacity: 0; animation: fadeIn 1s 1.2s var(--ease-out) forwards;
}
.cam {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 6px 6px 18px; border-radius: 999px;
  font-size: 13px; color: var(--graphite);
}
.cam-text { line-height: 1.3; text-align: left; }
.cam-video {
  display: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  transform: scaleX(-1); box-shadow: 0 0 0 2px #fff, 0 4px 10px -4px rgb(60 62 82 / .4);
}
.cam-off {
  display: none; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  font: inherit; font-size: 13px; color: var(--graphite);
  background: rgb(255 255 255 / .6); box-shadow: inset 0 0 0 1px rgb(132 138 160 / .25);
}
.cam[data-state="on"] { padding-left: 6px; }
.cam[data-state="on"] .cam-video { display: block; }
.cam[data-state="on"] .cam-off { display: inline-grid; place-items: center; }
.cam[data-state="on"] .cam-btn,
.cam[data-state="loading"] .cam-btn,
.cam[data-state="asking"] .cam-btn { display: none; }
.cam[data-state="loading"] .cam-text::after { content: ''; display: inline-block; width: 10px; height: 10px; margin-left: 8px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; vertical-align: -1px; }
@keyframes spin { to { transform: rotate(1turn); } }
.cam-note { margin: 0; font-size: 11.5px; color: var(--soft-ink); max-width: 46ch; }
.cam[data-state="on"] ~ .cam-note { display: none; }

.robot-say {
  position: absolute; left: 50%; top: 18%; translate: -50% 8px; z-index: 4;
  padding: 10px 16px; border-radius: 18px 18px 18px 6px; max-width: min(80vw, 340px);
  font-size: 14px; font-weight: 500; color: var(--graphite); text-align: center;
  background: var(--grain), linear-gradient(180deg, rgb(255 255 255 / .85), rgb(250 250 252 / .65));
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgb(132 138 160 / .22), 0 12px 24px -12px rgb(60 62 82 / .35);
  opacity: 0; transition: opacity .35s, translate .5s var(--spring); pointer-events: none;
}
.robot-say.show { opacity: 1; translate: -50% 0; }

/* keep the robot clear of the camera row */
.hero-stage:not(.docked) { inset: 90px 0 120px; }

/* helper dock */
.hero-stage { transition: opacity .25s; }
.hero-stage.docked {
  position: fixed; inset: var(--dock-y, auto) 12px auto auto; width: 150px; height: 180px; z-index: 30;
  animation: dockIn .5s var(--spring); transition: top .5s var(--spring), left .5s var(--spring), right .5s var(--spring), transform .5s var(--spring);
}
.hero-stage.docked[data-side="left"] { inset: var(--dock-y, auto) auto auto 12px; }
.hero-stage.docked[data-side="peek"] { transform: translateX(62%) rotate(-12deg); }
.hero-stage.is-measuring { visibility: hidden; }
.robot-say.at-dock { position: fixed; top: calc(var(--dock-y, 70vh) - 52px); left: auto; right: 16px; translate: 0 8px; z-index: 31; }
.robot-say.at-dock.show { translate: 0 0; }
.robot-say.at-dock[data-side="left"] { right: auto; left: 16px; }
.robot-say.at-dock[data-side="peek"] { display: none; }
@keyframes dockIn { from { transform: scale(.4); opacity: 0; } }

.fx-layer { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 60; pointer-events: none; }

@media (max-width: 700px) {
  .cam { font-size: 12px; padding-left: 14px; }
  .hero-stage.docked { width: 110px; height: 132px; }
}

/* nav: no raised tab, only the lamp light gliding with the cursor */
.nav-pill { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transition: none; }
.nav-pill::after { width: 90%; height: 100%; }
.cam[data-state="on"] .cam-video { display: none; }
.cam[data-state="on"] { padding-left: 18px; }

/* ---------- checkout window ---------- */
.buy { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; }
.buy[hidden] { display: none; }
.buy-backdrop { position: absolute; inset: 0; background: rgb(240 240 246 / .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: fadeIn .3s; }
.buy-card {
  position: relative; width: min(460px, 100%); padding: 30px 30px 24px; border-radius: 32px;
  display: flex; flex-direction: column; gap: 14px; animation: buyIn .5s var(--spring);
}
@keyframes buyIn { from { transform: translateY(18px) scale(.96); opacity: 0; } }
.buy-x { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; font: inherit; color: var(--graphite); background: rgb(255 255 255 / .6); box-shadow: inset 0 0 0 1px rgb(132 138 160 / .25); }
.buy-card .tag { align-self: flex-start; position: relative; inset: auto; transform: none; margin: 0; }
.buy-title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.05; letter-spacing: -.015em; }
.buy-sub { margin: 0; color: var(--soft-ink); font-size: 14.5px; }
.buy-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.buy-price b { font-size: 26px; font-weight: 600; }
.buy-price span { font-size: 12.5px; color: var(--soft-ink); }
.buy-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--soft-ink); }
.buy-field input {
  height: 50px; padding: 0 18px; border-radius: 16px; border: 0; font: inherit; font-size: 15.5px; color: var(--graphite);
  background: rgb(255 255 255 / .7); box-shadow: inset 0 0 0 1px rgb(132 138 160 / .28), inset 0 2px 4px rgb(60 62 82 / .06);
  outline: none; transition: box-shadow .2s;
}
.buy-field input:focus { box-shadow: inset 0 0 0 1.5px rgb(120 100 190 / .55), 0 0 0 4px rgb(201 189 242 / .35); }
.buy-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--soft-ink); cursor: pointer; }
.buy-check input { margin-top: 2px; width: 18px; height: 18px; accent-color: #6d5bd0; }
.buy-check a { color: var(--graphite); text-decoration: underline; text-underline-offset: 2px; }
.buy-pay { height: 54px; font-size: 16px; font-weight: 600; justify-content: center; }
.buy-note { margin: 0; font-size: 12px; color: var(--soft-ink); text-align: center; line-height: 1.5; }

.buy-card { max-height: calc(100svh - 40px); overflow-y: auto; }
.buy-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 14px; color: var(--graphite); }
.buy-list li { position: relative; padding-left: 26px; }
.buy-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%236d5bd0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
  box-shadow: inset 0 0 0 1px rgb(132 138 160 / .3), 0 2px 4px -2px rgb(60 62 82 / .3); }
.buy-uah { font-size: 12.5px; color: var(--soft-ink); }
.buy-fix { align-self: flex-start; border: 0; padding: 4px 10px; border-radius: 999px; font: inherit; font-size: 12.5px; cursor: pointer; color: #5a49b8; background: rgb(201 189 242 / .35); }
.buy-err { font-style: normal; font-size: 12px; color: #b4476a; }
.buy-promo { font-size: 13px; color: var(--soft-ink); }
.buy-promo summary { cursor: pointer; width: max-content; list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.buy-promo summary::-webkit-details-marker { display: none; }
.buy-promo-row { display: flex; gap: 8px; margin-top: 8px; }
.buy-promo-row input { flex: 1; height: 42px; padding: 0 14px; border-radius: 14px; border: 0; font: inherit; font-size: 14px; text-transform: uppercase; color: var(--graphite); background: rgb(255 255 255 / .7); box-shadow: inset 0 0 0 1px rgb(132 138 160 / .28); outline: none; }
.buy-promo-msg { display: block; margin-top: 6px; font-style: normal; font-size: 12px; }
.buy-legal { margin: -4px 0 0; font-size: 11.5px; color: var(--soft-ink); text-align: center; line-height: 1.45; }
.buy-legal a { color: var(--graphite); text-decoration: underline; text-underline-offset: 2px; }
.buy-methods { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pm { display: inline-flex; align-items: center; gap: 3px; height: 26px; padding: 0 9px; border-radius: 8px; font-size: 12px; font-weight: 600; color: #1d1c22;
  background: #fff; box-shadow: inset 0 0 0 1px rgb(132 138 160 / .3); }
.pm svg { width: 11px; height: 13px; fill: currentColor; margin-top: -1px; }
.pm-apple, .pm-mono { background: #111; color: #fff; box-shadow: none; }
.pm-mono { letter-spacing: -.02em; }
.buy-pay:disabled { opacity: .55; cursor: not-allowed; }
.buy-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--soft-ink); cursor: pointer; }
.buy-check input { margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: #6d5bd0; }
.buy-check a { color: var(--graphite); text-decoration: underline; text-underline-offset: 2px; }
.buy-fail { margin: -4px 0 0; padding: 10px 14px; border-radius: 14px; font-size: 12.5px; line-height: 1.45; color: #9b3456; background: rgb(255 214 228 / .55); text-align: center; }

/* ---------- products: featured channel + pill cards ---------- */
.hero-card{position:relative;display:grid;grid-template-columns:240px 1fr auto;gap:40px;align-items:center;padding:34px 40px;border-radius:40px;margin-bottom:22px}
.badge{position:absolute;top:-13px;left:40px;padding:6px 14px;border-radius:999px;font-size:12px;font-weight:600;color:#fff;background:#26252c;box-shadow:0 6px 14px -6px rgb(38 37 44/.6)}
.hero-card h3{margin:0 0 10px;font-family:var(--serif);font-weight:500;font-size:40px;line-height:1;letter-spacing:-.02em}
.hero-card p{margin:0 0 16px;color:var(--soft-ink);font-size:15.5px;max-width:46ch}
.hero-card ul{margin:0;padding:0;list-style:none;display:grid;gap:6px;font-size:14px}
.hero-card li::before{content:"✓";color:#6d5bd0;margin-right:8px;font-weight:700}
.buybox{display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.buybox b{font-size:34px}
.buybox span{font-size:12px;color:var(--soft-ink)}
.big{height:56px;padding:0 34px;font-size:16px;font-weight:600}
.pills{display:grid;gap:14px}
.pill{display:grid;grid-template-columns:64px 1fr auto auto;gap:22px;align-items:center;padding:14px 16px 14px 14px;border-radius:999px}
.ic{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(180deg,#fff,#eceaf3);box-shadow:inset 0 0 0 1px rgb(132 138 160/.22),0 6px 12px -6px rgb(60 62 82/.35)}
.ic svg{width:30px;height:30px;fill:none;stroke:#26252c;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.pill h4{margin:0 0 3px;font-size:17px;font-weight:600}
.pill p{margin:0;font-size:13.5px;color:var(--soft-ink)}
.tagx{font-size:11.5px;font-weight:600;color:var(--soft-ink);padding:4px 10px;border-radius:999px;background:rgb(255 255 255/.7);box-shadow:inset 0 0 0 1px rgb(132 138 160/.25);margin-right:8px}
.price2{font-weight:600;font-size:15px;white-space:nowrap}
.soon{color:var(--soft-ink);font-weight:500}
.free{background:linear-gradient(90deg,rgb(214 245 226/.85),rgb(255 255 255/.6) 60%)!important}
.freeb{font-size:13px;font-weight:700;color:#fff;background:#3f9a66;padding:6px 14px;border-radius:999px;box-shadow:0 6px 12px -6px rgb(63 154 102/.7)}

.products .hero-card svg{max-width:100%;height:auto}
@media (max-width: 900px){
  .hero-card{grid-template-columns:1fr;gap:18px;padding:30px 24px;text-align:left}
  .hero-card > svg{width:150px;justify-self:center}
  .buybox{align-items:stretch}
  .buybox .big{width:100%}
  .pill{grid-template-columns:52px 1fr;border-radius:28px;row-gap:10px}
  .pill .ic{width:52px;height:52px}
  .pill .price2,.pill .freeb{grid-column:2;justify-self:start}
  .pill .btn{grid-column:1 / -1}
}
/* hero: text and camera row below the robot, never over it */
.hero-stage:not(.docked) { inset: 90px 0 200px; }
.see-products { margin-top: 2px; }
.products { scroll-margin-top: 110px; } @media (max-width: 900px){ .products { scroll-margin-top: 150px; } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(28px, 5vw, 72px);
  grid-template-areas: "title lead" "video video" "cards cards" "tools brands";
  max-width: 1240px; margin: 0 auto; box-sizing: content-box;
  padding: clamp(70px, 10vh, 120px) var(--pad); border-top: 1px solid rgba(35,36,39,.08); scroll-margin-top: 90px; }
.about-body { display: contents; }
.about-body h2 { grid-area: title; align-self: end; margin: 0 0 28px; font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 6vw, 72px); line-height: 1; letter-spacing: -.02em; }
.about-lead { grid-area: lead; align-self: end; margin: 0 0 30px; font-size: 18px; line-height: 1.55; color: #3b3a44; max-width: 52ch; }
.about-video { grid-area: video; margin: 0 0 22px; padding: 10px; border-radius: 34px; }
.about-video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 26px; background: #e9e7ee; pointer-events: none; }
.about-cards { grid-area: cards; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.about-card { padding: 18px 18px 20px; border-radius: 24px; display: flex; flex-direction: column; gap: 6px; }
.about-card b { font-size: 15px; line-height: 1.3; }
.about-card span { font-size: 13.5px; line-height: 1.45; color: var(--soft-ink); }
.about-tools { grid-area: tools; align-self: start; display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 30px; }
.about-tools span { padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--graphite);
  background: rgb(255 255 255 / .65); box-shadow: inset 0 0 0 1px rgb(132 138 160 / .25); }
.about-brands { grid-area: brands; }
.about-brands p { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: #3b3a44; max-width: 56ch; }
.about-links { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .about { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "lead" "video" "cards" "tools" "brands"; }
  .about-body h2 { margin-bottom: 14px; }
  .about-lead { margin-bottom: 24px; }
  .about-video { padding: 7px; border-radius: 26px; }
  .about-video video { border-radius: 20px; }
  .about-cards { grid-template-columns: 1fr; }
}

/* ---------- video player ---------- */
.vid { position: fixed; inset: 0; z-index: 75; display: grid; place-items: center; padding: 20px; }
.vid[hidden] { display: none; }
.vid-backdrop { position: absolute; inset: 0; background: rgb(28 26 34 / .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: fadeIn .3s; }
.vid-card { position: relative; width: min(460px, 100%); padding: 30px; border-radius: 32px; animation: buyIn .5s var(--spring); transition: width .55s var(--spring), padding .4s; }
.vid.playing .vid-card { width: min(1100px, 100%); padding: 14px 14px 12px; }
.vid.playing .vid-card .buy-x { top: 22px; right: 22px; z-index: 3; background: rgb(255 255 255 / .85); }
.vid-pick { display: flex; flex-direction: column; gap: 12px; }
.vid-pick .tag { align-self: flex-start; position: relative; inset: auto; transform: none; margin: 0; }
.vid-langs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.vid-lang { height: 58px; justify-content: center; gap: 8px; font-size: 15.5px; font-weight: 600; }
.vid-flag { font-size: 20px; }
.vid-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #0e0d12; }
.vid-video { width: 100%; height: 100%; display: block; background: #0e0d12; }
.vid-loading { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; transition: opacity .3s; }
.vid-loading i { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgb(255 255 255 / .85); border-right-color: transparent; animation: spin .8s linear infinite; }
.vid-frame.ready .vid-loading { opacity: 0; }
.vid-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 8px 2px; font-size: 13px; color: var(--soft-ink); }
.vid-switch { border: 0; background: none; font: inherit; color: var(--graphite); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 700px) { .vid { padding: 10px; } .vid.playing .vid-card { padding: 8px 8px 6px; border-radius: 22px; } .vid-frame { border-radius: 16px; } }
.vid-lang.is-pref { box-shadow: inset 0 0 0 1.5px rgb(120 100 190 / .55), 0 8px 16px -8px rgb(60 62 82 / .35); }
.vid-pick[hidden], .vid-stage[hidden] { display: none; }
.vid.playing .vid-card { width: min(1100px, 100%, calc((100svh - 110px) * 16 / 9 + 28px)); }

/* ---------- footer contact ---------- */
.footer-main .footer-contact { display: flex; flex-direction: column; gap: 4px; }
.footer-contact span { font-size: 12.5px; letter-spacing: .02em; color: var(--soft-ink); }
.footer-contact a { width: fit-content; font-size: 17px; font-weight: 500; color: var(--graphite);
  border-bottom: 1px solid rgb(35 36 39 / .22); padding-bottom: 1px; transition: border-color .25s; }
.footer-contact a:hover { border-color: rgb(35 36 39 / .7); }

/* ---------- product details + checkout per product ---------- */
.buy-info { display: flex; flex-direction: column; gap: 14px; }
.buy-info[hidden], .buy-note[hidden] { display: none; }
.buy-lang { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--soft-ink); }
.buy-lang-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.buy-lang label { position: relative; cursor: pointer; }
.buy-lang input { position: absolute; opacity: 0; pointer-events: none; }
.buy-lang b { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 16px; font-size: 14.5px; font-weight: 600; color: var(--graphite);
  background: rgb(255 255 255 / .6); box-shadow: inset 0 0 0 1px rgb(132 138 160 / .28); transition: box-shadow .2s, background .2s; }
.buy-lang input:checked + b { background: #fff; box-shadow: inset 0 0 0 1.5px rgb(120 100 190 / .7), 0 8px 16px -10px rgb(60 62 82 / .45); }
.buy-lang input:focus-visible + b { outline: 2px solid #6d5bd0; outline-offset: 2px; }
.buy-lang.need b { box-shadow: inset 0 0 0 1.5px rgb(180 71 106 / .6); }

.prod { position: fixed; inset: 0; z-index: 69; display: grid; place-items: center; padding: 20px; }
.prod[hidden] { display: none; }
.prod-card { position: relative; width: min(760px, 100%); max-height: calc(100svh - 40px); overflow-y: auto; padding: 30px 30px 26px; border-radius: 32px;
  display: flex; flex-direction: column; gap: 14px; animation: buyIn .5s var(--spring); }
.prod-card .tag { align-self: flex-start; position: relative; inset: auto; transform: none; margin: 0; }
.prod-card .buy-sub { max-width: 60ch; }
.prod-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 20px) / 3.3); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 4px -30px 0; padding: 0 30px 6px; scroll-padding: 0 30px; scrollbar-width: thin; }
.prod-gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 20px; scroll-snap-align: start; background: #f4f4f7;
  box-shadow: 0 0 0 1px rgb(132 138 160 / .18), 0 12px 24px -16px rgb(60 62 82 / .4); }
.prod-gallery:focus-visible { outline: 2px solid #6d5bd0; outline-offset: 4px; }
.prod-cap { margin: -4px 0 4px; font-size: 12px; color: var(--soft-ink); }
.prod-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.prod-cols h4 { margin: 0 0 10px; font-size: 15px; font-weight: 600; }
.prod-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 9px; font-size: 14px; color: var(--graphite); }
.prod-steps li { position: relative; padding-left: 32px; line-height: 1.45; counter-increment: s; }
.prod-steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #5a49b8; background: rgb(201 189 242 / .45); }
.prod-buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; padding-top: 18px; border-top: 1px solid rgb(35 36 39 / .08); }
.prod-buy .buy-price { flex-direction: column; align-items: flex-start; gap: 2px; }
.prod-uah { font-size: 12.5px; color: var(--soft-ink); }
.prod-buy .btn { min-width: 180px; justify-content: center; }
@media (max-width: 700px) {
  .prod { padding: 10px; }
  .prod-card { padding: 24px 20px 20px; border-radius: 26px; }
  .prod-gallery { grid-auto-columns: 62%; margin: 4px -20px 0; padding: 0 20px 6px; scroll-padding: 0 20px; }
  .prod-cols { grid-template-columns: 1fr; gap: 18px; }
  .prod-buy .btn { flex: 1; }
}
.prod-card > *, .buy-card > * { flex-shrink: 0; }
.pricebox { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.pricebox .card-uah, .prod-buy .card-uah { font-size: 12px; font-weight: 400; color: var(--soft-ink); }
@media (max-width: 900px) { .pill .pricebox { align-items: flex-start; } }

/* details window: the card stays still, only its inside scrolls; gallery scrolls sideways with arrows */
.prod-card { display: block; padding: 0; overflow: hidden; max-height: none; }
.prod-card .buy-x { z-index: 3; }
.prod-in { max-height: calc(100svh - 40px); overflow: hidden auto; overscroll-behavior: contain; padding: 30px 30px 26px;
  display: flex; flex-direction: column; gap: 14px; scrollbar-width: thin; scrollbar-color: rgb(132 138 160 / .35) transparent; }
.prod-in > * { flex-shrink: 0; }
.prod-in .tag { align-self: flex-start; position: relative; inset: auto; transform: none; margin: 0; }
.prod-gal { position: relative; margin-top: 4px; }
.prod-gal .prod-gallery { margin: 0; padding: 0; scroll-padding: 0; overflow: auto hidden; scrollbar-width: none; overscroll-behavior-x: contain; }
.prod-gal .prod-gallery::-webkit-scrollbar { display: none; }
.gal-nav { position: absolute; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgb(255 255 255 / .9); box-shadow: 0 0 0 1px rgb(132 138 160 / .2), 0 8px 18px -8px rgb(60 62 82 / .45); transition: opacity .2s; }
.gal-nav svg { width: 18px; height: 18px; fill: none; stroke: var(--graphite); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.gal-nav.prev { left: 10px; } .gal-nav.next { right: 10px; }
.gal-nav[hidden] { display: none; }
.buy-card { scrollbar-width: thin; scrollbar-color: rgb(132 138 160 / .35) transparent; overflow-x: hidden; }
@media (max-width: 700px) {
  .prod-card { padding: 0; }
  .prod-in { max-height: calc(100svh - 20px); padding: 24px 20px 20px; }
  .prod-gal .prod-gallery { grid-auto-columns: 62%; margin: 0; padding: 0; }
  .gal-nav { width: 34px; height: 34px; }
}

.buy-lang[hidden] { display: none; }
.prod-media video { display: block; width: 100%; aspect-ratio: 1280 / 736; object-fit: cover; border-radius: 20px; background: #1d1c22;
  box-shadow: 0 0 0 1px rgb(132 138 160 / .18), 0 12px 24px -16px rgb(60 62 82 / .4); }
