/* =========================================================
   Luque & Merino — Hoja de estilos
   Estética: textil premium, cálido, moderno y profesional
   ========================================================= */

:root {
  /* Paleta corporativa — GRANATE + blanco (colores de la marca) */
  --sage:        #7d1f2e;   /* granate: acciones principales (buen contraste con texto blanco) */
  --sage-dark:   #5f1723;   /* granate oscuro: hover y franjas */
  --sage-soft:   #f8eef0;   /* granate muy suave: fondos de sección puntuales */
  --clay:        #a5324a;   /* granate medio (acento) */
  --clay-dark:   #8a2338;   /* granate legible: títulos pequeños y enlaces sobre blanco */
  --gold:        #c8a15a;   /* dorado: acento secundario (botón llamar, estrellas) */
  --linen:       #ffffff;   /* fondo blanco */
  --linen-2:     #f7f5f4;   /* gris muy claro: secciones alternas (sin pastel) */
  --cream:       #ffffff;   /* tarjetas en blanco */
  --ink:         #241f22;   /* texto: casi negro, alto contraste */
  --ink-soft:    #6b6068;   /* texto secundario, legible */
  --line:        #eae4e2;
  --white:       #ffffff;

  --shadow-sm: 0 1px 2px rgba(44,42,38,.06), 0 2px 8px rgba(44,42,38,.05);
  --shadow-md: 0 10px 30px rgba(44,42,38,.10);
  --shadow-lg: 0 24px 60px rgba(44,42,38,.16);

  --radius: 16px;
  --radius-lg: 26px;
  --maxw: 1200px;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ligero ---------- */
* { box-sizing: border-box; }
/* overflow-x en el html: evita que el menú lateral (aparcado fuera de
   pantalla) permita arrastrar la página de lado en el móvil */
html { scroll-behavior: smooth; overflow-x: hidden; }
/* Evita que la barra fija tape el destino de los enlaces del menú */
section[id], [id] { scroll-margin-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--linen);
  line-height: 1.72;
  font-size: 1.07rem;            /* base más grande: mejor lectura para todo el público */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: .2px; }
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: .9rem;
}
.eyebrow--light { color: #e8c98a; }

.section__title { font-size: clamp(2rem, 4.4vw, 3.1rem); color: var(--ink); }
.section__sub { color: var(--ink-soft); max-width: 60ch; margin: 1rem auto 0; font-size: 1.18rem; }

/* ---------- Botones ---------- */
.btn {
  --pad-y: 1rem; --pad-x: 1.8rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px;                 /* zona de toque amplia (accesibilidad) */
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700; font-size: 1.05rem; letter-spacing: .01em;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--sage); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--sage-dark); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--sage); color: var(--sage-dark); transform: translateY(-2px); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }
/* Botón de llamada: dorado (acento secundario) con texto oscuro, muy visible */
.btn--call { background: var(--gold); color: #241f22; border-color: var(--gold); }
.btn--call:hover { background: #b98d47; border-color: #b98d47; color: #241f22; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--call svg { flex: none; }
/* Botón de WhatsApp: verde reconocible */
.btn--wa { background: #25d366; color: #fff; border-color: #25d366; }
.btn--wa:hover { background: #1ebe5b; border-color: #1ebe5b; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--sm { --pad-y: .55rem; --pad-x: 1.05rem; font-size: .85rem; }
.btn--block { width: 100%; }
.btn--whatsapp svg { flex: none; }

/* ---------- Barra superior ---------- */
.topbar {
  background: var(--sage-dark);
  color: #f3e9d7;
  font-size: .95rem;
}
.topbar__inner { display: flex; align-items: center; gap: .8rem; justify-content: center; padding: .6rem 24px; flex-wrap: wrap; }
.topbar__sep { opacity: .5; }
.topbar__phone { font-weight: 700; font-size: 1.02rem; color: #fff; }
.topbar__phone:hover { color: #ffe9c4; text-decoration: underline; }

/* ---------- Navegación ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-stuck { box-shadow: var(--shadow-sm); border-color: var(--line); background: rgba(255,255,255,.96); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: .7rem 24px; }

.brand { display: inline-flex; align-items: center; }
.logo__img { max-height: 54px; width: auto; display: block; }
.logo__img.is-on + .logo { display: none; } /* si el logo real carga, ocultamos el de texto */
.logo__img--footer { max-height: 46px; margin-bottom: .3rem; filter: brightness(0) invert(1); opacity: .92; }

/* Logotipo Luque & Merino (recreación de la firma de marca) */
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.logo__script {
  font-family: "Yellowtail", "Great Vibes", "Segoe Script", cursive;
  font-size: 2rem; color: var(--logo-gold, #7d1f2e); line-height: .95;
  white-space: nowrap; letter-spacing: .01em;
}
.logo__script em { font-style: normal; color: var(--logo-amp, #5f1723); }
.logo__deco {
  font-family: var(--sans); font-size: .58rem; font-weight: 600;
  letter-spacing: .42em; text-transform: uppercase; color: var(--logo-deco, #8a7f86);
  margin-top: .1rem; padding-left: .42em; /* compensa el tracking a la derecha */
}
.logo--footer { align-items: flex-start; }
.logo--footer .logo__script { font-size: 2.4rem; --logo-gold: #f0dfe2; --logo-amp: #d9b877; }
.logo--footer .logo__deco { --logo-deco: #a49ea2; }

.nav__links { display: flex; align-items: center; gap: 1.5rem; }
.nav__links a { font-size: 1.02rem; font-weight: 600; color: var(--ink); position: relative; padding: .3rem 0; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--clay); transition: width .3s var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--sage-dark); }
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__cta { color: #fff !important; }

/* Fondo oscuro del menú lateral (móvil) + bloqueo de scroll */
.nav-backdrop { position: fixed; inset: 0; z-index: 44; background: rgba(20,10,12,.5); }
body.menu-open { overflow: hidden; }

/* Menú desplegable "Colección" */
.nav__item--drop { position: relative; }
.nav__top { display: inline-flex; align-items: center; gap: .35rem; }
.nav__caret { transition: transform .25s var(--ease); }
.nav__item--drop:hover .nav__caret,
.nav__item--drop:focus-within .nav__caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: -12px; min-width: 230px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: .5rem; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 60;
}
.nav__item--drop:hover .dropdown,
.nav__item--drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { padding: .7rem .85rem; border-radius: 9px; font-size: 1rem; font-weight: 500; color: var(--ink); }
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--sage-soft); color: var(--sage-dark); }

.nav__toggle { display: none; background: none; border: 0; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1000px 560px at 82% -10%, rgba(125,31,46,.12), transparent 62%),
    radial-gradient(760px 520px at 2% 114%, rgba(125,31,46,.06), transparent 60%),
    linear-gradient(180deg, #ffffff, #fbfafa);
}
.hero__bg::after {
  /* textura de tejido muy sutil */
  content: ""; position: absolute; inset: 0; opacity: .25;
  background-image:
    repeating-linear-gradient(45deg, rgba(36,31,34,.025) 0 1px, transparent 1px 7px);
}
.hero__inner {
  position: relative; z-index: 1;
  padding: clamp(3rem, 7vw, 5.5rem) 24px clamp(3.5rem, 7vw, 5.5rem);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero__content { max-width: 640px; }

/* ---- Carrusel del hero ---- */
.hero__showcase { position: relative; }
.carousel {
  position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; border: 1px solid var(--line);
}
.slide {
  position: absolute; inset: 0; margin: 0; display: grid; place-items: center;
  opacity: 0; transform: scale(1.02); transition: opacity .8s var(--ease), transform .8s var(--ease);
  background: linear-gradient(160deg, #fbf5f6, #f3e7ea);
  /* Las diapositivas ocultas siguen apiladas encima: sin esto, el clic
     lo recibiría siempre la última en lugar de la que se está viendo */
  pointer-events: none;
}
.slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.slide[data-tint="cortinas"] { background: linear-gradient(160deg, #f7eef0, #efd9df); }
.slide[data-tint="cama"] { background: linear-gradient(160deg, #f6eff1, #ecdfe3); }
.slide[data-tint="toallas"] { background: linear-gradient(160deg, #faf1ea, #f0e0d3); }
.slide[data-tint="bebe"] { background: linear-gradient(160deg, #f8eef1, #eeddE4); }
.slide[data-tint="mantel"] { background: linear-gradient(160deg, #f7f0ea, #efe1d5); }
.slide img { width: 66%; height: 62%; object-fit: contain; transform: scale(var(--z, 1)); }
.slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.4rem 1.2rem;
  color: #fff; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; text-align: center;
  background: linear-gradient(180deg, transparent, rgba(95,23,35,.82));
}
.carousel__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; }
.carousel__dots button {
  width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--line); transition: background .25s var(--ease), transform .25s var(--ease);
}
.carousel__dots button.is-active { background: var(--sage); transform: scale(1.25); }
.hero__title { font-size: clamp(2.6rem, 6.6vw, 5rem); color: var(--ink); }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--ink-soft); max-width: 56ch; margin: 1.4rem 0 2rem; }
.hero__lead strong { color: var(--sage-dark); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__badges { list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem; margin: 2.4rem 0 0; padding: 0; color: var(--ink-soft); font-size: .92rem; font-weight: 500; }

.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; }
.hero__scroll span { display: block; width: 24px; height: 38px; border: 2px solid var(--ink-soft); border-radius: 14px; position: relative; opacity: .55; }
.hero__scroll span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; border-radius: 4px; background: var(--ink-soft); transform: translateX(-50%); animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { opacity: 0; top: 7px; } 40% { opacity: 1; } 80% { opacity: 0; top: 18px; } 100% { opacity: 0; } }

/* ---------- Franja de confianza ---------- */
.trust { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 2.6rem 24px; }
.trust__item { text-align: center; padding: .5rem; }
.trust__icon { font-size: 1.8rem; display: block; margin-bottom: .5rem; }
.trust__item h3 { font-size: 1.35rem; margin-bottom: .25rem; }
.trust__item p { margin: 0; color: var(--ink-soft); font-size: .92rem; }

/* ---------- Secciones ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tint { background: var(--linen-2); }
.section__head { text-align: center; max-width: 780px; margin: 0 auto clamp(2.2rem, 5vw, 3.4rem); }

/* ---------- Categorías ---------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.cat {
  grid-column: span 2;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cat--lg { grid-column: span 3; }
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat__img {
  height: 210px; position: relative; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(160deg, #ffffff, #f4f2f1);
  border-bottom: 1px solid var(--line);
}
.cat__img img { width: 74%; height: 78%; object-fit: contain; transition: transform .35s var(--ease); }
/* Foto real de la categoría: ocupa el hueco entero sin desbordarlo,
   sea cual sea el tamaño o la orientación de la imagen */
.cat__img img.cat-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(var(--z, 1));
}
.cat:hover .cat__img img.cat-photo { transform: scale(calc(var(--z, 1) * 1.06)); }
.cat:hover .cat__img img { transform: scale(1.06); }
.cat--lg .cat__img { height: 250px; }
.cat__body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.cat__body h3 { font-size: 1.6rem; margin-bottom: .35rem; }
.cat__body p { margin: 0 0 .8rem; color: var(--ink-soft); font-size: 1.05rem; }
/* El enlace queda abajo aunque la categoría no tenga texto descriptivo */
.cat__link { margin-top: auto; color: var(--clay-dark); font-weight: 600; font-size: .9rem; letter-spacing: .01em; transition: letter-spacing .25s var(--ease); }
.cat:hover .cat__link { letter-spacing: .06em; }

/* ---------- Productos destacados (demo) ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.product { cursor: pointer; }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product__img { position: relative; height: 190px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(160deg, #ffffff, #f4f2f1); border-bottom: 1px solid var(--line); }
.product__img img { width: 72%; height: 80%; object-fit: contain; transform: scale(var(--z, 1)); transition: transform .35s var(--ease); }
.product:hover .product__img img { transform: scale(calc(var(--z, 1) * 1.06)); }
.product__body { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.product__cat { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--clay-dark); }
.product__body h3 { font-size: 1.4rem; margin: .35rem 0 .3rem; }
.product__body p { margin: 0 0 1rem; color: var(--ink-soft); font-size: .98rem; flex: 1; }
/* El precio se queda siempre pegado abajo, así queda a la misma altura en
   todas las tarjetas aunque los nombres ocupen una o dos líneas */
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: auto; border-top: 1px solid var(--line); padding-top: .9rem; }
.product__price { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--sage-dark); }
.product__ref { font-size: .74rem; color: var(--ink-soft); font-style: italic; }
.product.is-hidden { display: none; }

/* Catálogo en móvil: rejilla de 2 columnas, al estilo de las tiendas de ropa.
   Se ven cuatro productos de un vistazo y la ficha queda limpia: foto, nombre y precio. */
@media (max-width: 640px) {
  .products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product { border-radius: var(--radius); }
  .product__img { height: 150px; }
  .product__body { padding: .7rem .75rem .85rem; }
  .product__cat { font-size: .6rem; letter-spacing: .08em; }
  .product__body h3 { font-size: .98rem; margin: .2rem 0 .15rem; line-height: 1.2; }
  .product__body p { font-size: .78rem; margin: 0 0 .5rem; }
  .product__foot { padding-top: .5rem; flex-direction: column; align-items: flex-start; gap: .1rem; }
  .product__price { font-size: 1.15rem; }
  .product__ref { font-size: .65rem; }
  .product__badge { font-size: .68rem; padding: .2rem .5rem; }
}
/* Resalte al llegar desde un destacado del carrusel */
.product.is-highlight { animation: lymHighlight 2.2s var(--ease); }
@keyframes lymHighlight {
  0%   { box-shadow: 0 0 0 4px rgba(125,31,46,.55), var(--shadow-lg); transform: translateY(-4px); }
  70%  { box-shadow: 0 0 0 4px rgba(125,31,46,.35), var(--shadow-lg); transform: translateY(-4px); }
  100% { box-shadow: 0 0 0 0 rgba(125,31,46,0); transform: none; }
}
/* Los destacados del carrusel invitan a pulsar */
.carousel .slide { cursor: pointer; }
.carousel .slide figcaption { transition: color .2s var(--ease); }
.carousel .slide:hover figcaption { color: var(--sage-dark); text-decoration: underline; }

/* ---- Destacados ---- */
.featured { margin-bottom: 2.6rem; }
.featured__title { font-size: 1.5rem; color: var(--sage-dark); margin-bottom: 1.1rem; }
.featured__grid { grid-template-columns: repeat(4, 1fr); }
.product__ribbon {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--sage); color: #fff; font-size: .72rem; font-weight: 700;
  padding: .3rem .7rem; border-radius: 999px; letter-spacing: .02em;
}
.product--featured { border-color: #e4cfd3; }

/* ---- Buscador + herramientas ---- */
.catalog-tools { margin-bottom: 1.8rem; }
.search { position: relative; max-width: 520px; margin: 0 auto 1.2rem; }
.search__icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; }
.search__input {
  width: 100%; padding: .95rem 1rem .95rem 3rem; font-family: inherit; font-size: 1.05rem;
  border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.search__input:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(125,31,46,.14); }

/* ---- Ofertas ---- */
.product__badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: var(--gold); color: #241f22; font-size: .82rem; font-weight: 800;
  padding: .3rem .6rem; border-radius: 8px; box-shadow: var(--shadow-sm);
}
.product__old { color: var(--ink-soft); text-decoration: line-through; font-size: 1rem; font-weight: 400; margin-right: .2rem; }

/* ---- Sin resultados ---- */
.no-results { text-align: center; color: var(--ink-soft); font-size: 1.1rem; padding: 1.5rem 0; }

/* ---- Banner de ofertas ---- */
.promo-wrap { padding: clamp(1.5rem, 4vw, 2.5rem) 0 0; }
.promo {
  display: flex; align-items: center; gap: 1.6rem;
  background: linear-gradient(120deg, #7d1f2e, #5f1723); color: #fff;
  border-radius: var(--radius-lg); padding: 1.6rem 2rem; position: relative; overflow: hidden;
  box-shadow: var(--shadow-md); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.promo::after { content: ""; position: absolute; inset: 0; opacity: .1; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.5) 0 2px, transparent 2px 10px); }
.promo:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.promo__badge {
  position: relative; z-index: 1; flex: none; background: var(--gold); color: #241f22;
  font-weight: 800; letter-spacing: .1em; font-size: .95rem; padding: .7rem 1.1rem; border-radius: 10px;
  transform: rotate(-3deg); box-shadow: var(--shadow-sm);
}
.promo__text { position: relative; z-index: 1; flex: 1; }
/* Foto del producto en oferta (opcional, se pone desde el panel) */
.promo__photo {
  position: relative; z-index: 1; flex: none;
  width: 92px; height: 92px; border-radius: 14px; overflow: hidden;
  border: 2px solid rgba(255,255,255,.55); background: #fff;
}
.promo__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .promo__photo { width: 68px; height: 68px; } }
.promo__text h2 { font-size: clamp(1.4rem, 3.4vw, 2.1rem); color: #fff; line-height: 1.12; }
.promo__text h2 strong { color: var(--gold); }
.promo__text p { margin: .35rem 0 0; color: #f1dee2; font-size: 1.02rem; }
.promo__cta { position: relative; z-index: 1; flex: none; background: #fff; color: var(--sage-dark); font-weight: 700; padding: .85rem 1.4rem; border-radius: 999px; white-space: nowrap; transition: transform .25s var(--ease); }
.promo:hover .promo__cta { transform: translateX(3px); }
.product__ask {
  background: var(--sage); color: #fff; font-weight: 700; font-size: .95rem;
  padding: .6rem 1.15rem; border-radius: 999px; white-space: nowrap;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.product__ask:hover { background: var(--sage-dark); transform: translateY(-2px); }

/* ---------- Feature (servicios) ---------- */
.feature { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.feature--alt { background: var(--linen-2); }
.feature__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature__inner--rev .feature__text { order: 2; }
.feature__media { position: relative; }
.feature__photo {
  border-radius: var(--radius-lg); aspect-ratio: 4 / 3; box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.feature__photo::after { content: ""; position: absolute; inset: 0; opacity: .3; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.25) 0 3px, transparent 3px 10px); }
.feature__photo--curtains { background: linear-gradient(160deg, #b45568, #7d1f2e); }
.feature__photo--embroidery { background: linear-gradient(160deg, #faf3f4, #f0dde2); display: grid; place-items: center; }
.stitch-name {
  font-family: "Great Vibes", var(--serif); font-style: normal; font-size: clamp(2.8rem, 7vw, 4.6rem);
  color: #7d1f2e; position: relative; z-index: 1;
  text-shadow: 0 1px 2px rgba(255,255,255,.5);
  border-bottom: 3px dashed rgba(125,31,46,.45); padding-bottom: .1em;
}
.feature__badge {
  position: absolute; left: -14px; bottom: 22px;
  background: var(--clay); color: #fff; font-size: .8rem; font-weight: 600;
  padding: .55rem 1.05rem; border-radius: 999px; box-shadow: var(--shadow-md);
}
.feature__text p { color: var(--ink-soft); font-size: 1.05rem; margin: 1rem 0 1.4rem; }
/* Zona de servicio (localidades donde se mide e instala) */
.feature__text p.feature__area {
  font-size: .98rem; margin: -.4rem 0 1.4rem; padding: .7rem 1rem;
  background: var(--sage-soft); border-left: 3px solid var(--sage); border-radius: 0 10px 10px 0;
}
.ticks { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.8rem; color: var(--ink); font-size: .98rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #fff; background: var(--sage); width: 1.25rem; height: 1.25rem; border-radius: 50%; font-size: .7rem; display: grid; place-items: center; font-weight: 700; }

.feature__steps { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0 0 1.8rem; }
.step { display: flex; align-items: center; gap: .55rem; font-size: .88rem; font-weight: 600; color: var(--sage-dark); }
.step span { width: 1.7rem; height: 1.7rem; flex: none; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--sage); color: var(--sage-dark); border-radius: 50%; font-size: .85rem; }

/* ---------- Galería ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2rem; }
.filter { background: var(--cream); border: 1.5px solid var(--line); border-radius: 999px; padding: .5rem 1.15rem; font-size: .88rem; font-weight: 600; color: var(--ink-soft); transition: all .25s var(--ease); }
.filter:hover { border-color: var(--sage); color: var(--sage-dark); }
.filter.is-active { background: var(--sage); border-color: var(--sage); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shot {
  margin: 0; position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius);
  overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm);
  background: linear-gradient(160deg, hsl(var(--h) / .95), hsl(var(--h) / .6));
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .3s var(--ease);
}
.shot::before { content: ""; position: absolute; inset: 0; opacity: .32; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.25) 0 3px, transparent 3px 10px); }
.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 1.4rem .9rem .8rem; color: #fff; font-weight: 600; font-size: .92rem;
  background: linear-gradient(180deg, transparent, rgba(20,18,15,.55));
}
.shot.is-hidden { display: none; }
.gallery__note { text-align: center; color: var(--ink-soft); font-size: .85rem; margin-top: 1.6rem; font-style: italic; }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  background: linear-gradient(160deg, #a83a4c, #5f1723); position: relative; overflow: hidden;
}
.about__photo::after { content: "Foto de la tienda"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.7); font-family: var(--serif); font-style: italic; font-size: 1.3rem; }

/* Cuando el cliente sube su propia foto, se quitan los adornos de relleno */
.has-photo::after, .has-photo::before { content: none !important; }
.has-photo .stitch-name { display: none; }
.site-photo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.about__text p { color: var(--ink-soft); font-size: 1.05rem; margin: 1rem 0; }
.stats { display: flex; gap: 2rem; margin-top: 1.8rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--serif); font-size: 2.4rem; color: var(--clay-dark); line-height: 1; }
.stat span { font-size: .82rem; color: var(--ink-soft); letter-spacing: .03em; }

/* ---------- Testimonios ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.quote__stars { color: #e0a83e; letter-spacing: .12em; margin-bottom: .6rem; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 600; color: var(--ink); font-size: .9rem; }

/* Valoración de Google */
.grating { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2rem; margin: 0 auto 2rem; padding: 1.1rem 1.6rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); max-width: 620px; }
.grating__score { display: flex; align-items: center; gap: .7rem; }
.grating__num { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--ink); line-height: 1; }
.grating__meta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.grating__src { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink-soft); font-size: .92rem; font-weight: 600; }
.stars5 { position: relative; display: inline-block; font-size: 1.5rem; line-height: 1; letter-spacing: 2px; color: #d9d2cf; white-space: nowrap; }
.stars5::before { content: "★★★★★"; }
.stars5__fill { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; color: var(--gold); }
.stars5__fill::before { content: "★★★★★"; }
.quote p { font-family: var(--serif); font-size: 1.28rem; line-height: 1.4; color: var(--ink); margin: 0 0 1rem; }
.quote cite { font-style: normal; font-size: .85rem; color: var(--ink-soft); font-weight: 600; }

/* ---------- Visítanos ---------- */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: stretch; }
.info { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: 1.1rem; }
.info li { display: flex; gap: .9rem; align-items: flex-start; }
.info__ic { font-size: 1.2rem; flex: none; }
.info a:hover { color: var(--sage-dark); text-decoration: underline; }
.visit__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.visit__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); min-height: 340px; border: 1px solid var(--line); }
.visit__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: saturate(.92); }

/* ---------- CTA / contacto ---------- */
.cta { background: linear-gradient(155deg, #7d1f2e, #5f1723); color: #f6eef0; padding: clamp(3.5rem, 8vw, 6rem) 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.5) 0 2px, transparent 2px 9px); }
.cta__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cta__text .section__title { color: #fff; }
.cta__text p { color: #f1dee2; font-size: 1.15rem; margin: 1rem 0 1.6rem; max-width: 42ch; }
.cta__quick { display: flex; gap: .8rem; flex-wrap: wrap; }
.cta__form { background: var(--cream); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-lg); color: var(--ink); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .35rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: .95rem; background: #fff; color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(91,107,79,.15); }
.field textarea { resize: vertical; }
.form__hint { font-size: .78rem; color: var(--ink-soft); text-align: center; margin: .8rem 0 0; }

/* ---------- Footer ---------- */
.footer { background: #241417; color: #d8c9cd; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding: 3.2rem 24px 2.4rem; }
.footer__brand .logo { margin-bottom: .2rem; }
.footer__brand p { color: #a49e91; font-size: .92rem; margin: .7rem 0 0; max-width: 34ch; }
.footer__col h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #8f897c; margin-bottom: .9rem; }
.footer__col a, .footer__col span { display: block; color: #cfc9bd; font-size: .92rem; padding: .22rem 0; transition: color .2s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__social { display: flex; gap: 1rem; margin-top: .6rem; }
.footer__social a { font-weight: 600; color: var(--clay); }
.footer__bar { border-top: 1px solid rgba(255,255,255,.08); }
.footer__bar-inner { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 24px; font-size: .8rem; color: #8f897c; flex-wrap: wrap; gap: .5rem; }
.footer__legal { color: #cfc9bd; transition: color .2s var(--ease); }
.footer__legal:hover { color: #fff; text-decoration: underline; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.45);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  animation: waPulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes waPulse { 0% { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.4); } 70% { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- Bordado: qué bordamos (chips) ---------- */
.stitch-list__label { font-weight: 700; color: var(--ink); margin: .2rem 0 .6rem; }
.stitch-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.6rem; }
.stitch-list li {
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
  padding: .4rem .9rem; font-size: .9rem; font-weight: 600; color: var(--sage-dark);
}

/* ---------- Consejos para casa ---------- */
.consejos { padding: clamp(3.5rem, 8vw, 6.5rem) 0; background: var(--sage-soft); }
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tip {
  position: relative; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2.4rem 1.6rem 1.6rem; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tip:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tip::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--sage), var(--gold)); }
.tip__num { font-family: var(--serif); font-size: 3rem; font-weight: 600; color: #eccfd4; line-height: 1; display: block; }
.tip__tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-dark); margin: .3rem 0 .5rem; }
.tip h3 { font-size: 1.45rem; margin-bottom: .5rem; }
.tip p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* ---------- Reveal (animación scroll) ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* Cabecera → MENÚ LATERAL en cuanto no cabe cómodamente (tablets, pantalla dividida, móvil) */
@media (max-width: 1024px) {
  .nav__toggle { display: block; z-index: 46; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; top: 0; height: 100dvh; width: min(84vw, 340px);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: .1rem; padding: 4.8rem 1.6rem 2rem; background: var(--cream);
    box-shadow: -12px 0 40px rgba(0,0,0,.18); transform: translateX(100%);
    transition: transform .35s var(--ease); z-index: 45; overflow-y: auto;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 1.12rem; padding: .75rem 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 1.1rem; border-bottom: 0 !important; text-align: center; }
  .nav__item--drop { width: 100%; }
  .nav__top { justify-content: space-between; border-bottom: 1px solid var(--line); }
  .nav__caret { display: none; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: transparent; padding: .2rem 0 .4rem .9rem;
    min-width: 0; border-left: 2px solid var(--sage-soft); margin: .2rem 0 .3rem .2rem;
  }
  .dropdown a { font-size: 1rem; padding: .5rem 0; color: var(--ink-soft); border-bottom: 0; }
  /* Hero apilado: texto arriba, carrusel debajo */
  .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero__content { max-width: none; }
  .hero__showcase { max-width: 460px; width: 100%; margin: 0 auto; }
}

@media (max-width: 960px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .cat, .cat--lg { grid-column: span 1; }
  .feature__inner { grid-template-columns: 1fr; }
  .feature__inner--rev .feature__text { order: 0; }
  .about, .visit, .cta__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; }
  .quotes { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .featured__grid { grid-template-columns: repeat(2, 1fr); }
  .tips { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  /* Barra superior: dejamos solo el teléfono (lo más útil) */
  .topbar__inner > :nth-child(1),
  .topbar__inner > :nth-child(2),
  .topbar__inner > :nth-child(3) { display: none; }
  .nav__inner { padding: .6rem 20px; }
  .logo__script { font-size: 1.7rem; }
  .logo__img { max-height: 38px; }
  .hero__badges { gap: .7rem 1.1rem; font-size: .9rem; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; width: 100%; }
  .promo { flex-direction: column; text-align: center; padding: 1.6rem 1.3rem; gap: 1rem; }
  .promo__cta { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .trust__grid { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr; }
  .featured__grid { grid-template-columns: 1fr; }
  .tips { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .stats { gap: 1.4rem; }
  .filter { font-size: .84rem; padding: .45rem .9rem; }
  .container { padding: 0 18px; }
}

/* ---------- Accesibilidad: reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 80; display: none; place-items: center;
  background: rgba(28,26,22,.86); backdrop-filter: blur(4px); padding: 24px;
}
.lightbox.is-open { display: grid; }
.lightbox__card {
  width: min(90vw, 620px); aspect-ratio: 4/3; border-radius: var(--radius-lg);
  position: relative; box-shadow: var(--shadow-lg); overflow: hidden;
  animation: lbIn .35s var(--ease);
}
.lightbox__card::after { content: ""; position: absolute; inset: 0; opacity: .3; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.25) 0 3px, transparent 3px 10px); }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 2rem 1.2rem 1.1rem; color: #fff; font-family: var(--serif); font-size: 1.4rem; background: linear-gradient(180deg, transparent, rgba(20,18,15,.6)); }
.lightbox__close { position: absolute; top: -14px; right: -14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.4rem; box-shadow: var(--shadow-md); }
@keyframes lbIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* ---------- Ficha de producto (ventana) ---------- */
.pmodal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.pmodal[hidden] { display: none; }
.pmodal__backdrop { position: absolute; inset: 0; background: rgba(36,31,34,.62); backdrop-filter: blur(2px); }
.pmodal__card {
  position: relative; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  width: 100%; max-width: min(920px, 100%); max-height: 90vh; overflow: auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0;
}
/* Sin esto, el contenido de cada columna impide que la ficha se encoja en móvil */
.pmodal__media, .pmodal__info { min-width: 0; }
.pmodal__info .btn { white-space: normal; }
.pmodal__close {
  position: absolute; top: 10px; right: 12px; z-index: 2; width: 40px; height: 40px; border: 0; cursor: pointer;
  border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); font-size: 1.7rem; line-height: 1;
  box-shadow: var(--shadow-sm);
}
.pmodal__close:hover { background: #fff; color: var(--sage-dark); }
.pmodal__media { padding: 18px; background: linear-gradient(160deg, #fffdfd, #f6f1f2); }
.pmodal__stage {
  aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line); display: grid; place-items: center;
}
.pmodal__stage img { width: 100%; height: 100%; object-fit: contain; }
.pmodal__thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pmodal__thumbs button {
  width: 62px; height: 62px; padding: 0; border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 2px solid var(--line); background: #fff;
}
.pmodal__thumbs button.is-active { border-color: var(--sage); }
.pmodal__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pmodal__info { padding: 30px 30px 26px; display: flex; flex-direction: column; }
.pmodal__info h3 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: .3rem 0 .6rem; }
.pmodal__desc { color: var(--ink-soft); margin: 0 0 1.2rem; }
.pmopt { margin-bottom: 1rem; }
.pmopt__label { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .5rem; }
.pmopt__vals { display: flex; flex-wrap: wrap; gap: 8px; }
.pmopt__btn {
  font-family: var(--sans); font-weight: 600; font-size: .92rem; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; color: var(--ink);
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.pmopt__btn:hover { border-color: var(--sage); }
.pmopt__btn.is-active { background: var(--sage); border-color: var(--sage); color: #fff; }
.pmopt__btn:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.pmodal__price { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; color: var(--sage-dark); margin-top: auto; }
.pmodal__price .product__old { font-size: .55em; }
.pmodal__note { font-size: .78rem; color: var(--ink-soft); font-style: italic; margin: .2rem 0 1.1rem; }
.pmodal__info .btn {
  justify-content: center; align-self: flex-start;
  min-height: 44px; padding: .55rem 1.2rem; font-size: .95rem;
}
body.pmodal-open { overflow: hidden; }
@media (max-width: 820px) {
  .pmodal { padding: 0; place-items: end stretch; }
  .pmodal__card {
    grid-template-columns: 1fr; max-width: none;
    height: auto; max-height: 94dvh;            /* se ajusta al contenido */
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .pmodal__info { padding: 18px 20px 22px; }
  .pmodal__stage { aspect-ratio: 4 / 3; }
  .pmodal__price { margin-top: .8rem; }
  .pmodal__info .btn { align-self: stretch; }
}

/* ---------- Visor de fotos con zoom ---------- */
.zoomer { position: fixed; inset: 0; z-index: 200; background: #171012; }
.zoomer[hidden] { display: none; }
.zoomer__stage {
  position: absolute; inset: 0; overflow: hidden; touch-action: none;
  display: grid; place-items: center; cursor: zoom-in;
}
.zoomer__stage.is-zoomed { cursor: grab; }
.zoomer__stage.is-grabbing { cursor: grabbing; }
.zoomer__stage img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  transform-origin: center center; will-change: transform; user-select: none; -webkit-user-drag: none;
  transition: transform .18s var(--ease);
}
.zoomer__stage.is-dragging img { transition: none; }
.zoomer__close, .zoomer__nav, .zoomer__bar button {
  position: absolute; border: 0; cursor: pointer; color: #fff;
  background: rgba(255,255,255,.14); backdrop-filter: blur(4px);
  transition: background .2s var(--ease);
}
.zoomer__close:hover, .zoomer__nav:hover, .zoomer__bar button:hover { background: rgba(255,255,255,.3); }
.zoomer__close { top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; z-index: 3; }
.zoomer__nav {
  top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  font-size: 2.2rem; line-height: 1; z-index: 3; display: grid; place-items: center; padding-bottom: 4px;
}
.zoomer__nav--prev { left: 14px; }
.zoomer__nav--next { right: 14px; }
.zoomer__nav[hidden] { display: none; }
.zoomer__bar {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3;
  display: flex; align-items: center; gap: 4px; background: rgba(255,255,255,.14);
  backdrop-filter: blur(4px); border-radius: 999px; padding: 4px; color: #fff;
}
.zoomer__bar button { position: static; width: 44px; height: 44px; border-radius: 50%; font-size: 1.5rem; line-height: 1; background: transparent; }
.zoomer__bar span { min-width: 56px; text-align: center; font-size: .9rem; font-weight: 700; }
.zoomer__hint {
  position: absolute; left: 0; right: 0; bottom: 78px; margin: 0; text-align: center;
  color: rgba(255,255,255,.72); font-size: .82rem; pointer-events: none; padding: 0 16px;
  transition: opacity .3s var(--ease);
}
.zoomer__hint.is-off { opacity: 0; }
.pmodal__stage { cursor: zoom-in; }
@media (max-width: 600px) {
  .zoomer__nav { width: 44px; height: 44px; font-size: 1.8rem; }
  .zoomer__nav--prev { left: 6px; }
  .zoomer__nav--next { right: 6px; }
  .zoomer__bar { bottom: 14px; }
}

/* =========================================================
   Ajustes para el móvil: zonas de toque cómodas con el dedo
   (muchos clientes entran desde el teléfono)
   ========================================================= */
@media (max-width: 720px) {
  /* Puntos del carrusel: el punto se ve igual, pero la zona
     que responde al dedo es mucho mayor */
  .carousel__dots { gap: .15rem; margin-top: .6rem; }
  .carousel__dots button {
    width: 34px; height: 34px; background: transparent; position: relative;
    transform: none;
  }
  .carousel__dots button::after {
    content: ""; position: absolute; top: 50%; left: 50%;
    width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
    background: var(--line); transition: background .25s var(--ease), transform .25s var(--ease);
  }
  .carousel__dots button.is-active { background: transparent; transform: none; }
  .carousel__dots button.is-active::after { background: var(--sage); transform: scale(1.3); }

  /* Teléfono de la barra superior: más alto para pulsarlo bien */
  .topbar__inner { padding: .35rem 18px; }
  .topbar__phone { display: inline-flex; align-items: center; min-height: 40px; }

  /* Filtros del catálogo */
  .filter { min-height: 40px; }

  /* Enlaces del pie */
  .footer__col a, .footer__legal { display: inline-flex; align-items: center; min-height: 38px; }
  .footer__col a { width: 100%; }

  /* Teléfonos y correos: cómodos de pulsar en cualquier sección */
  a[href^="tel:"], a[href^="mailto:"] { display: inline-flex; align-items: center; min-height: 40px; }
}
