:root {
  --verde-principal: #526947;
  --verde-profundo: #344633;
  --verde-suave: #dfe6d5;
  --crema: #f7f3ea;
  --crema-claro: #fffdf8;
  --beige-suave: #f1eadf;
  --terracota: #9f5b35;
  --texto: #30352d;
  --texto-suave: #6e6a5f;
  --blanco: #ffffff;
  --sombra-verde: 0 18px 45px rgba(52, 70, 51, 0.18);
  --sombra-suave: 0 10px 28px rgba(48, 53, 45, 0.12);
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--texto);
  background: var(--crema);
}

a { color: inherit; }

.edb-header {
  width: 100%;
  min-height: 84px;
  background: rgba(255,253,248,.96);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  box-shadow: 0 4px 18px rgba(48,53,45,.08);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.edb-logo img {
  height: 58px;
  width: auto;
  display: block;
}

.edb-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.edb-nav a {
  text-decoration: none;
  color: var(--verde-profundo);
  font-size: 14px;
  font-weight: 700;
}

.edb-nav a.active,
.edb-nav a:hover {
  color: var(--terracota);
}

.catalogo-hero {
  min-height: 430px;
  background-image:
    linear-gradient(90deg, rgba(38,31,23,.62), rgba(38,31,23,.24), rgba(38,31,23,.08)),
    url("img/header-catalogo-esencias.jpg");
  background-size: cover;
  background-position: center center;
  position: relative;
  display: flex;
  align-items: center;
  padding: 70px 8%;
  overflow: hidden;
}

.catalogo-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 110px;
  background: linear-gradient(180deg, transparent, rgba(247,243,234,.98));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  color: var(--blanco);
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 700;
  color: var(--verde-suave);
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: .98;
  font-weight: 800;
  text-shadow: 0 4px 18px rgba(0,0,0,.35);
}

.subtitulo {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.5;
  margin: 22px 0 0;
  color: #f7f2e8;
}

.acciones-superiores {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn,
.nav-btn {
  border: none;
  cursor: pointer;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 800;
  transition: .25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn {
  min-height: 48px;
  padding: 14px 24px;
  font-size: 14px;
  line-height: 1.15;
  text-align: center;
}

.btn svg,
.nav-btn svg {
  flex: 0 0 auto;
}

.btn-crema {
  background: var(--crema-claro);
  color: var(--verde-profundo);
}

.btn-borde-claro {
  color: var(--crema-claro);
  border: 2px solid var(--crema-claro);
  background: transparent;
}

.btn-crema:hover,
.btn-borde-claro:hover,
.btn-footer-primary:hover,
.btn-footer-outline:hover {
  transform: translateY(-2px);
}

.catalogo-section {
  background:
    radial-gradient(circle at 12% 0%, rgba(82,105,71,.12), transparent 28%),
    radial-gradient(circle at 100% 16%, rgba(159,91,53,.10), transparent 26%),
    linear-gradient(180deg, var(--crema), var(--crema-claro));
  padding: 32px 16px 20px;
  display: flex;
  flex-direction: column;
}

.catalogo-toolbar {
  width: 100%;
  max-width: 820px;
  margin: 0 auto 12px;
  background: rgba(255,253,248,.96);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(82,105,71,.14);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.catalogo-nav-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-counter {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--verde-suave);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 800;
  color: var(--verde-profundo);
  white-space: nowrap;
}

.page-counter span:last-child { color: var(--texto-suave); font-weight: 700; }

#inputPagina {
  width: 44px;
  padding: 3px 6px;
  border: 1.5px solid rgba(82,105,71,.35);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--verde-profundo);
  text-align: center;
  background: white;
  outline: none;
  -moz-appearance: textfield;
}
#inputPagina::-webkit-outer-spin-button,
#inputPagina::-webkit-inner-spin-button { -webkit-appearance: none; }
#inputPagina:focus { border-color: var(--verde-principal); }

.nav-btn { margin: 0; }

.nav-arrow {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  max-width: 46px;
  max-height: 46px;
  padding: 0;
  border-radius: 50%;
  background: var(--verde-principal);
  color: var(--crema-claro);
  border: none;
  box-shadow: 0 10px 22px rgba(82,105,71,.28);
  font-size: 0;
}

.nav-arrow:hover {
  background: var(--verde-profundo);
}

#prevPage::before,
#nextPage::before {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--crema-claro);
  font-family: Arial, sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-1px);
}

#prevPage::before { content: "‹"; }
#nextPage::before { content: "›"; }

.zoom-btn {
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--verde-principal);
  color: var(--crema-claro);
  border: none;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 10px 22px rgba(82,105,71,.24);
}

.zoom-btn:hover {
  background: var(--verde-profundo);
}

.zoom-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zoom-btn strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
}

/* El hint queda debajo del catálogo para que no tape la portada en móvil */
.swipe-hint {
  width: 100%;
  max-width: 820px;
  margin: 10px auto 14px;
  background: linear-gradient(180deg, rgba(255,253,248,.96), rgba(241,234,223,.96));
  border: 1px solid rgba(82,105,71,.12);
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(52,70,51,.08);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 13px 22px;
  position: relative;
  overflow: hidden;
  transition: opacity .3s ease, transform .3s ease;
  flex: 0 0 auto;
}

.swipe-hint.oculto {
  display: none;
}
.swipe-icon-wrap {
  color: var(--verde-profundo);
  min-width: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.swipe-arrows {
  font-size: 24px;
  line-height: 1;
  font-weight: 600;
}

.swipe-hand {
  font-size: 30px;
  line-height: 1;
  margin-top: -2px;
}

.swipe-textos {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
  position: relative;
  z-index: 2;
}

.swipe-textos strong {
  color: var(--texto);
  font-size: 17px;
  line-height: 1.1;
}

.swipe-textos span {
  color: var(--texto-suave);
  font-size: 13px;
  line-height: 1.35;
}

.catalogo-contenedor {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 10px 0;
  flex: 1 1 auto;
  min-height: 0;
}

.catalogo-libro {
  --alto: clamp(300px, calc(100vh - 400px), 700px);
  width: calc(var(--alto) * 1.417);
  height: var(--alto);
}

.page {
  background: var(--crema-claro);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--sombra-verde);
}

.page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-error {
  width: 100%;
  height: 100%;
  min-height: 480px;
  background: var(--beige-suave);
  color: var(--verde-profundo);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-weight: 800;
  line-height: 1.25;
}

.catalogo-footer-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.catalogo-footer-actions .btn {
  min-width: 220px;
  min-height: 54px;
  gap: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
}

.btn-icon {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-footer-outline {
  background: var(--crema-claro);
  border: 1.5px solid var(--verde-principal);
  color: var(--verde-profundo);
}

.btn-footer-primary {
  background: #25d366;
  color: var(--blanco);
  border: 1.5px solid #25d366;
}

.btn-footer-primary:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
}

.zoom-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: var(--crema);
  overflow: hidden;
}

.zoom-modal.activo { display: block; }

.zoom-controles {
  position: fixed;
  top: 10px;
  right: 10px;
  left: 10px;
  z-index: 8001;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.zoom-controles button {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: var(--verde-principal);
  color: var(--crema-claro);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(52,70,51,.25);
}

#cerrarZoom {
  background: var(--terracota);
  color: var(--crema-claro);
}

.zoom-scroll {
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 64px 12px 28px;
  -webkit-overflow-scrolling: touch;
  text-align: center;
}

.zoom-scroll img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0 auto;
  transform-origin: top center;
}

/* ==================== VIDEO MODAL ==================== */

.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10002;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.video-modal.activo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.video-modal-content.portrait {
  width: auto;
  max-width: min(90vw, 480px);
  height: min(85vh, 854px);
  aspect-ratio: unset;
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10003;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--terracota);
  color: var(--crema-claro);
  font-size: 28px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

@media (max-width: 768px) {
  .video-modal-content {
    width: 95%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }
  .video-modal-content.portrait {
    width: auto;
    max-width: 95vw;
    height: min(80vh, 700px);
    aspect-ratio: unset;
  }
}

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    background: var(--crema);
    touch-action: pan-y pinch-zoom;
  }

  .edb-header,
  .catalogo-hero {
    display: none;
  }

  .catalogo-section {
    height: 100svh;
    padding: 10px 0 0;
    background:
      radial-gradient(circle at top left, rgba(82,105,71,.14), transparent 34%),
      linear-gradient(180deg, var(--crema), var(--crema-claro));
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .catalogo-toolbar {
    width: calc(100% - 16px);
    max-width: none;
    margin: 0 auto 8px;
    padding: 6px 8px;
    border-radius: 999px;
    flex-shrink: 0;
  }

  .catalogo-nav-row { gap: 6px; }

  .page-counter {
    padding: 6px 8px;
    font-size: 12px;
    gap: 4px;
  }

  #inputPagina {
    width: 34px;
    font-size: 12px;
    padding: 2px 4px;
  }

  .nav-arrow,
  #prevPage::before,
  #nextPage::before {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    max-width: 38px;
    max-height: 38px;
  }

  #prevPage::before,
  #nextPage::before { font-size: 32px; }

  .zoom-btn {
    height: 38px;
    padding: 0 10px;
    gap: 4px;
    font-size: 11px;
  }

  .zoom-icon {
    width: 16px;
    height: 16px;
  }

  .zoom-btn strong { font-size: 11px; }

  .catalogo-contenedor {
    flex: 1;
    width: 100%;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 0;
  }

  .catalogo-libro {
    width: 92vw;
    height: 100%;
    max-height: calc(92vw * 1.416);
    margin: 0 auto;
    touch-action: pan-y;
  }

  .page {
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(52,70,51,.20);
    background: var(--crema-claro);
  }

  .page img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--crema-claro);
    display: block;
    cursor: zoom-in;
  }

  .swipe-hint {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
    margin: 0;
    z-index: 210;
    border-radius: 22px;
    padding: 9px 12px;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(52,70,51,.14);
  }

  .swipe-icon-wrap {
    min-width: 42px;
  }

  .swipe-arrows {
    font-size: 18px;
  }

  .swipe-hand {
    font-size: 22px;
  }

  .swipe-textos strong {
    font-size: 13px;
  }

  .swipe-textos span {
    font-size: 11px;
  }

  .swipe-leaf {
    display: none;
  }

  .catalogo-footer-actions {
    flex-shrink: 0;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: rgba(255,253,248,.98);
    backdrop-filter: blur(10px);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 26px rgba(48,53,45,.12);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    align-items: center;
  }

  .catalogo-footer-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    height: 48px;
    padding: 0 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.12;
    display: flex;
    flex-direction: row;
    gap: 6px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .btn-icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 390px) {
  .catalogo-nav-row {
    grid-template-columns: 48px minmax(0,1fr) 48px;
    gap: 7px;
  }

  .nav-arrow,
  #prevPage::before,
  #nextPage::before {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
  }

  #prevPage::before,
  #nextPage::before {
    font-size: 38px;
  }

  .zoom-btn {
    height: 48px;
    padding: 0 10px;
  }

  .zoom-btn strong {
    font-size: 11px;
  }

  .catalogo-footer-actions .btn {
    min-height: 52px;
    height: 52px;
    font-size: 11px;
    gap: 5px;
  }

  .btn-icon {
    width: 20px;
    height: 20px;
  }

  .catalogo-libro {
    width: 91vw;
    height: min(calc(100svh - 200px), calc(91vw * 1.416));
  }
}

/* ==================== POPUP CANTIDAD ==================== */

.popup-item-acciones {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.popup-cant-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--verde-principal);
  background: var(--blanco);
  color: var(--verde-principal);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: background .15s, color .15s;
}

.popup-cant-btn:hover {
  background: var(--verde-principal);
  color: var(--blanco);
}

.popup-item-acciones span {
  font-size: 15px;
  font-weight: 800;
  min-width: 20px;
  text-align: center;
  color: var(--texto);
}

/* Toast confirmación */
.carrito-toast-edb {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--verde-profundo);
  color: var(--crema-claro);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 99999;
}

.carrito-toast-edb.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==================== HOTSPOT OVERLAYS ==================== */

.hs-overlay {
  position: fixed;
  pointer-events: none;
  z-index: 500;
}

.hs-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(82, 105, 71, 0.22);
  animation: edb-destello 2.4s ease-in-out infinite;
}

@keyframes edb-destello {
  0%, 100% { transform: scale(1);   opacity: .55; }
  50%       { transform: scale(1.5); opacity: 0;   }
}

/* ==================== POPUP PRODUCTO ==================== */

.popup-producto {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(48,53,45,.55);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
}

.popup-producto.activo {
  display: flex;
}

.popup-inner {
  background: var(--blanco);
  border-radius: 20px;
  padding: 24px 20px 20px;
  width: min(420px, 94vw);
  position: relative;
  box-shadow: 0 20px 60px rgba(48,53,45,.25);
  max-height: 85vh;
  overflow-y: auto;
}

.popup-cerrar {
  position: absolute;
  top: 12px;
  right: 14px;
  background: var(--verde-suave);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 20px;
  font-weight: 800;
  color: var(--verde-profundo);
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-titulo {
  font-size: 15px;
  font-weight: 800;
  color: var(--verde-profundo);
  margin-bottom: 16px;
  padding-right: 28px;
  line-height: 1.3;
}

.popup-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: var(--verde-suave);
  border-radius: 14px;
  border: 1px solid rgba(82,105,71,.18);
}

.popup-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.popup-item-cod {
  font-size: 10px;
  font-weight: 700;
  color: var(--texto-suave);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.popup-item-nom {
  font-size: 13px;
  font-weight: 800;
  color: var(--texto);
  line-height: 1.2;
}

.popup-item-precio {
  font-size: 14px;
  font-weight: 800;
  color: var(--verde-principal);
}

.popup-btn-agregar {
  padding: 7px 12px;
  background: var(--verde-principal);
  color: var(--blanco);
  border: none;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  font-family: "Montserrat", Arial, sans-serif;
  white-space: nowrap;
  transition: background .2s;
}

.popup-btn-agregar:hover {
  background: var(--verde-profundo);
}

/* ==================== BADGE CARRITO ==================== */

.carrito-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--terracota);
  color: var(--blanco);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* ==================== MODAL CARRITO ==================== */

.carrito-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(48, 53, 45, 0.65);
  backdrop-filter: blur(4px);
  align-items: flex-end;
  justify-content: center;
}

.carrito-modal.activo {
  display: flex;
}

.carrito-inner {
  background: var(--crema-claro);
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 28px 24px 40px;
  position: relative;
  box-shadow: 0 -12px 40px rgba(48,53,45,0.22);
}

.carrito-cerrar {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--verde-suave);
  color: var(--verde-profundo);
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.carrito-inner h2 {
  margin: 0 40px 20px 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--verde-profundo);
}

.carrito-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.carrito-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(180deg, #fffdf8, #f1eadf);
  border: 1px solid rgba(82,105,71,0.12);
  border-radius: 14px;
  padding: 14px 16px;
}

.carrito-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.carrito-item-cod {
  font-size: 11px;
  font-weight: 700;
  color: var(--texto-suave);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.carrito-item-nom {
  font-size: 14px;
  font-weight: 700;
  color: var(--texto);
  line-height: 1.3;
}

.carrito-item-precio {
  font-size: 13px;
  font-weight: 600;
  color: var(--verde-principal);
}

.carrito-item-acciones {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.carrito-item-acciones button {
  width: 30px;
  height: 30px;
  border: 1.5px solid rgba(82,105,71,0.30);
  border-radius: 50%;
  background: var(--crema-claro);
  color: var(--verde-profundo);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.carrito-item-acciones span {
  font-size: 15px;
  font-weight: 800;
  min-width: 20px;
  text-align: center;
  color: var(--texto);
}

.eliminar-item {
  border-color: rgba(159,91,53,0.30) !important;
  color: var(--terracota) !important;
}

.carrito-totales {
  border-top: 1.5px solid rgba(82,105,71,0.14);
  padding-top: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.carrito-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: var(--texto-suave);
}

.carrito-total-row.destacado {
  font-size: 17px;
  font-weight: 800;
  color: var(--verde-profundo);
}

.carrito-total-row.destacado strong {
  color: var(--verde-principal);
}

.carrito-wsp-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 16px;
  background: #25d366;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  margin-bottom: 12px;
  transition: background .2s;
}

.carrito-wsp-btn:hover { background: #1ebe5d; }

.carrito-vaciar {
  width: 100%;
  padding: 12px;
  border: 1.5px solid rgba(159,91,53,0.30);
  border-radius: 16px;
  background: transparent;
  color: var(--terracota);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* ==================== BOTÓN PEDIDO FOOTER ==================== */

.btn-footer-pedido {
  background: var(--verde-principal);
  color: var(--crema-claro);
  border: 1.5px solid var(--verde-principal);
  position: relative;
}

.btn-footer-pedido:hover {
  background: var(--verde-profundo);
}

/* ==================== BLOQUEO PRE-LANZAMIENTO ==================== */
/* Sacar todo este bloque después del lanzamiento (junto con el div
   #overlayLanzamiento y los dos scripts en index.html) */
#overlayLanzamiento {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: linear-gradient(to top, var(--verde-principal), var(--crema));
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--crema-claro);
  font-family: inherit;
}

html.pre-lanzamiento #overlayLanzamiento { display: flex; }
html.pre-lanzamiento body { overflow: hidden !important; }

#overlayLanzamiento img { width: 140px; margin-bottom: 20px; }
#overlayLanzamiento .overlay-eyebrow { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; opacity: .85; margin-bottom: 4px; }
#overlayLanzamiento h1 { font-size: 26px; font-weight: 800; margin: 8px 0; color: var(--crema-claro); }
#overlayLanzamiento p { font-size: 15px; opacity: .92; }

/* ==================== OPTIMIZACIONES MÓVIL ==================== */
@media (max-width: 600px) {
  .catalogo-section {
    padding: 24px 12px 12px;
  }
  
  .catalogo-toolbar {
    margin: 0 auto 8px;
  }
  
  .swipe-hint {
    margin: 6px auto 8px;
    padding: 10px 16px;
  }
  
  .catalogo-footer-actions {
    gap: 8px;
  }
}
