/* OVERLAY */
.offers-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

/* CONTAINER */
.offers-container {
  width: 50%;
  max-width: 950px;
  background: #ffffff;
  display: flex;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

/* LEFT FORM — WIDER */
.offers-form {
  width: 55%;                 /* 🔥 INCREASED */
  padding: 32px;
  background: #ffffff;
}

.offers-form h2 {
  text-align: center;
  color: #ff5c93;
  font-size: 40px;
  margin-bottom: 35px;
}

.offers-form input,
.offers-form select {
  width: 100%;
  padding: 16px;
  margin-bottom: 26px;
  border: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  font-size: 16px;
  border-radius: 4px;
}

.offers-form button {
  display: block;
  margin: 10px auto 0;
  padding: 12px 45px;
  background: #ff5c93;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 20px;
  cursor: pointer;
}

/* RIGHT PANEL — NARROW & CENTERED */
.offers-banner {
  width: 45%;                 /* 🔥 REDUCED */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

/* PORTRAIT FRAME */
.carousel {
  width: 100%;
  max-width: 440px;           /* 🔥 CONTROLS WIDTH */
  aspect-ratio: 9 / 16;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

/* IMAGES */
.carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;        /* no cropping */
  background: #000;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.carousel img.active {
  opacity: 1;
}

/* NAVIGATION */
.carousel .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.75);
  border: none;
  font-size: 28px;
  padding: 6px 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
}

.carousel .prev { left: 8px; }
.carousel .next { right: 8px; }

/* CLOSE */
.offers-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 28px;
  cursor: pointer;
  z-index: 6;
}

/* MOBILE */
@media (max-width: 768px) {
  .offers-container {
    flex-direction: column;
  }

  .offers-form,
  .offers-banner {
    width: 100%;
  }

  .carousel {
    max-width: 90%;
  }
}
/* MESSAGE BOX */
.offers-form .message-box {
  width: 100%;
  height: 120px;              /* ~2.5x input height */
  padding: 16px;
  margin-bottom: 26px;
  border: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  font-size: 16px;
  border-radius: 4px;
  resize: none;
}

@media (max-width: 768px) {
    .offers-overlay {
        display: none !important;
    }
}