.bco-showcase {
  --scene-ease: cubic-bezier(.22, .75, .25, 1);
  position: relative;
  isolation: isolate;
}

.bco-showcase-frames {
  display: grid;
  overflow: hidden;
  isolation: isolate;
  border-radius: 0 0 48% 7% / 0 0 5% 2%;
  touch-action: pan-y;
}

.bco-scene-sun { --scene-bg: #f9be2e; --scene-ink: #201502; --scene-tint: #ffc339; --scene-flare: #fff3ab; }
.bco-scene-night { --scene-bg: #06061d; --scene-ink: #f9edff; --scene-tint: #b294ff; --scene-flare: #c4a6ff; }
.bco-scene-green { --scene-bg: #dce78f; --scene-ink: #20290e; --scene-tint: #dbe885; --scene-flare: #f9ffd1; }

.bco-showcase-scene {
  position: relative;
  grid-area: 1 / 1;
  display: grid;
  min-height: clamp(610px, 50vw, 870px);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--scene-ink);
  background: var(--scene-bg);
  opacity: 1;
  visibility: visible;
  transition: opacity .64s ease, visibility .64s;
}

.bco-showcase-scene[aria-hidden="false"] { z-index: 1; --focus: currentColor; }
.bco-showcase-scene[aria-hidden="true"] { opacity: 0; visibility: hidden; pointer-events: none; }
.bco-showcase-art, .bco-showcase-art::after { position: absolute; inset: 0; }
.bco-showcase-art { z-index: -1; overflow: hidden; }
.bco-showcase-art::after {
  content: "";
  background: linear-gradient(90deg, var(--scene-bg), transparent 60%);
  opacity: .6;
}
.bco-showcase-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 48%;
  scale: 1.021;
  transition: scale 1.25s var(--scene-ease);
}
.bco-showcase-art.bco-motion-art img { scale: 1.057; }
.bco-showcase-scene[aria-hidden="true"] img { scale: 1.12; }
.bco-showcase-copy { padding-block: 40px 136px; }
.bco-showcase-type {
  width: fit-content;
  max-width: 100%;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s ease .12s, transform .76s var(--scene-ease);
}
.bco-showcase-scene[aria-hidden="true"] .bco-showcase-type { opacity: 0; transform: translateY(18px); transition-delay: 0s; }
.bco-showcase-kicker { display: flex; gap: 9px; align-items: center; margin-bottom: 16px; font-size: .75rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.bco-showcase-kicker span { width: 7px; height: 7px; background: currentColor; border-radius: 50%; }
.bco-showcase-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(6.2rem, 11.1vw, 12rem);
  font-weight: 800;
  letter-spacing: -.037em;
  line-height: .72;
  text-transform: uppercase;
}
.bco-showcase-title > span { display: inline-block; margin-top: .13em; }
@supports (-webkit-text-stroke: 1px black) {
  .bco-showcase-title > span { -webkit-text-stroke: clamp(1.6px, .17vw, 2.8px) var(--scene-ink); color: transparent; }
  .bco-showcase-dot-end { -webkit-text-stroke: 0; color: var(--scene-ink); }
}
.bco-showcase-intro { max-width: 35ch; margin: 23px 0 16px; font-size: clamp(.95rem, 1.35vw, 1.15rem); font-weight: 600; }
.bco-showcase .bco-showcase-cta {
  gap: 16px;
  min-height: 48px;
  padding: 5px 6px 5px 17px;
  border: 1px solid var(--scene-ink);
  border-radius: 99px;
  background: var(--scene-ink);
  color: var(--scene-bg);
}
.bco-showcase-cta span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--scene-flare); color: #201502; transition: transform .26s var(--scene-ease); }
.bco-showcase-cta:hover span { transform: rotate(-16deg); }

.bco-showcase-console {
  --deck-ink: #f8f2e8;
  --focus: #ffdf82;
  position: absolute;
  z-index: 2;
  left: max(var(--edge), calc((100% - 1640px) / 2 + var(--edge)));
  bottom: clamp(30px, 4.5vw, 66px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 10px;
  align-items: center;
  width: max-content;
  max-width: calc(100% - 2 * var(--edge));
  padding: 5px 7px 5px 5px;
  border: 1px solid #ffffff25;
  border-radius: 32px;
  background: #16151df2;
  color: var(--deck-ink);
  box-shadow: 0 10px 30px #1a101d29;
}
.bco-showcase-transport, .bco-showcase-picks { display: flex; align-items: center; gap: 3px; }
.bco-showcase-round, .bco-showcase-choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0;
  color: inherit;
  border: 1px solid transparent;
  border-radius: 99px;
  background: transparent;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.bco-showcase-round { width: 44px; background: #ffffff15; font-size: 1.25rem; }
.bco-showcase-next { color: #18141b; background: var(--deck-ink); }
.bco-showcase-round:hover { background: #ffd881; color: #1b1520; }
.bco-showcase-toggle span { width: 0; height: 0; margin-left: 2px; border-block: 5px solid transparent; border-left: 8px solid currentColor; }
.bco-showcase-toggle[data-playing="true"] span { width: 8px; height: 10px; margin: 0; border: solid currentColor; border-width: 0 2px; }
.bco-showcase-choice { gap: 6px; padding-inline: 11px; font-size: .78rem; font-weight: 750; white-space: nowrap; }
.bco-showcase-choice:hover { border-color: #ffffff80; }
.bco-showcase-choice[aria-pressed="true"] { background: var(--scene-tint); color: #18141b; }
.bco-showcase-dot { width: 7px; height: 7px; flex: 0 0 7px; background: var(--scene-tint); border-radius: 50%; }
.bco-showcase-choice[aria-pressed="true"] .bco-showcase-dot { background: currentColor; }
.bco-showcase-meter { height: 2px; margin: 3px 9px 1px 5px; grid-column: 2; overflow: hidden; border-radius: 5px; background: #ffffff25; }
.bco-showcase-meter span { display: block; height: 100%; transform: scaleX(0); transform-origin: left center; background: #fff3bd; }
.bco-showcase-instant .bco-showcase-scene, .bco-showcase-instant .bco-showcase-type, .bco-showcase-instant .bco-showcase-art img { transition: none; }

.bco-product-art { border-radius: 24px 24px 24px 8px; }
.bco-showcase + .bco-collection { padding-top: clamp(38px, 4.6vw, 76px); }
.bco-story { border-radius: 0 clamp(32px, 6vw, 96px) 0 0; overflow: hidden; }
.bco-hero:is(.bco-scene-night, .bco-scene-green) { border-radius: 0 0 48% 7% / 0 0 5% 2%; overflow: hidden; }
.bco-campaign-brew-photo img { border-radius: 28px 28px 9px 28px; }
.bco-finder-result, .bco-buybox, .bco-checkout-review, .bco-cart-page .cart-collaterals .cart_totals { border-radius: 24px; }
.bco-finder-result { overflow: hidden; }
.bco-content .bco-quick-button, .bco-quick-button, .bco-quick-add select, .bco-content .bco-quick-add select,
.bco-drawer-quantity, .bco-drawer-checkout, .bco-finder-choices button, .bco-campaign-actions .bco-button,
.bco-campaign-buy .bco-button, .bco-mobile-buy .bco-button,
.woocommerce .bco-buybox button.single_add_to_cart_button, .woocommerce .bco-buybox table.variations select,
.woocommerce form.bco-checkout #payment #place_order { border-radius: 99px; }
.bco-drawer-art, .bco-checkout-item-art, .woocommerce .bco-buybox .quantity .qty,
.woocommerce form.bco-checkout #customer_details .input-text, .woocommerce form.bco-checkout .select2-container--default .select2-selection--single { border-radius: 8px; }
.woocommerce .bco-single-product .bco-pdp-photo img { border-radius: 26px; }
.bco-buybox { border-top: 1px solid var(--line); box-shadow: inset 0 0 0 1px var(--line); }

.bco-pack-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bco-card-options { display: grid; gap: 8px; }
.bco-bag-size-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bco-pack-choice {
  position: relative;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  min-height: 64px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.bco-pack-choice:hover { border-color: var(--ink); }
.bco-pack-choice[aria-pressed="true"] { background: #eee5ff; border-color: #53388b; box-shadow: inset 0 0 0 1px #53388b; color: #261944; }
.bco-pack-choice:disabled { cursor: not-allowed; opacity: .45; }
.bco-pack-choice.bco-bag-size-choice { display: block; min-height: 44px; border-radius: 12px; text-align: center; font-size: .83rem; font-weight: 800; }
.bco-pack-text { display: grid; gap: 2px; font-size: .93rem; line-height: 1.15; }
.bco-pack-text small { font-size: .76rem; font-variant-numeric: tabular-nums; }
.bco-pack-saving { justify-self: start; margin-top: 2px; padding: 2px 6px; border-radius: 20px; background: #dbebaa; color: #25360f; font-size: .67rem; font-weight: 850; line-height: 1.2; white-space: nowrap; }
.bco-pack-icon { position: relative; display: block; width: 31px; height: 27px; color: #2d204a; }
.bco-pack-icon::before { content: ""; position: absolute; inset: 2px 4px; border-radius: 50%; background: #d6c1fd; opacity: .54; }
.bco-pack-icon i { position: absolute; inset: 3px auto 3px 8px; width: 14px; border: 1.5px solid currentColor; border-radius: 3px; background: #f9f2ff; transform: skewY(-7deg); }
.bco-pack-icon i::before, .bco-pack-icon i::after { position: absolute; content: ""; }
.bco-pack-icon i::before { inset: 4px 0 auto; border-top: 1.5px solid currentColor; }
.bco-pack-icon i::after { width: 5px; height: 6px; top: 9px; left: 3px; border: 1px solid currentColor; border-radius: 50%; rotate: 23deg; }
.bco-pack-icon-3 i:first-child { left: 0; scale: .85; }
.bco-pack-icon-3 i:nth-child(2) { left: 17px; scale: .85; }
.bco-pack-icon-3 i:last-child { left: 8px; }
.bco-pack-compact .bco-pack-choice { min-height: 62px; column-gap: 2px; padding: 6px 5px; border-radius: 12px; }
.bco-pack-compact .bco-pack-text { font-size: .81rem; }

@media (hover: hover) and (pointer: fine) and (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .bco-showcase-art img { transform: translateX(var(--scene-pan, 0)); transition: scale 1.25s var(--scene-ease), transform .58s var(--scene-ease); }
  .bco-showcase-instant .bco-showcase-art img { transition: none; }
}
@media (min-width: 600px) {
  .bco-drawer { border-radius: 24px 0 0 24px; }
}

@media (max-width: 780px) {
  .bco-showcase-frames { border-radius: 0 0 49% 8% / 0 0 3% 2%; }
  .bco-showcase-scene { min-height: 0; align-items: end; }
  .bco-showcase-art { bottom: auto; height: 58%; }
  .bco-showcase-art::after {
    background: linear-gradient(0deg, var(--scene-bg) 10%, color-mix(in srgb, var(--scene-bg) 79%, transparent) 23%, transparent 47%);
    opacity: 1;
  }
  .bco-showcase-art img { object-position: 89% 57%; }
  .bco-showcase-copy { padding-block: clamp(290px, 66vw, 425px) 102px; }
  .bco-showcase-title { font-size: clamp(4.55rem, 13vw, 7.1rem); }
  .bco-showcase-kicker { margin-bottom: 11px; }
  .bco-showcase-intro { max-width: 30ch; margin: 16px 0 12px; }
  .bco-showcase-console { bottom: 22px; gap: 0 5px; }
  .bco-showcase-choice { padding-inline: 7px; font-size: .72rem; }
}
@media (max-width: 460px) {
  .bco-showcase-console { inset-inline: 12px; grid-template-columns: auto minmax(0, 1fr); width: auto; max-width: none; }
  .bco-showcase-picks { display: grid; grid-template-columns: repeat(3, auto); gap: 0; }
  .bco-showcase-choice { padding-inline: 4px; }
  .bco-showcase-dot { display: none; }
}
@media (max-width: 349px) {
  .bco-showcase-console { grid-template-columns: 1fr; border-radius: 22px; }
  .bco-showcase-meter { grid-column: 1; }
  .bco-showcase-transport { justify-content: center; }
  .bco-showcase-copy { padding-bottom: 145px; }
}
@media (max-width: 380px) {
  .bco-pack-compact .bco-pack-choice { grid-template-columns: 1fr; justify-items: start; padding: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .bco-showcase-scene, .bco-showcase-type, .bco-showcase-art img, .bco-showcase-cta span, .bco-showcase-round, .bco-showcase-choice, .bco-pack-choice { transition: none; }
}
