/* ==============================================================================
   ATOKEI STOREFRONT SIMULATOR & TIENDA ONLINE HERO
   Diseño D2C Premium, Modal Interactivo Coquette/Boutique y Checkout WhatsApp
   ============================================================================== */

:root {
  --store-primary: #db2777;
  --store-primary-hover: #be185d;
  --store-primary-gradient: linear-gradient(135deg, #f43f5e 0%, #db2777 50%, #be185d 100%);
  --store-primary-light: #fdf2f8;
  --store-primary-border: #fbcfe8;
  --store-accent-green: #10b981;
  --store-text-main: #0f172a;
  --store-text-muted: #64748b;
  --store-border: #e2e8f0;
  --store-bg: #f8fafc;
  --store-radius: 16px;
  --store-radius-lg: 24px;
  --store-shadow: 0 12px 36px -4px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04);
  --store-shadow-lg: 0 24px 60px -12px rgba(219, 39, 119, 0.15), 0 10px 24px rgba(15, 23, 42, 0.08);
}

/* -------------------------------------------------------------------------
   1. STAGE & WRAPPER DEL SIMULADOR
   ------------------------------------------------------------------------- */
.store-sim-stage {
  margin: 36px auto 0;
  max-width: 1100px;
  width: 100%;
  position: relative;
}

.store-sim-shell {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--store-radius-lg);
  box-shadow: 0 25px 65px -12px rgba(15, 23, 42, 0.14), 0 8px 24px rgba(219, 39, 119, 0.06);
  overflow: hidden;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Barra superior tipo ventana / navegador */
.store-sim-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  gap: 16px;
  font-family: var(--font-body, inherit);
}

.store-sim-topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.store-sim-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.store-sim-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  display: inline-block;
}

.store-sim-dots span:nth-child(1) { background: #ff5f56; }
.store-sim-dots span:nth-child(2) { background: #ffbd2e; }
.store-sim-dots span:nth-child(3) { background: #27c93f; }

.store-sim-url-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  font-size: 0.82rem;
  color: #334155;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-sim-url-pill strong {
  color: var(--store-primary);
  font-weight: 700;
}

.store-sim-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.store-sim-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.store-sim-live-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}

/* -------------------------------------------------------------------------
   2. HEADER INTERNO DE LA TIENDA
   ------------------------------------------------------------------------- */
.store-inner-header {
  padding: 18px 24px;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.store-brand-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.store-brand-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--store-primary-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 6px 16px rgba(219, 39, 119, 0.25);
  font-family: var(--font-heading, sans-serif);
}

.store-brand-title {
  font-family: var(--font-heading, sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--store-text-main);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.store-brand-desc {
  font-size: 0.78rem;
  color: var(--store-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.store-brand-desc span.dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #cbd5e1;
}

.store-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.store-cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--store-primary-gradient);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(219, 39, 119, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-cart-trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(219, 39, 119, 0.4);
}

.store-cart-badge-count {
  background: #ffffff;
  color: var(--store-primary);
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

/* -------------------------------------------------------------------------
   3. BARRA DE HERRAMIENTAS (BUSCADOR & CATEGORÍAS)
   ------------------------------------------------------------------------- */
.store-toolbar {
  padding: 16px 24px;
  background: #fafafa;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.store-search-wrap {
  position: relative;
  width: 100%;
}

.store-search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.store-search-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 10px 16px 10px 42px;
  font-size: 0.88rem;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}

.store-search-input:focus {
  border-color: var(--store-primary);
  box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.15);
}

.store-cats-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.store-cats-scroll::-webkit-scrollbar {
  display: none;
}

.store-cat-chip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.store-cat-chip:hover {
  border-color: #cbd5e1;
  color: #0f172a;
  background: #f1f5f9;
}

.store-cat-chip.active {
  background: var(--store-primary-light);
  border-color: var(--store-primary-border);
  color: var(--store-primary);
  font-weight: 700;
}

/* -------------------------------------------------------------------------
   4. GRILLA DE PRODUCTOS DEL CATÁLOGO
   ------------------------------------------------------------------------- */
.store-products-area {
  padding: 24px;
  background: #ffffff;
  min-height: 480px;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.store-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: var(--store-radius);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: left;
}

.store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
  border-color: #cbd5e1;
}

.store-card-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.store-card:hover .store-card-img-wrap img {
  transform: scale(1.05);
}

.store-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  color: var(--store-primary);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--store-primary-border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.store-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.store-card-title {
  font-family: var(--font-heading, sans-serif);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--store-text-main);
  margin-bottom: 4px;
  line-height: 1.25;
}

.store-card-variants-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.store-color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: inline-block;
}

.store-card-variants-text {
  font-size: 0.72rem;
  color: var(--store-text-muted);
  font-weight: 500;
}

.store-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid #f8fafc;
}

.store-card-price {
  font-family: var(--font-heading, sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--store-primary);
}

.store-card-action-btn {
  background: #f1f5f9;
  color: #334155;
  border: none;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  transition: all 0.15s ease;
}

.store-card:hover .store-card-action-btn {
  background: var(--store-primary);
  color: #ffffff;
}

/* -------------------------------------------------------------------------
   5. MODAL DE PRODUCTO (RÉPLICA EXACTA DEL SCREENSHOT)
   ------------------------------------------------------------------------- */
.store-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.store-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.store-modal-card {
  background: #ffffff;
  border-radius: var(--store-radius-lg);
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.28);
  max-width: 860px;
  width: 100%;
  max-height: 92%;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  transform: scale(0.96) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px;
}

.store-modal-backdrop.open .store-modal-card {
  transform: scale(1) translateY(0);
}

/* Botones superiores del modal (Expand, Share, Close) */
.store-modal-top-actions {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.store-modal-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}

.store-modal-icon-btn:hover {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.store-modal-top-left-actions {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

/* Cuerpo dividido del modal */
.store-modal-body {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 768px) {
  .store-modal-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Lado Izquierdo: Galería */
.store-modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.store-modal-main-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  border-radius: var(--store-radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f1f5f9;
  position: relative;
}

.store-modal-main-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.store-modal-dots-indicator {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: -6px;
}

.store-modal-dots-indicator span {
  width: 18px;
  height: 4px;
  border-radius: 999px;
  background: #e2e8f0;
  transition: all 0.2s ease;
}

.store-modal-dots-indicator span.active {
  background: var(--store-primary);
  width: 26px;
}

.store-modal-thumbs-row {
  display: flex;
  gap: 10px;
}

.store-modal-thumb-btn {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  border: 2px solid transparent;
  padding: 2px;
  background: #f8fafc;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.15s ease;
}

.store-modal-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.store-modal-thumb-btn.active {
  border-color: var(--store-primary);
  box-shadow: 0 0 0 2px rgba(219, 39, 119, 0.2);
}

/* Lado Derecho: Detalles de Producto */
.store-modal-details {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-modal-category-tag {
  display: inline-block;
  align-self: flex-start;
  background: #fdf2f8;
  color: var(--store-primary);
  border: 1px solid #fbcfe8;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  margin-bottom: 8px;
}

.store-modal-title {
  font-family: var(--font-heading, sans-serif);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--store-text-main);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  line-height: 1.15;
}

.store-modal-price {
  font-family: var(--font-heading, sans-serif);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--store-primary);
  margin-bottom: 20px;
}

.store-option-block {
  margin-bottom: 18px;
}

.store-option-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
  margin-bottom: 8px;
}

.store-option-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-chip-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  padding: 8px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.store-chip-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.store-chip-btn.active {
  background: #ffffff;
  border: 2px solid var(--store-primary);
  color: var(--store-primary);
  font-weight: 700;
  box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.12);
}

/* Stepper de Cantidad */
.store-qty-stepper {
  display: inline-flex;
  align-items: center;
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
  border-radius: 999px;
  padding: 4px 6px;
  gap: 12px;
}

.store-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: var(--store-primary);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: background 0.15s ease;
}

.store-qty-btn:hover {
  background: #fce7f3;
}

.store-qty-val {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--store-text-main);
  min-width: 16px;
  text-align: center;
}

/* Botón Primario: Agregar al Pedido */
.store-add-to-cart-btn {
  background: var(--store-primary-gradient);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 16px 24px;
  font-family: var(--font-heading, sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(219, 39, 119, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  margin-top: 10px;
  margin-bottom: 24px;
  width: 100%;
}

.store-add-to-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(219, 39, 119, 0.45);
}

.store-add-to-cart-btn:active {
  transform: translateY(0);
}

/* -------------------------------------------------------------------------
   6. OTROS TAMBIÉN LLEVAN (CROSS-SELLING CAROUSEL)
   ------------------------------------------------------------------------- */
.store-cross-selling-box {
  border-top: 1px solid #f1f5f9;
  padding-top: 18px;
  margin-top: 6px;
}

.store-cross-selling-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.store-cross-selling-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 800;
  color: #1e293b;
}

.store-cross-selling-title svg {
  color: var(--store-primary);
}

.store-cross-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.store-cross-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.store-cross-item:hover {
  background: #ffffff;
  border-color: var(--store-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.store-cross-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  margin-bottom: 6px;
}

.store-cross-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-cross-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--store-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.store-cross-price {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--store-primary);
}

/* -------------------------------------------------------------------------
   7. DRAWER DE CARRITO & CHECKOUT WHATSAPP
   ------------------------------------------------------------------------- */
.store-cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 100%;
  height: 100%;
  background: #ffffff;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.18);
  z-index: 120;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid #e2e8f0;
}

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

.store-cart-head {
  padding: 18px 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.store-cart-head h3 {
  font-family: var(--font-heading, sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--store-text-main);
  margin: 0;
}

.store-cart-close {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
}

.store-cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.store-cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.store-cart-item-img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
  flex-shrink: 0;
}

.store-cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-cart-item-info {
  flex: 1;
  min-width: 0;
}

.store-cart-item-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--store-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-cart-item-variant {
  font-size: 0.74rem;
  color: var(--store-text-muted);
  margin-bottom: 4px;
}

.store-cart-item-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--store-primary);
}

.store-cart-item-del {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}

.store-cart-item-del:hover {
  color: #ef4444;
}

.store-cart-foot {
  padding: 20px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.store-delivery-select-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.store-delivery-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
}

.store-delivery-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.store-delivery-radio {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.store-delivery-radio.active {
  border-color: var(--store-primary);
  background: var(--store-primary-light);
  font-weight: 700;
  color: var(--store-primary);
}

.store-cart-totals-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  color: #475569;
}

.store-cart-totals-row.is-total {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--store-text-main);
  border-top: 1px dashed #cbd5e1;
  padding-top: 8px;
}

.store-cart-wa-checkout-btn {
  background: #25d366;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-weight: 800;
  font-size: 0.98rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.15s ease;
}

.store-cart-wa-checkout-btn:hover {
  background: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}

/* -------------------------------------------------------------------------
   8. MODAL DE RESULTADO / MENSAJE WHATSAPP (DOPAMINA CRO)
   ------------------------------------------------------------------------- */
.store-wa-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.store-wa-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.store-wa-card {
  background: #0f172a;
  color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  text-align: left;
}

.store-wa-card-head {
  background: #075e54;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.store-wa-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.store-wa-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.store-wa-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.store-wa-sub {
  font-size: 0.75rem;
  color: #d1fae5;
}

.store-wa-bubble {
  background: #dcf8c6;
  color: #111827;
  padding: 16px 18px;
  border-radius: 12px;
  border-top-left-radius: 2px;
  margin: 20px;
  font-size: 0.85rem;
  line-height: 1.5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  font-family: monospace, sans-serif;
  white-space: pre-wrap;
}

.store-wa-actions {
  padding: 0 20px 20px;
  display: flex;
  gap: 10px;
}

.store-wa-btn-trial {
  background: var(--store-primary-gradient);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  flex: 1;
  text-align: center;
}

.store-wa-btn-close {
  background: #1e293b;
  color: #94a3b8;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}
