/** Shopify CDN: Minification failed

Line 66:0 All "@import" rules must come first

**/
/* ============================================================
   CONFIGURATOR · Brand A (Editorial)
   Sylaris para Annur Modesty.
   ============================================================ */

/* ============================================================
   Reveals · fade-in al hacer scroll (IntersectionObserver)
   ============================================================ */
[data-cfg-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-cfg-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Variante lateral (para hero info) */
[data-cfg-reveal="left"] {
  transform: translateX(-24px) translateY(0);
}
[data-cfg-reveal="left"].is-revealed {
  transform: translateX(0) translateY(0);
}

[data-cfg-reveal="right"] {
  transform: translateX(24px) translateY(0);
}
[data-cfg-reveal="right"].is-revealed {
  transform: translateX(0) translateY(0);
}

/* Variante "zoom" suave */
[data-cfg-reveal="zoom"] {
  opacity: 0;
  transform: scale(0.97);
}
[data-cfg-reveal="zoom"].is-revealed {
  opacity: 1;
  transform: scale(1);
}

/* Respeta usuarios con motion reducido */
@media (prefers-reduced-motion: reduce) {
  [data-cfg-reveal],
  [data-cfg-reveal="left"],
  [data-cfg-reveal="right"],
  [data-cfg-reveal="zoom"] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* Fuentes desde Google Fonts (solo si el tema no las trae ya) */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   Tokens · paleta y tipografía Brand A
   ============================================================ */
.cfg {
  --cfg-bg: #f5f0e4;
  --cfg-cream: #f5f0e4;
  --cfg-rose: #d4a299;
  --cfg-terra: #8b3a2e;
  --cfg-walnut: #5a4a40;
  --cfg-ink: #1a1614;
  --cfg-line: rgba(26, 22, 20, 0.12);
  --cfg-line-soft: rgba(26, 22, 20, 0.08);
  --cfg-font-display: 'Cormorant Garamond', Georgia, serif;
  --cfg-font-body: 'Inter', system-ui, -apple-system, sans-serif;

  background: var(--cfg-bg);
  color: var(--cfg-ink);
  font-family: var(--cfg-font-body);
  padding: 80px 0;
}

/* En modo producto siempre hay stage o HERO al inicio: cero padding-top */
.cfg--product { padding-top: 0; }

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

.cfg__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================================
   Intro · eyebrow + título + subtítulo
   ============================================================ */
.cfg-intro {
  margin-bottom: 56px;
  max-width: 760px;
}

.cfg-eyebrow {
  display: block;
  font-family: var(--cfg-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cfg-terra);
  margin-bottom: 22px;
}

.cfg-title {
  font-family: var(--cfg-font-display);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.005em;
  margin: 0 0 12px;
  color: var(--cfg-ink);
}

.cfg-sub {
  font-family: var(--cfg-font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--cfg-walnut);
  margin: 0;
  max-width: 560px;
}

/* ============================================================
   Tier selector · 3 cards con border conjunto (Brand A)
   ============================================================ */
.cfg-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--cfg-line);
  margin-bottom: 36px;
}

.cfg-tier {
  appearance: none;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--cfg-line);
  padding: 40px 32px 36px;
  font-family: inherit;
  color: inherit;
  text-align: center;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.cfg-tier:last-child { border-right: 0; }
.cfg-tier:hover { background: rgba(139, 58, 46, 0.04); }
.cfg-tier:focus-visible { outline: 2px solid var(--cfg-terra); outline-offset: -3px; }

.cfg-tier.is-active { background: var(--cfg-ink); color: var(--cfg-cream); }
.cfg-tier.is-active .cfg-tier__roman { color: var(--cfg-rose); }
.cfg-tier.is-active .cfg-tier__desc { color: rgba(245, 240, 228, 0.7); }
.cfg-tier.is-active .cfg-tier__price { color: var(--cfg-rose); }
.cfg-tier.is-active .cfg-tier__list { border-top-color: rgba(245, 240, 228, 0.15); }
.cfg-tier.is-active .cfg-tier__list li { color: rgba(245, 240, 228, 0.7); }
.cfg-tier.is-active .cfg-tier__list li::before { background: var(--cfg-rose); }
.cfg-tier.is-active .cfg-tier__cta { background: var(--cfg-cream); color: var(--cfg-ink); }

/* Tier deshabilitado · "Próximamente" */
.cfg-tier.is-disabled {
  opacity: 0.65;
  position: relative;
}

.cfg-tier.is-disabled:hover {
  background: rgba(26, 22, 20, 0.02);
}

.cfg-tier.is-disabled .cfg-tier__cta {
  background: transparent;
  color: var(--cfg-walnut);
  border: 1px solid rgba(26, 22, 20, 0.25);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--cfg-font-display);
  font-size: 13px;
  font-weight: 400;
}

.cfg-tier__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 12px;
  background: var(--cfg-ink);
  color: var(--cfg-cream);
  font-family: var(--cfg-font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  z-index: 2;
}

.cfg-tier__roman {
  font-family: var(--cfg-font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cfg-terra);
  margin-bottom: 14px;
  display: block;
}

.cfg-tier__name {
  font-family: var(--cfg-font-display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1;
  margin: 0 0 12px;
  color: inherit;
}

.cfg-tier__desc {
  font-family: var(--cfg-font-display);
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(26, 22, 20, 0.65);
  margin: 0 0 20px;
  min-height: 50px;
}

.cfg-tier__price {
  font-family: var(--cfg-font-display);
  font-weight: 300;
  font-size: 56px;
  line-height: 1;
  color: var(--cfg-terra);
  margin: 12px 0 24px;
}

.cfg-tier__price small {
  font-family: var(--cfg-font-body);
  font-size: 18px;
  font-weight: 400;
  color: inherit;
  opacity: 0.6;
  margin-left: 4px;
}

.cfg-tier__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 16px 0 0;
  text-align: left;
  border-top: 1px solid var(--cfg-line-soft);
  flex: 1;
}

.cfg-tier__list li {
  padding: 6px 0 6px 18px;
  position: relative;
  font-family: var(--cfg-font-body);
  font-size: 13.5px;
  color: rgba(26, 22, 20, 0.7);
  line-height: 1.4;
}

.cfg-tier__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 10px;
  height: 1px;
  background: rgba(26, 22, 20, 0.4);
}

.cfg-tier__cta {
  display: block;
  padding: 13px 28px;
  background: var(--cfg-ink);
  color: var(--cfg-cream);
  font-family: var(--cfg-font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  margin-top: auto;
  transition: opacity 180ms ease;
}

.cfg-tier:hover .cfg-tier__cta { opacity: 0.82; }

/* ============================================================
   Buscador de la landing
   ============================================================ */
.cfg-search {
  margin: 0 0 28px;
}

.cfg-search__field {
  position: relative;
  display: flex;
  align-items: center;
  background: #faf6ec;
  border: 1px solid var(--cfg-line);
  transition: border-color 180ms ease, background 180ms ease;
}

.cfg-search__field:focus-within {
  border-color: var(--cfg-terra);
  background: #fff;
}

.cfg-search__icon {
  position: absolute;
  left: 18px;
  width: 18px;
  height: 18px;
  color: var(--cfg-walnut);
  pointer-events: none;
}

.cfg-search input[type="search"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 16px 48px 16px 50px;
  font-family: var(--cfg-font-body);
  font-size: 15px;
  color: var(--cfg-ink);
  letter-spacing: 0.01em;
}

.cfg-search input[type="search"]::placeholder {
  color: rgba(26, 22, 20, 0.42);
  font-style: italic;
  font-family: var(--cfg-font-display);
}

.cfg-search input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

.cfg-search__clear {
  position: absolute;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(26, 22, 20, 0.06);
  color: var(--cfg-walnut);
  border: 0;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--cfg-font-body);
  transition: background 180ms ease, color 180ms ease;
}
.cfg-search__clear:hover {
  background: var(--cfg-ink);
  color: var(--cfg-cream);
}

.cfg-search__count {
  margin: 10px 4px 0;
  font-family: var(--cfg-font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cfg-walnut);
  min-height: 18px;
}

.cfg-search__empty {
  padding: 56px 24px;
  text-align: center;
  border: 1px dashed var(--cfg-line);
  background: rgba(255, 255, 255, 0.4);
  margin-bottom: 28px;
}

.cfg-search__empty p {
  font-family: var(--cfg-font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--cfg-walnut);
  margin: 0;
}

.cfg-search__empty strong {
  font-style: normal;
  color: var(--cfg-terra);
}

@media (max-width: 640px) {
  .cfg-search input[type="search"] { font-size: 14px; padding: 14px 44px 14px 46px; }
}

/* ============================================================
   Showcase landing · grid de cards editoriales (v2)
   ============================================================ */
.cfg-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}

.cfg-card {
  display: flex;
  flex-direction: column;
  background: #faf6ec;
  border: 1px solid var(--cfg-line);
  text-decoration: none;
  color: inherit;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 220ms ease;
  position: relative;
  overflow: hidden;
}

.cfg-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 58, 46, 0.3);
  box-shadow: 0 18px 40px rgba(26, 22, 20, 0.08);
}

.cfg-card:focus-visible {
  outline: 2px solid var(--cfg-terra);
  outline-offset: 3px;
}

.cfg-card--disabled {
  cursor: default;
  opacity: 0.78;
}

.cfg-card--disabled:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--cfg-line);
}

.cfg-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ebe5d6;
  position: relative;
}

.cfg-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms ease;
}

.cfg-card:hover .cfg-card__media img {
  transform: scale(1.04);
}

.cfg-card__noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--cfg-font-display);
  font-size: 72px;
  font-weight: 300;
  color: var(--cfg-walnut);
}

.cfg-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  background: var(--cfg-ink);
  color: var(--cfg-cream);
  font-family: var(--cfg-font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 999px;
  z-index: 2;
}

.cfg-card__body {
  padding: 26px 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cfg-card__roman {
  font-family: var(--cfg-font-display);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cfg-terra);
  margin-bottom: 10px;
}

.cfg-card__name {
  font-family: var(--cfg-font-display);
  font-weight: 400;
  font-size: 38px;
  line-height: 1;
  margin: 0 0 12px;
  color: var(--cfg-ink);
}

.cfg-card__desc {
  font-family: var(--cfg-font-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(26, 22, 20, 0.65);
  margin: 0 0 18px;
}

.cfg-card__list {
  list-style: none;
  margin: 0 0 22px;
  padding: 14px 0 0;
  border-top: 1px solid var(--cfg-line-soft);
}

.cfg-card__list li {
  padding: 5px 0 5px 16px;
  position: relative;
  font-family: var(--cfg-font-body);
  font-size: 13px;
  color: rgba(26, 22, 20, 0.7);
  line-height: 1.4;
}

.cfg-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 1px;
  background: rgba(26, 22, 20, 0.4);
}

.cfg-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--cfg-line-soft);
}

.cfg-card__price {
  font-family: var(--cfg-font-display);
  font-weight: 300;
  font-size: 38px;
  line-height: 1;
  color: var(--cfg-terra);
}

.cfg-card__price small {
  font-family: var(--cfg-font-body);
  font-size: 14px;
  font-weight: 400;
  color: inherit;
  opacity: 0.6;
  margin-left: 3px;
}

.cfg-card__cta {
  font-family: var(--cfg-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cfg-ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--cfg-ink);
  transition: color 180ms ease, border-color 180ms ease;
}

.cfg-card:hover .cfg-card__cta {
  color: var(--cfg-terra);
  border-bottom-color: var(--cfg-terra);
}

.cfg-card--disabled .cfg-card__cta {
  color: var(--cfg-walnut);
  border-bottom-color: transparent;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--cfg-font-display);
  font-size: 14px;
  font-weight: 400;
}

@media (max-width: 1100px) {
  .cfg-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .cfg-showcase {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .cfg-card__name { font-size: 32px; }
  .cfg-card__price { font-size: 32px; }
  .cfg-card__body { padding: 22px 22px 20px; }
}

/* ============================================================
   Intro · variante producto (más recogida)
   ============================================================ */
.cfg-intro--product {
  margin-bottom: 40px;
  text-align: left;
}

/* ============================================================
   PRE-HERO STAGE · sticky mosaic full-screen + scroll arrow
   Ocultado provisionalmente (decisión del cliente)
   ============================================================ */
.cfg-stage {
  display: none !important;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  z-index: 1;
  /* El stage ocupa 100vh completo: se mete por debajo del header (que tiene
     z-index mayor en el tema) y compensa el flujo del documento por abajo
     con un margin-bottom negativo del mismo tamaño */
  margin-top: calc(-1 * var(--header-height, 80px));
  /* margin-bottom: calc(-1 * var(--header-height, 80px)); */
}

.cfg-stage__grid {
  display: grid;
  height: 100%;
  width: 100%;
}

.cfg-stage__cell {
  overflow: hidden;
  background: #ebe5d6;
  position: relative;
}

.cfg-stage__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease-out;
}

.cfg-stage__cell:hover img {
  transform: scale(1.04);
}

/* Layouts según número de fotos · DESKTOP */
.cfg-stage__grid[data-count="1"] {
  grid-template-columns: 1fr;
}

.cfg-stage__grid[data-count="2"] {
  grid-template-columns: 1fr 1fr;
}

.cfg-stage__grid[data-count="3"] {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.cfg-stage__grid[data-count="3"] .cfg-stage__cell--1 {
  grid-column: 1;
  grid-row: span 2;
}

.cfg-stage__grid[data-count="4"] {
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.cfg-stage__grid[data-count="4"] .cfg-stage__cell--1 {
  grid-column: 1;
  grid-row: span 2;
}
.cfg-stage__grid[data-count="4"] .cfg-stage__cell--4 {
  grid-column: span 2;
}

.cfg-stage__grid[data-count="5"] {
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.cfg-stage__grid[data-count="5"] .cfg-stage__cell--1 {
  grid-column: 1;
  grid-row: span 2;
}

/* Scroll arrow · llamativo, animado */
.cfg-stage__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--cfg-cream);
  font-family: var(--cfg-font-body);
  font-size: 10.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 10px 14px 10px 22px;
  background: rgba(11, 10, 9, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 240, 228, 0.28);
  border-radius: 999px;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
  animation: cfgStageFloat 2.4s ease-in-out infinite;
}

.cfg-stage__scroll:hover {
  background: var(--cfg-cream);
  color: var(--cfg-ink);
  border-color: var(--cfg-cream);
}

.cfg-stage__scroll-text {
  display: inline-block;
}

.cfg-stage__scroll-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(245, 240, 228, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cfg-stage__scroll-arrow svg {
  width: 14px;
  height: 14px;
}

.cfg-stage__scroll:hover .cfg-stage__scroll-arrow {
  background: rgba(26, 22, 20, 0.1);
}

@keyframes cfgStageFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* OVERSTAGE · contiene hero + configurador, se superpone sobre el stage */
.cfg-overstage {
  position: relative;
  z-index: 2;
  background: var(--cfg-bg);
  /* clip lateral · evita scroll horizontal del body por transforms internos
     (clip no afecta a sticky como hidden) */
  overflow-x: clip;
}

/* El hero ya no necesita su propio background, lo da el overstage */
.cfg-overstage .cfg-hero {
  background: transparent;
}

/* MÓVIL · stage simplificado, scroll arrow más pequeño */
@media (max-width: 760px) {
  .cfg-stage {
    height: 100vh;
    height: 100svh;
  }

  .cfg-stage__grid[data-count="3"] {
    grid-template-columns: 1fr;
    grid-template-rows: 2fr 1fr 1fr;
  }
  .cfg-stage__grid[data-count="3"] .cfg-stage__cell--1 {
    grid-column: 1;
    grid-row: 1;
  }

  .cfg-stage__grid[data-count="4"] {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 2fr 1fr 1fr;
  }
  .cfg-stage__grid[data-count="4"] .cfg-stage__cell--1 {
    grid-column: span 2;
    grid-row: 1;
  }
  .cfg-stage__grid[data-count="4"] .cfg-stage__cell--4 {
    grid-column: span 2;
    grid-row: 3;
  }

  .cfg-stage__grid[data-count="5"] {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 2fr 1fr 1fr;
  }
  .cfg-stage__grid[data-count="5"] .cfg-stage__cell--1 {
    grid-column: span 2;
    grid-row: 1;
  }

  .cfg-stage__scroll {
    bottom: 28px;
    font-size: 10px;
    letter-spacing: 0.28em;
    padding: 12px 20px;
    gap: 10px;
  }
  .cfg-stage__scroll-arrow { width: 22px; height: 22px; }
  .cfg-stage__scroll-arrow svg { width: 12px; height: 12px; }
}

/* ============================================================
   HERO de producto · galería + info split (PDP Pack)
   ============================================================ */
.cfg-hero {
  background: var(--cfg-bg);
  padding: 56px 0 64px;
}

.cfg-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Galería · imagen principal grande */
.cfg-hero__gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cfg-hero__main {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 60vh;
  background: #ebe5d6;
  overflow: hidden;
  width: 1;
}

/* Slider · slides en stack absoluto, fade entre ellas (estilo historia) */
.cfg-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 900ms cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.cfg-hero__slide.is-active { opacity: 1; pointer-events: auto; }

/* Dots abajo · estilo historia */
.cfg-hero__dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(11, 10, 9, 0.4);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cfg-hero__dot {
  appearance: none;
  background: rgba(245, 240, 228, 0.4);
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transition: all 240ms ease;
}
.cfg-hero__dot.is-active {
  background: var(--cfg-cream);
  width: 22px;
  border-radius: 4px;
}

.cfg-hero__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 280ms ease;
}

.cfg-hero__noimg {
  aspect-ratio: 4 / 5;
  max-height: 70vh;
  background: #ebe5d6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--cfg-walnut);
  font-family: var(--cfg-font-display);
  gap: 16px;
}
.cfg-hero__noimg span { font-size: 96px; font-weight: 300; line-height: 1; }
.cfg-hero__noimg small {
  font-family: var(--cfg-font-body);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(26, 22, 20, 0.5);
}

.cfg-hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f5f0e4;
  color: var(--cfg-ink);
  border: 1px solid rgba(26, 22, 20, 0.08);
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 4px 14px rgba(26, 22, 20, 0.08);
}
.cfg-hero__nav svg {
  width: 18px;
  height: 18px;
  display: block;
}
.cfg-hero__nav:hover {
  background: var(--cfg-ink);
  color: var(--cfg-cream);
  border-color: var(--cfg-ink);
  transform: translateY(-50%) scale(1.05);
}
.cfg-hero__nav--prev { left: 16px; }
.cfg-hero__nav--next { right: 16px; }
.cfg-hero__nav--prev:hover { transform: translateY(-50%) scale(1.05); }
.cfg-hero__nav--next:hover { transform: translateY(-50%) scale(1.05); }

.cfg-hero__counter {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11, 10, 9, 0.65);
  color: var(--cfg-cream);
  padding: 4px 14px;
  border-radius: 999px;
  font-family: var(--cfg-font-body);
  font-size: 11px;
  letter-spacing: 0.06em;
  z-index: 2;
}

.cfg-hero__thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.cfg-hero__thumb {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  opacity: 0.55;
  transition: opacity 180ms ease, outline-color 180ms ease;
  outline: 1px solid transparent;
  outline-offset: -1px;
}

.cfg-hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cfg-hero__thumb:hover { opacity: 0.85; }
.cfg-hero__thumb.is-active {
  opacity: 1;
  outline-color: var(--cfg-terra);
  outline-width: 2px;
}

/* Info lateral */
.cfg-hero__info {
  padding: 8px 0 0;
}

.cfg-hero__name {
  font-family: var(--cfg-font-display);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  margin: 18px 0 18px;
  color: var(--cfg-ink);
  letter-spacing: -0.01em;
}

.cfg-hero__name em {
  font-style: italic;
  color: var(--cfg-terra);
}

.cfg-hero__desc {
  font-family: var(--cfg-font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--cfg-walnut);
  margin: 0 0 28px;
}

.cfg-hero__includes {
  list-style: none;
  margin: 0 0 36px;
  padding: 22px 0 24px;
  border-top: 1px solid var(--cfg-line);
  border-bottom: 1px solid var(--cfg-line);
}

.cfg-hero__includes li {
  padding: 7px 0 7px 20px;
  position: relative;
  font-family: var(--cfg-font-body);
  font-size: 14px;
  color: rgba(26, 22, 20, 0.75);
  line-height: 1.45;
}

.cfg-hero__includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 12px;
  height: 1px;
  background: var(--cfg-terra);
}

.cfg-hero__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cfg-hero__price {
  font-family: var(--cfg-font-display);
  font-weight: 300;
  font-size: 56px;
  line-height: 1;
  color: var(--cfg-terra);
  letter-spacing: -0.02em;
}

.cfg-hero__price small {
  font-family: var(--cfg-font-body);
  font-size: 18px;
  font-weight: 400;
  color: inherit;
  opacity: 0.6;
  margin-left: 4px;
}

.cfg-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: var(--cfg-ink);
  color: var(--cfg-cream);
  font-family: var(--cfg-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: background 180ms ease;
}

.cfg-hero__cta:hover { background: var(--cfg-terra); color: var(--cfg-cream); }

.cfg-hero__cta--disabled {
  background: transparent;
  color: var(--cfg-walnut);
  border: 1px solid rgba(26, 22, 20, 0.25);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--cfg-font-display);
  font-size: 15px;
  font-weight: 400;
  cursor: not-allowed;
}

/* Responsive hero */
@media (max-width: 960px) {
  .cfg-hero { padding: 36px 0 48px; }
  .cfg-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 22px;
  }
  .cfg-hero__name { margin-top: 12px; }
  .cfg-hero__thumbs { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 560px) {
  .cfg-hero__foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cfg-hero__cta { width: 100%; justify-content: center; }
  .cfg-hero__price { font-size: 46px; }
  .cfg-hero__thumbs { grid-template-columns: repeat(4, 1fr); }
  .cfg-hero__nav { width: 36px; height: 36px; font-size: 22px; }
}

/* En modo --product, el "active mount" no necesita el espacio superior grande */
.cfg-active-mount--auto { margin-top: 0; padding-top: 64px; }
.cfg--product .cfg__container { padding-bottom: 80px; }

/* ============================================================
   VARIANTE REVISTA · cinematic full-width
   ============================================================ */
.cfg--revista { padding: 0; }

.cfg-rv-hero {
  position: relative;
  height: 78vh;
  min-height: 560px;
  max-height: 820px;
  overflow: hidden;
  background: var(--cfg-ink);
  display: flex;
  align-items: flex-end;
  color: var(--cfg-cream);
}

.cfg-rv-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.cfg-rv-hero__veil {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.cfg-rv-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 56px 72px;
}

.cfg-rv-hero__eyebrow {
  display: block;
  font-family: var(--cfg-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cfg-rose);
  margin-bottom: 22px;
}

.cfg-rv-hero__name {
  font-family: var(--cfg-font-display);
  font-weight: 300;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.95;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
  color: var(--cfg-cream);
  max-width: 880px;
}

.cfg-rv-hero__desc {
  font-family: var(--cfg-font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: rgba(245, 240, 228, 0.85);
  margin: 0 0 36px;
  max-width: 620px;
}

.cfg-rv-hero__foot {
  display: flex;
  align-items: flex-end;
  gap: 48px;
}

.cfg-rv-hero__price {
  font-family: var(--cfg-font-display);
  font-weight: 300;
  font-size: 64px;
  line-height: 1;
  color: var(--cfg-cream);
  letter-spacing: -0.02em;
}
.cfg-rv-hero__price small {
  font-family: var(--cfg-font-body);
  font-size: 18px;
  font-weight: 400;
  color: rgba(245, 240, 228, 0.65);
  margin-left: 4px;
}

.cfg-rv-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 36px;
  background: var(--cfg-cream);
  color: var(--cfg-ink);
  font-family: var(--cfg-font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 200ms ease, transform 200ms ease;
}
.cfg-rv-hero__cta:hover {
  background: var(--cfg-rose);
  transform: translateY(-2px);
}
.cfg-rv-hero__cta--disabled {
  background: transparent;
  color: var(--cfg-rose);
  border: 1px solid rgba(245, 240, 228, 0.3);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--cfg-font-display);
  font-size: 16px;
  font-weight: 400;
  cursor: not-allowed;
}

/* Strip de includes */
.cfg-rv-strip {
  background: var(--cfg-cream);
  border-bottom: 1px solid var(--cfg-line);
}

.cfg-rv-strip__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 56px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cfg-rv-strip__label {
  font-family: var(--cfg-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cfg-terra);
}

.cfg-rv-strip__list {
  list-style: none;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  flex: 1;
}

.cfg-rv-strip__list li {
  font-family: var(--cfg-font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--cfg-walnut);
}

.cfg-rv-strip__list li + li::before {
  content: '·';
  margin-right: 28px;
  color: rgba(26, 22, 20, 0.3);
  font-style: normal;
  font-weight: 500;
}

/* Configurador interior · cada step más cinematic */
.cfg--revista .cfg-active { padding-top: 80px; }

.cfg--revista .cfg-active-chip { display: none; }

.cfg--revista .cfg-active__title {
  font-size: clamp(44px, 5.5vw, 64px);
  margin-bottom: 56px;
  text-align: center;
}

.cfg--revista .cfg-active__grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.cfg--revista .cfg-steps { gap: 96px; }

.cfg--revista .cfg-step {
  padding: 48px 0;
  border-top: 1px solid var(--cfg-line);
}
.cfg--revista .cfg-step:first-child { border-top: 0; padding-top: 0; }

.cfg--revista .cfg-step__head {
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 28px;
  margin-bottom: 40px;
  padding-bottom: 24px;
}

.cfg--revista .cfg-step__num {
  font-size: 96px;
  line-height: 0.85;
}

.cfg--revista .cfg-step__title {
  font-size: 44px;
  line-height: 1.05;
}

.cfg--revista .cfg-step__subtitle {
  font-size: 18px;
  margin-top: 8px;
}

.cfg--revista .cfg-step__count {
  grid-column: 1 / -1;
  justify-self: end;
  font-size: 13px;
  padding-top: 8px;
}

.cfg--revista .cfg-products {
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (min-width: 1280px) {
  .cfg--revista .cfg-products { grid-template-columns: repeat(4, 1fr); }
}

.cfg--revista .cfg-product__img { aspect-ratio: 3 / 4; }

.cfg--revista .cfg-product__name {
  font-size: 19px;
  margin-top: 14px;
}

/* Summary al final como sección destacada */
.cfg--revista .cfg-summary {
  position: static;
  margin-top: 96px;
}

.cfg--revista .cfg-summary__inner {
  padding: 56px 56px 48px;
  max-width: 720px;
  margin: 0 auto;
}

.cfg--revista .cfg-summary__name { font-size: 48px; }

@media (max-width: 880px) {
  .cfg-rv-hero { min-height: 500px; max-height: 700px; }
  .cfg-rv-hero__content { padding: 0 22px 48px; }
  .cfg-rv-hero__foot { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cfg-rv-strip__inner { padding: 28px 22px; gap: 18px; }
  .cfg-rv-strip__list { gap: 14px; }
  .cfg-rv-strip__list li { font-size: 15px; }
  .cfg-rv-strip__list li + li::before { margin-right: 14px; }

  .cfg--revista .cfg-active { padding-top: 48px; }
  .cfg--revista .cfg-steps { gap: 56px; }
  .cfg--revista .cfg-step__num { font-size: 56px; }
  .cfg--revista .cfg-step__title { font-size: 28px; }
  .cfg--revista .cfg-products { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cfg--revista .cfg-summary__inner { padding: 36px 22px 28px; }
  .cfg--revista .cfg-summary__name { font-size: 32px; }
}

/* ============================================================
   VARIANTE GUIADO v3 · scroll horizontal completo
   Hero como pane 0, steps como panes, productos slider
   ============================================================ */
.cfg--guiado {
  padding: 0;
  margin-top: calc(-1 * var(--header-height, 80px));
  padding-bottom: 0;
  background: var(--cfg-cream);
}

/* ====================== STAGE horizontal ====================== */
.cfg-gd-stage {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  height: 100vh;
  height: 100svh;
}
.cfg-gd-stage::-webkit-scrollbar { display: none; }

/* Hacer que el flujo del configurador (mount > active > grid > steps + summary)
   no rompa el flex del stage · display:contents propaga los hijos */
.cfg--guiado .cfg-active-mount,
.cfg--guiado .cfg-active,
.cfg--guiado .cfg-active__grid,
.cfg--guiado .cfg-steps { display: contents; }
.cfg--guiado .cfg-active-chip { display: none; }
.cfg--guiado .cfg-active__title { display: none; }

/* Cada pane (hero, step, summary) ocupa 100vw */
.cfg-gd-pane,
.cfg--guiado .cfg-step,
.cfg--guiado .cfg-summary {
  flex: 0 0 100vw;
  width: 100vw;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
  min-height: 100svh;
  height: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

/* ====================== HERO pane ====================== */
/* HERO pane del guiado · estilo split (galería + info) igual que pack-personalizado */
.cfg-gd-pane--hero {
  background: var(--cfg-bg);
  color: var(--cfg-ink);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height, 80px) + 40px) clamp(28px, 5vw, 72px) 140px;
}

.cfg-gd-hero__inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Galería */
.cfg-gd-hero__gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cfg-gd-hero__main {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 70vh;
  background: #ebe5d6;
  overflow: hidden;
}
.cfg-gd-hero__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 280ms ease;
}
.cfg-gd-hero__noimg {
  aspect-ratio: 4 / 5;
  max-height: 70vh;
  background: #ebe5d6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--cfg-font-display);
  font-size: 96px;
  color: var(--cfg-walnut);
}

.cfg-gd-hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f5f0e4;
  color: var(--cfg-ink);
  border: 1px solid rgba(26, 22, 20, 0.08);
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  box-shadow: 0 4px 14px rgba(26, 22, 20, 0.08);
}
.cfg-gd-hero__nav svg { width: 18px; height: 18px; display: block; }
.cfg-gd-hero__nav:hover {
  background: var(--cfg-ink);
  color: var(--cfg-cream);
  border-color: var(--cfg-ink);
}
.cfg-gd-hero__nav--prev { left: 16px; }
.cfg-gd-hero__nav--next { right: 16px; }

.cfg-gd-hero__counter {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11, 10, 9, 0.65);
  color: var(--cfg-cream);
  padding: 4px 14px;
  border-radius: 999px;
  font-family: var(--cfg-font-body);
  font-size: 11px;
  letter-spacing: 0.06em;
  z-index: 2;
}

.cfg-gd-hero__thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.cfg-gd-hero__thumb {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  aspect-ratio: 1;
  overflow: hidden;
  opacity: 0.55;
  transition: opacity 180ms ease, outline-color 180ms ease;
  outline: 1px solid transparent;
  outline-offset: -1px;
}
.cfg-gd-hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cfg-gd-hero__thumb:hover { opacity: 0.85; }
.cfg-gd-hero__thumb.is-active {
  opacity: 1;
  outline-color: var(--cfg-terra);
  outline-width: 2px;
}

/* Info lateral */
.cfg-gd-hero__info {
  padding: 8px 0 0;
}
.cfg-gd-hero__name {
  font-family: var(--cfg-font-display);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  margin: 18px 0 18px;
  color: var(--cfg-ink);
  letter-spacing: -0.01em;
}
.cfg-gd-hero__name em {
  font-style: italic;
  color: var(--cfg-terra);
}
.cfg-gd-hero__desc {
  font-family: var(--cfg-font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--cfg-walnut);
  margin: 0 0 28px;
}
.cfg-gd-hero__includes {
  list-style: none;
  margin: 0 0 36px;
  padding: 22px 0 24px;
  border-top: 1px solid var(--cfg-line);
  border-bottom: 1px solid var(--cfg-line);
}
.cfg-gd-hero__includes li {
  padding: 7px 0 7px 20px;
  position: relative;
  font-family: var(--cfg-font-body);
  font-size: 14px;
  color: rgba(26, 22, 20, 0.75);
  line-height: 1.45;
}
.cfg-gd-hero__includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 12px;
  height: 1px;
  background: var(--cfg-terra);
}
.cfg-gd-hero__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cfg-gd-hero__price {
  font-family: var(--cfg-font-display);
  font-weight: 300;
  font-size: 56px;
  line-height: 1;
  color: var(--cfg-terra);
  letter-spacing: -0.02em;
}
.cfg-gd-hero__price small {
  font-family: var(--cfg-font-body);
  font-size: 18px;
  font-weight: 400;
  color: inherit;
  opacity: 0.6;
  margin-left: 4px;
}
/* CTA Empezar dentro del split hero del guiado */
.cfg-gd-hero__cta {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--cfg-ink);
  color: var(--cfg-cream);
  border: 0;
  font-family: var(--cfg-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease;
}
.cfg-gd-hero__cta:hover { background: var(--cfg-terra); }
.cfg-gd-hero__cta--disabled {
  background: transparent;
  color: var(--cfg-walnut);
  border: 1px solid rgba(26, 22, 20, 0.25);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--cfg-font-display);
  font-size: 15px;
  font-weight: 400;
  cursor: not-allowed;
}

/* Stepper legacy: oculto, se reemplaza por la barra fija inferior */
.cfg-gd-stepper { display: none; }
.cfg-gd-nav { display: none; }

/* ====================== STEP pane (en guiado) ====================== */
.cfg--guiado .cfg-step {
  padding: calc(var(--header-height, 80px) + 32px) clamp(28px, 5vw, 72px) 140px;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  background: var(--cfg-cream);
  animation: none !important;
  height: fit-content;
  min-height: 100vh;
  min-height: 100svh;
  overflow-y: visible;
}
.cfg--guiado .cfg-step__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: end;
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--cfg-line);
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.cfg--guiado .cfg-step__num {
  font-family: var(--cfg-font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.9;
  color: var(--cfg-rose);
  background: transparent;
  border: 0;
  width: auto;
  height: auto;
}
.cfg--guiado .cfg-step__heads { padding: 0 0 4px; }
.cfg--guiado .cfg-step__title {
  font-family: var(--cfg-font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.05;
  color: var(--cfg-ink);
  margin: 0;
}
.cfg--guiado .cfg-step__subtitle {
  font-style: italic;
  font-size: 16px;
  color: var(--cfg-walnut);
  margin-top: 6px;
}
.cfg--guiado .cfg-step__count {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  color: var(--cfg-terra);
  background: transparent;
  border: 1px solid var(--cfg-line);
  align-self: center;
}

/* ====================== Productos como SLIDER horizontal ====================== */
.cfg--guiado .cfg-products {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 18px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-left: clamp(28px, 5vw, 72px);
  padding: 6px clamp(28px, 5vw, 72px) 24px;
  margin: 0 calc(-1 * clamp(28px, 5vw, 72px));
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  max-width: none;
  height: fit-content;
}
.cfg--guiado .cfg-products::-webkit-scrollbar { display: none; }

.cfg--guiado .cfg-product {
  flex: 0 0 220px;
  width: 220px;
  align-self: flex-start;
  height: auto;
  scroll-snap-align: start;
}

/* Título del producto siempre visible, multilínea, sin truncar */
.cfg--guiado .cfg-product__name {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  display: block;
  line-height: 1.25;
}
.cfg--guiado .cfg-product__meta {
  white-space: normal;
  overflow: visible;
}

/* Scrollbar visual del slider de productos (inyectada por JS) */
.cfg-gd-scrollbar {
  height: 4px;
  background: rgba(26, 22, 20, 0.15);
  margin: 14px clamp(28px, 5vw, 72px) 0;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  width: calc(100% - 2 * clamp(28px, 5vw, 72px));
  align-self: center;
}
.cfg-gd-scrollbar__thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--cfg-terra);
  border-radius: 2px;
  width: 30%;
  transition: left 100ms ease, width 200ms ease;
  box-shadow: 0 0 0 1px rgba(139, 58, 46, 0.2);
}

/* Flechas slider productos (inyectadas por JS) */
.cfg-gd-prod-nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 14px clamp(28px, 5vw, 72px) 0 0;
  max-width: 1200px;
  align-self: center;
  width: 100%;
}
.cfg-gd-prod-nav__btn {
  appearance: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: transparent;
  color: var(--cfg-ink);
  border: 1px solid var(--cfg-line);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 200ms ease;
}
.cfg-gd-prod-nav__btn:hover {
  background: var(--cfg-ink);
  color: var(--cfg-cream);
  border-color: var(--cfg-ink);
}
.cfg-gd-prod-nav__btn svg { width: 16px; height: 16px; display: block; }

/* ====================== Summary pane ====================== */
.cfg--guiado .cfg-summary {
  padding: calc(var(--header-height, 80px) + 32px) clamp(28px, 5vw, 72px) 140px !important;
  background: var(--cfg-ink) !important;
  color: var(--cfg-cream) !important;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border: 0 !important;
  margin: 0 !important;
  position: relative !important;
  top: auto !important;
  height: 100vh !important;
  max-height: 100vh !important;
  min-height: 100vh !important;
  overflow-y: auto !important;
}
.cfg--guiado .cfg-summary__inner {
  max-width: 720px;
  width: 100%;
  padding: 0;
  background: transparent;
}
.cfg--guiado .cfg-summary__name {
  font-family: var(--cfg-font-display);
  font-size: clamp(40px, 5vw, 56px);
  color: var(--cfg-cream);
}
.cfg--guiado .cfg-summary__name em { color: var(--cfg-rose); }

/* CTA "Añadir al carrito" visible dentro del summary pane · destacado */
.cfg--guiado .cfg-summary__cta {
  display: block;
  margin-top: 28px;
  padding: 20px 32px;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  background: var(--cfg-rose);
  color: var(--cfg-ink);
}
.cfg--guiado .cfg-summary__cta:hover:not(:disabled) {
  background: var(--cfg-cream);
}

/* ====================== Responsive móvil ====================== */
@media (max-width: 960px) {
  .cfg-gd-pane--hero { padding: calc(var(--header-height, 80px) + 24px) 22px 160px; }
  .cfg-gd-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cfg-gd-hero__main { max-height: 50vh; }
  .cfg-gd-hero__name { font-size: clamp(36px, 8vw, 48px); margin-top: 12px; }
  .cfg-gd-hero__desc { font-size: 16px; margin-bottom: 24px; }
  .cfg-gd-hero__price { font-size: 42px; }
  .cfg-gd-hero__thumbs { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 560px) {
  .cfg-gd-hero__foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cfg-gd-hero__cta { width: 100%; justify-content: center; }
  .cfg-gd-hero__thumbs { grid-template-columns: repeat(4, 1fr); }
  .cfg-gd-hero__nav { width: 38px; height: 38px; }
}

@media (max-width: 760px) {

  .cfg--guiado .cfg-step {
    padding: calc(var(--header-height, 80px) + 24px) 20px 200px;
  }
  .cfg--guiado .cfg-step__head {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 14px;
  }
  .cfg--guiado .cfg-step__num { font-size: 44px; }
  .cfg--guiado .cfg-step__title { font-size: 24px; }
  .cfg--guiado .cfg-step__count {
    grid-column: 1 / -1;
    justify-self: start;
    align-self: auto;
  }
  .cfg--guiado .cfg-product { flex: 0 0 160px; width: 160px; }
  .cfg--guiado .cfg-products {
    gap: 12px;
    padding: 6px 20px 20px;
    margin: 0 -20px;
    scroll-padding-left: 20px;
  }
  .cfg-gd-prod-nav { display: none; }
  .cfg-gd-scrollbar {
    margin: 14px 20px 0;
    width: calc(100% - 40px);
    height: 6px;
    background: rgba(26, 22, 20, 0.22);
  }
  .cfg-gd-scrollbar__thumb {
    background: var(--cfg-terra);
    box-shadow: 0 0 0 1px rgba(139, 58, 46, 0.3);
  }

  .cfg--guiado .cfg-summary {
    padding: calc(var(--header-height, 80px) + 24px) 20px 200px !important;
  }
  .cfg--guiado .cfg-summary__name { font-size: 32px; }
}

/* ============================================================
   Barra inferior fija (modo guiado) · self-contained, hex literales
   Nota · vive en <body>, fuera de .cfg, NO usa CSS variables
   ============================================================ */
.cfg-gd-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999999;
  background: #faf6ec;
  border-top: 1px solid #1a1614;
  box-shadow: 0 -16px 40px rgba(26, 22, 20, 0.1);
  padding: 18px 32px env(safe-area-inset-bottom, 18px);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1a1614;
  animation: cfgGdBarIn 380ms cubic-bezier(0.16, 1, 0.3, 1);
}
.cfg-gd-bar *,
.cfg-gd-bar *::before,
.cfg-gd-bar *::after { box-sizing: border-box; }

@keyframes cfgGdBarIn {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cfg-gd-bar__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.cfg-gd-bar__progress { min-width: 0; }

.cfg-gd-bar__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 12px;
}

.cfg-gd-bar__label {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
  color: #5a4a40;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}
.cfg-gd-bar__label strong {
  font-weight: 700;
  color: #1a1614;
}

.cfg-gd-bar__dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Dots con NÚMERO visible */
.cfg-gd-dot {
  appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: transparent;
  color: #5a4a40;
  border: 1px solid rgba(26, 22, 20, 0.2);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: all 180ms ease;
}
.cfg-gd-dot:hover:not(:disabled) {
  border-color: #1a1614;
  color: #1a1614;
}
.cfg-gd-dot.is-done {
  background: #8b3a2e;
  color: #f5f0e4;
  border-color: #8b3a2e;
}
.cfg-gd-dot.is-current {
  background: #1a1614;
  color: #f5f0e4;
  border-color: #1a1614;
  transform: scale(1.1);
  box-shadow: 0 3px 10px rgba(26, 22, 20, 0.2);
}
.cfg-gd-dot:disabled { cursor: not-allowed; opacity: 0.45; }

.cfg-gd-bar__track {
  height: 2px;
  background: rgba(26, 22, 20, 0.08);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}
.cfg-gd-bar__track span {
  display: block;
  height: 100%;
  background: #8b3a2e;
  transition: width 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.cfg-gd-bar__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cfg-gd-bar__btn {
  appearance: none;
  border: 0;
  padding: 16px 28px;
  background: transparent;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 200ms ease;
  white-space: nowrap;
  line-height: 1;
  border-radius: 2px;
}

.cfg-gd-bar__btn--prev {
  color: #5a4a40;
  background: transparent;
  padding: 14px 18px;
  border: 1px solid rgba(26, 22, 20, 0.18);
}
.cfg-gd-bar__btn--prev:hover:not(:disabled) {
  color: #1a1614;
  border-color: #1a1614;
}
.cfg-gd-bar__btn--prev:disabled { opacity: 0.3; cursor: not-allowed; }

.cfg-gd-bar__btn--next,
.cfg-gd-bar__btn--add {
  background: #1a1614;
  color: #f5f0e4;
  min-width: 220px;
}
.cfg-gd-bar__btn--next:hover:not(:disabled) {
  background: #8b3a2e;
}

.cfg-gd-bar__btn--add {
  background: #8b3a2e;
}
.cfg-gd-bar__btn--add:hover { background: #1a1614; }

.cfg-gd-bar__btn--next:disabled {
  background: rgba(26, 22, 20, 0.45);
  color: rgba(245, 240, 228, 0.85);
  cursor: not-allowed;
}

@media (max-width: 760px) {
  .cfg--guiado { padding-bottom: 200px; }
  .cfg-gd-bar { padding: 14px 18px env(safe-area-inset-bottom, 14px); }
  .cfg-gd-bar__inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cfg-gd-bar__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
  }
  .cfg-gd-bar__label { font-size: 11.5px; }
  .cfg-gd-bar__dots { gap: 6px; }
  .cfg-gd-dot { width: 24px; height: 24px; font-size: 11px; }
  .cfg-gd-bar__actions { width: 100%; }
  .cfg-gd-bar__btn--prev { flex: 0 0 auto; padding: 14px 14px; }
  .cfg-gd-bar__btn--next, .cfg-gd-bar__btn--add { flex: 1; padding: 16px 18px; min-width: 0; }
}

/* Solo el step activo visible */
.cfg--guiado .cfg-steps { gap: 0; }
.cfg--guiado .cfg-step { display: none; }
.cfg--guiado .cfg-step.is-active-step {
  display: block;
  animation: cfgGdIn 300ms cubic-bezier(0.16, 1, 0.3, 1);
}
.cfg--guiado .cfg-step__head { padding-bottom: 20px; margin-bottom: 28px; }
.cfg--guiado .cfg-active__grid { grid-template-columns: 1fr; gap: 0; }

/* Summary oculto hasta el final */
.cfg--guiado .cfg-summary { display: none; }
.cfg--guiado .cfg-summary.is-shown-final {
  display: block;
  animation: cfgGdIn 360ms cubic-bezier(0.16, 1, 0.3, 1);
  position: static;
  max-width: 720px;
  margin: 0 auto;
  padding-top: 24px;
}
.cfg--guiado .cfg-summary.is-shown-final .cfg-summary__inner {
  padding: 40px 36px 32px;
}
.cfg--guiado .cfg-summary.is-shown-final .cfg-summary__name { font-size: 40px; }
/* En el resumen final ocultamos el botón cart del summary
   porque ya está en la barra inferior fija */
.cfg--guiado .cfg-summary.is-shown-final .cfg-summary__cta {
  display: none;
}

@keyframes cfgGdIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Active title más sutil en guiado (el chip ya da el contexto) */
.cfg--guiado .cfg-active__title { display: none; }

/* Nav abajo */
.cfg-gd-nav {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 0 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.cfg-gd-nav__btn {
  appearance: none;
  border: 0;
  padding: 14px 28px;
  background: transparent;
  font-family: var(--cfg-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 180ms ease;
}

.cfg-gd-nav__btn--prev {
  color: var(--cfg-walnut);
  border: 1px solid var(--cfg-line);
}
.cfg-gd-nav__btn--prev:hover:not(:disabled) {
  border-color: var(--cfg-ink);
  color: var(--cfg-ink);
}
.cfg-gd-nav__btn--prev:disabled { opacity: 0.4; cursor: not-allowed; }

.cfg-gd-nav__btn--next {
  background: var(--cfg-ink);
  color: var(--cfg-cream);
  flex: 1;
  max-width: 320px;
}
.cfg-gd-nav__btn--next:hover:not(:disabled) { background: var(--cfg-terra); }
.cfg-gd-nav__btn--next:disabled {
  background: transparent;
  color: var(--cfg-walnut);
  border: 1px solid var(--cfg-line);
  cursor: not-allowed;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--cfg-font-display);
  font-weight: 400;
  font-size: 14px;
}

@media (max-width: 760px) {
  .cfg-gd-hero { padding: 36px 0 24px; }
  .cfg-gd-hero__inner {
    grid-template-columns: 100px 1fr;
    gap: 20px;
    padding: 0 22px;
  }
  .cfg-gd-hero__img { aspect-ratio: 1; }
  .cfg-gd-stepper { margin-bottom: 16px; }
  .cfg-gd-dot { width: 26px; height: 26px; font-size: 11px; }
  .cfg-gd-stepper__dots { gap: 10px; }
  .cfg-gd-nav { flex-direction: column; }
  .cfg-gd-nav__btn--next { max-width: none; width: 100%; }
  .cfg-gd-nav__btn--prev { width: 100%; }
}

/* ============================================================
   Hint
   ============================================================ */
.cfg-hint {
  margin-top: 36px;
  padding: 24px 28px;
  text-align: center;
  font-family: var(--cfg-font-body);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(26, 22, 20, 0.5);
}

.cfg-hint.is-hidden { display: none; }

/* ============================================================
   Active block · aparece al elegir tier
   ============================================================ */
.cfg-active-mount { margin-top: 64px; }
.cfg-active-mount:empty { display: none; }

.cfg-active {
  animation: cfgSlideUp 360ms ease both;
}

@keyframes cfgSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cfg-active-chip {
  display: none !important;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(139, 58, 46, 0.08);
  color: var(--cfg-terra);
  border-radius: 999px;
  font-family: var(--cfg-font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.cfg-active-chip::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--cfg-terra);
  border-radius: 50%;
}

.cfg-active__title {
  font-family: var(--cfg-font-display);
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 300;
  line-height: 1.04;
  margin: 0 0 40px;
  color: var(--cfg-ink);
}

.cfg-active__title em {
  font-style: italic;
  color: var(--cfg-terra);
}

/* Grid del bloque activo · pasos a la izquierda, summary a la derecha */
.cfg-active__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}

/* ============================================================
   Summary · panel sticky lateral
   ============================================================ */
.cfg-summary {
  position: sticky;
  top: 90px;
  align-self: start;
}

.cfg-summary__inner {
  background: var(--cfg-ink);
  color: var(--cfg-cream);
  padding: 32px 30px 28px;
}

.cfg-summary__label {
  font-family: var(--cfg-font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cfg-rose);
  margin-bottom: 6px;
}

.cfg-summary__name {
  font-family: var(--cfg-font-display);
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  margin: 0 0 6px;
  color: var(--cfg-cream);
}

.cfg-summary__name em {
  font-style: italic;
}

.cfg-summary__progress {
  font-family: var(--cfg-font-display);
  font-style: italic;
  font-size: 15px;
  color: rgba(245, 240, 228, 0.55);
  margin: 0 0 22px;
}

.cfg-summary__items {
  list-style: none;
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid rgba(245, 240, 228, 0.15);
  border-bottom: 1px solid rgba(245, 240, 228, 0.15);
}

.cfg-summary__item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 9px 0;
  font-family: var(--cfg-font-body);
  font-size: 13.5px;
}

/* Imagen pequeña en summary items · oculta por default, visible en guiado/revista */
.cfg-summary__itemImg {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  object-fit: cover;
  background: rgba(245, 240, 228, 0.08);
}
.cfg-summary__itemImg--noimg {
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--cfg-font-display);
  font-style: italic;
  font-size: 18px;
  color: rgba(245, 240, 228, 0.55);
}
.cfg-summary__itemImg--placeholder {
  display: none;
  background: rgba(245, 240, 228, 0.05);
  border: 1px dashed rgba(245, 240, 228, 0.18);
}

.cfg--product .cfg-summary__itemImg {
  display: block;
}
.cfg--product .cfg-summary__itemImg--noimg {
  display: flex;
}
.cfg--product .cfg-summary__itemImg--placeholder {
  display: block;
}

.cfg--product .cfg-summary__item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(245, 240, 228, 0.08);
  align-items: center;
}
.cfg--product .cfg-summary__item:last-child {
  border-bottom: 0;
}
.cfg--product .cfg-summary__items {
  padding: 8px 0;
}

.cfg-summary__itemLab {
  flex: 1;
  color: rgba(245, 240, 228, 0.85);
  text-transform: capitalize;
}

.cfg-summary__itemLab small {
  display: block;
  font-family: var(--cfg-font-display);
  font-style: italic;
  font-size: 13px;
  color: rgba(245, 240, 228, 0.55);
  margin-top: 2px;
  text-transform: none;
}

.cfg-summary__itemLab small em {
  color: var(--cfg-rose);
  font-style: italic;
  font-weight: 500;
}

.cfg-summary__itemPr {
  font-family: var(--cfg-font-display);
  font-size: 16px;
  color: var(--cfg-rose);
  white-space: nowrap;
}

.cfg-summary__itemPr--included {
  font-style: italic;
  font-size: 13px;
  color: rgba(245, 240, 228, 0.45);
  font-family: var(--cfg-font-display);
}

.cfg-summary__itemPr--surcharge {
  color: var(--cfg-rose);
  font-weight: 500;
  font-family: var(--cfg-font-body);
  font-size: 14px;
  padding: 2px 8px;
  background: rgba(212, 162, 153, 0.18);
  border-radius: 999px;
}

.cfg-summary__item--empty {
  color: rgba(245, 240, 228, 0.4);
}

.cfg-summary__item--empty .cfg-summary__itemLab,
.cfg-summary__item--empty .cfg-summary__itemLab small,
.cfg-summary__item--empty .cfg-summary__itemPr {
  color: rgba(245, 240, 228, 0.4);
  font-style: italic;
}

.cfg-summary__totals {
  padding: 18px 0 4px;
}

.cfg-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 4px 0;
}

.cfg-summary__row--small {
  font-family: var(--cfg-font-body);
  font-size: 12.5px;
  color: rgba(245, 240, 228, 0.6);
}

.cfg-summary__row--total {
  padding-top: 14px;
}

.cfg-summary__totalLbl {
  font-family: var(--cfg-font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 228, 0.55);
  font-weight: 500;
}

.cfg-summary__totalVal {
  font-family: var(--cfg-font-display);
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  color: var(--cfg-cream);
  letter-spacing: -0.02em;
}

.cfg-summary__totalVal small {
  font-family: var(--cfg-font-body);
  font-size: 16px;
  font-weight: 400;
  color: rgba(245, 240, 228, 0.55);
  margin-left: 4px;
}

.cfg-summary__cta {
  appearance: none;
  display: block;
  width: 100%;
  padding: 18px;
  border: 0;
  background: var(--cfg-cream);
  color: var(--cfg-ink);
  font-family: var(--cfg-font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 18px;
  transition: all 180ms ease;
}

.cfg-summary__cta:hover:not(:disabled) {
  background: var(--cfg-rose);
}

.cfg-summary__cta:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cfg-summary__cta--disabled {
  background: transparent !important;
  color: var(--cfg-rose) !important;
  border: 1px solid rgba(245, 240, 228, 0.25) !important;
  opacity: 1 !important;
  font-style: italic;
  font-family: var(--cfg-font-display);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 14px;
  font-weight: 500;
}

.cfg-summary__notice {
  font-family: var(--cfg-font-display);
  font-style: italic;
  font-size: 14.5px;
  color: var(--cfg-rose);
  line-height: 1.5;
  margin: 0 0 22px;
  padding: 12px 14px;
  border-left: 2px solid var(--cfg-rose);
  background: rgba(212, 162, 153, 0.05);
}

/* ============================================================
   Steps · bloques numerados con productos
   ============================================================ */
.cfg-steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.cfg-step {
  /* Sin border de fondo: estilo limpio editorial */
}

.cfg-step__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--cfg-line);
}

.cfg-step__num {
  font-family: var(--cfg-font-display);
  font-size: 56px;
  font-weight: 300;
  line-height: 0.9;
  color: var(--cfg-terra);
  letter-spacing: -0.02em;
}

.cfg-step__heads { padding-top: 4px; }

.cfg-step__title {
  font-family: var(--cfg-font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.05;
  margin: 0;
  color: var(--cfg-ink);
}

.cfg-step__title em {
  font-style: italic;
  color: var(--cfg-terra);
}

.cfg-step__subtitle {
  font-family: var(--cfg-font-display);
  font-style: italic;
  font-size: 16px;
  color: rgba(26, 22, 20, 0.55);
  margin: 4px 0 0;
}

.cfg-step__count {
  font-family: var(--cfg-font-body);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cfg-terra);
  white-space: nowrap;
  align-self: center;
}

.cfg-empty {
  font-family: var(--cfg-font-display);
  font-style: italic;
  font-size: 16px;
  color: rgba(26, 22, 20, 0.5);
  padding: 24px 0;
}

/* ============================================================
   Product cards · 3 columnas desktop, 2 móvil
   ============================================================ */
.cfg-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* En pantallas grandes · 4 columnas */
@media (min-width: 1280px) {
  .cfg-products { grid-template-columns: repeat(4, 1fr); }
}

.cfg-product {
  cursor: pointer;
  transition: transform 220ms ease;
  position: relative;
}

.cfg-product:hover { transform: translateY(-3px); }

.cfg-product__img {
  aspect-ratio: 1;
  overflow: hidden;
  background: #ebe5d6;
  margin-bottom: 12px;
  position: relative;
}

.cfg-product__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cfg-product__noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--cfg-font-display);
  font-size: 64px;
  font-weight: 300;
  color: var(--cfg-walnut);
  background: #ebe5d6;
}

.cfg-product__check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cfg-terra);
  color: var(--cfg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.7);
  transition: all 220ms ease;
  pointer-events: none;
}

.cfg-product.is-selected .cfg-product__check {
  opacity: 1;
  transform: scale(1);
}

.cfg-product.is-selected .cfg-product__img {
  outline: 2px solid var(--cfg-terra);
  outline-offset: -2px;
}

/* Producto agotado · no clickable, badge "Agotado" */
.cfg-product.is-soldout {
  cursor: not-allowed;
  opacity: 0.55;
}
.cfg-product.is-soldout:hover { transform: none; }
.cfg-product.is-soldout .cfg-product__img img,
.cfg-product.is-soldout .cfg-product__noimg {
  filter: grayscale(0.6);
}

.cfg-product__soldout {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 11px;
  background: var(--cfg-ink);
  color: var(--cfg-cream);
  font-family: var(--cfg-font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  z-index: 2;
  pointer-events: none;
}

.cfg-product__name {
  font-family: var(--cfg-font-display);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.25;
  margin: 0 0 2px;
  color: var(--cfg-ink);
}

.cfg-product__meta {
  font-family: var(--cfg-font-display);
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.3;
  color: rgba(26, 22, 20, 0.55);
  margin: 0 0 4px;
}

.cfg-product__surcharge {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 10px;
  background: rgba(139, 58, 46, 0.1);
  color: var(--cfg-terra);
  font-family: var(--cfg-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
}

/* Botón "i" para abrir info del producto */
.cfg-product__info {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(245, 240, 228, 0.92);
  color: var(--cfg-ink);
  border: 0;
  font-family: var(--cfg-font-display);
  font-style: italic;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 180ms ease;
  line-height: 1;
}
.cfg-product__info:hover {
  background: var(--cfg-ink);
  color: var(--cfg-cream);
  transform: scale(1.08);
}

/* ============================================================
   Single-option step · tarjeta informativa (1 producto fijo)
   ============================================================ */
.cfg-step__count--ok {
  color: var(--cfg-walnut);
  background: rgba(139, 58, 46, 0.06);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 10.5px;
}

.cfg-single {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  align-items: center;
  padding: 14px 0;
}

.cfg-single__img {
  width: 110px;
  height: 110px;
  overflow: hidden;
  background: #ebe5d6;
}

.cfg-single__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cfg-single__name {
  font-family: var(--cfg-font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 6px;
  color: var(--cfg-ink);
}

.cfg-single__desc {
  font-family: var(--cfg-font-body);
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(26, 22, 20, 0.65);
  margin: 0 0 10px;
}

.cfg-single__more {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  font-family: var(--cfg-font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cfg-terra);
  cursor: pointer;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.cfg-single__more:hover { color: var(--cfg-ink); }

@media (max-width: 880px) {
  .cfg-single {
    grid-template-columns: 80px 1fr;
    gap: 16px;
  }
  .cfg-single__img {
    width: 80px;
    height: 80px;
  }
  .cfg-single__name { font-size: 18px; }
  .cfg-single__desc { font-size: 13px; }
}

/* ============================================================
   Modal · Ver más info de producto
   Nota · vive en <body>, fuera de .cfg, por eso usa hex literal
   ============================================================ */
.cfg-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  animation: cfgModalIn 220ms ease;
}
.cfg-modal[hidden] { display: none !important; }
.cfg-modal *,
.cfg-modal *::before,
.cfg-modal *::after { box-sizing: border-box; }

@keyframes cfgModalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.cfg-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 10, 9, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.cfg-modal__content {
  position: relative;
  background: #f5f0e4;
  color: #1a1614;
  max-width: 920px;
  width: 100%;
  max-height: 92vh;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  animation: cfgModalSlide 280ms cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 24px 80px rgba(0,0,0,.36);
  z-index: 1;
}

@keyframes cfgModalSlide {
  from { transform: translateY(20px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.cfg-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(245, 240, 228, 0.92);
  color: #1a1614;
  border: 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 180ms ease;
}
.cfg-modal__close:hover { background: #1a1614; color: #f5f0e4; }

/* Galería */
.cfg-modal__gallery {
  position: relative;
  background: #ebe5d6;
  aspect-ratio: 1;
  overflow: hidden;
}
.cfg-modal__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cfg-modal__gallery--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  color: #5a4a40;
}
.cfg-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(245, 240, 228, 0.9);
  color: #1a1614;
  border: 0;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 180ms ease;
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1;
}
.cfg-modal__nav:hover { background: #1a1614; color: #f5f0e4; }
.cfg-modal__nav--prev { left: 14px; }
.cfg-modal__nav--next { right: 14px; }
.cfg-modal__counter {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11, 10, 9, 0.6);
  color: #f5f0e4;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  z-index: 2;
}
.cfg-modal__thumbs {
  display: none;
}

/* Info lateral */
.cfg-modal__info {
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: #f5f0e4;
}
.cfg-modal__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  margin: 0 0 12px;
  color: #1a1614;
}
.cfg-modal__surcharge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(139, 58, 46, 0.1);
  color: #8b3a2e;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 999px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.cfg-modal__desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #5a4a40;
  margin: 0 0 24px;
  flex: 1;
}
.cfg-modal__desc em {
  font-style: italic;
  opacity: 0.7;
}
.cfg-modal__actions { margin-top: auto; }
.cfg-modal__cta {
  display: block;
  width: 100%;
  padding: 15px;
  background: #1a1614;
  color: #f5f0e4;
  border: 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 180ms ease;
}
.cfg-modal__cta:hover { background: #8b3a2e; }
.cfg-modal__cta.is-sel { background: #8b3a2e; color: #f5f0e4; }
.cfg-modal__cta.is-sel:hover { background: #5a4a40; }

/* Móvil · modal full screen, info debajo de la imagen */
@media (max-width: 760px) {
  .cfg-modal { padding: 0; }
  .cfg-modal__content {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
    overflow-y: auto;
  }
  .cfg-modal__gallery { aspect-ratio: 1; min-height: 280px; }
  .cfg-modal__info { padding: 24px 22px 32px; }
  .cfg-modal__title { font-size: 26px; }
  .cfg-modal__nav { width: 36px; height: 36px; font-size: 20px; }
  .cfg-product__info { width: 26px; height: 26px; font-size: 14px; }
}

/* ============================================================
   Mobile sticky bar · resumen fijo abajo en móvil
   ============================================================ */
.cfg-mbar {
  display: none;
}

@media (max-width: 880px) {
  .cfg-mbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 12px 16px env(safe-area-inset-bottom, 12px);
    background: var(--cfg-ink);
    color: var(--cfg-cream);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.18);
    border-top: 1px solid rgba(245, 240, 228, 0.1);
  }

  .cfg-mbar__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .cfg-mbar__name {
    font-family: var(--cfg-font-display);
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    color: var(--cfg-cream);
  }

  .cfg-mbar__name em {
    font-style: italic;
    color: var(--cfg-rose);
  }

  .cfg-mbar__progress {
    font-family: var(--cfg-font-body);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245, 240, 228, 0.55);
  }

  .cfg-mbar__cta {
    appearance: none;
    border: 0;
    padding: 13px 22px;
    background: var(--cfg-rose);
    color: var(--cfg-ink);
    font-family: var(--cfg-font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 2px;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity 180ms ease;
  }

  .cfg-mbar__cta:hover:not(:disabled) {
    opacity: 0.85;
  }

  .cfg-mbar__cta:disabled,
  .cfg-mbar__cta--disabled {
    background: transparent;
    color: var(--cfg-rose);
    border: 1px solid rgba(245, 240, 228, 0.25);
    opacity: 0.85;
    cursor: not-allowed;
    font-weight: 500;
  }

  /* Padding al body en móvil para que el último contenido no quede tapado */
  .cfg-active {
    padding-bottom: 90px;
  }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 880px) {
  .cfg { padding: 60px 0; }
  .cfg__container { padding: 0 22px; }
  .cfg-intro { margin-bottom: 36px; }

  .cfg-tiers {
    grid-template-columns: 1fr;
    border: 0;
    gap: 18px;
  }
  .cfg-tier {
    border: 1px solid var(--cfg-line);
    border-radius: 4px;
    padding: 32px 24px 28px;
  }
  .cfg-tier__desc { min-height: auto; }
  .cfg-tier__price { font-size: 48px; }
  .cfg-tier__name { font-size: 38px; }

  .cfg-active__title { font-size: 36px; margin-bottom: 28px; }
  .cfg-active-mount { margin-top: 40px; }

  /* En móvil: summary no sticky, abajo de los pasos */
  .cfg-active__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cfg-summary { position: static; }
  .cfg-summary__inner { padding: 28px 24px 24px; }
  .cfg-summary__totalVal { font-size: 40px; }

  .cfg-steps { gap: 36px; }
  .cfg-step__head {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .cfg-step__count {
    grid-column: 1 / -1;
    text-align: left;
    align-self: auto;
  }
  .cfg-step__num { font-size: 42px; }
  .cfg-step__title { font-size: 26px; }

  .cfg-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .cfg-product__name { font-size: 15px; }
}

@media (max-width: 480px) {
  .cfg-product__check { width: 26px; height: 26px; font-size: 12px; }
  .cfg-step__num { font-size: 36px; }
}

/* ============================================================
   PACK PERSONALIZADO · móvil estilo pack-historia
   (copia del media @900px del pack-historia adaptada)
   ============================================================ */
@media (max-width: 900px) {
  /* Hero split a 1 columna */
  .cfg-hero { padding: 0 !important; }
  .cfg-hero__inner {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    height: auto;
  }
  .cfg-hero__gallery { gap: 0; }
  .cfg-hero__main {
    aspect-ratio: 4 / 3;
    max-height: none;
    min-height: 320px;
  }
  .cfg-hero__info { padding: 36px 24px 48px; }
  .cfg-hero__nav { width: 38px; height: 38px; }
  .cfg-hero__nav--prev { left: 12px; }
  .cfg-hero__nav--next { right: 12px; }
  .cfg-hero__dots { bottom: 14px; padding: 6px 10px; gap: 6px; }

  /* Configurador: steps editorial verticales, sin grid 2 cols */
  .cfg--product:not(.cfg--historia) .cfg__container { padding: 0 !important; }
  .cfg--product:not(.cfg--historia) .cfg-active-mount,
  .cfg--product:not(.cfg--historia) .cfg-active-mount--auto {
    padding: 0 !important;
    margin: 0 !important;
  }
  .cfg--product:not(.cfg--historia) .cfg-active__title { display: none; }
  .cfg--product:not(.cfg--historia) .cfg-active__grid {
    grid-template-columns: 1fr !important;
    display: block !important;
    gap: 0 !important;
  }
  .cfg--product:not(.cfg--historia) .cfg-steps {
    display: flex !important;
    flex-direction: column;
    gap: 0;
  }
  .cfg--product:not(.cfg--historia) .cfg-step {
    min-height: 0;
    padding: 48px 20px;
    border-top: 1px solid var(--cfg-line-soft);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .cfg--product:not(.cfg--historia) .cfg-step:first-child {
    border-top: 0;
    padding-top: 56px;
  }
  .cfg--product:not(.cfg--historia) .cfg-step__head {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 0;
  }
  .cfg--product:not(.cfg--historia) .cfg-step__num {
    font-family: var(--cfg-font-display);
    font-style: italic;
    font-weight: 300;
    font-size: 40px;
    line-height: 1;
    color: var(--cfg-rose);
    background: transparent;
    border: 0;
    width: auto;
    height: auto;
  }
  .cfg--product:not(.cfg--historia) .cfg-step__title {
    font-family: var(--cfg-font-display);
    font-weight: 300;
    font-size: 28px;
    line-height: 1.1;
    color: var(--cfg-ink);
  }
  .cfg--product:not(.cfg--historia) .cfg-step__count {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cfg-walnut);
    background: transparent;
    border: 1px solid var(--cfg-line);
    padding: 6px 12px;
  }
  .cfg--product:not(.cfg--historia) .cfg-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* Summary destacado oscuro */
  .cfg--product:not(.cfg--historia) .cfg-summary {
    position: relative !important;
    top: auto !important;
    margin-top: 0;
    background: var(--cfg-ink) !important;
    color: var(--cfg-cream) !important;
    border: 0;
    border-radius: 0;
    padding: 0;
    display: block !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
  .cfg--product:not(.cfg--historia) .cfg-summary__inner {
    padding: 40px 22px 36px;
    background: transparent;
    color: var(--cfg-cream);
  }
  .cfg--product:not(.cfg--historia) .cfg-summary__name {
    font-family: var(--cfg-font-display);
    font-size: 32px;
    color: var(--cfg-cream);
  }
  .cfg--product:not(.cfg--historia) .cfg-summary__name em { color: var(--cfg-rose); }
  .cfg--product:not(.cfg--historia) .cfg-summary__label { color: var(--cfg-rose); }
}

@media (max-width: 480px) {
  .cfg--product:not(.cfg--historia) .cfg-hero__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .cfg--product:not(.cfg--historia) .cfg-hero__cta {
    justify-content: center;
    padding: 14px 24px;
  }
  .cfg--product:not(.cfg--historia) .cfg-step { padding: 40px 16px; }
  .cfg--product:not(.cfg--historia) .cfg-step__num { font-size: 32px; }
  .cfg--product:not(.cfg--historia) .cfg-step__title { font-size: 24px; }
  .cfg--product:not(.cfg--historia) .cfg-products {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}
