/* ===== Product Page - Exact Match ===== */
.product-section {
  padding: 30px 0 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.product-section::after {
  content: '';
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #f4a261 0%, #00b4d8 50%, #22c55e 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  opacity: 0.3;
  z-index: 0;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.product-gallery {
  position: relative;
}
.product-main-image {
  border-radius: 0;
  overflow: hidden;
}
.product-main-image img {
  width: 100%;
  height: auto;
  display: block;
}
.product-info {
  padding-top: 0;
}
.product-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
  font-family: 'Roboto', sans-serif;
}
.product-price {
  font-size: 1.2rem;
  font-weight: 400;
  color: #666;
  margin-bottom: 20px;
  font-family: 'Roboto', sans-serif;
}
.product-desc,
.product-short-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  font-family: 'Roboto', sans-serif;
}

/* Calendar Picker */
.calendar-wrapper {
  margin-bottom: 20px;
}
.calendar-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  font-family: 'Roboto', sans-serif;
}
.calendar {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  max-width: 320px;
}
.calendar-header {
  background: var(--teal);
  color: var(--white);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
}
.calendar-header button {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px 8px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}
.calendar-grid .day-name {
  padding: 8px 4px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal);
  border-bottom: 1px solid #e0e0e0;
  font-family: 'Roboto', sans-serif;
}
.calendar-grid .day {
  padding: 10px 4px;
  text-align: center;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Roboto', sans-serif;
  color: #333;
}
.calendar-grid .day:hover {
  background: #f0f7fb;
}
.calendar-grid .day.today {
  color: var(--teal);
  font-weight: 700;
}
.calendar-grid .day.selected {
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
}
.calendar-grid .day.disabled {
  color: #ccc;
  cursor: not-allowed;
}
.calendar-grid .day.empty {
  cursor: default;
}
.calendar-note {
  font-size: 0.8rem;
  color: var(--teal);
  margin-top: 8px;
  font-family: 'Roboto', sans-serif;
}

/* Quantity + Add to Cart Row */
.cart-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
}
.qty-btn {
  width: 40px;
  height: 44px;
  border: none;
  background: #f5f5f5;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}
.qty-btn:hover {
  background: #e0e0e0;
}
.qty-value {
  width: 50px;
  height: 44px;
  border: none;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  text-align: center;
  font-size: 0.95rem;
  font-family: 'Roboto', sans-serif;
  color: #333;
  background: var(--white);
}
.btn-add-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-add-cart:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}
.btn-add-cart .material-icons { font-size: 18px; }

/* Terms Box */
.terms-box {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px 28px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}
.terms-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
  font-family: 'Roboto', sans-serif;
}
.terms-box ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}
.terms-box li {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 4px;
  font-family: 'Roboto', sans-serif;
}
.terms-box .photo-notice {
  margin-top: 12px;
  font-size: 0.8rem;
  color: #666;
  line-height: 1.6;
  font-family: 'Roboto', sans-serif;
}
.terms-box .photo-notice strong {
  color: #333;
}

/* Bonus Partners (VIP) */
.bonus-partners {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.bonus-card {
  background: #f5f7fa;
  border-radius: 10px;
  padding: 12px 20px;
  text-align: center;
  flex: 1;
}
.bonus-card img {
  height: 40px;
  object-fit: contain;
  margin-bottom: 6px;
}
.bonus-card span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  font-family: 'Roboto', sans-serif;
}

/* Gift Card Select */
.gift-select {
  width: 100%;
  max-width: 320px;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: 'Roboto', sans-serif;
  color: #333;
  background: var(--white);
  cursor: pointer;
  margin-bottom: 4px;
}
.gift-select:focus {
  outline: none;
  border-color: var(--teal);
}
.clear-link {
  font-size: 0.8rem;
  color: #e74c3c;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
}
.clear-link:hover {
  text-decoration: underline;
}

/* Description Box (Gift Card) */
.product-desc-box {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 8px;
}
.product-desc-box p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
  font-family: 'Roboto', sans-serif;
}

/* Breadcrumb */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.8rem;
  color: var(--text-light);
  font-family: 'Roboto', sans-serif;
}
.breadcrumb a {
  color: var(--teal);
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; color: #999; }

/* Day Status Dots */
.day {
  position: relative;
}
.day-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-left: 2px;
  vertical-align: middle;
}
.busy-dot { background: #e74c3c; }
.limited-dot { background: #f4a261; }
.day.busied { opacity: 0.6; }

/* Loading Spinner */
.sd-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #e0e0e0;
  border-top: 3px solid var(--teal);
  border-radius: 50%;
  animation: sdSpin 0.8s linear infinite;
}
@keyframes sdSpin {
  to { transform: rotate(360deg); }
}

/* Time Slots Area */
.calendar-outer {
  max-width: 320px;
}
.time-slots-area {
  margin-top: 12px;
}
.time-loader {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-size: 0.85rem;
  color: #888;
  font-family: 'Roboto', sans-serif;
}
.time-slots-header {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 10px;
  font-family: 'Roboto', sans-serif;
}
.time-slots-desc {
  font-size: 0.8rem;
  color: #888;
  font-family: 'Roboto', sans-serif;
}
.time-slots-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.time-slot {
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: 'Roboto', sans-serif;
  color: #333;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--white);
}
.time-slot:hover {
  border-color: var(--teal);
  background: #f0f7fb;
}
.time-slot.selected {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  font-weight: 600;
}
.time-slot.booked {
  background: #f9f9f9;
  color: #ccc;
  cursor: not-allowed;
  text-decoration: line-through;
  border-color: #eee;
}

/* Toast Notification */
.sd-toast {
  position: fixed;
  top: 80px;
  right: 20px;
  background: #e74c3c;
  color: var(--white);
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Roboto', sans-serif;
  box-shadow: 0 6px 20px rgba(231,76,60,0.3);
  z-index: 9999;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
  max-width: 400px;
}
.sd-toast.show {
  opacity: 1;
  transform: translateX(0);
}
.sd-toast.hide {
  opacity: 0;
  transform: translateX(100%);
}
.sd-toast-green {
  background: #22c55e;
  box-shadow: 0 6px 20px rgba(34,197,94,0.3);
}

/* Error text under calendar */
.date-error {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 8px;
  font-family: 'Roboto', sans-serif;
  display: none;
}
.date-error.visible {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .product-section::after {
    display: none;
  }
  .product-title { font-size: 1.4rem; }
  .cart-row { flex-direction: column; align-items: stretch; }
  .bonus-partners { flex-direction: column; }
}
