/* ==========================================================================
   PRICELIST MULTIMEDIA - MODERN CLEAN STYLESHEET
   Pure Vanilla CSS - Ultra Lightweight, Responsive, & WhatsApp Checkout
   ========================================================================== */

/* --- 1. CSS VARIABLES (DESIGN SYSTEM) --- */
:root {
  /* Brand & Accent Colors (Modern Blue Spectrum) */
  --primary: #2563eb;          /* Royal Blue */
  --primary-hover: #1d4ed8;    /* Deep Blue */
  --primary-light: #eff6ff;    /* Soft Tint Blue */
  --primary-border: #bfdbfe;   /* Border Blue Tint */
  --accent-cyan: #0284c7;      /* Sky Blue */
  --accent-glow: rgba(37, 99, 235, 0.18);

  /* WhatsApp Brand Palette */
  --wa-green: #25D366;
  --wa-dark: #128C7E;
  --wa-glow: rgba(37, 211, 102, 0.35);

  /* Background Palette (Modern Ambient Studio Feel) */
  --bg-gradient-1: #f8fafc;    /* Slate 50 */
  --bg-gradient-2: #f0f7ff;    /* Soft Ice Blue */
  --bg-gradient-3: #e0f2fe;    /* Sky 100 */
  --pattern-color: rgba(37, 99, 235, 0.05);

  /* Card & Surface */
  --card-bg: rgba(255, 255, 255, 0.92);
  --card-border: rgba(226, 232, 240, 0.85);
  --card-border-hover: rgba(37, 99, 235, 0.45);
  --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --card-shadow-hover: 0 20px 30px -8px var(--accent-glow), 0 8px 16px -4px rgba(15, 23, 42, 0.08);

  /* Typography */
  --text-main: #0f172a;        /* Slate 900 */
  --text-muted: #475569;       /* Slate 600 */
  --text-light: #64748b;       /* Slate 500 */
  
  /* Radii & Transitions */
  --radius-card: 16px;
  --radius-img: 12px;
  --radius-badge: 9999px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
  background-color: var(--bg-gradient-1);
  background-image: 
    radial-gradient(var(--pattern-color) 1.5px, transparent 1.5px),
    radial-gradient(circle at 10% 15%, rgba(37, 99, 235, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(2, 132, 199, 0.08) 0%, transparent 45%),
    linear-gradient(145deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 40%, var(--bg-gradient-3) 100%);
  background-size: 28px 28px, 100% 100%, 100% 100%, 100% 100%;
  background-attachment: fixed;
  overflow-x: hidden;
  padding-bottom: 3rem; /* Memberikan ruang ekstra agar tidak tertutup floating bar */
}

/* --- 3. CONTAINER --- */
.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.25rem;
}

/* --- 4. HEADER & HERO --- */
.site-header {
  padding: 3rem 0 2rem;
  text-align: center;
  position: relative;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-badge);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.brand-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.site-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.site-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.125rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  font-weight: 400;
}

/* --- 5. CATEGORY SECTIONS --- */
.category-section {
  margin-bottom: 3.5rem;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(37, 99, 235, 0.15);
  position: relative;
}

.category-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.category-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
  color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  flex-shrink: 0;
}

.category-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.category-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

/* Category Notice Box (Note Mirrorless & Lensa) */
.category-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(239, 246, 255, 0.9);
  border: 1px solid var(--primary-border);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.75rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
}

.notice-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.notice-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.notice-content {
  font-size: 0.875rem;
  color: #1e3a8a;
  line-height: 1.5;
}

.notice-content strong {
  font-weight: 700;
}

/* --- 6. PRODUCTS GRID SYSTEM --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* --- 7. PRODUCT CARD & HOVER EFFECT --- */
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

/* Highlight Card Saat QTY > 0 */
.product-card.has-qty {
  border-color: var(--primary);
  box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.25);
  background: rgba(255, 255, 255, 0.98);
}

/* Elegant Pop & Lift on Hover */
.product-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--card-border-hover);
}

/* Image Container - Strictly 9:16 Aspect Ratio */
.card-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-img);
  overflow: hidden;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image styling with object-fit: cover for any resolution */
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.product-card:hover .card-img {
  transform: scale(1.05);
}

/* Subtle image overlay gradient at top/bottom for readability */
.card-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.05) 0%, transparent 35%, rgba(15, 23, 42, 0.2) 100%);
  pointer-events: none;
}

/* Card Content Area */
.card-body {
  padding: 1rem 0.25rem 0.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

/* Feature/Bonus Pill */
.card-badge-info {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.35rem;
  background: var(--primary-light);
  color: var(--primary-hover);
  border: 1px solid var(--primary-border);
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-badge-info svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Price Section */
.card-price-row {
  margin-top: auto;
  padding-top: 0.65rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px dashed rgba(203, 213, 225, 0.8);
  margin-bottom: 0.65rem;
}

.price-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.price-tag {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.price-tag .price-period {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
}

/* --- 8. CARD ACTION ROW & QTY CONTROLLER --- */
.card-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(241, 245, 249, 0.75);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 0.35rem 0.6rem;
  border-radius: 10px;
  transition: var(--transition-smooth);
}

.product-card.has-qty .card-action-row {
  background: var(--primary-light);
  border-color: var(--primary-border);
}

.qty-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.product-card.has-qty .qty-label {
  color: var(--primary-hover);
}

.card-qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: #ffffff;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  user-select: none;
}

.qty-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.qty-btn:hover:not(:disabled) {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: scale(1.08);
}

.qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.qty-btn-plus {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-border);
}

.qty-btn-plus:hover {
  background: var(--primary);
  color: #ffffff;
}

.qty-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  min-width: 22px;
  text-align: center;
}

.product-card.has-qty .qty-value {
  color: var(--primary);
}

/* --- 8b. DUAL QTY CONTROLS (STABILIZER & LIGHTING) --- */
.card-dual-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.card-option-row {
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: var(--transition-smooth);
}

.card-option-row.has-qty {
  background: var(--primary-light);
  border-color: var(--primary-border);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.option-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}

.option-name {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.card-option-row.has-qty .option-name {
  color: var(--primary);
}

.option-price {
  font-size: 0.775rem;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

.option-period {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-light);
}

.option-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.2rem;
  border-top: 1px dashed rgba(226, 232, 240, 0.8);
}

.option-qty-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* --- 9. FLOATING ORDER SUMMARY BAR --- */
.floating-order-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.12);
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.4s;
  padding: 0 0 0.85rem 0;
}

.floating-order-bar.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Floating Transport Bar attached to top of Floating Order Bar */
.floating-transport-bar {
  background: linear-gradient(90deg, #eff6ff 0%, #e0f2fe 100%);
  border-bottom: 1px solid rgba(191, 219, 254, 0.8);
  padding: 0.4rem 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.65rem;
}

.floating-transport-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  user-select: none;
}

.floating-transport-text {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1e40af;
  transition: var(--transition-smooth);
}

.floating-transport-label:hover .floating-transport-text {
  color: var(--primary);
}

.floating-order-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.order-summary-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.order-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--primary-light);
  color: var(--primary-hover);
  border: 1px solid var(--primary-border);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-badge);
  font-size: 0.8125rem;
  font-weight: 700;
}

.order-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulseAnimation 1.8s infinite;
}

.order-total-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.total-label {
  font-size: 0.8125rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.total-amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

/* Floating Order Actions (Reset & Continue) */
.floating-order-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Button Reset Option */
.btn-reset-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #fff1f2;
  color: #e11d48;
  border: 1.5px solid #fecdd3;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius-badge);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.08);
  transition: var(--transition-smooth);
  flex-shrink: 0;
  user-select: none;
}

.btn-reset-order .reset-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.35s ease;
}

.btn-reset-order:hover {
  background: #e11d48;
  color: #ffffff;
  border-color: #e11d48;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3);
  transform: translateY(-2px);
}

.btn-reset-order:hover .reset-icon {
  transform: rotate(-90deg);
}

.btn-reset-order:active {
  transform: translateY(0);
}

/* Button Continue / Checkout via WhatsApp */
.btn-checkout-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-badge);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--wa-glow);
  transition: var(--transition-smooth);
  text-decoration: none;
  flex-shrink: 0;
}

.btn-checkout-wa .wa-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.btn-checkout-wa .arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.btn-checkout-wa:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.btn-checkout-wa:hover .arrow-icon {
  transform: translateX(3px);
}

.btn-checkout-wa:active {
  transform: translateY(0) scale(0.98);
}

.btn-checkout-wa:disabled {
  opacity: 0.45;
  background: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

/* --- 10. EXTRA SERVICE SECTION (TRANSPORTASI EVENT) --- */
.extra-service-section {
  margin-top: 1rem;
  margin-bottom: 3.5rem;
  display: none; /* Sembunyi default sampai minimal 1 unit alat dipilih */
}

.extra-service-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(239, 246, 255, 0.9) 100%);
  border: 1.5px solid var(--primary-border);
  border-radius: var(--radius-card);
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.extra-service-card:hover {
  box-shadow: 0 14px 28px -4px rgba(37, 99, 235, 0.15);
  border-color: var(--primary);
}

.extra-service-main {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.extra-service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.extra-service-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.extra-service-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: #dbeafe;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.3rem;
}

.extra-service-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.extra-service-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-top: 0.2rem;
}

.transport-checkbox-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #ffffff;
  border: 1.5px solid var(--primary-border);
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  user-select: none;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
}

.transport-checkbox-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

/* Custom Checkbox UI */
.styled-checkbox {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.custom-checkbox-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
  position: relative;
}

.custom-checkbox-mark::after {
  content: '';
  width: 5px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  margin-bottom: 2px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.styled-checkbox:checked + .custom-checkbox-mark {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.styled-checkbox:checked + .custom-checkbox-mark::after {
  transform: rotate(45deg) scale(1);
}

.transport-label-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.transport-text-main {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--text-main);
}

.transport-text-sub {
  font-size: 0.775rem;
  color: var(--text-light);
}

/* --- 11. MODAL POPUP (RINGKASAN PESANAN & PERSETUJUAN WAJIB) --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-dialog {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.25rem 1.5rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  flex-shrink: 0;
}

.modal-badge-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-badge);
  margin-bottom: 0.35rem;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.modal-close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: #f1f5f9;
  color: var(--text-main);
}

.modal-close-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.modal-body {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Custom Scrollbar Modal Body & Items List */
.modal-body::-webkit-scrollbar,
.modal-items-list::-webkit-scrollbar {
  width: 5px;
}

.modal-body::-webkit-scrollbar-track,
.modal-items-list::-webkit-scrollbar-track {
  background: transparent;
}

.modal-body::-webkit-scrollbar-thumb,
.modal-items-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.modal-body::-webkit-scrollbar-thumb:hover,
.modal-items-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.modal-section-group {
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.modal-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.modal-section-title {
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-light);
}

.modal-item-counter {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
}

.modal-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 220px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.25rem;
}

.modal-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
}

.modal-item-row:not(:last-child) {
  border-bottom: 1px dashed rgba(226, 232, 240, 0.8);
}

.modal-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.modal-item-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.modal-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.modal-item-subtotal {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

/* Modal Transport Row */
.modal-transport-row {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.modal-transport-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.modal-transport-icon {
  font-size: 1.25rem;
}

.modal-transport-name {
  font-size: 0.85rem;
  color: #166534;
  display: block;
}

.modal-transport-sub {
  font-size: 0.725rem;
  color: #15803d;
}

.modal-transport-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: #166534;
  white-space: nowrap;
}

/* Modal Total Section */
.modal-total-section {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid var(--primary-border);
  border-radius: 12px;
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.modal-total-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e40af;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.modal-total-amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

/* Modal Agreement Box */
.modal-agreement-box {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  flex-shrink: 0;
}

.modal-agreement-label {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.modal-agreement-label .custom-checkbox-mark {
  margin-top: 2px;
  border-color: #d97706;
}

.modal-agreement-label .styled-checkbox:checked + .custom-checkbox-mark {
  background: #d97706;
  border-color: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
}

.modal-agreement-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #92400e;
  line-height: 1.45;
}

/* Modal Footer Buttons */
.modal-footer {
  padding: 1rem 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  background: #f8fafc;
  flex-shrink: 0;
}

.btn-modal-cancel {
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-badge);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-modal-cancel:hover {
  background: #f1f5f9;
  color: var(--text-main);
  border-color: #94a3b8;
}

.btn-modal-proceed {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border: none;
  border-radius: var(--radius-badge);
  box-shadow: 0 4px 14px var(--wa-glow);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-modal-proceed .wa-modal-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-modal-proceed:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-modal-proceed:disabled {
  opacity: 0.45;
  background: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* --- 12. FOOTER & CLIENT NOTES --- */
.site-footer {
  margin-top: 5rem;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  text-align: center;
}

.footer-info {
  max-width: 600px;
  margin: 0 auto 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.copyright {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* --- 11. BACK TO TOP BUTTON --- */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition-smooth);
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Geser tombol ke atas saat floating bar aktif agar tidak tumpang tindih */
.back-to-top.offset-above-bar {
  bottom: 5.5rem;
}

.back-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(37, 99, 235, 0.4);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   13. WELCOME LOCK & BACKGROUND BLUR
   ========================================================================== */
body.welcome-locked {
  overflow: hidden !important;
  height: 100vh;
}

body.welcome-locked .site-header,
body.welcome-locked main,
body.welcome-locked .site-footer,
body.welcome-locked .floating-order-bar,
body.welcome-locked .back-to-top {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
  transition: filter 0.4s ease;
}

/* Lightbox Open Body Lock */
body.lightbox-open {
  overflow: hidden;
}

/* ==========================================================================
   14. WELCOME & DATE PICKER MODAL
   ========================================================================== */
.welcome-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.welcome-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.welcome-dialog {
  width: 100%;
  max-width: 540px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 24px;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(226, 232, 240, 0.9);
  padding: 2.25rem 2rem 2rem;
  position: relative;
  overflow: hidden;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.welcome-modal-backdrop.active .welcome-dialog {
  transform: translateY(0) scale(1);
}

/* Steps Transition */
.welcome-step {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.welcome-step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Receptionist Avatar & Calendar Icon */
.welcome-avatar-wrapper {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-avatar-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.4) 0%, rgba(37, 99, 235, 0) 70%);
  animation: avatarPulse 2.4s infinite ease-in-out;
}

@keyframes avatarPulse {
  0%, 100% {
    transform: scale(0.95);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.welcome-avatar {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
  border: 3px solid #ffffff;
}

.receptionist-icon {
  width: 38px;
  height: 38px;
  fill: currentColor;
}

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

.welcome-calendar-icon {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 2px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.welcome-calendar-icon svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

/* Badge & Headings */
.welcome-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-badge);
  margin-bottom: 0.75rem;
}

.welcome-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.welcome-title span {
  color: var(--primary);
}

.welcome-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

/* Guide Steps */
.welcome-guide-box {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  text-align: left;
}

.guide-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.guide-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.775rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--primary-border);
}

.guide-text {
  font-size: 0.825rem;
  color: var(--text-main);
  line-height: 1.35;
}

.guide-text strong {
  color: var(--primary);
  font-weight: 700;
}

/* Step 1 Button: Continue */
.btn-welcome-next {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: none;
  border-radius: var(--radius-badge);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
  transition: var(--transition-smooth);
}

.btn-welcome-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.45);
}

.arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.btn-welcome-next:hover .arrow-icon {
  transform: translateX(4px);
}

/* Step 2 Date Picker Form */
.welcome-date-form {
  background: #ffffff;
  border: 1.5px solid var(--primary-border);
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.welcome-date-label {
  display: block;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.date-input-wrapper {
  position: relative;
}

.welcome-date-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-main);
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  outline: none;
  transition: var(--transition-smooth);
}

.welcome-date-input:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.date-input-hint {
  font-size: 0.725rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* Step 2 Button: Get Started */
.btn-welcome-start {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
  border: none;
  border-radius: var(--radius-badge);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
  transition: var(--transition-smooth);
}

.btn-welcome-start:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.45);
}

.btn-welcome-start:disabled {
  opacity: 0.45;
  background: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.sparkle-icon {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   15. RENTAL DATE BADGE & MODAL ROW
   ========================================================================== */
.rental-date-badge-wrapper {
  margin-top: 1.15rem;
  display: flex;
  justify-content: center;
}

.rental-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  border: 1.5px solid var(--primary-border);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-badge);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
  font-size: 0.85rem;
  color: var(--text-main);
  animation: badgeFadeIn 0.4s ease;
}

@keyframes badgeFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.rental-date-badge strong {
  color: var(--primary);
}

.btn-change-date {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-badge);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-change-date:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Modal Rental Date Highlight Row */
.modal-rental-date-row {
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  border: 1.5px solid var(--primary-border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
}

.modal-date-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-date-icon {
  font-size: 1.35rem;
}

.modal-date-label {
  display: block;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1e40af;
}

.modal-date-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
}

/* ==========================================================================
   16. LIGHTBOX AUTO ZOOM
   ========================================================================== */
.card-img-wrapper {
  position: relative;
  cursor: zoom-in;
  overflow: hidden;
}

.card-img-wrapper::after {
  content: '🔍';
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.product-card:hover .card-img-wrapper::after {
  opacity: 1;
  transform: scale(1);
}

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(10, 15, 29, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}

.lightbox-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08) rotate(90deg);
}

.lightbox-close-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.lightbox-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  transform: scale(0.85);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-backdrop.active .lightbox-container {
  transform: scale(1);
}

.lightbox-image-box {
  max-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-height: 62vh;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
  transition: transform 0.3s ease;
}

.lightbox-caption {
  margin-top: 1.15rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 1rem 1.35rem;
  max-width: 640px;
  width: 100%;
  text-align: center;
  color: #ffffff;
  animation: captionFadeUp 0.35s ease;
}

@keyframes captionFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.lightbox-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.lightbox-desc {
  font-size: 0.85rem;
  font-weight: 400;
  color: #cbd5e1;
  line-height: 1.5;
}

/* --- 17. RESPONSIVE BREAKPOINTS --- */

/* Desktop Large (>= 1200px) */
@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Laptops / Desktop Normal (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 769px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablets (576px - 768px) */
@media (max-width: 768px) and (min-width: 501px) {
  .site-header {
    padding: 2.25rem 0 1.5rem;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .category-section {
    margin-bottom: 2.75rem;
  }
}

/* Mobile Screens (<= 500px) */
@media (max-width: 500px) {
  .container {
    padding: 0 0.85rem;
  }
  
  .site-header {
    padding: 2rem 0 1.25rem;
  }

  .site-title {
    font-size: 1.75rem;
  }

  .category-header {
    gap: 0.65rem;
    margin-bottom: 1rem;
  }

  .category-icon {
    width: 36px;
    height: 36px;
  }

  .category-icon svg {
    width: 18px;
    height: 18px;
  }

  .category-title {
    font-size: 1.15rem;
  }

  /* 2-columns grid on mobile: neat & optimized for vertical 9:16 cards */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .product-card {
    padding: 0.5rem;
    border-radius: 12px;
  }

  .card-img-wrapper {
    border-radius: 8px;
  }

  .card-body {
    padding: 0.5rem 0.1rem 0;
  }

  .card-title {
    font-size: 0.825rem;
    margin-bottom: 0.2rem;
  }

  .card-badge-info {
    font-size: 0.625rem;
    padding: 0.12rem 0.35rem;
    margin-bottom: 0.4rem;
  }

  .price-tag {
    font-size: 0.95rem;
  }

  .price-label {
    font-size: 0.6rem;
  }

  /* Mobile QTY Controls */
  .card-action-row {
    padding: 0.25rem 0.4rem;
    border-radius: 8px;
  }

  .qty-label {
    font-size: 0.65rem;
  }

  .qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 6px;
  }

  .qty-btn svg {
    width: 12px;
    height: 12px;
  }

  .qty-value {
    font-size: 0.8rem;
    min-width: 16px;
  }

  .category-notice {
    padding: 0.75rem 0.85rem;
    margin-bottom: 1.25rem;
  }

  .notice-content {
    font-size: 0.775rem;
  }

  /* Mobile Floating Order Bar */
  .floating-order-bar {
    padding: 0.65rem 0;
  }

  .floating-order-container {
    padding: 0 0.85rem;
    gap: 0.75rem;
  }

  .order-summary-info {
    gap: 0.25rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .order-badge {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
  }

  .total-amount {
    font-size: 1.05rem;
  }

  .total-label {
    font-size: 0.65rem;
  }

  .floating-order-actions {
    gap: 0.4rem;
  }

  .btn-reset-order {
    padding: 0.55rem 0.75rem;
    font-size: 0.75rem;
    gap: 0.3rem;
  }

  .btn-reset-order .reset-icon {
    width: 13px;
    height: 13px;
  }

  .btn-checkout-wa {
    padding: 0.6rem 1.1rem;
    font-size: 0.85rem;
    gap: 0.4rem;
  }

  .btn-checkout-wa .wa-icon {
    width: 17px;
    height: 17px;
  }

  .btn-checkout-wa .arrow-icon {
    width: 15px;
    height: 15px;
  }

  /* Mobile Dual QTY */
  .card-option-row {
    padding: 0.35rem 0.45rem;
    gap: 0.25rem;
  }

  .option-name {
    font-size: 0.7rem;
  }

  .option-price {
    font-size: 0.725rem;
  }

  .option-qty-label {
    font-size: 0.625rem;
  }

  /* Mobile Extra Service Card */
  .extra-service-card {
    flex-direction: column;
    align-items: stretch;
    padding: 1.15rem 1rem;
    gap: 1.15rem;
  }

  .extra-service-main {
    gap: 0.85rem;
  }

  .extra-service-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .extra-service-icon svg {
    width: 22px;
    height: 22px;
  }

  .extra-service-title {
    font-size: 1rem;
  }

  .extra-service-desc {
    font-size: 0.8rem;
  }

  .transport-checkbox-card {
    padding: 0.75rem 0.85rem;
  }

  .transport-text-main {
    font-size: 0.825rem;
  }

  .transport-text-sub {
    font-size: 0.7rem;
  }

  /* Mobile Floating Transport */
  .floating-transport-bar {
    padding: 0.35rem 0.85rem;
    margin-bottom: 0.45rem;
  }

  .floating-transport-text {
    font-size: 0.725rem;
  }

  /* Mobile Modal Dialog */
  .modal-backdrop {
    padding: 0.75rem;
  }

  .modal-dialog {
    max-height: 92vh;
    border-radius: 16px;
  }

  .modal-header {
    padding: 1rem 1rem 0.75rem;
    flex-shrink: 0;
  }

  .modal-title {
    font-size: 1.1rem;
  }

  .modal-body {
    padding: 1rem;
    gap: 0.75rem;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
  }

  .modal-items-list {
    max-height: 180px;
  }

  .modal-section-group {
    padding: 0.75rem;
  }

  .modal-item-name {
    font-size: 0.8rem;
  }

  .modal-total-amount {
    font-size: 1.15rem;
  }

  .modal-agreement-text {
    font-size: 0.75rem;
  }

  .modal-footer {
    padding: 0.75rem 1rem 1rem;
    flex-direction: column-reverse;
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .btn-modal-cancel,
  .btn-modal-proceed {
    width: 100%;
    justify-content: center;
  }

  /* Mobile Welcome Modal */
  .welcome-dialog {
    padding: 1.5rem 1.25rem 1.25rem;
    border-radius: 20px;
  }

  .welcome-avatar-wrapper,
  .welcome-calendar-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }

  .receptionist-icon {
    width: 32px;
    height: 32px;
  }

  .welcome-calendar-icon svg {
    width: 30px;
    height: 30px;
  }

  .welcome-title {
    font-size: 1.2rem;
  }

  .welcome-subtitle {
    font-size: 0.8rem;
    margin-bottom: 1.15rem;
  }

  .welcome-guide-box {
    padding: 0.75rem 0.85rem;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
  }

  .guide-text {
    font-size: 0.75rem;
  }

  /* Mobile Lightbox */
  .lightbox-backdrop {
    padding: 1rem;
  }

  .lightbox-close-btn {
    top: 1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
  }

  .lightbox-close-btn svg {
    width: 18px;
    height: 18px;
  }

  .lightbox-image-box {
    max-height: 55vh;
  }

  .lightbox-img {
    max-height: 52vh;
    border-radius: 12px;
  }

  .lightbox-caption {
    padding: 0.85rem 1rem;
    margin-top: 0.85rem;
  }

  .lightbox-title {
    font-size: 0.95rem;
  }

  .lightbox-desc {
    font-size: 0.775rem;
  }
}

/* Ultra Small Mobile Screens (<= 340px) */
@media (max-width: 340px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}
