/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.header-top {
  background: #2c3e50;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
}

.header-contact .phone {
  font-weight: 600;
  color: #4a9eff;
  font-size: 16px;
}

.header-service {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

.header-main {
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  will-change: transform;
  /* TEST: If you see this in DevTools, CSS is loaded correctly */
}

.header-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 15px 20px;
  gap: 20px;
}

.logo {
  justify-self: start;
}

.logo img {
  height: 60px;
  width: auto;
}

.nav {
  display: flex;
  gap: 30px;
  justify-self: center;
}

.cart-icon-btn {
  justify-self: end;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: #0066cc;
  border-bottom-color: #0066cc;
}

/* HERO */
.hero {
  position: relative;
  margin: 0;
  padding: 0;
}

.hero-content-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
}

.hero-title {
  font-size: 64px;
  font-weight: bold;
  color: white;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-tagline {
  font-size: 28px;
  color: white;
  margin-bottom: 0;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.hero-image {
  width: 100vw;
  max-width: none;
  height: 600px; /* Taller like your current site */
  margin: 0;
  padding: 0;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-service {
  font-size: 24px;
  color: #EE2A7B;
  font-weight: bold;
  text-align: center;
  padding: 40px 20px;
  margin: 0;
}

/* COLLECTION HERO BANNER */
.collection-hero {
  position: relative;
  margin: 0;
  padding: 0;
}

.collection-hero-image {
  width: 100vw;
  max-width: none;
  height: 300px;
  margin: 0;
  padding: 0;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

.collection-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.collection-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, 
    rgba(255, 255, 255, 0.9) 0%,   /* 10% opacity (90% white) on left */
    rgba(255, 255, 255, 0.65) 100% /* 35% opacity (65% white) on right */
  );
  z-index: 1;
}

.collection-hero-content-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: left;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
}

.collection-hero-content {
  max-width: 600px;
}

.collection-title {
  font-size: 48px;
  font-weight: bold;
  color: #EE2A7B !important;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
  text-align: left;
}

.collection-description {
  font-size: 18px;
  color: #333 !important;
  line-height: 1.6;
  text-align: left;
  margin: 0;
}

/* CATEGORIES */
.categories {
  padding: 60px 0 80px;
  background: white;
  min-height: 420px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 16px;
}

/* SKELETON LOADING */
@keyframes skeleton-shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
.skeleton-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e4e4e4 50%, #f0f0f0 75%);
  background-size: 1200px 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}
.skeleton-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  flex: 1 1 200px;
}
.skeleton-image-area {
  width: 100%;
  padding-bottom: 100%;
  position: relative;
  overflow: hidden;
}
.skeleton-fill {
  position: absolute;
  inset: 0;
}
.skeleton-text-area {
  padding: 20px;
  display: flex;
  justify-content: center;
}
.skeleton-text-bar {
  height: 18px;
  width: 60%;
  border-radius: 4px;
}
.skeleton-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}

/* IMAGE FADE-IN — prevents pop-in of dynamically loaded images */
img[src=""] { visibility: hidden; }
.img-fade {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.img-fade.loaded {
  opacity: 1;
}

.category-card {
  display: block;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.category-image {
  width: 100%;
  padding-bottom: 100%; /* Square aspect ratio - matches product cards */
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
}

.category-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-name {
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  text-align: center;
}

/* FOOTER */
.footer {
  background: #2c3e50;
  color: white;
  padding: 40px 0 30px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 15px;
}

.footer-copyright {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: white;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  body {
    padding-top: 0;
  }
  
  body.header-top-hidden {
    padding-top: 0;
  }

  /* Top bar - single line, hide phone number */
  .header-top {
    padding: 7px 0;
  }

  .header-top .container {
    flex-direction: row;
    justify-content: center;
    text-align: center;
    gap: 0;
  }

  .header-contact {
    display: none;
  }

  .header-service {
    font-size: 12px;
  }

  /* Main header - keep logo, nav, cart all visible */
  .header-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .logo img {
    height: 40px;
  }

  .nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    flex: 1;
  }

  .nav-link {
    font-size: 12px;
    white-space: nowrap;
    padding: 4px 0;
  }

  .cart-icon-btn {
    flex-shrink: 0;
  }
  
  .hero-title {
    font-size: 42px;
  }
  
  .hero-tagline {
    font-size: 20px;
  }
  
  .hero-service {
    font-size: 18px;
    padding: 16px 16px;
  }

  .categories {
    padding: 20px 0 30px;
  }

  .products-section {
    padding: 20px 0 40px;
  }

  .date-selector {
    padding: 16px 0;
  }

  .overnight-booking {
    padding: 10px 0;
  }
  
  /* Mobile: 280px height for hero */
  .hero-image {
    height: 280px;
  }
  
  .collection-hero-image {
    height: 160px;
  }
  
  .collection-title {
    font-size: 32px;
  }
  
  .collection-description {
    font-size: 16px;
  }
  
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  
  .footer-nav {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .date-selector-box {
    flex-direction: column;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================================ */
/* COLLECTION PAGE STYLES */
/* ================================================================ */

/* Collection Header */

/* Date Selector */
.date-selector {
  padding: 30px 0;
  background: white;
  border-bottom: 1px solid #e9ecef;
}

.date-selector-box {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.date-field {
  flex: 1;
  max-width: 250px;
}

.date-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.date-input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.3s;
}

.date-input:focus {
  outline: none;
  border-color: #0066cc;
}

.btn-check-availability {
  padding: 12px 30px;
  background: #0066cc;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}

.btn-check-availability:hover {
  background: #0052a3;
}

/* Products Grid */
.products-section {
  padding: 50px 0 80px;
  background: white;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  display: block;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.product-image {
  width: 100%;
  padding-bottom: 100%; /* Square aspect ratio */
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
}

.product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 20px;
}

.product-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.product-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
}

.product-pricing {
  display: flex;
  gap: 15px;
  padding-top: 12px;
  border-top: 1px solid #e9ecef;
}

.price-from {
  font-size: 18px;
  font-weight: bold;
  color: #EE2A7B;
}

.price-option {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

.price-value {
  font-size: 18px;
  font-weight: bold;
  color: #0066cc;
}

/* ================================================================ */
/* PRODUCT DETAIL PAGE STYLES */
/* ================================================================ */

/* Breadcrumb */
.breadcrumb {
  padding: 15px 0;
  background: #f8f9fa;
  font-size: 14px;
  color: #666;
}

.breadcrumb a {
  color: #0066cc;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: #0052a3;
}

.breadcrumb-separator {
  margin: 0 8px;
}

/* Product Detail Section */
.product-detail-section {
  padding: 40px 0;
  background: white;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

/* Product Images */
.product-images {
  position: sticky;
  top: 100px;
}

.main-image {
  width: 100%;
  aspect-ratio: 1;
  background: #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
  position: relative;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  background: #e0e0e0;
}

.thumbnail-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
}

.thumbnail {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}

.thumbnail:hover {
  border-color: #0066cc;
}

.thumbnail.active {
  border-color: #0066cc;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Details */
.product-detail-title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.product-pricing-detail {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 30px;
}

.pricing-line {
  font-size: 16px;
  line-height: 1.8;
}

.product-description {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

.product-description h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 25px 0 10px;
}

.product-description hr {
  margin: 20px 0;
  border: none;
  border-top: 1px solid #e9ecef;
}

/* Related Products */
.related-products-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.section-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.related-product-card {
  display: block;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.related-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.related-product-image {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  background: #f0f0f0;
}

.related-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-product-name {
  padding: 15px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-align: center;
}

/* Availability Section */
.availability-section {
  padding: 50px 0;
  background: white;
}

.availability-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 12px;
  text-align: center;
}

.availability-box h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

.availability-form {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 20px;
}

.availability-result {
  margin-top: 20px;
}

.availability-success {
  padding: 20px;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  color: #155724;
  line-height: 1.8;
}

.btn-book-now {
  display: inline-block;
  padding: 12px 30px;
  background: #EE2A7B;
  color: white;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 10px;
  transition: background 0.3s;
}

.btn-book-now:hover {
  background: #d41f68;
}

/* Responsive */
@media (max-width: 968px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .product-images {
    position: static;
  }
  
  .related-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  .availability-form {
    flex-direction: column;
  }
}
/* ================================================================ */
/* PRODUCT PAGE STYLES - JB-Amusement Layout */
/* ================================================================ */

.product-page {
  padding: 30px 0 60px;
  background: white;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  padding: 20px 0;
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb-nav a {
  color: #0066cc;
  transition: color 0.3s;
}

.breadcrumb-nav a:hover {
  color: #0052a3;
  text-decoration: underline;
}

.breadcrumb-nav span:not([id]) {
  color: #999;
}

.breadcrumb-separator {
  color: #999;
}

.breadcrumb-current {
  color: #EE2A7B;
  font-weight: 500;
}

/* Product Header */
.product-header {
  margin-bottom: 8px;
}

/* Product Title */
.product-page-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

/* Product Price Display */
.product-price-display {
  font-size: 24px;
  font-weight: 600;
  color: #EE2A7B;
  margin: 0;
}

.product-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 25px;
  font-weight: 500;
}

/* Product Description */
.product-full-description {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 30px;
  max-width: 800px;
}

/* Dimensions Section */
.product-dimensions {
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-left: 0px solid #0066cc;
  border-radius: 4px;
  max-width: 800px;
}

.product-dimensions h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.product-dimensions div {
  font-size: 15px;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

/* Requirements Section */
.product-requirements {
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-left: 4px solid #0066cc;
  border-radius: 4px;
  max-width: 800px;
}

.product-requirements h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.product-requirements div {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* Booking Section - Date Selection & Add to Cart */
.booking-section {
  margin: 40px 0;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 12px;
  max-width: 600px;
}

.date-selection {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.date-field {
  flex: 1;
}

.date-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.date-input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.3s;
}

.date-input:focus {
  outline: none;
  border-color: #0066cc;
}

.btn-add-to-cart {
  width: 100%;
  padding: 16px;
  background: #EE2A7B;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-add-to-cart:hover {
  background: #d41f68;
}

/* What's Included Section */
.product-included {
  margin: 50px 0;
  max-width: 800px;
}

.product-included h2 {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.included-list {
  list-style: none;
  padding: 0;
}

.included-list li {
  padding: 12px 0;
  font-size: 16px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e9ecef;
}

.included-list li:last-child {
  border-bottom: none;
}

.checkmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #247688;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}


/* ================================================================ */
/* ENHANCED FAQ ANIMATIONS - JB-Amusement Style */
/* ================================================================ */

/* FAQ Item Container */
.product-faqs .faq-item {
  margin-bottom: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: visible;
  transition: border-color 0.3s;
}

.product-faqs .faq-item:hover {
  border-color: #EE2A7B;
}

/* FAQ Question/Summary */
.product-faqs .faq-question {
  padding: 18px 70px 18px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  background: #f8f9fa;
  list-style: none;
  transition: background 0.3s;
  display: block;
  position: relative;
  user-select: none;
  overflow: visible;
  border-radius: 8px 8px 0 0;
}

/* Remove default marker */
.product-faqs .faq-question::-webkit-details-marker {
  display: none;
}

.product-faqs .faq-question::marker {
  display: none;
  content: '';
}

/* Remove the circle - no pseudo-element ::after for background */

/* Horizontal line of plus (always visible) */
.product-faqs .faq-question::before {
  content: '';
  position: absolute;
  right: 35px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 3px;
  background: #EE2A7B;
  z-index: 3;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 2px;
}

/* Vertical line of plus (hides when open) - also on the question for proper centering */
.product-faqs .faq-question::after {
  content: '';
  position: absolute;
  right: 43px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: #EE2A7B;
  z-index: 3;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
              opacity 0.3s;
  border-radius: 2px;
}

/* Remove the old faq-item::after that was poorly positioned */
.product-faqs .faq-item {
  position: relative;
}

/* Hover effect on question */
.product-faqs .faq-question:hover {
  background: #fef0f7;
}

/* Open state animations - use class for instant response */
.product-faqs .faq-open .faq-question {
  background: #fef0f7;
}

/* Rotate horizontal line when open */
.product-faqs .faq-open .faq-question::before {
  transform: translateY(-50%) rotate(180deg);
}

/* Hide vertical line when open (creates minus effect) */
.product-faqs .faq-open .faq-question::after {
  opacity: 0;
  transform: translateY(-50%) rotate(90deg);
}

/* FAQ Answer - needs special animation handling for details element */
.product-faqs .faq-answer {
  padding: 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  background: white;
  overflow: hidden;
  opacity: 0;
  max-height: 0;
  transition: opacity 0.45s ease,
              max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.45s ease;
  /* Content is always in DOM, controlled by max-height */
  display: block;
}

/* When details is open, animate answer in */
.product-faqs details[open] .faq-answer {
  opacity: 1;
  max-height: 2000px;
  padding: 20px 24px 24px 24px;
}

/* Add a subtle shadow when open */
.product-faqs details[open] {
  box-shadow: 0 4px 12px rgba(238, 42, 123, 0.1);
}

/* Related Products */
.related-products-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.section-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.related-product-card {
  display: block;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.related-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.related-product-image {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  background: #f0f0f0;
}

.related-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-product-name {
  padding: 15px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-align: center;
}

/* Availability Section */
.availability-section {
  padding: 50px 0;
  background: white;
}

.availability-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 12px;
  text-align: center;
}

.availability-box h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

.availability-form {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 20px;
}

.availability-result {
  margin-top: 20px;
}

.availability-success {
  padding: 20px;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  color: #155724;
  line-height: 1.8;
}

.btn-book-now {
  display: inline-block;
  padding: 12px 30px;
  background: #EE2A7B;
  color: white;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 10px;
  transition: background 0.3s;
}

.btn-book-now:hover {
  background: #d41f68;
}

/* Responsive */
@media (max-width: 968px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .product-images {
    position: static;
  }
  
  .related-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  .availability-form {
    flex-direction: column;
  }
}
/* ================================================================ */
/* PRODUCT PAGE STYLES - JB-Amusement Layout */
/* ================================================================ */

.product-page {
  padding: 30px 0 60px;
  background: white;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  padding: 20px 0;
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb-nav a {
  color: #0066cc;
  transition: color 0.3s;
}

.breadcrumb-nav a:hover {
  color: #0052a3;
  text-decoration: underline;
}

.breadcrumb-nav span:not([id]) {
  color: #999;
}

.breadcrumb-separator {
  color: #999;
}

.breadcrumb-current {
  color: #EE2A7B;
  font-weight: 500;
}

/* Product Header */
.product-header {
  margin-bottom: 8px;
}

/* Product Title */
.product-page-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

/* Product Price Display */
.product-price-display {
  font-size: 24px;
  font-weight: 600;
  color: #EE2A7B;
  margin: 0;
}

.product-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 25px;
  font-weight: 500;
}

/* Product Description */
.product-full-description {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 30px;
  max-width: 800px;
}

/* Dimensions Section */
.product-dimensions {
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-left: 0px solid #0066cc;
  border-radius: 4px;
  max-width: 800px;
}

.product-dimensions h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.product-dimensions div {
  font-size: 15px;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

/* Requirements Section */
.product-requirements {
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-left: 4px solid #0066cc;
  border-radius: 4px;
  max-width: 800px;
}

.product-requirements h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.product-requirements div {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* Booking Section - Date Selection & Add to Cart */
.booking-section {
  margin: 40px 0;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 12px;
  max-width: 600px;
}

.date-selection {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.date-field {
  flex: 1;
}

.date-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.date-input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.3s;
}

.date-input:focus {
  outline: none;
  border-color: #0066cc;
}

.btn-add-to-cart {
  width: 100%;
  padding: 16px;
  background: #EE2A7B;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-add-to-cart:hover {
  background: #d41f68;
}

/* What's Included Section */
.product-included {
  margin: 50px 0;
  max-width: 800px;
}

.product-included h2 {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.included-list {
  list-style: none;
  padding: 0;
}

.included-list li {
  padding: 12px 0;
  font-size: 16px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e9ecef;
}

.included-list li:last-child {
  border-bottom: none;
}

.checkmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #247688;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

/* Product FAQs */
.product-faqs {
  margin: 50px 0;
  max-width: 800px;
}

.product-faqs h2 {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}


/* Related Products */
.related-products-section {
  margin: 60px 0 40px;
}

.related-products-section h2 {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
}

.related-product-card {
  display: block;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.related-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.related-product-image {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  background: #f0f0f0;
  overflow: hidden;
}

.related-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: #e0e0e0;
}

.related-product-name {
  padding: 15px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.related-product-price {
  padding: 0 15px 15px;
  font-size: 16px;
  font-weight: bold;
  color: #0066cc;
}

/* Responsive */
@media (max-width: 768px) {
  .product-page-title {
    font-size: 28px;
  }
  
  .date-selection {
    flex-direction: column;
  }
  
  .related-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
  }
}

/* ================================================================ */
/* PRODUCT PAGE - 2 COLUMN LAYOUT */
/* ================================================================ */

/* Two column grid: images left, content right */
.product-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 30px 0;
}

/* LEFT COLUMN: Images */
.product-images-column {
  position: sticky;
  top: 20px;
  height: fit-content;
}

.main-product-image {
  width: 100%;
  aspect-ratio: 1;
  background: #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
  position: relative;
}

.main-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.image-nav-arrow:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.image-nav-arrow svg {
  color: #333;
}

.image-nav-prev {
  left: 15px;
}

.image-nav-next {
  right: 15px;
}

.thumbnail-images {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.thumbnail-images::-webkit-scrollbar {
  height: 6px;
}

.thumbnail-images::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 3px;
}

.thumbnail-images::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.thumbnail-images::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.thumbnail {
  flex: 0 0 calc(25% - 7.5px); /* Show 4 thumbnails (25% each, minus gap) */
  aspect-ratio: 1;
  background: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border-color 0.3s;
  scroll-snap-align: start;
}

.thumbnail:hover {
  border-color: #ccc;
}

.thumbnail.active {
  border-color: #0066cc;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RIGHT COLUMN: Content */
.product-content-column {
  min-width: 0; /* Prevents overflow */
}

/* Update section styles for right column */
.product-content-column .product-full-description {
  margin-bottom: 25px;
}

.product-content-column .product-dimensions {
  margin-bottom: 25px;
  max-width: 100%;
}

.product-content-column .product-requirements {
  margin-bottom: 25px;
  max-width: 100%;
}

.product-content-column .booking-section {
  max-width: 100%;
  margin: 30px 0;
}

.product-content-column .product-included {
  margin: 30px 0;
  max-width: 100%;
}

.product-content-column .product-included h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.product-content-column .product-faqs {
  margin: 30px 0;
  max-width: 100%;
}

.product-content-column .product-faqs h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

/* Responsive: Stack on mobile */
@media (max-width: 968px) {
  .product-two-column {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .product-images-column {
    position: relative;
    top: 0;
  }
  
  .main-product-image {
    max-width: 500px;
    margin: 0 auto 15px;
  }
  
  .thumbnail-images {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .thumbnail {
    flex: 0 0 calc(25% - 7.5px); /* Keep 4 thumbnails visible on mobile too */
  }
}

@media (max-width: 600px) {
  .thumbnail {
    flex: 0 0 calc(33.333% - 6.67px); /* Show 3 thumbnails on small mobile */
  }
}

/* Date Range Picker Styles */
.date-range-picker-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.date-range-display {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.3s;
}

.date-range-display:hover {
  border-color: #EE2A7B;
}

.date-range-icon {
  color: #666;
}

.date-range-text {
  flex: 1;
  font-size: 15px;
  color: #333;
}

.date-range-text.has-dates {
  font-weight: 500;
}

/* Calendar Popup */
.date-range-calendar {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 1000;
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  padding: 20px;
  min-width: 600px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.calendar-nav-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 4px;
  transition: background 0.2s;
}

.calendar-nav-btn:hover {
  background: #f0f0f0;
}

.calendar-months {
  display: flex;
  gap: 40px;
  flex: 1;
  justify-content: center;
}

.calendar-month-label {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.calendar-body {
  display: flex;
  gap: 30px;
}

.calendar-month {
  flex: 1;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.calendar-weekday {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #999;
  padding: 8px 0;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.calendar-day.other-month {
  color: #ccc;
  cursor: default;
}

.calendar-day.past {
  color: #ccc;
  cursor: not-allowed;
}

.calendar-day.disabled {
  color: #ddd;
  cursor: not-allowed;
  background: #fafafa;
}

.calendar-day.available:hover {
  background: #f0f0f0;
}

.calendar-day.start-date,
.calendar-day.end-date {
  background: #EE2A7B;
  color: white;
  font-weight: 600;
}

.calendar-day.in-range {
  background: rgba(238, 42, 123, 0.1);
  color: #EE2A7B;
}

.calendar-day.hover-range {
  background: rgba(238, 42, 123, 0.05);
  color: #EE2A7B;
}

.calendar-day.today {
  border-color: #EE2A7B;
}

.calendar-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.calendar-clear-btn,
.calendar-done-btn {
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.calendar-clear-btn {
  background: white;
  border: 1px solid #ddd;
  color: #666;
}

.calendar-clear-btn:hover {
  background: #f5f5f5;
}

.calendar-done-btn {
  background: #EE2A7B;
  border: none;
  color: white;
}

.calendar-done-btn:hover {
  background: #d41f68;
}

/* Requirements Checkbox */
.requirements-checkbox {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #ddd;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 15px;
  color: #333;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: #0066cc;
}

.checkbox-label span {
  flex: 1;
  line-height: 1.6;
}

/* Cart Icon in Header */
.cart-icon-btn {
  position: relative;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  padding: 8px;
  margin-left: 20px;
  transition: color 0.3s;
}

.cart-icon-btn:hover {
  color: #EE2A7B;
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: #EE2A7B;
  color: white;
  font-size: 12px;
  font-weight: 600;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

/* Cart Overlay */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Cart Panel */
.cart-panel {
  position: fixed;
  top: 0;
  right: -450px;
  width: 450px;
  height: 100%;
  background: white;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
}

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

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid #eee;
}

.cart-header h2 {
  font-size: 24px;
  margin: 0;
  color: #333;
}

.cart-close-btn {
  background: none;
  border: none;
  font-size: 36px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  line-height: 1;
  transition: color 0.2s;
}

.cart-close-btn:hover {
  color: #333;
}

/* Cart Items */
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

.cart-empty p {
  font-size: 18px;
  margin: 0 0 10px 0;
}

.cart-empty-subtext {
  font-size: 14px !important;
  color: #ccc;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  background: #f0f0f0;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cart-item-dates {
  font-size: 13px;
  color: #666;
  margin: 0 0 8px 0;
}

.cart-item-price {
  font-size: 18px;
  font-weight: 600;
  color: #EE2A7B;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8f9fa;
  border-radius: 6px;
  padding: 4px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.qty-btn:hover {
  background: #EE2A7B;
  color: white;
}

.qty-value {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
  color: #333;
}
input.qty-value::-webkit-outer-spin-button,
input.qty-value::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #999;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.2s;
}

.cart-item-remove:hover {
  color: #EE2A7B;
}

/* Cart Footer */
.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid #eee;
  background: #f8f9fa;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.cart-checkout-btn {
  width: 100%;
  padding: 16px;
  background: #EE2A7B;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  margin-bottom: 12px;
}

.cart-checkout-btn:hover {
  background: #d41f68;
}

.cart-continue-btn {
  width: 100%;
  padding: 14px;
  background: white;
  color: #666;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.cart-continue-btn:hover {
  border-color: #EE2A7B;
  color: #EE2A7B;
}

/* Responsive */
@media (max-width: 600px) {
  .cart-panel {
    width: 100%;
    right: -100%;
  }
}

/* Overnight Booking Option */
.overnight-booking {
  margin-top: 16px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.overnight-booking .checkbox-label {
  margin: 0;
}

.overnight-booking #overnight-price {
  font-weight: 600;
  color: #EE2A7B;
  margin-left: 4px;
}

/* Requirements Error Modal */
.error-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-modal {
  background: white;
  border-radius: 12px;
  padding: 32px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  animation: modalSlideIn 0.3s ease;
}

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

.error-modal h3 {
  margin: 0 0 16px 0;
  font-size: 22px;
  color: #333;
}

.error-modal p {
  margin: 0 0 24px 0;
  font-size: 16px;
  color: #666;
  line-height: 1.5;
}

.error-modal-btn {
  background: #EE2A7B;
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.error-modal-btn:hover {
  background: #d41f68;
}

/* Highlight requirements checkbox when error shown */
.requirements-checkbox.error {
  animation: shake 0.5s;
  border: 2px solid #EE2A7B !important;
  border-radius: 8px;
  padding: 12px !important;
  background: #fff5f8 !important;
}

.requirements-checkbox.error .checkbox-label span {
  color: #EE2A7B !important;
  font-weight: 700 !important;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* ===================================
   CHECKOUT PAGE
   =================================== */

.checkout-section {
  padding: 60px 0 80px;
  background: #f8f9fa;
  min-height: calc(100vh - 200px);
}

.checkout-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #333;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

/* Form Side */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-panel {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.panel-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 24px 0;
  color: #333;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row:last-child {
  margin-bottom: 0;
}

.form-row:has(.form-group:nth-child(2)) {
  grid-template-columns: 1fr 1fr;
}

.form-row:has(.form-group:nth-child(3)) {
  grid-template-columns: 2fr 1fr 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-input {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: #EE2A7B;
}

.form-input.input-error {
  border-color: #dc2626;
  background: #fff5f5;
}

.form-input.input-error:focus {
  border-color: #dc2626;
}

.form-input::placeholder {
  color: #999;
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

/* Summary Side */
.checkout-summary {
  position: sticky;
  top: 100px; /* Sits below sticky header */
}

.summary-panel {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.summary-dates {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}

.summary-date-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.summary-date-item:last-child {
  margin-bottom: 0;
}

.date-label {
  font-weight: 600;
  color: #666;
  font-size: 14px;
}

.date-value {
  color: #333;
  font-weight: 500;
  font-size: 14px;
}

.overnight-indicator {
  color: #EE2A7B;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #e0e0e0;
}

.overnight-indicator svg {
  flex-shrink: 0;
}

.summary-items {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 2px solid #f0f0f0;
}

.summary-empty {
  text-align: center;
  color: #999;
  padding: 40px 20px;
  font-size: 15px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}

.summary-item:first-child {
  padding-top: 0;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item-details {
  flex: 1;
}

.summary-item-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  font-size: 15px;
}

.summary-item-qty {
  font-size: 13px;
  color: #666;
}

.summary-extra-item {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  padding-left: 12px;
}

.summary-item-price {
  font-weight: 600;
  color: #EE2A7B;
  font-size: 16px;
  margin-left: 16px;
}

.summary-totals {
  margin-bottom: 24px;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
  color: #666;
}

.summary-total-row:last-child {
  margin-bottom: 0;
}

.summary-grand-total {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 2px solid #f0f0f0;
}

.summary-grand-total span:last-child {
  color: #EE2A7B;
}

/* Terms & Conditions in Checkout Panel */
#terms-section .terms-checkbox-item {
  margin-bottom: 20px;
  padding: 16px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

#terms-section .terms-checkbox-item.error {
  border-color: #dc2626;
  background: #fef2f2;
}

#terms-section .terms-checkbox-label {
  display: flex;
  align-items: start;
  gap: 12px;
  cursor: pointer;
}

#terms-section .terms-checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

#terms-section .terms-checkbox-text {
  flex: 1;
}

#terms-section .terms-title {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
  font-size: 15px;
}

#terms-section .terms-content {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.6;
  max-height: 200px;
  overflow-y: auto;
  padding: 12px;
  background: white;
  border-radius: 6px;
  white-space: pre-wrap;
  margin-top: 8px;
  border: 1px solid #e5e7eb;
}

#terms-section .terms-badge {
  display: inline-block;
  font-size: 11px;
  padding: 3px 10px;
  background: #dbeafe;
  color: #1e40af;
  border-radius: 12px;
  margin-left: 8px;
  font-weight: 500;
}

/* Signature Pad */
.signature-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.signature-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.signature-pad-wrapper {
  position: relative;
  background: white;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 12px;
}

.signature-canvas {
  display: block;
  width: 100%;
  height: 150px;
  cursor: crosshair;
  touch-action: none;
  border-radius: 4px;
  transition: opacity 0.3s;
}

.signature-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.btn-signature-action {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-signature-action.btn-clear {
  background: #f3f4f6;
  color: #6b7280;
}

.btn-signature-action.btn-clear:hover {
  background: #e5e7eb;
  color: #374151;
}

.btn-signature-action.btn-submit {
  background: #059669;
  color: white;
  border-color: #059669;
}

.btn-signature-action.btn-submit:hover {
  background: #047857;
}

.btn-signature-retry {
  padding: 6px 14px;
  background: transparent;
  color: #6b7280;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}

.btn-signature-retry:hover {
  background: #f3f4f6;
  color: #374151;
}

.signature-status {
  font-size: 15px;
  font-weight: 600;
}

.signature-empty {
  color: #dc2626;
}

.signature-complete {
  color: #059669;
  font-size: 16px;
  font-weight: 700;
}

.btn-place-order {
  width: 100%;
  padding: 16px;
  background: #EE2A7B;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  margin-bottom: 16px;
}

.btn-place-order:hover {
  background: #d41f68;
}

.continue-shopping-link {
  display: block;
  text-align: center;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  padding: 8px;
  transition: color 0.2s;
}

.continue-shopping-link:hover {
  color: #EE2A7B;
}

/* Responsive */
@media (max-width: 968px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  
  .checkout-summary {
    position: static;
    order: 2; /* Push summary below the form on mobile */
  }
}

@media (max-width: 600px) {
  .form-row:has(.form-group:nth-child(2)),
  .form-row:has(.form-group:nth-child(3)) {
    grid-template-columns: 1fr;
  }
  
  .checkout-panel {
    padding: 24px;
  }
  
  .summary-panel {
    padding: 24px;
  }
}

/* Google Places Autocomplete Styling */
.pac-container {
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-top: 4px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pac-item {
  padding: 12px 16px;
  cursor: pointer;
  border-top: 1px solid #f0f0f0;
  font-size: 14px;
}

.pac-item:first-child {
  border-top: none;
}

.pac-item:hover {
  background-color: #f8f9fa;
}

.pac-item-selected {
  background-color: #f0f0f0;
}

.pac-icon {
  display: none;
}

.pac-item-query {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.pac-matched {
  font-weight: 700;
  color: #EE2A7B;
}

/* Google Places Autocomplete - New Element Styles */
gmp-place-autocomplete {
  width: 100%;
  display: block;
}

gmp-place-autocomplete input {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 2px solid #e0e0e0 !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  transition: border-color 0.2s !important;
  box-sizing: border-box !important;
}

gmp-place-autocomplete input:focus {
  outline: none !important;
  border-color: #EE2A7B !important;
}

/* ===================================
   CONTACT PAGE
   =================================== */

.contact-hero {
  background: linear-gradient(135deg, #EE2A7B 0%, #d41f68 100%);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
}

.contact-hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.contact-hero p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.95;
}

.contact-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
}

/* Contact Form */
.contact-form-container {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.contact-form-container h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 32px 0;
  color: #333;
}

.contact-form .form-group {
  margin-bottom: 24px;
}

.contact-form .form-group:last-of-type {
  margin-bottom: 32px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: #EE2A7B;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: #d41f68;
}

/* Contact Info */
.contact-info-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.contact-info-card h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 28px 0;
  color: #333;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: #fff0f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  stroke: #EE2A7B;
}

.contact-info-details {
  flex: 1;
}

.contact-info-details h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #333;
}

.contact-info-details p,
.contact-info-details a {
  font-size: 15px;
  color: #666;
  margin: 0;
  text-decoration: none;
}

.contact-info-details a {
  color: #EE2A7B;
  font-weight: 500;
  transition: color 0.2s;
}

.contact-info-details a:hover {
  color: #d41f68;
  text-decoration: underline;
}

/* Quick Links Card */
.contact-quick-links {
  background: white;
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.contact-quick-links h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: #333;
}

.contact-quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-quick-links li {
  margin-bottom: 14px;
}

.contact-quick-links li:last-child {
  margin-bottom: 0;
}

.contact-quick-links a {
  color: #666;
  text-decoration: none;
  font-size: 15px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.contact-quick-links a:before {
  content: '→';
  margin-right: 10px;
  color: #EE2A7B;
  font-weight: 700;
}

.contact-quick-links a:hover {
  color: #EE2A7B;
}

/* Active nav link */
.nav-link.active {
  color: #EE2A7B;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 968px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  
  .contact-info-container {
    order: -1;
  }
  
  .contact-hero h1 {
    font-size: 32px;
  }
  
  .contact-hero p {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .contact-hero {
    padding: 60px 0 40px;
  }
  
  .contact-section {
    padding: 60px 0;
  }
  
  .contact-form-container,
  .contact-info-card,
  .contact-quick-links {
    padding: 24px;
  }
  
  .contact-form-container h2 {
    font-size: 24px;
  }
}

/* Product Extras (dropdown add-ons) */
.product-extras {
  margin-bottom: 24px;
}

.product-extra-item {
  margin-bottom: 24px;
}

/* Inline extra image preview — mobile only */
.extra-img-inline-preview {
  margin-top: 10px;
  animation: extraImgFadeIn 0.3s ease;
}
@keyframes extraImgFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Hide on desktop — gallery already handles it there */
@media (min-width: 769px) {
  .extra-img-inline-preview { display: none !important; }
}

.product-extra-title {
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-extra-required {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  background: #fee2e2;
  color: #dc2626;
}

/* Custom Dropdown */
.custom-dropdown {
  position: relative;
  width: 100%;
}

.custom-dropdown-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  transition: border-color 0.2s;
}

.custom-dropdown-selected:hover {
  border-color: #d1d5db;
}

.custom-dropdown-selected:focus {
  outline: none;
  border-color: #ec4899;
}

.selected-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.selected-image-placeholder {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: #f3f4f6;
  border-radius: 6px;
  flex-shrink: 0;
}

.selected-image {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
}

.selected-text {
  font-size: 15px;
  color: #1f2937;
}

.dropdown-arrow {
  color: #6b7280;
  font-size: 12px;
  transition: transform 0.2s;
}

.custom-dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.custom-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.custom-option:hover {
  background: #f9fafb;
}

.custom-option:active {
  background: #f3f4f6;
}

.option-image {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.option-image-placeholder {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 6px;
  font-size: 24px;
  flex-shrink: 0;
}

.option-text {
  font-size: 14px;
  color: #374151;
  flex: 1;
}

/* Scrollbar styling for dropdown */
.custom-dropdown-options::-webkit-scrollbar {
  width: 8px;
}

.custom-dropdown-options::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 4px;
}

.custom-dropdown-options::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.custom-dropdown-options::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Error state for custom dropdown (when mandatory selection is missing) */
.custom-dropdown.error {
  animation: shake 0.5s;
}

.custom-dropdown.error .custom-dropdown-selected {
  border-color: #EE2A7B !important;
  background: #fff5f8 !important;
}

.custom-dropdown.error .selected-text {
  color: #EE2A7B !important;
  font-weight: 700 !important;
}

.custom-dropdown.error .product-extra-title {
  color: #EE2A7B !important;
}


/* Cart extras display */
.cart-item-extras {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #f3f4f6;
}

.cart-extra-item {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 3px;
}

.cart-extra-item:last-child {
  margin-bottom: 0;
}

