/* ===============================
   ROOT & RESET
================================ */
:root {
  --navbar-height: 80px; /* aman untuk fixed / sticky navbar */
  --pink-main: #fb7185;
  --pink-dark: #be123c;
  --pink-soft: #fff1f2;
  --bg-main: #fff5f7;
  --text-dark: #3f3f46;
  --text-muted: #71717a;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

body {
  background: var(--bg-main);
  color: var(--text-dark);
}

/* ===============================
   PAGE LAYOUT (ANTI NEMPEL NAVBAR)
================================ */
.valentine-order-page {
  min-height: 100vh;
  padding: calc(var(--navbar-height) + 40px) 16px 80px;
}

/* ===============================
   HEADER
================================ */
.valentine-header {
  text-align: center;
  margin-bottom: 40px;
}

.valentine-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--pink-dark);
  margin-bottom: 12px;
}

.valentine-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.deadline-badge {
  display: inline-block;
  background: var(--pink-soft);
  color: var(--pink-dark);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===============================
   FORM CONTAINER
================================ */
.form-container {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

/* ===============================
   SECTIONS
================================ */
.form-section {
  margin-bottom: 40px;
}

.form-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pink-dark);
  margin-bottom: 20px;
}

/* ===============================
   PRODUCT GRID
================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.product-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  opacity: 0.6;
  pointer-events: none;
}

.product-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.product-info {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.product-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pink-dark);
}

/* ===============================
   CONTACT
================================ */
.contact-info {
  text-align: center;
  padding-top: 20px;
}

.contact-info-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pink-dark);
  margin-bottom: 6px;
}

.contact-info-text {
  font-size: 0.95rem;
}

.contact-info-link {
  color: var(--pink-main);
  font-weight: 600;
  text-decoration: none;
}

.contact-info-link:hover {
  text-decoration: underline;
}

/* ===============================
   BUTTON (DISABLED)
================================ */
.submit-button {
  width: 100%;
  margin-top: 32px;
  padding: 14px;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}

/* ===============================
   MODAL
================================ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  animation: popIn 0.25s ease;
}

.modal-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pink-dark);
  margin-bottom: 10px;
}

.modal-message {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.modal-button {
  background: var(--pink-main);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  cursor: pointer;
}

.modal-button:hover {
  background: var(--pink-dark);
}

/* ===============================
   ANIMATION
================================ */
@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  :root {
    --navbar-height: 70px;
  }

  .form-container {
    padding: 24px;
  }

  .product-grid {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  :root {
    --navbar-height: 64px;
  }

  .valentine-order-page {
    padding-bottom: 60px;
  }

  .form-container {
    padding: 20px;
  }

  .modal-content {
    padding: 24px;
  }
}
