/* Intim Time — ночной неон.
   Раскладка флексовая, состояния выражены атрибутами, а не вторыми
   классами. Ширины карточек подстраиваются контейнерными запросами. */

:root {
  --void: #07070d;
  --deep: #0d0d17;
  --deep-2: #141422;
  --edge: #232338;
  --edge-2: #33334e;
  --text: #ececf5;
  --text-2: #a5a5bd;
  --text-3: #6d6d88;
  --cyan: #22d3ee;
  --magenta: #e879f9;
  --hot: #f43f5e;
  --wrap: 1220px;
  --gap: 20px;
  --face: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font: 15.5px/1.62 var(--face);
}

img { display: block; max-width: 100%; height: auto; }

:where(a) { color: inherit; text-decoration: none; }
:where(a):hover { color: var(--cyan); }

:where(h1, h2, h3, h4) { line-height: 1.18; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); letter-spacing: -.028em; }
h2 { font-size: clamp(1.15rem, 2.1vw, 1.55rem); letter-spacing: -.018em; margin-top: 1.9em; }
h3 { font-size: 1rem; font-weight: 600; }
h4 { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1em; }
p { margin: 0 0 .9em; }
s { color: var(--text-3); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.t-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gap); }
.t-skip { position: absolute; left: -9999px; }
.t-skip:focus { left: 0; top: 0; z-index: 70; background: var(--cyan); color: var(--void); padding: 10px 15px; }
.t-lead { font-size: 1.04rem; color: var(--text-2); max-width: 66ch; }
.t-upd, .t-sku { font-size: 12.5px; color: var(--text-3); letter-spacing: .06em; }
.t-sku { display: block; margin-bottom: 8px; text-transform: uppercase; }

/* ---- кнопки ---- */
.t-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border: 1px solid var(--cyan); border-radius: 4px;
  background: linear-gradient(100deg, var(--cyan), var(--magenta));
  color: var(--void); font: 700 13.5px var(--face); letter-spacing: .02em;
  cursor: pointer; transition: filter .16s, box-shadow .16s;
}
.t-btn:hover { color: var(--void); filter: brightness(1.12); box-shadow: 0 0 22px -6px var(--cyan); }
.t-btn[data-ghost] { background: transparent; color: var(--text); border-color: var(--edge-2); }
.t-btn[data-ghost]:hover { color: var(--cyan); border-color: var(--cyan); box-shadow: none; }
.t-btn[disabled] { background: var(--deep-2); border-color: var(--edge); color: var(--text-3); cursor: default; box-shadow: none; }

/* ---- шапка ---- */
.t-head { position: sticky; top: 0; z-index: 40; background: rgba(13, 13, 23, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--edge); }
.t-bar { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.t-brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: var(--cyan); }
.t-glyph { width: 32px; height: 32px; }
.t-brand span { font-weight: 700; font-size: 17px; letter-spacing: -.02em; color: var(--text); }
.t-brand b { color: var(--magenta); }
.t-claim { flex: 1 1 auto; text-align: center; font-size: 12.5px; color: var(--text-3); }
.t-tools { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.t-link { font-size: 13.5px; color: var(--text-2); }
.t-bag { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border: 1px solid var(--edge-2); border-radius: 4px; background: transparent; color: var(--text); font: 600 13px var(--face); cursor: pointer; }
.t-bag:hover { border-color: var(--cyan); }
.t-bag span { color: var(--cyan); }
.t-burger { display: none; width: 40px; height: 40px; border: 1px solid var(--edge-2); border-radius: 4px; background: transparent; color: var(--text); font-size: 19px; cursor: pointer; }

.t-nav { border-top: 1px solid var(--edge); }
.t-nav-in { display: flex; gap: 4px; overflow-x: auto; padding-block: 8px; scrollbar-width: none; }
.t-nav-in::-webkit-scrollbar { display: none; }
.t-nav-a { flex: 0 0 auto; padding: 8px 14px; border-radius: 4px; font-size: 13.5px; color: var(--text-2); white-space: nowrap; }
.t-nav-a:hover { background: var(--deep-2); color: var(--cyan); }
.t-nav-a[aria-current] { background: var(--deep-2); color: var(--cyan); box-shadow: inset 0 -2px 0 var(--cyan); }
.t-nav-a[data-all] { margin-left: auto; color: var(--magenta); }

.t-trail { border-bottom: 1px solid var(--edge); font-size: 12.5px; }
.t-trail .t-wrap { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-block: 11px; }
.t-trail a { color: var(--text-3); }
.t-trail i { color: var(--edge-2); font-style: normal; }
.t-trail span { color: var(--text-2); }

/* ---- первый экран ---- */
.t-hero { padding: 36px 0 12px; }
.t-hero-in { display: flex; flex-wrap: wrap; gap: clamp(22px, 4vw, 44px); align-items: center; }
.t-hero-in > div { flex: 1 1 380px; min-width: 0; }
.t-acts { display: flex; flex-wrap: wrap; gap: 11px; margin: 20px 0; }
.t-facts { display: flex; flex-wrap: wrap; gap: 26px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--edge); list-style: none; }
.t-facts b { display: block; font-size: 1.5rem; color: var(--cyan); }
.t-facts span { font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }

.t-sec { padding: 28px 0; }

/* ---- картинки ---- */
.t-shot { width: 100%; object-fit: cover; border-radius: 6px; }
.t-shot[data-kind="hero"], .t-shot[data-kind="cover"] { aspect-ratio: 16 / 9; border: 1px solid var(--edge); }
.t-shot[data-kind="card"] { aspect-ratio: 1; border-radius: 6px 6px 0 0; background: var(--deep-2); }
.t-shot[data-kind="item"] { aspect-ratio: 1; border: 1px solid var(--edge); background: var(--deep-2); }

/* ---- линейки ---- */
.t-tiles { display: flex; flex-wrap: wrap; gap: 10px; }
.t-tile { flex: 1 1 180px; display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; border: 1px solid var(--edge); border-radius: 6px; background: var(--deep); }
.t-tile:hover { border-color: var(--cyan); background: var(--deep-2); }
.t-tile b { font-size: 15px; }
.t-tile span { font-size: 12.5px; color: var(--text-3); }
.t-tile em { font-style: normal; font-size: 11.5px; color: var(--magenta); }

/* ---- лента карточек: ширина через контейнерные запросы ---- */
.t-rail { container-type: inline-size; display: flex; flex-wrap: wrap; gap: 14px; }
.t-card { flex: 1 1 210px; max-width: 100%; display: flex; flex-direction: column; border: 1px solid var(--edge); border-radius: 6px; overflow: hidden; background: var(--deep); }
.t-card:hover { border-color: var(--edge-2); }
.t-card-pic { position: relative; display: block; }
.t-off { position: absolute; left: 9px; top: 9px; padding: 3px 9px; border-radius: 3px; background: var(--hot); color: #fff; font-size: 12px; }
.t-card-txt { display: flex; flex-direction: column; gap: 6px; padding: 13px 15px 15px; flex: 1 1 auto; }
.t-card-txt h3 { font-size: 14px; font-weight: 500; line-height: 1.35; margin: 0; }
.t-mark { margin: 0; font-size: 12px; color: var(--text-3); }
.t-card-txt .t-btn { margin-top: auto; padding: 9px 12px; font-size: 12.5px; }

@container (min-width: 900px) { .t-card { flex-basis: 220px; } }
@container (max-width: 520px) { .t-card { flex-basis: 145px; } .t-mark { display: none; } }

.t-price { margin: 0; display: flex; align-items: baseline; gap: 9px; }
.t-price b { font-size: 1.15rem; }
.t-price s { font-size: 12.5px; }
.t-price[data-big] { margin: 12px 0 16px; }
.t-price[data-big] b { font-size: 2rem; color: var(--cyan); }
.t-price[data-big] s { font-size: 15px; }
.t-gain { padding: 3px 9px; border: 1px solid var(--hot); border-radius: 3px; font-size: 12.5px; color: var(--hot); }

/* ---- обложки и карточка ---- */
.t-cover, .t-item { display: flex; flex-wrap: wrap; gap: clamp(20px, 3.6vw, 42px); }
.t-cover { align-items: center; margin-bottom: 26px; }
.t-item { align-items: flex-start; }
.t-cover > div, .t-item > div { flex: 1 1 360px; min-width: 0; }
.t-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.t-chips span { padding: 4px 12px; border: 1px solid var(--edge-2); border-radius: 999px; font-size: 12.5px; color: var(--text-2); }

/* ---- текст ---- */
.t-doc { max-width: 76ch; }
.t-note { margin: 26px 0; padding: 20px 22px; border: 1px solid var(--edge); border-left: 3px solid var(--magenta); border-radius: 0 6px 6px 0; background: var(--deep); max-width: 80ch; }
.t-note h2 { margin-top: 0; }
.t-note > :last-child { margin-bottom: 0; }
.t-warn { font-size: 14px; color: var(--magenta); margin-bottom: 0; }

.t-ul { margin: 0 0 1em; padding-left: 1.25em; }
.t-ul li { margin-bottom: .4em; }
.t-ul li::marker { color: var(--cyan); }
.t-ul[data-tight] { list-style: none; padding-left: 0; }
.t-ul[data-tight] li { font-size: 14px; color: var(--text-2); margin-bottom: .25em; }
.t-ul[data-tight] li::before { content: "·"; color: var(--cyan); margin-right: 8px; }

.t-scroll { overflow-x: auto; border: 1px solid var(--edge); border-radius: 6px; margin: 14px 0 24px; }
.t-tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 410px; }
.t-tbl :is(th, td) { padding: 11px 15px; text-align: left; border-bottom: 1px solid var(--edge); vertical-align: top; }
.t-tbl th { background: var(--deep-2); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--cyan); }
.t-tbl tr:last-child td { border-bottom: 0; }

.t-qa { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 24px; max-width: 80ch; }
.t-qa details { border: 1px solid var(--edge); border-radius: 6px; background: var(--deep); }
.t-qa summary { cursor: pointer; padding: 14px 17px; font-weight: 600; font-size: 14.5px; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.t-qa summary::-webkit-details-marker { display: none; }
.t-qa summary::after { content: "+"; color: var(--cyan); font-size: 18px; line-height: 1; }
.t-qa details[open] summary::after { content: "−"; }
.t-qa p { margin: 0; padding: 0 17px 14px; font-size: 14px; color: var(--text-2); }

.t-pager { display: flex; gap: 6px; margin-top: 26px; }
.t-page { padding: 9px 15px; border: 1px solid var(--edge-2); border-radius: 4px; font-size: 13.5px; color: var(--text-2); }
.t-page[aria-current] { background: var(--cyan); border-color: var(--cyan); color: var(--void); font-weight: 700; }

.t-sibs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.t-sibs a { padding: 6px 13px; border: 1px solid var(--edge); border-radius: 999px; font-size: 12.5px; color: var(--text-2); }
.t-sibs a:hover { border-color: var(--magenta); color: var(--magenta); }

.t-lost { text-align: center; padding: 40px 0; }
.t-lost h1 { font-size: clamp(3rem, 10vw, 6rem); background: linear-gradient(100deg, var(--cyan), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-lost .t-acts { justify-content: center; }
.t-lost .t-tiles { margin-top: 30px; text-align: left; }

/* ---- 18+ ---- */
.t-age { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: var(--gap); background: rgba(7, 7, 13, .93); backdrop-filter: blur(8px); }
.t-age[hidden] { display: none; }
.t-age-box { max-width: 480px; text-align: center; padding: 34px 30px; border: 1px solid var(--cyan); border-radius: 8px; background: var(--deep); box-shadow: 0 0 60px -20px var(--cyan); }
.t-age-box .t-glyph { width: 52px; height: 52px; margin: 0 auto 14px; color: var(--cyan); }
.t-age-box h2 { margin-top: 0; }
.t-age-box p { color: var(--text-2); }
.t-age-acts { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; margin: 22px 0 14px; }
.t-age-fine { font-size: 12.5px; color: var(--text-3); margin: 0; }

/* ---- подвал ---- */
.t-foot { margin-top: 40px; padding: 34px 0 26px; border-top: 1px solid var(--edge); background: var(--deep); }
.t-foot-cols { display: flex; flex-wrap: wrap; gap: 28px; }
.t-foot-cols > div { flex: 1 1 190px; display: flex; flex-direction: column; gap: 8px; }
.t-foot-cols a { font-size: 13.5px; color: var(--text-2); }
.t-foot-legal { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--edge); font-size: 12.5px; color: var(--text-3); }
.t-foot-legal p { margin: 0 0 .6em; max-width: 96ch; }
.t-18 { display: inline-block; padding: 1px 8px; margin-right: 5px; border-radius: 3px; background: var(--magenta); color: var(--void); font-size: 11.5px; }

/* ---- адаптив ---- */
@media (max-width: 900px) {
  .t-claim { display: none; }
  .t-cover > div:last-child, .t-hero-in > div:last-child { order: -1; }
}

@media (max-width: 720px) {
  .t-burger { display: block; }
  .t-link { display: none; }
  .t-nav { display: none; }
  .t-nav[data-on] { display: block; }
  .t-nav-in { flex-direction: column; }
  .t-nav-a[data-all] { margin-left: 0; }
}

@media (max-width: 460px) {
  :root { --gap: 14px; }
  .t-facts { gap: 16px; }
  .t-price[data-big] b { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) { * { transition-duration: 0s !important; } }

@media print {
  .t-head, .t-foot, .t-age, .t-nav { display: none; }
  body { background: #fff; color: #000; }
}
