:root { --ct-gap: 12px; --ct-radius: 12px; --ct-shadow: 0 10px 30px rgba(0,0,0,.12); }

.ct-hidden { display:none !important; }

.ct-cookie-banner {
  position: fixed;
  left: 16px; right: 16px;
  z-index: 99999;
}
.ct-pos-bottom { bottom: 16px; }
.ct-pos-top { top: 16px; }

.ct-cookie-banner__inner{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius: var(--ct-radius);
  box-shadow: var(--ct-shadow);
  padding: 14px;
  display:flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}
.ct-cookie-banner__copy{ max-width: 860px; }
.ct-cookie-banner__title{ font-weight:700; margin-bottom:6px; }
.ct-cookie-banner__text{ opacity:.9; line-height:1.35; }
.ct-cookie-banner__links{ margin-top:8px; font-size: 13px; opacity:.9; display:flex; gap: 8px; align-items:center; }

.ct-cookie-banner__actions{ display:flex; gap: var(--ct-gap); flex-wrap:wrap; justify-content:flex-end; }

.ct-btn{
  border-radius: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
}
.ct-primary{ background:#111; color:#fff; border-color:#111; }
.ct-secondary{ background:#fff; }
.ct-ghost{ background:rgba(0,0,0,.04); }

.ct-cookie-modal[aria-hidden="true"]{ display:none; }
.ct-cookie-modal{
  position: fixed; inset:0;
  z-index: 100000;
}
.ct-cookie-modal__backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.35);
}
.ct-cookie-modal__panel{
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, calc(100% - 32px));
  background:#fff;
  border-radius: 16px;
  box-shadow: var(--ct-shadow);
  overflow:hidden;
}
.ct-cookie-modal__header, .ct-cookie-modal__footer{
  padding: 14px 16px;
  border-bottom:1px solid rgba(0,0,0,.08);
  display:flex; align-items:center; justify-content:space-between;
}
.ct-cookie-modal__footer{ border-top:1px solid rgba(0,0,0,.08); border-bottom:none; justify-content:flex-end; gap: var(--ct-gap); }
.ct-cookie-modal__title{ font-weight: 800; }
.ct-cookie-modal__body{ padding: 12px 16px 16px; display:flex; flex-direction:column; gap: 10px; }

.ct-icon-btn{
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  width: 34px; height: 34px;
  border-radius: 10px;
  cursor:pointer;
}

.ct-cookie-cat{
  border:1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 12px 12px;
}
.ct-cookie-cat__top{ display:flex; align-items:flex-start; justify-content:space-between; gap: 12px; }
.ct-cookie-cat__label{ font-weight: 700; margin-bottom:4px; }
.ct-cookie-cat__desc{ opacity:.85; font-size: 14px; line-height:1.3; }

/* Switch */
.ct-switch{ position:relative; display:inline-block; width: 46px; height: 26px; }
.ct-switch input{ display:none; }
.ct-slider{
  position:absolute; cursor:pointer; inset:0;
  background: rgba(0,0,0,.18);
  transition: .2s;
  border-radius: 999px;
}
.ct-slider:before{
  content:"";
  position:absolute; height: 20px; width: 20px;
  left:3px; top:3px;
  background:#fff;
  transition: .2s;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
}
.ct-switch input:checked + .ct-slider{ background:#111; }
.ct-switch input:checked + .ct-slider:before{ transform: translateX(20px); }

.ct-cookie-fab{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 99998;
  border-radius: 999px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.12);
  background:#fff;
  box-shadow: var(--ct-shadow);
  cursor:pointer;
  font-weight: 700;
}

html.ct-cookie-lock, html.ct-cookie-lock body { overflow: hidden; }