
:root{
  --scc-cream:#fdfaf6;
  --scc-cream-2:#f6f1e9;
  --scc-green:#445447;
  --scc-green-dark:#293229;
  --scc-terracotta:#b97258;
  --scc-terracotta-light:#cf8a6f;
  --scc-ink:#252a26;
  --scc-muted:#6d716b;
  --scc-line:#e5ded3;
  --scc-white:#fff;
}

.scc-banner,
.scc-modal,
.scc-manage,
.scc-inline-settings{
  font-family:"Segoe UI",Arial,Helvetica,sans-serif;
  box-sizing:border-box;
}

.scc-overlay{
  position:fixed;
  inset:0;
  z-index:999997;
  background:rgba(24,29,25,.36);
  backdrop-filter:blur(3px);
}

.scc-banner{
  position:fixed;
  left:50%;
  bottom:24px;
  transform:translateX(-50%);
  z-index:999999;
  width:min(1120px,calc(100% - 32px));
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:22px;
  align-items:center;
  padding:24px 26px;
  border:1px solid rgba(68,84,71,.13);
  border-radius:24px;
  background:rgba(253,250,246,.985);
  box-shadow:0 18px 55px rgba(35,43,37,.16);
}

.scc-icon{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:#eee7dc;
  font-size:25px;
}

.scc-eyebrow{
  margin-bottom:5px;
  color:var(--scc-terracotta);
  font-size:12px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.scc-banner h2,
.scc-modal h2{
  margin:0 0 8px;
  color:var(--scc-green-dark);
  font-family:Georgia,"Times New Roman",serif;
  font-weight:700;
  letter-spacing:-.02em;
}

.scc-banner h2{font-size:23px;}
.scc-modal h2{font-size:30px;}

.scc-banner p,
.scc-modal p{
  margin:0;
  color:var(--scc-muted);
  font-size:14px;
  line-height:1.65;
}

.scc-banner a,
.scc-modal a{
  color:var(--scc-green-dark);
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:3px;
}

.scc-actions{
  min-width:206px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.scc-btn{
  min-height:43px;
  padding:10px 17px;
  border-radius:999px;
  border:1px solid transparent;
  font-size:13px;
  font-weight:750;
  line-height:1.2;
  cursor:pointer;
  transition:transform .16s ease,background .16s ease,border-color .16s ease;
}

.scc-btn:hover{transform:translateY(-1px);}

.scc-btn-primary{
  background:var(--scc-green);
  border-color:var(--scc-green);
  color:#fff;
}
.scc-btn-primary:hover{background:#58695b;border-color:#58695b;}

.scc-btn-secondary{
  background:var(--scc-terracotta);
  border-color:var(--scc-terracotta);
  color:#fff;
}
.scc-btn-secondary:hover{background:var(--scc-terracotta-light);border-color:var(--scc-terracotta-light);}

.scc-btn-link{
  min-height:auto;
  padding:5px 12px;
  background:transparent;
  color:var(--scc-green-dark);
  text-decoration:underline;
  text-underline-offset:3px;
}

.scc-close{
  position:absolute;
  top:14px;
  right:16px;
  width:34px;
  height:34px;
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--scc-muted);
  font-size:25px;
  line-height:1;
  cursor:pointer;
}

.scc-modal{
  position:fixed;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  z-index:999999;
  width:min(650px,calc(100% - 32px));
  max-height:min(760px,calc(100vh - 40px));
  overflow:auto;
  padding:34px;
  border:1px solid var(--scc-line);
  border-radius:26px;
  background:var(--scc-cream);
  box-shadow:0 24px 70px rgba(35,43,37,.22);
}

.scc-modal-intro{margin-bottom:23px!important;}

.scc-category{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:center;
  padding:19px 0;
  border-top:1px solid var(--scc-line);
}
.scc-category strong{
  display:block;
  margin-bottom:4px;
  color:var(--scc-ink);
  font-size:15px;
}
.scc-category span:not(.scc-slider){
  display:block;
  color:var(--scc-muted);
  font-size:13px;
  line-height:1.5;
}

.scc-switch{
  position:relative;
  flex:0 0 auto;
  width:50px;
  height:28px;
}
.scc-switch input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.scc-slider{
  position:absolute;
  inset:0;
  border-radius:999px;
  background:#d9d5ce;
  cursor:pointer;
  transition:.2s ease;
}
.scc-slider:before{
  content:"";
  position:absolute;
  width:20px;
  height:20px;
  left:4px;
  top:4px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 6px rgba(0,0,0,.15);
  transition:.2s ease;
}
.scc-switch input:checked + .scc-slider{background:var(--scc-green);}
.scc-switch input:checked + .scc-slider:before{transform:translateX(22px);}
.scc-switch-disabled{opacity:.72;}

.scc-modal-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:24px;
}
.scc-modal-actions .scc-btn{flex:1 1 210px;}
.scc-policy-link{
  margin-top:20px!important;
  text-align:center;
  font-size:12px!important;
}

.scc-manage{
  position:fixed;
  left:18px;
  bottom:18px;
  z-index:999996;
  display:flex;
  gap:7px;
  align-items:center;
  padding:9px 13px;
  border:1px solid rgba(68,84,71,.16);
  border-radius:999px;
  background:var(--scc-green-dark);
  color:#fff;
  box-shadow:0 10px 28px rgba(35,43,37,.16);
  font-size:12px;
  font-weight:750;
  cursor:pointer;
}
.scc-manage:hover{background:var(--scc-green);}
.scc-manage span:first-child{font-size:15px;}

.scc-inline-settings{
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  text-decoration:underline;
  cursor:pointer;
}

[hidden]{display:none!important;}

@media(max-width:850px){
  .scc-banner{
    grid-template-columns:auto 1fr;
    padding:22px;
  }
  .scc-actions{
    grid-column:1/-1;
    width:100%;
    min-width:0;
    flex-direction:row;
    flex-wrap:wrap;
  }
  .scc-actions .scc-btn{
    flex:1 1 180px;
  }
}

@media(max-width:560px){
  .scc-banner{
    bottom:12px;
    width:calc(100% - 20px);
    grid-template-columns:1fr;
    gap:13px;
    padding:20px 18px;
    border-radius:20px;
  }
  .scc-icon{display:none;}
  .scc-banner h2{font-size:21px;padding-right:22px;}
  .scc-actions{display:grid;grid-template-columns:1fr;}
  .scc-actions .scc-btn{width:100%;}
  .scc-modal{
    width:calc(100% - 20px);
    padding:26px 20px;
    border-radius:20px;
  }
  .scc-modal h2{font-size:26px;padding-right:24px;}
  .scc-category{gap:14px;}
  .scc-manage span:last-child{display:none;}
}


/* v1.2 — linki bez podkreślenia */
.scc-banner a,
.scc-modal a,
.scc-policy-link a,
.scc-inline-settings{
  text-decoration:none !important;
}
.scc-banner a:hover,
.scc-modal a:hover,
.scc-policy-link a:hover,
.scc-inline-settings:hover{
  text-decoration:none !important;
  color:var(--scc-terracotta) !important;
}
