/* ── Fuentes autoalojadas (sin transferencia de IP a Google) ─────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/librebaskerville-regular-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/librebaskerville-regular-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/librebaskerville-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background-color: #06101e;
  color: #eef3fb;
  --background: #06101e;
  --panel: rgba(74,144,226,0.06);
  --panel-border: rgba(74,144,226,0.18);
  --gold: #4a90e2;
  --muted: #92b0cb;
  --text: #eef3fb;
}

* { box-sizing: border-box; }

/* ── Interactividad global ─────────────────────────────────────────── */
button, a, input, textarea, select, label[for] {
  -webkit-tap-highlight-color: transparent;
}
button { cursor: pointer; }
button:not([disabled]), a { cursor: pointer; }

/* Transición base en todos los botones */
button:not(.mobile-toggle):not(.gallery-arrow) {
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

/* Click scale — todos los interactivos */
button:active:not([disabled]), .nav-link:active, .nav-btn:active, .button:active,
.color-swatch:active, .size-pill:active, .cart-icon-btn:active, .card-link:active {
  transform: scale(0.95) !important;
  transition: transform 0.08s ease !important;
}

/* Focus visible accesible */
:focus-visible { outline: 2px solid rgba(74,144,226,0.6); outline-offset: 3px; border-radius: 4px; }

/* Inputs: focus glow */
input:not([type="checkbox"]):not([type="radio"]):focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(74,144,226,0.55) !important;
  box-shadow: 0 0 0 3px rgba(74,144,226,0.15);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Placeholder: visible y legible en cualquier cápsula */
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 0.75; }
html, body { margin: 0; padding: 0; min-height: 100%; scrollbar-width: thin; scrollbar-color: rgba(123,155,191,0.35) transparent; }
html { background-image: url('../brand/fondo.webp'); background-repeat: repeat; background-size: 1550px 1400px; background-attachment: fixed; }
html::-webkit-scrollbar { width: 7px; }
html::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb { background: rgba(123,155,191,0.3); border-radius: 999px; transition: background 0.2s; }
html::-webkit-scrollbar-thumb:hover { background: rgba(181,139,66,0.7); }
.main-shell { padding-top: 5rem; }
body { background: radial-gradient(circle at top left, rgba(74,144,226,0.10), transparent 30%), linear-gradient(180deg, rgba(6,16,30,0.84) 0%, rgba(9,21,38,0.9) 100%); color: var(--text); }
html, body { transition: background-color 0.5s ease; }

/* ── Tema Cápsula 02 (bronce) ──────────────────────────────────────── */
html[data-capsule="2"] {
  --gold: #b5505a;
  --muted: #c9a8a0;
  --background: #1a0a0c;
  background-color: #1a0a0c;
  background-image: url('../brand/fondor.webp');
}
html[data-capsule="2"] body {
  background: radial-gradient(circle at top left, rgba(181,80,90,0.12), transparent 32%),
              linear-gradient(180deg, rgba(26,10,12,0.95) 0%, rgba(30,12,15,0.97) 100%);
}
html[data-capsule="2"] .eyebrow { color: #d4a8a0; }
html[data-capsule="2"] .site-header { background: transparent; border-bottom-color: transparent; }
html[data-capsule="2"] .site-header--top { background: transparent; border-bottom-color: transparent; }
html[data-capsule="2"] .site-header:hover,
html[data-capsule="2"] .site-header--scrolled { background: rgb(26,10,12); border-bottom-color: rgba(181,80,90,0.22); }
html[data-capsule="2"] .button-primary:hover { background: #c96570; box-shadow: 0 6px 22px rgba(181,80,90,0.35); }
html[data-capsule="2"] .button-secondary { border-color: rgba(181,80,90,0.35); }
html[data-capsule="2"] .button-secondary:hover { border-color: rgba(181,80,90,0.7); background: rgba(181,80,90,0.08); }
html[data-capsule="2"] .site-footer { background: rgba(26,10,12,0.95); }
html[data-capsule="2"] .footer-heading { color: #d4a8a0; }
html[data-capsule="2"] .footer-newsletter button:hover { background: #c96570; border-color: #c96570; box-shadow: 0 5px 16px rgba(181,80,90,0.3); }
html[data-capsule="2"] #hero-video { display: none; }
html[data-capsule="2"] .visual-card .hero-capsule2-img { display: block; opacity: 1; object-fit: cover; height: 100%; }

/* ── Tema Cápsula 03 (verde esmeralda) ─────────────────────────────── */
html[data-capsule="3"] {
  --gold: #8a6a45;
  --muted: #b8a07c;
  --background: #14110a;
  background-color: #14110a;
  background-image: url('../brand/fondom.webp');
}
html[data-capsule="3"] body {
  background: radial-gradient(circle at top left, rgba(138,106,69,0.12), transparent 32%),
              linear-gradient(180deg, rgba(20,17,10,0.84) 0%, rgba(28,22,14,0.9) 100%);
}
html[data-capsule="3"] .eyebrow { color: #c9ad85; }
html[data-capsule="3"] .site-header { background: transparent; border-bottom-color: transparent; }
html[data-capsule="3"] .site-header--top { background: transparent; border-bottom-color: transparent; }
html[data-capsule="3"] .site-header:hover,
html[data-capsule="3"] .site-header--scrolled { background: rgb(20,17,10); border-bottom-color: rgba(138,106,69,0.22); }
html[data-capsule="3"] .button-primary:hover { background: #a9824f; box-shadow: 0 6px 22px rgba(138,106,69,0.35); }
html[data-capsule="3"] .button-secondary { border-color: rgba(138,106,69,0.35); }
html[data-capsule="3"] .button-secondary:hover { border-color: rgba(138,106,69,0.7); background: rgba(138,106,69,0.08); }
html[data-capsule="3"] .site-footer { background: rgba(20,17,10,0.95); }
html[data-capsule="3"] .footer-heading { color: #c9ad85; }
html[data-capsule="3"] .footer-newsletter button:hover { background: #a9824f; border-color: #a9824f; box-shadow: 0 5px 16px rgba(138,106,69,0.3); }

/* ── Pestañas de cápsula ──────────────────────────────────────────── */
.capsule-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem; padding: 0 2rem; margin-bottom: 2.5rem; }
.capsule-tab { padding: 0.55rem 1.4rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.16); background: transparent; color: rgba(255,255,255,0.6); font-family: inherit; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s ease; }
.capsule-tab:hover { color: #fff; border-color: rgba(255,255,255,0.35); transform: scale(1.04); }
.capsule-tab.active { color: var(--gold); border-color: var(--gold); background: rgba(255,255,255,0.04); }
.capsule-panel { display: none; }
.capsule-panel.active { display: block; animation: capsulePanelIn 0.75s cubic-bezier(0.16,1,0.3,1); }
@keyframes capsulePanelIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Cortina de transición entre cápsulas */
.capsule-transition { position: fixed; inset: 0; z-index: 5000; display: flex; align-items: center; justify-content: center; background: #06101e; opacity: 0; pointer-events: none; transition: opacity 0.55s ease; }
.capsule-transition.show { opacity: 1; pointer-events: all; }
.capsule-transition__label { font-family: 'Libre Baskerville', Georgia, serif; text-transform: uppercase; letter-spacing: 0.4em; font-size: clamp(1.4rem, 5vw, 2.6rem); color: #4a90e2; opacity: 0; transform: scale(0.8); transition: opacity 0.55s ease, transform 0.85s cubic-bezier(0.16,1,0.3,1); }
.capsule-transition.show .capsule-transition__label { opacity: 1; transform: scale(1); }
html[data-capsule-pending="2"] .capsule-transition { background: #1a0a0c; }
html[data-capsule-pending="2"] .capsule-transition__label { color: #b5505a; }
html[data-capsule-pending="3"] .capsule-transition { background: #14110a; }
html[data-capsule-pending="3"] .capsule-transition__label { color: #8a6a45; }
.capsule-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 4rem 1rem; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.page-shell { width: min(100%, 1450px); margin: 0 auto; padding: 0 2rem; }
.page-shell--flush { width: 100%; padding: 0; }
.section-shell { padding: clamp(3rem, 6vw, 6rem) 0; }
.section-shell--compact { padding-top: 1.5rem; }
.collection-filter-band { background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.08); margin-top: -4.5rem; padding: calc(4.5rem + 1.75rem) 0 2rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.75rem; color: #8ab4d8; margin: 0 0 1rem; }
.h1, h1, h2, h3 { margin: 0; font-family: 'Libre Baskerville', Georgia, serif; }
h1 { font-size: clamp(2.7rem, 4vw, 4.4rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 3vw, 3rem); line-height: 1.05; }
h3 { font-size: 1.75rem; }
p { margin: 0; color: var(--muted); line-height: 1.8; }

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; background: transparent; border-bottom: 1px solid transparent; backdrop-filter: none; transition: transform 0.38s cubic-bezier(0.4,0,0.2,1), background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease; }
.site-header--top { background: transparent; border-bottom-color: transparent; }
.site-header:hover,
.site-header--scrolled { background: rgb(6,16,30); border-bottom-color: rgba(74,144,226,0.18); backdrop-filter: none; }.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 1.25rem 5%; width: 100%; max-width: 100%; }
.brand { flex: 0 0 auto; font-family: 'Libre Baskerville', serif; font-size: 1.42rem; letter-spacing: 0.35em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-logo { height: 28px; width: auto; display: block; filter: brightness(0) invert(1); opacity: 0.9; transform: translateY(-2px); }
.brand-logo--flip { transform: translateY(-2px) scaleX(-1); margin-left: -0.35em; }
.nav-group { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 1rem; }
.site-nav { display: flex; align-items: center; gap: 0.5rem; }
.header-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 0.6rem; }
.nav-link { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,0.6); transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.25s ease; padding: 0.4rem 0.95rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); font-weight: 600; white-space: nowrap; }
.nav-link:hover { color: #eef3fb; border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); transform: scale(1.06); }
.nav-link.active { color: var(--gold); border-color: var(--gold); }
.mobile-toggle { display: none; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.03); color: var(--text); width: 2.6rem; height: 2.6rem; border-radius: 999px; position: relative; }
.mobile-toggle span { position: absolute; left: 0.65rem; right: 0.65rem; height: 2px; background: currentColor; transition: transform 0.25s ease; }
.mobile-toggle span:nth-child(1) { top: 0.80rem; }
.mobile-toggle span:nth-child(2) { top: 1.25rem; }
.mobile-toggle span:nth-child(3) { top: 1.70rem; }

.header-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; pointer-events: none; }
.header-progress__bar { position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 1px; width: 0%; background: var(--gold); border-radius: 2px; will-change: width; transition: width 120ms linear; }


.hero-section { padding-top: 2.5rem; padding-bottom: 5rem; }
.hero-grid { display: grid; gap: 4.5rem; align-items: center; grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr); }
.about-hero-grid { grid-template-columns: minmax(0, 0.6fr) minmax(260px, 0.4fr); }
.about-intro-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
  grid-template-columns: minmax(0, 0.55fr) minmax(360px, 0.45fr);
  margin-top: 0;
}
.hero-copy {
  max-width: 600px;
}
.hero-section .hero-copy h1 {
  line-height: 0.98;
  letter-spacing: 0.16em;
  padding-right: 0.16em;
  transform: scaleX(1.08) scaleY(1.5);
  transform-origin: left center;
  display: inline-block;
  transform-origin: left center;
  display: inline-block;
  background: linear-gradient(175deg,
    #ffffff 0%,
    #d0d4db 15%,
    #f4f4f6 32%,
    #9a9da8 48%,
    #e8eaee 62%,
    #7a7d88 75%,
    #c8cad2 88%,
    #e0e2e8 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter:
    drop-shadow(0 1px 0px rgba(255,255,255,0.15))
    drop-shadow(1px 3px 0px rgba(0,0,0,0.9))
    drop-shadow(2px 5px 8px rgba(0,0,0,0.65))
    drop-shadow(0 0 3px rgba(0,0,0,0.4));
}
.about-hero-side {
  display: grid;
  justify-items: end;
  align-self: center;
}
.about-hero-info {
  width: 100%;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  display: grid;
  gap: 1.5rem;
}
.hero-text {
  margin: 0;
  color: var(--text);
  line-height: 1.8;
}
.about-origin-card {
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.75rem;
  background: rgba(255,255,255,0.02);
  width: 100%;
  max-width: 460px;
}
.about-origin-card .eyebrow {
  color: #8ab4d8;
  letter-spacing: 0.22em;
  display: block;
  margin-bottom: 0.7rem;
}
.about-origin-card p {
  margin: 0;
}
.origin-value {
  margin: 0;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  line-height: 1.05;
}
.about-content-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(340px, 1fr) minmax(300px, 0.9fr);
  align-items: start;
}
.about-visual {
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  height: 803px;
}
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-chapters {
  display: grid;
  gap: 1rem;
}
.about-card {
  padding: 1.5rem 1.75rem;
  border-radius: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.about-card .eyebrow {
  color: #8ab4d8;
  letter-spacing: 0.22em;
}
.about-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}
.about-card p {
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 1rem 1.75rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; border: 1px solid transparent; transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease; position: relative; overflow: hidden; }
.button::after { content: ''; position: absolute; top: 0; left: -100%; width: 55%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent); transform: skewX(-18deg); transition: none; pointer-events: none; }
.button:hover { transform: scale(1.06); }
.button:hover::after { animation: btn-shine 0.45s ease forwards; }
@keyframes btn-shine { to { left: 160%; } }
.button-primary { background: var(--gold); color: #ffffff; }
.button-primary:hover { background: #5da0ef; box-shadow: 0 6px 22px rgba(74,144,226,0.35); }
.button-secondary { background: transparent; border-color: rgba(74,144,226,0.3); color: var(--text); }
.button-secondary:hover { border-color: rgba(74,144,226,0.7); background: rgba(74,144,226,0.08); color: #fff; }

.visual-card { border-radius: 2rem; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 30px 90px rgba(0,0,0,0.25); max-width: 740px; margin: 0 0 0 auto; }
.visual-card img, .visual-card video { aspect-ratio: 1 / 1; object-fit: contain; width: 100%; display: block; }
.visual-card .hero-capsule2-img { display: none; }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: flex-end; margin-bottom: 1rem; }
.section-copy { margin: 0.6rem 0 1rem; }

.product-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.product-card { border: 1px solid rgba(74,144,226,0.12); border-radius: 1.8rem; overflow: hidden; background: rgba(74,144,226,0.04); transition: transform 0.25s ease, border-color 0.25s ease; }
.product-card:hover { transform: scale(1.03); border-color: rgba(74,144,226,0.45); }

/* Colección: productos pegados sin bordes */
.product-grid--packed { gap: 2rem 2.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 5rem; }
.product-grid--packed .product-card { border: none; border-radius: 0; background: transparent; box-shadow: none; }
.product-grid--packed .product-card:hover { transform: none; }
.product-grid--packed .card-link { border: 1px solid rgba(74,144,226,0.08); display: block; }
.product-grid--packed .card-link:hover { background: rgba(74,144,226,0.05); }
.section-shell--collection { padding-top: 1rem; }
@media (max-width: 1024px) { .product-grid--packed { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 2.5rem; gap: 1.5rem 1.75rem; } }
@media (max-width: 640px) { .product-grid--packed { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 1rem; gap: 1rem 0.75rem; } }
.card-link { display: block; color: inherit; }
.card-image { height: 480px; position: relative; overflow: hidden; }
.card-image-hover { position: absolute; inset: 0; background-size: cover; background-position: center top; opacity: 0; transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1); }
.product-card:hover .card-image-hover { opacity: 1; }
@media (max-width: 640px) { .card-image { height: auto; aspect-ratio: 3 / 4; } }
.card-copy { padding: 1.25rem; }
.card-copy h3 { margin-bottom: 0.5rem; font-size: 1.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.category-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-bottom: 8rem; }
.category-card { border-radius: 2rem; padding: 1.75rem; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.03); transition: transform 0.25s ease, border-color 0.25s ease; }
.category-card:hover { transform: scale(1.03); border-color: rgba(255,255,255,0.2); }
.category-top { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 2rem; }
.category-number { font-size: 2rem; color: rgba(255,255,255,0.28); }
.category-label { font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
.category-card h3 { margin-bottom: 0rem; }

.community-section { background: rgba(255,255,255,0.03); border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
.community-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; justify-items: center; margin-top: 9rem; margin-bottom: 14rem; }
.community-grid > * { width: min(100%, 960px); }
.newsletter-panel { display: grid; gap: 1.5rem; padding: 3rem 2.5rem; border-radius: 2rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); width: 100%; max-width: 100%; text-align: center; justify-items: center; }
.newsletter-panel .panel-eyebrow { text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.75rem; color: #8ab4d8; margin: 0; }
.newsletter-panel h3 { font-size: clamp(1.8rem, 2.3vw, 2.5rem); margin: 0; max-width: 740px; }
.newsletter-panel input { width: 100%; max-width: 500px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); padding: 1rem 1.25rem; background: rgba(255,255,255,0.03); color: var(--text); }
.newsletter-panel button { width: 100%; max-width: 180px; border-radius: 999px; border: 2px solid var(--gold); padding: 1rem 1.5rem; background: var(--gold); color: #06101e; font-weight: 700; }
.newsletter-panel button:hover { background: #5da0ef; border-color: #5da0ef; transform: scale(1.06); box-shadow: 0 6px 20px rgba(74,144,226,0.3); }
.newsletter-panel-contact { display: grid; gap: 1.5rem; padding: 3rem 2.5rem; width: 100%; max-width: 700px; text-align: center; justify-items: center; grid-template-columns: 1fr auto; margin: 0 auto; }
.newsletter-panel-contact .panel-eyebrow { text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.75rem; color: #8ab4d8; margin: 0; }
.newsletter-panel-contact h3 { font-size: clamp(1.8rem, 2.3vw, 2.5rem); margin: 0; max-width: 740px; }
.newsletter-panel-contact input { width: 100%; max-width: 500px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); padding: 1rem 1.25rem; background: rgba(255,255,255,0.03); color: var(--text); }
.newsletter-panel-contact button { width: 150px; max-width: 150px; border-radius: 999px; border: 2px solid var(--gold); padding: 1rem 1.5rem; background: var(--gold); color: #06101e; font-weight: 700; }
.newsletter-panel-contact button:hover { background: #5da0ef; border-color: #5da0ef; transform: scale(1.06); box-shadow: 0 6px 20px rgba(74,144,226,0.3); }
.newsletter-row { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; width: 100%; }
.newsletter-row input { flex: 1 1 360px; }
.newsletter-row button { flex: 0 0 auto; }
.newsletter-message {
  margin-top: 1rem;
  color: #4a90e2;
  font-weight: 600;
}
.newsletter-message.error {
  color: #e07b7b;
}
@media (max-width: 900px) {
  .newsletter-row { flex-direction: column; align-items: center; }
  .newsletter-row input,
  .newsletter-row button { width: 100%; max-width: 540px; }
}
@media (min-width: 900px) {
  .newsletter-panel h3 { font-size: 30px; }
}

.site-footer { border-top: 1px solid rgba(255,255,255,0.08); padding: 3rem 0; margin-top: 3rem; background: rgba(6,16,30,0.95); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-brand { display: grid; gap: 1rem; }
.footer-logo { font-family: 'Libre Baskerville', serif; font-size: 1.2rem; letter-spacing: 0.35em; }
.footer-heading { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.28em; color: #8ab4d8; margin-bottom: 1rem; }
.footer-links { display: grid; gap: 0.85rem; }
.footer-links a { color: var(--muted); transition: color 0.2s ease; }
.footer-links a:hover { color: #eef3fb; }
.footer-newsletter input { width: 85%; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); padding: 0.7rem 1.1rem; background: transparent; color: var(--text); }
.footer-newsletter button { margin-top: 0.75rem; width: 50%; max-width: 180px; border-radius: 999px; border: 2px solid var(--gold); padding: 0.5rem 1.5rem; background: var(--gold); color: #06101e; font-weight: 700; }
.footer-newsletter button:hover { background: #5da0ef; border-color: #5da0ef; transform: scale(1.06); box-shadow: 0 5px 16px rgba(74,144,226,0.3); }
.footer-note, .footer-success { font-size: 0.95rem; color: var(--muted); margin-top: 1rem; }
.footer-success { color: #4a90e2; }
.footer-copyright { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.legal-links { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero-grid, .community-grid { grid-template-columns: 1fr; }
  .site-header .header-inner { padding-top: 1rem; padding-bottom: 1rem; }
  .header-left .site-nav { display: none; }
  .header-left  { display: none; }
  .header-inner { grid-template-columns: auto 1fr; }
  .brand        { justify-self: start; font-size: 1.1rem; letter-spacing: 0.25em; }
  .brand-logo   { height: 20px; }
}

.filter-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2.5rem 0; }
.filter-panel > div > .eyebrow { margin-bottom: 0.75rem; }
.filter-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-pill { display: inline-flex; align-items: center; padding: 0.5rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.5); background: transparent; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.filter-pill:hover { border-color: rgba(255,255,255,0.35); color: rgba(255,255,255,0.85); }
.filter-pill.active { border-color: rgba(255,255,255,0.45); color: #eef3fb; background: rgba(255,255,255,0.09); }
.collection-summary { margin-bottom: 1rem; color: var(--muted); }
.stats-list {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  max-width: 300px;
}
.stat-card {
  padding: 1.5rem;
  border-radius: 1.8rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.stat-label { display: block; margin-bottom: 0.65rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.25em; font-size: 0.75rem; }
.panel-card { padding: 2rem; border-radius: 2rem; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.03); }
.pillar-grid, .chapter-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.future-grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 0.55fr) minmax(0, 0.45fr); }
.future-panel-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-start;
}
.future-panel-grid > * {
  flex: 1 1 calc(50% - 0.5rem);
  min-width: 320px;
}
.panel-accent { background: linear-gradient(135deg, rgba(74,144,226,0.07), rgba(59,107,200,0.1)); }
.form-panel { max-width: 780px; margin: 0 auto; padding: 2.5rem; border-radius: 2rem; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); }
.contact-grid { display: grid; gap: 2rem; margin-top: 0; justify-items: center; text-align: center; max-width: 1080px; }
.contact-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.contact-form button { border-radius: 999px; padding: 0.85rem 1rem; border: 1px solid transparent; background: var(--gold); color: #06101e;}
.contact-form input, .contact-form textarea { width: 100%; border-radius: 1.5rem; border: 1px solid rgba(255,255,255,0.12); padding: 1rem 1.25rem; background: rgba(255,255,255,0.03); color: var(--text); }
.product-detail-grid { display: grid; gap: 1.75rem 2.5rem; grid-template-columns: 1.05fr 0.95fr; align-items: start; }
.pd-image   { grid-column: 1; display: grid; gap: 1rem; align-self: start; }
.pd-info    { grid-column: 2; display: grid; gap: 1.1rem; align-content: space-between; aspect-ratio: 0.95 / 1.05; }
.pd-video   { grid-column: 1; }
.pd-details { grid-column: 2; }
.product-visual { min-height: 320px; border-radius: 2rem; overflow: hidden; }
.product-visual::before { content: ''; display: block; width: 100%; height: 100%; }
.brand-visual { border-radius: 1.75rem; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.03); }
.brand-visual img { width: 100%; height: auto; display: block; }
.brand-copy { padding: 1.25rem; }
.brand-video-embed { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.brand-video-embed iframe { position: absolute; top: -12%; left: -2px; width: calc(100% + 4px); height: 124%; border: 0; pointer-events: none; z-index: 1; animation: yt-reveal 5s forwards; }
@keyframes yt-reveal { 0%, 75% { opacity: 0; } 100% { opacity: 1; } }
.brand-video-mask { position: absolute; inset: 0; z-index: 2; pointer-events: all; touch-action: none; cursor: default; }
.product-info-panel { display: grid; gap: 1.1rem; }
.product-detail-grid > .back-link { grid-column: 1 / -1; justify-self: start; margin-bottom: 0; }
.back-link { display: inline-flex; align-items: center; gap: 0.55rem; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; padding: 0.55rem 1.1rem 0.55rem 0.85rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.03); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; transition: color 0.22s, background 0.22s, border-color 0.22s, transform 0.25s ease; }
.back-link:hover { color: #fff; background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.28); transform: scale(1.06); }
.back-link svg { flex-shrink: 0; opacity: 0.7; transition: opacity 0.22s; }
.back-link:hover svg { opacity: 1; }
.price-tag { font-size: 1.75rem; margin-top: 0.2rem; color: var(--gold); }
.tw::after { content: '|'; margin-left: 0.06em; color: var(--gold); font-weight: 400; animation: caretBlink 0.8s steps(1) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
.product-choices { display: grid; gap: 1.15rem; }
.color-grid { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.color-swatch { width: 2rem; height: 2rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; background-clip: padding-box; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color 0.18s, transform 0.18s ease; }
.color-swatch:hover { transform: scale(1.18); }
.color-swatch.active, .color-swatch[aria-pressed="true"] { outline-color: rgba(255,255,255,0.7); transform: scale(1.12); }
.size-grid { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.size-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 3rem; padding: 0.85rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.8); cursor: pointer; background: transparent; font-family: inherit; font-size: 0.9rem; transition: border-color 0.18s, background 0.18s, color 0.18s, transform 0.18s ease, box-shadow 0.18s; }
.size-pill:hover { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.05); transform: scale(1.06); }
.size-pill.active, .size-pill[aria-pressed="true"] { border-color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.1); color: var(--text); box-shadow: 0 2px 10px rgba(255,255,255,0.08); }
.selected-label { color: var(--muted); font-size: 0.8rem; text-transform: none; letter-spacing: 0; margin-left: 0.4rem; }
.product-cta--ok    { color: #7ecb8a !important; }
.product-cta--error { color: #e07b7b !important; }
.product-details-card { padding: 1.75rem; border-radius: 2rem; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); }
.product-details-card ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.product-details-card li { margin-bottom: 0.6rem; }
.product-cta { font-size: 0.95rem; color: var(--muted); margin-top: 0.5rem; }
.success-message { margin-top: 1rem; color: #4a90e2; font-weight: 600; }

@media (max-width: 900px) {
  .collection-filter-band { margin-top: -4rem; padding: calc(4rem + 0.75rem) 0 1.5rem; }
  .filter-panel { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 1.5rem; }
  .hero-grid, .community-grid, .future-grid, .product-detail-grid { grid-template-columns: 1fr; }
  .pd-image, .pd-info, .pd-video, .pd-details { grid-column: auto; }
  .pd-info { aspect-ratio: auto; align-content: start; }
  .visual-card { margin: 0 auto; }
  .about-intro-grid, .about-content-grid { grid-template-columns: 1fr; }
  .about-origin-card { justify-self: stretch; max-width: 100%; }
  .hero-text { margin-bottom: 1.5rem; }
  .form-panel { padding: 1.5rem; }
}

@media (max-width: 700px) {
  .future-panel-grid > * { flex: 1 1 100%; min-width: 0; }
  .page-shell { padding: 0 1rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* ── Mobile nav: hamburger → X + slide-down ─────────────────────── */
@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 900px) {
  .main-shell   { padding-top: 4rem; }
  .hero-section { padding-top: 1rem !important; padding-bottom: 1.5rem; }
  .mobile-toggle span { transition: transform 0.25s ease, opacity 0.2s ease; }
  .mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.45rem) rotate(45deg); }
  .mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.45rem) rotate(-45deg); }
  .site-nav.active { animation: navSlideDown 0.2s ease forwards; }
  .about-visual { height: auto; max-height: 420px; }
  .about-content-grid { grid-template-columns: 1fr; }
  .newsletter-form-contact { grid-template-columns: 1fr; }
  .newsletter-input-row { flex-direction: column; }
  .newsletter-input-row input,
  .newsletter-input-row button { width: 100%; max-width: 100%; }
  .newsletter-panel-contact { grid-template-columns: 1fr; padding: 1.5rem; }
  .newsletter-panel-contact button { width: 100%; max-width: none; }
}

/* ── Newsletter contact form ─────────────────────────────────────── */
.newsletter-form-contact { display: grid; gap: 1rem; max-width: 600px; margin: 1.5rem auto 0; text-align: left; }
.newsletter-input-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.newsletter-input-row input { flex: 1 1 260px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); padding: 1rem 1.25rem; background: rgba(255,255,255,0.03); color: var(--text); }
.newsletter-input-row button { flex: 0 0 auto; border-radius: 999px; border: 2px solid var(--gold); padding: 1rem 1.75rem; background: var(--gold); color: #06101e; font-weight: 700; cursor: pointer; }
.newsletter-input-row button:hover { background: #5da0ef; border-color: #5da0ef; transform: scale(1.06); box-shadow: 0 6px 20px rgba(74,144,226,0.3); }

/* ── GDPR checkbox ───────────────────────────────────────────────── */
.gdpr-label { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.8rem; color: var(--muted); cursor: pointer; line-height: 1.5; }
.gdpr-label input[type="checkbox"] { width: auto; flex-shrink: 0; margin-top: 2px; accent-color: var(--gold); }
.gdpr-label a { color: var(--gold); text-decoration: underline; }
.gdpr-label--center { justify-content: center; }
.auth-form .gdpr-label { flex-direction: row; align-items: flex-start; text-transform: none; letter-spacing: normal; font-size: 0.8rem; }

/* ── Error message ───────────────────────────────────────────────── */
.error-message { margin-top: 1rem; color: #e07b7b; font-weight: 600; }

/* ── Legal pages ─────────────────────────────────────────────────── */
.legal-page { max-width: 780px; padding-bottom: 4rem; }
.legal-page h1 { margin-bottom: 0.75rem; }
.legal-meta { color: var(--muted); margin-bottom: 3rem; }
.legal-block { margin-top: 2.5rem; }
.legal-block h2 { font-size: 1.25rem; font-family: 'Libre Baskerville', Georgia, serif; margin-bottom: 1rem; }
.legal-block p { color: var(--muted); line-height: 1.8; }
.legal-list { padding-left: 1.25rem; color: var(--muted); line-height: 1.9; }
.legal-list li { margin-bottom: 0.5rem; }
.legal-list a, .legal-block a { color: var(--gold); text-decoration: underline; }
.legal-links a { color: rgba(255,255,255,0.5); transition: color 0.2s ease; }
.legal-links a:hover { color: #eef3fb; }

/* ── Cookie banner ───────────────────────────────────────────────── */
.cookie-banner { position: fixed; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; z-index: 9999; display: flex; justify-content: center; pointer-events: none; }
.cookie-inner { pointer-events: all; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; max-width: 860px; width: 100%; background: rgba(13,16,20,0.97); border: 1px solid rgba(255,255,255,0.12); border-radius: 1.5rem; padding: 1.25rem 1.75rem; backdrop-filter: blur(12px); }
.cookie-inner p { margin: 0; flex: 1 1 280px; font-size: 0.85rem; color: var(--muted); }
.cookie-inner a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; flex-shrink: 0; }
.cookie-actions .button { padding: 0.65rem 1.25rem; font-size: 0.8rem; white-space: nowrap; }
@media (max-width: 600px) {
  .cookie-banner { bottom: 0; left: 0; right: 0; border-radius: 0; }
  .cookie-inner { border-radius: 1rem 1rem 0 0; }
}

/* ── Newsletter inputs compactos en móvil ────────────────────────── */
@media (max-width: 900px) {
  /* flex-basis se aplica a la ALTURA en column → resetear a auto */
  .newsletter-row input,
  .newsletter-row button,
  .newsletter-input-row input,
  .newsletter-input-row button { flex: 0 0 auto; }

  .newsletter-panel .newsletter-row input[type="email"],
  .newsletter-panel .newsletter-row button[type="submit"],
  .newsletter-input-row input[type="email"],
  .newsletter-input-row button[type="submit"] {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }
}

/* ── Auth pages ──────────────────────────────────────────────────── */
.auth-card { max-width: 440px; margin: 0 auto; padding-bottom: 4rem; }
.auth-card h1 { margin-bottom: 0.5rem; }
.auth-card .eyebrow { margin-bottom: 2.5rem; }
.auth-form { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.auth-form label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] { width: 100%; padding: 0.75rem 1rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.15); border-radius: 0.6rem; color: var(--text); font-size: 1rem; transition: border-color 0.2s; }
.auth-form input:focus { outline: none; border-color: var(--gold); }
.auth-form .button { margin-top: 0.5rem; }
.auth-alt { margin-top: 1.5rem; text-align: center; color: var(--muted); font-size: 0.9rem; }
.auth-alt a { color: var(--gold); text-decoration: underline; }
.success-message { color: #7ecb8a; font-weight: 600; }

/* ── Account page ────────────────────────────────────────────────── */
.account-points-card { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 1.25rem; padding: 2rem 3rem; margin: 1.5rem 0 2.5rem; text-align: center; }
.account-points-card .points-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 0.5rem; }
.account-points-card .points-value { font-size: 3rem; font-family: 'Libre Baskerville', Georgia, serif; color: var(--gold); line-height: 1; }

/* ── Admin nav ───────────────────────────────────────────────────── */
.nav-divider { display: inline-block; width: 1px; height: 1em; background: rgba(255,255,255,0.15); margin: 0 0.5rem; vertical-align: middle; }

/* Botones de autenticación en el header */
.nav-btn { display: inline-flex; align-items: center; padding: 0.4rem 0.95rem; border-radius: 999px; font-size: 0.78rem; font-family: inherit; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; transition: background 0.25s, color 0.25s, border-color 0.25s, opacity 0.25s, transform 0.25s ease; white-space: nowrap; }
.nav-btn-ghost { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.18); }
.nav-btn-ghost:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.35); transform: scale(1.06); }
.nav-btn-ghost.active { border-color: var(--gold); color: var(--gold); }
.nav-btn-outline { background: transparent; color: var(--muted); border: 1px solid rgba(255,255,255,0.1); }
.nav-btn-outline:hover { color: var(--text); border-color: rgba(255,255,255,0.25); transform: scale(1.06); }
.nav-btn-primary { background: var(--gold); color: #0d1014; border: 1px solid var(--gold); }
.nav-btn-primary:hover { opacity: 0.85; transform: scale(1.06); }
.nav-btn-primary.active { opacity: 0.75; }

@media (max-width: 900px) {
  .nav-divider { display: none; }
  .nav-btn { font-size: 0.9rem; padding: 0.5rem 1.1rem; width: fit-content; }
}

/* ── Admin layout ────────────────────────────────────────────────── */
.admin-topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.admin-topbar h1 { margin: 0; }
.admin-nav-links { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; margin-top: 0.35rem; }
.admin-nav-links a { color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
.admin-nav-links a:hover { color: var(--text); }

.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-top: 2rem; }
.stat-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 1rem; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.stat-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.stat-card strong { font-size: 2rem; font-family: 'Libre Baskerville', Georgia, serif; color: var(--gold); }

/* ── Admin table ─────────────────────────────────────────────────── */
.admin-table-wrap { overflow-x: auto; border-radius: 1rem; border: 1px solid rgba(255,255,255,0.1); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-table th { text-align: left; padding: 0.75rem 1rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); border-bottom: 1px solid rgba(255,255,255,0.1); white-space: nowrap; background: rgba(255,255,255,0.02); }
.admin-table td { padding: 0.75rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }
.msg-unread td { background: rgba(212,175,55,0.04); }
.msg-body-row td { padding: 0; }
.msg-body-content { padding: 1rem 1.5rem 1.25rem; background: rgba(255,255,255,0.02); border-top: 1px solid rgba(255,255,255,0.06); }

/* ── Badges ──────────────────────────────────────────────────────── */
.badge { display: inline-block; padding: 0.2rem 0.65rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; border: none; cursor: pointer; transition: opacity 0.2s; }
.badge-ok   { background: rgba(126,203,138,0.15); color: #7ecb8a; border: 1px solid rgba(126,203,138,0.3); }
.badge-off  { background: rgba(224,123,123,0.12); color: #e07b7b; border: 1px solid rgba(224,123,123,0.25); }
.badge-admin { background: rgba(212,175,55,0.12);  color: var(--gold); border: 1px solid rgba(212,175,55,0.3); }
.badge:hover { opacity: 0.75; }

/* ── Admin actions ───────────────────────────────────────────────── */
.admin-actions { display: flex; align-items: center; flex-wrap: nowrap; gap: 0.75rem; white-space: nowrap; }
.admin-actions--col { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
.action-link { background: none; border: none; color: var(--gold); font-size: 0.85rem; cursor: pointer; padding: 0; text-decoration: underline; font-family: inherit; transition: opacity 0.2s; }
.action-link:hover { opacity: 0.65; }
.action-danger { color: #e07b7b; }
.inline-form { display: inline-flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }

/* ── Admin edit form ─────────────────────────────────────────────── */
.admin-edit-form { margin-top: 2rem; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .admin-form-grid { grid-template-columns: 1fr; } }
.admin-form-col { display: flex; flex-direction: column; gap: 1rem; }
.admin-form-col label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.admin-form-col input[type="text"],
.admin-form-col input[type="number"],
.admin-form-col select,
.admin-form-col textarea { width: 100%; padding: 0.65rem 0.9rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.15); border-radius: 0.6rem; color: var(--text); font-size: 0.95rem; font-family: inherit; transition: border-color 0.2s; }
.admin-form-col input:focus,
.admin-form-col select:focus,
.admin-form-col textarea:focus { outline: none; border-color: var(--gold); }
.admin-form-col textarea { resize: vertical; }
.admin-checks { display: flex; flex-direction: column; gap: 0.5rem; }
.admin-checks label { flex-direction: row; align-items: center; gap: 0.5rem; text-transform: none; letter-spacing: 0; font-size: 0.9rem; cursor: pointer; }
.admin-add-btn { margin-top: 0.5rem; background: none; border: 1px dashed rgba(255,255,255,0.2); color: var(--muted); border-radius: 0.5rem; padding: 0.4rem 0.9rem; font-size: 0.8rem; cursor: pointer; transition: border-color 0.2s, color 0.2s; font-family: inherit; }
.admin-add-btn:hover { border-color: var(--gold); color: var(--gold); }
.input-pair { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.remove-row { background: none; border: none; color: var(--muted); font-size: 1.1rem; cursor: pointer; padding: 0 0.25rem; transition: color 0.2s; line-height: 1; }
.remove-row:hover { color: #e07b7b; }

/* ── Cart icon (header) ──────────────────────────────────────────── */
.cart-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; background: none; border: none; color: var(--text); opacity: 0.8; transition: opacity 0.2s, transform 0.2s ease; }
.cart-icon-btn:hover { opacity: 1; transform: scale(1.12); }
.cart-icon-btn svg { width: 22px; height: 22px; display: block; }
.cart-icon-img { width: 20px; height: 20px; object-fit: contain; display: block; }
.cart-badge { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--gold); color: #0d1014; font-size: 0.65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; }

/* ── Cart page ───────────────────────────────────────────────────── */
.cart-empty { margin-top: 3rem; color: var(--muted); font-size: 1.05rem; }
.cart-empty a { color: var(--gold); text-decoration: underline; }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; margin-top: 2.5rem; align-items: start; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }

.cart-row { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }

/* ── Fotos de producto ───────────────────────────────────────────── */
.product-visual--photo { aspect-ratio: 1/1; border-radius: 2rem; overflow: hidden; padding: 0; background: #0a1620; display: flex; align-items: stretch; }
.product-visual--photo::before { display: none; }
.product-main-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; will-change: opacity, transform; }

/* Strip de miniaturas (solo cuando hay más de 1 foto) */
.product-photo-strip { display: flex; gap: 0.6rem; overflow-x: auto; padding: 0.25rem 0; scrollbar-width: thin; }
.product-photo-strip::-webkit-scrollbar { height: 4px; }
.product-photo-strip::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }
.photo-strip-thumb { flex: 0 0 70px; width: 70px; height: 70px; border-radius: 0.75rem; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: none; padding: 0; transition: border-color 0.2s; }
.photo-strip-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.photo-strip-thumb.active { border-color: var(--gold); }
.photo-strip-thumb:hover { border-color: rgba(74,144,226,0.5); }

/* ── Flechas de galería (página de producto) ─────────────────────── */
.product-visual--photo { position: relative; }
.gallery-arrow { position: absolute; top: 50%; margin-top: -26px; transform: none; z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.07); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease; }
.gallery-arrow:hover { transform: scale(1.18); filter: brightness(1.25); box-shadow: 0 0 18px rgba(255,255,255,0.28); }
.gallery-arrow:focus, .gallery-arrow:focus-visible { outline: none; box-shadow: 0 0 18px rgba(255,255,255,0.3); }
.gallery-arrow:active { box-shadow: 0 0 26px rgba(255,255,255,0.5); filter: brightness(1.5); }
.gallery-arrow svg { display: block; flex-shrink: 0; }
.gallery-arrow--prev { left: 14px; }
.gallery-arrow--next { right: 14px; }
@media (max-width: 640px) { .gallery-arrow { width: 38px; height: 38px; margin-top: -19px; } }

/* ── Reproductor de vídeo ────────────────────────────────────────── */
.product-video-wrap { position: relative; width: 100%; max-width: 900px; margin: 1.5rem auto 0; aspect-ratio: 16 / 9; border-radius: 1.5rem; overflow: hidden; background: #000; }
.product-video-wrap iframe,
.product-video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Admin — thumbnails de imágenes existentes */
.admin-img-thumb button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.admin-form-col input[type="file"] { color: var(--muted); font-size: 0.85rem; }
.cart-row:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
.cart-row-info { flex: 1; min-width: 0; }
.cart-row-name { color: var(--text); font-weight: 600; font-size: 0.95rem; display: block; margin-bottom: 0.35rem; transition: color 0.2s; }
.cart-row-name:hover { color: var(--gold); }
.cart-row-meta { font-size: 0.82rem; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; }
.cart-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); flex-shrink: 0; }
.cart-row-price { font-size: 1rem; color: var(--gold); }
.cart-row-controls { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.qty-control { display: flex; align-items: center; gap: 0.6rem; }
.qty-btn { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); color: var(--text); width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; transition: background 0.15s; line-height: 1; font-family: inherit; }
.qty-btn:hover { background: rgba(255,255,255,0.13); }
.qty-value { min-width: 1.5rem; text-align: center; font-size: 0.95rem; }
.cart-remove-btn { background: none; border: none; color: var(--muted); cursor: pointer; padding: 0; transition: color 0.2s; display: flex; align-items: center; }
.cart-remove-btn:hover { color: #e07b7b; }

.cart-summary { position: sticky; top: calc(var(--header-height, 4.5rem) + 1rem); }
.cart-summary-inner { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 1.5rem; padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.cart-summary-title { font-size: 1.1rem; font-weight: 700; margin: 0; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 0.92rem; color: var(--muted); }
.cart-summary-shipping span:last-child { font-size: 0.8rem; }
.cart-checkout-btn { display: block; text-align: center; margin-top: 0.5rem; }
.cart-summary-note { font-size: 0.78rem; color: var(--muted); text-align: center; margin: 0; }
.cart-clear-btn { background: none; border: none; color: var(--muted); font-size: 0.8rem; cursor: pointer; padding: 0; font-family: inherit; text-decoration: underline; transition: color 0.2s; align-self: center; }
.cart-clear-btn:hover { color: #e07b7b; }

/* ── Email verification banner ───────────────────────────────────── */
.verify-banner { display: flex; align-items: center; gap: 0.75rem; background: rgba(181,139,66,0.1); border: 1px solid rgba(181,139,66,0.3); border-radius: 0.75rem; padding: 0.85rem 1.1rem; margin-bottom: 2rem; font-size: 0.88rem; color: var(--gold); }
.verify-banner svg { flex-shrink: 0; }

/* ── Account tabs ────────────────────────────────────────────────── */
.account-tabs { display: flex; gap: 0; border-bottom: 1px solid rgba(255,255,255,0.1); margin: 2rem 0 2rem; }
.account-tab { padding: 0.6rem 1.25rem; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color 0.15s, border-color 0.15s; }
.account-tab:hover { color: var(--text); }
.account-tab.active { color: var(--text); border-bottom-color: var(--gold); }

/* ── Account settings ────────────────────────────────────────────── */
.settings-block { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
.settings-block:last-child { border-bottom: none; }
.settings-block-title { font-size: 1rem; font-weight: 700; margin: 0 0 0.35rem; }
.settings-hint { font-size: 0.83rem; color: var(--muted); margin: 0 0 1rem; }
.settings-form { display: flex; flex-direction: column; gap: 0.85rem; max-width: 420px; }
.settings-form input { padding: 0.65rem 0.9rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.14); border-radius: 0.6rem; color: var(--text); font-size: 0.95rem; font-family: inherit; transition: border-color 0.2s; width: 100%; box-sizing: border-box; }
.settings-form input:focus { outline: none; border-color: var(--gold); }
.settings-form .button { align-self: flex-start; }

/* ── Animaciones de revelado de texto ────────────────────────────── */
@keyframes textRevealUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes textRevealFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.reveal-text {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}
.reveal-text.in-view {
  opacity: 1;
  transform: translateY(0);
}
.hero-section .hero-copy h1.reveal-text { transform: scaleX(1.08) scaleY(1.5) translateY(16px); }
.hero-section .hero-copy h1.reveal-text.in-view { transform: scaleX(1.08) scaleY(1.5) translateY(0); }
.reveal-text[data-delay="1"] { transition-delay: 0.1s; }
.reveal-text[data-delay="2"] { transition-delay: 0.2s; }
.reveal-text[data-delay="3"] { transition-delay: 0.32s; }
.reveal-text[data-delay="4"] { transition-delay: 0.46s; }

/* ── Lightbox ────────────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; gap: 1rem; background: rgba(4,10,20,0); opacity: 0; pointer-events: none; transition: opacity 0.32s ease, background 0.32s ease; padding: 1rem; }
.lightbox.open { opacity: 1; pointer-events: all; background: rgba(4,10,20,0.96); }
.lightbox-stage { flex: 1; display: flex; align-items: center; justify-content: center; max-width: calc(100vw - 160px); max-height: 92vh; }
.lightbox-stage img { max-width: 100%; max-height: 92vh; object-fit: contain; border-radius: 0.75rem; transform: scale(0.88); transition: transform 0.4s cubic-bezier(0.16,1,0.3,1); display: block; }
.lightbox.open .lightbox-stage img { transform: scale(1); }
.lightbox-close { position: absolute; top: 1.25rem; right: 1.25rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.08); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s, transform 0.2s; z-index: 1; }
.lightbox-close:hover { background: rgba(255,255,255,0.18); transform: scale(1.1); }
.lightbox-arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.07); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease; }
.lightbox-arrow:hover { transform: scale(1.18); filter: brightness(1.25); box-shadow: 0 0 18px rgba(255,255,255,0.28); }
.lightbox-arrow:focus, .lightbox-arrow:focus-visible { outline: none; box-shadow: 0 0 18px rgba(255,255,255,0.3); }
.lightbox-arrow:active { box-shadow: 0 0 26px rgba(255,255,255,0.5); filter: brightness(1.5); }
.lightbox-counter { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); font-size: 0.78rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.4); pointer-events: none; }
@media (max-width: 640px) {
  .lightbox-stage { max-width: 100vw; }
  .lightbox-arrow { width: 40px; height: 40px; }
  .lightbox { gap: 0.5rem; padding: 0.5rem; }
}

/* ── Wishlist ──────────────────────────────────────────────────── */
.wl-link-box { display: flex; gap: .75rem; align-items: center; margin: 1rem 0 0; flex-wrap: wrap; }
.wl-link-box input { flex: 1; min-width: 0; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: .5rem; padding: .6rem .9rem; color: var(--text); font-size: .85rem; cursor: text; }
.wl-items { display: flex; flex-direction: column; }
.wl-item-row { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.wl-item-row:last-child { border-bottom: none; }
.wl-item-thumb { width: 64px; height: 80px; object-fit: cover; border-radius: .5rem; flex-shrink: 0; background: #0a1620; display: block; }
.wl-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.wl-item-info strong { display: block; color: var(--text); font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-item-info small { color: var(--muted); font-size: .8rem; }
.wl-swatch { display: inline-block; width: 11px; height: 11px; border-radius: 50%; vertical-align: middle; margin-right: 3px; border: 1px solid rgba(255,255,255,0.2); }
.wl-remove-btn { background: none; border: none; color: var(--muted); cursor: pointer; padding: .4rem; border-radius: .4rem; transition: color .2s; flex-shrink: 0; }
.wl-remove-btn:hover { color: #e07b7b; }
.wl-badge { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .18rem .5rem; border-radius: 999px; margin-top: .15rem; width: fit-content; }
.wl-badge--avail { background: rgba(181,139,66,.15); color: #b58b42; }
.wl-badge--taken { background: rgba(255,255,255,.06); color: var(--muted); }
.wl-no-addr { padding: 1.5rem; background: rgba(255,255,255,0.04); border-radius: 1rem; margin: 1rem 0; }
.btn-wishlist { gap: .5rem; display: inline-flex; align-items: center; justify-content: center; margin-top: .5rem; width: 100%; }

/* Public wishlist page */
.wl-public-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px,100%), 1fr)); gap: 1.5rem; margin-top: 1rem; }
.wl-public-grid--dimmed { opacity: .5; }
.wl-public-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 1.25rem; overflow: hidden; display: flex; flex-direction: column; }
.wl-public-card--gifted .wl-public-img { filter: grayscale(1); }
.wl-public-img-wrap { aspect-ratio: 3/4; overflow: hidden; }
.wl-public-img-wrap--empty { aspect-ratio: 3/4; background: #0a1620; }
.wl-public-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.wl-public-card:hover .wl-public-img { transform: scale(1.04); }
.wl-public-info { padding: 1.25rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.wl-public-name { font-size: 1.05rem; margin: 0; color: var(--text); }
.wl-public-meta { color: var(--muted); font-size: .85rem; margin: 0; }
.wl-public-price { font-size: 1rem; font-weight: 600; color: #b58b42; margin: .1rem 0 .75rem; }
.wl-gift-btn { width: 100%; text-align: center; }

/* Gift form page */
.gift-item-card { display: flex; gap: 1.5rem; align-items: flex-start; padding: 1.5rem; background: rgba(255,255,255,0.04); border-radius: 1.25rem; margin-bottom: 1.75rem; }
.gift-item-img { width: 90px; height: 120px; object-fit: cover; border-radius: .75rem; flex-shrink: 0; background: #0a1620; display: block; }
.gift-item-details { flex: 1; min-width: 0; }
.gift-item-details h2 { font-size: 1.1rem; margin: .25rem 0 .4rem; color: var(--text); }
.gift-item-details p { color: var(--muted); font-size: .9rem; margin: .15rem 0; }
.gift-item-details .price-tag { color: #b58b42; font-size: 1rem; font-weight: 600; margin-top: .5rem; }
.gift-note { font-size: .82rem; color: var(--muted); margin-bottom: 1.25rem; padding: .75rem 1rem; background: rgba(255,255,255,0.04); border-radius: .6rem; border-left: 2px solid rgba(181,139,66,.4); display: flex; align-items: flex-start; gap: .4rem; line-height: 1.5; }
@media (max-width: 500px) {
  .gift-item-card { flex-direction: column; }
  .gift-item-img  { width: 100%; height: 220px; }
}

/* cursor: predeterminado del sistema */

/* ── Puntos (grifos) en el header ──────────────────────────────────────── */
.header-pts {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold);
  background: rgba(74,144,226,0.1); border: 1px solid rgba(74,144,226,0.22);
  border-radius: 999px; padding: 0.22rem 0.65rem; white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}
html[data-capsule="2"] .header-pts { background: rgba(181,80,90,0.12); border-color: rgba(181,80,90,0.32); }
html[data-capsule="3"] .header-pts { background: rgba(138,106,69,0.12); border-color: rgba(138,106,69,0.32); }
@media (max-width: 900px) { .header-pts { font-size: 0.65rem; } }

/* ── Stock bajo: tallas ─────────────────────────────────────────────────── */
.size-pill.sold-out { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; pointer-events: none; }
.size-pill.low-stock { position: relative; }
.size-pill.low-stock::after {
  content: ''; position: absolute; top: 5px; right: 5px;
  width: 5px; height: 5px; background: #c0904a; border-radius: 50%;
}
.stock-note { font-size: 0.78rem; color: #c0904a; letter-spacing: 0.04em; min-height: 1.2em; }

/* ── Hover de tarjeta (colección): desactivado en pantallas táctiles ───── */
@media (hover: none) {
  .card-image-hover { display: none !important; }
}

/* ── Hero en móvil: vídeo primero, texto debajo ─────────────────────────── */
@media (max-width: 900px) {
  .hero-section .hero-visual { order: -1; }
  .hero-section .hero-copy   { order: 0;  }
}

/* ── Barra de navegación inferior en móvil ─────────────────────────────── */
.mobile-bottom-nav { display: none; }
@media (max-width: 900px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed; bottom: 0; left: 0; right: 0;
    background: rgba(6,16,30,0.97); backdrop-filter: blur(14px);
    border-top: 1px solid rgba(74,144,226,0.18);
    z-index: 150;
    padding: 0.4rem 0 max(env(safe-area-inset-bottom), 0.4rem);
  }
  html[data-capsule="2"] .mobile-bottom-nav { background: rgba(26,10,12,0.97); border-top-color: rgba(181,80,90,0.18); }
  html[data-capsule="3"] .mobile-bottom-nav { background: rgba(20,17,10,0.97); border-top-color: rgba(138,106,69,0.18); }
  .mbn-item {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.18rem;
    padding: 0.4rem 0 0.5rem;
    color: rgba(255,255,255,0.4); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase;
    text-decoration: none; transition: color 0.2s; position: relative; overflow: visible;
  }
  .mbn-item.active { color: var(--gold); }
  .mbn-item svg { width: 22px; height: 22px; overflow: visible; }
  .mbn-item img { opacity: 0.4; transition: opacity 0.2s; }
  .mbn-item.active img { opacity: 1; }
  .mbn-badge {
    position: absolute; top: 0.15rem; right: calc(50% - 18px);
    background: var(--gold); color: #06101e;
    font-size: 0.58rem; font-weight: 700; width: 15px; height: 15px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
  }
  /* Espacio extra abajo para no quedar tapado por la barra */
  .site-footer { padding-bottom: calc(4.5rem + max(env(safe-area-inset-bottom), 0rem)); }
  .cookie-banner { bottom: calc(4.5rem + max(env(safe-area-inset-bottom), 0.5rem)); }
}

/* ── Accesibilidad: reducción de movimiento ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal-text                          { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-section .hero-copy h1.reveal-text { transform: scaleX(1.08) scaleY(1.5) !important; }
  .capsule-panel                        { animation: none !important; }
  .capsule-transition                   { display: none !important; }
  .tw::after                            { animation-play-state: paused !important; opacity: 1; }
  .button::after                        { display: none; }
}

/* ── Header nuevo (3 columnas) ──────────────────────────────────────────── */
@media (min-width: 901px) {
  .header-left  { display: flex; align-items: center; gap: 0.6rem; position: relative; }
}
.header-right { display: flex; align-items: center; gap: 0.6rem; justify-content: flex-end; }
.header-icon-btn { display: inline-flex; align-items: center; justify-content: center; background: none; border: 1px solid rgba(255,255,255,0.14); border-radius: 999px; padding: 0.38rem; color: var(--text); opacity: 0.78; transition: opacity 0.2s, transform 0.2s ease, border-color 0.2s; }
.header-icon-btn:hover { opacity: 1; transform: scale(1.08); border-color: rgba(255,255,255,0.3); }
.header-icon-btn svg { width: 17px; height: 17px; display: block; }
button.mbn-item { background: none; border: none; font-family: inherit; overflow: visible; cursor: pointer; }

/* ── Cart Drawer ─────────────────────────────────────────────────────────── */
.cart-drawer {
  position: fixed; top: 0; right: 0;
  width: clamp(300px, 28vw, 460px); height: 100%;
  z-index: 500; background: #06101e;
  border-left: 1px solid rgba(74,144,226,0.12);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.16,1,0.3,1);
  display: flex; flex-direction: column;
  overflow: hidden; will-change: transform;
}
html[data-capsule="2"] .cart-drawer { background: #120608; border-left-color: rgba(181,80,90,0.15); }
html[data-capsule="3"] .cart-drawer { background: #0c0905; border-left-color: rgba(138,106,69,0.15); }
.cart-drawer.is-open { transform: translateX(0); }
.cart-overlay { position: fixed; inset: 0; z-index: 499; background: rgba(0,0,0,0.55); opacity: 0; pointer-events: none; transition: opacity 0.35s; backdrop-filter: blur(2px); }
.cart-overlay.is-open { opacity: 1; pointer-events: all; }
.cart-drawer-inner { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.cart-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 1.4rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.07); flex-shrink: 0; }
.cart-drawer-close { background: none; border: 1px solid rgba(255,255,255,0.12); border-radius: 50%; color: var(--muted); width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; transition: color 0.2s, border-color 0.2s; }
.cart-drawer-close:hover { color: var(--text); border-color: rgba(255,255,255,0.3); }
.cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 2rem; color: var(--muted); text-align: center; }
.cart-drawer-items { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; display: flex; flex-direction: column; gap: 1.2rem; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent; }
.cart-drawer-item { display: flex; align-items: flex-start; gap: 0.8rem; }
.cart-drawer-item-thumb { width: 58px; height: 72px; flex-shrink: 0; border-radius: 0.5rem; overflow: hidden; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.cart-drawer-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-drawer-item-info { flex: 1; min-width: 0; }
.cart-drawer-item-name { font-size: 0.86rem; font-weight: 600; color: var(--text); text-decoration: none; display: block; margin-bottom: 0.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-drawer-item-name:hover { color: var(--gold); }
.cart-drawer-item-meta { font-size: 0.74rem; color: var(--muted); margin: 0.1rem 0; }
.cart-drawer-remove { background: none; border: none; color: var(--muted); padding: 0.2rem; transition: color 0.2s; flex-shrink: 0; margin-top: 0.15rem; }
.cart-drawer-remove:hover { color: var(--text); }
.cart-drawer-foot { padding: 1.2rem 1.4rem max(env(safe-area-inset-bottom), 1.2rem); border-top: 1px solid rgba(255,255,255,0.07); flex-shrink: 0; }
.cart-drawer-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; font-size: 0.92rem; }
.cart-drawer-total strong { font-size: 1.1rem; color: var(--gold); font-weight: 700; }
@media (max-width: 900px) { .cart-drawer { width: 85vw; } }

/* ── Hamburger ───────────────────────────────────────────────────────── */
.menu-toggle {
  background: none; border: none; cursor: pointer; color: var(--text);
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.3rem 0; opacity: 0.65; transition: opacity 0.2s;
}
.menu-toggle:hover { opacity: 1; }
.menu-toggle-lines { display: flex; flex-direction: column; gap: 4.5px; }
.menu-toggle-lines span { display: block; width: 17px; height: 1.5px; background: currentColor; border-radius: 1px; }
.menu-toggle-label { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }

/* ── Nav Drawer (izquierda) ──────────────────────────────────────────── */
.nav-drawer {
  position: fixed; top: 0; left: 0;
  width: clamp(260px, 22vw, 380px); height: 100%;
  z-index: 500; background: #06101e;
  border-right: 1px solid rgba(74,144,226,0.12);
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.16,1,0.3,1);
  display: flex; flex-direction: column;
  overflow: hidden; will-change: transform;
}
html[data-capsule="2"] .nav-drawer { background: #120608; border-right-color: rgba(181,80,90,0.15); }
html[data-capsule="3"] .nav-drawer { background: #0c0905; border-right-color: rgba(138,106,69,0.15); }
.nav-drawer.is-open { transform: translateX(0); }
.nav-overlay { position: fixed; inset: 0; z-index: 499; background: rgba(0,0,0,0.55); opacity: 0; pointer-events: none; transition: opacity 0.35s; backdrop-filter: blur(2px); }
.nav-overlay.is-open { opacity: 1; pointer-events: all; }
.nav-drawer-inner { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.nav-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 1.4rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.07); flex-shrink: 0; }
.nav-drawer-close { background: none; border: 1px solid rgba(255,255,255,0.12); border-radius: 50%; color: var(--muted); width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; transition: color 0.2s, border-color 0.2s; cursor: pointer; }
.nav-drawer-close:hover { color: var(--text); border-color: rgba(255,255,255,0.3); }
.nav-drawer-links { display: flex; flex-direction: column; padding: 1.5rem 1.6rem; }
.nav-drawer-link { font-family: 'Libre Baskerville', serif; font-size: 1.5rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.45); text-decoration: none; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); transition: color 0.2s; display: block; }
.nav-drawer-link:last-child { border-bottom: none; }
.nav-drawer-link:hover { color: var(--text); }
.nav-drawer-link.active { color: var(--text); }
@media (max-width: 900px) { .nav-drawer { display: none; } }

/* ═══════════════════════════════════════════════════════════════
   CAPSULE GATEWAY — Selector premium de cápsulas
   ═══════════════════════════════════════════════════════════════ */

/* ── Layout base del gateway ──────────────────────────────── */

/* Quitar el padding-top del main en el gateway */
.main-shell--gateway { padding-top: 0 !important; }

/* El gateway llena todo el viewport */
.capsule-gateway {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Eliminar el margin-top del footer SOLO en la página del gateway */
body.capsule-gateway-page .site-footer { margin-top: 0; }

/* Contenedor de entradas */
.capsule-gate-entries {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 100vh;
}
@media (min-width: 768px) {
  .capsule-gate-entries { flex-direction: row; }
}

/* Cada entrada de cápsula */
.capsule-gate-entry {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  cursor: pointer;
  transition: flex 0.65s cubic-bezier(0.16,1,0.3,1);
  outline: none;
}
@media (min-width: 768px) {
  .capsule-gate-entries:hover .capsule-gate-entry { flex: 0.6; }
  .capsule-gate-entries:hover .capsule-gate-entry:hover { flex: 2.2; }
}
.capsule-gate-entry--locked { cursor: default; }

/* Fondo de imagen */
.capsule-gate-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.25) saturate(0.7);
  transition: filter 0.5s ease, transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.capsule-gate-entry:not(.capsule-gate-entry--locked):hover .capsule-gate-bg {
  filter: brightness(0.45) saturate(0.85);
  transform: scale(1.06);
}

/* Viñeta oscura para mayor contraste */
.capsule-gate-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

/* Contenido centrado */
.capsule-gate-content {
  position: relative; z-index: 2;
  text-align: center; padding: 2.5rem 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}

/* Icono de candado */
.capsule-gate-lock { color: rgba(255,255,255,0.45); margin-bottom: 0.4rem; }

/* Eyebrow (Colección / Bloqueada) */
.capsule-gate-eyebrow {
  font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin: 0;
}

/* Nombre grande */
.capsule-gate-name {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; margin: 0; font-weight: 400;
  transition: color 0.3s ease;
}
.capsule-gate-entry:not(.capsule-gate-entry--locked):hover .capsule-gate-name { color: #fff; }

/* Subtítulo */
.capsule-gate-subtitle {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.38); margin: 0;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.35s ease 0.05s, transform 0.35s ease 0.05s;
}
.capsule-gate-entry:hover .capsule-gate-subtitle { opacity: 1; transform: translateY(0); }

/* CTA "Explorar →" */
.capsule-gate-cta {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.0); border-bottom: 1px solid rgba(255,255,255,0);
  padding-bottom: 2px; margin-top: 0.5rem;
  transition: color 0.35s ease 0.1s, border-color 0.35s ease 0.1s;
}
.capsule-gate-entry:not(.capsule-gate-entry--locked):hover .capsule-gate-cta {
  color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.35);
}

/* Acento de color (línea inferior de cada panel) */
.capsule-gate-accent {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; opacity: 0;
  transition: opacity 0.35s ease;
}
.capsule-gate-entry:hover .capsule-gate-accent { opacity: 1; }

/* Separador vertical entre entradas */
@media (min-width: 768px) {
  .capsule-gate-entry + .capsule-gate-entry {
    border-left: 1px solid rgba(255,255,255,0.06);
  }
}

/* ── Countdown timer ────────────────────────────────────────── */
.capsule-gate-countdown { margin-top: 0.6rem; }
.countdown-units {
  display: flex; align-items: flex-start; gap: 0.15rem;
}
.countdown-unit {
  display: flex; flex-direction: column; align-items: center; min-width: 2.8rem;
}
.cd-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.6rem; font-weight: 400; line-height: 1;
  color: rgba(255,255,255,0.75); letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}
.cd-label {
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.32); margin-top: 0.3rem;
}
.countdown-sep {
  font-family: 'Libre Baskerville', serif; font-size: 1.4rem;
  color: rgba(255,255,255,0.35); line-height: 1;
  align-self: flex-start; margin-top: 0.05rem; padding: 0 0.05rem;
}

/* ── Vista de productos de una cápsula ─────────────────────── */
.capsule-products-header {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 2.5rem 2rem 2rem; max-width: 1400px; margin: 0 auto;
}
.capsule-products-header h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: 0.08em;
  text-transform: uppercase; margin: 0; font-weight: 400;
}
.capsule-back-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s ease;
}
.capsule-back-link:hover { color: var(--text); }
@media (min-width: 768px) {
  .capsule-products-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE — diseño minimalista
   ═══════════════════════════════════════════════════════════════ */

.main-shell--home { padding-top: 0; }

/* ── Hero minimalista ────────────────────────────────────────── */
.idx-hero {
  height: 100vh; min-height: 560px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.idx-hero-inner {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  gap: 1.6rem; padding: 2rem;
}
.idx-hero-eyebrow {
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin: 0;
}
.idx-hero-wordmark {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(4rem, 14vw, 10.5rem);
  letter-spacing: 0.35em; text-transform: uppercase;
  color: #fff; font-weight: 400; margin: 0; line-height: 1;
}
.idx-hero-line {
  font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.62); margin: 0;
}
.idx-hero-cta {
  display: inline-flex; align-items: center;
  font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.8); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.45); padding-bottom: 3px;
  transition: color 0.25s, border-color 0.25s;
  margin-top: 0.4rem;
}
.idx-hero-cta:hover { color: #fff; border-color: #fff; }

/* Línea animada de scroll */
.idx-hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
}
.idx-hero-scroll-line {
  display: block; width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100% { opacity: 0.2; transform: scaleY(0.4); }
  50%     { opacity: 0.7; transform: scaleY(1); }
}

/* ── Lista de cápsulas ───────────────────────────────────────── */
.idx-caps {
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 1rem;
}
.idx-cap-row {
  display: flex; align-items: center; gap: 2rem;
  padding: 1.9rem clamp(1.5rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s ease;
  position: relative;
}
.idx-cap-row:not(.idx-cap-row--locked):hover {
  background: rgba(255,255,255,0.025);
}
/* Acento de color al hover en el lado izquierdo */
.idx-cap-row::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--row-color, var(--gold));
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.idx-cap-row:not(.idx-cap-row--locked):hover::before { transform: scaleY(1); }

.idx-cap-row-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.75rem; color: rgba(255,255,255,0.18);
  letter-spacing: 0.12em; min-width: 2rem; flex-shrink: 0;
}
.idx-cap-row-info {
  flex: 1; display: flex; flex-direction: column; gap: 0.2rem;
}
.idx-cap-row-name {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.idx-cap-row--locked .idx-cap-row-name { color: rgba(255,255,255,0.3); }
.idx-cap-row-sub {
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}

.idx-cap-row-right { display: flex; align-items: center; flex-shrink: 0; }
.idx-cap-row-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); text-decoration: none;
  transition: color 0.25s;
}
.idx-cap-row:hover .idx-cap-row-link { color: rgba(255,255,255,0.85); }

.idx-cap-row-countdown { gap: 0.08rem; }
.idx-cap-row-countdown .cd-num  { font-size: 1rem; color: rgba(255,255,255,0.3); }
.idx-cap-row-countdown .cd-label { font-size: 0.5rem; color: rgba(255,255,255,0.2); }
.idx-cap-row-countdown .countdown-sep { font-size: 0.85rem; color: rgba(255,255,255,0.2); margin-top: 0.05rem; }

@media (max-width: 600px) {
  .idx-cap-row { gap: 1rem; padding: 1.4rem 1.2rem; flex-wrap: wrap; }
  .idx-cap-row-right { width: 100%; padding-left: calc(2rem + 1rem); }
}
