/* ================================
   Paraíso Rosa — Estilos profesionales
   ================================ */

:root {
  --color-bg: #fdf6f9;
  --color-surface: #ffffff;
  --color-text: #1f0d18;
  --color-text-muted: #7a6573;
  --color-border: #f0d9e3;
}

/* Dark mode */
html.dark {
  --color-bg: #1a0e14;
  --color-surface: #261520;
  --color-text: #fce7f0;
  --color-text-muted: #a89096;
  --color-border: #3d2230;
  --color-rose-light: #2d1820;
  --color-rose-soft: #3d2230;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
}
html.dark .product-image,
html.dark .gallery-main,
html.dark .gallery-thumb,
html.dark .cart-item-image { background: #2d1820; }
html.dark img { opacity: 0.95; }
html.dark .topbar { filter: brightness(0.85); }

:root {
  /* Continua con las demás vars */
  --color-accent: #2a1620;
  --color-accent-hover: #1a0e14;
  --color-gold: #d23772;            /* "gold" alias = rosa de marca */
  --color-rose: #d23772;
  --color-rose-deep: #a01851;
  --color-rose-soft: #fce7f0;
  --color-rose-light: #fdf2f8;
  --color-success: #2d7a4f;
  --color-danger: #c0392b;
  --color-warning: #c87a1c;
  --color-pse: #00549f;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.10);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --container: 1280px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 15px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ================================
   Top bar / Anuncio
   ================================ */
.topbar {
  background: linear-gradient(90deg, var(--color-rose-deep), var(--color-rose));
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ================================
   Header / Navegación
   ================================ */
.header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 0;
  gap: 24px;
}

.logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-align: center;
  grid-column: 2;
  color: var(--color-rose);
}

.logo span {
  color: var(--color-rose);
}

.nav {
  grid-column: 1;
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav a {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--transition);
}

.nav a:hover::after {
  width: 100%;
}

.header-actions {
  grid-column: 3;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  align-items: center;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: relative;
  transition: background var(--transition);
}

.icon-btn:hover {
  background: var(--color-bg);
}

.cart-badge,
.wishlist-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--color-rose);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-badge:empty {
  display: none;
}

.menu-toggle {
  display: none;
}

/* ================================
   Hero
   ================================ */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, #fde2ec 0%, #f6c0d5 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1490481651871-ab68de25d43d?w=1920&q=80")
    center / cover no-repeat;
  opacity: 0.55;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 580px;
  padding: 80px 0;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  margin-bottom: 20px;
  line-height: 1.05;
}

.hero p {
  font-size: 17px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 480px;
}

/* ================================
   Botones
   ================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--color-rose);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-rose-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(210, 55, 114, 0.25);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-rose);
  color: var(--color-rose);
}

.btn-outline:hover {
  background: var(--color-rose);
  color: #fff;
}

.btn-dark {
  background: var(--color-accent);
  color: #fff;
}

.btn-dark:hover {
  background: var(--color-accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
}

.btn-ghost:hover {
  background: var(--color-bg);
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ================================
   Sección genérica
   ================================ */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--color-text-muted);
  max-width: 580px;
  margin: 0 auto;
}

/* ================================
   Tira de beneficios
   ================================ */
.benefits {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 0;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}

.benefit svg {
  flex-shrink: 0;
  color: var(--color-gold);
}

.benefit strong {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}

.benefit span {
  color: var(--color-text-muted);
  font-size: 12px;
}

/* ================================
   Catálogo / Filtros
   ================================ */
.catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
}

.filters {
  position: sticky;
  top: 100px;
  align-self: start;
}

.filter-group {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-group h3 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-list button {
  text-align: left;
  font-size: 14px;
  color: var(--color-text-muted);
  padding: 4px 0;
  transition: color var(--transition);
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.filter-list button:hover,
.filter-list button.active {
  color: var(--color-text);
  font-weight: 500;
}

.filter-list .count {
  color: var(--color-text-muted);
  font-weight: 400;
  font-size: 12px;
}

/* Toolbar */
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.results-count {
  font-size: 13px;
  color: var(--color-text-muted);
}

.sort-select {
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-size: 13px;
  cursor: pointer;
}

/* Grid de productos */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f0ede7;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

.product-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
}

.badge-new {
  background: var(--color-accent);
  color: #fff;
}

.badge-sale {
  background: var(--color-gold);
  color: #fff;
}

.product-quick-add {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: var(--color-accent);
  color: #fff;
  padding: 11px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
}

.product-card:hover .product-quick-add {
  opacity: 1;
  transform: translateY(0);
}

.product-quick-add:hover {
  background: var(--color-accent-hover);
}

/* Control de cantidad inline en la tarjeta (cuando ya está en carrito) */
.product-quick-qty {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 4px;
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(184, 67, 110, 0.3);
}
.product-qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-qty-btn:hover {
  background: rgba(255,255,255,0.32);
}
.product-qty-value {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  min-width: 28px;
  text-align: center;
}

/* Badge de cantidad sobre la imagen (esquina superior izquierda) */
.product-card-cart-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--color-accent);
  color: #fff;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(184, 67, 110, 0.35);
  pointer-events: none;
}

/* Mini selector de variante (talla / color) que aparece dentro de la tarjeta */
.product-variant-picker {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(4px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  padding: 14px;
  border-radius: var(--radius);
  animation: pvpFadeIn 0.18s ease-out;
}
@keyframes pvpFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}
.pvp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
}
.pvp-header strong {
  font-size: 13px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.2;
  flex: 1;
  padding-right: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pvp-close {
  background: transparent;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pvp-close:hover { color: var(--color-text); }
.pvp-section {
  margin-bottom: 10px;
}
.pvp-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: 6px;
}
.pvp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.pvp-pill {
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
}
.pvp-pill:hover:not(:disabled) {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.pvp-pill.active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.pvp-pill:disabled {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
}
.pvp-confirm {
  margin-top: auto;
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition);
}
.pvp-confirm:hover:not(:disabled) {
  background: var(--color-accent-hover);
}
.pvp-confirm:disabled {
  background: var(--color-border);
  color: var(--color-text-muted);
  cursor: not-allowed;
}

/* En tarjetas con variant picker abierto, ocultar el botón de quick-add */
.product-card:has(.product-variant-picker) .product-quick-add,
.product-card:has(.product-variant-picker) .product-quick-qty {
  display: none;
}

/* En móvil, mantener visible el control de cantidad sin requerir hover */
@media (max-width: 768px) {
  .product-quick-add { opacity: 1; transform: none; }
  .product-quick-qty { opacity: 1; transform: none; }
}

.product-info {
  padding: 18px 4px 8px;
}

.product-category {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 8px;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-current {
  font-size: 15px;
  font-weight: 600;
}

.price-old {
  font-size: 13px;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--color-text-muted);
}

/* ================================
   Detalle de producto
   ================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 48px 0 80px;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-main {
  aspect-ratio: 3 / 4;
  background: #f0ede7;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
  background: #f0ede7;
}

.gallery-thumb.active {
  border-color: var(--color-accent);
}

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

.product-detail-info {
  padding-top: 8px;
}

.breadcrumbs {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.breadcrumbs a:hover {
  color: var(--color-text);
}

.detail-name {
  font-size: 36px;
  margin-bottom: 12px;
}

.detail-price {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
}

.detail-price .price-old {
  font-size: 16px;
  margin-left: 12px;
}

.detail-description {
  color: var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.option-group {
  margin-bottom: 24px;
}

.option-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}

.option-label .selected {
  color: var(--color-text-muted);
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}

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

.option-pill {
  padding: 10px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: var(--color-surface);
  cursor: pointer;
  transition: all var(--transition);
  min-width: 52px;
}

.option-pill:hover {
  border-color: var(--color-accent);
}

.option-pill.active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.qty-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.qty-input {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  overflow: hidden;
}

.qty-input button {
  width: 44px;
  height: 48px;
  font-size: 18px;
  color: var(--color-text);
  transition: background var(--transition);
}

.qty-input button:hover {
  background: var(--color-bg);
}

.qty-input input {
  width: 50px;
  height: 48px;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 500;
  outline: none;
}

.detail-features {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.detail-feature {
  display: flex;
  gap: 12px;
  font-size: 13px;
}

.detail-feature svg {
  flex-shrink: 0;
  color: var(--color-gold);
  margin-top: 2px;
}

.detail-feature strong {
  display: block;
  margin-bottom: 2px;
}

.detail-feature span {
  color: var(--color-text-muted);
  font-size: 12px;
}

/* ================================
   Carrito (página)
   ================================ */
.cart-page {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  padding: 48px 0 80px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 20px;
  padding: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  align-items: center;
}

.cart-item-image {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #f0ede7;
}

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

.cart-item-info h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}

.cart-item-meta {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.cart-item-meta span {
  margin-right: 12px;
}

.cart-item-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.cart-qty {
  display: inline-flex;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cart-qty button {
  width: 32px;
  height: 32px;
  background: var(--color-surface);
  font-size: 14px;
}

.cart-qty button:hover {
  background: var(--color-bg);
}

.cart-qty span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  font-weight: 500;
  font-size: 13px;
}

.cart-item-remove {
  font-size: 12px;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-item-remove:hover {
  color: var(--color-danger);
}

.cart-item-price {
  text-align: right;
  font-weight: 600;
  font-size: 16px;
}

/* Resumen */
.summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: 100px;
  align-self: start;
}

.summary h3 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}

.summary-row.muted {
  color: var(--color-text-muted);
}

.summary-divider {
  height: 1px;
  background: var(--color-border);
  margin: 14px 0;
}

.summary-total {
  font-size: 19px;
  font-weight: 600;
  font-family: var(--font-display);
}

.summary .btn {
  margin-top: 24px;
}

.coupon-row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.coupon-row input {
  flex: 1;
  padding: 11px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition);
}

.coupon-row input:focus {
  border-color: var(--color-accent);
}

.coupon-row button {
  padding: 11px 16px;
  background: var(--color-bg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.coupon-row button:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.cart-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
}

.cart-empty h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.cart-empty p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

/* ================================
   Checkout
   ================================ */
.checkout-page {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  padding: 48px 0 80px;
}

.checkout-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.checkout-steps span.active {
  color: var(--color-text);
  font-weight: 600;
}

.checkout-steps span:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  color: var(--color-text-muted);
}

.checkout-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 20px;
}

.checkout-section h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-section h3 .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}

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

.form-field input.error,
.form-field select.error {
  border-color: var(--color-danger);
}

.form-field .field-error {
  font-size: 11px;
  color: var(--color-danger);
}

/* Métodos de pago */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-method {
  display: flex;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  align-items: center;
}

.payment-method:hover {
  border-color: var(--color-text-muted);
}

.payment-method.selected {
  border-color: var(--color-accent);
  background: rgba(0, 0, 0, 0.02);
}

.payment-method input[type="radio"] {
  margin: 0;
  accent-color: var(--color-accent);
  width: 18px;
  height: 18px;
}

.payment-method-info {
  flex: 1;
}

.payment-method-info strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.payment-method-info span {
  font-size: 12px;
  color: var(--color-text-muted);
}

.payment-logo {
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 4px;
}

.payment-logo.pse {
  background: var(--color-pse);
  color: #fff;
}

.payment-logo.card {
  background: linear-gradient(135deg, #1a1a1a 0%, #444 100%);
  color: #fff;
}

.pse-form {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  display: none;
}

.pse-form.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.pse-notice {
  background: #f0f7fd;
  border: 1px solid #d0e3f5;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 13px;
  color: #1f4e7a;
  margin-bottom: 16px;
  display: flex;
  gap: 10px;
}

.pse-notice svg {
  flex-shrink: 0;
  color: var(--color-pse);
  margin-top: 2px;
}

/* Resumen lateral */
.checkout-summary {
  position: sticky;
  top: 100px;
  align-self: start;
}

.checkout-summary .summary-line-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 16px;
  max-height: 320px;
  overflow-y: auto;
}

.summary-line-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  font-size: 13px;
}

.summary-line-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #f0ede7;
}

.summary-line-item .qty {
  position: absolute;
  background: var(--color-accent);
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 40px;
  margin-top: -10px;
}

.summary-line-item .item-meta {
  font-size: 11px;
  color: var(--color-text-muted);
}

.summary-line-item .item-name {
  font-weight: 500;
}

/* ================================
   Confirmación
   ================================ */
.confirmation {
  text-align: center;
  padding: 80px 20px;
  max-width: 720px;
  margin: 0 auto;
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  background: var(--color-success);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.confirmation h1 {
  font-size: 42px;
  margin-bottom: 12px;
}

.confirmation .lead {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.order-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: left;
  margin-bottom: 24px;
}

.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.order-grid > div {
  font-size: 13px;
}

.order-grid label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 4px;
}

/* ================================
   Footer
   ================================ */
.footer {
  background: #1a1a1a;
  color: #d4d2cd;
  padding: 64px 0 32px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  text-align: left;
  color: #fff;
  margin-bottom: 16px;
  font-size: 32px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 13px;
  color: #a8a59f;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #888;
  flex-wrap: wrap;
  gap: 16px;
}

.payment-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.payment-icons span {
  background: #fff;
  color: #1a1a1a;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.payment-icons .pse-mini {
  background: var(--color-pse);
  color: #fff;
}

/* ================================
   Toast
   ================================ */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--color-accent);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 12px;
  align-items: center;
  z-index: 200;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast svg {
  color: #88e0a8;
  flex-shrink: 0;
}

/* ================================
   Loader / Procesando pago
   ================================ */
.processing-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 500;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  padding: 24px;
}

.processing-overlay.active {
  display: flex;
}

.spinner {
  width: 56px;
  height: 56px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-pse);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.processing-overlay h3 {
  font-size: 22px;
}

.processing-overlay p {
  color: var(--color-text-muted);
  max-width: 480px;
  font-size: 14px;
}

/* ================================
   Responsivo
   ================================ */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-detail,
  .cart-page,
  .checkout-page {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .summary, .checkout-summary, .filters {
    position: static;
  }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 16px;
    margin-bottom: 16px;
  }
}

@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .header-inner { grid-template-columns: auto 1fr auto; gap: 12px; }
  .nav { display: none; position: fixed; inset: 64px 0 0; background: #fff; flex-direction: column; padding: 32px 24px; align-items: flex-start; border-top: 1px solid var(--color-border); }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-flex; grid-column: 1; }
  .logo { grid-column: 2; font-size: 22px; text-align: left; }
  .header-actions { gap: 6px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .benefits-grid { grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .order-grid { grid-template-columns: 1fr; }
  .detail-features { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item-price { grid-column: 1 / -1; text-align: left; }
  .section { padding: 48px 0; }
  .hero { min-height: 60vh; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ================================
   Wishlist heart en card
   ================================ */
.wishlist-heart {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--color-text-muted);
}
.wishlist-heart:hover { background: #fff; color: var(--color-rose); transform: scale(1.08); }
.wishlist-heart.active { color: var(--color-rose); background: #fff; }
.wishlist-heart.active svg { fill: currentColor; }

/* Stock indicator */
.stock-indicator {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.stock-indicator::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
}
.stock-indicator.low::before { background: var(--color-warning); }
.stock-indicator.out::before { background: var(--color-danger); }
.stock-indicator.low { color: var(--color-warning); }
.stock-indicator.out { color: var(--color-danger); }

/* ================================
   Buscador
   ================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 300;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}
.search-overlay.open { display: flex; animation: fadeIn 0.2s ease; }
.search-modal {
  background: #fff;
  width: 100%;
  max-width: 640px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.search-input-wrap {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  gap: 12px;
}
.search-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 18px;
  font-family: inherit;
}
.search-input-wrap button {
  font-size: 12px;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.search-results { max-height: 60vh; overflow-y: auto; }
.search-result {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 14px;
  padding: 14px 20px;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: background var(--transition);
}
.search-result:hover { background: var(--color-rose-light); }
.search-result img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; }
.search-result-info strong { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 500; }
.search-result-info span { font-size: 12px; color: var(--color-text-muted); text-transform: capitalize; }
.search-empty { padding: 40px 20px; text-align: center; color: var(--color-text-muted); font-size: 14px; }

/* ================================
   WhatsApp flotante
   ================================ */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 150;
  transition: transform var(--transition);
  cursor: pointer;
}
.fab-whatsapp:hover { transform: scale(1.08); }
.fab-whatsapp svg { width: 28px; height: 28px; }

/* FAB carrito (sobre el de WhatsApp) */
.fab-cart {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-rose);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(210, 55, 114, 0.45);
  z-index: 150;
  transition: transform var(--transition), opacity 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  opacity: 0;
  transform: scale(0.85);
}
.fab-cart.show {
  display: flex;
  opacity: 1;
  transform: scale(1);
  animation: fabCartIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fab-cart:hover { transform: scale(1.08); background: var(--color-rose-deep); }
.fab-cart svg { width: 24px; height: 24px; }
.fab-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  background: #fff;
  color: var(--color-rose);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: 2px solid var(--color-rose);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
@keyframes fabCartIn {
  from { opacity: 0; transform: scale(0.5) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 720px) {
  .fab-cart { bottom: 88px; right: 16px; width: 50px; height: 50px; }
  .fab-cart svg { width: 22px; height: 22px; }
}

/* ================================
   Banner cookies / habeas data
   ================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 480px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 250;
  display: none;
  font-size: 13px;
  line-height: 1.6;
}
.cookie-banner.show { display: block; animation: fadeIn 0.3s ease; }
.cookie-banner strong { display: block; margin-bottom: 6px; font-size: 14px; }
.cookie-banner p { color: var(--color-text-muted); margin-bottom: 14px; }
.cookie-banner a { color: var(--color-rose); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-banner-actions .btn { padding: 9px 18px; font-size: 11px; }

/* ================================
   Tracking / Seguimiento
   ================================ */
.tracking-hero {
  background: linear-gradient(135deg, var(--color-rose-soft), #fff);
  padding: 64px 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.tracking-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.tracking-hero p { color: var(--color-text-muted); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }

.tracking-form {
  display: grid;
  grid-template-columns: 1fr 220px auto;
  gap: 8px;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-md);
}
.tracking-form input,
.tracking-form select {
  border: none;
  padding: 14px 16px;
  font-size: 14px;
  outline: none;
  background: transparent;
}
.tracking-form select { border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border); }
.tracking-form button { padding: 0 24px; }

.tracking-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-top: 32px;
  box-shadow: var(--shadow-sm);
}
.tracking-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 28px;
}
.tracking-summary > div label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 4px;
}
.tracking-summary > div strong { font-size: 14px; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.status-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-pending { background: #fef3e7; color: #c87a1c; }
.status-prep { background: #fef0f5; color: var(--color-rose-deep); }
.status-shipped { background: #e6f0fa; color: var(--color-pse); }
.status-transit { background: #e3eafc; color: #2e4a8a; }
.status-delivery { background: #fff4dd; color: #b87b00; }
.status-delivered { background: #e7f6ed; color: var(--color-success); }
.status-issue { background: #fdebe9; color: var(--color-danger); }

.timeline {
  position: relative;
  padding: 8px 0 0 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--color-border);
}
.timeline-step {
  position: relative;
  padding-bottom: 22px;
}
.timeline-step::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--color-border);
}
.timeline-step.done::before {
  background: var(--color-rose);
  border-color: var(--color-rose);
  box-shadow: 0 0 0 4px var(--color-rose-soft);
}
.timeline-step.current::before {
  background: var(--color-rose);
  border-color: var(--color-rose);
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(210, 55, 114, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(210, 55, 114, 0); }
}
.timeline-step strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.timeline-step.done strong { color: var(--color-rose-deep); }
.timeline-step span {
  font-size: 12px;
  color: var(--color-text-muted);
  display: block;
}

/* ================================
   Notificaciones (toasts mejorados)
   ================================ */
.notif-bell {
  position: relative;
  cursor: pointer;
}
.notif-panel {
  position: absolute;
  top: 56px;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 110;
  display: none;
  overflow: hidden;
}
.notif-panel.open { display: block; animation: fadeIn 0.2s ease; }
.notif-panel header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.notif-panel header h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.notif-list { max-height: 420px; overflow-y: auto; }
.notif-item {
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  gap: 12px;
  font-size: 13px;
}
.notif-item:last-child { border-bottom: none; }
.notif-item.unread { background: var(--color-rose-light); }
.notif-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--color-rose-soft);
  color: var(--color-rose);
  display: flex;
  align-items: center;
  justify-content: center;
}
.notif-text strong { display: block; margin-bottom: 2px; }
.notif-text span { color: var(--color-text-muted); font-size: 11px; }
.notif-empty { padding: 40px 20px; text-align: center; color: var(--color-text-muted); font-size: 13px; }

/* ================================
   Tabla simple
   ================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
}
.data-table thead th {
  text-align: left;
  padding: 12px 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-rose-light);
  font-weight: 600;
}
.data-table tbody td {
  padding: 14px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}
.data-table tbody tr:hover { background: var(--color-rose-light); }
.data-table img.thumb {
  width: 44px; height: 44px;
  object-fit: cover;
  border-radius: 4px;
}

/* Form section helpers */
.section-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
}
.section-card h3 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

@media (max-width: 720px) {
  .tracking-form { grid-template-columns: 1fr; }
  .tracking-form select { border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
  .tracking-summary { grid-template-columns: 1fr 1fr; }
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; }
  .fab-whatsapp { bottom: 16px; right: 16px; }
  .notif-panel { right: -80px; }
}

/* ================================
   Animaciones de entrada (page load)
   ================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.anim-fadeup       { animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
.anim-fadein       { animation: fadeIn 1.1s ease-out both; }
.anim-slideright   { animation: slideRight 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
.anim-scalein      { animation: scaleIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }

.anim-delay-1 { animation-delay: 0.15s; }
.anim-delay-2 { animation-delay: 0.30s; }
.anim-delay-3 { animation-delay: 0.45s; }
.anim-delay-4 { animation-delay: 0.60s; }
.anim-delay-5 { animation-delay: 0.75s; }
.anim-delay-6 { animation-delay: 0.90s; }

/* Hero parallax suave + zoom inicial */
.hero::before {
  animation: heroZoom 18s ease-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

/* Reveal on scroll (intersection observer en index.html) */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger en grid de productos cuando se hacen visibles */
.product-grid.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
}
.product-grid.reveal-stagger.visible > * {
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.product-grid.reveal-stagger.visible > *:nth-child(1) { animation-delay: 0s; }
.product-grid.reveal-stagger.visible > *:nth-child(2) { animation-delay: 0.08s; }
.product-grid.reveal-stagger.visible > *:nth-child(3) { animation-delay: 0.16s; }
.product-grid.reveal-stagger.visible > *:nth-child(4) { animation-delay: 0.24s; }
.product-grid.reveal-stagger.visible > *:nth-child(5) { animation-delay: 0.32s; }
.product-grid.reveal-stagger.visible > *:nth-child(6) { animation-delay: 0.40s; }
.product-grid.reveal-stagger.visible > *:nth-child(n+7) { animation-delay: 0.48s; }

/* Brillo dorado en eyebrow del hero */
.hero-eyebrow {
  background: linear-gradient(90deg, var(--color-rose) 0%, var(--color-rose-deep) 50%, var(--color-rose) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s linear infinite, fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Badge "Nuevo" pulsante */
.badge-new {
  animation: float 2.5s ease-in-out infinite;
}

/* Respeto a usuarios con preferencia reduce-motion */
@media (prefers-reduced-motion: reduce) {
  .anim-fadeup, .anim-fadein, .anim-slideright, .anim-scalein,
  .reveal, .product-grid.reveal-stagger > * {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero::before { animation: none !important; }
  .hero-eyebrow { animation: none !important; background: none; color: var(--color-rose); -webkit-text-fill-color: var(--color-rose); }
  .badge-new { animation: none !important; }
}

