/* ==========================================================================
   ForroMuebles — Sistema de diseño
   Catálogo online de forros para muebles · HTML/CSS/JS estático
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --cream: #faf7f2;
  --cream-2: #f3ede4;
  --surface: #ffffff;
  --ink: #1c1917;
  --ink-soft: #57534e;
  --ink-mute: #8a8078;
  --line: #e8e0d5;
  --line-strong: #d8ccbc;
  --brand: #b4562f;
  --brand-dark: #8f4223;
  --brand-soft: #fbeee7;
  --accent: #1f6f5c;
  --accent-soft: #e8f3ef;
  --gold: #c99a3f;
  --star: #e0a32e;
  --danger: #b42318;
  --ok: #1f7a4d;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(28, 25, 23, .06);
  --shadow-sm: 0 4px 12px rgba(28, 25, 23, .06);
  --shadow: 0 10px 30px rgba(28, 25, 23, .09);
  --shadow-lg: 0 24px 60px rgba(28, 25, 23, .14);

  --font-title: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: 20px;
  --header-h: 72px;

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

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-title); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

:focus-visible {
  outline: 3px solid rgba(180, 86, 47, .45);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--cream { background: var(--cream-2); }
.section--surface { background: var(--surface); }
.section--ink { background: #1a1714; color: #f5efe7; }
.section--ink .muted { color: #b8ac9f; }

.stack-sm > * + * { margin-top: .5rem; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.section-title { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 14px; }
.section-sub { color: var(--ink-soft); max-width: 62ch; font-size: 1.02rem; }
.section-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.muted { color: var(--ink-soft); }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .section { padding: 92px 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: var(--radius-pill);
  font-size: .94rem; font-weight: 600; letter-spacing: .01em;
  border: 1px solid transparent; transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap; min-height: 46px;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(180, 86, 47, .26); }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(180, 86, 47, .32); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn--wa { background: #1f9d55; color: #fff; }
.btn--wa:hover { background: #17844a; transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(28, 25, 23, .04); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 30px; font-size: 1rem; min-height: 54px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--brand); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.topbar {
  background: var(--ink); color: #efe7dd; font-size: .82rem;
  padding: 9px 0;
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  align-items: center; justify-content: center; text-align: center;
}
.topbar__item {
  display: inline-flex; align-items: center; gap: 8px;
  line-height: 1.4;
}
.topbar__item > span { display: inline; }
.topbar__item svg { display: inline-block; width: 15px; height: 15px; flex: none; color: var(--gold); }
.topbar strong { color: #fff; font-weight: 700; white-space: nowrap; }
.topbar__sep { opacity: .45; }

@media (max-width: 620px) {
  .topbar { font-size: .78rem; padding: 8px 0; }
  .topbar .wrap { gap: 4px 14px; }
  .topbar__sep { display: none; }
  .topbar__item { gap: 6px; }
}

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-title); font-size: 1.24rem; font-weight: 700; letter-spacing: -.02em; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: linear-gradient(140deg, var(--brand) 0%, #d98d5c 100%);
  display: grid; place-items: center; color: #fff; box-shadow: 0 6px 16px rgba(180, 86, 47, .3);
}
.brand__mark svg { width: 22px; height: 22px; }
.brand small { display: block; font-family: var(--font-body); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); line-height: 1; margin-top: 3px; }

.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block; padding: 9px 14px; border-radius: var(--radius-pill);
  font-size: .93rem; font-weight: 500; color: var(--ink-soft); transition: color .18s, background .18s;
}
.nav a:hover { color: var(--ink); background: rgba(28, 25, 23, .05); }
.nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { display: none; }

.burger {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 44px; height: 44px; flex: none; padding: 0;
  border-radius: 12px; border: 1px solid var(--line-strong); background: #fff;
  transition: border-color .2s, background .2s;
}
.burger:hover { border-color: var(--ink); background: rgba(28, 25, 23, .04); }
.burger span { display: block; width: 18px; height: 2px; flex: none; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none; border-top: 1px solid var(--line); background: var(--surface);
  padding: 6px 0 22px;
  max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto;
  box-shadow: var(--shadow-sm);
}
.mobile-nav.is-open { display: block; animation: navIn .22s var(--ease); }
@keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-nav ul { display: block; }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 2px; border-bottom: 1px solid var(--line);
  font-size: .98rem; font-weight: 500; color: var(--ink);
  min-height: 52px;
}
.mobile-nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }
.mobile-nav .wrap > a:not(.btn):last-of-type { border-bottom: 0; }
.mobile-nav a:active { background: var(--cream-2); }
.mobile-nav a svg { width: 16px; height: 16px; flex: none; color: var(--ink-mute); }
.mobile-nav .btn { margin-top: 16px; }

@media (min-width: 980px) {
  .nav { display: block; }
  .burger { display: none; }
  .mobile-nav { display: none !important; }
  .header-actions .btn { display: inline-flex; }
}

/* Ajustes finos de header en móvil */
@media (max-width: 619px) {
  .site-header__inner { gap: 10px; }
  .brand { font-size: 1.08rem; gap: 9px; min-width: 0; }
  .brand > span:last-child { min-width: 0; }
  .brand__mark { width: 36px; height: 36px; border-radius: 10px; }
  .brand__mark svg { width: 20px; height: 20px; }
  .brand small { font-size: .6rem; letter-spacing: .12em; }
  .burger { width: 42px; height: 42px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(180, 86, 47, .13), transparent 65%),
    radial-gradient(700px 380px at 4% 100%, rgba(31, 111, 92, .1), transparent 60%),
    var(--cream);
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--line);
}
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero__lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 54ch; margin-bottom: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 18px 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__trust div { display: flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--ink-soft); }
.hero__trust svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

.hero__art {
  position: relative;
  border-radius: var(--radius-lg); overflow: hidden;
  background: #1c1917;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 0;
  aspect-ratio: 4 / 3;
}
.hero__art img,
.hero__photo {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s var(--ease);
}
.hero__art:hover .hero__photo { transform: scale(1.03); }
.hero__art svg { width: 100%; height: auto; }
.hero__badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 18px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px;
  backdrop-filter: blur(10px);
}
.hero__badge strong { display: block; font-size: 1.05rem; }
.hero__badge span { font-size: .78rem; color: var(--ink-mute); }
.hero__badge .dot { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); }
.hero__badge .dot svg { width: 18px; height: 18px; }

@media (min-width: 900px) {
  .hero { padding: 84px 0 96px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 60px; }
}

/* ---------- Marquee / logos ---------- */
.strip { background: var(--ink); color: #d9cfc4; padding: 14px 0; overflow: hidden; }
.strip__track { display: flex; gap: 48px; align-items: center; white-space: nowrap; animation: slide 34s linear infinite; }
.strip__track span { display: inline-flex; align-items: center; gap: 10px; font-size: .84rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; }
.strip__track svg { width: 16px; height: 16px; color: var(--gold); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-strong); }

.cat-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform .25s var(--ease), box-shadow .25s; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card__art { aspect-ratio: 4 / 3; position: relative; overflow: hidden; background: #e8e1d7; display: block; padding: 0; }
.cat-card__art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s var(--ease); }
.cat-card:hover .cat-card__art img { transform: scale(1.07); }
.cat-card__art svg { width: 100%; height: auto; max-height: 190px; }
.cat-card__body { padding: 20px 22px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; flex: 1; }
.cat-card__body h3 { font-size: 1.18rem; margin-bottom: 6px; }
.cat-card__body span { font-size: .88rem; color: var(--ink-mute); line-height: 1.5; }
.cat-card__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; font-size: .86rem; font-weight: 700; color: var(--brand); transition: gap .2s; }
.cat-card:hover .cat-card__cta { gap: 10px; color: var(--brand-dark); }
.cat-card__count { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(255, 255, 255, .95); border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: .74rem; font-weight: 700; padding: 5px 12px; color: var(--ink); box-shadow: var(--shadow-xs); }

/* Product card */
.p-card { position: relative; }
.p-card__media { position: relative; aspect-ratio: 4 / 3; background: #e8e1d7; display: block; padding: 0; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.p-card__media svg { width: 100%; height: auto; max-height: 200px; padding: 16px; transition: transform .35s var(--ease); }
.p-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); display: block; }
.p-card:hover .p-card__media img { transform: scale(1.06); }
.p-card__tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: var(--radius-pill); background: var(--ink); color: #fff;
}
.btn--wa-icon {
  width: 36px; height: 36px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 10px rgba(37, 211, 102, .35); flex: none;
}
.btn--wa-icon:hover { transform: scale(1.1); box-shadow: 0 6px 14px rgba(37, 211, 102, .5); }
.btn--wa-icon svg { width: 18px; height: 18px; fill: currentColor; }
.p-card__tag--sale { background: var(--brand); }
.p-card__tag--new { background: var(--accent); }
.p-card__tag--star { background: #b4562f; box-shadow: 0 4px 10px rgba(180, 86, 47, .35); }
.p-card__tag--best { background: #2c3e50; }
.brand img.brand__logo { height: 42px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.pdp__photo { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); display: block; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); display: block; }
.footer-network { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-soft); line-height: 1.6; }
.footer-network a { color: var(--brand, #b4562f); text-decoration: underline; font-weight: 600; }
.footer-network a:hover { color: var(--ink); }
.p-card__fav {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-soft);
  transition: .2s;
}
.p-card__fav:hover { color: var(--brand); border-color: var(--brand); }
.p-card__fav svg { width: 17px; height: 17px; }
.p-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-card__cat { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.p-card__title { font-size: 1.06rem; line-height: 1.3; }
.p-card__title a:hover { color: var(--brand); }
.p-card__desc { font-size: .88rem; color: var(--ink-soft); margin: 0; }
.p-card__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: .74rem; padding: 3px 9px; border-radius: var(--radius-pill);
  background: var(--cream-2); color: var(--ink-soft); border: 1px solid var(--line);
}
.p-card__foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-family: var(--font-title); font-size: 1.2rem; font-weight: 700; }
.price s { font-family: var(--font-body); font-size: .84rem; font-weight: 400; color: var(--ink-mute); margin-left: 6px; }
.price small { display: block; font-family: var(--font-body); font-size: .72rem; font-weight: 500; color: var(--ink-mute); }

.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 14px; height: 14px; }

/* ---------- Filters (catálogo) ---------- */
.shop-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .shop-layout { grid-template-columns: 280px 1fr; gap: 36px; } }

.filters {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px;
}
.filters__group + .filters__group { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.filters__group h4 { font-size: .95rem; margin-bottom: 12px; font-family: var(--font-body); font-weight: 700; letter-spacing: .02em; }
.filters__list { display: flex; flex-direction: column; gap: 9px; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .92rem; color: var(--ink-soft); }
.check input { appearance: none; width: 19px; height: 19px; border: 1.5px solid var(--line-strong); border-radius: 6px; flex: none; display: grid; place-items: center; transition: .18s; background: #fff; }
.check input:checked { background: var(--brand); border-color: var(--brand); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translateY(-1px); }
.check:hover { color: var(--ink); }
.check .count { margin-left: auto; font-size: .78rem; color: var(--ink-mute); }

.range-row { display: flex; align-items: center; gap: 10px; }
.range-row input[type="number"] { width: 100%; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; font-size: .9rem; }

.shop-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 14px 18px; margin-bottom: 22px;
}
.shop-toolbar__count { font-size: .9rem; color: var(--ink-soft); }
.shop-toolbar__count strong { color: var(--ink); }
.select-wrap { position: relative; }
.select-wrap select {
  appearance: none; padding: 10px 38px 10px 14px; border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill); background: #fff; font-size: .9rem; font-weight: 500;
}
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--ink-soft); border-bottom: 1.5px solid var(--ink-soft); transform: translateY(-70%) rotate(45deg); pointer-events: none; }

.search-field { position: relative; flex: 1 1 220px; }
.search-field input { width: 100%; padding: 11px 14px 11px 40px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: #fff; font-size: .93rem; }
.search-field svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--ink-mute); }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pill-x { display: inline-flex; align-items: center; gap: 7px; background: var(--brand-soft); color: var(--brand); border-radius: var(--radius-pill); padding: 5px 12px; font-size: .82rem; font-weight: 600; }
.pill-x svg { width: 13px; height: 13px; }

.filters-toggle { display: inline-flex; }
@media (min-width: 1000px) { .filters-toggle { display: none; } .filters { display: block !important; } }
.filters.is-collapsed { display: none; }

.empty-state { text-align: center; padding: 60px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); }
.empty-state svg { width: 46px; height: 46px; color: var(--ink-mute); margin: 0 auto 14px; }

/* ---------- Product detail ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--ink-mute); padding: 18px 0; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { opacity: .5; }

.pdp { display: grid; gap: 36px; align-items: start; }
@media (min-width: 940px) { .pdp { grid-template-columns: 1.05fr .95fr; gap: 52px; } }

.pdp__gallery { display: grid; gap: 14px; }
.pdp__main {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(160deg, #fff, var(--cream-2));
  aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 26px; position: relative; overflow: hidden;
}
.pdp__main svg { width: 100%; height: auto; max-height: 340px; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pdp__thumb {
  border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; padding: 10px;
  aspect-ratio: 1; display: grid; place-items: center; transition: .2s;
}
.pdp__thumb svg { width: 100%; height: auto; }
.pdp__thumb.is-active { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(180, 86, 47, .12); }

.pdp__title { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 6px 0 10px; }
.pdp__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 16px 0 6px; }
.pdp__price .price { font-size: 1.9rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.badge-soft { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 5px 11px; border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent); }
.badge-soft--gold { background: #fbf3e2; color: #986f1f; }
.badge-soft svg { width: 14px; height: 14px; }

.option-group { margin-top: 22px; }
.option-group > .label { display: flex; align-items: center; justify-content: space-between; font-size: .86rem; font-weight: 700; letter-spacing: .02em; margin-bottom: 10px; }
.option-group > .label span { font-weight: 500; color: var(--ink-mute); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line-strong);
  transition: .18s; position: relative;
}
.swatch.is-active { box-shadow: 0 0 0 2.5px var(--brand); }
.swatch:hover { transform: scale(1.08); }

.size-options { display: flex; flex-wrap: wrap; gap: 10px; }
.size-option {
  border: 1.5px solid var(--line-strong); border-radius: var(--radius); padding: 10px 16px;
  font-size: .88rem; font-weight: 600; background: #fff; transition: .18s; text-align: left;
}
.size-option small { display: block; font-weight: 500; font-size: .74rem; color: var(--ink-mute); }
.size-option.is-active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.size-option:hover { border-color: var(--brand); }

.specs { width: 100%; border-collapse: collapse; font-size: .92rem; }
.specs th, .specs td { text-align: left; padding: 11px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font-weight: 600; color: var(--ink-mute); width: 44%; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }

.accordion { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.accordion + .accordion { margin-top: 12px; }
.accordion summary {
  list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 600; font-size: .96rem;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.25rem; color: var(--brand); font-weight: 400; }
.accordion[open] summary::after { content: "−"; }
.accordion__body { padding: 0 18px 18px; color: var(--ink-soft); font-size: .93rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .85rem; font-weight: 600; }
.field .req { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: #fff; font-size: .95rem; transition: border-color .18s, box-shadow .18s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(180, 86, 47, .12);
}
.field .hint { font-size: .78rem; color: var(--ink-mute); }
.field .error { font-size: .78rem; color: var(--danger); display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .error { display: block; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 620px) { .form-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.check-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--ink-soft); }
.check-consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--brand); }

.form-note { font-size: .8rem; color: var(--ink-mute); }
.form-alert { border-radius: var(--radius); padding: 13px 16px; font-size: .9rem; display: none; }
.form-alert.is-visible { display: block; }
.form-alert--ok { background: var(--accent-soft); color: #14523f; border: 1px solid #bfe0d5; }
.form-alert--error { background: #fdecea; color: #7a1a12; border: 1px solid #f6c9c4; }

.contact-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.info-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; }
.info-item .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.info-item .ico svg { width: 20px; height: 20px; }
.info-item strong { display: block; font-size: .95rem; }
.info-item span, .info-item a { font-size: .9rem; color: var(--ink-soft); }
.info-item a:hover { color: var(--brand); }

/* ---------- Steps / benefits / faq ---------- */
.step { position: relative; padding-top: 8px; }
.step__num {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-family: var(--font-title); font-size: 1.15rem; font-weight: 700; margin-bottom: 14px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { font-size: .92rem; color: var(--ink-soft); }

.benefit { display: flex; gap: 14px; align-items: flex-start; }
.benefit .ico { width: 46px; height: 46px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--brand); display: grid; place-items: center; flex: none; }
.benefit .ico svg { width: 22px; height: 22px; }
.benefit h3 { font-size: 1.02rem; margin-bottom: 5px; }
.benefit p { font-size: .9rem; color: var(--ink-soft); }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 1.02rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--brand); line-height: 1; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 0 20px; color: var(--ink-soft); font-size: .95rem; max-width: 80ch; }

.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; height: 100%; display: flex; flex-direction: column; gap: 14px; }
.quote-card p { font-size: .96rem; color: var(--ink-soft); font-style: italic; }
.quote-card__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--cream-2); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 700; color: var(--brand); font-family: var(--font-title); flex: none; }
.quote-card__who strong { display: block; font-size: .9rem; }
.quote-card__who span { font-size: .8rem; color: var(--ink-mute); }

.stat { text-align: center; padding: 20px 12px; }
.stat strong { display: block; font-family: var(--font-title); font-size: clamp(1.7rem, 4vw, 2.4rem); color: #fff; }
.stat span { font-size: .84rem; color: #b8ac9f; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, #1a1714 0%, #33241c 55%, #4a2c1d 100%);
  color: #f7f1e8; border-radius: var(--radius-lg); padding: 44px 30px; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(180, 86, 47, .45), transparent 70%);
}
.cta-band h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 12px; position: relative; }
.cta-band p { color: #cfc3b6; max-width: 56ch; position: relative; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; position: relative; }

/* ---------- Blog ---------- */
.post-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: transform .25s var(--ease), box-shadow .25s; }
.post-card__cover { aspect-ratio: 16 / 10; background: #e8e1d7; position: relative; overflow: hidden; display: block; padding: 0; }
.post-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.post-card:hover .post-card__cover img { transform: scale(1.06); }
.post-card__cover svg { width: 100%; height: auto; max-height: 140px; }
.post-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__meta { font-size: .78rem; color: var(--ink-mute); display: flex; gap: 10px; align-items: center; }
.post-card h3 { font-size: 1.1rem; line-height: 1.32; }
.post-card p { font-size: .9rem; color: var(--ink-soft); }

.article { max-width: 760px; margin: 0 auto; }
.article__head { padding: 30px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.article h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); margin-bottom: 14px; }
.article__body { font-size: 1.02rem; color: #2c2825; }
.article__body h2 { font-size: 1.5rem; margin: 34px 0 12px; }
.article__body h3 { font-size: 1.2rem; margin: 26px 0 10px; }
.article__body p { margin-bottom: 1.1rem; }
.article__body ul, .article__body ol { margin: 0 0 1.2rem; padding-left: 1.2rem; list-style: disc; }
.article__body ol { list-style: decimal; }
.article__body li { margin-bottom: .5rem; color: var(--ink-soft); }
.article__body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.article__body blockquote { border-left: 3px solid var(--brand); padding: 4px 0 4px 18px; margin: 0 0 1.2rem; color: var(--ink-soft); font-style: italic; }
.article__body img { border-radius: var(--radius); margin: 10px 0 18px; }

/* ---------- Footer ---------- */
.site-footer { background: #14110f; color: #cbbfb3; padding: 62px 0 26px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { font-size: .92rem; color: #cbbfb3; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: 11px; display: flex; align-items: flex-start; gap: 9px; line-height: 1.5; min-width: 0; }
/* Iconos de contacto del footer: caja fija de 18px, nunca se estiran */
.site-footer li .li-ico { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; color: var(--gold); }
.site-footer li .li-ico svg,
.site-footer li svg { width: 17px; height: 17px; max-width: 17px; max-height: 17px; flex: none; display: block; }
.site-footer li > a, .site-footer li > span:not(.li-ico) { min-width: 0; overflow-wrap: anywhere; }
.site-footer li > a { text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color .2s; }
.site-footer li > a:hover { text-decoration-color: currentColor; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand small { color: #8d8175; }
.site-footer .footer-grid > div:first-child li { display: block; }
.site-footer .footer-grid > div:last-child li { max-width: 34ch; }
.footer-grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid #292420; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .84rem; color: #8d8175; }
.footer-bottom a { font-size: .84rem; }

.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 11px; background: #241f1b; display: grid; place-items: center; color: #cbbfb3; transition: .2s; }
.socials a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Floating actions ---------- */
.float-cta { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.float-cta a {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: var(--shadow); color: #fff; transition: transform .2s var(--ease);
}
.float-cta a:hover { transform: scale(1.07) translateY(-2px); }
.float-cta svg { width: 26px; height: 26px; }
.float-cta .wa { background: #25d366; }
.float-cta .up { background: var(--ink); width: 44px; height: 44px; opacity: 0; pointer-events: none; }
.float-cta .up.is-visible { opacity: 1; pointer-events: auto; }
.float-cta .up svg { width: 20px; height: 20px; }

/* ---------- Utilities ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .strip__track { animation: none; }
  html { scroll-behavior: auto; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skeleton { background: linear-gradient(90deg, var(--cream-2) 25%, #fff 50%, var(--cream-2) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.page-head { background: var(--cream-2); border-bottom: 1px solid var(--line); padding: 40px 0 42px; }
.page-head h1 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); margin-bottom: 10px; }
.page-head p { color: var(--ink-soft); max-width: 64ch; }
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 13px 22px; border-radius: var(--radius-pill);
  font-size: .9rem; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .3s var(--ease); z-index: 100;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
