/* ==========================================================================
   AFFINITY CMS — front-end design system
   Amazon's commercial clarity (dense information, yellow CTA, price hierarchy)
   fused with the restraint of a modern product site: generous white space,
   soft elevation, one accent, tight type.
   All colours come from CSS variables written by Services/Theme.php.
   ========================================================================== */

/* ------------------------------------------------------------------ reset */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--brand); color: var(--brand-ink);
  padding: 10px 18px; border-radius: 0 0 10px 10px; font-weight: 600;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; }

.ic { flex: none; }
.ic.flip { transform: rotate(180deg); }
.muted { color: var(--muted); }

/* ---------------------------------------------------------------- layout */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (max-width: 640px) { .wrap { padding-inline: 14px; } }

.main { min-height: 50vh; }

.sec { margin-block: clamp(36px, 5vw, 60px); }
.sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.sec-title {
  font-size: clamp(20px, 2.4vw, 27px);
  display: inline-flex; align-items: center; gap: 9px;
}
.sec-title .ic { color: var(--accent); }
.sec-more {
  color: var(--accent-2); font-weight: 600; font-size: 14.5px;
  display: inline-flex; align-items: center; gap: 4px;
}
.sec-more:hover { text-decoration: underline; }
.sec-count { color: var(--muted); font-size: 14px; }

.page-head { margin-block: clamp(26px, 4vw, 44px) 8px; }
.page-title { font-size: clamp(25px, 3.6vw, 38px); }
.page-sub { color: var(--muted); margin-top: 8px; font-size: 16.5px; max-width: 70ch; }

/* ------------------------------------------------------------- admin bar */

.admin-bar {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: var(--brand-ink); font-size: 13px;
}
.admin-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 7px; }
.admin-bar-in span { display: inline-flex; align-items: center; gap: 6px; opacity: .9; }
.admin-bar nav { display: flex; gap: 16px; }
.admin-bar nav a { font-weight: 600; opacity: .9; }
.admin-bar nav a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 640px) { .admin-bar-in > span { display: none; } }

/* ----------------------------------------------------------------- header */

.hdr { position: sticky; top: 0; z-index: 90; }
.hdr-main { background: var(--brand); color: var(--brand-ink); }
.hdr-in {
  display: flex; align-items: center; gap: 18px;
  min-height: 62px; padding-block: 10px;
}

.hdr-burger { display: none; color: inherit; padding: 6px; margin-left: -6px; border-radius: 8px; }
.hdr-burger:hover { background: rgba(255,255,255,.1); }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent); color: #0F1111;
  display: grid; place-items: center;
  font-weight: 800; font-size: 19px; letter-spacing: -.02em;
}
.brand-name { font-weight: 700; font-size: 19px; letter-spacing: -.025em; white-space: nowrap; }
.brand-logo { max-height: 36px; width: auto; object-fit: contain; }

/* search ------------------------------------------------------------------ */

.search { flex: 1 1 auto; max-width: 720px; position: relative; }
.search-box {
  display: flex; align-items: stretch;
  background: var(--bg); border-radius: 10px; overflow: hidden;
  box-shadow: 0 0 0 0 var(--accent); transition: box-shadow .16s ease;
}
.search:focus-within .search-box { box-shadow: 0 0 0 3px var(--accent); }
.search-box input {
  flex: 1; border: 0; background: transparent; color: var(--text);
  padding: 11px 15px; font-size: 15px; min-width: 0;
}
.search-box input::placeholder { color: var(--muted); }
.search-box input:focus { outline: none; }
.search-btn {
  background: var(--accent); color: #0F1111;
  padding-inline: 17px; display: grid; place-items: center;
  transition: filter .16s ease;
}
.search-btn:hover { filter: brightness(.93); }

.search-sug {
  position: absolute; inset-inline: 0; top: calc(100% + 8px);
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  overflow: hidden; z-index: 20; max-height: 70vh; overflow-y: auto;
}
.sug-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft); width: 100%; text-align: left;
}
.sug-item:last-child { border-bottom: 0; }
.sug-item:hover, .sug-item.is-active { background: var(--surface); }
.sug-item img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: var(--surface); flex: none; }
.sug-noimg { width: 44px; height: 44px; border-radius: 8px; background: var(--surface); flex: none; }
.sug-t { font-size: 14.5px; font-weight: 500; line-height: 1.35; }
.sug-p { font-size: 13.5px; color: var(--price); font-weight: 700; margin-top: 2px; }
.sug-all { display: block; padding: 11px 14px; text-align: center; font-weight: 600; font-size: 14px; color: var(--accent-2); background: var(--surface); }

.search-big { max-width: 620px; margin-top: 18px; }
.search-big .search-box { border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.search-big input { padding: 14px 18px; font-size: 16px; }
.search-hint { color: var(--muted); margin-bottom: 12px; }

/* header actions ---------------------------------------------------------- */

.hdr-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.hdr-tg, .hdr-deals, .hdr-theme {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; border-radius: 9px; font-size: 14px; font-weight: 600;
  color: inherit; transition: background .16s ease;
}
.hdr-tg:hover, .hdr-deals:hover, .hdr-theme:hover { background: rgba(255,255,255,.12); }
.hdr-deals .ic { color: var(--accent); }
@media (max-width: 1080px) { .hdr-tg span, .hdr-deals span { display: none; } }

/* nav row ----------------------------------------------------------------- */

.hdr-nav { background: var(--brand-2); color: var(--brand-ink); }
.hdr-nav-in {
  display: flex; align-items: center; gap: 4px;
  overflow-x: auto; scrollbar-width: none; padding-block: 6px;
}
.hdr-nav-in::-webkit-scrollbar { display: none; }
.nav-all, .nav-link {
  padding: 7px 12px; border-radius: 8px; font-size: 14px; font-weight: 500;
  white-space: nowrap; opacity: .92; transition: background .15s ease, opacity .15s ease;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-all { font-weight: 700; }
.nav-all:hover, .nav-link:hover, .nav-all.is-active { background: rgba(255,255,255,.14); opacity: 1; }

/* drawer ------------------------------------------------------------------ */

.drawer { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.5); backdrop-filter: blur(2px); }
.drawer[hidden] { display: none; }
.drawer-panel {
  position: absolute; inset-block: 0; left: 0; width: min(320px, 86vw);
  background: var(--bg); display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: slideIn .22s cubic-bezier(.2,.7,.3,1);
}
@keyframes slideIn { from { transform: translateX(-100%); } }
.drawer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; background: var(--brand); color: var(--brand-ink);
}
.drawer-title { font-weight: 700; font-size: 17px; }
.drawer-close { color: inherit; }
.drawer-nav { padding: 10px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.drawer-nav a {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 13px; border-radius: 10px; font-size: 15px; font-weight: 500;
}
.drawer-nav a:hover { background: var(--surface); }
.drawer-nav .ic { color: var(--muted); }
.drawer-label {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted); padding: 16px 13px 6px;
}
.drawer-tg { background: var(--accent-2-soft); color: var(--accent-2); margin-top: 10px; }
.drawer-tg .ic { color: inherit; }

@media (max-width: 900px) {
  .hdr-burger { display: grid; }
  .hdr-nav { display: none; }
}
@media (max-width: 720px) {
  .hdr-in { flex-wrap: wrap; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
}

/* ------------------------------------------------------------------ hero */

.hero {
  background:
    radial-gradient(1200px 400px at 15% -10%, var(--accent-soft), transparent 60%),
    radial-gradient(900px 380px at 90% 0%, var(--accent-2-soft), transparent 62%),
    var(--surface);
  border-bottom: 1px solid var(--line-soft);
}
.hero-in {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center;
  padding-block: clamp(38px, 6vw, 74px);
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bg); border: 1px solid var(--line);
  color: var(--muted); font-size: 13px; font-weight: 600;
  padding: 6px 13px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.hero-kicker .ic { color: var(--accent); }
.hero-title {
  font-size: clamp(31px, 4.6vw, 52px); line-height: 1.08;
  letter-spacing: -.035em; margin-top: 18px;
  text-wrap: balance;
}
.hero-text { color: var(--muted); font-size: clamp(16px, 1.5vw, 18.5px); margin-top: 16px; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px;
  list-style: none; color: var(--muted); font-size: 14px;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .ic { color: var(--ok); }

.hero-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease;
}
.hero-card:hover { transform: translateY(-4px); }
.hero-card-media {
  position: relative; aspect-ratio: 4 / 3; background: var(--surface);
  display: grid; place-items: center; padding: 22px;
}
.hero-card-media img { width: 100%; height: 100%; object-fit: contain; }
.hero-off {
  position: absolute; top: 14px; left: 14px;
  background: var(--price); color: #fff; font-weight: 800; font-size: 14px;
  padding: 5px 11px; border-radius: 8px; letter-spacing: -.01em;
}
.hero-card-body { padding: 18px 20px 22px; }
.hero-card-label {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; color: var(--accent-2);
  text-transform: uppercase; letter-spacing: .05em;
}
.hero-card-title { font-size: 19px; margin-top: 8px; line-height: 1.3; }
.hero-card-price { margin-top: 12px; display: flex; align-items: baseline; gap: 10px; }
.hero-now { font-size: 27px; font-weight: 800; color: var(--price); letter-spacing: -.03em; }
.hero-was { color: var(--muted); text-decoration: line-through; font-size: 15px; }
.hero-card-cta {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 16px; color: var(--accent-2); font-weight: 700; font-size: 15px;
}

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 32px; }
  .hero-card { max-width: 460px; }
}

/* ---------------------------------------------------------------- buttons */

.btn-primary, .btn-ghost, .btn-danger {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 11px; font-weight: 650; font-size: 15.5px;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
  border: 1px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: var(--bg); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); border-color: var(--muted); }
.btn-danger { background: var(--price); color: #fff; }
.btn-danger:hover { filter: brightness(1.06); }
.btn-sm { padding: 8px 15px; font-size: 14px; border-radius: 9px; }
.btn-primary:active, .btn-ghost:active { transform: translateY(1px); }

/* ------------------------------------------------------------ product grid */

.pgrid { display: grid; gap: 18px; }
.pgrid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.pgrid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pgrid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .pgrid.cols-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .pgrid.cols-4, .pgrid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .pgrid { gap: 12px; } }

.card {
  background: var(--bg); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s cubic-bezier(.2,.7,.3,1), box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line);
}
.card-media {
  position: relative; aspect-ratio: 1 / 1; background: var(--surface);
  display: grid; place-items: center; padding: 14px;
}
.card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-noimg { color: var(--muted); opacity: .5; }
.card-off {
  position: absolute; top: 10px; left: 10px;
  background: var(--price); color: #fff; font-size: 12.5px; font-weight: 800;
  padding: 3px 8px; border-radius: 6px;
}
.card-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--brand); color: var(--brand-ink);
  font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: .04em;
}
.card-body { padding: 13px 14px 15px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-brand {
  font-size: 11.5px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .05em;
}
.card-title {
  font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-title a:hover { color: var(--accent-2); }
.card-rating { display: flex; align-items: center; gap: 6px; }
.card-rating-n { font-size: 12.5px; color: var(--muted); }
.card-excerpt {
  font-size: 13.5px; color: var(--muted); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-price { margin-top: auto; padding-top: 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card-now { font-size: 20px; font-weight: 800; color: var(--price); letter-spacing: -.025em; }
.card-was { font-size: 13.5px; color: var(--muted); text-decoration: line-through; }
.card-price-empty { color: var(--muted); font-size: 14px; font-weight: 600; }
.card-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  margin-top: 8px; padding: 9px 14px; border-radius: 9px;
  background: var(--cta); color: var(--cta-ink);
  font-weight: 700; font-size: 14px;
  transition: filter .16s ease;
}
.card-cta:hover { filter: brightness(.95); }

/* stars ------------------------------------------------------------------- */

.stars { position: relative; display: inline-block; line-height: 1; font-size: 15px; letter-spacing: 1px; white-space: nowrap; }
.stars-sm { font-size: 13px; }
.stars-bg { color: var(--line); }
.stars-fg {
  position: absolute; inset-block: 0; left: 0;
  overflow: hidden; color: var(--accent); white-space: nowrap;
}
.stars-n { margin-left: 7px; font-size: 13px; color: var(--muted); letter-spacing: 0; }

/* ------------------------------------------------------------ category tiles */

.catrail {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
}
.cattile {
  --tile: var(--accent-2);
  background: var(--bg); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 18px 16px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative; overflow: hidden;
}
.cattile::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 3px;
  background: var(--tile); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.cattile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line); }
.cattile:hover::after { transform: scaleX(1); }
.cattile img { width: 46px; height: 46px; object-fit: cover; border-radius: 10px; margin-bottom: 6px; }
.cattile-ic {
  width: 42px; height: 42px; border-radius: 11px; margin-bottom: 6px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--tile) 14%, transparent); color: var(--tile);
}
.cattile-name { font-weight: 650; font-size: 15px; letter-spacing: -.01em; }
.cattile-n { font-size: 12.5px; color: var(--muted); }

/* chips ------------------------------------------------------------------- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg);
  font-size: 14px; font-weight: 550;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover { background: var(--surface); border-color: var(--muted); }
.chip.is-active { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.chip-n {
  font-size: 11.5px; font-weight: 700; opacity: .65;
  background: color-mix(in srgb, currentColor 14%, transparent);
  padding: 1px 6px; border-radius: 999px;
}

/* toolbar ----------------------------------------------------------------- */

.toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line-soft);
}
.toolbar-count { color: var(--muted); font-size: 14.5px; }
.toolbar-count strong { color: var(--text); font-size: 16px; }
.toolbar-page { opacity: .8; }
.toolbar-sort { display: flex; align-items: center; gap: 9px; }
.toolbar-sort label { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); font-weight: 600; }
.toolbar-sort select {
  border: 1px solid var(--line); background: var(--bg); color: var(--text);
  padding: 8px 12px; border-radius: 9px; font-size: 14px; cursor: pointer;
}

/* pagination -------------------------------------------------------------- */

.pager { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 34px; flex-wrap: wrap; }
.pager-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 600; background: var(--bg);
}
.pager-btn:hover:not(.is-off) { background: var(--surface); }
.pager-btn.is-off { opacity: .4; cursor: default; }
.pager-nums { display: flex; align-items: center; gap: 4px; }
.pager-num {
  min-width: 38px; height: 38px; padding-inline: 10px;
  display: grid; place-items: center; border-radius: 9px;
  font-size: 14.5px; font-weight: 600;
}
.pager-num:hover { background: var(--surface); }
.pager-num.is-active { background: var(--brand); color: var(--brand-ink); }
.pager-gap { color: var(--muted); padding-inline: 2px; }
@media (max-width: 560px) { .pager-btn span { display: none; } }

/* empty state ------------------------------------------------------------- */

.empty {
  text-align: center; padding: clamp(40px, 8vw, 76px) 20px;
  background: var(--surface); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.empty .ic { color: var(--muted); opacity: .45; }
.empty h3 { font-size: 20px; margin-top: 6px; }
.empty p { color: var(--muted); max-width: 44ch; }
.empty .btn-primary { margin-top: 12px; }

/* ============================================================ PRODUCT PAGE */

.preview-bar {
  background: #FFF4CE; color: #6B4E00; font-size: 14px;
  padding: 10px 20px; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.preview-bar a { font-weight: 700; text-decoration: underline; }

.crumbs {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  padding-block: 16px 4px; font-size: 13.5px; color: var(--muted);
}
.crumbs a:hover { color: var(--accent-2); text-decoration: underline; }
.crumbs-sep { opacity: .5; display: inline-flex; }
.crumbs-now { color: var(--text); font-weight: 500; }

.pdp { padding-block: 18px 10px; }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 52px); }
@media (max-width: 900px) { .pdp-grid { grid-template-columns: 1fr; gap: 26px; } }

.pdp-noimg {
  aspect-ratio: 1/1; background: var(--surface); border-radius: var(--radius-lg);
  display: grid; place-items: center; align-content: center; gap: 10px;
  color: var(--muted); opacity: .6; font-size: 14px;
}

/* gallery ----------------------------------------------------------------- */

.gal { display: grid; gap: 14px; position: sticky; top: 88px; }
.gal-left { grid-template-columns: 72px minmax(0, 1fr); }
.gal-below { grid-template-columns: 1fr; }
.gal-grid { grid-template-columns: 1fr; }
@media (max-width: 640px) { .gal-left { grid-template-columns: 1fr; } .gal { position: static; } }

.gal-thumbs {
  display: flex; flex-direction: column; gap: 9px;
  max-height: 520px; overflow-y: auto; scrollbar-width: thin;
}
.gal-left .gal-thumbs { order: -1; }
@media (max-width: 640px) {
  .gal-thumbs { flex-direction: row; overflow-x: auto; max-height: none; order: 2; }
}
.gal-below .gal-thumbs, .gal-grid .gal-thumbs { flex-direction: row; overflow-x: auto; max-height: none; }

.gal-thumb {
  width: 68px; height: 68px; flex: none; padding: 4px;
  border: 2px solid var(--line); border-radius: 10px; background: var(--bg);
  transition: border-color .16s ease, transform .16s ease;
}
.gal-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gal-thumb:hover { border-color: var(--muted); }
.gal-thumb.is-active { border-color: var(--accent); }

.gal-main {
  position: relative; background: var(--surface); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line-soft);
}
.gal-stage { aspect-ratio: 1/1; display: grid; place-items: center; padding: 22px; cursor: zoom-in; }
.ratio-portrait .gal-stage { aspect-ratio: 4/5; }
.ratio-landscape .gal-stage { aspect-ratio: 4/3; }
.ratio-auto .gal-stage { aspect-ratio: auto; min-height: 320px; }
.gal-stage img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.has-zoom .gal-stage:hover img { transform: scale(1.6); }

.gal-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg); color: var(--text); box-shadow: var(--shadow);
  display: grid; place-items: center; opacity: 0; transition: opacity .18s ease;
}
.gal-main:hover .gal-nav, .gal-nav:focus-visible { opacity: 1; }
.gal-prev { left: 12px; }
.gal-prev .ic { transform: rotate(180deg); }
.gal-next { right: 12px; }
.gal-count {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(0,0,0,.62); color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 3px 9px; border-radius: 999px;
}
.gal-expand {
  position: absolute; bottom: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg); color: var(--text); box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
}
.gal-expand:hover { background: var(--surface); }
@media (max-width: 640px) { .gal-nav { opacity: 1; } }

/* product info ------------------------------------------------------------ */

.pdp-info { display: flex; flex-direction: column; gap: 12px; }
.pdp-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-cats a {
  font-size: 12.5px; font-weight: 600; color: var(--accent-2);
  background: var(--accent-2-soft); padding: 4px 10px; border-radius: 999px;
}
.pdp-cats a:hover { filter: brightness(.95); }

.p-brand { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.p-title { letter-spacing: -.03em; text-wrap: balance; }
.p-title.size-lg  { font-size: clamp(22px, 3vw, 28px); }
.p-title.size-xl  { font-size: clamp(25px, 3.4vw, 34px); }
.p-title.size-xxl { font-size: clamp(28px, 4.2vw, 42px); }
.p-subtitle { color: var(--muted); font-size: 17px; line-height: 1.45; }

.p-rating { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.p-rating-v { font-weight: 700; font-size: 15px; }
.p-rating-n { font-size: 13.5px; color: var(--accent-2); }

.p-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.p-badge {
  background: var(--accent-soft); color: var(--text);
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: .04em;
}

.p-rule { height: 1px; background: var(--line-soft); margin-block: 4px; }

.p-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.p-now { font-weight: 800; color: var(--price); letter-spacing: -.035em; }
.p-price.size-md .p-now { font-size: 25px; }
.p-price.size-lg .p-now { font-size: clamp(29px, 4vw, 36px); }
.p-price.size-xl .p-now { font-size: clamp(34px, 5vw, 46px); }
.p-was { color: var(--muted); text-decoration: line-through; font-size: 16px; }
.p-off {
  background: var(--price); color: #fff; font-weight: 800; font-size: 14px;
  padding: 4px 10px; border-radius: 8px; align-self: center;
}
.p-price-note { font-size: 13.5px; color: var(--muted); }
.p-short { font-size: 16px; line-height: 1.6; color: var(--text); }

/* buy box ----------------------------------------------------------------- */

.buybox { margin-top: 8px; display: flex; flex-direction: column; gap: 12px; }

.btn-buy {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; width: 100%; min-height: 54px; padding: 13px 24px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 750; font-size: 17px; letter-spacing: -.01em; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .2s ease, filter .16s ease;
}
.btn-buy:hover { filter: brightness(.95); box-shadow: var(--shadow); transform: translateY(-1px); }
.btn-buy:active { transform: translateY(1px); }
.btn-buy-sub { font-size: 12.5px; font-weight: 600; opacity: .78; letter-spacing: 0; }
.btn-outline { border-width: 2px; box-shadow: none; }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line);
  font-weight: 600; font-size: 14.5px; background: var(--bg);
}
.btn-secondary:hover { background: var(--surface); }

.buy-form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px;
}
.buy-form-title { font-size: 19px; margin-bottom: 6px; }
.buy-form-note {
  display: flex; align-items: center; gap: 7px;
  font-size: 14px; color: var(--ok); font-weight: 600; margin-bottom: 14px;
}
.buy-form-embed { min-height: 40px; }
.buy-form-embed input:not([type=checkbox]):not([type=radio]),
.buy-form-embed select, .buy-form-embed textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text);
  font-size: 15px; margin-bottom: 10px;
}
.buy-form-embed button, .buy-form-embed input[type=submit] {
  width: 100%; padding: 14px 22px; border-radius: 999px; border: 0;
  background: var(--cta); color: var(--cta-ink); font-weight: 750; font-size: 16.5px;
  cursor: pointer;
}
.buy-form-embed button:hover, .buy-form-embed input[type=submit]:hover { filter: brightness(.95); }

.buy-missing {
  background: #FFF4CE; color: #6B4E00; border: 1px dashed #E0BE55;
  border-radius: var(--radius); padding: 14px 16px; font-size: 14px;
  display: flex; align-items: flex-start; gap: 9px; flex-wrap: wrap;
}
.buy-missing a { color: #8A5A00; text-decoration: underline; font-weight: 700; }
.buy-missing .muted { opacity: .75; font-size: 13px; }

.trust-row { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.trust-row li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--text); }
.trust-row .ic { color: var(--ok); flex: none; }

.p-platform {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; color: var(--muted);
  background: var(--surface); padding: 7px 12px; border-radius: 9px; align-self: flex-start;
}
.p-disclosure { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

.p-share { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.p-share-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
}
.p-share-btn:hover { background: var(--surface); color: var(--text); }

.p-admin-note {
  margin-top: 6px; font-size: 12.5px; color: var(--muted);
  background: var(--surface); border: 1px dashed var(--line);
  border-radius: 10px; padding: 9px 12px;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.p-admin-note a { color: var(--accent-2); font-weight: 600; }

/* sticky buy bar ---------------------------------------------------------- */

.sticky-buy {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 80;
  background: var(--bg); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(0,0,0,.1);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(110%); transition: transform .26s cubic-bezier(.2,.7,.3,1);
}
.sticky-buy.is-visible { transform: translateY(0); }
.sticky-buy[hidden] { display: none; }
.sticky-buy-inner {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; gap: 14px;
}
.sticky-buy-info { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.sticky-buy-info img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: var(--surface); flex: none; }
.sticky-buy-title {
  font-size: 14px; font-weight: 600; line-height: 1.25;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sticky-buy-price { font-size: 16px; font-weight: 800; color: var(--price); }
.btn-sticky { width: auto; min-width: 170px; min-height: 46px; font-size: 15.5px; flex: none; }
@media (min-width: 901px) { .sticky-buy { display: none; } }
@media (max-width: 420px) { .btn-sticky { min-width: 130px; padding-inline: 16px; font-size: 14.5px; } }

/* ================================================================== BLOCKS */

.pdp-content { display: flex; flex-direction: column; }
.blk { width: 100%; }
.blk.pad-none { padding-block: 0; }
.blk.pad-sm { padding-block: 14px; }
.blk.pad-md { padding-block: clamp(22px, 3vw, 34px); }
.blk.pad-lg { padding-block: clamp(34px, 5vw, 60px); }
.blk.ta-left { text-align: left; }
.blk.ta-center { text-align: center; }
.blk.ta-right { text-align: right; }
.blk.hide-mob { display: block; }
@media (max-width: 720px) { .blk.hide-mob { display: none; } }
@media (min-width: 721px) { .blk.hide-desk { display: none; } }
.blk.w-wide > * { max-width: none; }
.blk.w-full { margin-inline: calc(50% - 50vw); padding-inline: 20px; }

.blk-h {
  font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 16px;
  letter-spacing: -.025em;
}
.blk-placeholder {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px dashed var(--line);
  border-radius: var(--radius); padding: 18px; color: var(--muted); font-size: 14px;
}
.blk-placeholder strong { display: block; color: var(--text); }

/* rich text --------------------------------------------------------------- */

.rich { font-size: 16px; line-height: 1.72; color: var(--text); max-width: 72ch; }
.rich.rich-sm { font-size: 14.5px; }
.rich.rich-lg { font-size: 17.5px; }
.rich.cols-2 { max-width: none; columns: 2; column-gap: 44px; }
@media (max-width: 720px) { .rich.cols-2 { columns: 1; } }
.rich > * + * { margin-top: 1em; }
.rich h2 { font-size: 1.35em; margin-top: 1.6em; }
.rich h3 { font-size: 1.16em; margin-top: 1.5em; }
.rich a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.rich ul, .rich ol { padding-left: 1.35em; }
.rich li + li { margin-top: .4em; }
.rich img { border-radius: var(--radius-sm); margin-block: 1.2em; }
.rich blockquote {
  border-left: 3px solid var(--accent); padding-left: 18px;
  color: var(--muted); font-style: italic;
}
.rich code {
  background: var(--surface); padding: 2px 6px; border-radius: 5px;
  font-size: .9em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.rich table { margin-block: 1.4em; font-size: 15px; }
.rich th, .rich td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.rich th { background: var(--surface); font-weight: 700; }

/* specs / tables ---------------------------------------------------------- */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.specs, .cmp { font-size: 15px; min-width: 340px; }
.specs th, .specs td { padding: 12px 16px; text-align: left; vertical-align: top; }
.specs th { width: 38%; font-weight: 650; color: var(--muted); }
.specs-striped tr:nth-child(odd) { background: var(--surface); }
.specs-striped tr:first-child th { border-top-left-radius: var(--radius); }
.specs-bordered th, .specs-bordered td { border: 1px solid var(--line); }
.specs-clean tr + tr th, .specs-clean tr + tr td { border-top: 1px solid var(--line-soft); }

.cmp th, .cmp td { padding: 12px 16px; border: 1px solid var(--line); text-align: left; }
.cmp thead th { background: var(--brand); color: var(--brand-ink); font-weight: 650; }
.cmp tbody tr:nth-child(even) { background: var(--surface); }

/* faq --------------------------------------------------------------------- */

.faq { display: flex; flex-direction: column; gap: 10px; max-width: 76ch; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq-item[open] { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 15px 18px; cursor: pointer; font-weight: 650; font-size: 16px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--surface); }
.faq-ic { color: var(--muted); transition: transform .2s ease; flex: none; display: inline-flex; }
.faq-item[open] .faq-ic { transform: rotate(180deg); }
.faq-a { padding: 0 18px 17px; font-size: 15.5px; }

/* headings / features ----------------------------------------------------- */

.hd { max-width: 72ch; }
.hd.ta-center { margin-inline: auto; }
.hd-kicker {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--accent-2);
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 8px;
}
.hd-title { font-size: clamp(22px, 2.8vw, 31px); }

.feats { display: grid; gap: 18px; }
.feats-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.feats-list { grid-template-columns: 1fr; max-width: 74ch; }
.feats-inline { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); text-align: center; }
.feat { display: flex; gap: 14px; align-items: flex-start; }
.feats-inline .feat { flex-direction: column; align-items: center; gap: 10px; }
.feat-ic {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.feat-t { font-size: 16.5px; margin-bottom: 4px; }
.feat-x { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

.checklist { list-style: none; display: grid; gap: 11px; max-width: 74ch; }
.checklist.cols-2 { grid-template-columns: 1fr 1fr; max-width: none; }
@media (max-width: 640px) { .checklist.cols-2 { grid-template-columns: 1fr; } }
.checklist li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; line-height: 1.5; }
.chk-ic { color: var(--ok); flex: none; margin-top: 2px; }

/* image / gallery blocks -------------------------------------------------- */

.fig { margin: 0; }
.fig-narrow { max-width: 560px; margin-inline: auto; }
.fig-wide { max-width: 900px; margin-inline: auto; }
.blk-img { width: 100%; }
.blk-img.is-rounded { border-radius: var(--radius-lg); }
.fig figcaption, .fig-cap { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 10px; }

.grid-gal { display: grid; }
.grid-gal.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-gal.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-gal.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-gal.gap-sm { gap: 8px; }
.grid-gal.gap-md { gap: 14px; }
.grid-gal.gap-lg { gap: 22px; }
@media (max-width: 720px) { .grid-gal.cols-4, .grid-gal.cols-3 { grid-template-columns: repeat(2, 1fr); } }
.grid-gal-item {
  aspect-ratio: 1/1; background: var(--surface); border-radius: var(--radius);
  overflow: hidden; cursor: zoom-in;
}
.grid-gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.grid-gal-item:hover img { transform: scale(1.05); }

/* video facade ------------------------------------------------------------ */

.video-facade {
  position: relative; aspect-ratio: 16/9; background: var(--surface);
  border-radius: var(--radius-lg); overflow: hidden;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; }
.video-facade iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-play { position: absolute; inset: 0; width: 100%; display: block; }
.video-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 74px; height: 52px; border-radius: 14px; background: rgba(0,0,0,.72);
  transition: background .18s ease, transform .18s ease;
}
.video-btn::after {
  content: ''; position: absolute; top: 50%; left: 52%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff;
}
.video-play:hover .video-btn { background: var(--price); transform: translate(-50%, -50%) scale(1.06); }

/* quote / reviews --------------------------------------------------------- */

.quote {
  margin: 0; padding: 22px 26px; background: var(--surface);
  border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 72ch;
}
.quote p { font-size: 18px; line-height: 1.6; font-style: italic; }
.quote footer { margin-top: 12px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.quote cite { font-style: normal; font-weight: 700; font-size: 14.5px; }
.quote-role { color: var(--muted); font-size: 13.5px; }

.reviews { display: grid; gap: 16px; }
.reviews-grid { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.reviews-slider {
  grid-auto-flow: column; grid-auto-columns: minmax(272px, 1fr);
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
}
.reviews-slider .review { scroll-snap-align: start; }
.review {
  background: var(--bg); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.review-t { font-size: 15.5px; }
.review-x { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.review-f { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; font-size: 13px; }
.review-a { font-weight: 700; }
.review-v { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-weight: 600; }
.review-d { color: var(--muted); }

/* marketing blocks -------------------------------------------------------- */

.cta-banner { border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 46px); }
.cta-inner { max-width: 62ch; }
.cta-t { font-size: clamp(22px, 3vw, 32px); }
.cta-x { margin-top: 10px; opacity: .92; font-size: 16.5px; line-height: 1.6; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  padding: 13px 26px; border-radius: 999px; font-weight: 750; font-size: 16px;
  box-shadow: var(--shadow); transition: transform .14s ease, filter .16s ease;
}
.cta-btn:hover { transform: translateY(-2px); filter: brightness(.96); }

.btn-wrap.ta-center { text-align: center; }
.btn-wrap.ta-right { text-align: right; }
.btn-generic {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 700; box-shadow: var(--shadow-sm);
  transition: transform .12s ease, filter .16s ease;
}
.btn-generic.size-sm { padding: 9px 18px; font-size: 14px; }
.btn-generic.size-md { padding: 12px 24px; font-size: 15.5px; }
.btn-generic.size-lg { padding: 15px 32px; font-size: 17px; }
.btn-generic.is-full { width: 100%; }
.btn-generic:hover { transform: translateY(-1px); filter: brightness(.96); }

.countdown {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 20px; border-radius: var(--radius); font-weight: 700;
}
.cd-ic { display: inline-flex; }
.cd-t { font-size: 15.5px; }
.cd-clock {
  margin-left: auto; font-size: 21px; font-weight: 800;
  font-variant-numeric: tabular-nums; letter-spacing: .02em;
}

.trust { list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.trust li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; font-weight: 550; }
.trust .ic { color: var(--accent-2); flex: none; }
.trust-boxed li {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 14px 16px;
}

/* telegram ---------------------------------------------------------------- */

.tg-box {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(120deg, #229ED9, #1B85B8);
  color: #fff; border-radius: var(--radius-lg); padding: 20px 24px;
}
.tg-banner { padding: 28px 32px; }
.tg-ic { display: inline-flex; opacity: .95; }
.tg-body { flex: 1; min-width: 190px; }
.tg-t { font-size: 19px; }
.tg-x { opacity: .92; margin-top: 4px; font-size: 15px; }
.tg-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; color: #1B85B8; font-weight: 700; font-size: 15px;
  padding: 11px 20px; border-radius: 999px; white-space: nowrap;
  transition: transform .14s ease;
}
.tg-btn:hover { transform: translateY(-1px); }
.tg-members { font-size: 13px; opacity: .85; width: 100%; }

.tg-band {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(120deg, #229ED9, #1B85B8);
  color: #fff; border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow);
}
.tg-band-ic { display: inline-flex; opacity: .95; }
.tg-band-body { flex: 1; min-width: 220px; }
.tg-band-body h2 { font-size: clamp(20px, 2.4vw, 26px); }
.tg-band-body p { opacity: .92; margin-top: 6px; font-size: 15.5px; }
.tg-band-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; color: #1B85B8; font-weight: 750; font-size: 15.5px;
  padding: 13px 24px; border-radius: 999px; box-shadow: var(--shadow-sm);
  transition: transform .14s ease;
}
.tg-band-btn:hover { transform: translateY(-2px); }
.tg-band-n { font-size: 13px; opacity: .85; }

.tg-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  display: inline-flex; align-items: center; gap: 9px;
  background: #229ED9; color: #fff; font-weight: 650; font-size: 14.5px;
  padding: 13px 18px; border-radius: 999px; box-shadow: var(--shadow-lg);
  transition: transform .18s ease, opacity .25s ease;
}
.tg-float:hover { transform: translateY(-2px) scale(1.02); }
.tg-float.is-hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }
@media (max-width: 900px) {
  .tg-float { bottom: 84px; padding: 12px; }
  .tg-float-label { display: none; }
}

/* columns / dividers ------------------------------------------------------ */

.cols { display: grid; gap: clamp(20px, 3.5vw, 44px); align-items: center; }
.cols.r-50 { grid-template-columns: 1fr 1fr; }
.cols.r-40 { grid-template-columns: 4fr 6fr; }
.cols.r-60 { grid-template-columns: 6fr 4fr; }
@media (max-width: 800px) { .cols, .cols.r-40, .cols.r-60 { grid-template-columns: 1fr; } }
.cols-media img { width: 100%; border-radius: var(--radius-lg); }
.cols-body > * + * { margin-top: 14px; }

.divider { height: 1px; background: var(--line); margin-block: 0; }
.divider-dots {
  height: 4px; background: none;
  background-image: radial-gradient(circle, var(--line) 1.6px, transparent 1.6px);
  background-size: 14px 4px; background-repeat: repeat-x;
}
.divider-space { background: none; height: 0; }
.spacer-sm { height: 18px; }
.spacer-md { height: 36px; }
.spacer-lg { height: 60px; }
.spacer-xl { height: 92px; }

.raw-html { max-width: 100%; overflow-x: auto; }
.raw-html.is-full { margin-inline: calc(50% - 50vw); padding-inline: 20px; }
.raw-html img { border-radius: var(--radius-sm); }

/* ============================================================== RACCOLTE */

.rc { --rc-accent: var(--accent); }

.rc-head { padding-block: clamp(20px, 3vw, 34px) clamp(18px, 3vw, 28px); }
.rc-head.has-cover { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: center; }
@media (max-width: 820px) { .rc-head.has-cover { grid-template-columns: 1fr; } }
.rc-cover img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16/10; object-fit: cover; box-shadow: var(--shadow); }

.rc-kicker {
  display: inline-flex; align-items: center; gap: 7px;
  background: color-mix(in srgb, var(--rc-accent) 14%, transparent);
  color: color-mix(in srgb, var(--rc-accent) 82%, var(--text));
  font-size: 13px; font-weight: 700; padding: 5px 13px; border-radius: 999px;
}
.rc-title { font-size: clamp(27px, 4.2vw, 42px); letter-spacing: -.035em; margin-top: 14px; text-wrap: balance; }
.rc-sub { color: var(--muted); font-size: clamp(16px, 1.7vw, 19px); margin-top: 12px; max-width: 60ch; line-height: 1.5; }
.rc-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px;
  font-size: 13.5px; color: var(--muted);
}
.rc-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.rc-share {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px;
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.rc-share:hover { background: var(--surface); color: var(--text); }
.rc-desc { margin-top: 18px; font-size: 16.5px; }
.rc-blocks { display: flex; flex-direction: column; }

/* elenco e classifica ------------------------------------------------------ */

.rc-list { display: flex; flex-direction: column; gap: 16px; margin-block: 8px clamp(28px, 4vw, 44px); }
.rc-item {
  display: grid; grid-template-columns: auto 168px minmax(0, 1fr) 210px;
  gap: 20px; align-items: center;
  background: var(--bg); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 18px 20px;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.rc-list:not(.is-ranking) .rc-item { grid-template-columns: 168px minmax(0, 1fr) 210px; }
.rc-item:hover { box-shadow: var(--shadow); border-color: var(--line); transform: translateY(-2px); }
.rc-item.is-first {
  border-color: var(--rc-accent);
  box-shadow: 0 0 0 1px var(--rc-accent), var(--shadow);
  background: linear-gradient(180deg, color-mix(in srgb, var(--rc-accent) 6%, transparent), transparent 40%);
}
@media (max-width: 900px) {
  .rc-item, .rc-list:not(.is-ranking) .rc-item {
    grid-template-columns: 92px minmax(0, 1fr); grid-template-areas: 'num body' 'media body' 'side side';
    gap: 14px;
  }
  .rc-item > .rc-num { grid-area: num; }
  .rc-item > .rc-item-media { grid-area: media; }
  .rc-item > .rc-item-body { grid-area: body; }
  .rc-item > .rc-item-side { grid-area: side; flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (max-width: 560px) {
  .rc-item, .rc-list:not(.is-ranking) .rc-item {
    grid-template-columns: 1fr; grid-template-areas: 'num' 'media' 'body' 'side';
    text-align: left;
  }
  .rc-item > .rc-item-media { max-width: 200px; }
}

.rc-num {
  width: 54px; height: 54px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); color: var(--muted);
  font-size: 24px; font-weight: 800; letter-spacing: -.04em;
}
.rc-item.is-first .rc-num { background: var(--rc-accent); color: #0F1111; }
.rc-num-sm {
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--rc-accent); color: #0F1111; font-size: 12.5px; font-weight: 800;
}

.rc-item-media {
  position: relative; aspect-ratio: 1/1; background: var(--surface);
  border-radius: var(--radius); display: grid; place-items: center; padding: 10px; overflow: hidden;
}
.rc-item-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.rc-item:hover .rc-item-media img { transform: scale(1.05); }

.rc-item-body { min-width: 0; }
.rc-item-top { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 6px; }
.rc-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--rc-accent); color: #0F1111;
  font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .04em;
}
.rc-brand { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.rc-item-title { font-size: clamp(18px, 2vw, 22px); line-height: 1.28; letter-spacing: -.02em; }
.rc-item-title a:hover { color: var(--accent-2); }
.rc-rating { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
.rc-rating-n { font-size: 12.5px; color: var(--muted); }
.rc-note {
  display: flex; gap: 8px; align-items: flex-start;
  margin-top: 11px; padding: 11px 14px;
  background: color-mix(in srgb, var(--rc-accent) 8%, transparent);
  border-radius: var(--radius-sm); font-size: 14.5px; line-height: 1.55;
}
.rc-note .ic { color: var(--rc-accent); flex: none; margin-top: 2px; }
.rc-excerpt { margin-top: 9px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.rc-specs { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.rc-specs li {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); border-radius: 8px; padding: 4px 10px; font-size: 12.5px;
}
.rc-specs span { color: var(--muted); }

.rc-item-side { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.rc-price { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.rc-now { font-size: 25px; font-weight: 800; color: var(--price); letter-spacing: -.03em; }
.rc-was { color: var(--muted); text-decoration: line-through; font-size: 14px; }
.rc-details { font-size: 13px; color: var(--muted); text-align: center; }
.rc-details:hover { color: var(--accent-2); text-decoration: underline; }

.rc-buy {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-weight: 750; text-align: center;
  background: var(--cta); color: var(--cta-ink);
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, filter .16s ease;
}
.rc-buy:hover { transform: translateY(-1px); filter: brightness(.95); }
.rc-buy-md { padding: 14px 22px; font-size: 16px; }
.rc-buy-sm { padding: 11px 18px; font-size: 14.5px; }
.rc-buy-form { background: var(--accent-2); color: #fff; }
.rc-buy-alt { background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: none; }

/* griglia ------------------------------------------------------------------ */

.rc-grid-wrap { margin-block: 8px clamp(28px, 4vw, 44px); }
.rc-card { position: relative; }
.rc-card-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--rc-accent); color: #0F1111;
  font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .04em;
}
.rc-card .rc-note { margin-top: 8px; font-size: 13.5px; padding: 9px 11px; }

/* confronto ---------------------------------------------------------------- */

.rc-compare-wrap { margin-block: 8px clamp(28px, 4vw, 44px); }
.rc-compare { font-size: 14.5px; min-width: 620px; }
.rc-compare th, .rc-compare td {
  padding: 13px 15px; border: 1px solid var(--line-soft); text-align: left; vertical-align: top;
}
.rc-compare thead th { background: var(--surface); vertical-align: bottom; }
.rc-compare-corner { width: 160px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.rc-compare tbody th { width: 160px; font-weight: 650; color: var(--muted); background: var(--surface); }
.rc-compare-head { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.rc-compare-head img { width: 84px; height: 84px; object-fit: contain; background: var(--bg); border-radius: 10px; }
.rc-compare-t { font-weight: 650; line-height: 1.3; font-size: 14px; }
.rc-compare-head:hover .rc-compare-t { color: var(--accent-2); }
.rc-compare-price strong { font-size: 18px; color: var(--price); }
.rc-compare-price .rc-was { display: block; font-size: 13px; }
.rc-compare-note { font-size: 13.5px; line-height: 1.55; }
.rc-compare-buy td { background: var(--surface); }

/* invito finale ------------------------------------------------------------ */

.rc-cta-wrap { margin-bottom: clamp(28px, 4vw, 44px); }
.rc-cta {
  background: var(--brand); color: var(--brand-ink);
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 38px);
  text-align: center;
}
.rc-cta p { font-size: 17px; opacity: .9; margin-bottom: 18px; max-width: 56ch; margin-inline: auto; }
.rc-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cta); color: var(--cta-ink);
  padding: 14px 30px; border-radius: 999px; font-weight: 750; font-size: 16.5px;
  transition: transform .14s ease;
}
.rc-cta-btn:hover { transform: translateY(-2px); }
.rc-disclosure { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin-bottom: 32px; max-width: 80ch; }

/* elenco delle raccolte ---------------------------------------------------- */

.rc-tile {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.rc-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.rc-tile-media { position: relative; aspect-ratio: 16/10; background: var(--surface); display: grid; place-items: center; }
.rc-tile-media img { width: 100%; height: 100%; object-fit: cover; }
.rc-tile-count {
  position: absolute; bottom: 10px; left: 10px;
  background: rgba(0,0,0,.68); color: #fff; font-size: 12px; font-weight: 650;
  padding: 3px 10px; border-radius: 999px;
}
.rc-tile-body { padding: 15px 16px 17px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.rc-tile-t { font-weight: 700; font-size: 16.5px; line-height: 1.3; letter-spacing: -.015em; }
.rc-tile-x { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.rc-tile-cta {
  margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 5px;
  color: var(--accent-2); font-weight: 650; font-size: 14px;
}

/* raccolta richiamata in una pagina ---------------------------------------- */

.rc-embed { display: block; }
.rc-embed-card, .rc-embed-banner {
  display: flex; gap: 20px; align-items: center;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 18px; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.rc-embed-banner { padding: 24px; }
.rc-embed-card:hover, .rc-embed-banner:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.rc-embed-media { flex: none; width: 140px; }
.rc-embed-banner .rc-embed-media { width: 220px; }
.rc-embed-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.rc-embed-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rc-embed-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--accent-2);
  text-transform: uppercase; letter-spacing: .05em;
}
.rc-embed-t { font-size: clamp(17px, 2vw, 21px); font-weight: 700; line-height: 1.28; letter-spacing: -.02em; }
.rc-embed-x { font-size: 14px; color: var(--muted); line-height: 1.5; }
.rc-embed-cta { display: inline-flex; align-items: center; gap: 5px; color: var(--accent-2); font-weight: 650; font-size: 14.5px; margin-top: 4px; }
.rc-embed-inline .rc-embed-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.rc-embed-link { color: var(--accent-2); font-weight: 650; font-size: 14.5px; display: inline-flex; align-items: center; gap: 5px; }
@media (max-width: 640px) {
  .rc-embed-card, .rc-embed-banner { flex-direction: column; align-items: flex-start; }
  .rc-embed-media, .rc-embed-banner .rc-embed-media { width: 100%; }
}

/* accesso protetto --------------------------------------------------------- */

.gate-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.gate-form input {
  flex: 1 1 240px; max-width: 320px;
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; font-size: 16px;
  background: var(--bg); color: var(--text);
}
.gate-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.gate-error {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 18px;
  color: var(--price); font-size: 14.5px; font-weight: 600;
}
.gate-back { margin-top: 22px; font-size: 14px; color: var(--muted); }
.gate-back a:hover { text-decoration: underline; }

/* ============================================================== NEWSLETTER */

.nl-band { background: var(--surface); border-top: 1px solid var(--line-soft); padding-block: clamp(38px, 5vw, 62px); margin-top: 40px; }
.nl-inline { display: block; }
.nl-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 4vw, 48px);
  align-items: center;
}
.nl-inline .nl-card {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px);
}
@media (max-width: 820px) { .nl-card { grid-template-columns: 1fr; gap: 22px; } }

.nl-ic {
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: 14px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.nl-title { font-size: clamp(21px, 2.6vw, 29px); letter-spacing: -.03em; }
.nl-text { color: var(--muted); margin-top: 10px; font-size: 16px; line-height: 1.6; max-width: 46ch; }

.nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nl-fields { display: flex; gap: 10px; flex-wrap: wrap; }
.nl-input {
  flex: 1 1 200px; min-width: 0;
  padding: 14px 17px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text);
  font-size: 15.5px; transition: border-color .16s ease, box-shadow .16s ease;
}
.nl-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.nl-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 14px 26px; border-radius: 12px;
  background: var(--cta); color: var(--cta-ink);
  font-weight: 750; font-size: 15.5px; white-space: nowrap;
  transition: filter .16s ease, transform .12s ease;
}
.nl-btn:hover { filter: brightness(.95); transform: translateY(-1px); }
.nl-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.nl-consent {
  display: flex; align-items: flex-start; gap: 9px;
  margin-top: 13px; font-size: 13px; color: var(--muted); line-height: 1.5;
}
.nl-consent input { margin-top: 3px; accent-color: var(--accent-2); flex: none; }
.nl-consent a { color: var(--accent-2); text-decoration: underline; }
.nl-msg { margin-top: 12px; font-size: 14.5px; min-height: 1.2em; font-weight: 600; }
.nl-msg .is-ok { color: var(--ok); }
.nl-msg .is-err { color: var(--price); }

/* ================================================================== FOOTER */

.ftr { background: var(--brand); color: var(--brand-ink); margin-top: 0; }
.ftr-top {
  width: 100%; padding: 15px; background: var(--brand-2); color: inherit;
  font-size: 14px; font-weight: 600; letter-spacing: .01em;
  transition: filter .16s ease;
}
.ftr-top:hover { filter: brightness(1.15); }
.ftr-main { padding-block: clamp(34px, 5vw, 54px); }
.ftr-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1.5fr repeat(auto-fit, minmax(150px, 1fr));
}
@media (max-width: 760px) { .ftr-grid { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 460px) { .ftr-grid { grid-template-columns: 1fr; } }

.brand-ftr { margin-bottom: 14px; }
.ftr-about { color: rgba(255,255,255,.68); font-size: 14.5px; line-height: 1.6; max-width: 42ch; }
.ftr-logo { margin-bottom: 14px; }
.ftr-social { display: flex; gap: 9px; margin-top: 16px; }
.ftr-social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.1); display: grid; place-items: center;
  transition: background .16s ease, transform .16s ease;
}
.ftr-social a:hover { background: var(--accent); color: #0F1111; transform: translateY(-2px); }

.ftr-col h3 { font-size: 14.5px; margin-bottom: 13px; letter-spacing: .01em; }
.ftr-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.ftr-col a { color: rgba(255,255,255,.72); font-size: 14.5px; }
.ftr-col a:hover { color: #fff; text-decoration: underline; }
.ftr-tg p { color: rgba(255,255,255,.7); font-size: 14px; margin-bottom: 13px; line-height: 1.55; }
.ftr-tg-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: #229ED9; color: #fff; font-weight: 650; font-size: 14px;
  padding: 10px 16px; border-radius: 10px;
}
.ftr-tg-btn:hover { filter: brightness(1.08); }

.ftr-legal { border-top: 1px solid rgba(255,255,255,.12); padding-block: 20px; }
.ftr-legal-in { display: flex; flex-direction: column; gap: 7px; text-align: center; }
.ftr-legal p { color: rgba(255,255,255,.6); font-size: 13px; line-height: 1.55; }
.ftr-disclosure { max-width: 78ch; margin-inline: auto; font-size: 12px !important; opacity: .85; }
.ftr-powered { font-size: 12px !important; opacity: .5; }

/* ================================================================ LIGHTBOX */

.lb {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 40px 20px;
  animation: fade .18s ease;
}
.lb[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-figure img { max-width: min(1100px, 92vw); max-height: 82vh; width: auto; object-fit: contain; border-radius: 8px; }
.lb-figure figcaption { color: rgba(255,255,255,.8); font-size: 14px; text-align: center; }
.lb-close { position: absolute; top: 18px; right: 20px; color: #fff; opacity: .8; }
.lb-close:hover { opacity: 1; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
  display: grid; place-items: center; transition: background .16s ease;
}
.lb-nav:hover { background: rgba(255,255,255,.24); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
@media (max-width: 640px) { .lb-nav { width: 42px; height: 42px; } }

/* ================================================================= CONSENT */

.consent {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 150;
  padding: 16px; animation: slideUp .3s cubic-bezier(.2,.7,.3,1);
}
.consent[hidden] { display: none; }
@keyframes slideUp { from { transform: translateY(100%); } }
.consent-in {
  max-width: 940px; margin-inline: auto;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.consent-text { flex: 1; min-width: 240px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.consent-text a { color: var(--accent-2); text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-btn { padding: 10px 20px; border-radius: 10px; font-weight: 650; font-size: 14.5px; }
.consent-deny { border: 1px solid var(--line); color: var(--muted); }
.consent-deny:hover { background: var(--surface); color: var(--text); }
.consent-accept { background: var(--brand); color: var(--brand-ink); }
.consent-accept:hover { filter: brightness(1.15); }

/* ================================================================== STATIC */

.static { max-width: 820px; margin-inline: auto; padding-block: 20px 60px; }
.static-head { margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line-soft); }
.static-date { color: var(--muted); font-size: 13.5px; margin-top: 12px; }
.static-body > .blk:first-child { padding-top: 0; }

.plain { max-width: 520px; margin-inline: auto; text-align: center; padding-block: clamp(50px, 10vw, 100px); }
.plain-ic {
  width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 22px;
  display: grid; place-items: center; background: var(--surface); color: var(--muted);
}
.plain-ic.is-ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.plain-ic.is-err { background: color-mix(in srgb, var(--price) 14%, transparent); color: var(--price); }
.plain .btn-primary { margin-top: 24px; }
.plain-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

.notfound { text-align: center; padding-block: clamp(50px, 9vw, 96px) 20px; max-width: 620px; margin-inline: auto; }
.notfound-code {
  display: block; font-size: clamp(64px, 14vw, 116px); font-weight: 800;
  line-height: 1; letter-spacing: -.05em; color: var(--line);
}
.notfound-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.notfound .search-big { margin-inline: auto; }

.cat-head { display: grid; gap: 22px; margin-block: 10px 26px; }
.cat-head.has-img { grid-template-columns: 200px 1fr; align-items: center; }
@media (max-width: 640px) { .cat-head.has-img { grid-template-columns: 1fr; } }
.cat-head-img img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16/10; object-fit: cover; }
.cat-desc { margin-top: 12px; font-size: 15.5px; }

/* ---------------------------------------------------------------- toast */

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px);
  background: var(--brand); color: var(--brand-ink);
  padding: 12px 22px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  box-shadow: var(--shadow-lg); z-index: 300;
  opacity: 0; transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------ print */

@media print {
  .hdr, .ftr, .nl, .sticky-buy, .tg-float, .consent, .admin-bar, .p-share, .lb { display: none !important; }
  body { background: #fff; color: #000; }
  .wrap { max-width: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 11px; color: #555; }
}
