/* ============ AKU Laser — sistema visual ============ */
:root {
  --bg: #f7f3ee;
  --bg-2: #efe8df;
  --surface: #ffffff;
  --ink: #14110f;
  --ink-2: #3a332d;
  --muted: #776c61;
  --line: #e6ddd2;
  --line-2: #d8ccbe;
  --laser: #ff5a1f;
  --laser-2: #e2440c;
  --laser-soft: #fff0e8;
  --wood: #d9b48a;
  --ok: #1f9d55;
  --shadow-sm: 0 1px 2px rgba(40, 24, 10, .06);
  --shadow: 0 2px 4px rgba(40, 24, 10, .04), 0 12px 32px -8px rgba(40, 24, 10, .14);
  --shadow-lg: 0 30px 80px -20px rgba(40, 24, 10, .35);
  --r: 16px;
  --r-lg: 24px;
  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 40px);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #110f0d; --bg-2: #1a1714; --surface: #1c1916; --ink: #f5efe8; --ink-2: #d9d0c6; --muted: #a39789;
    --line: #2d2823; --line-2: #3b342d; --laser: #ff6a33; --laser-2: #ff8656; --laser-soft: #2a1a12;
    --shadow: 0 2px 4px rgba(0,0,0,.3), 0 12px 32px -8px rgba(0,0,0,.6); --shadow-lg: 0 30px 80px -20px rgba(0,0,0,.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #110f0d; --bg-2: #1a1714; --surface: #1c1916; --ink: #f5efe8; --ink-2: #d9d0c6; --muted: #a39789;
  --line: #2d2823; --line-2: #3b342d; --laser: #ff6a33; --laser-2: #ff8656; --laser-soft: #2a1a12; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -.02em; font-weight: 700; }
a { color: var(--laser-2); }
img { display: block; max-width: 100%; }
svg { flex: none; }
button { font: inherit; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--laser); outline-offset: 2px; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 999px; padding: 11px 20px;
  font: 600 14px Inter, sans-serif; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .12s, background .2s, border-color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--laser); color: #fff; box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--laser) 70%, transparent); }
.btn-primary:hover { background: var(--laser-2); }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-block { width: 100%; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { border-color: var(--ink); }

/* ---------- barra superior ---------- */
.promo { background: var(--ink); color: color-mix(in srgb, var(--bg) 85%, transparent); font-size: 12.5px; font-weight: 500; display: flex; justify-content: center; align-items: center; gap: 14px; padding: 8px var(--gut); flex-wrap: wrap; }
.promo i { width: 4px; height: 4px; border-radius: 50%; background: var(--laser); }
@media (max-width: 640px) { .promo span:not(:first-child), .promo i { display: none; } }

.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: clamp(12px, 2.5vw, 28px);
  padding: 12px var(--gut);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.mark { width: 32px; height: 32px; }
.mark rect { fill: var(--ink); }
.mark path { fill: none; stroke: var(--laser); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.brand-name { font: 800 20px var(--display); letter-spacing: -.02em; }
.top-search { flex: 1; max-width: 420px; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.top-search:focus-within { border-color: var(--laser); box-shadow: 0 0 0 4px var(--laser-soft); }
.top-search svg, .search svg, .hero-search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.top-search input { flex: 1; border: 0; outline: 0; background: none; color: var(--ink); font: 14px Inter, sans-serif; padding: 10px 0; min-width: 0; }
.topnav { display: flex; gap: 22px; margin-left: auto; }
.topnav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 14px; }
.topnav a:hover { color: var(--laser-2); }
.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.cart-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cart-btn svg circle { fill: currentColor; stroke: none; }
.cart-btn b { position: absolute; top: -4px; right: -4px; background: var(--laser); color: #fff; border-radius: 999px; min-width: 20px; height: 20px; padding: 0 6px; font-size: 11px; display: grid; place-items: center; border: 2px solid var(--bg); }
.cart-btn.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.15); } }
@media (max-width: 960px) { .topnav { display: none; } .top-search { margin-left: auto; } }
@media (max-width: 560px) { .top-search { display: none; } .cart-btn { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 85% 20%, color-mix(in srgb, var(--laser) 16%, transparent), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, color-mix(in srgb, var(--wood) 30%, transparent), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 32px 32px;
  mask-image: linear-gradient(180deg, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent);
  opacity: .9;
}
.hero-inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--gut) clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px 6px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--laser); box-shadow: 0 0 0 4px var(--laser-soft); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px transparent; } }
.hero h1 { font-size: clamp(38px, 5.6vw, 72px); font-weight: 800; letter-spacing: -.035em; }
.cut { position: relative; color: var(--laser); }
.cut::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .09em; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--laser) 0 14px, transparent 14px 22px); opacity: .55; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 54ch; margin: 20px 0 28px; }
.hero-search { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 6px 6px 20px; box-shadow: var(--shadow); max-width: 600px; color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.hero-search:focus-within { border-color: var(--laser); box-shadow: var(--shadow), 0 0 0 5px var(--laser-soft); }
.hero-search input { flex: 1; border: 0; outline: 0; background: none; color: var(--ink); font: 16px Inter, sans-serif; padding: 12px 0; min-width: 0; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.tags button { border: 1px solid var(--line-2); background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--ink-2); border-radius: 999px; padding: 5px 12px; font-size: 13px; cursor: pointer; }
.tags button:hover { border-color: var(--laser); color: var(--laser-2); }
.stats { list-style: none; padding: 0; margin: 36px 0 0; display: flex; gap: clamp(20px, 4vw, 44px); flex-wrap: wrap; }
.stats b { display: block; font: 800 clamp(26px, 3vw, 34px) var(--display); letter-spacing: -.03em; }
.stats span { color: var(--muted); font-size: 13px; }

.hero-art { position: relative; aspect-ratio: 1 / 1.02; }
.collage { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 1fr); gap: 12px; }
.collage div { border-radius: 18px; background: #fff center / cover no-repeat; box-shadow: var(--shadow); border: 4px solid #fff; animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.collage div:nth-child(1) { grid-area: 1 / 1 / 4 / 4; animation-delay: .05s; }
.collage div:nth-child(2) { grid-area: 1 / 4 / 3 / 7; animation-delay: .12s; }
.collage div:nth-child(3) { grid-area: 3 / 4 / 5 / 7; animation-delay: .19s; }
.collage div:nth-child(4) { grid-area: 4 / 1 / 7 / 3; animation-delay: .26s; }
.collage div:nth-child(5) { grid-area: 4 / 3 / 7 / 4; animation-delay: .33s; }
.collage div:nth-child(6) { grid-area: 5 / 4 / 7 / 7; animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.beam { position: absolute; left: -4%; right: -4%; height: 2px; top: 8%; z-index: 2; pointer-events: none; background: linear-gradient(90deg, transparent, var(--laser) 20%, #fff 50%, var(--laser) 80%, transparent); box-shadow: 0 0 22px 5px color-mix(in srgb, var(--laser) 55%, transparent); animation: scan 5s ease-in-out infinite alternate; }
@keyframes scan { to { top: 92%; } }
.float-card { position: absolute; z-index: 3; left: -18px; bottom: 9%; display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px 12px 12px; box-shadow: var(--shadow-lg); }
.float-card b { display: block; font-size: 14px; }
.float-card small { color: var(--muted); font-size: 12px; }
.fc-icon { width: 38px; height: 38px; border-radius: 12px; background: var(--laser); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .beam, .kicker .dot, .collage div { animation: none; } }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; width: 100%; justify-self: center; }
  .float-card { left: 8px; }
}

/* ---------- confianza ---------- */
.trust { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gut); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust > div { display: flex; gap: 14px; align-items: flex-start; }
.trust svg { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--laser-soft); stroke: var(--laser-2); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trust p { margin: 0; display: grid; }
.trust b { font-size: 14.5px; }
.trust span { color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust { grid-template-columns: 1fr; } }

/* ---------- secciones ---------- */
.section { max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gut) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 700; color: var(--laser-2); margin: 0 0 8px; }
.count { color: var(--muted); font-size: 14px; }

/* categorías */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.cat-card { position: relative; border: 0; padding: 0; cursor: pointer; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--bg-2); text-align: left; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform .5s; }
.cat-card:hover img { transform: scale(1.26); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(12, 9, 7, .82)); }
.cat-card span { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; color: #fff; }
.cat-card b { display: block; font: 700 16px/1.2 var(--display); }
.cat-card small { opacity: .8; font-size: 12.5px; }

/* packs */
.packs-section { padding-bottom: 8px; }
.rail-nav { display: flex; gap: 8px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 20px; margin: 0 -4px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.pack-card { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; cursor: pointer; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.pack-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pack-card .thumb { aspect-ratio: 1.25; }
.pack-card .save { position: absolute; top: 12px; right: 12px; background: var(--ok); color: #fff; font: 700 12px Inter, sans-serif; padding: 4px 10px; border-radius: 999px; }
.pack-body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.pack-body h3 { font: 700 17px/1.2 var(--display); }
.pack-body small { color: var(--muted); }
.pack-price { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.pack-price b { font: 800 22px var(--display); }
.pack-price s { color: var(--muted); font-size: 13px; }

/* ---------- catálogo ---------- */
.filterbar { position: sticky; top: 68px; z-index: 10; display: flex; gap: 10px; flex-wrap: wrap; padding: 12px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.search { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 220px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; color: var(--muted); }
.search:focus-within { border-color: var(--laser); }
.search input { flex: 1; border: 0; outline: 0; background: none; color: var(--ink); font: 14.5px Inter, sans-serif; padding: 10px 0; min-width: 0; }
.filterbar select { font: 500 14px Inter, sans-serif; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; }
@media (max-width: 640px) { .filterbar { top: 64px; } .filterbar select { flex: 1; min-width: 0; } }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 16px 0 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); border-radius: 999px; padding: 7px 14px; font: 500 13px Inter, sans-serif; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.chip:hover { border-color: var(--ink); }
.chip small { color: var(--muted); margin-left: 5px; }
.chip[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip[aria-selected="true"] small { color: inherit; opacity: .65; }
.pack-filter { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: var(--laser-soft); border: 1px solid color-mix(in srgb, var(--laser) 30%, var(--line)); font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-top: 18px; }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; animation: fade .35s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.thumb { position: relative; aspect-ratio: 1; background: #fff; display: grid; place-items: center; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8px; transition: transform .4s; }
.card:hover .thumb img, .pack-card:hover .thumb img { transform: scale(1.04); }
.ph { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 10px; background: repeating-linear-gradient(45deg, #fbf7f2 0 10px, #f5efe7 10px 20px); color: #8a7b6b; font: 700 13px var(--display); text-align: center; padding: 16px; }
.ph svg { width: 44px; height: 44px; stroke: #c4ae95; fill: none; stroke-width: 1.5; stroke-dasharray: 4 3; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--ink); color: #fff; font: 600 11px Inter, sans-serif; padding: 4px 9px; border-radius: 999px; }
.badge.pack { background: var(--laser); }
.badge.free { background: var(--ok); }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font: 600 14.5px/1.3 Inter, sans-serif; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.fmts { display: flex; flex-wrap: wrap; gap: 4px; }
.fmts span { font: 700 10px Inter, sans-serif; letter-spacing: .04em; padding: 3px 6px; border-radius: 6px; background: var(--bg-2); color: var(--ink-2); }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.card-foot b { font: 800 19px var(--display); letter-spacing: -.02em; }
.card-foot s { color: var(--muted); font: 500 12px Inter, sans-serif; margin-left: 6px; }
.free-price { color: var(--ok); }
.add { border: 0; background: var(--ink); color: var(--bg); height: 36px; padding: 0 14px; border-radius: 999px; font: 600 13px Inter, sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background .2s; }
.add:hover { background: var(--laser); color: #fff; }
.add.in { background: var(--ok); color: #fff; }
.add.dl { background: var(--ok); color: #fff; }
.more { display: flex; justify-content: center; padding-top: 32px; }
.empty { text-align: center; color: var(--muted); padding: 56px 0; }
.empty p { margin: 4px 0; }

/* cómo comprar + FAQ */
.how ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: s; }
.how li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 6px; counter-increment: s; }
.how li::before { content: "0" counter(s); font: 800 30px var(--display); color: var(--laser); letter-spacing: -.03em; margin-bottom: 6px; }
.how li span { color: var(--muted); }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--laser); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* footer */
.footer { margin-top: 80px; background: #14110f; color: rgba(247, 243, 238, .8); }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 48px var(--gut) 28px; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer .brand { color: #fff; }
.footer .mark rect { fill: #2a2420; }
.footer .muted { color: inherit; opacity: .7; max-width: 36ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; align-content: flex-start; }
.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.copy { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gut) 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; opacity: .6; }

/* ---------- detalle ---------- */
.detail { border: 0; padding: 0; border-radius: var(--r-lg); width: min(960px, calc(100vw - 24px)); max-height: calc(100vh - 24px); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
.detail[open] { animation: pop .25s cubic-bezier(.2, .8, .2, 1); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.detail::backdrop { background: rgba(14, 10, 7, .55); backdrop-filter: blur(4px); }
.detail-body { display: grid; grid-template-columns: 1.05fr 1fr; }
.detail-img { background: #fff; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; min-height: 0; border-right: 1px solid var(--line); }
.detail-img img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.detail-info { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.detail-info h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.025em; padding-right: 30px; overflow-wrap: anywhere; }
.author { margin: 0; font-size: 13px; color: var(--muted); }
.author:empty { display: none; }
.price { font: 800 34px var(--display); margin: 0; letter-spacing: -.03em; }
.price s { font: 500 16px Inter, sans-serif; color: var(--muted); margin-left: 8px; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 4px 0; font-size: 14px; padding: 14px 16px; background: var(--bg); border-radius: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.detail-actions .btn { flex: 1; }
.perks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.perks li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 8px; }
.note { font-size: 12.5px; color: var(--muted); margin: 0; }
.note:empty { display: none; }
.close { position: absolute; top: 12px; right: 12px; z-index: 2; border: 1px solid var(--line); background: var(--surface); color: var(--ink); width: 38px; height: 38px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm); }
.attrib { background: color-mix(in srgb, var(--ok) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--ok) 35%, var(--line)); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.attrib p { margin: 0 0 8px; }
.attrib-text { display: flex; gap: 8px; align-items: center; }
.attrib-text code { flex: 1; background: var(--surface); border: 1px dashed var(--line-2); border-radius: 8px; padding: 8px 10px; font-size: 13px; overflow-wrap: anywhere; }
.bundle-offer { text-align: left; border: 1px dashed var(--laser); background: var(--laser-soft); color: var(--ink); border-radius: 14px; padding: 12px 16px; font: 14px Inter, sans-serif; cursor: pointer; }
.bundle-offer b { color: var(--laser-2); }
@media (max-width: 720px) {
  .detail-body { grid-template-columns: 1fr; }
  .detail-img { aspect-ratio: auto; height: 40vh; border-right: 0; border-bottom: 1px solid var(--line); }
  .detail-info { padding: 22px; }
}

/* ---------- carrito ---------- */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(440px, 100vw); background: var(--surface); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); box-shadow: var(--shadow-lg); visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 22px; font-weight: 800; }
.drawer-head .close { position: static; }
.cart-items { list-style: none; margin: 0; padding: 8px 22px; overflow-y: auto; flex: 1; }
.cart-items li { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-items img, .cart-items .mini { width: 60px; height: 60px; border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.cart-items p { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.3; }
.cart-items small { color: var(--muted); }
.cart-items button { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 12.5px; padding: 0; text-decoration: underline; }
.cart-items b { font: 700 16px var(--display); }
.cart-empty { color: var(--muted); text-align: center; padding: 56px 0 !important; border: 0 !important; display: block !important; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; background: var(--bg); }
.total { display: flex; justify-content: space-between; align-items: baseline; }
.total b { font: 800 28px var(--display); letter-spacing: -.03em; }
.field { display: grid; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.field input { font: 15px Inter, sans-serif; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); color: var(--ink); }
.check { display: flex; gap: 10px; align-items: center; font-size: 13.5px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--laser); }
.hint { margin: 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.hint:empty { display: none; }
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(14, 10, 7, .45); backdrop-filter: blur(2px); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-size: 14px; z-index: 80; box-shadow: var(--shadow-lg); animation: pop .25s ease; }

/* ---------- páginas legales y pedido ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: 48px var(--gut) 40px; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal .updated { color: var(--muted); margin-top: 0; }
.legal .callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--laser); border-radius: 14px; padding: 18px 20px; margin: 16px 0; }

.hero-inner > * { min-width: 0; }
@media (max-width: 520px) { .hero-search { padding-left: 14px; } .hero-search .btn { padding: 10px 14px; } .stats { gap: 18px; } .float-card { display: none; } }

/* ---------- acciones de la barra superior ---------- */
.top-actions { display: flex; align-items: center; gap: 8px; margin-left: 4px; }
.topnav + .top-actions { margin-left: 8px; }
.pill-btn { height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 600 13px Inter, sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; white-space: nowrap; }
.pill-btn:hover { border-color: var(--ink); }
.pill-btn .avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--laser); color: #fff; display: grid; place-items: center; font-size: 12px; overflow: hidden; }
.pill-btn .avatar img { width: 100%; height: 100%; object-fit: cover; }
.top-actions .icon-btn { font-size: 17px; }
@media (max-width: 960px) { .top-search { max-width: none; } }
@media (max-width: 560px) {
  .topbar { gap: 8px; padding: 10px 14px; }
  .brand-name { font-size: 18px; }
  .top-actions { margin-left: auto; gap: 6px; }
  .pill-btn { height: 36px; padding: 0 11px; }
  .top-actions .icon-btn, .cart-btn { width: 36px; height: 36px; }
  #accountBtn .acc-label { display: none; }
}

/* ---------- filtros activos ---------- */
.filterbar select.on, .search.on { border-color: var(--laser); background: var(--laser-soft); color: var(--laser-2); font-weight: 600; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.af-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--laser); background: var(--laser-soft); color: var(--laser-2); border-radius: 999px; padding: 5px 8px 5px 12px; font: 600 13px Inter, sans-serif; cursor: pointer; }
.af-chip i { font-style: normal; width: 18px; height: 18px; border-radius: 50%; background: var(--laser); color: #fff; display: grid; place-items: center; font-size: 13px; line-height: 1; }
.af-clear { border: 0; background: none; color: var(--ink-2); text-decoration: underline; font: 600 13px Inter, sans-serif; cursor: pointer; }

/* ---------- ingresar / registrarse ---------- */
.auth { border: 0; padding: 0; border-radius: var(--r-lg); width: min(420px, calc(100vw - 24px)); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
.auth[open] { animation: pop .25s cubic-bezier(.2, .8, .2, 1); }
.auth::backdrop { background: rgba(14, 10, 7, .55); backdrop-filter: blur(4px); }
.auth-body { padding: 32px 28px 26px; display: grid; gap: 14px; text-align: center; }
.auth-body .mark { width: 44px; height: 44px; margin: 0 auto; }
.auth-body h3 { font-size: 26px; font-weight: 800; }
.auth-body > p { margin: -6px 0 0; }
.google-btn svg { width: 20px; height: 20px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-form { display: grid; gap: 12px; text-align: left; }
.auth-msg { margin: 0; font-size: 13px; color: var(--muted); text-align: center; min-height: 1em; }
.auth-msg.err { color: #c62828; }
.auth-msg.ok { color: var(--ok); }
.auth-links { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.link-btn { border: 0; background: none; color: var(--laser-2); font: 600 13px Inter, sans-serif; cursor: pointer; padding: 0; }

/* ---------- celular ---------- */
@media (max-width: 640px) {
  .hero-inner { padding-top: 28px; gap: 28px; }
  .kicker { font-size: 12px; }
  .lead { margin: 14px 0 20px; }
  .hero-search { padding: 5px 5px 5px 14px; }
  .hero-search input { font-size: 15px; }
  .stats { margin-top: 24px; }
  .stats b { font-size: 24px; }
  .hero-art { aspect-ratio: 1 / .8; }
  .collage { gap: 8px; }
  .collage div { border-radius: 12px; border-width: 3px; }
  .trust { gap: 14px; padding-top: 20px; }
  .section { padding-top: 40px; }
  .section-head { margin-bottom: 16px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-card { aspect-ratio: 1; }
  .cat-card b { font-size: 14px; }
  .rail { grid-auto-columns: 76%; }
  .rail-nav { display: none; }
  .filterbar { padding: 8px; gap: 8px; border-radius: 14px; }
  .search { min-width: 100%; }
  .card-body { padding: 10px 10px 12px; gap: 6px; }
  .card-body h3 { font-size: 13.5px; }
  .card-foot b { font-size: 16px; }
  .add { height: 32px; padding: 0 11px; font-size: 12px; }
  .how li { padding: 18px; }
  .detail { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .detail-img { height: 42vh; }
  .detail-actions .btn { flex-basis: 100%; }
  .footer { margin-top: 56px; }
}

.copy .dev-link, .footer .dev-link { color: #ff8656; font-weight: 600; text-decoration: none; }
.copy .dev-link:hover { text-decoration: underline; }

.crypto-pay { display: grid; gap: 10px; }
.btn-crypto { background: #14110f; color: #fff; }
:root[data-theme="dark"] .btn-crypto { background: #26A17B; }
.btn-crypto:hover { background: #26A17B; }
.btn-crypto svg { width: 22px; height: 22px; }

/* barra superior en pantallas medianas */
.brand-name { white-space: nowrap; }
.topbar { min-width: 0; }
@media (max-width: 1100px) { #accountBtn .acc-label { display: none; } #accountBtn { padding: 0 9px; } }
@media (max-width: 900px) { .top-search { display: none; } .top-actions { margin-left: auto; } }

@media (max-width: 960px) { .top-actions { margin-left: auto !important; } }

.trust { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr; } }

/* galería de diseños dentro de un pack */
.pack-gallery { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.pack-gallery-title { margin: 0 0 10px; font-weight: 700; font-size: 14px; }
.pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; max-height: 340px; overflow-y: auto; padding-right: 4px; }
.pg-item { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 0; cursor: pointer; overflow: hidden; display: grid; text-align: left; transition: border-color .15s, transform .15s; }
.pg-item:hover { border-color: var(--laser); transform: translateY(-2px); }
.pg-item img, .pg-ph { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 4px; display: grid; place-items: center; font: 700 11px Inter, sans-serif; color: #8a7b6b; background: #fff; }
.pg-item small { display: block; padding: 4px 6px 6px; font-size: 10.5px; line-height: 1.25; color: #3a332d; background: #faf7f3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#dGalleryMore { margin-top: 10px; }

/* pestañas Catálogo / Modelos rusos */
.col-tabs { display: flex; gap: 6px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.col-tab { border: 0; background: none; padding: 10px 16px 12px; font: 700 15px var(--display); color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; display: inline-flex; gap: 8px; align-items: baseline; }
.col-tab small { font: 600 12px Inter, sans-serif; color: var(--muted); background: var(--bg-2); padding: 2px 8px; border-radius: 999px; }
.col-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--laser); }
.col-tab[aria-selected="true"] small { background: var(--laser-soft); color: var(--laser-2); }
.col-tab:hover { color: var(--ink); }

/* videos de "así queda armado" */
.badge.video { left: auto; right: 10px; background: rgba(20,17,15,.85); }
.detail-img video, .detail-img iframe { width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }

/* descuento sobre precio original (cinética) */
.badge.deal { left: auto; right: 10px; top: 40px; background: var(--ok); }
.deal-tag { display: inline-block; vertical-align: middle; margin-left: 8px; font: 700 12px Inter, sans-serif; color: #fff; background: var(--ok); padding: 4px 10px; border-radius: 999px; letter-spacing: 0; }

/* crédito del desarrollador al final de la página */
.copy .dev-link, .footer .dev-link { color: #ff8656; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,134,86,.4); }
.copy .dev-link:hover { color: #fff; border-bottom-color: #fff; }

/* ---------- marca Laserteca ---------- */
.mark .sheets rect { fill: var(--wood, #d9b48a); }
.mark .beam-glow { stroke: var(--laser); stroke-width: 3; stroke-linecap: round; opacity: .28; }
.mark .beam { stroke: var(--laser); stroke-width: 1.3; stroke-linecap: round; }
.mark .spot { fill: var(--laser); }
.mark .spot-core { fill: #fff3ec; }
.brand-name em { font-style: normal; color: var(--laser); }
