.sb-cookie-banner{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:9999;
  background:rgba(255,244,241,0.98);
  border-top:1px solid #f3c8bd;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
  font-family:Verdana, Arial, sans-serif;
  color:#222;
}

.sb-cookie-banner__inner{
  max-width:1180px;
  margin:0 auto;
  padding:14px 18px;
  display:flex;
  gap:18px;
  align-items:flex-start;
}

.sb-cookie-banner__text{
  flex:1 1 auto;
}

.sb-cookie-banner__title{
  margin:0 0 5px;
  font-size:21px;
  line-height:1.35;
  font-weight:700;
  color:#d60525;
}

.sb-cookie-banner__text p{
  margin:0;
  font-size:14px;
  line-height:1.6;
}

.sb-cookie-banner__buttons{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
  flex:0 0 auto;
}

.sb-btn{
  border:none;
  border-radius:999px;
  padding:10px 16px;
  font-weight:700;
  font-size:13px;
  cursor:pointer;
  font-family:Verdana, Arial, sans-serif;
  transition:.18s ease;
  white-space:nowrap;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
}

.sb-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 26px rgba(0,0,0,.12);
}

.sb-btn--primary{
  background:#d60525;
  color:#fff;
}

.sb-btn--secondary{
  background:#e9e9e9;
  color:#222;
}

.sb-btn--ghost{
  background:#fff;
  color:#d60525;
  border:1px solid #d60525;
  box-shadow:none;
}

.sb-cookie-modal{
  position:fixed;
  inset:0;
  z-index:10000;
  display:none;
}

.sb-cookie-modal.is-open{
  display:block;
}

.sb-cookie-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.28);
}

.sb-cookie-modal__dialog{
  position:relative;
  max-width:760px;
  margin:48px auto;
  background:#fff;
  border-radius:16px;
  box-shadow:0 10px 26px rgba(0,0,0,.12);
  padding:28px 28px 22px;
  border:1px solid #eee;
  font-family:Verdana, Arial, sans-serif;
}

.sb-cookie-modal__close{
  position:absolute;
  top:12px;
  right:14px;
  border:none;
  background:transparent;
  cursor:pointer;
  font-size:28px;
  line-height:1;
  color:#777;
}

.sb-cookie-modal h2{
  margin:0 0 10px;
  color:#d60525;
  font-size:30px;
  line-height:1.2;
}

.sb-cookie-modal__lead{
  margin-bottom:14px;
  font-size:15px;
  line-height:1.6;
}

.sb-cookie-group{
  padding:14px 0;
  border-top:1px solid #eee;
}

.sb-cookie-group__head{
  display:flex;
  gap:12px;
  justify-content:space-between;
  align-items:flex-start;
}

.sb-cookie-group__head h3{
  margin:0;
  font-size:18px;
  line-height:1.3;
}

.sb-cookie-group p{
  margin:8px 0 0;
  font-size:14px;
  line-height:1.6;
}

.sb-badge{
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  background:#e9e9e9;
  color:#666;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}

.sb-toggle{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  cursor:pointer;
  user-select:none;
  white-space:nowrap;
}

.sb-toggle input{
  accent-color:#d60525;
  width:18px;
  height:18px;
}

.sb-cookie-note{
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid #eee;
  font-size:13px;
  color:#555;
}

.sb-cookie-note a{
  color:#d60525;
}

.sb-cookie-modal__buttons{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
  margin-top:16px;
}

.sb-cookie-reopen{
  display:none;
}

@media (max-width: 900px){
  .sb-cookie-banner__inner{
    flex-direction:column;
  }

  .sb-cookie-banner__buttons{
    justify-content:flex-start;
  }

  .sb-cookie-modal__dialog{
    margin:18px 12px;
    padding:22px 16px 18px;
  }

  .sb-cookie-modal h2{
    font-size:24px;
  }
}

@media (max-width: 520px){
  .sb-cookie-banner__inner{
    padding:11px 12px 12px;
  }

  .sb-cookie-banner__title{
    font-size:17px;
    line-height:1.28;
  }

  .sb-cookie-banner__text p{
    font-size:12px;
    line-height:1.48;
  }

  .sb-cookie-banner__buttons{
    flex-direction:column;
    align-items:stretch;
  }

  .sb-btn{
    width:100%;
    min-height:44px;
    padding:10px 13px;
    font-size:12px;
  }

  .sb-cookie-modal__dialog{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    margin:0;
    max-width:none;
    border-radius:20px 20px 0 0;
    padding:14px 14px 16px;
    max-height:82%;
    overflow:auto;
  }

  .sb-cookie-modal h2{
    font-size:21px;
  }

  .sb-cookie-modal__lead{
    font-size:13px;
    line-height:1.5;
  }

  .sb-cookie-group{
    padding:10px 0;
  }

  .sb-cookie-group__head h3{
    font-size:15px;
    line-height:1.28;
  }

  .sb-cookie-group p{
    font-size:12px;
    line-height:1.48;
  }

  .sb-badge{
    font-size:10px;
    padding:3px 8px;
  }

  .sb-toggle{
    font-size:11px;
  }

  .sb-toggle input{
    width:16px;
    height:16px;
  }

  .sb-cookie-note{
    font-size:11px;
    line-height:1.45;
  }

  .sb-cookie-modal__buttons{
    flex-direction:column;
  }
}