/* ========================================================
   ORDER BUMP MODAL - GEOVANNA ALENCAR / PRIVACY
   Estética alinhada às cores e identidade do site
   ======================================================== */

.orderbump-overlay {
  display: none;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(11, 19, 41, 0.82) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 99999999 !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  align-items: center !important;
  justify-content: center !important;
}

.orderbump-overlay.active,
.orderbump-overlay[data-state="open"] {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

body.orderbump-open {
  overflow: hidden;
}

.orderbump-card {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 107, 61, 0.2);
  overflow: hidden;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}

.orderbump-overlay.active .orderbump-card {
  transform: scale(1) translateY(0);
}

/* Scrollable container inside card if needed on small screens */
.orderbump-content-scroll {
  padding: 22px 20px 22px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Close Button (X) */
.orderbump-btn-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: #64748b;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.orderbump-btn-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: scale(1.08);
}

/* Exclusive Offer Tag Header */
.orderbump-tag-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #c2410c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

/* Creator Profile + Speech Balloon Row */
.orderbump-creator-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.orderbump-avatar-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.orderbump-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #ff6b3d;
  box-shadow: 0 4px 12px rgba(255, 107, 61, 0.25);
  display: block;
}

.orderbump-online-status {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #22c55e;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
}

/* Speech Balloon */
.orderbump-balloon {
  position: relative;
  background: #fff8f5;
  border: 1.5px solid #ffedd5;
  border-radius: 16px;
  padding: 10px 14px;
  flex: 1;
  box-shadow: 0 2px 8px rgba(255, 107, 61, 0.06);
}

/* Triangle pointer for speech balloon */
.orderbump-balloon::before {
  content: "";
  position: absolute;
  top: 18px;
  left: -8px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 8px solid #ffedd5;
}

.orderbump-balloon::after {
  content: "";
  position: absolute;
  top: 19px;
  left: -6px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 7px solid #fff8f5;
}

.orderbump-creator-name {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 800;
  color: #0b1329;
  margin-bottom: 3px;
}

.orderbump-verified-badge {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.orderbump-bubble-text {
  font-size: 12.5px;
  line-height: 1.4;
  color: #475569;
  margin: 0;
}

.orderbump-bubble-text strong {
  color: #ea580c;
}

/* Order Bump Product Box */
.orderbump-offer-box {
  background: #ffffff;
  border: 1.8px dashed #f97316;
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #fffaf7 0%, #ffffff 100%);
}

.orderbump-offer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.orderbump-offer-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.orderbump-offer-icon {
  font-size: 20px;
  line-height: 1.2;
}

.orderbump-offer-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0b1329;
  letter-spacing: -0.3px;
  line-height: 1.3;
  text-transform: uppercase;
}

.orderbump-price-chip {
  background: linear-gradient(135deg, #ea580c 0%, #ff7a1a 100%);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.25);
  flex-shrink: 0;
}

.orderbump-price-detail {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
}

.orderbump-old-val {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 12px;
}

.orderbump-fixed-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: #16a34a;
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: 6px;
}

/* Bullet Checklist */
.orderbump-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.orderbump-benefits li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #334155;
  font-weight: 500;
}

.orderbump-check-icon {
  color: #ea580c;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
}

/* Summary Box */
.orderbump-summary {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.orderbump-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #64748b;
}

.orderbump-summary-row.bump-row {
  color: #ea580c;
  font-weight: 700;
}

.orderbump-summary-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 4px 0;
}

.orderbump-summary-row.total-row {
  font-size: 14px;
  font-weight: 800;
  color: #0b1329;
}

.orderbump-total-amount {
  font-size: 16px;
  color: #ea580c;
  font-weight: 800;
}

/* Action Buttons */
.orderbump-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.orderbump-btn-accept {
  width: 100%;
  background: linear-gradient(180deg, #ff7a1a 0%, #ff5a1f 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 90, 31, 0.35);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.orderbump-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 90, 31, 0.45);
}

.orderbump-btn-accept:active {
  transform: translateY(1px);
}

.orderbump-btn-accept .accept-title {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.orderbump-btn-accept .accept-sub {
  font-size: 11.5px;
  font-weight: 600;
  opacity: 0.95;
}

/* Shimmer on Accept Button */
.orderbump-btn-accept::before {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  animation: bumpShimmer 2.5s infinite;
}

@keyframes bumpShimmer {
  0% { left: -70%; }
  100% { left: 140%; }
}

.orderbump-btn-decline {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin: 0 auto;
  font-family: inherit;
}

.orderbump-btn-decline:hover {
  color: #0f172a;
}

/* Trust footer line */
.orderbump-footer-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 10px;
  font-weight: 600;
}
