.main-container{
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.image-card {
  position: relative; /* Needed for absolute child positioning */
  display: flex;
  justify-content: center; /* Horizontal alignment */
  align-items: center; /* Vertical alignment */
  overflow: hidden;
  max-width: 100%; /* Responsive constraint */
}

.image-card img {
  width: 100%; /* Fill container */
  height: auto; /* Maintain aspect ratio */
  display: block; /* Remove inline spacing */
}

.overlay-content {
  position: absolute; /* Overlay position */
  color: white;
  text-align: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0); /* Semi-transparent background */
  border-radius: 8px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Optional animation */
  transition: all 0.3s ease;

    max-width: 98%; /* Adjust as needed */
  box-sizing: border-box; /* Include padding in width */
}

/* Hover effect example */
.image-card:hover .overlay-content {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.03);
}
/* this part is for the first section after the image */
.first-section-container {
  background: #000000; /* Slightly more opaque */
  color: #333;
 padding-right: 40px;
  /* Permanent edge definition */
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset, /* Inner light highlight */
    0 2px 12px rgba(0, 0, 0, 0.1); /* Soft outer shadow */

  /* Frosted glass effect */
  backdrop-filter: blur(4px);

  /* Permanent subtle glow */
  position: relative;
}

.first-section-container::before {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.4) 0%,
    rgba(255,255,255,0) 40%
  );
  pointer-events: none;
  z-index: -1;
}

/* Container for horizontal scrolling */
/* Container with constrained scrolling */
/* Container styling */
.card-image-container {
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid rgba(183, 110, 121, 0.3);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-bottom: 2px solid #D4AF37;
}

.product-card:hover .card-image {
  transform: scale(1.05);
}

/* Card content styling */
.card-details {
  padding: 16px;
  color: #FFFFFF;
}

.product-name {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.product-category {
  font-size: 0.9rem;
  color: #D4AF37;
  margin-bottom: 12px;
}

.product-price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #FFFFFF;
}

/* Optional: Add scroll hint */
.card-scroll-container {
  mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
}
.card-scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 20px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: none !important;
  cursor: grab; /* Indicates draggable area */
  user-select: none; /* Prevents text selection while scrolling */
  -webkit-user-drag: none;
  scroll-behavior: auto !important; /* Disable smooth scroll */
  overscroll-behavior-x: contain;
  will-change: scroll-position;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.card-scroll-container::-webkit-scrollbar {
  display: none;
}

.card-scroll-container:active {
  cursor: grabbing;
  scroll-snap-type: none; /* Disable snapping while dragging */
}

/* Visual cue for scrollability */
.card-scroll-container:after {
  padding-right: 20px; /* Creates right padding */
}
.card-scroll-container.grabbing {
  cursor: grabbing;
  scroll-snap-type: none;
}
.card-scroll-container.grabbing .product-card {
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
/* Improved card styling */
.product-card {
  flex: 0 0 280px; /* Fixed width */
  scroll-snap-align: center;
  background: #1A1A1A;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  width: 280px;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.3s ease;
  pointer-events: auto !important;
}

/* Interactive feedback */
.card-scroll-container:active {
  cursor: grabbing;
}

.product-card:active {
  transform: scale(0.98); /* Pressed effect */
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

/* Edge fade effect (optional) */
.card-scroll-container {
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    white 10%,
    white 90%,
    transparent 100%
  );
}

/* Best Sellers Section */
.best-sellers {
  padding: 60px 20px;
  background: #0F0F0F;
  color: white;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.view-all {
  color: #D4AF37;
  text-decoration: none;
  font-size: 0.9rem;
}

/* Product Grid (Horizontal Scroll or Grid) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;

  padding-bottom: 20px;
}

/* Product Card */
.product-card-seller {
  background: #1A1A1A;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 350px;
}

.product-card-seller:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

/* Badge */
.badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #D4AF37;
  color: black;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  z-index: 2;
}

/* Image Container */
.card-image-container-seller {
  height: 250px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.card-image-container-seller img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card-seller:hover img {
  transform: scale(1.03);
}

/* Quick View Button */
.quick-view {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: 1px solid #D4AF37;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card-seller:hover .quick-view {
  opacity: 1;
}

/* Card Details */
.card-details-seller {
  padding: 20px;
}

.card-details-seller h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 500;
}

.category-seller {
  color: #D4AF37;
  font-size: 0.85rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-seller {
  font-size: 1.2rem;
  font-weight: 600;
}

/* Skeleton Loader (From Previous Example) */
/* Skeleton Animation */
.skeleton-loader {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  display: block;
}

.product-content.loaded {
  display: block;
}

.skeleton-loader.loaded {
  display: none;
}

@keyframes shimmer {
  to { background-position: -200% 0; }
}
.skeleton-image {
  height: 200px;
  background: #e0e0e0;
  border-radius: 8px;
  margin-bottom: 12px;
}

.skeleton-text {
  height: 16px;
  background: #e0e0e0;
  border-radius: 4px;
  margin-bottom: 8px;
  width: 80%;
}

.skeleton-text-sm {
  height: 14px;
  background: #e0e0e0;
  border-radius: 4px;
  margin-bottom: 12px;
  width: 60%;
}

.skeleton-price {
  height: 18px;
  background: #e0e0e0;
  border-radius: 4px;
  width: 40%;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Hide skeleton when content loads */
.product-content.loaded {
  display: block;
}

.skeleton-loader.loaded {
  display: none;
}

/*this section is for limited editon*/
/* Limited Edition Section */
.limited-edition-section {
  background: #0a0a0a;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.limited-badge {
  position: absolute;
  top: 30px;
  right: 30px;
  background: #d4af37;
  color: #000;
  padding: 8px 20px;
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 2;
}

.limited-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

/* Watch Display */
.limited-watch {
  position: relative;
  perspective: 1000px;
}

.watch-image {
  width: 100%;
  max-width: 500px;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: drop-shadow(0 20px 30px rgba(212, 175, 55, 0.2));
}

.watch-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%,
    rgba(255,255,255,0.1) 0%,
    transparent 60%);
  z-index: 1;
}

.edition-number {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0,0,0,0.7);
  color: #d4af37;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* Content */
.limited-content {
  padding-right: 40px;
}

.limited-title {
  font-size: 2.8rem;
  font-weight: 300;
  margin-bottom: 20px;
  color: #fff;
  line-height: 1.2;
}

.limited-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #aaa;
  margin-bottom: 40px;
  max-width: 500px;
}

/* Countdown Timer */
.countdown-container {
  margin-bottom: 40px;
}

.countdown-title {
  font-size: 0.9rem;
  color: #d4af37;
  letter-spacing: 2px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.countdown {
  display: flex;
  gap: 15px;
  align-items: center;
}

.countdown-item {
  text-align: center;
}

.countdown-item span {
  display: block;
  font-size: 2.5rem;
  font-weight: 300;
  color: #fff;
  min-width: 70px;
}

.countdown-label {
  font-size: 0.8rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

.countdown-separator {
  font-size: 2rem;
  color: #d4af37;
  margin-top: -15px;
}

/* Stock Indicator */
.limited-stock {
  margin-bottom: 40px;
}

.stock-bar {
  height: 3px;
  background: #222;
  position: relative;
  margin-bottom: 15px;
}

.stock-progress {
  height: 100%;
  background: #d4af37;
  position: absolute;
  top: 0;
  left: 0;
  transition: width 1s ease;
}

.stock-text {
  font-size: 0.9rem;
  color: #d4af37;
  text-align: right;
}

/* Button */
.limited-button {
  background: transparent;
  color: #d4af37;
  border: 1px solid #d4af37;
  padding: 15px 40px;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.limited-button:hover {
  background: rgba(212, 175, 55, 0.1);
}

.limited-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(212, 175, 55, 0.2),
    transparent);
  transition: left 0.8s ease;
}

.limited-button:hover::after {
  left: 100%;
}

/* Responsive */
@media (max-width: 992px) {
  .limited-container {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .limited-content {
    padding-right: 0;
  }

  .watch-image {
    max-width: 400px;
    margin: 0 auto;
  }
}
/* Stock Visual Styles */
.stock-visual {
  margin: 30px 0;
}

.stock-units {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}

.unit {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: #333;
}

.unit.available {
  background: #D4AF37;
}

.unit.sold {
  background: #222;
  position: relative;
}

.unit.sold::after {
  content: "✓";
  position: absolute;
  color: #555;
  font-size: 8px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Badge with Stock Count */
.limited-badge {
  background: #D4AF37;
  color: #000;
  padding: 8px 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}

#stock-count {
  background: rgba(0,0,0,0.2);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.9em;
}

/* Sold Out State */
.is-sold-out #stock-badge {
  background: #555;
  color: #999;
}

.is-sold-out #stock-count {
  background: rgba(0,0,0,0.4);
}

/* Why Choose Us Section */
.why-choose-us {
  background: #0a0a0a;
  padding: 100px 20px;
  color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  color: #D4AF37;
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 300;
  margin: 0;
}

/* Trust Grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.trust-card {
  background: #1a1a1a;
  border-radius: 8px;
  padding: 40px 25px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
}

.trust-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 25px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon svg {
  width: 30px;
  height: 30px;
  fill: #D4AF37;
}

.trust-card h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.trust-card p {
  color: #aaa;
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}

/* Animated Icons */
.animated-icon {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.trust-badges img {
  height: 50px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.trust-badges img:hover {
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* Testimonials Section - RTL */
.testimonials-section {
  background: #0a0a0a;
  padding: 80px 20px;
}

.section-header {
  text-align: right;
  margin-bottom: 50px;
}

.section-subtitle-testimonial {
  color: #D4AF37;
  font-size: 0.9rem;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 15px;
}

.section-title {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 300;
  margin: 0;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: #1a1a1a;
  border-radius: 8px;
  padding: 30px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.testimonial-rating {
  color: #D4AF37;
  font-size: 1.2rem;
  margin-bottom: 20px;
  letter-spacing: 3px;
}

.testimonial-quote {
  color: #ddd;
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 25px 0;
  padding: 0;
  position: relative;
}

.testimonial-quote::before {
  content: "“";
  font-size: 4rem;
  color: rgba(212, 175, 55, 0.2);
  position: absolute;
  top: -20px;
  right: -10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #D4AF37;
}

.default-avatar {
  background: #D4AF37;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.author-details h4 {
  color: #fff;
  margin: 0 0 5px 0;
  font-size: 1rem;
}

.author-details p {
  color: #aaa;
  margin: 0;
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonials-container {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* Instagram Gallery - RTL */
.instagram-gallery {
  background: #0a0a0a;
  padding: 80px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-subtitle-instagram {
  color: #D4AF37;
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 300;
  margin: 0 0 15px 0;
}

.instagram-link {
  color: #D4AF37;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  transition: opacity 0.3s;
}

.instagram-link:hover {
  opacity: 0.8;
}

.instagram-link svg {
  width: 14px;
  height: 14px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1;
  transition: transform 0.3s;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 20px;
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.gallery-item:hover .image-overlay {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* Hero Banner - RTL */
.hero-banner {
  position: relative;
  height: 100vh;
  min-height: 700px;
  color: #fff;
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, rgba(0,0,0,0.7) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 0 10%;
  z-index: 2;
}

.hero-tagline {
  text-align: right;
  margin-bottom: 40px;
  max-width: 600px;
}

.edition-badge {
  background: rgba(212, 175, 55, 0.3);
  color: #D4AF37;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 20px;
  backdrop-filter: blur(5px);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 300;
  margin: 0 0 15px 0;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin: 0;
  opacity: 0.9;
  line-height: 1.6;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

.cta-button {
  background: #D4AF37;
  color: #000;
  padding: 15px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.cta-button:hover {
  background: transparent;
  color: #D4AF37;
  border-color: #D4AF37;
}

.cta-button.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}

.cta-button.secondary:hover {
  border-color: #D4AF37;
  color: #D4AF37;
}

.luxury-badges {
  display: flex;
  gap: 30px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
}

.badge-item img {
  height: 25px;
  width: auto;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
}

.scroll-text {
  font-size: 0.8rem;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.7);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, #D4AF37, transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(10px); }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 0 5%;
  }

  .hero-title {
    font-size: 2rem;
  }

  .luxury-badges {
    flex-direction: column;
    gap: 15px;
  }

  .video-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  }
}

/* Quick View Modal Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.6); /* Black w/ opacity (Overlay) */
  padding-top: 60px; /* Location of the box */
  -webkit-backdrop-filter: blur(5px); /* Optional: Frosted glass effect for overlay */
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #1a1a1a; /* Dark background similar to cards */
  color: #fff;
  margin: 5% auto; /* 5% from the top and centered */
  padding: 30px;
  border: 1px solid #D4AF37; /* Gold border */
  border-radius: 8px;
  width: 80%; /* Could be more or less, depending on screen size */
  max-width: 700px; /* Max width */
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.modal-close-button {
  color: #aaa;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.modal-close-button:hover,
.modal-close-button:focus {
  color: #D4AF37; /* Gold on hover */
  text-decoration: none;
  cursor: pointer;
}

.modal-body {
  display: flex;
  gap: 20px;
}

.modal-product-image {
  flex: 0 0 40%; /* Image takes 40% width */
  max-width: 40%;
}

.modal-product-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid #333;
}

.modal-product-details {
  flex: 1; /* Details take remaining space */
}

.modal-product-details h2 {
  font-size: 1.8rem;
  color: #D4AF37; /* Gold for product name */
  margin-top: 0;
  margin-bottom: 10px;
}

.modal-product-category {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.modal-product-price {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.modal-product-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 20px;
  max-height: 100px; /* Limit description height */
  overflow-y: auto; /* Add scroll if description is long */
}

.modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.modal-actions .btn {
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal-actions .btn-primary {
  background-color: #D4AF37;
  color: #000;
  border: 1px solid #D4AF37;
}
.modal-actions .btn-primary:hover {
  background-color: #b89b31; /* Darker gold */
}

.modal-actions .btn-secondary {
  background-color: transparent;
  color: #D4AF37;
  border: 1px solid #D4AF37;
}
.modal-actions .btn-secondary:hover {
  background-color: rgba(212, 175, 55, 0.1);
}

.modal-loading-spinner, .modal-error-message {
  text-align: center;
  padding: 20px;
  font-size: 1.1rem;
}
.modal-error-message {
    color: #ff6b6b; /* Reddish for error */
}

/* Responsive adjustments for modal */
@media (max-width: 768px) {
  .modal-body {
    flex-direction: column;
  }
  .modal-product-image {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .modal-content {
    width: 90%;
    margin: 10% auto;
    padding: 20px;
  }
  .modal-product-details h2 {
    font-size: 1.5rem;
  }
}