.product-card-section {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
padding: 20px;
position: relative;
}
.product-card {
  background: #1c1c1c;
  color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  text-align: center;
  transition: all 0.5s ease-in-out; /* Keep existing transition for smooth hover */
}
/* --- NEW HOVER STYLE --- */
.product-card:hover {
  cursor: pointer;
  transform: translateY(-5px); /* Lifts the card up */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); /* Stronger shadow for "elevation" */
}
.product-card.hidden {
display:none;
opacity: 0;
transform: scale(0);
}
.product-card img {
width: 100%;
height: auto;
object-fit: cover;
}
.product-card-content {
padding: 15px;
}
.product-card h3 {
font-size: 1.2rem;
margin: 10px 0;
min-height: 80px;
}
.product-card .price {
font-size: 1.5rem;
color: #ffcc00;
margin: 10px 0;
}
.product-card .view-product {
background: #ffcc00;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
color: black;
font-weight: bold;
transition: background 0.3s;
margin-bottom: 5% !important;
}
.product-card .view-product:hover {
background: #e6b800;
}
/* --- NEW STATIC VARIANT STYLES (Non-Interactive) --- */
.product-card .static-variants {
    padding: 0 15px 15px; /* Padding for the container */
    text-align: left;
    min-height: 80px; /* Helps prevent layout jump while loading */
}

.product-card .static-variants h4 {
    font-size: 0.9rem;
    margin: 5px 0 3px;
    font-weight: 600;
    color: #ffcc00; /* Matching your theme's accent color */
}

/* 1. Static Color Swatches */
.color-swatch-static {
    /* Style to look like a small, non-interactive button */
    display: inline-block;
    width: 16px; 
    height: 16px;
    border-radius: 50%;
    margin-right: 4px;
    margin-bottom: 4px;
    border: 1px solid #aaa; /* Gray border for definition */
    cursor: default; /* CRITICAL: Shows it's not clickable */
}

/* 2. Static Size Labels */
.size-label-static {
    /* Style to look like a size button */
    display: inline-block;
    padding: 2px 6px;
    margin-right: 5px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    background-color: #333; /* Dark background to fit your theme */
    color: white;
    font-size: 0.85em;
    font-weight: 500;
    cursor: default; /* CRITICAL: Shows it's not clickable */
    border-radius: 3px;
}

/* Loading/Error Indicators */
.loading-indicator, .error-indicator {
    font-style: italic;
    color: #888;
    font-size: 0.8em;
}
.error-indicator {
    color: red;
}
/* Cart styles */
#cart-panel {
position: fixed;
top: 0;
right: -350px;
width: 350px;
height: 100vh;
background: #1c1c1c;
color: white;
box-shadow: -2px 0 8px rgba(0,0,0,0.3);
transition: right 0.3s ease;
z-index: 9998;
display: flex;
flex-direction: column;
}
#cart-panel.show {
right: 0 !important;
}

/* Filter and Sort styles */
.filter-search-box {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: 15px;
padding: 15px 20px;
background: #111;
border-bottom: 1px solid #333;
}
.filters-box {
display: flex;
gap: 15px;
}
.filters {
position: relative;
cursor: pointer;
/*color: #ffcc00;*/
font-weight: bold;
}
.filter-list {
display: none;
position: absolute;
background: #333;
padding: 10px;
list-style: none;
border-radius: 5px;
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
min-width: 150px;
z-index: 9998 !important;
}
.filter-list li {
margin-bottom: 5px;
}
.filter-list a {
color: white;
text-decoration: none;
display: block;
padding: 5px;
border-radius: 3px;
transition: background 0.2s;
}
.filter-list a:hover {
background: #555;
}
.filter-list a.active {
background: #ffcc00;
color: black;
font-weight: bold;
}
.search-filters {
position: relative;
flex-grow: 1;
max-width: 300px;
}
.search-filters input {
background: #333;
border: 1px solid #555;
color: white;
padding: 8px 30px 8px 10px;
border-radius: 5px;
width: 100%;
}
.search-filters .fa-search {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
/*color: #ffcc00;*/
}
/* ============================
   Mobile Layout Enhancements
   ============================ */
@media (max-width: 768px) {
  /* Filter/Search Stack */
  .filter-search-box {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .filters-box {
    flex-direction: column;
    width: 100%;
  }

  .filters {
    width: 100%;
    font-size: 1rem;
  }

  .filter-list {
    position: static;
    width: 100%;
    margin-top: 5px;
  }

  .search-filters {
    width: 100%;
    max-width: 100%;
  }

  .search-filters input {
    font-size: 1rem;
  }

  /* Product Grid */
  .product-card-section {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    padding: 10px;
    gap: 15px;
  }

  .product-card h3 {
    font-size: 1rem;
  }

  .product-card .price {
    font-size: 1.1rem;
  }

  .product-card .view-product {
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  /* Cart Panel */
  #cart-panel {
    width: 100vw;
    right: -100vw;
  }

  #cart-panel.show {
    right: 0 !important;
  }

  #cart-toggle {
    top: auto;
    bottom: 20px;
    right: 15px;
    border-radius: 50%;
    padding: 12px;
  }

  #cart-toggle i {
    font-size: 20px;
  }

  /* Featured Product Section */
  .popular-movie-slider {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .popular-movie-slider img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
  }

  .popular-movie-slider-content {
    padding: 10px;
  }

  .movie-info {
    flex-direction: column;
    align-items: center;
  }

  .movie-btns button {
    width: 100%;
    font-size: 1rem;
  }
}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Add these styles to your main stylesheet */
.color-swatch {
    display: inline-block;
    width: 25px; /* Define size */
    height: 25px; /* Define size */
    border-radius: 50%; /* Makes it a circle */
    margin: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.color-swatch.active {
    border-color: #ffcc00; /* Highlight the selected color */
    transform: scale(1.1);
}

/* For your static card display: */
.color-swatch-static {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 3px;
    border: 1px solid #555;
}

/* Add these styles to your main stylesheet */
.size-label {
    display: inline-block;
    padding: 5px 10px;
    margin: 5px;
    border: 1px solid #ccc; /* Visible border */
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    background-color: #444; /* Dark background for visibility */
    color: white;
}

.size-label.active {
    border-color: #ffcc00; /* Highlight the selected size */
    background-color: #ffcc00;
    color: #333; /* Dark text for contrast */
    font-weight: bold;
}

#zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Dark semi-transparent background */
    z-index: 9999; /* Ensure it's on top of everything */
    display: flex; /* Use flexbox to center the content */
    align-items: center;
    justify-content: center;
    cursor: zoom-out; /* Hint that clicking closes it */
    overflow: auto; /* IMPORTANT: Allows the overlay to scroll if the image is truly massive */
}

#zoom-content {
    /* Set padding around the image */
    padding: 20px; 
    /* The size constraints will now be strictly on the image */
}

#zoom-content img {
    /* These are the critical changes to keep the image within the viewport */
    max-width: 100vw; /* Maximum width is 100% of the viewport width */
    max-height: 100vh; /* Maximum height is 100% of the viewport height */
    width: auto; /* Maintain aspect ratio */
    height: auto; /* Maintain aspect ratio */
    display: block;
    margin: auto;
}

.variant-thumbnail{
width : 100px;
border-radius: 8px;
}

/*header .popular-movie-slider {gap: 15px !important;}*/

#load-more {
    display: block;
    margin: 30px auto;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    background: linear-gradient(135deg, #ee0979, #ff6a00);
}

#load-more:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}


/* Base: make colors and sizes display inline-flex to wrap nicely */
.feat-card-colors,
.feat-card-sizes {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 8px; /* spacing between rows */
}

.feat-card-colors span,
.feat-card-sizes span {
    margin-right: 6px;
    margin-bottom: 6px;
}

/* MOBILE: stack each section vertically */
@media (max-width: 576px) {
    .movie-btns {
        display: flex;
        flex-direction: column; /* stack children vertically */
    }
    .movie-btns .feat-card-colors,
    .movie-btns .feat-card-sizes {
        width: 100%;   /* take full width */
        order: unset;  /* ensure natural stacking */
    }
    .movie-btns p {
        width: 100%;
        margin-top: 10px;
    }
}


#cart-toggle {
    position: fixed;
    top: 50%;
    right: 0; /* flush on desktop */
    background: #ffcc00;
    padding: 10px;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    z-index: 9999;
    transform: translateY(-50%);
}



/* --- OPTION 1: MINIMALIST & INLINE STYLE --- 

.product-card .product-metrics {
    display: flex;
    justify-content: flex-start; 
    align-items: center;
    padding: 0;
    margin-top: 5px; 
    margin-bottom: 0;
    font-size: 13px; 
}


.product-card .views-display {
    color: #999; 
    margin-right: 15px; 
    border-right: 1px solid #333; 
    padding-right: 15px;
}

.product-card .views-display i {
    color: #999;
    margin-right: 4px;
}


.product-card .stars-display .fa {
    font-size: 13px;
    color: #ffcc00; 
}

*/


/* --- OPTION 2: FEATURED & SEPARATED STYLE --- */

.product-card .product-metrics {
    display: flex;
    justify-content: space-between; /* Pushes views left, stars right */
    align-items: center;
    
    /* Adds a full-width divider line for separation */
    border-top: 1px solid rgba(255, 255, 255, 0.15); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.15); 
    padding: 10px; /* Plenty of vertical padding */
    margin: 10px 0; /* Vertical spacing */
    font-weight: 500;
}

.product-card .views-display {
    color: #FFF; /* Use a brighter color for contrast */
    font-size: 14px;
}

.product-card .views-display i {
    color: #ffcc00; /* Use the accent color on the icon */
    margin-right: 6px;
}

/* Ensure stars are prominent */
.product-card .stars-display .fa {
    font-size: 15px; /* Slightly larger stars for emphasis */
    color: #ffcc00;
}

p #view-product-btn:hover{

    background: white !important;
    color: black !important;
    
}
/* Styling for the main list container */
#review-list-container {
    padding: 20px;
    background-color: #ccc; /* Very light background for the section */
}

/* Styling for each individual review item (the "Light Card") */
.review-item {
    background-color: #ffffff; /* Clean white background for the card */
    border-radius: 8px; 
    margin-bottom: 25px !important; 
    padding: 25px !important; 
    border: 1px solid #e9ecef; /* Subtle light border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Light, crisp shadow */
    transition: box-shadow 0.3s ease;
}

/* Hover effect */
.review-item:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); /* Shadow deepens slightly on hover */
}

/* --- Avatar Spacing Fix --- */
/* Target the avatar image and ensure good spacing */
.review-item img.rounded-circle {
    margin-right: 18px !important; /* Clear spacing */
    border: 2px solid #ffc107; /* Give the avatar a vibrant accent ring */
}

/* Enhancing the reviewer name */
.review-item h5 {
    color: #212529; /* Dark text for high contrast */
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 3px !important;
}

/* Customizing the date/time element */
.review-item small.text-muted {
    font-size: 0.8rem;
    color: #6c757d !important; /* Standard muted text color */
}

/* Styling the rating stars */
.review-item .rating .checked {
    color: #ffc107 !important; /* Keep the strong, vibrant accent color (Gold/Yellow) */
}

/* Styling the review text */
.review-item p {
    color: #495057; /* Standard body text color */
    line-height: 1.6;
    margin-top: 15px; 
    border-top: 1px solid #f0f0f0; /* Very light line separator */
    padding-top: 15px;
}