/* Special Offer — modal popup */
.offer-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.offer-popup.is-open {
  opacity: 1;
  visibility: visible;
}

.offer-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.offer-popup-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: #f26531;
  color: #ffffff;
  border-radius: 20px;
  padding: 36px 32px 32px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  text-align: center;
  transform: translateY(16px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.offer-popup.is-open .offer-popup-panel {
  transform: translateY(0) scale(1);
}

.offer-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  font-family: inherit;
}

.offer-popup-close:hover {
  background: rgba(255, 255, 255, 0.35);
}

.offer-popup-eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.offer-popup-title {
  margin: 0 0 10px;
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.offer-popup-highlight {
  display: block;
  margin-top: 6px;
  font-size: clamp(26px, 6vw, 34px);
  text-transform: uppercase;
}

.offer-popup-text {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.95;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.offer-popup-cta {
  display: block;
  width: 100%;
  background: #ffffff;
  color: #f26531;
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
  margin-bottom: 12px;
}

.offer-popup-cta:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.offer-popup-dismiss {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: inherit;
  padding: 4px 8px;
}

.offer-popup-dismiss:hover {
  color: #ffffff;
}

/* Floating reopen tab (after dismiss) */
.offer-popup-tab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  background: #f26531;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(242, 101, 49, 0.45);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: none;
  transition: transform 0.15s;
}

.offer-popup-tab.is-visible {
  display: block;
}

.offer-popup-tab:hover {
  transform: scale(1.04);
}

body.offer-popup-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .offer-popup-panel {
    padding: 32px 24px 28px;
  }

  .offer-popup-tab {
    bottom: 16px;
    right: 16px;
    left: 16px;
    text-align: center;
  }
}
