/* GPS cookie consent: banner (.gps-cc-bar) and settings panel (.gps-cc-modal).
   Loaded sitewide by wp-content/novamira-sandbox/gps-cookie-consent.php */
.gps-cc,.gps-cc *{box-sizing:border-box;}
.gps-cc[hidden],.gps-cc [hidden]{display:none !important;}
.gps-cc{font-family:var(--gps-font-body,'Inter',system-ui,sans-serif);-webkit-font-smoothing:antialiased;}

/* ---------- Banner ---------- */
.gps-cc .gps-cc-bar{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:100000;width:calc(100% - 48px);max-width:1240px;display:flex;align-items:center;gap:40px;background:#1B1D20;border:1px solid rgba(255,255,255,.12);border-top:3px solid #F7B000;border-radius:6px;box-shadow:0 18px 48px rgba(14,15,17,.32);padding:24px 32px;animation:gps-cc-in .28s ease-out both;}
@keyframes gps-cc-in{from{opacity:0;transform:translate(-50%,16px);}to{opacity:1;transform:translate(-50%,0);}}
.gps-cc .gps-cc-copy{flex:1 1 auto;min-width:0;}
.gps-cc .gps-cc-bar-title{font-family:var(--gps-font-head,'Archivo',system-ui,sans-serif);font-weight:700;font-size:20px;line-height:1.2;color:#fff;margin:0 0 8px;}
.gps-cc .gps-cc-bar-text{font-size:14.5px;line-height:1.6;color:rgba(255,255,255,.78);margin:0;max-width:660px;}
.gps-cc .gps-cc-bar-text a{color:#F7B000;text-decoration:underline;text-underline-offset:3px;}
.gps-cc .gps-cc-bar-text a:hover{color:#fff;}
.gps-cc .gps-cc-actions{flex:0 0 auto;display:flex;align-items:center;gap:12px;}

/* ---------- Buttons ---------- */
.gps-cc .gps-cc-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-width:148px;height:48px;padding:0 20px;margin:0;border:1.5px solid transparent;border-radius:4px;font-family:inherit;font-size:14px;font-weight:700;line-height:1;letter-spacing:0;text-transform:none;text-decoration:none;box-shadow:none;cursor:pointer;transition:background-color .15s ease,color .15s ease,border-color .15s ease;}
.gps-cc .gps-cc-btn:focus-visible,.gps-cc .gps-cc-link:focus-visible,.gps-cc .gps-cc-close:focus-visible,.gps-cc .gps-cc-switch:focus-visible{outline:2px solid #F7B000;outline-offset:3px;}
.gps-cc .gps-cc-btn--gold,.gps-cc .gps-cc-btn--gold:focus{background:#F7B000;border-color:#F7B000;color:#0E0F11;}
.gps-cc .gps-cc-btn--gold:hover{background:#FFC42E;border-color:#FFC42E;color:#0E0F11;}
.gps-cc .gps-cc-btn--white,.gps-cc .gps-cc-btn--white:focus{background:#fff;border-color:#fff;color:#0E0F11;}
.gps-cc .gps-cc-btn--white:hover{background:#EEECE8;border-color:#EEECE8;color:#0E0F11;}
.gps-cc .gps-cc-btn--ink,.gps-cc .gps-cc-btn--ink:focus{background:#0E0F11;border-color:#0E0F11;color:#fff;}
.gps-cc .gps-cc-btn--ink:hover{background:#232629;border-color:#232629;color:#fff;}
.gps-cc .gps-cc-btn--outline,.gps-cc .gps-cc-btn--outline:focus{background:transparent;border-color:#0E0F11;color:#0E0F11;}
.gps-cc .gps-cc-btn--outline:hover{background:#0E0F11;border-color:#0E0F11;color:#fff;}
.gps-cc .gps-cc-link,.gps-cc .gps-cc-link:focus{appearance:none;background:transparent;border:0;box-shadow:none;height:48px;padding:0 10px;margin:0;font-family:inherit;font-size:14px;font-weight:600;line-height:1;letter-spacing:0;text-transform:none;color:#fff;text-decoration:underline;text-underline-offset:4px;cursor:pointer;}
.gps-cc .gps-cc-link:hover{background:transparent;color:#F7B000;}

/* ---------- Settings panel ---------- */
.gps-cc .gps-cc-modal{position:fixed;inset:0;z-index:100001;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(14,15,17,.62);overflow-y:auto;}
.gps-cc .gps-cc-panel{width:100%;max-width:640px;margin:auto;background:#fff;color:#0E0F11;border-top:3px solid #F7B000;border-radius:6px;box-shadow:0 24px 64px rgba(14,15,17,.4);}
.gps-cc .gps-cc-head{padding:28px 36px 22px;}
.gps-cc .gps-cc-head-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px;}
.gps-cc .gps-cc-title{font-family:var(--gps-font-head,'Archivo',system-ui,sans-serif);font-weight:800;font-size:26px;line-height:1.15;color:#0E0F11;margin:0;}
.gps-cc .gps-cc-close,.gps-cc .gps-cc-close:focus{appearance:none;width:44px;height:44px;padding:0;margin:0 -12px 0 0;border:0;border-radius:4px;background:transparent;box-shadow:none;color:#0E0F11;display:flex;align-items:center;justify-content:center;cursor:pointer;}
.gps-cc .gps-cc-close:hover{background:#F6F5F3;color:#0E0F11;}
.gps-cc .gps-cc-intro{font-size:14.5px;line-height:1.6;color:#45494D;margin:0;}
.gps-cc .gps-cc-intro a{color:#0E0F11;text-decoration:underline;text-decoration-color:#E70012;text-underline-offset:3px;}
.gps-cc .gps-cc-intro a:hover{color:#E70012;}
.gps-cc .gps-cc-rows{padding:0 36px;}
.gps-cc .gps-cc-row{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:18px 0;border-top:1px solid rgba(0,0,0,.09);}
.gps-cc .gps-cc-row-name{font-family:var(--gps-font-head,'Archivo',system-ui,sans-serif);font-weight:700;font-size:16px;line-height:1.3;color:#0E0F11;margin:0 0 4px;}
.gps-cc .gps-cc-row-text{font-size:13.5px;line-height:1.55;color:#45494D;margin:0;}
.gps-cc .gps-cc-always{flex:0 0 auto;padding-top:4px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#45494D;white-space:nowrap;}
.gps-cc .gps-cc-switch,.gps-cc .gps-cc-switch:hover,.gps-cc .gps-cc-switch:focus{appearance:none;flex:0 0 auto;width:52px;height:44px;padding:8px 0;margin:0;border:0;border-radius:14px;background:transparent;box-shadow:none;cursor:pointer;}
.gps-cc .gps-cc-track{display:block;position:relative;width:52px;height:28px;border-radius:14px;background:#8A8F94;transition:background-color .15s ease;}
.gps-cc .gps-cc-knob{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(14,15,17,.3);transition:transform .15s ease;}
.gps-cc .gps-cc-switch[aria-checked="true"] .gps-cc-track{background:#0E0F11;}
.gps-cc .gps-cc-switch[aria-checked="true"] .gps-cc-knob{transform:translateX(24px);}
.gps-cc .gps-cc-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 36px 28px;background:#F6F5F3;border-top:1px solid rgba(0,0,0,.09);border-radius:0 0 6px 6px;}
.gps-cc .gps-cc-foot-right{display:flex;gap:12px;}
.gps-cc .gps-cc-foot .gps-cc-btn{min-width:132px;}
html.gps-cc-lock{overflow:hidden;}

/* ---------- Phone ---------- */
@media (max-width:860px){
  .gps-cc .gps-cc-bar{left:0;bottom:0;transform:none;width:100%;max-width:none;flex-direction:column;align-items:stretch;gap:18px;border-left:0;border-right:0;border-bottom:0;border-radius:12px 12px 0 0;padding:22px 20px calc(24px + env(safe-area-inset-bottom,0px));box-shadow:0 -12px 40px rgba(0,0,0,.45);animation-name:gps-cc-up;}
  @keyframes gps-cc-up{from{opacity:0;transform:translateY(16px);}to{opacity:1;transform:none;}}
  .gps-cc .gps-cc-bar-title{font-size:19px;}
  .gps-cc .gps-cc-bar-text{font-size:14px;}
  .gps-cc .gps-cc-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .gps-cc .gps-cc-actions .gps-cc-btn{min-width:0;width:100%;height:50px;}
  .gps-cc .gps-cc-actions .gps-cc-link{order:3;grid-column:1 / -1;border:1px solid rgba(255,255,255,.28);border-radius:4px;text-decoration:none;}
  .gps-cc .gps-cc-modal{padding:12px;}
  .gps-cc .gps-cc-head{padding:22px 20px 18px;}
  .gps-cc .gps-cc-title{font-size:22px;}
  .gps-cc .gps-cc-rows{padding:0 20px;}
  .gps-cc .gps-cc-row{gap:16px;}
  .gps-cc .gps-cc-foot{flex-direction:column-reverse;align-items:stretch;padding:18px 20px 22px;}
  .gps-cc .gps-cc-foot-right{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .gps-cc .gps-cc-foot .gps-cc-btn{min-width:0;width:100%;}
}
@media (prefers-reduced-motion:reduce){
  .gps-cc .gps-cc-bar{animation:none;}
  .gps-cc .gps-cc-track,.gps-cc .gps-cc-knob,.gps-cc .gps-cc-btn{transition:none;}
}
@media print{.gps-cc{display:none !important;}}
