/* =====================================================================
   Etérea Karma · estilos compartidos por TODAS las páginas de la tienda
   (Si cambias un color o un tamaño aquí, cambia en toda la web.)
   ===================================================================== */
:root {
  --bg: #08010f;
  --bg2: #100420;
  --surface: #1a0a2e;
  --surface2: #241040;
  --gold: #c9a84c;
  --gold-lt: #e8cc7a;
  --gold-dim: #7a5f28;
  --rose: #b06080;
  --rose-lt: #d490a8;
  --green: #6fbf9a;
  --text: #e8e0f0;
  --text-dim: #9080a8;
  --border: rgba(201, 168, 76, 0.18);
  --transition: 0.35s cubic-bezier(.4, 0, .2, 1);
  --banner-h: 0px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  padding-top: var(--banner-h);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; position: relative; z-index: 2; }
img { max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--bg); }

/* Cursor personalizado: solo con ratón */
@media (hover: hover) and (pointer: fine) {
  body, button, a, select, label, [role="button"] { cursor: none; }
  input, textarea { cursor: text; }
}
#cursor {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 10px; height: 10px; background: var(--gold); border-radius: 50%;
  pointer-events: none; transform: translate(-50%, -50%);
  transition: width .2s ease, height .2s ease; mix-blend-mode: screen;
}
#cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 36px; height: 36px; border: 1px solid rgba(201, 168, 76, .5); border-radius: 50%;
  pointer-events: none; transform: translate(-50%, -50%);
  transition: width .2s ease, height .2s ease;
}
body:has(a:hover) #cursor, body:has(button:hover) #cursor { width: 20px; height: 20px; background: var(--rose-lt); }
body:has(a:hover) #cursor-ring, body:has(button:hover) #cursor-ring { width: 50px; height: 50px; }
@media (hover: none), (pointer: coarse) { #cursor, #cursor-ring { display: none; } }

#stars-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
body::after {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}

/* ---------- Banner de anuncio ---------- */
.ek-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110; height: 36px;
  display: flex; align-items: center; justify-content: center; padding: 0 1rem;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-dim));
  color: var(--bg); font-family: 'Cinzel', serif; font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Navegación ---------- */
nav.ek-nav {
  position: fixed; top: var(--banner-h); left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 3rem;
  background: linear-gradient(180deg, rgba(8, 1, 15, .95) 0%, rgba(8, 1, 15, .55) 100%);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: padding var(--transition), background var(--transition);
}
nav.ek-nav.scrolled { padding: .8rem 3rem; background: rgba(8, 1, 15, .97); }
.nav-logo {
  font-family: 'Cinzel', serif; font-size: 1.3rem; letter-spacing: .25em; color: var(--gold);
  text-decoration: none; display: flex; align-items: center; gap: .6rem; white-space: nowrap;
}
.nav-logo span { font-size: 1.5rem; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; align-items: center; }
.nav-links a, .nav-drop-btn {
  font-family: 'Cinzel', serif; font-size: .68rem; letter-spacing: .2em; color: var(--text-dim);
  text-decoration: none; text-transform: uppercase; transition: color var(--transition);
  background: none; border: none; padding: 0;
}
.nav-links a:hover, .nav-links a.active, .nav-drop-btn:hover { color: var(--gold); }
.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 1.1rem); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 240px; background: rgba(26, 10, 46, .96); border: 1px solid var(--border); border-radius: 6px;
  backdrop-filter: blur(14px); padding: .6rem; opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s; box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-drop-menu::before { content: ''; position: absolute; top: -1.2rem; left: 0; right: 0; height: 1.2rem; }
.nav-drop-menu a { display: block; padding: .7rem 1rem; border-radius: 4px; letter-spacing: .15em; }
.nav-drop-menu a:hover { background: rgba(201, 168, 76, .08); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-tarot {
  font-family: 'Cinzel', serif; font-size: .62rem; letter-spacing: .15em; color: var(--bg); background: var(--gold);
  padding: .55rem 1.1rem; text-decoration: none; display: inline-block; white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}
.nav-tarot:hover { background: var(--gold-lt); transform: translateY(-1px); }
#cart-btn {
  background: none; border: 1px solid var(--border); color: var(--text); padding: .5rem .9rem;
  font-family: 'Raleway', sans-serif; font-size: .8rem; display: flex; align-items: center; gap: .5rem;
  transition: border-color var(--transition), color var(--transition);
}
#cart-btn:hover { border-color: var(--gold); color: var(--gold); }
#cart-count {
  background: var(--gold); color: var(--bg); border-radius: 50%; min-width: 18px; height: 18px; padding: 0 4px;
  font-size: .65rem; display: flex; align-items: center; justify-content: center; font-weight: 600;
}
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 1px; background: var(--gold); transition: transform .3s ease, opacity .3s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99; background: rgba(8, 1, 15, .98);
  padding: calc(6rem + var(--banner-h)) 2rem 3rem; flex-direction: column; gap: 1.3rem; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cinzel', serif; font-size: 1.15rem; letter-spacing: .18em; color: var(--text-dim);
  text-decoration: none; border-bottom: 1px solid var(--border); padding-bottom: .9rem;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .mm-sub { font-size: .85rem; padding-left: 1rem; letter-spacing: .12em; }

/* ---------- Botones y textos de sección ---------- */
.btn-primary, .btn-ghost {
  font-family: 'Cinzel', serif; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  padding: 1rem 2.5rem; text-decoration: none; display: inline-block; text-align: center; border: 1px solid var(--gold);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary { color: var(--bg); background: var(--gold); }
.btn-primary:hover { background: var(--gold-lt); border-color: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201, 168, 76, .3); }
.btn-primary:disabled, .btn-primary[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn-ghost { color: var(--gold); background: transparent; }
.btn-ghost:hover { background: rgba(201, 168, 76, .1); transform: translateY(-2px); }
button.btn-primary, button.btn-ghost { font-weight: 500; }

.section-header { text-align: center; padding: 0 2rem; margin-bottom: 2rem; }
.section-label { font-family: 'Cinzel', serif; font-size: .62rem; letter-spacing: .4em; color: var(--gold); text-transform: uppercase; margin-bottom: 1rem; display: block; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 300; line-height: 1.1; color: var(--text); margin-bottom: .5rem; }
.section-title em { font-style: italic; color: var(--gold); }
.divider { width: 60px; height: 1px; background: linear-gradient(to right, transparent, var(--gold), transparent); margin: 1rem auto 0; }
section { position: relative; z-index: 2; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }

/* ---------- Cabecera de página interior ---------- */
.page-hero {
  position: relative; padding: calc(9rem) 2rem 4rem; text-align: center;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%); border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 300; line-height: 1.1; margin-bottom: 1rem; }
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero p { color: var(--text-dim); max-width: 640px; margin: 0 auto; line-height: 1.8; font-size: 1rem; }
.breadcrumbs { font-family: 'Cinzel', serif; font-size: .58rem; letter-spacing: .25em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1.2rem; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs i { margin: 0 .6rem; opacity: .5; font-style: normal; }

/* ---------- Colecciones (tarjetas) ---------- */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; max-width: 1300px; margin: 0 auto; }
.cat-card { background: var(--bg); aspect-ratio: 3/4; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; border-radius: 4px; border: 1px solid var(--border); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .6s ease; filter: brightness(.45) saturate(.8); }
.cat-card:hover img { transform: scale(1.06); filter: brightness(.6) saturate(1); }
.cat-card-body { position: relative; z-index: 1; padding: 1.5rem; background: linear-gradient(to top, rgba(8, 1, 15, .95) 0%, transparent 100%); }
.cat-sub { font-family: 'Cinzel', serif; font-size: .55rem; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; margin-bottom: .4rem; display: block; }
.cat-name { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 400; color: var(--text); }
.cat-count { font-size: .68rem; color: var(--text-dim); margin-top: .3rem; display: block; }

/* ---------- Tarjeta de producto ---------- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.8rem; }
.product-card { background: var(--surface); border: 1px solid var(--border); position: relative; transition: all var(--transition); overflow: hidden; display: flex; flex-direction: column; border-radius: 4px; height: 100%; }
.product-card:hover { border-color: var(--gold-dim); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0, 0, 0, .4); }
.product-badge { position: absolute; top: 1rem; left: 1rem; z-index: 2; font-family: 'Cinzel', serif; font-size: .55rem; letter-spacing: .2em; color: var(--bg); background: var(--rose); padding: .3rem .7rem; text-transform: uppercase; }
.product-badge.soldout { background: var(--text-dim); }
.product-badge.low { background: var(--gold); }
.product-img-wrap { position: relative; overflow: hidden; aspect-ratio: 1 / 1; display: block; background: var(--bg2); }
.product-img-wrap > a { display: block; width: 100%; height: 100%; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; filter: saturate(.9) brightness(.9); }
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-card.is-soldout .product-img-wrap img { filter: grayscale(.8) brightness(.55); }
.product-overlay { position: absolute; inset: 0; background: rgba(8, 1, 15, .7); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--transition); pointer-events: none; }
.product-card:hover .product-overlay, .product-card:focus-within .product-overlay { opacity: 1; }
.product-quick { pointer-events: auto; font-family: 'Cinzel', serif; font-size: .65rem; letter-spacing: .2em; color: var(--gold); border: 1px solid var(--gold); padding: .7rem 1.5rem; background: none; text-transform: uppercase; transition: background var(--transition), color var(--transition); }
.product-quick:hover { background: var(--gold); color: var(--bg); }
.product-body { padding: 1.2rem 1.3rem 1.3rem; flex: 1; display: flex; flex-direction: column; }
.product-cat { font-family: 'Cinzel', serif; font-size: .55rem; letter-spacing: .3em; color: var(--text-dim); text-transform: uppercase; margin-bottom: .5rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-name { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 400; color: var(--text); margin-bottom: .5rem; line-height: 1.3; }
.product-name a { text-decoration: none; }
.product-name a:hover { color: var(--gold-lt); }
.product-desc { font-size: .78rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 1rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: .6rem; border-top: 1px solid var(--border); padding-top: .9rem; margin-top: auto; }
.product-price { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 500; color: var(--gold); }
.btn-add { font-family: 'Cinzel', serif; font-size: .6rem; letter-spacing: .15em; color: var(--bg); background: var(--gold); border: none; padding: .6rem 1.1rem; text-transform: uppercase; transition: background var(--transition), transform var(--transition); border-radius: 2px; white-space: nowrap; }
.btn-add:hover { background: var(--gold-lt); transform: scale(1.03); }
.btn-add.added { background: var(--rose); }
.btn-add:disabled { background: var(--surface2); color: var(--text-dim); transform: none; }

/* ---------- Carrusel ---------- */
.carousel-container { position: relative; max-width: 1400px; margin: 0 auto; padding: 1rem 0; }
.carousel-wrapper { overflow: hidden; margin: 0 3rem; }
.carousel-track { display: flex; transition: transform .6s cubic-bezier(.25, .46, .45, .94); will-change: transform; }
.carousel-slide { flex-shrink: 0; padding: 0 .75rem; box-sizing: border-box; display: flex; }
.carousel-slide .product-card { width: 100%; }
.carousel-btn { position: absolute; top: 45%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: all var(--transition); z-index: 10; }
.carousel-btn:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }
.carousel-dots { display: flex; justify-content: center; gap: .75rem; margin-top: 2rem; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-dim); border: none; transition: all var(--transition); padding: 0; }
.carousel-dot.active { background: var(--gold); transform: scale(1.3); }

/* ---------- Carrito ---------- */
.overlay-bg { position: fixed; inset: 0; z-index: 140; background: rgba(8, 1, 15, .6); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay-bg.open { opacity: 1; pointer-events: all; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 150; width: min(430px, 100vw); background: var(--surface); border-left: 1px solid var(--border); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s cubic-bezier(.4, 0, .2, 1); box-shadow: -20px 0 60px rgba(0, 0, 0, .5); visibility: hidden; }
.cart-drawer.open { transform: none; visibility: visible; }
.cart-header { padding: 1.4rem 1.8rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.cart-header-title { font-family: 'Cinzel', serif; font-size: .8rem; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; }
.cart-close { background: none; border: none; color: var(--text-dim); font-size: 1.2rem; padding: .3rem .5rem; }
.cart-close:hover { color: var(--gold); }
.cart-ship { padding: 1rem 1.8rem; border-bottom: 1px solid var(--border); font-size: .74rem; color: var(--text-dim); line-height: 1.5; }
.cart-ship strong { color: var(--gold); font-weight: 500; }
.cart-ship-bar { height: 3px; background: var(--bg2); border-radius: 2px; margin-top: .6rem; overflow: hidden; }
.cart-ship-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-dim), var(--gold)); transition: width .4s; }
.cart-items { flex: 1; overflow-y: auto; padding: 1.3rem 1.8rem; display: flex; flex-direction: column; gap: 1rem; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: center; border-bottom: 1px solid var(--border); padding-bottom: 1rem; }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 3px; }
.cart-item-name { font-family: 'Cormorant Garamond', serif; font-size: 1.02rem; color: var(--text); line-height: 1.25; }
.cart-item-name a { text-decoration: none; }
.cart-item-price { font-size: .85rem; color: var(--gold); margin-top: .15rem; }
.cart-item-note { font-size: .65rem; color: var(--rose-lt); margin-top: .2rem; }
.cart-item-qty { display: flex; align-items: center; gap: .5rem; margin-top: .4rem; }
.qty-btn { background: none; border: 1px solid var(--border); color: var(--text-dim); width: 24px; height: 24px; font-size: .9rem; display: flex; align-items: center; justify-content: center; transition: border-color .2s, color .2s; }
.qty-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.qty-btn:disabled { opacity: .35; }
.qty-val { font-size: .85rem; color: var(--text); min-width: 18px; text-align: center; }
.cart-remove { background: none; border: none; color: var(--text-dim); font-size: .85rem; padding: .3rem; }
.cart-remove:hover { color: var(--rose); }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; color: var(--text-dim); text-align: center; }
.cart-empty-icon { font-size: 3rem; opacity: .3; }
.cart-footer { padding: 1.3rem 1.8rem 1.6rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: .8rem; }
.cart-line { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--text-dim); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-top: .2rem; }
.cart-total-label { font-family: 'Cinzel', serif; font-size: .7rem; letter-spacing: .2em; color: var(--text-dim); text-transform: uppercase; }
.cart-total-price { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; color: var(--gold); }
.btn-checkout { font-family: 'Cinzel', serif; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bg); background: var(--gold); border: none; padding: 1rem; width: 100%; transition: background var(--transition); }
.btn-checkout:hover:not(:disabled) { background: var(--gold-lt); }
.btn-checkout:disabled { opacity: .6; }
.checkout-note { font-size: .7rem; color: var(--text-dim); text-align: center; line-height: 1.5; }
.checkout-note a { color: var(--gold); }

/* ---------- Vista rápida (modal) ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(8, 1, 15, .92); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 1.5rem; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.modal-backdrop.open { opacity: 1; pointer-events: all; }
.modal { background: var(--surface); border: 1px solid var(--border); max-width: 820px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; max-height: 90svh; overflow-y: auto; transform: translateY(20px); transition: transform .3s ease; border-radius: 8px; }
.modal-backdrop.open .modal { transform: none; }
.modal-img { aspect-ratio: 1/1; overflow: hidden; background: var(--bg2); }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: 2rem 2.2rem; display: flex; flex-direction: column; gap: 1rem; }
.modal-close { align-self: flex-end; background: none; border: none; color: var(--text-dim); font-size: 1.3rem; padding: .2rem .4rem; }
.modal-close:hover { color: var(--gold); }

/* Textos de producto compartidos (modal + ficha) */
.p-cat { font-family: 'Cinzel', serif; font-size: .58rem; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; text-decoration: none; }
.p-name { font-family: 'Cormorant Garamond', serif; font-size: 2.1rem; font-weight: 300; color: var(--text); line-height: 1.1; }
.p-desc { font-size: .9rem; color: var(--text-dim); line-height: 1.85; white-space: pre-line; }
.p-props { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.p-props li { font-size: .82rem; color: var(--text-dim); display: flex; align-items: baseline; gap: .6rem; }
.p-props li::before { content: '✦'; color: var(--gold); font-size: .5rem; flex-shrink: 0; }
.p-price { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; color: var(--gold); font-weight: 500; }
.p-stock { font-size: .74rem; letter-spacing: .05em; color: var(--green); display: flex; align-items: center; gap: .5rem; }
.p-stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.p-stock.low { color: var(--gold); }
.p-stock.out { color: var(--rose-lt); }

/* ---------- Ficha de producto ---------- */
.product-page { max-width: 1200px; margin: 0 auto; padding: calc(8.5rem) 2rem 4rem; }
.product-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: start; }
.gallery-main { aspect-ratio: 1/1; background: var(--bg2); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .7rem; margin-top: .8rem; flex-wrap: wrap; }
.gallery-thumbs button { width: 72px; height: 72px; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; background: var(--bg2); padding: 0; opacity: .6; transition: all var(--transition); }
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button:hover, .gallery-thumbs button.active { opacity: 1; border-color: var(--gold); }
.product-info { display: flex; flex-direction: column; gap: 1.2rem; position: sticky; top: calc(var(--banner-h) + 6.5rem); }
.buy-row { display: flex; gap: 1rem; align-items: stretch; flex-wrap: wrap; }
.qty-select { display: flex; align-items: center; border: 1px solid var(--border); }
.qty-select button { background: none; border: none; color: var(--gold); width: 42px; height: 100%; min-height: 48px; font-size: 1.1rem; }
.qty-select button:hover { background: rgba(201, 168, 76, .1); }
.qty-select span { min-width: 34px; text-align: center; font-size: .95rem; }
.buy-row .btn-primary { flex: 1; }
.trust-list { list-style: none; display: grid; gap: .6rem; border-top: 1px solid var(--border); padding-top: 1.2rem; }
.trust-list li { font-size: .78rem; color: var(--text-dim); display: flex; gap: .7rem; align-items: baseline; }
.trust-list li::before { content: '✦'; color: var(--gold); font-size: .55rem; }
.related { max-width: 1300px; margin: 0 auto; padding: 2rem 2rem 5rem; }

/* ---------- Tienda / colección: barra de herramientas ---------- */
.shop-wrap { max-width: 1300px; margin: 0 auto; padding: 3rem 2rem 5rem; }
.toolbar { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; margin-bottom: 2.2rem; }
.chips { display: flex; gap: .6rem; flex-wrap: wrap; }
.chip { font-family: 'Cinzel', serif; font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; padding: .55rem 1rem; border: 1px solid var(--border); color: var(--text-dim); border-radius: 30px; background: none; transition: all var(--transition); }
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.active { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.tools { display: flex; gap: .8rem; flex-wrap: wrap; }
.tools input, .tools select { background: var(--bg2); border: 1px solid var(--border); color: var(--text); padding: .65rem 1rem; font-family: 'Raleway', sans-serif; font-size: .82rem; min-width: 180px; }
.tools input:focus, .tools select:focus { outline: none; border-color: var(--gold); }
.result-count { font-size: .76rem; color: var(--text-dim); margin-bottom: 1.2rem; }

/* ---------- Estados ---------- */
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--text-dim); grid-column: 1 / -1; }
.empty-state .icon { font-size: 2.6rem; opacity: .4; margin-bottom: 1rem; display: block; }
.empty-state h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 1.6rem; color: var(--text); margin-bottom: .6rem; }
.empty-state .btn-primary, .empty-state .btn-ghost { margin-top: 1.5rem; }
.skeleton { background: linear-gradient(100deg, var(--surface) 30%, var(--surface2) 50%, var(--surface) 70%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border-radius: 4px; border: 1px solid var(--border); min-height: 340px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Formularios ---------- */
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-family: 'Cinzel', serif; font-size: .62rem; letter-spacing: .2em; color: var(--gold-dim); margin-bottom: .5rem; text-transform: uppercase; }
.form-group input, .form-group textarea, .form-group select { width: 100%; background: var(--bg2); border: 1px solid var(--border); padding: .85rem 1rem; font-family: 'Raleway', sans-serif; font-size: .9rem; color: var(--text); transition: border-color var(--transition); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 110px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: .9rem 1rem; font-size: .82rem; border: 1px solid var(--border); margin-bottom: 1rem; border-radius: 3px; }
.form-msg.ok { border-color: rgba(111, 191, 154, .5); color: var(--green); background: rgba(111, 191, 154, .07); }
.form-msg.err { border-color: rgba(176, 96, 128, .6); color: var(--rose-lt); background: rgba(176, 96, 128, .07); }
.check-row { display: flex; gap: .7rem; align-items: flex-start; font-size: .76rem; color: var(--text-dim); line-height: 1.5; margin-bottom: 1.2rem; }
.check-row input { width: auto; margin-top: .2rem; accent-color: var(--gold); }
.check-row a { color: var(--gold); }

/* ---------- Páginas de contenido / legales ---------- */
.content-page { max-width: 820px; margin: 0 auto; padding: 9rem 2rem 5rem; }
.content-page h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 300; margin-bottom: .5rem; }
.content-page h1 em { color: var(--gold); font-style: italic; }
.content-page .updated { font-size: .72rem; color: var(--text-dim); letter-spacing: .1em; margin-bottom: 2.5rem; display: block; }
.content-page h2 { font-family: 'Cinzel', serif; font-size: .95rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin: 2.4rem 0 .9rem; font-weight: 500; }
.content-page p, .content-page li { color: var(--text-dim); font-size: .92rem; line-height: 1.9; margin-bottom: .9rem; }
.content-page ul { margin: 0 0 1rem 1.3rem; }
.content-page a { color: var(--gold); }
.content-page strong { color: var(--text); font-weight: 500; }
.content-page .lead { font-size: 1.05rem; color: var(--text); }
.legal-note { border: 1px dashed var(--gold-dim); background: rgba(201, 168, 76, .05); padding: 1rem 1.2rem; font-size: .8rem; color: var(--gold-lt); margin-bottom: 2rem; border-radius: 4px; line-height: 1.7; }
.ph { color: var(--gold-lt); background: rgba(201, 168, 76, .12); padding: 0 .3rem; border-radius: 2px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.info-block { border-left: 1px solid var(--border); padding-left: 1.5rem; margin-bottom: 1.8rem; }
.info-block .lbl { font-family: 'Cinzel', serif; font-size: .6rem; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; margin-bottom: .6rem; display: block; }
.info-block p, .info-block address { font-style: normal; font-size: .92rem; color: var(--text-dim); line-height: 1.8; margin: 0; }
.info-block a { color: var(--text); text-decoration: none; }
.info-block a:hover { color: var(--gold); }
.card { background: var(--surface); border: 1px solid var(--border); padding: 2rem; border-radius: 6px; }

/* Mapa: solo se carga al pulsar (privacidad) */
.map-wrap { border: 1px solid var(--border); overflow: hidden; aspect-ratio: 4/3; border-radius: 4px; position: relative; background: var(--bg2); }
.map-wrap iframe { width: 100%; height: 100%; border: none; filter: grayscale(1) invert(1) contrast(.85) brightness(.7); }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 1.5rem; text-align: center; font-size: .78rem; color: var(--text-dim); line-height: 1.6; }

/* ---------- Estado de pago (gracias / cancelado) ---------- */
.status-page { max-width: 640px; margin: 0 auto; padding: 11rem 2rem 6rem; text-align: center; }
.status-icon { font-size: 3.4rem; margin-bottom: 1.2rem; display: block; color: var(--gold); }
.status-page h1 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.status-page h1 em { color: var(--gold); font-style: italic; }
.status-page p { color: var(--text-dim); line-height: 1.9; margin-bottom: .8rem; }
.status-page .btn-primary, .status-page .btn-ghost { margin: 1.5rem .4rem 0; }

/* ---------- Tarot ---------- */
.reserva-main { padding: 9rem 2rem 4rem; max-width: 1200px; margin: 0 auto; }
.reserva-hero { text-align: center; margin-bottom: 3.5rem; }
.reserva-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 300; line-height: 1.1; margin-bottom: 1rem; }
.reserva-hero h1 em { font-style: italic; color: var(--gold); }
.reserva-hero p { color: var(--text-dim); max-width: 680px; margin: 0 auto; line-height: 1.85; font-size: .95rem; }
.booking-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; }
.info-card { background: var(--surface); border: 1px solid var(--border); padding: 2rem; position: sticky; top: calc(var(--banner-h) + 6.5rem); align-self: start; border-radius: 4px; }
.info-card h3, .calendar-header h3 { font-family: 'Cinzel', serif; font-size: .88rem; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; margin-bottom: 1.2rem; font-weight: 500; }
.info-text { color: var(--text-dim); line-height: 1.8; font-size: .9rem; margin-bottom: 1.5rem; }
.price-options { display: flex; flex-direction: column; gap: .8rem; margin: 1rem 0 1.5rem; }
.price-option { display: flex; justify-content: space-between; align-items: baseline; padding: .8rem 1rem; background: var(--bg2); border: 1px solid var(--border); transition: all var(--transition); text-align: left; width: 100%; color: inherit; }
.price-option:hover { border-color: var(--gold-dim); }
.price-option.selected { border-color: var(--gold); background: rgba(201, 168, 76, .1); }
.price-option .duration { font-family: 'Cinzel', serif; font-size: .78rem; letter-spacing: .1em; color: var(--text); }
.price-option .price { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 500; color: var(--gold); }
.ritual-note { font-size: .8rem; color: var(--text-dim); font-style: italic; text-align: center; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.calendar-card { background: var(--surface); border: 1px solid var(--border); padding: 2rem; border-radius: 4px; }
.calendar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.calendar-header h3 { margin-bottom: 0; }
.month-nav { display: flex; gap: .8rem; }
.month-nav button { background: none; border: 1px solid var(--border); color: var(--gold); padding: .4rem .8rem; transition: all var(--transition); }
.month-nav button:hover:not(:disabled) { border-color: var(--gold); background: rgba(201, 168, 76, .1); }
.month-nav button:disabled { opacity: .3; }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); }
.calendar-weekdays { text-align: center; margin-bottom: .6rem; }
.calendar-weekdays div { font-family: 'Cinzel', serif; font-size: .62rem; letter-spacing: .1em; color: var(--gold-dim); padding: .6rem 0; }
.calendar-days { gap: 6px; }
.cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--text-dim); background: var(--bg2); border: 1px solid transparent; transition: all var(--transition); padding: 0; }
.cal-day.available { background: var(--surface2); color: var(--gold); border-color: var(--gold-dim); }
.cal-day.available:hover { background: var(--gold-dim); color: var(--bg); border-color: var(--gold); }
.cal-day.selected { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.cal-day.empty { background: transparent; }
.cal-day.disabled { opacity: .3; cursor: not-allowed; }
.cal-hint { font-size: .72rem; color: var(--text-dim); text-align: center; margin-top: 1rem; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: .6rem; }
.slot { background: var(--bg2); border: 1px solid var(--border); color: var(--text); padding: .6rem 0; font-size: .85rem; transition: all var(--transition); }
.slot:hover { border-color: var(--gold); color: var(--gold); }
.slot.selected { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.step-block { margin-top: 1.8rem; padding-top: 1.8rem; border-top: 1px solid var(--border); }
.step-block h4 { font-family: 'Cinzel', serif; font-size: .68rem; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; margin-bottom: 1rem; font-weight: 500; }
.booking-summary { background: rgba(201, 168, 76, .07); border: 1px solid var(--gold-dim); padding: .9rem 1rem; font-size: .84rem; color: var(--text); margin-bottom: 1.2rem; line-height: 1.6; border-radius: 3px; }
.booking-done { text-align: center; padding: 2rem 1rem; }
.booking-done h3 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; color: var(--text); margin-bottom: 1rem; letter-spacing: 0; text-transform: none; }
.booking-done p { color: var(--text-dim); line-height: 1.8; font-size: .9rem; margin-bottom: .6rem; }

/* ---------- Aviso de almacenamiento ---------- */
.notice { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 250; max-width: 520px; margin: 0 auto; background: rgba(26, 10, 46, .96); border: 1px solid var(--gold-dim); padding: 1rem 1.2rem; display: flex; gap: 1rem; align-items: center; font-size: .74rem; color: var(--text-dim); line-height: 1.5; border-radius: 6px; backdrop-filter: blur(10px); box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.notice a { color: var(--gold); }
.notice button { background: var(--gold); color: var(--bg); border: none; padding: .55rem 1rem; font-family: 'Cinzel', serif; font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; white-space: nowrap; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(20px); z-index: 300; background: var(--surface2); border: 1px solid var(--gold-dim); padding: .8rem 1.5rem; font-family: 'Cinzel', serif; font-size: .68rem; letter-spacing: .12em; color: var(--gold); opacity: 0; transition: opacity .3s, transform .3s; max-width: 92vw; text-align: center; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { border-color: var(--rose); color: var(--rose-lt); }

/* ---------- Pie ---------- */
footer.ek-footer { border-top: 1px solid var(--border); padding: 4rem 2rem 2.2rem; position: relative; z-index: 2; background: linear-gradient(180deg, transparent, rgba(16, 4, 32, .7)); margin-top: 3rem; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-logo { font-family: 'Cinzel', serif; font-size: 1.4rem; letter-spacing: .3em; color: var(--gold); margin-bottom: .8rem; }
.footer-tagline { font-size: .8rem; color: var(--text-dim); line-height: 1.7; max-width: 300px; }
.footer-col h3 { font-family: 'Cinzel', serif; font-size: .62rem; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 500; }
.footer-col ul { list-style: none; display: grid; gap: .65rem; }
.footer-col a, .footer-col li { font-size: .82rem; color: var(--text-dim); text-decoration: none; transition: color var(--transition); line-height: 1.5; }
.footer-col a:hover { color: var(--gold); }
.footer-badges { max-width: 1200px; margin: 2.5rem auto 0; padding-top: 1.8rem; border-top: 1px solid var(--border); display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem 2rem; }
.badge { font-size: .7rem; color: var(--text-dim); letter-spacing: .1em; display: flex; align-items: center; gap: .4rem; }
.badge-icon { color: var(--gold); }
.footer-copy { text-align: center; font-size: .7rem; color: var(--text-dim); opacity: .55; letter-spacing: .05em; margin-top: 1.6rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { gap: 1.4rem; }
  nav.ek-nav, nav.ek-nav.scrolled { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (max-width: 960px) {
  .nav-links, .nav-tarot { display: none; }
  .hamburger { display: flex; }
  .product-layout, .booking-grid, .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .product-info, .info-card { position: static; }
  .modal { grid-template-columns: 1fr; }
  .modal-img { aspect-ratio: 16/10; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .carousel-wrapper { margin: 0 2rem; }
  .carousel-btn { width: 36px; height: 36px; }
}
@media (max-width: 640px) {
  nav.ek-nav, nav.ek-nav.scrolled { padding: .9rem 1rem; }
  .nav-logo { font-size: 1.05rem; letter-spacing: .18em; }
  .page-hero { padding: 7.5rem 1.2rem 3rem; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .cat-card-body { padding: 1rem; }
  .cat-name { font-size: 1.1rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .product-body { padding: .8rem; }
  .product-name { font-size: 1rem; }
  .product-desc { display: none; }
  .product-price { font-size: 1.1rem; }
  .btn-add { padding: .5rem .7rem; font-size: .52rem; }
  .product-cat { font-size: .48rem; }
  .product-overlay { display: none; }
  .shop-wrap { padding: 2rem 1rem 4rem; }
  .tools input, .tools select { min-width: 0; flex: 1; }
  .product-page { padding: 7rem 1.2rem 3rem; }
  .p-name { font-size: 1.8rem; }
  .content-page { padding: 7.5rem 1.2rem 3rem; }
  .reserva-main { padding: 7.5rem 1.2rem 3rem; }
  .calendar-card, .info-card, .card { padding: 1.3rem; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-tagline { margin: 0 auto; }
  .carousel-wrapper { margin: 0 .3rem; }
  .carousel-btn { display: none; }
  .notice { flex-direction: column; align-items: stretch; text-align: center; }
  .cart-item { grid-template-columns: 56px 1fr auto; }
  .cart-item img { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
