.vcms-cookie-banner{
  position:fixed;
  z-index:9000;
  left:0;
  right:0;
  bottom:0;
  padding:16px;
  pointer-events:none;
}
.vcms-cookie-banner:not([hidden]){
  pointer-events:auto;
}
.vcms-cookie-banner__inner{
  max-width:min(1180px,calc(100% - 8px));
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr auto;
  gap:24px 32px;
  align-items:center;
  padding:22px 26px;
  background:var(--navy,#071a35);
  color:#fff;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 18px 50px rgba(3,18,38,.35);
}
.vcms-cookie-banner__title{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.2;
  letter-spacing:-.02em;
}
.vcms-cookie-banner__text{
  margin:0;
  font-size:14px;
  line-height:1.55;
  color:#c7d2e0;
  max-width:760px;
}
.vcms-cookie-banner__privacy{
  display:inline-block;
  margin-top:10px;
  font-size:13px;
  font-weight:700;
  color:#ff8a98;
  text-decoration:underline;
}
.vcms-cookie-banner__privacy:hover{color:#fff}
.vcms-cookie-banner__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}
.vcms-cookie-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  border-radius:0;
  border:1px solid transparent;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  transition:.2s;
  white-space:nowrap;
}
.vcms-cookie-btn--primary{
  background:var(--red,#ef001d);
  color:#fff;
  border-color:var(--red,#ef001d);
}
.vcms-cookie-btn--primary:hover{background:var(--red2,#ca0018)}
.vcms-cookie-btn--ghost{
  background:transparent;
  color:#fff;
  border-color:rgba(255,255,255,.35);
}
.vcms-cookie-btn--ghost:hover{border-color:#fff;background:rgba(255,255,255,.08)}
.cookie-settings-link{
  background:none;
  border:0;
  padding:0;
  font:inherit;
  color:inherit;
  cursor:pointer;
  text-decoration:none;
}
.cookie-settings-link:hover{color:#fff}
.vcms-cookie-panel{
  position:fixed;
  inset:0;
  z-index:9010;
  display:grid;
  place-items:end center;
  padding:20px;
}
.vcms-cookie-panel:not([hidden]){pointer-events:auto}
.vcms-cookie-panel__backdrop{
  position:absolute;
  inset:0;
  background:rgba(7,26,53,.55);
}
.vcms-cookie-panel__sheet{
  position:relative;
  width:min(560px,100%);
  max-height:min(86vh,720px);
  display:flex;
  flex-direction:column;
  background:#fff;
  color:var(--ink,#101828);
  box-shadow:0 24px 70px rgba(3,18,38,.25);
}
.vcms-cookie-panel__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:18px 22px;
  border-bottom:1px solid var(--line,#dfe3e8);
}
.vcms-cookie-panel__head h2{
  margin:0;
  font-size:20px;
  color:var(--navy,#071a35);
}
.vcms-cookie-panel__close{
  width:36px;
  height:36px;
  border:0;
  background:var(--soft,#f4f5f6);
  font-size:24px;
  line-height:1;
  cursor:pointer;
}
.vcms-cookie-panel__body{
  overflow:auto;
  padding:18px 22px;
  display:grid;
  gap:14px;
}
.vcms-cookie-category{
  padding:14px 16px;
  background:var(--off,#fafafa);
  border:1px solid var(--line,#dfe3e8);
}
.vcms-cookie-category__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:6px;
}
.vcms-cookie-category p{
  margin:0;
  font-size:13px;
  line-height:1.55;
  color:var(--muted,#667085);
}
.vcms-cookie-badge{
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--red,#ef001d);
}
.vcms-cookie-category--toggle input[type=checkbox]{
  width:18px;
  height:18px;
  accent-color:var(--red,#ef001d);
}
.vcms-cookie-panel__foot{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
  padding:16px 22px 20px;
  border-top:1px solid var(--line,#dfe3e8);
}
.vcms-cookie-panel__foot .vcms-cookie-btn--ghost{
  color:var(--navy,#071a35);
  border-color:#cbd5e1;
}
.vcms-cookie-panel__foot .vcms-cookie-btn--ghost:hover{
  background:var(--soft,#f4f5f6);
}
body.vcms-cookie-open{overflow:hidden}
@media(max-width:860px){
  .vcms-cookie-banner__inner{
    grid-template-columns:1fr;
    padding:18px;
  }
  .vcms-cookie-banner__actions{
    justify-content:stretch;
  }
  .vcms-cookie-banner__actions .vcms-cookie-btn{
    flex:1 1 calc(50% - 5px);
  }
  .vcms-cookie-banner__actions .vcms-cookie-btn[data-cookie-action="accept"]{
    flex-basis:100%;
  }
}
@media(max-width:640px){
  .vcms-cookie-banner{padding:0}
  .vcms-cookie-banner__inner{
    border-left:0;
    border-right:0;
    border-bottom:0;
  }
  .vcms-cookie-panel{
    padding:0;
    place-items:end stretch;
  }
  .vcms-cookie-panel__sheet{
    width:100%;
    max-height:92vh;
    max-height:92dvh;
  }
  .vcms-cookie-panel__foot .vcms-cookie-btn{
    flex:1 1 auto;
  }
}
/* ── Mobile CTA bar clearance (≤680px) ── */
@media(max-width:680px){
  .vcms-cookie-banner{
    bottom:calc(66px + env(safe-area-inset-bottom,0px));
  }
  .vcms-cookie-panel__foot{
    padding-bottom:calc(20px + env(safe-area-inset-bottom,0px));
  }
}
/* ── Landscape: limit panel height ── */
@media(max-height:500px){
  .vcms-cookie-panel__sheet{
    max-height:85vh;
    max-height:85dvh;
  }
}
/* ── Touch target: category toggles ── */
.vcms-cookie-category__head label{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  cursor:pointer;
}
