/* ==========================================================================
   Linda Mujer — estilos
   Paleta, componentes y responsive del sitio. Los colores base están en
   :root; si cambiás --pink-deep revisá el contraste de los textos chicos.
   ========================================================================== */

:root {
  --pink: #e96a9a;
  --pink-deep: #b03f6a;
  --pink-soft: #fbeaf0;
  --blush: #fff7f9;
  --cream: #fbf6f0;
  --ink: #33252b;
  --muted: #74646b;
  --line: #f0dce3;
  --shadow: 0 12px 34px rgba(116,56,79,.10);
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }

.announcement {
  background: var(--ink);
  color: white;
  text-align: center;
  padding: 9px 16px;
  font-size: .78rem;
  letter-spacing: .08em;
}

header {
  position: relative;
  top: auto;
  z-index: 20;
  background:rgba(255,247,249,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1200px;
  margin: auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}
.brand-logo {
  display: block;
  width: 220px;
  max-width:100%;
  height:auto; 
  object-fit: contain;
}
@media (max-width: 680px) {.brand-logo {
  width: 175px;
  }
}

/* El logo es rosa sobre fondo oscuro: se aclara un poco para que se lea. */
.brand-footer .brand-logo {
  width: 100px;
  filter: brightness(1.9) saturate(1.05);
}
@media (max-width: 680px) {.brand-footer .brand-logo {width: 85px;
  }
}
.brand-mark {
  width: 48px;
  height: 48px;
  border: 1px solid var(--pink);
  border-radius: 50%;
  background: var(--pink);
  color: white;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1;
  text-align: center;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.35);
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.brand-name span {
  display: block;
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 400;
  letter-spacing: .23em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: -3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-size: .9rem;
}

.nav-links a:hover { color: var(--pink-deep); }
.nav-actions { display: flex; gap: 10px; }

.icon-btn {
  position: relative;
  border: 1px solid var(--line);
  background: white;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -3px;
  min-width: 19px;
  height: 19px;
  border-radius: 20px;
  background: var(--pink-deep);
  color: white;
  font-size: .7rem;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

.menu-toggle { display: none; }

.hero {
  max-width: 100%;
  margin: auto;
  padding: 60px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  min-height: clamp(440px, 37.5vw, 760px);
  background-color: #fbeaf0;
  background-image: url("imagenes/BannerTienda.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  color: var(--pink-deep);
  font-weight: 700;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem,5.5vw,5.25rem);
  line-height: .99;
  font-weight: 500;
  letter-spacing: -.045em;
  margin: 18px 0;
}

h1 em { font-weight: 400; color: var(--pink-deep); }

.hero-copy p {
  color: var(--muted);
  max-width: 440px;
  font-size: 1.03rem;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 21px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 650;
  transition: transform .18s, background .18s;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--pink-deep); color: white; }
.btn-primary:hover { background: #9c365d; }
.btn-outline {
  border-color: var(--pink);
  color: var(--pink-deep);
  background: transparent;
}

.btn-whatsapp {
  background: #1f7a4c;
  color: white;
}
.btn-whatsapp:hover { background: #18603c; }

.btn[disabled] {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

.benefits {
  border-block: 1px solid var(--line);
  background: #fff;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  padding: 19px max(22px,calc((100% - 1156px)/2));
  gap: 18px;
}

.benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--muted);
  text-align: center;
}

.benefit strong { display: block; color: var(--ink); }

/* PACKS CON PROMO */
.packs-section { padding-top: 12px; }

.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pack-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.pack-emoji { font-size: 1.7rem; }

.pack-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
}

.pack-description { margin: 0; font-size: .86rem; color: var(--muted); }

.pack-options {
  display: grid;
  gap: 8px;
  margin: 4px 0 8px;
  padding: 0;
  list-style: none;
}

.pack-options li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: baseline;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--pink-soft);
}

.pack-options span { font-size: .8rem; color: var(--muted); }
.pack-options strong { font-size: 1.05rem; color: var(--pink-deep); }
.pack-options small { grid-column: 1 / -1; font-size: .72rem; color: #1f7a4c; }

.pack-card .btn { width: 100%; margin-top: auto; }

.packs-note { margin: 18px 0 0; font-size: .8rem; color: var(--muted); }

.pack-hint-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 8px 0 2px;
  font-size: .74rem;
  color: var(--muted);
}

.pack-hint-row span {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--pink-soft);
}

.pack-hint-row strong { color: var(--pink-deep); }

.section {
  max-width: 1200px;
  margin: auto;
  padding: 70px 22px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 25px;
}

.section h2 {
  font-family: var(--serif);
  font-size: clamp(2rem,3.4vw,3rem);
  font-weight: 500;
  letter-spacing: -.03em;
  margin: 8px 0;
}

.section-head p { margin: 0; color: var(--muted); font-size: .92rem; }

.categories {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 13px;
  margin-bottom: 38px;
}

.category {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 22px 10px;
  text-align: center;
  cursor: pointer;
  transition: .2s;
}

.category:hover, .category.active {
  border-color: var(--pink);
  background: var(--pink-soft);
  transform: translateY(-2px);
}

.category .cat-icon { font-size: 1.75rem; display: block; margin-bottom: 8px; }
.category span:last-child { font-size: .85rem; font-weight: 650; }

.shop-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}

.search-wrap { flex: 1; min-width: 200px; }
.search-wrap input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  padding: 12px 16px;
  outline: none;
}

.search-wrap input:focus, select:focus { border-color: var(--pink); }

select {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  padding: 12px 16px;
  color: var(--ink);
  outline: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 20px;
}

.product-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  cursor: pointer;
  transition: transform .2s,box-shadow .2s;
}

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

.product-photo {
  height: 250px;
  background: linear-gradient(135deg,#f9e6ec,#f6f0e9);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-placeholder { font-size: 3.6rem; opacity: .7; }

/* Corazón para guardar el producto en favoritos */
.favorite-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #f0dce3;
  border-radius: 50%;
  background: rgba(255, 250, 252, .95);
  color: var(--pink-deep);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px #20151b14;
  transition: transform .15s, background .2s, color .2s, border-color .2s;
}

.favorite-btn:hover {
  transform: scale(1.08);
  background: var(--pink-soft);
}

.favorite-btn.active {
  background: var(--pink-deep);
  border-color: var(--pink-deep);
  color: white;
}

.favorite-btn:focus-visible,
.modal-favorite:focus-visible,
.favorites-filter:focus-visible {
  outline: 2px solid var(--pink-deep);
  outline-offset: 2px;
}

.favorites-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  padding: 11px 16px;
  font: inherit;
  font-size: .86rem;
  font-weight: 650;
  cursor: pointer;
  transition: .2s;
}

.favorites-filter:hover { border-color: var(--pink); }

.favorites-filter.active {
  border-color: var(--pink);
  background: var(--pink-soft);
  color: var(--pink-deep);
}

.favorites-filter .fav-heart {
  color: var(--pink-deep);
  font-size: 1.05rem;
  line-height: 1;
}

.favorites-count {
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--pink-deep);
  color: white;
  font-size: .7rem;
  font-weight: 700;
}

.favorites-count[hidden] { display: none; }

.empty-state-action { margin-top: 16px; }

.product-info { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-category { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.product-info h3 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; margin: 5px 0; }
.product-description { font-size: .82rem; color: var(--muted); margin-bottom: 12px; min-height: 36px; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.price { font-size: 1.08rem; font-weight: 750; }
.old-price { font-size: .8rem; color: var(--muted); text-decoration: line-through; }

.product-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.product-controls select { width: 100%; min-width: 0; padding: 9px 10px; font-size: .8rem; border-radius: 10px; }
.product-controls select.full { grid-column: 1 / -1; }

.add-btn {
  grid-column: 1/-1;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 11px;
  background: var(--pink-soft);
  color: var(--pink-deep);
  font-weight: 700;
  cursor: pointer;
}

.add-btn:hover { background: var(--pink-deep); color: white; }

/* Sin stock: el botón invita a pedir aviso en vez de quedar inactivo. */
.add-btn.notify-mode {
  background: white;
  border: 1px solid var(--pink);
  color: var(--pink-deep);
}

.add-btn.notify-mode:hover {
  background: var(--pink-soft);
  color: var(--pink-deep);
}

.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 45px 20px;
  color: var(--muted);
  background: white;
  border: 1px dashed var(--line);
  border-radius: 18px;
}

.story-banner {
  background: var(--pink-soft);
  border-radius: 26px;
  padding: 38px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
  align-items: center;
  overflow: hidden;
}

.story-banner h2 { font-size: clamp(2rem,4vw,3.4rem); margin: 10px 0; }
.story-banner p { color: var(--muted); max-width: 440px; }

.banner-art {
  background: linear-gradient(135deg,#f0b7ca,#fff5f7);
  border-radius: 50% 50% 18px 18px;
  min-height: 230px;
  display: grid;
  place-items: center;
  font-size: 5rem;
}

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.about-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
}

.about-card h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; }
.about-card p { color: var(--muted); font-size: .93rem; }
.about-points { display: grid; gap: 13px; }
.about-point { display: flex; gap: 12px; align-items: flex-start; }
.about-point b { display: block; margin-bottom: 2px; }
.about-point span { font-size: .88rem; color: var(--muted); }

/* El botón flotante de WhatsApp queda abajo a la derecha: este espacio
   extra evita que tape los datos del vendedor al llegar al final. */
.withdrawal-bar {
  background: var(--pink-soft);
  border-top: 1px solid var(--line);
  padding: 18px 22px;
}

.withdrawal-inner {
  max-width: 1156px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.withdrawal-bar p {
  margin: 0;
  font-size: .88rem;
  color: var(--ink);
  max-width: 640px;
}

.withdrawal-bar strong { color: var(--pink-deep); }
.withdrawal-bar .btn { padding: 10px 20px; font-size: .85rem; background: white; }

footer { background: #33252b; color: #fff7f9; padding: 48px 22px 88px; }

.footer-inner {
  max-width: 1156px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
}

footer .brand-name { color: white; }
footer .brand-name span { color: #e6c9d4; }
footer p, footer a { font-size: .86rem; color: #e3cfd6; }
footer h3 { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; }
.footer-links { display: grid; gap: 9px; }

.footer-bottom {
  max-width: 1156px;
  margin: 28px auto 0;
  border-top: 1px solid #5a444d;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .75rem;
  color: #c6adb7;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  background: #1f7a4c;
  color: white;
  border-radius: 999px;
  padding: 13px 17px;
  box-shadow: 0 8px 24px #1b372b35;
  font-size: .86rem;
  font-weight: 750;
}

.overlay {
  position: fixed;
  inset: 0;
  background: #20151bb0;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  z-index: 41;
  right: 0;
  top: 0;
  height: 100%;
  width: min(440px,100%);
  background: var(--blush);
  box-shadow: -12px 0 35px #20151b25;
  transform: translateX(105%);
  transition: transform .25s;
  display: flex;
  flex-direction: column;
}

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

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 { font-family: var(--serif); font-weight: 500; margin: 0; font-size: 1.7rem; }

.cart-packs {
  padding: 12px 22px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--pink-soft);
}

.cart-packs[hidden] { display: none; }

.cart-packs-title {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--pink-deep);
}

.cart-pack { margin-top: 8px; }

.cart-pack p {
  margin: 0 0 6px;
  font-size: .8rem;
  color: var(--ink);
}

.cart-pack p strong { color: var(--pink-deep); }

.cart-pack.reached p { color: #1f7a4c; }
.cart-pack.reached p strong { color: #1f7a4c; }

.cart-packs-track {
  height: 6px;
  border-radius: 999px;
  background: #edd3dd;
  overflow: hidden;
}

.cart-packs-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pink), var(--pink-deep));
  transition: width .25s ease;
}

.close-btn { border: 1px solid var(--line); background: white; border-radius: 50%; width: 38px; height: 38px; cursor: pointer; font-size: 1.2rem; }
.cart-items { padding: 16px 22px; overflow: auto; flex: 1; }
.cart-empty { text-align: center; color: var(--muted); padding: 45px 8px; }
.cart-item { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cart-thumb {
  width: 56px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--pink-soft);
  border: 1px solid var(--line);
}
.cart-item h3 { font-family: var(--serif); font-weight: 500; margin: 0 0 4px; }
.cart-item p { font-size: .8rem; color: var(--muted); margin: 0; }
.cart-item-right { text-align: right; display: grid; justify-items: end; gap: 7px; }
.qty-control { display: flex; align-items: center; gap: 9px; }
.qty-control button { border: 1px solid var(--line); background: white; width: 27px; height: 27px; border-radius: 50%; cursor: pointer; }
.remove-btn { background: none; border: 0; color: var(--pink-deep); font-size: .78rem; cursor: pointer; }
.cart-foot { padding: 20px 22px; border-top: 1px solid var(--line); background: white; }
.cart-subtotal,
.cart-discount { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.cart-discount { color: #1f7a4c; font-weight: 700; }
.cart-total { display: flex; justify-content: space-between; font-weight: 750; font-size: 1.1rem; margin: 10px 0 15px; }
.cart-foot .btn { width: 100%; margin-bottom: 8px; }
.cart-foot small { display: block; color: var(--muted); font-size: .74rem; text-align: center; }

.toast {
  position: fixed;
  bottom: 82px;
  left: 50%;
  transform: translate(-50%,20px);
  background: var(--ink);
  color: white;
  padding: 11px 17px;
  border-radius: 999px;
  font-size: .85rem;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: .2s;
}

.toast.show { opacity: 1; transform: translate(-50%,0); }

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #20151bb0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 18px;
}

.modal-backdrop.open { display: grid; }

.checkout-modal {
  width: min(500px,100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--blush);
  border-radius: 22px;
  padding: 24px;
}

.checkout-modal h2 { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; margin-bottom: 5px; }
.checkout-modal p { color: var(--muted); font-size: .88rem; }
.field { display: grid; gap: 6px; margin: 14px 0; }
.field label { font-size: .82rem; font-weight: 700; }
.field input, .field select, .field textarea { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: white; width: 100%; font: inherit; color: var(--ink); resize: vertical; }
.field small, .field-help { color: var(--muted); font-size: .74rem; }
.modal-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.modal-actions .btn { flex: 1 1 150px; }

.checkout-status {
  margin-top: 14px;
  font-size: .85rem;
  line-height: 1.5;
  color: var(--muted);
  display: none;
}
.checkout-status.visible { display: block; }
.checkout-status.error { color: #96201f; }
.checkout-status.ok { color: #18603c; }

.checkout-footnote {
  margin-top: 10px;
  font-size: .74rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
}

@media(max-width:900px) {
  .nav-links { gap: 14px; }
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: calc(37.5vw + 26px) 18px 34px;
    background-size: 100% auto;
    background-position: center top;
  }
  .hero-copy { text-align: center; }
  .hero-copy p { margin-inline: auto; }
  .hero-buttons { justify-content: center; }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .product-photo { height: 220px; }
  .pack-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media(max-width:680px) {
  .announcement { font-size: .68rem; }
  .nav { padding: 10px 15px; gap: 10px; }
  .brand-mark { width: 41px; height: 41px; }
  .brand-name { font-size: 1.15rem; }
  .menu-toggle { display: grid; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--blush);
    padding: 18px 22px 22px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-actions { margin-left: auto; }
  .benefits { padding: 16px 12px; gap: 8px; }
  .benefit { font-size: .72rem; display: block; }
  .benefit .benefit-icon { display: block; font-size: 1.25rem; margin-bottom: 4px; }
  .section { padding: 48px 16px; }
  .packs-section { padding-top: 8px; }
  .pack-grid { grid-template-columns: 1fr; gap: 14px; }
  .pack-card { padding: 20px; }
  .section-head { display: block; }
  .section-head p { margin-top: 8px; }
  .categories { grid-template-columns: repeat(3,1fr); gap: 8px; }
  .category { padding: 16px 7px; }
  .category span:last-child { font-size: .75rem; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
  .product-photo { height: 185px; }
  .product-info { padding: 12px; }
  .product-info h3 { font-size: 1.05rem; }
  .product-description { font-size: .76rem; min-height: 48px; }
  .product-controls { grid-template-columns: 1fr; }
  .product-controls select { font-size: .75rem; }
  .add-btn { grid-column: auto; font-size: .82rem; }
  .story-banner { grid-template-columns: 1fr; padding: 26px; }
  .banner-art { min-height: 160px; grid-row: 1; font-size: 3.8rem; }
  .about-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-card { padding: 23px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 7px; }
  .whatsapp-float { right: 12px; bottom: 12px; padding: 12px 14px; }
}
/* VENTANA DE DETALLE DEL PRODUCTO */
.product-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(32, 21, 27, 0.7);
  display: none;
  place-items: center;
  padding: 16px;
}

.product-modal-backdrop.open {
  display: grid;
}

.product-modal {
  position: relative;
  background: #fff7f9;
  border-radius: 22px;
  width: min(760px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
}

.product-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid #f0dce3;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  font-size: 1.4rem;
}

.product-modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.product-modal-content > * {
  min-width: 0;
}

.product-modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.product-modal-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #fbeaf0;
  border-radius: 16px;
}

.product-modal-info h2 {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-weight: 500;
  margin: 12px 0;
}

.product-modal-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.product-modal-price {
  color: var(--pink-deep);
  font-size: 1.5rem;
  font-weight: 750;
  margin-bottom: 0;
}

.modal-favorite {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #f0dce3;
  border-radius: 999px;
  background: white;
  color: var(--pink-deep);
  padding: 7px 13px;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}

.modal-favorite:hover { border-color: var(--pink); background: var(--pink-soft); }

.modal-favorite.active {
  background: var(--pink-deep);
  border-color: var(--pink-deep);
  color: white;
}

.product-modal-info p {
  color: var(--muted);
}

.product-modal-info label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  margin: 14px 0 6px;
}

.product-modal-info select {
  width: 100%;
}

.product-modal-info .btn {
  width: 100%;
  margin-top: 18px;
}

@media (max-width: 600px) {
  .product-modal {
padding: 18px;
  }

  .product-modal-content {
grid-template-columns: 1fr;
gap: 14px;
  }

  .product-modal-image {
max-height: 38vh;
aspect-ratio: 4 / 3;
  }
}

/* ACCESIBILIDAD */
.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;
}

:focus-visible {
  outline: 2px solid var(--pink-deep);
  outline-offset: 2px;
}

/* INFORMACIÓN LEGAL */
.legal-link {
  background: none;
  border: 0;
  padding: 0;
  color: #e3cfd6;
  font-family: inherit;
  font-size: .86rem;
  text-align: left;
  cursor: pointer;
}

.legal-link:hover { color: #fff; text-decoration: underline; }

.legal-modal {
  position: relative;
  width: min(640px, 100%);
}

.legal-modal .close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
}

.legal-modal h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  padding-right: 46px;
  margin-bottom: 10px;
}

.legal-body {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
}

.legal-body h3 {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--ink);
  margin: 20px 0 6px;
}

.legal-body h3:first-child { margin-top: 4px; }
.legal-body p { margin-bottom: 10px; }
.legal-body ul { padding-left: 20px; margin: 0 0 12px; }
.legal-body li { margin-bottom: 6px; }
.legal-body .btn { margin-top: 10px; text-align: center; }

/* Etiqueta de talle con enlace a la guía */
.field-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 6px;
}

.field-label-row label { margin: 0; }

.size-guide-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--pink-deep);
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.size-guide-link:hover { color: var(--ink); }

/* Guía de talles */
.size-guide-backdrop { z-index: 120; }

/* Aviso cuando ingresa stock */
.stock-notice-backdrop { z-index: 140; }

.stock-notice-modal {
  position: relative;
  width: min(520px, 100%);
  max-height: 92vh;
  overflow-y: auto;
}

.stock-notice-modal .close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
}

.stock-notice-modal h2 { padding-right: 46px; }

.stock-notice-summary {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 0 0 6px;
  font-size: .86rem;
  color: var(--ink);
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 14px 0;
  font-size: .82rem;
  color: var(--muted);
}

.consent-field input {
  margin-top: 3px;
  accent-color: var(--pink-deep);
}

.notice-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice-error {
  color: #a32323;
  background: #fdecec;
  border: 1px solid #f5c6c6;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0 0 12px;
  font-size: .82rem;
}

.notice-error[hidden] { display: none; }
.notice-error a { color: #a32323; font-weight: 700; text-decoration: underline; }

.stock-notice-privacy {
  font-size: .72rem;
  color: var(--muted);
  margin: 12px 0 0;
}

.stock-notice-success {
  font-size: 1rem;
  color: var(--ink);
  margin: 6px 0 18px;
}

.stock-notice-success strong { color: var(--pink-deep); }

#stockNoticeSuccess .btn { width: 100%; }

.size-guide-modal {
  width: min(720px, 100%);
  max-height: 88vh;
  overflow-y: auto;
}

.table-scroll {
  overflow-x: auto;
  margin: 6px 0 14px;
}

.size-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: .88rem;
}

.size-table th,
.size-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.size-table th {
  color: var(--pink-deep);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.size-table td:first-child {
  color: var(--ink);
  font-weight: 650;
}

.legal-body ol { padding-left: 20px; margin: 0 0 12px; }
.legal-body ol li { margin-bottom: 6px; }

/* Preguntas frecuentes */
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 18px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  color: var(--pink-deep);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform .2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .92rem;
}

.faq-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
  max-width: 860px;
}

.faq-cta p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

@media (max-width: 600px) {
  .size-guide-modal { max-height: 92vh; }
  .faq-cta { align-items: flex-start; flex-direction: column; gap: 10px; }
}

.footer-seller {
  max-width: 1156px;
  margin: 14px auto 0;
  font-size: .73rem;
  line-height: 1.7;
  color: #c6adb7;
}

.footer-seller a {
  color: #e3cfd6;
  text-decoration: underline;
}

/* ==========================================================================
   STOCK
   Etiquetas de "Sin stock"/"Últimas unidades", aviso de stock no disponible
   y estados deshabilitados. Usa la misma paleta del resto del sitio.
   ========================================================================== */

.stock-banner {
  margin: 0 0 20px;
  padding: 14px 18px;
  border: 1px solid #f0c9a8;
  border-left: 4px solid #b06a1f;
  border-radius: 14px;
  background: #fff8ee;
  color: #6b4413;
  font-size: .86rem;
  line-height: 1.6;
}

.stock-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(51, 37, 43, .92);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.stock-badge.low {
  background: #fff3e0;
  color: #8a5a00;
  border: 1px solid #f0d3a8;
}

.product-card.sold-out .product-photo img {
  filter: grayscale(.55);
  opacity: .72;
}

.add-btn[disabled] {
  background: #f3eef0;
  color: var(--muted);
  cursor: not-allowed;
}

.add-btn[disabled]:hover {
  background: #f3eef0;
  color: var(--muted);
}

.stock-note {
  margin: 0;
  font-size: .72rem;
  line-height: 1.45;
  color: var(--muted);
  min-height: 1.05rem;
}

.product-controls .stock-note {
  grid-column: 1 / -1;
}

.stock-note:empty {
  display: none;
}

.cart-warning {
  font-size: .72rem;
  color: #96201f;
  margin: 5px 0 0;
  font-weight: 650;
}

#checkoutBtn[disabled] {
  opacity: .6;
  cursor: not-allowed;
}

#modalAddToCart[disabled] {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}
