:root {
  color-scheme: light;
  --fondo: #FFFFFF;
  --superficie: #FFF1F5;
  --rosa-pastel: #F8CAD8;
  --rosa-acento: #F2A7BE;
  --vino: #8E4A5E;
  --vino-oscuro: #5E2B3D;
  --borde: #F1DCE3;

  --bg: var(--fondo);
  --surface: var(--fondo);
  --surface-alt: var(--superficie);
  --line: var(--borde);
  --line-light: var(--borde);
  --accent: var(--vino);
  --accent2: var(--rosa-acento);
  --ink: var(--vino-oscuro);
  --body-text: var(--vino-oscuro);
  --muted: var(--vino-oscuro);
  --crema: var(--fondo);
  --arena: var(--borde);
  --rosa: var(--rosa-acento);
  --burdeos: var(--vino);

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body-text);
  font-family: 'Figtree', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.drawer-open,
body.body-scroll-locked {
  overflow: hidden !important;
  overscroll-behavior: none;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  margin: 0;
  color: var(--ink); /* Burdeos */
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* ====== BARRA FIJA SUPERIOR (PRIMERA PANTALLA LIMPIA) ====== */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(77, 14, 19, 0.04);
}

.top-nav-inner {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  gap: 12px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.nav-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink); /* Burdeos */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.nav-btn,
.drawer-close,
.search-close,
.filter-trigger,
.upcoming-arrow-btn {
  min-width: 44px;
  min-height: 44px;
}

.nav-btn:hover {
  background: var(--crema);
  border-color: var(--accent);
}

.nav-btn:active {
  transform: scale(0.94);
}

.store-brand {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.28rem;
  color: var(--ink); /* Burdeos */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 170px);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.3px;
}

.cart-badge,
.filter-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--accent); /* Burdeos */
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 19px;
  height: 19px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(77, 14, 19, 0.3);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ====== CAPA DE BÚSQUEDA A PANTALLA COMPLETA ====== */
.catalog-search-panel {
  position: fixed;
  inset: 0;
  z-index: 85; /* Por encima del header (z-index: 50) */
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.95); /* Fallback para navegadores sin soporte de backdrop-filter */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 200ms ease;
  overflow: hidden;
}

@supports ((backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px))) {
  .catalog-search-panel {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

.catalog-search-panel.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .catalog-search-panel {
    transition: none !important;
  }
}

body.search-open {
  overflow: hidden !important;
}

.search-panel-inner {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: 100%;
  height: 100dvh;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Fila superior con campo grande y botón X de 44px */
.search-panel-top {
  padding: 16px 16px 8px;
  width: 100%;
  flex-shrink: 0;
}

.search-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--rosa-acento);
  padding-bottom: 6px;
  position: relative;
}

.search-input-row input {
  flex: 1;
  min-width: 0;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  font-size: 22px;
  font-family: inherit;
  font-weight: 500;
  color: var(--vino-oscuro);
  padding: 6px 0;
  line-height: 1.3;
  -webkit-appearance: none;
  appearance: none;
}

.search-input-row input::placeholder {
  color: rgba(94, 43, 61, 0.45);
  opacity: 1;
}

.search-input-row input::-webkit-search-decoration,
.search-input-row input::-webkit-search-cancel-button,
.search-input-row input::-webkit-search-results-button,
.search-input-row input::-webkit-search-results-decoration {
  display: none;
  -webkit-appearance: none;
}

.search-panel-close {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--vino-oscuro);
  cursor: pointer;
  border-radius: 50%;
  padding: 0;
  flex-shrink: 0;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.search-panel-close:hover {
  background-color: rgba(242, 167, 190, 0.25);
}

.search-panel-close:active {
  transform: scale(0.92);
}

/* Contenido con scroll interno */
.search-panel-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 12px 16px calc(24px + env(safe-area-inset-bottom, 0px));
}

/* Estado inicial con campo vacío */
.search-empty-state {
  display: flex;
  flex-direction: column;
  padding-top: 6px;
}

.search-hint {
  font-size: 0.9rem;
  color: var(--vino);
  opacity: 0.85;
  margin: 0 0 14px;
  font-weight: 500;
}

.search-quick-access {
  display: flex;
  flex-direction: column;
}

.search-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-quick-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 99px;
  border: 1.5px solid var(--borde);
  background: rgba(255, 255, 255, 0.9);
  color: var(--vino-oscuro);
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(94, 43, 61, 0.04);
  transition: all 0.18s ease;
}

.search-quick-chip:hover {
  background: var(--superficie);
  border-color: var(--rosa-acento);
  color: var(--vino-oscuro);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(94, 43, 61, 0.08);
}

.search-quick-chip:active {
  transform: scale(0.96);
}

/* Resultados en vivo */
.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--borde);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 2px 6px rgba(94, 43, 61, 0.03);
}

.search-result-item:hover {
  background: #ffffff;
  border-color: var(--rosa-acento);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(94, 43, 61, 0.08);
}

.search-result-item:active {
  transform: scale(0.98);
}

.search-result-media {
  position: relative;
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--superficie);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.search-placeholder-icon {
  font-size: 1.4rem;
  color: var(--rosa-acento);
}

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

.search-result-brand {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--vino);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-name {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--vino-oscuro);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.search-result-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--vino-oscuro);
}

.search-tag-agotado {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #c93b4f;
  background: rgba(201, 59, 79, 0.1);
  padding: 2px 8px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.btn-search-view-all {
  width: 100%;
  background: var(--vino);
  color: #ffffff;
  border: none;
  border-radius: 99px;
  padding: 13px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 4px 14px rgba(142, 74, 94, 0.25);
  transition: all 0.18s ease;
}

.btn-search-view-all:hover {
  background: var(--vino-oscuro);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(94, 43, 61, 0.3);
}

.btn-search-view-all:active {
  transform: scale(0.98);
}

/* Sin resultados */
.search-no-results {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
}

.search-no-results-msg {
  font-size: 1rem;
  font-weight: 600;
  color: var(--vino-oscuro);
  margin: 0 0 16px;
}

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

/* Animación de brinco al agregar al carrito */
@keyframes cartBounce {
  0% { transform: scale(1); }
  35% { transform: scale(1.35) rotate(-4deg); }
  65% { transform: scale(0.92) rotate(2deg); }
  100% { transform: scale(1) rotate(0); }
}

.cart-bounce {
  animation: cartBounce 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ====== FILA DELGADA DE CATEGORÍAS ====== */
.categories-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--line-light);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 14px;
}

.categories-bar::-webkit-scrollbar {
  display: none;
}

.chips {
  display: flex;
  gap: 8px;
  max-width: 1140px;
  margin: 0 auto;
  align-items: center;
  white-space: nowrap;
}

.chip {
  background: var(--surface-alt);
  color: var(--body-text);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.chip.is-hidden {
  display: none;
}

.chip:hover {
  background: var(--crema);
  border-color: var(--accent);
  color: var(--ink);
}

.chip.on {
  background: var(--crema);
  border-color: var(--accent);
  color: var(--ink); /* Burdeos */
  box-shadow: 0 2px 6px rgba(77, 14, 19, 0.12);
}

/* ====== PANEL LATERAL DE FILTROS & MENÚ ====== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 16, 20, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.filter-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 86%;
  max-width: 350px;
  background: var(--surface);
  z-index: 100;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 6px 0 24px rgba(77, 14, 19, 0.15);
}

.filter-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}

.drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.18rem;
  color: var(--ink);
}

.drawer-close {
  width: 36px;
  height: 36px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.18s ease;
}

.drawer-close:hover {
  background: var(--crema);
  border-color: var(--accent);
}

.drawer-body {
  padding: 18px 16px 28px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  -webkit-overflow-scrolling: touch;
}

/* Grupos y títulos pequeños en mayúsculas */
.drawer-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-light);
}

.drawer-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.drawer-section-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-bottom: 2px;
}

.drawer-section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-filter-count-badge {
  background: var(--accent); /* Burdeos */
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  letter-spacing: 0.3px;
}

/* Categorías dentro del menú */
.drawer-cats-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.drawer-cat-btn {
  width: 100%;
  justify-content: flex-start;
  background: transparent;
  color: var(--body-text);
  border: 0;
  border-bottom: 1px solid var(--line-light);
  padding: 12px 4px;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
}

.drawer-cat-btn:hover {
  background: transparent;
  border-color: var(--line-light);
  color: var(--ink);
}

.drawer-cat-btn.active {
  color: var(--ink); /* Burdeos */
  font-weight: 700;
}

.catalog-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Contactos en el menú lateral */
.drawer-contact-group {
  margin-top: 6px;
}

.drawer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.drawer-contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-alt, #faf7f5);
  border: 1px solid var(--line-light, #eee5e5);
  text-decoration: none;
  color: var(--body-text);
  transition: all 0.2s ease;
}

.drawer-contact-card:hover {
  background: #fff;
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(166, 75, 88, 0.08);
}

.drawer-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.drawer-contact-icon.ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.drawer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.drawer-contact-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}

.drawer-contact-desc {
  font-size: 0.76rem;
  color: var(--muted);
}

/* Campos de filtros */
.drawer-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 4px;
}

.drawer-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--body-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.drawer-input,
.drawer-select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--body-text);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input-wrap .drawer-input {
  padding-right: 36px;
}

.search-icon {
  position: absolute;
  right: 12px;
  pointer-events: none;
  font-size: 0.95rem;
  opacity: 0.6;
}

.drawer-input:focus,
.drawer-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(77, 14, 19, 0.1);
}

.drawer-buttons-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.btn-drawer-apply {
  flex: 1;
  background: var(--accent); /* Burdeos */
  color: #FFFFFF;
  border: none;
  padding: 11px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.18s ease;
  box-shadow: 0 2px 8px rgba(77, 14, 19, 0.2);
}

.btn-drawer-apply:hover {
  background: var(--vino-oscuro);
}

.btn-drawer-clear {
  background: transparent;
  color: var(--ink); /* Burdeos */
  border: 1.5px solid var(--line);
  padding: 11px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-drawer-clear:hover {
  background: var(--crema);
  border-color: var(--accent);
}

/* Secciones de navegación en el menú */
.drawer-nav-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: var(--surface-alt);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s ease;
  color: var(--body-text);
  font-family: inherit;
}

.drawer-nav-btn:hover {
  background: var(--crema);
  border-color: var(--line);
  transform: translateX(3px);
  color: var(--ink); /* Burdeos */
}

.drawer-nav-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.drawer-nav-text {
  font-size: 0.92rem;
  font-weight: 600;
}

/* Contactos en el menú */
.drawer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: var(--surface-alt);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.18s ease;
  color: var(--body-text);
}

.drawer-contact-card:hover {
  background: var(--crema);
  border-color: var(--line);
  transform: translateX(3px);
}

.drawer-contact-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.drawer-contact-details {
  display: flex;
  flex-direction: column;
}

.drawer-contact-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink); /* Burdeos */
  line-height: 1.2;
}

.drawer-contact-desc {
  font-size: 0.76rem;
  color: var(--muted);
}

.filter-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(43, 16, 20, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.filter-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.filter-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: var(--surface);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -8px 30px rgba(77, 14, 19, 0.2);
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.filter-panel.open {
  transform: translateY(0);
}

.filter-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px 10px;
  border-bottom: 1px solid var(--line-light);
}

.filter-panel-header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.filter-panel-body {
  display: grid;
  gap: 8px;
  padding: 16px 18px calc(18px + env(safe-area-inset-bottom, 0px));
}

.filter-panel-body .drawer-label {
  margin-top: 4px;
}

/* ====== 1. CARRUSEL DE NOVEDADES CON COLLAGE EN ABANICO ====== */
.carousel-wrap {
  max-width: 1140px;
  margin: 10px auto 14px;
  padding: 0 14px;
  position: relative;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1.5px solid var(--line);
  box-shadow: 0 10px 28px rgba(77, 14, 19, 0.14);
  background: linear-gradient(135deg, var(--vino-oscuro) 0%, var(--vino) 100%);
}

.carousel-track {
  display: flex;
  align-items: stretch;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
  background: linear-gradient(135deg, var(--vino-oscuro) 0%, var(--vino) 100%);
  color: var(--fondo);
  user-select: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 54px 28px;
  height: auto;
  border-radius: 28px;
}

.slide-content {
  flex: 1 1 54%;
  max-width: 520px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 8px;
}

/* Etiqueta: fondo rosa empolvado, texto burdeos, mayúsculas con espaciado, píldora */
.slide-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: var(--rosa-pastel);
  color: var(--vino-oscuro);
  border: none;
  line-height: 1.3;
}

/* Título: serif grande en crema, máximo 2 líneas */
.slide-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.05rem;
  line-height: 1.15;
  color: var(--fondo);
  margin: 0;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.3px;
}

/* Texto: máximo 2 líneas, en crema */
.slide-desc {
  font-family: 'Figtree', sans-serif;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--fondo);
  margin: 0;
  max-width: 480px;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.95;
}

/* Botón: fondo crema, texto burdeos, esquinas redondeadas */
.slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--vino);
  color: var(--fondo);
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 99px; /* Esquinas redondeadas */
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  margin-top: 2px;
}

.slide-btn:hover {
  background: #FFFFFF;
  color: var(--vino-oscuro);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.32);
}

.slide-btn:active {
  transform: scale(0.98);
}

.slide-visual {
  flex: 0 0 44%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 4px;
}

/* ====== COLLAGE DE FOTOS EN ABANICO ====== */
.slide-collage {
  position: relative;
  width: 380px;
  height: 255px;
}

.collage-card {
  position: absolute;
  border: 4px solid var(--fondo);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  background: var(--fondo);
  box-sizing: border-box;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.collage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Escritorio: Tarjeta Central (190px de ancho, sin inclinación, encima) */
.collage-card.card-center {
  width: 190px;
  height: 236px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  z-index: 3;
}

/* Escritorio: Tarjeta Izquierda (85% ≈ 162px ancho, -10deg, detrás) */
.collage-card.card-left {
  width: 162px;
  height: 200px;
  left: 50%;
  top: 50%;
  transform: translate(calc(-50% - 80px), calc(-50% + 14px)) rotate(-10deg);
  z-index: 1;
}

/* Escritorio: Tarjeta Derecha (85% ≈ 162px ancho, +10deg, detrás) */
.collage-card.card-right {
  width: 162px;
  height: 200px;
  left: 50%;
  top: 50%;
  transform: translate(calc(-50% + 80px), calc(-50% + 14px)) rotate(10deg);
  z-index: 2;
}

/* Casos especiales: solo 1 foto o 2 fotos */
.slide-collage.count-1 .card-center {
  width: 200px;
  height: 248px;
  transform: translate(-50%, -50%);
}

.slide-collage.count-2 .card-left {
  transform: translate(calc(-50% - 60px), calc(-50% + 14px)) rotate(-10deg);
}

.slide-collage.count-2 .card-center {
  transform: translate(calc(-50% + 20px), -50%);
}

/* Flechas desktop: redondas colocadas fuera del texto (en los bordes) */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(238, 228, 218, 0.4);
  background: rgba(77, 14, 19, 0.75);
  backdrop-filter: blur(4px);
  color: var(--fondo);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  padding: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.carousel-nav-btn:hover {
  background: var(--fondo);
  border-color: var(--fondo);
  color: var(--vino-oscuro);
  transform: translateY(-50%) scale(1.08);
}

.carousel-nav-btn.prev {
  left: 14px;
}

.carousel-nav-btn.next {
  right: 14px;
}

/* Puntitos del carrusel: centrados abajo, activo alargado y en crema */
.carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  z-index: 5;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(238, 228, 218, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.carousel-dot.active {
  width: 24px;
  background: var(--fondo);
  box-shadow: 0 0 8px rgba(238, 228, 218, 0.7);
}

/* ====== RESPONSIVE CELULAR (<= 700px) ====== */
@media (max-width: 700px) {
  /* Sin flechas en celular (solo touch/swipe y puntitos) */
  .carousel-nav-btn {
    display: none !important;
  }

  .carousel-slide {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding: 20px 20px 24px;
    gap: 12px;
    height: auto;
    min-height: unset;
  }

  .slide-content {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
    text-align: left;
    gap: 6px;
  }

  .slide-badge {
    align-self: flex-start;
    font-size: 0.68rem;
    padding: 3px 12px;
  }

  .slide-title {
    font-size: 1.35rem;
    line-height: 1.15;
    margin: 0;
    text-align: left;
  }

  .slide-desc {
    font-size: 0.84rem;
    line-height: 1.35;
    margin: 0;
    text-align: left;
    -webkit-line-clamp: 2;
  }

  .slide-btn {
    align-self: flex-start;
    font-size: 0.84rem;
    padding: 8px 18px;
    margin-top: 2px;
  }

  /* Collage debajo del texto en celular */
  .slide-visual {
    width: 100%;
    margin-top: 6px;
    display: flex;
    justify-content: center;
  }

  .slide-collage {
    width: 250px;
    height: 160px;
    margin: 0 auto;
  }

  /* Celular: Tarjeta central (unos 120px de ancho) */
  .collage-card.card-center {
    width: 120px;
    height: 148px;
    left: 50%;
    top: 4px;
    transform: translateX(-50%) rotate(0deg);
    z-index: 3;
  }

  /* Celular: Tarjeta izquierda (85% ≈ 102px de ancho, -10deg) */
  .collage-card.card-left {
    width: 102px;
    height: 126px;
    left: 50%;
    top: 16px;
    transform: translateX(calc(-50% - 48px)) rotate(-10deg);
    z-index: 1;
  }

  /* Celular: Tarjeta derecha (85% ≈ 102px de ancho, +10deg) */
  .collage-card.card-right {
    width: 102px;
    height: 126px;
    left: 50%;
    top: 16px;
    transform: translateX(calc(-50% + 48px)) rotate(10deg);
    z-index: 2;
  }

  .slide-collage.count-1 .card-center {
    width: 130px;
    height: 156px;
    top: 4px;
    transform: translateX(-50%);
  }

  .slide-collage.count-2 .card-left {
    transform: translateX(calc(-50% - 42px)) rotate(-10deg);
  }

  .slide-collage.count-2 .card-center {
    transform: translateX(calc(-50% + 16px));
  }
}

/* ====== ENCABEZADOS DE SECCIÓN ====== */
.section-header {
  max-width: 1140px;
  margin: 0 auto 12px;
  padding: 0 14px;
}

.section-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--surface-alt);
  color: var(--ink); /* Burdeos */
  border: 1px solid var(--line);
  margin-bottom: 4px;
}

.section-title {
  font-size: 1.45rem;
  color: var(--ink); /* Burdeos */
  margin: 0 0 4px;
}

.section-desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}



/* ====== 3 & 4. CUADRÍCULAS RESPONSIVAS ====== */
/* Mobile First: 2 columnas en celular, 3 en tablet, 4 en escritorio */
.products-section {
  max-width: 1140px;
  margin: 0 auto 24px;
  padding: 0 14px;
}

.catalog-header-wrap {
  margin-bottom: 12px;
}

.catalog-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.filter-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.filter-dot {
  display: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.filter-dot.active {
  display: inline-block;
}

.catalog-section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.6rem;
  color: var(--ink); /* Burdeos */
  margin: 0;
  line-height: 1.2;
}

.catalog-header-wrap .categories-bar {
  background: transparent;
  border-bottom: none;
  padding: 4px 0 6px;
  margin: 0;
}

.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.catalog-count-bar {
  margin-top: 6px;
  display: flex;
  align-items: center;
}

.count {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  font-weight: 500;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columnas en celular */
  gap: 12px;
}

@media (min-width: 680px) {
  .grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columnas en tablet */
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(4, 1fr); /* 4 columnas en escritorio */
    gap: 20px;
  }
}

/* ====== TARJETAS DE PRODUCTO & COMBO ====== */
.card {
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--line-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 3px 12px rgba(242, 167, 190, 0.2);
  position: relative;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(242, 167, 190, 0.3);
  border-color: var(--line);
}

/* Foto grande con forma de arco (esquinas superiores muy redondeadas) y sombra suave */
.card-media {
  position: relative;
  width: calc(100% - 14px);
  margin: 7px 7px 0;
  padding-top: 104%; /* Foto grande generosa */
  background: var(--surface-alt);
  cursor: pointer;
  overflow: hidden;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  box-shadow: 0 4px 14px rgba(242, 167, 190, 0.18);
}

.ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.35s ease;
}

.ph img.loaded {
  opacity: 1;
}

.card:hover .ph img.loaded {
  transform: scale(1.05);
}

/* Botón de favorito corazón */
.fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  padding: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.fav-btn:hover {
  transform: scale(1.12);
  background: #FFFFFF;
}

.fav-btn .fav-heart {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: var(--rosa-acento);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.2s ease;
}

.fav-btn.on .fav-heart {
  fill: var(--vino);
  stroke: var(--vino);
}

.fav-modal-btn {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--body-text);
  transition: all 0.18s ease;
}

.fav-modal-btn:hover {
  background: var(--crema);
  border-color: var(--accent);
}

.fav-modal-btn .fav-heart {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--rosa-acento);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fav-modal-btn.on {
  background: var(--crema);
  border-color: var(--accent);
  color: var(--ink);
}

.fav-modal-btn.on .fav-heart {
  fill: var(--vino);
  stroke: var(--vino);
}

/* Ocultar etiquetas y estilos de ahorro para cumplir el requisito 2 */
.tag-savings,
.normal-price {
  display: none !important;
}

.tag-agotado {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(43, 16, 20, 0.85);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  z-index: 3;
}

.info {
  padding: 10px 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Marca en mayúsculas pequeñas con letra espaciada */
.card .brand {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 3px;
  cursor: pointer;
}

/* Nombre en serif */
.card .name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink); /* Burdeos */
  line-height: 1.22;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
  min-height: 2.44em;
}

.card .includes-snippet {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.25;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-row {
  margin-top: auto;
  margin-bottom: 8px;
  cursor: pointer;
}

/* Precio en burdeos */
.price {
  color: var(--burdeos);
  font-weight: 700;
  font-size: 1.08rem;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price .normal-price {
  font-size: 0.82rem;
  text-decoration: line-through;
  color: var(--muted);
  font-weight: 400;
}

.card-action-wrap {
  margin-top: auto;
  padding-top: 4px;
}

/* Botón de acción ancho: Burdeos con texto blanco */
.btn-card-action {
  width: 100%;
  background: var(--accent); /* Burdeos */
  color: var(--fondo);
  border: none;
  border-radius: 99px;
  padding: 10px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(77, 14, 19, 0.2);
  transition: all 0.18s ease;
}

.btn-card-action:hover:not(:disabled) {
  background: var(--vino-oscuro);
  transform: translateY(-1px);
}

.btn-card-action:active:not(:disabled) {
  transform: translateY(0);
}

.btn-card-action.disabled,
.btn-card-action:disabled {
  background: var(--line);
  color: var(--muted);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  opacity: 0.8;
}

.btn-card-action.added {
  background: var(--vino) !important;
  color: var(--fondo) !important;
}

/* ====== 5. SECCIÓN PRÓXIMAMENTE ====== */
.upcoming-section {
  max-width: 1140px;
  margin: 28px auto 28px;
  padding: 0 14px;
}

.upcoming-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}

.upcoming-header-left h2 {
  font-size: 1.45rem;
  margin: 0 0 2px;
}

.upcoming-header-left p {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
}

.upcoming-nav-btns {
  display: flex;
  gap: 8px;
}

.upcoming-arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink); /* Burdeos */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.18s ease;
}

.upcoming-arrow-btn:hover {
  background: var(--crema);
  border-color: var(--accent);
}

.upcoming-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}

.upcoming-track::-webkit-scrollbar {
  display: none;
}

.upcoming-card {
  flex: 0 0 230px;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--line-light);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(77, 14, 19, 0.04);
  display: flex;
  flex-direction: column;
}

.upcoming-media {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: var(--surface-alt);
}

.upcoming-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upcoming-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--crema);
  color: var(--ink); /* Burdeos */
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  border: 1px solid var(--line);
  z-index: 2;
}

.upcoming-info {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.upcoming-brand {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
}

.upcoming-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--body-text);
  margin: 2px 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upcoming-meta {
  margin-top: auto;
  margin-bottom: 8px;
}

.upcoming-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent); /* Burdeos */
  display: flex;
  justify-content: space-between;
}

.upcoming-price-label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
}

.upcoming-arrival {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 2px;
}

.btn-reserve {
  width: 100%;
  background: var(--accent); /* Burdeos */
  color: var(--fondo);
  border: none;
  border-radius: 99px;
  padding: 8px 10px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-reserve:hover {
  background: var(--vino-oscuro);
  transform: translateY(-1px);
}

/* ====== 6. PIE DE PÁGINA (FOOTER CON CONTACTO) ====== */
.site-footer {
  background: var(--crema);
  border-top: 1px solid var(--line);
  padding: 36px 14px 24px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
  }
}

.footer-brand {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.45rem;
  color: var(--ink); /* Burdeos */
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--body-text);
  line-height: 1.45;
  margin: 0 0 16px;
  max-width: 480px;
}

.footer-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.footer-wa-btn {
  background: var(--accent); /* Burdeos */
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(77, 14, 19, 0.2);
}

.footer-wa-btn:hover {
  background: var(--vino-oscuro);
  transform: translateY(-1px);
}

.footer-ig-btn {
  background: var(--surface);
  color: var(--ink); /* Burdeos */
  border: 1.5px solid var(--line);
}

.footer-ig-btn:hover {
  background: #FFFFFF;
  border-color: var(--accent);
}

.footer-col-title {
  font-size: 1.15rem;
  margin: 0 0 10px;
  color: var(--ink);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
}

.footer-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--body-text);
}

.footer-bottom {
  max-width: 1140px;
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-bottom p {
  margin: 0;
}

/* ====== BARRA DELGADA FIJA DE CARRITO ====== */
.bottom-cart-bar {
  position: fixed;
  bottom: 14px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: calc(100% - 24px);
  max-width: 480px;
  z-index: 85;
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.25s ease;
  animation: slideUpCartBar 0.32s cubic-bezier(0.2, 0.9, 0.3, 1);
}

@keyframes slideUpCartBar {
  from {
    transform: translateY(100%) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.btn-bottom-cart {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--burdeos);
  color: #FFFFFF;
  border: none;
  border-radius: 99px;
  padding: 12px 20px;
  box-shadow: 0 6px 22px rgba(77, 14, 19, 0.3);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: transform 0.18s ease, background 0.18s ease;
}

.btn-bottom-cart:hover {
  background: var(--vino-oscuro);
  transform: translateY(-2px);
}

.btn-bottom-cart:active {
  transform: scale(0.98);
}

.bottom-cart-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.bottom-cart-text {
  flex: 1;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.bottom-cart-arrow {
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.btn-bottom-cart:hover .bottom-cart-arrow {
  transform: translateX(3px);
}

/* Deja espacio inferior en la página para que la barra fija no tape contenido */
body.has-cart-bar {
  padding-bottom: 78px;
}

/* ====== BOTÓN FLOTANTE (FAB) ASISTENTE DE BELLEZA ====== */
.fab-assistant {
  position: fixed;
  right: 18px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 75; /* Flota sobre el contenido sin tapar overlays ni paneles modales */
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(248, 202, 216, 0.45);
  background: linear-gradient(135deg, var(--vino) 0%, var(--vino-oscuro) 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 6px 20px rgba(94, 43, 61, 0.35), 0 2px 6px rgba(94, 43, 61, 0.2);
  transition: bottom 0.28s cubic-bezier(0.2, 0.9, 0.3, 1), transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, background 0.2s ease;
}

.fab-assistant:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 26px rgba(94, 43, 61, 0.45);
  background: linear-gradient(135deg, #9C5268 0%, var(--vino-oscuro) 100%);
}

.fab-assistant:active {
  transform: scale(0.94);
}

.fab-assistant svg {
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Si la barra inferior de carrito está activa, el botón flota por encima para no taparla */
body.has-cart-bar .fab-assistant {
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}

.catalog-admin-link {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 74;
  padding: 7px 10px;
  border: 1px solid rgba(77, 14, 19, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--accent);
  box-shadow: 0 3px 12px rgba(77, 14, 19, 0.14);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

body.has-cart-bar .catalog-admin-link {
  bottom: 84px;
}

/* ====== TOAST ====== */
.toast-notice {
  position: fixed;
  top: 66px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: var(--accent); /* Burdeos */
  color: #FFFFFF;
  padding: 9px 20px;
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(77, 14, 19, 0.3);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast-notice.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ====== MODAL / BOTTOM SHEET ====== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 16, 20, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  overscroll-behavior: contain;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.sheet {
  background: var(--surface);
  width: 100%;
  max-width: 580px;
  height: 92vh;
  max-height: 94vh;
  border-radius: 24px 24px 0 0;
  overflow-y: auto;
  box-shadow: 0 -12px 40px rgba(77, 14, 19, 0.25);
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
  overscroll-behavior: contain;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Cabecera superior fija / sticky del modal */
.sheet-top-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 209, 211, 0.6);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.sheet-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid var(--line, #e2d1d3);
  background: #ffffff;
  color: var(--ink, #4d0e13);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  min-height: 36px;
}

.sheet-top-btn:hover {
  background: var(--surface-alt, #faf7f5);
  border-color: var(--accent, #a64b58);
}

.sheet-top-btn.close-btn-top {
  width: 36px;
  height: 36px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.1rem;
}

.sheet-top-btn.fav-btn-top.on {
  background: #ffebee;
  border-color: #ffcdd2;
  color: #e53935;
}

.sheet-top-btn.fav-btn-top .fav-heart {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.sheet-top-btn.fav-btn-top.on .fav-heart {
  fill: #e53935;
  stroke: #e53935;
  transform: scale(1.1);
}

.sheet-drag-pill-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 12px;
  cursor: grab;
  touch-action: none;
}

.sheet-drag-pill-wrap:active {
  cursor: grabbing;
}

.sheet-drag-pill {
  width: 44px;
  height: 5px;
  background: var(--line, #e2d1d3);
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.sheet-drag-pill-wrap:active .sheet-drag-pill {
  background: var(--accent, #a64b58);
  transform: scaleY(1.2);
}

/* Barra de arrastre superior para swipe-to-dismiss */
.sheet-drag-handle-bar {
  width: 100%;
  padding: 10px 0 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  background: var(--surface);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  position: sticky;
  top: 0;
  z-index: 12;
}

.sheet-drag-handle-bar:active {
  cursor: grabbing;
}

.assistant-heading-icon {
  display: block;
  margin: 0 auto 4px;
  color: var(--accent);
}

.assistant-tone-link,
.tone-picker-options button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-alt);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.assistant-tone-link {
  width: 100%;
  margin-top: 8px;
}

.tone-picker-options {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.overlay.open .sheet {
  transform: translateY(0);
}

@media (min-width: 600px) {
  .overlay {
    align-items: center;
    padding: 20px;
  }
  .sheet {
    border-radius: 24px;
    height: auto;
    max-height: 88vh;
  }
}

.pad {
  padding: 18px 20px 24px;
}

.close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink); /* Burdeos */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  font-size: 0.9rem;
}

.empty {
  padding: 32px 14px;
  text-align: center;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

/* Modal Favoritos Botón */
.fav-modal-btn {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}

.fav-modal-btn.on {
  background: var(--superficie);
  border-color: var(--rosa-acento);
  color: var(--vino-oscuro);
}

/* Swatches de tonos */
.sw {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shade {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 99px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--body-text);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.shade i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.shade.on {
  border-color: var(--accent);
  background: var(--crema);
  color: var(--ink);
}

/* Botón principal del modal */
.btn {
  width: 100%;
  background: var(--accent); /* Burdeos */
  color: var(--fondo);
  border: none;
  padding: 12px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  transition: background 0.18s ease;
}

.btn:hover:not(:disabled) {
  background: var(--vino-oscuro);
}

.btn:disabled {
  background: var(--line-light);
  color: var(--muted);
  cursor: not-allowed;
}

.btn.wa {
  background: var(--vino);
  margin-top: 6px;
}

.btn.wa:hover {
  background: var(--vino-oscuro);
}

.btn-copy {
  background: var(--surface) !important;
  color: var(--ink) !important;
  border: 1.5px solid var(--line) !important;
}

.btn-copy:hover {
  background: var(--crema) !important;
  border-color: var(--accent) !important;
}

/* Campos del formulario de carrito */
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-light);
}

.grow {
  flex: 1;
  padding-right: 12px;
}

.q {
  display: flex;
  align-items: center;
  gap: 8px;
}

.q button {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-weight: bold;
}

.total {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 12px 0 6px;
}

.in {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  background: var(--surface);
}

.in:focus {
  border-color: var(--accent);
}

/* Quiz modal styles */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quiz-btn {
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.15s ease;
}

.quiz-btn.on {
  border-color: var(--accent);
  background: var(--crema);
}

/* Reserva modal styles */
.reserve-preview {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  background: var(--surface-alt);
  margin-bottom: 14px;
}

.reserve-thumb {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  object-fit: cover;
}

.reserve-field {
  margin-bottom: 12px;
}

.reserve-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--ink);
}

.reserve-input,
.reserve-textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
}

.reserve-input:focus,
.reserve-textarea:focus {
  border-color: var(--accent);
}

.reserve-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.reserve-qty-stepper button {
  width: 36px;
  height: 36px;
  background: var(--surface);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--ink);
}

.reserve-qty-stepper input {
  width: 44px;
  height: 36px;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-weight: bold;
}

.reserve-notice {
  background: var(--superficie);
  border: 1px solid var(--rosa-acento);
  border-radius: 10px;
  padding: 10px;
  font-size: 0.82rem;
  color: var(--vino-oscuro);
  margin-bottom: 14px;
  line-height: 1.4;
}

/* ====== POP-UP DE ANUNCIO AL ENTRAR (PANTALLA COMPLETA) ====== */
.announcement-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.announcement-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.announcement-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 10, 14, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.announcement-modal {
  position: relative;
  z-index: 2;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: transparent;
  border-radius: 24px;
  animation: announcementPop 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.25);
}

@keyframes announcementPop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* X grande y bien visible en la esquina con área táctil >= 44px */
.announcement-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2.5px solid var(--accent); /* Burdeos */
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.18s ease, background 0.18s ease;
  padding: 0;
  line-height: 1;
}

@media (max-width: 480px) {
  .announcement-close {
    top: -8px;
    right: -8px;
  }
}

.announcement-close:hover {
  transform: scale(1.1);
  background: var(--crema);
}

.announcement-close:active {
  transform: scale(0.95);
}

.announcement-media-wrap {
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
  background: var(--surface, #ffffff);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.announcement-media-wrap.is-link {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.22s ease;
}

.announcement-media-wrap.is-link:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.55);
}

.announcement-media-wrap.is-link:active {
  transform: scale(0.985);
}

.announcement-media-wrap img,
.announcement-media-wrap video {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  display: block;
  user-select: none;
}

/* Botón inferior de llamada a la acción (opcional) */
.announcement-cta-wrap {
  width: 100%;
  padding: 12px 16px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #f2ccd6;
}

.announcement-cta-btn {
  width: 100%;
  background: var(--burdeos, #4d0e13);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(77, 14, 19, 0.25);
  text-decoration: none;
}

.announcement-cta-btn:hover {
  background: #380a0e;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(77, 14, 19, 0.35);
}

.announcement-cta-btn:active {
  transform: scale(0.98);
}

/* ====== GALERÍA MULTIMEDIA INTERACTIVA (FOTOS Y VIDEO) ====== */
.product-multimedia-gallery {
  position: relative;
  width: 100%;
  background: var(--surface-alt);
  overflow: hidden;
}

.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
  position: relative;
  background: #f7f1ec;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-slide .slide-inner {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Cuadrado 1:1 amplio y nítido */
}

.gallery-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-slide img.loaded {
  opacity: 1;
}

.gallery-slide.is-video .slide-inner {
  background: #000000;
}

.gallery-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.gallery-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.gallery-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 14px;
}

.gallery-nav-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.06);
}

.gallery-nav-arrow.prev {
  left: 10px;
}

.gallery-nav-arrow.next {
  right: 10px;
}

.gallery-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(43, 16, 20, 0.78);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: 0.5px;
  z-index: 10;
}

/* Tira de miniaturas interactivas */
.gallery-thumbs-row {
  display: flex;
  gap: 8px;
  padding: 10px 16px 4px;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--surface);
}

.gallery-thumbs-row::-webkit-scrollbar {
  display: none;
}

.gallery-thumb-item {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  background: var(--surface-alt);
  transition: all 0.18s ease;
}

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

.gallery-thumb-item.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  transform: scale(1.04);
}

.gallery-thumb-item .thumb-video-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  font-size: 16px;
}


/* ====== VENTANA SELECTORA DE ASESORAS DE WHATSAPP (YULI / VALE) ====== */
.wa-chooser-pad {
  padding: 22px 18px 24px;
}

.wa-chooser-header {
  position: relative;
  text-align: center;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line-light, #f0e6e7);
}

.wa-chooser-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 10px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.22);
}

.wa-chooser-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.35rem;
  color: var(--ink, #4d0e13);
  margin: 0 0 4px;
}

.wa-chooser-subtitle {
  font-size: 0.88rem;
  color: var(--muted, #7a585c);
  margin: 0;
  line-height: 1.35;
}

.wa-chooser-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 10px;
}

/* Tarjeta individual de asesora */
.wa-advisor-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface, #ffffff);
  border: 1.5px solid var(--line, #e2d1d3);
  border-radius: 18px;
  padding: 14px 16px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.2, 0.9, 0.3, 1);
  box-shadow: 0 3px 12px rgba(77, 14, 19, 0.05);
}

.wa-advisor-card:hover {
  background: var(--crema, #fffaf6);
  border-color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.18);
}

.wa-advisor-card:active {
  transform: scale(0.98);
}

.wa-advisor-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.wa-advisor-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  position: relative;
  flex-shrink: 0;
}

.wa-advisor-avatar.yuli-avatar {
  background: #fde8eb;
  color: #a64b58;
}

.wa-advisor-avatar.vale-avatar {
  background: #fef0e3;
  color: #c4683c;
}

.avatar-online-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  background: #25D366;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(37, 211, 102, 0.4);
}

.wa-advisor-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
}

.wa-advisor-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink, #4d0e13);
  line-height: 1.2;
  margin: 0;
}

.wa-advisor-subtitle {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted, #7a585c);
  margin: 3px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Botón Escribir verde WhatsApp */
.btn-wa-action {
  background: #25D366;
  color: #ffffff !important;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.35);
  flex-shrink: 0;
  text-decoration: none;
  transition: all 0.18s ease;
}

.wa-advisor-card:hover .btn-wa-action {
  background: #20bd5a;
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
}

.btn-wa-action svg {
  width: 16px;
  height: 16px;
}

.wa-chooser-cancel {
  background: transparent;
  color: var(--muted);
  border: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s ease;
}

.wa-chooser-cancel:hover {
  color: var(--ink);
}

.wa-chooser-back {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 99px;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wa-chooser-back:hover {
  background: var(--surface-alt);
  color: var(--ink);
  border-color: var(--arena);
}

/* Compatibilidad con enlaces wa antiguos si existen */
.btn-wa-dest {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface-alt);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 14px 18px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wa-dest-arrow {
  background: #25D366;
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Ocultar y suprimir cualquier elemento, banner o insignia de Netlify ("Powered by Netlify") */
[data-netlify-badge],
.netlify-badge,
[data-netlify-drawer],
[class*="netlify"],
[id*="netlify"],
a[href*="netlify.com"],
a[href*="netlify.app"],
iframe[src*="netlify"],
#netlify-badge,
.netlify-drawer,
#netlify-drawer {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  top: -99999px !important;
  left: -99999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}



/* Insignia de Netlify: se muestra al final de la página (no flotante) para no tapar el contenido en móviles */
#nl-badge-frame {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  top: -99999px !important;
  left: -99999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* ====== BARRA DE CONTROL DE REORDENAMIENTO (ADMIN / VISTA PREVIA) ====== */
.reorder-bar {
  position: sticky;
  top: 56px;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1.5px solid #F2CCD6;
  box-shadow: 0 4px 18px rgba(77, 14, 19, 0.08);
  z-index: 85;
  padding: 10px 16px;
  animation: slideDownReorder 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownReorder {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.reorder-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.reorder-bar-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.reorder-bar-badge {
  background: #FCE8EE;
  color: var(--burdeos);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 99px;
  letter-spacing: 0.04em;
  border: 1px solid #F5C6D3;
}

.reorder-bar-title {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
}

.reorder-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-reorder-toggle,
.btn-reorder-save,
.btn-reorder-cancel {
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 7px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.btn-reorder-toggle {
  background: var(--burdeos);
  color: #FFFFFF;
  border: 1.5px solid var(--burdeos);
}

.btn-reorder-toggle:hover {
  background: #3B0A0E;
  border-color: #3B0A0E;
  transform: translateY(-1px);
}

.btn-reorder-toggle.active {
  background: #E86A8D;
  border-color: #E86A8D;
  box-shadow: 0 2px 10px rgba(232, 106, 141, 0.4);
}

.btn-reorder-save {
  background: #059669;
  color: #FFFFFF;
  border: 1.5px solid #059669;
  box-shadow: 0 2px 10px rgba(5, 150, 105, 0.3);
}

.btn-reorder-save:hover {
  background: #047857;
  border-color: #047857;
  transform: translateY(-1px);
}

.btn-reorder-cancel {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid #D9C5CB;
}

.btn-reorder-cancel:hover {
  background: #FDF2F4;
  color: var(--ink);
  border-color: var(--burdeos);
}

/* ====== ESTADOS INTERACTIVOS DRAG & DROP EN PRODUCTOS ====== */
.reorder-drag-handle {
  display: none;
}

body.reorder-active .reorder-drag-handle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 15;
  background: rgba(255, 255, 255, 0.95);
  color: var(--burdeos);
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(77, 14, 19, 0.15);
  border: 1px solid #F5C6D3;
  pointer-events: none;
}

body.reorder-active .card {
  cursor: grab !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  touch-action: manipulation;
  border: 1.5px dashed #D9C5CB !important;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease, border-color 0.18s ease;
}

body.reorder-active .card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 8px 24px rgba(77, 14, 19, 0.18);
  border-color: var(--burdeos) !important;
}

body.reorder-active .card .card-media,
body.reorder-active .card .card-action-wrap button,
body.reorder-active .card .fav-btn {
  pointer-events: none !important;
}

/* Elemento en proceso de arrastre / seleccionado */
.card.sortable-chosen {
  cursor: grabbing !important;
  transform: scale(1.04) rotate(1deg) !important;
  box-shadow: 0 16px 36px rgba(77, 14, 19, 0.28) !important;
  border: 2px solid var(--burdeos) !important;
  z-index: 100 !important;
}

/* Hueco / sombra donde aterrizará el elemento */
.card.sortable-ghost {
  opacity: 0.35 !important;
  background: #FDF4F6 !important;
  border: 2px dashed var(--burdeos) !important;
  box-shadow: none !important;
  transform: scale(0.96) !important;
}

.card.sortable-drag {
  opacity: 1 !important;
  box-shadow: 0 20px 42px rgba(77, 14, 19, 0.32) !important;
}
