/*
 * =============================================================================
 * AVNAILS COSMETICS — styles-light.css (tema claro profesional)
 * =============================================================================
 *
 * PALETA (no usar #00f7ff sobre blanco — contraste insuficiente WCAG AA)
 * -----------------------------------------------------------------------------
 * | Token / uso              | Hex       | Notas contraste (aprox., WCAG)   |
 * |--------------------------|-----------|-----------------------------------|
 * | Texto principal          | #1a1a1a   | ~16.1:1 sobre #fff (AAA cuerpo)  |
 * | Texto secundario         | #555555   | ~7.5:1 sobre #fff (AA cuerpo)    |
 * | Texto muted              | #888888   | ~4.6:1 sobre #fff (AA cuerpo ~)  |
 * | Marca / enlaces UI       | #00c2c0   | ~3.2:1 sobre #fff (UI/grande)*  |
 * | Marca hover              | #009e9c   | ~3.8:1 sobre #fff                |
 * | Botón primario (texto)   | #ffffff   | >4.5:1 sobre #00c2c0 (AA)        |
 * | Precios / acento oscuro  | #00857f   | ~4.8:1 sobre #fff (AA cuerpo)    |
 * | Badge fondo              | #e6fffe   | Superficie suave                 |
 * | Badge texto              | #00857f   | ~4.5:1+ sobre #e6fffe (AA)       |
 * | Fondos                   | #fff/#f8f9fa | Alternancia secciones        |
 *
 * *El cyan #00c2c0 sobre blanco se reserva para UI de peso visual moderado,
 *  titulares grandes o bordes; cuerpo largo y precios usan #1a1a1a / #00857f.
 * =============================================================================
 */

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

:root {
  --brand:        #00c2c0;
  --brand-hover:  #009e9c;
  --brand-ink:    #00857f;
  --bg:           #ffffff;
  --bg-alt:       #f8f9fa;
  --surface:      #ffffff;
  --text:         #1a1a1a;
  --text-secondary: #555555;
  --muted:        #888888;
  --border-soft:  #eeeeee;
  --shadow-card:  0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-nav:   0 2px 16px rgba(0, 0, 0, 0.08);
  --radius:       14px;
  --radius-lg:    16px;
  --font:         'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: 'Fraunces', Georgia, serif;
  --ease:         0.2s ease;
  --prose:        70ch;
  --shadow-lg:    0 20px 50px rgba(0, 0, 0, 0.12);
}

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

p {
  font-family: var(--font);
}

/* ---- UTILIDADES ---- */
.cyan { color: var(--brand); }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--hero {
  transition-duration: 0.85s;
}

/* ---- CABECERA FIJA (barra + nav) ---- */
.header-cluster {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
}

.announcement-bar {
  background: linear-gradient(90deg, var(--brand-hover) 0%, var(--brand) 45%, #0d9488 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  overflow: hidden;
}

.announcement-track {
  position: relative;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

.announcement-item {
  position: absolute;
  left: 50%;
  max-width: 92vw;
  transform: translate(-50%, 10px);
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
  font-family: var(--font);
}

.announcement-item.active {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---- NAVBAR ---- */
nav {
  position: relative;
  background: #ffffff;
  border-bottom: 1px solid var(--border-soft);
  padding: 10px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  transition: box-shadow var(--ease);
}

/* Sombra al scroll (cabecera completa) */
@supports (animation-timeline: scroll(root)) {
  .header-cluster {
    animation: nav-scroll-shadow linear;
    animation-timeline: scroll(root);
    animation-range: 0 80px;
  }
}

@keyframes nav-scroll-shadow {
  0% { box-shadow: 0 0 0 rgba(0, 0, 0, 0); }
  100% { box-shadow: var(--shadow-nav); }
}

.header-cluster.scrolled {
  box-shadow: var(--shadow-nav);
}

nav.scrolled {
  box-shadow: none;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo-link {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-logo {
  height: 48px;
  width: auto;
  max-width: min(220px, 46vw);
  display: block;
  object-fit: contain;
  transition: opacity var(--ease), transform var(--ease);
}
.logo-link:hover .site-logo {
  opacity: 0.92;
  transform: scale(1.02);
}

.logo-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(160deg, #5eead4 0%, var(--brand) 55%, var(--brand-hover) 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow var(--ease), transform var(--ease);
}
.logo-link:hover .logo-circle {
  box-shadow: 0 2px 10px rgba(0, 194, 192, 0.35);
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color var(--ease);
}
.nav-links a:hover { color: var(--brand-hover); }

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: none;
  background: var(--bg-alt);
  border-radius: 10px;
  cursor: pointer;
  margin-right: 0.35rem;
}
.nav-mobile-toggle-bar {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.nav-item { position: relative; }
.nav-mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-chevron {
  font-size: 10px;
  opacity: 0.65;
}

.mega-menu {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%) translateY(8px);
  min-width: 560px;
  max-width: calc(100vw - 48px);
  padding: 1.25rem 0 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--ease), visibility var(--ease), transform var(--ease);
}
.nav-item--mega:hover .mega-menu,
.nav-item--mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-menu-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.5rem;
}
.mega-col {
  padding: 0 1rem;
  border-right: 1px solid var(--border-soft);
}
.mega-col:last-child { border-right: none; }
.mega-heading {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.65rem;
}
.mega-link {
  display: block;
  font-family: var(--font);
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.35rem 0;
  transition: color var(--ease), transform var(--ease);
}
.mega-link:hover {
  color: var(--brand-ink);
  transform: translateX(4px);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  visibility: hidden;
}
.mobile-drawer--open {
  pointer-events: auto;
  visibility: visible;
}
.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-drawer--open .mobile-drawer-backdrop { opacity: 1; }
.mobile-drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: #ffffff;
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.12);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.mobile-drawer--open .mobile-drawer-panel { transform: translateX(0); }
.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-drawer-title { font-weight: 700; font-size: 15px; }
.mobile-drawer-close {
  border: none;
  background: var(--bg-alt);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.mobile-drawer-links {
  list-style: none;
  padding: 1rem 0;
  overflow-y: auto;
}
.mobile-drawer-links a {
  display: block;
  padding: 0.85rem 1.25rem;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: background var(--ease);
}
.mobile-drawer-links a:hover {
  background: #e6fffe;
}

body.mobile-nav-open { overflow: hidden; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-icon-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background var(--ease), color var(--ease);
  text-decoration: none;
}
.nav-icon-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}

.cart-icon {
  position: relative;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--ease), color var(--ease);
}
.cart-icon:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--brand);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  transition: background var(--ease);
}
.cart-icon:hover .cart-badge {
  background: var(--brand-hover);
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.btn-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  border: 2px solid var(--brand);
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease), transform var(--ease);
}
.btn-outline:hover {
  border-color: var(--brand-hover);
  color: var(--brand-hover);
  background: #f0fffe;
  transform: translateY(-1px);
}

/* ---- HERO (imagen a pantalla completa) ---- */
.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.34) 50%,
    rgba(0, 0, 0, 0.42) 100%
  );
  pointer-events: none;
}

.hero-content {
  z-index: 1;
}

.hero-content--banner {
  position: relative;
  text-align: center;
  max-width: 920px;
  padding: 2rem 1.5rem 3rem;
}

.hero-eyebrow {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 0.85rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.22;
  margin: 0 0 1rem;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
  letter-spacing: 0.01em;
}

.hero-subtitle {
  font-family: var(--font);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.94);
  max-width: 560px;
  margin: 0 auto 1.75rem;
  line-height: 1.55;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.btn-hero-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-hover) 100%);
  color: #ffffff;
  border: none;
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font);
  letter-spacing: 0.02em;
  cursor: pointer;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 194, 192, 0.35);
  transition: transform var(--ease), box-shadow var(--ease), filter var(--ease);
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 12px 28px rgba(0, 158, 156, 0.4);
}

.btn-hero-ghost {
  display: inline-block;
  background: rgba(0, 0, 0, 0.38);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.92);
  padding: 11px 26px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  letter-spacing: 0.02em;
  cursor: pointer;
  border-radius: 2px;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}
.btn-hero-ghost:hover {
  background: rgba(0, 0, 0, 0.52);
  border-color: #ffffff;
  transform: translateY(-1px);
}

.trust-strip {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-soft);
}
.trust-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 5%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  justify-content: center;
  text-align: left;
}
.trust-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e6fffe;
  border-radius: 10px;
  font-size: 18px;
}
.trust-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font);
}
.trust-text strong {
  font-size: 13px;
  color: var(--text);
}
.trust-text small {
  font-size: 11px;
  color: var(--muted);
}

.section-tiles {
  padding: 3.5rem 5% 1rem;
  background: var(--bg);
}
.section-tiles-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.tiles-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text);
}
.tiles-section-desc {
  font-family: var(--font);
  text-align: center;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: 16px;
}
.tiles-section-desc[hidden] {
  display: none;
}
.tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.tile-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  min-height: 280px;
  border-radius: 24px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.tile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}
.tile-card-media {
  position: absolute;
  inset: 0;
  background-color: #f3ece6;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  transition: transform 0.5s var(--ease);
}
.tile-card--sprite-0 .tile-card-media {
  background-image: url('../images/cat-esmaltes.png');
}
.tile-card--sprite-1 .tile-card-media {
  background-image: url('../images/cat-geles.png');
}
.tile-card--sprite-2 .tile-card-media {
  background-image: url('../images/cat-top-base.png');
}
.tile-card:hover .tile-card-media {
  transform: scale(1.03);
}
.tile-card-glass {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}
.tile-card-copy {
  min-width: 0;
  flex: 1;
}
.tile-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  margin: 0;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}
.tile-card-subtitle {
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 500;
  margin: 0.35rem 0 0;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
}
.tile-card-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  transition: transform 0.28s var(--ease), background 0.28s var(--ease), color 0.28s var(--ease);
}
.tile-card-btn svg {
  transition: transform 0.28s var(--ease);
  transform: rotate(-45deg);
}
.tile-card:hover .tile-card-btn {
  background: var(--brand);
  color: #0f172a;
  transform: scale(1.08);
}
.tile-card:hover .tile-card-btn svg {
  transform: rotate(0deg);
}

.section-header-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-header-row h2 { margin: 0; }
.section-header-link {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color var(--ease), color var(--ease);
}
.section-header-link:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.catalog-bands {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}
.catalog-band {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-family: var(--font);
  box-shadow: var(--shadow-card);
}
.catalog-band--accent {
  border-color: rgba(0, 194, 192, 0.35);
  background: #f0fffe;
}
.catalog-band-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-ink);
}
.catalog-band-text {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ---- SECCIONES GENÉRICAS ---- */
.section-catalog,
.section-about,
.section-contact {
  padding: 6rem 2.5rem;
}

.section-catalog { background: var(--bg-alt); }
.section-about   { background: var(--bg); }
.section-contact { background: var(--bg-alt); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-tag {
  display: inline-block;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.section-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
}
.section-header p {
  color: var(--text-secondary);
  margin-top: 0.65rem;
  font-size: 17px;
  line-height: 1.65;
  max-width: var(--prose);
  margin-left: auto;
  margin-right: auto;
}

/* ---- FILTROS ---- */
.filter-bar {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}
.filter-btn {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
  padding: 11px 24px;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: background var(--ease), border-color var(--ease), color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.filter-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}
.filter-btn.active {
  background: #e6fffe;
  border-color: var(--brand);
  color: var(--brand-ink);
  font-weight: 600;
  box-shadow: var(--shadow-card);
}

/* ---- LOADING ---- */
.loading-state {
  text-align: center;
  padding: 4rem 0;
  color: var(--muted);
  display: none;
}
.loading-state.visible { display: block; }
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 194, 192, 0.2);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- GRID PRODUCTOS ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--ease), transform var(--ease);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.product-img {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  position: relative;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform var(--ease);
}
.product-card:hover .product-img img {
  transform: scale(1.03);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #e6fffe;
  color: var(--brand-ink);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 1;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.product-body { padding: 1.25rem 1.35rem; }
.product-name { font-size: 15px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.product-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 1.1rem;
  line-height: 1.6;
  max-width: var(--prose);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price { font-size: 18px; font-weight: 700; color: var(--brand-ink); }
.product-price-old {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 6px;
}

.btn-cart {
  background: #f0fffe;
  border: 1px solid var(--brand);
  color: var(--brand);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}
.btn-cart:hover {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand-hover);
  transform: translateY(-1px);
}

/* ---- CARRUSEL HOME ---- */
.catalog-carousel-wrap {
  max-width: 1200px;
  margin: 0 auto;
}
.product-carousel-outer {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.carousel-arrow {
  flex-shrink: 0;
  width: 44px;
  min-height: 120px;
  align-self: center;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 194, 192, 0.35);
  background: var(--surface);
  color: var(--brand);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}
.carousel-arrow:hover {
  background: #f0fffe;
  border-color: var(--brand);
}
.product-carousel {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.product-carousel::-webkit-scrollbar {
  height: 6px;
}
.product-carousel::-webkit-scrollbar-thumb {
  background: rgba(0, 194, 192, 0.35);
  border-radius: 4px;
}
.carousel-track {
  display: flex;
  gap: 1rem;
  align-items: stretch;
}
.carousel-slide {
  flex: 0 0 min(85vw, 300px);
  scroll-snap-align: start;
}
.carousel-slide-inner {
  height: 100%;
}
.carousel-slide-inner .product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.carousel-slide-inner .product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.carousel-slide-inner .product-footer {
  margin-top: auto;
}
.catalog-carousel-cta {
  text-align: center;
}
.btn-catalog-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0fffe 0%, #ffffff 100%);
  border: 1px solid rgba(0, 194, 192, 0.45);
  color: var(--brand-ink);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}
.btn-catalog-all:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  background: #ffffff;
}
.catalog-carousel-hint {
  margin-top: 1rem;
  font-size: 13px;
  color: var(--muted);
}

.nav-links a.nav-link-active {
  color: var(--brand-ink);
  font-weight: 700;
}

/* ---- PÁGINA TIENDA ---- */
.page-shop {
  background: var(--bg);
}
.shop-page-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2.5rem 1rem;
  text-align: center;
}
.shop-breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.shop-breadcrumb a {
  color: var(--brand-ink);
  text-decoration: none;
  font-weight: 600;
}
.shop-breadcrumb a:hover {
  text-decoration: underline;
}
.shop-page-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
}
.shop-page-lead {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.55;
}
.shop-trust {
  margin-top: 0.5rem;
  margin-bottom: 0 !important;
}
.shop-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 2rem;
  max-width: 1320px;
  margin: 0 auto;
  padding: 2rem 2.5rem 4rem;
  align-items: start;
}
.shop-sidebar {
  position: relative;
  z-index: 30;
}
.shop-filter-close {
  display: none;
}
.shop-sidebar-sticky {
  position: sticky;
  top: 96px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: var(--shadow-card);
}
.shop-sidebar-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-ink);
  margin: 0 0 1rem;
  font-weight: 700;
}
.shop-filter-group {
  margin: 0 0 1.35rem;
  border: none;
  padding: 0;
}
.shop-filter-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.shop-radio {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 14px;
  margin-bottom: 0.5rem;
  cursor: pointer;
  color: var(--text);
}
.shop-radio input[type="radio"] {
  accent-color: var(--brand);
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
}
/* Contenedor: evita recortes raros del thumb en paneles con scroll (Firefox móvil) */
.shop-price-range-wrap {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  padding: 8px 0 4px;
  overflow: visible;
}

/*
 * Range: Firefox (sobre todo Android) necesita -moz-appearance:none en el <input>;
 * sin eso ignora ::-moz-range-thumb y el thumb parece una barra / pastilla ancha.
 * No usar accent-color aquí: puede anular el aspecto personalizado en algunos builds.
 */
input[type="range"].shop-price-range {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Firefox — track + progreso + thumb (forzar ancho fijo del thumb: evita “pastilla” al 100%) */
input[type="range"].shop-price-range::-moz-range-track {
  height: 8px;
  border-radius: 4px;
  background: var(--border-soft);
  border: 0;
}
input[type="range"].shop-price-range::-moz-range-progress {
  height: 8px;
  border-radius: 4px;
  background: var(--brand);
  border: 0;
}
input[type="range"].shop-price-range::-moz-range-thumb {
  box-sizing: border-box;
  width: 22px;
  min-width: 22px;
  max-width: 22px;
  height: 22px;
  min-height: 22px;
  max-height: 22px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--brand);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}
input[type="range"].shop-price-range::-moz-focus-outer {
  border: 0;
}

/* Chromium / Safari / Edge */
input[type="range"].shop-price-range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 4px;
  background: var(--border-soft);
}
input[type="range"].shop-price-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  margin-top: -7px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--brand);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

input[type="range"].shop-price-range:focus {
  outline: none;
}
input[type="range"].shop-price-range:focus-visible::-moz-range-thumb {
  outline: 2px solid var(--brand-ink);
  outline-offset: 3px;
}
input[type="range"].shop-price-range:focus-visible::-webkit-slider-thumb {
  outline: 2px solid var(--brand-ink);
  outline-offset: 3px;
}
.shop-price-label {
  font-size: 12px;
  color: var(--muted);
  margin: 0.35rem 0 0;
}
.shop-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 14px;
  cursor: pointer;
  line-height: 1.35;
  color: var(--text);
}
.shop-checkbox-label input[type="checkbox"] {
  accent-color: var(--brand);
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
}
.shop-reset-btn {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: var(--bg-alt);
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}
.shop-reset-btn:hover {
  color: var(--brand-ink);
  border-color: rgba(0, 194, 192, 0.45);
  background: #f0fffe;
}
.shop-apply-filters-btn {
  display: none;
  width: 100%;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  border: none;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.shop-apply-filters-btn:hover {
  background: var(--brand-ink);
}
.shop-apply-filters-btn:active {
  transform: scale(0.98);
}
.shop-main {
  min-width: 0;
}
.shop-mobile-bar {
  display: none;
  margin-bottom: 1rem;
}

/* Toggle vista lista/cuadrícula (solo móvil, junto a Filtros) */
.shop-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.shop-view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
}
.shop-view-btn.active {
  background: #e6fffe;
  color: var(--brand-ink);
}
.shop-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.shop-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  align-items: stretch;
}
.shop-search-input {
  flex: 1;
  min-width: min(100%, 220px);
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}
.shop-search-submit {
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid rgba(0, 194, 192, 0.45);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.shop-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}
.shop-page-btn {
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.shop-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.shop-page-indicator {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 600;
}

body.shop-search-open {
  overflow: hidden;
}

.shop-search-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) 12px 24px;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s var(--ease), visibility 0.22s;
}
.shop-search-modal.shop-search-modal--open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}
.shop-search-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}
.shop-search-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  max-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transform: translateY(8px);
  transition: transform 0.25s var(--ease);
}
.shop-search-modal--open .shop-search-modal-panel {
  transform: translateY(0);
}
.shop-search-modal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--border-soft);
}
.shop-search-modal-icon {
  display: flex;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.shop-search-modal-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 17px;
  font-family: inherit;
  background: transparent;
  color: var(--text);
  min-width: 0;
}
.shop-search-modal-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: var(--text-secondary);
  border-radius: 8px;
}
.shop-search-modal-close:hover {
  background: rgba(0, 0, 0, 0.06);
}
.shop-search-modal-body {
  overflow-y: auto;
  padding: 14px 16px 20px;
  -webkit-overflow-scrolling: touch;
}
.shop-search-section {
  margin-bottom: 1.25rem;
}
.shop-search-section:last-child {
  margin-bottom: 0;
}
.shop-search-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.shop-search-section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}
.shop-search-clear {
  border: none;
  background: transparent;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
}
.shop-search-status {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 10px;
}
.shop-search-empty {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 10px;
}
.shop-search-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 520px) {
  .shop-search-results {
    grid-template-columns: repeat(4, 1fr);
  }
}
.shop-search-results--recent {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 520px) {
  .shop-search-results--recent {
    grid-template-columns: repeat(4, 1fr);
  }
}

.shop-search-hit {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface);
}
.shop-search-hit-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-alt);
}
.shop-search-hit-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.shop-search-hit-emoji {
  font-size: 2rem;
}
.shop-search-hit-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
}
.shop-search-hit-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.shop-search-hit-title:hover {
  color: var(--brand);
}
.shop-search-hit-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}
.shop-search-hit-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-ink);
}
.btn-cart--compact {
  padding: 6px 10px;
  font-size: 12px;
}

.product-card-media-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.product-name--link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.product-name--link:hover {
  color: var(--brand);
}

.product-page-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}
.product-detail-wrap {
  margin-top: 0.5rem;
}
.product-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 768px) {
  .product-detail-inner {
    grid-template-columns: 1fr;
  }
}
.product-detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.product-detail-gallery img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: #fff;
}
.product-detail-gallery--emoji {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
}
.product-detail-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 1rem;
}
.product-detail-price-row {
  margin-bottom: 1rem;
}
.product-detail-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-ink);
}
.product-detail-price-old {
  margin-left: 10px;
  font-size: 1.1rem;
  text-decoration: line-through;
  color: var(--text-secondary);
}
.product-detail-desc {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.product-detail-desc.rte {
  color: var(--text);
}
.product-detail-desc.rte img {
  max-width: 100%;
  height: auto;
}
.product-detail-actions {
  margin-top: 0.5rem;
}
.btn-cart--large {
  padding: 14px 22px;
  font-size: 16px;
}
.product-detail-error {
  padding: 2rem;
  text-align: center;
  color: var(--text-secondary);
}
.product-variant-block {
  margin: 1rem 0 0.5rem;
}
.variant-option-group {
  margin-bottom: 1rem;
}
.variant-option-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.variant-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.variant-pill {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: border-color var(--ease), background var(--ease), color var(--ease);
}
.variant-pill:hover {
  border-color: rgba(0, 194, 192, 0.45);
}
.variant-pill.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}
.product-variant-error {
  font-size: 14px;
  color: #c62828;
  margin: 0 0 0.75rem;
}
.btn-cart--options {
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: inherit;
}

body.product-quickview-open {
  overflow: hidden;
}

.product-quickview-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) 12px 24px;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s var(--ease), visibility 0.22s;
}
.product-quickview-modal.product-quickview-modal--open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}
.product-quickview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.product-quickview-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(90vh, 800px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.25s var(--ease);
}
.product-quickview-modal--open .product-quickview-panel {
  transform: translateY(0) scale(1);
}
.product-quickview-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: var(--text-secondary);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.product-quickview-close:hover {
  background: #fff;
  color: var(--text);
}
.product-quickview-loading {
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-secondary);
}
.product-quickview-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.product-quickview-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 640px) {
  .product-quickview-inner {
    grid-template-columns: minmax(200px, 42%) 1fr;
  }
}
.product-quickview-media {
  background: #fafafa;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 1rem;
}
.product-quickview-media img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
}
.product-quickview-emoji {
  font-size: 72px;
  line-height: 1;
}
.product-quickview-info {
  padding: 1.25rem 1.5rem 1.5rem;
}
.product-quickview-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 2rem 0.5rem 0;
  line-height: 1.25;
}
.product-quickview-title a {
  color: inherit;
  text-decoration: none;
}
.product-quickview-title a:hover {
  color: var(--brand);
}
.product-quickview-desc {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0.75rem 0 0;
}
.product-quickview-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}
.product-quickview-full-link {
  font-size: 14px;
  color: var(--brand);
  text-align: center;
}
.product-quickview-full-link:hover {
  text-decoration: underline;
}
.product-detail-gallery img#productDetailMainImage {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: #fff;
}

.shop-filter-open {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid rgba(0, 194, 192, 0.45);
  background: #f0fffe;
  color: var(--brand-ink);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: var(--shadow-card);
}
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-soft);
}
.shop-result-count {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}
.shop-sort-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.shop-sort-label {
  font-size: 13px;
  color: var(--text-secondary);
}
.shop-sort-select {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  min-width: 210px;
  font-family: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}
.shop-products-grid {
  max-width: none;
}
.shop-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}
/*
 * Velo bajo la cabecera (.header-cluster z-index 100): si el overlay ≥100,
 * el menú superior también queda gris y parece que los filtros van “debajo” del velo.
 */
.shop-filter-overlay {
  position: fixed;
  inset: 0;
  z-index: 88;
  pointer-events: none;
  visibility: hidden;
}
.shop-filter-overlay .shop-filter-backdrop {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: rgba(26, 26, 26, 0.55);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.shop-filter-radios {
  background: transparent;
}

/* Escritorio: forzar layout de columna lateral (por si quedó estado “móvil” en el DOM) */
@media (min-width: 901px) {
  .shop-sidebar {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    pointer-events: auto !important;
    overflow: visible !important;
  }
  .shop-sidebar-sticky {
    position: sticky !important;
    top: 96px !important;
    left: auto !important;
    transform: none !important;
    width: auto !important;
    max-height: none !important;
    padding: 1.35rem 1.25rem 1.5rem !important;
    border-radius: var(--radius) !important;
    border: 1px solid var(--border-soft) !important;
    background: var(--surface) !important;
    box-shadow: var(--shadow-card) !important;
    z-index: auto !important;
  }
}

/* ---- SHOPIFY NOTICE ---- */
.shopify-notice {
  background: #f0fffe;
  border: 1px dashed rgba(0, 194, 192, 0.45);
  border-radius: var(--radius);
  padding: 1.25rem 1.75rem;
  margin: 3rem auto 0;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--brand-ink);
  text-align: center;
  box-shadow: var(--shadow-card);
}
.shopify-notice code {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 13px;
}

/* ---- QUIÉNES SOMOS ---- */
.about-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.about-visual { position: relative; }
.about-photo-frame {
  max-width: 280px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  background: var(--surface);
  transition: box-shadow var(--ease), transform var(--ease);
}
.about-photo-frame:hover {
  box-shadow: var(--shadow-card-hover);
  transform: scale(1.01);
}
.about-photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about-img {
  background: var(--surface);
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 90px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--ease), transform var(--ease);
}
.about-img:hover {
  box-shadow: var(--shadow-card-hover);
  transform: scale(1.01);
}
.about-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: var(--brand);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: background var(--ease), transform var(--ease);
}
.about-badge:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
}
.about-content .section-tag { display: block; text-align: left; margin-bottom: 0.5rem; }
.about-content h2 { font-size: 2rem; font-weight: 700; margin-bottom: 1.1rem; color: var(--text); }
.about-content p {
  color: var(--text-secondary);
  margin-bottom: 1.1rem;
  font-size: 17px;
  line-height: 1.65;
  max-width: var(--prose);
}
.about-features { display: flex; flex-direction: column; gap: 1.15rem; margin-top: 1.75rem; }
.about-feat { display: flex; align-items: flex-start; gap: 14px; }
.feat-icon {
  width: 42px; height: 42px;
  background: #e6fffe;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  transition: transform var(--ease), box-shadow var(--ease);
}
.about-feat:hover .feat-icon {
  transform: scale(1.05);
  box-shadow: var(--shadow-card);
}
.feat-text strong { display: block; font-size: 15px; font-weight: 600; color: var(--text); }
.feat-text span { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }

.section-values {
  padding: 4rem 5%;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft);
}
.values-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--ease), box-shadow var(--ease);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.value-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  color: var(--text);
}
.value-card-text {
  font-family: var(--font);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ---- CONTACTO ---- */
.contact-inner {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}
.contact-info h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.6rem; color: var(--text); }
.contact-item {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 1.35rem;
}
.contact-icon {
  width: 44px; height: 44px;
  background: #e6fffe;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  transition: transform var(--ease);
}
.contact-item:hover .contact-icon { transform: scale(1.05); }
.contact-item strong { display: block; font-size: 15px; font-weight: 600; color: var(--text); }
.contact-item span { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }
.contact-link {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  text-decoration: none;
  transition: color var(--ease);
}
.contact-link:hover {
  color: var(--brand-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* WhatsApp más prominente (tema claro) */
.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #25d366 0%, #1ebe5c 100%);
  color: #ffffff;
  padding: 18px 28px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  margin-top: 2.25rem;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
  transition: transform var(--ease), box-shadow var(--ease), filter var(--ease);
}
.whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 32px rgba(30, 190, 92, 0.5);
  filter: brightness(1.03);
}

.contact-form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
  transition: box-shadow var(--ease);
}
.contact-form:hover { box-shadow: var(--shadow-card-hover); }
.contact-form h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.6rem; color: var(--text); }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 600;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 16px;
  font-family: var(--font);
  line-height: 1.5;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 194, 192, 0.2);
}
.form-status {
  font-size: 14px;
  margin: 0.35rem 0 0.5rem;
  min-height: 1.25em;
  color: var(--text-secondary);
}
.form-status--ok { color: var(--brand-ink); font-weight: 600; }
.form-status--error { color: #c62828; }
.btn-send {
  width: 100%;
  background: var(--brand);
  color: #ffffff;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  margin-top: 0.65rem;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  box-shadow: 0 2px 12px rgba(0, 194, 192, 0.35);
}
.btn-send:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 158, 156, 0.4);
}

/* Banner cookies (tema claro: añade .cookie-banner--light al contenedor) */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 1rem 1.25rem 1.25rem;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--border-soft);
  box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.1);
}
body.cookie-banner-visible {
  padding-bottom: 11rem;
}
@media (min-width: 640px) {
  body.cookie-banner-visible {
    padding-bottom: 8rem;
  }
}
.cookie-banner-inner {
  max-width: 920px;
  margin: 0 auto;
}
.cookie-banner-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin: 0 0 0.45rem;
  color: var(--text);
}
.cookie-banner-text {
  font-family: var(--font);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0 0 1rem;
}
.cookie-banner-text a {
  color: var(--brand-ink);
  font-weight: 600;
  text-decoration: underline;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}
.cookie-btn {
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  font-size: 14px;
  transition: transform var(--ease), box-shadow var(--ease);
}
.cookie-btn:hover {
  transform: translateY(-1px);
}
.cookie-btn--primary {
  background: var(--brand);
  color: #ffffff;
  border: none;
  box-shadow: 0 2px 12px rgba(0, 194, 192, 0.35);
}
.cookie-btn--ghost {
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  color: var(--text);
}

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 5% 6rem;
  font-family: var(--font);
}
.legal-page h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
  color: var(--text);
}
.legal-page .legal-lead {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 2rem;
}
.legal-page h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin: 1.75rem 0 0.65rem;
  color: var(--text);
}
.legal-page p,
.legal-page li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
.legal-page ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.legal-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--brand-ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.legal-back:hover {
  text-decoration: underline;
}

.section-newsletter {
  padding: 3.5rem 5%;
  background: linear-gradient(180deg, #f0fffe 0%, var(--bg-alt) 100%);
  border-top: 1px solid var(--border-soft);
}
.newsletter-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.newsletter-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 0 0 0.5rem;
  color: var(--text);
}
.newsletter-text {
  font-family: var(--font);
  color: var(--text-secondary);
  margin: 0;
  max-width: 420px;
  font-size: 16px;
}
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.newsletter-input {
  min-width: 220px;
  flex: 1;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
}
.newsletter-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 194, 192, 0.2);
}
.newsletter-btn {
  padding: 12px 22px;
  border-radius: 12px;
  border: none;
  background: var(--brand);
  color: #ffffff;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
  box-shadow: 0 2px 12px rgba(0, 194, 192, 0.35);
}
.newsletter-btn:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
}
.newsletter-hint {
  text-align: center;
  font-family: var(--font);
  font-size: 13px;
  color: var(--muted);
  margin: 1.25rem 0 0;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border-soft);
  padding: 3rem 5% 2rem;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
}
.footer-brand .footer-logo-img {
  margin-bottom: 0.75rem;
}
.footer-logo-img {
  height: 40px;
  width: auto;
  max-width: 160px;
  display: block;
  object-fit: contain;
}
.footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 3px;
}
.footer-tagline {
  font-family: var(--font);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col-title {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 0.35rem;
}
.footer-col a {
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--ease);
}
.footer-col a:hover {
  color: var(--brand);
}
.site-footer .footer-copy {
  text-align: center;
  font-family: var(--font);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* ---- CARRITO LATERAL ---- */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(26, 26, 26, 0.35);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-panel {
  position: fixed;
  top: 0; right: 0;
  width: 380px;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid var(--border-soft);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.08);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.cart-panel.open { transform: translateX(0); }

.cart-header {
  padding: 1.6rem 1.5rem;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h3 { font-size: 17px; font-weight: 700; color: var(--text); }
.cart-close {
  background: none; border: none;
  color: var(--muted); font-size: 22px;
  cursor: pointer; transition: color var(--ease), transform var(--ease);
}
.cart-close:hover { color: var(--text); transform: scale(1.08); }

.cart-items { flex: 1; overflow-y: auto; padding: 1.5rem; }
.cart-empty { text-align: center; color: var(--muted); padding: 3rem 0; font-size: 15px; line-height: 1.6; }

.cart-item {
  display: flex; gap: 14px;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.cart-item-img {
  width: 56px; height: 56px;
  background: var(--bg-alt);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--border-soft);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; color: var(--text); }
.cart-item-price { font-size: 14px; color: var(--brand-ink); font-weight: 600; }
.cart-item-remove {
  background: none; border: none;
  color: var(--muted); cursor: pointer;
  font-size: 17px; align-self: flex-start;
  transition: color var(--ease), transform var(--ease);
}
.cart-item-remove:hover { color: #c62828; transform: scale(1.1); }

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
}
.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.cart-qty-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease), color var(--ease);
}
.cart-qty-btn:hover:not(:disabled) {
  background: #e6fffe;
  color: var(--brand-ink);
}
.cart-qty-btn:disabled {
  color: var(--border-soft);
  cursor: default;
}
.cart-qty-input {
  width: 38px;
  border: none;
  outline: none;
  text-align: center;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  -moz-appearance: textfield;
  appearance: textfield;
}
.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-footer {
  padding: 1.6rem 1.5rem;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-alt);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 1.35rem;
  color: var(--text);
}
.cart-total span:last-child { color: var(--brand-ink); }
.cart-footer-actions {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.btn-cart-continue {
  flex: 1;
  min-width: 0;
  padding: 14px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: #fff;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--ease), border-color var(--ease);
}
.btn-cart-continue:hover {
  background: var(--bg-alt);
  border-color: rgba(0, 194, 192, 0.45);
}
.btn-checkout {
  flex: 1;
  min-width: 0;
  background: var(--brand);
  color: #ffffff;
  padding: 15px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background var(--ease), box-shadow var(--ease), transform var(--ease);
  box-shadow: 0 2px 12px rgba(0, 194, 192, 0.35);
}
.btn-checkout:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 158, 156, 0.4);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  body.shop-filters-open {
    overflow: hidden;
  }
  body.shop-filters-open .shop-filter-overlay {
    pointer-events: auto;
    visibility: visible;
  }

  .hero { min-height: min(68vh, 560px); }
  .about-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .tiles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .tile-card {
    aspect-ratio: 3 / 4;
    min-height: 240px;
  }
  .values-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mega-menu { display: none; }
  .carousel-arrow {
    width: 38px;
    min-height: 80px;
    font-size: 1.5rem;
  }
  .shop-layout {
    grid-template-columns: 1fr;
    padding: 1rem 1.25rem 3rem;
  }
  .shop-sidebar {
    width: 0;
    height: 0;
    min-height: 0;
    padding: 0;
    margin: 0;
    border: none;
    overflow: visible;
    pointer-events: none;
  }
  /* El aside tiene z-index:30 en desktop; si no lo subimos aquí, el hijo fixed queda *dentro* de ese contexto y todo el panel queda bajo el velo (88) → no se puede tocar el filtro */
  .shop-sidebar.shop-sidebar--open {
    pointer-events: auto;
    z-index: 125;
  }
  .shop-sidebar-sticky {
    pointer-events: auto;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(100vw, 420px);
    max-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* Por encima del velo (88) y de la cabecera (100): panel opaco, sin tono gris encima */
    z-index: 120;
    isolation: isolate;
    transform: translateX(-100%);
    transition: transform 0.28s var(--ease);
    border-radius: 0;
    padding: max(3.75rem, calc(env(safe-area-inset-top, 0px) + 2.75rem)) 1.35rem 1.75rem;
    background: #ffffff;
    border-right: 1px solid var(--border-soft);
    box-shadow: none;
  }
  .shop-sidebar.shop-sidebar--open .shop-sidebar-sticky {
    transform: translateX(0);
    box-shadow:
      1px 0 0 rgba(0, 0, 0, 0.06),
      12px 0 48px rgba(0, 0, 0, 0.14);
  }
  .shop-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  /* Vista compacta: cuadrícula 2-3 columnas con tarjeta reducida */
  .shop-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
  }
  .shop-grid--compact .product-desc {
    display: none;
  }
  .shop-grid--compact .product-body {
    padding: 0.7rem 0.8rem 0.85rem;
  }
  .shop-grid--compact .product-name {
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .shop-grid--compact .product-img {
    font-size: 38px;
  }
  .shop-grid--compact .product-badge {
    top: 8px;
    left: 8px;
    font-size: 10px;
    padding: 3px 8px;
  }
  .shop-grid--compact .product-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
  }
  .shop-grid--compact .product-price {
    font-size: 15px;
  }
  .shop-grid--compact .product-price-old {
    font-size: 11px;
  }
  .shop-grid--compact .btn-cart {
    width: 100%;
    padding: 7px 8px;
    font-size: 12px;
    text-align: center;
  }
  .shop-filter-close {
    display: block;
    position: absolute;
    top: max(12px, calc(env(safe-area-inset-top, 0px) + 8px));
    right: max(12px, env(safe-area-inset-right, 0px));
    z-index: 5;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border-soft);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    box-shadow: var(--shadow-card);
  }
  .shop-page-hero {
    padding: 2rem 1.25rem 0.5rem;
  }

  body.shop-filters-open .shop-reset-btn {
    border: 1px solid rgba(0, 133, 127, 0.45);
    color: var(--brand-ink);
    font-weight: 600;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  }
  .shop-apply-filters-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 133, 127, 0.25);
  }
}

@media (max-width: 600px) {
  nav { padding: 10px 4%; min-height: 60px; }
  .nav-left { gap: 0.5rem; }
  .nav-mobile-toggle { display: flex; }
  .nav-links { display: none; }
  .section-catalog,
  .section-about,
  .section-contact { padding: 4.5rem 1.25rem; }
  .cart-panel { width: 100%; }
  .trust-strip-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .trust-item { justify-content: center; }
  .tiles-grid { grid-template-columns: 1fr; }
  .tile-card {
    aspect-ratio: 4 / 5;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; align-items: stretch; }
  .newsletter-form { flex-direction: column; }
  .product-carousel-outer {
    gap: 0.25rem;
  }
  .carousel-arrow {
    width: 34px;
    padding: 0 4px;
  }
  .carousel-slide {
    flex: 0 0 min(88vw, 280px);
  }
}
