.footer-cookie-settings-divider {
  display: inline-block;
  margin: 0 0.45rem;
}

.footer-cookie-settings-link {
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  color: #666;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.footer-cookie-settings-link:hover {
  color: #ff6600;
  text-decoration: none;
}

.cookies-bar {
  gap: 1.5rem;
  z-index: 10000;
}

#whatsapp-widget {
  z-index: 9990;
}

.fancybox__container {
  z-index: 11000;
}

.cookies-bar__content {
  flex: 1 1 calc(100% - 28rem);
  padding-right: 1rem;
}

.cookies-bar__actions {
  display: flex;
  flex: 0 0 27rem;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
}

.cookies-bar__button {
  width: auto;
  min-width: 205px;
  white-space: nowrap;
}

.cookies-bar__button--secondary {
  background-color: transparent;
  border-color: #09105e;
  color: #09105e;
}

.cookies-bar__button--secondary:hover {
  background-color: #09105e;
  border-color: #09105e;
  color: #fff;
}

.cookie-consent-modal {
  width: min(720px, calc(100vw - 2rem));
  max-width: 720px;
  color: #333;
  font-family: 'Museo Sans 500', sans-serif;
}

.cookie-consent-modal__content {
  position: relative;
  padding: 0;
}

.cookie-consent-modal h2 {
  margin: 0 0 1rem;
  color: #09105e;
  font-family: 'Museo Sans 900';
  font-size: 2rem;
  line-height: 2.3rem;
  text-transform: uppercase;
}

.cookie-consent-modal__intro {
  margin: 0 0 1.5rem;
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}

.cookie-consent-category {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-top: 1px solid #eee;
}

.cookie-consent-category:last-of-type {
  border-bottom: 1px solid #eee;
}

.cookie-consent-category__copy {
  flex: 1 1 auto;
}

.cookie-consent-category__copy h3 {
  margin: 0 0 0.45rem;
  color: #09105e;
  font-family: 'Museo Sans 700';
  font-size: 1.05rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.cookie-consent-category__copy p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.65;
}

.cookie-consent-toggle {
  position: relative;
  display: inline-flex;
  width: 58px;
  height: 32px;
  flex: 0 0 58px;
  cursor: pointer;
}

.cookie-consent-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.cookie-consent-toggle__slider {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #d7d7d7;
  transition: background-color .15s ease-in-out;
}

.cookie-consent-toggle__slider::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform .15s ease-in-out;
}

.cookie-consent-toggle input:checked + .cookie-consent-toggle__slider {
  background: #ff6600;
}

.cookie-consent-toggle input:checked + .cookie-consent-toggle__slider::after {
  transform: translateX(26px);
}

.cookie-consent-toggle input:disabled + .cookie-consent-toggle__slider {
  background: #09105e;
  cursor: not-allowed;
  opacity: 0.85;
}

.cookie-consent-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding: 0;
}

.cookie-consent-modal__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  border: 1px solid #ff6600;
  border-radius: 2rem;
  border-top-left-radius: 0;
  background: #ff6600;
  color: #fff;
  font-family: 'Museo Sans 700';
  font-size: 0.9rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .15s ease-in-out;
}

.cookie-consent-modal__button:hover {
  background: #ff8533;
  border-color: #ff8533;
  color: #fff;
}

.cookie-consent-modal__button--secondary {
  background: transparent;
  border-width: 2px;
  border-color: #09105e;
  color: #09105e;
}

.cookie-consent-modal__button--secondary:hover {
  background: #09105e;
  border-color: #09105e;
}

.cookie-consent-modal__button--muted {
  background: transparent;
  border-color: #bbb;
  color: #666;
}

.cookie-consent-modal__button--muted:hover {
  background: #f5f5f5;
  border-color: #bbb;
  color: #333;
}

.cookie-consent-modal--standalone {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(9, 16, 94, 0.55);
}

.cookie-consent-modal--standalone .cookie-consent-modal__content {
  width: 100%;
  max-width: 720px;
  background: #fff;
  border-radius: 2rem;
  border-top-left-radius: 0;
}

@media (max-width: 991px) {
  .footer-cookie-settings-divider {
    display: none;
  }

  .footer-cookie-settings-link {
    display: block;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .cookies-bar {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .cookies-bar__actions {
    flex-direction: column;
    width: 100%;
  }

  .cookies-bar__button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .cookies-bar {
    display: block;
    text-align: center;
  }

  .cookies-bar__content {
    padding-right: 0;
  }

  .cookies-bar__actions {
    margin-top: 1.5rem;
  }

  .cookie-consent-modal {
    width: calc(100vw - 1.25rem);
  }

  .cookie-consent-modal__content {
    padding: 0;
  }

  .cookie-consent-modal h2 {
    font-size: 1.55rem;
    line-height: 1.95rem;
  }

  .cookie-consent-category {
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1.25rem 0;
  }

  .cookie-consent-modal__actions {
    justify-content: stretch;
  }

  .cookie-consent-modal__button {
    width: 100%;
  }
}

@media (max-width: 991px) {
  .cookie-consent-toggle {
    flex: 0 0 58px;
    margin-top: 0;
  }
}

/* 2026-09-17 (užduotis (19) E): juostoje 3 mygtukai (nustatymai, „Atmesti“, „Sutinku“) – kompiuteryje veiksmų blokas plotį ima pagal mygtukus,
 esant poreikiui mygtukai keliasi į kitą eilutę; ≤991 px – vienas po kitu per visą plotį (kaip anksčiau). */
@media (min-width: 992px) {
  .cookies-bar > div.cookies-bar__content {
    flex: 1 1 16rem;
    min-width: 16rem;
  }

  .cookies-bar > div.cookies-bar__actions {
    flex: 0 1 auto;
    flex-wrap: wrap;
  }

  .cookies-bar > div.cookies-bar__actions > button.cookies-bar__button {
    width: auto;
    flex: 0 0 auto;
  }
}
