:root {
  --pearl: #fff9fb;
  --blush: #ffeaf1;
  --pastel: #ffd3e1;
  --rose: #f2a7bf;
  --rose-gold: #b76e79;
  --silver: #c7cbd6;
  --plum: #41202c;
  --plum-soft: #6e4552;
  --deep: #8c4a5a;
  --error: #a3213f;
  --gutter: clamp(16px, 5vw, 72px);
  --display: "Cormorant Garamond", Georgia, serif;
  --ui: "Chakra Petch", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--pearl);
  color: var(--plum);
  font: 500 1rem/1.55 var(--ui);
  overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; }
[hidden] { display: none !important; }
.defs { position: absolute; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }

.closed-banner {
  background: var(--plum);
  color: #fff;
  padding: 8px var(--gutter);
  text-align: center;
  font-size: .9rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px var(--gutter);
  background: rgb(255 249 251 / .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgb(199 203 214 / .55);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  font: 600 1.35rem/1 var(--display);
  letter-spacing: .08em;
  text-decoration: none;
  color: var(--deep);
}
.brand svg { width: 30px; height: 27px; }
.site-header nav {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: .86rem;
  font-weight: 600;
  white-space: nowrap;
}
.site-header nav::-webkit-scrollbar { display: none; }
.site-header nav a { padding: 8px 0; text-decoration: none; color: var(--plum-soft); }
.site-header nav a:hover { color: var(--deep); text-decoration: underline; text-underline-offset: 6px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: min(84vh, 720px);
  padding: clamp(40px, 7vw, 90px) var(--gutter);
  background:
    radial-gradient(ellipse 55% 70% at 78% 45%, #ffc4d8 0%, transparent 70%),
    radial-gradient(ellipse 45% 55% at 10% 90%, #eef0f6 0%, transparent 70%),
    linear-gradient(160deg, var(--pearl), var(--blush) 60%, #ffdfe9);
}
.hero-copy { position: relative; z-index: 2; }
.hero-game {
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 8px;
}
.hero h1 {
  font: 500 clamp(2.9rem, 6.6vw, 5.8rem)/1 var(--display);
  letter-spacing: -.01em;
  background: linear-gradient(115deg, #7f3f50 5%, #9a5565 35%, #a86072 52%, #94505f 72%, #6e3444 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: .08em;
}
.hero-text { max-width: 46ch; margin: 18px 0 28px; font-size: 1.08rem; color: var(--plum-soft); }
.hero-gem { position: relative; z-index: 1; display: grid; place-items: center; }
.hero-gem svg {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 400 / 360;
  filter: drop-shadow(0 26px 34px rgb(183 110 121 / .45));
  animation: gem-float 7s ease-in-out infinite;
}
.glow {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgb(255 255 255 / 0) 68%);
}
.spark {
  position: absolute;
  width: 26px;
  height: 26px;
  background: #fff;
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
  filter: drop-shadow(0 0 6px #fff);
  animation: twinkle 3.4s ease-in-out infinite;
}
.s1 { top: 12%; left: 18%; }
.s2 { top: 22%; right: 12%; width: 18px; height: 18px; animation-delay: 1.1s; }
.s3 { bottom: 24%; left: 12%; width: 16px; height: 16px; animation-delay: 2.1s; }
@keyframes gem-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-16px) rotate(2deg); }
}
@keyframes twinkle {
  0%, 100% { opacity: .25; transform: scale(.7); }
  50% { opacity: 1; transform: scale(1.1); }
}

.floaters { position: absolute; inset: 0; pointer-events: none; }
.float {
  position: absolute;
  opacity: .55;
  animation: drift 13s ease-in-out infinite;
}
.f1 { width: 30px; height: 28px; top: 5%; left: 28%; }
.f2 { width: 44px; height: 40px; top: 72%; left: 42%; animation-delay: -3s; animation-duration: 16s; }
.f3 { width: 20px; height: 19px; top: 18%; left: 46%; animation-delay: -6s; }
.f4 { width: 26px; height: 24px; top: 84%; left: 8%; animation-delay: -2s; animation-duration: 15s; }
.f5 { width: 36px; height: 34px; top: 8%; left: 86%; animation-delay: -8s; animation-duration: 18s; }
.f6 { width: 34px; height: 31px; top: 78%; left: 88%; animation-delay: -5s; }
.f7 { width: 18px; height: 17px; top: 52%; left: 2%; animation-delay: -9s; animation-duration: 12s; }
.f8 { width: 22px; height: 20px; top: 6%; left: 62%; animation-delay: -11s; animation-duration: 17s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(-8deg); }
  33% { transform: translate(14px, -26px) rotate(6deg); }
  66% { transform: translate(-10px, -12px) rotate(-3deg); }
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 13px 30px;
  min-height: 46px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: filter .15s;
}
.btn-rose {
  color: var(--plum);
  background: linear-gradient(120deg, #ffd9e5 0%, #f2a7bf 48%, #e8b4bf 70%, #f7cfdb 100%);
  box-shadow: 0 8px 20px rgb(183 110 121 / .32), inset 0 1px 0 rgb(255 255 255 / .8);
}
.btn-rose:hover { filter: brightness(1.05) saturate(1.1); }
.btn:disabled { cursor: not-allowed; filter: grayscale(.6); opacity: .65; }
.btn-wide { width: 100%; }

/* Catalog */
.category { padding: clamp(48px, 7vw, 88px) var(--gutter); }
.category:nth-child(even) { background: linear-gradient(180deg, var(--blush), var(--pearl)); }
h2 {
  font: 500 clamp(2.4rem, 5.4vw, 4rem)/1.05 var(--display);
  color: var(--deep);
}
.section-intro { color: var(--plum-soft); margin-top: 6px; max-width: 60ch; }
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 26px 26px 26px 6px;
  background: linear-gradient(155deg, #fff 0%, #fff4f7 55%, #f3f4f8 100%);
  border: 1px solid rgb(199 203 214 / .8);
  box-shadow: 0 14px 30px rgb(183 110 121 / .13), inset 0 1px 0 #fff;
}
.card svg {
  width: 96px;
  height: 86px;
  filter: drop-shadow(0 8px 10px rgb(183 110 121 / .35));
}
.card-amount {
  margin-top: 12px;
  font: 700 2.5rem/1 var(--ui);
  letter-spacing: -.01em;
  color: var(--plum);
}
.card-unit { font-weight: 600; color: var(--plum-soft); }
.card-title { margin-top: 12px; font: 600 1.7rem/1.1 var(--display); color: var(--plum); }
.card-sub { font-weight: 600; color: var(--plum-soft); }
.card-price { margin: 14px 0 16px; font: 700 1.4rem/1.2 var(--ui); color: var(--deep); }
.card .btn { margin-top: auto; padding: 10px 18px; min-height: 44px; }
.empty {
  margin-top: 22px;
  padding: 20px 24px;
  border: 1px dashed var(--silver);
  border-radius: 18px;
  color: var(--plum-soft);
  max-width: 560px;
}
.load-error { padding: 40px var(--gutter); color: var(--error); font-weight: 700; }

/* Lookup, FAQ, contact */
.band { padding: clamp(48px, 7vw, 88px) var(--gutter); background: linear-gradient(120deg, #ffe3ec, #f6f1f6 60%, #eceef4); }
.lookup {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: end;
  margin-top: 24px;
  max-width: 860px;
}
.field label { display: block; margin-bottom: 5px; font-weight: 700; }
input:not([type="checkbox"]) {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid #8f7f88;
  border-radius: 14px;
  background: #fff;
  color: var(--plum);
  font-weight: 600;
}
input:not([type="checkbox"]):focus-visible { outline-offset: 1px; }
input::placeholder { color: #6f5863; font-weight: 500; }
.help { margin-top: 6px; color: var(--plum-soft); font-size: .86rem; }
.form-error { grid-column: 1 / -1; color: var(--error); font-weight: 700; }
.form-error:empty { display: none; }

.faq { padding: clamp(48px, 7vw, 88px) var(--gutter); max-width: 900px; }
.faq h2 { margin-bottom: 22px; }
details { border-top: 1px solid var(--silver); }
details:last-of-type { border-bottom: 1px solid var(--silver); }
summary { padding: 15px 30px 15px 0; font-weight: 700; cursor: pointer; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 9px; font-size: 1.5rem; color: var(--deep); }
details[open] summary::after { content: "–"; }
details p { padding-bottom: 18px; color: var(--plum-soft); max-width: 66ch; }
.contact .btn { margin-top: 20px; }

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 28px var(--gutter);
  background: var(--plum);
  color: #f4dfe6;
  font-size: .86rem;
}
.footer-brand { font: 600 1.25rem/1 var(--display); letter-spacing: .08em; color: #fff; }

/* Purchase dialog */
.buy {
  width: min(92vw, 470px);
  padding: 26px;
  border: 1px solid var(--silver);
  border-radius: 28px;
  background: linear-gradient(170deg, #fff, var(--blush));
  color: var(--plum);
  box-shadow: 0 30px 70px rgb(65 32 44 / .35);
}
.buy::backdrop { background: rgb(65 32 44 / .45); backdrop-filter: blur(3px); }
.buy-close { position: absolute; top: 12px; right: 12px; }
.icon-btn { width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--plum); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.icon-btn:hover { background: var(--pastel); }
.buy h2 { font-size: 2.2rem; }
.buy-product {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 12px 0 18px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgb(199 203 214 / .8);
  font-weight: 600;
}
.buy-product strong { font-size: 1.3rem; color: var(--deep); white-space: nowrap; }
.player-check { margin-top: 6px; font-weight: 700; color: #2f6b4f; }
.player-check:empty { display: none; }
.player-check.is-invalid { color: var(--error); }
.confirm { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-size: .93rem; cursor: pointer; }
.confirm input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--rose-gold); }
#buyForm .form-error { margin-top: 12px; }

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 15;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--plum);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgb(65 32 44 / .35);
}

/* Added: logo, accessibility, purchase steps, legal pages */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 40;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--plum);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }
.brand img { display: block; width: 30px; height: 27px; }
.hero-logo { display: block; width: 84px; height: 76px; margin-bottom: 10px; filter: drop-shadow(0 8px 10px rgb(183 110 121 / .35)); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-legal { margin-top: 16px; font-weight: 700; }
.hero-legal a { display: inline-block; padding: 6px 0; color: var(--plum); text-underline-offset: 4px; }
.btn-outline { background: #fff; color: var(--plum); border: 1.5px solid var(--deep); }
.btn-outline:hover { background: var(--blush); }
.stock { display: inline-block; align-self: flex-start; margin: -8px 0 14px; padding: 2px 10px; border-radius: 999px; font-size: .84rem; font-weight: 700; }
.stock-on { background: #e1f2e9; color: #1f5a40; }
.stock-off { background: #f3e4e8; color: #6e2b3d; }
.card.is-off .card-price, .card.is-off .card-amount, .card.is-off .card-title { color: var(--plum-soft); }
.card.is-off .btn:disabled { opacity: 1; filter: none; background: #ece6e9; color: #5c4650; box-shadow: none; }
#catalogo:focus { outline: none; }

.id-row { display: flex; gap: 8px; }
.id-row input { flex: 1; min-width: 0; }
.id-row .btn { flex: none; padding-inline: 16px; }
.buy form > .field { margin-bottom: 14px; }
select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1.5px solid #8f7f88;
  border-radius: 14px;
  background: #fff;
  color: var(--plum);
  font-weight: 600;
}
.player-check.is-valid { color: #1f5a40; }
.player-check.is-unverified { color: #6b4700; }
.player-check.is-invalid { color: var(--error); }
.pay-methods { display: grid; gap: 10px; margin: 0 0 14px; padding: 0; border: 0; }
.pay-methods legend { padding: 0; margin-bottom: 8px; font-weight: 700; }
.pay-methods .confirm { margin: 0; padding: 10px 12px; border: 1.5px solid #8f7f88; border-radius: 14px; background: #fff; font-size: .9rem; }
.pay-methods input { width: 20px; height: 20px; flex: none; accent-color: var(--rose-gold); }
.consents { display: grid; gap: 10px; margin: 14px 0; }
.consents .confirm { margin: 0; }
.consents a { color: var(--deep); font-weight: 700; }
.buy-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; font-weight: 600; }
.buy-total strong { font-size: 1.4rem; color: var(--deep); }

.whatsapp-float {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 50%;
  background: #14663f;
}
.whatsapp-float svg { width: 34px; height: 34px; }
.whatsapp-float:hover { background: #0f5433; }

.cookie-notice {
  position: fixed;
  left: 16px;
  right: 90px;
  bottom: 16px;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 760px;
  padding: 14px 18px;
  border: 1px solid var(--silver);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgb(65 32 44 / .25);
}
.cookie-notice p { flex: 1 1 280px; font-size: .92rem; }
.cookie-notice a { color: var(--deep); font-weight: 700; }
.cookie-notice .btn { padding: 8px 22px; min-height: 44px; }

.site-footer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 700; }
.site-footer a { color: #fff; padding: 4px 0; text-underline-offset: 3px; display: inline-block; }
.site-footer p:empty { display: none; }

/* Legal pages */
.legal { padding: clamp(28px, 5vw, 56px) var(--gutter) 70px; max-width: 860px; }
.legal h1 { font: 500 clamp(2.4rem, 6vw, 3.6rem)/1.05 var(--display); color: var(--deep); }
.legal h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin: 28px 0 8px; }
.legal p, .legal ul, .legal table { margin-block: 10px; }
.legal li { margin-block: 5px; }
.legal a { color: var(--deep); font-weight: 700; }
.legal .updated { color: var(--plum-soft); margin-top: 6px; }
.legal dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; background: #fff; }
.legal th, .legal td { padding: 9px 11px; border: 1px solid var(--silver); text-align: left; vertical-align: top; }
.legal th { background: var(--blush); }
.request-form { display: grid; gap: 14px; margin-top: 18px; max-width: 560px; }
textarea { width: 100%; min-height: 90px; padding: 10px 14px; border: 1.5px solid #8f7f88; border-radius: 14px; background: #fff; color: var(--plum); font: inherit; }
.success { padding: 14px 18px; border-radius: 14px; background: #e1f2e9; color: #1f5a40; font-weight: 700; }
.order-code { display: inline-block; margin: 2px 0 0; padding: 4px 12px; border-radius: 10px; background: var(--blush); color: var(--plum); font: 700 1.25rem/1.3 var(--ui); letter-spacing: .03em; }

/* Order page */
.page-order {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, var(--pearl), var(--blush) 60%, #ffdfe9);
}
.page-order main { flex: 1; display: grid; place-items: center; padding: 28px var(--gutter) 60px; }
.status-card {
  width: min(100%, 580px);
  padding: clamp(24px, 5vw, 40px);
  border-radius: 30px;
  background: #fff;
  border: 1px solid rgb(199 203 214 / .8);
  box-shadow: 0 24px 50px rgb(183 110 121 / .2);
}
.status-card h1 { font: 500 clamp(2.4rem, 7vw, 3.4rem)/1.05 var(--display); color: var(--deep); }
.status-message { margin: 10px 0 20px; color: var(--plum-soft); }
.order-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 0 0 22px; }
.order-facts dt { color: var(--plum-soft); }
.order-facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.timeline { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.timeline li { display: flex; align-items: center; gap: 10px; color: #6f5863; }
.timeline li::before { content: ""; flex: none; width: 12px; height: 12px; transform: rotate(45deg); background: var(--silver); }
.timeline li[data-state="done"] { color: var(--plum); }
.timeline li[data-state="done"]::before { background: var(--rose-gold); }
.timeline li[data-state="current"] { color: var(--plum); font-weight: 700; }
.timeline li[data-state="current"]::before { background: var(--rose); box-shadow: 0 0 0 4px var(--blush); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1100px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 4px; padding-bottom: 6px; }
  .site-header nav { width: 100%; }
  html { scroll-padding-top: 96px; }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-gem { order: -1; }
  .f2, .f4 { display: none; }
  .hero-gem svg { width: min(46vw, 190px); }
  .hero-logo { display: none; }
  .hero { gap: 8px; padding-top: 22px; }
  .hero-text { margin: 12px 0 18px; }
  .cookie-notice { right: 84px; left: 10px; bottom: 10px; padding: 10px 12px; }
  .cookie-notice p { flex-basis: 100%; font-size: .86rem; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { padding: 15px; border-radius: 20px 20px 20px 6px; }
  .card svg { width: 72px; height: 65px; }
  .card-amount { font-size: 2rem; }
  .card-title { font-size: 1.45rem; }
  .card-price { font-size: 1.15rem; }
  .lookup { grid-template-columns: 1fr; }
  .lookup .btn { width: 100%; }
  .site-footer { grid-template-columns: 1fr; gap: 8px; }
}
/* ---------- Themes: light (pink webs) and dark (neon) ---------- */
:root {
  color-scheme: light;
  --page-bg: #ffd3e3;
  --art: url("fondo-claro.webp");
  --veil: linear-gradient(rgb(255 236 244 / .18), rgb(255 236 244 / .18));
  --section: rgb(255 246 250 / .42);
  --section-alt: rgb(255 228 238 / .48);
  --title-halo: 0 0 2px #fff, 0 0 12px rgb(255 255 255 / .95), 0 0 24px rgb(255 255 255 / .8);
  --surface: #fff;
  --field: #fff;
  --field-line: #8f7f88;
  --d-main: #f06292;
  --d-main-deep: #c2185b;
  --d-ink: #2b1720;
  --d-light: #fff;
  --d-web: #e58aa8;
  --d-spark: #fff;
  --d-glow: none;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --pearl: #160b11;
  --blush: #2a1420;
  --pastel: #4a1f33;
  --rose: #ff7ab6;
  --rose-gold: #ff4f9a;
  --silver: #5c3a4a;
  --plum: #fbe7ef;
  --plum-soft: #dcb7c7;
  --deep: #ff8cc0;
  --error: #ff8fa6;
  --page-bg: #160b11 url("fondo-oscuro.svg");
  --section: rgb(22 11 17 / .82);
  --section-alt: rgb(36 16 27 / .85);
  --surface: #221019;
  --field: #1b0c14;
  --field-line: #a07a8b;
  --d-main: #ff4f9a;
  --d-main-deep: #ff9ccb;
  --d-ink: #ffd1e6;
  --d-light: #2a1420;
  --d-web: #ff4f9a;
  --d-spark: #ffd1e6;
  --d-glow: drop-shadow(0 0 6px rgb(255 79 154 / .75));
}

html { background: var(--page-bg); }
body { background: transparent; position: relative; }
/* The owner's collage, one per theme. It floats on its own and slides up as the page scrolls
   (theme.js writes --scroll-p, from 0 at the top to 1 at the bottom). */
body::before {
  content: "";
  position: fixed;
  left: -6%;
  right: -6%;
  top: -6%;
  height: 175vh;
  z-index: -2;
  background: var(--veil), var(--art) center top / auto 100vh repeat;
  translate: 0 calc(var(--scroll-p, 0) * -65vh);
  animation: art-float 22s ease-in-out infinite alternate;
  will-change: transform, translate;
}
@keyframes art-float {
  0% { transform: translate3d(-1.5%, 0, 0) scale(1); }
  50% { transform: translate3d(1%, -2%, 0) scale(1.05); }
  100% { transform: translate3d(2%, 1%, 0) scale(1.02) rotate(.6deg); }
}

/* Floating artwork. Behind everything, never clickable. */
.decor { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.piece { position: absolute; display: block; }
.piece svg { display: block; width: 100%; height: 100%; overflow: visible; filter: var(--d-glow); }
.web { width: clamp(150px, 22vw, 290px); aspect-ratio: 1; opacity: .7; }
.web-tl { top: 0; left: 0; }
.web-br { right: 0; bottom: 0; transform: rotate(180deg); }

.hang {
  top: 0;
  width: 46px;
  height: var(--len, 180px);
  transform-origin: 50% 0;
  animation: swing var(--t, 6s) ease-in-out infinite alternate;
}
.hang::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 30px;
  width: 1.5px;
  background: var(--d-ink);
  opacity: .55;
}
.hang svg { position: absolute; bottom: 0; height: 40px; animation: bob 2.6s ease-in-out infinite; }
.h1 { left: 12%; --len: 150px; --t: 5.5s; }
.h2 { left: 63%; --len: 230px; --t: 7s; animation-delay: -2s; }
.h3 { left: 90%; --len: 120px; --t: 6.2s; animation-delay: -4s; }

.drift {
  bottom: -90px;
  width: var(--s, 44px);
  height: var(--s, 44px);
  opacity: .8;
  animation: rise var(--t, 30s) linear infinite;
  animation-delay: var(--delay, 0s);
}
.drift svg { animation: sway 5s ease-in-out infinite alternate; }
.d1 { left: 4%; --s: 64px; --t: 34s; --delay: -6s; }
.d2 { left: 22%; --s: 52px; --t: 27s; --delay: -19s; }
.d3 { left: 38%; --s: 30px; --t: 22s; --delay: -3s; }
.d4 { left: 52%; --s: 34px; --t: 30s; --delay: -14s; }
.d5 { left: 74%; --s: 58px; --t: 38s; --delay: -25s; }
.d6 { left: 86%; --s: 46px; --t: 29s; --delay: -9s; }
.d7 { left: 95%; --s: 26px; --t: 24s; --delay: -16s; }
.d8 { left: 30%; --s: 22px; --t: 20s; --delay: -11s; }
.d9 { left: 68%; --s: 18px; --t: 18s; --delay: -5s; }
.d10 { left: 12%; --s: 24px; --t: 26s; --delay: -21s; }
.d11 { left: 46%; --s: 28px; --t: 33s; --delay: -29s; }
@keyframes swing { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes rise {
  from { transform: translateY(0) rotate(-6deg); }
  to { transform: translateY(calc(-100vh - 180px)) rotate(10deg); }
}
@keyframes sway { from { transform: translateX(-14px); } to { transform: translateX(14px); } }

/* Sections float over the art, a little see-through so it stays legible. */
.site-header { background: var(--section); }
.hero {
  background:
    radial-gradient(ellipse 45% 60% at 78% 45%, rgb(255 255 255 / .55) 0%, transparent 70%),
    linear-gradient(100deg, rgb(255 246 250 / .7) 0%, rgb(255 246 250 / .35) 55%, transparent 100%);
}
.site-header { backdrop-filter: blur(10px); }
.card { background: linear-gradient(155deg, rgb(255 255 255 / .96) 0%, rgb(255 244 247 / .95) 55%, rgb(243 244 248 / .95) 100%); }
:root[data-theme="dark"] .glow { background: radial-gradient(circle, rgb(255 79 154 / .35) 0%, rgb(255 79 154 / 0) 68%); }
.category { background: var(--section); }
.category:nth-child(even) { background: var(--section-alt); }
.band { background: var(--section-alt); }
.faq { max-width: none; }
.faq > * { max-width: 900px; }
.faq { background: var(--section); }
.legal { max-width: none; background: var(--section); }
.legal > * { max-width: 860px; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  min-height: 40px;
  padding: 6px 14px;
  border: 1.5px solid var(--deep);
  border-radius: 999px;
  background: var(--surface);
  color: var(--plum);
  font: 700 .84rem/1 var(--ui);
  cursor: pointer;
}
.theme-toggle svg { width: 18px; height: 18px; color: var(--deep); }
.theme-toggle:hover { background: var(--blush); }

/* Dark theme: surfaces that were plain white. */
:root[data-theme="dark"] .site-header { border-bottom-color: rgb(255 79 154 / .3); }
:root[data-theme="dark"] .hero {
  background:
    radial-gradient(ellipse 55% 70% at 78% 45%, rgb(255 79 154 / .22) 0%, transparent 70%),
    linear-gradient(160deg, rgb(22 11 17 / .82), rgb(36 16 27 / .7));
}
:root[data-theme="dark"] .hero h1 {
  background: linear-gradient(115deg, #ffb3d4 5%, #ff6fae 45%, #ffd1e6 75%, #ff4f9a 95%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 14px rgb(255 79 154 / .35));
}
:root[data-theme="dark"] .card {
  background: linear-gradient(155deg, #2a1420 0%, #1d0e16 100%);
  border-color: rgb(255 79 154 / .35);
  box-shadow: 0 14px 30px rgb(0 0 0 / .45), 0 0 0 1px rgb(255 79 154 / .08) inset;
}
:root[data-theme="dark"] .btn-rose {
  color: #2b0f1c;
  background: linear-gradient(120deg, #ffb3d4 0%, #ff6fae 55%, #ff9ccb 100%);
  box-shadow: 0 8px 22px rgb(255 79 154 / .35);
}
:root[data-theme="dark"] .btn-outline { background: transparent; color: var(--plum); border-color: var(--deep); }
:root[data-theme="dark"] .btn-outline:hover { background: var(--blush); }
:root[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]),
:root[data-theme="dark"] select,
:root[data-theme="dark"] textarea { background: var(--field); color: var(--plum); border-color: var(--field-line); }
:root[data-theme="dark"] input::placeholder { color: #b892a3; }
:root[data-theme="dark"] .buy { background: linear-gradient(170deg, #241019, #1a0b13); border-color: rgb(255 79 154 / .35); }
:root[data-theme="dark"] .buy::backdrop { background: rgb(0 0 0 / .6); }
:root[data-theme="dark"] .buy-product,
:root[data-theme="dark"] .pay-methods .confirm,
:root[data-theme="dark"] .cookie-notice,
:root[data-theme="dark"] .status-card,
:root[data-theme="dark"] .legal table { background: var(--surface); border-color: var(--silver); }
:root[data-theme="dark"] .pay-methods .confirm { border-color: var(--field-line); }
:root[data-theme="dark"] .closed-banner,
:root[data-theme="dark"] .skip-link { background: #ff6fae; color: #2b0f1c; }
:root[data-theme="dark"] .site-footer { background: #0d060a; border-top: 1px solid rgb(255 79 154 / .3); }
:root[data-theme="dark"] .stock-on { background: #133826; color: #8fe0b5; }
:root[data-theme="dark"] .stock-off { background: #3a1a26; color: #f0b3c6; }
:root[data-theme="dark"] .card.is-off .btn:disabled { background: #3a2530; color: #d6bcc7; }
:root[data-theme="dark"] .player-check.is-valid,
:root[data-theme="dark"] .success { color: #8fe0b5; }
:root[data-theme="dark"] .success { background: #133826; }
:root[data-theme="dark"] .player-check.is-unverified { color: #ffd27a; }
.page-order { background: transparent; }
:root[data-theme="dark"] .timeline li { color: #b892a3; }

/* Dark theme: the owner's collage as a full-screen background that floats slowly. */
:root[data-theme="dark"] {
  --page-bg: #12060c;
  --art: url("fondo-oscuro.webp");
  --veil: linear-gradient(rgb(12 4 9 / .28), rgb(12 4 9 / .28));
  --section: rgb(14 5 10 / .55);
  --section-alt: rgb(26 8 18 / .6);
  --title-halo: 0 0 3px #000, 0 0 14px rgb(0 0 0 / .9);
}
.category > h2, .category > .section-intro, .band > h2, .band > .section-intro, .lookup label { text-shadow: var(--title-halo); }
:root[data-theme="dark"] .hero {
  background: linear-gradient(100deg, rgb(12 4 9 / .78) 0%, rgb(12 4 9 / .45) 50%, transparent 85%);
}
:root[data-theme="dark"] .site-header { background: rgb(12 4 9 / .72); }
:root[data-theme="dark"] .faq,
:root[data-theme="dark"] .legal { background: rgb(12 4 9 / .78); }
:root[data-theme="dark"] .card { background: linear-gradient(155deg, rgb(42 20 32 / .72) 0%, rgb(22 9 16 / .78) 100%); backdrop-filter: blur(5px); }
.card { background: linear-gradient(155deg, rgb(255 255 255 / .74) 0%, rgb(255 244 247 / .72) 55%, rgb(243 244 248 / .72) 100%); backdrop-filter: blur(5px); }

/* Floating pieces go full neon at night. */
:root[data-theme="dark"] .piece svg { filter: drop-shadow(0 0 4px #ff4f9a) drop-shadow(0 0 12px rgb(255 79 154 / .8)); }
:root[data-theme="dark"] .drift { opacity: 1; }
:root[data-theme="dark"] .web { opacity: .95; animation: neon-flicker 4.5s steps(1) infinite; }
:root[data-theme="dark"] .web-br { animation-delay: -2s; }
:root[data-theme="dark"] .hang::before { background: #ffd1e6; opacity: .8; box-shadow: 0 0 6px #ff4f9a; }
@keyframes neon-flicker {
  0%, 18%, 22%, 58%, 61%, 100% { opacity: .95; }
  20%, 60% { opacity: .35; }
}

/* Hero: the owner's logo leads, then the two actions. */
.hero { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; min-height: 0; padding-top: clamp(20px, 4vw, 48px); }
.hero-copy { display: flex; flex-direction: column; align-items: center; width: 100%; }
/* A black band from edge to edge behind the logo, so its colors stand out on any background. */
:root .hero h1.hero-brand {
  -webkit-background-clip: border-box;
  background-clip: border-box;
  filter: none;
  display: flex;
  justify-content: center;
  width: calc(100% + 2 * var(--gutter));
  margin: 0 calc(-1 * var(--gutter)) 18px;
  padding: clamp(8px, 1.6vw, 18px) var(--gutter);
  background: linear-gradient(180deg, #050203 0%, #000 50%, #050203 100%);
  border-block: 2px solid #ff4f9a;
  box-shadow: 0 0 18px rgb(255 79 154 / .55), 0 12px 30px rgb(0 0 0 / .45);
  color: inherit;
  line-height: 0;
}
.hero-brand img {
  display: block;
  width: min(100%, 860px);
  height: auto;
  filter: drop-shadow(0 10px 22px rgb(183 110 121 / .35));
  animation: logo-float 6s ease-in-out infinite;
}
:root[data-theme="dark"] .hero .hero-brand { filter: none; }
:root[data-theme="dark"] .hero-brand img { filter: drop-shadow(0 0 10px rgb(255 79 154 / .55)) drop-shadow(0 12px 26px rgb(0 0 0 / .6)); }
.hero-text { margin: 6px auto 22px; text-shadow: var(--title-halo); }
.hero-actions { justify-content: center; }
@keyframes logo-float {
  0%, 100% { transform: translateY(0) rotate(-.6deg); }
  50% { transform: translateY(-10px) rotate(.6deg); }
}

/* Catalog tab bar: stays under the header while scrolling, scrolls sideways on phones. */
.catalog-tabs {
  position: sticky;
  top: var(--header-h, 64px);
  z-index: 15;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px var(--gutter);
  background: var(--section);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgb(199 203 214 / .55);
}
.catalog-tabs::-webkit-scrollbar { display: none; }
.catalog-tab {
  flex: none;
  min-height: 42px;
  padding: 8px 18px;
  border: 1.5px solid var(--deep);
  border-radius: 999px;
  background: var(--surface);
  color: var(--plum);
  font: 700 .9rem/1 var(--ui);
  white-space: nowrap;
  cursor: pointer;
}
.catalog-tab:hover { background: var(--blush); }
.catalog-tab[aria-selected="true"] {
  background: linear-gradient(120deg, #ff6fae, #ff4f9a 60%, #e0367f);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgb(255 79 154 / .35);
}
:root[data-theme="dark"] .catalog-tabs { background: rgb(12 4 9 / .75); border-bottom-color: rgb(255 79 154 / .3); }

/* The owner's stickers, one per section, floating in a corner and never over text. */
.category, .band, .faq, .hero { position: relative; }
.sticker {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  animation: sticker-bob 5s ease-in-out infinite alternate;
}
.sticker img { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 14px rgb(0 0 0 / .3)); }
/* A little web behind each one, from the page's own decoration. */
.sticker::before {
  content: "";
  position: absolute;
  inset: -16% -20% auto auto;
  width: 62%;
  aspect-ratio: 1;
  z-index: -1;
  background: url("stickers/web.svg") center / contain no-repeat;
  transform: rotate(14deg);
}
:root[data-theme="dark"] .sticker::before { filter: drop-shadow(0 0 6px rgb(255 79 154 / .8)); }
.sticker-section { top: 14px; right: var(--gutter); width: clamp(84px, 11vw, 140px); }
.sticker-hero { left: max(var(--gutter), calc(50% - 560px)); bottom: 18px; width: clamp(96px, 13vw, 190px); animation-duration: 6s; }
.sticker-band { right: var(--gutter); bottom: 22px; width: clamp(110px, 15vw, 230px); animation-duration: 5.6s; }
.sticker-faq { right: var(--gutter); top: 20px; width: clamp(80px, 9vw, 130px); }
.sticker-faq-low { right: calc(var(--gutter) + 20px); bottom: 24px; width: clamp(64px, 7vw, 100px); animation-delay: -2s; }
.sticker-section { animation-delay: -1s; }
.category .products, .band .lookup, .faq details { position: relative; z-index: 2; }
@keyframes sticker-bob {
  from { transform: translateY(0) rotate(-3deg); }
  to { transform: translateY(-10px) rotate(3deg); }
}
@media (max-width: 760px) {
  /* On phones they move to free corners: hero below the buttons, the rest by their titles. */
  .sticker-band { top: 18px; bottom: auto; width: 96px; }
  .sticker-section { top: 10px; width: 76px; }
  .sticker-faq { top: 14px; width: 70px; }
  .sticker-faq-low { display: none; }
  .band > h2, .faq > h2, .category > h2 { padding-right: 90px; }
}
/* Pink side: the red stickers turn pink. Red side: their own red, undoing the page's tint. */
.sticker img { filter: hue-rotate(-32deg) saturate(1.15) brightness(1.08) drop-shadow(0 8px 14px rgb(0 0 0 / .3)); }
:root[data-style="masculino"] .sticker img { filter: saturate(.62) hue-rotate(-24deg) drop-shadow(0 8px 14px rgb(0 0 0 / .3)); }

/* Resellers page and the bar shown to a logged-in reseller. */
.legal.resellers { background: rgb(255 246 250 / .86); }
#sSend { justify-self: start; }
.reseller-support { margin-top: 22px; font-weight: 700; }
:root[data-theme="dark"] .legal.resellers { background: rgb(12 4 9 / .84); }
.reseller-forms { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin-top: 24px; }
.reseller-forms .request-form { margin-top: 0; padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--silver); }
.reseller-forms h2 { margin: 0 0 4px; }
.reseller-status { margin-top: 24px; padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--silver); }
.reseller-status .button-row { margin-top: 14px; }
.reseller-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  padding: 8px var(--gutter);
  background: linear-gradient(90deg, #2b0f1c, #4a1f33);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
}
.reseller-bar button { min-height: 32px; padding: 4px 14px; border: 1.5px solid #fff; border-radius: 999px; background: none; color: #fff; font: inherit; cursor: pointer; }
.reseller-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #2b0f1c; color: #fff; font-size: .72rem; vertical-align: middle; }

/* "Promo" label on the card's top right corner. */
.promo-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 11px;
  border-radius: 999px;
  background: linear-gradient(120deg, #ff4f9a, #c2185b);
  color: #fff;
  font: 700 .78rem/1.3 var(--ui);
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgb(194 24 91 / .4);
}
.card.is-promo { border-color: rgb(255 79 154 / .7); }

/* Compact product cards: narrower and shorter. */
.products { grid-template-columns: repeat(auto-fill, minmax(190px, 230px)); gap: 18px; }
.card { padding: 14px 16px 16px; }
.card svg { width: 64px; height: 58px; }
.card-amount { margin-top: 4px; font-size: 2rem; }
.card-title { margin-top: 6px; font-size: 1.45rem; }
.card-price { margin: 8px 0 10px; font-size: 1.2rem; }
.stock { margin: -4px 0 10px; }
.card .btn { min-height: 40px; padding: 8px 14px; font-size: .9rem; }
.card .card-icon { width: 66px; height: 62px; object-fit: contain; object-position: left center; filter: drop-shadow(0 6px 10px rgb(0 0 0 / .3)); }
.card .card-icon-wide { width: 100px; height: 68px; }
/* Diamond cards: the owner's pink diamond. Unlike other icons it follows the page's colour,
   so it turns red on the red side like the rest of the pink. */
.card .card-gem { width: 56px; height: 50px; object-fit: contain; object-position: left center; filter: drop-shadow(0 8px 10px rgb(183 110 121 / .35)); }
/* The badge keeps its own yellow on the red side. */
:root[data-style="masculino"] .card .card-icon { filter: saturate(.62) hue-rotate(-24deg) drop-shadow(0 6px 10px rgb(0 0 0 / .3)); }

@media (max-width: 760px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { padding: 12px; }
  .card svg { width: 50px; height: 45px; }
  .card .card-icon { width: 52px; height: 50px; }
  .card .card-icon-wide { width: 82px; height: 56px; }
  .card .card-gem { width: 44px; height: 40px; }
  .card-amount { font-size: 1.7rem; }
  .card-title { font-size: 1.25rem; }
  .card-price { font-size: 1.05rem; }
  body::before { background-size: auto, 100% auto; background-repeat: no-repeat, repeat-y; }
  .hero { background: linear-gradient(180deg, rgb(255 240 246 / .3) 0%, rgb(255 240 246 / .78) 38%, rgb(255 240 246 / .78) 100%); }
  :root[data-theme="dark"] .hero { background: linear-gradient(180deg, rgb(12 4 9 / .35) 0%, rgb(12 4 9 / .72) 38%, rgb(12 4 9 / .72) 100%); }
  .d6, .d7, .d9, .d10, .d11, .h3 { display: none; }
  .web { width: 140px; opacity: .5; }
  .site-header { position: sticky; }
  .theme-toggle { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .theme-toggle span { display: none; }
}
@media (max-width: 1100px) {
  .site-header { position: sticky; }
  .view-toggles { position: absolute; top: 8px; right: var(--gutter); }
}
.view-toggles { display: flex; gap: 8px; flex: none; }

/* Lado masculino: the same store turned red. Everything drawn in pink is rotated to red;
   the red collage behind it is left as it is. Greens are turned back so they stay green. */
:root[data-style="masculino"] {
  --art: url("fondo-masculino.webp");
  --veil: linear-gradient(rgb(255 240 240 / .16), rgb(255 240 240 / .16));
}
:root[data-style="masculino"][data-theme="dark"] {
  --art: url("fondo-masculino.webp");
  --veil: linear-gradient(rgb(10 2 3 / .32), rgb(10 2 3 / .32));
}
:root[data-style="masculino"] :is(.site-header, main, .site-footer, .buy, .cookie-notice, .closed-banner, .decor, .skip-link) {
  filter: hue-rotate(24deg) saturate(1.6);
}
:root[data-style="masculino"] :is(.stock, .player-check, .success) { filter: saturate(.62) hue-rotate(-24deg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .drift { display: none; }
  body::before { translate: none; }
}
