.sb-banners {
  --banner-height: clamp(284px, 236px + 4.5vw, 305px);
  position: relative;
  isolation: isolate;
  background: var(--deep);
  color: var(--cream);
}
.sb-banner-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
}
.sb-banners:has(.sb-banner-controls:not([hidden])) .sb-banner-rail {
  scrollbar-width: none;
}
.sb-banner {
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: var(--banner-height);
  padding: 44px 16px;
  scroll-snap-align: start;
  text-align: center;
  background: var(--deep);
}
.sb-banner > picture,
.sb-banner::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}
.sb-banner > picture {
  z-index: -2;
}
.sb-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sb-banner::after {
  content: '';
  background: linear-gradient(90deg, transparent, rgb(5 20 14 / 42%) 36% 64%, transparent),
    linear-gradient(0deg, rgb(5 20 14 / 38%), transparent 34%);
}
.sb-banner-edit-sculptural img {
  object-position: 50% 52%;
}
.sb-banner-edit-sculptural::after,
.sb-banner-gifts::after {
  background: linear-gradient(90deg, rgb(19 21 12 / 15%), rgb(13 24 17 / 68%) 39% 61%, rgb(19 21 12 / 16%)),
    linear-gradient(0deg, rgb(12 20 14 / 35%), transparent 35%);
}
.sb-banner-copy {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: clamp(8px, 1vw, 14px);
}
.sb-banner .sb-banner-title {
  margin: 0;
  color: #fff9e9;
  font: 500 clamp(34px, 22px + 2.4vw, 56px)/1.03 var(--serif);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.sb-banner-title em {
  font-weight: inherit;
}
.sb-banner-copy .button {
  width: auto;
  max-width: 100%;
  justify-self: center;
  min-height: 44px;
  padding: 10px 22px;
}
.sb-banner-controls {
  position: absolute;
  z-index: 1;
  inset-inline: 0;
  bottom: 2px;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
}
.sb-banner-controls button {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  min-height: 40px;
  padding: 0 5px;
  color: #fff9e9;
  border: 0;
}
.sb-banner-controls .sb-banner-rotation {
  min-width: 48px;
  margin-inline-end: 5px;
  font: 600 12px/1.25 var(--sans);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sb-banner-dot::before {
  content: '';
  width: 17px;
  height: 3px;
  border: 1px solid currentColor;
  border-radius: 4px;
}
.sb-banner-dot[aria-current]::before {
  width: 23px;
  background: currentColor;
}
.sb-banner-controls button:hover {
  color: #f6d596;
}
.sb-banner-controls button:focus-visible {
  outline-offset: -3px;
}
@media (min-width: 1001px) and (max-width: 1050px) {
  .sb-banners { --banner-height: calc(203px + 4.5vw); }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .sb-banners { --banner-height: calc(8px + 27.65vw); }
}
@media (min-width: 541px) and (max-width: 760px) {
  .sb-banners { --banner-height: clamp(176px, 20px + 26.1vw, 219px); }
}
@media (max-width: 540px) {
  .sb-banners { --banner-height: clamp(258px, 185px + 20.5vw, 277px); }
  .sb-banner img { object-position: 52% center; }
  .sb-banner-edit-sculptural::after,
  .sb-banner-gifts::after {
    background: linear-gradient(0deg, rgb(16 24 16 / 44%), rgb(16 24 16 / 60%) 43% 62%, rgb(16 24 16 / 18%));
  }
  .sb-banner-controls button { min-width: 40px; min-height: 44px; }
}
