/* Utrady Website Studio v1.5.2 — theme-bound public controls.
   Scoped to Studio, not admin, Glover theme defaults, payments or menus.
   The shared location modal remains the existing Glover component. */
.ws.ws-v2{--ws-control-primary:var(--ws-studio-fallback,#785d42);--ws-control-hover:#5a4637;--ws-control-on-primary:#fff}
body:has(.ws.ws-v2) .ws-location-dialog{--ws-control-primary:#785d42;--ws-control-hover:#5a4637;--ws-control-on-primary:#fff}
.ws.ws-v2.ws-theme-atelier.ws-palette-original,body:has(.ws.ws-v2.ws-theme-atelier.ws-palette-original) .ws-location-dialog{--ws-control-primary:#605b4d;--ws-control-hover:#4b473c;--ws-control-on-primary:#fff}
.ws.ws-v2.ws-theme-sora.ws-palette-original,body:has(.ws.ws-v2.ws-theme-sora.ws-palette-original) .ws-location-dialog{--ws-control-primary:#39795b;--ws-control-hover:#2c5e47;--ws-control-on-primary:#fff}
.ws.ws-v2.ws-theme-nova.ws-palette-original,body:has(.ws.ws-v2.ws-theme-nova.ws-palette-original) .ws-location-dialog{--ws-control-primary:#b1f46b;--ws-control-hover:#8abe53;--ws-control-on-primary:#132018}
.ws.ws-v2.ws150-food.ws-palette-original,body:has(.ws.ws-v2.ws150-food.ws-palette-original) .ws-location-dialog{--ws-control-primary:#c9640d;--ws-control-hover:#a74707;--ws-control-on-primary:#fff}
.ws.ws-v2.ws-palette-bosque,body:has(.ws.ws-v2.ws-palette-bosque) .ws-location-dialog{--ws-control-primary:#1b5140;--ws-control-hover:#153f32;--ws-control-on-primary:#fff}
.ws.ws-v2.ws-palette-arena,body:has(.ws.ws-v2.ws-palette-arena) .ws-location-dialog{--ws-control-primary:#785d42;--ws-control-hover:#5e4933;--ws-control-on-primary:#fff}
.ws.ws-v2.ws-palette-oceano,body:has(.ws.ws-v2.ws-palette-oceano) .ws-location-dialog{--ws-control-primary:#17657a;--ws-control-hover:#124f5f;--ws-control-on-primary:#fff}
.ws.ws-v2.ws-palette-terracota,body:has(.ws.ws-v2.ws-palette-terracota) .ws-location-dialog{--ws-control-primary:#c9640d;--ws-control-hover:#9d4e0a;--ws-control-on-primary:#fff}
.ws.ws-v2.ws-palette-editorial,body:has(.ws.ws-v2.ws-palette-editorial) .ws-location-dialog{--ws-control-primary:#28251f;--ws-control-hover:#1f1d18;--ws-control-on-primary:#fff}
.ws.ws-v2.ws-palette-noche,body:has(.ws.ws-v2.ws-palette-noche) .ws-location-dialog{--ws-control-primary:#234cba;--ws-control-hover:#1b3b91;--ws-control-on-primary:#fff}
.ws.ws-v2.ws-palette-jade,body:has(.ws.ws-v2.ws-palette-jade) .ws-location-dialog{--ws-control-primary:#087d66;--ws-control-hover:#066250;--ws-control-on-primary:#fff}
.ws.ws-v2.ws-palette-cobre,body:has(.ws.ws-v2.ws-palette-cobre) .ws-location-dialog{--ws-control-primary:#a55728;--ws-control-hover:#81441f;--ws-control-on-primary:#fff}
.ws.ws-v2.ws-palette-lavanda,body:has(.ws.ws-v2.ws-palette-lavanda) .ws-location-dialog{--ws-control-primary:#6e4ba6;--ws-control-hover:#563a81;--ws-control-on-primary:#fff}
.ws.ws-v2.ws-palette-coral,body:has(.ws.ws-v2.ws-palette-coral) .ws-location-dialog{--ws-control-primary:#b63f57;--ws-control-hover:#8e3144;--ws-control-on-primary:#fff}
.ws.ws-v2.ws-palette-oliva,body:has(.ws.ws-v2.ws-palette-oliva) .ws-location-dialog{--ws-control-primary:#505e29;--ws-control-hover:#3e4920;--ws-control-on-primary:#fff}
.ws.ws-v2.ws-palette-cielo,body:has(.ws.ws-v2.ws-palette-cielo) .ws-location-dialog{--ws-control-primary:#2f65a3;--ws-control-hover:#254f7f;--ws-control-on-primary:#fff}
.ws.ws-v2.ws-palette-aurora,body:has(.ws.ws-v2.ws-palette-aurora) .ws-location-dialog{--ws-control-primary:#ae346e;--ws-control-hover:#882956;--ws-control-on-primary:#fff}
.ws.ws-v2.ws-palette-ciruela,body:has(.ws.ws-v2.ws-palette-ciruela) .ws-location-dialog{--ws-control-primary:#8f4279;--ws-control-hover:#70335e;--ws-control-on-primary:#fff}
.ws.ws-v2.ws-palette-salvia,body:has(.ws.ws-v2.ws-palette-salvia) .ws-location-dialog{--ws-control-primary:#476958;--ws-control-hover:#375245;--ws-control-on-primary:#fff}
.ws.ws-v2.ws-palette-cafe,body:has(.ws.ws-v2.ws-palette-cafe) .ws-location-dialog{--ws-control-primary:#553627;--ws-control-hover:#422a1e;--ws-control-on-primary:#fff}
.ws.ws-v2.ws-palette-mostaza,body:has(.ws.ws-v2.ws-palette-mostaza) .ws-location-dialog{--ws-control-primary:#83611f;--ws-control-hover:#664c18;--ws-control-on-primary:#fff}
/* Keep approved layout; change only the CTA color inheritance. */
.ws.ws150-food{--f-orange:var(--ws-control-primary,#c9640d);--f-orange-dark:var(--ws-control-hover,#a74707)}
.ws.ws-v2 .ws-cta.ws-cta-solid{background:var(--ws-control-primary)!important;color:var(--ws-control-on-primary)!important;border-color:var(--ws-control-primary)!important}
.ws.ws-v2 .ws-cta.ws-cta-solid:hover{background:var(--ws-control-hover)!important;border-color:var(--ws-control-hover)!important}
.ws.ws150-food .ws150-button:not(.ws150-button-outline),.ws.ws150-food .ws150-dish-foot a{color:var(--ws-control-on-primary,#fff)!important}
.ws.ws150-food .ws150-chip-current,.ws.ws150-food .ws150-chip:hover{color:var(--ws-control-on-primary,#fff)}
.ws.ws150-food .ws151-location-button:hover,.ws.ws150-food .ws151-branch-list>summary:hover{background:var(--ws-control-primary);border-color:var(--ws-control-primary);color:var(--ws-control-on-primary)}
/* The modal is outside the .ws subtree; it inherits tokens via scoped body:has(). */
body:has(.ws.ws-v2) .ws-location-dialog .ws-location-primary{background:var(--ws-control-primary)!important;color:var(--ws-control-on-primary)!important;border-color:var(--ws-control-primary)!important;box-shadow:none!important}
body:has(.ws.ws-v2) .ws-location-dialog .ws-location-primary:hover{background:var(--ws-control-hover)!important}
body:has(.ws.ws-v2) .ws-location-dialog button:focus-visible{outline:3px solid var(--ws-control-primary);outline-offset:3px}
@media(prefers-reduced-motion:reduce){body:has(.ws.ws-v2) .ws-location-dialog .ws-location-primary{transition:none!important}}
