.hb-managed-banner {
  --hb-banner-min-height: 320px;
  --hb-banner-max-height: 620px;
  position: relative;
  display: grid;
  overflow: hidden;
  width: min(100%, calc(var(--hb-banner-frame-width, 1440) * 1px));
  height: calc(var(--hb-banner-frame-height-desktop, var(--hb-banner-frame-height, 520)) * 1px);
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  margin-inline: auto;
  isolation: isolate;
  background: var(--hb-surface, #182230);
  color: #fff;
  container-name: hb-managed-banner;
  container-type: inline-size;
}
.hb-managed-banner:before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: var(
    --hb-banner-image,
    linear-gradient(135deg, #203c71, #7356ba)
  );
  background-position: center;
  background-size: cover;
  transition: transform 0.8s ease;
}
.hb-managed-banner:after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 13, 25, var(--hb-banner-overlay, 0.42)),
    rgba(7, 13, 25, 0.12)
  );
}
.hb-managed-banner-video {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hb-managed-banner-background-video:before { opacity: 0; }
.hb-managed-banner-background-slow-zoom:before { animation: hbBannerBackgroundZoom 16s ease-in-out infinite alternate; }
.hb-managed-banner-background-pan-left:before { animation: hbBannerBackgroundPanLeft 18s ease-in-out infinite alternate; }
.hb-managed-banner-background-pan-right:before { animation: hbBannerBackgroundPanRight 18s ease-in-out infinite alternate; }
.hb-managed-banner-background-soft-pulse:before { animation: hbBannerBackgroundPulse 8s ease-in-out infinite alternate; }
@keyframes hbBannerBackgroundZoom { to { transform: scale(1.09); } }
@keyframes hbBannerBackgroundPanLeft { from { transform: scale(1.08) translateX(2.5%); } to { transform: scale(1.08) translateX(-2.5%); } }
@keyframes hbBannerBackgroundPanRight { from { transform: scale(1.08) translateX(-2.5%); } to { transform: scale(1.08) translateX(2.5%); } }
@keyframes hbBannerBackgroundPulse { to { transform: scale(1.025); filter: saturate(1.12) brightness(1.04); } }
.hb-managed-banner-grid {
  box-sizing: border-box;
  display: grid;
  width: min(100% - 36px, var(--hb-display-wide, 1180px));
  margin: auto;
  padding: var(--hb-space-section, clamp(42px, 7vw, 90px)) 0;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--hb-space-grid, 20px);
  align-content: center;
}
.hb-managed-banner[data-hb-layout-width="narrow"] .hb-managed-banner-grid {
  width: min(100% - 36px, var(--hb-display-narrow, 760px));
}
.hb-managed-banner[data-hb-layout-width="full"] .hb-managed-banner-grid {
  width: auto;
  padding-inline: var(--hb-space-section, clamp(24px, 4vw, 64px));
}
.hb-managed-banner-cell {
  grid-column: 1 / span 8;
  min-width: 0;
}
.hb-managed-banner-cell.is-eyebrow span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hb-managed-banner-cell.is-title h2 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  letter-spacing: -0.055em;
  line-height: 0.94;
}
.hb-managed-banner-cell.is-summary p {
  max-width: 58ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}
.hb-managed-banner-cell.is-action {
  grid-column: 1 / span 4;
}
.hb-managed-banner-cell.is-custom {
  grid-column: span 4;
}
.hb-managed-banner-height-auto {
  aspect-ratio: auto;
}
.hb-managed-banner-height-compact {
  aspect-ratio: auto;
}
.hb-managed-banner-height-tall {
  aspect-ratio: auto;
}
.hb-managed-banner-height-viewport {
  aspect-ratio: auto;
}
.hb-managed-banner--free.hb-managed-banner-height-auto {
  aspect-ratio: auto;
}
.hb-managed-banner[data-hb-frame-device="desktop"]{height:calc(var(--hb-banner-frame-height-desktop,520) * 1px)}
.hb-managed-banner[data-hb-frame-device="tablet"]{height:calc(var(--hb-banner-frame-height-tablet,460) * 1px)}
.hb-managed-banner[data-hb-frame-device="phone"]{height:calc(var(--hb-banner-frame-height-phone,420) * 1px)}
@media(max-width:1099px){.hb-managed-banner:not([data-hb-frame-device]){height:calc(var(--hb-banner-frame-height-tablet,460) * 1px)}}
@media(max-width:760px){.hb-managed-banner:not([data-hb-frame-device]){height:calc(var(--hb-banner-frame-height-phone,420) * 1px)}}
.hb-managed-banner--split-hero .hb-managed-banner-grid {
  align-content: center;
}
.hb-managed-banner--split-hero .hb-managed-banner-cell {
  grid-column: 1 / span 6;
}
.hb-managed-banner--centered-spotlight .hb-managed-banner-grid {
  justify-items: center;
  text-align: center;
}
.hb-managed-banner--centered-spotlight .hb-managed-banner-cell {
  grid-column: 3 / span 8;
}
.hb-managed-banner--minimal-banner {
  color: var(--hb-text, #182230);
  background: var(--hb-surface-muted, #f6f4ef);
}
.hb-managed-banner--minimal-banner:after {
  display: none;
}
.hb-managed-banner--minimal-banner .is-summary p {
  color: var(--hb-text-muted, #667085);
}
.hb-managed-banner--animated-background:before {
  animation: hbBannerDrift 14s ease-in-out infinite alternate;
}
.hb-managed-banner-grid > * {
  animation: hbBannerEnter 0.62s both;
}
.hb-managed-banner-grid > *:nth-child(2) {
  animation-delay: 0.08s;
}
.hb-managed-banner-grid > *:nth-child(3) {
  animation-delay: 0.16s;
}
.hb-managed-banner-grid > *:nth-child(4) {
  animation-delay: 0.24s;
}
@keyframes hbBannerDrift {
  to {
    transform: scale(1.06) translate3d(-1%, 1%, 0);
  }
}
@keyframes hbBannerEnter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
@container hb-managed-banner (max-width: 760px) {
  .hb-managed-banner-grid {
    grid-template-columns: 1fr;
    width: min(100% - 28px, var(--hb-display-wide, 1180px));
  }
  .hb-managed-banner-cell,
  .hb-managed-banner--split-hero .hb-managed-banner-cell,
  .hb-managed-banner--centered-spotlight .hb-managed-banner-cell,
  .hb-managed-banner-cell.is-action,
  .hb-managed-banner-cell.is-custom {
    grid-column: 1;
  }
  .hb-managed-banner-cell.is-title h2 {
    font-size: clamp(2.2rem, 12vw, 4.2rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hb-managed-banner:before,
  .hb-managed-banner-grid > * {
    animation: none !important;
  }
  .hb-managed-banner-video { display: none !important; }
}
.hb-managed-banner-smart-grid {
  position: relative;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--hb-banner-grid-gap, 24px);
  width: 100%;
  min-height: inherit;
  margin: var(--hb-banner-root-margin, 16px);
  padding: var(--hb-banner-root-padding, 0px);
  overflow: hidden;
}
.hb-managed-banner-smart-grid > .is-smart-grid-cell,
.hb-managed-banner-child-grid > .is-smart-grid-cell {
  grid-column: span var(--hb-banner-span-phone, 12);
}
.hb-managed-banner .hb-grid-cell.hb-managed-banner-cell {
  padding: var(--hb-cell-padding, 14px);
}
.hb-managed-banner-child-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--hb-banner-grid-gap, 24px);
  width: 100%;
  min-height: 100%;
}
.hb-managed-banner-child-grid .hb-banner-cell-elements:has(.is-image) {
  overflow: hidden;
  height: 100%;
  min-height: clamp(82px, 12cqi, 190px);
  border-radius: var(--hb-radius-card, 14px);
  background: rgba(255,255,255,.12);
  box-shadow: 0 12px 30px rgba(7,13,25,.18);
}
.hb-managed-banner .hb-banner-product-card.hbdl-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding: clamp(8px, .85cqi, 12px);
  overflow: hidden;
  border: var(--hb-component-border-width, 1px) solid color-mix(in srgb, var(--hb-component-border-color, #fff) 42%, transparent);
  border-radius: var(--hb-component-radius, var(--hb-radius-card, 14px));
  background: color-mix(in srgb, var(--hb-surface, #fff) 92%, transparent);
  box-shadow: var(--hb-component-shadow, 0 12px 30px rgba(7,13,25,.18));
  color: var(--hb-text, #182230);
}
.hb-managed-banner .hb-banner-product-card > .hb-banner-cell-elements {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: minmax(104px, 1fr) auto minmax(2.45em, auto) auto auto;
  flex: 1 1 auto;
  align-content: start;
  width: 100%;
  min-height: 0;
  gap: clamp(4px, .55cqi, 7px);
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hb-managed-banner .hb-banner-product-card .hb-banner-element.is-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: clamp(104px, 12cqi, 168px);
  min-height: 0;
  max-height: 168px;
  aspect-ratio: 1;
  object-fit: contain;
  box-sizing: border-box;
  padding: clamp(10px, 1cqi, 14px);
  border-radius: var(--hb-component-radius, var(--hb-radius-card, 14px));
  background: var(--hb-muted-bg, #f2f4f7);
  grid-column: 1 / -1;
}
.hb-managed-banner .hb-banner-product-card .hb-banner-element.is-text {
  margin: 0;
  padding: 0;
  color: inherit;
  font-family: var(--hb-font-body, inherit);
  font-size: clamp(.64rem, .72cqi, .76rem);
  font-weight: 400;
  line-height: 1.22;
}
.hb-managed-banner .hb-banner-product-card .is-product-badge {
  grid-column: 1 / -1;
  justify-self: start;
  margin: 0;
  padding: 3px 7px;
  border: 1px solid color-mix(in srgb, var(--hb-accent, #635bff) 22%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--hb-accent, #635bff) 10%, #fff);
  color: color-mix(in srgb, var(--hb-accent, #635bff) 82%, #182230);
  font-size: clamp(.48rem, .56cqi, .58rem);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  text-transform: uppercase;
}
.hb-managed-banner .hb-banner-product-card .is-product-name,
.hb-managed-banner .hb-banner-product-card .is-product-rating,
.hb-managed-banner .hb-banner-product-card .is-product-savings { grid-column: 1 / -1; }
.hb-managed-banner .hb-banner-product-card .is-product-name {
  display: -webkit-box;
  min-height: 2.45em;
  overflow: hidden;
  padding: 0;
  font-size: clamp(.66rem, .78cqi, .82rem);
  font-weight: 500;
  line-height: 1.22;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.hb-managed-banner .hb-banner-product-card .is-product-rating {
  padding: 0;
  color: #f97316;
  font-size: clamp(.54rem, .62cqi, .66rem);
  font-weight: 500;
  letter-spacing: 0;
}
.hb-managed-banner .hb-banner-product-card .is-product-price {
  align-self: end;
  padding: 0;
  font-size: clamp(.86rem, 1cqi, 1.05rem);
  font-weight: 700;
  line-height: 1;
}
.hb-managed-banner .hb-banner-product-card .is-product-compare {
  align-self: end;
  justify-self: end;
  padding: 0;
  color: color-mix(in srgb, currentColor 58%, transparent);
  font-size: clamp(.52rem, .6cqi, .64rem);
  line-height: 1;
  text-decoration: line-through;
}
.hb-managed-banner .hb-banner-product-card .is-product-savings {
  padding: 0;
  color: var(--hb-success, #067647);
  font-size: clamp(.54rem, .64cqi, .66rem);
  font-weight: 500;
}
.hb-managed-banner--flow [data-hb-layout-cell="starter-product-grid"] {
  grid-column: 1 / -1 !important;
  grid-row: 5 !important;
  display: flex;
  min-height: clamp(150px, 42cqi, 220px);
  padding: 0;
  overflow: visible;
}
@container hb-managed-banner (min-width: 601px) {
  .hb-managed-banner--flow [data-hb-layout-cell="starter-eyebrow"],
  .hb-managed-banner--flow [data-hb-layout-cell="starter-title"],
  .hb-managed-banner--flow [data-hb-layout-cell="starter-summary"],
  .hb-managed-banner--flow [data-hb-layout-cell="starter-action"] {
    grid-column: 1 / span 6 !important;
  }
  .hb-managed-banner--flow [data-hb-layout-cell="starter-product-grid"] {
    grid-column: 7 / -1 !important;
    grid-row: 1 / span 4 !important;
    min-height: clamp(210px, 34cqi, 390px);
  }
}
@container hb-managed-banner (max-width: 900px) {
  .hb-managed-banner [data-hb-layout-cell="starter-product-grid"] {
    display: flex !important;
    min-height: 0;
  }
  .hb-managed-banner [data-hb-layout-cell="starter-product-grid"] > .hb-managed-banner-child-grid {
    display: flex !important;
    min-height: 0;
    gap: var(--hb-element-gap, 10px);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    touch-action: pan-x;
  }
  .hb-managed-banner [data-hb-layout-cell="starter-product-grid"] > .hb-managed-banner-child-grid::-webkit-scrollbar { display: none; }
  .hb-managed-banner [data-hb-layout-cell="starter-product-grid"] > .hb-managed-banner-child-grid > .hb-banner-product-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

/* PF-09A .149: forced previews and embedded viewports share one explicit
   responsive Product Card authority. Container queries remain the fallback. */
.hb-managed-banner[data-hb-frame-device="tablet"] [data-hb-layout-cell="starter-product-grid"],
.hb-managed-banner[data-hb-frame-device="phone"] [data-hb-layout-cell="starter-product-grid"] {
  display: flex !important;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.hb-managed-banner[data-hb-frame-device="tablet"] [data-hb-layout-cell="starter-product-grid"] > .hb-managed-banner-child-grid,
.hb-managed-banner[data-hb-frame-device="phone"] [data-hb-layout-cell="starter-product-grid"] > .hb-managed-banner-child-grid {
  display: flex !important;
  flex: 1 1 auto;
  gap: 0;
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  touch-action: pan-x;
}
.hb-managed-banner[data-hb-frame-device="tablet"] [data-hb-layout-cell="starter-product-grid"] > .hb-managed-banner-child-grid::-webkit-scrollbar,
.hb-managed-banner[data-hb-frame-device="phone"] [data-hb-layout-cell="starter-product-grid"] > .hb-managed-banner-child-grid::-webkit-scrollbar { display: none; }
.hb-managed-banner[data-hb-frame-device="tablet"] [data-hb-layout-cell="starter-product-grid"] > .hb-managed-banner-child-grid > .hb-banner-product-card,
.hb-managed-banner[data-hb-frame-device="phone"] [data-hb-layout-cell="starter-product-grid"] > .hb-managed-banner-child-grid > .hb-banner-product-card {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.hb-managed-banner[data-hb-frame-device="tablet"] [data-hb-layout-cell="starter-product-grid"] > .hb-banner-product-carousel-controls,
.hb-managed-banner[data-hb-frame-device="phone"] [data-hb-layout-cell="starter-product-grid"] > .hb-banner-product-carousel-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 7px;
}
.hb-managed-banner[data-hb-frame-device="tablet"] .hb-banner-product-card {
  max-height: 360px;
}
.hb-managed-banner[data-hb-frame-device="phone"] .hb-managed-banner-smart-grid {
  align-content: start;
  gap: 5px;
  margin: 10px;
}
.hb-managed-banner[data-hb-frame-device="phone"] .hb-grid-cell.hb-managed-banner-cell:not(.hb-banner-product-card) {
  padding: 4px 8px;
}
.hb-managed-banner[data-hb-frame-device="phone"] [data-hb-layout-cell="starter-title"] .hb-banner-element {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  font-size: clamp(1.8rem, 9cqi, 2.35rem);
  line-height: 1.02;
}
.hb-managed-banner[data-hb-frame-device="phone"] [data-hb-layout-cell="starter-summary"] .hb-banner-element {
  font-size: .84rem;
  line-height: 1.32;
}
.hb-managed-banner[data-hb-frame-device="phone"] [data-hb-layout-cell="starter-product-grid"] {
  min-height: 176px;
  max-height: 198px;
}
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card.hbdl-card {
  padding: 7px;
}
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card > .hb-banner-cell-elements {
  grid-template-columns: 104px minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(2.35em, auto) auto auto;
  column-gap: 9px;
  row-gap: 3px;
}
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card .hb-banner-element.is-image {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: stretch;
  height: 100%;
  max-height: none;
  padding: 8px;
}
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card .is-product-badge,
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card .is-product-name,
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card .is-product-rating,
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card .is-product-savings { grid-column: 2 / -1; }
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card .is-product-price { grid-column: 2; }
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card .is-product-compare { grid-column: 3; }
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card .is-product-rating { display: none; }
.hb-banner-product-carousel-controls { display: none; }
@container hb-managed-banner (max-width: 900px) {
  .hb-banner-product-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 8px;
  }
  .hb-banner-product-carousel-controls button {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--hb-surface, #fff) 92%, transparent);
    color: var(--hb-text, #182230);
    font: 700 20px/1 inherit;
  }
  .hb-banner-product-carousel-controls span { min-width: 42px; font-size: 12px; font-weight: 700; text-align: center; }
}
.hb-managed-banner--flow [data-hb-layout-cell="starter-product-grid"] > .hb-banner-cell-elements:empty {
  display: none;
}
.hb-managed-banner--flow [data-hb-layout-cell="starter-product-grid"] > .hb-managed-banner-child-grid {
  position: relative;
  inset: auto;
  flex: 1 1 auto;
  align-items: stretch;
  min-width: 0;
  min-height: 100%;
  overflow: visible;
  grid-auto-rows: minmax(0, 1fr);
}
.hb-managed-banner--flow [data-hb-layout-cell="starter-product-grid"] > .hb-managed-banner-child-grid > .hb-managed-banner-cell {
  grid-row: 1 !important;
  height: 100%;
  align-self: stretch;
  min-height: 0;
  padding: 0;
}
@container hb-managed-banner (min-width: 761px) {
  .hb-managed-banner-smart-grid > .is-smart-grid-cell,
  .hb-managed-banner-child-grid > .is-smart-grid-cell {
    grid-column: span var(--hb-banner-span-tablet, 12);
  }
}
@container hb-managed-banner (min-width: 901px) {
  .hb-managed-banner-smart-grid > .is-smart-grid-cell,
  .hb-managed-banner-child-grid > .is-smart-grid-cell {
    grid-column: span var(--hb-banner-span-desktop, 12);
  }
}

/*
 * Free-canvas banners use the same coordinate surface as Banner Studio:
 * one root boundary inset directly from the banner, with no extra constrained
 * grid changing percentage positions between authoring and public output.
 */
.hb-managed-banner--free .hb-managed-banner-grid {
  position: absolute;
  inset: 0;
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
}
.hb-managed-banner--free .hb-managed-banner-smart-grid {
  position: absolute;
  inset: var(--hb-banner-root-margin, 16px);
  box-sizing: border-box;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: var(--hb-banner-root-padding, 0px);
  overflow: visible;
}

/* Governed template layouts flow through the canonical 12-column grid. */
.hb-managed-banner--flow .hb-managed-banner-grid {
  display: grid;
  min-height: 100%;
  align-items: center;
}
.hb-managed-banner--flow .hb-managed-banner-smart-grid {
  grid-column: 1 / -1;
  grid-row: 1;
  align-content: center;
  grid-auto-rows: minmax(min-content, auto);
  width: auto;
  margin: var(--hb-banner-root-margin, 16px);
  overflow: visible;
}
.hb-managed-banner--flow .hb-banner-cell-elements:has(> .btn) {
  align-items: flex-start;
}
.hb-managed-banner--flow .hb-managed-banner-cell[data-hb-banner-layer] {
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  height: auto;
  grid-column: var(--hb-grid-phone-start, 1) / span var(--hb-grid-phone-span, 12);
  grid-row: var(--hb-grid-row, auto);
  translate: none;
}
@container hb-managed-banner (min-width:761px) {
  .hb-managed-banner--flow .hb-managed-banner-cell[data-hb-banner-layer] {
    grid-column: var(--hb-grid-tablet-start, 1) / span var(--hb-grid-tablet-span, 12);
  }
}
@container hb-managed-banner (min-width:901px) {
  .hb-managed-banner--flow .hb-managed-banner-cell[data-hb-banner-layer] {
    grid-column: var(--hb-grid-desktop-start, 1) / span var(--hb-grid-desktop-span, 12);
  }
}

/* Compact is a responsive density profile, not a crop of the standard grid. */
.hb-managed-banner--flow.hb-managed-banner-height-compact .hb-managed-banner-smart-grid {
  gap: 8px;
  margin: 10px;
}
.hb-managed-banner--flow.hb-managed-banner-height-compact .hb-managed-banner-cell[data-hb-banner-layer] {
  padding: min(var(--hb-cell-padding, 14px), 6px);
}
.hb-managed-banner--flow.hb-managed-banner-height-compact .hb-banner-element.is-heading {
  font-size: clamp(1.65rem, 3.2cqi, 2.35rem);
  line-height: 1.02;
}
.hb-managed-banner--flow.hb-managed-banner-height-compact [data-hb-banner-layer="cell-eyebrow"] .hb-banner-element {
  font-size: 0.72rem;
  line-height: 1.1;
}
.hb-managed-banner--flow.hb-managed-banner-height-compact [data-hb-banner-layer="cell-summary"] .hb-banner-element {
  font-size: clamp(0.8rem, 1.2cqi, 0.95rem);
  line-height: 1.3;
}
.hb-managed-banner--flow.hb-managed-banner-height-compact .btn {
  min-height: 36px;
  padding: 8px 14px;
  font-size: clamp(0.78rem, 1.1cqi, 0.9rem);
}

/* PF-09A .149 final viewport authority: Tablet presents a composed two-up
   product rail; Phone remains a single-card carousel. */
.hb-managed-banner[data-hb-frame-device="tablet"] [data-hb-layout-cell="starter-product-grid"] > .hb-managed-banner-child-grid { gap: 10px !important; }
.hb-managed-banner[data-hb-frame-device="tablet"] [data-hb-layout-cell="starter-product-grid"] > .hb-managed-banner-child-grid > .hb-banner-product-card {
  flex: 0 0 calc((100% - 10px) / 2) !important;
  width: calc((100% - 10px) / 2) !important;
  max-width: calc((100% - 10px) / 2) !important;
}
.hb-managed-banner[data-hb-frame-device="tablet"] [data-hb-layout-cell="starter-product-grid"][data-hb-product-count="1"] > .hb-managed-banner-child-grid > .hb-banner-product-card {
  flex-basis: 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}
.hb-managed-banner[data-hb-frame-device="tablet"] [data-hb-layout-cell="starter-product-grid"][data-hb-product-count="2"] > .hb-banner-product-carousel-controls { display: none !important; }
.hb-managed-banner[data-hb-frame-device="phone"] [data-hb-layout-cell="starter-product-grid"] > .hb-managed-banner-child-grid > .hb-banner-product-card {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}
@container hb-managed-banner (min-width: 501px) and (max-width: 900px) {
  .hb-managed-banner:not([data-hb-frame-device]) [data-hb-layout-cell="starter-product-grid"] > .hb-managed-banner-child-grid { gap: 10px; }
  .hb-managed-banner:not([data-hb-frame-device]) [data-hb-layout-cell="starter-product-grid"] > .hb-managed-banner-child-grid > .hb-banner-product-card {
    flex-basis: calc((100% - 10px) / 2);
    width: calc((100% - 10px) / 2);
    max-width: calc((100% - 10px) / 2);
  }
  .hb-managed-banner:not([data-hb-frame-device]) [data-hb-layout-cell="starter-product-grid"][data-hb-product-count="1"] > .hb-managed-banner-child-grid > .hb-banner-product-card {
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
  }
  .hb-managed-banner:not([data-hb-frame-device]) [data-hb-layout-cell="starter-product-grid"][data-hb-product-count="2"] > .hb-banner-product-carousel-controls { display: none; }
}

/* PF-09A .150: HBDL retail-card anatomy is content driven. The media row no
   longer absorbs unused card height between the image and commerce details. */
.hb-managed-banner .hb-banner-product-card.hbdl-card {
  border-color: color-mix(in srgb, var(--hb-component-border-color, #d0d5dd) 76%, transparent);
  background: var(--hb-surface, #fff);
  box-shadow: 0 8px 24px rgba(16, 24, 40, .14);
}
.hb-managed-banner .hb-banner-product-card > .hb-banner-cell-elements {
  grid-template-rows: auto auto minmax(2.44em, auto) auto auto auto;
  align-content: start;
  row-gap: clamp(5px, .58cqi, 8px);
}
.hb-managed-banner .hb-banner-product-card .hb-banner-element.is-image {
  align-self: start;
  aspect-ratio: 4 / 3;
  border: 1px solid color-mix(in srgb, var(--hb-component-border-color, #d0d5dd) 42%, transparent);
}
.hb-managed-banner .hb-banner-product-card .is-product-badge { margin-top: 1px; }
.hb-managed-banner .hb-banner-product-card .is-product-name {
  font-size: clamp(.72rem, .82cqi, .86rem);
  line-height: 1.22;
}
.hb-managed-banner .hb-banner-product-card .is-product-rating { font-size: clamp(.6rem, .66cqi, .7rem); }
.hb-managed-banner .hb-banner-product-card .is-product-price { font-size: clamp(1rem, 1.15cqi, 1.2rem); }
.hb-managed-banner .hb-banner-product-card .is-product-compare { align-self: center; }
.hb-managed-banner .hb-banner-product-card .is-product-savings { line-height: 1.15; }
.hb-managed-banner[data-hb-frame-device="desktop"] [data-hb-layout-cell="starter-product-grid"] > .hb-managed-banner-child-grid,
.hb-managed-banner[data-hb-frame-device="tablet"] [data-hb-layout-cell="starter-product-grid"] > .hb-managed-banner-child-grid {
  min-height: 0;
  align-items: start;
  grid-auto-rows: auto;
}
.hb-managed-banner[data-hb-frame-device="desktop"] .hb-banner-product-card,
.hb-managed-banner[data-hb-frame-device="tablet"] .hb-banner-product-card {
  height: auto !important;
  align-self: start;
}
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card { height: 100% !important; }
@container hb-managed-banner (min-width: 501px) {
  .hb-managed-banner:not([data-hb-frame-device]) [data-hb-layout-cell="starter-product-grid"] > .hb-managed-banner-child-grid {
    min-height: 0;
    align-items: start;
    grid-auto-rows: auto;
  }
  .hb-managed-banner:not([data-hb-frame-device]) .hb-banner-product-card {
    height: auto !important;
    align-self: start;
  }
}

/* PF-09A .151: approved HBDL retail composition for Desktop, Tablet, Phone. */
.hb-managed-banner .hb-banner-product-card.hbdl-card {
  box-sizing: border-box;
  padding: clamp(9px, .8cqi, 12px);
  border: 1px solid color-mix(in srgb, var(--hb-component-border-color, #d0d5dd) 82%, transparent);
  border-radius: var(--hb-component-radius, 16px);
  background: var(--hb-surface, #fff);
  box-shadow: 0 12px 30px rgba(16, 24, 40, .16);
}
.hb-managed-banner .hb-banner-product-card > .hb-banner-cell-elements {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto minmax(2.42em, auto) auto auto auto;
  align-content: start;
  gap: clamp(5px, .52cqi, 8px) clamp(7px, .7cqi, 10px);
}
.hb-managed-banner .hb-banner-product-card .hb-banner-element.is-image {
  width: 100%;
  height: clamp(132px, 13.5cqi, 190px);
  max-height: 190px;
  aspect-ratio: 4 / 3;
  padding: clamp(10px, 1cqi, 14px);
  border: 1px solid color-mix(in srgb, var(--hb-component-border-color, #d0d5dd) 38%, transparent);
  border-radius: calc(var(--hb-component-radius, 16px) - 4px);
  background: var(--hb-muted-bg, #f5f6f8);
  object-fit: contain;
}
.hb-managed-banner .hb-banner-product-card .is-product-badge {
  min-height: 20px;
  padding: 3px 8px;
  border-color: #86d7a7;
  background: #f0fff6;
  color: #08783f;
  font-size: clamp(.52rem, .56cqi, .61rem);
  font-weight: 600;
}
.hb-managed-banner .hb-banner-product-card .is-product-name {
  min-height: 2.42em;
  font-size: clamp(.76rem, .84cqi, .9rem);
  font-weight: 500;
  line-height: 1.21;
}
.hb-managed-banner .hb-banner-product-card .is-product-rating {
  display: block;
  white-space: nowrap;
  font-size: clamp(.62rem, .67cqi, .72rem);
  line-height: 1.15;
}
.hb-managed-banner .hb-product-stars { color: #f97316; letter-spacing: .01em; }
.hb-managed-banner .hb-product-reviews { margin-left: 3px; color: #667085; font-weight: 400; }
.hb-managed-banner .hb-banner-product-card .is-product-price {
  font-size: clamp(1rem, 1.14cqi, 1.24rem);
  font-weight: 750;
  letter-spacing: -.02em;
}
.hb-managed-banner .hb-banner-product-card .is-product-compare {
  color: #7b8493;
  font-size: clamp(.58rem, .62cqi, .68rem);
  font-weight: 400;
}
.hb-managed-banner .hb-banner-product-card .is-product-savings {
  color: #08783f;
  font-size: clamp(.61rem, .67cqi, .72rem);
  font-weight: 500;
}
.hb-managed-banner[data-hb-frame-device="desktop"] [data-hb-layout-cell="starter-product-grid"] > .hb-managed-banner-child-grid {
  align-items: stretch !important;
  grid-auto-rows: 1fr !important;
}
.hb-managed-banner[data-hb-frame-device="desktop"] .hb-banner-product-card,
.hb-managed-banner[data-hb-frame-device="tablet"] .hb-banner-product-card { height: 100% !important; }
.hb-managed-banner[data-hb-frame-device="tablet"] [data-hb-layout-cell="starter-product-grid"] > .hb-managed-banner-child-grid { align-items: stretch !important; }
.hb-managed-banner[data-hb-frame-device="phone"] [data-hb-layout-cell="starter-product-grid"] {
  min-height: 182px !important;
  max-height: 218px !important;
}
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card.hbdl-card { height: 100% !important; padding: 7px; }
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card > .hb-banner-cell-elements {
  grid-template-columns: 98px minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(2.35em, auto) auto auto auto;
  gap: 3px 8px;
}
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card .hb-banner-element.is-image {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: stretch;
  height: 100%;
  min-height: 0;
  max-height: none;
  padding: 7px;
}
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card .is-product-badge,
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card .is-product-name,
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card .is-product-rating,
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card .is-product-savings { grid-column: 2 / -1 !important; }
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card .is-product-price { grid-column: 2 !important; }
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card .is-product-compare { grid-column: 3 !important; }
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card .is-product-rating { display: block !important; font-size: 10px; }
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card .is-product-name { font-size: .68rem; }
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card .is-product-price { font-size: .9rem; }
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card .is-product-compare,
.hb-managed-banner[data-hb-frame-device="phone"] .hb-banner-product-card .is-product-savings { font-size: 10px; }
