/* ==========================================================================
   BUTTON STUDIO PALETTE — shape / finish layer (60 looks).
   Loaded after button_wiring.css. Every property reads a --ui-btn-* token that
   the admin's selected style writes as `html:root`, so theme switching cannot
   silently reset the owner's chosen finish. Colours always stay on the shared
   --btn-studio-* ramp; this file never introduces a literal gold.
   ========================================================================== */
:root{
  --ui-btn-radius:999px;
  --ui-btn-shadow:0 10px 24px color-mix(in srgb,var(--btn-studio-base,var(--gold)) 34%,transparent);
  --ui-btn-border:1px solid color-mix(in srgb,var(--btn-studio-light,var(--gold2)) 70%,transparent);
  --ui-btn-bg:var(--ui-btn-grad);
  --ui-btn-anim:none;
}

html body .btn:not(.sz-palette-off),
html body .btn-gold:not(.sz-palette-off),
html body .btn-cream:not(.sz-palette-off),
html body .btn-outline-light:not(.sz-palette-off),
html body .buy-button:not(.sz-palette-off),
html body .secondary-button:not(.sz-palette-off),
html body .view-link:not(.sz-palette-off),
html body .wb-seeall:not(.sz-palette-off),
html body .wbp-add:not(.sz-palette-off),
html body .wbp-off:not(.sz-palette-off),
html body .wb-action-btn:not(.sz-palette-off),
html body .wb-strip-cta:not(.sz-palette-off),
html body .cta-big:not(.sz-palette-off),
html body .party-cta:not(.sz-palette-off),
html body .coupon-apply:not(.sz-palette-off),
html body .chat-send:not(.sz-palette-off),
html body .auth-cta:not(.sz-palette-off),
html body .bill-cta:not(.sz-palette-off),
html body .restock-btn:not(.sz-palette-off),
html body .rev-submit:not(.sz-palette-off),
html body .rev-cta:not(.sz-palette-off),
html body .acct-viewall:not(.sz-palette-off),
html body .success-ctas a:not(.sz-palette-off),
html body .wa-cta:not(.sz-palette-off),
html body .lbk-btn-gold:not(.sz-palette-off),
html body .lbk-kit-cta:not(.sz-palette-off),
html body .ref-btn:not(.sz-palette-off),
html body .fdrop-btn:not(.sz-palette-off),
html body .nl button:not(.sz-palette-off),
html body .search-form button:not(.sz-palette-off),
html body #newsOk:not(.sz-palette-off),
html body .offer-bar .ob-name:not(.sz-palette-off),
html body .sz-card-add:not(.sz-palette-off),
html body .hrail-cta:not(.sz-palette-off),
html body .lbk-btn-ghost:not(.sz-palette-off),
html body .spin-cta:not(.sz-palette-off),
html body .ck-place:not(.sz-palette-off),
html body .chip.on:not(.sz-palette-off),
html body .ob-name:not(.sz-palette-off) {
  border-radius:var(--ui-btn-radius) !important;
  box-shadow:var(--ui-btn-shadow) !important;
  border:var(--ui-btn-border) !important;
  background-color:transparent !important;
  background-image:var(--ui-btn-bg) !important;
  animation:var(--ui-btn-anim) !important;
  transform:translateZ(0);
}

/* Motion styles — only run when the selected look asks for them. */
@keyframes sz-flow{to{background-position:300% center}}
@keyframes sz-pulse{50%{filter:brightness(1.3) drop-shadow(0 0 12px var(--btn-studio-base,var(--gold)))}}
@keyframes sz-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes sz-ring{
  0%{filter:drop-shadow(0 0 0 var(--btn-studio-base,var(--gold)))}
  70%{filter:drop-shadow(0 0 14px var(--btn-studio-base,var(--gold)))}
  100%{filter:drop-shadow(0 0 0 var(--btn-studio-base,var(--gold)))}
}
@media (prefers-reduced-motion:reduce){
  html body .btn,html body .buy-button,html body .ob-name{animation:none !important}
}
