/* A small, non-modal choice; consent and receipt transport live in the script. */
.center-cookie { position:fixed; z-index:40; left:max(12px,env(safe-area-inset-left,0px)); bottom:calc(8px + env(safe-area-inset-bottom,0px)); width:max-content; max-width:min(560px,calc(100% - 24px)); margin:0; color:#132841; background:#eee9e2; border-radius:12px; box-shadow:0 6px 24px rgb(19 40 65 / 14%); font:inherit; box-sizing:border-box; }
.center-cookie[hidden] { display:none !important; }
.center-cookie-inner { padding:10px 12px; display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; }
.center-cookie-copy { min-width:0; flex:1 1 144px; }
.center-cookie p { margin:0; font-size:16px; line-height:1.4; color:#132841; overflow-wrap:anywhere; }
.center-cookie a { color:#132841; text-decoration:underline; text-decoration-color:#bb5237; text-decoration-thickness:1px; text-underline-offset:4px; }
.center-cookie-actions { display:flex; flex:0 0 auto; gap:8px; }
/* Match the incumbent public CTA: orange outline, pill, sand/navy palette. */
.center-cookie-actions button { min-height:44px; min-width:68px; border:1px solid #ec6636; border-radius:var(--sl-control-radius,99px); padding:8px 18px; background:transparent; color:#132841; font:inherit; font-size:16px; font-weight:500; line-height:1.4; cursor:pointer; touch-action:manipulation; transition:background-color var(--sl-duration-press,160ms) ease,color var(--sl-duration-press,160ms) ease,transform var(--sl-duration-press,160ms) var(--sl-ease-out,cubic-bezier(.23,1,.32,1)); }
.center-cookie button:focus-visible,.center-cookie a:focus-visible,.center-analytics-settings:focus-visible { outline:3px solid #132841; outline-offset:4px; }
.center-cookie .center-cookie-status:empty { display:none; }
.center-cookie .center-cookie-status { margin-top:5px; font-size:14px; }
.center-cookie ::selection { background:#f8d6c8; color:#132841; }
@media (hover:hover) and (pointer:fine) { .center-cookie-actions button:hover:not(:disabled) { background:#ec6636; color:#132841; } }
.center-cookie-actions button:active:not(:disabled) { background:#ec6636; color:#132841; }
@media (prefers-reduced-motion:no-preference) { .center-cookie-actions button:active:not(:disabled):not(:focus-visible) { transform:scale(.97); } }
.center-cookie-actions button:focus-visible { transition:none; transform:none; }
@media (max-width:600px) { .center-cookie { width:calc(100% - 24px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)); } }
@media (prefers-reduced-motion:reduce) { .center-cookie-actions button { transition:none; transform:none; } }
.center-cookie-actions button:disabled { cursor:wait; opacity:.7; }
.center-cookie[aria-busy=true] .center-cookie-status { font-weight:500; }

/* A reserved footer space keeps its own links reachable while the choice is open. */
html.center-cookie-open { scroll-padding-bottom:130px; }
html.center-cookie-open body>footer { padding-bottom:130px; }
@media (max-width:600px) {
  /* The root already offsets the sticky header. A second offset pushes this offer below the choice. */
  #free-consultation { scroll-margin-top:0; }
}

.center-cookie-inner { position:relative; padding-inline-end:46px; }
.center-cookie-close {
  position:absolute; inset-block-start:4px; inset-inline-end:4px; inline-size:40px; block-size:40px;
  display:grid; place-items:center; border:0; border-radius:6px; background:transparent;
  color:inherit; font:400 25px/1 Golos, sans-serif; cursor:pointer;
}
.center-cookie-close:hover { background:rgba(19,40,65,.08); }
html.center-cookie-open:has(.booking-form) { scroll-padding-block-end:156px; }
html.center-cookie-open:has(.booking-form) body > footer { padding-block-end:156px; }
@media(max-width:390px) {
  .center-cookie-inner { padding-block:8px; }
  .center-cookie-copy p { font-size:14px; }
  .center-cookie-close { inline-size:44px; block-size:44px; }
  .center-cookie-actions button { min-width:58px; padding-inline:14px; }
}
@media(min-width:391px) { .center-cookie-close { inline-size:44px; block-size:44px; } }
