@charset "UTF-8";
/* ==========================================================================
   BABYBOON — Sleep Suit two-pack
   Tokens, grounds and components come from main.css. Nothing here introduces a
   colour, a face or a shadow that is not already in the direction.
   ========================================================================== */

/* The theme wraps every non-shop WooCommerce page in one white section inside
   a 1200px measure. The two-pack carries its own full-bleed grounds, so on this
   page the wrapper is reduced to a pass-through. */
body.bb-duo-page .bb-section--wc {
  padding-block: 0;
  background: none;
}
body.bb-duo-page .bb-section--wc > .bb-wrap {
  max-width: none;
  padding-inline: 0;
}
body.bb-duo-page .bb-wc-notices,
body.bb-duo-page .woocommerce-notices-wrapper {
  max-width: var(--bb-wrap);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

/* --------------------------------------------------------------------------
   Hero: the stage on one side, the configurator on the other
   -------------------------------------------------------------------------- */

.bbd-hero__inner {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(32px, 5vw, var(--bb-lg));
  align-items: start;
}

@media (max-width: 900px) {
  .bbd-hero__inner { grid-template-columns: 1fr; }
}

.bbd-stage__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2vw, var(--bb-sm));
}

.bbd-slot { margin: 0; }

/* The studio photographs carry an opaque 254,254,254 ground rather than
   transparency, so each one sits on the photo-white panel the theme keeps for
   exactly this. On off-white the bare image would show as a pale rectangle. */
.bbd-slot__frame {
  position: relative;
  aspect-ratio: 700 / 933;
  background: var(--bb-photo-white);
  border: 1px solid var(--bb-hairline);
  border-radius: var(--bb-r-md);
  overflow: hidden;
}

.bbd-slot__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  visibility: hidden;
}
.bbd-slot__img.is-on { opacity: 1; visibility: visible; }

.bbd-slot__cap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
  margin-top: 12px;
  font-family: var(--bb-body);
  font-size: 13px;
  line-height: 1.5;
}
.bbd-slot__n {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--bb-muted);
  font-weight: 500;
}
.bb-ar .bbd-slot__n { text-transform: none; letter-spacing: 0; }
.bbd-slot__c { color: var(--bb-ink); font-weight: 500; }

/* --------------------------------------------------------------------------
   The buy column
   -------------------------------------------------------------------------- */

.bbd-buy__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bbd-buy__h {
  font-size: clamp(30px, 4.4vw, 50px);
  margin-block: 10px 18px;
  max-width: 15ch;
}
.bb-ar .bbd-buy__h { line-height: 1.3; max-width: 18ch; }

/* Prices are Poppins, per the guidelines' type roles — and Salt Shaker has no
   en dash or em dash at all, so a price line set in it loses the glyph. */
.bbd-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  font-family: var(--bb-body);
  margin-block: 0 18px;
}
.bbd-price__now {
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--bb-ink);
}
.bbd-price__was {
  font-size: 17px;
  color: var(--bb-muted);
  text-decoration-thickness: 1px;
}
.bbd-price__save {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bb-ink);
  background: rgba(206, 134, 20, 0.22);
  border-radius: var(--bb-r-pill);
  padding: 5px 12px;
}
.bb-ar .bbd-price__save { text-transform: none; letter-spacing: 0; }

.bbd-buy__lede { margin-block: 0 var(--bb-md); }

/* --------------------------------------------------------------------------
   The two picks
   -------------------------------------------------------------------------- */

.bbd-pick {
  border: 0;
  border-top: 1px solid var(--bb-hairline);
  margin: 0;
  padding: var(--bb-md) 0 0;
}
.bbd-pick + .bbd-pick { margin-top: var(--bb-md); }

.bbd-pick__legend {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  font-family: var(--bb-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--bb-ink);
}
.bbd-pick__num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: var(--bb-r-pill);
  border: 1px solid var(--bb-hairline-strong);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.bbd-pick__label {
  margin-block: 20px 10px;
  font-family: var(--bb-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bb-muted);
}
.bb-ar .bbd-pick__label { text-transform: none; letter-spacing: 0; font-size: 13px; }

/* Colourway swatches: a filled circle of the exact garment hex, an Ink
   hairline ring when selected. Never a labelled square. */
.bbd-colours,
.bbd-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bbd-colours__input,
.bbd-sizes__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.bbd-colours__dot {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: var(--bb-r-pill);
  background: var(--bbd-hex);
  box-sizing: border-box;
  border: 1px solid var(--bb-hairline);
  cursor: pointer;
  outline: 1px solid transparent;
  outline-offset: 3px;
}
.bbd-colours__input:checked + .bbd-colours__dot {
  outline-color: var(--bb-ink);
}
.bbd-colours__input:focus-visible + .bbd-colours__dot {
  outline-color: var(--bb-accent);
  outline-width: 2px;
}

.bbd-sizes { gap: 10px; }
.bbd-sizes__pill {
  display: block;
  cursor: pointer;
  border: 1px solid var(--bb-hairline-strong);
  border-radius: var(--bb-r-md);
  padding: 10px 16px;
  font-family: var(--bb-body);
  line-height: 1.35;
  color: var(--bb-ink);
  background: none;
}
.bbd-sizes__k { display: block; font-size: 15px; font-weight: 600; }
.bbd-sizes__r { display: block; font-size: 13px; }
.bbd-sizes__w { display: block; font-size: 12px; color: var(--bb-muted); }

/* Active states are Amber. A tint rather than a fill, so a selected size never
   reads as a second call to action beside the button. */
.bbd-sizes__input:checked + .bbd-sizes__pill {
  border-color: var(--bb-accent);
  background: rgba(206, 134, 20, 0.14);
}
.bbd-sizes__input:focus-visible + .bbd-sizes__pill {
  outline: 2px solid var(--bb-accent);
  outline-offset: 2px;
}

.bbd-note {
  margin-block: var(--bb-md) var(--bb-sm);
  font-family: var(--bb-body);
  font-size: 13px;
  color: var(--bb-muted);
}

.bbd-add {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  justify-content: center;
}
.bbd-add__p { font-weight: 600; }
.bbd-add__p .woocommerce-Price-amount { color: inherit; }

.bbd-oos {
  font-family: var(--bb-body);
  font-weight: 500;
  padding: 14px 18px;
  border: 1px solid var(--bb-hairline-strong);
  border-radius: var(--bb-r-md);
}

/* --------------------------------------------------------------------------
   Why two
   -------------------------------------------------------------------------- */

.bbd-why__h { margin-block: 10px 14px; }
.bbd-why__lede { margin-bottom: var(--bb-md); }

.bbd-reasons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.bbd-reasons__item {
  display: flex;
  gap: 14px;
  align-items: start;
  font-family: var(--bb-body);
  font-size: 15px;
  line-height: 1.65;
}
.bbd-reasons__item .bb-icon { flex: none; margin-top: 3px; }
.bbd-reasons__item strong { font-weight: 600; }

.bbd-why__back { margin-top: var(--bb-md); }

/* --------------------------------------------------------------------------
   The homepage band
   -------------------------------------------------------------------------- */

.bbd-band__inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(28px, 5vw, var(--bb-lg));
  align-items: center;
}
@media (max-width: 860px) {
  .bbd-band__inner { grid-template-columns: 1fr; }
}

.bbd-band__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bbd-band__h {
  font-size: clamp(30px, 4.6vw, 54px);
  margin-block: 10px 16px;
  max-width: 16ch;
}
.bb-ar .bbd-band__h { line-height: 1.3; max-width: 19ch; }

.bbd-band__price {
  font-family: var(--bb-body);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  color: var(--bb-ink);
  margin: 0;
}
.bbd-band__sub {
  font-family: var(--bb-body);
  font-size: 15px;
  color: var(--bb-ink);
  margin-block: 6px var(--bb-md);
}
.bbd-band__cta { margin: 0; }

.bbd-band__figure {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.6vw, 18px);
}
.bbd-band__suit {
  display: block;
  width: 100%;
  height: auto;
  background: var(--bb-photo-white);
  border: 1px solid var(--bb-hairline);
  border-radius: var(--bb-r-md);
}

/* Shown to editors only, while the product is still unpublished. */
.bbd-band__flag {
  max-width: var(--bb-wrap);
  margin: var(--bb-md) auto 0;
  padding-inline: clamp(20px, 5vw, 40px);
  font-family: var(--bb-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bb-muted);
}
.bb-ar .bbd-band__flag { text-transform: none; letter-spacing: 0; }

/* --------------------------------------------------------------------------
   Cart
   -------------------------------------------------------------------------- */

.bb-duo-tag {
  display: block;
  font-family: var(--bb-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bb-muted);
  margin-bottom: 2px;
}
.bb-ar .bb-duo-tag { text-transform: none; letter-spacing: 0; font-size: 13px; }

.bb-duo-qty {
  display: inline-block;
  font-family: var(--bb-body);
  font-size: 15px;
  color: var(--bb-ink);
}
