.bottling-demo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  margin: 0;
  color: #f5f9ff;
  background: #0b2035;
}
.bottling-view, .bottling-flow, .bottling-plate {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.bottling-view { overflow: hidden; }
.bottling-plate { max-width: none; object-fit: cover; object-position: 36% center; }
.bottling-flow { pointer-events: none; }
.bottling-demo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(4 19 34 / 42%), transparent 20%, transparent 74%, rgb(4 19 34 / 78%));
}
.bottling-top, .bottling-stages {
  position: absolute;
  z-index: 1;
  left: clamp(20px, 2.5vw, 44px);
  right: clamp(20px, 2.5vw, 44px);
  display: flex;
  align-items: center;
}
.bottling-top {
  top: clamp(16px, 2vw, 32px);
  justify-content: space-between;
  gap: 8px;
  font: 700 11px/1.5 Manrope,system-ui,sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.bottling-demo button {
  cursor: pointer;
  color: inherit;
  font: inherit;
  background: transparent;
}
.bottling-demo button:focus-visible { outline: 2px solid #c8eaff; outline-offset: 3px; }
.bottling-demo [hidden] { display: none; }
.bottling-pause {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(231 245 255 / 55%);
  border-radius: 50%;
}
.bottling-pause svg { width: 22px; height: 22px; }
.bottling-pause .play-icon, .bottling-pause[data-paused] .pause-icon { display: none; }
.bottling-pause[data-paused] .play-icon { display: block; }
.bottling-stages { bottom: clamp(17px, 2.4vw, 38px); gap: 12px; }
.bottling-stages button {
  flex: 1;
  min-height: 44px;
  padding: 11px 0 4px;
  border: 0;
  border-top: 2px solid rgb(217 230 242 / 40%);
  border-radius: 0;
  text-align: left;
  color: #c6d4e1;
  font: 400 clamp(13px,1.2vw,19px)/1.4 Manrope,system-ui,sans-serif;
}
.bottling-stages button[aria-pressed="true"] { border-color: #bce6ff; color: white; font-weight: 700; }
@media (max-width: 760px) {
  .bottling-demo { height: clamp(240px, 66vw, 360px); }
  .bottling-demo::after { background: linear-gradient(180deg, rgb(4 19 34 / 70%), transparent 25%, transparent 73%, rgb(4 19 34 / 86%)); }
  .bottling-top { top: 8px; font-size: 10px; }
  .bottling-pause { width: 36px; height: 36px; }
  .bottling-stages { bottom: 5px; gap: 8px; }
  .bottling-stages button { padding: 6px 0; font-size: 13px; }
}
