:root {
  --rosa:   #FFDEF3;
  --bordo:  #9B0404;
  --bordo2: #7a0303;
  --verde:  #25D366;
  --blanco: #FFFFFF;
  --gris:   #666;
  --fondo:  #fdf8f9;
  --borde:  #eddde8;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Jost', sans-serif; background: var(--blanco); color: #1a1a1a; overflow-x: hidden; }
body::-webkit-scrollbar { display: none; }
body { -ms-overflow-style: none; scrollbar-width: none; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ANUNCIO */
.anuncio { background: var(--bordo); color: var(--rosa); text-align: center; padding: 11px 20px; font-size: 0.68rem; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 300; }

/* NAVBAR */
.navbar { position: sticky; top: 0; z-index: 999; display: flex; justify-content: space-between; align-items: center; padding: 22px 6%; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--borde); backdrop-filter: blur(10px); }
.logo { font-family: 'Cormorant Garamond', serif; font-size: 1.75rem; font-weight: 600; color: var(--bordo); letter-spacing: 3px; text-transform: uppercase; }
.nav-links { list-style: none; display: flex; gap: 36px; }
.nav-links a { color: #444; font-size: 0.74rem; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; position: relative; padding-bottom: 4px; transition: color 0.2s; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--bordo); transition: width 0.3s; }
.nav-links a:hover { color: var(--bordo); }
.nav-links a:hover::after { width: 100%; }
.nav-icons { display: flex; gap: 20px; font-size: 1.05rem; cursor: pointer; color: #444; align-items: center; }
.carrito-icon { position: relative; cursor: pointer; }
.carrito-badge { position: absolute; top: -8px; right: -8px; background: var(--bordo); color: white; border-radius: 50%; width: 18px; height: 18px; font-size: 0.6rem; display: flex; align-items: center; justify-content: center; font-family: 'Jost', sans-serif; }

/* CARRITO LATERAL */
.carrito-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1000; }
.carrito-overlay.open { display: block; }
.carrito-panel { position: fixed; top: 0; right: -420px; width: 420px; height: 100vh; background: white; z-index: 1001; transition: right 0.35s ease; display: flex; flex-direction: column; box-shadow: -4px 0 20px rgba(0,0,0,0.12); }
.carrito-panel.open { right: 0; }
.carrito-header { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px; border-bottom: 1px solid var(--borde); }
.carrito-header h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: #1a1a1a; }
.carrito-cerrar { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: #666; padding: 4px; }
.carrito-cerrar:hover { color: var(--bordo); }
.carrito-items { flex: 1; overflow-y: auto; padding: 20px 28px; }
.carrito-vacio { text-align: center; color: #aaa; font-size: 0.85rem; margin-top: 40px; }
.carrito-item { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--borde); }
.carrito-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; }
.carrito-item-info { flex: 1; }
.carrito-item-nombre { font-size: 0.88rem; font-weight: 500; margin-bottom: 4px; }
.carrito-item-qty { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.qty-btn { background: var(--fondo); border: 1px solid var(--borde); width: 28px; height: 28px; border-radius: 4px; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: background 0.2s; font-weight: bold; }
.qty-btn:hover { background: var(--rosa); }
.qty-num { font-size: 0.85rem; font-weight: 600; min-width: 25px; text-align: center; }
.carrito-item-eliminar { color: #ccc; cursor: pointer; font-size: 1rem; transition: color 0.2s; padding: 4px; }
.carrito-item-eliminar:hover { color: var(--bordo); }
.carrito-footer { padding: 20px 28px; border-top: 1px solid var(--borde); }
.carrito-client-form { margin-bottom: 20px; border-bottom: 1px solid var(--borde); padding-bottom: 20px; }
.carrito-client-form label { display: block; font-size: 0.75rem; font-weight: 500; text-transform: uppercase; color: #666; margin: 10px 0 4px; letter-spacing: 1px; }
.carrito-client-form input, .carrito-client-form select { width: 100%; padding: 8px 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 0.85rem; font-family: 'Jost', sans-serif; margin-bottom: 8px; }
.carrito-client-form input:focus, .carrito-client-form select:focus { outline: none; border-color: var(--bordo); box-shadow: 0 0 4px rgba(155, 4, 4, 0.2); }
.carrito-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 1rem; }
.carrito-total span:last-child { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: var(--bordo); }
.btn-wsp { display: block; width: 100%; padding: 13px; background: #25D366; color: white; border: none; border-radius: 6px; font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; margin-bottom: 10px; transition: background 0.2s; font-family: 'Jost', sans-serif; }
.btn-wsp:hover { background: #1da851; }
.btn-ig { display: block; width: 100%; padding: 13px; background: var(--bordo); color: white; border: none; border-radius: 6px; font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; transition: background 0.2s; font-family: 'Jost', sans-serif; }
.btn-ig:hover { background: var(--bordo2); }

/* HERO */
.hero { width: 100%; line-height: 0; position: relative; overflow: hidden; z-index: 1; isolation: isolate; }
.hero img { width: 100%; height: auto; object-fit: cover; transition: transform 10s ease; display: block; }
.hero:hover img { transform: scale(1.015); }
.hero-cta-wrap { position: absolute; bottom: 44px; left: 0; right: 0; display: flex; justify-content: center; z-index: 2; }
.hero-cta { padding: 15px 48px; border: 1.5px solid white; color: white; font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; transition: all 0.3s; background: transparent; }
.hero-cta:hover { background: white; color: var(--bordo); }

/* ═══════════════════════════════════════════════════════
   STRIP ANIMADO — scroll horizontal infinito
═══════════════════════════════════════════════════════ */
.strip {
  background: var(--bordo);
  border-bottom: 1px solid var(--bordo2);
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 44px;
  display: flex;
  align-items: center;
}

.strip-track {
  display: inline-flex;
  align-items: center;
  animation: scrollStrip 28s linear infinite;
  will-change: transform;
}

.strip:hover .strip-track {
  animation-play-state: paused;
}

.strip-item {
  font-size: 0.65rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--rosa);
  font-weight: 400;
  padding: 0 36px;
  white-space: nowrap;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.strip-item:hover {
  opacity: 1;
}

@keyframes scrollStrip {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* TÍTULOS */
.sec-titulo { font-family: 'Cormorant Garamond', serif; font-size: 2.1rem; font-weight: 400; color: #1a1a1a; margin-bottom: 6px; }
.sec-sub { font-size: 0.67rem; letter-spacing: 3px; text-transform: uppercase; color: #ccc; }

/* ═══════════════════════════════════════════════════════
   CATÁLOGO — mejorado en visibilidad
═══════════════════════════════════════════════════════ */
.catalogo { padding: 90px 6%; background: var(--fondo); }

.catalogo-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--bordo);
  margin-bottom: 36px;
}

.catalogo-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--bordo);
  margin-bottom: 8px;
  font-weight: 400;
}

.catalogo-header .sec-titulo {
  margin-bottom: 0;
  color: #111;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.ver-todo { font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--bordo); border-bottom: 1px solid var(--bordo); padding-bottom: 2px; transition: opacity 0.2s; }
.ver-todo:hover { opacity: 0.65; }

/* TABS */
.tabs {
  display: flex;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--borde);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab-btn { padding: 12px 24px; font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; background: transparent; border: none; color: #aaa; cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.25s; font-family: 'Jost', sans-serif; margin-bottom: -1px; white-space: nowrap; }
.tab-btn.active { color: var(--bordo); border-bottom-color: var(--bordo); font-weight: 500; }
.tab-btn:hover { color: var(--bordo); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* GRID PRODUCTOS */
.productos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.producto-card { cursor: pointer; }

/* IMAGEN PRINCIPAL */
.prod-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: white;
  margin-bottom: 16px;
  cursor: zoom-in;
}
.prod-img-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.prod-img-wrap .prod-img-secondary {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.producto-card:hover .prod-img-wrap img { transform: scale(1.06); }
.producto-card:hover .prod-img-wrap .prod-img-secondary { opacity: 1; }

/* MULTI-IMAGEN: flechas ◀ ▶ */
.img-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.48);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
  z-index: 10;
  line-height: 1;
}
.img-nav-btn:hover { background: rgba(155, 4, 4, 0.75); }
.prod-img-wrap:hover .img-nav-btn { opacity: 1; }
.img-nav-btn.img-prev { left: 8px; }
.img-nav-btn.img-next { right: 8px; }

/* Puntitos indicadores de imagen */
.img-dots {
  position: absolute;
  bottom: 9px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 10;
}
.img-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}
.img-dot.active {
  background: white;
  transform: scale(1.25);
}

.prod-img-wrap.multi-img img.prod-img-main {
  transition: opacity 0.25s ease;
}
.prod-img-wrap.multi-img:hover img.prod-img-main {
  transform: none;
}

/* PLACEHOLDER */
.prod-img-placeholder {
  height: 280px;
  background: linear-gradient(135deg, #fdf0f6 0%, #f0dce8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #c0a0b0;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  line-height: 1.8;
  border-radius: 8px;
  padding: 16px;
}

/* BADGE / FAV */
.prod-badge { position: absolute; top: 12px; left: 12px; background: var(--bordo); color: white; font-size: 0.56rem; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 11px; border-radius: 2px; z-index: 5; }
.prod-badge.proximamente { background: #999; }
.prod-fav { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; opacity: 0; transition: opacity 0.3s; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.12); z-index: 5; }
.producto-card:hover .prod-fav { opacity: 1; }

/* INFO PRODUCTO */
.prod-cat { font-size: 0.58rem; letter-spacing: 2px; text-transform: uppercase; color: #ccc; margin-bottom: 5px; }
.prod-nombre { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 500; color: #1a1a1a; margin-bottom: 8px; }

/* COLORES */
.prod-colores { display: flex; gap: 6px; margin-bottom: 8px; align-items: center; }
.color-dot { width: 16px; height: 16px; border-radius: 50%; cursor: pointer; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.color-dot:hover { transform: scale(1.3); }

/* STOCK */
.prod-stock { font-size: 0.72rem; color: #888; margin-bottom: 6px; }
.prod-stock strong { color: var(--bordo); }
.prod-stock.agotado strong { color: #999; }

/* PRECIO Y BOTÓN */
.prod-precio { font-size: 0.82rem; color: var(--bordo); margin-bottom: 12px; }
.btn-agregar { width: 100%; padding: 10px; background: var(--bordo); color: white; border: none; border-radius: 5px; font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; font-family: 'Jost', sans-serif; transition: background 0.2s; }
.btn-agregar:hover { background: var(--bordo2); }
.btn-agregar:disabled { background: #ccc; cursor: not-allowed; }

/* ═══════════════════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════════════════ */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.open {
  display: flex;
}
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
#lightbox-img {
  max-width: 88vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  transition: opacity 0.2s;
}
.lightbox-cerrar {
  position: fixed;
  top: 20px;
  right: 28px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  font-size: 1.3rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2001;
}
.lightbox-cerrar:hover { background: rgba(155, 4, 4, 0.7); }
.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  font-size: 1.3rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2001;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(155, 4, 4, 0.7); }
.lightbox-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.lightbox-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
}
.lightbox-dot.active {
  background: white;
  transform: scale(1.3);
}

/* EDITORIAL */
.editorial { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; position: relative; z-index: 0; }
.editorial-carrusel { position: relative; overflow: hidden; isolation: isolate; }
.carrusel-container { display: flex; width: 100%; height: 100%; }
.carrusel-slide { min-width: 100%; display: none; }
.carrusel-slide.active { display: block; }
.carrusel-slide img { width: 100%; height: 520px; object-fit: cover; display: block; }
.carrusel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: white; border: none; padding: 10px; cursor: pointer; font-size: 1.5rem; border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; transition: background 0.3s; z-index: 5; }
.carrusel-btn:hover { background: rgba(0,0,0,0.8); }
.carrusel-btn.prev { left: 10px; }
.carrusel-btn.next { right: 10px; }

.carrusel-dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  z-index: 5;
  pointer-events: none;
}
.carrusel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  pointer-events: all;
}
.carrusel-dot.active { background: white; transform: scale(1.3); }

.editorial-texto { background: white; display: flex; flex-direction: column; justify-content: center; padding: 80px 90px; }
.editorial-eyebrow { font-size: 0.62rem; letter-spacing: 3px; text-transform: uppercase; color: var(--bordo); margin-bottom: 24px; }
.editorial-titulo { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; font-weight: 300; line-height: 1.22; color: #1a1a1a; margin-bottom: 22px; font-style: italic; }
.editorial-parrafo { font-size: 0.84rem; line-height: 1.95; color: var(--gris); margin-bottom: 38px; }

/* BOTONES */
.btn-bordo { display: inline-block; padding: 14px 38px; background: var(--bordo); color: white; font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; border: 1.5px solid var(--bordo); transition: all 0.25s; }
.btn-bordo:hover { background: transparent; color: var(--bordo); }
.btn-verde { background: var(--verde); border-color: var(--verde); }
.btn-verde:hover { background: transparent; color: var(--verde); }
.btn-outline { display: inline-block; padding: 15px 42px; background: transparent; color: white; font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; border: 1.5px solid rgba(255,255,255,0.55); transition: all 0.25s; white-space: nowrap; }
.btn-outline:hover { background: white; color: var(--bordo); border-color: white; }
.btn-wsp-banner:hover { color: var(--verde) !important; }

/* BANNER */
.banner { background: var(--bordo); padding: 88px 6%; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.banner-texto h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 300; color: var(--rosa); margin-bottom: 14px; line-height: 1.2; }
.banner-texto p { font-size: 0.82rem; color: rgba(255,222,243,0.7); line-height: 1.9; max-width: 400px; }
.banner-btns { display: flex; flex-direction: column; gap: 12px; }

/* INFO STRIP */
.info-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--fondo); border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); }
.info-item { padding: 52px 30px; text-align: center; border-right: 1px solid var(--borde); }
.info-item:last-child { border-right: none; }
.info-icono { font-size: 1.9rem; margin-bottom: 16px; }
.info-item-titulo { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 600; color: #1a1a1a; margin-bottom: 8px; }
.info-item-texto { font-size: 0.75rem; color: var(--gris); line-height: 1.85; }

/* CONTACTO */
.contacto { padding: 110px 6%; text-align: center; background: white; }
.contacto-eyebrow { font-size: 0.62rem; letter-spacing: 4px; text-transform: uppercase; color: var(--bordo); margin-bottom: 20px; }
.contacto-titulo { font-family: 'Cormorant Garamond', serif; font-size: 3.2rem; font-weight: 300; color: #1a1a1a; margin-bottom: 18px; line-height: 1.15; }
.contacto-texto { font-size: 0.86rem; color: var(--gris); margin-bottom: 44px; line-height: 1.95; }
.contacto-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ENVIO */
.contacto-envio { margin: 32px auto 44px; max-width: 560px; text-align: left; }
.contacto-envio label { display: block; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: #666; margin-bottom: 12px; }
.input-envio { display: flex; gap: 12px; flex-wrap: wrap; }
.input-envio input { flex: 1 1 180px; padding: 12px 14px; border: 1px solid #ddd; border-radius: 10px; font-size: 0.95rem; }
.btn-envio { min-width: 160px; }
.envio-result { margin-top: 12px; font-size: 0.9rem; color: #444; line-height: 1.6; }
.envio-result.success { color: #1c7a40; }
.envio-result.error { color: #d32f2f; }

/* FOOTER */
footer { background: #111; padding: 70px 6% 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 52px; border-bottom: 1px solid #222; margin-bottom: 30px; }
.footer-logo-text { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--rosa); letter-spacing: 3px; text-transform: uppercase; display: block; margin-bottom: 18px; }
.footer-brand p { font-size: 0.76rem; line-height: 1.95; color: #777; max-width: 240px; }
.footer-col h4 { font-size: 0.66rem; letter-spacing: 2.5px; text-transform: uppercase; color: white; margin-bottom: 22px; font-weight: 400; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 0.76rem; color: #777; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--rosa); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.68rem; color: #555; }


/* ════════════════════════════════════════════════════
   RESPONSIVE — TABLET 1024px
════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .productos-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .editorial { grid-template-columns: 1fr; }
  .editorial-texto { padding: 60px 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .carrito-panel { width: 380px; right: -380px; }
  .carrito-panel.open { right: 0; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* ════════════════════════════════════════════════════
   RESPONSIVE — MOBILE 768px
════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── NAV ── */
  .nav-links { display: none; }
  .navbar { padding: 12px 5%; gap: 10px; }
  .logo { font-size: 1.3rem; letter-spacing: 2px; }
  .nav-icons { gap: 16px; font-size: 1.1rem; }
  .carrito-icon { padding: 4px; }
  .carrito-badge { width: 16px; height: 16px; font-size: 0.55rem; top: -7px; right: -7px; }

  /* ── HERO ── */
  .hero-cta-wrap { bottom: 8px; left: 0; right: 0; width: 100%; display: flex; justify-content: center; }

  /* ── ANUNCIO ── */
  .anuncio { font-size: 0.52rem; letter-spacing: 1px; padding: 7px 10px; line-height: 1.5; }

  /* ── HERO ── */
  .hero { min-height: 320px; }
  .hero img { min-height: 240px; object-fit: cover; width: 100%; }
  .hero-cta-wrap { bottom: 24px; }
  .hero-cta { padding: 11px 24px; font-size: 0.58rem; letter-spacing: 2px; }

  /* ── STRIP ── */
  .strip { height: 34px; }
  .strip-item { padding: 0 18px; font-size: 0.54rem; letter-spacing: 1.5px; }

  /* ── CATÁLOGO ── */
  .catalogo { padding: 40px 4%; }
  .catalogo-header { margin-bottom: 16px; padding-bottom: 12px; flex-wrap: wrap; gap: 8px; }
  .catalogo-header .sec-titulo { font-size: 1.7rem; }
  .catalogo-eyebrow { font-size: 0.56rem; }

  /* ── TABS ── */
  .tabs { margin-bottom: 20px; -webkit-overflow-scrolling: touch; }
  .tab-btn { padding: 11px 14px; font-size: 0.6rem; letter-spacing: 0.8px; min-height: 44px; white-space: nowrap; }

  /* ── GRID 2 columnas ── */
  .productos-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* ── IMÁGENES ── */
  .prod-img-wrap img,
  .prod-img-wrap .prod-img-main { height: 180px; }
  .prod-img-placeholder { height: 180px; font-size: 0.58rem; }

  /* ── CORAZÓN y FLECHAS siempre visibles en mobile ── */
  .prod-fav { opacity: 1; }
  .img-nav-btn { opacity: 1 !important; width: 28px; height: 28px; font-size: 0.75rem; background: rgba(0,0,0,0.55); }

  /* ── TEXTO PRODUCTO ── */
  .prod-nombre { font-size: 0.88rem; }
  .prod-cat { font-size: 0.48rem; }
  .prod-stock { font-size: 0.62rem; }
  .prod-precio { font-size: 0.78rem; margin-bottom: 8px; }
  .prod-badge { font-size: 0.5rem; padding: 4px 8px; }

  /* ── BOTÓN AGREGAR ── */
  .btn-agregar { padding: 12px 6px; font-size: 0.58rem; letter-spacing: 0.3px; border-radius: 6px; min-height: 42px; }

  /* ── EDITORIAL ── */
  .editorial { grid-template-columns: 1fr; min-height: auto; }
  .carrusel-slide img { height: 260px; object-fit: cover; display: block; }
  .carrusel-dots { display: none; }
  .carrusel-btn { width: 34px; height: 34px; font-size: 0.9rem; }
  .carrusel-btn.prev { left: 10px; }
  .carrusel-btn.next { right: 10px; }
  .editorial-texto { padding: 36px 20px 44px; text-align: center; align-items: center; }
  .editorial-titulo { font-size: 1.75rem; text-align: center; }
  .editorial-parrafo { font-size: 0.78rem; text-align: center; max-width: 100%; }

  /* ── BANNER ── */
  .banner { flex-direction: column; text-align: center; padding: 52px 5%; gap: 24px; }
  .banner-texto h2 { font-size: 1.7rem; }
  .banner-texto p { max-width: 100%; font-size: 0.76rem; }
  .banner-btns { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .btn-outline { padding: 12px 20px; font-size: 0.6rem; min-height: 44px; display: inline-flex; align-items: center; }

  /* ── INFO ── */
  .info-strip { grid-template-columns: 1fr; }
  .info-item { border-right: none; border-bottom: 1px solid var(--borde); padding: 28px 16px; }
  .info-item:last-child { border-bottom: none; }
  .info-icono { font-size: 1.6rem; }
  .info-item-titulo { font-size: 0.95rem; }

  /* ── CONTACTO ── */
  .contacto { padding: 56px 5%; }
  .contacto-titulo { font-size: 1.9rem; }
  .contacto-texto { font-size: 0.78rem; margin-bottom: 24px; }
  .contacto-btns { flex-direction: column; align-items: center; gap: 10px; }
  .contacto-btns .btn-bordo { width: 100%; max-width: 300px; text-align: center; min-height: 48px; display: flex; align-items: center; justify-content: center; }
  .input-envio { flex-direction: column; gap: 10px; }
  .input-envio input { width: 100%; min-width: unset; padding: 14px; font-size: 0.95rem; }
  .btn-envio { width: 100%; min-width: unset; min-height: 48px; }

  /* ── CARRITO ── */
  .carrito-panel { width: 100%; right: -100%; max-width: 100%; }
  .carrito-panel.open { right: 0; }
  .carrito-items { padding: 14px 16px; }
  .carrito-footer { padding: 12px 16px; }
  .qty-btn { width: 32px; height: 32px; font-size: 1rem; }
  .carrito-header { padding: 18px 20px; }
  .carrito-header h3 { font-size: 1.25rem; }

  /* ── LIGHTBOX ── */
  .lightbox-cerrar { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 1.1rem; }
  .lightbox-prev { left: 6px; width: 38px; height: 38px; font-size: 0.9rem; }
  .lightbox-next { right: 6px; width: 38px; height: 38px; font-size: 0.9rem; }
  #lightbox-img { max-width: 96vw; max-height: 72vh; }
  .lightbox-dots { gap: 8px; }
  .lightbox-dot { width: 8px; height: 8px; }

  /* ── FOOTER ── */
  footer { padding: 44px 5% 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; font-size: 0.6rem; }
  .footer-logo-text { font-size: 1.2rem; }
}

/* ════════════════════════════════════════════════════
   RESPONSIVE — MÓVIL PEQUEÑO 480px
════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .productos-grid { grid-template-columns: 1fr; gap: 14px; }
  .prod-img-wrap img, .prod-img-wrap .prod-img-main { height: 260px; }
  .prod-img-placeholder { height: 260px; }
  .img-nav-btn { width: 36px; height: 36px; font-size: 0.95rem; }
  .carrusel-slide img { height: 300px; }
  .catalogo { padding: 32px 4%; }
  .catalogo-header .sec-titulo { font-size: 1.55rem; }
  .tab-btn { padding: 10px 12px; font-size: 0.58rem; letter-spacing: 0.4px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .contacto-btns .btn-bordo { max-width: 100%; }
  .logo { font-size: 1.18rem; }
  .nav-icons { gap: 12px; }
  .banner { padding: 44px 5%; }
  .banner-texto h2 { font-size: 1.5rem; }
  .prod-nombre { font-size: 0.95rem; }
  .prod-precio { font-size: 0.82rem; }
  .btn-agregar { font-size: 0.65rem; }
  .hero-cta { padding: 10px 20px; font-size: 0.56rem; }
  .anuncio { font-size: 0.5rem; letter-spacing: 0.8px; }
  .editorial-titulo { font-size: 1.6rem; }
  .contacto-titulo { font-size: 1.7rem; }
}

/* ════════════════════════════════════════════════════
   RESPONSIVE — MÓVIL MUY PEQUEÑO 360px
════════════════════════════════════════════════════ */
@media (max-width: 360px) {
  .logo { font-size: 1.05rem; }
  .navbar { padding: 10px 4%; }
  .tab-btn { padding: 9px 10px; font-size: 0.55rem; }
  .prod-img-wrap img, .prod-img-wrap .prod-img-main { height: 240px; }
  .contacto-titulo { font-size: 1.5rem; }
}
/* ═══ ANIMACIONES DE ENTRADA ════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.carrusel-dots { display: none !important; }
/* ── Carrito: desglose subtotal / total ── */
.carrito-breakdown {
  padding: 10px 0 4px;
  border-top: 1px solid #f0e8e8;
  margin-bottom: 4px;
}
.carrito-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #888;
  padding: 2px 0;
}
