/* No-JS fallback only: if scripts never run, reveal elements instead of
   leaving them permanently invisible. */
@media (scripting: none) {
  [style*="opacity: 0"],
  [style*="opacity:0"] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --- Vial sizing --- */
:root {
  --bp-glp-w: 376px;
  --bp-glp-x: 6px;
  --bp-glp-y: 57px;
  --bp-nad-w: 456px;
  --bp-nad-x: 76px;
  --bp-nad-y: 64px;
  --bp-plinth-scale: 0.88;
  --bp-plinth-y: -29px;
}
.bp-hero-vials {
  transform: translateY(-50%) !important;
  transform-origin: center center;
}
/* Per-bottle balance (different source crops/aspect ratios) */
.bp-hero-vials .bp-vial-glp {
  width: var(--bp-glp-w) !important;
  left: var(--bp-glp-x) !important;
  top: var(--bp-glp-y) !important;
}
.bp-hero-vials .bp-vial-nad {
  width: var(--bp-nad-w) !important;
  left: var(--bp-nad-x) !important;
  top: var(--bp-nad-y) !important;
}
.bp-plinth img {
  height: calc(320px * var(--bp-plinth-scale)) !important;
  transform: translateY(var(--bp-plinth-y));
}
.bp-item:hover .bp-plinth img {
  transform: translateY(calc(var(--bp-plinth-y) - 10px));
}


/* --- Mobile drawer (rebuilt) --- */
.bp-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}
.bp-mobile-drawer.open { display: block; }
.bp-mobile-drawer .bp-md-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}
.bp-mobile-drawer .bp-md-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(86vw, 340px);
  background: #1e2126;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 22px 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: bpDrawerIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes bpDrawerIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.bp-mobile-drawer .bp-md-close {
  align-self: flex-end;
  background: none;
  border: 0;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
}
.bp-mobile-drawer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.bp-mobile-drawer a.bp-md-cta {
  margin-top: 18px;
  border: 0;
  text-align: center;
  border-radius: 999px;
  background: #c9a227;
  color: #14161a;
  padding: 14px 18px;
}
body.bp-drawer-open { overflow: hidden; }
