.topbar{background:linear-gradient(90deg,#5b21b6,#7c3aed,#a855f7);color:#fff;text-align:center;font-size:.9rem;font-weight:600;padding:.5rem 1rem}
.topbar a{color:#fff;text-decoration:underline}
.dest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.dest-img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 18px; border: 1px solid #e7e3f3; transition: transform .3s; }
.dest-img:hover { transform: translateY(-4px); }
.dest-cta { display: block; margin: 20px 0 32px; padding: 16px; text-align: center; border-radius: 14px; background: #7c3aed; color: #fff; font-weight: 700; text-decoration: none; }
.dest-cta:hover { background: #6d28d9; }
.buy-card { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.buy-card h3 { margin: 4px 0 0; font-size: 1rem; }
.buy-card .btn { justify-content: center; }
:root {
  --rx-black: #0b0a10;
  --rx-ink: #17151f;
  --rx-white: #ffffff;
  --rx-soft: #f6f4fb;
  --rx-line: #e7e3f0;
  --rx-muted: #6d6880;
  --rx-purple: #7c3aed;
  --rx-purple-2: #a855f7;
  --rx-glow: rgba(124, 58, 237, .35);
  --rx-radius: 18px;
  --rx-ease: cubic-bezier(.2, .8, .2, 1);
}
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--rx-soft);
  color: var(--rx-ink);
  margin: 0;
  overflow-x: hidden;
}
h1, h2, h3, .logo, .price { font-family: "Space Grotesk", "Inter", sans-serif; letter-spacing: -.02em; }
a { color: inherit; }
img { max-width: 100%; }
.muted { color: var(--rx-muted); }
.small { font-size: .85rem; }
.narrow { max-width: 640px; margin-left: auto; margin-right: auto; }
.between { justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.row { flex-wrap: wrap; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--rx-purple), var(--rx-purple-2));
  color: #fff; border: 0; border-radius: 999px; padding: 12px 22px;
  font-weight: 600; text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 22px -10px var(--rx-glow);
  transition: transform .25s var(--rx-ease), box-shadow .25s var(--rx-ease), opacity .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px var(--rx-glow); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-ghost { background: transparent; color: var(--rx-ink); border: 1.5px solid var(--rx-line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--rx-purple); color: var(--rx-purple); box-shadow: none; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-wa { background: #1faa55; box-shadow: 0 8px 22px -10px rgba(31,170,85,.6); }
.link { background: none; border: 0; color: var(--rx-purple); font-weight: 600; cursor: pointer; padding: 4px 0; font-size: .9rem; }
.link:hover { text-decoration: underline; }
.danger { color: #dc2626; }

.card { background: var(--rx-white); border: 1px solid var(--rx-line); border-radius: var(--rx-radius); padding: 22px; box-shadow: 0 10px 30px -22px rgba(23,21,31,.4); }
.input { border-radius: 12px; border: 1.5px solid var(--rx-line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.input:focus { border-color: var(--rx-purple); box-shadow: 0 0 0 4px rgba(124,58,237,.14); outline: none; }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11,10,16,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-in { max-width: 1200px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 16px; position: relative; }
.logo { font-size: 1.5rem; font-weight: 700; color: #fff; text-decoration: none; margin-right: auto; }
.logo span { background: linear-gradient(135deg, var(--rx-purple-2), #d8b4fe); -webkit-background-clip: text; background-clip: text; color: transparent; }
.links { display: flex; gap: 4px; }
.links a { color: rgba(255,255,255,.75); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: .92rem; font-weight: 500; transition: background .2s, color .2s; }
.links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.cart-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); text-decoration: none; font-size: 1.15rem; transition: background .2s, transform .2s; }
.cart-btn:hover { background: var(--rx-purple); transform: scale(1.06); }
.cart-btn b { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--rx-purple-2); color: #fff; font-size: .72rem; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--rx-black); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; border: 0; font-size: 1.3rem; cursor: pointer; }

@media (max-width: 860px) {
  .burger { display: block; }
  .links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--rx-black); padding: 0 16px; max-height: 0; overflow: hidden; transition: max-height .35s var(--rx-ease), padding .35s var(--rx-ease); }
  .links.open { max-height: 400px; padding: 10px 16px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .links a { padding: 13px 14px; font-size: 1rem; }
}

/* Banner */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 140% at 85% 10%, #3b1673 0%, var(--rx-black) 55%); color: #fff; padding: 96px 20px 110px; }
.hero-in { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; }
.hero h1 { font-size: clamp(3.2rem, 12vw, 7.5rem); line-height: .95; margin: 18px 0 16px; background: linear-gradient(120deg, #fff 30%, #c4b5fd 70%, var(--rx-purple-2)); -webkit-background-clip: text; background-clip: text; color: transparent; animation: rise .9s var(--rx-ease) both; }
.hero p { max-width: 460px; font-size: 1.15rem; color: rgba(255,255,255,.75); margin: 0 0 30px; animation: rise .9s .12s var(--rx-ease) both; }
.hero .row { gap: 12px; animation: rise .9s .24s var(--rx-ease) both; }
.tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(168,85,247,.16); color: var(--rx-purple); font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.hero .tag { color: #d8b4fe; border: 1px solid rgba(216,180,254,.3); animation: rise .9s var(--rx-ease) both; }
.orb { position: absolute; width: 520px; height: 520px; right: -140px; top: -80px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--rx-purple-2), var(--rx-purple) 45%, transparent 70%); filter: blur(30px); opacity: .7; animation: float 9s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px,30px) scale(1.08); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.sec { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 34px 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { padding: 10px 18px; background: #fff; border: 1px solid var(--rx-line); border-radius: 999px; text-decoration: none; font-weight: 500; transition: all .25s var(--rx-ease); }
.chip:hover { background: var(--rx-black); color: #fff; border-color: var(--rx-black); transform: translateY(-2px); }

/* Tarjetas de producto */
.pgrid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 50px; }
@media (min-width: 720px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
@media (min-width: 1040px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pcard { background: #fff; border-radius: var(--rx-radius); overflow: hidden; border: 1px solid var(--rx-line); display: flex; flex-direction: column; transition: transform .35s var(--rx-ease), box-shadow .35s var(--rx-ease); animation: rise .6s var(--rx-ease) both; }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px var(--rx-glow); }
.pimg { display: block; aspect-ratio: 1; background: var(--rx-soft); overflow: hidden; }
.pimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--rx-ease); }
.pcard:hover .pimg img { transform: scale(1.06); }
.noimg { width: 100%; height: 100%; min-height: 120px; display: grid; place-items: center; font: 700 3rem "Space Grotesk", sans-serif; color: #fff; background: linear-gradient(135deg, var(--rx-black), var(--rx-purple)); }
.noimg.sm { width: 64px; height: 64px; min-height: 0; font-size: 1.4rem; border-radius: 12px; flex: none; }
.pbody { padding: 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pbody small { color: var(--rx-purple); font-weight: 600; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; }
.pbody a { text-decoration: none; }
.pbody h3 { margin: 0; font-size: 1rem; line-height: 1.3; }
.prow { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.prow strong { font-size: 1.05rem; }

/* Filtros */
.filters { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-bottom: 12px; }
.filters > :first-child { grid-column: 1 / -1; }
@media (min-width: 860px) { .filters { grid-template-columns: 2fr 1.3fr 1fr 1fr 1.3fr; } .filters > :first-child { grid-column: auto; } }

/* Detalle */
.detail { display: grid; gap: 30px; margin: 20px 0 60px; }
@media (min-width: 820px) { .detail { grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: start; } }
.dimg { border-radius: 24px; overflow: hidden; background: #fff; aspect-ratio: 1; border: 1px solid var(--rx-line); animation: rise .6s var(--rx-ease) both; }
.dimg img { width: 100%; height: 100%; object-fit: cover; }
.detail h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 6px 0; }
.price { font-size: 2rem; font-weight: 700; color: var(--rx-purple); }
.desc { line-height: 1.7; white-space: pre-line; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--rx-line); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { width: 38px; height: 38px; border: 0; background: none; font-size: 1.15rem; cursor: pointer; transition: background .2s; }
.qty button:hover { background: var(--rx-soft); color: var(--rx-purple); }
.qty span { min-width: 30px; text-align: center; font-weight: 600; }
.okmsg { color: #15803d; font-weight: 600; animation: rise .4s var(--rx-ease) both; }
.okmsg a { color: var(--rx-purple); }

/* Carrito */
.cartwrap { display: grid; gap: 24px; padding-bottom: 60px; }
@media (min-width: 900px) { .cartwrap { grid-template-columns: 1.4fr 1fr; align-items: start; } .cartwrap > form { position: sticky; top: 90px; } }
.cline { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--rx-line); border-radius: 16px; padding: 12px; animation: rise .4s var(--rx-ease) both; }
.cline > img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; flex: none; }
.cinfo { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.cinfo a { text-decoration: none; }
.cinfo b, .cinfo .muted { overflow-wrap: anywhere; }
.cright { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.total { display: flex; justify-content: space-between; padding: 18px 20px; background: var(--rx-black); color: #fff; border-radius: 16px; font-size: 1.1rem; }
.total b { font-family: "Space Grotesk", sans-serif; font-size: 1.4rem; color: #d8b4fe; }
.done { text-align: center; max-width: 560px; margin: 50px auto; display: flex; flex-direction: column; gap: 14px; align-items: center; animation: rise .6s var(--rx-ease) both; }

/* Admin */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; background: #fff; border: 1px solid var(--rx-line); border-radius: 999px; margin-bottom: 22px; }
.tabs button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--rx-muted); transition: all .25s var(--rx-ease); }
.tabs button.on { background: var(--rx-black); color: #fff; }
.admin-grid { display: grid; gap: 22px; padding-bottom: 60px; }
@media (min-width: 900px) { .admin-grid { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.admin-grid .row > .input { flex: 1; min-width: 120px; }
.thumb { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; border: 1px solid var(--rx-line); }
.check { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.order ul { padding-left: 18px; margin: 8px 0; }
.order p { line-height: 1.6; overflow-wrap: anywhere; }

/* FAQ */
.faq { padding: 0; margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 18px 22px; background: none; border: 0; font: 600 1rem "Inter", sans-serif; text-align: left; cursor: pointer; color: inherit; }
.faq-q span { color: var(--rx-purple); font-size: 1.3rem; }
.faq p { padding: 0 22px 18px; margin: 0; color: var(--rx-muted); line-height: 1.6; animation: rise .35s var(--rx-ease) both; }

/* Pie */
.foot { background: var(--rx-black); color: rgba(255,255,255,.65); padding: 50px 20px; text-align: center; margin-top: 40px; }
.foot .logo { margin: 0 0 8px; display: inline-block; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: #d8b4fe; }

.fade { animation: fadein .45s var(--rx-ease) both; min-height: 60vh; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
