/* Oshún Dina — Tema oscuro místico premium. Negro, oro y luz de vela.
   Móvil primero, muy ligero, sin fotos (todo el arte es color y oro). */

:root {
  --bg:    #0c0a10;   /* casi negro, ligero violeta */
  --bg2:   #120e18;
  --panel: #171320;   /* tarjetas */
  --panel2:#1e1829;
  --vidrio: rgba(28, 22, 38, .7);

  --oro:     #e7c56a;        /* oro principal */
  --oro-bri: #f6e4a6;        /* brillo */
  --oro-osc: #b08c3e;
  --linea:   rgba(231, 197, 106, .20);  /* hilo de oro */
  --linea-fuerte: rgba(231, 197, 106, .42);

  --rojo: #e0564a; --azul: #5b9bf0; --verde: #67b06f;  /* acentos orishas, suavizados */

  --texto: #f2ecdd;
  --texto-suave: #b4a98f;
  --sombra: 0 10px 34px rgba(0, 0, 0, .55);
  --radio: 14px;
  --wrap: 1120px;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --display: "Cinzel", Georgia, serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--texto);
  background:
    radial-gradient(1100px 700px at 50% -5%, #251a33 0%, transparent 55%),
    radial-gradient(800px 500px at 100% 100%, #1a1326 0%, transparent 60%),
    var(--bg);
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3 { margin: 0 0 .4em; font-weight: 600; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }

/* Etiquetas en versalitas doradas */
.section-sub, .card-orisha, .brand-text small, .m-orisha, .cart-head h3 { letter-spacing: .5px; }

/* ---------- Barra superior ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: linear-gradient(180deg, rgba(12,10,16,.96), rgba(12,10,16,.78));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linea);
}
.top-row { display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: 7px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  object-fit: cover; display: block;
  box-shadow: 0 0 16px rgba(231, 197, 106, .35);
}
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { font-family: var(--display); font-size: 19px; letter-spacing: 1.5px; color: var(--oro-bri); }
.brand-text small { color: var(--texto-suave); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 56vw; }

.btn-cart {
  position: relative; border: 1px solid var(--linea-fuerte); cursor: pointer;
  background: var(--panel); color: var(--oro-bri);
  width: 46px; height: 46px; border-radius: 12px; font-size: 18px;
  display: grid; place-items: center;
}
.cart-count {
  position: absolute; top: -7px; right: -7px;
  background: var(--oro); color: #1a1206;
  min-width: 21px; height: 21px; border-radius: 11px;
  font-size: 12px; font-weight: 800; display: grid; place-items: center; padding: 0 5px;
  font-family: var(--serif);
}

/* ---------- Portada ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 72px 0 64px;
}
.hero::before {  /* resplandor de vela */
  content: ""; position: absolute; left: 50%; top: 20%;
  width: 460px; height: 460px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(231,197,106,.30) 0%, rgba(224,86,74,.12) 35%, transparent 70%);
  filter: blur(6px); animation: parpadeo 5s ease-in-out infinite; pointer-events: none;
}
@keyframes parpadeo { 0%,100% { opacity: .85; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; } }

.hero-inner { position: relative; z-index: 1; }
.hero-emblem { width: clamp(110px, 32vw, 150px); height: auto; margin: 0 auto 10px; display: block; filter: drop-shadow(0 0 22px rgba(231,197,106,.45)); }
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(38px, 10vw, 72px); letter-spacing: 3px;
  color: var(--oro-bri);
  text-shadow: 0 2px 30px rgba(231, 197, 106, .35);
  margin: 0 0 .15em;
}
.hero .kicker { text-transform: uppercase; letter-spacing: 5px; font-size: 12px; color: var(--oro); font-family: var(--serif); margin: 0 0 14px; }
.hero-sub { font-size: clamp(17px, 4.4vw, 22px); color: var(--texto-suave); font-style: italic; margin: 0 auto 28px; max-width: 30ch; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* hilo de oro divisor */
.hairline { height: 1px; background: linear-gradient(90deg, transparent, var(--linea-fuerte), transparent); max-width: 240px; margin: 0 auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block; cursor: pointer; font-family: var(--display);
  font-weight: 600; font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  padding: 14px 26px; border-radius: 2px; border: 1px solid var(--oro); transition: all .15s ease;
}
.btn-primary { background: linear-gradient(180deg, var(--oro-bri), var(--oro)); color: #1a1206; box-shadow: 0 0 20px rgba(231,197,106,.3); }
.btn-primary:hover { box-shadow: 0 0 28px rgba(231,197,106,.55); }
.btn-ghost { background: transparent; color: var(--oro-bri); }
.btn-ghost:hover { background: rgba(231,197,106,.1); }
.btn-wa { background: #1e7d4f; color: #eafff2; border-color: #2aa366; font-family: var(--serif); letter-spacing: .5px; text-transform: none; font-size: 15px; }

/* ---------- Secciones ---------- */
section { padding: 52px 0; }
.section-title { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 6.5vw, 34px); text-align: center; color: var(--oro-bri); letter-spacing: 1px; }
.section-sub { text-align: center; color: var(--texto-suave); margin: 0 0 30px; font-style: italic; }

/* ---------- Guía de orishas ---------- */
.orisha-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.orisha-card {
  cursor: pointer; text-align: center; color: var(--texto);
  background: linear-gradient(180deg, var(--panel), var(--bg2));
  border: 1px solid var(--linea); border-radius: var(--radio);
  padding: 20px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: transform .12s ease, border-color .15s ease, box-shadow .15s ease;
}
.orisha-card:hover { transform: translateY(-3px); border-color: var(--linea-fuerte); box-shadow: 0 0 22px rgba(0,0,0,.4); }
.orisha-card.activo { border-color: var(--acc, var(--oro)); box-shadow: 0 0 22px color-mix(in srgb, var(--acc, var(--oro)) 45%, transparent); }
.orisha-dot {
  width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffffffcc, var(--acc) 55%, var(--acc2, var(--acc)) 100%);
  box-shadow: 0 0 16px color-mix(in srgb, var(--acc, var(--oro)) 60%, transparent), inset 0 -2px 5px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.25);
}
.orisha-img {
  width: 76px; height: 76px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--acc, var(--oro));
  box-shadow: 0 0 16px color-mix(in srgb, var(--acc, var(--oro)) 50%, transparent);
}
.orisha-emblem {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--acc, var(--oro)) 22%, #0b0810), #0b0810);
  border: 2px solid var(--acc, var(--oro));
  box-shadow: 0 0 18px color-mix(in srgb, var(--acc, var(--oro)) 55%, transparent);
}
.orisha-emblem svg { width: 50%; height: 50%; filter: drop-shadow(0 0 5px rgba(231, 197, 106, .4)); }
.orisha-card b { font-family: var(--display); font-size: 16px; letter-spacing: 1px; color: var(--oro-bri); }
.orisha-card span { font-size: 14px; color: var(--texto-suave); line-height: 1.35; }

/* ---------- Filtros ---------- */
.filtros { margin-bottom: 26px; }
.buscador {
  width: 100%; padding: 14px 18px; border-radius: 2px;
  border: 1px solid var(--linea-fuerte); font-size: 16px; font-family: var(--serif);
  background: var(--panel); color: var(--texto); margin-bottom: 14px;
}
.buscador::placeholder { color: var(--texto-suave); }
.buscador:focus { outline: none; border-color: var(--oro); box-shadow: 0 0 0 2px rgba(231,197,106,.2); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
.chip {
  flex: none; cursor: pointer; border: 1px solid var(--linea); background: transparent;
  padding: 9px 16px; border-radius: 999px; font-size: 14px; color: var(--texto-suave);
  white-space: nowrap; font-family: var(--serif); letter-spacing: .3px;
}
.chip.activo { background: var(--oro); color: #1a1206; border-color: var(--oro); font-weight: 600; }
.filtro-activo { margin-top: 12px; font-size: 15px; display: flex; align-items: center; gap: 8px; color: var(--texto-suave); font-style: italic; }
.limpiar { border: 1px solid var(--linea-fuerte); background: transparent; color: var(--oro-bri); border-radius: 999px; padding: 5px 12px; cursor: pointer; font-size: 13px; font-family: var(--serif); }

/* ---------- Catálogo ---------- */
.producto-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card {
  background: linear-gradient(180deg, var(--panel), var(--bg2));
  border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .12s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--linea-fuerte); }
.card-media {
  position: relative; aspect-ratio: 1 / 1;
  display: grid; place-items: center; cursor: pointer;
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--acc, var(--oro)) 30%, transparent) 0%, transparent 62%),
    linear-gradient(180deg, #110d18, #0b0810);
  border-bottom: 1px solid var(--linea);
}
.card-media svg { width: 54%; height: 54%; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--acc, var(--oro)) 50%, transparent)); }
.card-agotado {
  position: absolute; top: 10px; left: 10px; background: rgba(12,10,16,.85); color: var(--oro-bri);
  font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 9px; border-radius: 2px; border: 1px solid var(--linea-fuerte); font-family: var(--display);
}
.card-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { font-family: var(--display); font-weight: 500; font-size: 15px; margin: 0; letter-spacing: .4px; color: var(--texto); line-height: 1.25; }
.card-orisha { font-size: 12px; color: var(--texto-suave); text-transform: uppercase; letter-spacing: 1.2px; }
.card-precio { font-family: var(--display); font-size: 19px; font-weight: 600; color: var(--oro-bri); margin-top: auto; }
.card-add {
  border: 1px solid var(--oro); cursor: pointer; background: transparent; color: var(--oro-bri);
  border-radius: 2px; padding: 11px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; font-family: var(--display); transition: all .15s ease;
}
.card-add:hover { background: var(--oro); color: #1a1206; }
.card-add.agot { border-color: var(--linea); color: var(--texto-suave); }
.card-add.agot:hover { background: transparent; color: var(--oro-bri); border-color: var(--oro); }
.vacio { text-align: center; color: var(--texto-suave); padding: 28px; font-style: italic; }

/* ---------- Encargos ---------- */
.encargos { position: relative; }
.encargos::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% 0, rgba(224,86,74,.08), transparent 70%); pointer-events: none; }
.form { max-width: 500px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; position: relative; }
.form label { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--texto-suave); display: flex; flex-direction: column; gap: 7px; }
.form input {
  padding: 13px 15px; border-radius: 2px; border: 1px solid var(--linea-fuerte); font-size: 16px;
  font-weight: 400; text-transform: none; letter-spacing: normal; background: var(--panel); color: var(--texto); font-family: var(--serif);
}
.form input::placeholder { color: var(--texto-suave); opacity: .7; }
.form input:focus { outline: none; border-color: var(--oro); box-shadow: 0 0 0 2px rgba(231,197,106,.2); }

/* ---------- Cómo comprar ---------- */
.pasos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 680px; margin: 0 auto; }
.paso { background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--linea); border-radius: var(--radio); padding: 18px; display: flex; gap: 13px; align-items: flex-start; }
.paso-n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: transparent; border: 1px solid var(--oro); color: var(--oro-bri); font-family: var(--display); font-weight: 600; display: grid; place-items: center; }
.paso p { margin: 0; font-size: 16px; color: var(--texto); }
.discrecion { text-align: center; margin-top: 26px; font-style: italic; color: var(--oro); font-size: 18px; }
.horario { text-align: center; color: var(--texto-suave); margin-top: 6px; }

/* ---------- Pie ---------- */
.pie { background: var(--bg2); border-top: 1px solid var(--linea); padding: 40px 0 22px; }
.pie-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.pie-inner strong { font-family: var(--display); font-size: 20px; color: var(--oro-bri); letter-spacing: 1.5px; }
.pie-inner p { margin: 4px 0 0; font-size: 14px; color: var(--texto-suave); }
.creditos { text-align: center; font-size: 13px; color: var(--texto-suave); margin: 24px 0 0; font-style: italic; }

/* ---------- Botón flotante WhatsApp ---------- */
.fab-wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; background: #1e7d4f; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.5), 0 0 16px rgba(42,163,102,.4);
  border: 1px solid #2aa366;
}

/* ---------- Carrito ---------- */
.cart-overlay, .modal-overlay { position: fixed; inset: 0; background: rgba(5,3,8,.72); z-index: 45; backdrop-filter: blur(3px); }
.cart-panel {
  position: fixed; top: 0; right: 0; z-index: 50; height: 100%;
  width: min(420px, 90vw); background: var(--bg2); border-left: 1px solid var(--linea-fuerte);
  display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,.6);
  animation: entra .2s ease;
}
@keyframes entra { from { transform: translateX(100%); } to { transform: translateX(0); } }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px; border-bottom: 1px solid var(--linea); }
.cart-head h3 { margin: 0; font-family: var(--display); color: var(--oro-bri); letter-spacing: 1.5px; text-transform: uppercase; font-size: 16px; }
.cart-close { border: none; background: none; font-size: 22px; cursor: pointer; color: var(--texto-suave); }
.cart-items { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.cart-row { display: flex; gap: 10px; align-items: center; background: var(--panel); border: 1px solid var(--linea); border-radius: 10px; padding: 11px; }
.cart-row .ci-info { flex: 1; min-width: 0; }
.cart-row .ci-info b { font-family: var(--display); font-weight: 500; font-size: 14px; display: block; color: var(--texto); }
.cart-row .ci-info span { font-size: 14px; color: var(--oro); }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 30px; height: 30px; border-radius: 6px; border: 1px solid var(--linea-fuerte); background: transparent; color: var(--oro-bri); font-size: 16px; cursor: pointer; }
.qty b { min-width: 18px; text-align: center; color: var(--texto); }
.ci-quitar { border: none; background: none; color: var(--rojo); cursor: pointer; font-size: 13px; font-style: italic; }
.cart-vacio { text-align: center; color: var(--texto-suave); padding: 36px 16px; font-style: italic; }
.cart-foot { border-top: 1px solid var(--linea); padding: 16px; background: var(--bg); }
.entrega { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; font-size: 15px; color: var(--texto); }
.entrega > span { font-family: var(--display); letter-spacing: 1px; text-transform: uppercase; font-size: 12px; color: var(--texto-suave); }
.radio { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.radio input { accent-color: var(--oro); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cart-total span { font-family: var(--display); letter-spacing: 1px; text-transform: uppercase; font-size: 13px; color: var(--texto-suave); }
.cart-total strong { font-family: var(--display); font-size: 24px; color: var(--oro-bri); }
.btn-pedir { width: 100%; }

/* ---------- Ficha de producto ---------- */
.modal {
  position: fixed; z-index: 50; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(460px, 92vw); max-height: 88vh; overflow-y: auto;
  background: var(--bg2); border: 1px solid var(--linea-fuerte); border-radius: 16px; box-shadow: 0 24px 70px rgba(0,0,0,.7);
}
.modal-media { aspect-ratio: 16/11; display: grid; place-items: center; position: relative;
  background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--acc, var(--oro)) 32%, transparent), transparent 62%), linear-gradient(180deg, #110d18, #0b0810); }
.modal-media svg { width: 40%; height: 70%; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--acc, var(--oro)) 55%, transparent)); }
.modal-close { position: absolute; top: 12px; right: 12px; border: 1px solid var(--linea-fuerte); background: rgba(12,10,16,.7); color: var(--oro-bri); width: 36px; height: 36px; border-radius: 50%; font-size: 18px; cursor: pointer; }
.modal-body { padding: 22px; }
.modal-body h2 { font-family: var(--display); font-weight: 600; font-size: 24px; color: var(--oro-bri); letter-spacing: .5px; }
.modal-body .m-orisha { color: var(--texto-suave); font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; margin: 0 0 12px; }
.modal-body .m-desc { font-size: 17px; margin: 0 0 18px; color: var(--texto); }
.modal-body .m-precio { font-family: var(--display); font-size: 28px; font-weight: 600; color: var(--oro-bri); margin-bottom: 18px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%);
  background: var(--panel); color: var(--texto); padding: 13px 20px; border-radius: 4px;
  border: 1px solid var(--linea-fuerte); z-index: 60; font-size: 15px; box-shadow: 0 10px 28px rgba(0,0,0,.5);
  animation: subir .25s ease; max-width: 90vw; text-align: center;
}
@keyframes subir { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- Pantallas grandes ---------- */
@media (min-width: 620px) {
  .orisha-grid { grid-template-columns: repeat(3, 1fr); }
  .producto-grid { grid-template-columns: repeat(3, 1fr); }
  .pasos { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  .orisha-grid { grid-template-columns: repeat(5, 1fr); }
  .producto-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   Pulido estético
   ============================================================ */

/* Barra de desplazamiento dorada */
* { scrollbar-color: var(--oro-osc) var(--bg2); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--oro-osc), var(--oro-bri)); border-radius: 8px; border: 3px solid var(--bg2); }

/* Selección de texto */
::selection { background: rgba(231, 197, 106, .3); color: #fff; }

/* Ornamento dorado bajo los títulos de sección */
.section-title::after {
  content: ""; display: block; width: 128px; height: 16px; margin: 14px auto 0;
  background: center/contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 16'%3E%3Cline x1='4' y1='8' x2='50' y2='8' stroke='%23e7c56a' stroke-width='1'/%3E%3Cline x1='78' y1='8' x2='124' y2='8' stroke='%23e7c56a' stroke-width='1'/%3E%3Ccircle cx='50' cy='8' r='1.6' fill='%23e7c56a'/%3E%3Ccircle cx='78' cy='8' r='1.6' fill='%23e7c56a'/%3E%3Crect x='60' y='4' width='8' height='8' fill='%23e7c56a' transform='rotate(45 64 8)'/%3E%3C/svg%3E");
  opacity: .9;
}

/* Brillo que recorre el nombre de la portada */
.hero h1 {
  background: linear-gradient(100deg, var(--oro) 18%, #fff7da 50%, var(--oro) 82%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 2px 22px rgba(231, 197, 106, .3));
  animation: brillo 7s linear infinite;
}
@keyframes brillo { to { background-position: 220% center; } }
@media (prefers-reduced-motion: reduce) { .hero h1 { animation: none; } }

/* Aparición suave al hacer scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Anillo de oro en los orbes de los orishas */
.orisha-dot { box-shadow: 0 0 0 1px rgba(231,197,106,.55), 0 0 18px color-mix(in srgb, var(--acc, var(--oro)) 60%, transparent), inset 0 -2px 5px rgba(0,0,0,.35); }

/* Sello de "destacado" en el catálogo */
.card.destacado { border-color: var(--linea-fuerte); }
.card.destacado .card-media::after {
  content: "\2726 Destacado"; position: absolute; top: 10px; right: 10px;
  font-family: var(--display); font-size: 9.5px; letter-spacing: 1.2px; text-transform: uppercase;
  color: #1a1206; background: linear-gradient(180deg, var(--oro-bri), var(--oro));
  padding: 4px 9px; border-radius: 2px; box-shadow: 0 2px 10px rgba(0,0,0,.4);
}

/* Realce al pasar / tocar las tarjetas de producto */
.card:hover { box-shadow: 0 0 26px rgba(0,0,0,.5), 0 0 0 1px var(--linea-fuerte); }

/* Flor de oro decorativa al pie */
.creditos::before { content: "\2766"; display: block; color: var(--oro); font-size: 18px; margin-bottom: 8px; opacity: .8; }

/* ---------- Pantalla de carga ---------- */
#splash {
  position: fixed; inset: 0; z-index: 999;
  background: radial-gradient(700px 500px at 50% 42%, #1b1328, var(--bg) 70%);
  display: grid; place-items: center; transition: opacity .6s ease, visibility .6s;
}
#splash.hide { opacity: 0; visibility: hidden; }
.splash-inner { text-align: center; }
.splash-logo { width: 118px; height: auto; filter: drop-shadow(0 0 24px rgba(231, 197, 106, .5)); animation: latir 2.2s ease-in-out infinite; }
.splash-name { font-family: var(--display); color: var(--oro-bri); letter-spacing: 5px; margin-top: 18px; font-size: 18px; }
.splash-bar { width: 160px; height: 2px; background: var(--linea); margin: 20px auto 0; overflow: hidden; border-radius: 2px; }
.splash-bar span { display: block; height: 100%; width: 45%; background: linear-gradient(90deg, transparent, var(--oro-bri), transparent); animation: cargar 1.3s ease-in-out infinite; }
@keyframes latir { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes cargar { 0% { transform: translateX(-120%); } 100% { transform: translateX(340%); } }
@media (prefers-reduced-motion: reduce) { .splash-logo, .splash-bar span { animation: none; } }

/* ---------- Brasas de la portada ---------- */
.embers { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.embers i {
  position: absolute; bottom: -12px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--oro-bri); box-shadow: 0 0 8px 2px rgba(231, 197, 106, .6);
  opacity: 0; animation: subir-ember linear infinite;
}
.embers i:nth-child(1) { left: 10%; animation-duration: 7.5s; animation-delay: 0s; }
.embers i:nth-child(2) { left: 22%; animation-duration: 9s; animation-delay: 1.4s; }
.embers i:nth-child(3) { left: 34%; animation-duration: 6.5s; animation-delay: 2.6s; }
.embers i:nth-child(4) { left: 46%; animation-duration: 8.5s; animation-delay: .6s; }
.embers i:nth-child(5) { left: 55%; animation-duration: 7s; animation-delay: 3.2s; }
.embers i:nth-child(6) { left: 66%; animation-duration: 9.5s; animation-delay: 1.8s; }
.embers i:nth-child(7) { left: 76%; animation-duration: 6.8s; animation-delay: .3s; }
.embers i:nth-child(8) { left: 86%; animation-duration: 8.2s; animation-delay: 2.2s; }
.embers i:nth-child(9) { left: 92%; animation-duration: 7.6s; animation-delay: 4s; }
@keyframes subir-ember {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  12% { opacity: .85; }
  85% { opacity: .5; }
  100% { transform: translateY(-340px) scale(.3); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .embers { display: none; } }

/* ---------- Escaparate de destacados ---------- */
.destacados { padding-bottom: 20px; }
.destacados-row { display: flex; gap: 14px; overflow-x: auto; padding: 6px 2px 16px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.dest-card {
  scroll-snap-align: start; flex: 0 0 72%; max-width: 280px; cursor: pointer;
  background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--linea-fuerte);
  border-radius: var(--radio); overflow: hidden; transition: transform .12s ease;
}
.dest-card:hover { transform: translateY(-4px); }
@media (min-width: 620px) { .dest-card { flex-basis: 40%; } }
@media (min-width: 900px) { .dest-card { flex-basis: 24%; } }
.dest-media { aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative;
  background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--acc, var(--oro)) 30%, transparent), transparent 62%), linear-gradient(180deg, #110d18, #0b0810); border-bottom: 1px solid var(--linea); }
.dest-media svg { width: 40%; height: 66%; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--acc, var(--oro)) 50%, transparent)); }
.dest-media img { width: 100%; height: 100%; object-fit: cover; }
.dest-body { padding: 12px 14px 14px; }
.dest-body h3 { font-family: var(--display); font-weight: 500; font-size: 15px; margin: 0 0 4px; color: var(--texto); letter-spacing: .3px; }
.dest-body .p { font-family: var(--display); color: var(--oro-bri); font-size: 18px; }

/* ---------- Barra de progreso ---------- */
#progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 998;
  background: linear-gradient(90deg, var(--oro-osc), var(--oro-bri));
  box-shadow: 0 0 10px rgba(231, 197, 106, .6); transition: width .1s linear;
}

/* ---------- Navegación ---------- */
.nav { display: flex; gap: 2px; overflow-x: auto; padding: 2px 12px 9px; justify-content: flex-start; -webkit-overflow-scrolling: touch; }
.nav::-webkit-scrollbar { height: 0; }
@media (min-width: 560px) { .nav { justify-content: center; } }
.nav a {
  flex: none; font-family: var(--display); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--texto-suave); padding: 6px 11px; border-radius: 999px; white-space: nowrap; transition: color .15s, background .15s;
}
.nav a:hover { color: var(--oro-bri); background: rgba(231, 197, 106, .08); }

/* ---------- Sobre la casa ---------- */
.sobre { position: relative; }
.sobre::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 280px at 50% 50%, rgba(231,197,106,.06), transparent 70%); pointer-events: none; }
.sobre-inner { max-width: 640px; margin: 0 auto; text-align: center; position: relative; }
.sobre-texto { font-size: 18.5px; color: var(--texto); font-style: italic; line-height: 1.75; margin: 0; }

/* ---------- Volver arriba ---------- */
.to-top {
  position: fixed; left: 16px; bottom: 16px; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  background: var(--panel); border: 1px solid var(--linea-fuerte); color: var(--oro-bri); font-size: 20px;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s;
  box-shadow: 0 6px 18px rgba(0,0,0,.45);
}
.to-top.visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Destello en el botón principal de la portada ---------- */
.hero .btn-primary { position: relative; overflow: hidden; }
.hero .btn-primary::after {
  content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); animation: destello 5s ease-in-out infinite;
}
@keyframes destello { 0%, 55% { left: -70%; } 100% { left: 140%; } }
@media (prefers-reduced-motion: reduce) { .hero .btn-primary::after { display: none; } }

/* ---------- Franja de confianza ---------- */
.trust { padding: 22px 0; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); background: var(--bg2); }
.trust-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }
@media (min-width: 720px) { .trust-row { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; align-items: center; gap: 10px; justify-content: center; }
.trust-item svg { width: 26px; height: 26px; flex: none; stroke: var(--oro); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(231, 197, 106, .4)); }
.trust-item span { font-size: 13.5px; color: var(--texto-suave); line-height: 1.3; }
.trust-item b { color: var(--texto); font-weight: 600; }

/* ---------- Menú: sección activa ---------- */
.nav a.activo { color: var(--oro-bri); background: rgba(231, 197, 106, .13); }

/* ---------- Rebote del contador del carrito ---------- */
@keyframes popcount { 0% { transform: scale(1); } 40% { transform: scale(1.55); } 100% { transform: scale(1); } }
.cart-count.pop { animation: popcount .35s ease; }

/* El ancla no queda tapada por la cabecera fija */
section[id] { scroll-margin-top: 118px; }
