/* Roto Gaming store styles. Dark theme, red brand palette.
   Radius system: cards 18px, media 14px, inputs 12px, buttons + chips full pill. */
:root {
  --bg: #060505;
  --bg-2: #0d0909;
  --surface: #151011;
  --surface-2: #1c1516;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f7f3f3;
  --muted: #a89d9d;
  --muted-2: #968b8b;
  --accent: #ff4d4f;
  --accent-2: #ff7a7c;
  --accent-ink: #2b0506;
  --brand: #d9141c;
  --brand-hover: #f0262d;
  --brand-ink: #ffffff;
  --ok: #34d399;
  --warn: #fbbf24;
  --r-card: 18px;
  --r-media: 14px;
  --r-input: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1280px;
  --header-h: 80px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; touch-action: manipulation; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  overflow-x: clip;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 300; padding: 10px 16px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
h1, h2, h3, .display { font-family: 'Satoshi', system-ui, sans-serif; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 10px 30px -12px rgba(217, 20, 28, .9), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn--primary:hover { background: var(--brand-hover); }
.btn--ghost { background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .07); }
.link-btn { padding: 0; font: inherit; color: #fff; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .3); cursor: pointer; }
.link-btn:hover { border-bottom-color: #fff; }
.footer .link-btn { font-size: 14.5px; color: #d4d4d8; border: 0; text-align: left; }
.footer .link-btn:hover { color: #fff; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------------- announcement + header ---------------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(6, 5, 5, .8); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); }
.header__row { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.logo { flex: none; display: flex; align-items: center; }
.brand-logo { display: block; height: 62px; width: auto; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); }
.nav__item { position: relative; }
.nav__btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: #d4d4d8; white-space: nowrap; transition: background .2s, color .2s; }
.nav__btn:hover, .nav__item.is-open .nav__btn { background: rgba(255, 255, 255, .07); color: #fff; }
.nav__btn .ico { width: 12px; height: 12px; opacity: .7; transition: transform .25s var(--ease); }
.nav__item.is-open .nav__btn .ico { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; z-index: 120;
  width: min(560px, 90vw); padding: 14px;
  border-radius: 20px; background: rgba(20, 20, 24, .97); border: 1px solid var(--line-2);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__head { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 8px 10px; }
.mega__title { font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: 18px; }
.mega__count { font-size: 13px; color: var(--muted-2); }
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.mega__link { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 12px; font-size: 14.5px; color: #e4e4e7; transition: background .15s; }
.mega__link:hover, .mega__link:focus-visible { background: rgba(255, 77, 79, .1); color: #fff; }
.mega__link img { width: 32px; height: 40px; border-radius: 7px; object-fit: cover; background: var(--surface-2); flex: none; }
.header__actions { flex: none; display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: #e4e4e7; transition: background .2s, border-color .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .08); border-color: var(--line-2); }
.icon-btn .ico { width: 20px; height: 20px; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
.cart-count[hidden] { display: none; }
.menu-btn { display: none; }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; display: none; }
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); overflow-y: auto; padding: 16px; background: var(--bg-2); border-left: 1px solid var(--line); animation: drawer-in .3s var(--ease); }
@keyframes drawer-in { from { transform: translateX(30px); opacity: 0; } }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-weight: 600; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ico { transition: transform .25s var(--ease); }
.acc[open] summary .ico { transform: rotate(180deg); }
.acc ul { padding: 0 4px 12px; display: grid; gap: 2px; }
.acc a { display: block; padding: 8px 10px; border-radius: 10px; color: #d4d4d8; }
.acc a:hover { background: rgba(255, 255, 255, .05); }

/* ---------------- search overlay ---------------- */
.search { position: fixed; inset: 0; z-index: 220; display: none; padding: 10vh 16px 16px; background: rgba(5, 5, 7, .8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.search.is-open { display: block; }
.search__box { width: min(680px, 100%); margin: 0 auto; border-radius: 22px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 40px 90px rgba(0, 0, 0, .6); overflow: hidden; }
.search__field { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.search__field input { flex: 1; height: 60px; background: none; border: 0; outline: none; font-size: 17px; }
.search__field input::placeholder { color: var(--muted-2); }
.search__results { max-height: min(60vh, 520px); overflow-y: auto; padding: 8px; }
.search__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; }
.search__item:hover, .search__item.is-active { background: rgba(255, 77, 79, .1); }
.search__item img { width: 44px; height: 55px; border-radius: 8px; object-fit: cover; flex: none; background: var(--surface-2); }
.search__name { font-weight: 500; }
.search__price { font-size: 13.5px; color: var(--muted); }
.search__empty { padding: 28px 16px; text-align: center; color: var(--muted); }

/* ---------------- hero ---------------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 56px 0 64px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto 35%; height: 120%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 77, 79, .28), rgba(255, 77, 79, .06) 55%, transparent 75%); filter: blur(20px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; min-height: min(560px, calc(100dvh - 180px)); }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead { max-width: 52ch; margin-top: 20px; font-size: clamp(16.5px, 1.4vw, 18.5px); color: #c4c4cc; }
.hero-search { display: flex; align-items: center; gap: 8px; max-width: 560px; margin-top: 30px; padding: 6px 6px 6px 20px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); transition: border-color .2s, background .2s; }
.hero-search:focus-within { border-color: rgba(255, 77, 79, .6); background: rgba(255, 255, 255, .07); }
.hero-search input { flex: 1; min-width: 0; height: 46px; background: none; border: 0; outline: none; font-size: 16px; }
.hero-search input::placeholder { color: var(--muted-2); }
.hero__alt { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.hero__alt a { color: #fff; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.hero__alt a:hover { border-bottom-color: #fff; }
.stack { position: relative; height: clamp(380px, 42vw, 520px); }
.stack__card { position: absolute; width: 44%; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); transition: transform .5s var(--ease); }
.stack__card img { width: 100%; height: 100%; object-fit: cover; }
.stack__card:nth-child(1) { left: 28%; top: 6%; z-index: 3; transform: rotate(-2deg); }
.stack__card:nth-child(2) { left: 2%; top: 18%; z-index: 2; transform: rotate(-9deg); width: 38%; }
.stack__card:nth-child(3) { right: 0; top: 16%; z-index: 2; transform: rotate(8deg); width: 38%; }
.stack__card:nth-child(4) { left: 12%; bottom: 0; z-index: 1; transform: rotate(4deg); width: 32%; }
.stack__card:nth-child(5) { right: 8%; bottom: 2%; z-index: 1; transform: rotate(-6deg); width: 32%; }
.stack:hover .stack__card:nth-child(1) { transform: rotate(0deg) translateY(-8px); }
@media (prefers-reduced-motion: no-preference) {
  .stack__card { animation: float 7s ease-in-out infinite; }
  .stack__card:nth-child(2) { animation-delay: -1.5s; }
  .stack__card:nth-child(3) { animation-delay: -3s; }
  .stack__card:nth-child(4) { animation-delay: -4.5s; }
  .stack__card:nth-child(5) { animation-delay: -6s; }
  @keyframes float { 50% { translate: 0 -10px; } }
}

/* trust strip (under the hero): endless marquee moving left to right */
.trust { overflow: hidden; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.trust__track { display: flex; width: max-content; }
.trust__half, .trust__set { display: flex; flex: none; }
.trust__item { display: flex; align-items: center; gap: 12px; padding: 16px 40px; white-space: nowrap; }
.trust__icon { display: grid; place-items: center; color: var(--accent); flex: none; }
.trust__icon .ico { width: 24px; height: 24px; }
.trust__title { font-weight: 600; font-size: 15px; }
.trust__text { font-size: 13.5px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .trust__track { animation: trust-slide 38s linear infinite; }
  @keyframes trust-slide { from { transform: translateX(-50%); } to { transform: translateX(0); } }
}

/* ---------------- sections ---------------- */
.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(28px, 3.2vw, 40px); }
.sec-head p { margin-top: 8px; color: var(--muted); max-width: 60ch; }
.link-more { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 15px; font-weight: 600; color: var(--accent); }
.link-more:hover { color: var(--accent-2); }
.link-more .ico { transition: transform .25s var(--ease); }
.link-more:hover .ico { transform: translateX(3px); }

/* rail: horizontal scroll-snap tiles (recargas) */
.rail-wrap { position: relative; }
.rail { --per: 5; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * 14px) / var(--per)); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
/* whole cards only: the rail stays inside the content width, aligned with the title and arrows */
@media (max-width: 1100px) { .rail { --per: 4; } }
@media (max-width: 820px) { .rail { --per: 3; } }
@media (max-width: 560px) { .rail { --per: 2; } }
.rail::-webkit-scrollbar { display: none; }
.rail-nav { display: flex; gap: 8px; }
.tile { position: relative; display: block; scroll-snap-align: start; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; background: var(--surface); border: 1px solid var(--line); isolation: isolate; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); z-index: 1; }
.tile__label { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: 18px; line-height: 1.1; }
.tile__sub { display: block; margin-top: 2px; font-family: 'Satoshi', sans-serif; font-weight: 500; font-size: 13px; color: #d4d4d8; }
.tile:hover img { transform: scale(1.05); }
.tile:hover { border-color: rgba(255, 77, 79, .45); }

/* bento: gift cards */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 14px; }
.bento .tile { aspect-ratio: auto; }
.bento .tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento .tile:nth-child(1) .tile__label { font-size: 26px; }
.bento .tile:nth-child(6) { grid-column: span 2; }

/* streaming: wide logo strip cards */
.logo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.logo-card { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .3s var(--ease), background .25s; }
.logo-card:hover { border-color: rgba(255, 77, 79, .4); background: var(--surface-2); transform: translateY(-2px); }
.logo-card img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: none; }
.logo-card__name { font-weight: 600; }
.logo-card__sub { font-size: 13.5px; color: var(--muted); }

/* all categories: grouped chips */
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.group { padding: 22px; border-radius: var(--r-card); background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); }
.group:nth-child(1) { background: radial-gradient(120% 90% at 0% 0%, rgba(255, 77, 79, .16), transparent 60%), linear-gradient(180deg, var(--surface), var(--bg-2)); }
.group__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.group__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .06); color: var(--accent); }
.group__title { font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: 20px; }
.group__count { font-size: 13px; color: var(--muted-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; color: #d4d4d8; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); transition: border-color .2s, color .2s, background .2s; }
.chip:hover { color: #fff; border-color: rgba(255, 77, 79, .5); background: rgba(255, 77, 79, .08); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.step { padding: 26px 22px; }
.step + .step { border-left: 1px solid var(--line); }
.step__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-weight: 700; margin-bottom: 16px; }
.step h3 { font-size: 20px; }
.step p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.step a { color: var(--accent); font-weight: 500; }

/* payments */
.pay { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; padding: 36px; border-radius: 24px; background: radial-gradient(90% 120% at 100% 0%, rgba(255, 77, 79, .14), transparent 55%), var(--surface); border: 1px solid var(--line); }
.pay h2 { font-size: clamp(28px, 3vw, 38px); }
.pay p { margin-top: 12px; color: var(--muted); }
.pay .btn { margin-top: 22px; }
.pay__logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pay__logo { display: grid; place-items: center; height: 72px; padding: 10px; border-radius: 14px; background: #fff; }
.pay__logo img { max-height: 44px; width: auto; object-fit: contain; }

/* final CTA */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding: 56px; border-radius: 28px; text-align: center; background: linear-gradient(135deg, #3a0709, #120304); border: 1px solid rgba(255, 77, 79, .3); }
.cta-band::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 77, 79, .35), transparent 70%); }
.cta-band h2 { font-size: clamp(30px, 3.6vw, 46px); }
.cta-band p { margin: 12px auto 0; max-width: 52ch; color: #ead2d2; }
.cta-band .btn { margin-top: 26px; }

/* ---------------- breadcrumbs + page head ---------------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 28px; font-size: 14px; color: var(--muted-2); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: #fff; }
.crumbs .ico { width: 12px; height: 12px; opacity: .6; }
.page-head { padding: 18px 0 30px; }
.page-head h1 { font-size: clamp(34px, 4.4vw, 54px); }
.page-head p { margin-top: 10px; color: var(--muted); max-width: 62ch; }

/* ---------------- product grid ---------------- */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.toolbar__count { color: var(--muted); font-size: 14.5px; }
.select { height: 42px; padding: 0 38px 0 14px; border-radius: 999px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23a1a1aa'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E") right 14px center / 14px no-repeat; border: 1px solid var(--line-2); appearance: none; font-size: 14.5px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .25s, transform .3s var(--ease); }
.card:hover { border-color: rgba(255, 77, 79, .4); transform: translateY(-3px); }
.card__img { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--surface-2); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 14px; }
.card__name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.card__name a:hover { color: var(--accent-2); }
.price { margin-top: 8px; }
.price__main { font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.card__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: auto; padding-top: 14px; }
.card__actions .btn { height: 40px; padding: 0 12px; font-size: 14px; }
.add-btn { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); transition: background .2s, border-color .2s, color .2s; }
.add-btn:hover { border-color: rgba(255, 77, 79, .6); color: var(--accent); }
.add-btn.is-added { background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .5); color: var(--ok); }
.badge-out { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(0, 0, 0, .75); color: #fca5a5; border: 1px solid rgba(252, 165, 165, .3); }
.card.is-out .card__img img { filter: grayscale(.7) brightness(.7); }

/* info accordions (category + product) */
.info { display: grid; gap: 10px; margin-top: 40px; }
.info details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.info summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; font-weight: 600; cursor: pointer; list-style: none; }
.info summary::-webkit-details-marker { display: none; }
.info summary .ico { transition: transform .25s var(--ease); color: var(--muted); }
.info details[open] summary .ico { transform: rotate(180deg); }
.info .prose { padding: 0 20px 20px; }

/* ---------------- product page ---------------- */
.pdp { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; padding-bottom: 40px; }
.pdp__media { position: sticky; top: calc(var(--header-h) + 20px); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 4 / 5; max-width: 460px; }
.pdp__media img { width: 100%; height: 100%; object-fit: cover; }
.pdp h1 { font-size: clamp(30px, 3.6vw, 46px); }
.stock { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 500; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 211, 153, .15); }
.stock.is-out { color: #fca5a5; }
.stock.is-out::before { background: #f87171; box-shadow: 0 0 0 4px rgba(248, 113, 113, .15); }
.pdp .price { margin-top: 18px; }
.pdp .price__main { font-size: clamp(32px, 3.4vw, 42px); }
.rate-note { margin-top: 6px; font-size: 13px; color: var(--muted-2); }
.qty { display: inline-flex; align-items: center; height: 48px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; color: #d4d4d8; }
.qty button:hover { color: #fff; }
.qty output { min-width: 28px; text-align: center; font-weight: 600; }
.pdp__buy { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pdp__buy .btn--primary { flex: 1 1 240px; }
.pdp__assure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.assure { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.assure strong { display: block; color: var(--text); font-weight: 600; font-size: 14px; }
.assure .ico { color: var(--accent); width: 20px; height: 20px; margin-top: 1px; }

/* prose (descriptions, info pages, blog) */
.prose { color: #d4d4d8; font-size: 16px; line-height: 1.7; max-width: 72ch; }
.prose > * + * { margin-top: 12px; }
.prose h2 { font-size: 26px; margin-top: 34px; color: var(--text); }
.prose h3 { font-size: 20px; margin-top: 26px; color: var(--text); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose ol { padding-left: 20px; list-style: decimal; }
.prose li + li { margin-top: 4px; }
.prose img { border-radius: 14px; margin-block: 18px; height: auto; }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }

/* ---------------- accounts page ---------------- */
.accounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.acct { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.acct__logo { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: #fff; padding: 6px; }
.acct__logo img { max-height: 48px; object-fit: contain; }
.acct__method { font-size: 12.5px; font-weight: 600; color: var(--accent); }
.acct__bank { font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: 20px; }
.acct__data { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.acct__num { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 15px; letter-spacing: .02em; word-break: break-all; }
.copy { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); transition: background .2s, color .2s, border-color .2s; }
.copy:hover { border-color: rgba(255, 77, 79, .6); }
.copy.is-done { color: var(--ok); border-color: rgba(52, 211, 153, .5); }
/* payment methods page */
.acct--pay { align-items: start; }
.acct--noimg .acct__logo { background: var(--surface-2); color: var(--accent); }
.acct__icon .ico { width: 30px; height: 30px; }
.acct__label { font-size: 12.5px; color: var(--muted); }
/* label on top, value + copy button side by side (long numbers wrap, the button never drops) */
.acct--pay .acct__data { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; row-gap: 2px; align-items: center; margin-top: 10px; }
.acct--pay .acct__label { grid-column: 1 / -1; }
.copy .ico { width: 15px; height: 15px; }
.copy--all { margin-top: 12px; }
.page-lead { max-width: 64ch; color: var(--muted); font-size: 17px; }
.assure a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); text-underline-offset: 3px; }
.acct__owner { margin-top: 4px; font-size: 14px; color: var(--muted); }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: rgba(255, 77, 79, .08); border: 1px solid rgba(255, 77, 79, .3); color: #f3d6d6; margin-bottom: 20px; }
.notice .ico { color: var(--accent); width: 22px; height: 22px; }
.intl { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.intl .pay__logo { width: 120px; height: 60px; }

/* ---------------- cart ---------------- */
.cart { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); gap: 28px; align-items: start; padding-bottom: 40px; }
.cart-list { display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.cart-item img { width: 72px; height: 90px; border-radius: 10px; object-fit: cover; }
.cart-item__name { font-weight: 600; }
.cart-item__price { font-size: 14px; color: var(--muted); margin-top: 2px; }
.cart-item__side { display: flex; align-items: center; gap: 8px; }
.cart-item .qty { height: 40px; }
.cart-item .qty button { width: 36px; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.summary h2 { font-size: 22px; }
.summary__row { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; color: var(--muted); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.summary__total strong { font-family: 'Satoshi', sans-serif; font-size: 28px; }
.summary .btn { margin-top: 18px; }
.summary__note { margin-top: 12px; font-size: 13px; color: var(--muted-2); }
.empty { padding: 60px 20px; text-align: center; border-radius: 20px; border: 1px dashed var(--line-2); }
.empty .ico { width: 40px; height: 40px; margin: 0 auto 14px; color: var(--muted); }
.empty p { color: var(--muted); margin: 8px 0 20px; }

/* ---------------- toast ---------------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 260; display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 18px; border-radius: 999px; background: #1f1f24; border: 1px solid var(--line-2); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease); font-size: 14.5px; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--accent); font-weight: 600; }

/* ---------------- footer ---------------- */
.footer { margin-top: 40px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding: 56px 0 40px; }
.footer__brand .brand-logo { height: 84px; }
.footer__brand p { margin-top: 16px; max-width: 34ch; font-size: 14.5px; color: var(--muted); }
.footer h2 { font-family: 'Satoshi', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--muted-2); margin-bottom: 14px; }
.footer li + li { margin-top: 8px; }
.footer a { font-size: 14.5px; color: #d4d4d8; }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; font-size: 14.5px; color: #d4d4d8; }
.footer__contact .ico { color: var(--accent); margin-top: 3px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 20px 0 28px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted-2); }

/* ---------------- motion ---------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------------- responsive ---------------- */
@media (max-width: 1120px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header__row { justify-content: space-between; }
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 28px; min-height: 0; }
  .stack { height: 340px; max-width: 520px; margin: 0 auto; width: 100%; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
  .bento .tile:nth-child(6) { grid-column: span 1; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pay { grid-template-columns: 1fr; padding: 26px; }
  .pdp { grid-template-columns: 1fr; gap: 24px; }
  .pdp__media { position: static; max-width: 380px; }
  .cart { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .accounts { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding: 32px 0 44px; }
  .stack { height: 280px; }
  .logo-grid, .groups, .steps { grid-template-columns: 1fr; }
  .trust__item { padding: 14px 26px; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .bento { grid-auto-rows: 150px; }
  .bento .tile:nth-child(1) .tile__label { font-size: 22px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card__body { padding: 10px; }
  .card__name { font-size: 14px; }
  .price__main { font-size: 17px; }
  .card__actions .btn { font-size: 13px; padding: 0 8px; }
  .pdp__assure { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 20px; }
  .footer__top { grid-template-columns: 1fr; }
  .pay__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cart-item { grid-template-columns: 60px minmax(0, 1fr); }
  .cart-item__side { grid-column: 1 / -1; justify-content: space-between; }
  .brand-logo { height: 48px; }
}

/* "Cómo comprar": steps enter one after another when the section scrolls into view */
.step { position: relative; overflow: hidden; transition: background .3s; }
.step::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); transform: scaleX(0); transform-origin: left; }
.step:hover { background: rgba(255, 77, 79, .04); }
@media (prefers-reduced-motion: no-preference) {
  .reveal-steps .step > * { opacity: 0; transform: translateY(14px); }
  .reveal-steps .step__n { transform: scale(.4); }
  .reveal-steps.is-in .step > * { animation: step-rise .6s var(--ease) forwards; animation-delay: calc(var(--i) * 180ms + 120ms); }
  .reveal-steps.is-in .step__n { animation: step-pop .55s cubic-bezier(.34, 1.56, .64, 1) forwards; animation-delay: calc(var(--i) * 180ms); }
  .reveal-steps.is-in .step::before { animation: step-line .7s var(--ease) forwards; animation-delay: calc(var(--i) * 180ms); }
  @keyframes step-rise { to { opacity: 1; transform: none; } }
  @keyframes step-pop { to { opacity: 1; transform: scale(1); } }
  @keyframes step-line { to { transform: scaleX(1); } }
}
@media (prefers-reduced-motion: reduce) { .step::before { transform: scaleX(1); } }

/* iOS zooms into form fields under 16px (double-tap zoom is off via touch-action on html) */
@media (max-width: 760px) { input, select, textarea, .select { font-size: 16px; } }

/* payment cards on phones: small logo on top, data full width so numbers and emails fit on one line */
@media (max-width: 560px) {
  .acct--pay { grid-template-columns: 1fr; gap: 12px; }
  .acct--pay .acct__logo { width: 48px; height: 48px; border-radius: 12px; padding: 5px; }
  .acct--pay .acct__logo img { max-height: 36px; }
  .acct--pay .acct__icon .ico { width: 24px; height: 24px; }
}
