/*-----------------------------------------------------------------попап додано до кошика --------------------------------------------------------------------------------------*/
/* 1) Ховаємо стандартний YITH toast */
/* Ховаємо весь YITH toast контейнер і все всередині */
.yith-wcwl-feedback-messages-container,
.yith-wcwl-feedback-messages-container * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 2) Наша модалка wishlist */
.ak-wl-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 9998;
}
.ak-wl-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ak-wl-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(640px, calc(100vw - 48px));
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  padding: 64px 56px 44px;
  text-align: center;
  z-index: 9999;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.ak-wl-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ak-wl-modal__title {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
  color: #0f172a;
}

.ak-wl-modal__text {
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(15, 23, 42, 0.7);
}

.ak-wl-modal__icon {
  display: none;
}
.yith-wcwl-feedback-messages-container.ak-yith-toast-hidden {
  display: none !important;
}

.ak-yith-toast-hidden {
  display: none !important;
}

/* mobile */
@media (max-width: 480px) {
  .ak-wl-modal {
    width: calc(100vw - 24px);
    padding: 48px 22px 28px;
    border-radius: 24px;
  }
  .ak-wl-modal__title {
    font-size: 22px;
  }
  .ak-wl-modal__text {
    font-size: 12px;
  }
}
