/* ========== BASE STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--beige-light);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  padding-bottom: 80px; /* Space for cart toggle */
}

/* ========== HEADER STYLES ========== */
.header {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige-medium);
}

.main-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 600;
}

.offer-banner {
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  color: white;
  padding: 12px;
  font-weight: 600;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.discount-timer {
  background: white;
  border: 2px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 15px;
  margin-bottom: 20px;
  max-width: 500px;
  margin: 0 auto 20px;
}

.timer-title {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.timer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.timer-text {
  font-weight: 500;
  color: var(--text-medium);
}

.timer-display {
  display: flex;
  gap: 8px;
}

.timer-digit {
  background: var(--beige-medium);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  min-width: 50px;
  text-align: center;
}

.timer-digit span {
  font-size: 1.2rem;
  color: var(--text-dark);
}

/* ========== CONTACT BUTTONS ========== */
.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.whatsapp-btn {
  background: #25D366;
  color: white;
}

.whatsapp-btn:hover {
  background: #128C7E;
}

.call-btn {
  background: var(--gold);
  color: white;
}

.call-btn:hover {
  background: var(--gold-dark);
}

.directions-btn {
  background: #4285F4;
  color: white;
}

.directions-btn:hover {
  background: #3367D6;
}

.btn-icon {
  font-size: 1.2rem;
}

/* ========== SEARCH ========== */
.search-box {
  width: 100%;
  max-width: 600px;
  margin: 20px auto 30px;
  padding: 14px 20px;
  border: 2px solid var(--beige-medium);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  background: white;
  display: block;
  transition: var(--transition);
}

.search-box:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 122, 0.1);
}

/* ========== CATEGORIES ========== */
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center;
}

.category-btn {
  padding: 10px 20px;
  background: white;
  border: 2px solid var(--beige-medium);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 500;
  color: var(--text-medium);
  transition: var(--transition);
  white-space: nowrap;
}

.category-btn:hover {
  border-color: var(--gold);
  color: var(--text-dark);
}

.category-btn.active {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
}

/* ========== SERVICES GRID ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.service-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--beige-medium);
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.service-name {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-bottom: 15px;
  line-height: 1.4;
  flex-grow: 1;
}

.price-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.original-price {
  text-decoration: line-through;
  color: var(--text-light);
  font-size: 0.9rem;
}

.discounted-price {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-dark);
}

.discount-badge {
  background: var(--error);
  color: white;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.service-price {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  justify-content: center;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--beige-medium);
  background: white;
  color: var(--text-dark);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.qty-btn:hover {
  border-color: var(--gold);
  background: var(--beige-light);
}

.qty-display {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
}

.add-to-cart {
  background: var(--gold);
  color: white;
  border: none;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.add-to-cart:hover {
  background: var(--gold-dark);
}

.add-to-cart.in-cart {
  background: var(--success);
}

/* ========== FAQ SECTION ========== */
.faq-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-top: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige-medium);
}

.faq-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 25px;
  text-align: center;
}

.faq-item {
  border-bottom: 1px solid var(--beige-medium);
  margin-bottom: 15px;
}

.faq-question {
  width: 100%;
  padding: 15px 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--gold);
}

.faq-icon {
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0;
  color: var(--text-medium);
  line-height: 1.6;
}

.faq-answer.open {
  max-height: 500px;
  padding-bottom: 15px;
}

/* ========== CART SIDEBAR ========== */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 350px;
  height: 100vh;
  background: white;
  box-shadow: var(--shadow-lg);
  transition: right 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--beige-medium);
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  padding: 20px;
  border-bottom: 1px solid var(--beige-medium);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin: 0;
}

.cart-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-close:hover {
  color: var(--error);
}

#cartItems {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-item {
  background: var(--beige-light);
  border-radius: var(--radius-md);
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid var(--beige-medium);
}

.cart-item-details {
  margin-bottom: 10px;
}

.cart-item-name {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.cart-item-price {
  font-size: 0.9rem;
  color: var(--text-medium);
}

.original-price {
  text-decoration: line-through;
  color: var(--text-light);
  margin-right: 5px;
}

.cart-item-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--beige-medium);
  background: white;
  color: var(--text-dark);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cart-qty-btn:hover {
  border-color: var(--gold);
  background: var(--beige-light);
}

.cart-qty-display {
  min-width: 25px;
  text-align: center;
  font-weight: 600;
}

.cart-item-total {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item-total-amount {
  font-weight: 700;
  color: var(--text-dark);
}

.cart-remove-btn {
  background: none;
  border: none;
  color: var(--error);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.cart-remove-btn:hover {
  background: rgba(244, 67, 54, 0.1);
}

.cart-totals {
  padding: 20px;
  border-top: 2px solid var(--beige-medium);
  background: var(--beige-light);
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 1rem;
}

.total-row:last-child {
  margin-bottom: 0;
  font-size: 1.1rem;
  padding-top: 10px;
  border-top: 1px solid var(--beige-medium);
}

.checkout-btn {
  width: calc(100% - 40px);
  margin: 10px 20px;
  padding: 16px;
  background: var(--gold);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.checkout-btn:hover {
  background: var(--gold-dark);
}

.checkout-btn.call-booking-btn {
  background: #25D366;
}

.checkout-btn.call-booking-btn:hover {
  background: #128C7E;
}

.continue-shopping {
  background: var(--beige-medium);
  color: var(--text-dark);
  margin-top: 0;
  margin-bottom: 20px;
}

.continue-shopping:hover {
  background: var(--beige-dark);
}

/* ========== CART TOGGLE ========== */
.cart-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  z-index: 999;
}

.cart-toggle:hover {
  transform: scale(1.1);
  background: var(--gold-dark);
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--error);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  display: none;
}

/* ========== SPA PACKAGE SUGGESTION STYLES ========== */
.spa-package-suggestion {
  background: white;
  border: 2px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(201, 168, 122, 0.1);
}

.package-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.package-icon {
  font-size: 18px;
  background: var(--gold);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.package-text {
  flex: 1;
}

.package-title {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.package-badge {
  background: var(--gold);
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}

.package-desc {
  font-size: 12px;
  color: var(--text-medium);
  line-height: 1.3;
}

.package-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  background: var(--beige-light);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: var(--beige-medium);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 12px;
  color: var(--text-dark);
  font-weight: 600;
  min-width: 40px;
  text-align: right;
}

.package-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 6px 0;
}

.cta-text {
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 500;
}

.cta-button {
  background: var(--gold);
  color: white;
  border: none;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.cta-button:hover {
  background: var(--gold-dark);
}

.quick-add-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.quick-service {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: var(--beige-light);
  border: 1px solid var(--beige-medium);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 11px;
}

.quick-service:hover {
  background: white;
  border-color: var(--gold);
}

.quick-service-name {
  font-weight: 500;
  white-space: nowrap;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-service-price {
  color: var(--gold);
  font-weight: 600;
  font-size: 10px;
}

.package-success {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(76, 175, 80, 0.1);
  border-radius: var(--radius-sm);
  margin-top: 8px;
}

.success-icon {
  font-size: 16px;
  color: #2E7D32;
}

.success-message {
  font-size: 12px;
  color: #2E7D32;
  line-height: 1.3;
  flex: 1;
}

.success-discount {
  font-weight: 600;
  color: #1B5E20;
}

.package-benefits {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--beige-medium);
  font-size: 10px;
  color: var(--text-medium);
}

.benefit {
  display: flex;
  align-items: center;
  gap: 4px;
}

.benefit-icon {
  font-size: 12px;
  color: var(--gold);
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 768px) {
  .container {
      padding: 15px;
      padding-bottom: 80px;
  }
  
  .main-title {
      font-size: 2rem;
  }
  
  .services-grid {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 15px;
  }
  
  .cart-sidebar {
      width: 100%;
      right: -100%;
  }
  
  .contact-buttons {
      flex-direction: column;
      align-items: center;
  }
  
  .contact-btn {
      width: 100%;
      max-width: 300px;
      justify-content: center;
  }
  
  .timer-content {
      flex-direction: column;
      gap: 10px;
  }
  
  .categories {
      gap: 8px;
  }
  
  .category-btn {
      padding: 8px 16px;
      font-size: 0.9rem;
  }
  
  .faq-section {
      padding: 20px;
  }
  
  .faq-title {
      font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .main-title {
      font-size: 1.8rem;
  }
  
  .services-grid {
      grid-template-columns: 1fr;
  }
  
  .service-card {
      min-height: auto;
  }
  
  .cart-toggle {
      bottom: 20px;
      right: 20px;
      width: 50px;
      height: 50px;
      font-size: 1.5rem;
  }
  
  .timer-display {
      flex-wrap: wrap;
      justify-content: center;
  }
}

/* ========== UTILITY CLASSES ========== */
.timer-expired {
  color: var(--error);
  font-weight: 600;
  font-size: 1.1rem;
}

.spa-discount-row {
  color: var(--success);
  font-weight: 600;
}