/*
 * Sleepbetter.Baby v3.6.2
 * Brand, catalog, account, and responsive refinements.
 */

:root {
  --sbb-font-body: "Avenir Next Rounded", "Avenir Next", Avenir, "Segoe UI", "Noto Sans KR", sans-serif;
  --sbb-font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sbb-v360-ink: #392c25;
  --sbb-v360-cocoa: #6e4f3d;
  --sbb-v360-cocoa-deep: #4f372c;
  --sbb-v360-cream: #fbf4e9;
  --sbb-v360-paper: #fffdf8;
  --sbb-v360-sage: #e5eadf;
  --sbb-v360-blue: #e5edf0;
  --sbb-v360-peach: #f1d6c6;
  --sbb-v360-line: rgba(100, 73, 56, .14);
  --sbb-v360-shadow: 0 24px 70px rgba(66, 45, 32, .1);
}

.sbb-theme-v360 {
  background: var(--sbb-v360-paper);
}

.sbb-theme-v360 :where(h1, h2, h3) {
  font-kerning: normal;
  letter-spacing: -.035em;
}

.sbb-theme-v360 :where(.sbb-section-head h2, .sbb-page-hero h1, .sbb-hero h1) {
  max-width: 18ch;
}

.sbb-theme-v360 .sbb-stat-icon-svg {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: inherit;
}

.sbb-theme-v360 .sbb-stat-icon-svg > svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
}

.sbb-theme-v360 .sbb-brand-intro__title {
  max-width: 18ch;
  margin: 0 0 1rem;
  color: var(--sbb-v360-ink);
  font-family: var(--sbb-font-display);
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

/* Keep the featured article image and copy in their own grid columns. */
.sbb-theme-v360 .sbb-blog-featured__card {
  width: 100%;
  max-width: none;
}

.sbb-theme-v360 .sbb-blog-featured__card .sbb-post-card {
  width: 100%;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: stretch;
}

.sbb-theme-v360 .sbb-blog-featured__card .sbb-post-card__image {
  width: 100%;
  min-width: 0;
  min-height: clamp(360px, 34vw, 500px);
  aspect-ratio: auto;
}

.sbb-theme-v360 .sbb-blog-featured__card .sbb-post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sbb-theme-v360 .sbb-blog-featured__card .sbb-post-card__content {
  display: flex;
  min-width: 0;
  align-self: stretch;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 4vw, 3.4rem);
  background: var(--sbb-v360-paper);
}

/* A visible brand mark on both the illustrated Home and light inner pages. */
.sbb-theme-v360 .sbb-header-logo {
  width: clamp(198px, 18vw, 254px);
  flex: 0 0 clamp(198px, 18vw, 254px);
  min-width: 0;
}

.sbb-theme-v360 .sbb-logo--header,
.sbb-theme-v360 .sbb-logo--header :where(.sbb-logo__default, .sbb-logo__sticky) {
  width: 100%;
}

.sbb-theme-v360 .sbb-logo--header img {
  width: auto;
  max-width: min(100%, 246px);
  max-height: 49px;
  filter: none;
  object-fit: contain;
  object-position: left center;
}

.sbb-theme-v360.sbb-has-hero
  .sbb-site-header[data-hero-style="illustrated"]:not(.is-scrolled) {
  border-bottom-color: rgba(101, 74, 55, .13);
  background: rgba(255, 251, 244, .88);
  color: var(--sbb-v360-ink);
  box-shadow: 0 10px 34px rgba(68, 46, 34, .05);
  backdrop-filter: blur(18px) saturate(1.08);
}

.sbb-theme-v360.sbb-has-hero
  .sbb-site-header[data-hero-style="illustrated"]:not(.is-scrolled)
  .sbb-logo__default img {
  filter: none;
}

.sbb-theme-v360.sbb-has-hero
  .sbb-site-header[data-hero-style="illustrated"]:not(.is-scrolled)
  :where(.sbb-menu a, .sbb-header-action, .sbb-menu-toggle) {
  color: var(--sbb-v360-ink);
}

/* Keep the opening editorial illustration and its large title unmistakable. */
.sbb-theme-v360 .sbb-hero--illustrated {
  min-height: clamp(690px, 90vh, 940px);
  background: #f8efe3;
}

.sbb-theme-v360 .sbb-hero--illustrated .sbb-hero-content {
  z-index: 4;
  width: min(calc(100% - (var(--sbb-gutter) * 2)), var(--sbb-container-wide));
  max-width: none;
  padding-top: calc(var(--sbb-header-height) + clamp(3.4rem, 9vh, 7rem));
}

.sbb-theme-v360 .sbb-hero--illustrated .sbb-hero-content > * {
  max-width: min(660px, 48vw);
}

.sbb-theme-v360 .sbb-hero--illustrated h1 {
  margin: .22em 0 .28em;
  color: var(--sbb-v360-cocoa-deep);
  font-size: clamp(3.6rem, 6.9vw, 7rem);
  line-height: .96;
  letter-spacing: -.055em;
  text-shadow: 0 2px 0 rgba(255, 255, 255, .35);
}

.sbb-theme-v360 .sbb-hero--illustrated .sbb-hero-overline {
  color: #856148;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .16em;
}

.sbb-theme-v360 .sbb-hero--illustrated .sbb-hero-content > p:not(.sbb-hero-overline) {
  max-width: 55ch;
  color: #5f5047;
  font-size: clamp(1rem, 1.55vw, 1.24rem);
  line-height: 1.68;
}

.sbb-theme-v360 .sbb-hero--illustrated .sbb-hero-logo-mark {
  display: none;
}

.sbb-theme-v360 .sbb-hero--illustrated .sbb-btn--light {
  border-color: var(--sbb-v360-cocoa);
  background: var(--sbb-v360-cocoa);
  color: #fff;
}

.sbb-theme-v360 .sbb-hero--illustrated .sbb-btn--outline-light {
  border-color: rgba(89, 62, 47, .34);
  background: rgba(255, 253, 248, .7);
  color: var(--sbb-v360-cocoa-deep);
}

/* A calm, non-carousel Home bookshelf. */
.sbb-theme-v360 .sbb-product-list-v360 {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.sbb-theme-v360 .sbb-product-viewport {
  overflow: visible;
}

.sbb-theme-v360 .sbb-product-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-columns: auto;
  grid-auto-flow: row;
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow: visible;
  padding: .25rem 0 1rem;
  scroll-snap-type: none;
}

.sbb-theme-v360 :where(.sbb-product-arrow, .sbb-product-dots) {
  display: none;
}

.sbb-theme-v360 .sbb-product-card {
  min-width: 0;
  border-color: var(--sbb-v360-line);
  border-radius: 24px;
  background: rgba(255, 253, 248, .96);
  box-shadow: 0 12px 36px rgba(68, 46, 34, .06);
}

.sbb-theme-v360 .sbb-product-card__image {
  aspect-ratio: 4 / 5;
  border-bottom: 1px solid var(--sbb-v360-line);
}

.sbb-theme-v360 .sbb-product-card__content {
  display: flex;
  min-height: 230px;
  padding: 1rem;
  flex-direction: column;
}

.sbb-theme-v360 .sbb-product-card__type {
  margin: 0 0 .42rem;
  color: #836047;
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sbb-theme-v360 .sbb-pdp-buy-now-note {
  display: block;
  margin-top: .68rem;
  color: #79685d;
  font-size: .76rem;
  line-height: 1.5;
  text-align: center;
}

.sbb-theme-v360 .sbb-product-card__content h3 {
  margin: 0;
  font-size: clamp(1.15rem, 1.55vw, 1.42rem);
  line-height: 1.15;
}

.sbb-theme-v360 .sbb-product-card__excerpt {
  display: -webkit-box;
  margin: .55rem 0 .8rem;
  overflow: hidden;
  color: var(--sbb-muted);
  font-size: .78rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sbb-theme-v360 .sbb-product-card__footer {
  display: grid;
  gap: .7rem;
  margin-top: auto;
}

.sbb-theme-v360 .sbb-product-card__actions {
  display: grid;
  grid-template-columns: 1fr;
}

.sbb-theme-v360 .sbb-product-card__details {
  display: inline-flex;
  min-height: 44px;
  padding: .65rem 1rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sbb-v360-cocoa);
  border-radius: 999px;
  background: var(--sbb-v360-cocoa);
  color: #fff;
  font-size: .74rem;
  font-weight: 850;
  text-decoration: none;
}

/* The complete verified team is visible; no nth-child hiding. */
.sbb-theme-v360 .sbb-consultant-grid--compact .sbb-consultant-card:nth-child(n) {
  display: block;
}

.sbb-theme-v360 .sbb-consultant-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.7rem);
}

.sbb-theme-v360 .sbb-consultant-card__image {
  border: 1px solid var(--sbb-v360-line);
  border-radius: 24px;
  background: #eee3d8;
  box-shadow: 0 12px 34px rgba(68, 46, 34, .07);
}

.sbb-theme-v360 .sbb-consultant-card__image img {
  object-position: center 20%;
}

.sbb-theme-v360 .sbb-consultant-card__content strong {
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
}

.sbb-theme-v360 .sbb-consultant-card__content > span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* Simplified WooCommerce e-book shelf. */
.sbb-theme-v360.woocommerce :where(ul.products, .woocommerce-page ul.products) {
  gap: clamp(.9rem, 2vw, 1.4rem);
}

.sbb-theme-v360.woocommerce ul.products li.product.sbb-product-card-v320 {
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(68, 46, 34, .065);
}

.sbb-theme-v360.woocommerce ul.products li.product.sbb-product-card-v320
  .sbb-product-card-v320__body {
  padding: 1rem;
}

.sbb-theme-v360 .sbb-product-card-v320__kicker {
  min-height: 0;
  margin-bottom: .5rem;
}

.sbb-theme-v360 .sbb-product-card-v320__kicker span + span,
.sbb-theme-v360 .sbb-product-card-v320__facts,
.sbb-theme-v360 .sbb-product-card-v320__rating {
  display: none;
}

.sbb-theme-v360 .sbb-product-card-v320__excerpt {
  min-height: 0;
  margin: .5rem 0 .75rem;
  -webkit-line-clamp: 2;
}

.sbb-theme-v360 .sbb-product-card-v320__purchase {
  gap: .55rem;
  padding-top: .7rem;
}

.sbb-theme-v360 .sbb-product-card-v320__actions {
  grid-template-columns: 1fr;
}

.sbb-theme-v360.woocommerce ul.products li.product.sbb-product-card-v320
  .sbb-product-card-v320__details {
  border-color: var(--sbb-v360-cocoa);
  background: var(--sbb-v360-cocoa);
  color: #fff;
}

/* Cart and checkout: keep Woo/Stripe logic native and make only known controls cohesive. */
.sbb-theme-v360 :where(
  .wc-block-cart__submit-button,
  .wc-block-components-checkout-place-order-button,
  .woocommerce-cart .checkout-button,
  .woocommerce-checkout #place_order
) {
  min-height: 52px;
  border: 1px solid var(--sbb-v360-cocoa-deep);
  border-radius: 999px;
  background: var(--sbb-v360-cocoa-deep);
  color: #fff;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(79, 55, 44, .16);
}

.sbb-theme-v360 :where(
  .wc-block-cart__submit-button,
  .wc-block-components-checkout-place-order-button,
  .woocommerce-cart .checkout-button,
  .woocommerce-checkout #place_order
):hover {
  border-color: #35231c;
  background: #35231c;
  color: #fff;
}

.sbb-theme-v360 :where(
  .wc-block-components-express-payment,
  .wc-block-components-express-payment__content,
  .wc-block-components-payment-methods
) {
  font: inherit;
}

/* Account pages stay contained even when extensions insert wide tables/forms. */
.sbb-theme-v360.woocommerce-account .woocommerce {
  width: min(calc(100% - (var(--sbb-gutter) * 2)), 1240px);
  max-width: 100%;
  margin-inline: auto;
}

.sbb-theme-v360.woocommerce-account .woocommerce-MyAccount-content {
  min-width: 0;
  overflow-wrap: anywhere;
}

.sbb-theme-v360.woocommerce-account .woocommerce-MyAccount-content
  :where(table, form, .woocommerce-order-details, .woocommerce-customer-details) {
  max-width: 100%;
}

.sbb-theme-v360.woocommerce-account .sbb-library-book-card {
  border-radius: 22px;
}

.sbb-theme-v360.woocommerce-account
  :where(.sbb-library-book-card__reader, .sbb-library-download-card__reader) {
  min-height: 44px;
}

@media (max-width: 768px) {
  .sbb-theme-v360.single-product .sbb-pdp-sticky-purchase-v350 {
    display: grid;
    grid-template-columns: minmax(76px, .32fr) minmax(0, 1.68fr);
    gap: .65rem;
    padding: .65rem max(.75rem, env(safe-area-inset-right))
      calc(.65rem + env(safe-area-inset-bottom))
      max(.75rem, env(safe-area-inset-left));
    border: 1px solid rgba(102, 74, 56, .16);
    border-radius: 22px 22px 0 0;
    background: rgba(255, 253, 248, .96);
    box-shadow: 0 -12px 36px rgba(63, 42, 31, .13);
    backdrop-filter: blur(18px);
  }

  .sbb-theme-v360.single-product .sbb-pdp-sticky-purchase-v350__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .48rem;
  }

  .sbb-theme-v360.single-product
    .sbb-pdp-sticky-purchase-v350__form button.button {
    min-height: 48px;
    padding: .62rem .55rem;
    font-size: .72rem;
    line-height: 1.15;
  }

  .sbb-theme-v360.single-product
    .sbb-pdp-sticky-purchase-v350__form button.button:only-of-type {
    grid-column: 1 / -1;
  }

  .sbb-theme-v360.single-product
    .sbb-pdp-sticky-purchase-v350.is-submitting button {
    cursor: progress;
    opacity: .62;
  }
}

@media (max-width: 768px) {
  .sbb-theme-v360 .sbb-blog-featured__card .sbb-post-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .sbb-theme-v360 .sbb-blog-featured__card .sbb-post-card__image {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 1120px) {
  .sbb-theme-v360 .sbb-product-row,
  .sbb-theme-v360 .sbb-consultant-grid,
  .sbb-theme-v360.woocommerce :where(ul.products, .woocommerce-page ul.products) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --sbb-header-height: 70px;
  }

  .sbb-theme-v360 .sbb-header-logo {
    width: 156px;
    flex-basis: 156px;
  }

  .sbb-theme-v360 .sbb-logo--header,
  .sbb-theme-v360 .sbb-logo--header img {
    width: 154px;
    max-width: 154px;
  }

  .sbb-theme-v360 .sbb-logo--header img {
    height: auto;
    max-height: 38px;
  }

  .sbb-theme-v360 .sbb-hero--illustrated {
    min-height: max(680px, 100svh);
  }

  .sbb-theme-v360 .sbb-hero--illustrated .sbb-hero-content {
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: calc(var(--sbb-header-height) + 2.5rem);
    padding-bottom: clamp(2rem, 7vh, 4.5rem);
    text-align: left;
  }

  .sbb-theme-v360 .sbb-hero--illustrated .sbb-hero-content > * {
    max-width: min(100%, 580px);
  }

  .sbb-theme-v360 .sbb-hero--illustrated h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 11.6vw, 5.25rem);
  }

  .sbb-theme-v360 .sbb-hero--illustrated .sbb-hero-content > p:not(.sbb-hero-overline) {
    max-width: 42ch;
    font-size: .98rem;
  }

  .sbb-theme-v360 .sbb-product-row,
  .sbb-theme-v360 .sbb-consultant-grid,
  .sbb-theme-v360.woocommerce :where(ul.products, .woocommerce-page ul.products) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sbb-theme-v360 .sbb-consultant-card__content > span {
    -webkit-line-clamp: 2;
  }

  .sbb-theme-v360.woocommerce-account .woocommerce {
    width: min(calc(100% - 1.5rem), 1240px);
  }
}

@media (max-width: 480px) {
  .sbb-theme-v360 .sbb-header-inner {
    gap: .65rem;
  }

  .sbb-theme-v360 .sbb-header-logo {
    width: 142px;
    flex-basis: 142px;
  }

  .sbb-theme-v360 .sbb-logo--header,
  .sbb-theme-v360 .sbb-logo--header img {
    width: 140px;
    max-width: 140px;
  }

  .sbb-theme-v360 .sbb-logo--header img {
    height: auto;
    max-height: 36px;
  }

  .sbb-theme-v360 .sbb-hero--illustrated .sbb-hero-content {
    padding-inline: .2rem;
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }

  .sbb-theme-v360 .sbb-hero--illustrated h1 {
    font-size: clamp(2.8rem, 14vw, 4.15rem);
    line-height: .98;
  }

  .sbb-theme-v360 .sbb-hero--illustrated .sbb-hero-actions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .sbb-theme-v360 .sbb-hero--illustrated .sbb-hero-actions :where(a, button) {
    width: 100%;
    min-height: 48px;
  }

  .sbb-theme-v360 .sbb-product-row,
  body.sbb-theme-v360.woocommerce ul.products,
  body.sbb-theme-v360.woocommerce-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .72rem;
    margin-inline: 0;
  }

  .sbb-theme-v360 .sbb-product-card {
    border-radius: 18px;
  }

  .sbb-theme-v360 .sbb-product-card__content,
  .sbb-theme-v360.woocommerce ul.products li.product.sbb-product-card-v320
    .sbb-product-card-v320__body {
    min-height: 0;
    padding: .72rem;
  }

  .sbb-theme-v360 .sbb-product-card__type,
  .sbb-theme-v360 .sbb-product-card-v320__kicker span {
    font-size: .57rem;
  }

  .sbb-theme-v360 .sbb-product-card__content h3,
  .sbb-theme-v360.woocommerce ul.products li.product.sbb-product-card-v320
    .woocommerce-loop-product__title.sbb-product-card-v320__title {
    font-size: .98rem;
    line-height: 1.17;
  }

  .sbb-theme-v360 :where(.sbb-product-card__excerpt, .sbb-product-card-v320__excerpt) {
    display: none;
  }

  .sbb-theme-v360 .sbb-product-card__details,
  .sbb-theme-v360.woocommerce ul.products li.product.sbb-product-card-v320
    .sbb-product-card-v320__details {
    min-height: 44px;
    padding-inline: .55rem;
    font-size: .66rem;
  }

  .sbb-theme-v360 .sbb-consultant-grid {
    display: flex;
    gap: .85rem;
    overflow-x: auto;
    margin-inline: calc(var(--sbb-gutter) * -1);
    padding: .25rem var(--sbb-gutter) 1rem;
    scroll-padding-inline: var(--sbb-gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .sbb-theme-v360 .sbb-consultant-grid::-webkit-scrollbar {
    display: none;
  }

  .sbb-theme-v360 .sbb-consultant-card {
    width: min(74vw, 270px);
    flex: 0 0 min(74vw, 270px);
    scroll-snap-align: start;
  }

  .sbb-theme-v360 .sbb-consultant-card__content strong {
    font-size: 1.2rem;
  }

  .sbb-theme-v360.single-product .sbb-pdp-sticky-purchase-v350 {
    grid-template-columns: 1fr;
  }

  .sbb-theme-v360.single-product .sbb-pdp-sticky-purchase-v350__summary {
    display: none;
  }

  .sbb-theme-v360.single-product
    .sbb-pdp-sticky-purchase-v350__form button.button {
    min-height: 48px;
    padding-inline: .45rem;
    font-size: .7rem;
  }

  .sbb-theme-v360.woocommerce-account .sbb-account-navigation ul {
    gap: .35rem;
    overflow-x: auto;
    padding-bottom: .45rem;
    scroll-snap-type: x proximity;
  }

  .sbb-theme-v360.woocommerce-account .sbb-account-navigation li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}

@media (max-width: 350px) {
  .sbb-theme-v360 .sbb-product-row,
  body.sbb-theme-v360.woocommerce ul.products,
  body.sbb-theme-v360.woocommerce-page ul.products {
    grid-template-columns: 1fr;
  }

  .sbb-theme-v360 .sbb-product-card {
    display: grid;
    grid-template-columns: minmax(105px, .42fr) minmax(0, .58fr);
  }

  .sbb-theme-v360 .sbb-product-card__image {
    height: 100%;
    min-height: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sbb-theme-v360 *,
  .sbb-theme-v360 *::before,
  .sbb-theme-v360 *::after {
    scroll-behavior: auto;
  }
}

/*
 * v3.6.2 — calmer type, single-line catalog titles, and clearer pastel
 * surfaces. Essential page headings remain fully visible at every zoom level.
 */
.sbb-theme-v360 :where(h1, h2, h3) {
  font-weight: 600;
  letter-spacing: -.025em;
}

.sbb-theme-v360 :where(
  .sbb-section-label,
  .sbb-eyebrow,
  .sbb-product-kicker,
  .sbb-product-card__type,
  .sbb-product-card-v320__kicker span,
  .sbb-product-card__badge,
  .sbb-product-card-v320__badge,
  .sbb-pdp-ebook-hero__badges span,
  .sbb-pdp-editorial-index-v330 a
) {
  font-weight: 650;
}

.sbb-theme-v360 :where(
  .sbb-price,
  .sbb-product-card-v320__price strong,
  .sbb-pdp-ebook-price,
  .sbb-pdp-hero-commerce-v350__price strong
) {
  font-weight: 700;
}

/* Exact late selectors beat older 800–950 catalog/PDP microtype rules. */
.sbb-theme-v360 .sbb-product-card__type,
body.sbb-theme-v360.woocommerce .sbb-product-card-v320__kicker span {
  font-weight: 650;
}

body.sbb-theme-v360.single-product :where(
  .sbb-pdp-hero-commerce-v350__price small,
  .sbb-pdp-ebook-hero__badges span,
  .sbb-pdp-ebook-hero__meta,
  .sbb-pdp-ebook-select > span,
  .sbb-pdp-book-intro-v330__cover figcaption span,
  .sbb-pdp-book-intro-v330__jacket dt,
  .sbb-pdp-book-intro-v330__jacket blockquote cite
) {
  font-weight: 650;
}

body.sbb-theme-v360.single-product :where(
  .sbb-pdp-hero-commerce-v350__price strong,
  .sbb-pdp-ebook-price
) {
  font-weight: 700;
}

.sbb-theme-v360 .sbb-hero--illustrated .sbb-hero-content > h1 {
  max-width: min(26ch, 760px);
  font-size: clamp(3rem, 5vw, 5.35rem);
  font-weight: 600;
  line-height: 1.02;
  text-wrap: pretty;
}

.sbb-theme-v360 :where(
  .sbb-page-hero,
  .sbb-subpage-hero,
  .sbb-shop-hero
) h1,
.sbb-theme-v360 .sbb-v320-art-directed-hero h1 {
  max-width: min(26ch, 100%);
  font-size: clamp(2.4rem, 4.6vw, 4.6rem);
  font-weight: 600;
  line-height: 1.05;
  text-wrap: pretty;
}

.sbb-theme-v360 :where(
  .sbb-section-head,
  .sbb-section-copy,
  .sbb-illustrated-section__copy,
  .sbb-home-night-map-v320__head,
  .sbb-talk__copy,
  .sbb-notice-main,
  .sbb-review-cta__content
) h2 {
  max-width: min(32ch, 100%);
  font-size: clamp(1.85rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  text-wrap: pretty;
}

.sbb-theme-v360 .sbb-brand-intro__title {
  max-width: min(28ch, 100%);
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  font-weight: 600;
}

/* Product names stay compact on PC and mobile; assistive tech reads the full text. */
.sbb-theme-v360 .sbb-product-card h3,
body.sbb-theme-v360.woocommerce ul.products li.product.sbb-product-card-v320
  .woocommerce-loop-product__title.sbb-product-card-v320__title {
  display: block;
  min-height: 0;
  overflow: hidden;
  font-weight: 600;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sbb-theme-v360 .sbb-product-card h3 a,
body.sbb-theme-v360.woocommerce ul.products li.product.sbb-product-card-v320
  .woocommerce-loop-product__title.sbb-product-card-v320__title a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.sbb-theme-v360.single-product .sbb-pdp-ebook-hero__copy h1 {
  max-width: 26ch;
  font-size: clamp(2.45rem, 4.5vw, 4.6rem);
  font-weight: 600;
  line-height: 1.04;
  text-wrap: pretty;
}

body.sbb-theme-v360.single-product :where(
  .sbb-pdp-ebook-story-card,
  .sbb-pdp-book-intro-v330__jacket,
  .sbb-pdp-preview-v320__copy,
  .sbb-pdp-audience-v320 > header,
  .sbb-pdp-ebook-detail__head,
  .sbb-pdp-policy-v320 > header,
  .sbb-pdp-related-v320 > header,
  .sbb-pdp-ebook-buy-card
) h2 {
  font-size: clamp(1.75rem, 3.1vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  text-wrap: pretty;
}

/* Pastel rhythm across stats, Home products, Shop products, and the PDP. */
.sbb-theme-v360 .sbb-stat-card:nth-child(3n + 1) {
  background: #fff5ee;
}

.sbb-theme-v360 .sbb-stat-card:nth-child(3n + 2) {
  background: #f2f6ef;
}

.sbb-theme-v360 .sbb-stat-card:nth-child(3n + 3) {
  background: #eef4f7;
}

.sbb-theme-v360 .sbb-product-row > .sbb-product-card:nth-child(4n + 1),
body.sbb-theme-v360.woocommerce ul.products li.product.sbb-product-card-v320:nth-child(4n + 1) {
  background: #fff8f2;
}

.sbb-theme-v360 .sbb-product-row > .sbb-product-card:nth-child(4n + 2),
body.sbb-theme-v360.woocommerce ul.products li.product.sbb-product-card-v320:nth-child(4n + 2) {
  background: #f4f7f1;
}

.sbb-theme-v360 .sbb-product-row > .sbb-product-card:nth-child(4n + 3),
body.sbb-theme-v360.woocommerce ul.products li.product.sbb-product-card-v320:nth-child(4n + 3) {
  background: #f1f6f8;
}

.sbb-theme-v360 .sbb-product-row > .sbb-product-card:nth-child(4n),
body.sbb-theme-v360.woocommerce ul.products li.product.sbb-product-card-v320:nth-child(4n) {
  background: #fff3ec;
}

.sbb-theme-v360 .sbb-product-card__details,
body.sbb-theme-v360.woocommerce ul.products li.product.sbb-product-card-v320
  :where(.sbb-product-card-v320__details, .sbb-product-card-v320__cart) {
  border-color: #d8bdad;
  background: #efded2;
  color: #4f392f;
  font-weight: 650;
  box-shadow: none;
}

.sbb-theme-v360 .sbb-product-card__details:hover,
body.sbb-theme-v360.woocommerce ul.products li.product.sbb-product-card-v320
  :where(.sbb-product-card-v320__details, .sbb-product-card-v320__cart):hover {
  border-color: #c9aa97;
  background: #e4cec0;
  color: #3f2d25;
}

body.sbb-theme-v360.single-product .sbb-pdp-ebook-hero {
  background:
    radial-gradient(circle at 85% 8%, rgba(229, 237, 240, .74), transparent 34rem),
    linear-gradient(145deg, #fff8f2 0%, #f5f7f1 100%);
}

body.sbb-theme-v360.single-product .sbb-pdp-ebook-purchase {
  background: #faf5ee;
}

body.sbb-theme-v360.single-product .sbb-pdp-ebook-buy-card {
  border-color: #e3cfc1;
  background: #fff9f5;
  box-shadow: 0 18px 52px rgba(80, 55, 42, .09);
}

body.sbb-theme-v360.single-product .sbb-pdp-book-intro-v330__stage {
  border-color: #e2cdc0;
  background:
    radial-gradient(circle at 88% 4%, rgba(255, 255, 255, .76), transparent 24rem),
    linear-gradient(145deg, #fff3ec, #eef4f3);
  box-shadow: 0 24px 58px rgba(77, 54, 42, .09);
}

body.sbb-theme-v360.single-product .sbb-pdp-book-intro-v330__cover,
body.sbb-theme-v360.single-product .sbb-pdp-book-intro-v330__cover figcaption strong,
body.sbb-theme-v360.single-product .sbb-pdp-book-intro-v330__jacket,
body.sbb-theme-v360.single-product .sbb-pdp-book-intro-v330__jacket h2,
body.sbb-theme-v360.single-product .sbb-pdp-book-intro-v330__jacket blockquote p,
body.sbb-theme-v360.single-product .sbb-pdp-book-intro-v330__jacket dd {
  color: #4f392f;
}

body.sbb-theme-v360.single-product :where(
  .sbb-pdp-book-intro-v330__cover figcaption span,
  .sbb-pdp-book-intro-v330__jacket .sbb-section-label,
  .sbb-pdp-book-intro-v330__jacket blockquote cite,
  .sbb-pdp-book-intro-v330__jacket dt
) {
  color: #80604c;
}

body.sbb-theme-v360.single-product
  .sbb-pdp-book-intro-v330__jacket
  > p:not(.sbb-section-label) {
  color: #6f5f55;
}

body.sbb-theme-v360.single-product .sbb-pdp-book-intro-v330__jacket blockquote {
  border-color: rgba(114, 84, 65, .16);
  border-left-color: #d5ab94;
  background: rgba(255, 255, 255, .58);
}

body.sbb-theme-v360.single-product .sbb-pdp-book-intro-v330__jacket dl > div {
  border-top-color: rgba(114, 84, 65, .16);
}

body.sbb-theme-v360.single-product .sbb-pdp-book-intro-v330__pages {
  background: rgba(114, 84, 65, .08);
  box-shadow: 0 18px 42px rgba(68, 47, 36, .09);
}

body.sbb-theme-v360.single-product .sbb-pdp-ebook-benefits > div:nth-child(4n + 1) {
  background: #fff5ee;
}

body.sbb-theme-v360.single-product .sbb-pdp-ebook-benefits > div:nth-child(4n + 2) {
  background: #f2f6ef;
}

body.sbb-theme-v360.single-product .sbb-pdp-ebook-benefits > div:nth-child(4n + 3) {
  background: #eef4f7;
}

body.sbb-theme-v360.single-product .sbb-pdp-ebook-benefits > div:nth-child(4n) {
  background: #fff3ec;
}

body.sbb-theme-v360.single-product
  .sbb-pdp-ebook-actions
  :where(.single_add_to_cart_button, .sbb-pdp-direct-buy),
.sbb-theme-v360 :where(
  .wc-block-cart__submit-button,
  .wc-block-components-checkout-place-order-button,
  .woocommerce-cart .checkout-button,
  .woocommerce-checkout #place_order
) {
  font-weight: 700;
}

@media (min-width: 1025px) {
  .sbb-theme-v360 .sbb-section-head--split {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: clamp(1.5rem, 3vw, 3rem);
  }
}

@media (max-width: 820px) {
  .sbb-theme-v360 .sbb-hero--illustrated .sbb-hero-content > h1 {
    max-width: 100%;
    font-size: clamp(2.3rem, 7.8vw, 3.7rem);
  }

  .sbb-theme-v360 :where(
    .sbb-page-hero,
    .sbb-subpage-hero,
    .sbb-shop-hero
  ) h1,
  .sbb-theme-v360 .sbb-v320-art-directed-hero h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 6.8vw, 3.1rem);
  }

  .sbb-theme-v360 :where(
    .sbb-section-head,
    .sbb-section-copy,
    .sbb-illustrated-section__copy,
    .sbb-home-night-map-v320__head,
    .sbb-talk__copy,
    .sbb-notice-main
  ) h2 {
    max-width: 100%;
    font-size: clamp(1.7rem, 5.4vw, 2.4rem);
  }

  body.sbb-theme-v360.single-product .sbb-pdp-ebook-hero__copy h1 {
    max-width: 100%;
    font-size: clamp(2rem, 7vw, 3rem);
  }

  body.sbb-theme-v360.single-product :where(
    .sbb-pdp-ebook-story-card,
    .sbb-pdp-book-intro-v330__jacket,
    .sbb-pdp-preview-v320__copy,
    .sbb-pdp-audience-v320 > header,
    .sbb-pdp-ebook-detail__head,
    .sbb-pdp-policy-v320 > header,
    .sbb-pdp-ebook-buy-card
  ) h2 {
    font-size: clamp(1.65rem, 5.6vw, 2.35rem);
  }
}

@media (max-width: 480px) {
  .sbb-theme-v360 .sbb-hero--illustrated .sbb-hero-content > h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 10.5vw, 2.8rem);
    line-height: 1.05;
  }

  .sbb-theme-v360 :where(
    .sbb-page-hero,
    .sbb-subpage-hero,
    .sbb-shop-hero
  ) h1,
  .sbb-theme-v360 .sbb-v320-art-directed-hero h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.4rem);
  }

  .sbb-theme-v360 :where(
    .sbb-section-head,
    .sbb-section-copy,
    .sbb-illustrated-section__copy,
    .sbb-home-night-map-v320__head,
    .sbb-talk__copy,
    .sbb-notice-main
  ) h2 {
    font-size: clamp(1.5rem, 7vw, 1.95rem);
  }

  .sbb-theme-v360 .sbb-product-card h3,
  body.sbb-theme-v360.woocommerce ul.products li.product.sbb-product-card-v320
    .woocommerce-loop-product__title.sbb-product-card-v320__title {
    font-size: .94rem;
  }

  body.sbb-theme-v360.single-product .sbb-pdp-ebook-hero__copy {
    text-align: left;
  }

  body.sbb-theme-v360.single-product
    :where(.sbb-pdp-ebook-hero__badges, .sbb-pdp-ebook-hero__meta) {
    justify-content: flex-start;
  }

  body.sbb-theme-v360.single-product .sbb-pdp-ebook-hero__copy h1 {
    font-size: clamp(1.8rem, 8.3vw, 2.3rem);
  }

  body.sbb-theme-v360.single-product :where(
    .sbb-pdp-ebook-story-card,
    .sbb-pdp-book-intro-v330__jacket,
    .sbb-pdp-preview-v320__copy,
    .sbb-pdp-audience-v320 > header,
    .sbb-pdp-ebook-detail__head,
    .sbb-pdp-policy-v320 > header,
    .sbb-pdp-ebook-buy-card
  ) h2 {
    font-size: clamp(1.4rem, 6.4vw, 1.85rem);
  }

  .sbb-theme-v360.single-product
    .sbb-pdp-sticky-purchase-v350__form button.button {
    font-weight: 700;
    white-space: nowrap;
  }

  body.sbb-theme-v360:is(.woocommerce-cart, .woocommerce-checkout)
    .sbb-commerce-progress-v320
    ol {
    display: flex;
    gap: .45rem;
    overflow-x: auto;
    padding-bottom: .35rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  body.sbb-theme-v360:is(.woocommerce-cart, .woocommerce-checkout)
    .sbb-commerce-progress-v320
    ol::-webkit-scrollbar {
    display: none;
  }

  body.sbb-theme-v360:is(.woocommerce-cart, .woocommerce-checkout)
    .sbb-commerce-progress-v320
    li {
    min-height: 46px;
    flex: 0 0 min(150px, 70vw);
    scroll-snap-align: start;
  }

  body.sbb-theme-v360.woocommerce-cart
    .woocommerce
    table.shop_table_responsive.cart
    .product-name
    > a,
  body.sbb-theme-v360:is(.woocommerce-cart, .woocommerce-checkout)
    .wc-block-components-product-name {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
