/* VELORYZ contextual button motion — original interpretations informed by
   CSS hover-glow / button flip / border-trace / swipe families.
   No third-party CSS is reproduced here; the exact MIT Uiverse adaptation
   for the WhatsApp launcher lives separately in uiverse-whatsapp.css. */

/* One restrained motion language with distinct roles, not a uniform effect. */
.vz-fx-button{
  --vz-role-accent:var(--vz-fx-ink,#a96784);
  --vz-role-glow:var(--vz-fx-glow,rgba(178,98,128,.2));
}
.vz-fx-button:is(.vz-fx-primary,.vz-fx-secondary,.vz-fx-navigation,.vz-fx-ai,
 .vz-fx-ai-send,.vz-fx-toggle,.vz-fx-sculpture,.vz-fx-submit,.vz-fx-admin,
 .vz-fx-portal,.vz-fx-portal-primary,.vz-fx-icon,.vz-fx-danger,.vz-fx-text-link):not(:disabled):not([aria-disabled="true"]){
 transition-duration:.32s;
 transition-timing-function:cubic-bezier(.16,1,.3,1);
}
/* Main create/buy/consult CTAs: soft rising color wash and gloss edge. */
.vz-fx-button.vz-fx-primary{--vz-role-accent:#b05b7d;--vz-role-glow:rgba(175,92,122,.22)}
.vz-fx-button.vz-fx-primary.vz-fx-fill::before{
  background:linear-gradient(105deg,transparent 0%,rgba(197,105,137,.28) 35%,rgba(255,245,224,.20) 68%,rgba(197,105,137,.21) 100%);
}
@media(hover:hover) and (pointer:fine){
 .vz-fx-button.vz-fx-primary:hover{
  box-shadow:0 12px 33px -15px var(--vz-role-glow),0 0 0 1px rgba(181,96,129,.25);
  border-color:var(--vz-role-accent);
 }
}
/* Secondary outline and book-more options: animated edge-trace only. */
.vz-fx-button.vz-fx-secondary{--vz-role-accent:#a96881}
.vz-fx-button.vz-fx-secondary.vz-fx-layer:not(.vz-fx-fill)::after{
 content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
 padding:1.5px;
 background:linear-gradient(110deg,transparent 18%,#bb6484 45%,#f3c0ab 59%,transparent 83%) 0 0/250% 100% no-repeat;
 -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
 mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
 -webkit-mask-composite:xor;mask-composite:exclude;
 opacity:0;transition:background-position .64s cubic-bezier(.16,1,.3,1),opacity .35s;
}
@media(hover:hover) and (pointer:fine){
 .vz-fx-button.vz-fx-secondary.vz-fx-layer:hover::after{
  background-position:100% 0;opacity:1;
 }
}
.vz-fx-button.vz-fx-secondary.vz-fx-layer:focus-visible::after{background-position:100% 0;opacity:1}

/* Motion, Menu, nav and close: concise directional underline, not a large fill. */
.vz-fx-button.vz-fx-navigation{
 --vz-role-accent:#9c6574;
}
.vz-fx-button.vz-fx-navigation.vz-fx-layer::after{
 content:"";position:absolute;left:19%;right:19%;bottom:5px;height:1.5px;
 background:linear-gradient(90deg,transparent,var(--vz-role-accent),transparent);
 transform:scaleX(0);transform-origin:center;
 transition:transform .36s cubic-bezier(.16,1,.3,1);
 pointer-events:none;
}
@media(hover:hover) and (pointer:fine){
 .vz-fx-button.vz-fx-navigation.vz-fx-layer:hover::after{transform:scaleX(1)}
}
.vz-fx-button.vz-fx-navigation.vz-fx-layer:focus-visible::after{transform:scaleX(1)}

/* AI launch/persona/buttons: diffuse purple/rose bloom and portrait-safe halo.
   Chat message buttons keep their own disabled/loading behavior. */
.vz-fx-button:is(.vz-fx-ai,.vz-fx-ai-send){
 --vz-role-accent:#ad78b2;--vz-role-glow:rgba(169,111,183,.21);
}
.vz-fx-button.vz-fx-ai.vz-fx-layer::after{
 content:"";position:absolute;inset:-2px;border-radius:inherit;pointer-events:none;
 background:radial-gradient(ellipse at 45% 90%,rgba(185,132,216,.17),transparent 68%);
 opacity:0;transition:opacity .34s;
}
@media(hover:hover) and (pointer:fine){
 .vz-fx-button.vz-fx-ai:hover{
  border-color:#b484ba;
  box-shadow:0 0 0 2px rgba(181,126,194,.15),0 13px 30px -19px rgba(150,88,167,.38);
 }
 .vz-fx-button.vz-fx-ai.vz-fx-layer:hover::after{opacity:1}
 .vz-fx-button.vz-fx-ai-send:hover{box-shadow:0 0 0 4px rgba(184,123,195,.13)}
}
.vz-fx-button.vz-fx-ai.vz-fx-layer:focus-visible::after{opacity:1}

/* Tabs, filters and choice chips: selected accent line with tactile press.
   Changing [aria-pressed] or selected state still belongs to original JS. */
.vz-fx-button.vz-fx-toggle{
 --vz-role-accent:#9a657a;
 transition:background-color .28s,border-color .28s,box-shadow .3s;
}
@media(hover:hover) and (pointer:fine){
 .vz-fx-button.vz-fx-toggle:hover{
  border-color:var(--vz-role-accent);
  box-shadow:0 0 0 3px rgba(180,104,130,.085);
 }
}
.vz-fx-button.vz-fx-toggle[aria-pressed="true"],
.vz-fx-button.vz-fx-toggle[aria-selected="true"]{
 box-shadow:inset 0 -2px 0 var(--vz-role-accent),0 0 0 1px rgba(180,104,130,.13);
}

/* Actual 3D model controls: a crisp contour reaction,
   not animation that could suggest the model has rotated already. */
.vz-fx-button.vz-fx-sculpture{
 --vz-role-accent:#8c5a72;
}
@media(hover:hover) and (pointer:fine){
 .vz-fx-button.vz-fx-sculpture:hover{
  box-shadow:0 0 0 2px rgba(140,90,114,.17),inset 0 0 0 1px rgba(255,255,255,.22);
 }
}
.vz-fx-button.vz-fx-sculpture[aria-pressed="true"]{
 box-shadow:0 0 0 2px rgba(140,90,114,.28);
}

/* Forms and booking submits: a short stripe/swipe; success and validation
   continue to come exclusively from their existing API handlers. */
.vz-fx-button.vz-fx-submit{
 --vz-role-accent:#7d9a7e;--vz-role-glow:rgba(98,148,105,.18);
}
.vz-fx-button.vz-fx-submit.vz-fx-fill::before{
 background:linear-gradient(105deg,transparent 0%,rgba(119,170,128,.22) 30%,rgba(255,255,255,.15) 55%,rgba(110,159,124,.19) 100%);
}
@media(hover:hover) and (pointer:fine){
 .vz-fx-button.vz-fx-submit:hover{box-shadow:0 12px 30px -20px rgba(80,131,93,.4)}
}

/* Admin commands: disciplined thin highlight; avoid moving containers and
   danger actions receive warning-colored edges, never celebratory glows. */
body:has(#admin-root) .vz-fx-button.vz-fx-admin{--vz-role-accent:#78965a}
@media(hover:hover) and (pointer:fine){
 body:has(#admin-root) .vz-fx-button.vz-fx-admin:hover{
  border-color:#8ca46d;
  box-shadow:inset 0 -2px 0 rgba(119,155,90,.37);
 }
 .vz-fx-button.vz-fx-danger:hover{
  border-color:#b94747;
  outline:1px solid rgba(188,66,66,.21);
  box-shadow:0 0 0 2px rgba(194,62,62,.11);
 }
}
.vz-fx-button.vz-fx-danger:focus-visible{outline-color:#b94747;box-shadow:0 0 0 4px rgba(194,62,62,.14)}

/* Portal actions: restrained blue-gray raised edge, distinct from editorial CTAs. */
.vz-fx-button:is(.vz-fx-portal,.vz-fx-portal-primary){--vz-role-accent:#5d85a5;--vz-role-glow:rgba(89,126,162,.17)}
@media(hover:hover) and (pointer:fine){
 .vz-fx-button.vz-fx-portal:hover{
  border-color:#7895ad;
  box-shadow:inset 0 -2px 0 rgba(91,127,161,.28);
 }
 .vz-fx-button.vz-fx-portal-primary:hover{
  box-shadow:0 6px 20px rgba(91,126,162,.17),0 0 0 2px rgba(91,126,162,.12);
 }
}

/* Icon-only and small utility controls: expanding circular highlight. */
.vz-fx-button.vz-fx-icon.vz-fx-layer::after{
 content:"";position:absolute;inset:1px;border-radius:inherit;pointer-events:none;
 border:1px solid var(--vz-role-accent);opacity:0;
 transform:scale(.82);transition:transform .3s cubic-bezier(.16,1,.3,1),opacity .3s;
}
@media(hover:hover) and (pointer:fine){
 .vz-fx-button.vz-fx-icon.vz-fx-layer:hover::after{opacity:.85;transform:scale(1)}
}
.vz-fx-button.vz-fx-icon.vz-fx-layer:focus-visible::after{opacity:1;transform:scale(1)}

/* Footer/resource actions: underline wipes, with zero background flash. */
.vz-fx-button.vz-fx-text-link{
 background-image:linear-gradient(currentColor,currentColor);
 background-repeat:no-repeat;
 background-position:left bottom;
 background-size:0 1px;
 transition:background-size .37s cubic-bezier(.16,1,.3,1),color .3s;
}
@media(hover:hover) and (pointer:fine){
 .vz-fx-button.vz-fx-text-link:hover{background-size:100% 1px}
}
.vz-fx-button.vz-fx-text-link:focus-visible{background-size:100% 1px}

/* Neutral / uncategorized buttons: clear feedback but no generic sweep. */
.vz-fx-button.vz-fx-neutral:not(.vz-fx-fill){transition:border-color .3s,box-shadow .3s,background-color .3s}
@media(hover:hover) and (pointer:fine){
 .vz-fx-button.vz-fx-neutral:hover{
  box-shadow:0 0 0 2px rgba(148,109,126,.08);
 }
}

/* Respect touch and motion policies without changing color or focus visibility. */
@media(hover:none),(pointer:coarse){
 .vz-fx-button:is(.vz-fx-secondary,.vz-fx-navigation,.vz-fx-ai,.vz-fx-icon).vz-fx-layer::after{
  opacity:0!important;transform:none!important;
 }
}
@media(prefers-reduced-motion:reduce){
 html:not([data-motion=full]) .vz-fx-button,
 html:not([data-motion=full]) .vz-fx-button::before,
 html:not([data-motion=full]) .vz-fx-button::after{
  transition-duration:.01ms!important;animation-duration:.01ms!important;
 }
}
html:is([data-motion="paused"],[data-motion="reduced"]) .vz-fx-button,
html:is([data-motion="paused"],[data-motion="reduced"]) .vz-fx-button::before,
html:is([data-motion="paused"],[data-motion="reduced"]) .vz-fx-button::after{
 transition-duration:.01ms!important;animation-duration:.01ms!important;
}
