/* ===== history.css ===== */
/* HISTORIA DE MARCA — estilos de página.
   Usa exclusivamente tokens de colors_and_type.css / kit.css. */

/* ───────── 1 · HERO HERITAGE ───────── */
.hh-hero {
  position: relative;
  height: clamp(280px, 38vh, 360px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--guinda-900);
}
.hh-hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 68%;
}
.hh-hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(58,5,6,.30) 0%, rgba(58,5,6,.10) 38%, rgba(58,5,6,.72) 100%),
    linear-gradient(90deg, rgba(123,10,12,.46) 0%, rgba(123,10,12,.10) 60%, rgba(123,10,12,0) 100%);
}
.hh-hero__inner { position: relative; z-index: 2; padding-block: clamp(28px, 5vh, 48px); }
.hh-hero__over { color: var(--naranja-palo); display: block; margin-bottom: 12px; }
.hh-hero__title {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(38px, 6vw, 52px);
  line-height: .92;
  letter-spacing: .01em;
  text-shadow: 0 2px 24px rgba(58,5,6,.45);
}

/* ───────── 2 · INTRO EDITORIAL ───────── */
.hh-intro { background: var(--blanco); position: relative; overflow: hidden; }
.hh-intro__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hh-intro__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.90) 55%, rgba(249,240,236,.94) 100%);
}
.hh-intro__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.hh-intro__title {
  font-size: clamp(36px, 4.4vw, 60px); line-height: .96; margin-top: 12px;
}
.hh-intro__body p {
  font-size: 18px; line-height: 1.78; color: var(--fg2); max-width: 56ch;
}
.hh-intro__body p + p { margin-top: 22px; }
.hh-intro__body b { color: var(--guinda); font-weight: 900; }

/* ───────── 3 · BANNER STATEMENT ───────── */
.hh-statement {
  position: relative; overflow: hidden;
  background: var(--guinda); color: #fff;
  padding-block: clamp(80px, 11vw, 150px);
}
.hh-statement__ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.12); pointer-events: none;
}
.hh-statement__ring.r1 { width: 540px; height: 540px; left: -200px; top: -220px; }
.hh-statement__ring.r2 { width: 320px; height: 320px; right: -120px; bottom: -170px; border-color: rgba(201,170,138,.30); }
.hh-statement__inner { position: relative; z-index: 2; max-width: 920px; margin: 0 auto; text-align: center; }
.hh-statement__title {
  color: #fff;
  font-size: clamp(40px, 5.6vw, 86px); line-height: .94; letter-spacing: .01em;
}
.hh-statement__sub {
  margin: 26px auto 0; max-width: 680px;
  font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.86);
}

/* ───────── 4 · MISIÓN Y VISIÓN ───────── */
.hh-mv { background: var(--crema); }
.hh-mv__grid {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hh-mv__media { position: relative; }
.hh-mv__photo {
  height: clamp(420px, 52vw, 580px); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.hh-mv__carousel { position: relative; }
.hh-mv__cssbg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 600ms ease;
}
.hh-mv__cssbg.is-on { opacity: 1; }
.hh-mv__copy .overline { display: block; max-width: 30ch; line-height: 1.5; }
.hh-mv__lead {
  font-size: 19px; line-height: 1.6; color: var(--tinta); font-weight: 700;
  margin: 16px 0 30px; max-width: 46ch;
}
.hh-mv__blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.hh-mv__block { position: relative; padding-top: 26px; border-top: 2px solid var(--beige); }
.hh-mv__tag {
  position: absolute; top: -19px; left: 0;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--guinda); color: #fff;
}
.hh-mv__tag .ic { width: 19px; height: 19px; }
.hh-mv__block h3 { font-size: 34px; line-height: 1; margin-bottom: 12px; }
.hh-mv__block p { font-size: 15.5px; line-height: 1.65; color: var(--fg2); }

/* ───────── 5 · PROCESO DE FABRICACIÓN ───────── */
.hh-process { background: var(--blanco); position: relative; overflow: hidden; }
.hh-process__wm {
  position: absolute; top: 50%; left: 50%;
  width: min(720px, 80vw); transform: translate(-50%, -50%);
  opacity: .04; pointer-events: none; user-select: none;
}
.hh-process__head { position: relative; z-index: 1; text-align: center; margin-bottom: 56px; }
.hh-process__head .overline { display: block; margin-bottom: 10px; }
.hh-process__head .display { font-size: clamp(36px, 4.4vw, 58px); line-height: .96; }
.hh-process__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.hh-step {
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: var(--r-md);
  padding: 34px 26px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.hh-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hh-step__ic {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--crema); color: var(--guinda);
  margin-bottom: 20px;
}
.hh-step__ic .ic { width: 26px; height: 26px; }
.hh-step__n {
  display: block; font-weight: 700; font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--dorado); margin-bottom: 6px;
}
.hh-step__h {
  font-family: var(--font-body); font-weight: 900;
  font-size: 19px; color: var(--tinta); line-height: 1.2; margin-bottom: 10px;
}
.hh-step p { font-size: 14.5px; line-height: 1.6; color: var(--fg2); }

/* ───────── 6 · ORIGEN DE LA FIBRA ───────── */
.hh-origin { background: var(--crema); }
.hh-origin__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.hh-origin__photo {
  height: clamp(420px, 50vw, 560px); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.hh-origin__title {
  font-size: clamp(34px, 4.2vw, 56px); line-height: .98; margin: 12px 0 20px;
}
.hh-origin__copy p { font-size: 18px; line-height: 1.7; color: var(--fg2); max-width: 46ch; }

/* ───────── 7 · TRUST STRIP (guinda) ───────── */
.hh-trust { background: var(--guinda); color: #fff; }
.hh-trust__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: 44px;
}
.hh-trust__item {
  display: flex; align-items: center; gap: 16px; justify-content: center;
  padding: 8px 26px; text-align: left;
}
.hh-trust__item + .hh-trust__item { border-left: 1px solid rgba(255,255,255,.16); }
.hh-trust__ic {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.10); color: var(--beige);
}
.hh-trust__ic .ic { width: 22px; height: 22px; }
.hh-trust__txt { display: flex; flex-direction: column; gap: 3px; }
.hh-trust__txt .h { font-weight: 900; font-size: 14.5px; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.hh-trust__txt .t { font-size: 13.5px; line-height: 1.4; color: rgba(255,255,255,.78); }

/* ───────── 8 · CTA FINAL ───────── */
.hh-cta {
  background: var(--guinda-900); text-align: center;
  position: relative; overflow: hidden;
}
.hh-cta__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 62%;
}
.hh-cta__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(58,5,6,.52) 0%, rgba(58,5,6,.66) 100%);
}
.hh-cta__inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.hh-cta__inner .overline { display: block; margin-bottom: 12px; color: var(--naranja-palo); }
.hh-cta__title { font-size: clamp(40px, 5vw, 72px); line-height: .95; margin-bottom: 30px; color: #fff; text-shadow: 0 2px 24px rgba(58,5,6,.4); }
.hh-cta__btn { font-size: 15px; padding: 15px 38px; }

/* ───────── RESPONSIVE ───────── */
@media (max-width: 900px) {
  .hh-intro__grid { grid-template-columns: 1fr; gap: 22px; }
  .hh-mv__grid { grid-template-columns: 1fr; }
  .hh-origin__grid { grid-template-columns: 1fr; }
  .hh-origin__media { order: -1; }
  .hh-process__grid { grid-template-columns: 1fr 1fr; }
  .hh-trust__inner { grid-template-columns: 1fr 1fr; gap: 28px 0; padding-block: 36px; }
  .hh-trust__item:nth-child(odd) { border-left: none; }
  .hh-trust__item:nth-child(even) { border-left: 1px solid rgba(255,255,255,.16); }
}
@media (max-width: 560px) {
  .hh-process__grid { grid-template-columns: 1fr; }
  .hh-mv__blocks { grid-template-columns: 1fr; gap: 34px; }
  .hh-trust__inner { grid-template-columns: 1fr; }
  .hh-trust__item { border-left: none !important; justify-content: flex-start; padding-inline: 4px; }
  .hh-hero { height: clamp(240px, 34vh, 300px); }
}

/* ───────── MÓVIL (≤560px) ─────────*/
@media (max-width: 560px) {
  .hh-intro__title { font-size: clamp(32px, 9vw, 42px); }
  .hh-intro__body p { font-size: 16.5px; }
  .hh-statement { padding-block: clamp(64px, 12vw, 92px); }
  .hh-statement__title { font-size: clamp(34px, 10vw, 46px); }
  .hh-statement__sub { font-size: 16px; }
  .hh-mv__title, .hh-origin__title, .hh-process__head .display { font-size: clamp(30px, 8.5vw, 40px); }
  .hh-mv__copy, .hh-origin__copy p { font-size: 16.5px; }
  .hh-process__head { margin-bottom: 34px; }
  .hh-cta__title { font-size: clamp(34px, 10vw, 46px); }
  .hh-cta__btn { width: 100%; justify-content: center; min-height: 48px; }
  .hh-trust__inner { padding-block: 30px; }
}

/* ───────── VARIANTE COMPACTA (móvil) ─────────*/
@media (max-width: 560px) {
  html.fz-compact .hh-hero { height: clamp(210px, 28vh, 260px); }
  html.fz-compact .hh-hero__title { font-size: clamp(30px, 8.5vw, 38px); }
  html.fz-compact .hh-intro__title, html.fz-compact .hh-mv__title,
  html.fz-compact .hh-origin__title, html.fz-compact .hh-process__head .display { font-size: clamp(26px, 7.5vw, 32px); }
  html.fz-compact .hh-intro__body p, html.fz-compact .hh-mv__copy,
  html.fz-compact .hh-origin__copy p { font-size: 15.5px; }
  html.fz-compact .hh-statement { padding-block: 52px; }
  html.fz-compact .hh-statement__title, html.fz-compact .hh-cta__title { font-size: clamp(28px, 8vw, 34px); }
  html.fz-compact .hh-statement__sub { font-size: 15px; }
  html.fz-compact .hh-process__head { margin-bottom: 24px; }
  html.fz-compact .hh-trust__inner { padding-block: 24px; }
}

/* ===== contacto.css ===== */
/* CONTÁCTENOS — estilos de página.
   Usa exclusivamente tokens de colors_and_type.css / kit.css. */

/* ───────── HERO COMPACT (guinda oscuro) ───────── */
.ch-hero {
  position: relative;
  height: clamp(240px, 38vh, 340px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--guinda-900);
}
.ch-hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
}
.ch-hero__overlay {
  position: absolute; inset: 0;
  background: var(--guinda);
  opacity: .65;
}
.ch-hero__inner { position: relative; z-index: 2; padding-block: clamp(28px, 5vh, 48px); }
.ch-hero__over { color: var(--naranja-palo); display: block; margin-bottom: 12px; }
.ch-hero__title {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(38px, 6vw, 52px);
  line-height: .92;
  letter-spacing: .01em;
  text-shadow: 0 2px 20px rgba(58,5,6,.35);
}

/* ───────── 1 · CARDS DE CONTACTO ───────── */
.ch-cards { background: var(--blanco); }
.ch-cards__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 800px; margin-inline: auto; }
.ch-card {
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 38px 30px 34px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.ch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ch-card__ic {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--crema); color: var(--guinda);
  margin-bottom: 18px;
}
.ch-card__ic .ic { width: 26px; height: 26px; }
.ch-card__h {
  font-family: var(--font-display);
  font-size: 30px; line-height: 1; color: var(--tinta);
  letter-spacing: .02em; margin-bottom: 10px;
}
.ch-card__line { font-size: 15.5px; line-height: 1.5; color: var(--fg2); margin-bottom: 22px; }
.ch-card__btn { font-size: 13px; padding: 10px 24px; margin-top: auto; }

/* ───────── 2 · FORMULARIO + MAPA ───────── */
.ch-main { background: var(--crema); }
.ch-main__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4.5vw, 64px);
  align-items: stretch;
}
.ch-form__panel {
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(30px, 3.4vw, 44px);
}
.ch-form__panel .overline { display: block; margin-bottom: 10px; }
.ch-form__title { font-size: clamp(32px, 3.8vw, 48px); line-height: .96; margin-bottom: 28px; }
.ch-form { display: flex; flex-direction: column; gap: 18px; }
.ch-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ch-field { display: flex; flex-direction: column; gap: 7px; }
.ch-field__label {
  font-weight: 700; font-size: 13px; letter-spacing: .04em;
  color: var(--tinta);
}
.ch-field input,
.ch-field textarea {
  font-family: var(--font-body);
  font-size: 15px; color: var(--tinta);
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  outline: none;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  resize: vertical;
}
.ch-field input::placeholder,
.ch-field textarea::placeholder { color: var(--fg3); }
.ch-field input:focus,
.ch-field textarea:focus {
  border-color: var(--guinda);
  box-shadow: 0 0 0 3px rgba(123,10,12,.10);
}
.ch-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; line-height: 1.5; color: var(--fg2);
  cursor: pointer;
}
.ch-check input {
  flex: none; width: 17px; height: 17px; margin-top: 2px;
  accent-color: var(--guinda); cursor: pointer;
}
.ch-check a { color: var(--guinda); font-weight: 700; text-decoration: underline; }
.ch-form__submit { width: 100%; justify-content: center; font-size: 15px; padding: 15px 24px; }

.ch-form__ok {
  display: flex; align-items: center; gap: 18px;
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 28px 26px;
}
.ch-form__ok-ic {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--guinda); color: #fff;
}
.ch-form__ok p { font-size: 15.5px; line-height: 1.6; color: var(--fg2); }
.ch-form__ok b { color: var(--tinta); }

/* derecha — mapa (alineado del título al botón) */
.ch-side {
  display: flex; flex-direction: column; gap: 22px;
  /* compensa overline (line box) + su margen para alinear con el título */
  padding-top: var(--ch-map-offset, 25px);
}
.ch-map {
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  flex: 1;
  display: flex; flex-direction: column;
}
.ch-map iframe { display: block; width: 100%; border: 0; flex: 1; min-height: 320px; }
.ch-map__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 18px;
}
.ch-map__addr {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700; color: var(--tinta);
}
.ch-map__addr .ic { width: 16px; height: 16px; color: var(--guinda); flex: none; }
.ch-map__rating {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 900; color: var(--tinta); white-space: nowrap;
}
.ch-map__rating .ic { width: 15px; height: 15px; color: var(--star); }
.ch-map__rating small { font-weight: 400; color: var(--fg3); }

/* ───────── 3 · WHATSAPP DESTACADO ───────── */
.ch-wa {
  position: relative; overflow: hidden;
  background: var(--guinda); color: #fff;
  text-align: center;
}
.ch-wa__ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.12); pointer-events: none;
}
.ch-wa__ring.r1 { width: 460px; height: 460px; left: -180px; top: -200px; }
.ch-wa__ring.r2 { width: 300px; height: 300px; right: -110px; bottom: -150px; border-color: rgba(201,170,138,.30); }
.ch-wa__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.ch-wa__title { color: #fff; font-size: clamp(36px, 4.6vw, 64px); line-height: .94; }
.ch-wa__sub { margin: 16px 0 30px; font-size: 17px; color: rgba(255,255,255,.86); }
.ch-wa__btn {
  background: #fff; color: var(--guinda);
  font-size: 15px; padding: 15px 34px;
  display: inline-flex; align-items: center; gap: 10px;
}
.ch-wa__btn:hover { background: var(--crema); color: var(--guinda-700); }
.ch-wa__btn .ic, .ch-wa__btn svg.ic { width: 20px; height: 20px; }

/* ───────── 4 · TRUST STRIP (guinda oscuro) ───────── */
.ch-trust { background: var(--guinda-900); color: #fff; }
.ch-trust__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: 44px;
}
.ch-trust__item {
  display: flex; align-items: center; gap: 16px; justify-content: center;
  padding: 8px 26px; text-align: left;
}
.ch-trust__item + .ch-trust__item { border-left: 1px solid rgba(255,255,255,.14); }
.ch-trust__ic {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: var(--beige);
}
.ch-trust__ic .ic { width: 22px; height: 22px; }
.ch-trust__txt { display: flex; flex-direction: column; gap: 3px; }
.ch-trust__txt .h { font-weight: 900; font-size: 14.5px; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.ch-trust__txt .t { font-size: 13.5px; line-height: 1.4; color: rgba(255,255,255,.75); }

/* ───────── RESPONSIVE ───────── */
@media (max-width: 900px) {
  .ch-cards__grid { grid-template-columns: 1fr; }
  .ch-main__grid { grid-template-columns: 1fr; }
  .ch-side { padding-top: 0; }
  .ch-map { flex: none; }
  .ch-map iframe { flex: none; height: 360px; }
  .ch-trust__inner { grid-template-columns: 1fr 1fr; gap: 28px 0; padding-block: 36px; }
  .ch-trust__item:nth-child(odd) { border-left: none; }
  .ch-trust__item:nth-child(even) { border-left: 1px solid rgba(255,255,255,.14); }
}
@media (max-width: 560px) {
  .ch-form__row { grid-template-columns: 1fr; }
  .ch-trust__inner { grid-template-columns: 1fr; }
  .ch-trust__item { border-left: none !important; justify-content: flex-start; padding-inline: 4px; }
  .ch-hero { height: clamp(210px, 32vh, 260px); }
}

/* ───────── MÓVIL (≤560px) ─────────*/
@media (max-width: 560px) {
  .ch-hero__title { font-size: clamp(32px, 9.5vw, 44px); }
  .ch-form__title, .ch-wa__title, .ch-card__h { font-size: clamp(28px, 8vw, 34px); }
  /* 16px evita el zoom automático de iOS al enfocar un campo */
  .ch-field input, .ch-field textarea { font-size: 16px; min-height: 48px; }
  .ch-field textarea { min-height: 130px; }
  .ch-check { align-items: center; min-height: 44px; gap: 12px; }
  .ch-check input { width: 22px; height: 22px; min-height: 0; margin-top: 0; }
  .ch-form__submit { min-height: 50px; }
  .ch-trust__inner { padding-block: 30px; }
}

/* ───────── VARIANTE COMPACTA (móvil) ─────────*/
@media (max-width: 560px) {
  html.fz-compact .ch-hero { height: clamp(200px, 26vh, 240px); }
  html.fz-compact .ch-hero__title { font-size: clamp(28px, 8.5vw, 36px); }
  html.fz-compact .ch-form__title, html.fz-compact .ch-wa__title { font-size: clamp(26px, 7.5vw, 30px); }
  html.fz-compact .ch-card__h { font-size: 24px; }
  html.fz-compact .ch-form { gap: 14px; }
  html.fz-compact .ch-field__label { font-size: 12.5px; }
  html.fz-compact .ch-card { padding: 18px 18px; }
  html.fz-compact .ch-trust__inner { padding-block: 24px; }
}

/* ===== mayoristas.css ===== */
/* MAYORISTAS (Canal B2B) — estilos de página.
   Usa exclusivamente tokens de colors_and_type.css / kit.css. */

/* ───────── HERO COMPACT (mismo alto que Contáctenos / Historia) ───────── */
.mz-hero {
  position: relative;
  height: clamp(240px, 38vh, 340px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--guinda-900);
}
.mz-hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 50%;
}
.mz-hero__overlay {
  position: absolute; inset: 0;
  background: var(--guinda-900);
  opacity: .65;
}
.mz-hero__inner { position: relative; z-index: 2; padding-block: clamp(28px, 5vh, 48px); }
.mz-hero__over { color: var(--naranja-palo); display: block; margin-bottom: 12px; }
.mz-hero__title {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(38px, 6vw, 56px);
  line-height: .92;
  letter-spacing: .01em;
  text-shadow: 0 2px 20px rgba(58,5,6,.35);
}

/* ───────── 1 · PROPUESTA DE VALOR ───────── */
.mz-value { background: var(--blanco); }
.mz-value__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px); align-items: center;
}
.mz-value__title {
  font-family: var(--font-display); color: var(--guinda);
  font-size: clamp(46px, 6vw, 78px); line-height: .9; letter-spacing: .01em;
}
.mz-value__title em { font-style: normal; color: var(--beige); display: block; }
.mz-value__right { max-width: 460px; }
.mz-value__rule { width: 56px; height: 3px; background: var(--dorado); margin-bottom: 24px; }
.mz-value__copy { font-size: 18px; line-height: 1.7; color: var(--fg2); }
.mz-value__copy b { color: var(--tinta); font-weight: 700; }

/* ───────── 2 · BENEFICIOS (crema) ───────── */
.mz-benef { background: var(--crema); }
.mz-benef__head { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 5vw, 60px); }
.mz-benef__head .overline { display: block; margin-bottom: 12px; }
.mz-benef__title { font-size: clamp(36px, 4.4vw, 54px); line-height: .96; }
.mz-benef__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  max-width: 920px; margin-inline: auto;
}
.mz-bcard {
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-left: 3px solid var(--guinda);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 38px 34px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.mz-bcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mz-bcard__ic {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--crema); color: var(--guinda);
  margin-bottom: 22px;
}
.mz-bcard__ic .ic { width: 34px; height: 34px; }
.mz-bcard__h {
  font-family: var(--font-display);
  font-size: 28px; line-height: 1; color: var(--tinta);
  letter-spacing: .02em; margin-bottom: 12px;
}
.mz-bcard__t { font-size: 16px; line-height: 1.6; color: var(--fg2); }

/* ───────── 2.5 · BANNER DE ESTADÍSTICAS (guinda oscuro) ───────── */
.mz-stats { background: var(--guinda); color: #fff; }
.mz-stats__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: 52px;
}
.mz-stats__item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 6px 26px; text-align: center;
}
.mz-stats__item + .mz-stats__item { border-left: 1px solid rgba(255,255,255,.14); }
.mz-stats__num {
  font-family: var(--font-display); color: #fff;
  font-size: clamp(40px, 4.4vw, 60px); line-height: .9; letter-spacing: .01em;
}
.mz-stats__label {
  font-size: 14px; line-height: 1.4; color: var(--dorado);
  font-weight: 700; letter-spacing: .02em; max-width: 180px;
}

/* ───────── 3 · ¿PARA QUIÉN ES? (blanco) ───────── */
.mz-who { background: var(--blanco); }
.mz-who__head { text-align: center; max-width: 640px; margin: 0 auto clamp(44px, 5vw, 64px); }
.mz-who__head .overline { display: block; margin-bottom: 12px; }
.mz-who__title { font-size: clamp(36px, 4.4vw, 54px); line-height: .96; }
.mz-who__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px);
  max-width: 920px; margin-inline: auto;
}
.mz-who__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.mz-who__medal {
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--crema);
  border: 1.5px solid var(--dorado);
  color: var(--guinda);
  transition: transform var(--t-base) var(--ease), background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.mz-who__item:hover .mz-who__medal { transform: translateY(-4px); background: var(--guinda); color: #fff; }
.mz-who__medal .ic { width: 38px; height: 38px; }
.mz-who__label { font-weight: 700; font-size: 16px; line-height: 1.35; color: var(--tinta); letter-spacing: .01em; }
.mz-who__note { text-align: center; max-width: 720px; margin: clamp(40px, 4.4vw, 60px) auto 0; font-size: 18px; line-height: 1.6; color: var(--guinda); }

/* ───────── 4 · FORMULARIO (crema) ───────── */
.mz-form-sec { background: var(--crema); }
.mz-form-sec__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px);
  align-items: stretch;
}
.mz-aside {
  background: var(--guinda);
  color: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(34px, 3.6vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mz-aside .overline { display: block; margin-bottom: 12px; color: var(--dorado); }
.mz-aside__title { color: #fff; font-size: clamp(34px, 4vw, 50px); line-height: .96; margin-bottom: 24px; }
.mz-aside__copy { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.85); margin-bottom: 36px; max-width: 460px; }
.mz-trust { display: flex; flex-direction: column; gap: 18px; }
.mz-trust__item { display: flex; align-items: center; gap: 16px; }
.mz-trust__ic {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.10); color: var(--dorado);
}
.mz-trust__ic .ic { width: 22px; height: 22px; }
.mz-trust__txt { font-size: 16.5px; font-weight: 700; color: #fff; }

/* panel del formulario */
.mz-form-panel {
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(30px, 3.4vw, 44px);
}
.mz-form { display: flex; flex-direction: column; gap: 18px; }
.mz-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mz-field { display: flex; flex-direction: column; gap: 7px; }
.mz-field__label { font-weight: 700; font-size: 13px; letter-spacing: .04em; color: var(--tinta); }
.mz-field__label .req { color: var(--guinda); }
.mz-field input,
.mz-field textarea {
  font-family: var(--font-body);
  font-size: 15px; color: var(--tinta);
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  outline: none;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  resize: vertical;
}
.mz-field input::placeholder,
.mz-field textarea::placeholder { color: var(--fg3); }
.mz-field input:focus,
.mz-field textarea:focus {
  border-color: var(--guinda);
  box-shadow: 0 0 0 3px rgba(123,10,12,.10);
}

/* grupo de checkboxes — Tipo de Producto */
.mz-prodgroup { display: flex; flex-direction: column; gap: 9px; }
.mz-prodgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.mz-prodchk {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--tinta); cursor: pointer;
  padding: 6px 0;
}
.mz-prodchk input {
  flex: none; width: 17px; height: 17px;
  accent-color: var(--guinda); cursor: pointer;
}

.mz-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; line-height: 1.5; color: var(--fg2); cursor: pointer;
}
.mz-check input {
  flex: none; width: 17px; height: 17px; margin-top: 2px;
  accent-color: var(--guinda); cursor: pointer;
}
.mz-check a { color: var(--guinda); font-weight: 700; text-decoration: underline; }
.mz-form__submit { width: 100%; justify-content: center; font-size: 15px; padding: 16px 24px; margin-top: 4px; }

.mz-form__ok {
  display: flex; align-items: center; gap: 18px;
  background: var(--crema);
  border: 1px solid var(--linea);
  border-radius: var(--r-md);
  padding: 28px 26px;
}
.mz-form__ok-ic {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--guinda); color: #fff;
}
.mz-form__ok p { font-size: 15.5px; line-height: 1.6; color: var(--fg2); }
.mz-form__ok b { color: var(--tinta); }

/* ───────── 5 · WHATSAPP B2B (guinda) ───────── */
.mz-wa {
  position: relative; overflow: hidden;
  background: var(--guinda); color: #fff;
  text-align: center;
}
.mz-wa__ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.12); pointer-events: none;
}
.mz-wa__ring.r1 { width: 460px; height: 460px; left: -180px; top: -200px; }
.mz-wa__ring.r2 { width: 300px; height: 300px; right: -110px; bottom: -150px; border-color: rgba(201,170,138,.30); }
.mz-wa__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.mz-wa__title { color: #fff; font-size: clamp(36px, 4.6vw, 60px); line-height: .94; }
.mz-wa__sub { margin: 16px 0 30px; font-size: 17px; color: rgba(255,255,255,.86); }
.mz-wa__btn {
  background: #fff; color: var(--guinda);
  font-size: 15px; padding: 15px 34px;
  display: inline-flex; align-items: center; gap: 10px;
}
.mz-wa__btn:hover { background: var(--crema); color: var(--guinda-700); }
.mz-wa__btn .ic, .mz-wa__btn svg.ic { width: 20px; height: 20px; }

/* ───────── RESPONSIVE ───────── */
@media (max-width: 900px) {
  .mz-value__grid { grid-template-columns: 1fr; gap: 28px; }
  .mz-benef__grid { grid-template-columns: 1fr; }
  .mz-stats__inner { grid-template-columns: 1fr 1fr; gap: 36px 0; padding-block: 40px; }
  .mz-stats__item:nth-child(odd) { border-left: none; }
  .mz-who__grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .mz-form-sec__grid { grid-template-columns: 1fr; }
  .mz-aside__copy { max-width: none; }
}
@media (max-width: 560px) {
  .mz-form__row { grid-template-columns: 1fr; }
  .mz-prodgrid { grid-template-columns: 1fr; }
  .mz-who__grid { grid-template-columns: 1fr; gap: 28px; }
  .mz-stats__inner { grid-template-columns: 1fr; gap: 28px; }
  .mz-stats__item { border-left: none !important; }
  .mz-hero { height: clamp(210px, 32vh, 260px); }
}

/* ───────── MÓVIL (≤560px) ─────────*/
@media (max-width: 560px) {
  .mz-hero__title { font-size: clamp(32px, 9.5vw, 44px); }
  .mz-value__title, .mz-benef__head .display, .mz-who__title, .mz-wa__title, .mz-aside__title { font-size: clamp(28px, 8vw, 34px); }
  .mz-bcard__h { font-size: 25px; }
  .mz-form input:not([type=checkbox]):not([type=radio]), .mz-form select, .mz-form textarea { font-size: 16px; min-height: 48px; }
  .mz-form textarea { min-height: 120px; }
  .mz-prodchk { min-height: 44px; padding: 0; gap: 12px; }
  .mz-prodchk input { width: 22px; height: 22px; min-height: 0; }
  .mz-check { align-items: center; min-height: 44px; gap: 12px; }
  .mz-check input { width: 22px; height: 22px; min-height: 0; margin-top: 0; }
  .mz-form__submit { min-height: 50px; }
  .mz-stats__inner { padding-block: 34px; }
}

/* ───────── VARIANTE COMPACTA (móvil) ─────────*/
@media (max-width: 560px) {
  html.fz-compact .mz-hero { height: clamp(200px, 26vh, 240px); }
  html.fz-compact .mz-hero__title { font-size: clamp(28px, 8.5vw, 36px); }
  html.fz-compact .mz-value__title, html.fz-compact .mz-benef__head .display,
  html.fz-compact .mz-who__title, html.fz-compact .mz-wa__title,
  html.fz-compact .mz-aside__title { font-size: clamp(26px, 7.5vw, 30px); }
  html.fz-compact .mz-bcard__h { font-size: 22px; }
  html.fz-compact .mz-form { gap: 14px; }
  html.fz-compact .mz-prodgrid { gap: 4px 14px; }
  html.fz-compact .mz-stats__inner { padding-block: 26px; }
}

/* ===== paginas.css ===== */
/* Páginas de contenido: devoluciones, preguntas frecuentes, blog, legales */
.pg-hero{background:var(--crema);border-bottom:1px solid var(--linea);padding-block:clamp(48px,7vh,88px);position:relative;overflow:hidden}
.pg-hero__seal{position:absolute;right:-90px;top:-70px;width:300px;height:300px;border-radius:50%;border:1px solid var(--guinda);opacity:.07;pointer-events:none}
.pg-hero__seal::after{content:"";position:absolute;inset:30px;border-radius:50%;border:1px solid var(--guinda)}
.pg-hero__over{display:block;font-family:var(--font-body);font-weight:700;font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:var(--dorado);margin-bottom:12px}
.pg-hero__t{font-family:var(--font-display);font-size:clamp(40px,6vw,68px);line-height:.94;letter-spacing:.015em;color:var(--guinda);margin:0;text-transform:uppercase}
.pg-hero__p{margin:16px 0 0;max-width:62ch;font-size:17px;line-height:1.62;color:var(--fg2);text-wrap:pretty}
.pg-body{background:var(--blanco);padding-block:clamp(44px,6vh,80px)}
.pg-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:clamp(30px,4vw,60px);align-items:start}
.pg-prose{max-width:72ch}
.pg-prose h2{font-family:var(--font-display);font-size:clamp(24px,2.4vw,30px);line-height:1;letter-spacing:.02em;color:var(--guinda);text-transform:uppercase;margin:34px 0 12px;padding-top:16px;border-top:1px solid var(--linea)}
.pg-prose h2:first-child{margin-top:0;padding-top:0;border-top:0}
.pg-prose h3{font-family:var(--font-body);font-weight:900;font-size:16px;color:var(--tinta);margin:22px 0 6px}
.pg-prose p,.pg-prose li{font-size:16px;line-height:1.65;color:var(--fg2);text-wrap:pretty}
.pg-prose p{margin:0 0 12px}
.pg-prose ol,.pg-prose ul{margin:0 0 14px;padding-left:20px}
.pg-prose li{margin:0 0 8px}
.pg-prose b{color:var(--tinta)}
.pg-key{display:flex;gap:16px;align-items:flex-start;background:var(--crema);border:1px solid var(--linea);border-radius:var(--r-md);padding:20px 22px;margin:0 0 26px}
.pg-key__ic{flex:0 0 auto;width:44px;height:44px;border-radius:999px;display:grid;place-items:center;background:var(--blanco);border:1px solid var(--linea);color:var(--guinda)}
.pg-key__ic .ic{width:20px;height:20px}
.pg-key__t{display:block;font-family:var(--font-display);font-size:26px;line-height:1;letter-spacing:.02em;color:var(--guinda);text-transform:uppercase}
.pg-key__d{margin:6px 0 0;font-size:15px;line-height:1.55;color:var(--fg2)}
.pg-steps{display:grid;gap:14px;margin:0 0 26px}
.pg-step{display:flex;gap:14px;align-items:flex-start;background:var(--blanco);border:1px solid var(--linea);border-radius:var(--r-md);box-shadow:var(--shadow-card);padding:16px 18px}
.pg-step__n{flex:0 0 auto;width:30px;height:30px;border-radius:999px;display:grid;place-items:center;background:var(--guinda);color:#fff;font-family:var(--font-body);font-weight:900;font-size:13px}
.pg-step__t{display:block;font-weight:700;font-size:15px;color:var(--tinta)}
.pg-step__d{margin:4px 0 0;font-size:14.5px;line-height:1.55;color:var(--fg2)}
.pg-aside{position:sticky;top:100px;display:grid;gap:14px}
.pg-card{background:var(--crema);border:1px solid var(--linea);border-radius:var(--r-md);padding:20px}
.pg-card h4{font-family:var(--font-display);font-size:22px;line-height:1;letter-spacing:.02em;color:var(--guinda);text-transform:uppercase;margin:0 0 10px}
.pg-card ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.pg-card li{display:flex;gap:9px;align-items:flex-start;font-size:14.5px;line-height:1.5;color:var(--fg2)}
.pg-card li .ic{width:17px;height:17px;flex:0 0 auto;color:var(--guinda);margin-top:2px}
.pg-card a{color:var(--guinda);text-decoration:none;font-weight:700}
.pg-card a:hover{color:var(--guinda-700);text-decoration:underline}
.pg-note{margin:22px 0 0;padding:14px 16px;border-left:0;background:var(--crema);border:1px dashed var(--dorado);border-radius:var(--r-sm);font-size:13.5px;line-height:1.55;color:var(--fg2)}
.pg-note b{color:var(--guinda)}
/* FAQ */
.pg-faqcats{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.pg-faqcat{min-height:44px;padding:0 20px;border-radius:999px;border:1px solid var(--linea);background:var(--blanco);color:var(--tinta);font-family:var(--font-body);font-weight:700;font-size:12.5px;letter-spacing:.1em;text-transform:uppercase;cursor:pointer;transition:background var(--t-fast) var(--ease),color var(--t-fast) var(--ease),border-color var(--t-fast) var(--ease)}
.pg-faqcat:hover{border-color:var(--guinda);color:var(--guinda)}
.pg-faqcat.is-on{background:var(--guinda);border-color:var(--guinda);color:#fff}
.pg-acc{display:grid;gap:10px}
.pg-q{background:var(--blanco);border:1px solid var(--linea);border-radius:var(--r-md);overflow:hidden;transition:box-shadow var(--t-base) var(--ease)}
.pg-q.is-open{box-shadow:var(--shadow-card)}
.pg-q__btn{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:60px;padding:14px 20px;border:0;background:none;cursor:pointer;text-align:left;font-family:var(--font-body);font-weight:700;font-size:16px;color:var(--tinta)}
.pg-q__btn:hover{color:var(--guinda)}
.pg-q__btn .ic{width:18px;height:18px;flex:0 0 auto;color:var(--guinda);transition:transform var(--t-fast) var(--ease)}
.pg-q.is-open .pg-q__btn .ic{transform:rotate(180deg)}
.pg-q__a{padding:0 20px 18px;font-size:15.5px;line-height:1.62;color:var(--fg2);max-width:70ch}
.pg-q__a p{margin:0 0 10px}
.pg-q__a p:last-child{margin:0}
/* Blog */
.pg-posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2vw,26px)}
.pg-post{display:flex;flex-direction:column;background:var(--blanco);border:1px solid var(--linea);border-radius:var(--r-md);box-shadow:var(--shadow-card);overflow:hidden;text-decoration:none;transition:box-shadow var(--t-base) var(--ease)}
.pg-post:hover{box-shadow:var(--shadow-lg)}
.pg-post__media{position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--crema);border-bottom:1px solid var(--linea)}
.pg-post__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform var(--t-slow) var(--ease)}
.pg-post:hover .pg-post__media img{transform:scale(1.03)}
.pg-post__tag{position:absolute;top:12px;left:12px;padding:6px 12px;border-radius:999px;background:var(--guinda);color:#fff;font-family:var(--font-body);font-weight:700;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase}
.pg-post__body{padding:16px 18px 20px;display:flex;flex-direction:column;gap:8px}
.pg-post__meta{font-family:var(--font-body);font-weight:700;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--tinta-3)}
.pg-post__t{font-family:var(--font-display);font-size:24px;line-height:1;letter-spacing:.02em;color:var(--guinda);text-transform:uppercase;margin:0}
.pg-post__d{margin:0;font-size:14.5px;line-height:1.55;color:var(--fg2)}
.pg-post__more{margin-top:4px;font-weight:700;font-size:13px;color:var(--guinda);display:inline-flex;align-items:center;gap:7px}
.pg-post__more .ic{width:15px;height:15px}
/* responsive */
@media (max-width:980px){
  .pg-grid{grid-template-columns:1fr}
  .pg-aside{position:static}
  .pg-posts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:560px){
  .pg-posts{grid-template-columns:1fr;gap:14px}
  .pg-prose p,.pg-prose li{font-size:15.5px}
  .pg-q__btn{font-size:15.5px}
  .pg-key{flex-direction:column;gap:12px}
}

/* ───────── VARIANTE COMPACTA (móvil) ───────── */
@media (max-width: 560px) {
  html.fz-compact .pg-hero{padding-block:38px}
  html.fz-compact .pg-hero__t{font-size:clamp(32px,8.4vw,40px)}
  html.fz-compact .pg-hero__p{font-size:15px;line-height:1.55;margin-top:12px}
  html.fz-compact .pg-body{padding-block:34px}
  html.fz-compact .pg-grid{gap:24px}
  html.fz-compact .pg-prose h2{font-size:21px;margin:24px 0 9px;padding-top:12px}
  html.fz-compact .pg-prose h3{font-size:15px;margin:16px 0 5px}
  html.fz-compact .pg-prose p,html.fz-compact .pg-prose li{font-size:15px;line-height:1.55}
  html.fz-compact .pg-prose li{margin-bottom:6px}
  html.fz-compact .pg-key{padding:15px 16px;gap:10px;margin-bottom:20px}
  html.fz-compact .pg-key__t{font-size:22px}
  html.fz-compact .pg-key__d{font-size:14px}
  html.fz-compact .pg-steps{gap:10px;margin-bottom:20px}
  html.fz-compact .pg-step{padding:13px 14px}
  html.fz-compact .pg-step__d{font-size:14px}
  html.fz-compact .pg-card{padding:16px}
  html.fz-compact .pg-card h4{font-size:19px}
  html.fz-compact .pg-card li{font-size:14px}
  html.fz-compact .pg-faqcats{gap:6px;margin-bottom:18px}
  html.fz-compact .pg-faqcat{padding:0 15px;font-size:11.5px}
  html.fz-compact .pg-acc{gap:8px}
  html.fz-compact .pg-q__btn{font-size:15px;padding:12px 16px}
  html.fz-compact .pg-q__a{font-size:14.5px;padding:0 16px 15px}
  html.fz-compact .pg-posts{gap:10px}
  html.fz-compact .pg-post__body{padding:13px 14px 16px;gap:6px}
  html.fz-compact .pg-post__t{font-size:20px}
  html.fz-compact .pg-post__d{font-size:14px}
  html.fz-compact .pg-note{font-size:13px;padding:12px 14px;margin-top:18px}
}

/* ===== tienda.css ===== */
/* TIENDA / CATÁLOGO — estilos de página.
   Usa exclusivamente tokens de colors_and_type.css / kit.css. */

/* ───────── BREADCRUMB MÍNIMO ───────── */
.ti-crumb {
  background: var(--blanco);
  border-bottom: 1px solid var(--linea);
}
.ti-crumb__inner {
  display: flex; align-items: center; gap: 8px;
  padding-block: 8px;
  font-family: var(--font-body); font-size: 12px; color: #888;
}
.ti-crumb__link { color: var(--guinda); text-decoration: none; }
.ti-crumb__link:hover { text-decoration: underline; }
.ti-crumb__sep { color: #888; }
.ti-crumb__current { color: #888; }

/* ───────── BARRA DE FILTROS DE CATEGORÍA (scroll horizontal) ───────── */
.ti-tabs {
  position: sticky; top: 0; z-index: 20;
  background: var(--crema);
  border-bottom: 1px solid var(--linea);
}
.ti-tabs__scroll {
  display: flex; gap: 10px;
  overflow-x: auto;
  padding: 16px 28px;
  max-width: var(--container); margin-inline: auto;
  scrollbar-width: none;
}
@media (min-width: 769px) {
  .ti-tabs__scroll { justify-content: center; }
}
.ti-tabs__scroll::-webkit-scrollbar { display: none; }
.ti-tab {
  flex: 0 0 auto;
  font-family: var(--font-body); font-weight: 700;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--tinta-2);
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: var(--r-pill);
  padding: 11px 24px; cursor: pointer;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.ti-tab:hover { border-color: var(--guinda); color: var(--guinda); }
.ti-tab.is-active { background: var(--guinda); border-color: var(--guinda); color: #fff; }

/* ───────── LAYOUT PRINCIPAL (sidebar + grilla) ───────── */
.ti-shop { background: var(--blanco); padding-block: clamp(40px, 6vh, 72px); }
.ti-shop__grid {
  display: grid; grid-template-columns: 250px 1fr;
  gap: clamp(28px, 4vw, 56px); align-items: start;
}

/* ── SIDEBAR ── */
.ti-side { position: sticky; top: 76px; }
.ti-side__clearrow { padding-bottom: 20px; border-bottom: 1px solid var(--linea-2); }
.ti-side__clear {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  padding: 9px 18px;
}
.ti-side__clear .ic { width: 15px; height: 15px; }
.ti-side__block { padding-block: 22px; border-bottom: 1px solid var(--linea-2); }
.ti-side__block:first-child { padding-top: 0; }
.ti-side__clearrow + .ti-side__block { padding-top: 22px; }
.ti-side__h {
  font-family: var(--font-display);
  font-size: 20px; line-height: 1; letter-spacing: .03em;
  color: var(--guinda); margin-bottom: 16px;
}
.ti-side__list { display: flex; flex-direction: column; gap: 2px; }

/* opción tipo fila con check */
.ti-opt {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-body); font-size: 15px; color: var(--fg1);
  padding: 7px 0; cursor: pointer; user-select: none;
  transition: color var(--t-fast) var(--ease);
}
.ti-opt:hover { color: var(--guinda); }
.ti-opt__box {
  width: 18px; height: 18px; flex: 0 0 auto;
  border: 1.5px solid var(--linea); border-radius: var(--r-xs);
  background: var(--blanco);
  display: grid; place-items: center;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.ti-opt__box .ic { width: 12px; height: 12px; color: #fff; opacity: 0; transition: opacity var(--t-fast) var(--ease); }
.ti-opt.is-on .ti-opt__box { background: var(--guinda); border-color: var(--guinda); }
.ti-opt.is-on .ti-opt__box .ic { opacity: 1; }
.ti-opt.is-on { color: var(--tinta); font-weight: 700; }
.ti-opt__count { margin-left: auto; font-size: 13px; color: var(--tinta-3); }

/* dots de color en sidebar */
.ti-colors { display: flex; flex-wrap: wrap; gap: 12px; }
.ti-color {
  width: 28px; height: 28px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(43,29,26,.12);
  box-shadow: inset 0 0 0 2px var(--blanco);
  outline: 2px solid transparent; outline-offset: 2px;
  transition: outline-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.ti-color:hover { transform: scale(1.08); }
.ti-color.is-on { outline-color: var(--guinda); }

/* slider de precio (dual range) */
.ti-price__values { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--tinta); margin-bottom: 14px; }
.ti-range { position: relative; height: 30px; }
.ti-range__track { position: absolute; top: 13px; left: 0; right: 0; height: 4px; border-radius: 4px; background: var(--linea); }
.ti-range__fill { position: absolute; top: 13px; height: 4px; border-radius: 4px; background: var(--guinda); }
.ti-range input[type="range"] {
  position: absolute; top: 0; left: 0; width: 100%; height: 30px;
  margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none;
}
.ti-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blanco); border: 2px solid var(--guinda);
  box-shadow: var(--shadow-sm); cursor: pointer; pointer-events: auto;
}
.ti-range input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blanco); border: 2px solid var(--guinda);
  box-shadow: var(--shadow-sm); cursor: pointer; pointer-events: auto;
}

/* ── PANEL DE PRODUCTOS ── */
.ti-results { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.ti-results__count { font-family: var(--font-body); font-size: 15px; color: var(--fg2); }
.ti-results__count b { color: var(--tinta); font-weight: 900; }
.ti-sort { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--fg2); }
.ti-sort select {
  font-family: var(--font-body); font-size: 14px; font-weight: 700; color: var(--tinta);
  background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-pill);
  padding: 9px 36px 9px 16px; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237B0A0C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.ti-sort select:focus { outline: none; border-color: var(--guinda); }

.ti-pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); }

/* ── TARJETA DE PRODUCTO ── */
.ti-card { display: flex; flex-direction: column; }
.ti-card__media {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: var(--r-md); background: var(--crema);
  border: 1px solid var(--linea);
}
.ti-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--t-slow) var(--ease); }
.ti-card:hover .ti-card__img { transform: scale(1.04); }
.ti-card__overlay {
  position: absolute; inset: 0;
  background: rgba(123,10,12,.32);
  display: grid; place-items: center;
  opacity: 0; transition: opacity var(--t-base) var(--ease);
}
.ti-card:hover .ti-card__overlay { opacity: 1; }
.ti-card__add {
  font-family: var(--font-body); font-weight: 700; font-size: 12.5px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--guinda); background: #fff;
  border: none; border-radius: var(--r-pill);
  padding: 12px 28px; cursor: pointer;
  transform: translateY(8px); transition: transform var(--t-base) var(--ease), background var(--t-fast) var(--ease);
}
.ti-card:hover .ti-card__add { transform: translateY(0); }
.ti-card__add:hover { background: var(--crema); }
.ti-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--font-body); font-weight: 700; font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-pill); color: #fff;
}
.ti-badge--guinda { background: var(--guinda); }
.ti-badge--beige { background: var(--beige); color: var(--tinta); }
.ti-badge--popular { background: var(--guinda-900); }

.ti-card__body { padding-top: 16px; display: flex; flex-direction: column; gap: 7px; }
.ti-card__cat {
  font-family: var(--font-body); font-weight: 700; font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--tinta-3);
}
.ti-card__name {
  font-family: var(--font-display); font-size: 22px; line-height: 1;
  letter-spacing: .02em; color: var(--guinda);
}
.ti-card__rating { display: flex; align-items: center; gap: 8px; }
.ti-card__rating .stars { display: inline-flex; gap: 2px; color: var(--star); }
.ti-card__rating .stars .ic { width: 14px; height: 14px; }
.ti-card__rnum { font-size: 13px; color: var(--fg2); }
.ti-card__price { display: flex; align-items: baseline; gap: 9px; margin-top: 2px; }
.ti-card__price b { font-family: var(--font-body); font-weight: 900; font-size: 18px; color: var(--tinta); }
.ti-card__price s { font-size: 14px; color: var(--tinta-3); text-decoration: line-through; }
.ti-card__dots { display: flex; gap: 7px; margin-top: 4px; }
.ti-card__dot {
  width: 16px; height: 16px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(43,29,26,.12);
  box-shadow: inset 0 0 0 2px #fff;
  outline: 1.5px solid transparent; outline-offset: 1px;
  transition: outline-color var(--t-fast) var(--ease);
}
.ti-card__dot.sel { outline-color: var(--guinda); }

/* ── PAGINACIÓN ── */
.ti-pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: clamp(38px, 5vh, 56px); }
.ti-pager__btn {
  min-width: 40px; height: 40px; padding: 0 10px;
  display: grid; place-items: center;
  font-family: var(--font-body); font-weight: 700; font-size: 15px; color: var(--fg2);
  background: transparent; border: 1px solid transparent; border-radius: var(--r-sm);
  cursor: pointer; transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.ti-pager__btn:hover { color: var(--guinda); background: var(--crema); }
.ti-pager__btn.is-active { background: var(--guinda); color: #fff; }
.ti-pager__btn:disabled { opacity: .35; cursor: default; }
.ti-pager__btn .ic { width: 18px; height: 18px; }
.ti-pager__dots { color: var(--tinta-3); padding: 0 4px; }

/* ───────── CTA FINAL (guinda) ───────── */
.ti-cta { position: relative; background: var(--guinda); overflow: hidden; }
.ti-cta__ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.14); pointer-events: none;
}
.ti-cta__ring.r1 { width: 320px; height: 320px; left: -120px; top: -150px; }
.ti-cta__ring.r2 { width: 240px; height: 240px; right: -70px; bottom: -140px; }
.ti-cta__inner { position: relative; z-index: 2; text-align: center; max-width: 640px; margin: 0 auto; }
.ti-cta .overline { color: var(--naranja-palo); display: block; margin-bottom: 14px; }
.ti-cta__title { color: #fff; font-size: clamp(38px, 5vw, 60px); line-height: .96; margin-bottom: 30px; }
.ti-cta__btn { gap: 10px; }
.ti-cta__btn .ic { width: 18px; height: 18px; }

/* ───────── BOTÓN "FILTRAR" + DRAWER (solo mobile) ───────── */
.ti-filterbar { display: none; }      /* oculto en desktop */
.ti-filter-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: var(--guinda);
  border: none; border-radius: var(--r-pill);
  padding: 13px 26px; cursor: pointer; width: 100%;
  justify-content: center;
  box-shadow: var(--shadow-card);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.ti-filter-btn:hover { background: var(--guinda-700); }
.ti-filter-btn:active { transform: translateY(1px); }
.ti-filter-btn .ic { width: 18px; height: 18px; }

.ti-drawer { display: none; }          /* oculto hasta abrir en mobile */
.ti-drawer__scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(58,5,6,.5);
  opacity: 0; transition: opacity var(--t-base) var(--ease);
}
.ti-drawer__panel {
  position: fixed; top: 0; left: 0; z-index: 91;
  width: min(86vw, 360px); height: 100%;
  background: var(--blanco);
  display: flex; flex-direction: column;
  box-shadow: 0 0 40px rgba(58,5,6,.28);
  transform: translateX(-100%);
  transition: transform var(--t-base) var(--ease);
}
.ti-drawer.is-open { display: block; }
.ti-drawer.is-open .ti-drawer__scrim { opacity: 1; }
.ti-drawer.is-open .ti-drawer__panel { transform: translateX(0); }

.ti-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--linea);
  flex: 0 0 auto;
}
.ti-drawer__title {
  font-family: var(--font-display);
  font-size: 26px; line-height: 1; letter-spacing: .03em;
  color: var(--guinda);
}
.ti-drawer__close {
  width: 40px; height: 40px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: transparent; border: none; cursor: pointer;
  color: var(--guinda); border-radius: var(--r-sm);
  transition: background var(--t-fast) var(--ease);
}
.ti-drawer__close:hover { background: var(--crema); }
.ti-drawer__close .ic { width: 24px; height: 24px; }
.ti-drawer__body {
  flex: 1 1 auto; overflow-y: auto;
  padding: 22px;
}
.ti-drawer__body .ti-side__block:first-child { padding-top: 0; }
.ti-drawer__foot {
  flex: 0 0 auto;
  padding: 16px 22px; border-top: 1px solid var(--linea);
}
.ti-drawer__apply { width: 100%; justify-content: center; }

/* ───────── TRUST STRIP ───────── */
.ti-trust { background: var(--crema); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.ti-trust__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: 44px;
}
.ti-trust__item {
  display: flex; align-items: center; gap: 16px;
  padding: 6px 26px; text-align: left;
}
.ti-trust__item + .ti-trust__item { border-left: 1px solid var(--linea); }
.ti-trust__ic {
  flex: 0 0 auto;
  width: 48px; height: 48px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--blanco); color: var(--guinda);
  border: 1px solid var(--linea);
  box-shadow: var(--shadow-sm);
}
.ti-trust__ic .ic { width: 24px; height: 24px; }
.ti-trust__txt { display: flex; flex-direction: column; gap: 3px; }
.ti-trust__t {
  font-family: var(--font-body); font-weight: 900;
  font-size: 15px; color: var(--tinta);
}
.ti-trust__d { font-size: 13.5px; line-height: 1.4; color: var(--fg2); }

/* ───────── RESPONSIVE ───────── */
@media (max-width: 920px) {
  .ti-pgrid { grid-template-columns: repeat(2, 1fr); }
  .ti-trust__inner { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .ti-trust__item:nth-child(odd) { border-left: none; }
  .ti-trust__item:nth-child(even) { border-left: 1px solid var(--linea); }
}
@media (max-width: 768px) {
  /* Patrón Aruma/MercadoLibre/Falabella: sin sidebar, botón + drawer */
  .ti-shop__grid { grid-template-columns: 1fr; }
  .ti-side { display: none; }
  .ti-filterbar {
    display: block; background: var(--crema);
    padding: 14px 28px;
    border-bottom: 1px solid var(--linea);
  }
}
@media (max-width: 560px) {
  .ti-pgrid { grid-template-columns: 1fr; }
  .ti-trust__inner { grid-template-columns: 1fr; gap: 22px; padding-block: 34px; }
  .ti-trust__item { border-left: none !important; padding-inline: 4px; }
}

/* ───────── MÓVIL (≤560px) ─────────*/
@media (max-width: 560px) {
  /* dos productos por fila: evita una tienda de 4.000px */
  .ti-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ti-card__name { font-size: 16px; }
  .ti-card__add { min-height: 44px; font-size: 12px; padding-inline: 10px; }
  .ti-card__price { font-size: 16px; }
  /* hit targets */
  .ti-tab { min-height: 44px; }
  .ti-sort select, .ti-sort { min-height: 44px; font-size: 16px; }
  .ti-filter-btn { min-height: 44px; }
  .ti-crumb__inner { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ti-crumb__inner::-webkit-scrollbar { display: none; }
  .ti-crumb__inner > * { flex: none; white-space: nowrap; }
  .ti-cta__title { font-size: clamp(30px, 8.5vw, 40px); }
}

/* ───────── VARIANTE COMPACTA (móvil) ─────────*/
@media (max-width: 560px) {
  html.fz-compact .ti-card__name { font-size: 15px; }
  html.fz-compact .ti-card__cat { font-size: 10.5px; }
  html.fz-compact .ti-pgrid { gap: 10px; }
  html.fz-compact .ti-cta__title { font-size: clamp(26px, 7.5vw, 32px); }
  html.fz-compact .ti-drawer__title { font-size: 22px; }
  html.fz-compact .ti-side__h { font-size: 17px; }
}

/* ───────── TARJETA CONTENIDA TIPO ARUMA (todos los anchos) ───────── */
.ti-card {
  background: var(--blanco); border: 1px solid var(--linea);
  border-radius: var(--r-md); box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow var(--t-base) var(--ease);
}
.ti-card:hover { box-shadow: var(--shadow-lg); }
.ti-card__media { border: 0; border-radius: 0; border-bottom: 1px solid var(--linea); }
.ti-card__body { padding: 16px 18px 20px; gap: 6px; }
@media (max-width: 560px) {
  .ti-pgrid { gap: 10px; }
  .ti-card__body { padding: 12px 12px 14px; gap: 5px; }
  .ti-card__name { font-size: 15px; line-height: 1.04; }
  .ti-card__dots { margin-top: 6px; }
}
.ti-card__price s { white-space: nowrap; } /* precio en una sola linea */

/* ===== ficha.css ===== */
/* FICHA DE PRODUCTO — Frazada Tigre Alpaca · Frazadas Santa Catalina
   Usa tokens de colors_and_type.css / kit.css. Estilos propios de la página. */

:root { --fp-green: #1F7A4D; --fp-green-bg: #EAF5EE; }

/* ───────── BREADCRUMB ───────── */
.fp-crumb { background: var(--blanco); border-bottom: 1px solid var(--linea); }
.fp-crumb__inner {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding-block: 8px;
  font-family: var(--font-body); font-size: 12px; color: #888;
}
.fp-crumb__link { color: var(--guinda); text-decoration: none; }
.fp-crumb__link:hover { text-decoration: underline; }
.fp-crumb__sep { color: #c4b8b0; }
.fp-crumb__current { color: #888; }

/* ───────── LAYOUT PRINCIPAL ───────── */
.fp-main { background: var(--blanco); padding-block: clamp(28px, 4vw, 52px); }
.fp-main__grid {
  display: grid; grid-template-columns: 55fr 45fr;
  gap: clamp(28px, 4vw, 60px); align-items: start;
}

/* ───────── GALERÍA ───────── */
.fp-gallery { position: sticky; top: 84px; }
.fp-stage {
  position: relative;
  background: var(--crema);
  border: 1px solid var(--linea);
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.fp-stage__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: opacity var(--t-base) var(--ease);
}
.fp-badge-pop {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  background: var(--guinda); color: #fff;
  font-family: var(--font-body); font-weight: 900;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 14px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
.fp-zoom {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 40px; height: 40px; border-radius: var(--r-pill);
  display: grid; place-items: center;
  background: rgba(255,255,255,.86); color: var(--guinda);
  border: 1px solid var(--linea); backdrop-filter: blur(4px);
  box-shadow: var(--shadow-sm);
}
.fp-zoom .ic { width: 19px; height: 19px; }

.fp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.fp-thumb {
  position: relative; padding: 0; cursor: pointer;
  background: var(--crema);
  border: 2px solid var(--linea);
  border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 1 / 1;
  transition: border-color var(--t-fast) var(--ease);
}
.fp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-thumb:hover { border-color: var(--dorado); }
.fp-thumb.is-active { border-color: var(--guinda); }

/* ───────── INFO ───────── */
.fp-info__over {
  display: block;
  font-family: var(--font-body); font-weight: 700;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--dorado); margin-bottom: 10px;
}
.fp-info__title {
  font-family: var(--font-display); color: var(--guinda);
  font-size: clamp(40px, 5vw, 52px); line-height: .94; letter-spacing: .015em;
  margin: 0;
}
.fp-rating { display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.fp-rating .stars { display: inline-flex; }
.fp-rating__num { font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--tinta); }
.fp-rating__sep { color: var(--linea); }
.fp-rating__link { font-size: 13px; color: var(--guinda); text-decoration: underline; cursor: pointer; }

/* precio */
.fp-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.fp-price__now { font-family: var(--font-display); color: var(--guinda); font-size: 56px; line-height: .9; letter-spacing: .01em; }
.fp-price__was { font-family: var(--font-body); color: var(--tinta-3); font-size: 18px; text-decoration: line-through; }
.fp-save {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--fp-green-bg); color: var(--fp-green);
  font-family: var(--font-body); font-weight: 900;
  font-size: 12px; letter-spacing: .04em;
  padding: 7px 13px; border-radius: var(--r-pill); margin-top: 14px;
}

.fp-rule { height: 1px; background: var(--linea); border: 0; margin: 26px 0; }

/* selector etiqueta común */
.fp-sel__label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--tinta);
  margin-bottom: 14px;
}
.fp-sel__label b { color: var(--guinda); }
.fp-sel__help { font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: none; color: var(--guinda); text-decoration: none; }
.fp-sel__help:hover { text-decoration: underline; }

/* color dots */
.fp-colors { display: flex; gap: 18px; flex-wrap: wrap; }
.fp-color { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; }
.fp-color__dot {
  width: 28px; height: 28px; border-radius: var(--r-pill);
  border: 1px solid rgba(43,29,26,.18);
  outline: 2px solid transparent; outline-offset: 3px;
  transition: outline-color var(--t-fast) var(--ease);
}
.fp-color.is-on .fp-color__dot { outline-color: var(--guinda); }
.fp-color__name { font-family: var(--font-body); font-size: 11px; color: var(--fg2); text-align: center; max-width: 64px; line-height: 1.2; }
.fp-color.is-on .fp-color__name { color: var(--tinta); font-weight: 700; }

/* size pills */
.fp-sizes { display: flex; gap: 10px; flex-wrap: wrap; }
.fp-size {
  font-family: var(--font-body); font-weight: 700; font-size: 13.5px;
  padding: 11px 18px; border-radius: var(--r-sm); cursor: pointer;
  background: var(--blanco); color: var(--fg2);
  border: 1.5px solid var(--linea);
  transition: all var(--t-fast) var(--ease);
}
.fp-size:hover { border-color: var(--dorado); color: var(--tinta); }
.fp-size.is-on { background: var(--guinda); color: #fff; border-color: var(--guinda); }

/* cantidad + cta */
.fp-buy { display: flex; gap: 12px; margin-top: 26px; }
.fp-qty {
  display: flex; align-items: center; flex: 0 0 auto;
  border: 1.5px solid var(--linea); border-radius: var(--r-sm);
  height: 52px; overflow: hidden;
}
.fp-qty__btn {
  width: 42px; height: 100%; border: 0; background: transparent; cursor: pointer;
  color: var(--guinda); display: grid; place-items: center;
  transition: background var(--t-fast) var(--ease);
}
.fp-qty__btn:hover { background: var(--crema); }
.fp-qty__btn:disabled { color: var(--tinta-3); cursor: not-allowed; }
.fp-qty__btn .ic { width: 17px; height: 17px; }
.fp-qty__val { min-width: 34px; text-align: center; font-family: var(--font-body); font-weight: 700; font-size: 16px; color: var(--tinta); }
.fp-add {
  flex: 1 1 auto; height: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 900;
  font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
  background: var(--guinda); color: #fff; border: 0; border-radius: var(--r-pill);
  cursor: pointer; box-shadow: var(--shadow-card);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.fp-add:hover { background: var(--guinda-700); }
.fp-add:active { transform: translateY(1px); }
.fp-add .ic { width: 18px; height: 18px; }
.fp-add--added { background: var(--fp-green); }
.fp-secondary {
  width: 100%; margin-top: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  background: transparent; color: var(--guinda);
  border: 1.5px solid var(--guinda); border-radius: var(--r-pill);
  padding: 13px 22px; cursor: pointer; text-decoration: none;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.fp-secondary:hover { background: var(--guinda); color: #fff; }
.fp-secondary .ic { width: 16px; height: 16px; }

/* trust rápido */
.fp-trust { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 26px; }
.fp-trust__item { display: flex; align-items: center; gap: 9px; font-family: var(--font-body); font-size: 13px; color: var(--fg2); }
.fp-trust__item .ic { width: 18px; height: 18px; color: var(--guinda); flex: 0 0 auto; }
.fp-trust__item b { color: var(--tinta); font-weight: 700; }

/* features pills */
.fp-features { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.fp-feature {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--crema); border: 1px solid var(--dorado);
  border-radius: var(--r-pill); padding: 8px 15px;
  font-family: var(--font-body); font-size: 12.5px; font-weight: 700; color: var(--tinta);
}
.fp-feature .ic { width: 15px; height: 15px; color: var(--guinda); }

/* ───────── TABS ───────── */
.fp-tabs { background: var(--blanco); border-top: 1px solid var(--linea); padding-block: clamp(36px, 5vw, 64px); }
.fp-tabs__nav {
  display: flex; gap: 6px; flex-wrap: wrap;
  border-bottom: 1px solid var(--linea); margin-bottom: 36px;
}
.fp-tab {
  position: relative; background: transparent; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 700;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--fg2); padding: 14px 18px;
  transition: color var(--t-fast) var(--ease);
}
.fp-tab:hover { color: var(--tinta); }
.fp-tab:focus { outline: none; }
.fp-tab:focus-visible { outline: none; color: var(--guinda); }
.fp-tab.is-on { color: var(--guinda); }
.fp-tab.is-on::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 3px;
  background: var(--guinda); border-radius: 3px 3px 0 0;
}

.fp-panel { font-family: var(--font-body); color: var(--fg2); }
.fp-panel__h { font-family: var(--font-display); color: var(--guinda); font-size: 30px; letter-spacing: .02em; margin: 0 0 18px; }

/* descripción 2 cols */
.fp-desc { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 4vw, 56px); }
.fp-desc__p { font-size: 16px; line-height: 1.7; color: var(--fg2); }
.fp-specs { list-style: none; padding: 0; margin: 0; }
.fp-specs li { position: relative; padding: 0 0 0 22px; margin-bottom: 13px; font-size: 14.5px; color: var(--tinta); line-height: 1.45; }
.fp-specs li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--guinda); }
.fp-specs b { color: var(--guinda); font-weight: 900; }

/* tabla simple */
.fp-table { width: 100%; border-collapse: collapse; max-width: 640px; }
.fp-table tr { border-bottom: 1px solid var(--linea); }
.fp-table th, .fp-table td { text-align: left; padding: 14px 16px; font-size: 14.5px; }
.fp-table th { font-family: var(--font-body); font-weight: 900; color: var(--guinda); width: 38%; letter-spacing: .02em; }
.fp-table td { color: var(--tinta); }
.fp-table tr:nth-child(odd) { background: var(--crema); }
.fp-note { margin-top: 16px; font-size: 13px; font-style: italic; color: var(--fg3); }

/* cuidados */
.fp-care { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 720px; }
.fp-care__item {
  display: flex; align-items: center; gap: 14px;
  background: var(--crema); border: 1px solid var(--linea);
  border-radius: var(--r-md); padding: 16px 18px;
}
.fp-care__ic { width: 42px; height: 42px; flex: 0 0 auto; border-radius: var(--r-pill); background: var(--blanco); border: 1px solid var(--linea); display: grid; place-items: center; color: var(--guinda); }
.fp-care__ic .ic { width: 21px; height: 21px; }
.fp-care__t { font-size: 14.5px; color: var(--tinta); font-weight: 700; }

/* reseñas */
.fp-rev { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.fp-rev__sum { text-align: center; background: var(--crema); border: 1px solid var(--linea); border-radius: var(--r-lg); padding: 28px 22px; }
.fp-rev__avg { font-family: var(--font-display); color: var(--guinda); font-size: 64px; line-height: .9; }
.fp-rev__sum .stars { justify-content: center; margin: 8px 0 6px; }
.fp-rev__count { font-family: var(--font-body); font-size: 13px; color: var(--fg2); }
.fp-bars { margin-top: 22px; display: flex; flex-direction: column; gap: 9px; }
.fp-bar { display: grid; grid-template-columns: 32px 1fr 38px; align-items: center; gap: 10px; }
.fp-bar__lbl { font-family: var(--font-body); font-size: 12px; color: var(--fg2); display: flex; align-items: center; gap: 3px; }
.fp-bar__lbl .ic { width: 11px; height: 11px; color: var(--star); fill: var(--star); }
.fp-bar__track { height: 7px; background: var(--linea-2); border-radius: var(--r-pill); overflow: hidden; }
.fp-bar__fill { height: 100%; background: var(--star); border-radius: var(--r-pill); }
.fp-bar__pct { font-family: var(--font-body); font-size: 12px; color: var(--fg2); text-align: right; }

.fp-rev__list { display: flex; flex-direction: column; gap: 16px; }
.fp-review {
  background: var(--blanco); border: 1px solid var(--linea);
  border-radius: var(--r-md); padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.fp-review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.fp-review__top .stars { display: inline-flex; }
.fp-review__gmark { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-size: 12px; color: var(--fg2); }
.fp-review__q { font-family: var(--font-body); font-size: 15px; line-height: 1.6; color: var(--tinta); margin: 0 0 14px; quotes: none; }
.fp-review__who { display: flex; align-items: center; gap: 12px; }
.fp-review__ini { width: 40px; height: 40px; flex: 0 0 auto; border-radius: var(--r-pill); background: var(--guinda); color: #fff; display: grid; place-items: center; font-family: var(--font-body); font-weight: 900; font-size: 14px; }
.fp-review__nm { font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--tinta); }
.fp-review__date { font-family: var(--font-body); font-size: 12px; color: var(--fg3); }
.fp-rev__cta { margin-top: 22px; }

/* ───────── RELACIONADOS ───────── */
.fp-rel { background: var(--crema); padding-block: var(--section-y); }
.fp-rel__head { text-align: center; margin-bottom: 40px; }
.fp-rel__over { display: block; font-family: var(--font-body); font-weight: 700; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--dorado); margin-bottom: 10px; }
.fp-rel__title { font-family: var(--font-display); color: var(--guinda); font-size: clamp(34px, 4.5vw, 46px); letter-spacing: .02em; margin: 0; }
.fp-rel__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.fp-card { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease); }
.fp-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.fp-card__media { background: var(--crema); aspect-ratio: 1 / 1; overflow: hidden; }
.fp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-base) var(--ease); }
.fp-card:hover .fp-card__media img { transform: scale(1.04); }
.fp-card__body { padding: 16px 18px 20px; }
.fp-card__cat { display: block; font-family: var(--font-body); font-weight: 700; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dorado); margin-bottom: 6px; }
.fp-card__name { font-family: var(--font-display); color: var(--guinda); font-size: 23px; line-height: 1; letter-spacing: .01em; margin: 0 0 10px; }
.fp-card__rating { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; }
.fp-card__rating .stars { display: inline-flex; }
.fp-card__rnum { font-family: var(--font-body); font-size: 12px; color: var(--fg2); }
.fp-card__price { font-family: var(--font-display); color: var(--guinda); font-size: 26px; letter-spacing: .01em; }
.fp-card__dots { display: flex; gap: 7px; margin-top: 12px; }
.fp-card__dot { width: 15px; height: 15px; border-radius: var(--r-pill); border: 1px solid rgba(43,29,26,.15); }

/* estrellas (override tamaño en ficha si hace falta) */
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars .ic, .stars svg { width: 16px; height: 16px; }

/* ───────── STICKY BAR MOBILE ───────── */
.fp-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; align-items: center; gap: 12px;
  background: var(--blanco); border-top: 1px solid var(--linea);
  box-shadow: 0 -8px 24px rgba(58,5,6,.10);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  transform: translateY(110%); transition: transform var(--t-base) var(--ease);
}
.fp-sticky.is-show { transform: translateY(0); }
.fp-sticky__img { width: 46px; height: 46px; flex: 0 0 auto; border-radius: var(--r-sm); object-fit: cover; background: var(--crema); border: 1px solid var(--linea); }
.fp-sticky__info { flex: 1 1 auto; min-width: 0; }
.fp-sticky__nm { font-family: var(--font-body); font-weight: 700; font-size: 12.5px; color: var(--tinta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-sticky__price { font-family: var(--font-display); color: var(--guinda); font-size: 22px; line-height: 1; }
.fp-sticky__btn {
  flex: 0 0 auto; border: 0; cursor: pointer;
  background: var(--guinda); color: #fff; border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 900; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 13px 18px;
}
.fp-sticky__btn:active { background: var(--guinda-700); }

/* ───────── RESPONSIVE ───────── */
@media (max-width: 920px) {
  .fp-main__grid { grid-template-columns: 1fr; gap: 30px; }
  .fp-gallery { position: static; }
  .fp-stage { aspect-ratio: 1 / 1; }
  .fp-desc { grid-template-columns: 1fr; }
  .fp-rev { grid-template-columns: 1fr; }
  .fp-rel__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .fp-sticky { display: flex; }
  .fp-care { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .fp-rel__grid { grid-template-columns: 1fr; }
  .fp-price__now { font-size: 46px; }
  .fp-buy { flex-wrap: wrap; }
  .fp-table th { width: 46%; }
}

/* ───────── VARIANTE COMPACTA (móvil) ─────────
   Se activa con la clase .fz-compact en <html>. Baja la escala secundaria y el
   aire vertical, y mantiene intacto el display Bebas como firma de marca.
   Nada táctil baja de 44px y ningún campo baja de 16px. */
@media (max-width: 560px) {
  html.fz-compact { --section-y: 58px; }

  html.fz-compact .fp-main { padding-block: 20px 26px; }
  html.fz-compact .fp-main__grid { gap: 24px; }
  html.fz-compact .fp-info__title { font-size: 32px; }
  html.fz-compact .fp-info__over { font-size: 10.5px; margin-bottom: 8px; }
  html.fz-compact .fp-rating { margin-top: 11px; }
  html.fz-compact .fp-price { margin-top: 16px; gap: 11px; }
  html.fz-compact .fp-price__now { font-size: 32px; }
  html.fz-compact .fp-price__was { font-size: 16px; }
  html.fz-compact .fp-sel__label { font-size: 12.5px; margin-bottom: 11px; }
  html.fz-compact .fp-buy { margin-top: 20px; }
  html.fz-compact .fp-qty, html.fz-compact .fp-add { height: 46px; }
  html.fz-compact .fp-trust { margin-top: 20px; gap: 10px 20px; }
  html.fz-compact .fp-trust__item { font-size: 12.5px; }
  html.fz-compact .fp-features { margin-top: 18px; gap: 8px; }
  html.fz-compact .fp-thumbs { gap: 7px; margin-top: 10px; }

  html.fz-compact .fp-tabs { padding-block: 30px; }
  html.fz-compact .fp-tabs__nav { margin-bottom: 22px; }
  html.fz-compact .fp-desc__p { font-size: 15.5px; line-height: 1.65; }
  html.fz-compact .fp-specs li { font-size: 14px; margin-bottom: 11px; }
  html.fz-compact .fp-table th, html.fz-compact .fp-table td { padding: 11px 13px; font-size: 13.5px; }
  html.fz-compact .fp-care__item { padding: 13px 14px; }
  html.fz-compact .fp-care__ic { width: 36px; height: 36px; }

  html.fz-compact .fp-rel__head { margin-bottom: 20px; }
  html.fz-compact .fp-rel__title { font-size: 26px; }
  html.fz-compact .fp-rel__over { font-size: 10.5px; margin-bottom: 8px; }
  html.fz-compact .fp-rel__grid { gap: 10px; }
  html.fz-compact .fp-card__name { font-size: 14px; }
}
@media (max-width: 560px) {
  /* migas en una línea deslizable en vez de envolverse en dos */
  .fp-crumb__inner { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .fp-crumb__inner::-webkit-scrollbar { display: none; }
  .fp-crumb__inner > * { flex: none; white-space: nowrap; }

  /* galería: la imagen manda, se pasa con swipe */
  .fp-stage { touch-action: pan-y; }
  .fp-thumbs { grid-template-columns: repeat(4, 1fr); gap: 8px; }

  /* compra */
  .fp-size { min-height: 44px; }
  .fp-color { min-width: 44px; }
  .fp-sel__help { min-height: 32px; display: inline-flex; align-items: center; }
  .fp-price__now { font-size: 42px; }
  .fp-buy { flex-wrap: nowrap; gap: 10px; }
  .fp-qty { height: 50px; }
  .fp-add { height: 50px; font-size: 13px; padding-inline: 14px; }

  /* pestañas: una sola fila deslizable, no tres filas apiladas */
  .fp-tabs__nav {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; margin-bottom: 26px; gap: 0;
  }
  .fp-tabs__nav::-webkit-scrollbar { display: none; }
  .fp-tab { flex: none; white-space: nowrap; padding-inline: 14px; font-size: 12.5px; }
  .fp-tab.is-on::after { left: 14px; right: 14px; }

  /* relacionados: 2 por fila en vez de una columna interminable */
  .fp-rel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .fp-rel__head { margin-bottom: 26px; }
  .fp-rel__title { font-size: clamp(30px, 8.5vw, 38px); }
  .fp-card__name { font-size: 14.5px; }
  .fp-card__price { font-size: 16px; }

  /* la barra fija no debe tapar el final de la página ni la home bar del iPhone */
  .fp-sticky { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .fp-sticky__btn { min-height: 44px; }
  .footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* el carrusel del producto estrella (Tigre) en el Home estaba recortando las fotos
 * (object-fit:cover heredado de .photo.has-img .photo-img, mas especifico que la regla
 * .photo--product .photo-img:contain pensada para esto) y cortaba parte del encuadre
 * original. Forzamos que se vea la foto completa sin recortar. */
.spotcar__slide .photo-img{ object-fit:contain !important; background:var(--crema,#F9F0EC); }
