@font-face{font-family:Manrope;font-style:normal;font-weight:400 800;font-display:swap;src:url('../fonts/manrope-latin.woff2') format('woff2')}
/* ==========================================================================
   Sercopag · Rediseño de la tienda online (prototipo)
   Dirección visual inspirada en la plantilla Miyerd (Webflow), adaptada a la
   marca Sercopag: verde hoja + marrón tierra del logo, tipografía Manrope.
   ========================================================================== */

:root {
  /* Superficies */
  --bg: #F4F7EF;
  --bg-alt: #EAF0E3;
  --surface: #FFFFFF;
  --media: #F1F4EB;

  /* Texto */
  --ink: #1D2A1F;
  --text: #3F4F43;
  --muted: #5B6C5F;
  --line: rgba(29, 42, 31, .10);
  --line-strong: rgba(29, 42, 31, .18);

  /* Marca */
  --forest: #183C2A;
  --forest-900: #0F2419;
  --on-dark: #EEF3EA;
  --on-dark-muted: rgba(238, 243, 234, .72);
  --lime: #D3F07D;
  --lime-strong: #C3E35E;
  --leaf: #7DBA67;
  --earth: #4B3A2A;
  --harvest: #9A5D24;
  --danger: #B42318;

  /* Forma */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 36, 25, .05), 0 4px 14px -6px rgba(15, 36, 25, .10);
  --shadow-md: 0 16px 36px -18px rgba(15, 36, 25, .30);
  --shadow-lg: 0 30px 70px -30px rgba(15, 36, 25, .45);

  /* Movimiento */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur-1: 160ms;
  --dur-2: 260ms;
  --dur-3: 560ms;

  /* Layout */
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 700; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
figure, blockquote { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 8px; }
.on-dark :focus-visible { outline-color: var(--lime); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 300;
  padding: 12px 18px; border-radius: var(--pill);
  background: var(--forest-900); color: var(--on-dark); font-weight: 700;
  transition: top var(--dur-2) var(--ease-out);
}
.skip-link:focus { top: 16px; }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 28px; height: 28px; }
.icon--fill { fill: currentColor; stroke: none; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* Surcos: columnas verticales de fondo (guiño al motivo de Miyerd) */
.furrows {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto;
}
.furrows span { border-left: 1px solid rgba(110, 135, 105, .12); }
.furrows span:last-child { border-right: 1px solid rgba(110, 135, 105, .12); }
.furrows span:nth-child(even) { background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .15)); }
main, .site-footer-wrap { position: relative; }

/* ---------- Tipografía utilitaria ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--forest);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); }
.on-dark .eyebrow { color: var(--lime); }

.h2 { font-size: clamp(2rem, 1.25rem + 2.8vw, 3.5rem); letter-spacing: -.03em; }
.h3 { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.5rem); letter-spacing: -.015em; }
.lead { font-size: 1.125rem; line-height: 1.6; color: var(--text); }
.muted { color: var(--muted); }
.text-lime { color: var(--lime); }

.section { position: relative; padding-block: clamp(72px, 9vw, 136px); }
.section--alt { background: rgba(255, 255, 255, .5); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section-head { display: grid; gap: 14px; max-width: 680px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split {
  max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.section-head--split > :first-child { display: grid; gap: 14px; max-width: 640px; }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--forest-900); --btn-fg: var(--on-dark);
  --btn-icon-bg: var(--lime); --btn-icon-fg: var(--forest-900);
  position: relative;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 52px; padding: 6px 6px 6px 24px;
  border-radius: var(--pill); background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: .9375rem; letter-spacing: -.005em; white-space: nowrap;
  transition: transform var(--dur-1) var(--ease-out), background-color var(--dur-2), box-shadow var(--dur-2);
}
.btn:hover { box-shadow: 0 10px 24px -12px rgba(15, 36, 25, .55); }
.btn:active { transform: scale(.98); }
.btn--lime { --btn-bg: var(--lime); --btn-fg: var(--forest-900); --btn-icon-bg: var(--forest-900); --btn-icon-fg: var(--lime); }
.btn--lime:hover { --btn-bg: var(--lime-strong); }
.btn--light { --btn-bg: var(--surface); --btn-fg: var(--forest-900); --btn-icon-bg: var(--bg-alt); --btn-icon-fg: var(--forest-900); }
.btn--plain { padding-inline: 24px; justify-content: center; }
.btn--block { width: 100%; justify-content: center; }
.btn--outline-light {
  --btn-bg: transparent; --btn-fg: #fff;
  padding-inline: 22px; border: 1px solid rgba(255, 255, 255, .45);
}
.btn--outline-light:hover { --btn-bg: rgba(255, 255, 255, .12); box-shadow: none; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); padding-inline: 22px; border: 1px solid var(--line-strong); }
.btn--outline:hover { --btn-bg: var(--surface); }
.btn__icon {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--btn-icon-bg); color: var(--btn-icon-fg);
  transition: transform var(--dur-2) var(--ease-out);
}
.btn:hover .btn__icon { transform: rotate(45deg); }
.btn__label { position: relative; display: block; overflow: hidden; line-height: 1.5; }
.btn__label > span { display: block; transition: transform var(--dur-2) var(--ease-out); }
.btn__label::after {
  content: attr(data-label);
  content: attr(data-label) / "";
  position: absolute; left: 0; top: 100%; width: 100%;
  transition: transform var(--dur-2) var(--ease-out);
}
.btn:hover .btn__label > span, .btn:hover .btn__label::after { transform: translateY(-100%); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .9375rem; color: var(--ink);
  min-height: 44px;
}
.link-arrow .icon { transition: transform var(--dur-2) var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow:hover { color: var(--forest); }

.round-link {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--bg-alt); color: var(--forest-900);
  transition: background-color var(--dur-2), transform var(--dur-2) var(--ease-out);
}
.round-link--dark { background: var(--forest-900); color: var(--lime); }

/* ---------- Header ---------- */
.announce {
  position: relative; z-index: 61;
  background: var(--forest-900); color: var(--on-dark);
  font-size: .8125rem; font-weight: 600;
}
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 28px; min-height: 38px; }
.announce__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.announce__item .icon { width: 16px; height: 16px; color: var(--lime); }
.announce a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(211, 240, 125, .6); }
.announce a:hover { color: var(--lime); }

.site-header {
  position: sticky; top: 0; z-index: 60;
  color: var(--ink);
  transition: background-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2), color var(--dur-2);
}
.site-header--over { position: fixed; top: 38px; left: 0; right: 0; color: #fff; }
.site-header.is-scrolled {
  top: 0;
  background: rgba(244, 247, 239, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.site-header:not(.site-header--over) { background: rgba(244, 247, 239, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; min-height: 44px; }
.brand__mark { width: 40px; height: 40px; color: var(--earth); }
.site-header--over:not(.is-scrolled) .brand__mark, .on-dark .brand__mark { color: var(--on-dark); }
.brand__text { display: grid; line-height: 1; }
.brand__name { font-weight: 800; font-size: 1.1875rem; letter-spacing: .03em; color: var(--earth); }
.brand__tag { margin-top: 4px; font-size: .5625rem; font-weight: 800; letter-spacing: .32em; color: var(--muted); }
.site-header--over:not(.is-scrolled) .brand__name, .on-dark .brand__name { color: #fff; }
.site-header--over:not(.is-scrolled) .brand__tag, .on-dark .brand__tag { color: rgba(255, 255, 255, .7); }

.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 14px; border-radius: var(--pill);
  font-weight: 600; font-size: .9375rem;
  transition: background-color var(--dur-1);
}
.nav__link:hover, .nav__item.is-open > .nav__link { background: color-mix(in srgb, currentColor 10%, transparent); }
.nav__link[aria-current="page"], .nav__link[data-current] { box-shadow: inset 0 -2px 0 var(--leaf); border-radius: 0; }
.nav__link .icon { width: 16px; height: 16px; transition: transform var(--dur-2) var(--ease-out); }
.nav__item.is-open > .nav__link .icon { transform: rotate(180deg); }
.nav__link--offer::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(211, 240, 125, .25); }

.header-actions { display: flex; align-items: center; gap: 4px; }
.search-trigger {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 8px 0 16px; min-width: 250px;
  border-radius: var(--pill); border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  font-size: .875rem; font-weight: 500;
  transition: background-color var(--dur-1), border-color var(--dur-1);
}
.search-trigger:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.search-trigger span { opacity: .8; margin-right: auto; }
.search-trigger kbd {
  font: inherit; font-size: .75rem; font-weight: 700; line-height: 1;
  padding: 6px 9px; border-radius: 8px; border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  transition: background-color var(--dur-1);
}
.icon-btn:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.cart-count {
  position: absolute; top: 3px; right: 1px;
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: var(--pill);
  display: grid; place-items: center;
  background: var(--lime); color: var(--forest-900);
  font-size: .6875rem; font-weight: 800; line-height: 1;
}
.cart-count.is-bump { animation: bump .45s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-btn { display: none; }

/* Mega menú */
.nav__item { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: calc(100% - 6px);
  padding-top: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
  color: var(--text);
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__panel {
  display: grid; grid-template-columns: 1fr 1fr 1fr 300px; gap: 8px 28px;
  padding: 28px; border-radius: var(--r-xl);
  background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.mega__title { grid-column: 1 / 4; display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.mega__title strong { color: var(--ink); font-size: 1.0625rem; }
.mega__link {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 44px; padding: 6px 12px; margin-inline: -12px; border-radius: 12px;
  font-weight: 600; font-size: .9375rem; color: var(--ink);
  transition: background-color var(--dur-1);
}
.mega__link small { font-size: .75rem; font-weight: 600; color: var(--muted); }
.mega__link:hover { background: var(--bg); }
.mega__promo {
  grid-column: 4; grid-row: 1 / span 6;
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: var(--forest); color: var(--on-dark);
  padding: 24px; display: flex; flex-direction: column; gap: 10px; min-height: 300px; isolation: isolate;
}
.mega__promo .badge { align-self: flex-start; }
.mega__promo img { position: absolute; right: 20px; bottom: 20px; width: 132px; height: 104px; object-fit: cover; object-position: 50% 78%; border-radius: 16px; background: #fff; }
.mega__promo strong { color: #fff; font-size: 1.375rem; line-height: 1.15; letter-spacing: -.02em; max-width: 12ch; }
.mega__promo p { font-size: .875rem; color: var(--on-dark-muted); max-width: 22ch; }
.mega__promo .round-link { margin-top: auto; background: var(--lime); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(640px, calc(100svh - 38px));
  display: flex; color: #fff; background: var(--forest-900);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%;
  transform: scale(1.08); animation: heroIn 2.4s var(--ease-out) forwards;
}
@keyframes heroIn { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15, 36, 25, .70) 0%, rgba(15, 36, 25, .15) 32%, rgba(15, 36, 25, .10) 52%, rgba(15, 36, 25, .82) 100%),
    linear-gradient(90deg, rgba(15, 36, 25, .55) 0%, rgba(15, 36, 25, 0) 62%);
}
.hero__inner {
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  padding-top: calc(var(--header-h) + clamp(20px, 3vw, 40px));
  padding-bottom: clamp(32px, 4.5vw, 56px);
}
.hero__tagline { display: grid; gap: 2px; font-size: 1rem; font-weight: 600; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.hero__rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .875rem; font-weight: 700; }
.hero__rating .stars { color: var(--lime); }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hero__title {
  color: #fff; font-size: clamp(2.75rem, 1.3rem + 4.9vw, 5.25rem);
  line-height: .98; letter-spacing: -.04em; max-width: 12ch;
}
.hero__lead { margin-top: 20px; max-width: 46ch; font-size: 1.125rem; color: rgba(255, 255, 255, .86); }
.hero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.hero-card {
  position: relative; width: 360px; flex: none;
  display: grid; grid-template-columns: 1fr auto; gap: 10px 16px;
  padding: 24px; border-radius: var(--r-lg);
  background: rgba(244, 247, 239, .9); color: var(--text);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: var(--shadow-lg);
}
.hero-card > :not(.hero-card__foot) { grid-column: 1 / -1; }
.hero-card__badge {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px;
  border-radius: var(--pill); background: var(--harvest); color: #fff;
  font-size: .6875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.hero-card__title { font-size: 1.25rem; line-height: 1.2; }
.hero-card__text { font-size: .875rem; }
.hero-card__foot { grid-column: 1 / -1; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 6px; }
.hero-card__img { width: 128px; height: 108px; border-radius: var(--r-md); background: #fff; overflow: hidden; }
.hero-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; transform: scale(1.12); transition: transform .8s var(--ease-out); }
.hero-card:hover .hero-card__img img { transform: scale(1.2); }
.hero-card:hover .round-link { background: var(--lime); color: var(--forest-900); transform: rotate(45deg); }
.hero-card__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); }

/* ---------- Franja de confianza ---------- */
.trust { position: relative; background: rgba(255, 255, 255, .7); border-bottom: 1px solid var(--line); }
.trust__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; align-items: center; gap: 14px; padding: 22px clamp(12px, 2vw, 24px); }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__icon {
  width: 46px; height: 46px; border-radius: 14px; flex: none;
  display: grid; place-items: center; background: var(--bg-alt); color: var(--forest);
}
.trust__title { display: block; color: var(--ink); font-weight: 700; font-size: .9375rem; line-height: 1.3; }
.trust__text { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.4; }

/* ---------- Nosotros ---------- */
.about__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: start; }
.about__img { overflow: hidden; border-radius: var(--r-lg); background: var(--bg-alt); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--tall { aspect-ratio: 3 / 4; }
.about__img--tall img { object-position: 42% 50%; }
.about__img--short { aspect-ratio: 1 / .92; }
.about__copy { display: grid; gap: 28px; }
.about__lead { font-size: clamp(1.1875rem, 1rem + .55vw, 1.4375rem); line-height: 1.45; font-weight: 600; color: var(--ink); letter-spacing: -.012em; }
.proof { display: flex; align-items: center; gap: 16px; }
.avatars { display: flex; padding-left: 10px; }
.avatar {
  width: 48px; height: 48px; margin-left: -10px; border-radius: 50%;
  display: grid; place-items: center; border: 3px solid var(--bg);
  font-weight: 800; font-size: .875rem; letter-spacing: .02em;
  background: var(--forest); color: var(--lime);
}
.avatar:nth-child(2) { background: var(--earth); color: #F2E7D8; }
.avatar:nth-child(3) { background: var(--lime); color: var(--forest-900); }
.proof__text { font-size: .875rem; color: var(--muted); line-height: 1.45; }
.proof__text strong { display: flex; align-items: center; gap: 6px; color: var(--ink); font-size: .9375rem; }
.proof__text .icon { color: #E3A008; width: 15px; height: 15px; }
.features { display: grid; }
.features li { display: grid; grid-template-columns: 30px 1fr; gap: 16px; padding-block: 18px; border-top: 1px solid var(--line); }
.features li:first-child { border-top: 0; padding-top: 0; }
.features .icon { width: 28px; height: 28px; color: var(--leaf); stroke-width: 1.5; }
.features strong { display: block; color: var(--ink); font-size: 1.0625rem; letter-spacing: -.01em; }
.features span { display: block; font-size: .9375rem; color: var(--muted); margin-top: 2px; }

/* ---------- Categorías ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.cat-grid > :nth-child(3n + 2) { translate: 0 48px; }
.cat-card {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 4.4; border-radius: var(--r-lg); background: var(--bg-alt);
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1s var(--ease-out); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card__label {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 14px;
  padding: 18px 18px 18px 20px; border-radius: var(--r-md);
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.cat-card__title { color: var(--ink); font-weight: 700; font-size: 1.0625rem; letter-spacing: -.01em; line-height: 1.25; }
.cat-card__meta { font-size: .8125rem; color: var(--muted); }
.cat-card .round-link { grid-column: 2; grid-row: 1 / 3; width: 44px; height: 44px; }
.cat-card:hover .round-link { background: var(--lime); transform: rotate(45deg); }
.more-cats { margin-top: clamp(80px, 9vw, 112px); display: grid; gap: 18px; justify-items: center; text-align: center; }
.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: var(--pill);
  background: var(--surface); border: 1px solid var(--line-strong);
  font-size: .875rem; font-weight: 600; color: var(--ink);
  transition: background-color var(--dur-1), border-color var(--dur-1), color var(--dur-1);
}
.chip small { font-size: .75rem; color: var(--muted); font-weight: 600; }
.chip:hover { border-color: var(--forest); }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--on-dark); }
.chip[aria-pressed="true"] small { color: var(--on-dark-muted); }

/* ---------- Producto (tarjeta) ---------- */
.tabs { display: inline-flex; gap: 2px; padding: 5px; border-radius: var(--pill); background: rgba(255, 255, 255, .8); border: 1px solid var(--line); }
.tab {
  min-height: 40px; padding: 0 18px; border-radius: var(--pill);
  font-weight: 700; font-size: .875rem; color: var(--muted);
  transition: background-color var(--dur-2), color var(--dur-2);
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--forest); color: var(--on-dark); }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-2), transform var(--dur-2) var(--ease-out);
}
.p-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.p-card__media {
  position: relative; margin: 6px; aspect-ratio: 1; overflow: hidden;
  border-radius: calc(var(--r-lg) - 4px) calc(var(--r-lg) - 4px) var(--r-sm) var(--r-sm);
  background: var(--media);
}
.p-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 10%; mix-blend-mode: multiply; transition: transform .8s var(--ease-out); }
.p-card:hover .p-card__media img { transform: scale(1.05); }
.badge {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px;
  border-radius: var(--pill); background: var(--harvest); color: #fff;
  font-size: .6875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.badge--lime { background: var(--lime); color: var(--forest-900); }
.badge--forest { background: var(--forest); color: var(--on-dark); }
.badge--outline { background: transparent; color: var(--forest); border: 1px solid var(--line-strong); }
.p-card__badges { position: absolute; top: 12px; left: 12px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.p-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 12px 18px 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px;
  border-radius: var(--pill); border: 1px solid var(--line-strong);
  font-size: .75rem; font-weight: 600; color: var(--muted); white-space: nowrap;
}
.p-card__title {
  font-size: 1rem; font-weight: 700; color: var(--ink); line-height: 1.3; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.p-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); }
.p-card__sub { font-size: .8125rem; color: var(--muted); margin-top: -6px; }
.p-card__foot { margin-top: auto; padding-top: 6px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price { font-weight: 800; font-size: 1.125rem; color: var(--ink); letter-spacing: -.01em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.price small { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price__from { font-size: .75rem; font-weight: 600; color: var(--muted); }
.add-btn {
  position: relative; z-index: 2; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--forest); color: var(--on-dark);
  transition: background-color var(--dur-1), color var(--dur-1), transform var(--dur-1) var(--ease-out);
}
.add-btn:hover { background: var(--forest-900); transform: scale(1.06); }
.add-btn:active { transform: scale(.94); }
.add-btn .icon-check { display: none; }
.add-btn.is-added { background: var(--lime); color: var(--forest-900); }
.add-btn.is-added .icon-plus { display: none; }
.add-btn.is-added .icon-check { display: block; }

/* ---------- Servicios (tarjetas apiladas) ---------- */
.services__list { display: grid; gap: 32px; }
.service {
  position: sticky; top: calc(var(--header-h) + 24px + var(--i, 0) * 20px);
  height: clamp(440px, 62vh, 580px); overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg); background: var(--forest);
}
.service > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.service__card {
  position: absolute; left: 50%; bottom: clamp(16px, 4%, 40px); transform: translateX(-50%);
  width: min(600px, calc(100% - 32px));
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 24px;
  padding: clamp(20px, 2.4vw, 30px) clamp(22px, 2.6vw, 34px);
  border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-md);
}
.service__num { font-size: .8125rem; font-weight: 700; color: var(--muted); }
.service__title { font-size: clamp(1.375rem, 1.1rem + .9vw, 1.875rem); letter-spacing: -.025em; }
.service__text { font-size: .9375rem; color: var(--text); max-width: 46ch; }
.service .round-link { grid-column: 2; grid-row: 1 / 4; width: 52px; height: 52px; }
.service__card:hover .round-link { background: var(--lime); transform: rotate(45deg); }
.service__card a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); }

/* ---------- Cómo funciona ---------- */
.steps { display: grid; grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 20px); align-items: start; }
.steps__head { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 16px; padding-right: 12px; }
.steps__head .h2 { font-size: clamp(2rem, 1.2rem + 2vw, 3rem); }
.step {
  display: flex; flex-direction: column; min-height: 360px;
  padding: clamp(22px, 2.2vw, 30px); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.step:nth-of-type(2) { margin-top: 72px; }
.step:nth-of-type(3) { margin-top: 144px; }
.step__label { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.step .icon { margin-top: auto; width: 32px; height: 32px; color: var(--leaf); stroke-width: 1.5; }
.step__title { margin-top: 20px; font-size: 1.3125rem; letter-spacing: -.015em; }
.step__text { margin-top: 10px; font-size: .9375rem; }

/* ---------- Banner de marca ---------- */
.banner {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(460px, 48vw, 640px);
  padding: clamp(18px, 3.4vw, 44px);
  border-radius: var(--r-xl); background: var(--forest);
  display: flex; align-items: flex-start;
}
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 36, 25, 0) 40%, rgba(15, 36, 25, .55) 100%); }
.banner__stack { display: grid; gap: 8px; width: min(360px, 100%); }
.banner__panel {
  padding: 24px; border-radius: var(--r-lg);
  background: rgba(244, 247, 239, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.banner__panel h2 { font-size: 1.5rem; letter-spacing: -.02em; }
.banner__panel p { margin-top: 10px; font-size: .9375rem; }
.banner__panel--cta { padding: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.banner__wordmark {
  position: absolute; right: clamp(12px, 3vw, 40px); bottom: clamp(20px, 3.4vw, 48px); z-index: -1;
  font-weight: 800; font-size: clamp(4rem, 15vw, 13.5rem); line-height: .82; letter-spacing: -.055em;
  background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .35));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.banner__wordmark span { -webkit-text-fill-color: var(--lime); }

/* ---------- Opiniones de Google ---------- */
/* El HTML lo trae «Widgets for Google Reviews» y lo adapta inc/reviews.php (sin su CSS ni su script). Aquí va todo su diseño. */
.testi { position: relative; overflow: hidden; --google-g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E"); }
.testi__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.testi__widget { width: 100%; min-width: 0; }
.testi__foot { margin-top: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; }
.testi__score {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line);
  font-size: .875rem; font-weight: 600; color: var(--ink);
}

.google-reviews { font: inherit; white-space: normal; text-align: left; }
.google-reviews .ti-widget-container, .google-reviews .ti-reviews-container { display: flex; flex-direction: column; }
.google-reviews .ti-footer, .google-reviews .ti-controls-line, .google-reviews .ti-read-more, .google-reviews .ti-tooltip,
.google-reviews .ti-verified-review, .google-reviews .ti-platform-icon, .google-reviews .ti-review-item[data-empty="1"] { display: none; }
.google-reviews .ti-reviews-container-wrapper {
  order: 1; display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  /* Holgura para que la sombra de las tarjetas no se recorte. */
  padding: 8px 6px 28px; margin: -8px -6px -28px; scroll-padding-inline: 6px;
}
.google-reviews .ti-reviews-container-wrapper::-webkit-scrollbar { display: none; }
.google-reviews .ti-reviews-container-wrapper:focus-visible { outline: 2px solid var(--forest); outline-offset: 4px; border-radius: var(--r-md); }
.google-reviews .ti-review-item { flex: 0 0 85%; display: flex; scroll-snap-align: start; }
.google-reviews .ti-inner {
  width: 100%; display: flex; flex-direction: column; gap: 18px;
  padding: clamp(24px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.google-reviews .ti-stars { order: 1; display: flex; }
.google-reviews .ti-review-text-container {
  order: 2; flex: 1; margin: 0; white-space: pre-line; overflow-wrap: anywhere;
  font-size: 1.0625rem; line-height: 1.6; font-weight: 500; color: var(--ink); letter-spacing: -.01em;
}
.google-reviews .ti-review-header { order: 3; display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
/* Logo de Google (G oficial, colores sin tocar) como imagen del CSS: sin peticiones. Marca la procedencia de la reseña. */
.google-reviews .ti-review-header::after, .testi__score::before {
  content: ""; flex: none; width: 22px; height: 22px;
  background: var(--google-g) center / contain no-repeat;
}
.google-reviews .ti-review-header::after { margin-left: auto; }
.testi__score::before { width: 20px; height: 20px; }
/* Avatar: inicial sobre uno de los 7 colores que Google reparte por defecto. */
.google-reviews .ti-profile-img {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: #512DA8; color: #fff; font-size: 1.125rem; font-weight: 500; line-height: 1;
}
.google-reviews .ti-profile-img[data-tone="1"] { background: #01579B; }
.google-reviews .ti-profile-img[data-tone="2"] { background: #C2185B; }
.google-reviews .ti-profile-img[data-tone="3"] { background: #33691E; }
.google-reviews .ti-profile-img[data-tone="4"] { background: #455A64; }
.google-reviews .ti-profile-img[data-tone="5"] { background: #0097A7; }
.google-reviews .ti-profile-img[data-tone="6"] { background: #7B1FA2; }
.google-reviews .ti-profile-details { display: grid; gap: 2px; min-width: 0; }
.google-reviews .ti-name { font-size: .8125rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.google-reviews .ti-date { font-size: .875rem; color: var(--muted); }
.google-reviews .ti-date::before { content: "Reseña en Google · "; }
.google-reviews .ti-rating { display: inline-flex; gap: 2px; }
.google-reviews .ti-star {
  width: 16px; height: 16px; background: #E3A008;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.94 5.96 6.58.96-4.76 4.64 1.12 6.55L12 17.52l-5.88 3.09 1.12-6.55L2.48 9.42l6.58-.96L12 2.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.94 5.96 6.58.96-4.76 4.64 1.12 6.55L12 17.52l-5.88 3.09 1.12-6.55L2.48 9.42l6.58-.96L12 2.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.google-reviews .ti-star--h { background: linear-gradient(90deg, #E3A008 50%, rgba(29, 42, 31, .18) 50%); }
.google-reviews .ti-star--e { background: rgba(29, 42, 31, .18); }

/* Flechas: las mueve site.js; sin ellas la pista sigue deslizándose con el dedo y el teclado. */
.google-reviews .ti-controls { order: 2; display: flex; justify-content: center; gap: 12px; margin-top: clamp(28px, 4vw, 40px); }
.google-reviews.is-static .ti-controls { display: none; }
.google-reviews .ti-prev, .google-reviews .ti-next {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--forest);
  transition: background-color var(--dur-2), color var(--dur-2), border-color var(--dur-2), opacity var(--dur-2), transform var(--dur-2) var(--ease-out);
}
.google-reviews .ti-prev { order: -1; }
.google-reviews .ti-prev::before, .google-reviews .ti-next::before { content: ""; width: 10px; height: 10px; border: solid currentColor; border-width: 2px 2px 0 0; }
.google-reviews .ti-next::before { transform: translateX(-2px) rotate(45deg); }
.google-reviews .ti-prev::before { transform: translateX(2px) rotate(-135deg); }
.google-reviews .ti-prev:hover, .google-reviews .ti-next:hover { background: var(--forest); border-color: var(--forest); color: var(--lime); transform: translateY(-2px); }
.google-reviews .ti-prev:focus-visible, .google-reviews .ti-next:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.google-reviews [aria-disabled="true"] { opacity: .35; pointer-events: none; }
@media (min-width: 640px) { .google-reviews .ti-review-item { flex-basis: calc((100% - 20px) / 2); } }
@media (min-width: 1024px) { .google-reviews .ti-review-item { flex-basis: calc((100% - 40px) / 3); } }
.stars { display: inline-flex; gap: 2px; color: #E3A008; }
.stars .icon { width: 15px; height: 15px; }
.floating-leaf { position: absolute; z-index: 0; pointer-events: none; color: var(--leaf); animation: leafFloat 9s ease-in-out infinite; }
.floating-leaf--a { left: 9%; top: 34%; width: 90px; transform: rotate(-30deg); }
.floating-leaf--b { right: 10%; top: 58%; width: 54px; animation-duration: 11s; animation-delay: -3s; opacity: .8; }
.floating-leaf--c { right: 18%; top: 14%; width: 34px; animation-duration: 13s; animation-delay: -6s; opacity: .55; }
@keyframes leafFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-24deg); }
  50% { transform: translate3d(14px, -22px, 0) rotate(-6deg); }
}

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: 1fr 1.55fr 1fr; gap: clamp(16px, 1.8vw, 24px); align-items: start; }
.post { position: relative; display: grid; gap: 0; }
.post__media { overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 1 / 1; background: var(--bg-alt); }
.post--feature .post__media { aspect-ratio: 4 / 3.3; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.post:hover .post__media img { transform: scale(1.05); }
.post__body { padding: 18px 6px 0; display: grid; gap: 8px; }
.post__meta { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.post__title { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -.015em; }
.post--feature .post__title { font-size: clamp(1.25rem, 1rem + .7vw, 1.625rem); }
.post__title a::after { content: ""; position: absolute; inset: 0; }
.post .link-arrow { margin-top: 2px; }
.post:hover .link-arrow .icon { transform: translateX(4px); }

/* ---------- Cierre + footer ---------- */
.closing { position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark); background: var(--forest-900); padding-top: clamp(96px, 12vw, 168px); }
.closing__bg { position: absolute; inset: 0; z-index: -2; }
.closing__bg img { width: 100%; height: 100%; object-fit: cover; }
.closing::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15, 36, 25, .72) 0%, rgba(15, 36, 25, .80) 40%, rgba(15, 36, 25, .96) 75%, var(--forest-900) 100%);
}
.closing__cta { display: grid; justify-items: center; text-align: center; gap: 28px; }
.closing__title { color: #fff; font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4.25rem); letter-spacing: -.035em; max-width: 16ch; }
.closing__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.site-footer {
  margin-top: clamp(72px, 9vw, 120px);
  padding: clamp(28px, 4vw, 56px) clamp(22px, 4vw, 56px) 28px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: rgba(24, 60, 42, .55);
  border: 1px solid rgba(255, 255, 255, .08); border-bottom: 0;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.footer__grid { display: grid; grid-template-columns: 1.15fr 1.3fr 1.15fr .95fr; gap: clamp(28px, 3.4vw, 48px); }
.footer__about p { margin-top: 18px; color: var(--on-dark-muted); font-size: .9375rem; max-width: 34ch; }
.footer__label { display: block; margin-bottom: 16px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.footer__links { display: grid; gap: 2px; }
.footer__links a { line-height: 1.3; padding: 4px 0; }
.footer__about .newsletter { margin-top: 22px; }
.footer__badge a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer__badge a:hover { color: var(--lime); }
.footer__links a, .footer__contact a { display: inline-flex; align-items: center; min-height: 36px; font-weight: 600; font-size: .9375rem; color: var(--on-dark); transition: color var(--dur-1); }
.footer__links a:hover, .footer__contact a:hover { color: var(--lime); }
.footer__contact { display: grid; gap: 2px; }
.footer__contact a { gap: 10px; }
.footer__contact .icon { color: var(--lime); width: 18px; height: 18px; }
.footer__contact address { font-style: normal; margin-top: 12px; color: var(--on-dark-muted); font-size: .9375rem; line-height: 1.55; }
.newsletter__text { color: var(--on-dark-muted); font-size: .9375rem; margin-bottom: 14px; }
.newsletter__field {
  display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 20px;
  border-radius: var(--pill); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  transition: border-color var(--dur-1), background-color var(--dur-1);
}
.newsletter__field:focus-within { border-color: var(--lime); background: rgba(255, 255, 255, .12); }
.newsletter__field input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; color: #fff; outline: none; }
.newsletter__field input::placeholder { color: rgba(238, 243, 234, .6); }
.newsletter__field .btn { min-height: 44px; padding: 0 20px; }
.newsletter__note { margin-top: 10px; font-size: .75rem; color: rgba(238, 243, 234, .6); }
.newsletter__note a { text-decoration: underline; text-underline-offset: 2px; }
.newsletter__msg { margin-top: 10px; font-size: .875rem; font-weight: 600; color: var(--lime); }
.footer__badges { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.footer__badge {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px;
  border-radius: var(--pill); border: 1px solid rgba(255, 255, 255, .14);
  font-size: .8125rem; font-weight: 600; color: var(--on-dark-muted);
}
.footer__badge .icon { width: 16px; height: 16px; color: var(--lime); }
.footer__bottom {
  margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  font-size: .8125rem; color: var(--on-dark-muted);
}
.social { display: flex; gap: 4px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--on-dark); transition: background-color var(--dur-1), color var(--dur-1); }
.social a:hover { background: rgba(255, 255, 255, .1); color: var(--lime); }
.social .icon { width: 18px; height: 18px; }
.legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.legal a { min-height: 32px; display: inline-flex; align-items: center; }
.legal a:hover { color: var(--lime); }

/* ---------- Capas: scrim, drawers, búsqueda, toast ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(15, 36, 25, .45);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-3) var(--ease-out), visibility 0s linear var(--dur-3);
}
.scrim.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }

.drawer {
  position: fixed; top: 0; bottom: 0; right: 0; z-index: 100;
  width: min(440px, 100%);
  display: flex; flex-direction: column;
  background: var(--bg); box-shadow: var(--shadow-lg);
  transform: translateX(100%); visibility: hidden;
  transition: transform var(--dur-3) var(--ease-out), visibility 0s linear var(--dur-3);
}
.drawer--left { right: auto; left: 0; transform: translateX(-100%); }
.drawer.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 18px 24px; border-bottom: 1px solid var(--line); }
.drawer__title { font-size: 1.25rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; overscroll-behavior: contain; }
.drawer__foot { padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: 14px; }

.cart-empty { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 56px 12px; color: var(--muted); }
.cart-empty .icon { width: 40px; height: 40px; color: var(--leaf); stroke-width: 1.4; }
.cart-empty strong { color: var(--ink); font-size: 1.125rem; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-item__img { width: 76px; height: 76px; border-radius: 14px; background: var(--surface); overflow: hidden; }
.cart-item__img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.cart-item__name { font-weight: 700; font-size: .9375rem; color: var(--ink); line-height: 1.3; }
.cart-item__variant { font-size: .8125rem; color: var(--muted); margin-top: 2px; }
.cart-item__row { margin-top: 10px; display: flex; align-items: center; gap: 10px; }
.cart-item__price { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.cart-item__remove { font-size: .8125rem; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.cart-item__remove:hover { color: var(--danger); }
.cart-sum { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; color: var(--ink); }
.cart-sum strong { font-size: 1.375rem; font-variant-numeric: tabular-nums; }
.cart-note { font-size: .8125rem; color: var(--muted); }

.qty { display: inline-flex; align-items: center; height: 44px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: var(--surface); }
.qty--sm { height: 36px; }
.qty button { width: 40px; height: 100%; display: grid; place-items: center; border-radius: var(--pill); color: var(--ink); }
.qty--sm button { width: 34px; }
.qty button:hover { background: var(--bg); }
.qty input { width: 36px; height: 100%; border: 0; background: transparent; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.mobile-nav__list { display: grid; padding-top: 8px; }
.mobile-nav__list a, .mobile-nav__list summary {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px; border-bottom: 1px solid var(--line);
  font-size: 1.25rem; font-weight: 700; color: var(--ink); letter-spacing: -.015em; cursor: pointer;
}
.mobile-nav__list summary { list-style: none; }
.mobile-nav__list summary::-webkit-details-marker { display: none; }
.mobile-nav__list details[open] summary .icon { transform: rotate(180deg); }
.mobile-nav__list summary .icon { transition: transform var(--dur-2) var(--ease-out); }
.mobile-nav__sub { padding: 6px 0 12px; }
.mobile-nav__sub a { min-height: 44px; font-size: 1rem; font-weight: 600; border: 0; color: var(--text); }
.mobile-nav__contact { margin-top: 28px; display: grid; gap: 4px; }
.mobile-nav__contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; }
.mobile-nav__contact .icon { color: var(--forest); }

.search-panel {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  max-height: 100dvh; overflow-y: auto;
  background: var(--bg); box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  transform: translateY(-104%); visibility: hidden;
  transition: transform var(--dur-3) var(--ease-out), visibility 0s linear var(--dur-3);
}
.search-panel.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.search-panel__inner { padding-block: 24px 36px; }
.search-form { display: flex; align-items: center; gap: 10px; }
.search-field {
  flex: 1; display: flex; align-items: center; gap: 12px;
  height: 64px; padding: 0 22px; border-radius: var(--pill);
  background: var(--surface); border: 1.5px solid var(--line-strong);
  transition: border-color var(--dur-1);
}
.search-field:focus-within { border-color: var(--forest); }
.search-field .icon { color: var(--muted); }
.search-field input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none; font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.search-field input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-field input::placeholder { color: var(--muted); font-weight: 500; }
.search-cols { margin-top: 28px; display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.search-cols h3 { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.search-cols .chip-row { justify-content: flex-start; }
.search-results { display: grid; gap: 4px; }
.search-result {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center;
  padding: 8px 12px 8px 8px; border-radius: 14px; transition: background-color var(--dur-1);
}
.search-result:hover, .search-result:focus-visible { background: var(--surface); }
.search-result__img { width: 52px; height: 52px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; overflow: hidden; color: var(--forest); }
.search-result__img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.search-result__name, .search-result__meta { display: block; }
.search-result__name { font-weight: 700; color: var(--ink); font-size: .9375rem; line-height: 1.3; }
.search-result__name mark { background: rgba(211, 240, 125, .7); color: inherit; border-radius: 3px; padding: 0 1px; }
.search-result__meta { font-size: .8125rem; color: var(--muted); }
.search-result__price { font-weight: 800; color: var(--ink); font-size: .9375rem; }
.search-empty { color: var(--muted); padding: 12px 4px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120;
  display: flex; align-items: center; gap: 12px;
  max-width: calc(100% - 32px);
  padding: 10px 10px 10px 16px; border-radius: var(--pill);
  background: var(--forest-900); color: var(--on-dark); box-shadow: var(--shadow-lg);
  font-size: .9375rem; font-weight: 600;
  transform: translate(-50%, 160%);
  transition: transform var(--dur-3) var(--ease-out);
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast .icon { color: var(--lime); }
.toast button { min-height: 36px; padding: 0 14px; border-radius: var(--pill); background: var(--lime); color: var(--forest-900); font-weight: 700; font-size: .8125rem; white-space: nowrap; }

.help-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 20px 0 8px; border-radius: var(--pill);
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-md); border: 1px solid var(--line);
  font-weight: 700; font-size: .9375rem;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2);
}
.help-fab:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.help-fab:not(.is-visible) { opacity: 0; visibility: hidden; transform: translateY(16px); }
.page-product .help-fab { display: none; }
.help-fab { transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2), opacity var(--dur-2), visibility 0s; }
.help-fab__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--lime); position: relative; }
.help-fab__icon::after { content: ""; position: absolute; top: 1px; right: 1px; width: 10px; height: 10px; border-radius: 50%; background: #3CCB6B; border: 2px solid var(--surface); }

/* ---------- Página de categoría ---------- */
.page-head { position: relative; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(28px, 4vw, 44px); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; }
.breadcrumb a:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--ink); display: inline-flex; align-items: center; min-height: 32px; }
.page-title { margin-top: 10px; font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem); line-height: 1; letter-spacing: -.04em; }
.page-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.page-head__desc { margin-top: 18px; max-width: 62ch; font-size: 1.0625rem; }
.page-head__leaf { position: absolute; right: clamp(-40px, -2vw, 0px); top: -40px; width: clamp(120px, 16vw, 220px); color: var(--leaf); opacity: .9; pointer-events: none; transform: rotate(18deg); }
.subcats { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }

.shop { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
.sidebar { display: grid; gap: 30px; padding: 2px 0 24px; }
.sidebar__head, .sidebar__foot { display: none; }
.side-title { font-size: 1.1875rem; letter-spacing: -.015em; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.cat-pills { display: grid; gap: 4px; }
.cat-pill {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 8px 14px; border-radius: 12px;
  font-weight: 600; font-size: .875rem; color: var(--ink); line-height: 1.3;
  transition: background-color var(--dur-1), color var(--dur-1);
}
.cat-pill small { font-size: .75rem; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.cat-pill:hover { background: var(--forest); color: var(--on-dark); }
.cat-pill:hover small { color: var(--on-dark-muted); }
.cat-pill[aria-current="page"] { background: var(--lime); color: var(--forest-900); }
.cat-pill[aria-current="page"] small { color: var(--forest); }
.filter legend { float: left; width: 100%; font-size: 1rem; font-weight: 700; color: var(--ink); padding: 0; margin-bottom: 8px; }
.filter legend + * { clear: both; }
.filter + .filter { margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.check { display: flex; align-items: center; gap: 12px; min-height: 40px; cursor: pointer; font-size: .9375rem; font-weight: 500; color: var(--ink); }
.check small { margin-left: auto; color: var(--muted); font-size: .75rem; font-weight: 600; }
.check input {
  appearance: none; -webkit-appearance: none; margin: 0; flex: none;
  width: 20px; height: 20px; border-radius: 6px;
  border: 1.5px solid var(--line-strong); background: var(--surface);
  display: grid; place-items: center; cursor: pointer;
  transition: background-color var(--dur-1), border-color var(--dur-1);
}
.check input::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--lime); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform var(--dur-1) var(--ease-out); }
.check input:checked { background: var(--forest); border-color: var(--forest); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.filter .chip-row { justify-content: flex-start; gap: 8px; }
.filter .chip { min-height: 40px; padding: 0 14px; }
.price-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.price-range label { position: relative; }
.price-range input {
  width: 100%; height: 44px; padding: 0 28px 0 14px; border-radius: 12px;
  border: 1.5px solid var(--line-strong); background: var(--surface); font-weight: 600; font-variant-numeric: tabular-nums;
}
.price-range input:focus { outline: none; border-color: var(--forest); }
.price-range label span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .875rem; pointer-events: none; }
.side-help { padding: 20px; border-radius: var(--r-lg); background: var(--forest); color: var(--on-dark); display: grid; gap: 10px; }
.side-help strong { color: #fff; font-size: 1.0625rem; line-height: 1.25; }
.side-help p { font-size: .875rem; color: var(--on-dark-muted); }
.side-help a { color: var(--lime); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; }

.toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  margin-bottom: 18px; padding: 8px 8px 8px 20px;
  border-radius: var(--pill); background: rgba(255, 255, 255, .8); border: 1px solid var(--line);
}
.toolbar__count { font-size: .9375rem; font-weight: 600; color: var(--ink); margin-right: auto; }
.toolbar__count span { color: var(--muted); font-weight: 500; }
.filters-btn { display: none; }
.select { position: relative; display: inline-flex; align-items: center; }
.select select {
  appearance: none; -webkit-appearance: none; height: 44px; padding: 0 42px 0 18px;
  border-radius: var(--pill); border: 1px solid var(--line-strong); background: var(--surface);
  font-weight: 600; font-size: .875rem; color: var(--ink); cursor: pointer;
}
.select .icon { position: absolute; right: 14px; width: 16px; height: 16px; pointer-events: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-filters:empty { display: none; }
.active-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 8px 0 14px;
  border-radius: var(--pill); background: var(--forest); color: var(--on-dark); font-size: .8125rem; font-weight: 600;
}
.active-chip .icon { width: 16px; height: 16px; }
.active-chip:hover { background: var(--forest-900); }
.clear-filters { font-size: .8125rem; font-weight: 700; color: var(--forest); text-decoration: underline; text-underline-offset: 3px; min-height: 36px; padding: 0 6px; }

.promo-tile {
  grid-column: span 2; position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100%;
  border-radius: var(--r-lg); background: var(--forest); color: var(--on-dark);
}
.promo-tile__copy { padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 12px; }
.promo-tile__copy h2 { color: #fff; font-size: clamp(1.375rem, 1.1rem + .8vw, 1.875rem); letter-spacing: -.025em; }
.promo-tile__copy p { color: var(--on-dark-muted); font-size: .9375rem; }
.promo-tile__copy .btn { margin-top: auto; align-self: flex-start; }
.promo-tile__img { position: relative; }
.promo-tile__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.empty-state { grid-column: 1 / -1; display: grid; justify-items: center; gap: 12px; text-align: center; padding: 64px 16px; border-radius: var(--r-lg); background: var(--surface); }
.empty-state .icon { width: 36px; height: 36px; color: var(--leaf); }
.empty-state strong { color: var(--ink); font-size: 1.125rem; }

.pagination { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.pagination a, .pagination span {
  min-width: 44px; height: 44px; padding: 0 14px; border-radius: var(--pill);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: .9375rem; color: var(--ink); font-variant-numeric: tabular-nums;
}
.pagination a:hover { background: var(--surface); }
.pagination [aria-current="page"] { background: var(--forest); color: var(--on-dark); }
.pagination .pagination__next { border: 1px solid var(--line-strong); padding-inline: 18px; }

/* ---------- Ficha de producto ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4.5vw, 72px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 12px; }
.gallery__main { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-xl); background: var(--surface); }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 9%; transition: opacity var(--dur-2); }
.gallery__main.is-photo img { object-fit: cover; padding: 0; }
.gallery__badges { position: absolute; top: 18px; left: 18px; display: flex; gap: 8px; z-index: 1; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.thumb { aspect-ratio: 1; overflow: hidden; border-radius: var(--r-md); background: var(--surface); border: 2px solid transparent; transition: border-color var(--dur-1), opacity var(--dur-1); opacity: .8; }
.thumb:hover { opacity: 1; }
.thumb[aria-current="true"] { border-color: var(--forest); opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb--product img { object-fit: contain; padding: 10%; }

.pdp__info { display: grid; gap: 22px; }
.pdp__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .875rem; color: var(--muted); font-weight: 600; }
.pdp__title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); letter-spacing: -.035em; line-height: 1.02; }
.pdp__summary { font-size: 1.0625rem; }
.pdp__price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.pdp__price { font-size: clamp(2rem, 1.6rem + 1.2vw, 2.5rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.pdp__unit { font-size: .9375rem; color: var(--muted); font-weight: 600; }
.sequra { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--text); }
.sequra .icon { color: var(--forest); }
.sequra strong { color: var(--ink); }

.panel { padding: 20px 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.panel__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; color: var(--ink); margin-bottom: 12px; font-size: .9375rem; }
.panel__label span { font-weight: 600; color: var(--muted); font-size: .8125rem; }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.option {
  position: relative; display: grid; gap: 2px; text-align: left;
  min-height: 64px; padding: 12px 16px; border-radius: 16px;
  border: 1.5px solid var(--line-strong); background: var(--surface);
  transition: border-color var(--dur-1), box-shadow var(--dur-1), background-color var(--dur-1);
}
.option:hover { border-color: var(--forest); }
.option[aria-checked="true"] { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); background: #F6FAEE; }
.option__name { font-weight: 800; color: var(--ink); font-size: 1rem; }
.option__price { font-size: .8125rem; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.option .badge { position: absolute; top: -11px; right: 12px; height: 22px; font-size: .625rem; }

.buy { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.buy .btn { min-height: 56px; }
.stock { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .9375rem; font-weight: 700; color: var(--forest); }
.stock span { color: var(--muted); font-weight: 500; }
.stock__dot { width: 10px; height: 10px; border-radius: 50%; background: #3CCB6B; box-shadow: 0 0 0 4px rgba(60, 203, 107, .18); }

.accordion { border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.accordion summary {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 20px;
  cursor: pointer; list-style: none; font-weight: 700; color: var(--ink);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-alt); color: var(--forest); flex: none; }
.accordion summary .chev { margin-left: auto; transition: transform var(--dur-2) var(--ease-out); }
.accordion[open] summary .chev { transform: rotate(180deg); }
.accordion__body { padding: 0 20px 20px 72px; font-size: .9375rem; display: grid; gap: 12px; }
.accordion__body a { color: var(--forest); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.accordion + .accordion { margin-top: -12px; }

.checklist { display: grid; gap: 8px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .9375rem; }
.checklist .icon { width: 18px; height: 18px; color: var(--forest); margin-top: 3px; }
.pdp__meta { font-size: .8125rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 18px; }
.pdp__meta a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }

.pdp-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 24px); align-items: start; }
.pdp-card { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-sm); }
.pdp-card h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.025em; margin-bottom: 18px; }
.pdp-card p + p { margin-top: 14px; }
.pdp-card--wide { grid-column: 1 / -1; }
.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.spec-table th, .spec-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table tbody th { width: 38%; color: var(--muted); font-weight: 600; background: var(--media); }
.spec-table td { color: var(--ink); font-weight: 600; }
.spec-table thead th { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: var(--media); }
.dose-table tbody th { width: auto; color: var(--ink); font-weight: 700; background: transparent; }
.dose-table td { font-weight: 500; color: var(--text); }
.dose-table td strong { color: var(--ink); }
.notice { display: grid; grid-template-columns: 24px 1fr; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: var(--r-md); background: var(--bg); font-size: .875rem; }
.notice .icon { color: var(--harvest); margin-top: 2px; }

.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: none; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(244, 247, 239, .94); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transform: translateY(110%); transition: transform var(--dur-3) var(--ease-out);
}
.sticky-buy.is-visible { transform: none; }
.sticky-buy__info { display: grid; line-height: 1.25; min-width: 0; margin-right: auto; }
.sticky-buy__info strong { color: var(--ink); font-size: .875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__info span { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.sticky-buy .btn { min-height: 48px; padding: 0 20px; }

/* ---------- Animaciones de entrada ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(110%); transition: transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 40ms + var(--d, 0s)); }
.js .split.is-in .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js .split .w > span { opacity: 1 !important; transform: none !important; }
  .hero__media img { transform: none; }
  .floating-leaf { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .search-trigger { min-width: 0; }
  .search-trigger span, .search-trigger kbd { display: none; }
  .search-trigger { width: 44px; height: 44px; padding: 0; justify-content: center; border: 0; }
  .mega__panel { grid-template-columns: 1fr 1fr 260px; }
  .mega__title { grid-column: 1 / 3; }
  .mega__promo { grid-column: 3; }
}

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps__head { grid-column: 1 / -1; position: static; margin-bottom: 16px; padding-right: 0; }
  .step { min-height: 320px; }
  .step:nth-of-type(2) { margin-top: 40px; }
  .step:nth-of-type(3) { margin-top: 80px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header-actions { margin-left: auto; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .hero-card { width: min(100%, 420px); }
  .trust__list { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .about__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__img--short { order: 4; }
  .features { order: 3; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .post--feature { grid-column: 1 / -1; order: -1; }
  .post--feature .post__media { aspect-ratio: 16 / 9; }

  .shop { grid-template-columns: minmax(0, 1fr); }
  .filters-btn { display: inline-flex; }
  .sidebar {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 100;
    width: min(380px, 100%); max-height: none; padding: 0 0 24px;
    background: var(--bg); box-shadow: var(--shadow-lg);
    transform: translateX(-100%); visibility: hidden;
    transition: transform var(--dur-3) var(--ease-out), visibility 0s linear var(--dur-3);
    align-content: start; gap: 24px;
  }
  .sidebar.is-open { transform: none; visibility: visible; transition-delay: 0s; }
  .sidebar__head { display: flex; position: sticky; top: 0; z-index: 1; background: var(--bg); }
  .sidebar > :not(.sidebar__head):not(.sidebar__foot) { margin-inline: 24px; }
  .sidebar > nav { order: 2; }
  .sidebar .side-help { order: 3; }
  .sidebar__foot { order: 4; display: block; position: sticky; bottom: 0; margin-top: 8px; padding: 14px 24px calc(14px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .gallery { position: static; }
  .pdp-details { grid-template-columns: minmax(0, 1fr); }
  .sticky-buy { display: flex; }
}

@media (max-width: 767px) {
  .announce__item:not(:first-child) { display: none; }
  .furrows { grid-template-columns: repeat(2, 1fr); }
  .furrows span:nth-child(n + 3) { display: none; }
  .header-actions .account-btn { display: none; }
  .hero { min-height: max(620px, 100svh); }
  .hero__tagline { font-size: .875rem; }
  .hero__lead { font-size: 1rem; }
  .hero-card { display: none; }
  .section-head--split { align-items: flex-start; }
  .about__grid > * { min-width: 0; }
  .trust__item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 14px; }
  .trust__icon { width: 40px; height: 40px; border-radius: 12px; }
  .about__img--tall { order: 1; }
  .about__img--short { order: 2; aspect-ratio: 3 / 4; }
  .about__copy { order: 3; grid-column: 1 / -1; }
  .features { order: 4; grid-column: 1 / -1; }
  .tab { padding: 0 14px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid > :nth-child(3n + 2) { translate: none; }
  .cat-grid > :nth-child(even) { translate: 0 28px; }
  .cat-card { aspect-ratio: 3 / 4.2; }
  .cat-card__label { left: 8px; right: 8px; bottom: 8px; padding: 12px 12px 12px 14px; grid-template-columns: 1fr; }
  .cat-card .round-link { display: none; }
  .cat-card__title { font-size: .9375rem; }
  .product-grid, .product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .p-card__body { padding: 10px 12px 14px; gap: 8px; }
  .p-card__media img { padding: 8%; }
  .p-card .tags { display: none; }
  .p-card__title { font-size: .875rem; }
  .price { font-size: 1rem; }
  .add-btn { width: 40px; height: 40px; }
  .p-card__badges { top: 8px; left: 8px; }
  .badge { height: 22px; padding: 0 8px; font-size: .625rem; }
  .tabs { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .tab { flex: 1 0 auto; }
  .service { height: 520px; }
  .service__card { grid-template-columns: 1fr; bottom: 16px; }
  .service .round-link { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step, .step:nth-of-type(2), .step:nth-of-type(3) { margin-top: 0; min-height: 0; }
  .step .icon { margin-top: 28px; order: -1; margin-bottom: 4px; }
  .step__label { order: -2; }
  .banner { min-height: 560px; align-items: flex-start; }
  .blog-grid { grid-template-columns: minmax(0, 1fr); }
  .post .post__media { aspect-ratio: 16 / 10; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .help-fab { padding: 0; width: 56px; justify-content: center; bottom: 16px; right: 16px; }
  .help-fab__label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .search-cols { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .search-field { height: 56px; padding: 0 16px; }
  /* Categoría en móvil: que los productos asomen en la primera pantalla (cabecera compacta, subcategorías en una fila, barra de filtros de dos filas y fija al bajar). */
  .page-head { padding-top: 24px; padding-bottom: 14px; }
  .page-title { margin-top: 6px; font-size: clamp(1.875rem, 8.5vw, 2.5rem); }
  .page-head__desc { margin-top: 12px; font-size: 1rem; }
  .page-head__desc.is-clamped:not(.is-open) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
  .desc-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--forest); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .page-head .subcats { flex-wrap: nowrap; overflow-x: auto; margin: 10px calc(var(--gutter) * -1) 0; padding: 4px var(--gutter); scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .page-head .subcats::-webkit-scrollbar { display: none; }
  .page-head .subcats li { flex: none; scroll-snap-align: start; }
  .page-head .subcats .chip { white-space: nowrap; }
  .toolbar { position: sticky; top: calc(var(--header-h) + 8px); z-index: 40; gap: 8px; margin-bottom: 14px; border-radius: var(--r-lg); padding: 8px; background: #fff; box-shadow: var(--shadow-sm); }
  .toolbar__count { width: 100%; padding-left: 8px; font-size: .8125rem; line-height: 20px; }
  /* Al quedar fija se oculta la fila del contador (sigue en el DOM para lectores de pantalla) y se reserva su alto abajo para que el contenido no salte. */
  .toolbar.is-stuck { margin-bottom: 42px; }
  .toolbar.is-stuck .toolbar__count { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .toolbar .filters-btn { flex: 0 0 auto; justify-content: center; }
  .toolbar .select { flex: 1 1 0; min-width: 0; }
  .toolbar .select select { width: 100%; text-overflow: ellipsis; }
  .promo-tile { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); }
  .promo-tile__img { min-height: 180px; order: -1; }
  .pagination .pagination__gap, .pagination .pagination__far { display: none; }
  .accordion__body { padding-left: 20px; }
}

@media (max-width: 420px) {
  .brand__tag { display: none; }
  .brand__name { font-size: 1.0625rem; }
  .hero__actions .btn { width: 100%; }
  .buy { grid-template-columns: minmax(0, 1fr); }
  .buy .qty { justify-self: start; }
}

/* Suscripción: el formulario y el tratamiento de datos pertenecen a WP Subscribe Pro. */
.newsletter-signup__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.newsletter-signup__inner p { margin-top: 16px; }
.newsletter-signup__inner a:not(.btn) { text-decoration: underline; }
.newsletter-signup__form { min-width: 0; }
.article-newsletter { margin: 48px 0; padding: clamp(24px, 4vw, 40px); background: var(--cream, #f2f3e8); border-radius: 12px; }
.article-newsletter p { margin: 12px 0 20px; }
@media (max-width: 767px) { .newsletter-signup__inner { grid-template-columns: 1fr; } }

.newsletter-signup #wp-subscribe.wp-subscribe { color: #edf5e8; background: #193d30; border-radius: 12px; padding: clamp(24px, 4vw, 40px); }
.newsletter-signup #wp-subscribe.wp-subscribe .regular-text { background: #fff; color: #173c2e; text-align: left; padding: 10px 14px; border-radius: 4px; }
.newsletter-signup #wp-subscribe.wp-subscribe .submit { background: #c5e56d; color: #173c2e; font-weight: 700; border-radius: 4px; }
.newsletter-signup #wp-subscribe.wp-subscribe :focus-visible { outline: 3px solid #c5e56d; outline-offset: 3px; }

.newsletter-signup__label { display: block; color: #fff; text-align: left; margin: 12px 0 5px; font-weight: 600; }
.newsletter-signup #wp-subscribe.wp-subscribe .email-field { margin-top: 0; }

/* El texto heredado del proveedor incluye colores inline y párrafos fuera de .footer-text. */
.newsletter-signup #wp-subscribe.wp-subscribe p,
.newsletter-signup #wp-subscribe.wp-subscribe span,
.newsletter-signup #wp-subscribe.wp-subscribe .wps-consent-wrapper label { color: #edf5e8 !important; }
.newsletter-signup #wp-subscribe.wp-subscribe a { color: #d9f794 !important; text-decoration: underline; text-underline-offset: 3px; }
.newsletter-signup #wp-subscribe.wp-subscribe .thanks,
.newsletter-signup #wp-subscribe.wp-subscribe .error { color: #fff !important; font-weight: 600; }
/* La sección ya aporta el titular y la promesa («consejos»). El título y el texto heredados del plugin hablaban de ofertas y descuentos (sin cupones) y saltaban de h2 a h4. */
.newsletter-signup #wp-subscribe.wp-subscribe .title,
.newsletter-signup #wp-subscribe.wp-subscribe .text { display: none; }
.newsletter-signup #wp-subscribe.wp-subscribe .thanks:focus { outline: 3px solid #c5e56d; outline-offset: 3px; }

/* Enlace de exclusión del aviso de Abandoned Cart Lite: el plugin lo pinta sin subrayado ni foco (estilo en línea). */
#wcal_gdpr_no_thanks { color: var(--forest) !important; text-decoration: underline !important; text-underline-offset: 2px; font-weight: 600; }
#wcal_gdpr_no_thanks:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; border-radius: 2px; }
