/* ─────────────────────────────────────────────────────────────────────────────
   PRESENTE PARA NERD — visual direction "Comic panel".
   Blue and white, like the Blue Box art: white panels with a thick navy outline
   and a solid offset shadow, sitting on a blue field with halftone and rays.
   Orange and lime come from the logo and are used as sparks, never as fields.
   ───────────────────────────────────────────────────────────────────────────── */

:root {
  --ink: #0b1a3a;           /* navy outline, same as the logo */
  --ink-2: #213563;
  --blue-900: #0d2566;
  --blue-800: #123a9c;
  --blue-700: #1747b8;
  --blue-600: #1f5fe0;      /* primary */
  --blue-500: #3a7dff;
  --blue-400: #6aa2ff;
  --blue-300: #9cc3ff;
  --blue-200: #c6dcff;
  --blue-100: #e1edff;
  --blue-50:  #f1f6ff;
  --white: #ffffff;
  --body: #3b4a6b;
  --dim: #5f6d8c;
  --faint: #8b97b3;
  --line: #cfdcf5;
  --orange: #ff8a1f;        /* spark: prices, badges, stars */
  --orange-ink: #b85300;    /* orange as TEXT on white (contrast) */
  --lime: #7ccd2a;          /* spark: success, free shipping */
  --lime-ink: #3d7a0c;
  --danger: #d9304a;

  --bd: 3px solid var(--ink);
  --bd-thin: 2px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);
  --r: 18px;
  --r-sm: 11px;

  --wrap: 1280px;
  --pad: 26px;
  --disp: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --text: "Lexend", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--text); font-weight: 400; font-size: 15px; line-height: 1.55;
  color: var(--ink); background: var(--blue-50);
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue-600); color: #fff; }
h1, h2, h3, h4 { font-family: var(--disp); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: .005em; }

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

/* ── Backgrounds ──────────────────────────────────────────────────────────── */
/* The "comic field": blue gradient + halftone dots + light rays. */
.field {
  position: relative; isolation: isolate; color: #fff;
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.16) 1.4px, transparent 1.6px) 0 0 / 14px 14px,
    radial-gradient(1200px 520px at 70% 0%, var(--blue-500), transparent 70%),
    linear-gradient(160deg, var(--blue-600) 0%, var(--blue-700) 55%, var(--blue-900) 100%);
}
.field::before { /* rays */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 72% 38%, rgba(255,255,255,.07) 0deg 6deg, transparent 6deg 16deg);
  -webkit-mask-image: radial-gradient(70% 90% at 72% 38%, #000 20%, transparent 75%);
          mask-image: radial-gradient(70% 90% at 72% 38%, #000 20%, transparent 75%);
}
.dots-bg {
  background:
    radial-gradient(circle at 1px 1px, rgba(23,71,184,.10) 1.3px, transparent 1.5px) 0 0 / 16px 16px,
    var(--blue-50);
}

/* ── Type helpers ─────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-700);
}
.field .eyebrow { color: var(--blue-100); }
/* Comic headline: white fill, navy stroke, hard drop. */
.shout {
  font-family: var(--disp); text-transform: uppercase; color: #fff;
  -webkit-text-stroke: 7px var(--ink); paint-order: stroke fill;
  text-shadow: 0 5px 0 var(--ink);
  letter-spacing: .01em;
}
.shout .hl { color: var(--blue-200); }
.shout .hl-o { color: var(--orange); }
.title { font-size: clamp(30px, 4.4vw, 52px); text-transform: uppercase; color: var(--ink); }
.title .hl { color: var(--blue-600); }
.lede { font-size: 16.5px; line-height: 1.65; color: var(--body); max-width: 58ch; margin: 14px 0 0; }
.field .lede { color: var(--blue-100); }
.muted { color: var(--dim); }
.small { font-size: 13px; }
.price { font-family: var(--disp); font-size: 22px; color: var(--blue-700); letter-spacing: .01em; }

.sec { padding: clamp(56px, 7vw, 96px) 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 18px 30px; flex-wrap: wrap; margin-bottom: 30px; }

/* ── Panels & stickers ────────────────────────────────────────────────────── */
.panel { background: #fff; border: var(--bd); border-radius: var(--r); box-shadow: var(--shadow); }
.panel-pad { padding: 22px; }
.sticker {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--ink); border: var(--bd-thin); border-radius: 999px;
  padding: 6px 13px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.sticker.blue { background: var(--blue-600); color: #fff; }
.sticker.orange { background: var(--orange); color: var(--ink); }
.sticker.lime { background: var(--lime); color: var(--ink); }
.tag {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px;
  padding: 3px 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
  background: var(--blue-100); color: var(--blue-800); border: 1.5px solid var(--blue-200);
}
.tag.orange { background: #fff1e3; color: var(--orange-ink); border-color: #ffd2a8; }
.tag.lime { background: #eefadf; color: var(--lime-ink); border-color: #cdeea8; }
.tag.danger { background: #fde8eb; color: var(--danger); border-color: #f7c2cb; }

/* Decorative 4-point sparkle and lightning, positioned by utility classes. */
.spark { position: absolute; width: 26px; height: 26px; pointer-events: none; color: #fff; animation: twinkle 3.2s ease-in-out infinite; }
.spark.o { color: var(--orange); }
.spark.l { color: var(--lime); }
.spark.n { color: var(--ink); }
@keyframes twinkle { 0%,100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.7) rotate(20deg); opacity: .7; } }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  --bg: var(--blue-600); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border: var(--bd); border-radius: 14px;
  background: var(--bg); color: var(--fg); text-decoration: none; white-space: nowrap;
  font-family: var(--disp); font-size: 18px; letter-spacing: .03em; text-transform: uppercase;
  box-shadow: var(--shadow); transition: transform .14s var(--ease), box-shadow .14s var(--ease), background .2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); background: var(--blue-500); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn-white { --bg: #fff; --fg: var(--ink); }
.btn-white:hover { background: var(--blue-100); }
.btn-orange { --bg: var(--orange); --fg: var(--ink); }
.btn-orange:hover { background: #ffa04a; }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: none; border-width: 2px; }
.btn-ghost:hover { background: #fff; box-shadow: var(--shadow-sm); }
.field .btn-ghost { --fg: #fff; border-color: #fff; }
.field .btn-ghost:hover { background: rgba(255,255,255,.12); box-shadow: none; }
.btn-sm { min-height: 40px; padding: 7px 15px; font-size: 15px; border-width: 2px; box-shadow: var(--shadow-sm); border-radius: 11px; }
.btn-sm:hover { box-shadow: 5px 5px 0 var(--ink); }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-off {
  background: var(--blue-50); color: var(--faint); border-style: dashed; border-color: var(--faint);
  box-shadow: none; cursor: not-allowed; transform: none;
}
.link { background: none; border: 0; padding: 0; color: var(--blue-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--blue-500); }

/* ── Promo strip + header ─────────────────────────────────────────────────── */
.strip { background: var(--ink); color: var(--blue-100); font-size: 12.5px; font-weight: 500; }
.strip-in { display: flex; justify-content: center; gap: 10px 26px; flex-wrap: wrap; padding-block: 8px; text-align: center; }
.strip b { color: #fff; }
.strip i { font-style: normal; color: var(--orange); }

.head { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: var(--bd); }
.head-in { display: flex; align-items: center; gap: 16px 28px; min-height: 76px; }
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 62px; width: auto; transition: transform .25s var(--ease); }
.brand:hover img { transform: rotate(-4deg) scale(1.05); }
.nav { display: flex; gap: 4px; }
.nav a {
  padding: 8px 13px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--ink-2);
  border: 2px solid transparent; transition: .15s;
}
.nav a:hover { background: var(--blue-50); border-color: var(--blue-200); }
.nav a[aria-current="page"] { background: var(--blue-600); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-sm); }
.head-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search { position: relative; }
.search input {
  width: 230px; height: 44px; border: var(--bd-thin); border-radius: 12px; padding: 0 14px 0 40px; background: var(--blue-50);
  transition: width .25s var(--ease), background .2s;
}
.search input:focus { outline: none; background: #fff; width: 270px; box-shadow: var(--shadow-sm); }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--dim); pointer-events: none; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none;
  border: var(--bd-thin); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none;
  box-shadow: var(--shadow-sm); transition: transform .14s var(--ease), box-shadow .14s var(--ease), background .2s;
}
.icon-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); background: var(--blue-50); }
.icon-btn .count {
  position: absolute; top: -9px; right: -9px; min-width: 23px; height: 23px; padding: 0 6px; border-radius: 999px;
  display: grid; place-items: center; background: var(--orange); color: var(--ink); border: 2px solid var(--ink);
  font-size: 11.5px; font-weight: 700;
}
.icon-btn .count:empty, .icon-btn .count[data-n="0"] { display: none; }
.icon-btn.bump { animation: bump .45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.18) rotate(-6deg); } }
.menu-btn { display: none; }
.nav-search { display: none; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.foot { background: var(--ink); color: var(--blue-200); margin-top: auto; }
.foot-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 36px; padding: 56px 0 40px; }
.foot-logo { display: inline-block; background: #fff; border-radius: 22px; padding: 10px 14px; border: 3px solid var(--blue-500); transform: rotate(-3deg); }
.foot-logo img { height: 96px; width: auto; }
.foot h4 { font-size: 18px; color: #fff; text-transform: uppercase; margin-bottom: 12px; letter-spacing: .03em; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: var(--blue-200); }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot p { margin: 14px 0 0; font-size: 13.5px; line-height: 1.6; max-width: 36ch; }
.foot-bot { border-top: 1px solid rgba(198,220,255,.18); padding: 18px 0 26px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--blue-300); }
.pay-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-row span { border: 1.5px solid rgba(198,220,255,.35); border-radius: 7px; padding: 2px 9px; font-size: 11.5px; font-weight: 600; color: var(--blue-100); }

/* ── Product card ─────────────────────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: var(--bd); border-radius: var(--r);
  box-shadow: var(--shadow); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  animation: rise .55s var(--ease) both;
}
.card:hover { transform: translate(-3px, -3px) rotate(-.4deg); box-shadow: var(--shadow-lg); }
.card:nth-child(even):hover { transform: translate(-3px, -3px) rotate(.4deg); }
/* The photo stage stays dark navy: products were shot on a dark set. */
.stage { position: relative; display: block; aspect-ratio: 1; background: var(--blue-900); overflow: hidden; border-bottom: var(--bd); }
.stage img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.card:hover .stage img { transform: scale(1.06); }
.stage-alt { position: absolute; inset: 0; display: grid; place-items: center; color: var(--blue-300); font-weight: 600; font-size: 13px; text-align: center; padding: 12px; }
.stage img { position: relative; }
.card .badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.fav {
  position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; border: 2px solid var(--ink); background: #fff; color: var(--ink); transition: .15s;
}
.fav:hover { transform: scale(1.1); }
.fav[aria-pressed="true"] { background: var(--orange); }
.fav[aria-pressed="true"] svg { fill: currentColor; }
.card-b { display: flex; flex-direction: column; gap: 6px; padding: 14px 15px 15px; flex: 1; }
.card-t { font-weight: 700; font-size: 15.5px; line-height: 1.3; text-decoration: none; }
.card-t:hover { color: var(--blue-600); }
.card-t::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.card-m { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); }
.card-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.card-f .btn { position: relative; z-index: 2; }
.card .pix { font-size: 12px; color: var(--dim); }
.card.is-out .stage img { filter: grayscale(.9) brightness(.7); }

/* ── Forms ────────────────────────────────────────────────────────────────── */
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.fld { display: grid; gap: 6px; }
.fld.wide { grid-column: 1 / -1; }
.fld label { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--ink-2); }
.input, .fld input, .fld select, .fld textarea {
  width: 100%; min-height: 46px; padding: 10px 13px; border: var(--bd-thin); border-radius: 12px; background: #fff;
  transition: box-shadow .15s, border-color .15s;
}
.fld textarea { min-height: 96px; resize: vertical; }
.input:focus, .fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: var(--shadow-sm); }
.fld input::placeholder, .fld textarea::placeholder { color: var(--faint); }
.fld .err { display: none; font-size: 12px; color: var(--danger); font-weight: 600; }
.fld.is-bad input { border-color: var(--danger); }
.fld.is-bad .err { display: block; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; }
.check input { width: 20px; height: 20px; accent-color: var(--blue-600); margin: 1px 0 0; flex: none; }

/* Option rows (shipping / payment) */
.opts { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px;
  background: #fff; border: var(--bd-thin); border-radius: 14px; transition: .15s;
}
.opt:hover { background: var(--blue-50); }
.opt.is-on { background: var(--blue-100); box-shadow: var(--shadow-sm); }
.dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; background: #fff; }
.opt.is-on .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue-600); }
.opt-t { display: block; font-weight: 700; }
.opt-s { display: block; font-size: 13px; color: var(--dim); }
.opt-v { margin-left: auto; font-weight: 700; color: var(--blue-700); white-space: nowrap; }

/* Quantity counter − N + */
.count {
  display: inline-flex; align-items: center; border: var(--bd-thin); border-radius: 11px; background: #fff; overflow: hidden; flex: none;
}
.count button { width: 36px; height: 36px; border: 0; background: transparent; font-size: 18px; font-weight: 700; display: grid; place-items: center; transition: .12s; }
.count button:hover:not(:disabled) { background: var(--blue-600); color: #fff; }
.count button:disabled { color: var(--line); cursor: not-allowed; }
.count output { min-width: 32px; text-align: center; font-weight: 700; }
.count output.on { color: var(--blue-600); }

/* ── Summary aside (shared by builder, cart, checkout) ────────────────────── */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 30px; align-items: start; }
.side { position: sticky; top: 100px; }
.sum { overflow: hidden; }
.sum-h { background: var(--blue-600); color: #fff; border-bottom: var(--bd); padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sum-h h2 { font-size: 22px; text-transform: uppercase; }
.sum-b { padding: 16px 20px 20px; }
.line { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: 14px; color: var(--body); }
.line > :last-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.line.good > :last-child { color: var(--lime-ink); }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: var(--bd-thin); margin-top: 8px; padding-top: 12px; }
.total span:first-child { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.total strong { font-family: var(--disp); font-weight: 400; font-size: 32px; color: var(--blue-700); }
.note { font-size: 12.5px; line-height: 1.55; color: var(--dim); margin: 8px 0 0; }
.bar { height: 12px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; overflow: hidden; margin: 8px 0 2px; }
.bar i { display: block; height: 100%; background: repeating-linear-gradient(-45deg, var(--blue-500) 0 8px, var(--blue-600) 8px 16px); transition: width .6s var(--ease); }
.bar.full i { background: repeating-linear-gradient(-45deg, var(--lime) 0 8px, #6bb821 8px 16px); }
.scroll { max-height: 250px; overflow: auto; padding-right: 6px; }

/* Stepper (comic arrows) */
.steps { display: flex; gap: 10px; flex-wrap: wrap; counter-reset: s; }
.step {
  flex: 1 1 170px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; text-decoration: none;
  border: var(--bd-thin); border-radius: 13px; text-align: left; font-weight: 700; font-size: 14px; color: var(--ink-2); transition: .15s;
}
.step .n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--ink); background: var(--blue-50); font-family: var(--disp); font-size: 15px; font-weight: 400; }
.step:hover:not(:disabled):not(.is-on) { background: var(--blue-50); }
.step.is-on { background: var(--blue-600); color: #fff; box-shadow: var(--shadow-sm); }
.step.is-on .n { background: #fff; color: var(--ink); }
.step.is-done .n { background: var(--lime); }
.step:disabled, .step.is-off { color: var(--faint); border-color: var(--line); border-style: dashed; cursor: not-allowed; background: transparent; }
.step:disabled .n, .step.is-off .n { border-color: var(--line); background: transparent; }

/* ── Drawer + toast ───────────────────────────────────────────────────────── */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(11,26,58,.5); opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(420px, 100%); background: #fff; border-left: var(--bd);
  display: flex; flex-direction: column; transform: translateX(105%); transition: transform .35s var(--ease);
}
.drawer.open { transform: none; }
.drawer-h { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: var(--blue-600); color: #fff; border-bottom: var(--bd); }
.drawer-h h2 { font-size: 24px; text-transform: uppercase; }
.drawer-b { flex: 1; overflow: auto; padding: 8px 20px; }
.drawer-f { border-top: var(--bd); padding: 16px 20px 20px; display: grid; gap: 10px; background: var(--blue-50); }
.mini { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 2px dashed var(--line); }
.mini img, .mini .thumb { width: 64px; height: 64px; object-fit: cover; border: var(--bd-thin); border-radius: 10px; background: var(--blue-900); }
.mini .thumb { display: grid; place-items: center; background: var(--blue-600); color: #fff; }
.mini-t { font-weight: 700; font-size: 14px; line-height: 1.3; }
.mini-s { font-size: 12.5px; color: var(--dim); }
.x-btn { width: 40px; height: 40px; border-radius: 10px; border: 2px solid #fff; background: transparent; color: #fff; display: grid; place-items: center; }
.x-btn:hover { background: rgba(255,255,255,.15); }

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 100; transform: translate(-50%, calc(100% + 60px)); visibility: hidden;
  background: var(--ink); color: #fff; border-radius: 14px; padding: 13px 20px; font-weight: 600; font-size: 14px;
  box-shadow: 5px 5px 0 var(--blue-500); transition: transform .35s var(--ease), visibility 0s .35s; max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .35s var(--ease); }

/* ── Empty states ─────────────────────────────────────────────────────────── */
.empty { text-align: center; padding: 56px 24px; display: grid; justify-items: center; gap: 12px; }
.empty .big { font-family: var(--disp); font-size: 64px; line-height: 1; color: var(--blue-600); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }
.empty h2 { font-size: 30px; text-transform: uppercase; }
.empty p { color: var(--body); max-width: 44ch; margin: 0 0 8px; }

/* Page head used by inner pages */
.page-head { padding: 44px 0 56px; overflow: hidden; }
.page-head h1 { font-size: clamp(36px, 6vw, 68px); line-height: .98; margin-top: 12px; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--blue-100); }
.crumbs a { color: #fff; }
.page-body { margin-top: -26px; position: relative; padding-bottom: 90px; }

@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.6) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes float { 0%,100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-10px) rotate(var(--rot, 0deg)); } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── Universe cards (home + builder) ─────────────────────────────────────── */
.unis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.uni { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), opacity .6s var(--ease); }
.uni:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lg); }
.uni-art { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--ink); border-bottom: var(--bd); position: relative; overflow: hidden; }
.uni-art img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .4s var(--ease); background: var(--blue-900); }
.uni:hover .uni-art img { transform: scale(1.05); }
.uni-name {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-4deg); z-index: 2;
  background: #fff; border: var(--bd); border-radius: 14px; box-shadow: var(--shadow); padding: 6px 18px 4px;
  font-family: var(--disp); font-size: 34px; text-transform: uppercase; transition: transform .25s var(--ease), background .2s, color .2s;
}
.uni:hover .uni-name { transform: translate(-50%, -50%) rotate(2deg) scale(1.06); background: var(--blue-600); color: #fff; }
.uni-b { padding: 16px 18px 18px; display: grid; gap: 10px; flex: 1; }
.uni-b p { margin: 0; color: var(--body); font-size: 14.5px; }
.uni-fr { display: flex; flex-wrap: wrap; gap: 6px; }
.uni-go { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--blue-700); }
.uni-go svg { transition: transform .2s var(--ease); }
.uni:hover .uni-go svg { transform: translateX(5px); }

@media (max-width: 1100px) { .unis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .unis { grid-template-columns: minmax(0, 1fr); } .uni-name { font-size: 26px; } }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .head.menu-open .nav {
    display: grid; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: var(--bd);
    padding: 12px var(--pad) 18px; gap: 6px;
  }
  .head.menu-open .nav-search { display: block; margin-bottom: 6px; }
  .nav-search input { width: 100%; height: 46px; border: var(--bd-thin); border-radius: 12px; padding: 0 14px; background: var(--blue-50); }
  .search input { width: 180px; }
  .search input:focus { width: 200px; }
  .cols { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  :root { --pad: 16px; }
  body { font-size: 14.5px; }
  .head-in { min-height: 66px; gap: 10px; }
  .brand img { height: 50px; }
  .search { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-b { padding: 10px 11px 12px; }
  .card-t { font-size: 13.5px; }
  .card-f { flex-direction: column; align-items: stretch; }
  .price { font-size: 19px; }
  .btn { font-size: 16px; min-height: 46px; padding: 10px 18px; }
  .shout { -webkit-text-stroke: 5px var(--ink); text-shadow: 0 3px 0 var(--ink); }
  .foot-top { grid-template-columns: 1fr; }
  .panel-pad { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
