/* =============================================
   KINDORA — Accesorios de lectura premium
   Paleta: Durazno #F9F4EE · Marrón #4A3728 · Sepia #D4A373
   Tipografía: Literata (Google Fonts)
   ============================================= */

/* ── VARIABLES ── */
:root {
  --cream:        #F9F4EE;
  --brown:        #4A3728;
  --sepia:        #D4A373;
  --rose:         #C9967A;
  --rose-light:   #EDD9C8;
  --brown-mid:    #7D5A47;
  --brown-light:  #A67B5B;
  --cream-dark:   #EDE4D6;
  --cream-darker: #E2D5C3;
  --ink:          #2E1F12;
  --green-ok:     #4a7c59;
  --red-err:      #a0332b;
  --shadow-soft:  rgba(74, 55, 40, 0.12);
  --shadow-med:   rgba(74, 55, 40, 0.20);
  --transition:   all 0.28s cubic-bezier(0.25, 0.1, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Literata', Georgia, serif;
  background-color: var(--cream);
  color: var(--brown);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Paper texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── LAYOUT ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; position: relative; z-index: 1; }

/* ── TYPOGRAPHY ── */
h1 { font-size: clamp(40px, 5vw, 72px); font-weight: 300; letter-spacing: 0.06em; line-height: 1.1; color: var(--brown); }
h1 em { font-style: italic; color: var(--rose); }
h2 { font-size: clamp(28px, 4vw, 52px); font-weight: 300; letter-spacing: 0.08em; line-height: 1.15; color: var(--brown); }
h2 em { font-style: italic; color: var(--rose); }
h3 { font-size: 22px; font-weight: 400; letter-spacing: 0.04em; color: var(--brown); }

/* ── WATERCOLOR BG ── */
.watercolor-bg {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; overflow: hidden;
}

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 48px;
  background: rgba(249, 244, 238, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid rgba(212, 163, 115, 0.25);
  transition: box-shadow 0.3s ease;
}

.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-text { font-size: 20px; font-weight: 300; letter-spacing: 0.22em; color: var(--brown); text-transform: lowercase; }
.logo-text em { font-style: italic; font-weight: 400; color: var(--sepia); }

.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }
.nav-links a {
  font-size: 12px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brown-mid); text-decoration: none; transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 0.5px; background: var(--sepia); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--brown); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.hamburguesa { display: none; background: none; border: none; cursor: pointer; font-size: 20px; color: var(--brown); padding: 4px; }

#carrito-btn-main {
  display: flex; align-items: center; gap: 8px; position: relative;
  font-family: 'Literata', serif; font-size: 13px; letter-spacing: 0.08em;
  color: var(--brown); background: none; border: 0.5px solid var(--sepia);
  padding: 9px 20px; cursor: pointer; transition: var(--transition);
}
#carrito-btn-main:hover { background: var(--sepia); color: var(--cream); }
.cart-count {
  font-size: 10px; background: var(--brown); color: var(--cream);
  min-width: 18px; height: 18px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.6); transition: var(--transition);
}
.cart-count.visible { opacity: 1; transform: scale(1); }

/* ── BUTTONS ── */
.btn-primary {
  font-family: 'Literata', serif; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 400; color: var(--cream); background: var(--brown); border: none;
  padding: 15px 36px; cursor: pointer; text-decoration: none; display: inline-flex;
  align-items: center; justify-content: center; gap: 8px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0; background: var(--ink);
  transform: translateX(-101%); transition: transform 0.3s ease;
}
.btn-primary span, .btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover::before { transform: translateX(0); }

.btn-secondary {
  font-family: 'Literata', serif; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brown); background: none; border: 0.5px solid rgba(74, 55, 40, 0.35);
  padding: 15px 28px; cursor: pointer; text-decoration: none; display: inline-flex;
  align-items: center; justify-content: center; gap: 8px; transition: var(--transition);
}
.btn-secondary:hover { border-color: var(--sepia); color: var(--brown-mid); }
.btn-block { width: 100%; }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; padding-top: 68px; gap: 80px; position: relative; overflow: hidden;
}
.hero-left { padding: 80px 0 80px 48px; max-width: 640px; animation: fadeUp 1s ease both; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--sepia); margin-bottom: 28px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; display: block; width: 28px; height: 0.5px; background: var(--sepia);
}
.hero-sub { font-size: 15px; font-weight: 400; line-height: 1.75; color: var(--brown-mid); max-width: 420px; margin-bottom: 48px; }
.hero-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 56px; padding-top: 40px;
  border-top: 0.5px solid rgba(212, 163, 115, 0.3);
}
.stat-num { display: block; font-size: 26px; font-weight: 300; letter-spacing: 0.04em; color: var(--brown); margin-bottom: 4px; }
.stat-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sepia); }

.hero-right {
  display: flex; align-items: center; justify-content: center;
  padding: 80px 48px 80px 0; animation: fadeUp 1s ease 0.18s both;
}

/* ═══════════════════════════════════════════
   SHOWCASE CAROUSEL
   ═══════════════════════════════════════════ */
.showcase-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 420px;
  user-select: none;
  -webkit-user-select: none;
}
.showcase-glow {
  position: absolute;
  top: 170px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(212,163,115,0.22) 0%, rgba(212,163,115,0.08) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.showcase-stage {
  position: relative;
  width: 420px;
  height: 368px;
  perspective: 1600px;
  z-index: 1;
}
.showcase-brackets {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 254px;
  height: 336px;
  pointer-events: none;
  z-index: 5;
}
.showcase-brackets::before,
.showcase-brackets::after,
.showcase-brackets > span::before,
.showcase-brackets > span::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--sepia);
  border-style: solid;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}
.showcase-brackets::before       { top: -3px;    left: -3px;   border-width: 1px 0 0 1px; }
.showcase-brackets::after        { top: -3px;    right: -3px;  border-width: 1px 1px 0 0; }
.showcase-brackets > span::before { bottom: -3px; left: -3px;   border-width: 0 0 1px 1px; }
.showcase-brackets > span::after  { bottom: -3px; right: -3px;  border-width: 0 1px 1px 0; }
.showcase-card {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 240px;
  height: 320px;
  overflow: hidden;
  will-change: transform, opacity;
  transition: transform 0.72s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.72s ease, box-shadow 0.72s ease;
}
.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s ease;
}
.showcase-card.no-transition { transition: none !important; }
.showcase-card[data-state="active"] {
  transform: translateX(-50%) translateZ(0) rotateY(0deg);
  opacity: 1;
  z-index: 3;
  box-shadow: 0 28px 70px rgba(74, 55, 40, 0.22), 0 6px 18px rgba(74, 55, 40, 0.10);
  border: 0.5px solid rgba(212, 163, 115, 0.42);
}
.showcase-card[data-state="active"]:hover img { transform: scale(1.04); }
.showcase-card[data-state="prev"] {
  transform: translateX(-115%) translateZ(-88px) rotateY(14deg) scale(0.86);
  opacity: 0.48;
  z-index: 2;
  cursor: pointer;
}
.showcase-card[data-state="next"] {
  transform: translateX(15%) translateZ(-88px) rotateY(-14deg) scale(0.86);
  opacity: 0.48;
  z-index: 2;
  cursor: pointer;
}
.showcase-card[data-state="far-left"],
.showcase-card[data-state="far-right"] {
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
.showcase-card[data-state="far-left"] { transform: translateX(-188%) translateZ(-200px) scale(0.62); }
.showcase-card[data-state="far-right"] { transform: translateX(88%) translateZ(-200px) scale(0.62); }

.showcase-info {
  width: 240px;
  text-align: center;
  margin-top: 22px;
  z-index: 1;
}
.sc-counter, .sc-categoria { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brown-light); margin-bottom: 5px; }
.sc-name { font-size: 21px; font-weight: 300; font-style: italic; color: var(--brown); line-height: 1.2; margin-bottom: 7px; }
.sc-price { font-size: 14px; font-weight: 300; letter-spacing: 0.07em; color: var(--brown-mid); margin-bottom: 16px; }
.sc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sepia); text-decoration: none; transition: color 0.22s ease, gap 0.22s ease;
}
.sc-link:hover { color: var(--brown); gap: 14px; }
.sc-line { display: block; width: 20px; height: 0.5px; background: currentColor; transition: width 0.22s ease; }
.sc-link:hover .sc-line { width: 28px; }
.showcase-info.fading .sc-counter,
.showcase-info.fading .sc-categoria,
.showcase-info.fading .sc-name,
.showcase-info.fading .sc-price { opacity: 0; transform: translateY(6px); transition: all 0.23s ease; }

.sc-progress-wrap {
  width: 240px;
  height: 1px;
  background: rgba(212, 163, 115, 0.15);
  margin-top: 22px;
  z-index: 1;
  overflow: hidden;
}
.sc-progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--sepia), var(--rose));
  width: 0%;
}
.sc-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  z-index: 1;
}
.sc-nav-btn {
  width: 34px;
  height: 34px;
  border: 0.5px solid rgba(212, 163, 115, 0.4);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown-mid);
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.sc-nav-btn:hover { background: var(--sepia); color: var(--cream); border-color: var(--sepia); }
.sc-dots { display: flex; gap: 7px; align-items: center; }
.sc-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(212, 163, 115, 0.3);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.28s ease, transform 0.28s ease;
}
.sc-dot.active { background: var(--sepia); transform: scale(1.5); }

@media (max-width: 768px) {
  .showcase-carousel { width: 340px; }
  .showcase-stage    { width: 340px; height: 310px; }
  .showcase-card     { width: 200px; height: 267px; top: 10px; }
  .showcase-brackets { width: 208px; height: 277px; top: 10px; }
  .showcase-glow     { width: 280px; height: 280px; top: 130px; }
  .showcase-info, .sc-progress-wrap { width: 200px; }
}
@media (max-width: 480px) {
  .showcase-carousel { width: 100%; max-width: 320px; }
  .showcase-stage    { width: 320px; height: 290px; }
  .showcase-card     { width: 180px; height: 240px; }
  .showcase-brackets { width: 188px; height: 250px; }
  .showcase-info, .sc-progress-wrap { width: 180px; }
  .sc-name { font-size: 18px; }
}

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--sepia); margin-bottom: 16px;
}
.section-sub { font-size: 15px; line-height: 1.7; color: var(--brown-mid); max-width: 480px; margin: 0 auto; }

/* ── FEATURE STRIP ── */
.feature-strip {
  background: var(--cream-darker);
  border-top: 0.5px solid rgba(212, 163, 115, 0.3);
  border-bottom: 0.5px solid rgba(212, 163, 115, 0.3);
  padding: 48px 0; position: relative; z-index: 1;
}
.features-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.feature-item {
  padding: 0 36px; border-right: 0.5px solid rgba(212, 163, 115, 0.3);
  text-align: center;
}
.feature-item:first-child { padding-left: 0; }
.feature-item:last-child  { border-right: none; padding-right: 0; }
.feature-icon { width: 30px; height: 30px; margin: 0 auto 14px; opacity: 0.65; }
.feature-title { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brown); margin-bottom: 6px; }
.feature-desc  { font-size: 12px; line-height: 1.65; color: var(--brown-mid); font-style: italic; }

/* ── PRODUCTS SECTION ── */
.products-section { padding: 100px 0 120px; position: relative; z-index: 1; }
.filters-bar {
  display: flex; align-items: center; gap: 12px; margin-bottom: 52px; flex-wrap: wrap;
}
.search-wrapper { position: relative; flex: 1; min-width: 200px; }
.search-wrapper svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--brown-light); pointer-events: none; }
.search-input {
  font-family: 'Literata', serif; font-size: 13px; color: var(--brown); font-style: italic;
  background: var(--cream-dark); border: 0.5px solid rgba(212, 163, 115, 0.4);
  padding: 10px 16px 10px 38px; width: 100%; outline: none; transition: var(--transition);
}
.search-input:focus { border-color: var(--sepia); background: var(--cream); }
.filter-select {
  font-family: 'Literata', serif; font-size: 13px; color: var(--brown);
  background: var(--cream-dark); border: 0.5px solid rgba(212, 163, 115, 0.4);
  padding: 10px 16px; outline: none; cursor: pointer;
}
.price-filters { display: flex; align-items: center; gap: 8px; }
.price-input {
  font-family: 'Literata', serif; font-size: 13px; color: var(--brown);
  background: var(--cream-dark); border: 0.5px solid rgba(212, 163, 115, 0.4);
  padding: 10px 14px; width: 90px; outline: none;
}
.btn-filter {
  font-family: 'Literata', serif; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cream); background: var(--sepia); border: none; padding: 10px 18px; cursor: pointer;
}
.btn-filter:hover { background: var(--brown); }
.btn-reset {
  font-family: 'Literata', serif; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brown-mid); background: none; border: 0.5px solid rgba(212, 163, 115, 0.4);
  padding: 10px 16px; cursor: pointer; display: flex; align-items: center; gap: 6px;
}
.btn-reset:hover { border-color: var(--brown); color: var(--brown); }

#galeria-productos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
  background: rgba(212, 163, 115, 0.12);
  border: 0.5px solid rgba(212, 163, 115, 0.2);
}
.loader-wrapper { text-align: center; padding: 80px; color: var(--brown-mid); grid-column: 1 / -1; }
.loader {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(212, 163, 115, 0.3);
  border-top-color: var(--sepia); border-radius: 50%;
  margin: 0 auto 16px; animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.producto-card {
  background: var(--cream); cursor: pointer;
  position: relative; overflow: hidden; transition: var(--transition);
  display: flex; flex-direction: column;
}
.producto-card:hover { transform: translateY(-3px); box-shadow: 0 20px 50px var(--shadow-med); z-index: 2; }
.producto-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
  background: var(--cream-dark); transition: transform 0.5s ease;
}
.producto-card:hover .producto-img { transform: scale(1.05); }
.producto-card > div:not(.card-acciones) { padding: 20px 24px; flex: 1; }
.producto-nombre { font-size: 16px; font-weight: 400; color: var(--brown); margin-bottom: 6px; line-height: 1.3; }
.producto-precio { font-size: 20px; font-weight: 300; color: var(--brown); letter-spacing: 0.04em; margin-bottom: 4px; }
.producto-stock  { font-size: 12px; color: var(--brown-light); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.card-acciones {
  display: flex; align-items: center; gap: 10px;
  padding: 0 24px 22px; border-top: 0.5px solid rgba(212, 163, 115, 0.2);
  padding-top: 16px;
}
.cantidad-input {
  font-family: 'Literata', serif; font-size: 13px; color: var(--brown);
  background: var(--cream-dark); border: 0.5px solid rgba(212, 163, 115, 0.4);
  padding: 8px 10px; width: 60px; text-align: center;
}
.boton-agregar {
  font-family: 'Literata', serif; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brown); background: none; border: 0.5px solid rgba(74, 55, 40, 0.35);
  padding: 9px 16px; cursor: pointer; flex: 1;
}
.boton-agregar:hover:not(.agotado) { background: var(--brown); color: var(--cream); border-color: var(--brown); }
.boton-agregar.agotado { opacity: 0.45; cursor: not-allowed; }
.boton-detalles {
  font-family: 'Literata', serif; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sepia); background: none; border: none; padding: 9px 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.boton-detalles:hover { color: var(--brown); }

#paginacion { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
#paginacion button {
  font-family: 'Literata', serif; font-size: 13px; color: var(--brown-mid);
  background: none; border: 0.5px solid rgba(212, 163, 115, 0.4);
  padding: 8px 16px; cursor: pointer;
}
#paginacion button:hover { background: var(--cream-dark); color: var(--brown); }
#paginacion button.pagina-activa { background: var(--brown); color: var(--cream); border-color: var(--brown); }

/* ── MODAL ── */
#producto-modal {
  display: none; position: fixed; inset: 0;
  background: rgba(30, 15, 5, 0.75); backdrop-filter: blur(8px);
  z-index: 1200; align-items: center; justify-content: center; padding: 24px;
}
.modal-content {
  background: var(--cream); max-width: 880px; width: 100%; max-height: 90vh;
  overflow-y: auto; position: relative; animation: modalIn 0.25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.97) translateY(12px); } to { opacity: 1; transform: none; } }
.cerrar-modal {
  position: absolute; top: 16px; right: 16px; background: var(--cream-dark);
  border: 0.5px solid rgba(212, 163, 115, 0.4); width: 36px; height: 36px;
  cursor: pointer; font-size: 18px; color: var(--brown-mid); display: flex;
  align-items: center; justify-content: center; z-index: 10;
}
.cerrar-modal:hover { background: var(--sepia); color: var(--cream); }
.modal-flex { display: grid; grid-template-columns: 1fr 1fr; }
.modal-carrusel { background: var(--cream-dark); }
.modal-img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.modal-thumbnails { display: flex; gap: 6px; padding: 12px; }
.modal-thumbnail {
  width: 60px; height: 60px; object-fit: cover; cursor: pointer;
  border: 0.5px solid rgba(212, 163, 115, 0.3); opacity: 0.65;
}
.modal-thumbnail.active, .modal-thumbnail:hover { opacity: 1; border-color: var(--sepia); }
.modal-info { padding: 36px; }
.modal-nombre { font-size: 22px; font-weight: 400; color: var(--brown); margin-bottom: 12px; }
.modal-precio { font-size: 26px; font-weight: 300; color: var(--brown); letter-spacing: 0.04em; margin-bottom: 10px; }
.modal-stock { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.modal-stock.disponible { color: var(--green-ok); }
.modal-stock.agotado { color: var(--rose); }
.modal-descripcion { font-size: 14px; line-height: 1.75; color: var(--brown-mid); font-style: italic; margin-bottom: 16px; }
.modal-acciones { display: flex; gap: 10px; align-items: center; margin-top: 24px; }
.cantidad-modal-input {
  font-family: 'Literata', serif; font-size: 14px; color: var(--brown);
  background: var(--cream-dark); border: 0.5px solid rgba(212, 163, 115, 0.4);
  padding: 12px 14px; width: 70px; text-align: center;
}
.boton-agregar-modal {
  font-family: 'Literata', serif; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream); background: var(--brown); border: none; padding: 13px 24px; cursor: pointer;
  flex: 1;
}
.boton-agregar-modal:hover:not(.agotado) { background: var(--ink); }
.boton-agregar-modal.agotado { opacity: 0.45; cursor: not-allowed; background: var(--brown-light); }

/* ── CART SIDEBAR ── */
.carrito-overlay {
  position: fixed; inset: 0; background: rgba(30, 15, 5, 0.55);
  backdrop-filter: blur(4px); z-index: 500; opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.carrito-overlay.active { opacity: 1; visibility: visible; }
.carrito-panel {
  position: fixed; top: 0; right: -100%; width: 100%; max-width: 400px; height: 100%;
  background: var(--cream); border-left: 0.5px solid rgba(212, 163, 115, 0.3);
  z-index: 600; display: flex; flex-direction: column;
  transition: right 0.35s cubic-bezier(0.25, 0.1, 0.2, 1);
}
.carrito-panel.open { right: 0; }
.cart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px; border-bottom: 0.5px solid rgba(212, 163, 115, 0.25);
}
.cerrar-carrito {
  background: var(--cream-dark); border: 0.5px solid rgba(212, 163, 115, 0.3);
  width: 34px; height: 34px; cursor: pointer; font-size: 18px; color: var(--brown-mid);
  display: flex; align-items: center; justify-content: center;
}
.cerrar-carrito:hover { background: var(--sepia); color: var(--cream); }
#lista-carrito {
  flex: 1; overflow-y: auto; padding: 20px 24px; list-style: none;
}
.carrito-vacio { text-align: center; color: var(--brown-light); padding: 60px 0; font-style: italic; }
.carrito-item {
  display: flex; gap: 14px; margin-bottom: 20px; padding-bottom: 20px;
  border-bottom: 0.5px solid rgba(212, 163, 115, 0.2);
}
.carrito-item-img {
  width: 64px; height: 64px; object-fit: cover; background: var(--cream-dark);
  border: 0.5px solid rgba(212, 163, 115, 0.25); flex-shrink: 0;
}
.carrito-item-info { flex: 1; }
.carrito-item-nombre { font-size: 14px; font-weight: 400; color: var(--brown); margin-bottom: 3px; }
.carrito-item-subtotal { font-size: 16px; font-weight: 300; color: var(--brown); margin-bottom: 10px; }
.carrito-item-controls { display: flex; align-items: center; gap: 8px; }
.carrito-item-controls button {
  font-family: 'Literata', serif; font-size: 14px; color: var(--brown-mid);
  background: var(--cream-dark); border: 0.5px solid rgba(212, 163, 115, 0.3);
  width: 26px; height: 26px; cursor: pointer;
}
.carrito-item-controls button:hover { background: var(--sepia); color: var(--cream); }
.cart-footer {
  padding: 20px 24px; border-top: 0.5px solid rgba(212, 163, 115, 0.25);
  background: var(--cream-dark); display: flex; flex-direction: column; gap: 10px;
}
.cart-total { display: flex; justify-content: space-between; margin-bottom: 4px; }
.cart-total span { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sepia); }
.cart-total strong { font-size: 22px; font-weight: 300; color: var(--brown); }

/* ── EDITORIAL ── */
.editorial-section { padding: 120px 0; position: relative; z-index: 1; }
.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.editorial-image { position: relative; }
.editorial-frame {
  background: var(--cream-dark); aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.editorial-frame::before {
  content: ''; position: absolute; inset: 16px;
  border: 0.5px solid rgba(212, 163, 115, 0.4); pointer-events: none; z-index: 2;
}
.editorial-ornament {
  position: absolute; bottom: -20px; right: -20px;
  width: 140px; height: 140px; border: 0.5px solid rgba(212, 163, 115, 0.3);
}
.editorial-content blockquote {
  font-size: 20px; font-weight: 300; font-style: italic; line-height: 1.55;
  color: var(--brown); letter-spacing: 0.02em;
  border-left: 2px solid var(--sepia); padding-left: 28px; margin-bottom: 32px;
}
.editorial-content p { font-size: 15px; line-height: 1.8; color: var(--brown-mid); margin-bottom: 18px; }
.editorial-signature { font-size: 12px; letter-spacing: 0.14em; color: var(--sepia); text-transform: uppercase; margin-top: 36px; }

/* ── TESTIMONIALS ── */
.testimonial-section {
  background: var(--brown); padding: 100px 0; position: relative; z-index: 1; overflow: hidden;
}
.testimonial-section::before {
  content: '\201C'; position: absolute; top: -40px; left: 5%;
  font-size: 280px; font-weight: 300; color: rgba(212, 163, 115, 0.07);
  font-family: 'Literata', serif;
}
.testimonials-inner { max-width: 800px; margin: 0 auto; text-align: center; padding: 0 48px; }
.testimonial-text {
  font-size: 21px; font-weight: 300; font-style: italic; line-height: 1.6;
  color: var(--rose-light); letter-spacing: 0.02em; margin-bottom: 28px;
}
.testimonial-author { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sepia); }
.testimonial-dots { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(212, 163, 115, 0.3); cursor: pointer; }
.dot.active { background: var(--sepia); }

/* ── NEWSLETTER ── */
.newsletter-section { padding: 100px 0; text-align: center; position: relative; z-index: 1; }
.newsletter-card {
  max-width: 580px; margin: 0 auto; padding: 60px;
  background: var(--cream-dark); border: 0.5px solid rgba(212, 163, 115, 0.3); position: relative;
}
.newsletter-card::before, .newsletter-card::after {
  content: ''; position: absolute; width: 40px; height: 40px;
  border-color: var(--sepia); border-style: solid; opacity: 0.4;
}
.newsletter-card::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.newsletter-card::after  { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.newsletter-card h3 { font-size: 26px; font-weight: 300; letter-spacing: 0.08em; margin-bottom: 12px; }
.newsletter-form { display: flex; border: 0.5px solid rgba(74, 55, 40, 0.35); }
.newsletter-form input {
  flex: 1; font-family: 'Literata', serif; font-size: 14px; color: var(--brown);
  background: var(--cream); border: none; padding: 15px 18px; outline: none;
}
.newsletter-form button {
  font-family: 'Literata', serif; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream); background: var(--brown); border: none; padding: 15px 24px; cursor: pointer;
}
.newsletter-form button:hover { background: var(--ink); }

/* ── CONTACT ── */
.contact-section { padding: 80px 0; position: relative; z-index: 1; }
.contact-card {
  display: grid; grid-template-columns: 1fr 1.4fr;
  background: var(--cream-dark); border: 0.5px solid rgba(212, 163, 115, 0.3);
}
.contact-info {
  padding: 52px 44px; background: var(--cream-darker);
  display: flex; flex-direction: column; justify-content: center;
}
.contact-info h3 { font-size: 22px; font-weight: 300; letter-spacing: 0.06em; margin-bottom: 10px; }
.contact-details { display: flex; flex-direction: column; gap: 12px; }
.contact-details a { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--brown-mid); text-decoration: none; }
.contact-details a:hover { color: var(--brown); }
.contact-form { padding: 52px 44px; }
.form-group { margin-bottom: 16px; }
.form-group input, .form-group textarea {
  width: 100%; font-family: 'Literata', serif; font-size: 14px; color: var(--brown);
  background: var(--cream); border: 0.5px solid rgba(212, 163, 115, 0.4);
  padding: 13px 16px; outline: none;
}
.form-success { margin-top: 14px; color: var(--green-ok); font-size: 14px; font-style: italic; }
.hidden { display: none !important; }

/* ── FOOTER ── */
footer {
  background: var(--cream-darker); border-top: 0.5px solid rgba(212, 163, 115, 0.3);
  padding: 64px 0 40px; position: relative; z-index: 1;
}
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 52px;
}
.footer-brand p { font-size: 13px; line-height: 1.7; color: var(--brown-mid); font-style: italic; margin-top: 14px; }
.footer-col h4 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sepia); margin-bottom: 20px; font-weight: 400; }
.footer-col ul { list-style: none; }
.footer-col ul li a { font-size: 14px; color: var(--brown-mid); text-decoration: none; font-style: italic; }
.footer-col ul li a:hover { color: var(--brown); }
.footer-bottom {
  padding-top: 28px; border-top: 0.5px solid rgba(212, 163, 115, 0.22);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-social { display: flex; gap: 20px; }
.footer-social a { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brown-mid); text-decoration: none; }
.footer-social a:hover { color: var(--sepia); }

/* ── FLOATING BTN ── */
.boton-flotante {
  position: fixed; bottom: 32px; right: 32px; z-index: 200;
  width: 44px; height: 44px; background: var(--brown); color: var(--cream);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 18px; transition: var(--transition); opacity: 0; pointer-events: none;
}
.boton-flotante.visible { opacity: 1; pointer-events: auto; }
.boton-flotante:hover { background: var(--ink); }

/* ── TRANSFERENCIA MODAL ── */
#aviso-pre-compra-modal {
  display: none; position: fixed; inset: 0; z-index: 1300;
  background: rgba(30, 15, 5, 0.72); backdrop-filter: blur(10px);
  align-items: center; justify-content: center; padding: 24px;
}
.modal-transferencia-card {
  background: var(--cream); max-width: 500px; width: 100%;
  padding: 48px; position: relative; animation: modalIn 0.25s ease;
  border: 0.5px solid rgba(212, 163, 115, 0.3);
}
.modal-transferencia-card::before, .modal-transferencia-card::after {
  content: ''; position: absolute; width: 32px; height: 32px;
  border-color: var(--sepia); border-style: solid; opacity: 0.5;
}
.modal-transferencia-card::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.modal-transferencia-card::after  { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.mt-icon { font-size: 32px; margin-bottom: 16px; text-align: center; opacity: 0.8; }
.modal-transferencia-card h3 { font-size: 22px; font-weight: 300; letter-spacing: 0.08em; text-align: center; margin-bottom: 8px; }
.mt-subtitle { font-size: 13px; line-height: 1.65; color: var(--brown-mid); font-style: italic; text-align: center; margin-bottom: 28px; }
.mt-cuenta {
  background: var(--cream-dark); border: 0.5px solid rgba(212, 163, 115, 0.3);
  padding: 20px 24px; margin-bottom: 20px;
}
.mt-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0; border-bottom: 0.5px solid rgba(212, 163, 115, 0.15);
  font-size: 14px;
}
.mt-row:last-child { border-bottom: none; }
.mt-total { padding-top: 14px !important; margin-top: 4px; }
.mt-total span { font-size: 13px !important; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sepia) !important; }
.mt-total strong { font-size: 22px !important; font-weight: 300 !important; }
.btn-whatsapp {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Literata', serif; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cream); background: #25A244; border: none;
  padding: 15px 24px; cursor: pointer; text-decoration: none; width: 100%; margin-bottom: 12px;
}
.btn-whatsapp:hover { background: #1d8a38; }
#btn-entendido-aviso {
  font-family: 'Literata', serif; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream); background: var(--brown); border: none; padding: 14px; cursor: pointer; width: 100%;
}
#btn-cancelar-aviso {
  font-family: 'Literata', serif; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brown-mid); background: none; border: 0.5px solid rgba(212, 163, 115, 0.4);
  padding: 12px; cursor: pointer; width: 100%;
}

/* ── NOTIFICATIONS ── */
.notificacion {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(16px);
  font-family: 'Literata', serif; font-size: 13px; letter-spacing: 0.06em;
  padding: 13px 28px; z-index: 1400; opacity: 0;
  transition: all 0.3s ease; pointer-events: none; white-space: nowrap;
}
.notificacion.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.notificacion.exito { background: var(--brown); color: var(--cream); }
.notificacion.error { background: var(--red-err); color: var(--cream); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.no-scroll { overflow: hidden; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .editorial-grid { gap: 60px; }
}
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-left { padding: 60px 24px 0; text-align: center; }
  .hero-right { padding: 0 24px 60px; }
  .hero-eyebrow::before, .hero-eyebrow::after { display: none; }
  .hero-sub { margin: 0 auto 40px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .features-inner { grid-template-columns: 1fr 1fr; }
  .feature-item { border-right: none; padding: 16px 0; border-bottom: 0.5px solid rgba(212,163,115,0.2); }
  .editorial-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-card { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburguesa { display: block; }
  .modal-flex { grid-template-columns: 1fr; }
  .filters-bar { flex-direction: column; align-items: stretch; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .newsletter-card { padding: 36px 24px; }
}




/* ── MODAL DE PRODUCTO - VERSIÓN MEJORADA ── */
#producto-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30, 15, 5, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: var(--cream);
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.25s ease;
  border-radius: 4px;
}

.cerrar-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--cream-dark);
  border: 0.5px solid rgba(212, 163, 115, 0.4);
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-size: 20px;
  color: var(--brown-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.cerrar-modal:hover {
  background: var(--sepia);
  color: var(--cream);
}

.modal-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* ------- CARRUSEL DE IMÁGENES ------- */
.modal-carrusel {
  background: var(--cream-dark);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.modal-img-principal {
  width: 100%;
  max-width: 350px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.modal-thumbnails {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.modal-thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border: 1.5px solid transparent;
  opacity: 0.6;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.modal-thumbnail.active,
.modal-thumbnail:hover {
  opacity: 1;
  border-color: var(--sepia);
  transform: scale(1.05);
}

/* ------- INFO DEL PRODUCTO ------- */
.modal-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-nombre {
  font-size: 26px;
  font-weight: 400;
  color: var(--brown);
  margin-bottom: 12px;
  line-height: 1.2;
}

.modal-precio {
  font-size: 32px;
  font-weight: 300;
  color: var(--brown);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.modal-stock {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.modal-stock.disponible {
  color: var(--green-ok);
}

.modal-stock.agotado {
  color: var(--rose);
}

.modal-descripcion {
  font-size: 14px;
  line-height: 1.75;
  color: var(--brown-mid);
  font-style: italic;
  margin-bottom: 24px;
  padding-right: 10px;
}

.modal-acciones {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}

.cantidad-modal-input {
  font-family: 'Literata', serif;
  font-size: 14px;
  color: var(--brown);
  background: var(--cream-dark);
  border: 0.5px solid rgba(212, 163, 115, 0.4);
  padding: 12px 14px;
  width: 70px;
  text-align: center;
  border-radius: 4px;
}

.boton-agregar-modal {
  font-family: 'Literata', serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--brown);
  border: none;
  padding: 13px 28px;
  cursor: pointer;
  flex: 1;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.boton-agregar-modal:hover:not(.agotado) {
  background: var(--ink);
  transform: translateY(-1px);
}

.boton-agregar-modal.agotado {
  opacity: 0.45;
  cursor: not-allowed;
  background: var(--brown-light);
}

/* ------- RESPONSIVE MODAL ------- */
@media (max-width: 768px) {
  .modal-flex {
    grid-template-columns: 1fr;
  }
  
  .modal-carrusel {
    padding: 20px;
    min-height: auto;
  }
  
  .modal-img-principal {
    max-width: 280px;
  }
  
  .modal-info {
    padding: 28px;
  }
  
  .modal-nombre {
    font-size: 22px;
  }
  
  .modal-precio {
    font-size: 28px;
  }
  
  .modal-thumbnail {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .modal-carrusel {
    padding: 15px;
  }
  
  .modal-img-principal {
    max-width: 220px;
  }
  
  .modal-info {
    padding: 20px;
  }
  
  .modal-thumbnail {
    width: 45px;
    height: 45px;
  }
  
  .modal-acciones {
    flex-direction: column;
  }
  
  .cantidad-modal-input {
    width: 100%;
  }
  
  .boton-agregar-modal {
    width: 100%;
  }
}

/* ── HERO CON CARRUSEL CENTRADO Y MÁS GRANDE ── */
.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1.2fr;  /* Más espacio para el carrusel */
  align-items: center;
  padding-top: 68px;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.hero-left {
  padding: 40px 0 40px 48px;
  max-width: 540px;
  animation: fadeUp 1s ease both;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 48px 40px 0;
  animation: fadeUp 1s ease 0.18s both;
}

/* ═══════════════════════════════════════════
   SHOWCASE CAROUSEL - VERSIÓN MÁS GRANDE
   ═══════════════════════════════════════════ */
.showcase-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 520px;  /* Aumentado de 420px a 520px */
  margin: 0 auto;
  user-select: none;
  -webkit-user-select: none;
}

.showcase-glow {
  position: absolute;
  top: 190px;  /* Ajustado */
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;  /* Aumentado */
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(212,163,115,0.22) 0%, rgba(212,163,115,0.08) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.showcase-stage {
  position: relative;
  width: 520px;  /* Aumentado */
  height: 460px;  /* Aumentado */
  perspective: 1800px;
  z-index: 1;
}

.showcase-brackets {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;  /* Aumentado */
  height: 410px;  /* Aumentado */
  pointer-events: none;
  z-index: 5;
}

.showcase-card {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 300px;  /* Aumentado de 240px a 300px */
  height: 400px;  /* Aumentado de 320px a 400px */
  overflow: hidden;
  will-change: transform, opacity;
  transition: transform 0.72s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.72s ease, box-shadow 0.72s ease;
  border-radius: 8px;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s ease;
}

.showcase-info {
  width: 300px;  /* Aumentado */
  text-align: center;
  margin-top: 28px;
  z-index: 1;
}

.sc-counter, .sc-categoria {
  font-size: 11px;  /* Un poco más grande */
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 6px;
}

.sc-name {
  font-size: 26px;  /* Aumentado */
  font-weight: 300;
  font-style: italic;
  color: var(--brown);
  line-height: 1.2;
  margin-bottom: 8px;
}

.sc-price {
  font-size: 16px;  /* Aumentado */
  font-weight: 300;
  letter-spacing: 0.07em;
  color: var(--brown-mid);
  margin-bottom: 20px;
}

.sc-progress-wrap {
  width: 300px;  /* Aumentado */
  height: 1.5px;
  background: rgba(212, 163, 115, 0.15);
  margin-top: 28px;
  z-index: 1;
  overflow: hidden;
}

.sc-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  z-index: 1;
}

.sc-nav-btn {
  width: 40px;  /* Aumentado */
  height: 40px;
  border: 0.5px solid rgba(212, 163, 115, 0.4);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown-mid);
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
  border-radius: 50%;
}

.sc-nav-btn:hover {
  background: var(--sepia);
  color: var(--cream);
  border-color: var(--sepia);
}

.sc-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.sc-dot {
  width: 7px;  /* Aumentado */
  height: 7px;
  border-radius: 50%;
  background: rgba(212, 163, 115, 0.3);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.28s ease, transform 0.28s ease;
}

.sc-dot.active {
  background: var(--sepia);
  transform: scale(1.6);
}

/* Ajustes responsivos para el carrusel más grande */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }
  
  .showcase-carousel {
    width: 450px;
  }
  
  .showcase-stage {
    width: 450px;
    height: 400px;
  }
  
  .showcase-card {
    width: 260px;
    height: 350px;
  }
  
  .showcase-brackets {
    width: 280px;
    height: 360px;
  }
  
  .showcase-info,
  .sc-progress-wrap {
    width: 260px;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  
  .hero-left {
    padding: 40px 24px 0;
    text-align: center;
    max-width: 100%;
  }
  
  .hero-right {
    padding: 0 24px 40px;
  }
  
  .showcase-carousel {
    width: 420px;
  }
  
  .showcase-stage {
    width: 420px;
    height: 370px;
  }
  
  .showcase-card {
    width: 240px;
    height: 320px;
  }
  
  .showcase-brackets {
    width: 260px;
    height: 335px;
  }
}

@media (max-width: 480px) {
  .showcase-carousel {
    width: 100%;
    max-width: 360px;
  }
  
  .showcase-stage {
    width: 360px;
    height: 320px;
  }
  
  .showcase-card {
    width: 200px;
    height: 270px;
  }
  
  .showcase-brackets {
    width: 220px;
    height: 285px;
  }
  
  .showcase-info,
  .sc-progress-wrap {
    width: 220px;
  }
  
  .sc-name {
    font-size: 20px;
  }
}


/* ── HERO AJUSTADO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr; /* más espacio al carrusel */
  align-items: center;
  padding-top: 68px;
  gap: 0; /* sin gap, que respiren solos con su padding */
  position: relative;
  overflow: hidden;
}

.hero-left {
  padding: 60px 0 60px 48px;
  max-width: 500px;
  animation: fadeUp 1s ease both;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 60px 0;
  animation: fadeUp 1s ease 0.18s both;
}


/* ══════════════════════════════════════
   HERO PREMIUM — KINDORA
   ══════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding-top: 0;
  gap: 0;
}

/* Panel izquierdo: texto centrado verticalmente */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 64px 80px 80px;
  max-width: none;
  animation: fadeUp 1s ease both;
}

/* Panel derecho: la imagen llena TODO el panel */
.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--cream-dark);
  padding: 0;
  animation: none;
}

/* El carousel ocupa todo el panel */
.showcase-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.showcase-glow { display: none; }
.showcase-brackets { display: none; }

/* Stage ocupa todo el panel */
.showcase-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  perspective: none;
}

/* La card activa ocupa todo el panel */
.showcase-card[data-state="active"] {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  z-index: 3;
}

.showcase-card[data-state="active"] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ocultar las cartas de los lados */
.showcase-card[data-state="prev"],
.showcase-card[data-state="next"],
.showcase-card[data-state="far-left"],
.showcase-card[data-state="far-right"] {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Gradiente inferior sobre la imagen para el texto del producto */
.hero-right::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(30,15,5,0.72) 0%, transparent 100%);
  z-index: 4;
  pointer-events: none;
}

/* Info del producto sobre la imagen */
.showcase-info {
  position: absolute;
  bottom: 56px;
  left: 0; right: 0;
  width: 100% !important;
  text-align: center;
  z-index: 5;
  margin: 0;
}

.sc-counter, .sc-categoria {
  color: rgba(249,244,238,0.65) !important;
  font-size: 10px;
  letter-spacing: 3px;
}

.sc-name {
  color: #F9F4EE !important;
  font-size: 28px !important;
  text-shadow: 0 2px 20px rgba(30,15,5,0.3);
}

.sc-price {
  color: var(--sepia) !important;
  font-size: 15px !important;
}

.sc-link { color: rgba(249,244,238,0.8) !important; }
.sc-link:hover { color: var(--sepia) !important; }
.sc-line { background: currentColor; }

/* Progress bar sobre la imagen */
.sc-progress-wrap {
  position: absolute;
  bottom: 0; left: 0;
  width: 100% !important;
  height: 2px !important;
  z-index: 6;
  background: rgba(212,163,115,0.2);
  margin: 0;
}

/* Navegación */
.sc-nav {
  position: absolute;
  bottom: 20px;
  right: 32px;
  z-index: 6;
  margin: 0;
}

.sc-nav-btn {
  border-color: rgba(249,244,238,0.4);
  color: rgba(249,244,238,0.8);
  border-radius: 50%;
}
.sc-nav-btn:hover {
  background: rgba(212,163,115,0.8);
  border-color: transparent;
}

.sc-dots { display: none; } /* limpio, ya tenés progress bar */

/* Hover sutil sobre la imagen */
.showcase-card[data-state="active"]:hover img {
  transform: scale(1.03);
  transition: transform 6s ease;
}

/* Línea decorativa izquierda */
.hero-left::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 0.5px;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--sepia), transparent);
  opacity: 0.4;
}
.hero-left { position: relative; }

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left {
    padding: 100px 32px 48px;
    text-align: center;
  }
  .hero-left::before { display: none; }
  .hero-right {
    height: 70vw;
    min-height: 420px;
    position: relative;
  }
  .showcase-carousel,
  .showcase-stage { position: absolute; }
}



/* ── PRODUCTO CARD — FOTO MÁS GRANDE ── */
.producto-img {
  width: 100%;
  aspect-ratio: 3/4;      /* antes era 4/3, ahora más vertical */
  object-fit: cover;
  display: block;
  background: var(--cream-dark);
  transition: transform 0.5s ease;
}

.producto-card:hover .producto-img { 
  transform: scale(1.03); /* más sutil */
}

/* Que la info debajo sea más compacta para dar más espacio a la foto */
.producto-card > div:not(.card-acciones) { 
  padding: 14px 20px; 
  flex: 1; 
}

.producto-nombre { 
  font-size: 15px; 
  margin-bottom: 4px; 
}

.producto-precio { 
  font-size: 18px; 
  margin-bottom: 2px; 
}

.producto-stock { 
  font-size: 11px; 
  margin-bottom: 0; 
}

.card-acciones {
  padding: 12px 20px 18px;
  border-top: 0.5px solid rgba(212, 163, 115, 0.2);
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}


/* ===============================
   MENÚ HAMBURGUESA - CORRECCIÓN
   =============================== */
/* ── MENÚ HAMBURGUESA ── */
.hamburguesa {
  display: none;
}

@media (max-width: 768px) {
  .hamburguesa {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--brown);
    padding: 8px;
  }

  .hamburguesa:hover {
    color: var(--sepia);
  }

  /* Sobreescribir el display:none del bloque anterior */
  .nav-links {
    display: flex !important;
    position: fixed;
    top: 68px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 68px);
    background: rgba(249, 244, 238, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
    padding: 48px 24px;
    transition: left 0.3s ease;
    z-index: 99;
    list-style: none;
  }

  .nav-links.open {
    left: 0;
  }

  .nav-links a {
    font-size: 18px;
    padding: 8px 0;
    text-align: center;
    width: 100%;
  }
}
/* Ocultar el menú en mobile por defecto */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 68px);
    background: rgba(249, 244, 238, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
    padding: 48px 24px;
    transition: left 0.3s ease;
    z-index: 99;
    margin: 0;
    list-style: none;
  }

  .nav-links.open {
    left: 0;
  }

  .nav-links li {
    margin: 0;
  }

  .nav-links a {
    font-size: 18px;
    padding: 8px 0;
    display: block;
  }

  .hamburguesa {
    display: block !important;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--brown);
    padding: 8px;
    transition: all 0.2s ease;
  }

  .hamburguesa:hover {
    color: var(--sepia);
  }

  /* Asegurar que el botón esté visible */
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  /* Cerrar menú al hacer clic en un enlace */
  .nav-links a {
    width: 100%;
    text-align: center;
  }
}

/* Mostrar hamburguesa solo en móvil (por defecto oculta) */
.hamburguesa {
  display: none;
}
