/* ==========================================================================
   MOCANA: design system
   ========================================================================== */
:root {
  /* Identidad visual oficial MOCANA: Blanco #FFFFFF, Negro #111111, Gris claro #F4F4F4, Gris secundario #777777 */
  --cream: #FFFFFF;
  --sand: #D6D6D6;
  --sand-soft: #F4F4F4;
  --choco: #111111;
  --black: #111111;
  --white: #FFFFFF;
  --muted: #777777;
  --line: rgba(17, 17, 17, 0.12);
  --sunset: #111111;
  --sunset-soft: #777777;
  --wa: #25D366;
  --wa-dark: #128C4B;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1320px;
  --gutter: clamp(0.9rem, 3.8vw, 2.5rem);
  --header-h: 64px;
  --radius: 3px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.2rem);
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--black);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a, button, summary { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
button:disabled { cursor: not-allowed; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 1.5px solid var(--choco); outline-offset: 3px; }
#main:focus { outline: none; }
main { min-height: 60vh; }

.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 200; background: var(--black); color: var(--white); padding: .6rem 1rem; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-sm { padding-block: clamp(2rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* ---------- Typography ---------- */
.eyebrow {
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  font-weight: 400; color: var(--choco); margin-bottom: 1rem;
}
.eyebrow.light, .light { color: var(--white); }
.display, .display-sm, .h2, .h3, .hero-title, .logo { font-family: var(--serif); }
.display { font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1.02; letter-spacing: -.01em; }
.display-sm { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; }
.h3 { font-size: 1.6rem; line-height: 1.2; margin: 2.2rem 0 .8rem; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 46ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: .85rem 1.8rem;
  background: var(--black); color: var(--white);
  border: 1px solid var(--black); border-radius: var(--radius);
  font-size: .76rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--white); color: var(--black); border-color: var(--black); }
.btn:not(.btn-outline):not(.btn-light) { position: relative; overflow: hidden; }
.btn:not(.btn-outline):not(.btn-light)::after {
  content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(0,0,0,.08), transparent);
  transform: skewX(-20deg); transition: left .8s var(--ease); pointer-events: none;
}
.btn:not(.btn-outline):not(.btn-light):hover::after { left: 130%; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--sand); border-color: var(--sand); color: var(--muted); }
.btn-outline { background: transparent; color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.85); }
.btn-outline-light:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-sm { min-height: 42px; padding: .6rem 1.2rem; font-size: .7rem; }
.btn-block { width: 100%; }

.link-under {
  position: relative; display: inline-block;
  font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 400;
  padding-bottom: 3px;
}
.link-under::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: right; transition: transform .45s var(--ease);
}
.link-under:hover::after { transform: scaleX(0); }
.link-under.small { font-size: .68rem; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  transition: background .3s;
  touch-action: manipulation;
}
.icon-btn:hover { background: rgba(17, 17, 17, .06); }
.icon-btn:active { transform: scale(0.94); }

/* ---------- Top bar & header (Estilo Dulce Violeta) ---------- */
.topbar-announcement {
  background: #FAF3EE;
  color: #222222;
  font-family: var(--sans);
  font-size: clamp(0.72rem, 2.2vw, 0.82rem);
  letter-spacing: 0.04em;
  font-weight: 500;
  text-align: center;
  padding: calc(0.6rem + env(safe-area-inset-top, 0px)) 1rem 0.6rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
#site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  color: var(--black);
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
#site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); }
.logo { font-size: clamp(1.45rem, 5vw, 1.75rem); letter-spacing: .3em; font-weight: 500; padding-left: .3em; line-height: 1; }
.logo:has(.logo-img) { padding-left: 0; }
.logo-img { height: 40px; width: auto; mix-blend-mode: multiply; transition: transform .4s var(--ease), filter .4s var(--ease); }
/* Logo negro sobre blanco → blanco sobre fondos oscuros (hero de inicio y footer) */
.logo-invert, body[data-page="homePage"] #site-header:not(.scrolled) .logo-img { filter: invert(1); mix-blend-mode: screen; }
.logo:hover .logo-img { transform: scale(1.04); }
#site-footer .logo-img { height: 52px; }
.logo-lg { font-size: 1.85rem; margin-bottom: 1rem; }
.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: 2rem; }
.nav-desktop a { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; position: relative; padding-block: .4rem; }
.nav-desktop a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-desktop a:hover::after, .nav-desktop a.active::after { transform: scaleX(1); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: .2rem; }
.bag-btn { position: relative; }
.bag-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 10px; background: var(--choco); color: var(--white);
  font-size: .62rem; line-height: 18px; text-align: center; font-weight: 500;
}
.menu-btn { justify-self: start; margin-left: -8px; }
.hide-sm { display: none; }

.mobile-nav { position: fixed; inset: 0; z-index: 100; background: rgba(17, 17, 17, .45); color: var(--black); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.mobile-nav-panel {
  width: min(86vw, 360px); height: 100%; background: var(--cream);
  padding: calc(1.2rem + env(safe-area-inset-top, 0px)) 1.6rem calc(2rem + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 1.5rem; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-y: contain; animation: slideIn .35s var(--ease);
}
.mobile-nav-panel ul { display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.mobile-nav-panel ul a { display: flex; align-items: center; min-height: 48px; font-family: var(--serif); font-size: clamp(1.6rem, 5.2vw, 1.95rem); padding: .35rem 0; touch-action: manipulation; }
@keyframes slideIn { from { transform: translateX(-100%); } }

@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .nav-desktop { display: block; }
  .hide-sm { display: inline-grid; }
}

/* ---------- Portada Summer (Estilo Dulce Violeta / Verano todo el año) ---------- */
.hero-summer-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #F4F1EC;
}
.hero-summer-media {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}
.hero-summer-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: cover;
}
.hero-summer-action {
  position: absolute;
  bottom: clamp(1.4rem, 6.2vw, 3.5rem);
  left: clamp(1.2rem, 5.5vw, 4rem);
  z-index: 3;
}
.btn-ver-todos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  color: #111111;
  font-family: var(--sans);
  font-size: clamp(0.72rem, 2.2vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: clamp(0.75rem, 2.4vw, 0.95rem) clamp(1.8rem, 5vw, 2.6rem);
  border: 1px solid #FFFFFF;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: all 0.3s var(--ease);
}
.btn-ver-todos:hover {
  background: #111111;
  color: #FFFFFF;
  border-color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

/* ---------- Hero (Exacto al diseño de portada) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--white);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 20% 32%;
  animation: heroZoom 14s var(--ease) forwards;
}
@media (min-width: 900px) {
  .hero-img {
    object-position: 35% 30%;
  }
}
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(17,17,17,0) 25%, rgba(17,17,17,0.1) 50%, rgba(17,17,17,0.6) 85%, rgba(17,17,17,0.85) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: calc(var(--header-h) + 1.2rem);
  padding-bottom: calc(1.4rem + env(safe-area-inset-bottom, 0px));
}
.hero-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-left: auto;
  width: 100%;
  max-width: clamp(230px, 52vw, 360px);
  margin-top: clamp(0.5rem, 3.5vh, 2.5rem);
  padding-right: clamp(0rem, 1.5vw, 1rem);
}
@media (min-width: 900px) {
  .hero-text-block {
    max-width: 460px;
    margin-top: 6vh;
    padding-right: 2rem;
  }
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: clamp(0.62rem, 1.8vw, 0.72rem);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #111111;
  font-weight: 500;
  margin-bottom: .65rem;
}
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 8.8vw, 4.4rem);
  line-height: .94;
  font-weight: 400;
  letter-spacing: .02em;
  color: #111111;
  margin: 0;
  text-align: center;
}
.hero-divider {
  width: 36px;
  height: 2px;
  background: #FFFFFF;
  margin: clamp(0.9rem, 2vh, 1.3rem) auto;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.hero-text {
  font-family: var(--sans);
  font-size: clamp(0.86rem, 2.8vw, 1.08rem);
  line-height: 1.38;
  color: #FFFFFF;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
  margin: 0;
  font-weight: 300;
  text-align: center;
}
.hero-action-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  width: 100%;
  max-width: 320px;
  margin: auto auto 0;
}
.btn-hero-primary {
  width: 100%;
  min-height: 48px;
  padding: .85rem 1.6rem;
  background: #FFFFFF;
  color: #111111;
  border: 1px solid #FFFFFF;
  border-radius: 2px;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: all .3s var(--ease);
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}
.btn-hero-primary:hover {
  background: #111111;
  color: #FFFFFF;
  border-color: #111111;
}
.btn-hero-secondary {
  width: 100%;
  min-height: 48px;
  padding: .85rem 1.6rem;
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  font-size: .74rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--ease);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.btn-hero-secondary:hover {
  background: #FFFFFF;
  color: #111111;
  border-color: #FFFFFF;
}
.hero-sign {
  margin: .8rem 0 0;
  font-size: .68rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  font-weight: 400;
  text-align: center;
}
.img-note {
  position: absolute; right: .8rem; bottom: .8rem; z-index: 2;
  font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(17,17,17,.5); color: var(--white); padding: .3rem .6rem; border-radius: 20px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp 1.1s var(--ease) forwards; }
.d1 { animation-delay: .15s; } .d2 { animation-delay: .3s; } .d3 { animation-delay: .45s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- Benefits Bar (Estilo Zuzum) ---------- */
.benefits-bar {
  background: #FAFAFA;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(1.4rem, 3vw, 2rem);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 1rem;
}
@media (min-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.benefit-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--black);
  font-size: 1.1rem;
}
.benefit-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--black);
}
.benefit-title {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 0.2rem;
}
.benefit-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.25;
}

/* ---------- Campaign Banner (Estilo Zuzum) ---------- */
.banner-campaign {
  position: relative;
  min-height: clamp(340px, 45vh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
  margin-block: clamp(2rem, 5vw, 4rem);
}
.banner-campaign-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}
.banner-campaign-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.45) 0%, rgba(17,17,17,0.65) 100%);
}
.banner-campaign-content {
  position: relative;
  text-align: center;
  max-width: 720px;
  padding: 3rem var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.banner-campaign-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4.4vw, 3rem);
  line-height: 1.1;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
}
.banner-campaign-desc {
  font-size: clamp(0.92rem, 2.4vw, 1.08rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 48ch;
  margin-bottom: 0.5rem;
}

.h2-store {
  font-family: var(--sans);
  font-size: clamp(1.2rem, 3.4vw, 1.85rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Section heads ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: clamp(1.6rem, 3.8vw, 3rem); }

/* ---------- Product grid & cards ---------- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem 0.65rem;
}
@media (min-width: 768px) { .grid-products { grid-template-columns: repeat(3, 1fr); gap: 3rem 1.4rem; } }
@media (min-width: 1200px) { .grid-products { grid-template-columns: repeat(4, 1fr); } }
.shop .grid-products { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1100px) { .shop .grid-products { grid-template-columns: repeat(3, 1fr); } }

.card-link { display: block; -webkit-tap-highlight-color: transparent; }
.card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand-soft); border-radius: 6px; transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .7s var(--ease); }
.card-alt { opacity: 0; }
.card-cta {
  position: absolute; left: .7rem; right: .7rem; bottom: .7rem; z-index: 2;
  padding: .75rem; text-align: center; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  background: rgba(255,255,255,.94); color: var(--black); border-radius: 2px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
@media (hover: hover) {
  .card-link:hover .card-media { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(0,0,0,.35); }
  .card-link:hover .card-media img { transform: scale(1.04); }
  .card-link:hover .card-alt { opacity: 1; }
  .card-link:hover .card-cta { opacity: 1; transform: none; }
}
@media (hover: none) {
  .card-link:active .card-media { transform: scale(0.985); }
}
.card-badges { position: absolute; top: .6rem; left: .6rem; display: flex; gap: .35rem; z-index: 2; }
.badge { font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; padding: .26rem .5rem; background: rgba(255,255,255,.94); color: var(--black); font-weight: 400; border-radius: 2px; }
.badge-dark { background: var(--black); color: var(--white); }
.badge-accent { background: var(--sunset); color: var(--white); }
.is-soldout .card-media img { filter: grayscale(.35) opacity(.75); }
.card-body { display: flex; justify-content: space-between; align-items: baseline; gap: .35rem; padding-top: .75rem; flex-wrap: wrap; }
.card-title { font-family: var(--serif); font-size: clamp(1.1rem, 3.8vw, 1.35rem); line-height: 1.2; }
.card-price { margin: 0; font-size: clamp(0.78rem, 2.7vw, 0.86rem); letter-spacing: .04em; }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: .35rem; }
.card-sizes { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.card-stock { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.swatches { display: inline-flex; gap: .3rem; }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(17,17,17,.2); }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
@media (min-width: 900px) { .cats { grid-template-columns: repeat(4, 1fr); gap: 1.2rem; } }
.cat { position: relative; aspect-ratio: 3 / 4; overflow: hidden; color: var(--white); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(17,17,17,.55)); }
.cat:hover img { transform: scale(1.05); }
.cat-label { position: absolute; left: 1rem; bottom: 1rem; z-index: 1; display: flex; align-items: center; gap: .5rem; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.cat-label svg { width: 18px; transition: transform .4s var(--ease); }
.cat:hover .cat-label svg { transform: translateX(4px); }

/* ---------- Editorial ---------- */
.editorial { display: grid; background: var(--white); }
@media (min-width: 900px) { .editorial { grid-template-columns: 1.1fr 1fr; min-height: 80vh; } }
.editorial-media { position: relative; overflow: hidden; min-height: 60vh; }
.editorial-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.editorial-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .4rem; padding: clamp(3rem, 8vw, 7rem) var(--gutter); max-width: 620px; }
.editorial-text .display-sm { margin-bottom: 1.2rem; }
.editorial-text .lead { margin-bottom: 2rem; }
.story-p { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.45; margin-bottom: 2.2rem; }

/* ---------- Community ---------- */
.community { background: var(--sand-soft); }
.community-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .community-grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; } }
.community-text .lead { margin-bottom: 2rem; }
.ig-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.ig-tile { position: relative; aspect-ratio: 1; overflow: hidden; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ig-hover { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.45); color: var(--white); opacity: 0; transition: opacity .4s var(--ease); }
.ig-hover svg { width: 30px; height: 30px; }
.ig-tile:hover .ig-hover { opacity: 1; }
.ig-tile:hover img { transform: scale(1.05); }
.community > .small { margin-top: 1.5rem; margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { margin: 2.5rem 0 2rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.35rem 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.3rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: currentColor; transition: transform .35s var(--ease); }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-a { padding: 0 0 1.4rem; color: var(--muted); max-width: 62ch; animation: fadeIn .4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } }

.pending { display: inline-flex; gap: .5rem; align-items: baseline; padding: .7rem 1rem; background: var(--sand-soft); border-left: 2px solid var(--black); color: var(--choco); font-size: .9rem; margin: .3rem 0 1rem; }

/* ---------- Page hero ---------- */
.page-hero { padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(2rem, 4vw, 3rem); text-align: center; }
.page-hero .lead { margin: 1.4rem auto 0; }

/* ---------- Collection hero ---------- */
.coll-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); margin-bottom: 2.5rem; }
.coll-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.coll-hero-text { position: relative; padding-bottom: 3rem; }
.coll-hero-text .hero-text { margin: 1rem 0 0; }

/* ---------- Shop ---------- */
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.shop-bar p { margin: 0; }
.sort select {
  font: inherit; font-size: .78rem; letter-spacing: .08em; color: var(--black);
  padding: .55rem 2.2rem .55rem .9rem; border: 1px solid var(--line); border-radius: 30px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .7rem center / 14px;
  appearance: none; -webkit-appearance: none; cursor: pointer; transition: border-color .3s;
}
.sort select:hover, .sort select:focus { border-color: var(--black); outline: none; }
.shop-layout { display: grid; gap: 2rem; padding-bottom: 6rem; }
.filters { display: none; flex-direction: column; gap: 1.6rem; padding-bottom: 1rem; }
.filters.open { display: flex; animation: fadeIn .4s var(--ease); }
@media (min-width: 900px) {
  .shop-layout { grid-template-columns: 220px 1fr; gap: 3rem; }
  .filters { display: flex; position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
  .filters-toggle { display: none; }
  .shop-bar { justify-content: flex-end; }
}
.filter-group legend { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; margin-bottom: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 38px; padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 30px;
  font-size: .8rem; transition: all .3s var(--ease); background: transparent;
}
.chip:hover { border-color: var(--black); }
.chip[aria-pressed="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.toggle { display: flex; align-items: center; gap: .6rem; font-size: .85rem; cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--choco); }
.filters .link-under { align-self: flex-start; }

/* ---------- States ---------- */
.state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem; padding: 4rem 1rem; }
.state .btn { margin-top: 1rem; }
.state-title { font-family: var(--serif); font-size: 1.7rem; margin: 0; }
.state-page { min-height: 60vh; justify-content: center; }
.state-page .display-sm { margin-bottom: .6rem; }
.spinner { width: 28px; height: 28px; border: 1px solid var(--sand); border-top-color: var(--choco); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Product page ---------- */
.crumbs { display: flex; gap: .6rem; flex-wrap: wrap; padding-block: 1rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--black); }
.pdp { display: grid; gap: 1.8rem; padding-bottom: 3rem; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.15fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; } }
.gallery { display: flex; flex-direction: column; gap: .7rem; }
@media (min-width: 900px) { .gallery { position: sticky; top: calc(var(--header-h) + 1rem); } }
.gallery-main {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand-soft);
  margin-inline: calc(var(--gutter) * -1);
}
@media (min-width: 900px) {
  .gallery-main {
    margin-inline: 0;
    border-radius: 6px;
  }
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; animation: fadeIn .5s var(--ease); }
.thumbs {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.thumbs::-webkit-scrollbar { display: none; }
.thumb {
  flex-shrink: 0;
  width: 68px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  opacity: .55;
  transition: opacity .3s;
  border: 1px solid transparent;
  border-radius: 4px;
}
.thumb[aria-pressed="true"], .thumb:hover { opacity: 1; border-color: var(--black); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { max-width: 520px; }
.pdp-info .display-sm { margin-bottom: .5rem; }
.pdp-price { font-size: 1.15rem; letter-spacing: .04em; margin-bottom: 1.4rem; }
.pdp-desc { color: var(--muted); margin-bottom: 2rem; }
.demo-note { font-size: .78rem; padding: .6rem .9rem; background: var(--sand-soft); color: var(--choco); border-left: 2px solid var(--choco); margin-bottom: 1.6rem; }
.opt { margin-bottom: 1.6rem; }
.opt legend { display: flex; gap: 1rem; align-items: baseline; justify-content: space-between; width: 100%; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .8rem; }
.opt legend strong { font-weight: 400; color: var(--muted); }
.opt-row { display: flex; gap: .55rem; flex-wrap: wrap; margin-bottom: .6rem; }
.color-opt {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(17,17,17,.2);
  outline: 1px solid transparent;
  outline-offset: 3px;
  transition: outline-color .25s;
  position: relative;
  touch-action: manipulation;
}
.color-opt[aria-pressed="true"] { outline-color: var(--black); }
.color-opt:disabled { opacity: .35; }
.color-opt:disabled::after, .size-opt:disabled::after { content: ''; position: absolute; left: 10%; right: 10%; top: 50%; height: 1px; background: var(--black); transform: rotate(-35deg); }
.size-opt {
  position: relative;
  min-width: 54px;
  height: 48px;
  padding: 0 .9rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: .85rem;
  letter-spacing: .08em;
  transition: all .25s var(--ease);
  background: var(--white);
  touch-action: manipulation;
}
.size-opt:hover:not(:disabled) { border-color: var(--black); }
.size-opt[aria-pressed="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.size-opt:disabled { color: rgba(17,17,17,.3); background: transparent; }
.size-opt:disabled::after { background: rgba(17,17,17,.3); transform: rotate(-20deg); }
#stock-msg { margin: 0; }
#stock-msg.ok { color: var(--choco); }
#stock-msg.ok::before { content: '● '; font-size: .6rem; vertical-align: middle; }
.pdp-actions { display: flex; flex-direction: column; gap: .6rem; margin: 2rem 0; }
.soldout-box { padding: 1.5rem; border: 1px solid var(--line); margin-bottom: 2rem; border-radius: 4px; }
.soldout-box .btn { margin-top: .6rem; }
.pdp-details details { border-top: 1px solid var(--line); }
.pdp-details details:last-child { border-bottom: 1px solid var(--line); }
.pdp-details summary { padding: 1.1rem 0; cursor: pointer; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; }
.pdp-details summary::-webkit-details-marker { display: none; }
.pdp-details summary::after { content: '+'; font-size: 1rem; line-height: 1; }
.pdp-details details[open] summary::after { content: '−'; }
.pdp-details details p { color: var(--muted); font-size: .92rem; }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}
.sticky-cta div { display: flex; flex-direction: column; line-height: 1.25; }
.sticky-cta strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.sticky-cta span { font-size: .8rem; color: var(--muted); }
body[data-page="productPage"] #site-footer { padding-bottom: 5.5rem; }
@media (min-width: 900px) { .sticky-cta { display: none; } body[data-page="productPage"] #site-footer { padding-bottom: 0; } }

/* ---------- Size guide ---------- */
.table-wrap { overflow-x: auto; margin: 1rem 0 2rem; -webkit-overflow-scrolling: touch; }
.size-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: .92rem; }
.size-table th, .size-table td { padding: 1rem; text-align: center; border-bottom: 1px solid var(--line); }
.size-table thead th { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 400; background: var(--sand-soft); }
.size-table tbody th { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.howto { display: grid; gap: 2rem; margin: 3rem 0; }
@media (min-width: 768px) { .howto { grid-template-columns: repeat(3, 1fr); } }
.howto-n { font-family: var(--serif); font-size: 2.6rem; color: var(--sand); line-height: 1; }
.howto .h3 { margin: .4rem 0 .5rem; }
.note-box { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 2rem; background: var(--white); border: 1px solid var(--line); }
.note-box p { margin: 0; font-family: var(--serif); font-size: 1.3rem; }

/* ---------- Prose / content ---------- */
.prose .h3:first-child { margin-top: 0; }
.prose p { color: var(--muted); }
.prose .btn { margin-top: 2rem; }
.clean-list li { padding: .7rem 0; border-bottom: 1px solid var(--line); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; } }
.contact-cards { display: flex; flex-direction: column; gap: .8rem; }
.contact-card { display: flex; align-items: center; gap: 1.2rem; padding: 1.4rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: 4px; transition: border-color .3s, transform .3s var(--ease); }
.contact-card:hover { border-color: var(--choco); transform: translateY(-2px); }
.contact-card svg { width: 26px; height: 26px; color: var(--choco); }
.contact-card > span { display: flex; flex-direction: column; }
.contact-card strong { font-weight: 400; font-family: var(--serif); font-size: 1.3rem; }
.form { display: flex; flex-direction: column; gap: 1.2rem; }
.form label { display: flex; flex-direction: column; gap: .4rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.form input, .form textarea { font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; padding: .9rem 1rem; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); color: var(--black); resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--choco); }
.form-error { color: #9a3b2e; font-size: .85rem; margin: 0; min-height: 1.2em; }
.form .btn { align-self: flex-start; }

/* ---------- Drawer (bag) & modal ---------- */
#bag-root .drawer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(17,17,17,.45); opacity: 0; transition: opacity .3s; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
#bag-root .drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 91; width: min(100%, 420px);
  background: var(--cream); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s var(--ease);
  padding-top: env(safe-area-inset-top, 0px);
  overscroll-behavior-y: contain;
}
#bag-root.open .drawer-backdrop { opacity: 1; }
#bag-root.open .drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.4rem; border-bottom: 1px solid var(--line); min-height: 60px; }
.drawer-head h2 { font-family: var(--serif); font-size: 1.5rem; }
.drawer-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; }
.bag-list { flex: 1; padding: 0 1.4rem; }
.bag-line { display: grid; grid-template-columns: 80px 1fr auto; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.bag-line p { margin: 0 0 .2rem; }
.bag-img img { width: 80px; height: 100px; object-fit: cover; border-radius: 4px; }
.bag-name { font-family: var(--serif); font-size: 1.2rem; }
.bag-warn { opacity: .8; }
.warn { color: #9a3b2e; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: .5rem; border-radius: 2px; }
.qty button { width: 36px; height: 36px; min-width: 36px; min-height: 36px; touch-action: manipulation; }
.qty button:disabled { opacity: .3; }
.qty span { min-width: 26px; text-align: center; font-size: .85rem; }
.bag-foot {
  padding: 1.2rem 1.4rem calc(1.2rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .8rem;
  background: var(--white);
}
.bag-foot p { margin: 0; }
.bag-foot .link-under { align-self: center; }
.bag-total { display: flex; justify-content: space-between; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.bag-total strong { font-weight: 500; }

.modal-backdrop {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(17,17,17,.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn .25s ease;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
@media (min-width: 700px) {
  .modal-backdrop {
    align-items: center;
    padding: 1.5rem;
  }
}
.modal {
  background: var(--cream);
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  max-height: 85dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  border-radius: 16px 16px 0 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  animation: modalSlideUp .3s var(--ease) both;
}
@media (min-width: 700px) {
  .modal {
    border-radius: 8px;
    padding-bottom: 0;
    animation: fadeUp .35s var(--ease) both;
  }
}
@keyframes modalSlideUp {
  from { transform: translateY(100%); }
  to { transform: none; }
}
.modal-body { padding: 1.4rem; }

/* ---------- Toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); z-index: 120;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--black); color: var(--white); padding: .8rem 1.4rem; font-size: .85rem;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: all .35s var(--ease); max-width: 90vw; text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { #toast { bottom: 2rem; } }

/* ---------- Footer ---------- */
#site-footer { background: var(--black); color: rgba(255,255,255,.85); }
.footer-grid { display: grid; gap: 2rem; padding-block: 3.5rem 2.5rem; grid-template-columns: 1fr 1fr; }
.footer-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    padding-block: 4.5rem 3rem;
  }
  .footer-grid > div:first-child { grid-column: auto; }
}
#site-footer .logo { color: var(--cream); }
#site-footer .muted { color: rgba(255,255,255,.55); }
.footer-h { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 400; color: var(--sand); margin-bottom: 1.1rem; font-family: var(--sans); }
#site-footer li { margin-bottom: .55rem; font-size: .9rem; }
#site-footer a { transition: color .3s; }
#site-footer a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .72rem; letter-spacing: .06em; color: rgba(255,255,255,.5); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: clamp(0.9rem, 3.5vw, 1.75rem);
  bottom: calc(clamp(0.9rem, 3.5vw, 1.75rem) + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .6rem;
}
body[data-page="productPage"] .wa-float {
  bottom: calc(5.2rem + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) {
  body[data-page="productPage"] .wa-float {
    bottom: 1.75rem;
  }
}
.wa-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; min-width: 54px; padding: 0;
  border-radius: 50%; color: var(--white);
  background: #25D366;
  box-shadow: 0 8px 24px -4px rgba(37,211,102,.6), 0 2px 6px rgba(0,0,0,.15);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  animation: waIn .7s var(--ease) 1s both;
  touch-action: manipulation;
}
.wa-btn::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--wa); z-index: -1; animation: waPulse 2.6s ease-out 2s infinite; }
.wa-glyph { width: 30px; height: 30px; stroke: none; }
.wa-label { display: none; }
.wa-btn:hover, .wa-btn:focus-visible { transform: scale(1.06); box-shadow: 0 12px 28px -4px rgba(37,211,102,.7), 0 2px 6px rgba(0,0,0,.15); }
@keyframes waIn { from { opacity: 0; transform: scale(.4) translateY(20px); } }
@keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.55); opacity: 0; } }
.wa-bubble {
  position: relative; width: min(84vw, 280px); padding: 1rem 2.2rem 1rem 1.1rem;
  background: var(--white); color: var(--black); border-radius: 14px 14px 4px 14px;
  box-shadow: 0 16px 40px -12px rgba(17,17,17,.35); animation: fadeUp .5s var(--ease) both;
}
.wa-bubble[hidden] { display: none; }
.wa-bubble p { margin: 0; }
.wa-bubble-title { font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; margin-bottom: .25rem !important; }
.wa-bubble-text { font-size: .85rem; color: var(--muted); line-height: 1.45; }
.wa-bubble-close { position: absolute; top: .4rem; right: .4rem; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); }
.wa-bubble-close:hover { background: var(--sand-soft); color: var(--black); }
.wa-bubble-close svg { width: 14px; height: 14px; }

/* ---------- Mobile optimizations (iPhone, Android & small screens) ---------- */
@media (max-width: 899px) {
  .filters.open {
    display: flex;
    background: var(--sand-soft);
    padding: 1.4rem 1.1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--line);
    animation: fadeIn .3s var(--ease);
  }
}

@media (max-width: 767px) {
  .sort select, .form input, .form textarea {
    font-size: 16px !important; /* Previene zoom automático no deseado en iOS Safari */
  }
  .section {
    padding-block: clamp(3rem, 7.5vw, 5rem);
  }
  .section-sm {
    padding-block: clamp(1.8rem, 4vw, 3rem) clamp(3rem, 6vw, 4.5rem);
  }
}

/* Teléfonos pequeños (< 380px, ej. iPhone SE) */
@media (max-width: 380px) {
  :root {
    --gutter: 0.8rem;
  }
  .grid-products {
    gap: 1.3rem 0.5rem;
  }
  .card-title {
    font-size: 1.02rem;
  }
  .card-price {
    font-size: 0.76rem;
  }
  .btn {
    padding: .75rem 1.2rem;
    font-size: .72rem;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .fade-up { opacity: 1; transform: none; }
}
