/* VARIABLES Paleta c lida boutique */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Dancing+Script:wght@600;700&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Colores principales */
  --rose:      #E1999F;
  --rose-d:    #c97a82;
  --rose-dd:   #a85f66;
  --rose-l:    #f5d5d8;
  --rose-ll:   #fdf0f1;
  --rose-lll:  #fff7f8;

  /* Neutros */
  --ink:       #1a0a0c;
  --ink-2:     #4a2a2e;
  --ink-3:     #8a6a6e;
  --ink-4:     #c4aaac;
  --pearl:     #fffcfc;
  --cream:     #faf5f5;
  --border:    #f0e4e5;
  --border-d:  #e0c8ca;

  /* Tipograf a */
  --font-display: 'Cormorant Garamond', serif;
  --font-script:  'Dancing Script', cursive;
  --font-body:    'DM Sans', sans-serif;

  /* Espaciado y forma */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(161,90,95,.08);
  --shadow:    0 4px 24px rgba(161,90,95,.12);
  --shadow-lg: 0 12px 48px rgba(161,90,95,.18);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--pearl);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-body); }

/* TOPBAR */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  padding: 8px;
  letter-spacing: .6px;
  text-transform: uppercase;
}

/* HEADER */
.header {
  background: var(--pearl);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(12px);
  background: rgba(255,252,252,.92);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 28px;
}

/* Marca */
.brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.brand img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rose-l);
  box-shadow: 0 2px 8px rgba(225,153,159,.2);
}
.brand-noimg {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--rose-d));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  box-shadow: 0 4px 12px rgba(225,153,159,.3);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  color: var(--ink);
  letter-spacing: -.3px;
  line-height: 1.1;
}
.brand-sub {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 500;
  letter-spacing: .4px;
  margin-top: 1px;
}

/* Buscador */
.search-bar {
  display: flex;
  align-items: center;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 0 18px;
  gap: 10px;
  transition: all .2s;
  max-width: 420px;
}
.search-bar:focus-within {
  border-color: var(--rose);
  background: white;
  box-shadow: 0 0 0 3px rgba(225,153,159,.12);
}
.search-bar input {
  border: none; background: none; outline: none;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  width: 100%;
  padding: 11px 0;
}
.search-bar input::placeholder { color: var(--ink-4); }
.search-bar button {
  background: none; border: none;
  color: var(--rose);
  font-size: 16px;
  padding: 4px;
  display: flex;
  cursor: pointer;
  transition: transform .15s;
}
.search-bar button:hover { transform: scale(1.15); }

/* Acciones del header */
.header-actions { display: flex; align-items: center; gap: 8px; }
.hdr-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .15s;
  white-space: nowrap;
}
.hdr-btn-wa { background: #25d366; color: white; }
.hdr-btn-wa:hover { background: #1ebe5c; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,211,102,.3); }
.hdr-btn-login { background: var(--cream); color: var(--ink-2); border: 1.5px solid var(--border); }
.hdr-btn-login:hover { border-color: var(--rose); color: var(--rose); }
.hdr-btn-cart { background: var(--rose); color: white; position: relative; }
.hdr-btn-cart:hover { background: var(--rose-d); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(225,153,159,.4); }
.cart-badge {
  position: absolute; top: -7px; right: -7px;
  background: var(--ink);
  color: white;
  font-size: 10px; font-weight: 800;
  border-radius: 50%;
  min-width: 18px; height: 18px; padding: 0 3px;
  display: none; align-items: center; justify-content: center;
  border: 2px solid white;
  animation: badgePop .2s cubic-bezier(.34,1.56,.64,1);
  line-height: 1;
}
.cart-badge.visible {
  display: flex;
}
@keyframes badgePop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

/* NAV / CATEGOR AS */
.nav {
  background: white;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  border-bottom: 2.5px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: all .15s;
  letter-spacing: .1px;
}
.nav-link:hover { color: var(--rose); }
.nav-link.activo { color: var(--rose); border-bottom-color: var(--rose); }

/* HERO */
.hero {
  background: linear-gradient(135deg, #fff0f1 0%, #fde8ea 45%, #f8d0d4 100%);
  overflow: hidden;
  position: relative;
}
/* Patr n decorativo de fondo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(225,153,159,.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(201,122,130,.1) 0%, transparent 40%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  padding: 70px 28px 60px;
  min-height: 400px;
  position: relative;
  z-index: 1;
}
.hero-text { max-width: 500px; }
.hero-title {
  font-family: var(--font-script);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -.5px;
  text-align: center;
}
.hero-title span:first-child {
  font-size: clamp(44px, 5.5vw, 74px);
}
.hero-title span:last-child {
  font-size: clamp(36px, 4.2vw, 58px);
  color: var(--rose);
  font-style: italic;
}
.hero-title em {
  color: var(--rose);
  font-style: normal;
}
.hero-sub {
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.hero-desc {
  font-size: 15px;
  color: var(--ink-3);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 400px;
  font-weight: 400;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero {
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: .2px;
}
.btn-hero-primary {
  background: var(--rose);
  color: white;
  box-shadow: 0 4px 20px rgba(225,153,159,.4);
}
.btn-hero-primary:hover { background: var(--rose-d); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(225,153,159,.45); }
.btn-hero-outline {
  background: white;
  color: var(--rose);
  border: 2px solid var(--rose-l);
}
.btn-hero-outline:hover { border-color: var(--rose); background: var(--rose-lll); }

.hero-img {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-img-circle {
  width: 340px; height: 340px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 24px 80px rgba(161,90,95,.22);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border: 8px solid white;
  position: relative;
  z-index: 2;
}
.hero-img-circle img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-noimg {
  font-size: 90px;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--rose-ll);
}
.hero-deco { position: absolute; border-radius: 50%; }
.hero-deco1 {
  width: 280px; height: 280px;
  background: linear-gradient(135deg, var(--rose-l), var(--rose));
  top: -80px; right: -60px;
  opacity: .25;
}
.hero-deco2 {
  width: 160px; height: 160px;
  background: var(--rose-d);
  bottom: -40px; right: 120px;
  opacity: .15;
}
.hero-deco3 {
  width: 80px; height: 80px;
  background: var(--rose);
  top: 60px; right: 280px;
  opacity: .2;
}

.hero-dots { display: flex; justify-content: center; gap: 8px; padding: 0 0 28px; }
.hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rose-l);
  cursor: pointer; border: none;
  transition: all .25s;
}
.hero-dot.activo { background: var(--rose); width: 22px; border-radius: 7px; }

/* SECCI N GEN RICA */
.section { max-width: 1240px; margin: 0 auto; padding: 56px 28px; }
.section-hd {
  display: flex; align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-direction: column;
}
.section-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-3);
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  line-height: 1.1;
}
.section-heading span { color: var(--rose); font-style: italic; }

/* L nea decorativa */
.section-rule {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--rose-l), var(--rose));
  border-radius: 2px;
  margin: 0 auto;
}

/* GRID CATEGOR AS */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.cat-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
}
.cat-card:hover {
  border-color: var(--rose);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.cat-card.activo {
  background: linear-gradient(135deg, var(--rose-ll), #fff0f2);
  border-color: var(--rose);
}
.cat-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--rose-ll);
  border: 2px solid var(--rose-l);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  transition: transform .2s;
}
.cat-card:hover .cat-icon { transform: scale(1.1); }
.cat-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.cat-count { font-size: 11px; color: var(--ink-3); font-weight: 500; }
.cat-arrow { font-size: 14px; color: var(--rose); }

/* GRID PRODUCTOS */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}
.prod-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: all .25s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.prod-card:hover {
  border-color: var(--rose-l);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.prod-img-wrap {
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
  background: var(--rose-lll);
}
.prod-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.prod-card:hover .prod-img { transform: scale(1.07); }
.prod-img-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 52px;
  color: var(--rose-l);
}

/* Bot n coraz n */
.prod-heart {
  position: absolute; top: 12px; right: 12px;
  background: white;
  border: none;
  border-radius: 50%;
  width: 34px; height: 34px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  transition: all .2s;
  opacity: 0;
  transform: scale(.8);
  color: #ccc;
}
.prod-card:hover .prod-heart { opacity: 1; transform: scale(1); }
.prod-heart:hover { background: var(--rose-ll); transform: scale(1.1) !important; color: var(--rose); }
.prod-heart.fav {
  opacity: 1; transform: scale(1);
  color: var(--rose);
  background: var(--rose-lll);
}
.prod-heart.fav:hover { transform: scale(1.1) !important; }
@keyframes heartPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.4); }
  70%  { transform: scale(.9); }
  100% { transform: scale(1); }
}
.prod-heart.popping { animation: heartPop .35s ease; }

/* Badge de stock */
.prod-stock-badge {
  position: absolute; bottom: 10px; left: 10px;
  font-size: 10px; font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.stk-ok  { background: rgba(232,245,233,.95); color: #2e7d32; }
.stk-low { background: rgba(255,243,224,.95); color: #e65100; }
.stk-out { background: rgba(255,235,238,.95); color: #c62828; }

/* Badge NUEVO */
.prod-badge-new {
  position: absolute; top: 10px; left: 10px;
  background: var(--rose);
  color: white;
  font-size: 9px; font-weight: 800;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.prod-body { padding: 16px 16px 14px; flex: 1; display: flex; flex-direction: column; }
.prod-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--rose);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 5px;
}
.prod-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
  flex: 1;
}
.prod-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--rose-dd);
  margin-bottom: 12px;
  letter-spacing: -.3px;
}
.btn-cart {
  width: 100%;
  padding: 10px;
  background: var(--rose-ll);
  color: var(--rose-dd);
  border: 1.5px solid var(--rose-l);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--font-body);
}
.btn-cart:hover {
  background: var(--rose);
  color: white;
  border-color: var(--rose);
  box-shadow: 0 4px 12px rgba(225,153,159,.35);
}
.btn-cart:disabled { background: var(--cream); color: var(--ink-4); border-color: var(--border); cursor: not-allowed; }

/* BENEFICIOS */
.benefits {
  background: var(--ink);
  border-top: none;
  border-bottom: none;
}
.benefits-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  padding: 0 28px;
}
.benefit {
  display: flex; align-items: center; gap: 16px;
  padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.benefit:last-child { border-right: none; }
.benefit-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(225,153,159,.15);
  border: 1px solid rgba(225,153,159,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.benefit-title { font-size: 13px; font-weight: 700; color: white; }
.benefit-sub { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 2px; font-weight: 400; }

/* FILTROS (vista cat logo) */
.filters {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 72px;
  z-index: 100;
}
.filters-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 28px;
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.cat-pill {
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--ink-3);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.cat-pill:hover { border-color: var(--rose); color: var(--rose); }
.cat-pill.activo { background: var(--rose); color: white; border-color: var(--rose); }
.res-count { font-size: 12px; color: var(--ink-4); font-weight: 600; }

/* ── Favoritos ──────────────────────────────────────────────────── */
.hdr-btn-fav {
  background: var(--rose-lll); color: var(--rose);
  border: 1.5px solid var(--rose-ll); position: relative;
}
.hdr-btn-fav:hover { background: var(--rose-ll); }
.fav-item {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; transition: background .15s;
  border-bottom: 1px solid var(--border);
  border-radius: 8px; padding: 10px 8px;
}
.fav-item:hover { background: var(--rose-lll); }
.fav-item:last-child { border-bottom: none; }
.fav-item-info { flex: 1; }
.fav-item-nombre { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.fav-item-precio { font-size: 13px; color: var(--rose); font-weight: 700; }
.btn-cart-sm {
  background: var(--rose); color: white; border: none;
  border-radius: 8px; width: 32px; height: 32px;
  cursor: pointer; font-size: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.btn-cart-sm:hover { background: var(--rose-d); }
.fav-remove {
  background: none; border: 1px solid var(--border);
  border-radius: 8px; width: 32px; height: 32px; flex-shrink: 0;
  cursor: pointer; font-size: 12px; color: #aaa;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.fav-remove:hover { border-color: #f87171; color: #f87171; }
.sort-wrap { margin-left: auto; }

/* Slider de precio */
#sliderMin, #sliderMax {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
}
#sliderMin::-webkit-slider-thumb,
#sliderMax::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--rose);
  border: 2px solid white;
  box-shadow: 0 1px 6px rgba(225,153,159,.5);
  cursor: pointer;
  pointer-events: auto;
  transition: transform .15s;
}
#sliderMin::-webkit-slider-thumb:hover,
#sliderMax::-webkit-slider-thumb:hover { transform: scale(1.2); }
#sliderMin::-moz-range-thumb,
#sliderMax::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--rose);
  border: 2px solid white;
  box-shadow: 0 1px 6px rgba(225,153,159,.5);
  cursor: pointer;
}

/* FOOTER */
.footer { background: var(--ink); }
.footer-main {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 56px 28px 44px;
  color: white;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -.3px;
}
.footer-brand-desc {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  max-width: 220px;
  font-weight: 400;
}
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-social {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all .15s;
}
.footer-social:hover { background: var(--rose); border-color: var(--rose); transform: translateY(-2px); }
.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: rgba(255,255,255,.4);
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin-bottom: 10px;
  transition: all .15s;
  font-weight: 400;
}
.footer-col a:hover { color: var(--rose); padding-left: 4px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin-bottom: 10px;
  font-weight: 400;
  line-height: 1.5;
}
.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,.35);
  font-size: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,.35); transition: color .15s; }
.footer-bottom a:hover { color: var(--rose); }

/* MODAL DETALLE PRODUCTO */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,5,7,.6);
  z-index: 400;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(6px);
}
.modal-overlay.open { display: flex; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-box {
  background: white;
  border-radius: var(--radius-xl);
  width: min(800px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  animation: slideUp .25s ease;
  box-shadow: 0 32px 80px rgba(0,0,0,.35);
}
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.modal-gal {
  background: var(--rose-lll);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.gal-main {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.gal-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl) 0 0 0;
}
.gal-ph { font-size: 72px; color: var(--rose-l); }
.gal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.9);
  border: none;
  border-radius: 50%;
  width: 38px; height: 38px;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
  color: var(--ink);
  transition: all .15s;
  backdrop-filter: blur(4px);
}
.gal-btn:hover { background: white; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.gal-btn.prev { left: 12px; }
.gal-btn.next { right: 12px; }
.gal-btn.hidden { display: none; }
.gal-dots { display: flex; justify-content: center; gap: 6px; padding: 12px 10px; }
.gal-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rose-l);
  cursor: pointer; border: none;
  transition: all .2s;
}
.gal-dot.active { background: var(--rose); width: 20px; border-radius: 7px; }
.gal-dots.hidden, .gal-thumbs.hidden { display: none; }
.gal-thumbs { display: flex; gap: 6px; padding: 0 10px 10px; overflow-x: auto; }
.gal-thumb {
  width: 52px; height: 52px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .15s;
  flex-shrink: 0;
}
.gal-thumb.active { border-color: var(--rose); }
.gal-spin { font-size: 28px; color: var(--rose); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.modal-info { padding: 32px 28px; display: flex; flex-direction: column; gap: 0; }
.modal-close {
  background: none; border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--ink-4);
  float: right;
  line-height: 1;
  transition: color .15s;
  margin-bottom: 4px;
}
.modal-close:hover { color: var(--rose); }
.modal-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--rose);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}
.modal-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.15;
  letter-spacing: -.3px;
}
.modal-price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--rose-dd);
  margin-bottom: 14px;
  letter-spacing: -.5px;
}
.modal-stock {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.modal-desc {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.75;
  margin-bottom: 24px;
  font-weight: 400;
  flex: 1;
}
.modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.btn-modal-cart {
  padding: 14px;
  border-radius: var(--radius);
  background: var(--rose);
  color: white;
  border: none;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all .15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-modal-cart:hover { background: var(--rose-d); box-shadow: 0 4px 16px rgba(225,153,159,.4); }
.btn-modal-wa {
  padding: 14px;
  border-radius: var(--radius);
  background: #25d366;
  color: white;
  border: none;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all .15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-modal-wa:hover { background: #1ebe5c; }

/* CARRITO */
.carrito-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,5,7,.5);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(6px);
}
.carrito-overlay.open { display: flex; animation: fadeIn .2s ease; }
.carrito-box {
  background: white;
  border-radius: var(--radius-xl);
  width: min(540px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,.25);
  animation: slideUp .25s ease;
}
.carrito-hdr {
  background: linear-gradient(135deg, var(--rose), var(--rose-d));
  color: white;
  padding: 22px 26px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.carrito-hdr h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.carrito-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
}
.carrito-item:last-child { border-bottom: none; }
.carrito-cant-ctrl { display: flex; align-items: center; gap: 6px; }
.carrito-cant-ctrl button {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--rose);
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.carrito-cant-ctrl button:hover { background: var(--rose); color: white; border-color: var(--rose); }
.carrito-total-row {
  background: var(--rose-lll);
  border-top: 2px solid var(--rose-l);
  padding: 18px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 17px;
}
.carrito-stock-aviso {
  display: none;
  background: #fff3e0;
  color: #e65100;
  padding: 10px 18px;
  font-size: 12px; font-weight: 700;
  border-radius: 8px;
  margin: 0 24px;
}
.carrito-stock-aviso.show { display: block; }

.btn-enviar-wa {
  background: #25d366;
  color: white;
  border: none;
  padding: 15px;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 800;
  font-family: var(--font-body);
  cursor: pointer;
  width: 100%;
  transition: all .15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
}
.btn-enviar-wa:hover { background: #1ebe5c; transform: translateY(-1px); }
.btn-enviar-wa:disabled { background: #bbb; cursor: not-allowed; box-shadow: none; transform: none; }

.form-inp {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  outline: none;
  transition: all .15s;
}
.form-inp:focus { border-color: var(--rose); background: white; box-shadow: 0 0 0 3px rgba(225,153,159,.1); }
.form-lbl { font-size: 11px; font-weight: 700; color: var(--ink-3); margin-bottom: 5px; display: block; letter-spacing: .3px; }
.form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* TOAST */
#toast {
  position: fixed;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 11px 22px;
  border-radius: 50px;
  font-size: 13px; font-weight: 600;
  z-index: 700;
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.08);
}
#toast.show { opacity: 1; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .header-inner { grid-template-columns: auto auto; }
  .search-bar { display: none; }
  .modal-box { grid-template-columns: 1fr; }
  .modal-gal { border-radius: var(--radius-xl) var(--radius-xl) 0 0; min-height: 280px; }
  .modal-gal .gal-main img { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .hero-inner { grid-template-columns: 1fr; padding: 48px 20px 28px; min-height: auto; }
  .hero-img { display: none; }
  .benefits-inner { grid-template-columns: 1fr 1fr; }
  .benefit { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); padding: 18px 12px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding: 40px 20px 32px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .form-grid2 { grid-template-columns: 1fr; }
  .nav-inner { padding: 0 14px; }
  .header-inner { padding: 12px 16px; }
  .section { padding: 40px 20px; }
  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
}
