/* ─────────────────────────────────────────────────────────────────────────
   Lucié Boutique — Global Stylesheet
   Self-hosted fonts: Fraunces + Inter via @font-face
   ───────────────────────────────────────────────────────────────────────── */

/* ─── FONTS ──────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/Fraunces-VariableFont_SOFT,WONK,ital,opsz,wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/Fraunces-Italic-VariableFont_SOFT,WONK,ital,opsz,wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-VariableFont_opsz,wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ─── TOKENS ─────────────────────────────────────────────────────────────── */
:root {
  --bg:         #FAF6F0;
  --bg-alt:     #F0E8DD;
  --text:       #1A0F08;
  --text-soft:  #4A3528;
  --accent:     #8B4513;
  --highlight:  #D4A574;
  --white:      #FDFAF7;

  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:   400ms;
  --dur-slow:   600ms;

  --header-h:   112px;
}
@media (max-width: 768px) {
  :root { --header-h: 88px; }
}

/* ─── CURSOR — sistema nativo (custom desactivado por problemas de usabilidad) ─ */
#cursor-dot, #cursor-ring { display: none !important; }

/* ─── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { cursor: text; }
input[type="checkbox"], input[type="radio"], select { cursor: pointer; }

/* ─── REDUCED MOTION ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  #cursor-dot, #cursor-ring { display: none; }
  * { cursor: auto; }
}

/* ─── SCROLL FADE-IN ─────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease),
              transform var(--dur-slow) var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 220ms; }
.reveal-delay-3 { transition-delay: 340ms; }
.reveal-delay-4 { transition-delay: 460ms; }

/* ─── HEADER ─────────────────────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: background var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              backdrop-filter var(--dur-fast) var(--ease);
}
header.scrolled {
  background: linear-gradient(
    180deg,
    rgba(26, 15, 8, 0.95) 0%,
    rgba(26, 15, 8, 0.88) 35%,
    rgba(139, 69, 19, 0.55) 75%,
    rgba(212, 165, 116, 0.18) 100%
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(212, 165, 116, 0.22);
}
header.solid {
  background: linear-gradient(
    180deg,
    rgba(26, 15, 8, 0.97) 0%,
    rgba(26, 15, 8, 0.92) 35%,
    rgba(139, 69, 19, 0.65) 75%,
    rgba(212, 165, 116, 0.25) 100%
  );
  box-shadow: 0 1px 0 rgba(212, 165, 116, 0.30);
}
/* Sobre header oscuro, los links del nav cambian a crema claro para contraste */
header.scrolled nav a,
header.solid nav a {
  color: rgba(250, 246, 240, 0.88);
}
header.scrolled nav a:hover,
header.solid nav a:hover {
  color: var(--highlight);
}

.logo {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1;
}
.logo span {
  color: var(--accent);
  font-style: normal;
}
/* Logo SVG: dejar que muestre sus colores propios (foil dorado) sin override */
header .logo svg { display: block; }

/* ── Logo halo radial (destaca sobre cualquier zona del gradient) ─────────── */
header .logo {
  position: relative;
  z-index: 2;
}
header .logo::before {
  content: '';
  position: absolute;
  inset: -12px -20px;
  background: radial-gradient(ellipse at center,
    rgba(26, 15, 8, 0.78) 0%,
    rgba(26, 15, 8, 0.42) 60%,
    rgba(26, 15, 8, 0) 100%);
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(10px);
}

/* ─── MAPA — sepia/cobre integrado con paleta ────────────────────────────── */
.boutique-map,
.contact-map .boutique-map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid rgba(139, 69, 19, 0.18);
  margin-top: 16px;
}
.boutique-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.45) sepia(0.32) saturate(0.85) brightness(0.96) contrast(1.04) hue-rotate(-8deg);
  transition: filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.boutique-map:hover iframe {
  filter: none;
}
.boutique-map::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(139, 69, 19, 0) 70%, rgba(139, 69, 19, 0.10) 100%);
  transition: opacity 0.5s ease;
}
.boutique-map:hover::after {
  opacity: 0;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(139, 69, 19, 0.4);
  color: var(--text);
  text-decoration: none;
  background: transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.map-btn:hover {
  background: var(--bg-alt);
  border-color: var(--accent);
  color: var(--accent);
}
.map-btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.map-btn-primary:hover {
  background: var(--text);
  color: var(--highlight);
  border-color: var(--text);
}

.transport-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.transport-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-alt);
  border-left: 2px solid var(--accent);
}
.transport-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: var(--bg);
  border-radius: 50%;
}
.transport-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.transport-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}
@media (max-width: 640px) {
  .transport-cards { grid-template-columns: 1fr; }
  .map-actions { flex-direction: column; }
  .map-btn { width: 100%; justify-content: center; }
}

/* Nav links — z-index garantizado para que reciban clicks (NUCLEAR FIX) */
header nav {
  position: relative;
  z-index: 200;
  flex-shrink: 1;
  isolation: isolate;
}
header nav a {
  position: relative;
  z-index: 200;
  pointer-events: auto !important;
  cursor: pointer !important;
  display: inline-block;
  padding: 12px 4px;
}
header .logo, header .header-icons {
  flex-shrink: 0;
  pointer-events: auto;
}
header .logo a, header .logo img {
  pointer-events: auto !important;
  cursor: pointer !important;
}
header .logo .logo-img {
  max-width: 180px;
}
/* Force nav links to be hit-testable */
header a, footer a, .splash a, .splash-door {
  pointer-events: auto !important;
}

/* ── Logo sizes ──────────────────────────────────────────────────────────── */
/* Header: 96px desktop, 72px mobile */
header .logo svg, header .logo .logo-img { height: 96px; width: auto; display: block; }
@media (max-width: 768px) {
  header .logo svg, header .logo .logo-img { height: 72px; }
}
/* Footer: 80px */
footer .logo svg, footer .logo .logo-img { height: 80px; width: auto; display: block; }
/* Splash (home /) — logo XXL central */
.splash .logo .logo-img,
.splash-logo .logo-img { height: clamp(140px, 18vw, 220px); width: auto; display: block; }

nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
nav a {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  transition: color var(--dur-fast) var(--ease);
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--dur-fast) var(--ease);
}
nav a:hover { color: var(--accent); }
nav a:hover::after { width: 100%; }
nav a.active { color: var(--accent); }
nav a.active::after { width: 100%; }

.header-icons {
  display: flex;
  gap: 20px;
  align-items: center;
}
.header-icons button {
  background: none;
  border: none;
  color: var(--text);
  padding: 6px;
  transition: color var(--dur-fast) var(--ease);
}
.header-icons button:hover { color: var(--accent); }

/* Mobile header */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px; height: 1.5px;
  background: currentColor;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--bg);
  box-shadow: 0 8px 24px rgba(26,15,8,0.12);
  z-index: 99;
  padding: 24px 24px 32px;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid rgba(139,69,19,0.1);
  transition: color var(--dur-fast) var(--ease);
}
.mobile-nav a:hover { color: var(--accent); }

@media (max-width: 1024px) {
  header { padding: 0 20px; }
  header > nav { display: none; }
  .mobile-menu-btn { display: flex; }
  header .logo .logo-img { max-width: 140px; }
}

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
  will-change: opacity;
}
.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 8s linear;
}
.hero-slide.active img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26, 15, 8, 0.28) 0%,
    rgba(26, 15, 8, 0.05) 50%,
    rgba(139, 69, 19, 0.20) 100%
  );
  z-index: 1;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 60px 80px;
}

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.9s var(--ease) 0.4s forwards;
}

.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1s var(--ease) 0.6s forwards;
}
.hero-title em {
  font-style: normal;
  color: var(--highlight);
}

.hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: rgba(253, 250, 247, 0.82);
  letter-spacing: 0.04em;
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.9s var(--ease) 0.85s forwards;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  width: fit-content;
  position: relative;
  overflow: hidden;
  transition: background var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease) 1.1s forwards;
}
.cta-primary.no-anim {
  opacity: 1;
  animation: none;
}
.cta-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--highlight);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}
.cta-primary:hover::before { transform: scaleX(1); }
.cta-primary:hover { transform: translateY(-2px); }
.cta-primary span { position: relative; z-index: 1; }
.cta-primary svg { position: relative; z-index: 1; transition: transform var(--dur-fast) var(--ease); }
.cta-primary:hover svg { transform: translateX(4px); }

/* Hero indicators */
.hero-dots {
  position: absolute;
  bottom: 36px;
  right: 60px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 20px; height: 2px;
  background: rgba(253, 250, 247, 0.4);
  border: none;
  padding: 0;
  transition: background var(--dur-fast) var(--ease), width var(--dur-fast) var(--ease);
}
.hero-dot.active {
  background: var(--highlight);
  width: 36px;
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .hero-content { padding: 0 24px 60px; }
  .hero-dots { right: 24px; bottom: 24px; }
}

/* ─── SECTION COMMONS ────────────────────────────────────────────────────── */
section { padding: 100px 60px; }
@media (max-width: 768px) { section { padding: 72px 24px; } }

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
}
.section-title em {
  font-style: italic;
  color: var(--accent);
}

/* ─── COLECCIONES ────────────────────────────────────────────────────────── */
.colecciones { background: var(--bg); }

.colecciones-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 24px;
}
.colecciones-header .section-title { max-width: 420px; }
.link-underline {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}
.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}
.link-underline:hover::after { transform: scaleX(0); transform-origin: right; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .grid-3 { grid-template-columns: 1fr; } }

.cat-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-alt);
}
.cat-card-img {
  position: absolute;
  inset: 0;
  transition: transform var(--dur-slow) var(--ease), opacity var(--dur-fast) var(--ease);
}
.cat-card-img.secondary {
  opacity: 0;
  transform: scale(1.04);
}
.cat-card:hover .cat-card-img.primary { opacity: 0; transform: scale(1.03); }
.cat-card:hover .cat-card-img.secondary { opacity: 1; transform: scale(1); }

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,15,8,0.65) 0%, transparent 55%);
  z-index: 1;
}
.cat-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 28px 28px 32px;
}
.cat-card-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: 8px;
}
.cat-card-title {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 500;
  font-style: italic;
  color: var(--white);
  line-height: 1.2;
}
.cat-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--highlight);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.cat-card:hover .cat-card-cta { opacity: 1; transform: translateY(0); }

/* ─── JOYAS DE COBRE (home teaser) ──────────────────────────────────────── */
.cobre {
  background: var(--bg-alt);
  padding: 0;
  overflow: hidden;
  position: relative;
}
.cobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}
@media (max-width: 768px) {
  .cobre-inner { grid-template-columns: 1fr; }
}

.cobre-visual {
  position: relative;
  min-height: 480px;
  overflow: hidden;
}
.cobre-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 8s var(--ease);
}
.cobre-visual:hover img { transform: scale(1.04); }

.cobre-visual::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
}

.cobre-content {
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.cobre-content::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 220px; height: 220px;
  border: 60px solid rgba(139,69,19,0.07);
  border-radius: 50%;
  pointer-events: none;
}

.cobre-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.cobre-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 8px;
}
.cobre-title-accent {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 2.5vw, 38px);
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 32px;
  line-height: 1.2;
}
.cobre-body {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-soft);
  max-width: 42ch;
  margin-bottom: 20px;
}
.cobre-body + .cobre-body {
  margin-top: -8px;
  margin-bottom: 44px;
}

.cta-cobre {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 32px;
  width: fit-content;
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: color var(--dur-fast) var(--ease);
}
.cta-cobre::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}
.cta-cobre:hover { color: var(--white); }
.cta-cobre:hover::before { transform: scaleX(1); }
.cta-cobre span, .cta-cobre svg { position: relative; z-index: 1; }
.cta-cobre svg { transition: transform var(--dur-fast) var(--ease); }
.cta-cobre:hover svg { transform: translateX(4px); }

.cobre-ritual {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(139,69,19,0.18);
  display: flex;
  gap: 28px;
}
.ritual-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ritual-num {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}
.ritual-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-soft);
}

@media (max-width: 768px) {
  .cobre-content { padding: 56px 24px; }
  .cobre-content::before { display: none; }
  .cobre-ritual { flex-wrap: wrap; gap: 20px; }
}

/* ─── BOUTIQUE ───────────────────────────────────────────────────────────── */
.boutique { background: var(--bg); }

.boutique-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .boutique-inner { grid-template-columns: 1fr; gap: 48px; }
}

.boutique-images {
  position: relative;
}
.boutique-img-main {
  aspect-ratio: 4/5;
  overflow: hidden;
}
.boutique-img-accent {
  position: absolute;
  bottom: -36px;
  right: -36px;
  width: 52%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 6px solid var(--bg);
}
@media (max-width: 900px) {
  .boutique-img-accent { right: -12px; bottom: -24px; }
}

.boutique-text { max-width: 52ch; }
.boutique-text .section-title { margin-bottom: 8px; }
.boutique-subtitle {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 28px;
}
.boutique-body {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 16px;
}

.boutique-detail {
  margin-top: 36px;
  padding: 24px 28px;
  border-left: 2px solid var(--accent);
  background: var(--bg-alt);
}
.boutique-detail p {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 4px;
}
.boutique-detail strong {
  color: var(--text);
  font-weight: 500;
}

.boutique-map {
  margin-top: 28px;
  height: 160px;
  overflow: hidden;
  position: relative;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
}
.map-placeholder svg { color: var(--accent); }
.map-placeholder p { font-size: 14px; letter-spacing: 0.08em; }

/* ─── TESTIMONIOS ────────────────────────────────────────────────────────── */
.testimonios { background: var(--bg-alt); }

.testimonios-header { margin-bottom: 56px; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .reviews-grid { grid-template-columns: 1fr; } }

.review-card {
  background: var(--bg);
  padding: 40px 36px;
  position: relative;
}
.review-card::before {
  content: '\201C';
  position: absolute;
  top: 20px; right: 28px;
  font-family: 'Fraunces', serif;
  font-size: 96px;
  color: var(--highlight);
  line-height: 1;
  opacity: 0.4;
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}
.star {
  width: 14px; height: 14px;
  color: var(--accent);
}

.review-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-soft);
  font-style: italic;
  margin-bottom: 28px;
  position: relative;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 14px;
}
.reviewer-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-alt);
  flex-shrink: 0;
}
.reviewer-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.reviewer-date {
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 2px;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
footer {
  background: var(--text);
  color: rgba(253, 250, 247, 0.8);
  padding: 0;
}

.footer-newsletter {
  background: var(--accent);
  padding: 60px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
@media (max-width: 768px) {
  .footer-newsletter { flex-direction: column; padding: 48px 24px; }
}

.newsletter-copy h3 {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 500;
  font-style: italic;
  color: var(--white);
  margin-bottom: 6px;
}
.newsletter-copy p {
  font-size: 15px;
  color: rgba(253, 250, 247, 0.75);
}

.newsletter-form {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}
@media (max-width: 500px) { .newsletter-form { flex-direction: column; width: 100%; } }

.newsletter-input {
  padding: 14px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  background: rgba(253, 250, 247, 0.15);
  border: 1px solid rgba(253, 250, 247, 0.35);
  border-right: none;
  color: var(--white);
  width: 280px;
  outline: none;
  transition: background var(--dur-fast) var(--ease);
}
.newsletter-input::placeholder { color: rgba(253, 250, 247, 0.5); }
.newsletter-input:focus { background: rgba(253, 250, 247, 0.22); }
@media (max-width: 500px) {
  .newsletter-input { width: 100%; border-right: 1px solid rgba(253, 250, 247, 0.35); border-bottom: none; }
}

.newsletter-btn {
  padding: 14px 24px;
  background: var(--white);
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.newsletter-btn:hover { background: var(--highlight); color: var(--text); }

.footer-main {
  padding: 64px 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; padding: 48px 24px; }
}
@media (max-width: 500px) {
  .footer-main { grid-template-columns: 1fr; padding: 40px 24px; }
}

.footer-brand .logo {
  color: var(--white);
  font-size: 26px;
  margin-bottom: 16px;
  display: block;
}
.footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(253, 250, 247, 0.55);
  max-width: 26ch;
  margin-bottom: 24px;
}
.footer-socials {
  display: flex;
  gap: 14px;
}
.footer-social-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(253, 250, 247, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(253, 250, 247, 0.7);
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.footer-social-btn:hover { border-color: var(--highlight); color: var(--highlight); }

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 15px;
  color: rgba(253, 250, 247, 0.6);
  transition: color var(--dur-fast) var(--ease);
}
.footer-col ul a:hover { color: var(--white); }

.footer-col address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(253, 250, 247, 0.6);
}
.footer-col address strong { color: rgba(253, 250, 247, 0.85); font-weight: 500; }

.footer-bottom {
  border-top: 1px solid rgba(253, 250, 247, 0.08);
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 600px) {
  .footer-bottom { flex-direction: column; text-align: center; padding: 20px 24px; }
}
.footer-bottom p { font-size: 12px; color: rgba(253, 250, 247, 0.35); letter-spacing: 0.06em; }
.footer-bottom a { color: rgba(253, 250, 247, 0.35); transition: color var(--dur-fast) var(--ease); }
.footer-bottom a:hover { color: var(--highlight); }

/* ─── FLOATING BUTTONS ──────────────────────────────────────────────────── */
.float-group {
  position: fixed;
  bottom: 36px;
  right: 36px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 768px) { .float-group { bottom: 80px; right: 16px; } }

.float-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 4px 20px rgba(26,15,8,0.22), 0 1px 4px rgba(26,15,8,0.14);
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
  position: relative;
}
.float-btn:hover {
  transform: scale(1.10) translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,15,8,0.28), 0 2px 6px rgba(26,15,8,0.16);
}

.float-btn-wa {
  background: var(--accent);
  color: var(--white);
}
.float-btn-ig {
  background: var(--bg-alt);
  color: var(--accent);
  border: 1.5px solid rgba(139,69,19,0.25);
}

.float-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--text);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding: 6px 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
}
.float-btn:hover::before { opacity: 1; }

/* ─── SCROLL TO TOP ──────────────────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 36px;
  left: 36px;
  z-index: 200;
  width: 40px; height: 40px;
  border: 1.5px solid rgba(139,69,19,0.35);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--accent); color: var(--white); }
@media (max-width: 768px) { .scroll-top { left: 16px; bottom: 80px; } }

/* ─── COOKIES BANNER ─────────────────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 300;
  background: var(--text);
  color: rgba(253,250,247,0.85);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
  line-height: 1.5;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
}
#cookie-banner.visible { transform: translateY(0); }
#cookie-banner p { max-width: 60ch; }
#cookie-banner a { color: var(--highlight); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-btn {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: none;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.cookie-btn-accept {
  background: var(--accent);
  color: var(--white);
}
.cookie-btn-accept:hover { background: var(--highlight); color: var(--text); }
.cookie-btn-reject {
  background: transparent;
  color: rgba(253,250,247,0.6);
  border: 1px solid rgba(253,250,247,0.2);
}
.cookie-btn-reject:hover { border-color: rgba(253,250,247,0.5); color: var(--white); }
@media (max-width: 768px) {
  #cookie-banner { flex-direction: column; padding: 20px 24px; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ─── PAGE HERO (inner pages) ────────────────────────────────────────────── */
.page-hero {
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 60px;
  padding-left: 60px;
  padding-right: 60px;
  background: var(--bg-alt);
  border-bottom: 1px solid rgba(139,69,19,0.12);
}
@media (max-width: 768px) {
  .page-hero { padding: calc(var(--header-h) + 40px) 24px 40px; }
}

.page-hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.page-hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 18ch;
}
.page-hero-sub {
  font-size: 19px;
  font-weight: 300;
  color: var(--text-soft);
  max-width: 52ch;
  line-height: 1.65;
}

/* ─── PROSE (long-form copy) ─────────────────────────────────────────────── */
.prose {
  max-width: 68ch;
}
.prose h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  margin-top: 64px;
  margin-bottom: 24px;
  line-height: 1.2;
}
.prose p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-soft);
  margin-bottom: 24px;
}
.prose em { font-style: italic; color: var(--accent); }
.prose strong { font-weight: 500; color: var(--text); }

/* ─── COBRE LANDING SPECIFICS ───────────────────────────────────────────── */
.cobre-landing-hero {
  position: relative;
  height: 72vh;
  min-height: 480px;
  overflow: hidden;
  margin-top: var(--header-h);
}
.cobre-landing-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cobre-landing-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26,15,8,0.45) 0%, rgba(139,69,19,0.25) 100%);
}
.cobre-landing-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 60px 72px;
  z-index: 2;
}
@media (max-width: 768px) {
  .cobre-landing-hero-content { padding: 0 24px 48px; }
}

.cobre-landing-body {
  padding: 80px 60px;
  background: var(--bg);
}
@media (max-width: 768px) {
  .cobre-landing-body { padding: 60px 24px; }
}

.cobre-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .cobre-grid-2 { grid-template-columns: 1fr; gap: 48px; }
}

/* Gallery 3x2 */
.cobre-gallery {
  padding: 80px 60px;
  background: var(--bg-alt);
}
@media (max-width: 768px) { .cobre-gallery { padding: 60px 24px; } }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 768px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg);
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }

/* Cobre CTA section */
.cobre-cta-section {
  padding: 80px 60px;
  background: var(--bg);
  text-align: center;
}
@media (max-width: 768px) { .cobre-cta-section { padding: 60px 24px; } }

.cobre-cta-section .section-title { margin-bottom: 16px; }
.cobre-cta-section p {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 52ch;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.cta-pair {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── CONTACTO PAGE ──────────────────────────────────────────────────────── */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .contacto-grid { grid-template-columns: 1fr; gap: 48px; }
}

.contact-form label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  background: var(--bg-alt);
  border: 1px solid rgba(139,69,19,0.2);
  color: var(--text);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease);
  margin-bottom: 24px;
  appearance: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}
.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.form-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.5;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-bottom: 0;
  margin-top: 2px;
  accent-color: var(--accent);
}
.form-check a { color: var(--accent); text-decoration: underline; }

.contact-info-block {
  background: var(--bg-alt);
  padding: 40px;
  border-left: 3px solid var(--accent);
}
.contact-info-block h3 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  margin-bottom: 24px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.6;
}
.contact-info-item svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.contact-info-item a { color: var(--accent); }
.contact-info-item a:hover { text-decoration: underline; }
.contact-info-item strong { display: block; color: var(--text); font-weight: 500; font-size: 14px; margin-bottom: 4px; }

.contact-map {
  margin-top: 48px;
}
.contact-map h3 {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-style: italic;
  margin-bottom: 16px;
  color: var(--text);
}
.contact-map iframe {
  width: 100%;
  height: 320px;
  border: none;
  display: block;
}

/* ─── 404 / LEGAL PAGES ─────────────────────────────────────────────────── */
.page-minimal {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 40px 24px;
}
.page-minimal .logo { font-size: 32px; margin-bottom: 48px; display: block; }
.page-minimal h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 500;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}
.page-minimal h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 16px;
}
.page-minimal p {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 42ch;
  margin-bottom: 36px;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CART — icon, badge, drawer, item rows, checkout
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Screen reader only ──────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Cart toggle button in header ────────────────────────────────────────── */
.cart-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 6px;
  color: currentColor;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease);
}
.cart-toggle:hover { color: var(--accent); }
.cart-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Badge ───────────────────────────────────────────────────────────────── */
.cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  background: var(--accent);
  color: #FAF6F0;
  border: 1.5px solid var(--bg);
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
  transform: scale(0.5);
  transition: transform 0.25s var(--ease);
  pointer-events: none;
  z-index: 3;
  display: none;
}
.cart-badge.visible {
  display: block;
  transform: scale(1);
}
/* Header icons block: nunca se solapa con logo */
.header-icons {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* ── Overlay ─────────────────────────────────────────────────────────────── */
[data-cart-overlay] {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(26, 15, 8, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease);
}
[data-cart-overlay].open {
  opacity: 1;
  pointer-events: auto;
}

/* ── Drawer ──────────────────────────────────────────────────────────────── */
[data-cart-drawer] {
  position: fixed;
  top: 0; right: 0;
  width: 420px;
  max-width: 92vw;
  height: 100%;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 32px rgba(26,15,8,0.18);
  transform: translateX(100%);
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
[data-cart-drawer].open {
  transform: translateX(0);
}
/* Cuando el carrito está abierto, el header del sitio NO debe taparlo */
body.cart-open header,
body.cart-open #site-header,
body.cart-open #splash-header,
body.cart-open .tienda-banner {
  z-index: 50 !important;
}
body.cart-open header nav,
body.cart-open header nav a {
  z-index: 50 !important;
  pointer-events: none;
}
/* Asegurar que el overlay del carrito está justo debajo del drawer */
[data-cart-overlay] { z-index: 9998 !important; }

/* ── Drawer header ───────────────────────────────────────────────────────── */
.cart-drawer-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 28px 24px;
  border-bottom: 1px solid rgba(139,69,19,0.22);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(240,232,221,0.6) 100%);
  box-shadow: 0 2px 0 rgba(139,69,19,0.05);
}
.cart-drawer-header h3,
.cart-drawer-header .cart-title {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  letter-spacing: 0.005em;
  line-height: 1;
}
.cart-subcount {
  display: inline-block;
  margin-left: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  vertical-align: middle;
}
.cart-subcount::before { content: ''; }
.cart-subcount:not(:empty)::before { content: '· '; opacity: 0.45; margin-right: 2px; }
.cart-close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--text-soft);
  cursor: pointer;
  padding: 4px 8px;
  transition: color var(--dur-fast) var(--ease);
  border-radius: 2px;
}
.cart-close:hover { color: var(--accent); }
.cart-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── Drawer body (scrollable items list) ─────────────────────────────────── */
[data-cart-items] {
  flex: 1;
  overflow-y: auto;
  padding: 24px 24px 16px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(139,69,19,0.25) transparent;
}
[data-cart-items]::-webkit-scrollbar { width: 4px; }
[data-cart-items]::-webkit-scrollbar-thumb { background: rgba(139,69,19,0.25); border-radius: 2px; }

/* ── Individual item row ─────────────────────────────────────────────────── */
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(139,69,19,0.1);
}
.cart-item:first-child { padding-top: 4px; }
.cart-item:last-child { border-bottom: none; }
/* Botón eliminar más cómodo de tocar */
.cart-remove-btn {
  min-width: 32px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-item-img {
  width: 72px;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-alt);
  flex-shrink: 0;
}
.cart-item-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.cart-item-name {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
}
.cart-item-size {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}
.cart-item-price {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}

.cart-item-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.cart-qty-group {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(139,69,19,0.25);
  padding: 2px 6px;
}
.cart-qty-btn {
  background: none;
  border: none;
  font-size: 16px;
  line-height: 1;
  color: var(--text-soft);
  cursor: pointer;
  padding: 2px 5px;
  transition: color var(--dur-fast) var(--ease);
}
.cart-qty-btn:hover { color: var(--accent); }
.cart-qty-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.cart-qty-num {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  min-width: 18px;
  text-align: center;
}

.cart-remove-btn {
  background: none;
  border: none;
  padding: 4px;
  color: rgba(74,53,40,0.5);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease);
}
.cart-remove-btn:hover { color: #c0392b; }
.cart-remove-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* ── Drawer footer ───────────────────────────────────────────────────────── */
[data-cart-footer] {
  flex-shrink: 0;
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(139,69,19,0.15);
  background: var(--bg);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-soft);
}
[data-cart-total] {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
}

/* ── Checkout form ───────────────────────────────────────────────────────── */
.cart-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.cart-checkout-form input {
  width: 100%;
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  background: var(--bg-alt);
  border: 1px solid rgba(139,69,19,0.22);
  color: var(--text);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease);
  box-sizing: border-box;
  appearance: none;
  border-radius: 0;
}
.cart-checkout-form input:focus { border-color: var(--accent); }
.cart-checkout-form input::placeholder { color: rgba(74,53,40,0.5); }

/* Checkout CTA — cobre, coherente con la paleta */
.cart-checkout-btn {
  width: 100%;
  padding: 16px 20px;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), transform 150ms var(--ease);
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.cart-checkout-btn svg { flex-shrink: 0; }
.cart-checkout-btn:hover { background: var(--text); color: var(--highlight); }
.cart-checkout-btn:active { transform: scale(0.98); }
.cart-checkout-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.cart-note {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--text-soft);
  line-height: 1.5;
  opacity: 0.75;
  text-align: center;
  margin-top: 8px;
}

/* ── Cart empty state ────────────────────────────────────────────────────── */
[data-cart-empty] {
  flex: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  gap: 16px;
}
[data-cart-empty] p {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  color: var(--text-soft);
  line-height: 1.5;
}
[data-cart-empty] p em {
  font-style: italic;
  color: var(--accent);
  display: inline-block;
  margin-top: 4px;
  font-size: 16px;
}
.cart-empty-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
  transition: color 0.3s, padding 0.3s;
}
.cart-empty-cta:hover { color: var(--accent); padding-left: 4px; }

/* ── Sent confirmation ───────────────────────────────────────────────────── */
.cart-sent-msg {
  margin-top: 12px;
  padding: 16px;
  background: rgba(37,211,102,0.08);
  border: 1px solid rgba(37,211,102,0.3);
  text-align: center;
}
.cart-sent-title {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.cart-sent-sub {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.5;
  margin-bottom: 12px;
}
.cart-clear-btn {
  background: none;
  border: 1px solid rgba(139,69,19,0.35);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 8px 16px;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.cart-clear-btn:hover { border-color: var(--accent); color: var(--accent); }
.cart-clear-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── body scroll lock when drawer open ───────────────────────────────────── */
body.cart-open { overflow: hidden; }

/* ── Product card actions (tienda page) ──────────────────────────────────── */
.prenda-card-price {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}

.prenda-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.size-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.size-select {
  appearance: none;
  width: 100%;
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B4513' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid rgba(139,69,19,0.22);
  outline: none;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease);
  border-radius: 0;
}
.size-select:focus { border-color: var(--accent); }
.size-select--error {
  border-color: #c0392b;
  animation: shake 0.35s var(--ease);
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25%       { transform: translateX(-4px); }
  75%       { transform: translateX(4px); }
}

.add-to-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FAF6F0;
  background: var(--text);
  border: 1px solid var(--text);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  border-radius: 0;
}
.add-to-cart-btn:hover { background: var(--accent); border-color: var(--accent); }
.add-to-cart-btn.added { background: #2e7d32; border-color: #2e7d32; }
.add-to-cart-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.add-to-cart-btn:disabled { opacity: 0.75; }

/* ── Mobile adjustments ──────────────────────────────────────────────────── */
@media (max-width: 480px) {
  [data-cart-drawer] { width: 92vw; max-width: 92vw; }
  .cart-item { grid-template-columns: 60px 1fr auto; gap: 10px; }
  .cart-item-img { width: 60px; }
}

/* ── Reduced motion ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  [data-cart-drawer],
  [data-cart-overlay],
  .cart-badge { transition: none; }
}


/* ==========================================================================
   FEATURES v2: Wishlist + Newsletter + Popup + Cita
   ========================================================================== */

/* â”€â”€ WISHLIST â€” Heart button on card image â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.prenda-card-img { position: relative; }

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 246, 240, 0.88);
  border: 1px solid rgba(139, 69, 19, 0.22);
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-soft);
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1),
              background 200ms ease,
              color 200ms ease;
  padding: 0;
  line-height: 1;
}
.wishlist-btn:hover {
  background: rgba(250, 246, 240, 1);
  color: var(--accent);
}
.wishlist-btn--active { color: var(--accent); }
.wishlist-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .wishlist-btn { transition: none; }
}

/* Wishlist badge in header */
.wishlist-count-badge {
  display: none;
  background: var(--accent);
  color: #FAF6F0;
  font-size: 10px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  padding: 0 4px;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  vertical-align: middle;
}

.wishlist-header-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 200ms ease;
}
.wishlist-header-link:hover { color: var(--highlight); }

/* â”€â”€ WISHLIST PAGE (/favoritos/) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.favoritos-hero {
  margin-top: var(--header-h);
  padding: 48px 40px 32px;
  text-align: center;
  border-bottom: 1px solid rgba(139, 69, 19, 0.12);
}
.favoritos-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  margin-bottom: 8px;
}
.favoritos-hero p {
  font-size: 14px;
  color: var(--text-soft);
}

.favoritos-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 40px;
}
.favoritos-actions button {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}
.favoritos-btn-cart {
  background: var(--accent);
  color: #FAF6F0;
  border: 1.5px solid var(--accent);
}
.favoritos-btn-cart:hover { background: #6b3410; border-color: #6b3410; }
.favoritos-btn-clear {
  background: transparent;
  color: var(--text-soft);
  border: 1.5px solid rgba(139, 69, 19, 0.35);
}
.favoritos-btn-clear:hover { background: rgba(139, 69, 19, 0.06); }

.favoritos-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  gap: 20px;
  padding: 60px 40px;
  text-align: center;
}
.favoritos-empty svg { color: var(--highlight); opacity: 0.5; }
.favoritos-empty p {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--text-soft);
}
.favoritos-empty a {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 28px;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  transition: background 200ms ease, color 200ms ease;
  border-radius: 2px;
}
.favoritos-empty a:hover { background: var(--accent); color: #FAF6F0; }

/* â”€â”€ NEWSLETTER FEEDBACK â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.newsletter-feedback {
  font-size: 13px;
  margin-top: 8px;
  line-height: 1.5;
}
.newsletter-feedback--ok  { color: #2e7d32; }
.newsletter-feedback--err { color: #c62828; }
.newsletter-input--error  { border-color: #c62828 !important; box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.18); }

/* â”€â”€ WELCOME POP-UP â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.welcome-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(26, 15, 8, 0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 320ms ease;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.welcome-popup-overlay--visible { opacity: 1; }

.welcome-popup-card {
  background: var(--white);
  border: 1px solid rgba(139, 69, 19, 0.22);
  border-radius: 4px;
  display: grid;
  grid-template-columns: 280px 1fr;
  max-width: 660px;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(26, 15, 8, 0.35);
  max-height: 90vh;
}

.welcome-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 246, 240, 0.9);
  border: 1px solid rgba(139, 69, 19, 0.18);
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-soft);
  transition: background 200ms ease;
  padding: 0;
}
.welcome-popup-close:hover { background: #FAF6F0; color: var(--accent); }
.welcome-popup-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.welcome-popup-img {
  overflow: hidden;
  height: 100%;
}
.welcome-popup-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.welcome-popup-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  overflow-y: auto;
}

.welcome-popup-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.welcome-popup-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 12px;
}

.welcome-popup-sub {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 20px;
}

.welcome-popup-form { display: flex; flex-direction: column; gap: 10px; }

.welcome-popup-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  border: 1.5px solid rgba(139, 69, 19, 0.25);
  background: var(--bg);
  color: var(--text);
  border-radius: 2px;
  transition: border-color 200ms ease;
}
.welcome-popup-input:focus { outline: none; border-color: var(--accent); }
.welcome-popup-input--error { border-color: #c62828 !important; }

.welcome-popup-submit {
  width: 100%;
  padding: 13px 20px;
  background: var(--accent);
  color: #FAF6F0;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 200ms ease;
}
.welcome-popup-submit:hover:not(:disabled) { background: #6b3410; }
.welcome-popup-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.welcome-popup-submit:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.welcome-popup-feedback { font-size: 13px; color: #c62828; margin-top: 4px; }

.welcome-popup-code { margin-top: 4px; }
.welcome-popup-code-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.welcome-popup-code-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-alt);
  border: 1.5px solid rgba(139, 69, 19, 0.3);
  border-radius: 2px;
  padding: 12px 16px;
  margin-bottom: 10px;
}
#welcome-popup-code-text {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--accent);
  letter-spacing: 0.06em;
  flex: 1;
}
.welcome-popup-copy-btn {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: #FAF6F0;
  border: none;
  padding: 6px 12px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 200ms ease;
  white-space: nowrap;
}
.welcome-popup-copy-btn:hover { background: #6b3410; }
.welcome-popup-copy-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.welcome-popup-code-hint {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}
.welcome-popup-legal {
  font-size: 11px;
  color: rgba(74, 53, 40, 0.6);
  margin-top: 14px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .welcome-popup-card {
    grid-template-columns: 1fr;
    max-height: 88vh;
  }
  .welcome-popup-img { display: none; }
  .welcome-popup-body { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .welcome-popup-overlay { transition: none; }
}

/* â”€â”€ CITA PAGE (/cita/) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cita-hero {
  margin-top: var(--header-h);
  padding: 64px 40px 40px;
  text-align: center;
  background: linear-gradient(180deg, rgba(139, 69, 19, 0.06), transparent);
  border-bottom: 1px solid rgba(139, 69, 19, 0.12);
}
.cita-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  margin-bottom: 12px;
}
.cita-hero p {
  font-size: 15px;
  color: var(--text-soft);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.65;
}

.cita-wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.cita-form { display: flex; flex-direction: column; gap: 20px; }

.cita-field { display: flex; flex-direction: column; gap: 6px; }
.cita-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.cita-label span { color: var(--accent); }

.cita-input, .cita-select, .cita-textarea {
  width: 100%;
  padding: 13px 14px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  border: 1.5px solid rgba(139, 69, 19, 0.25);
  background: var(--white);
  color: var(--text);
  border-radius: 2px;
  transition: border-color 200ms ease;
  -webkit-appearance: none;
  appearance: none;
}
.cita-input:focus, .cita-select:focus, .cita-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.cita-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B4513' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.cita-textarea { resize: vertical; min-height: 100px; }

.cita-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.cita-radio-group { display: flex; flex-direction: column; gap: 10px; }
.cita-radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  padding: 10px 14px;
  border: 1.5px solid rgba(139, 69, 19, 0.18);
  border-radius: 2px;
  transition: border-color 200ms ease, background 200ms ease;
}
.cita-radio-option:has(input:checked) {
  border-color: var(--accent);
  background: rgba(139, 69, 19, 0.05);
}
.cita-radio-option input[type="radio"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

.cita-submit {
  width: 100%;
  padding: 16px 20px;
  background: var(--accent);
  color: #FAF6F0;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 200ms ease;
  margin-top: 8px;
}
.cita-submit:hover:not(:disabled) { background: #6b3410; }
.cita-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.cita-submit:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.cita-feedback {
  display: none;
  padding: 16px;
  border-radius: 2px;
  font-size: 14px;
  line-height: 1.6;
}
.cita-feedback--ok {
  background: rgba(46, 125, 50, 0.08);
  border: 1px solid rgba(46, 125, 50, 0.3);
  color: #1b5e20;
}
.cita-feedback--err {
  background: rgba(198, 40, 40, 0.08);
  border: 1px solid rgba(198, 40, 40, 0.3);
  color: #b71c1c;
}

.cita-success {
  display: none;
  text-align: center;
  padding: 60px 20px;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cita-success-icon {
  width: 56px;
  height: 56px;
  background: rgba(139, 69, 19, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.cita-success h2 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
}
.cita-success p {
  font-size: 15px;
  color: var(--text-soft);
  max-width: 400px;
  line-height: 1.65;
}

@media (max-width: 600px) {
  .cita-row { grid-template-columns: 1fr; }
  .cita-hero { padding: 48px 20px 32px; }
  .cita-wrap { padding: 32px 16px 60px; }
}

/* â”€â”€ NEWSLETTER CONFIRMADO PAGE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.nl-confirm-wrap {
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}
.nl-confirm-card {
  max-width: 480px;
  text-align: center;
}
.nl-confirm-icon {
  width: 64px;
  height: 64px;
  background: rgba(139, 69, 19, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin: 0 auto 24px;
}
.nl-confirm-card h1 {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  margin-bottom: 12px;
}
.nl-confirm-card p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 32px;
}
.nl-confirm-card a {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  padding: 12px 28px;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  border-radius: 2px;
  transition: background 200ms ease, color 200ms ease;
}
.nl-confirm-card a:hover { background: var(--accent); color: #FAF6F0; }

/* â”€â”€ ADMIN NEWSLETTER PAGE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.nl-admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.nl-admin-table th {
  text-align: left;
  padding: 10px 12px;
  background: #f4ece2;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  border-bottom: 2px solid rgba(139, 69, 19, 0.2);
}
.nl-admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(139, 69, 19, 0.1);
  color: var(--text);
}
.nl-admin-table tr:hover td { background: rgba(139, 69, 19, 0.04); }
.nl-status-confirmed { color: #2e7d32; font-weight: 600; }
.nl-status-pending   { color: #e65100; }

/* === AFINADO 2026-05-19 — solo fixes funcionales, sin variar estética === */

/* ── E. Cart drawer: asegurar hidden inicial cuando está cerrado ──────────── */
/* El drawer usa translateX(100%) como hidden — ya correcto en la base.
   Reforzamos con visibility para que no sea tab-accesible ni aparezca en
   screenshots automáticos mientras está cerrado. */
[data-cart-drawer]:not(.open) {
  visibility: hidden;
}
[data-cart-drawer].open {
  visibility: visible;
}



/* NAVFIX-DROPDOWNS */
header nav .nav-item { position: relative; display: inline-flex; align-items: center; }
header nav .nav-item > a { display: inline-block; padding: 12px 4px; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 210px;
  background: var(--bg); border: 1px solid rgba(139,69,19,0.12);
  box-shadow: 0 14px 34px rgba(26,15,8,0.16); border-radius: 4px; padding: 10px 0;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease); z-index: 250;
}
.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; }
.dropdown-menu a { padding: 9px 22px !important; font-size: 12px; letter-spacing: 0.1em; white-space: nowrap; }
.dropdown-menu a::after { display: none !important; }
.dropdown-menu a:hover { color: var(--accent); background: rgba(139,69,19,0.05); }
.mobile-nav .mobile-sub { display: flex; flex-direction: column; padding: 2px 0 6px 14px; }
.mobile-nav .mobile-sub a { font-size: 13px; text-transform: none; letter-spacing: 0.04em; color: var(--text-soft,#6b5040); padding: 9px 0; border-bottom: 1px solid rgba(139,69,19,0.06); }
.mobile-nav .mobile-sub a:hover { color: var(--accent); }

.btn-fav--active { color: var(--accent) !important; border-color: var(--accent) !important; }

.header-account-link { color: var(--text); display: inline-flex; align-items: center; }
.header-account-link:hover { color: var(--accent); }

/* ===== MENU MEZCLA (21/05/2026) — mega-menú con foto + luz al pasar el ratón ===== */
/* Corazón de favoritos sobre la foto (el "circulito blanco"): círculo sólido + sombra + cobre */
.wishlist-btn{background:#fff !important;border:none !important;box-shadow:0 2px 8px rgba(0,0,0,.24) !important;color:#8B4513 !important;}
.wishlist-btn:hover{background:#fff !important;color:var(--accent) !important;}
.wishlist-btn--active{color:var(--accent) !important;}

/* Desplegables: fondo oscuro a juego con el header, texto calmado; la LUZ se enciende SOLO en hover */
.dropdown-menu{background:linear-gradient(180deg,#241509,#170c06) !important;border:1px solid rgba(196,161,106,.30) !important;box-shadow:0 18px 44px rgba(0,0,0,.5) !important;}
.dropdown-menu a{color:#cbb89a !important;-webkit-text-fill-color:currentColor;text-shadow:none !important;background:transparent !important;transition:color .25s ease,text-shadow .3s ease,padding .25s var(--ease) !important;}
.dropdown-menu a:hover{color:#fff7e4 !important;text-shadow:0 0 6px rgba(255,232,168,.95),0 0 16px rgba(196,161,106,.6) !important;}

/* Mega-menú Tienda: lista + foto que cambia al pasar (CSS :has, sin JS) */
.dropdown-menu--mega{display:flex !important;flex-direction:row !important;align-items:stretch !important;width:560px;left:0;padding:0 !important;overflow:hidden;}
.dropdown-menu--mega .mega-list{width:46%;padding:14px 0;flex:0 0 46%;}
.dropdown-menu--mega .mega-list a{display:block;padding:9px 24px !important;font-size:12px;letter-spacing:.1em;text-transform:uppercase;}
.dropdown-menu--mega .mega-photos{width:54%;flex:1 1 54%;position:relative;background:#0e0805;min-height:330px;}
.dropdown-menu--mega .mega-photos .mp{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.06);transition:opacity .5s var(--ease),transform 1s var(--ease);}
.dropdown-menu--mega .mega-photos .mp:first-child{opacity:1;transform:scale(1);}
.dropdown-menu--mega:has(.mega-cat[data-cat="vestidos"]:hover) .mp-vestidos{opacity:1;transform:scale(1);z-index:3}
.dropdown-menu--mega:has(.mega-cat[data-cat="punto"]:hover) .mp-punto{opacity:1;transform:scale(1);z-index:3}
.dropdown-menu--mega:has(.mega-cat[data-cat="pantalones"]:hover) .mp-pantalones{opacity:1;transform:scale(1);z-index:3}
.dropdown-menu--mega:has(.mega-cat[data-cat="camisas"]:hover) .mp-camisas{opacity:1;transform:scale(1);z-index:3}
.dropdown-menu--mega:has(.mega-cat[data-cat="abrigos"]:hover) .mp-abrigos{opacity:1;transform:scale(1);z-index:3}
.dropdown-menu--mega:has(.mega-cat[data-cat="faldas"]:hover) .mp-faldas{opacity:1;transform:scale(1);z-index:3}
.dropdown-menu--mega:has(.mega-cat[data-cat="blazers"]:hover) .mp-blazers{opacity:1;transform:scale(1);z-index:3}
.dropdown-menu--mega:has(.mega-cat[data-cat="monos"]:hover) .mp-monos{opacity:1;transform:scale(1);z-index:3}

/* ===== HEADER GRANDE + ICONOS (21/05/2026) ===== */
/* Header con más presencia (igual, solo más grande) en todas las páginas */
:root{ --header-h: 140px; }
@media (max-width:768px){ :root{ --header-h: 108px; } }
header .logo svg, header .logo .logo-img{ height:124px !important; }
@media (max-width:768px){ header .logo svg, header .logo .logo-img{ height:90px !important; } }

/* Iconos del header: color claro crema-oro para CONTRASTAR con la barra oscura
   + leve resplandor dorado (se ven "iluminados") */
header .header-icons a, header .header-icons button,
header .header-account-link, header .wishlist-header-link, header .cart-toggle{
  color:#f4e7c9 !important;
}
header .header-icons svg{ filter: drop-shadow(0 0 5px rgba(232,204,138,.45)); }

/* Legibilidad extra solo en header transparente (por si alguna página lo usa) */
header:not(.solid):not(.scrolled) .header-icons svg,
header:not(.solid):not(.scrolled) nav[aria-label] a{ filter: drop-shadow(0 0 3px rgba(255,255,255,.62)); }

/* Al pasar el ratón: la luz se enciende fuerte (dorado), como el menú */
.header-icons a, .header-icons button, .header-account-link, .wishlist-header-link, .cart-toggle, .header-icons svg{
  transition: filter .25s ease, color .2s ease;
}
.header-icons a:hover svg, .header-icons button:hover svg, .header-account-link:hover svg,
.wishlist-header-link:hover svg, .cart-toggle:hover svg{
  filter: drop-shadow(0 0 8px rgba(255,238,180,1)) drop-shadow(0 0 16px rgba(196,161,106,.7)) !important;
}
.header-icons a:hover, .header-icons button:hover, .header-account-link:hover,
.wishlist-header-link:hover, .cart-toggle:hover{ color:#fff7e4 !important; }

/* ===== LUCIE SEARCH + glow más sutil (21/05/2026) ===== */
.search-toggle{ background:none; border:none; padding:6px; cursor:pointer; color:inherit; display:inline-flex; align-items:center; }
.lucie-search{ position:fixed; inset:0; z-index:300; display:none; }
.lucie-search.open{ display:block; }
.ls-backdrop{ position:absolute; inset:0; background:rgba(20,11,6,.55); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px); }
.ls-panel{ position:relative; max-width:680px; margin:8vh auto 0; background:linear-gradient(180deg,#241509,#190e07); border:1px solid rgba(196,161,106,.3); border-radius:12px; box-shadow:0 30px 80px rgba(0,0,0,.6); overflow:hidden; animation:lsIn .25s ease; }
@keyframes lsIn{ from{opacity:0; transform:translateY(-12px)} to{opacity:1; transform:none} }
.ls-bar{ display:flex; align-items:center; gap:12px; padding:16px 18px; border-bottom:1px solid rgba(196,161,106,.2); color:#e8cc8a; }
.ls-input{ flex:1; background:none; border:none; outline:none; color:#f4e7c9; font-size:18px; font-family:inherit; }
.ls-input::placeholder{ color:#9a8463; }
.ls-close{ background:none; border:none; color:#cbb89a; font-size:26px; cursor:pointer; line-height:1; }
.ls-close:hover{ color:#fff7e4; }
.ls-results{ max-height:60vh; overflow-y:auto; padding:6px 0 14px; }
.ls-group{ padding:6px 0; }
.ls-glabel{ font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:#9a8463; padding:8px 20px 4px; margin:0; }
.ls-sec{ display:block; padding:10px 20px; color:#e7d9bb; font-size:14px; letter-spacing:.04em; text-decoration:none; }
.ls-sec:hover{ background:rgba(196,161,106,.12); color:#fff7e4; }
.ls-prod{ display:flex; align-items:center; gap:12px; padding:8px 20px; text-decoration:none; color:#e7d9bb; }
.ls-prod:hover{ background:rgba(196,161,106,.12); }
.ls-prod img{ width:42px; height:54px; object-fit:cover; border-radius:4px; background:#0e0805; }
.ls-pn{ flex:1; font-size:14px; }
.ls-pp{ color:#e8cc8a; font-size:13px; }
.ls-empty{ padding:24px 20px; color:#9a8463; font-style:italic; text-align:center; }
@media(max-width:600px){ .ls-panel{ margin:0; height:100%; border-radius:0; max-width:100%; } .ls-results{ max-height:none; } }

/* Glow del texto un poco más sutil */
.dropdown-menu a:hover{ text-shadow:0 0 4px rgba(255,232,168,.6),0 0 9px rgba(196,161,106,.32) !important; }
header .header-icons svg{ filter: drop-shadow(0 0 4px rgba(232,204,138,.32)) !important; }

/* ===== HEADER MÓVIL SEGURO (21/05/2026) ===== */
@media (max-width:768px){
  header .header-icons{ gap:9px; }
  header .header-icons .search-toggle svg,
  header .header-icons .wishlist-header-link svg,
  header .header-icons .header-account-link svg,
  header .header-icons .cart-toggle svg{ width:19px; height:19px; }
  /* el selector de idioma se saca del header (ocupa demasiado) y va al menú */
  header .lang-switcher-inner{ display:none !important; }
}
/* selector de idioma dentro del menú móvil */
#mobile-nav .lang-switcher-inner{ display:flex !important; gap:8px; flex-wrap:wrap; margin-top:18px; padding-top:16px; border-top:1px solid rgba(139,69,19,.18); }
#mobile-nav .lang-switcher-inner .lang-btn{ padding:6px 12px; }
