/* ==========================================================================
   Réplica móvil-primero estilo Undetalle en paleta ROJA (#D90429)
   ========================================================================== */
:root {
  --red-primary: #D90429;
  --red-dark: #9B001D;
  --red-deep: #6E0014;
  --red-hover: #EF233C;
  --red-soft: #FFF0F2;
  --red-border: #FFD6DC;
  --white: #FFFFFF;
  --bg-page: #FAFAFA;
  --text-main: #1A1A1A;
  --text-muted: #666666;
  --border-light: #EAEAEA;
  --whatsapp: #25D366;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.12);
  --header-h: 66px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--white);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  padding-top: var(--header-h);
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* === HEADER ROJO FIJO (igual a capturas) === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--red-primary);
  color: var(--white);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(155, 0, 29, 0.28);
}
.site-header .container {
  padding: 0 10px;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.header-left, .header-right {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.btn-menu-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-menu-pill:hover { background: rgba(255, 255, 255, 0.28); }
.icon-btn {
  position: relative;
  color: var(--white);
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.16); }
.cart-badge {
  position: absolute;
  top: 0; right: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--red-primary);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  color: var(--white);
  flex-shrink: 0;
}
.brand-logo svg { width: 20px; height: 20px; margin-bottom: 2px; }
.brand-logo span {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

/* Barra de búsqueda desplegable */
.search-bar-wrap {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--white);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  z-index: 990;
  display: none;
}
.search-bar-wrap.open { display: block; }
.search-form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
}
.search-form input {
  flex: 1;
  padding: 11px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: 15px;
  outline: none;
}
.search-form input:focus { border-color: var(--red-primary); }
.search-form button {
  background: var(--red-primary);
  color: var(--white);
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

/* === MENÚ DESPLEGABLE (igual a capturas 5-13) === */
.nav-drawer {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 980;
  overflow-y: auto;
  transform: translateY(-110%);
  transition: transform 0.28s ease;
  padding: 12px 0 90px;
}
.nav-drawer.open { transform: translateY(0); }
.nav-list { list-style: none; max-width: 680px; margin: 0 auto; }
.nav-item { border-bottom: 1px solid #F2F2F2; }
.nav-link-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-main);
  text-transform: uppercase;
  text-align: left;
}
.nav-link-row.active-red {
  background: var(--red-primary);
  color: var(--white);
}
.nav-sublist {
  display: none;
  background: #FFF9FA;
  border-top: 1px solid var(--red-border);
  list-style: none;
  padding: 6px 0;
}
.nav-sublist.open { display: block; }
.nav-sublist button {
  width: 100%;
  text-align: left;
  padding: 13px 34px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  transition: background 0.15s, color 0.15s;
}
.nav-sublist button:hover {
  background: var(--red-soft);
  color: var(--red-primary);
}

/* === PESTAÑA FLOTANTE DE MONEDA (PEN/USD) === */
.currency-tab {
  position: fixed;
  right: 0;
  top: 46%;
  z-index: 900;
  background: var(--red-primary);
  color: var(--white);
  padding: 10px 11px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  border-radius: 8px 0 0 8px;
  box-shadow: -3px 4px 14px rgba(217, 4, 41, 0.35);
}

/* === BOTÓN FLOTANTE DE WHATSAPP === */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 950;
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* === HERO PRINCIPAL (captura 23) === */
.hero-section {
  position: relative;
  min-height: 490px;
  background: radial-gradient(circle at 75% 35%, #EF233C 0%, #B80022 45%, #5E0011 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 46px 0 54px;
}
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.12), transparent 55%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  text-align: center;
}
.hero-title {
  font-size: clamp(32px, 7vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.hero-title em {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  display: block;
}
.hero-badge {
  display: inline-block;
  background: var(--red-primary);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 7px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}
.btn-hero-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--red-primary);
  padding: 16px 42px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, background 0.2s;
}
.btn-hero-white:hover { transform: translateY(-2px); background: var(--red-soft); }
.hero-visual {
  max-width: 310px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.32);
  border: 4px solid rgba(255, 255, 255, 0.22);
}

/* Cinta deslizante debajo del Hero */
.marquee-strip {
  background: var(--red-dark);
  color: var(--white);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}
.marquee-track {
  display: inline-flex;
  gap: 32px;
  animation: marquee 22s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === BANNER DE CATEGORÍA (captura 1) === */
.category-hero {
  background: linear-gradient(115deg, var(--red-deep) 0%, var(--red-dark) 48%, var(--red-primary) 100%);
  color: var(--white);
  padding: 36px 0;
  display: none;
}
.category-hero.visible { display: block; }
.breadcrumb {
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  opacity: 0.88;
  margin-bottom: 10px;
}
.category-hero h1 {
  font-size: clamp(26px, 6vw, 40px);
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* === SECCIONES PRINCIPALES === */
.section-block { padding: 42px 0; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}
.section-title {
  font-size: clamp(21px, 4.5vw, 30px);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  max-width: 620px;
}
.btn-outline-red {
  border: 2px solid var(--red-primary);
  color: var(--red-primary);
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.btn-outline-red:hover { background: var(--red-primary); color: var(--white); }

/* Chips rápidos de categorías y flores */
.pills-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 22px;
  scrollbar-width: none;
}
.pills-bar::-webkit-scrollbar { display: none; }
.cat-pill {
  flex: 0 0 auto;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-page);
  border: 1.5px solid var(--border-light);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  transition: all 0.2s;
}
.cat-pill.active, .cat-pill:hover {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: var(--white);
}

/* Barra de filtros y ordenamiento (captura 1) */
.toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 22px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
}
.btn-filters {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--red-primary);
  color: var(--red-primary);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
}
.results-meta {
  font-size: 13px;
  color: var(--text-muted);
}
.sort-select {
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  font-size: 13px;
  font-weight: 600;
  background: var(--white);
  color: var(--text-main);
}

/* === GRID DE PRODUCTOS (2 columnas móvil, 4 escritorio) === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #F1F1F1;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--red-soft);
  overflow: hidden;
  cursor: pointer;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.product-card:hover .product-thumb img { transform: scale(1.04); }
.badge-off {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--red-primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.3px;
}
.product-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-cat-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.product-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.3;
  cursor: pointer;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 10px;
}
.price-old {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
}
.price-current {
  font-size: 17px;
  font-weight: 800;
  color: var(--red-primary);
}
.btn-add-card {
  width: 100%;
  background: var(--red-primary);
  color: var(--white);
  padding: 9px 10px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s;
}
.btn-add-card:hover { background: var(--red-dark); }

/* === TARJETAS VISUALES DE CATEGORÍAS === */
.categories-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--red-soft);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(110, 0, 20, 0.85) 0%, rgba(110, 0, 20, 0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: var(--white);
}
.cat-card-overlay h3 { font-size: 18px; font-weight: 800; text-transform: uppercase; }
.cat-card-overlay span { font-size: 12px; opacity: 0.9; }

/* === CITAS EMOCIONALES & BENEFICIOS (capturas 24-30) === */
.quote-band {
  background: var(--red-soft);
  border-top: 1px solid var(--red-border);
  border-bottom: 1px solid var(--red-border);
  padding: 36px 20px;
  text-align: center;
}
.quote-band p {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(17px, 3.8vw, 22px);
  font-weight: 600;
  color: var(--red-deep);
}
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.benefit-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 24px;
}
.benefit-card h4 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.benefit-card p { font-size: 14px; color: var(--text-muted); }

/* === FOOTER === */
.site-footer {
  background: #141414;
  color: #E5E5E5;
  padding: 48px 0 30px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 32px;
}
.footer-col h5 {
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col li, .footer-col p { font-size: 14px; color: #BDBDBD; }
.footer-col button, .footer-col a { color: #BDBDBD; font-size: 14px; text-align: left; }
.footer-col button:hover, .footer-col a:hover { color: var(--red-hover); }
.footer-bottom {
  border-top: 1px solid #2A2A2A;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #888;
}

/* === MODALES Y DRAWERS === */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-backdrop.open { display: flex; }
.modal-box {
  background: var(--white);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  box-shadow: var(--shadow-md);
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #F4F4F4;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-title { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.modal-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

/* Drawer lateral (Carrito y Filtros) */
.side-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1150;
  display: none;
}
.side-drawer-backdrop.open { display: block; }
.side-drawer {
  position: fixed;
  top: 0; bottom: 0;
  width: 100%;
  max-width: 390px;
  background: var(--white);
  z-index: 1160;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease;
  box-shadow: var(--shadow-md);
}
.side-drawer.right { right: 0; transform: translateX(105%); }
.side-drawer.left { left: 0; transform: translateX(-105%); }
.side-drawer.open { transform: translateX(0); }
.drawer-header {
  background: var(--red-primary);
  color: var(--white);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-header h3 { font-size: 18px; font-weight: 800; }
.drawer-close {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 20px;
}
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 20px; }
.drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-light);
  background: #FAFAFA;
}

/* Formularios */
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #E2E2E2;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}
.form-control:focus { border-color: var(--red-primary); }
.btn-red-full {
  width: 100%;
  background: var(--red-primary);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.4px;
  transition: background 0.2s;
}
.btn-red-full:hover { background: var(--red-dark); }
.btn-wa-full {
  width: 100%;
  background: var(--whatsapp);
  color: var(--white);
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Tabs de Login/Registro (captura 3) */
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #F4F4F4;
  padding: 4px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.auth-tab {
  padding: 10px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}
.auth-tab.active {
  background: var(--red-primary);
  color: var(--white);
}

/* Items del carrito */
.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #F0F0F0;
}
.cart-item img {
  width: 68px; height: 68px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.qty-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  margin-top: 6px;
}
.qty-box button { font-weight: 800; font-size: 16px; color: var(--red-primary); }

/* Selector de moneda (captura 31) */
.currency-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 10px;
  background: #1C1C1C;
  color: var(--white);
  font-weight: 700;
}
.currency-option.active { background: var(--red-primary); }

/* Banner de cookies rojo (capturas 7-15) */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--red-primary);
  color: var(--white);
  padding: 18px 20px;
  text-align: center;
  z-index: 940;
  box-shadow: 0 -6px 22px rgba(0,0,0,0.18);
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: 14px; margin-bottom: 12px; }
.cookie-banner button {
  background: var(--white);
  color: var(--red-primary);
  padding: 9px 28px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 14px;
}

/* Alertas */
.alert-box {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
.alert-error { background: #FEE2E2; color: #991B1B; }
.alert-success { background: #DCFCE7; color: #166534; }

/* === RESPONSIVE ESCRITORIO === */
@media (min-width: 768px) {
  .site-header .container { padding: 0 16px; }
  .header-inner { gap: 8px; }
  .header-left, .header-right { gap: 10px; }
  .btn-menu-pill { padding: 8px 14px; gap: 8px; font-size: 13px; }
  .icon-btn { width: 38px; height: 38px; }
  .brand-logo svg { width: 24px; height: 24px; }
  .brand-logo span { font-size: 19px; }
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; text-align: left; }
  .products-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .categories-showcase { grid-template-columns: repeat(4, 1fr); }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}


/* === COMPLEMENTOS / EXTRAS EN MODAL DE PRODUCTO === */
.addons-box {
  background: var(--red-soft);
  border: 1px solid var(--red-border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
}
.addons-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--red-deep);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}
.addon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  background: var(--white);
  border: 1.5px solid #F2D7DC;
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.addon-item:last-child { margin-bottom: 0; }
.addon-item.checked {
  border-color: var(--red-primary);
  background: #FFF7F8;
}
.addon-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}
.addon-left input[type="checkbox"] {
  accent-color: var(--red-primary);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.addon-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--red-primary);
  white-space: nowrap;
}
.cart-addons-list {
  font-size: 12px;
  color: var(--text-muted);
  margin: 3px 0 4px;
  line-height: 1.35;
}

/* === SELECTOR RÁPIDO DE FECHA DE ENTREGA === */
.date-quick-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}
.date-pill-btn {
  padding: 8px 6px;
  border-radius: 10px;
  border: 1.5px solid #E2E2E2;
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  transition: all 0.15s;
}
.date-pill-btn.active {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: var(--white);
}

/* === MINI DASHBOARD DE ESTADÍSTICAS (ADMIN) === */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.kpi-card {
  background: var(--white);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #EFEFEF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.kpi-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.kpi-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.15;
}
.kpi-card.kpi-red .kpi-value { color: var(--red-primary); }
.kpi-sub {
  font-size: 12px;
  color: #888;
}
@media (min-width: 768px) {
  .kpi-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}


/* === MÉTODOS DE PAGO (YAPE Y BCP) === */
.pay-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.pay-option-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 11px 8px;
  border-radius: 12px;
  border: 1.5px solid #E2E2E2;
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  transition: all 0.15s;
  text-align: center;
}
.pay-option-btn small {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}
.pay-option-btn.active {
  border-color: var(--red-primary);
  background: var(--red-soft);
  color: var(--red-deep);
}
.pay-option-btn.active.pay-yape {
  border-color: #742284;
  background: #F9F0FB;
  color: #5B1669;
}
.pay-option-btn.active.pay-bcp {
  border-color: #002A8D;
  background: #EEF4FF;
  color: #002A8D;
}
.pay-details-card {
  background: #FAFAFA;
  border: 1.5px solid #EAEAEA;
  border-radius: 14px;
  padding: 13px;
  margin-bottom: 14px;
  font-size: 13px;
}
.pay-details-card.yape-theme {
  background: #FDF7FF;
  border-color: #E3C2EB;
}
.pay-details-card.bcp-theme {
  background: #F5F8FF;
  border-color: #C7D9FF;
}
.pay-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.pay-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.3px;
}
.pay-tag.yape { background: #742284; }
.pay-tag.bcp { background: #002A8D; }
.pay-data-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--white);
  border: 1px solid #EAEAEA;
  border-radius: 10px;
  padding: 8px 10px;
  margin-top: 6px;
}
.pay-data-info {
  min-width: 0;
  flex: 1;
}
.pay-data-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}
.pay-data-val {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  word-break: break-all;
}
.btn-copy-mini {
  flex-shrink: 0;
  background: var(--red-primary);
  color: var(--white);
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  transition: background 0.15s;
}
.btn-copy-mini:hover { background: var(--red-dark); }
.btn-copy-mini.copied { background: #16A34A; }
.pay-note-hint {
  margin-top: 9px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Bloque informativo de pagos en Home */
.home-payments-strip {
  margin-top: 22px;
  background: var(--white);
  border: 1.5px solid var(--red-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.home-pay-box {
  background: #FAFAFA;
  border: 1px solid #ECECEC;
  border-radius: 14px;
  padding: 14px;
}
@media (min-width: 768px) {
  .home-payments-strip { grid-template-columns: 1fr 1fr; gap: 18px; }
}
