/** Shopify CDN: Minification failed

Line 1217:0 Unexpected "}"

**/
/* ==========================================================================
   Life Planner — Bundle Builder
   Estilos autocontenidos. Prefijo .bb para no colisionar con el tema.

   Sistema de forma: paneles y tiles 14px, elementos accionables en pastilla.
   Acento único: tinta. El color solo entra para estados funcionales
   (completo, pocas unidades, agotado).
   ========================================================================== */

.bb {
  /* Color y tipografía se heredan del tema. En Dawn y en los temas OS 2.0 con
     esquemas de color, --color-foreground / --color-background / --color-button
     llegan por la clase color-schemeN que la sección pone en este elemento.
     Los valores tras la coma son el respaldo cuando la sección se ve fuera de
     un tema Shopify (banco de pruebas, anteprima). */
  --bb-fg: var(--color-foreground, 20, 18, 15);
  --bb-bg: var(--color-background, 250, 248, 245);

  --bb-ink: rgb(var(--bb-fg));
  --bb-canvas: rgb(var(--bb-bg));
  --bb-surface: rgb(var(--color-background, 255, 255, 255));
  --bb-muted: rgba(var(--bb-fg), 0.62);
  --bb-line: rgba(var(--bb-fg), 0.16);
  --bb-soft: rgba(var(--bb-fg), 0.055);
  --bb-accent: rgb(var(--color-button, var(--bb-fg)));
  --bb-on-accent: rgb(var(--color-button-text, 255, 255, 255));
  --bb-disabled: rgba(var(--bb-fg), 0.32);

  /* Estados funcionales: no forman parte de la paleta de marca. */
  --bb-ok: #2f6b45;
  --bb-warn: #8a6200;
  --bb-danger: #a3352b;

  --bb-r-panel: var(--media-radius, 14px);
  --bb-r-pill: var(--buttons-radius, 999px);
  --bb-r-inner: max(0px, calc(var(--bb-r-panel) - 1px));
  --bb-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --bb-gutter: max(16px, clamp(16px, 4vw, 48px));

  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: clamp(24px, 4vw, 56px) var(--bb-gutter);
  background: var(--bb-canvas);
  color: var(--bb-ink);
  font-family: var(--font-body-family, ui-sans-serif, "Helvetica Neue", Arial, sans-serif);
  font-style: var(--font-body-style, normal);
  font-weight: var(--font-body-weight, 400);
  font-size: inherit;
  line-height: 1.5;
  overflow-x: clip;
}

/* El tema manda en la forma. Con .bb--shape-soft se fuerza la forma del mockup. */
.bb--shape-soft {
  --bb-r-panel: 14px;
  --bb-r-pill: 999px;
}

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

.bb button { font: inherit; cursor: pointer; }

.bb :focus-visible {
  outline: 2px solid var(--bb-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- armazón de dos columnas ---------- */

.bb__wrap {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  max-width: var(--bb-max, var(--page-width, 1280px));
  margin: 0 auto;
}

@media (min-width: 990px) {
  .bb__wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .bb__media { position: sticky; top: 32px; }
}

/* Sin imagen no hay columna que sostener: el configurador ocupa el ancho. */
.bb__wrap--single { max-width: min(var(--bb-max, var(--page-width, 1280px)), 860px); }

@media (min-width: 990px) {
  .bb__wrap--single { grid-template-columns: minmax(0, 1fr); }
}

.bb__media { min-width: 0; }

.bb__media-main {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--bb-r-panel);
  background: var(--bb-soft);
}

.bb__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.bb__thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: var(--bb-soft);
}

.bb__col { min-width: 0; }

/* ---------- cabecera ---------- */

.bb__proof {
  display: flex;
  align-items: center;
  gap: 9.6px;
  margin-bottom: 16px;
  padding: 9.6px 14.4px;
  border-radius: var(--bb-r-pill);
  background: var(--bb-soft);
  font-size: 0.8125em;
}

.bb__proof-avatars { display: flex; flex-shrink: 0; }

.bb__proof-avatars img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bb-surface);
  margin-inline-start: -8px;
}

.bb__proof-avatars img:first-child { margin-inline-start: 0; }

.bb__kicker {
  margin: 0 0 6.4px;
  color: var(--bb-muted);
  font-size: 0.6875em;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bb__title {
  margin: 0 0 8px;
  font-family: var(--font-heading-family, inherit);
  font-style: var(--font-heading-style, normal);
  font-size: clamp(1.75em, 4vw, 2.5em);
  font-weight: var(--font-heading-weight, 600);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.bb__subtitle {
  margin: 0 0 12px;
  color: var(--bb-muted);
  font-size: 0.9375em;
  max-width: 48ch;
}

.bb__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  font-size: 0.8125em;
  color: var(--bb-muted);
}

.bb__stars { color: var(--bb-ink); letter-spacing: 0.1em; }

/* ---------- panel de tiers / progreso ---------- */

.bb__panel-label {
  margin: 0 0 8px;
  color: var(--bb-muted);
  font-size: 0.6875em;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bb__panel-block { margin-bottom: 24px; }

.bb__tier {
  padding: 16px 12px 13.6px;
  border-radius: var(--bb-r-panel);
  background: var(--bb-soft);
}

.bb__tier-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  align-items: end;
  gap: 4px;
}

.bb__tier-col,
.bb__tier-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4.8px;
  padding: 4px 1.6px;
  border: 0;
  background: none;
  color: var(--bb-muted);
  text-align: center;
  transition: color 160ms var(--bb-ease);
}

.bb__tier-col.is-on,
.bb__tier-col.is-done,
.bb__tier-meta.is-on { color: var(--bb-ink); }

.bb__tier-name {
  font-size: 0.8125em;
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.bb__pill {
  padding: 4px 9px;
  border-radius: var(--bb-r-pill);
  background: var(--bb-accent);
  color: var(--bb-on-accent);
  font-size: 0.625em;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.bb__pill-gap {
  display: block;
  /* mismo alto que .bb__pill: 2 paddings de 4px + su línea de texto */
  height: calc(8px + 1.1em * 0.625);
}

/* raíl */

.bb__rail {
  position: relative;
  height: 8px;
  margin: 13.6px 24px;
}

.bb__rail-bg,
.bb__rail-fill {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  height: 8px;
  border-radius: var(--bb-r-pill);
}

.bb__rail-bg { inset-inline-end: 0; background: rgba(var(--bb-fg), 0.13); }

.bb__rail-fill {
  background: var(--bb-accent);
  transition: width 260ms var(--bb-ease);
}

.bb__dot {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-inline-start: -11px;
  transform: translateY(-50%);
  border: 2.5px solid rgba(var(--bb-fg), 0.22);
  border-radius: 50%;
  background: var(--bb-surface);
  transition: border-color 200ms var(--bb-ease);
}

.bb__dot.is-on { border-color: var(--bb-accent); }
.bb__dot.is-done { background: var(--bb-accent); box-shadow: inset 0 0 0 2.5px var(--bb-surface); }

.bb__tier-price { font-size: 0.875em; font-weight: 600; }
.bb__tier-note { font-size: 0.75em; color: var(--bb-muted); }

.bb__tier-off {
  padding: 2px 8px;
  border-radius: var(--bb-r-pill);
  background: var(--bb-surface);
  border: 1px solid var(--bb-line);
  font-size: 0.6875em;
  font-weight: 600;
}

.bb__tier-meta.is-on .bb__tier-off {
  background: var(--bb-accent);
  border-color: var(--bb-accent);
  color: var(--bb-on-accent);
}

/* ---------- paso ---------- */

.bb__step-head {
  display: flex;
  flex-wrap: wrap;
  gap: 5.6px 16px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 13.6px;
}

.bb__step-title {
  margin: 0;
  font-family: var(--font-heading-family, inherit);
  font-style: var(--font-heading-style, normal);
  font-size: 1.0625em;
  font-weight: var(--font-heading-weight, 600);
  letter-spacing: -0.01em;
}

.bb__step-num {
  margin-inline-end: 8px;
  color: var(--bb-muted);
  font-size: 0.706em; /* 12px dentro de un padre de 17px */
  font-weight: 600;
  letter-spacing: 0.1em;
}

.bb__counter {
  margin: 0;
  color: var(--bb-muted);
  font-size: 0.8125em;
  font-variant-numeric: tabular-nums;
}

/* ---------- filtros ---------- */

.bb__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 17.6px;
}

.bb__filter-label {
  display: block;
  margin-bottom: 6.4px;
  color: var(--bb-muted);
  font-size: 0.625em;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bb__chips { display: flex; flex-wrap: wrap; gap: 5px; }

.bb__chip {
  min-height: 44px;
  padding: 10px 12.8px;
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-r-pill);
  background: var(--bb-surface);
  color: var(--bb-ink);
  font-size: 0.8125em;
  transition: background-color 160ms var(--bb-ease), border-color 160ms var(--bb-ease), transform 120ms var(--bb-ease);
}

.bb__chip.is-on {
  background: var(--bb-accent);
  border-color: var(--bb-accent);
  color: var(--bb-on-accent);
}

.bb__chip:active { transform: scale(0.97); }

@media (hover: hover) and (pointer: fine) {
  .bb__chip:hover { border-color: var(--bb-ink); }
}

/* ---------- grid de tiles ---------- */

.bb__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 8px;
}

@media (min-width: 480px) { .bb__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.bb__empty {
  padding: 40px 16px;
  border: 1px dashed var(--bb-line);
  border-radius: var(--bb-r-panel);
  color: var(--bb-muted);
  text-align: center;
}

.bb__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-r-panel);
  background: var(--bb-surface);
  cursor: pointer;
  transition: border-color 160ms var(--bb-ease), box-shadow 160ms var(--bb-ease);
}

.bb__tile.is-on {
  border-color: var(--bb-accent);
  box-shadow: inset 0 0 0 1px var(--bb-accent);
}

.bb__tile.is-out { opacity: 0.5; cursor: not-allowed; }

@media (hover: hover) and (pointer: fine) {
  .bb__tile:not(.is-out):hover { border-color: var(--bb-ink); }
}

.bb__flag {
  position: absolute;
  top: -9px;
  inset-inline-end: 8px;
  z-index: 1;
  padding: 3px 10px;
  border-radius: var(--bb-r-pill);
  font-size: 0.625em;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.bb__flag--low { background: #f6ecd2; color: #6b4c00; }
.bb__flag--out { background: #f6e0dd; color: #8a2b22; }

.bb__tile-media {
  background: var(--bb-soft);
  border-radius: var(--bb-r-inner) var(--bb-r-inner) 0 0;
}

.bb__tile-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--bb-r-inner) var(--bb-r-inner) 0 0;
}

.bb__tile-img--none { background: var(--bb-soft); }

.bb__tile-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 7.2px;
  padding: 9.6px 8.8px 11.2px;
  text-align: center;
}

.bb__tile-name {
  margin: 0;
  font-size: 0.8125em;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.bb__tile-variant {
  display: block;
  margin-top: 2px;
  color: var(--bb-muted);
  font-weight: 500;
  letter-spacing: 0;
}

.bb__swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }

.bb__swatch {
  min-height: 26px;
  padding: 3px 7px;
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-r-pill);
  background: transparent;
  color: var(--bb-ink);
  font-size: 0.6875em;
  transition: background-color 160ms var(--bb-ease), border-color 160ms var(--bb-ease);
}

.bb__swatch.is-on { background: var(--bb-accent); border-color: var(--bb-accent); color: var(--bb-on-accent); }
.bb__swatch.is-off { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

.bb__tile-slot { margin-top: auto; padding-top: 3.2px; }

.bb__tile-status { font-size: 0.75em; color: var(--bb-danger); }

.bb__add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 44px;
  padding: 8px 9.6px;
  border: 1px solid var(--bb-accent);
  border-radius: var(--bb-r-pill);
  background: var(--bb-accent);
  color: var(--bb-on-accent);
  font-size: 0.8125em;
  font-weight: 600;
  transition: transform 140ms var(--bb-ease), background-color 160ms var(--bb-ease);
}

.bb__add:active { transform: scale(0.97); }

/* Bundle al completo: stesso trattamento degli altri comandi esauriti. */
/* Deshabilitado = superficie apagada con texto legible, no el boton atenuado:
   bajar la opacidad del conjunto dejaba el texto blanco a 1,15:1. */
.bb__add:disabled {
  background: var(--bb-soft);
  border-color: var(--bb-line);
  color: var(--bb-muted);
  cursor: not-allowed;
  transform: none;
}

.bb__add.is-on { background: var(--bb-surface); color: var(--bb-ink); }

.bb__stepper {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 34px;
  border: 1px solid var(--bb-accent);
  border-radius: var(--bb-r-pill);
  background: var(--bb-surface);
}

.bb__sb {
  width: 34px;
  min-height: 32px;
  border: 0;
  border-radius: var(--bb-r-pill);
  background: transparent;
  color: var(--bb-ink);
  font-size: 1em;
  line-height: 1;
  transition: transform 140ms var(--bb-ease);
}

.bb__sb:active { transform: scale(0.9); }
.bb__sb:disabled { color: var(--bb-muted); opacity: 0.55; cursor: not-allowed; transform: none; }

.bb__qty { font-size: 0.875em; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- resumen ---------- */

.bb__selection { margin: 20px 0 0; }

.bb__sels { display: flex; flex-wrap: wrap; gap: 6px; }

.bb__sel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 5px 5px 10px;
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-r-pill);
  background: var(--bb-surface);
  font-size: 0.8125em;
}

.bb__sel-slot {
  color: var(--bb-muted);
  font-size: 0.769em; /* 10px dentro de un padre de 13px */
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bb__sel em { font-style: normal; color: var(--bb-muted); }

.bb__sel-x {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: var(--bb-soft);
  color: var(--bb-ink);
  font-size: 1.077em; /* 14px dentro de un padre de 13px */
  line-height: 1;
  transition: background-color 160ms var(--bb-ease);
}

@media (hover: hover) and (pointer: fine) {
  .bb__sel-x:hover { background: rgba(var(--bb-fg), 0.1); }
}

/* ---------- CTA ---------- */

.bb__cta-wrap {
  position: sticky;
  inset-block-end: 0;
  z-index: 5;
  margin-top: 20px;
  padding: 12px 0 14px;
  background: var(--bb-canvas);
}

/* La franja pegada necesita tapar lo que pasa por debajo sin dibujar un borde
   duro: se difumina contra el fondo del propio configurador. */
.bb__cta-wrap::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  inset-block-start: -24px;
  height: 24px;
  background: linear-gradient(to bottom, transparent, var(--bb-canvas));
  pointer-events: none;
}

.bb__hint {
  margin: 0 0 9.6px;
  font-size: 0.8125em;
  color: var(--bb-muted);
}

.bb__hint.is-done { color: var(--bb-ok); font-weight: 600; }

.bb__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9.6px;
  width: 100%;
  min-height: 52px;
  padding: 12px 24px;
  border: 0;
  border-radius: var(--bb-r-pill);
  background: var(--bb-accent);
  color: var(--bb-on-accent);
  font-size: 1em;
  font-weight: 700;
  transition: transform 140ms var(--bb-ease), opacity 160ms var(--bb-ease);
}

.bb__cta:active { transform: scale(0.99); }

.bb__cta:disabled {
  background: var(--bb-soft);
  color: var(--bb-muted);
  box-shadow: inset 0 0 0 1px var(--bb-line);
  cursor: not-allowed;
  transform: none;
}

.bb__cta-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.bb__cta-price {
  padding-inline-start: 9.6px;
  border-inline-start: 1px solid currentColor;
  border-inline-start-color: color-mix(in srgb, currentColor 35%, transparent);
  font-weight: 600;
  white-space: nowrap;
}

.bb__error,
.bb__notice { margin: 0.6em 0 0; font-size: 0.8125em; }
.bb__error { color: var(--bb-danger); }
.bb__notice { color: var(--bb-ok); }

/* ---------- garantías ---------- */

.bb__trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 10px;
  margin-top: 20px;
  padding-top: 17.6px;
  border-top: 1px solid var(--bb-line);
}

.bb__trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  font-size: 0.75em;
  color: var(--bb-muted);
  line-height: 1.3;
}

.bb__trust-item svg {
  width: 22px;
  height: 22px;
  stroke: var(--bb-ink);
  fill: none;
  stroke-width: 1.5;
}

/* ---------- móvil ---------- */

@media (max-width: 989px) {
  .bb__media-main { aspect-ratio: 1 / 1; }

  .bb__cta-wrap {
    position: sticky;
    inset-block-end: 0;
    z-index: 5;
    margin-inline: calc(-1 * var(--bb-gutter));
    padding: 11.2px var(--bb-gutter) calc(11.2px + env(safe-area-inset-bottom, 0px));
    background: var(--bb-canvas);
    border-top: 1px solid var(--bb-line);
  }

  .bb__hint { margin-bottom: 7.2px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .bb *, .bb *::before, .bb *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------- selector de bundles ---------- */

.bb__switch {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: var(--bb-max, var(--page-width, 1280px));
  margin: 0 auto clamp(20px, 3vw, 32px);
}

.bb__switch-item {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 7.2px 16px;
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-r-pill);
  background: var(--bb-surface);
  color: var(--bb-ink);
  font-size: 0.875em;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 160ms var(--bb-ease), background-color 160ms var(--bb-ease);
}

.bb__switch-item.is-on {
  background: var(--bb-accent);
  border-color: var(--bb-accent);
  color: var(--bb-on-accent);
  font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
  .bb__switch-item:not(.is-on):hover { border-color: var(--bb-ink); }
}

/* ---------- precio con descuento ---------- */

.bb__cta-was {
  opacity: 0.65;
  font-weight: 400;
  text-decoration-thickness: 1px;
}

.bb__saving {
  margin: 8.8px 0 0;
  color: var(--bb-ok);
  font-size: 0.8125em;
  font-weight: 600;
  text-align: center;
}

/* ==========================================================================
   Indice de bundles
   ========================================================================== */

.bb-index { padding-block: clamp(32px, 5vw, 64px); }

.bb-index__wrap {
  max-width: var(--bb-max, var(--page-width, 1280px));
  margin: 0 auto;
}

.bb-index__title { max-width: 20ch; }
.bb-index__sub { margin-bottom: clamp(24px, 4vw, 40px); max-width: 60ch; }

.bb-index__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(12px, 2vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 750px) {
  .bb-index__grid {
    grid-template-columns: repeat(var(--bb-index-cols, 3), minmax(0, 1fr));
  }
}

.bb-index__card { display: flex; min-width: 0; }

.bb-index__link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-r-panel);
  background: var(--bb-surface);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 180ms var(--bb-ease), transform 180ms var(--bb-ease);
}

@media (hover: hover) and (pointer: fine) {
  .bb-index__link:hover { border-color: var(--bb-ink); }
  .bb-index__link:hover .bb-index__img { transform: scale(1.03); }
  .bb-index__link:hover .bb-index__cta { gap: 9.6px; }
}

.bb-index__link:focus-visible { outline: 2px solid var(--bb-accent); outline-offset: 3px; }

.bb-index__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bb-soft);
}

.bb-index__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 320ms var(--bb-ease);
}

.bb-index__img--none { aspect-ratio: 1 / 1; background: var(--bb-soft); }

.bb-index__badge {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  padding: 4px 10px;
  border-radius: var(--bb-r-pill);
  background: var(--bb-accent);
  color: var(--bb-on-accent);
  font-size: 0.6875em;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.bb-index__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 6.4px;
  padding: 16px;
}

.bb-index__name {
  font-family: var(--font-heading-family, inherit);
  font-style: var(--font-heading-style, normal);
  font-size: 1.25em;
  font-weight: var(--font-heading-weight, 600);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.bb-index__items {
  color: var(--bb-muted);
  font-size: 0.875em;
  overflow-wrap: anywhere;
}

.bb-index__price { font-size: 0.875em; font-weight: 600; }

.bb-index__cta {
  display: inline-flex;
  align-items: center;
  gap: 5.6px;
  margin-top: auto;
  padding-top: 9.6px;
  font-size: 0.8125em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: gap 180ms var(--bb-ease);
}

.bb__hint--blocked { color: var(--bb-danger); font-weight: 600; }

.bb-index__card.is-out { opacity: 0.55; }
.bb-index__card.is-out .bb-index__link { cursor: not-allowed; }
.bb-index__card.is-out .bb-index__cta { opacity: 0.6; }

.bb-index__badge--out { background: var(--bb-danger); color: #fff; }

/* ==========================================================================
   Preordine

   Mismos colores que el aviso de la ficha de producto (#1f2937 sobre blanco,
   radio 10px, padding 10px 15px): el cliente reconoce el mismo mensaje en el
   producto suelto y dentro del bundle.
   ========================================================================== */

.bb {
  --bb-pre-bg: #1f2937;
  --bb-pre-on: #ffffff;
}

.bb__flag--pre {
  background: var(--bb-pre-bg);
  color: var(--bb-pre-on);
}

.bb__tile-pre {
  margin: 2px 0 0;
  color: var(--bb-pre-bg);
  font-size: 0.6875em;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.bb__prebar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 10px 15px;
  border-radius: 10px;
  background: var(--bb-pre-bg);
  color: var(--bb-pre-on);
  font-size: 0.8125em;
  line-height: 1.4;
}

.bb__prebar-tag {
  flex: none;
  padding: 2px 8px;
  border-radius: var(--bb-r-pill);
  background: var(--bb-pre-on);
  color: var(--bb-pre-bg);
  font-size: 0.769em;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.bb__sel.is-pre { border-color: var(--bb-pre-bg); }

.bb__sel-pre {
  margin-inline-end: 2px;
  color: var(--bb-pre-bg);
  font-size: 0.769em;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.bb__prenote {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  padding: 10px 15px;
  border-radius: 10px;
  background: var(--bb-pre-bg);
  color: var(--bb-pre-on);
  font-size: 0.8125em;
  line-height: 1.5;
  text-align: start;
}

.bb__prenote svg {
  flex: none;
  display: block;
  width: 20px;
  height: 20px;
}

@media (max-width: 749px) {
  .bb__prebar {
    align-items: flex-start;
    gap: 8px;
    padding: 9px 12px;
    font-size: 0.75em;
  }
  .bb__prebar-tag { margin-top: 1px; }
  .bb__prenote {
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    font-size: 0.75em;
  }
  .bb__prenote svg { margin-top: 2px; }
}

/* ==========================================================================
   Carril horizontal en móvil

   Un paso con 34 agendas ocupaba 17 filas: el botón quedaba a un minuto de
   scroll. En pantallas pequeñas el paso pasa a dos columnas que se deslizan
   en horizontal, con la tercera asomando para que el gesto se entienda solo.
   ========================================================================== */

/* Fuera del móvil la parrilla es la de siempre: el pie del carril sobra. */
.bb__rail-foot { display: none; }

@media (max-width: 749px) {
  .bb__grid--rail {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    grid-template-columns: none;
    grid-auto-columns: 44%;
    gap: 14px 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline-start: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .bb__grid--rail::-webkit-scrollbar { display: none; }

  .bb__grid--rail > .bb__tile { scroll-snap-align: start; }

  .bb__rail-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }

  .bb__rail-track {
    position: relative;
    flex: 1;
    height: 3px;
    border-radius: 999px;
    background: rgba(var(--bb-fg), 0.18);
    overflow: hidden;
  }

  .bb__rail-fill {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 30%;
    border-radius: 999px;
    background: var(--bb-ink);
    opacity: 0.45;
    transition: transform 120ms linear;
  }

  .bb__rail-hint {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--bb-muted);
    font-size: 0.6875em;
    letter-spacing: 0.01em;
    transition: opacity 200ms ease-out;
  }

  .bb__rail-hint.is-off { opacity: 0; }

  .bb__rail-arrow {
    display: inline-block;
    animation: bb-nudge 1.6s ease-in-out infinite;
  }

  @keyframes bb-nudge {
    0%, 60%, 100% { transform: translateX(0); }
    30% { transform: translateX(3px); }
  }
}

/* Entre 480 y 749 px cabe una columna más sin apretar las tarjetas. */
@media (min-width: 480px) and (max-width: 749px) {
  .bb__grid--rail { grid-auto-columns: 30%; }
}

@media (prefers-reduced-motion: reduce) {
  .bb__rail-arrow { animation: none; }
  .bb__rail-fill { transition: none; }
}

/* Bundle QA: readable prices and six steps on small screens. */
.bb__offer { margin: 0 0 12px; font-size: 1em; }
.bb__tile-price { margin: 6px 0 0; font-size: .875em; font-weight: 600; }
.bb__composition { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; padding:16px; background:var(--bb-soft); border-radius:var(--bb-r-panel); }
.bb__component { display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; font-weight:600; }
.bb__component img { width:100%; height:auto; aspect-ratio:1; object-fit:contain; }
@media (max-width: 749px) {
  .bb[data-bb-step-count="6"] .bb__tier { overflow-x: auto; }
  .bb[data-bb-step-count="6"] .bb__tier-row { min-width: 540px; }
}

/* Muestras fotográficas de color para los taccuini dentro de bundles. */
.bb__chip[data-bb-value="Abetone Green"],
.bb__chip[data-bb-value="Classic Black"],
.bb__chip[data-bb-value="Forest wood"],
.bb__chip[data-bb-value="Red Passion"],
.bb__chip[data-bb-value="Rose Pink"],
.bb__chip[data-bb-value="Vintage Brown"],
.bb__chip[data-bb-value="Violet Purple"],
.bb__chip[data-bb-value="Zig Zag Yellow"],
.bb__chip[data-bb-value="Zig Zag Blu"],
.bb__chip[data-bb-value="Pastel Orange"],
.bb__chip[data-bb-value="Zig Zag Pink"] {
  background-color: #e8e5e2;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 2px solid #cfd8d1;
  border-radius: 50%;
  color: transparent;
  font-size: 0;
  height: 52px;
  min-width: 52px;
  overflow: visible;
  padding: 0;
  position: relative;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  width: 52px;
}
.bb__chip[data-bb-value="Abetone Green"] { background-image: url('/cdn/shop/files/Textura_de_cuero_verde_esmeralda.png?v=1791997057'); }
.bb__chip[data-bb-value="Classic Black"] { background-image: url('/cdn/shop/files/Classic_Black.png'); }
.bb__chip[data-bb-value="Forest wood"] { background-image: url('/cdn/shop/files/Forest_wood.png'); }
.bb__chip[data-bb-value="Red Passion"] { background-image: url('/cdn/shop/files/Red_passion.png'); }
.bb__chip[data-bb-value="Rose Pink"] { background-image: url('/cdn/shop/files/Rose_pink.png'); }
.bb__chip[data-bb-value="Vintage Brown"] { background-image: url('/cdn/shop/files/Vintage_brown.png'); }
.bb__chip[data-bb-value="Violet Purple"] { background-image: url('/cdn/shop/files/Violet_Purple.png'); }
.bb__chip[data-bb-value="Zig Zag Yellow"] { background-image: url('/cdn/shop/files/Zig_zag_yellow.png'); }
.bb__chip[data-bb-value="Zig Zag Blu"] { background-image: url('/cdn/shop/files/Zig_Zag_blu.png'); }
.bb__chip[data-bb-value="Pastel Orange"] { background-image: url('/cdn/shop/files/Pastel_Orange.png'); }
.bb__chip[data-bb-value="Zig Zag Pink"] { background-image: url('/cdn/shop/files/Zig_Zag_pink.png'); }
.bb__chip[data-bb-value][aria-pressed="true"] {
  border-color: #124634;
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px #124634;
}
.bb__chip[data-bb-value][aria-pressed="true"]::after {
  background: #fff;
  border: 1px solid #124634;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(18, 70, 52, .16);
  color: #124634;
  content: attr(data-bb-value);
  font-size: 12px;
  font-weight: 600;
  left: 50%;
  line-height: 1;
  padding: 7px 9px;
  pointer-events: none;
  position: absolute;
  top: -39px;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 3;
}
@media (hover: hover) {
  .bb__chip[data-bb-value="Abetone Green"]:hover,
  .bb__chip[data-bb-value="Classic Black"]:hover,
  .bb__chip[data-bb-value="Forest wood"]:hover,
  .bb__chip[data-bb-value="Red Passion"]:hover,
  .bb__chip[data-bb-value="Rose Pink"]:hover,
  .bb__chip[data-bb-value="Vintage Brown"]:hover,
  .bb__chip[data-bb-value="Violet Purple"]:hover,
  .bb__chip[data-bb-value="Zig Zag Yellow"]:hover,
  .bb__chip[data-bb-value="Zig Zag Blu"]:hover,
  .bb__chip[data-bb-value="Pastel Orange"]:hover,
  .bb__chip[data-bb-value="Zig Zag Pink"]:hover {
    border-color: #124634;
    transform: scale(1.04);
  }
}
  .bb[data-bb-step-count="6"] .bb__rail { min-width: 492px; }
  .bb[data-bb-step-count="6"] .bb__tier-name { white-space: nowrap; overflow-wrap: normal; }
}
