:root {
  --font-sans: "Onest", "Segoe UI", system-ui, sans-serif;
  --ink: #0e1726;
  --muted: #4a5568;
  --subtle: #677489;
  --paper: #f3f5f8;
  --card: #ffffff;
  --soft: #f0f3f7;
  --night: #0a1735;
  --line: #e2e6ec;
  --line-strong: #cdd3dc;
  --brand: #1747cf;
  --brand-dark: #0f36a3;
  --brand-soft: #ecf1fe;
  --sale: #c43c0c;
  --sale-soft: #fff0e8;
  --success: #05744a;
  --success-soft: #e9f7f0;
  --amber: #a15c07;
  --error: #b42318;
  --error-soft: #fef3f2;
  --whatsapp: #1a9e50;
  --page: 84rem;
  --shadow-card: 0 1px 2px rgb(10 23 53 / 0.05);
  --shadow-raise: 0 14px 32px -14px rgb(10 23 53 / 0.2), 0 2px 6px rgb(10 23 53 / 0.05);
  --shadow-pop: 0 22px 50px -14px rgb(10 23 53 / 0.28), 0 4px 10px -2px rgb(10 23 53 / 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(70rem 28rem at 50% -10rem, rgb(23 71 207 / 0.07), transparent 60%),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  animation: page-in 520ms var(--ease);
}
@keyframes page-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

::selection { background: var(--brand-soft); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 80;
  background: var(--card);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}
.skip:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }

.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 768px) { .wrap { padding-inline: 1.5rem; } }

.tabular { font-variant-numeric: tabular-nums; }

/* Top bar */
.topbar {
  background: var(--night);
  color: rgb(255 255 255 / 0.85);
  font-size: 0.75rem;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 2rem;
}
.topbar p { margin: 0; display: flex; align-items: center; gap: 0.4rem; min-width: 0; }
.topbar .hide-sm { display: none; }
@media (min-width: 1024px) {
  .topbar .hide-sm { display: flex; margin-inline-start: auto; gap: 1.5rem; }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgb(14 23 38 / 0.06);
  background: rgb(255 255 255 / 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 3.5rem;
  padding-inline: 0.5rem;
}
@media (min-width: 768px) {
  .header-row { height: 4.5rem; gap: 1.5rem; padding-inline: 1.5rem; }
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
}
.icon-btn:active { background: var(--soft); scale: 0.94; }
@media (hover: hover) and (pointer: fine) {
  .icon-btn:hover { background: var(--soft); }
}
@media (min-width: 1024px) { .menu-btn { display: none; } }

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}
.logo-mark-img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: block;
  box-shadow: 0 1px 2px rgb(10 23 53 / 0.18);
}
.logo-word { line-height: 1; }

.search-wrap { display: none; flex: 1; max-width: 42rem; position: relative; }
.search-wrap-mobile { padding: 0 1rem 0.75rem; position: relative; }
@media (min-width: 768px) {
  .search-wrap { display: block; }
  .search-wrap-mobile { display: none; }
}
.search-wrap input,
.search-wrap-mobile input {
  width: 100%;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.6rem;
  padding: 0 1rem 0 2.6rem;
  background: var(--soft);
  font-size: 1rem;
}
.search-wrap svg,
.search-wrap-mobile svg {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--subtle);
}
.search-suggest {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 0.35rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-pop);
  padding: 0.35rem;
  z-index: 50;
  display: none;
}
.search-suggest.open { display: block; }
.search-suggest a,
.search-suggest button {
  display: flex;
  width: 100%;
  text-align: start;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
}
.search-suggest a:hover,
.search-suggest button:hover { background: var(--soft); }
.search-suggest img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  background: var(--soft);
  border-radius: 0.4rem;
}

.header-actions {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.header-actions a,
.cart-open {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: 2.75rem;
  padding-inline: 0.65rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
}
.header-actions a:active,
.cart-open:active { background: var(--soft); scale: 0.96; }
@media (hover: hover) and (pointer: fine) {
  .header-actions a:hover,
  .cart-open:hover { background: var(--soft); }
}
.cart-open.is-pop { animation: cart-pop 420ms ease; }
.cart-badge {
  position: absolute;
  left: 1.5rem;
  top: 0.35rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding-inline: 0.25rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.cart-open.is-pop .cart-badge { animation: badge-pop 420ms ease; }
@keyframes cart-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
@keyframes badge-pop {
  0% { transform: scale(0.6); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}
@media (min-width: 1024px) {
  .cart-badge { position: static; height: 1.25rem; min-width: 1.25rem; }
}

.catnav { display: none; border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .catnav { display: block; } }
.catnav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0 1.5rem;
  max-width: var(--page);
  display: flex;
  align-items: center;
  height: 2.75rem;
  gap: 0.15rem;
}
.catnav a {
  display: flex;
  align-items: center;
  height: 2.25rem;
  padding-inline: 0.75rem;
  border-radius: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}
.catnav a[aria-current="page"] { background: var(--soft); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .catnav a:hover { background: var(--soft); color: var(--ink); }
}
.catnav a.offer { color: var(--sale); }
.catnav a.offer[aria-current="page"],
.catnav a.offer:hover { background: var(--sale-soft); }

/* Mobile menu */
.drawer {
  border: 0;
  padding: 0;
  max-width: none;
  width: min(86%, 24rem);
  height: 100%;
  max-height: 100%;
  margin: 0 auto 0 0;
  background: var(--card);
  box-shadow: var(--shadow-pop);
  translate: -100% 0;
  opacity: 0;
  transition: translate 320ms var(--ease), opacity 240ms var(--ease), overlay 320ms, display 320ms;
  transition-behavior: allow-discrete;
}
.drawer[open] { translate: 0; opacity: 1; }
@starting-style {
  .drawer[open] { translate: -100% 0; opacity: 0; }
}
.drawer::backdrop {
  background: rgb(14 23 38 / 0.5);
  opacity: 0;
  transition: opacity 280ms var(--ease), overlay 280ms, display 280ms;
  transition-behavior: allow-discrete;
}
.drawer[open]::backdrop { opacity: 1; }
@starting-style {
  .drawer[open]::backdrop { opacity: 0; }
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
  padding-inline: 1rem 0.5rem;
  border-bottom: 1px solid var(--line);
}
.drawer nav { padding: 0.75rem 0 1.5rem; overflow: auto; }
.drawer .label {
  padding: 1.1rem 1rem 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--subtle);
}
.drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3rem;
  padding-inline: 1rem;
  font-size: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  border: 0;
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
  scale: 1;
  translate: 0;
  transition: background 180ms var(--ease), box-shadow 180ms var(--ease), scale 160ms var(--ease), translate 160ms var(--ease), border-color 180ms var(--ease);
}
.btn:active { scale: 0.97; }
.btn-lg { min-height: 3.25rem; padding-inline: 1.5rem; font-size: 1rem; }
.btn-primary {
  background: linear-gradient(180deg, #2a5ef0, var(--brand));
  color: #fff;
  box-shadow: 0 8px 18px -10px rgb(23 71 207 / 0.7);
  transition: background 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: linear-gradient(180deg, #1747cf, var(--brand-dark));
    translate: 0 -1px;
    box-shadow: 0 12px 22px -10px rgb(23 71 207 / 0.8);
  }
}
.btn-primary:active { translate: 0; }
.btn.is-added {
  background: var(--success);
  scale: 1.02;
}
.btn-inverse { background: #fff; color: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-outline { background: var(--card); border: 1px solid var(--line-strong); }
@media (hover: hover) and (pointer: fine) {
  .btn-inverse:hover { background: var(--brand-soft); }
  .btn-ghost:hover { background: var(--soft); }
  .btn-outline:hover { border-color: var(--ink); }
}
.btn-wa { background: var(--whatsapp); color: #fff; }
.btn:disabled { opacity: 0.45; pointer-events: none; }
.btn-block { width: 100%; }

/* Home */
.hero {
  display: grid;
  gap: 1rem;
  padding-top: 0.75rem;
}
@media (min-width: 1024px) { .hero { grid-template-columns: minmax(0, 1fr) 320px; padding-top: 1.5rem; } }
.hero-main {
  display: grid;
  overflow: hidden;
  border-radius: 1rem;
  background:
    radial-gradient(70% 90% at 100% 0%, rgb(255 255 255 / 0.16), transparent 52%),
    linear-gradient(145deg, #1a4de0 0%, #1747cf 48%, #0e2f9a 100%);
  color: #fff;
  box-shadow: var(--shadow-raise);
  animation: hero-in 700ms var(--ease);
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(10px) scale(0.992); }
  to { opacity: 1; transform: none; }
}
@media (min-width: 768px) { .hero-main { grid-template-columns: 1.1fr 0.9fr; } }
.hero-copy { padding: 1.5rem 1.25rem; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 768px) { .hero-copy { padding: 2.5rem; } }
.hero-copy h1 { margin: 0; }
.hero-kicker { display: block; font-size: 0.9rem; font-weight: 500; color: rgb(255 255 255 / 0.8); }
.hero-off {
  display: block;
  margin-top: 0.5rem;
  font-size: clamp(2.15rem, 12vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
  white-space: normal;
}
@media (min-width: 768px) { .hero-off { font-size: 3rem; } }
@media (min-width: 1280px) { .hero-off { font-size: 4rem; } }
.hero-copy p { margin: 0.85rem 0 0; max-width: 28rem; color: rgb(255 255 255 / 0.8); line-height: 1.6; }
.hero-ship { margin-top: 0.75rem; font-weight: 600; }
.hero-ship span { font-weight: 400; color: rgb(255 255 255 / 0.8); }
.hero-actions { margin-top: 1.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.hero-link { font-weight: 600; }

.spotlight {
  margin: 0 1rem 1rem;
  display: flex;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #fff;
  color: var(--ink);
  scale: 1;
  transition: scale 180ms var(--ease);
}
.spotlight:active { scale: 0.985; }
@media (min-width: 768px) {
  .spotlight { margin: 1rem 1rem 1rem 0; flex-direction: column; }
}
.spotlight-media {
  position: relative;
  width: 7rem;
  flex-shrink: 0;
  background: var(--soft);
}
@media (min-width: 768px) {
  .spotlight-media { width: auto; min-height: 14rem; flex: 1; }
}
.spotlight-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; position: absolute; inset: 0; background: linear-gradient(180deg, #fbfcfe, #eef2f7); }
.badge-off {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  background: var(--sale);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 0.35rem;
}
.spotlight-body { padding: 0.85rem 1rem; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
@media (min-width: 768px) { .spotlight-body { border-top: 1px solid var(--line); padding: 1rem 1.25rem; } }
.spotlight-body p { margin: 0; color: var(--muted); font-size: 0.875rem; }
.spotlight-body strong { display: block; font-size: 1.35rem; letter-spacing: -0.02em; }
.cuotas { margin: 0.25rem 0 0; font-size: 0.75rem; color: var(--success); }

.deals { display: none; flex-direction: column; gap: 1rem; }
@media (min-width: 1024px) { .deals { display: flex; } }
.deal {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--card);
}
.deal { scale: 1; transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), scale 180ms var(--ease); }
.deal:active { scale: 0.98; }
@media (hover: hover) and (pointer: fine) {
  .deal:hover { border-color: var(--line-strong); box-shadow: var(--shadow-raise); }
}
.deal img, .ph {
  width: 6rem;
  height: 6rem;
  object-fit: contain;
  padding: 0.45rem;
  background: linear-gradient(180deg, #fbfcfe, #eef2f7);
  border-radius: 0.5rem;
}
.deal p { margin: 0; font-size: 0.875rem; }
.deal .price { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.deal .off { color: var(--sale); font-weight: 600; font-size: 0.875rem; }
s { color: var(--subtle); text-decoration: line-through; }

.assurances {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0.75rem 1rem;
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--card);
}
@media (min-width: 768px) {
  .assurances { display: grid; grid-template-columns: 1fr 1fr; padding: 1.25rem; overflow: visible; }
}
@media (min-width: 1024px) {
  .assurances { grid-template-columns: repeat(4, 1fr); }
}
.assurances li { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.assurances strong { display: block; font-size: 0.875rem; }
.assurances span { display: block; font-size: 0.75rem; color: var(--muted); }

.section { margin-top: 2.5rem; padding-bottom: 0; }
@media (min-width: 768px) { .section { margin-top: 3.5rem; } }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.section-head h2 { margin: 0; font-size: 1.25rem; letter-spacing: -0.02em; }
@media (min-width: 768px) { .section-head h2 { font-size: 1.5rem; } }
.more { font-size: 0.875rem; font-weight: 600; color: var(--brand); }
.more:hover { color: var(--brand-dark); }

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(11.5rem, 16rem);
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scroll-snap-type: x mandatory;
}
@media (min-width: 768px) {
  .rail { grid-auto-columns: minmax(13rem, 1fr); }
}
.grid-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 768px) { .grid-cards { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1024px) { .grid-cards { grid-template-columns: repeat(4, 1fr); } }

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--card);
  scroll-snap-align: start;
  min-width: 0;
  translate: 0;
  scale: 1;
  opacity: 1;
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease), translate 220ms var(--ease), scale 160ms var(--ease), opacity 240ms var(--ease), display 240ms;
  transition-behavior: allow-discrete;
}
@starting-style {
  .card {
    opacity: 0;
    translate: 0 10px;
  }
}
.card:nth-child(2) { transition-delay: 30ms; }
.card:nth-child(3) { transition-delay: 60ms; }
.card:nth-child(4) { transition-delay: 90ms; }
.card:nth-child(5) { transition-delay: 120ms; }
.card:nth-child(6) { transition-delay: 150ms; }
.card:where([hidden]) {
  display: none;
  opacity: 0;
  scale: 0.96;
}
.card:active {
  scale: 0.975;
  box-shadow: var(--shadow-card);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    border-color: color-mix(in srgb, var(--brand) 28%, var(--line-strong));
    box-shadow: var(--shadow-raise);
    translate: 0 -4px;
  }
  .card:hover .card-media img { scale: 1.05; }
  .card:hover .card-name { color: var(--brand-dark); }
}
.card-media {
  position: relative;
  aspect-ratio: 1;
  background:
    radial-gradient(90% 70% at 50% 100%, rgb(23 71 207 / 0.07), transparent 58%),
    linear-gradient(180deg, #fbfcfe, #eef2f7);
  overflow: hidden;
}
.card-media img, .card-media .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 11%;
  object-fit: contain;
  scale: 1;
  transition: scale 420ms var(--ease);
}
.card-body { padding: 0.65rem 0.7rem 0.25rem; flex: 1; display: flex; flex-direction: column; }
@media (min-width: 768px) { .card-body { padding: 0.75rem 0.85rem 0.35rem; } }
.card-brand { margin: 0; font-size: 0.7rem; font-weight: 500; color: var(--subtle); }
.card-name {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.1em;
}
@media (min-width: 768px) {
  .card-name { font-size: 0.875rem; min-height: 2.4em; }
}
.card-price { margin-top: 0.6rem; }
.card-meta { min-height: 1.4rem; margin-top: 0.35rem; font-size: 0.75rem; color: var(--success); font-weight: 600; }
.card-meta .low { color: var(--amber); }
.card-actions { padding: 0 0.65rem 0.7rem; }
@media (min-width: 768px) { .card-actions { padding: 0 0.85rem 0.85rem; } }
.card-actions .btn { min-height: 2.55rem; font-size: 0.8125rem; }
.stock-out { opacity: 0.6; }
.tag-out {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: 0.35rem;
}

.price-now { display: block; font-size: clamp(1rem, 4.2vw, 1.15rem); font-weight: 600; letter-spacing: -0.02em; }
.price-was { display: block; font-size: 0.75rem; }
.price-off { color: var(--sale); font-weight: 600; font-size: 0.8rem; margin-inline-start: 0.35rem; }

.cats {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 6rem;
  gap: 0.65rem;
  overflow-x: auto;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 768px) {
  .cats { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; }
}
@media (min-width: 1280px) { .cats { grid-template-columns: repeat(10, 1fr); } }
.cats a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  scale: 1;
  transition: scale 160ms var(--ease);
}
.cats a:active { scale: 0.96; }
.cats a:active .thumb { box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 35%, transparent); }
.cats .thumb {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 0.75rem;
  background: var(--soft);
  overflow: hidden;
  display: block;
  position: relative;
}
.cats img { width: 100%; height: 100%; object-fit: contain; padding: 12%; background: linear-gradient(180deg, #fbfcfe, #eef2f7); }
.cats span { font-size: 0.75rem; font-weight: 500; line-height: 1.25; }

.banners {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 0.75rem;
  overflow-x: auto;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 768px) {
  .banners { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; gap: 1rem; }
}
.banners a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: var(--brand-soft);
}
.banners a:hover { background: color-mix(in srgb, var(--brand) 12%, var(--brand-soft)); }
.banners strong { display: block; font-size: 1.5rem; color: var(--brand-dark); letter-spacing: -0.02em; }
.banners em { display: block; font-style: normal; color: var(--muted); font-size: 0.875rem; margin-top: 0.25rem; }
.banners small { display: inline-flex; margin-top: 1rem; font-weight: 600; color: var(--brand); }

.faq-grid { display: grid; gap: 2.5rem; margin: 3.5rem 0 4rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 1fr 25rem; } }
details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}
details summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
details summary::-webkit-details-marker { display: none; }
details p { margin: 0.6rem 0 0; color: var(--muted); line-height: 1.6; }

/* Listing */
.listing { display: grid; gap: 1.5rem; padding: 1.25rem 0 3rem; }
@media (min-width: 1024px) { .listing { grid-template-columns: 16rem minmax(0, 1fr); gap: 2rem; } }
.filters-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  overflow: hidden;
}
.filters-box summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  font-weight: 600;
  cursor: pointer;
}
.filters-box summary::after {
  content: "▾";
  color: var(--subtle);
  transition: rotate 200ms var(--ease);
}
.filters-box[open] summary::after { rotate: 180deg; }
.filters {
  padding: 0 1rem 1rem;
}
@media (min-width: 1024px) {
  .filters-box summary { display: none; }
  .filters { padding: 1rem; }
}
.filters h2 { margin: 0 0 0.75rem; font-size: 0.95rem; }
.filter-group { margin-top: 0.85rem; }
.filter-group p { margin: 0 0 0.4rem; font-size: 0.75rem; font-weight: 600; color: var(--subtle); text-transform: uppercase; letter-spacing: 0.04em; }
.filter-group label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 1.85rem;
  font-size: 0.875rem;
}
.crumb { font-size: 0.8rem; color: var(--muted); margin: 0 0 0.75rem; }
.crumb a:hover { color: var(--brand); }
.listing h1 { margin: 0; font-size: clamp(1.25rem, 6vw, 1.6rem); letter-spacing: -0.03em; }
.crumb { overflow-wrap: anywhere; }
.listing .lead { color: var(--muted); margin: 0.5rem 0 1.25rem; max-width: 46rem; line-height: 1.6; }
.count { font-size: 0.875rem; color: var(--subtle); margin: 0 0 0.75rem; }

/* Product */
.product { padding: 1rem 0 4rem; }
.product-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .product-grid { grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr); gap: 2.5rem; } }
.gallery {
  aspect-ratio: 1;
  background:
    radial-gradient(80% 70% at 50% 100%, rgb(23 71 207 / 0.06), transparent 58%),
    linear-gradient(180deg, #fff, #f3f6fa);
  border: 1px solid var(--line);
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
}
.gallery img, .gallery .ph { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.buy {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.25rem;
}
.buy-lead { margin-top: 1rem; color: var(--muted); line-height: 1.55; }
.buy-bar {
  display: none;
}
@media (max-width: 899px) {
  .product { padding-bottom: 6.5rem; }
  .buy-bar {
    display: flex;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 36;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
    background: rgb(255 255 255 / 0.94);
    backdrop-filter: blur(16px) saturate(1.15);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 28px -18px rgb(10 23 53 / 0.35);
  }
  .buy-bar .btn { min-width: 8.5rem; }
  body:has(.buy-bar) .wa-float { bottom: calc(5.4rem + env(safe-area-inset-bottom, 0px)); }
  body:has(.buy-bar) .toast { bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
}
.buy .brand { margin: 0; color: var(--subtle); font-size: 0.8rem; font-weight: 500; }
.buy h1 { margin: 0.25rem 0 0; font-size: 1.45rem; letter-spacing: -0.03em; }
.buy .now { margin: 0.85rem 0 0; font-size: 1.85rem; font-weight: 600; letter-spacing: -0.03em; }
.qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}
.qty button {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.5rem;
  background: var(--card);
}
.qty input {
  width: 3.5rem;
  height: 2.75rem;
  text-align: center;
  border: 1px solid var(--line-strong);
  border-radius: 0.5rem;
  font-size: 1rem;
}
.prose { margin-top: 2rem; max-width: 48rem; }
.prose h2 { font-size: 1.2rem; }
.prose p { color: var(--muted); line-height: 1.7; }
.specs { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.specs th, .specs td { text-align: start; padding: 0.65rem 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.specs th { color: var(--muted); font-weight: 500; width: 40%; }

/* Cart / checkout */
.page { padding: 1.25rem 0 4rem; }
.page h1 { margin: 0 0 1rem; font-size: 1.75rem; letter-spacing: -0.03em; }
.cart-layout {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; }
}
.cart-list {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  overflow: hidden;
}
.cart-line {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.75rem 0.85rem;
  padding: 0.9rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
  animation: line-in 280ms var(--ease);
}
.cart-qty { justify-items: start; }
@media (min-width: 640px) {
  .cart-line {
    grid-template-columns: 5.5rem minmax(0, 1fr) auto;
    align-items: center;
    padding: 1rem 1.1rem;
    gap: 0.95rem;
  }
  .cart-qty { justify-items: end; }
}
.cart-line:last-child { border-bottom: 0; }
.cart-thumb {
  display: block;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 0.65rem;
  overflow: hidden;
  background: var(--soft);
}
.cart-line img, .cart-line .ph {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cart-info .card-brand { margin: 0; }
.cart-info strong { display: block; line-height: 1.3; }
.cart-info .tabular { margin: 0.25rem 0 0; color: var(--ink); font-weight: 600; }
.cart-remove { margin-top: 0.35rem; min-height: 2.2rem; padding-inline: 0.5rem; color: var(--muted); }
.cart-qty { display: grid; justify-items: end; gap: 0.55rem; }
.cart-qty .qty { margin: 0; }
.cart-line-total { margin: 0; font-size: 1rem; }
.cart-aside { position: sticky; top: 1rem; }
.cart-aside h2 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.cart-aside .btn { margin-top: 1rem; }
.cart-empty { padding: 3rem 1rem; text-align: center; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 0.85rem; }
@keyframes line-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.form-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.3rem; }
.field label { font-size: 0.875rem; font-weight: 600; }
.field input,
.field select,
.field textarea {
  min-height: 2.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.6rem;
  padding: 0.65rem 0.8rem;
  background: var(--card);
  font-size: 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
  outline: none;
}
.field textarea { min-height: 6rem; resize: vertical; }
.field input:user-invalid,
.field select:user-invalid { border-color: var(--error); background: var(--error-soft); }
.honeypot { position: absolute; left: -9999px; }
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1.35rem 1.35rem 1.45rem;
  box-shadow: var(--shadow-card);
}
.checkout { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .checkout { grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; } }
.summary { position: sticky; top: 6rem; }
.ok-box {
  background: var(--success-soft);
  border: 1px solid color-mix(in srgb, var(--success) 25%, white);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.checkout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.checkout-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--muted);
}
.checkout-steps li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.checkout-steps .n {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.75rem;
}
.checkout-steps li[aria-current="step"] { color: var(--ink); font-weight: 600; }
.checkout-steps li[aria-current="step"] .n,
.checkout-steps li.is-done .n {
  background: var(--brand);
  color: #fff;
}
.step-card + .step-card { margin-top: 1rem; }
.step-card h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
}
.step-card h2 .n {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--night);
  color: #fff;
  font-size: 0.8rem;
}
.step-card .hint { margin: 0 0 1.1rem 2.35rem; color: var(--muted); font-size: 0.875rem; }
.field .hint { font-size: 0.75rem; font-weight: 400; color: var(--subtle); }
.field label span { font-weight: 400; color: var(--subtle); }
.field input:-webkit-autofill {
  box-shadow: 0 0 0 1000px var(--brand-soft) inset;
}
.ship-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--brand);
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--brand-soft) 70%, white);
  box-shadow: 0 0 0 1px var(--brand);
}
.ship-option input { accent-color: var(--brand); width: 1.1rem; height: 1.1rem; }
.ship-option strong { display: block; font-size: 0.875rem; }
.ship-option small { display: block; color: var(--muted); }
.ship-option .free { margin-inline-start: auto; color: var(--success); font-weight: 700; font-size: 0.875rem; }
.checkout-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}
.pay-wrap { max-width: 32rem; margin-inline: auto; }
.pay-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.pay-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  flex-shrink: 0;
}
.pay-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0.95rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  background: var(--night);
  color: #fff;
}
.pay-total span { color: rgb(255 255 255 / 0.7); font-size: 0.8rem; }
.pay-total strong { font-size: 1.45rem; letter-spacing: -0.03em; }
.nx-pay-note {
  margin: 0.75rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 0.8rem;
  background: rgb(255 106 0 / 0.1);
  border: 1px solid rgb(255 106 0 / 0.35);
  color: #7a2e00;
  font-size: 0.92rem;
  line-height: 1.45;
}
.nx-pay-note.is-on { background: rgb(255 106 0 / 0.18); }
.nx-pay-note strong { font-weight: 700; }
.co-totals .sale { color: var(--sale); font-weight: 700; }
.pay-form { display: grid; gap: 0.95rem; margin-top: 1.15rem; }
.pay-bar {
  height: 0.4rem;
  margin-top: 0.75rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--soft);
}
.pay-bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: var(--brand);
  animation: pay-slide 1.1s ease-in-out infinite;
}
@keyframes pay-slide {
  from { transform: translateX(-120%); }
  to { transform: translateX(280%); }
}
@media (prefers-reduced-motion: reduce) {
  .pay-bar span { animation: none; width: 100%; }
}

/* Dedicated checkout / pasarela */
body.is-checkout {
  background:
    radial-gradient(90rem 28rem at 50% -12rem, rgb(23 71 207 / 0.16), transparent 55%),
    linear-gradient(180deg, #eef2f8 0%, var(--paper) 38%);
}
body.is-checkout .topbar,
body.is-checkout .catnav,
body.is-checkout .header,
body.is-checkout .footer,
body.is-checkout .search-wrap,
body.is-checkout .search-wrap-mobile { display: none; }

.co-bar {
  background: rgb(255 255 255 / 0.86);
  border-bottom: 1px solid rgb(14 23 38 / 0.06);
  backdrop-filter: blur(16px);
}
.co-bar-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.6rem;
}
.co-trust {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0 auto;
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.co-back {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}
.co-back:hover { color: var(--ink); }
.co-page {
  max-width: 68rem;
  padding: 1.15rem 0 3rem;
}
.co-page h1 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: -0.04em;
}
.co-steps,
.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0 0 1.35rem;
  padding: 0.35rem;
  list-style: none;
  font-size: 0.78rem;
  color: var(--muted);
  background: rgb(255 255 255 / 0.7);
  border: 1px solid rgb(14 23 38 / 0.06);
  border-radius: 999px;
}
.co-steps li,
.checkout-steps li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.15rem;
  border-radius: 999px;
}
.co-steps .n,
.checkout-steps .n {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.7rem;
}
.co-steps li[aria-current="step"],
.checkout-steps li[aria-current="step"] {
  color: var(--ink);
  font-weight: 600;
  background: #fff;
  box-shadow: 0 1px 2px rgb(14 23 38 / 0.08);
}
.co-steps li[aria-current="step"] .n,
.co-steps li.is-done .n,
.checkout-steps li[aria-current="step"] .n,
.checkout-steps li.is-done .n {
  background: var(--brand);
  color: #fff;
}
@media (max-width: 640px) {
  .co-steps, .checkout-steps { font-size: 0; }
  .co-steps li, .checkout-steps li { font-size: 0; gap: 0; }
  .co-steps .n, .checkout-steps .n { width: 1.7rem; height: 1.7rem; font-size: 0.75rem; }
}
.co-grid,
.co-pay {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 960px) {
  .co-grid { grid-template-columns: minmax(0, 1fr) 22rem; align-items: start; }
  .co-pay { grid-template-columns: minmax(0, 1.15fr) 22rem; align-items: start; }
  .co-bag { position: sticky; top: 1.15rem; }
}
@media (max-width: 959px) {
  .pay-page .co-bag { order: -1; }
}
.co-bag h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}
.pay-sheet {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgb(14 23 38 / 0.08);
  box-shadow: 0 18px 50px -28px rgb(10 23 53 / 0.38);
}
.pay-face {
  position: relative;
  min-height: 8.4rem;
  padding: 1.15rem 1.25rem 1.2rem;
  background:
    radial-gradient(18rem 10rem at 100% 0%, rgb(255 255 255 / 0.12), transparent 46%),
    linear-gradient(135deg, #102044 0%, #1747cf 58%, #0a1735 100%);
  color: #fff;
}
.pay-chip {
  display: block;
  width: 2.15rem;
  height: 1.55rem;
  margin-bottom: 1.15rem;
  border-radius: 0.28rem;
  background: linear-gradient(135deg, #f3e2b0, #c9a227 55%, #efe0a6);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12);
}
.pay-face-label {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.72);
}
.pay-face strong {
  display: block;
  margin-top: 0.2rem;
  font-size: clamp(1.55rem, 4vw, 2rem);
  letter-spacing: -0.04em;
}
.pay-face-brand {
  position: absolute;
  top: 1.1rem;
  right: 1.15rem;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.12);
}
.pay-face-brand img { filter: brightness(0) invert(1); }
.pay-sheet .pay-top,
.pay-sheet .pay-total,
.pay-sheet .pay-accept,
.pay-sheet .pay-brands,
.pay-sheet .pay-form,
.pay-sheet #pay-status {
  margin-inline: 1.15rem;
}
.pay-sheet .pay-top { padding-top: 1.15rem; }
.pay-sheet .pay-form { padding-bottom: 1.25rem; }
.pay-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}
.pay-number input {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}
.co-lines { list-style: none; margin: 0; padding: 0; }
.co-line {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.co-line:last-child { border-bottom: 0; }
.co-line img,
.co-line .ph {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  background: var(--soft);
  border-radius: 0.5rem;
}
.co-line .ph { display: grid; place-items: center; font-weight: 700; color: var(--brand); }
.co-line p { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.8125rem; }
.co-totals { margin: 0.65rem 0 0; display: grid; gap: 0.4rem; }
.co-totals > div,
.co-totals .co-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.co-total {
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
  font-size: 1.125rem;
}
.co-eta { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.8125rem; }
.co-result { max-width: 32rem; margin-inline: auto; }
.co-foot {
  margin-top: auto;
  border-top: 1px solid rgb(14 23 38 / 0.06);
  padding: 1.05rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
  background: rgb(255 255 255 / 0.55);
}
.co-foot-brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.1rem;
}
.co-trust img,
.co-foot img,
.checkout-secure img,
.pay-submit img { display: inline-block; vertical-align: -2px; }
.pay-accept {
  margin: 1rem 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}
.pay-brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.pay-brands img {
  height: 32px;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 0 0 1px var(--line);
}
.pay-brands-form img { opacity: 0.38; transition: opacity 160ms ease, transform 160ms ease; }
.pay-brands-form img.is-on,
.pay-brands-form:not(:has(.is-on)) img {
  opacity: 1;
}
.pay-brands-form img.is-on { transform: scale(1.06); }
.pay-submit { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; }
.btn-primary img { filter: brightness(0) invert(1); }
#pay-status { margin-top: 1rem; }
#pay-status[hidden] { display: none; }
.pay-rejected {
  padding: 1rem 1.1rem;
  border-radius: var(--radius, 0.75rem);
  border: 1px solid color-mix(in srgb, var(--error) 35%, transparent);
  background: color-mix(in srgb, var(--error) 8%, var(--surface, #fff));
}
.pay-rejected-title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--error);
}
.pay-rejected p { margin: 0; }
.pay-reject-note { margin-top: 0.65rem !important; font-size: 0.875rem; opacity: 0.9; }
.pay-form[inert] { opacity: 0.55; pointer-events: none; }

/* Legal */
.legal { display: grid; gap: 1.25rem; padding: 1.25rem 0 4rem; }
.legal-nav {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scroll-snap-type: x mandatory;
}
.legal-nav a { flex: 0 0 auto; scroll-snap-align: start; white-space: nowrap; }
@media (min-width: 1024px) {
  .legal { grid-template-columns: 14rem minmax(0, 1fr); }
  .legal-nav { display: grid; overflow: visible; }
}
.legal-nav a { display: block; padding: 0.5rem 0.75rem; border-radius: 0.5rem; color: var(--muted); font-size: 0.875rem; }
.legal-nav a[aria-current="page"] { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: 0 0 0 1px var(--line); }
.legal article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.5rem;
  max-width: 48rem;
}
.legal article p { line-height: 1.7; color: var(--muted); }

/* Footer */
.footer { margin-top: auto; background: var(--night); color: #fff; }
.footer .logo { color: #fff; }
.footer .logo-mark-img { box-shadow: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.25rem;
  padding: 2.5rem 0;
}
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; padding: 3.5rem 0; } }
.footer .brand-col { grid-column: 1 / -1; }
@media (min-width: 1024px) { .footer .brand-col { grid-column: auto; } }
.footer p, .footer li { color: rgb(255 255 255 / 0.75); font-size: 0.875rem; line-height: 1.6; }
.footer h3 { margin: 0; font-size: 0.875rem; }
.footer ul { list-style: none; margin: 0.85rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 0.1);
  padding: 1.1rem 0;
  font-size: 0.75rem;
  color: rgb(255 255 255 / 0.55);
}

.wa-float {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-pop);
}
.wa-float[hidden] { display: none; }

.ph {
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--brand-soft), var(--soft));
  color: var(--brand);
  font-weight: 700;
  font-size: 1.4rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(1.15rem + env(safe-area-inset-bottom, 0px));
  translate: -50% 12px;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 0.85rem;
  border-radius: 0.85rem;
  font-size: 0.875rem;
  z-index: 70;
  display: none;
  align-items: center;
  gap: 0.7rem;
  min-width: min(22rem, calc(100vw - 2rem));
  box-shadow: var(--shadow-pop);
}
.toast.show {
  display: flex;
  animation: toast-in 280ms ease;
}
.toast img {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
  border-radius: 0.45rem;
  background: #fff;
}
.toast strong { display: block; font-size: 0.8125rem; }
.toast p { margin: 0.15rem 0 0; font-size: 0.75rem; color: rgb(255 255 255 / 0.75); }
.toast a {
  margin-inline-start: auto;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
}
.fly-cart {
  position: fixed;
  z-index: 80;
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-raise);
  pointer-events: none;
  transition: transform 580ms cubic-bezier(.2,.8,.2,1), opacity 580ms ease;
}
@keyframes toast-in {
  from { opacity: 0; translate: -50% 16px; }
  to { opacity: 1; translate: -50% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .toast.show, .cart-open.is-pop, .cart-open.is-pop .cart-badge, .cart-line, .btn.is-added, .hero-main { animation: none; }
  .fly-cart { display: none; }
  .card, .drawer { transition: none; }
  @starting-style { .card { opacity: 1; translate: 0; } }
}

@media (min-width: 1024px) {
  .hide-lg { display: none !important; }
}
.show-lg { display: none !important; }
@media (min-width: 1024px) {
  .show-lg { display: inline-flex !important; }
}

.nx-link { color: #c45a10; font-weight: 600; }
.nx-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.4rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #fff4ea;
  color: #c45a10;
  font-size: 0.72rem;
  font-weight: 700;
}
.nx-lines p { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.75rem; }
.nx-mini { min-height: 2.4rem; }
.nx-box {
  margin: 0.9rem 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid #ffd7b3;
  border-radius: 0.75rem;
  background: #fff8f2;
}
.nx-home, .nx-hero {
  margin: 1.5rem 0;
  padding: 1.4rem;
  border-radius: 1rem;
  background:
    linear-gradient(135deg, #fff8f2, #fff),
    radial-gradient(20rem 10rem at 100% 0%, rgb(255 106 0 / 0.12), transparent 60%);
  border: 1px solid #ffd7b3;
}
.nx-kicker { margin: 0; color: #c45a10; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; }
.nx-home h2, .nx-hero h1 { margin: 0.25rem 0 0.5rem; letter-spacing: -0.03em; }
.btn-nx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border-radius: 0.7rem;
  background: #ff6a00;
  color: #fff;
  font-weight: 700;
}
.btn-nx:hover { filter: brightness(0.96); }
.nx-sub { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0 0 1rem; }
.nx-sub a {
  white-space: nowrap;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--soft);
  font-size: 0.85rem;
}
.nx-landing { padding: 1.25rem 0 3rem; }
.sug-kind { display: block; font-size: 0.65rem; color: var(--subtle); text-transform: uppercase; }
.card-media, .gallery, .cats .thumb {
  aspect-ratio: 1;
  background: #f7f9fc;
}
.card-media img, .gallery img, .cats img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10%;
  background: #f7f9fc;
}
.search-suggest a, .search-suggest button { font-size: 0.9rem; }

.co-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 720px) {
  .co-steps { font-size: 0; }
}

.cc-scene {
  perspective: 900px;
  margin: 1rem 1.15rem 0;
  height: 13.2rem;
}
.cc-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease);
}
.cc-scene.is-flipped .cc-card { transform: rotateY(180deg); }
.cc-face {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
  backface-visibility: hidden;
  color: #fff;
  box-shadow: 0 16px 40px -20px rgb(10 23 53 / 0.45);
}
.cc-front {
  background: linear-gradient(135deg, #102044, #1747cf 58%, #0a1735);
}
.cc-scene.is-visa .cc-front { background: linear-gradient(135deg, #1a237e, #1565c0); }
.cc-scene.is-mastercard .cc-front { background: linear-gradient(135deg, #3e2723, #e64a19 55%, #1b1b1b); }
.cc-scene.is-naranja .cc-front { background: linear-gradient(135deg, #c45a10, #ff6a00 55%, #7a2e00); }
.cc-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #1b2433, #0e1726);
}
.cc-number, .cc-name, .cc-exp {
  letter-spacing: 0.08em;
  transition: background 200ms var(--ease);
  border-radius: 0.35rem;
  padding: 0.1rem 0.2rem;
}
.cc-scene.is-focus-number .cc-number,
.cc-scene.is-focus-name .cc-name,
.cc-scene.is-focus-exp .cc-exp { background: rgb(255 255 255 / 0.14); }
.cc-number { margin: 1.6rem 0 1rem; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.cc-meta { display: flex; justify-content: space-between; font-size: 0.75rem; text-transform: uppercase; }
.cc-brand { position: absolute; top: 1rem; right: 1.1rem; font-weight: 700; }
.cc-stripe { height: 2.4rem; margin: 1.1rem -1.2rem 1.2rem; background: #111; }
.cc-cvv {
  margin-left: auto;
  width: 4.5rem;
  background: #fff;
  color: #111;
  text-align: center;
  border-radius: 0.3rem;
  padding: 0.25rem;
}
.field-error { min-height: 1.1rem; margin: 0.25rem 0 0; color: var(--error); font-size: 0.75rem; }
.inst-grid { display: grid; gap: 0.5rem; }
.inst-opt {
  display: flex;
  gap: 0.6rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
}
.inst-opt em { display: block; font-style: normal; color: var(--muted); font-size: 0.75rem; margin-top: 0.25rem; }
.inst-legal { color: var(--muted); font-size: 0.75rem; }
.pay-brands [data-brand] { opacity: 0.45; transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.pay-brands [data-brand].is-on { opacity: 1; transform: scale(1.06); }
.hint-tip { color: var(--subtle); font-size: 0.75rem; }
.checkout-secure { font-size: 0.8rem; }
input, select, textarea { font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  .cc-card { transition: none; }
}

.admin-wrap { max-width: 46rem; padding: 1.5rem 0 4rem; }
.admin-wrap label { display: grid; gap: 0.3rem; margin: 0.75rem 0; }
.admin-wrap input, .admin-wrap textarea, .admin-wrap select { min-height: 2.6rem; padding: 0.5rem 0.7rem; border: 1px solid var(--line-strong); border-radius: 0.5rem; }

/* Naranja X + catalog polish */
.nx-link { color: #c45a10; font-weight: 600; }
.nx-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #fff4ea;
  color: #c45a10;
  font-size: 0.72rem;
  font-weight: 700;
}
.nx-lines p { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.75rem; }
.nx-box {
  margin: 0.85rem 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid #ffd7b8;
  border-radius: 0.75rem;
  background: #fff8f2;
}
.nx-home, .nx-hero {
  margin: 1.25rem 0 0;
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  background:
    linear-gradient(135deg, #fff8f2, #fff),
    linear-gradient(180deg, #fff4ea, transparent);
  border: 1px solid #ffd7b8;
}
.nx-kicker { margin: 0; color: #c45a10; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.nx-home h2, .nx-hero h1 { margin: 0.25rem 0 0.4rem; letter-spacing: -0.03em; }
.btn-nx {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border-radius: 0.7rem;
  background: #ff6a00;
  color: #fff;
  font-weight: 700;
}
.btn-nx:hover { background: #e85f00; }
.nx-sub { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.75rem 0 0; }
.nx-sub a {
  white-space: nowrap;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--soft);
  font-size: 0.85rem;
}
.sug-kind { display: block; font-size: 0.65rem; color: var(--subtle); text-transform: uppercase; }
.card-media {
  aspect-ratio: 1;
  background: #f7f9fc;
  display: grid;
  place-items: center;
}
.card-media img, .gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10%;
  background: #f7f9fc;
}

/* 3D card */
.cc-scene {
  perspective: 900px;
  margin: 0 1.15rem 0.25rem;
}
.cc-card {
  position: relative;
  min-height: 12.5rem;
  transform-style: preserve-3d;
  transition: transform 320ms var(--ease);
}
.cc-scene.is-flipped .cc-card { transform: rotateY(180deg); }
.cc-face {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
  backface-visibility: hidden;
  color: #fff;
  box-shadow: var(--shadow-raise);
}
.cc-front {
  background: linear-gradient(135deg, #102044, #1747cf 58%, #0a1735);
}
.cc-scene.is-visa .cc-front { background: linear-gradient(135deg, #1a237e, #1565c0); }
.cc-scene.is-mastercard .cc-front { background: linear-gradient(135deg, #1b1b1b, #eb001b 55%, #f79e1b); }
.cc-scene.is-naranja .cc-front { background: linear-gradient(135deg, #c45a10, #ff6a00 60%, #7a2e00); }
.cc-back { transform: rotateY(180deg); background: linear-gradient(135deg, #1b2433, #0e1726); }
.cc-band { height: 2.1rem; margin: 1.1rem -1.2rem 1rem; background: #111; }
.cc-cvv-box {
  margin-left: auto;
  width: 7rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.4rem;
  background: #fff;
  color: #111;
  text-align: right;
  letter-spacing: 0.2em;
}
.cc-number, .cc-name, .cc-exp { letter-spacing: 0.08em; }
.cc-scene.is-focus-number .cc-number,
.cc-scene.is-focus-name .cc-name,
.cc-scene.is-focus-exp .cc-exp {
  outline: 1px solid rgb(255 255 255 / 0.55);
  outline-offset: 4px;
  border-radius: 0.35rem;
}
.cc-meta { display: flex; justify-content: space-between; margin-top: 1.1rem; font-size: 0.8rem; }
.cc-brand {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.field-error { min-height: 1.1rem; margin: 0.25rem 0 0; color: var(--error); font-size: 0.75rem; }
.hint-tip { display: block; margin-top: 0.25rem; color: var(--subtle); font-size: 0.75rem; }
.inst-grid { display: grid; gap: 0.5rem; }
.inst-opt {
  display: flex;
  gap: 0.65rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--card);
}
.inst-opt:has(input:checked) { border-color: #ff6a00; box-shadow: 0 0 0 3px rgb(255 106 0 / 0.12); }
.inst-opt em { display: block; margin-top: 0.35rem; font-style: normal; color: var(--muted); font-size: 0.75rem; }
.inst-legal { color: var(--subtle); font-size: 0.75rem; }
.co-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 720px) {
  .co-steps { font-size: 0; }
}
.pay-brands [data-brand] { opacity: 0.45; transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.pay-brands [data-brand].is-on { opacity: 1; transform: translateY(-2px); }
.nx-home, .card, .btn { content-visibility: auto; }

input, select, textarea { font-size: 16px; }
.btn { min-height: 2.75rem; }

@media (prefers-reduced-motion: reduce) {
  .cc-card { transition: none; }
}

.lead-dialog {
  border: 0;
  padding: 0;
  width: min(24.5rem, calc(100vw - 1.5rem));
  max-width: calc(100vw - 1.5rem);
  max-height: calc(100dvh - 1.25rem);
  background: transparent;
  overflow: auto;
  color: var(--ink);
}
.lead-dialog::backdrop {
  background: rgb(8 16 36 / 0.46);
  backdrop-filter: blur(7px);
}
.lead-dialog[open]::backdrop { animation: lead-fade 420ms var(--ease) both; }
.lead-dialog[open] .lead-card { animation: lead-rise 620ms var(--ease) both; }
.lead-card {
  margin: 0;
  overflow: hidden;
  border-radius: 1.35rem;
  background: #fff;
  box-shadow: 0 28px 60px -24px rgb(8 16 36 / 0.55), 0 2px 8px rgb(8 16 36 / 0.08);
}
.lead-ticket {
  position: relative;
  padding: 1.15rem 1.25rem 0.35rem;
  background:
    radial-gradient(18rem 8rem at 100% -20%, rgb(42 94 240 / 0.45), transparent 60%),
    linear-gradient(165deg, #16306f 0%, #0a1735 58%);
  color: #fff;
}
.lead-ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.72);
}
.lead-route-wrap { margin-top: 0.35rem; }
.lead-route { display: block; width: 100%; height: auto; }
.lead-route-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.lead-dialog[open] .lead-route-line { animation: lead-draw 1.05s var(--ease) 0.18s forwards; }
.lead-pin { opacity: 0; }
.lead-dialog[open] .lead-pin { animation: lead-fade 320ms ease 0.95s forwards; }
.lead-route-labels {
  display: flex;
  justify-content: space-between;
  margin-top: -0.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.55);
}
.lead-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.1);
  color: #fff;
}
.lead-close:hover { background: rgb(255 255 255 / 0.18); }
.lead-seam {
  height: 1.15rem;
  margin: 0;
  background:
    radial-gradient(circle at 14px 0, transparent 9px, #0a1735 9.5px) left top / 22px 50% repeat-x,
    radial-gradient(circle at 14px 100%, transparent 9px, #fff 9.5px) left bottom / 22px 50% repeat-x;
}
.lead-body { padding: 0.35rem 1.25rem 1.15rem; }
.lead-body h2 {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.lead-copy {
  margin: 0.55rem 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.lead-dialog[open] .lead-body h2,
.lead-dialog[open] .lead-copy,
.lead-dialog[open] .lead-body .field,
.lead-dialog[open] .lead-body .btn,
.lead-dialog[open] .lead-note {
  animation: lead-rise 560ms var(--ease) both;
}
.lead-dialog[open] .lead-copy { animation-delay: 70ms; }
.lead-dialog[open] .lead-body .field { animation-delay: 120ms; }
.lead-dialog[open] .lead-body .btn { animation-delay: 170ms; }
.lead-dialog[open] .lead-note { animation-delay: 210ms; }
.lead-body .field input {
  min-height: 3rem;
  border-radius: 0.75rem;
  background: var(--paper);
}
.lead-status {
  min-height: 0;
  margin: 0.65rem 0 0;
  color: var(--error);
  font-size: 0.85rem;
}
.lead-status:empty { margin: 0; }
.lead-status.is-ok { color: var(--success); font-weight: 600; }
.lead-body .btn { margin-top: 0.85rem; content-visibility: visible; }
.lead-note {
  margin: 0.75rem 0 0;
  color: var(--subtle);
  font-size: 0.72rem;
  line-height: 1.45;
}
.lead-note a { color: var(--brand); text-decoration: underline; }
.lead-dialog, .lead-dialog .btn { content-visibility: visible; }
@keyframes lead-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lead-rise {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
@keyframes lead-draw { to { stroke-dashoffset: 0; } }
@media (max-height: 760px) {
  .lead-ticket { padding-top: 0.85rem; }
  .lead-route-wrap { margin-top: 0; }
  .lead-body h2 { font-size: 1.4rem; }
  .lead-copy { margin-bottom: 0.7rem; }
  .lead-body { padding-bottom: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lead-route-line { stroke-dashoffset: 0; }
  .lead-pin { opacity: 1; }
}
