/* Price-alert modal: amber-accented with unique layout (type pills, currency-suffix input).
   Base shared rules in pdp-inquiry-base.css; keeps its own geometry for compact 440px box. */

.pdp-alert-btn { color: #b45309 !important; border-color: #fbbf24 !important; background: #fffbeb !important; }
.pdp-alert-btn:hover { background: #fef3c7 !important; border-color: #f59e0b !important; }

/* Override: compact box, padding 0 (sections handle their own spacing), higher z-index */
.pdp-alert-modal { z-index: 9999; }
.pdp-alert-modal__backdrop { background: rgba(0, 0, 0, 0.45); }
.pdp-alert-modal__box { max-width: 440px; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18); padding: 0; }
.pdp-alert-modal__header { padding: 16px 20px 0; gap: 12px; }
.pdp-alert-modal__subtitle { padding: 6px 20px 0; margin: 0; font-size: 13px; color: #6b7280; line-height: 1.5; }

/* Price-alert fields override base (they have their own padding context) */
.pdp-alert-modal__field { padding: 0 20px; margin-top: 14px; margin-bottom: 0; }
.pdp-alert-modal__field input[type="email"],
.pdp-alert-modal__field input[type="number"] { padding: 10px 12px; transition: border 0.15s; }
.pdp-alert-modal__field input:focus { outline: none; border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15); }
.pdp-alert-modal__hint { margin-top: 4px; font-size: 12px; color: #9ca3af; }

/* Price input with currency suffix */
.pdp-alert-modal__price-wrap { position: relative; }
.pdp-alert-modal__price-wrap input { padding-right: 36px; }
.pdp-alert-modal__currency {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #6b7280;
  pointer-events: none;
}

/* Type pills */
.pdp-alert-modal__type-pills { display: flex; gap: 8px; }
.pdp-alert-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.15s;
  flex: 1;
  justify-content: center;
}
.pdp-alert-pill:hover { border-color: #f59e0b; color: #b45309; }
.pdp-alert-pill--active { border-color: #f59e0b; background: #fffbeb; color: #b45309; }

/* Footer / submit */
.pdp-alert-modal__footer { padding: 16px 20px 20px; margin-top: 14px; }
.pdp-alert-submit {
  background: #f59e0b !important;
  border-color: #f59e0b !important;
  color: #fff !important;
  font-weight: 700;
  padding: 12px;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s;
}
.pdp-alert-submit:hover { background: #d97706 !important; }
.pdp-alert-submit:disabled { opacity: 0.6; cursor: wait; }

/* Messages */
.pdp-alert-modal__msg { margin: 0 20px 16px; padding: 10px 14px; border-radius: 8px; font-size: 13px; line-height: 1.5; }
.pdp-alert-modal__msg--ok { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.pdp-alert-modal__msg--err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

@media (prefers-reduced-motion: reduce) {
  .pdp-alert-modal__field input[type="email"],
  .pdp-alert-modal__field input[type="number"],
  .pdp-alert-pill,
  .pdp-alert-submit { transition: none; }
}

@media (forced-colors: active) {
  .pdp-alert-modal__box { border: 2px solid CanvasText; }
  .pdp-alert-pill { border: 2px solid ButtonText; }
  .pdp-alert-pill--active,
  .pdp-alert-pill:hover { border-color: Highlight; }
  .pdp-alert-submit { border: 2px solid ButtonText; }
  .pdp-alert-submit:hover { border-color: Highlight; }
  .pdp-alert-modal__field input:focus { outline: 2px solid Highlight; box-shadow: none; }
  .pdp-alert-modal__msg--ok { border: 2px solid LinkText; }
  .pdp-alert-modal__msg--err { border: 2px solid CanvasText; }
}

@media (max-width: 480px) {
  .pdp-alert-modal__box { max-width: 100%; border-radius: 12px; }
  .pdp-alert-modal__type-pills { flex-direction: column; }
}
