.otk-delivery-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.otk-delivery-popup--visible {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.otk-delivery-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.otk-delivery-popup__content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.otk-delivery-popup--visible .otk-delivery-popup__content {
  transform: scale(1);
}

.otk-delivery-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: #f5f5f5;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #666;
  transition: background-color 0.2s, color 0.2s;
}

.otk-delivery-popup__close:hover {
  background: #e0e0e0;
  color: #333;
}

.otk-delivery-popup__logo {
  margin-bottom: 20px;
}

.otk-delivery-popup__logo img {
  max-width: 150px;
  max-height: 60px;
  height: auto;
  object-fit: contain;
}

.otk-delivery-popup__title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 600;
  color: #333;
}

.otk-delivery-popup__message {
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

.otk-delivery-popup__btn {
  display: inline-block;
  padding: 12px 32px;
  background: #2fb5d2;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.otk-delivery-popup__btn:hover {
  background: #259bb5;
}

@media (max-width: 480px) {
  .otk-delivery-popup__content {
    padding: 24px 20px;
    margin: 16px;
    width: calc(100% - 32px);
  }

  .otk-delivery-popup__title {
    font-size: 18px;
  }

  .otk-delivery-popup__message {
    font-size: 14px;
  }
}

/* Announcement banner: in the normal flow before <main>, it scrolls away
   while the theme's sticky #header (top: 0, z-index: 1000) takes the top.
   Colors and font of the redesigned SAV page (octika_sav sav.css: --sav-accent,
   Montserrat). The theme only loads Montserrat 300 and 700 (_partials/font.tpl),
   so the weight stays 700 (a 400/500 weight would fall back to the 300 file). */
.otk-announcement-banner {
  background: #00A5BF;
  color: #fff;
}

.otk-announcement-banner__text {
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 15px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: inherit;
  overflow-wrap: break-word;
}

@media (max-width: 767px) {
  .otk-announcement-banner__text {
    padding: 8px 12px;
    font-size: 14px;
  }
}
