/* Shared outer page frame: match Referral Intelligence at every viewport. */
body.design-refresh { --page-gutter: 24px; }
body.design-refresh > main {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}
/* Referral already applies the outer gutter to its full-width panels. */
body.design-refresh.showroom-page > main { padding-inline: 0; }
body.design-refresh.showroom-page .product-hero {
  max-width: none;
  margin-inline: var(--page-gutter);
}
@media (max-width: 600px) {
  body.design-refresh { --page-gutter: 12px; }
}

/* Gentle opening cascade; closing remains immediate and predictable. */
@media (prefers-reduced-motion: no-preference) {
  .showroom-menu[open] .showroom-options {
    transform-origin: top right;
    animation: menu-panel-in 180ms ease-out both;
  }
  .showroom-menu[open] .showroom-options > a {
    animation: menu-item-in 220ms cubic-bezier(.2,.7,.2,1) both;
  }
  .showroom-menu[open] .showroom-options > a:nth-child(1) { animation-delay: 35ms; }
  .showroom-menu[open] .showroom-options > a:nth-child(2) { animation-delay: 75ms; }
  .showroom-menu[open] .showroom-options > a:nth-child(3) { animation-delay: 115ms; }
}
@keyframes menu-panel-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes menu-item-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
