/* balkan – Cookies & GDPR consent (same card as on balkanmarket.cz, for the default theme) */
.bgs-consent {
  --bgs-primary: #1f7a52;
  --bgs-primary-dark: #17603f;
  --bgs-accent: #f4a62a;
  --bgs-text: #1d2a26;
  --bgs-muted: #66736f;
  --bgs-line: #e6ebe8;
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 1100;
  width: min(640px, calc(100% - 24px));
  transform: translateX(-50%);
  animation: bgs-consent-pop .25s ease;
  transition: opacity .25s, transform .25s;
  color: var(--bgs-text);
  text-align: left;
}
@keyframes bgs-consent-pop {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
.bgs-consent.is-closing {
  opacity: 0;
  transform: translate(-50%, 16px);
}
.bgs-consent-card {
  padding: 22px 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(18, 40, 33, .28), 0 0 0 1px var(--bgs-line);
}
.bgs-consent h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 700;
}
.bgs-consent h2 i {
  color: var(--bgs-accent);
}
.bgs-consent p {
  margin: 0 0 16px;
  font-size: .875rem;
  line-height: 1.55;
  color: #3b4a45;
}
.bgs-consent p a {
  font-weight: 700;
}
.bgs-consent-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.bgs-consent-actions .btn {
  min-width: 140px;
  border-radius: 999px;
  font-weight: 600;
}
.bgs-consent-actions .btn-primary {
  background: var(--bgs-primary);
  border-color: var(--bgs-primary);
}
.bgs-consent-actions .btn-primary:hover {
  background: var(--bgs-primary-dark);
  border-color: var(--bgs-primary-dark);
}
.bgs-consent-reject {
  margin-right: auto;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--bgs-muted);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bgs-consent-reject:hover {
  color: var(--bgs-text);
}
.bgs-consent-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bgs-line);
  cursor: pointer;
}
.bgs-consent-row:last-of-type {
  margin-bottom: 16px;
}
.bgs-consent-row strong {
  display: block;
  font-size: .9375rem;
}
.bgs-consent-row small {
  display: block;
  color: var(--bgs-muted);
}
.bgs-consent-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.bgs-switch-ui {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 26px;
  border-radius: 26px;
  background: #cfd8d4;
  transition: background .2s;
}
.bgs-switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  transition: transform .2s;
}
.bgs-consent-row input:checked + .bgs-switch-ui {
  background: var(--bgs-primary);
}
.bgs-consent-row input:checked + .bgs-switch-ui::after {
  transform: translateX(20px);
}
.bgs-consent-row input:focus-visible + .bgs-switch-ui {
  outline: 2px solid var(--bgs-primary);
  outline-offset: 2px;
}
.bgs-consent-row.is-locked {
  cursor: default;
}
.bgs-consent-row.is-locked .bgs-switch-ui {
  opacity: .6;
}
.bgs-consent-footer {
  padding: 8px 0 4px;
  text-align: center;
}
.bgs-footer-cookie {
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 575.98px) {
  .bgs-consent-card {
    padding: 18px 16px;
  }
  .bgs-consent-actions {
    flex-wrap: wrap;
  }
  .bgs-consent-actions .btn {
    flex: 1 1 45%;
    min-width: 0;
  }
  .bgs-consent-reject {
    order: 3;
    width: 100%;
    text-align: center;
  }
}
