/* =========================================================
   Santa Hildegarda · Uruguay
   Paleta clara, igual que el Instagram @hildegarda.uy:
   marfil, dorado, lino beige y verde salvia.
   (--lapis es el color oscuro principal: un marrón cálido)
   ========================================================= */

/* Tipografías alojadas en el sitio (antes Google Fonts): solo caracteres latinos.
   Licencia SIL Open Font License. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("../fonts/cormorant-garamond.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/eb-garamond.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/eb-garamond-italic.woff2") format("woff2"); }
@font-face { font-family: "Great Vibes"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/great-vibes.woff2") format("woff2"); }

:root {
  --lapis: #5b4524;
  --lapis-deep: #3e2f19;
  --gold: #c39a4a;
  --gold-deep: #9a7228;
  --parchment: #f5ede0;
  --parchment-2: #e8dbc4;
  --linen: #efe5d3;
  --cream: #fdfaf4;
  --sage-bg: #eaede1;
  --green: #66774f;
  --green-deep: #4f5e3c;
  --vermilion: #a0623f;
  --ink: #3a3129;
  --ink-soft: #6d6154;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "EB Garamond", Georgia, serif;
  --font-script: "Great Vibes", "Cormorant Garamond", cursive;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(91, 69, 36, .12);
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--vermilion); }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--lapis);
}
h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 600; color: var(--gold-deep); }
h3 { font-size: 1.5rem; font-weight: 600; }
p  { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow    { max-width: 760px; margin-inline: auto; }
.center    { text-align: center; }
.lead      { font-size: 1.3rem; color: var(--ink); }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--gold); color: var(--lapis); padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 8px; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .82rem;
  color: var(--gold-deep);
  margin-bottom: .8em;
}
.eyebrow.dark { color: var(--gold-deep); }

.ornament {
  color: var(--gold-deep);
  font-size: 1.1rem;
  margin: -.2em 0 1.2em;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.ornament::before, .ornament::after {
  content: ""; height: 1px; width: 70px;
  background: linear-gradient(90deg, transparent, currentColor);
}
.ornament::after { transform: scaleX(-1); }
.ornament.gold { color: var(--gold); }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .03em;
  padding: .75em 1.6em;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold    { background: var(--gold); color: var(--lapis-deep); }
.btn-gold:hover { background: #d2ad5f; }
.btn-ghost   { border-color: rgba(154, 114, 40, .45); color: var(--lapis); }
.btn-ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn-green   { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-deep); }
.btn-outline { border-color: var(--lapis); color: var(--lapis); }
.btn-outline:hover { background: var(--lapis); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(253, 250, 244, .95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(91, 69, 36, .1);
}
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--gold-deep); text-decoration: none;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600;
}
.brand img {
  width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 1px 4px rgba(91, 69, 36, .18);
  transition: width .3s ease, opacity .3s ease, margin .3s ease;
}
/* En la portada el logo grande ya está a la vista: el chico aparece recién al bajar */
.site-header:not(.scrolled) .brand img { width: 0; opacity: 0; margin-right: -10px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: var(--lapis); text-decoration: none; font-size: 1.05rem;
  position: relative; padding: 4px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width .25s ease;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--gold-deep); }
.nav .nav-cta {
  border: 1px solid var(--gold-deep); color: var(--gold-deep);
  padding: 6px 16px; border-radius: 999px;
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--gold); color: var(--lapis-deep); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--lapis); margin: 6px 0;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 75% 40%, rgba(195, 154, 74, .16), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(102, 119, 79, .14), transparent 50%),
    linear-gradient(160deg, var(--cream) 0%, var(--parchment) 100%);
  overflow: hidden;
}
.hero::before { display: none; /* (estrellas: solo para fondo oscuro) */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(1px 1px at 20% 30%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 60% 15%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 85% 70%, #f3e3b3 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 80%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 10% 60%, #f3e3b3 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 50% 50%, #fff 50%, transparent 51%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.hero h1 {
  color: var(--lapis);
  font-size: clamp(3rem, 7.5vw, 5.5rem);
  font-weight: 600;
  margin-bottom: .3em;
}
.hero h1 span { color: var(--gold-deep); font-family: var(--font-script); font-weight: 400; font-size: 1.1em; line-height: 1.1; }
.hero-quote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--gold-deep);
  border-left: 2px solid var(--gold);
  padding-left: 18px;
}
.hero-sub { max-width: 34em; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }

.hero-art { display: flex; justify-content: center; }
.hero-logo {
  width: min(440px, 100%); height: auto; border-radius: 50%;
  box-shadow: 0 20px 60px rgba(154, 114, 40, .22), 0 0 0 10px rgba(255, 255, 255, .35);
}

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(154, 114, 40, .4); border-radius: 14px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--gold); border-radius: 2px; animation: scroll 1.8s ease-in-out infinite;
}
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(70px, 10vw, 120px) 0; }
.section-parchment {
  background:
    radial-gradient(ellipse at top, rgba(255, 255, 255, .6), transparent 60%),
    var(--parchment);
}
.section-dark { /* lino beige (antes era azul oscuro) */
  background: linear-gradient(170deg, var(--linen), var(--parchment));
  color: var(--ink);
}
.section-green { /* verde salvia suave */
  background: linear-gradient(160deg, var(--sage-bg), #e1e6d4);
  color: var(--ink);
}
.section-green h2 { color: var(--green-deep); }

/* Datos rápidos */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 60px;
}
.fact {
  text-align: center; padding: 28px 16px;
  background: var(--parchment); border-radius: var(--radius);
  border: 1px solid var(--parchment-2);
}
.fact-num {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 2.8rem; color: var(--gold-deep); line-height: 1.1;
}
.fact-label { font-size: 1rem; color: var(--ink-soft); line-height: 1.4; }

/* Tarjetas de legado */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px;
}
.card {
  background: #fff; padding: 32px 28px; border-radius: var(--radius);
  border: 1px solid var(--parchment-2);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.card-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--parchment); margin-bottom: 16px;
}
.card-icon svg {
  width: 30px; height: 30px; fill: none; stroke: var(--gold-deep);
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.card p { margin: 0; color: var(--ink-soft); }

.note {
  margin-top: 40px; text-align: center; font-size: 1rem; font-style: italic;
  color: var(--ink-soft);
}
.note.dark { color: var(--ink-soft); margin-top: 28px; }

/* Viriditas */
.viriditas-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.big-quote {
  margin: 0; padding: 40px 36px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .65);
  border: 1px solid rgba(79, 94, 60, .2);
  position: relative;
}
.big-quote::before {
  content: "❦"; position: absolute; top: -26px; left: 30px;
  font-size: 2.6rem; color: var(--gold);
}
.big-quote p {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.2; color: var(--green-deep); margin-bottom: .6em;
}
.big-quote footer { color: var(--ink-soft); font-size: 1.05rem; }
.big-quote cite { font-style: normal; font-size: .95rem; opacity: .85; }


/* Próximamente */
.coming {
  display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: center;
  background: linear-gradient(135deg, var(--parchment), #fff);
  border: 1px solid var(--parchment-2);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 60px);
}
.coming-art svg { width: 100%; max-width: 240px; margin-inline: auto; }

/* Footer */
.site-footer { background: var(--parchment-2); color: var(--ink-soft); padding: 60px 0 24px; font-size: 1.02rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-logo { width: 110px; height: 110px; margin-bottom: 14px; }
.footer-brand { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-deep); margin-bottom: .4em; }
.footer-title { color: var(--lapis); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--gold-deep); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(91, 69, 36, .15);
  font-size: .95rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Animación de aparición ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint span { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .viriditas-grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 12px 0 24px;
    background: rgba(253, 250, 244, .98);
    transform: translateY(-120%); transition: transform .35s ease;
    box-shadow: 0 10px 30px rgba(91, 69, 36, .15);
  }
  .nav.open { transform: none; }
  .nav a { padding: 12px 24px; width: 100%; text-align: center; }
  .nav a::after { display: none; }
  .nav .nav-cta { width: auto; margin-top: 10px; }
  .site-header:has(.nav.open) { background: rgba(253, 250, 244, .98); }

  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .hero-art { order: -1; }
  .hero-logo { width: min(280px, 72vw); }
  .hero-quote { border-left: 0; padding-left: 0; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .scroll-hint { display: none; }

  .coming { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .coming-art svg { max-width: 160px; }
  .coming .hero-actions { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 600px) {
  body { font-size: 1.08rem; }
  .cards { grid-template-columns: 1fr; }
}

/* =========================================================
   CATÁLOGO (catalogo.html)
   ========================================================= */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.site-header.solid { background: rgba(253, 250, 244, .97); }

.shop-hero {
  padding: calc(var(--header-h) + 56px) 0 56px;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 80% 20%, rgba(195, 154, 74, .16), transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(102, 119, 79, .14), transparent 50%),
    linear-gradient(160deg, var(--cream) 0%, var(--parchment) 100%);
  border-bottom: 1px solid var(--parchment-2);
}
.shop-hero h1 { color: var(--lapis); font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 600; margin-bottom: .3em; }
.shop-hero h1 span { color: var(--gold-deep); font-family: var(--font-script); font-weight: 400; font-size: 1.1em; }
.shop-hero-sub { max-width: 36em; margin-inline: auto; color: var(--ink-soft); }

.shop { padding-top: 40px; }

/* Filtros */
.filters { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit; font-size: 1rem; cursor: pointer;
  padding: 6px 18px; border-radius: 999px;
  border: 1px solid var(--parchment-2); background: #fff; color: var(--lapis);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.chip:hover { border-color: var(--gold); }
.chip.active { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; }
.field select, .field input {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--parchment-2); background: #fff; min-height: 42px;
}
.field select:focus, .field input:focus, .chip:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.field-search input { width: 200px; }
.results-count { color: var(--ink-soft); font-size: 1rem; margin: 22px 0 14px; }

/* Grilla de productos */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.product {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--parchment-2); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product.is-out .product-media { filter: grayscale(.7); opacity: .75; }
.product-open { all: unset; cursor: pointer; display: block; }
.product-open:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.product-media {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #fff, var(--parchment));
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product:hover .product-media img { transform: scale(1.04); }
.placeholder { width: 100%; height: 100%; display: grid; place-items: center; padding: 12%; }
.placeholder svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 10px rgba(91, 69, 36, .15)); }

.badge {
  position: absolute; top: 12px; left: 12px;
  font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}
.badge.static { position: static; display: inline-block; box-shadow: none; }
.badge.ok   { background: #e5efdd; color: var(--green-deep); }
.badge.wait { background: #f6ead0; color: #7a5a14; }
.badge.out  { background: #f1dcd8; color: var(--vermilion); }

.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .9rem; color: var(--gold-deep); margin-bottom: .2em; }
.product h3 { font-size: 1.4rem; margin-bottom: .2em; }
.price { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: var(--lapis); margin-bottom: .8em; }
.product-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.btn-sm { font-size: 1rem; padding: .5em 1.1em; }
.link-btn {
  font: inherit; font-size: 1rem; background: none; border: 0; padding: 4px 0; cursor: pointer;
  color: var(--vermilion); text-decoration: underline; text-underline-offset: 3px;
}
.empty { text-align: center; color: var(--ink-soft); padding: 40px 0; }

/* Cómo comprar */
.steps { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li {
  background: var(--cream); border: 1px solid var(--parchment-2); border-radius: var(--radius);
  padding: 30px 26px; text-align: center;
}
.step-num {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--lapis-deep);
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 10px;
}
.steps p { margin: 0; color: var(--ink-soft); }

/* Detalle */
.product-dialog {
  width: min(920px, calc(100% - 32px)); max-height: calc(100vh - 32px);
  padding: 0; border: 0; border-radius: 18px; background: var(--cream); color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.product-dialog::backdrop { background: rgba(62, 47, 25, .55); backdrop-filter: blur(3px); }
.dialog-close {
  position: absolute; top: 10px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .9); color: var(--lapis); font-size: 1.8rem; line-height: 1;
}
.dialog-grid { display: grid; grid-template-columns: 1fr 1fr; }
.dialog-photo { aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 40%, #fff, var(--parchment)); }
.dialog-photo img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; padding: 10px; }
.thumbs:empty { display: none; }
.thumbs button { all: unset; cursor: pointer; width: 60px; height: 60px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; }
.thumbs button:hover, .thumbs button:focus-visible { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.dialog-info { padding: 36px 32px 28px; }
.dialog-info h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.details { padding-left: 1.2em; color: var(--ink-soft); }
.stones { color: var(--gold-deep); }
.code { font-size: .9rem; color: var(--ink-soft); margin-top: 16px; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .dialog-grid { grid-template-columns: 1fr; }
  .dialog-info { padding: 24px 20px; }
}
@media (max-width: 600px) {
  .filters { flex-direction: column; align-items: stretch; }
  .filter-row { flex-direction: column; }
  .field select, .field input, .field-search input { width: 100%; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-body { padding: 12px; }
  .product h3 { font-size: 1.15rem; }
  .product-cat { font-size: .8rem; }
  .price { font-size: 1.2rem; }
  .product-actions .btn-sm { width: 100%; text-align: center; font-size: .92rem; padding: .5em .6em; }
  .product-actions .link-btn { display: none; }
  .hide-sm { display: none; }
}

/* ---------- Envíos, pagos y devoluciones ---------- */
.policy-toc { justify-content: center; margin-top: 28px; }
.policy-toc .chip { text-decoration: none; }
.policy { padding-top: 56px; }
.policy article { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--parchment-2); scroll-margin-top: calc(var(--header-h) + 16px); }
.policy h2 { font-size: clamp(1.7rem, 3.5vw, 2.2rem); margin-bottom: .5em; }
.policy h3 { font-size: 1.25rem; color: var(--lapis); margin: 1.2em 0 .3em; }
.policy ul { padding-left: 1.2em; margin: 0 0 1em; }
.policy li { margin-bottom: .6em; }
.policy-contact .btn { margin-bottom: 8px; }
