#rwr-cookie-consent-root,
#rwr-cookie-consent-root * {
  box-sizing: border-box;
}

#rwr-cookie-consent-root {
  font-family: inherit;
}

.rwr-cookie-banner[hidden],
.rwr-cookie-modal-overlay[hidden] {
  display: none !important;
}

/* =========================
   BANNER
========================= */
.rwr-cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 24px));
  background: #ffffff;
  border: 1px solid #e8e1d4;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
  padding: 22px 24px;
  z-index: 9999999999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.rwr-cookie-banner__content {
  flex: 1 1 auto;
  min-width: 0;
}

.rwr-cookie-banner__title {
  margin: 0 0 8px;
  color: #1f1f1f;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.rwr-cookie-banner__text {
  margin: 0;
  color: #5f5a52;
  font-size: 15px;
  line-height: 1.7;
}

.rwr-cookie-banner__text strong {
  color: #1f1f1f;
}

.rwr-cookie-banner__text a {
  color: #1f1f1f;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.rwr-cookie-banner__actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
}

/* =========================
   BUTTONS
========================= */
.rwr-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 22px;
  min-height: 50px;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  white-space: nowrap;
}

.rwr-btn:focus-visible {
  outline: 2px solid #1f1f1f;
  outline-offset: 2px;
}

.rwr-btn--primary {
  background: #f4c400;
  color: #1f1f1f;
  border-color: #f4c400;
}

.rwr-btn--primary:hover {
  background: #e4b700;
  border-color: #e4b700;
}

.rwr-btn--secondary {
  background: #ffffff;
  color: #1f1f1f;
  border-color: #d8d0c1;
}

.rwr-btn--secondary:hover {
  background: #f7f3ec;
  border-color: #cfc6b6;
}

.rwr-btn--dark {
  background: #1f1f1f;
  color: #ffffff;
  border-color: #1f1f1f;
}

.rwr-btn--dark:hover {
  background: #000000;
  border-color: #000000;
}

/* =========================
   MODAL
========================= */
.rwr-cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(25, 22, 19, 0.48);
  z-index: 10000000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.rwr-cookie-modal {
  position: relative;
  width: min(910px, 100%);
  max-height: min(90vh, 920px);
  overflow: auto;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  padding: 32px 32px 28px;
}

.rwr-cookie-modal__close {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent!important;
  color: #1f1f1f;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
}

.rwr-cookie-modal__close:hover {
  background: none!important;
  color:#000;
}
.rwr-cookie-modal__close:hover:before{
    content:none!important;
}

.rwr-cookie-modal__close:focus-visible {
  outline: 2px solid #1f1f1f;
  outline-offset: 2px;
}

.rwr-cookie-modal__title {
  margin: 0 0 12px;
  padding-right: 42px;
  color: #1f1f1f;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.rwr-cookie-modal__intro {
  margin: 0 0 26px;
  color: #5f5a52;
  font-size: 15px;
  line-height: 1.75;
}

/* =========================
   ROWS
========================= */
.rwr-cookie-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid #eee7dc;
}

.rwr-cookie-row:first-of-type {
  border-top: none;
}

.rwr-cookie-row__info {
  flex: 1 1 auto;
  min-width: 0;
}

.rwr-cookie-row__info h4 {
  margin: 0 0 6px;
  color: #1f1f1f;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}

.rwr-cookie-row__info p {
  margin: 0;
  color: #5f5a52;
  font-size: 14px;
  line-height: 1.7;
}

.rwr-cookie-row__toggle {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rwr-cookie-status {
  color: #5f5a52;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* =========================
   SWITCH
========================= */
.rwr-switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 32px;
}

.rwr-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rwr-slider {
  position: absolute;
  inset: 0;
  background: #d8d3ca;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.rwr-slider::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 24px;
  height: 24px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: all 0.25s ease;
}

.rwr-switch input:checked + .rwr-slider {
  background: #f4c400;
}

.rwr-switch input:checked + .rwr-slider::before {
  transform: translateX(24px);
}

.rwr-switch--locked .rwr-slider {
  background: #1f1f1f;
  opacity: 0.92;
}

/* =========================
   FOOTER BUTTONS
========================= */
.rwr-cookie-modal__footer {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================
   REOPEN LINK/BUTTON
========================= */
.rwr-cookie-settings-trigger {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rwr-cookie-settings-trigger:hover {
  opacity: 0.8;
}

/* =========================
   BODY LOCK
========================= */
body.rwr-cookie-modal-open {
  overflow: hidden;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 991px) {
  .rwr-cookie-banner {
    width: calc(100% - 20px);
    bottom: 10px;
    padding: 20px;
    gap: 18px;
  }

  .rwr-cookie-banner__title {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .rwr-cookie-banner {
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px;
  }

  .rwr-cookie-banner__actions {
    width: 100%;
    justify-content: stretch;
    flex-wrap: nowrap;
  }

  .rwr-btn {
    width: 100%;
  }

  .rwr-cookie-modal {
    padding: 24px 18px 20px;
    border-radius: 20px;
  }

  .rwr-cookie-modal__title {
    font-size: 26px;
    padding-right: 36px;
  }

  .rwr-cookie-row {
    flex-direction: column;
    gap: 14px;
  }

  .rwr-cookie-row__toggle {
    width: 100%;
    justify-content: space-between;
  }



  .rwr-cookie-modal__footer .rwr-btn {
    width: 48%;
  }
  .rwr-cookie-modal__footer .rwr-btn--primary{
    width:100%;
  }
  .rwr-btn{
    padding: 14px 16px;
  }
  .rwr-cookie-banner__actions{
    gap:9px;
  }
}