/* HIZLI SERVIS AL - unified cookie consent presentation
   Reference: current homepage / klima service consent layout.
   This stylesheet intentionally normalizes legacy page-level cookie CSS only. */
.cookie-consent-overlay{
  position:fixed;left:0;right:0;bottom:0;z-index:999998;display:none;
  justify-content:center;padding:0 18px 126px;pointer-events:none;background:transparent;
}
.cookie-consent-overlay.is-visible{display:flex}
.cookie-consent-dialog{
  pointer-events:auto;width:min(940px,100%);display:block!important;
  grid-template-columns:none!important;gap:0!important;align-items:initial!important;
  background:rgba(255,255,255,.98);color:#0f172a;
  border:1px solid rgba(148,163,184,.38);border-radius:18px;
  box-shadow:0 18px 55px rgba(2,6,23,.22);padding:14px 16px;
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)
}
.cookie-consent-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center}
.cookie-consent-copy{min-width:0}
.cookie-consent-brand{display:flex;align-items:center;gap:9px;margin-bottom:5px}
.cookie-consent-brand strong{
  display:inline-flex;align-items:center;padding:5px 9px;border-radius:9px;
  background:#0f172a;color:#fff;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:13px;letter-spacing:-.2px
}
.cookie-consent-brand span{display:inline;color:#334155;font-size:11px;font-weight:700}
.cookie-consent-dialog h2{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:15px;line-height:1.25;margin:0 0 4px;color:#0f172a
}
.cookie-consent-summary p{color:#1e293b;font-size:12.5px;line-height:1.5;margin:0}
.cookie-consent-links{margin-top:4px!important}
.cookie-consent-dialog a{color:#047857;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.cookie-consent-actions{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  grid-template-areas:"reject preferences accept";gap:8px;width:340px
}
.cookie-consent-actions [data-cookie-reject]{grid-area:reject}
.cookie-consent-actions [data-cookie-preferences]{grid-area:preferences}
.cookie-consent-actions [data-cookie-accept]{grid-area:accept}
.cookie-consent-button{
  width:auto;min-height:40px;border-radius:11px;padding:9px 12px;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:12px;font-weight:800;cursor:pointer;border:1px solid #94a3b8;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
  white-space:nowrap;background:#fff;color:#0f172a
}
.cookie-consent-button:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(15,23,42,.10);background:#f1f5f9}
.cookie-consent-button:focus-visible{outline:3px solid rgba(16,185,129,.28);outline-offset:2px}
.cookie-preferences-panel{display:none}
.cookie-preferences-panel.is-open{display:block}
.cookie-preference-row{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;padding:17px 0;border-top:1px solid #e2e8f0}
.cookie-preference-row:first-of-type{margin-top:12px}
.cookie-preference-copy strong{display:block;margin-bottom:4px;font-size:14px;color:#0f172a}
.cookie-preference-copy span{display:block;font-size:12.5px;line-height:1.5;color:#334155}
.cookie-switch{position:relative;width:48px;height:28px;flex:0 0 auto}
.cookie-switch input{position:absolute;opacity:0;width:1px;height:1px}
.cookie-switch-track{position:absolute;inset:0;border-radius:999px;background:#cbd5e1;cursor:pointer;transition:.2s}
.cookie-switch-track::after{content:"";position:absolute;width:22px;height:22px;top:3px;left:3px;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(15,23,42,.25);transition:.2s}
.cookie-switch input:checked + .cookie-switch-track{background:#059669}
.cookie-switch input:checked + .cookie-switch-track::after{transform:translateX(20px)}
.cookie-switch input:disabled + .cookie-switch-track{background:#0f172a;cursor:not-allowed;opacity:.75}
.cookie-preferences-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
.cookie-consent-overlay.preferences-mode{
  inset:0;z-index:10000000;align-items:center;padding:20px;pointer-events:auto;
  background:rgba(2,6,12,.50);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)
}
.cookie-consent-overlay.preferences-mode .cookie-consent-dialog{
  width:min(620px,100%);max-height:min(720px,calc(100vh - 40px));overflow-y:auto;
  border-radius:24px;padding:28px;box-shadow:0 30px 90px rgba(0,0,0,.34);
  backdrop-filter:none;-webkit-backdrop-filter:none
}
.cookie-consent-overlay.preferences-mode .cookie-consent-dialog h2{font-size:24px;margin-bottom:10px}
.cookie-consent-overlay.preferences-mode .cookie-preferences-panel>p{color:#475569;font-size:14px;line-height:1.6;margin-bottom:16px}
body.cookie-modal-open{overflow:hidden}

@media(min-width:901px){
  .cookie-consent-overlay:not(.preferences-mode){
    left:auto!important;right:24px!important;transform:none!important;bottom:94px!important;
    width:min(620px,calc(100vw - 48px))!important;padding:0!important;justify-content:flex-end!important;margin:0!important
  }
  .cookie-consent-overlay:not(.preferences-mode) .cookie-consent-dialog{
    width:100%!important;max-width:none!important;display:block!important;grid-template-columns:none!important;
    gap:0!important;padding:12px 14px!important;border-radius:16px!important
  }
  .cookie-consent-overlay:not(.preferences-mode) .cookie-consent-summary{
    grid-template-columns:minmax(0,1fr) 250px!important;gap:12px!important;align-items:center!important
  }
  .cookie-consent-overlay:not(.preferences-mode) .cookie-consent-actions{width:250px!important;gap:6px!important}
  .cookie-consent-overlay:not(.preferences-mode) .cookie-consent-button{width:auto!important;min-height:36px!important;padding:7px 6px!important;font-size:10.5px!important}
  .cookie-consent-overlay:not(.preferences-mode) .cookie-consent-brand{margin-bottom:3px!important}
  .cookie-consent-overlay:not(.preferences-mode) .cookie-consent-brand span{display:inline!important}
  .cookie-consent-overlay:not(.preferences-mode) .cookie-consent-dialog h2{font-size:13px!important;margin-bottom:2px!important}
  .cookie-consent-overlay:not(.preferences-mode) .cookie-consent-summary p{font-size:10.8px!important;line-height:1.38!important}
}

@media(max-width:900px){
  .cookie-consent-overlay:not(.preferences-mode){padding-bottom:90px!important}
}

@media(max-width:760px){
  .cookie-consent-overlay:not(.preferences-mode){padding:0 7px 88px!important}
  .cookie-consent-overlay:not(.preferences-mode) .cookie-consent-dialog{
    width:min(520px,100%)!important;max-height:34vh;overflow-y:auto;border-radius:13px!important;
    padding:8px 10px!important;display:block!important;grid-template-columns:none!important;gap:0!important
  }
  .cookie-consent-overlay:not(.preferences-mode) .cookie-consent-summary{grid-template-columns:1fr!important;gap:6px!important}
  .cookie-consent-overlay:not(.preferences-mode) .cookie-consent-brand{gap:6px;margin-bottom:1px}
  .cookie-consent-overlay:not(.preferences-mode) .cookie-consent-brand strong{padding:3px 7px;border-radius:7px;font-size:10.5px}
  .cookie-consent-overlay:not(.preferences-mode) .cookie-consent-brand span{display:inline;font-size:9.5px}
  .cookie-consent-overlay:not(.preferences-mode) .cookie-consent-dialog h2{margin-bottom:1px;font-size:12.5px}
  .cookie-consent-overlay:not(.preferences-mode) .cookie-consent-summary p{font-size:10.2px;line-height:1.3}
  .cookie-consent-overlay:not(.preferences-mode) .cookie-consent-links{margin-top:1px!important}
  .cookie-consent-overlay:not(.preferences-mode) .cookie-consent-actions{width:100%;gap:5px}
  .cookie-consent-overlay:not(.preferences-mode) .cookie-consent-button{width:auto!important;min-height:32px;padding:5px 3px;border-radius:8px;font-size:9.8px}

  .cookie-consent-overlay.preferences-mode{
    inset:0;padding:14px 10px 88px;align-items:flex-end;background:rgba(2,6,12,.38);
    backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)
  }
  .cookie-consent-overlay.preferences-mode .cookie-consent-dialog{
    width:min(440px,100%);max-height:68vh;overflow-y:auto;border-radius:18px;padding:14px 14px 12px;
    display:block!important;grid-template-columns:none!important;gap:0!important
  }
  .cookie-consent-overlay.preferences-mode .cookie-consent-dialog h2{font-size:17px;margin-bottom:5px}
  .cookie-consent-overlay.preferences-mode .cookie-preferences-panel>p{font-size:11.5px;line-height:1.42;margin-bottom:8px}
  .cookie-consent-overlay.preferences-mode .cookie-preference-row{gap:10px;padding:9px 0}
  .cookie-consent-overlay.preferences-mode .cookie-preference-row:first-of-type{margin-top:6px}
  .cookie-consent-overlay.preferences-mode .cookie-preference-copy strong{margin-bottom:2px;font-size:12px}
  .cookie-consent-overlay.preferences-mode .cookie-preference-copy span{font-size:10.5px;line-height:1.35}
  .cookie-consent-overlay.preferences-mode .cookie-switch{width:42px;height:24px}
  .cookie-consent-overlay.preferences-mode .cookie-switch-track::after{width:18px;height:18px}
  .cookie-consent-overlay.preferences-mode .cookie-switch input:checked + .cookie-switch-track::after{transform:translateX(18px)}
  .cookie-consent-overlay.preferences-mode .cookie-preferences-buttons{grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}
  .cookie-consent-overlay.preferences-mode .cookie-consent-button{width:auto!important;min-height:34px;padding:6px 5px;font-size:10.5px}
}

@media(max-width:390px){
  .cookie-consent-overlay:not(.preferences-mode){padding-left:6px!important;padding-right:6px!important}
  .cookie-consent-overlay:not(.preferences-mode) .cookie-consent-brand span{display:none!important}
  .cookie-consent-overlay:not(.preferences-mode) .cookie-consent-summary p{font-size:9.8px}
  .cookie-consent-overlay:not(.preferences-mode) .cookie-consent-button{font-size:9.4px}
  .cookie-consent-overlay.preferences-mode{padding-left:8px;padding-right:8px}
  .cookie-consent-overlay.preferences-mode .cookie-consent-dialog{max-height:64vh;padding:12px 12px 10px}
}
