/* ========== 1. TOKENS ========== */
:root {
  --night: #12062b;
  --purple: #3a0f6b;
  --pink: #ff2e93;
  --pastel: #ffb3d9;
  --cyan: #19e6d6;
  --mint: #9bffd0;
  --orange: #ff9a4d;
  --yellow: #ffd35c;
  --font-logo: "Rubik Mono One", "Arial Black", sans-serif;
  --font-ui: "Russo One", "Arial Black", sans-serif;
  --font-script: "Pacifico", cursive;
  --font-sign: "Comfortaa", "Manrope", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { height: 100%; scroll-padding-top: env(safe-area-inset-top, 0px); }
body {
  margin: 0; height: 100%; overflow: hidden;
  background: var(--night); color: var(--pastel);
  font-family: var(--font-ui);
  -webkit-tap-highlight-color: transparent;
}

/* ========== 2. BACKGROUND OVERLAYS ========== */
#bg { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
/* the shop dims the eclipse (owner 2026-11-25: «каталог — спокійно») */
#bg { transition: filter .6s ease; }
body.is-shop #bg, .nt-boot-shop #bg { filter: brightness(.45) blur(2px); }
.scrim {
  position: fixed; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18,6,43,.82) 0%, rgba(18,6,43,.45) 38%, transparent 62%),
    radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(10,3,24,.7) 100%);
}
.scanlines {
  position: fixed; inset: 0; pointer-events: none; opacity: .12;
  background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0,0,0,.7) 2px 3px);
}

/* ========== 3. LAYOUT (menu «Вибір рівня»: centred column) ========== */
.screen {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-start; align-items: center; text-align: center; /* centred by the auto margins (6a): never cut off at the top */
  padding: 4vh clamp(1.25rem, 6vw, 6rem);
}

/* ========== 4. LOGO ========== */
/* neon sign (owner's pick 2026-10-26 of the title preview, option C): thin glowing tubes, «NEON» pink, «THREADS» cyan with
   a rare flicker, inside a faint sign frame */
.logo { margin: 0; padding: .3em .6em; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.08); line-height: 1.1; white-space: nowrap; }
/* brand NT mark in the admin bar and the shop bar (public/brand: a final asset, never skewed, recoloured or filtered) */
.adm__mark { flex: none; width: auto; height: 2.5rem; }
.logo__word { display: inline-block; font: 700 clamp(1.5rem, 6.4vw, 3.3rem) var(--font-sign); letter-spacing: .08em;
  color: #ffd0e8; text-shadow: 0 0 2px #fff, 0 0 6px var(--pink), 0 0 14px var(--pink), 0 0 30px var(--pink), 0 0 60px rgba(255,46,147,.7); }
.logo__word + .logo__word { margin-left: .3em; color: #d9fffb;
  text-shadow: 0 0 2px #fff, 0 0 6px var(--cyan), 0 0 14px var(--cyan), 0 0 30px var(--cyan), 0 0 60px rgba(25,230,214,.7);
  animation: tubeFlicker 4s steps(1) infinite; }
@keyframes tubeFlicker { 0%, 100% { opacity: 1 } 61% { opacity: .35 } 62% { opacity: 1 } 64% { opacity: .5 } 65% { opacity: 1 } }
@media (prefers-reduced-motion: reduce) { .logo__word + .logo__word { animation: none; } }
.tagline {
  margin: .8rem 0 0; font: 400 clamp(.95rem, 2.2vw, 1.3rem)/1.3 var(--font-script);
  color: #dffffb; text-shadow: 0 0 6px var(--cyan), 0 0 18px var(--cyan);
  animation: signFlicker 2.4s steps(1) .6s both;
}
@keyframes signFlicker {
  0% { opacity: 0 } 10% { opacity: 1 } 14% { opacity: .15 } 22% { opacity: 1 }
  28% { opacity: .4 } 36%, 100% { opacity: 1 }
}

/* ========== 5. MENU «Вибір рівня» (owner's pick 2026-10-21 of the main-menu preview, option B) ==========
   Two «stage» cards (МАГАЗИН, СТВОРИ СВІЙ ДИЗАЙН) in the shop card style + pills for the rest. In a card the button is the
   title and its ::before covers the card (menu.js marks the card .is-active together with its button). */
.menu { display: flex; flex-direction: column; align-items: center; width: min(100%, 52rem); margin-top: clamp(1.6rem, 4.5vh, 2.6rem); }
.menu__stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.7rem, 2.5vw, 2rem); width: 100%; }
.menu__item { background: none; border: 0; padding: 0; margin: 0; cursor: pointer; color: inherit; font: 400 1rem var(--font-ui); letter-spacing: .08em; }
.menu__item[hidden] { display: none; } /* МІЙ ПЕРСОНАЖ: shown to admins only (main.js) */
.menu__item:focus-visible { outline: none; }
.stage { position: relative; display: flex; flex-direction: column; min-width: 0; text-align: left; border-radius: 18px; border: 1px solid rgba(255,179,217,.2);
  background: linear-gradient(160deg, rgba(26,8,54,.82), rgba(58,15,107,.55)); transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.stage__media { position: relative; height: clamp(8rem, 30vh, 18rem); display: grid; grid-template-rows: 100%; place-items: center; overflow: hidden; border-radius: 17px 17px 0 0;
  background: radial-gradient(42% 38% at 34% 42%, rgba(255,46,147,.36), rgba(255,46,147,0) 70%), radial-gradient(42% 38% at 66% 56%, rgba(25,230,214,.26), rgba(25,230,214,0) 70%),
    radial-gradient(70% 55% at 50% 50%, rgba(58,15,107,.5), rgba(58,15,107,0) 80%), rgba(18,6,43,.55); }
.stage__media > img, .stage__media .photo { height: 100%; width: auto; max-width: 100%; transition: transform .6s var(--ease); }
.stage__media > img { object-fit: contain; padding: 4% 0; }
.stage__media .photo { aspect-ratio: 4 / 5; background: none; }
.stage__tag { position: absolute; z-index: 1; left: .8rem; top: .8rem; padding: .25rem .6rem; border-radius: 999px; background: rgba(18,6,43,.8);
  font: 700 .68rem "Manrope", system-ui, sans-serif; letter-spacing: .18em; color: var(--mint); }
.stage__zone { position: absolute; left: 50%; top: 30%; width: 21%; aspect-ratio: 3 / 4; transform: translateX(-50%); display: grid; place-items: center;
  border: 1.5px dashed rgba(25,230,214,.8); border-radius: 3px; font: 400 clamp(1.3rem, 3.2vw, 2.3rem)/1 var(--font-logo); color: var(--cyan); text-shadow: 0 0 14px var(--cyan); }
.stage__txt { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; padding: .9rem 1.1rem 1.1rem; }
.stage .menu__item { text-align: left; font: 400 clamp(.95rem, 2.3vw, 1.45rem)/1.08 var(--font-logo); letter-spacing: 0; color: #fff; }
.stage .menu__item::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; } /* the whole card is the button */
.stage__sub { font: 400 .85rem/1.35 "Manrope", system-ui, sans-serif; color: #ecdcf5; }
.stage__chip { padding: .3rem .7rem; border-radius: 999px; background: rgba(255,211,92,.12); font: 700 .78rem/1.3 "Manrope", system-ui, sans-serif; color: var(--yellow); }
.stage__chip[hidden] { display: none; }
.stage__cursor { position: absolute; z-index: 3; left: 50%; top: -.95rem; opacity: 0; transform: translateX(-50%); padding: .2rem .55rem; border-radius: 4px;
  background: var(--mint); color: var(--night); font: 400 .72rem var(--font-ui); letter-spacing: .1em; pointer-events: none; transition: opacity .2s; }
.stage__cursor::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--mint); }
.stage.is-active { transform: translateY(-6px); border-color: transparent; box-shadow: 0 0 0 2px var(--pink), 4px 4px 0 2px var(--cyan), 0 18px 40px rgba(255,46,147,.3); }
.stage.is-active .stage__media > img, .stage.is-active .stage__media .photo { transform: scale(1.05); }
.stage.is-active .stage__cursor { opacity: 1; animation: stageBob 1s var(--ease) infinite alternate; }
.stage:active { transform: translateY(-6px) scale(.98); }
@keyframes stageBob { to { transform: translate(-50%, -5px); } }
.menu__more { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: clamp(.9rem, 3vh, 1.6rem); }
.menu__more .menu__item { padding: .6rem 1.2rem; border-radius: 999px; border: 1px solid rgba(255,179,217,.35); background: rgba(18,6,43,.55); font-size: .9rem; color: var(--pastel);
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s; }
.menu__more .menu__item.is-active { background: #fff; border-color: #fff; color: var(--night); box-shadow: 3px 3px 0 var(--cyan); }
.menu__more .menu__item:active { transform: scale(.97); }

/* ========== 6. HINT + HUD ========== */
.hint { min-height: 1.5em; margin: .8rem 0 0; font: 400 .88rem "Manrope", system-ui, sans-serif; letter-spacing: .02em; color: var(--mint); transition: opacity .25s; }
.hint.is-alert { color: var(--yellow); }
.hud {
  position: fixed; z-index: 2; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0 clamp(1.25rem, 6vw, 6rem); font-size: .85rem; color: var(--pastel);
}
.hud kbd { font: inherit; padding: .1rem .5rem; border: 1px solid var(--cyan); color: var(--cyan); margin: 0 .2rem; }
.sound {
  background: rgba(18,6,43,.6); border: 1px solid var(--cyan); color: var(--cyan);
  font: inherit; padding: .4rem .9rem; cursor: pointer; transition: box-shadow .25s, background .25s;
}
.sound:hover, .sound:focus-visible { background: rgba(25,230,214,.15); box-shadow: 0 0 14px rgba(25,230,214,.5); outline: none; }

/* ========== 6a. FOOTER LINKS under the main menu: legal / info pages (server-rendered: src/legal-pages.js) ==========
   Low-key on purpose: small muted text at the bottom of the menu screen, not part of the arrow-key menu (Tab reaches
   them). The two auto margins keep the logo + menu block centred in the space above the links. */
.logo { margin-top: auto; }
.legal-links { align-self: stretch; margin-top: auto; padding: 1.4rem 0 3.4rem; }
.legal-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.2rem; }
.legal-links a {
  font: 400 .8rem/1.5 "Manrope", system-ui, sans-serif; letter-spacing: .02em;
  color: rgba(255,179,217,.8); text-decoration: none; text-shadow: 0 1px 3px rgba(10,3,24,.9);
}
.legal-links a:hover, .legal-links a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.legal-links a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
/* social profiles (src/social.js): round neon line icons above the legal links; js/shop.js copies the row into the shop
   (.social--shop: product page, end of the catalog). Hover / focus glows pink and cyan by turns. */
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.legal-links .social { margin-bottom: .8rem; }
.legal-links .social__a { color: var(--pastel); } /* beats the muted legal link colour */
.social__a { position: relative; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid rgba(255,179,217,.4);
  background: rgba(18,6,43,.55); color: var(--pastel); transition: color .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.social__a::after { content: ""; position: absolute; inset: -.3rem; border-radius: 50%; } /* a 48 px hit area */
.social__a svg { width: 1.15rem; height: 1.15rem; }
.social__a:hover, .social__a:focus-visible { transform: translateY(-2px); outline: none; color: #fff; border-color: var(--pink); box-shadow: 0 0 14px rgba(255,46,147,.6); }
.social li:nth-child(even) .social__a:hover, .social li:nth-child(even) .social__a:focus-visible { border-color: var(--cyan); box-shadow: 0 0 14px rgba(25,230,214,.6); }
.legal-links .social__a:hover, .legal-links .social__a:focus-visible { text-decoration: none; }

/* ========== 6b. SHOP SCREEN ========== */
.shop {
  position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column;
  --shop-x: clamp(1.25rem, 6vw, 6rem); padding: calc(env(safe-area-inset-top, 0px) + 3vh) var(--shop-x) 4.5rem;
  background: linear-gradient(90deg, rgba(18,6,43,.9), rgba(18,6,43,.72));
  visibility: hidden; opacity: 0; transform: translateX(40px);
  transition: opacity .4s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
body.is-shop .shop { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.screen { transition: opacity .35s, transform .45s var(--ease); }
body.is-shop .screen { opacity: 0; transform: translateX(-30px); pointer-events: none; }
.shop__bar { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
/* quiet breadcrumb instead of a big «МАГАЗИН» (owner's pick 2026-10-26, option E): NT mark · КАТАЛОГ / <category> (js/shop.js setCrumb) */
.shop__title { margin: 0; flex: 1 1 auto; font: 400 clamp(1.5rem, 4.5vw, 2.6rem) var(--font-logo); transform: skewX(-8deg);
  background: linear-gradient(180deg, #fff1f8, var(--pink) 70%, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(2px 2px 0 var(--cyan)) drop-shadow(0 0 14px rgba(255,46,147,.5)); }
.shop__title--crumb { min-width: 0; display: flex; align-items: center; gap: .7rem; transform: none; filter: none; background: none; color: #cbb7e0;
  font: 600 .95rem/1.2 "Manrope", system-ui, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.shop__title--crumb .adm__mark { height: 2rem; }
.shop__crumb { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop__crumb i { font-style: normal; color: var(--pink); margin: 0 .2em; }
.shop__crumb b { font-weight: 700; color: #fff; }
.btn { background: rgba(18,6,43,.6); border: 1px solid var(--cyan); color: var(--cyan); font: 400 .95rem var(--font-ui); padding: .55rem 1rem; cursor: pointer; transition: box-shadow .25s, background .25s, transform .25s var(--ease); }
.btn:hover, .btn:focus-visible { background: rgba(25,230,214,.15); box-shadow: 0 0 14px rgba(25,230,214,.5); outline: none; transform: translateY(-2px); }
.btn--hot { background: linear-gradient(90deg, var(--pink), var(--orange)); border-color: transparent; color: #fff; box-shadow: 3px 3px 0 var(--cyan); }
@media (max-width: 640px) { .shop__bar { flex-wrap: nowrap; gap: .6rem; } .shop__back-txt { display: none; } .shop__title { font-size: 1.25rem; min-width: 0; } .shop__title--crumb { font-size: .78rem; letter-spacing: .12em; gap: .5rem; } .shop__title--crumb .adm__mark { height: 1.6rem; } #shopBack { padding: .5rem .8rem; } #cartBtn { flex-shrink: 0; white-space: nowrap; padding: .5rem .8rem; } }
.shop__tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0; }
/* shop «Новинка» (owner's pick 2026-10-20 of the shop-menu preview, + card flip and entrance motion) */
.shop__row { display: flex; align-items: center; gap: .8rem; margin: 1.1rem 0 1rem; min-width: 0; }
.shop__row .shop__tabs { flex: 1; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0; padding: 2px; }
.shop__row .shop__tabs::-webkit-scrollbar { display: none; }
.shop__tabs .tab { flex: none; transform: none; border-radius: 999px; padding: .45rem 1rem; font-size: .88rem; white-space: nowrap; }
.shop__tabs .tab small { margin-left: .45rem; font: 400 .75rem "Manrope", system-ui, sans-serif; opacity: .65; }
.shop__tabs a.tab[aria-current="page"] { background: #fff; color: var(--night); box-shadow: none; }
.shop.is-detail .shop__row, .nt-boot-product .shop__row { display: none; }
.tab { background: none; border: 1px solid rgba(255,179,217,.35); color: var(--pastel); font: 400 .95rem var(--font-ui); padding: .45rem 1.1rem; cursor: pointer; transform: skewX(-12deg); transition: all .25s var(--ease); }
.tab:hover, .tab:focus-visible { border-color: var(--pink); outline: none; }
.tab[aria-pressed="true"], .tab[aria-selected="true"], a.tab[aria-current="page"] { background: linear-gradient(90deg, var(--pink), var(--orange)); border-color: transparent; color: #fff; box-shadow: 3px 3px 0 var(--cyan); }
a.tab { display: inline-block; text-decoration: none; } /* category tabs are links (/katalog/<category>) */
.shop__grid { flex: 1; overflow-y: auto; display: grid; gap: 1.2rem 1rem; padding: .4rem 0 1rem; grid-auto-rows: max-content; /* the hero clips (overflow) and must not be squeezed */
  grid-template-columns: repeat(auto-fill, minmax(clamp(11rem, 20vw, 17rem), 1fr)); align-content: start; list-style: none; margin: 0; }
.card { position: relative; min-width: 0; display: flex; flex-direction: column; gap: .5rem; transition: transform .3s var(--ease); }
.card:hover, .card:focus-within { transform: translateY(-4px); }
.card svg { width: 100%; height: auto; aspect-ratio: 4 / 5; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.card h3 { margin: 0; font: 400 .95rem/1.2 var(--font-ui); color: #fff; }
.card__price { color: var(--yellow); font-size: 1.05rem; }
.card .btn { margin-top: auto; }
.cart { position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 22rem); z-index: 3; padding: 1.2rem 1.2rem 5rem; display: flex; flex-direction: column; gap: .8rem;
  background: #1a0836; border-left: 2px solid var(--pink); box-shadow: -8px 0 40px rgba(0,0,0,.6);
  transform: translateX(105%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; }
.cart.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.cart h2 { margin: 0; font: 400 1.3rem var(--font-ui); color: #fff; }
.cart ul { list-style: none; margin: 0; padding: 0; flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: .6rem; }
.cart li { display: flex; align-items: center; gap: .6rem; font-size: .95rem; }
.cart li span:first-child { flex: 1; }
.cart .btn { padding: .25rem .6rem; }
.cart__empty { color: var(--pastel); opacity: .8; }
.cart__total { font-size: 1.15rem; color: var(--yellow); }
.pop { animation: pop .4s var(--ease); }
@keyframes pop { 40% { transform: scale(1.12); box-shadow: 0 0 20px var(--pink); } }
@media (max-width: 640px) { .shop { --shop-x: 1rem; } .shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .7rem; } }

/* ========== 6c. PRODUCT DETAIL ========== */
.card__btn { all: unset; box-sizing: border-box; width: 100%; display: flex; flex-direction: column; gap: .5rem; cursor: pointer; }
.detail { display: none; flex: 1; overflow-y: auto; gap: clamp(1rem, 4vw, 3.5rem); grid-template-columns: minmax(0, 1.4fr) minmax(17rem, 25rem); justify-content: center; align-items: safe center; margin-top: 1rem; padding-bottom: 2rem; }
.shop.is-detail .shop__tabs, .shop.is-detail .shop__grid { display: none; }
.shop.is-detail .detail { display: grid; animation: slideIn .45s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } }
/* the catalog grid and the product view scroll edge to edge: their scrollbar sits at the window's edge like a page's,
   not inside the content (the content keeps its place via padding); js/shop.js passes the wheel over the bar on to them */
.shop__grid, .detail { margin-inline: calc(-1 * var(--shop-x)); padding-left: var(--shop-x); padding-right: var(--shop-x); }
.detail__stage { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; max-height: 62vh; margin: 0 auto; }
.detail__stage::before { content: ""; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(180deg, #fff0a0, #ffb14d 45%, var(--pink)); box-shadow: 0 0 70px rgba(255,46,147,.6);
  -webkit-mask: linear-gradient(#000 0 55%, transparent 55% 58%, #000 58% 70%, transparent 70% 75%, #000 75% 85%, transparent 85% 92%, #000 92%);
          mask: linear-gradient(#000 0 55%, transparent 55% 58%, #000 58% 70%, transparent 70% 75%, #000 75% 85%, transparent 85% 92%, #000 92%); }
.detail__stage svg { position: relative; width: 88%; height: auto; max-height: 100%; filter: drop-shadow(6px 8px 0 rgba(25,230,214,.55)) drop-shadow(0 12px 24px rgba(0,0,0,.6)); }
.garment { transition: fill .35s; }
.detail__cat { color: var(--mint); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.detail__name { margin: .35rem 0 .2rem; font: 400 clamp(1.5rem, 2.6vw, 2.2rem)/1.08 var(--font-ui); color: #fff; letter-spacing: .02em; text-transform: uppercase; }
.detail__colorname { font-size: .9rem; opacity: .75; }
.detail__rule { height: 1px; margin: 1rem 0; background: linear-gradient(90deg, var(--pink), transparent); }
.detail__price { font-size: 1.6rem; color: var(--yellow); margin-bottom: 1rem; }
.opt { margin-bottom: 1.1rem; } .opt__label { margin-bottom: .5rem; color: var(--pastel); }
.opts { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { min-width: 3.3rem; padding: .6rem .8rem; background: none; border: 1px solid rgba(255,179,217,.4); color: var(--pastel); font: 400 1rem var(--font-ui); cursor: pointer; transform: skewX(-12deg); transition: all .25s var(--ease); }
.chip:hover, .chip:focus-visible { border-color: var(--pink); outline: none; transform: skewX(-12deg) translateY(-3px); }
.chip[aria-pressed="true"] { background: linear-gradient(90deg, var(--pink), var(--orange)); border-color: transparent; color: #fff; box-shadow: 3px 3px 0 var(--cyan); }
.swatch { width: 2.6rem; height: 2.6rem; background: var(--sw); border: 2px solid rgba(255,255,255,.35); cursor: pointer; transform: skewX(-12deg); transition: all .25s var(--ease); }
.swatch:hover, .swatch:focus-visible { outline: none; border-color: #fff; transform: skewX(-12deg) translateY(-3px); }
.swatch[aria-pressed="true"] { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--night), 0 0 0 5px var(--cyan), 0 0 16px var(--cyan); }
.btn--lg { font-size: 1.15rem; padding: .95rem 1.8rem; margin-top: .4rem; }
.detail__msg { min-height: 1.4em; color: var(--mint); margin: .8rem 0 0; }
.cart__opt { display: block; font-size: .8rem; opacity: .85; }
.cart__parts { margin-top: .2rem; line-height: 1.35; opacity: .7; }   /* a customer design's price breakdown (js/pricing-core.js describe) */
.cart__opt i { display: inline-block; width: .7rem; height: .7rem; margin-right: .4rem; background: var(--sw); border: 1px solid #fff; }
/* customer-created items: the customer's artwork (transparent PNGs on a light tile so dark artwork stays visible) */
.cart__thumb { flex: none; width: 40px; height: 40px; object-fit: contain; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); }
.adm__design { display: flex; gap: .6rem; align-items: flex-start; margin-top: .4rem; }
.adm__design-thumb { flex: none; width: 80px; height: 80px; object-fit: contain; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); }
.adm__design a { color: inherit; text-decoration: underline; }
/* artwork review: the badge, the confirmation checkbox, the placement schematic (print area + the saved placement) */
.adm__review { display: block; margin: .3rem 0 0; }
.adm__warn { color: var(--yellow); }
.adm__check { margin: .2rem 0 .6rem; }
.adm__places { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-start; }
.adm__place { margin: .5rem 0 0; max-width: 260px; }
.adm__place--mockup { max-width: 340px; width: 100%; cursor: zoom-in; background: #111; border-radius: 4px; }
.adm__place--mockup:focus { max-width: min(900px, 100%); flex-basis: 100%; cursor: zoom-out; outline: 1px solid var(--cyan); }
.adm__place--mockup figcaption { padding: 0 .4rem .4rem; }
.adm__place-svg { display: block; width: 100%; height: auto; }
.adm__place-area { fill: rgba(255,255,255,.08); stroke: var(--cyan); stroke-width: 1; stroke-dasharray: 4 3; }
.adm__place-print { fill: none; stroke: var(--yellow); stroke-width: 1; }
.adm__place figcaption { font-size: .75rem; opacity: .8; margin-top: .25rem; }
@media (max-width: 760px) { .detail { grid-template-columns: 1fr; align-items: start; } .detail__stage { max-height: 38vh; } }

/* ========== 7. RESPONSIVE ========== */
@media (max-width: 640px) {
  .screen { justify-content: flex-start; padding-top: 7vh; padding-inline: 1rem; }
  .hud__keys { display: none; }
  .hud { justify-content: flex-end; }
  .logo { margin-top: 0; }
  .legal-links ul { gap: .25rem 1rem; }
  .legal-links { padding-bottom: 3.6rem; }
  .menu { margin-top: 1.9rem; }
  .stage__media { height: clamp(7rem, 24vh, 12rem); }
  .stage__txt { padding: .65rem .7rem .8rem; gap: .3rem; }
  .stage__sub { display: none; }
  .stage__tag { left: .5rem; top: .5rem; font-size: .6rem; letter-spacing: .12em; }
  .stage__chip { font-size: .7rem; padding: .25rem .55rem; }
  .menu__more .menu__item { font-size: .8rem; padding: .5rem .9rem; }
  .scrim { background: linear-gradient(90deg, rgba(18,6,43,.8), rgba(18,6,43,.35) 80%), radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(10,3,24,.7) 100%); }
}
/* short phones (iPhone SE, small Android): the page never scrolls, so the cards shrink until the legal links stay clear
   of the fixed sound button */
@media (max-width: 640px) and (max-height: 700px) {
  .screen { padding-top: 4vh; }
  .tagline { margin-top: .5rem; font-size: .9rem; }
  .menu { margin-top: 1.7rem; }
  .stage__media { height: 25vh; }
  .menu__more { margin-top: .8rem; }
  .hint { display: none; }
  .legal-links { padding-top: .8rem; }
}
@media (max-width: 640px) and (max-height: 600px) { .stage__media { height: 21vh; } .tagline { display: none; } }
/* low desktop / tablet windows: smaller cards so the logo and the legal links stay on screen */
@media (min-width: 641px) and (max-height: 760px) { .stage__media { height: 24vh; } .tagline { margin-top: .5rem; } .menu { margin-top: 1.5rem; } .hint { margin-top: .5rem; } .legal-links { padding-top: .8rem; } }
@media (max-width: 360px) { .stage .menu__item { font-size: .85rem; } .menu__more .menu__item { padding-inline: .75rem; } }
/* phones held sideways / low windows: no pictures in the cards (text tiles), compact pills */
@media (max-height: 560px) and (orientation: landscape) {
  .screen { justify-content: flex-start; padding-top: 3vh; }
  .logo__word { font-size: 1.6rem; } .tagline { display: none; }
  .menu { margin-top: 1.7rem; } .stage__media { display: none; }
  .stage__txt { padding: .7rem .9rem; } .stage__sub { display: none; }
  .menu__more { margin-top: .7rem; } .menu__more .menu__item { padding-block: .45rem; font-size: .8rem; } .hint { display: none; }
  .legal-links { padding: .6rem 0 2.6rem; }
}
@media (max-height: 400px) and (orientation: landscape) {
  .screen { padding-top: 2vh; }
  .logo__word { font-size: 1.3rem; }
  .menu { margin-top: 1.5rem; }
  .stage__txt { padding: .5rem .8rem; gap: .25rem; }
  .menu__more { margin-top: .5rem; gap: .4rem; }
  .legal-links { padding: .3rem 0 2.6rem; }
  .legal-links ul { gap: .1rem 1rem; }
  .menu { margin-top: 1.1rem; }
  .legal-links .social { margin-bottom: .3rem; gap: .5rem; } .legal-links .social__a { width: 2rem; height: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ========== 8. CATALOG LOADING / ERROR STATE ========== */
.shop__status { grid-column: 1 / -1; padding: 1rem .2rem; color: var(--mint); letter-spacing: .04em; }
.shop__status.is-error { color: var(--yellow); }
.shop__status .btn { margin-left: .8rem; }
.detail .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ========== 9. BOOT: routed reload paints the target screen first (classes set inline in index.html) ========== */
.nt-boot-shop .shop { visibility: visible; opacity: 1; transform: none; transition: none; }
.nt-boot-shop .screen { opacity: 0; pointer-events: none; transition: none; }
.nt-boot-product .shop__tabs, .nt-boot-product .shop__grid { visibility: hidden; } /* until the product view opens */
.nt-boot-cart .cart { transform: none; visibility: visible; transition: none; }

/* ========== 10. AUTH DIALOG (login / register; js/auth.js) ========== */
.auth { width: min(calc(100% - 2rem), 26rem); max-height: calc(100dvh - 2rem); padding: 0; overflow: auto;
  background: #1a0836; color: var(--pastel); border: 2px solid var(--pink);
  box-shadow: 6px 6px 0 var(--cyan), 0 0 40px rgba(255,46,147,.45); }
.auth[open] { animation: slideIn .35s var(--ease); }
.auth::backdrop { background: rgba(10,3,24,.72); }
.auth__box { display: flex; flex-direction: column; gap: 1rem; padding: 1.4rem 1.4rem 1.2rem; }
.auth__title { margin: 0; font: 400 1.6rem var(--font-logo); transform: skewX(-8deg);
  background: linear-gradient(180deg, #fff1f8, var(--pink) 70%, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(2px 2px 0 var(--cyan)); }
.auth__tabs { display: flex; gap: .5rem; }
.auth__form { display: flex; flex-direction: column; gap: .8rem; }
.auth__field { display: flex; flex-direction: column; gap: .35rem; font-size: .95rem; letter-spacing: .04em; }
.auth__field input { width: 100%; padding: .65rem .8rem; font: 400 1rem var(--font-ui); color: #fff;
  background: rgba(18,6,43,.8); border: 1px solid rgba(255,179,217,.4); border-radius: 0; transition: border-color .25s, box-shadow .25s; }
.auth__field input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 12px rgba(25,230,214,.45); }
.auth__field input:disabled { opacity: .6; }
.auth__field[hidden] { display: none; } /* "Повторіть пароль": registration only */
.auth__captcha { min-height: 65px; } /* Cloudflare Turnstile widgets (js/auth.js) */
.auth__captcha[hidden] { display: none; }
#authCaptchaForgot, #authCaptchaLogin { min-height: 0; } /* "interaction-only": takes space only while Cloudflare asks for an interaction */
.auth__note { margin: -.3rem 0 0; font-size: .85rem; opacity: .8; }
.auth__msg { min-height: 1.4em; margin: 0; font-size: .95rem; color: var(--mint); }
.auth__msg.is-error { color: var(--yellow); }
.auth__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.auth .btn:disabled { opacity: .55; cursor: wait; transform: none; box-shadow: none; }
.auth .tab:disabled { opacity: .55; cursor: wait; }
.auth__link { align-self: flex-start; margin: -.3rem 0 0; padding: .1rem 0; background: none; border: 0; cursor: pointer;
  font: 400 .9rem var(--font-ui); letter-spacing: .04em; color: var(--cyan); text-decoration: underline; text-underline-offset: .2em; }
.auth__link:hover, .auth__link:focus-visible { outline: none; color: #fff; text-shadow: 0 0 8px rgba(25,230,214,.7); }
.auth__link[hidden] { display: none; }
.auth__link:disabled { opacity: .55; cursor: wait; }

/* ========== 11. ACCOUNT DROPDOWN (logged in; js/menu.js) ========== */
.menu__acct { position: relative; }
.menu__caret { margin-left: .5em; font-size: .7em; }
.acct { position: absolute; z-index: 2; top: calc(100% + .4rem); left: 2.6rem; width: max-content; min-width: 14rem; max-width: calc(100% - 2.6rem);
  display: flex; flex-direction: column; gap: .2rem; padding: .6rem;
  background: #1a0836; border: 2px solid var(--pink); box-shadow: 4px 4px 0 var(--cyan), 0 0 26px rgba(255,46,147,.45);
  animation: slideIn .25s var(--ease); }
.acct[hidden] { display: none; }
.menu__more .acct { left: auto; right: 0; max-width: calc(100vw - 2rem); text-align: left; } /* under the УВІЙТИ / АКАУНТ pill, right-aligned */
.acct--side { top: auto; bottom: 0; left: calc(100% + 1rem); max-width: none; } /* no room below: beside the trigger */
.menu__more .acct--side { right: auto; }
.acct--up { top: auto; bottom: calc(100% + .4rem); }                           /* no room below or beside: above it */
.acct__who { margin: 0 0 .2rem; padding: .2rem .6rem .5rem; font-size: .8rem; letter-spacing: .04em; color: var(--mint);
  border-bottom: 1px solid rgba(255,179,217,.25); overflow-wrap: anywhere; }
.acct__item { background: none; border: 0; text-align: left; cursor: pointer; padding: .65rem .8rem;
  font: 400 1rem var(--font-ui); letter-spacing: .06em; color: var(--pastel); transition: background .2s, color .2s, box-shadow .2s; }
.acct__item:hover, .acct__item:focus-visible { outline: none; color: #fff; background: linear-gradient(90deg, var(--pink), var(--orange)); box-shadow: 3px 3px 0 var(--cyan); }

/* ========== 12. ACCOUNT VIEW (#account; js/account.js) and RESET-PASSWORD VIEW (#reset; js/reset.js). Bar, title and buttons reuse the shop styles ========== */
.account {
  position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; overflow-y: auto;
  padding: calc(env(safe-area-inset-top, 0px) + 3vh) clamp(1.25rem, 6vw, 6rem) 4.5rem;
  background: linear-gradient(90deg, rgba(18,6,43,.9), rgba(18,6,43,.72));
  visibility: hidden; opacity: 0; transform: translateX(40px);
  transition: opacity .4s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
body.is-account #account, body.is-reset #reset { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
body.is-account .screen, body.is-reset .screen { opacity: 0; transform: translateX(-30px); pointer-events: none; }
.account__box { width: min(100%, 34rem); margin-top: 1.6rem; padding: 1.4rem; display: flex; flex-direction: column; gap: 1.1rem;
  background: rgba(18,6,43,.72); border: 2px solid rgba(255,179,217,.22); box-shadow: 5px 5px 0 var(--cyan); }
.account__status { min-height: 1.4em; margin: 0; color: var(--mint); letter-spacing: .04em; }
.account__status:empty { display: none; }
.account__info { margin: 0; display: flex; flex-direction: column; gap: .9rem; }
.account__info[hidden] { display: none; }
.account__info dt { font-size: .8rem; letter-spacing: .08em; color: var(--pastel); opacity: .8; }
.account__info dd { margin: .25rem 0 0; font-size: 1.1rem; color: #fff; overflow-wrap: anywhere; }
.account__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .3rem; }
.account .btn:disabled { opacity: .55; cursor: wait; transform: none; box-shadow: none; }
.nt-boot-account #account, .nt-boot-reset #reset { visibility: visible; opacity: 1; transform: none; transition: none; } /* see section 9 */
.nt-boot-account .screen, .nt-boot-reset .screen { opacity: 0; pointer-events: none; transition: none; }
.account .auth__msg:empty, .account__actions[hidden], .account .auth__form[hidden] { display: none; } /* reset view states */

/* account tabs (Профіль / Мої замовлення) and the order list (js/account.js); tabs reuse .tab */
.account__tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; padding-left: .3rem; }
.account__tabs[hidden], .account__box[hidden] { display: none; }
.account__tabs + .account__box, .account__tabs ~ .account__box { margin-top: 1.1rem; }
.account__status.is-error { color: var(--yellow); }
.account__actions:not(:has(> :not([hidden]))) { display: none; }
.account__orders { width: min(100%, 44rem); }
.orders { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .8rem; }
.orders:empty { display: none; }
.orders__item { display: flex; flex-direction: column; gap: .45rem; padding: .85rem 1rem; color: var(--pastel); text-decoration: none;
  border: 1px solid rgba(255,179,217,.25); background: rgba(18,6,43,.6); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.orders__item:hover, .orders__item:focus-visible { outline: none; border-color: var(--cyan); box-shadow: 0 0 14px rgba(25,230,214,.35); transform: translateY(-2px); }
.orders__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .3rem 1rem; }
.orders__number { font: 400 1.1rem var(--font-ui); letter-spacing: .1em; color: #fff; }
.orders__head time { font-size: .85rem; opacity: .8; }
.orders__goods { font-size: .9rem; opacity: .85; overflow-wrap: anywhere; }
.orders__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; font-size: .9rem; }
.orders__status { padding: .15rem .55rem; border: 1px solid currentColor; font-size: .8rem; letter-spacing: .06em; }
.orders__status[data-tone="wait"] { color: var(--yellow); }
.orders__status[data-tone="ok"] { color: var(--cyan); }
.orders__status[data-tone="done"] { color: var(--mint); }
.orders__status[data-tone="off"] { color: var(--pastel); opacity: .7; }
.orders__pay { flex: 1 1 12rem; opacity: .85; }
.orders__total { font-weight: 400; font-size: 1.05rem; color: var(--yellow); }
.orders__cta { font-size: .85rem; letter-spacing: .04em; color: var(--pink); }
@media (prefers-reduced-motion: reduce) { .orders__item, .orders__item:hover, .orders__item:focus-visible { transform: none; transition: none; } }

/* ========== 12b. CHECKOUT (#checkout) and ORDER (#order/…) views (js/checkout.js): account-view frame, form + summary ========== */
body.is-checkout #checkoutView, body.is-order #orderView { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
body.is-checkout .screen, body.is-order .screen { opacity: 0; transform: translateX(-30px); pointer-events: none; }
.nt-boot-checkout #checkoutView, .nt-boot-order #orderView { visibility: visible; opacity: 1; transform: none; transition: none; } /* see section 9 */
.nt-boot-checkout .screen, .nt-boot-order .screen { opacity: 0; pointer-events: none; transition: none; }
.co { display: grid; grid-template-columns: minmax(0, 34rem) minmax(0, 24rem); gap: 0 1.4rem; align-items: start; }
.co__group { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.co__group legend { padding: 0; margin-bottom: .6rem; font: 400 1.05rem var(--font-ui); letter-spacing: .08em; color: var(--pastel); }
.auth__field textarea { width: 100%; min-height: 3.2rem; padding: .65rem .8rem; font: 400 1rem var(--font-ui); color: #fff; resize: vertical;
  background: rgba(18,6,43,.8); border: 1px solid rgba(255,179,217,.4); border-radius: 0; transition: border-color .25s, box-shadow .25s; }
.auth__field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 12px rgba(25,230,214,.45); }
.auth__field input::placeholder, .auth__field textarea::placeholder { color: rgba(255,179,217,.45); }
.co__methods { display: flex; flex-direction: column; gap: .55rem; }
.co__method { display: flex; align-items: flex-start; gap: .7rem; padding: .7rem .8rem; cursor: pointer;
  border: 1px solid rgba(255,179,217,.3); background: rgba(18,6,43,.6); transition: border-color .2s, box-shadow .2s; }
.co__method:has(input:checked) { border-color: var(--cyan); box-shadow: 0 0 12px rgba(25,230,214,.35); }
.co__method input { margin: .2rem 0 0; accent-color: var(--pink); }
.co__method span { display: flex; flex-direction: column; gap: .2rem; }
.co__method small { font-size: .85rem; opacity: .75; }
/* "Я погоджуюсь з умовами публічної оферти" (required; the server checks it too) */
.co__consent { display: flex; flex-direction: column; gap: .5rem; margin-top: .6rem; }
.co__check { display: flex; align-items: flex-start; gap: .65rem; cursor: pointer; font-size: .95rem; line-height: 1.4; }
.co__check input { flex: none; width: 1.15rem; height: 1.15rem; margin: .1rem 0 0; accent-color: var(--pink); cursor: pointer; }
.co__check input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.co__consent a, .auth__note a { color: var(--cyan); text-underline-offset: .2em; }
.co__consent a:hover, .co__consent a:focus-visible, .auth__note a:hover, .auth__note a:focus-visible { color: #fff; outline: none; text-shadow: 0 0 8px rgba(25,230,214,.7); }
.co__summary h3 { margin: 0; font: 400 1.2rem var(--font-ui); color: #fff; }
.co__items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.co__items li { display: flex; align-items: center; gap: .6rem; font-size: .95rem; }
.co__items li span:first-child { flex: 1; }
.co__total { font-size: 1.15rem; color: var(--yellow); }
.co__total:empty { display: none; }
/* promo code in the checkout summary (js/checkout.js) */
.co__promo[hidden], .co__promoon[hidden] { display: none; }
.co__promorow { display: flex; gap: .5rem; }
.co__promorow input { flex: 1; min-width: 0; text-transform: uppercase; }
.co__promoon { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin: 0; color: var(--cyan); }
.co__promo .auth__note:empty { display: none; }
.co__promo .auth__note.is-error { color: var(--pink); }
.co .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.co__order { width: min(100%, 40rem); }
.co__order .btn:disabled { opacity: .55; cursor: wait; transform: none; box-shadow: none; }
#ordBody { display: flex; flex-direction: column; gap: 1.1rem; }
#ordBody:empty { display: none; }
.co__lead { margin: 0; font: 400 1.3rem var(--font-ui); color: var(--mint); }
.co__number { margin: 0; letter-spacing: .04em; }
.co__number b { display: block; margin-top: .3rem; font: 400 1.7rem var(--font-ui); letter-spacing: .12em; color: #fff;
  text-shadow: 0 0 12px rgba(255,46,147,.7); }
.co__test { display: flex; flex-direction: column; gap: .6rem; padding: .9rem; border: 1px dashed var(--yellow); }
.co__review { margin: .2rem 0; padding: .65rem .85rem; border-left: 3px solid var(--cyan); background: rgba(25,230,214,.07); font-size: .9rem; line-height: 1.45; }
.co__review[hidden] { display: none; }
.co__review p { margin: 0 0 .55rem; }
.co__review p:last-child { margin-bottom: 0; }
.co__review b, .co__iban p b { color: #fff; font-weight: 600; }
.co__iban { padding: .8rem .95rem; border: 1px solid rgba(255,179,217,.3); border-radius: 10px; font-size: .9rem; }
.co__iban p { margin: 0 0 .5rem; }
.co__iban dd { overflow-wrap: anywhere; }
@media (max-width: 900px) { .co { grid-template-columns: minmax(0, 1fr); } .co .account__box { width: 100%; } }
/* Nova Poshta picker (js/np-picker.js): combobox + in-flow list (never clipped by the scrolling view, works on phones) */
.np, .np__manual { display: flex; flex-direction: column; gap: .8rem; }
.np[hidden], .np__manual[hidden] { display: none; }
.np__combo { display: flex; flex-direction: column; }
.np__pop { border: 1px solid var(--cyan); border-top: 0; background: #1a0836; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.np__pop[hidden] { display: none; }
.np__list { list-style: none; margin: 0; padding: 0; max-height: min(18rem, 45vh); overflow-y: auto; overscroll-behavior: contain; }
.np__opt { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .5rem; padding: .6rem .8rem; cursor: pointer;
  font-size: .95rem; line-height: 1.35; border-bottom: 1px solid rgba(255,179,217,.12); }
.np__opt small { flex-basis: 100%; font-size: .8rem; opacity: .7; }
.np__opt:hover, .np__opt[aria-selected="true"] { background: linear-gradient(90deg, rgba(255,46,147,.35), rgba(255,154,77,.25)); color: #fff; }
.np__opt[aria-selected="true"] { outline: 2px solid var(--cyan); outline-offset: -2px; }
.np__opt-main { flex: 1; min-width: 0; color: #fff; overflow-wrap: anywhere; }
.np__badge { flex: none; padding: 0 .4rem; border: 1px solid var(--cyan); color: var(--cyan); font-size: .75rem; letter-spacing: .05em; }
.np__badge[data-type="locker"] { border-color: var(--yellow); color: var(--yellow); }
.np__hint { margin: 0; padding: .5rem .8rem; font-size: .85rem; opacity: .8; }
.np__hint:empty { display: none; }
.np__types { display: flex; flex-wrap: wrap; gap: .5rem; }
.np__types[hidden] { display: none; }
.np__type { display: flex; align-items: center; gap: .4rem; padding: .35rem .7rem; cursor: pointer; font-size: .9rem;
  border: 1px solid rgba(255,179,217,.3); background: rgba(18,6,43,.6); }
.np__type:has(input:checked) { border-color: var(--cyan); box-shadow: 0 0 10px rgba(25,230,214,.3); }
.np__type:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.np__type input { margin: 0; accent-color: var(--pink); }
.np__type input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.np__note, .np__warn { margin: 0; }
.np__warn { color: var(--yellow); opacity: 1; }
.np__sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.co__ttn { letter-spacing: .08em; }
.co__track { color: var(--cyan); text-underline-offset: .2em; overflow-wrap: anywhere; }
.co__track:hover, .co__track:focus-visible { outline: none; color: #fff; text-shadow: 0 0 8px rgba(25,230,214,.7); }

/* ========== 12c. ADMIN PANEL (#admin, #admin/order/…; js/admin.js): account-view frame, filters, order list, order detail ========== */
body.is-admin #admin { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
body.is-admin .screen { opacity: 0; transform: translateX(-30px); pointer-events: none; }
.nt-boot-admin #admin { visibility: visible; opacity: 1; transform: none; transition: none; } /* see section 9 */
.nt-boot-admin .screen { opacity: 0; pointer-events: none; transition: none; }
#admList[hidden], #admDetail[hidden], .adm__confirm[hidden] { display: none; }
.adm .account__box { width: 100%; }
.adm__filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .8rem 1rem; align-items: end; max-width: 72rem; }
.adm__search { grid-column: 1 / -1; }
.adm__filterbtns { grid-column: 1 / -1; }
.auth__field select { width: 100%; padding: .6rem .7rem; font: 400 .95rem var(--font-ui); color: #fff; color-scheme: dark;
  background: rgba(18,6,43,.8); border: 1px solid rgba(255,179,217,.4); border-radius: 0; }
.auth__field select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 12px rgba(25,230,214,.45); }
.adm input[type="date"] { color-scheme: dark; }
.adm #admListStatus, .adm #admDetailStatus { margin-top: 1.1rem; }
.adm__orders { margin-top: 1.1rem; max-width: 72rem; }
.adm__who, .adm__where { font-size: .88rem; overflow-wrap: anywhere; }
.adm__who { color: #fff; }
.adm__where { opacity: .8; }
/* delivery point: Відділення / Поштомат picked from the NP directory, or "адреса введена вручну" (check before shipping) */
.adm__badge { display: inline-block; margin-right: .35rem; padding: .05rem .45rem; border: 1px solid var(--cyan); color: var(--cyan);
  font-size: .78rem; letter-spacing: .05em; vertical-align: .1em; }
.adm__badge--warn { border-color: var(--yellow); color: var(--yellow); }
.adm__np { display: block; margin-top: .3rem; }
.adm__refs { font: 400 .78rem/1.5 ui-monospace, Consolas, monospace; opacity: .75; }
#admOrder { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.4rem; max-width: 72rem; }
#admOrder:empty { display: none; }
.adm__head { display: flex; flex-direction: column; gap: .5rem; }
.adm__meta { margin: 0; font-size: .9rem; opacity: .85; overflow-wrap: anywhere; }
.adm__head .orders__foot { margin: 0; }
.adm__box { margin-top: 0; gap: .8rem; }
.adm__box h3 { margin: 0; font: 400 1.1rem var(--font-ui); letter-spacing: .06em; color: #fff; }
.adm__actions { border-color: rgba(25,230,214,.45); }
.adm__confirm { display: flex; flex-direction: column; gap: .7rem; padding: .9rem; border: 1px dashed var(--yellow); }
.adm__q { margin: 0; color: #fff; }
.adm__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; align-items: start; }
.adm__wide { grid-column: 1 / -1; }
.adm__form { display: flex; flex-direction: column; gap: .7rem; }
.adm__sums { gap: .5rem; }
.adm__sums div { display: flex; justify-content: space-between; gap: 1rem; }
.adm__sums dd { margin: 0; font-size: 1rem; }
.adm .account__info dd a { color: var(--cyan); text-underline-offset: .2em; }
.adm__pre { white-space: pre-line; overflow-wrap: anywhere; }
.adm__scroll { overflow-x: auto; }
.adm__table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.adm__table th, .adm__table td { padding: .45rem .6rem; text-align: left; border-bottom: 1px solid rgba(255,179,217,.18); white-space: nowrap; }
.adm__table th { font-weight: 400; font-size: .78rem; letter-spacing: .06em; opacity: .75; }
.adm__mono { font-family: ui-monospace, Consolas, monospace; }
.adm__history { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.adm__history li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) auto; gap: .2rem .9rem; padding: .5rem .2rem;
  border-bottom: 1px solid rgba(255,179,217,.14); font-size: .9rem; }
.adm__history time { opacity: .75; }
.adm__actor { color: var(--mint); font-size: .85rem; overflow-wrap: anywhere; }
.adm__hnote { grid-column: 2 / -1; color: var(--yellow); font-size: .88rem; }
@media (max-width: 900px) {
  .adm__grid { grid-template-columns: minmax(0, 1fr); }
  .adm__history li { grid-template-columns: minmax(0, 1fr); }
  .adm__hnote { grid-column: auto; }
}

/* ========== 13. CHARACTER VIEW (#character; js/character.js + js/character-3d.js): 3D stage left, wardrobe right ========== */
.char {
  position: fixed; inset: 0; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) clamp(20rem, 32vw, 29rem);
  background: radial-gradient(72% 92% at 33% 44%, #3b2442 0%, #1c1124 46%, #0b0710 100%);
  font-family: "Manrope", system-ui, sans-serif; color: #f3ecf6;
  visibility: hidden; opacity: 0; transition: opacity .45s var(--ease), visibility 0s .45s;
}
body.is-character .char { visibility: visible; opacity: 1; transition-delay: 0s; }
body.is-character .screen { opacity: 0; transform: translateX(-30px); pointer-events: none; }
.nt-boot-character .char { visibility: visible; opacity: 1; transition: none; } /* see section 9 */
.nt-boot-character .screen { opacity: 0; pointer-events: none; transition: none; }

.char__stage { position: relative; min-height: 0; overflow: hidden; }
.char__stage::before { content: ""; position: absolute; left: 18%; right: 18%; bottom: 2%; height: 34%; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 78%, rgba(255,79,163,.18), transparent 70%); filter: blur(12px); }
.char__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(5,2,9,.55) 100%); }
.char__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
.char__canvas:active { cursor: grabbing; }
/* hidden until the character is fully dressed (character.js adds .is-ready): never a bare or half-dressed frame */
.char__canvas { opacity: 0; transform: scale(1.015); filter: blur(6px); transition: opacity .9s var(--ease), transform 1.2s var(--ease), filter .9s var(--ease); }
.char.is-ready .char__canvas { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { .char__canvas { transform: none; filter: none; transition: opacity .3s; } }
.char__head { position: absolute; z-index: 2; left: clamp(1rem, 3.5vw, 3rem); top: calc(env(safe-area-inset-top, 0px) + clamp(.9rem, 3vh, 2rem));
  display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; pointer-events: none; }
.char__head .btn { pointer-events: auto; margin-bottom: .7rem; }
.char__eyebrow { margin: 0; font: 700 .68rem/1 "Manrope", sans-serif; letter-spacing: .32em; text-transform: uppercase; color: var(--cyan); }
.char__title { margin: 0; font: 400 clamp(1.7rem, 3.4vw, 3rem)/1.05 var(--font-ui); letter-spacing: .03em;
  background: linear-gradient(180deg, #fff 35%, var(--pastel)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.char__load { position: absolute; z-index: 1; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; padding: 2rem; text-align: center;
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: #cbbfd6; transition: opacity .5s; }
.char__load b { width: 12rem; height: 2px; border-radius: 2px; background: rgba(255,255,255,.12); position: relative; overflow: hidden; }
.char__load i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--pink), var(--orange)); transition: width .2s; }
.char.is-ready .char__load { opacity: 0; pointer-events: none; }
.char.is-failed .char__load { letter-spacing: .06em; text-transform: none; font-size: .95rem; }
.char.is-failed .char__load b { display: none; }
.char__look { position: absolute; z-index: 2; left: clamp(1rem, 3.5vw, 3rem); bottom: calc(env(safe-area-inset-bottom, 0px) + 1.6rem); margin: 0;
  display: grid; gap: .5rem; pointer-events: none; }
.char__look div { display: flex; gap: .9rem; align-items: baseline; }
.char__look dt { width: 4.6rem; font-size: .6rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #9d90ad; }
.char__look dd { margin: 0; font-size: .86rem; font-weight: 600; color: #fff; }
.char__hint { position: absolute; z-index: 2; right: clamp(1rem, 2vw, 1.6rem); top: calc(env(safe-area-inset-top, 0px) + clamp(.9rem, 3vh, 2rem)); margin: 0;
  padding: .45rem .9rem; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(12,7,18,.45); backdrop-filter: blur(8px);
  font-size: .72rem; letter-spacing: .06em; color: #c3b7cf; white-space: nowrap; pointer-events: none; transition: opacity .6s; }
.char.is-touched .char__hint, .char:not(.is-ready) .char__hint { opacity: 0; }
.char__tools { position: absolute; z-index: 2; right: clamp(1rem, 2vw, 1.6rem); bottom: calc(env(safe-area-inset-bottom, 0px) + 1.4rem); display: flex; gap: .45rem; }
.char__tool { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); background: rgba(14,9,20,.55); backdrop-filter: blur(8px);
  color: #f3ecf6; font: 600 1.1rem/1 "Manrope", sans-serif; cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.char__tool:hover, .char__tool:focus-visible { outline: none; border-color: var(--pink); background: rgba(255,46,147,.16); transform: translateY(-2px); }
.char:not(.is-ready) .char__tools { opacity: .35; pointer-events: none; }

.char__inv { position: relative; z-index: 2; display: flex; flex-direction: column; min-height: 0;
  background: linear-gradient(180deg, rgba(20,13,28,.86), rgba(12,8,18,.92)); border-left: 1px solid rgba(255,255,255,.07); backdrop-filter: blur(18px); }
.char__invhead { display: flex; justify-content: space-between; align-items: baseline; padding: calc(env(safe-area-inset-top, 0px) + clamp(1.1rem, 3.4vh, 2.1rem)) clamp(1.1rem, 2vw, 1.75rem) 0; }
.char__invhead h3 { margin: 0; font: 400 1.15rem var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.char__invhead span { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #9d90ad; }
.char__tabs { display: flex; gap: .15rem; margin: .9rem clamp(1.1rem, 2vw, 1.75rem) 0; border-bottom: 1px solid rgba(255,255,255,.08); overflow-x: auto; scrollbar-width: none; }
.char__tabs::-webkit-scrollbar { display: none; }
.char__tab { position: relative; flex: 0 0 auto; min-height: 2.9rem; padding: .9rem .75rem; background: none; border: 0; cursor: pointer;
  color: #9d90ad; font: 700 .7rem "Manrope", sans-serif; letter-spacing: .18em; white-space: nowrap; transition: color .2s; }
.char__tab::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--pink), var(--orange)); transform: scaleX(0); transition: transform .35s var(--ease); }
.char__tab:hover, .char__tab:focus-visible { color: #fff; outline: none; }
.char__tab:focus-visible { box-shadow: inset 0 0 0 1px var(--cyan); }
.char__tab[aria-selected="true"] { color: #fff; }
.char__tab[aria-selected="true"]::after { transform: scaleX(1); }
.char__list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; list-style: none; margin: 0;
  padding: 1.1rem clamp(1.1rem, 2vw, 1.75rem) calc(env(safe-area-inset-bottom, 0px) + 2rem);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; align-content: start; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
.item { position: relative; padding: .7rem .7rem .75rem; border-radius: 14px; border: 1px solid rgba(255,255,255,.07);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  transition: transform .3s var(--ease), border-color .25s, background .25s, box-shadow .3s; animation: charIn .45s var(--ease) both; }
@keyframes charIn { from { opacity: 0; transform: translateY(8px); } }
.item:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.17); background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); }
.item.is-on { border-color: rgba(255,79,163,.6); box-shadow: 0 0 0 1px rgba(255,79,163,.22), 0 16px 34px -18px rgba(255,79,163,.7); }
.item__btn { all: unset; box-sizing: border-box; display: flex; flex-direction: column; width: 100%; cursor: pointer; border-radius: 10px; }
.item__btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.item__art { display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: 10px; background: radial-gradient(75% 70% at 50% 42%, rgba(255,255,255,.09), transparent 72%); }
.item__art svg { width: 74%; height: 74%; filter: drop-shadow(0 10px 14px rgba(0,0,0,.45)); transition: transform .4s var(--ease); }
.item:hover .item__art svg { transform: translateY(-2px) scale(1.05); }
.item__kind { margin-top: .55rem; font-size: .6rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #9d90ad; }
.item__name { margin-top: .15rem; font-size: .88rem; font-weight: 600; line-height: 1.25; color: #fff; }
.item__sw { display: flex; flex-wrap: wrap; gap: .1rem; margin: .4rem 0 0 -.3rem; }
.item__sw button { width: 1.9rem; height: 1.9rem; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; display: grid; place-items: center; }
.item__sw button::before { content: ""; width: 1rem; height: 1rem; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.32); transition: transform .15s var(--ease), box-shadow .2s; }
.item__sw button:hover::before { transform: scale(1.18); }
.item__sw button[aria-pressed="true"]::before { box-shadow: 0 0 0 2px #160d1e, 0 0 0 3.5px #fff; }
.item__sw button:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.item__finish { margin: .6rem 0 0; font-size: .72rem; color: #9d90ad; }
.item__badge { position: absolute; z-index: 1; top: .55rem; right: .55rem; padding: .28rem .55rem; border-radius: 999px; pointer-events: none;
  font-size: .54rem; font-weight: 700; letter-spacing: .2em; color: #fff; background: linear-gradient(90deg, var(--pink), var(--orange));
  opacity: 0; transform: scale(.85); transition: opacity .25s, transform .3s var(--ease); }
.item.is-on .item__badge { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .char { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 56dvh) minmax(0, 1fr); }
  .char__inv { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .char__invhead { padding-top: 1rem; }
  .char__look, .char__hint, .char__eyebrow { display: none; }
  .char__head .btn { margin-bottom: .35rem; padding: .45rem .8rem; }
  .char__title { font-size: 1.15rem; }
  .char__tools { bottom: auto; top: 50%; right: .6rem; transform: translateY(-50%); flex-direction: column; gap: .35rem; }
  .char__list { gap: .6rem; }
}
@media (max-width: 820px) and (orientation: landscape) and (max-height: 560px) {
  .char { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
  .char__inv { border-top: 0; border-left: 1px solid rgba(255,255,255,.08); }
}

/* ========== 12d. PRODUCT PHOTOS (shop) + CATALOG ADMIN (#admin/products, #admin/product/…, #admin/catalog; js/admin-products.js) ========== */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* photos keep their own proportions and are fitted into a 4:5 frame (never cropped) */
.photo, .pr__frame { display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: rgba(255,255,255,.05); }
.photo picture, .pr__frame picture { display: block; width: 100%; height: 100%; }
.photo img, .pr__frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* placeholders: a soft shimmer in the frame until its picture has loaded (js/shop.js sets .is-loaded on load or error;
   the photo itself is never hidden, so a missed event only leaves the shimmer behind it), skeleton cards while the
   catalog loads, and a skeleton viewer on a product page opened directly (until the product view replaces it) */
.photo:has(img):not(.is-loaded), .shop__skel > span, .nt-boot-product .detail:empty::before, .nt-boot-product .detail:empty::after {
  background: rgba(255,255,255,.05) linear-gradient(100deg, transparent 30%, rgba(255,179,217,.09) 50%, transparent 70%) 0 0 / 250% 100%;
  animation: skel 1.4s linear infinite; }
@keyframes skel { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.shop__skel { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.shop__skel > span { display: block; border-radius: 4px; }
.shop__skel > span:first-child { aspect-ratio: 4 / 5; border-radius: 14px; }
.shop__skel > span:nth-child(2) { height: .95rem; width: 80%; }
.shop__skel > span:nth-child(3) { height: 1.05rem; width: 40%; }
.nt-boot-product .detail:empty { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding-top: 1rem; }
.nt-boot-product .detail:empty::before { content: ""; width: min(100%, 52vh * .8, 30rem); aspect-ratio: 4 / 5; border-radius: 6px; }
.nt-boot-product .detail:empty::after { content: ""; width: min(100%, 22rem); height: 1.6rem; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .photo:has(img):not(.is-loaded), .shop__skel > span, .nt-boot-product .detail:empty::before, .nt-boot-product .detail:empty::after { animation: none; } }
/* cut-out photos (transparent background, js/shop.js im.cutout): pink + cyan glow behind the tee, like its rim light */
.photo--cutout, .thumb.photo--cutout { background:
  radial-gradient(42% 38% at 34% 42%, rgba(255,46,147,.40), rgba(255,46,147,0) 70%),
  radial-gradient(42% 38% at 66% 56%, rgba(25,230,214,.30), rgba(25,230,214,0) 70%),
  radial-gradient(70% 55% at 50% 50%, rgba(58,15,107,.45), rgba(58,15,107,0) 80%); }
/* catalog card: the main garment view, and on hover the other side (front <-> back; rendered only on hover-capable
   devices). Both share the 4:5 frame (no layout shift); the main photo fades out so a cut-out never shows through. */
/* card flip (js/shop.js cardHtml): front face = the first garment view, back face = the other side / a model photo /
   the drawing in the next colour. Hover flips on a real pointer; on touch the ↻ button does (.is-flipped). */
.card__flip { position: relative; display: block; aspect-ratio: 4 / 5; perspective: 900px; }
.card__face { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; border-radius: 14px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: radial-gradient(42% 38% at 34% 42%, rgba(255,46,147,.32), rgba(255,46,147,0) 70%), radial-gradient(42% 38% at 66% 56%, rgba(25,230,214,.24), rgba(25,230,214,0) 70%),
    radial-gradient(70% 55% at 50% 50%, rgba(58,15,107,.5), rgba(58,15,107,0) 80%), rgba(255,255,255,.035);
  transition: transform .7s var(--ease), box-shadow .3s; }
.card__face .photo { width: 100%; height: 100%; background: none; }
.card__face svg { width: 82%; aspect-ratio: auto; }
.card__face--back { transform: rotateY(180deg); }
.card:hover .card__face, .card:focus-within .card__face { box-shadow: 0 0 0 1px var(--pink), 0 14px 30px rgba(255,46,147,.25); }
@media (hover: hover) and (pointer: fine) {
  .card--flip:hover .card__face:not(.card__face--back) { transform: rotateY(-180deg); }
  .card--flip:hover .card__face--back { transform: rotateY(0); }
}
.card--flip.is-flipped .card__face:not(.card__face--back) { transform: rotateY(-180deg); }
.card--flip.is-flipped .card__face--back { transform: rotateY(0); }
.card__side { position: absolute; right: .5rem; bottom: .5rem; padding: .15rem .45rem; border-radius: 4px; background: rgba(18,6,43,.75); font: 400 .7rem "Manrope", system-ui, sans-serif; color: var(--pastel); }
.card__turn { position: absolute; top: .45rem; right: .45rem; z-index: 2; width: 2.2rem; height: 2.2rem; display: none; place-items: center; border-radius: 50%;
  border: 1px solid var(--cyan); background: rgba(18,6,43,.7); color: var(--cyan); font-size: 1.05rem; cursor: pointer; }
.card__turn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
@media (hover: none) { .card__turn { display: grid; } }
.card__row { display: flex; align-items: center; justify-content: space-between; gap: .4rem; }
.card__dots { display: flex; align-items: center; gap: 3px; flex: none; }
.card__dots i { width: .62rem; height: .62rem; border-radius: 50%; background: var(--sw); border: 1px solid rgba(255,255,255,.35); }
.card__dots small { font: 400 .7rem "Manrope", system-ui, sans-serif; opacity: .7; margin-left: 2px; }
/* «Новинка» hero: the first row of the grid on the «Усе» tab */
.shop__hero { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: min(40vh, 26rem); border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(255,179,217,.2); background: linear-gradient(135deg, rgba(26,8,54,.6), rgba(58,15,107,.35)); }
.hero__media { position: relative; display: block; }
.photo--hero { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.photo--hero img { padding: 4% 6%; box-sizing: border-box; }
.hero__txt { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .9rem; padding: clamp(1.2rem, 4vw, 3.5rem); min-width: 0; }
.hero__kick { font: 400 .78rem "Manrope", system-ui, sans-serif; letter-spacing: .22em; color: var(--mint); }
.hero__title { margin: 0; font: 400 clamp(1.8rem, 4.2vw, 3.6rem)/.95 var(--font-logo); color: #fff; text-shadow: 3px 3px 0 var(--pink), 0 0 30px rgba(255,46,147,.4); overflow-wrap: anywhere; }
.hero__sub { margin: 0; font: 400 .95rem "Manrope", system-ui, sans-serif; color: #ecdcf5; }
.hero__cta { text-decoration: none; padding: .8rem 1.5rem; }
@media (min-width: 1101px) { /* desktop: half the width (2 columns), the tile and a card beside it */
  .shop__hero { grid-column: span 2; aspect-ratio: 1.42 / 1; min-height: 0; }
  .hero__txt { padding: 1.4rem 1.6rem; gap: .7rem; }
  .hero__title { font-size: clamp(1.6rem, 2.6vw, 2.6rem); }
}
@media (max-width: 640px) {
  .shop__hero { grid-template-columns: 42% minmax(0, 1fr); min-height: 0; }
  .hero__media { aspect-ratio: 4 / 5; }
  .hero__txt { padding: 1rem .9rem; gap: .45rem; }
  .hero__title { font-size: clamp(1.15rem, 6vw, 1.6rem); }
  .hero__sub { font-size: .8rem; }
  .hero__cta { padding: .55rem .9rem; font-size: .8rem; }
}
/* entrance motion (js/shop.js playIntro): page load / reload, opening the shop, a category switch */
.shop__grid.is-intro > .card, .shop__grid.is-intro > .shop__customcell { animation: cardIn .6s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 55ms + .12s); }
.shop__grid.is-intro > .shop__hero .hero__media { animation: heroImg .9s var(--ease) backwards; }
.shop__grid.is-intro > .shop__hero .hero__txt > * { animation: heroTxt .6s var(--ease) backwards; }
.shop__grid.is-intro > .shop__hero .hero__txt > :nth-child(2) { animation-delay: .08s; }
.shop__grid.is-intro > .shop__hero .hero__txt > :nth-child(3) { animation-delay: .16s; }
.shop__grid.is-intro > .shop__hero .hero__txt > :nth-child(4) { animation-delay: .24s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes heroImg { from { opacity: 0; transform: scale(1.06); } }
@keyframes heroTxt { from { opacity: 0; transform: translateX(24px); } }
@media (prefers-reduced-motion: reduce) {
  .shop__grid.is-intro > .card, .shop__grid.is-intro > .shop__customcell, .shop__grid.is-intro > .shop__hero .hero__media, .shop__grid.is-intro > .shop__hero .hero__txt > * { animation: none; }
  .card__face { transition: none; }
}
/* product page «Постер» (owner's choice 2026-10-19): one 4:5 viewer with every photo of the colour (garment views, then on a
   model; never cropped), the name as big outline words behind; thumbnails of the photos (owner 2026-11-30, were a
   numbered text nav): a column left of the photo on desktop, a sideways-scrolling row under it on tablets/phones */
.detail__media { --stage-h: min(68vh, 46rem); position: relative; display: flex; align-items: center; justify-content: center; gap: 1.2rem; width: 100%; min-width: 0; min-height: 100%; }
/* desktop: the photo and its thumbnails start at the top and stay in view while the info column scrolls (a long info
   column used to centre the photo half a screen down) */
@media (min-width: 1101px) { .detail__media { position: sticky; top: 0; align-self: start; align-items: flex-start; min-height: 0; } }
.detail__stage { position: relative; z-index: 1; }
.detail__stage.has-photo { width: min(100%, calc(var(--stage-h) * .8)); aspect-ratio: 4 / 5; max-height: none; margin: 0; touch-action: pan-y; }
.detail__stage.has-photo::before { display: none; } /* the drawing's sun only behind the placeholder drawing */
.detail__stage .photo--lg { position: relative; width: 100%; height: 100%; background: none; border-radius: 6px; animation: photoIn .4s var(--ease); }
@keyframes photoIn { from { opacity: 0; transform: translateY(10px); } }
.detail__poster { position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; pointer-events: none;
  font: 400 clamp(3rem, 8.5vw, 8.5rem)/.92 var(--font-logo); color: transparent; -webkit-text-stroke: 1.5px rgba(255,46,147,.22); white-space: nowrap; }
.detail__poster span:last-child { text-align: right; -webkit-text-stroke-color: rgba(25,230,214,.2); }
.detail__poster span:only-child { margin: auto 0; text-align: center; }
.detail__nav { position: relative; z-index: 1; order: -1; flex: none; display: flex; flex-direction: column; gap: .6rem;
  max-height: calc(var(--stage-h) - .5rem); overflow: auto; padding: 3px; scrollbar-width: thin; overscroll-behavior: contain; }
.detail__nav:empty { display: none; }
.detail__navbtn { all: unset; box-sizing: border-box; flex: none; position: relative; width: 4.6rem; border-radius: 4px; cursor: pointer;
  opacity: .55; box-shadow: 0 0 0 1px rgba(255,255,255,.14); transition: opacity .2s, box-shadow .2s; }
.detail__navbtn .photo { border-radius: 4px; }
.detail__navbtn:hover { opacity: .9; }
.detail__navbtn:focus-visible { opacity: 1; outline: 2px solid var(--yellow); outline-offset: 2px; }
.detail__navbtn[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--cyan), 0 0 10px rgba(25,230,214,.55); }
.detail .chip { min-width: 2.9rem; padding: .5rem .6rem; font-size: .9rem; }
.detail .btn--lg { width: 100%; }
.detail__perks { list-style: none; margin: .8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; font-size: .85rem; color: var(--pastel); }
.detail__perks li::before { content: "✓"; color: var(--cyan); margin-right: .4em; }
.detail__links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 1rem 0 0; font-size: .85rem; }
.detail__links a { color: var(--cyan); text-decoration: none; border-bottom: 1px dashed rgba(25,230,214,.5); }
.detail__links a:hover, .detail__links a:focus-visible { border-bottom-style: solid; outline: none; }
.detail__buybar { display: none; }
@media (max-width: 1100px) {
  .detail { grid-template-columns: minmax(0, 40rem); align-items: start; }
  .detail { align-content: start; }
  .detail__media { --stage-h: 62vh; flex-direction: column; gap: .8rem; min-height: auto; }
  .detail__nav { order: 0; flex-direction: row; max-width: 100%; max-height: none; gap: .5rem; }
  .detail__navbtn { width: 3.8rem; }
  .detail__poster { bottom: 5.6rem; font-size: clamp(2.6rem, 13vw, 6rem); } /* not behind the thumbnails */
}
@media (max-width: 760px) {
  .detail__media { --stage-h: 52vh; }
  #dAdd { display: none; } /* the sticky bar below buys on phones */
  /* no bottom padding on the scroller: sticky respects it, and the strip under the bar showed the content behind it
     (the in-flow price peeked out as a second price); the bar itself is opaque, with a short fade above it */
  .detail { padding-bottom: 0; }
  .detail__buybar { position: sticky; bottom: 0; z-index: 2; grid-column: 1 / -1; display: flex; align-items: center; gap: .8rem; padding: .7rem 0 .6rem;
    background: var(--night); box-shadow: 0 -1rem 1rem -.2rem var(--night); }
  .detail__buyprice { font-size: 1.3rem; color: var(--yellow); white-space: nowrap; }
  .detail__buybar .btn { flex: 1; padding: .8rem; }
  .shop .detail__info > .detail__price { display: none; } /* the bar always shows it: one price on screen */
  /* finger-sized targets (≥ 44 px) without changing the look: chips taller, small text links get an invisible hit area */
  .detail .chip { min-height: 2.75rem; }
  .detail__navbtn { width: 3.4rem; } /* 54 × 68 px: finger-sized as it is */
  .detail__sizehelp, .detail__links a, .detail__ask a { position: relative; }
  .detail__sizehelp::after, .detail__links a::after, .detail__ask a::after { content: ""; position: absolute; inset: -.8rem -.4rem; }
}
/* phones: the HUD's sound button sat over the content of every screen but the menu (shop, checkout, account, order,
   constructor); sound stays in НАЛАШТУВАННЯ (main menu). «(Esc)» on back/close buttons means nothing on a phone */
@media (max-width: 760px) {
  body.is-shop .hud, .nt-boot-shop .hud, body:has(section.account:not([inert])) .hud { display: none; }
  .cart .btn { min-width: 2.75rem; min-height: 2.75rem; } /* finger-sized (44 px) */
  .shop { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + .5rem); }
}
@media (max-width: 760px), (hover: none) and (pointer: coarse) { .esc-hint { display: none; } }
@media (hover: none) and (pointer: coarse) { .hud__keys { display: none; } .hud { justify-content: flex-end; } } /* no keyboard on a touch tablet */
@media (prefers-reduced-motion: reduce) { .detail__stage .photo--lg { animation: none; } .detail__navbtn { transition: none; } }
/* the product photo opens the full-screen viewer (js/zoom.js) */
.detail__zoom { all: unset; position: relative; display: block; width: 100%; height: 100%; cursor: zoom-in; border-radius: 6px; }
.detail__zoom:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.detail__zoomicon { position: absolute; right: .6rem; bottom: .6rem; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: rgba(18,6,43,.72); border: 1px solid rgba(25,230,214,.55); color: var(--cyan); font-size: 1.05rem; pointer-events: none; opacity: .85; transition: opacity .2s, box-shadow .2s; }
.detail__zoom:hover .detail__zoomicon, .detail__zoom:focus-visible .detail__zoomicon { opacity: 1; box-shadow: 0 0 10px rgba(25,230,214,.7); }

/* full-screen photo viewer (js/zoom.js): a modal <dialog>; one size = as wide as the screen allows (at most the photo's
   own pixels), a taller photo scrolls inside .zoom__stage (wheel, touch, keys) */
.zoom { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(10,3,24,.97); color: var(--pastel); overflow: hidden; }
.zoom::backdrop { background: rgba(10,3,24,.9); }
.zoom__stage { position: absolute; top: calc(3.8rem + env(safe-area-inset-top, 0px)); right: 0; bottom: 0; left: 0; overflow-x: hidden; overflow-y: auto;
  overscroll-behavior: contain; touch-action: pan-y; padding: 0 4.6rem calc(1.2rem + env(safe-area-inset-bottom, 0px)); scrollbar-color: rgba(255,179,217,.4) transparent; }
.zoom__stage picture { display: contents; }
.zoom__img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 6px; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.zoom__bar { position: absolute; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: 3.8rem; padding: 0 max(1rem, env(safe-area-inset-right, 0px)) 0 max(1rem, env(safe-area-inset-left, 0px)); }
.zoom__count { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 .9rem var(--font-ui); letter-spacing: .06em; }
.zoom__btn { all: unset; box-sizing: border-box; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; cursor: pointer;
  background: rgba(18,6,43,.65); border: 1px solid rgba(255,179,217,.4); color: var(--pastel); font: 400 1.3rem/1 var(--font-ui); transition: border-color .2s, color .2s; }
.zoom__btn[hidden] { display: none; }
.zoom__btn:hover { border-color: var(--cyan); color: var(--cyan); }
.zoom__btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.zoom__close { border-color: rgba(255,46,147,.7); }
.zoom__arrow { position: absolute; top: 50%; z-index: 2; width: 3rem; height: 3rem; margin-top: -1.5rem; font-size: 2rem; }
.zoom__arrow--prev { left: max(1rem, env(safe-area-inset-left, 0px)); }
.zoom__arrow--next { right: max(1rem, env(safe-area-inset-right, 0px)); }
@media (max-width: 760px) {
  .zoom__stage { padding-left: 0; padding-right: 0; } /* the photo uses the full width; the arrows sit over its edges */
  .zoom__arrow { width: 2.6rem; height: 2.6rem; margin-top: -1.3rem; font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) { .zoom__btn, .detail__zoomicon { transition: none; } }
.thumb { width: 3.6rem; padding: 0; aspect-ratio: 4 / 5; overflow: hidden; background: rgba(255,255,255,.05); border: 2px solid rgba(255,179,217,.35); cursor: pointer; transition: border-color .2s; }
.thumb picture, .thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.thumb:hover, .thumb:focus-visible { border-color: var(--pink); outline: none; }
.thumb[aria-pressed="true"] { border-color: var(--cyan); box-shadow: 0 0 10px rgba(25,230,214,.6); }
.chip.is-out { opacity: .55; text-decoration: line-through; }
.chip--opt { padding-inline: 1rem; } /* colour option toggle («Без лого NT», migration 031) */
.swatch.is-out { position: relative; opacity: .55; }
/* the strike on its own layer: a split swatch (print version, --sw = a gradient) keeps both halves under it */
.swatch.is-out::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 44%, rgba(255,255,255,.85) 45%, rgba(255,255,255,.85) 55%, transparent 56%); pointer-events: none; }
.detail__desc { white-space: pre-line; margin: 1rem 0 0; line-height: 1.5; overflow-wrap: anywhere; }
/* «На моделі»: lifestyle photos under the description (js/shop.js renderLooks) */
.detail__facts { margin: 1rem 0 0; display: flex; flex-direction: column; gap: .7rem; }
.detail__facts dt { font-size: .8rem; letter-spacing: .08em; } /* same colour as the description (inherited) */
.detail__facts dd { margin: .2rem 0 0; line-height: 1.5; overflow-wrap: anywhere; }
.detail__facts dd.detail__desc { margin-top: .2rem; }
.detail__chart { margin-top: 1rem; padding: .6rem .9rem; border: 1px solid rgba(255,179,217,.3); background: rgba(18,6,43,.55); }
.detail__chart summary { cursor: pointer; color: var(--cyan); letter-spacing: .04em; }
.detail__chart summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.detail__scroll { overflow-x: auto; margin-top: .6rem; }
.detail__chart table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.detail__chart th, .detail__chart td { padding: .35rem .6rem; text-align: center; border-bottom: 1px solid rgba(255,179,217,.18); white-space: nowrap; }
.detail__chart th[scope="row"] { text-align: left; font-weight: 400; color: #fff; }
.detail__chart thead th { font-weight: 400; font-size: .8rem; letter-spacing: .06em; opacity: .8; }
.detail__chart tr.is-cur td, .detail__chart tr.is-cur th { background: rgba(25,230,214,.15); color: #fff; }
.detail__note { margin: .6rem 0 0; font-size: .85rem; opacity: .8; }

/* admin: tabs, product list */
.adm__tabs { margin-top: 1rem; max-width: 72rem; }
.adm__tabs[hidden], #admProducts[hidden], #admProduct[hidden], #admCatalog[hidden] { display: none; }
#admProducts { max-width: 72rem; }
.pr__item { flex-direction: row; align-items: center; gap: .9rem; }
.pr__thumb { flex: 0 0 4rem; width: 4rem; aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; background: rgba(255,255,255,.05); }
.pr__thumb picture, .pr__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pr__nophoto { font-size: .7rem; opacity: .6; text-align: center; padding: .2rem; }
.pr__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .4rem; }

/* admin: one product / catalog */
#prBody, #catBody { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.4rem; max-width: 72rem; }
#prBody:empty, #catBody:empty { display: none; }
#prBody[aria-busy="true"] .btn, #prBody[aria-busy="true"] .pr__handle { opacity: .55; pointer-events: none; }
#admProduct .account__status, #admCatalog .account__status { margin-top: 1.1rem; }
.pr__box { margin-top: 0; gap: .9rem; }
.pr__box h3 small { font-size: .75em; opacity: .7; }
.pr__form { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .8rem 1rem; align-items: start; }
.pr__wide { grid-column: 1 / -1; }
.pr__check { display: flex; align-items: center; gap: .6rem; letter-spacing: .04em; cursor: pointer; }
.pr__check input { width: 1.2rem; height: 1.2rem; accent-color: var(--pink); }
.pr__h { margin: 1.4rem 0 0; font: 400 1.2rem var(--font-ui); letter-spacing: .06em; color: #fff; }
.pr__sub { margin: .4rem 0 0; font: 400 1rem var(--font-ui); letter-spacing: .06em; color: var(--pastel); }
.pr__sw { display: inline-block; width: 1.1rem; height: 1.1rem; margin-right: .5rem; background: var(--sw); border: 1px solid rgba(255,255,255,.5); vertical-align: -.2rem; }
.pr__grid th, .pr__grid td { text-align: center; }
.pr__prints select { min-width: 11rem; max-width: 16rem; }
.pr__printlist { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .5rem; }
.pr__printlist li { display: flex; align-items: center; gap: .6rem; }
.pr__printlist img { flex: none; width: 64px; height: 64px; object-fit: contain; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); }
.pr__warn { color: var(--yellow); }
.pr__grid th[scope="row"] { text-align: left; font-size: .95rem; color: #fff; }
.pr__grid td.pr__rowact { text-align: left; white-space: nowrap; }
.pr__rowact .btn { padding: .25rem .55rem; font-size: .85rem; margin-right: .25rem; }
.pr__cell { width: 2.6rem; height: 2.4rem; padding: 0; background: none; color: var(--pastel); border: 1px solid rgba(255,179,217,.4); font: 400 1.1rem var(--font-ui); cursor: pointer; }
.pr__cell[data-state="in"] { background: rgba(155,255,208,.18); border-color: var(--mint); color: var(--mint); }
.pr__cell[data-state="out"] { background: rgba(255,211,92,.15); border-color: var(--yellow); color: var(--yellow); }
.pr__cell:hover { border-color: var(--pink); }
.pr__cell:focus-visible, .pr__colhead:focus-visible, .pr__handle:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.pr__colhead { padding: .2rem .5rem; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline dotted; text-underline-offset: .25em; }
.pr__addcolor { display: flex; flex-wrap: wrap; align-items: end; gap: .8rem; }
.pr__addcolor .auth__field { min-width: 12rem; }
.pr__upload { flex-direction: row; flex-wrap: wrap; align-items: end; gap: .8rem 1.2rem; }
.pr__upload .auth__field { flex: 1 1 15rem; }
.pr__photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); gap: 1.2rem; }
.pr__photos:empty { display: none; }
.pr__photo { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: .6rem; border: 1px solid rgba(255,179,217,.25); background: rgba(18,6,43,.6); }
.pr__photo.is-drag { opacity: .5; outline: 2px dashed var(--cyan); }
.pr__photo.is-before::before, .pr__photo.is-after::after { content: ""; position: absolute; top: 0; bottom: 0; width: 4px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.pr__photo.is-before::before { left: -.7rem; } .pr__photo.is-after::after { right: -.7rem; }
.pr__meta { display: flex; flex-direction: column; gap: .6rem; }
.pr__meta .btn { padding: .3rem .7rem; font-size: .85rem; }
.pr__bar { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.pr__handle { padding: .25rem .65rem; background: none; border: 1px solid var(--cyan); color: var(--cyan); font-size: 1.1rem; line-height: 1.2; cursor: grab; touch-action: none; user-select: none; }
.pr__handle:active { cursor: grabbing; }
.pr__chart input { width: 100%; min-width: 4.5rem; padding: .4rem .5rem; font: 400 .9rem var(--font-ui); color: #fff; background: rgba(18,6,43,.85); border: 1px solid rgba(255,179,217,.35); }
.pr__chart input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 10px rgba(25,230,214,.4); }
.pr__chart th .btn { padding: .1rem .45rem; margin-top: .3rem; font-size: .8rem; }
.pr__chart td, .pr__chart th { white-space: normal; }
.pr__colorrow { display: flex; flex-wrap: wrap; align-items: end; gap: .6rem 1rem; padding: .8rem 0; border-top: 1px solid rgba(255,179,217,.18); }
.pr__colorrow code { font-size: .85rem; opacity: .8; align-self: center; }
.pr__colorrow .auth__field { flex: 1 1 9rem; }
.pr__colorrow input[type="color"], .pr__form input[type="color"] { padding: .15rem; height: 2.6rem; min-width: 3.5rem; cursor: pointer; }
.pr__colorrow .auth__msg { flex: 1 1 100%; min-height: 0; }
.pr__box .adm__scroll { max-width: 100%; }
@media (max-width: 640px) {
  .pr__item { align-items: flex-start; }
  .pr__thumb { flex-basis: 3.2rem; width: 3.2rem; }
  .pr__photos { grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: .9rem; }
  .pr__cell { width: 2.3rem; height: 2.2rem; }
}
@media (prefers-reduced-motion: reduce) { .thumb { transition: none; } }

/* ========== 12e. PRINT STUDIO / БІБЛІОТЕКА ПРИНТІВ (#admin/prints, #admin/print/…; js/admin-prints.js) ========== */
#admPrints[hidden], #admPrint[hidden], .pl__empty[hidden] { display: none; }
#admPrints, #admPrint { max-width: 72rem; }
.pl__intro { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1.2rem; margin-top: 1.3rem; }
.pl__h { margin: 0; font: 400 1.35rem var(--font-logo); letter-spacing: .04em; color: #fff; text-shadow: 0 0 12px rgba(255,46,147,.55); }
.pl__h small { display: block; margin-top: .2rem; font: 400 .8rem var(--font-ui); letter-spacing: .12em; color: var(--cyan); text-shadow: none; }
.pl__counts { display: flex; flex-wrap: wrap; gap: .3rem .9rem; margin: 0; font-size: .82rem; }
.pl__counts b { color: #fff; font-weight: 400; }
.pl__views { margin-top: .9rem; }
[data-tee="black"] { --tee: #0d0d10; } [data-tee="white"] { --tee: #f4f4f1; } [data-tee="grey"] { --tee: #8d8f94; }
.pl__sw { display: inline-block; width: .8rem; height: .8rem; margin-right: .45rem; background: var(--tee); border: 1px solid rgba(255,255,255,.55); vertical-align: -.08rem; }
.pl__haslabel.is-off { opacity: .45; }
#plListStatus { margin-top: 1rem; }
.pl__empty { align-items: flex-start; max-width: 40rem; border-style: dashed; }
.pl__emptytitle { margin: 0; font: 400 1.15rem var(--font-ui); color: #fff; }

/* the grid: the artwork (or the chosen tee's mockup) large, the facts under it */
.pl__grid { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr)); gap: 1.1rem; }
.pl__grid:empty { display: none; }
.pl__grid[aria-busy="true"] { opacity: .6; }
.pl__card { position: relative; height: 100%; display: flex; flex-direction: column; color: inherit; text-decoration: none;
  background: linear-gradient(180deg, rgba(58,15,107,.45), rgba(18,6,43,.85)); border: 1px solid rgba(255,179,217,.22);
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.pl__card:hover, .pl__card:focus-visible { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 10px 26px rgba(25,230,214,.18); transform: translateY(-2px); }
.pl__art { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; padding: .6rem; }
.pl__art img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
/* transparent artwork on a dark checkerboard; mockups on their tee colour */
[data-bg="checker"] { background: #19132a repeating-conic-gradient(#221a38 0% 25%, transparent 0% 50%) 0 0 / 18px 18px; }
[data-bg="black"] { background: #0d0d10; } [data-bg="white"] { background: #e9e9e4; } [data-bg="grey"] { background: #8d8f94; }
.pl__missing { padding: 1rem; text-align: center; font-size: .85rem; letter-spacing: .03em; color: var(--pastel); background: rgba(18,6,43,.72); border: 1px dashed rgba(255,179,217,.5); }
.pl__body { display: flex; flex-direction: column; gap: .45rem; padding: .75rem .85rem .85rem; flex: 1 1 auto; }
.pl__top { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; }
.pl__name { color: #fff; font-weight: 400; font-size: 1.02rem; line-height: 1.25; overflow-wrap: anywhere; }
.pl__code { flex: 0 0 auto; font: 400 .75rem/1 ui-monospace, Consolas, monospace; letter-spacing: .04em; color: var(--cyan); opacity: .9; }
.pl__desc { font-size: .84rem; line-height: 1.4; opacity: .85; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pl__tags { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; }
.pl__tag { padding: .02rem .4rem; font-size: .74rem; color: var(--pastel); background: rgba(255,46,147,.12); border: 1px solid rgba(255,46,147,.35); }
.pl__foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; padding-top: .35rem; font-size: .78rem; opacity: .9; }
.pl__status { align-self: flex-start; padding: .05rem .5rem; font-size: .76rem; letter-spacing: .05em; border: 1px solid currentColor; }
.pl__status[data-status="concept"] { color: var(--pastel); }
.pl__status[data-status="in_progress"] { color: var(--orange); }
.pl__status[data-status="ready_for_review"] { color: var(--yellow); }
.pl__status[data-status="production_ready"] { color: var(--mint); box-shadow: 0 0 10px rgba(155,255,208,.25); }
.pl__status[data-status="archived"] { color: #a9a3b8; border-style: dashed; }
/* availability: ART + the three tee colours, filled when the file exists */
.pl__dots { display: inline-flex; align-items: center; gap: .3rem; }
.pl__dot { opacity: .35; }
.pl__dot[data-tee] { display: inline-block; width: .85rem; height: .85rem; border-radius: 50%; border: 2px solid var(--tee); }
.pl__dot[data-tee="black"] { border-color: #6b6b75; }
.pl__dot[data-on] { opacity: 1; background: var(--tee); border-color: rgba(255,255,255,.7); }
.pl__dot--art { padding: 0 .25rem; font: 400 .62rem/1.3 ui-monospace, Consolas, monospace; border: 1px solid var(--cyan); color: var(--cyan); }
.pl__dot--art.is-on { opacity: 1; background: rgba(25,230,214,.15); }
.pl__ok { color: var(--mint); font-size: .85rem; } .pl__miss { color: var(--yellow); font-size: .85rem; }

/* one print */
#ptBody { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.4rem; }
#ptBody:empty { display: none; }
#ptBody[aria-busy="true"] .btn { opacity: .55; pointer-events: none; }
#admPrint .account__status { margin-top: 1.1rem; }
.pt__title { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; }
.pt__name { margin: 0; font: 400 1.4rem var(--font-ui); color: #fff; letter-spacing: .03em; overflow-wrap: anywhere; }
.pt__summary { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0; font-size: .88rem; }
.pt__layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1.1rem; align-items: start; }
.pt__wide { grid-column: 1 / -1; }
.pt__layout .account__box { margin-top: 0; }
.pt__flag { margin: 0; padding: .55rem .75rem; font-size: .86rem; line-height: 1.45; border-left: 3px solid var(--yellow); background: rgba(255,211,92,.08); }
.pt__flag b { color: var(--yellow); font-weight: 400; }
.pt__sub { margin: 1rem 0 0; font: 400 .95rem var(--font-ui); letter-spacing: .06em; color: var(--cyan); }
.pt__art { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.pt__frame { display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; padding: .8rem; border: 1px solid rgba(255,179,217,.25); }
.pt__frame img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
a.pt__frame:hover, a.pt__frame:focus-visible { outline: none; border-color: var(--cyan); }
.pt__frame--empty span { padding: .8rem; text-align: center; font-size: .85rem; color: var(--pastel); background: rgba(18,6,43,.72); border: 1px dashed rgba(255,179,217,.5); }
.pt__facts { gap: .55rem; }
.pt__facts dd { margin-top: .1rem; font-size: .92rem; }
.pt__facts .is-warn dd { color: var(--yellow); }
.pt__artinfo { display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
.pt__artinfo p { margin: 0; }
.pt__empty { margin: 0; padding: 1.4rem; text-align: center; border: 1px dashed rgba(255,179,217,.45); opacity: .85; }
.pt__statuses .btn { padding: .4rem .8rem; font-size: .88rem; }
.pt__tabs { margin-top: 0; }
.pt__tabs .tab { padding: .35rem .9rem; font-size: .88rem; }
.pt__mocks { display: grid; grid-template-columns: minmax(0, 32rem); gap: 1.1rem; }
.pt__mocks.is-compare { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pt__mock { display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
.pt__mockhead { display: flex; align-items: center; justify-content: space-between; gap: .5rem; color: #fff; }
.pt__mockhead b { font-weight: 400; }
.pt__mock .auth__note { margin: 0; font-size: .8rem; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .pt__layout { grid-template-columns: minmax(0, 1fr); }
  .pt__mocks.is-compare { grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
}
@media (max-width: 640px) {
  .pl__grid { grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: .8rem; }
  .pl__body { padding: .6rem .65rem .7rem; }
  .pl__desc { display: none; }
  .pt__art { grid-template-columns: minmax(0, 1fr); }
  .pt__mocks { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .pl__card { transition: none; } .pl__card:hover, .pl__card:focus-visible { transform: none; } }

/* SEO URLs: product names in the cart / checkout / order lists are links; the "not found" note; the hidden-product banner (admin preview) */
.cart li a, .co__items li a { color: inherit; text-decoration: underline dotted; text-underline-offset: .18em; }
.cart li a:hover, .co__items li a:hover, .cart li a:focus-visible, .co__items li a:focus-visible { color: var(--pink); }
.shop__notice { margin: .8rem 0 0; padding: .5rem .8rem; border: 1px solid var(--yellow); color: var(--yellow); letter-spacing: .03em; }
.detail__preview { margin: 0 0 1rem; padding: .6rem .8rem; border: 2px solid var(--yellow); background: rgba(255,211,92,.12); color: var(--yellow); font-weight: 700; line-height: 1.35; }

/* ========== 14. CUSTOMIZER (#customize; js/customizer.js): account-view frame, layout «Постер»: photo viewer left, info column right, library drawer ==========
   Entry points: the shop banner (.shop__custom) and the МІЙ ПЕРСОНАЖ link (.char__custom); both are [data-customize]. */
/* «Створи свій дизайн»: a tile in the shop grid (js/shop.js moves the link into li.shop__customcell; until then it waits hidden) */
.shop__row .shop__custom { display: none; }
.shop__customcell { display: flex; min-width: 0; }
.shop__custom { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem; min-height: 12rem; padding: 1.1rem 1.2rem; border-radius: 14px; overflow: hidden;
  text-decoration: none; color: #fff; border: 1px solid rgba(255,179,217,.2);
  background: linear-gradient(150deg, rgba(255,46,147,.5), rgba(58,15,107,.65) 55%, rgba(25,230,214,.35)); transition: transform .3s var(--ease), box-shadow .3s; }
.shop__custom:hover, .shop__custom:focus-visible { outline: none; transform: translateY(-4px); box-shadow: 0 0 0 1px var(--pink), 0 14px 30px rgba(255,46,147,.25); }
.shop__custom-plus { margin-bottom: auto; font: 400 3rem/1 var(--font-logo); }
.shop__custom-text { display: flex; flex-direction: column; gap: .35rem; padding-right: 1.6rem; }
.shop__custom-text b { font-weight: 400; font-size: 1.15rem; line-height: 1.1; }
.shop__custom-text small { font: 400 .85rem/1.35 "Manrope", system-ui, sans-serif; color: #ecdcf5; }
.shop__custom-go { position: absolute; right: 1rem; bottom: 1rem; color: var(--cyan); font-size: 1.3rem; }
.shop.is-detail .shop__custom, .nt-boot-product .shop__custom { display: none; }
@media (max-width: 640px) { .shop__custom { padding: .8rem; } .shop__custom-plus { font-size: 2.2rem; } .shop__custom-text b { font-size: .95rem; } .shop__custom-text small { font-size: .75rem; } .shop__custom-go { right: .7rem; bottom: .7rem; } }

.char__custom { padding: .85rem clamp(1.1rem, 2vw, 1.75rem) calc(env(safe-area-inset-bottom, 0px) + .9rem); border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .8rem; }
.char__custom p { margin: 0; font-size: .8rem; color: #9d90ad; }
.char__custom-btn { padding: .55rem .9rem; border-radius: 999px; font: 700 .78rem "Manrope", sans-serif; letter-spacing: .08em; text-decoration: none; color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--orange)); transition: transform .2s var(--ease), box-shadow .2s; }
.char__custom-btn:hover, .char__custom-btn:focus-visible { outline: none; transform: translateY(-2px); box-shadow: 0 0 0 2px #160d1e, 0 0 0 3.5px var(--cyan); }

body.is-customize #customize { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
body.is-customize .screen { opacity: 0; transform: translateX(-30px); pointer-events: none; }
.nt-boot-customize #customize { visibility: visible; opacity: 1; transform: none; transition: none; } /* see section 9 */
.nt-boot-customize .screen { opacity: 0; pointer-events: none; transition: none; }
/* layout «Постер» (like the product page): the viewer left, the info column right; ≤ 900 px one column + sticky buy bar */
.cz__body { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 27rem); gap: 0 clamp(1.2rem, 3vw, 2.6rem); align-items: start; margin-top: 1rem; }
.cz__body[hidden] { display: none; }
.cz__offtext { margin: 0; line-height: 1.5; }
.cz__viewer { position: sticky; top: 0; display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.cz__bigname { position: absolute; right: -.5rem; top: -1.2rem; z-index: 0; font: 400 clamp(3rem, 7vw, 6.2rem)/.9 var(--font-logo); color: transparent;
  -webkit-text-stroke: 1px rgba(255,46,147,.35); pointer-events: none; user-select: none; }
.cz__stage { position: relative; z-index: 1; width: 100%; aspect-ratio: 1; max-height: 74vh; margin: 0 auto; overflow: hidden; touch-action: none; border-radius: 14px;
  background: radial-gradient(closest-side at 50% 55%, rgba(255,46,147,.2), transparent 70%), radial-gradient(closest-side at 62% 42%, rgba(25,230,214,.12), transparent 75%), rgba(18,6,43,.55);
  border: 1px solid rgba(255,179,217,.2); }
.cz__mock { position: absolute; max-width: none; user-select: none; pointer-events: none; }
.cz__mock[hidden], .cz__zone[hidden], .cz__frame[hidden], .cz__wrap[hidden] { display: none; }
/* sleeve prints where they wrap onto the front / back picture (customizer.js renderWrap; read only) */
.cz__wrap { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* view switch (customizer.js showMock): the next picture not decoded yet = the stage waits empty (never the old picture
   stretched to the new size); then the picture, zone and layers fade in together */
.cz__stage.is-wait .cz__mock, .cz__stage.is-wait .cz__zone, .cz__stage.is-wait .cz__frame, .cz__stage.is-wait .cz__layers,
.cz__stage.is-wait .cz__empty, .cz__stage.is-wait .cz__wrap { visibility: hidden; }
.cz__stage.is-enter .cz__mock, .cz__stage.is-enter .cz__wrap { animation: czEnter .24s var(--ease) both; }
.cz__stage.is-enter .cz__zone, .cz__stage.is-enter .cz__frame, .cz__stage.is-enter .cz__layers,
.cz__stage.is-enter .cz__empty { animation: czFade .24s .06s var(--ease) both; }
.cz__stage.is-wait::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  border: 2px solid rgba(255,179,217,.18); border-top-color: var(--pink); animation: czSpin .8s linear infinite, czFade .2s .25s both; pointer-events: none; }
@keyframes czSpin { to { transform: rotate(1turn); } }
@keyframes czEnter { from { opacity: 0; transform: scale(.985); } }
@keyframes czFade { from { opacity: 0; } }
.cz__zone { position: absolute; border: 1.5px dashed rgba(25,230,214,.45); border-radius: 3px; pointer-events: none; }
.cz__frame { position: absolute; border: 2px solid var(--pink); pointer-events: none; box-shadow: 0 0 14px rgba(255,46,147,.35); }
.cz__frame span { position: absolute; left: -2px; bottom: 100%; padding: .2rem .45rem; background: var(--pink); color: #fff; font: 400 .72rem/1 var(--font-ui); white-space: nowrap; }
.cz__frame.is-bad { border-color: var(--yellow); } .cz__frame.is-bad span { background: var(--yellow); color: var(--night); }
.cz__layers { position: absolute; inset: 0; }
.cz__layer { position: absolute; cursor: grab; touch-action: none; transform-origin: 50% 50%; outline: none; }
.cz__layer img { display: block; width: 100%; height: 100%; pointer-events: none; user-select: none; }
.cz__layer.is-sel, .cz__layer:focus-visible { box-shadow: 0 0 0 1.5px var(--cyan); }
.cz__layer.is-drag { cursor: grabbing; }
.cz__h-rs, .cz__h-rt { position: absolute; display: none; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--night); touch-action: none; }
.cz__h-rs { right: -12px; bottom: -12px; background: var(--cyan); cursor: nwse-resize; }
.cz__h-rt { left: 50%; top: -30px; margin-left: -11px; background: var(--pink); cursor: grab; }
.cz__layer.is-sel .cz__h-rs, .cz__layer.is-sel .cz__h-rt { display: block; }
@media (pointer: coarse) { .cz__h-rs, .cz__h-rt { width: 30px; height: 30px; } .cz__h-rs { right: -16px; bottom: -16px; } .cz__h-rt { top: -38px; margin-left: -15px; } }
.cz__empty { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: .25rem;
  padding: .9rem 1.2rem; border: 1px dashed var(--cyan); border-radius: 12px; background: rgba(18,6,43,.75); color: #fff; font: 400 1rem var(--font-ui); cursor: pointer; }
.cz__empty small { font: 400 .78rem "Manrope", system-ui, sans-serif; color: var(--pastel); }
.cz__empty[hidden] { display: none; }
.cz__views { display: flex; flex-wrap: wrap; gap: .15rem .4rem; }
.cz__view { background: none; border: 0; border-bottom: 2px solid transparent; padding: .45rem .5rem; color: rgba(255,255,255,.65); font: 400 .95rem var(--font-ui); cursor: pointer; }
.cz__view b { margin-right: .35rem; font: 400 .7rem var(--font-logo); color: var(--pink); }
.cz__view i { display: inline-block; min-width: 1.2rem; margin-left: .35rem; padding: 0 .3rem; border-radius: 9px; background: var(--cyan); color: var(--night); font: 700 .7rem/1.2rem "Manrope", sans-serif; text-align: center; font-style: normal; }
.cz__view[aria-pressed="true"] { color: #fff; border-color: var(--pink); }
.cz__view:hover:not(:disabled), .cz__view:focus-visible { color: #fff; outline: none; border-color: var(--cyan); }
.cz__view:disabled { opacity: .35; cursor: not-allowed; }
.cz__disclaimer { opacity: .7; }
.cz__info { position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 0; }
.cz__info .detail__price { margin-bottom: .7rem; }
.cz__libbtn { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; width: 100%; margin: 0 0 .4rem; padding: .85rem 1rem; text-align: left; cursor: pointer;
  background: rgba(25,230,214,.08); border: 1px dashed var(--cyan); border-radius: 12px; color: #fff; font: 400 1rem var(--font-ui); transition: background .2s, transform .2s var(--ease); }
.cz__libbtn small { margin-left: auto; font: 400 .78rem "Manrope", system-ui, sans-serif; color: var(--pastel); }
.cz__libbtn:hover:not(:disabled), .cz__libbtn:focus-visible { outline: none; background: rgba(25,230,214,.18); transform: translateY(-2px); }
.cz__libbtn:disabled { opacity: .5; cursor: not-allowed; }
.cz__sec { display: flex; flex-direction: column; gap: .55rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,179,217,.18); }
.cz__h { margin: 0; display: flex; align-items: baseline; gap: .55rem; font: 400 .85rem var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.cz__h small { font: 400 .8rem "Manrope", sans-serif; letter-spacing: 0; text-transform: none; color: var(--pastel); }
.cz .opt__label { margin: .35rem 0 0; }
.cz .opt__label small { margin-left: .4rem; color: #fff; }
.cz__warn { color: var(--yellow); opacity: 1; margin: 0 0 .4rem; }
.cz__warn[hidden] { display: none; }
.cz__pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.cz .pill { padding: .35rem .75rem; border-radius: 999px; border: 1px solid rgba(255,179,217,.35); background: none; color: #fff; font: 400 .8rem var(--font-ui); cursor: pointer; }
.cz .pill[aria-pressed="true"] { background: #fff; color: var(--night); border-color: #fff; }
.cz .pill:hover:not(:disabled), .cz .pill:focus-visible { outline: none; border-color: var(--cyan); }
.cz .pill:disabled { opacity: .45; cursor: not-allowed; }
.cz__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.cz__li { display: flex; align-items: center; gap: .3rem; border-radius: 10px; background: rgba(255,255,255,.04); }
.cz__li.is-sel { background: rgba(25,230,214,.14); }
.cz__li-pick { flex: 1; min-width: 0; display: flex; align-items: center; gap: .6rem; padding: .4rem; background: none; border: 0; color: #fff; text-align: left; cursor: pointer; }
.cz__li-pick img { flex: none; width: 40px; height: 40px; object-fit: contain; background: rgba(255,255,255,.07); border-radius: 6px; }
.cz__li-pick > span { min-width: 0; display: flex; flex-direction: column; }
.cz__li-pick b { font: 600 .85rem "Manrope", sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cz__li-pick small { font: 400 .75rem "Manrope", sans-serif; opacity: .9; }
.cz__li-x { flex: none; width: 2.2rem; height: 2.2rem; background: none; border: 0; color: #fff; opacity: .7; cursor: pointer; font-size: 1rem; }
.cz__li-x:hover, .cz__li-x:focus-visible { opacity: 1; color: var(--pink); outline: none; }
.cz__li-empty { padding: .6rem .2rem; font-size: .85rem; color: var(--pastel); list-style: none; }
.cz__q--ok { color: var(--mint); } .cz__q--mid { color: var(--yellow); } .cz__q--bad { color: var(--pink); }
.cz__tools { display: flex; flex-direction: column; gap: .35rem; padding-top: .3rem; }
.cz__tools[hidden] { display: none; }
.cz__range { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.cz__range output { color: var(--yellow); }
.cz__tools input[type="range"] { width: 100%; accent-color: var(--pink); margin: -.1rem 0 .2rem; }
.cz__tools input[type="range"]:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.cz__tools .auth__note { margin: 0; }
.cz__btns { display: flex; flex-wrap: wrap; gap: .4rem; }
.cz__btns .btn { padding: .35rem .65rem; font-size: .8rem; }
.cz__btns:empty { display: none; }
.cz .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.cz__facts { margin: 0; display: grid; gap: .4rem; }
.cz__facts div { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.cz__facts dt { opacity: .85; }
.cz__facts dd { margin: 0; color: #fff; text-align: right; overflow-wrap: anywhere; }
.cz__facts .cz__price { color: var(--yellow); font-size: 1.1rem; }
#czWhy:empty { display: none; }
.cz .auth__msg.is-error { color: var(--yellow); }
.cz__buybar { display: none; }
.cz__link { padding: 0; background: none; border: 0; color: var(--cyan); text-decoration: underline; font: inherit; cursor: pointer; }
/* the library drawer: a panel from the right (desktop) / a bottom sheet (phones) */
.cz__drawer { position: fixed; inset: 0; z-index: 60; display: flex; justify-content: flex-end; background: rgba(8,2,22,.6); backdrop-filter: blur(4px); }
.cz__drawer[hidden] { display: none; }
.cz__drawer-in { width: min(34rem, 100%); height: 100%; overflow-y: auto; display: flex; flex-direction: column; gap: .75rem; padding: 1.2rem 1.3rem calc(env(safe-area-inset-bottom, 0px) + 1.2rem);
  background: linear-gradient(180deg, #1d0a3f, var(--night)); border-left: 1px solid rgba(255,179,217,.25); box-shadow: -20px 0 40px rgba(0,0,0,.45); animation: czIn .3s var(--ease); }
@keyframes czIn { from { transform: translateX(30px); opacity: 0; } }
@keyframes czUp { from { transform: translateY(30px); opacity: 0; } }
.cz__drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cz__drawer-head .btn { padding: .4rem .75rem; font-size: .85rem; }
.cz__drop { position: relative; display: flex; flex-direction: column; gap: .25rem; padding: 1rem; text-align: center; border: 2px dashed rgba(255,179,217,.35); border-radius: 12px; cursor: pointer; color: var(--pastel); font-size: .8rem; transition: border-color .2s, background .2s; }
.cz__drop strong { color: #fff; font: 400 1rem var(--font-ui); }
.cz__drop:hover, .cz__drop:focus-within { border-color: var(--cyan); background: rgba(25,230,214,.06); }
.cz__drop.is-disabled { opacity: .6; cursor: progress; }
.cz__drop[hidden] { display: none; }
.cz__review { margin: .2rem 0 0; padding-left: .6rem; border-left: 2px solid var(--cyan); line-height: 1.45; }
.cz__file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; } /* the label is the button; the input stays focusable */
.cz__drawer .auth__msg:empty { display: none; }
.cz__drawer .auth__note { margin: 0; }
.cz__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(7.2rem, 1fr)); gap: .55rem; }
.cz__grid .cz__li-empty { grid-column: 1 / -1; }
.cz__li-head { grid-column: 1 / -1; list-style: none; margin: .5rem 0 -.1rem; font-size: .8rem; color: var(--pastel); }
.cz__li-head:first-child { margin-top: 0; }
.cz__li-head b { color: #fff; font: 400 .9rem var(--font-ui); letter-spacing: .05em; }
.cz__li-head span { opacity: .7; }
.cz__li-head span::before { content: "— "; }
.cz__tile { position: relative; }
.cz__tile-add { width: 100%; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; padding: .5rem .5rem .3rem; cursor: pointer;
  background: rgba(255,255,255,.06); border: 1px solid transparent; border-radius: 10px; color: #fff; transition: border-color .2s, transform .2s var(--ease); }
.cz__tile-add img { flex: 1; min-height: 0; max-width: 100%; object-fit: contain; }
.cz__tile-add:hover:not(:disabled), .cz__tile-add:focus-visible { outline: none; border-color: var(--cyan); transform: translateY(-2px); }
.cz__tile-add:disabled { opacity: .5; cursor: not-allowed; }
.cz__tile-plus { position: absolute; left: .35rem; top: .35rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--pink); font: 400 1rem/1.4rem var(--font-ui); text-align: center; }
.cz__tile-name { max-width: 100%; font: 400 .7rem "Manrope", sans-serif; opacity: .8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cz__tile-x { position: absolute; right: .25rem; top: .25rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 0; background: rgba(18,6,43,.85); color: #fff; cursor: pointer; opacity: .8; }
.cz__tile-x:hover, .cz__tile-x:focus-visible { opacity: 1; color: var(--pink); outline: 2px solid var(--pink); }
@media (max-width: 900px) {
  .cz__body { grid-template-columns: minmax(0, 1fr); gap: .6rem; padding-bottom: 4.5rem; }
  .cz__viewer { position: static; }
  .cz__bigname { display: none; }
  .cz__stage { width: min(100%, 62vh); }
  .cz__views { justify-content: center; }
  .cz__view { font-size: .8rem; padding: .4rem .3rem; min-height: 2.75rem; } /* finger-sized (44 px) */
  .cz__pills .pill { min-height: 2.75rem; }
  #czBack { white-space: nowrap; }
  .cz__sum #czAdd { display: none; }
  .cz__buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: .8rem; padding: .6rem 1rem calc(env(safe-area-inset-bottom, 0px) + .6rem);
    background: rgb(12,4,30); border-top: 1px solid rgba(255,179,217,.22); } /* opaque: the summary price behind must not show through */
  .cz__buybar span { font: 400 1.15rem var(--font-ui); color: var(--yellow); }
  .cz__buybar .btn { flex: 1; padding: .75rem; }
  body:not(.is-customize) .cz__buybar { display: none; }
  .cz__drawer { align-items: flex-end; }
  .cz__drawer-in { height: auto; max-height: 88%; border-left: 0; border-top: 1px solid rgba(255,179,217,.25); border-radius: 18px 18px 0 0; animation-name: czUp; }
}
@media (pointer: coarse) { .cz__keys { display: none; } }
@media (max-width: 900px) { body.is-customize .hud { display: none; } } /* the buy bar takes the bottom edge */

/* ========== cookie consent (js/track.js; shown only while an analytics/ads id is configured) ========== */
.consent {
  position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 9000;
  width: min(720px, calc(100% - 24px)); box-sizing: border-box; padding: 14px 16px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  background: rgba(18, 6, 43, .96); border: 1px solid rgba(25, 230, 214, .45); border-radius: 12px;
  box-shadow: 0 0 24px rgba(255, 46, 147, .25); color: var(--pastel); font-size: .85rem; line-height: 1.45;
}
.consent[hidden] { display: none; }
.consent__text { margin: 0; flex: 1 1 320px; }
.consent__text a { color: var(--cyan); }
.consent__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.consent__actions .btn { padding: .55em 1em; font-size: .8rem; }

/* ========== conversion (2026-10-26): order discount, cart «+», «Додано в кошик» panel, size help, Telegram ========== */
.co__disc, .co__offer { display: block; font-size: .85rem; color: var(--pastel); margin-bottom: .25rem; }
.co__disc b { color: var(--cyan); font-weight: 700; }
.co__offer { margin: .35rem 0 0; color: var(--cyan); }
.cart__plus { min-width: 2.2rem; }
.added {
  position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 8000;
  width: min(520px, calc(100% - 24px)); box-sizing: border-box; padding: 14px 16px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  background: rgba(18, 6, 43, .97); border: 1px solid rgba(255, 46, 147, .6); border-radius: 12px;
  box-shadow: 0 0 28px rgba(255, 46, 147, .35); color: var(--pastel);
}
.added[hidden] { display: none; }
.added__what { margin: 0; flex: 1 1 220px; display: flex; flex-direction: column; gap: .15rem; font-size: .9rem; }
.added__what b { color: #fff; }
.added__what small { color: var(--cyan); }
.added__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.added__actions .btn { padding: .55em 1em; font-size: .8rem; }
@media (max-width: 760px) { body .shop.is-detail .added { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } } /* above the sticky buy bar */
.detail__sizehelp { margin-top: .5rem; padding: 0; background: none; border: 0; color: var(--cyan); font: inherit; font-size: .85rem;
  border-bottom: 1px dashed rgba(25,230,214,.5); cursor: pointer; }
.detail__sizehelp:hover, .detail__sizehelp:focus-visible { border-bottom-style: solid; outline: none; }
.detail__ask { margin: .7rem 0 0; font-size: .85rem; }
.detail__ask a { color: var(--cyan); }
/* social icons in the shop (src/social.js via js/shop.js socialHtml): product page under «Напиши нам», end of the catalog */
.detail__social { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .9rem; margin: .8rem 0 0; font-size: .85rem; }
.detail__social .social, .shop__social .social { justify-content: flex-start; gap: .55rem; }
.shop__social { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: .7rem; padding: 1.6rem 0 .6rem; font: 400 .85rem "Manrope", system-ui, sans-serif; color: #cbb7e0; letter-spacing: .04em; }
.shop__social .social { justify-content: center; }
.stars { color: var(--yellow); letter-spacing: .05em; }
.stars i { font-style: normal; color: rgba(255,211,92,.25); }
.card__rating { font-size: .8rem; color: var(--yellow); white-space: nowrap; }
.detail__rating { display: inline-flex; align-items: center; gap: .4rem; margin: .2rem 0 0; padding: 0; background: none; border: 0;
  color: var(--pastel); font: inherit; font-size: .85rem; cursor: pointer; }
.detail__rating:hover span, .detail__rating:focus-visible span { text-decoration: underline; }
.detail__notify { margin: .8rem 0 0; padding: .8rem; border: 1px dashed rgba(25,230,214,.5); border-radius: 8px; }
.detail__notify[hidden] { display: none; }
.detail__notify-t { margin: 0 0 .5rem; font-size: .85rem; }
.detail__notify-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.detail__notify-row input { flex: 1 1 180px; min-width: 0; padding: .55em .7em; border-radius: 6px; border: 1px solid rgba(255,179,217,.4);
  background: rgba(18,6,43,.6); color: #fff; font: inherit; }
.detail__notify-msg { margin: .45rem 0 0; font-size: .8rem; color: var(--cyan); }
.detail__notify-msg:empty { display: none; }
.detail__reviews { margin-top: 1.4rem; }
.detail__reviews[hidden] { display: none; }
.detail__reviews-h { margin: 0 0 .6rem; font-size: 1rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; }
.detail__reviews-h small { font-weight: 400; font-size: .8rem; opacity: .85; }
.reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.review { padding: .8rem; border: 1px solid rgba(255,179,217,.18); border-radius: 8px; background: rgba(18,6,43,.45); }
.review__head { margin: 0 0 .35rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; font-size: .85rem; }
.review__head span, .review__head time { opacity: .75; font-size: .78rem; }
.review__text { margin: 0; font-size: .9rem; white-space: pre-line; }
.review__photo { display: inline-block; margin-top: .5rem; }
.review__photo img { display: block; max-width: 160px; height: auto; border-radius: 6px; }
.co__rev-open { margin-top: .35rem; }
.co__rev { margin-top: .5rem; display: grid; gap: .5rem; }
.co__rev[hidden] { display: none; }
.co__rev-state { display: block; margin-top: .3rem; font-size: .8rem; color: var(--cyan); }
.co__stars { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem .8rem; }
.co__stars legend { font-size: .85rem; margin-bottom: .2rem; }
.co__stars label { display: inline-flex; align-items: center; gap: .25rem; color: var(--yellow); cursor: pointer; }
.rv__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.rv__head { margin: 0; display: flex; flex-wrap: wrap; gap: .3rem .8rem; align-items: baseline; }
.rv__head b { color: var(--yellow); }
.rv__off { color: rgba(255,211,92,.25); }
.rv__meta { margin: .2rem 0 .5rem; font-size: .8rem; opacity: .8; }
.rv__text { margin: 0 0 .5rem; }
.rv__photo img { display: block; border-radius: 6px; }
.mk__url { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: .6rem 0 0; }
.mk__url code { word-break: break-all; font-size: .85rem; color: var(--cyan); }
.co__badge { font-style: normal; font-size: .75rem; margin-left: .35rem; padding: .05rem .4rem; border-radius: 4px; background: var(--cyan); color: var(--night); }

/* ========== 15. SETTINGS «НАЛАШТУВАННЯ» (js/settings.js): game-style dialog with tabs + the classes it sets on <html> ==========
   Only the background, the fonts and the scanlines change: product photos and the constructor never do. */
/* pixel font = Tiny5: every Ukrainian letter (Pixelify Sans lacked І О П, which fell back to the bold fonts), one weight
   (font-synthesis: none = no smeared fake bold), one font pixel = 1/8 em. The menu, the HUD, the buttons and this dialog
   snap their sizes to whole font pixels: 8 px steps, 4 px on 2× screens (round() unsupported = the plain size) */
:root.nt-pixel-font { --font-logo: "Tiny5", "Rubik Mono One", sans-serif; --font-ui: "Tiny5", "Russo One", sans-serif; --font-sign: "Tiny5", "Comfortaa", sans-serif;
  --px: 8px; font-synthesis: none; }
@media (min-resolution: 2dppx) { :root.nt-pixel-font { --px: 4px; } }
.nt-pixel-font .logo__word { font-size: round(nearest, clamp(1.5rem, 6.4vw, 3.3rem), var(--px)); }
.nt-pixel-font .stage .menu__item { font-size: round(nearest, clamp(.95rem, 2.3vw, 1.45rem), var(--px)); }
.nt-pixel-font .menu__more .menu__item, .nt-pixel-font .btn, .nt-pixel-font .set__tab, .nt-pixel-font .set__label, .nt-pixel-font .set__ctl, .nt-pixel-font .acct__item { font-size: round(nearest, .95rem, var(--px)); }
.nt-pixel-font .hud { font-size: round(nearest, .85rem, var(--px)); }
.nt-pixel-font .set .auth__title { font-size: round(nearest, 1.6rem, var(--px)); }
@media (max-width: 640px) { .nt-pixel-font .menu__more .menu__item { font-size: round(nearest, .8rem, var(--px)); } }
@media (max-width: 360px) { .nt-pixel-font .stage .menu__item { font-size: round(nearest, .85rem, var(--px)); } }
@media (max-width: 420px) { .nt-pixel-font .set__tab { font-size: round(nearest, .8rem, var(--px)); } }
@media (max-height: 560px) and (orientation: landscape) { .nt-pixel-font .logo__word { font-size: round(nearest, 1.6rem, var(--px)); } .nt-pixel-font .menu__more .menu__item { font-size: round(nearest, .8rem, var(--px)); } }
@media (max-height: 400px) and (orientation: landscape) { .nt-pixel-font .logo__word { font-size: round(nearest, 1.3rem, var(--px)); } }
.nt-pixel-bg #bg { image-rendering: pixelated; }
.nt-crt-off .scanlines { display: none; }
.nt-crt-high .scanlines { opacity: .32;
  background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0,0,0,.8) 2px 3px),
    repeating-linear-gradient(90deg, rgba(255,0,90,.14) 0 1px, rgba(0,255,200,.1) 1px 2px, rgba(90,90,255,.14) 2px 3px); }
.nt-crt-high .scrim { box-shadow: inset 0 0 14vmin 3vmin rgba(0,0,0,.65); }
.nt-reduce *, .nt-reduce *::before, .nt-reduce *::after { animation: none !important; transition-duration: .01ms !important; }

.set { width: min(calc(100% - 2rem), 34rem); }
.set__box { gap: .9rem; }
.set__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.set__keys { font: 400 .72rem "Manrope", system-ui, sans-serif; color: var(--pastel); opacity: .8; white-space: nowrap; }
.set__keys kbd { font: inherit; padding: .05rem .4rem; margin-right: .2rem; border: 1px solid var(--cyan); color: var(--cyan); }
.set__tabs { display: flex; border-bottom: 2px solid rgba(255,179,217,.22); }
.set__tab { flex: 1 1 0; margin-bottom: -2px; padding: .6rem .3rem; background: none; border: 0; border-bottom: 3px solid transparent; cursor: pointer;
  font: 400 .95rem var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--pastel); opacity: .65; transition: color .2s, opacity .2s, border-color .2s; }
.set__tab:hover { opacity: 1; }
.set__tab[aria-selected="true"] { opacity: 1; color: #fff; border-bottom-color: var(--pink); text-shadow: 0 0 10px var(--pink); }
.set__tab:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.set__panel { display: flex; flex-direction: column; gap: .2rem; min-height: 13.2rem; } /* the dialog keeps its height between tabs */
.set__row { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem 1rem;
  padding: .5rem .7rem .5rem 1.3rem; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.set__row:hover { background: rgba(255,46,147,.07); }
.set__row:focus-within { background: rgba(255,46,147,.14); border-color: rgba(255,46,147,.6); box-shadow: 3px 3px 0 rgba(25,230,214,.5); }
.set__row:focus-within::before { content: "▶"; position: absolute; left: .35rem; top: 50%; transform: translateY(-50%); font-size: .62rem; color: var(--mint); }
.set__label { font: 400 .95rem var(--font-ui); letter-spacing: .04em; color: #fff; text-align: left; }
.set__ctl { display: inline-flex; align-items: center; justify-content: space-between; gap: .5rem; min-width: 10rem; padding: .25rem 0;
  background: none; border: 0; outline: none; cursor: pointer; font: 400 .9rem var(--font-ui); letter-spacing: .08em; color: var(--cyan); }
.set__ctl[aria-checked="false"] { color: var(--pastel); }
.set__ctl[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.set__v { flex: 1 1 auto; text-align: center; }
.set__arrow { padding: 0 .25rem; color: var(--pink); transition: transform .15s; }
.set__arrow:hover { transform: scale(1.3); }
.set__bars { display: inline-flex; gap: 3px; }
.set__bar { width: .6rem; height: 1.05rem; background: rgba(255,179,217,.2); transform: skewX(-12deg); }
.set__bar.is-on { background: var(--cyan); box-shadow: 0 0 6px rgba(25,230,214,.7); }
.set__ctl--info { cursor: default; color: var(--pastel); }
.set__ctl--btn { justify-content: center; padding: .35rem .8rem; border: 1px solid var(--cyan); }
.set__ctl--btn:hover, .set__row:focus-within .set__ctl--btn { background: rgba(25,230,214,.15); box-shadow: 0 0 12px rgba(25,230,214,.45); }
.set__desc { min-height: 2.7em; margin: 0; font: 400 .85rem/1.35 "Manrope", system-ui, sans-serif; color: var(--mint); text-align: left; }
.set__foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
@media (hover: none) { .set__keys { display: none; } .set__foot { justify-content: flex-end; } }
@media (max-width: 420px) { .set__box { padding: 1.1rem .9rem 1rem; } .set__tab { font-size: .8rem; letter-spacing: .06em; } .set__ctl { min-width: 0; flex: 1 1 100%; } .set__row { padding-block: .4rem; } }

/* ========== 16. SALE «Чорна п'ятниця» (content/pricing.js sale): crossed-out prices, badge, catalog banner ========== */
.price__was { color: rgba(236,220,245,.55); font-size: .78em; text-decoration: line-through; text-decoration-color: var(--pink); text-decoration-thickness: 2px; margin-right: .25em; white-space: nowrap; }
.price__badge { display: inline-block; margin-left: .5em; padding: .1em .45em; border-radius: 6px; background: var(--pink); color: #fff; font-size: .55em; vertical-align: middle; letter-spacing: .04em; }
.shop__sale { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: .3rem .9rem; padding: .75rem 1rem; border-radius: 14px;
  background: #07020f; border: 1px solid var(--pink); box-shadow: 0 0 18px rgba(255,46,147,.35), inset 0 0 18px rgba(255,46,147,.12); text-align: center; list-style: none; }
.shop__sale b { font: 400 clamp(1rem, 2.4vw, 1.35rem) var(--font-logo); color: #fff; text-shadow: 2px 2px 0 var(--pink); text-transform: uppercase; letter-spacing: .04em; }
.shop__sale span { font: 600 .95rem "Manrope", system-ui, sans-serif; color: var(--yellow); }
.shop__sale small { font: 400 .8rem "Manrope", system-ui, sans-serif; color: var(--mint); }
.cz__sale dt, .cz__sale dd { color: var(--pink); }

/* ========== 17. CAMPAIGN BANNER «ЧОРНЕ ЗАТЕМНЕННЯ» in the main menu (js/campaign.js; 2026-11-25, agreed by the ad designer + critic
   agents): «Чорна п'ятниця» 60 % | eclipse disk with the countdown | new drop 40 %. Replaces the tagline while it runs
   (body.has-event). Halves are divs, their CTA's ::before covers the half; «Умови акції» sits above it. ========== */
.event[hidden] { display: none; }
.has-event .tagline { display: none; }
.has-event .menu { margin-top: 1.5rem; }
.has-event .stage__media { height: clamp(7rem, 19vh, 12rem); }
.event { position: relative; flex-shrink: 0; display: grid; grid-template-columns: 1.5fr 10rem 1fr; align-items: stretch; width: min(100%, 52rem); min-height: clamp(7rem, 17vh, 10rem);
  margin-top: clamp(.8rem, 2.2vh, 1.4rem); text-align: left; border-radius: 18px; border: 1.5px solid transparent;
  background: linear-gradient(90deg, #0a0414, #05020c 60%, #0a0414) padding-box, linear-gradient(90deg, #ff2e93, #b44cff, #19e6d6) border-box;
  box-shadow: 0 0 24px rgba(180,76,255,.4), 0 0 60px rgba(255,46,147,.18); animation: evIn .4s ease .5s both; }
@keyframes evIn { from { opacity: 0; transform: scale(.97); } }
.event__bf, .event__drop { position: relative; min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .25rem; }
.event__bf { padding: .6rem .6rem .6rem 1.3rem; gap: .2rem; }
.event__drop { padding: .6rem 1.2rem .6rem .6rem; }
.event__kick { padding: .2rem .55rem; border-radius: 999px; background: rgba(255,211,92,.12); color: var(--yellow); font: 700 .66rem/1.3 "Manrope", system-ui, sans-serif; letter-spacing: .14em; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.event.is-live .event__bf .event__kick { background: var(--pink); color: #fff; }
.event__kick--drop { background: rgba(25,230,214,.12); color: var(--cyan); }
.event__big { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .55rem; font: 400 clamp(2rem, 5vw, 3.2rem)/1 var(--font-logo); color: #ffd35c; text-shadow: 3px 3px 0 #ff2e93; }
.event__big small { font: 800 .78rem/1 "Manrope", system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #fff; text-shadow: none; }
.event__sub { font: 500 .8rem/1.3 "Manrope", system-ui, sans-serif; color: #ecdcf5; max-width: 100%; }
.event__note { font: 700 .78rem/1.3 "Manrope", system-ui, sans-serif; color: var(--yellow); }
.event__note[hidden] { display: none; }
.event__row { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .9rem; margin-top: .3rem; }
.event .btn.event__cta { position: static; padding: .45rem .9rem; font-size: .8rem; }
.event__cta::before, .event__go::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 16px; }
.event__terms { position: relative; z-index: 3; font: 600 .72rem "Manrope", system-ui, sans-serif; color: var(--mint); text-decoration: underline; text-underline-offset: 2px; }
.event__bf:has(.event__cta:focus-visible), .event__drop:has(.event__go:focus-visible) { outline: 2px solid #19e6d6; outline-offset: -2px; border-radius: 16px; }
.event__clock { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; text-align: center; }
.event__disk { position: absolute; left: 50%; top: 50%; width: clamp(7rem, 16vh, 9.5rem); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #000;
  box-shadow: 0 0 0 2px #ffd0e8, 0 0 18px #ff2e93, 0 0 42px #b44cff, 0 0 80px rgba(25,230,214,.45); animation: evPulse 5s ease-in-out infinite alternate; }
@keyframes evPulse { from { box-shadow: 0 0 0 2px #ffd0e8, 0 0 14px rgba(255,46,147,.8), 0 0 32px rgba(180,76,255,.8), 0 0 60px rgba(25,230,214,.3); } }
.event__lbl, .event__time { position: relative; }
.event__lbl { font: 700 .58rem "Manrope", system-ui, sans-serif; letter-spacing: .2em; color: #9bffd0; }
.event__time { font: 400 clamp(1.05rem, 2.1vw, 1.5rem)/1.1 var(--font-ui); color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; text-shadow: 0 0 10px rgba(255,46,147,.6); }
.event__drop[hidden] { display: none; }
.event__drop-h { font: 400 clamp(1.1rem, 2.5vw, 1.7rem)/1 var(--font-ui); color: #19e6d6; letter-spacing: .05em; text-shadow: 0 0 14px rgba(25,230,214,.5); }
.event__strip { position: relative; display: flex; gap: 4px; width: 100%; height: 3.2rem; overflow: hidden; border-radius: 6px; }
.event__strip:empty { display: none; }
.event__strip > span { flex: 0 0 calc(25% - 3px); overflow: hidden; border-radius: 6px; background: #12062b; }
.event__strip img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.event__strip.is-blur img { filter: blur(6px) saturate(1.3) brightness(.8); transform: scale(1.15); }
.event__strip.is-blur::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%);
  transform: translateX(-100%); animation: evSweep 6s ease-in-out infinite; }
@keyframes evSweep { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.event__price { font: 700 .76rem "Manrope", system-ui, sans-serif; color: #fff; }
.event__price[hidden], .event__go[hidden] { display: none; }
.event__go { font: 700 .8rem "Manrope", system-ui, sans-serif; color: var(--cyan); }
/* low desktop / tablet windows */
@media (min-width: 641px) and (max-height: 760px) {
  .event { min-height: 6.5rem; } .event__disk { width: 6.5rem; } .event__strip { height: 2.4rem; }
  .event__sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .event__drop .event__sub { display: none; }
  .has-event .stage__media { height: 17vh; } .has-event .menu { margin-top: 1rem; }
}
/* phones: BF | drop on the first row, the countdown strip below */
@media (max-width: 640px) {
  .event { grid-template-columns: 3fr 2fr; min-height: 0; }
  .event__bf { grid-row: 1; padding: .6rem .4rem .5rem .75rem; gap: .2rem; }
  .event__drop { grid-row: 1; padding: .6rem .75rem .5rem .3rem; gap: .2rem; }
  .event__clock { grid-column: 1 / -1; grid-row: 2; flex-direction: row; gap: .55rem; height: 2.4rem; border-top: 1px solid rgba(255,255,255,.08); }
  .event__disk { position: static; transform: none; width: 1.5rem; flex: none; }
  .event__big { font-size: clamp(1.9rem, 10vw, 2.5rem); }
  .event__big small { font-size: .62rem; }
  .event__kick { font-size: .56rem; letter-spacing: .1em; }
  .event__sub { font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .event__note { font-size: .68rem; }
  .event .btn.event__cta { padding: .3rem .6rem; font-size: .68rem; }
  .event__terms { font-size: .64rem; }
  .event__drop-h { font-size: .95rem; }
  .event__sub, .event__bf .event__terms { display: none; }
  .event__strip { height: 2.2rem; }
  .event__price, .event__go { font-size: .66rem; }
  .event__time { font-size: 1.05rem; }
  .has-event .menu { margin-top: 1rem; }
  .has-event .stage__media { height: 16vh; }
}
@media (max-width: 640px) and (max-height: 700px) {
  .event__sub, .event__note, .event__price { display: none; }
  .has-event .stage__media { height: 13vh; }
  .has-event .menu { margin-top: .9rem; }
}
@media (max-width: 640px) and (max-height: 660px) {
  .has-event .stage__media { display: none; }
  .has-event .logo__word { font-size: 1.4rem; }
  .event__strip { height: 2rem; }
  .has-event .menu { margin-top: .7rem; }
  .event__terms { display: none; }
}
/* phones held sideways: one line «−20% на каталог · kicker → | ● countdown | НОВИЙ ДРОП →» */
@media (max-height: 560px) and (orientation: landscape) {
  .event { grid-template-columns: auto auto auto; justify-content: space-between; align-items: center; min-height: 2.6rem; margin-top: .6rem; padding: 0 .4rem; }
  .event__bf, .event__drop { flex-direction: row; align-items: center; gap: .5rem; padding: .25rem .5rem; }
  .event__clock { flex-direction: row; gap: .45rem; }
  .event__disk { position: static; transform: none; width: 1.2rem; flex: none; }
  .event__big { font-size: 1.25rem; flex-wrap: nowrap; }
  .event__big small { font-size: .58rem; }
  .event__sub, .event__note, .event__terms, .event__strip, .event__price, .event__kick--drop, .event__lbl { display: none; }
  .event__kick { font-size: .56rem; }
  .event__row { margin: 0; }
  .event .btn.event__cta { padding: .2rem .5rem; font-size: .62rem; box-shadow: 2px 2px 0 var(--cyan); }
  .event__drop-h { font-size: .85rem; }
  .event__go { font-size: .62rem; }
  .event__time { font-size: .95rem; }
  .has-event .menu { margin-top: .9rem; }
}
@media (max-height: 400px) and (orientation: landscape) {
  .event { min-height: 2.2rem; margin-top: .3rem; }
  .has-event .logo__word { font-size: 1.15rem; }
  .event__kick { display: none; }
  .has-event .stage__chip, .has-event .legal-links .social { display: none; }
  .has-event .menu { margin-top: .6rem; }
}
@media (prefers-reduced-motion: reduce) { .event, .event__disk, .event__strip::after { animation: none; } }

/* ========== 18. PRINT RIBBON beside the main menu (owner 2026-11-26; the posters of the reel «Стоп-кадр»): a tilted
   column of every print scrolling down the left gap, behind the content. Wide screens only (the menu is 52rem wide);
   a poster opens its tee (data-shop-product), hovering it stops the ribbon ========== */
.ribbon { display: none; }
@media (min-width: 1200px) and (min-height: 560px) {
  .ribbon {
    --rw: clamp(6rem, calc((100vw - 52rem) / 2 - 5rem), 12rem);
    display: block; position: absolute; z-index: -1; top: -25vh; bottom: -25vh; width: var(--rw);
    left: calc((100vw - 52rem) / 4 - var(--rw) / 2); transform: rotate(-6deg); overflow: hidden;
    -webkit-mask-image: linear-gradient(transparent 14%, #000 24%, #000 76%, transparent 86%);
    mask-image: linear-gradient(transparent 14%, #000 24%, #000 76%, transparent 86%);
  }
  .ribbon__track { display: flex; flex-direction: column; gap: 1rem; animation: ribbonRoll 110s linear infinite; will-change: transform; }
  .ribbon:hover .ribbon__track { animation-play-state: paused; }
  .ribbon__card {
    flex: none; aspect-ratio: 320 / 420; display: grid; place-items: center; padding: .55rem; border-radius: 14px;
    background: rgba(16, 8, 30, .88); border: 1px solid rgba(255, 255, 255, .07); opacity: .58;
    transition: opacity .25s, box-shadow .25s, border-color .25s;
  }
  .ribbon__card:nth-child(4n + 2) { border-color: rgba(25, 230, 214, .45); box-shadow: 0 0 14px rgba(25, 230, 214, .25); }
  .ribbon__card img { width: 100%; height: 100%; object-fit: contain; }
  .ribbon__card:hover { opacity: 1; border-color: var(--pink); box-shadow: 0 0 0 2px var(--pink), 0 0 22px rgba(255, 46, 147, .55); }
  .ribbon__card[hidden] { display: none; }
}
/* the track holds the set twice (minus one gap of 1rem per set): -50% lands on the second copy's start */
@keyframes ribbonRoll { from { transform: translateY(calc(-50% - .5rem)); } to { transform: translateY(0); } }
html.nt-reduce .ribbon__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ribbon__track { animation: none; } }
