/* ============ LolindaBna · estilos ============ */
:root {
  --bg: #fdfbf7;
  --bg-tint: #f3f1ec;
  --blue: #7fa3b5;
  --blue-dark: #5d8397;
  --gold: #c8a97e;
  --text: #3d3a36;
  --muted: #7a736b;
  --line: #e6e0d6;
  --white: #ffffff;
  --whatsapp: #25d366;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --script: "Parisienne", cursive;
  --radius: 4px;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .75rem;
  font-weight: 500;
  color: var(--blue-dark);
  margin-bottom: .8em;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.9em;
  background: var(--blue);
  color: var(--white);
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--blue-dark); }
.btn--ghost:hover { background: var(--blue); color: var(--white); }
.btn--whatsapp { background: var(--whatsapp); border-color: var(--whatsapp); }
.btn--whatsapp:hover { background: #1eb457; border-color: #1eb457; }
.btn--small { padding: .75em 1.2em; font-size: .72rem; width: 100%; }

/* ---------- Cabecera ---------- */
.topbar {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  font-size: .78rem;
  letter-spacing: .08em;
  padding: .55em 1em;
}
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 251, 247, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo {
  font-family: var(--script);
  font-size: 2.1rem;
  color: var(--blue-dark);
  text-decoration: none;
  line-height: 1;
}
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  text-decoration: none;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
}
.nav a:not(.nav__icon)::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px; background: var(--gold); transition: width .25s;
}
.nav a:hover::after { width: 100%; }
.nav__cta { color: var(--blue-dark); }
.nav__icon { display: flex; color: var(--blue-dark); cursor: pointer; }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 1.5px; background: var(--text); margin: 5px 0; transition: .25s; }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 90px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 32em; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.hero__image { position: relative; }
.hero__image::before {
  content: ""; position: absolute; inset: -30px -30px 30px 30px;
  background: radial-gradient(circle at 40% 40%, rgba(127,163,181,.25), transparent 65%);
  z-index: -1;
}
.hero__image img {
  border-radius: 300px 300px var(--radius) var(--radius);
  box-shadow: 0 30px 60px -30px rgba(61,58,54,.35);
  max-height: 620px; object-fit: cover; margin-left: auto;
}

/* ---------- Valores ---------- */
.values { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.value { padding: 40px 24px; }
.value + .value { border-left: 1px solid var(--line); }
.value svg { color: var(--gold); margin: 0 auto 12px; }
.value h3 { margin-bottom: .2em; }
.value p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Secciones ---------- */
.section { padding: 100px 0; }
.section--tinted { background: var(--bg-tint); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section__head p:last-child { color: var(--muted); }

/* ---------- Filtros ---------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter {
  background: none; border: 1px solid var(--line); border-radius: 30px;
  padding: .5em 1.3em; font-family: var(--sans); font-size: .85rem; color: var(--muted); cursor: pointer;
  transition: .2s;
}
.filter:hover { border-color: var(--blue); color: var(--blue-dark); }
.filter.is-active { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ---------- Productos ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 40px 28px; }
.card { display: flex; flex-direction: column; }
.card[hidden] { display: none; }
.card__image {
  aspect-ratio: 3 / 4; overflow: hidden; background: var(--white);
  border-radius: var(--radius); margin-bottom: 18px;
}
.card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__image img { transform: scale(1.04); }
.card h3 { margin-bottom: .15em; }
.card__desc { color: var(--muted); font-size: .92rem; margin-bottom: .8em; flex-grow: 1; }
.card__price { font-family: var(--serif); font-size: 1.35rem; color: var(--blue-dark); margin-bottom: .6em; }
.sizes { display: flex; gap: 8px; margin-bottom: 14px; }
.size {
  flex: 1; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .5em .4em; font-family: var(--sans); font-size: .8rem; color: var(--text); cursor: pointer;
  transition: .2s; line-height: 1.3;
}
.size small { display: block; color: var(--muted); }
.size:hover { border-color: var(--blue); }
.size.is-active { border-color: var(--blue-dark); box-shadow: inset 0 0 0 1px var(--blue-dark); }

.grid--custom { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.shipping-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 50px; }

/* ---------- Banner ---------- */
.banner {
  margin-top: 70px; text-align: center; padding: 50px 30px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.banner__script { font-family: var(--script); font-size: 2.4rem; color: var(--gold); margin-bottom: .2em; line-height: 1.2; }
.banner p { max-width: 520px; margin-left: auto; margin-right: auto; }

/* ---------- Pasos ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.steps span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold);
  font-family: var(--serif); font-size: 1.6rem; margin-bottom: 16px;
}
.steps p { color: var(--muted); }

/* ---------- Sobre mí ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.about__image img { border-radius: var(--radius); max-height: 560px; object-fit: cover; }
.signature { font-family: var(--script); font-size: 1.8rem; color: var(--blue-dark); }

/* ---------- FAQ ---------- */
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 30px 22px 0; position: relative;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 1.6rem; color: var(--gold); transition: transform .25s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 18px; }

/* ---------- Formulario ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: .85rem; letter-spacing: .04em; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: .8em 1em; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); }
.form textarea { resize: vertical; }
.form__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form__buttons .btn { flex: 1; min-width: 220px; }
.form__error { color: #b0564b; font-size: .9rem; margin: 0; }

/* ---------- Instagram ---------- */
.insta { text-align: center; }
.insta p { color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--text); color: #d9d3ca; padding: 70px 0 30px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-family: var(--sans); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; font-size: .75rem; color: var(--white); margin: 0 0 1em; }
.footer a { display: block; text-decoration: none; margin-bottom: .5em; cursor: pointer; }
.footer a:hover { color: var(--white); }
.logo--footer { color: var(--white); margin-bottom: .4em; }
.footer__copy { text-align: center; margin: 50px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; color: #a39a90; }

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--whatsapp); color: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,.18); cursor: pointer;
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Páginas simples (gracias / legal) ---------- */
.page { padding: 90px 0; min-height: 60vh; }
.page h2 { margin-top: 1.6em; font-size: 1.8rem; }
.page p, .page li { color: var(--muted); }
.center { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { padding: 40px 0 70px; }
  .hero__inner, .about { grid-template-columns: 1fr; gap: 40px; }
  .hero__image { order: -1; max-width: 420px; margin: 0 auto; }
  .hero__image::before { display: none; }
  .hero__text { text-align: center; }
  .lead { margin: 0 auto; }
  .hero__buttons { justify-content: center; }
  .about__image { max-width: 420px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 70px 0; }

  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav.is-open { max-height: 420px; }
  .nav a { padding: 16px 20px; width: 100%; text-align: center; }
  .nav a::after { display: none; }
  .nav__icon { justify-content: center; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .values__grid { grid-template-columns: 1fr; }
  .value + .value { border-left: 0; border-top: 1px solid var(--line); }
  .value { padding: 28px 20px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 30px 14px; }
  .grid--custom { grid-template-columns: 1fr 1fr; }
  .card h3 { font-size: 1.15rem; }
  .card__desc { font-size: .85rem; }
  .sizes { flex-direction: column; gap: 6px; }
  .form__row { grid-template-columns: 1fr; }
  .form__buttons .btn { min-width: 100%; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .topbar { font-size: .7rem; }
}

/* ---------- Ajustes catálogo real ---------- */
:root { --bg: #fbf8f3; --bg-tint: #f3ece2; }
.logo { font-size: 2rem; letter-spacing: .01em; }
.logo small { font-family: var(--sans); font-size: .62rem; letter-spacing: .35em; text-transform: uppercase; color: var(--muted); margin-left: .3em; vertical-align: middle; }
.logo--footer small { color: #a39a90; }
.hero__image img { border-radius: 260px 260px var(--radius) var(--radius); aspect-ratio: 5 / 5.2; width: 100%; object-fit: cover; }

.card__image { position: relative; background: #fff; }
.card__image .img2 { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.card:hover .card__image .img2 { opacity: 1; }
.card__badge { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.92); color: var(--muted); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: .35em .7em; border-radius: 30px; z-index: 2; }
.card__price--muted { color: var(--muted); font-size: 1.1rem; }

.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 70px; }
.prices__box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; }
.prices__box h3 { font-size: 1.7rem; margin-bottom: .8em; }
.price-list { list-style: none; margin: 0 0 1.2em; padding: 0; }
.price-list li { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.price-list li div { display: flex; justify-content: space-between; gap: 12px; font-family: var(--serif); font-size: 1.25rem; }
.price-list li div strong { font-weight: 500; color: var(--blue-dark); white-space: nowrap; }
.price-list li p { margin: .2em 0 0; color: var(--muted); font-size: .9rem; }
.prices__note { font-size: .88rem; color: var(--muted); font-style: italic; margin: 0; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th { font-weight: 400; font-size: .78rem; letter-spacing: .06em; color: var(--muted); text-align: left; padding: 0 8px 12px 0; border-bottom: 1px solid var(--line); vertical-align: bottom; }
.price-table td { padding: 16px 8px 16px 0; border-bottom: 1px dashed var(--line); font-family: var(--serif); font-size: 1.25rem; }
.price-table td:not(:first-child) { color: var(--blue-dark); }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .logo { font-size: 1.7rem; }
  .prices__box { padding: 28px 20px; }
  .price-table th { font-size: .7rem; }
  .price-table td { font-size: 1.1rem; }
}
@media (min-width: 901px) { .grid--custom { grid-template-columns: repeat(3, 1fr); gap: 48px 36px; } }
.card__price { line-height: 1.3; }
@media (max-width: 600px) {
  .card__price { font-size: 1.15rem; }
  .btn--small { letter-spacing: .08em; padding: .8em .5em; }
}

/* ---------- Logo en imagen ---------- */
.header__inner { height: 84px; }
.logo img { height: 64px; width: auto; display: block; }
.logo--footer img { height: 64px; margin-bottom: .6em; }
@media (max-width: 900px) { .nav { top: 84px; } }
@media (max-width: 600px) { .logo img { height: 46px; } }

/* ---------- Galería recordatorios ---------- */
.gallery { margin-top: 80px; }
.gallery__title { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.gallery__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gallery__item { padding: 0; border: 0; background: none; cursor: zoom-in; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(40,37,34,.88); display: flex; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lightbox__close { position: absolute; top: 14px; right: 20px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; }
@media (max-width: 900px) { .gallery__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.gallery__label { font-family: var(--serif); font-size: 1.35rem; color: var(--blue-dark); margin: 36px 0 14px; }
.gallery__label:first-of-type { margin-top: 0; }

/* ---------- Portada: presentación de fotos ---------- */
.slideshow { position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: 640px; margin-left: auto;
  border-radius: 260px 260px var(--radius) var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(61,58,54,.35); background: var(--bg-tint); }
.slideshow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04); transition: opacity 1.2s ease, transform 5s ease;
  border-radius: 0; box-shadow: none; max-height: none; aspect-ratio: auto; margin: 0; }
.slideshow img.is-active { opacity: 1; transform: scale(1); }
.slideshow__dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.slideshow__dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px rgba(0,0,0,.08); transition: background .3s, transform .3s; }
.slideshow__dots button.is-active { background: #fff; transform: scale(1.35); }
@media (max-width: 900px) { .slideshow { max-height: 520px; } }
@media (prefers-reduced-motion: reduce) { .slideshow img { transition: none; transform: none; } }

/* ---------- Cómo comprar ---------- */
.howto { list-style: none; padding: 0; margin: -10px auto 44px; max-width: 900px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.howto li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.howto span { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.05rem; }
@media (max-width: 900px) { .howto { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .howto li { font-size: .82rem; padding: 10px; } }
.card .btn--whatsapp { color: #fff; }
.hero__image::before { display: none; }
.hero__image { width: 100%; }
@media (max-width: 900px) { .hero__image { max-width: 420px; } }

/* ---------- Fondo color lino ---------- */
:root { --bg: #EFE8DD; --bg-tint: #E6DDCF; --line: #DDD2C1; }
.header { background: rgba(239, 232, 221, .95); }
.values { background: #F5F0E8; }
.nav { background: transparent; }
@media (max-width: 900px) { .nav { background: var(--bg); } }

/* Dificultar copiar imágenes (no arrastrar ni seleccionar) */
img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }

/* ---------- Lámina con varios fondos ---------- */
.card__image .fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.card__image .fondo.is-active { opacity: 1; }
.card:hover .card__image .fondo { transform: none; }
.fondo-select { display: grid; gap: 4px; font-size: .78rem; color: var(--muted); margin-bottom: 12px; }
.fondo-select select { font: inherit; font-size: .9rem; color: var(--text); padding: .55em .7em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }

/* =====================================================================
   v2 · Revisión de diseño, accesibilidad y SEO (octubre 2026)
   ===================================================================== */
:root {
  --blue: #3C5568;          /* botones principales (contraste 7,8:1) */
  --blue-dark: #3f6175;     /* textos azules sobre lino (5,4:1) */
  --muted: #615a53;         /* texto secundario (5,6:1) */
  --gold: #8a6a40;
  --gold-text: #75582f;
  --whatsapp: #1d7a45;      /* verde con texto blanco legible (5,3:1) */
  --header-h: 84px;
}
.topbar { background: var(--blue); }
.btn:hover { background: #2c4253; border-color: #2c4253; }
.btn--ghost { color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--whatsapp { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #166238; border-color: #166238; }
.btn--block { width: 100%; }
.center { text-align: center; }
.steps span { color: var(--gold-text); border-color: var(--gold); }
.card__price { color: var(--blue-dark); }

/* Accesibilidad */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 4px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px;
}
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.nav a[aria-current="page"] { color: var(--blue-dark); }
.nav a[aria-current="page"]::after { width: 100%; }

/* Cabecera: botón de pedido */
.header__actions { display: flex; align-items: center; gap: 6px; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; margin-left: 18px;
  background: transparent; border: 1px solid var(--blue); border-radius: 30px; color: var(--blue);
  font: 500 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.cart-btn:hover { background: var(--blue); color: #fff; }
.cart-count { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--gold); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; letter-spacing: 0; }
.cart-count.is-empty { background: #cfc5b6; color: var(--text); }
.menu-toggle { width: 44px; height: 44px; }

/* Portada */
.hero__inner { position: relative; }
.slideshow__controls { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 4px; }
.slideshow__dots { position: static; display: flex; gap: 0; }
.slideshow__dots button { width: 26px; height: 32px; background: none; box-shadow: none; position: relative; border-radius: 0; transform: none !important; }
.slideshow__dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: rgba(255,255,255,.65); box-shadow: 0 0 0 1px rgba(0,0,0,.15); transition: transform .3s, background .3s; }
.slideshow__dots button.is-active::before { background: #fff; transform: scale(1.4); }
.slideshow__pause { width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--text); font-size: 10px; cursor: pointer; }

/* Catálogo por categorías */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cat { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); text-decoration: none; color: #fff; background: #ddd; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,32,36,.72) 0%, rgba(28,32,36,.15) 45%, transparent 70%); }
.cat:hover img { transform: scale(1.05); }
.cat__num, .cat__name, .cat__more { position: absolute; left: 18px; z-index: 2; }
.cat__num { top: 14px; font: 500 .72rem var(--sans); letter-spacing: .2em; background: rgba(255,255,255,.9); color: var(--text); padding: .3em .6em; border-radius: 20px; }
.cat__name { bottom: 40px; font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; }
.cat__more { bottom: 16px; font-size: .82rem; letter-spacing: .04em; opacity: .95; }

/* Cabecera de página interior */
.page-head { padding: 70px 0 30px; text-align: center; }
.page-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.page-head p:not(.eyebrow) { max-width: 640px; margin: 0 auto 1.4em; color: var(--muted); }
.section--shop { padding-top: 20px; }

/* Filtros fijos al bajar */
.filters { position: sticky; top: var(--header-h); z-index: 20; background: var(--bg); padding: 12px 0; margin-bottom: 28px; }
.filter { min-height: 44px; padding: .5em 1.4em; color: var(--text); border-color: #cbbfae; font-size: .9rem; }
.filter.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Tarjetas alineadas: el bloque de compra siempre abajo */
.card__desc { flex-grow: 0; color: var(--muted); }
.card__buy { margin-top: auto; padding-top: 4px; }
.card__badge { color: var(--text); }
.size { min-height: 46px; font-size: .85rem; }
.size small { font-size: .78rem; color: var(--muted); }
.fondo-select { color: var(--text); font-size: .8rem; letter-spacing: .04em; }
.fondo-select select { min-height: 44px; }
.fondo-select.is-missing select { border-color: #b0564b; box-shadow: 0 0 0 2px rgba(176,86,75,.25); }
.btn--small { min-height: 44px; }
.btn--add.is-done { background: var(--whatsapp); border-color: var(--whatsapp); }

/* Contacto en tarjetas */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 900px; margin: 0 auto; }
.contact-card { display: grid; justify-items: center; gap: 6px; padding: 30px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
.contact-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.contact-card svg { color: var(--blue); }
.contact-card__label { font: 500 .75rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact-card__value { font-family: var(--serif); font-size: 1.3rem; }
.contact-more { margin-top: 26px; color: var(--muted); }
.contact-more a { color: var(--blue-dark); }

.footer__title { font-family: var(--sans); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; font-size: .75rem; color: #fff; margin: 0 0 1em; }
.footer a { color: #e5dfd6; }
.banner--inline { margin-top: 50px; }

/* Lista de pedido */
.no-scroll { overflow: hidden; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(28,32,36,.45); opacity: 0; transition: opacity .25s; }
.drawer-backdrop.is-open { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 95; width: min(420px, 100%); background: var(--bg); display: flex; flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,.15); transform: translateX(100%); transition: transform .25s ease; }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: flex-start; padding: 24px 24px 12px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.9rem; margin: 0; }
.drawer__head .eyebrow { margin-bottom: .3em; }
.drawer__close { width: 44px; height: 44px; border: 0; background: none; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--text); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__empty { text-align: center; padding: 40px 10px; color: var(--muted); }
.drawer__foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); background: #fff; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.drawer__total strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.drawer__note { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.drawer__clear { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; min-height: 36px; font: inherit; font-size: .85rem; }
.btn.is-disabled { opacity: .45; pointer-events: none; }
.line { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img { width: 60px; height: 80px; object-fit: cover; border-radius: 3px; background: #fff; }
.line__name { font-family: var(--serif); font-size: 1.15rem; line-height: 1.2; margin: 0 0 2px; }
.line__meta { font-size: .82rem; color: var(--muted); margin: 0 0 8px; }
.line__qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.line__qty button { width: 36px; height: 36px; border: 0; background: none; font-size: 1.1rem; cursor: pointer; color: var(--text); }
.line__qty span { min-width: 22px; text-align: center; font-size: .9rem; }
.line__side { text-align: right; }
.line__price { font-family: var(--serif); font-size: 1.15rem; margin: 0 0 6px; }
.line__remove { background: none; border: 0; color: var(--muted); text-decoration: underline; font: inherit; font-size: .8rem; cursor: pointer; min-height: 32px; }

.cart-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; display: none; justify-content: space-between; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 18px; border: 0; border-radius: 30px; background: var(--blue); color: #fff; font: 400 .92rem var(--sans); cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.cart-bar strong { font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; }
.toast { position: fixed; left: 50%; top: calc(var(--header-h) + 50px); transform: translateX(-50%); z-index: 120; background: var(--text); color: #fff;
  padding: 12px 20px; border-radius: 30px; font-size: .9rem; box-shadow: 0 10px 30px rgba(0,0,0,.2); max-width: calc(100% - 32px); text-align: center; }
.whatsapp-float { width: 52px; height: 52px; right: 16px; bottom: 16px; background: var(--whatsapp); }

/* --- Escritorio --- */
@media (min-width: 901px) {
  .hero__inner { grid-template-columns: 1.05fr .95fr; }
  .hero__media { order: 2; }
  .hero__text { order: 1; }
}

/* --- Tablet y móvil --- */
@media (max-width: 1100px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .cart-btn { margin-left: 0; padding: 0 12px; }
  .nav { top: var(--header-h); }

  /* Portada en móvil: la foto de fondo y el texto encima */
  .hero { position: relative; padding: 0; min-height: min(calc(100svh - 120px), 720px); display: flex; align-items: flex-end; overflow: hidden; }
  .hero__inner { position: static; display: block; padding-top: 0; }
  .hero__media { position: absolute; inset: 0; max-width: none; margin: 0; order: 0; }
  .hero__media::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(to top, rgba(24,28,32,.82) 0%, rgba(24,28,32,.45) 45%, rgba(24,28,32,.05) 75%); }
  .slideshow { height: 100%; max-height: none; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
  .slideshow__controls { top: 12px; bottom: auto; justify-content: flex-end; padding-right: 12px; }
  .hero__text { position: relative; z-index: 3; text-align: left; color: #fff; padding: 140px 0 34px; }
  .hero__text h1 { color: #fff; font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero__text .eyebrow { color: #f1e6d4; }
  .hero__text .lead { color: rgba(255,255,255,.92); margin: 0; font-size: 1.02rem; }
  .hero__buttons { justify-content: flex-start; margin-top: 1.4rem; }
  .hero__buttons .btn { background: #fff; border-color: #fff; color: var(--blue); }
  .hero__buttons .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }

  .contact-cards { grid-template-columns: 1fr; max-width: 420px; }
  .page-head { padding: 44px 0 16px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 10px 2px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .cart-bar:not([hidden]) { display: flex; }
  .has-cart .whatsapp-float { bottom: 76px; }
  .toast { top: auto; bottom: 80px; }
}
@media (max-width: 600px) {
  :root { --header-h: 72px; }
  .header__inner { height: 72px; }
  .logo img { height: 44px; }
  .cart-btn__label { display: none; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat__name { font-size: 1.35rem; bottom: 36px; left: 14px; }
  .cat__more { left: 14px; font-size: .76rem; }
  .cat__num { left: 14px; }
  .topbar { font-size: .72rem; }
  .card__desc { font-size: .88rem; }
}
.slideshow__dots button, .slideshow__dots button.is-active { background: none !important; }
@media (max-width: 900px) { .hero__media::after { background: linear-gradient(to top, rgba(24,28,32,.85) 0%, rgba(24,28,32,.5) 50%, rgba(24,28,32,.1) 80%); } }
.toast { z-index: 80; }
.fondo-select select { width: 100%; min-width: 0; }
.card { min-width: 0; }
@media (max-width: 600px) { .grid, .grid--custom { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .values__grid { grid-template-columns: repeat(3, 1fr); }
  .value { padding: 18px 6px; }
  .value + .value { border-top: 0; border-left: 1px solid var(--line); }
  .value svg { width: 26px; height: 26px; margin-bottom: 6px; }
  .value h3 { font-size: 1rem; }
  .value p { display: none; }
  .cats .cat:last-child { grid-column: span 2; aspect-ratio: 16 / 9; }
}
