.product-container {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr;
  gap: 30px;
  padding: 10px 10px;
  width: 100%;
}

 .image-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

 .main-image {
  width: 100%;           /* fixed width */
  height: 400px;          /* fixed height to make it always square */
  object-fit: cover;      /* crops image to fill box without stretching */
  border: 1px solid gray;
  border-radius: 20px;
  padding: 10px;
  display: block;
}


.zoom-hover {
  cursor: zoom-in;
}

 

a:hover .zoom-icon {
  opacity: 1;
}

/* Thumbnails slider */
.thumbnail-slider-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  overflow-x: auto; /* allows scrolling on mobile */
  gap: 8px;
  padding: 5px 0;
}

.thumbnail-wrapper {
  flex: 1 1 auto;
  overflow: hidden;
}

.thumbnail-track {
  display: flex;
  gap: 8px;
}

.thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid #ebebeb;
  cursor: pointer;
}

/* Slider buttons */
.slider-btn {
  background-color: #ededed;
  border: 1px solid #d4d2d2;
  cursor: pointer;
  font-size: 18px;
  padding: 5px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .thumbnail-slider-container {
  display: flex;
  align-items: center;
  width: 70%;
  max-width: 70%;
  overflow-x: auto; /* allows scrolling on mobile */
  gap: 8px;
  padding: 5px 0;
}
  .thumbnail {
    width: 60px;
    height: 60px;
      
  }

  .slider-btn {
    width: 25px;
    height: 25px;
    font-size: 16px;
  }

 .main-image {
  border-radius: 15px;
  padding: 5px;
  width: 100%;
  height: 300px; /* set the height you want */
  object-fit: cover; /* crop edges but keep ratio */
}
}

  
.insta-images-section {
    background-color: white;
    padding: 5px 5px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-top: 40px;
  width:100%;
  }

  .insta-images-section h2 {
    font-size: 12px;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
  }

  /* Gallery Layout */
  .insta-images-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .insta-image-item {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border: 2px solid #eee;
  }

  .insta-image-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 18px rgba(0, 0, 0, 0.15);
  }

  .insta-image-item a {
    display: block;
    text-decoration: none;
    color: inherit;
  }

  .insta-image-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
  }

  .insta-image-item img:hover {
    transform: scale(1.05);
  }

  .insta-image-text {
    margin-top: 12px;
    font-size: 14px;
    color: #555;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
  }

  .insta-image-item:hover .insta-image-text {
    color: #ff5722;
  }
.details-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.details-column h1 {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  
}

.stock-tag {
   
  color: white;
  width:7vw;
  font-size:12px;
  text-align:center;
  border-radius:9px;
  font-weight: bold;
  background:green
}

.model-number {
    font-size:13px;
    
}
 .stars {
  color: gold; /* Yellow stars */
}

.star {
  font-size: 16px; /* Adjust star size */
 
}

/* Optional: Add empty stars for ratings less than 5 */
.star-empty {
  color: #ccc; /* Gray color for empty stars */
}
.price-line {
  font-size: 17px;
}

.price-line .current-price {
  color: #000;
  font-weight: bold;
  margin-right: 10px;
}

.price-line .old-price {
  text-decoration: line-through;
  color: red;
}

 .product-color-label{
   color:black;
   font-weight: bold;
 }

 /* ---------- Color Buttons ---------- */
.product-color-selector {
  margin: 10px 0;
}
.color-option {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 8px;
  display: inline-block;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.color-option.active {
  border: 2px solid #5fa6ba; /* active highlight */
  transform: scale(1.1);
}
.color-option:hover {
  transform: scale(1.1);
}

/* ---------- Size Buttons ---------- */
.product-size-selector {
  margin: 15px 0;
}
.size-option {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 14px;
  margin-right: 8px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  min-width: 40px;
  text-align: center;
  display: inline-block;
}
.size-option.active {
  background-color: #5fa6ba;
  color: #fff;
  border-color: #5fa6ba;
}
.size-option:hover {
  background-color: #5fa6ba;
  color: #fff;
}



.main-product-image img {
  width: 100%; /* Adjust as necessary */
  max-width: 500px;
  margin-top: 20px;
}
 .para-desc {
    display: -webkit-box;
    -webkit-line-clamp: 4; /* show only 4 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
  }

  .para-desc.expanded {
    -webkit-line-clamp: unset;
    max-height: none;
  }

  .read-more-toggle {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    margin-top: 5px;
  }
 
.brand-logo {
  padding: 4px;
  border: 1px solid #000;
  display: inline-block;
  vertical-align: middle;
}

.brand-logo img {
  height: 30px;
  display: inline-block;
  vertical-align: middle;
}
.custom-product-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 5px 10px;
}

.quantity-selector button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.quantity-selector span {
  margin: 0 10px;
  font-weight: bold;
  min-width: 20px;
  text-align: center;
}

.wishlist-button {
      display: flex;
      align-items: center;
      gap: 6px;
      background: none;
      border: none;
      cursor: pointer;
      font-size: 14px;
      color: #636363;
    }
    .wishlist-button img {
      width: 20px;
      height: 20px;
    }
   .add-to-cart-wrapper, .whatsapp-wrapper {

        display: flex;
        justify-content: start; /* change to center or end if needed */
      }

      /* Add to Cart Button */
      .add-to-cart-btn {
        background-color: #42a3d4;
        color: white;
        border: none;
         padding:7px;
        font-size: 14px;
        width:100%;
        text-align:center;

        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        text-decoration: none; /* Remove underline for WhatsApp link */
      }
  .title-remove {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title-remove h3 {
  font-size: 16px;
  margin: 0;
}

.remove-icon {
  background: none;
  border: none;
  color: #888;
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
}

.remove-icon:hover {
  color: #d9534f;
}
  .quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 50%;
    background: #f9f9f9;
    font-size: 18px;
    cursor: pointer;
  }

  .cart-item-quantity {
    width: 50px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    height: 30px;
  }
  .btn-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-left: 6px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
       .whatsapp-btn {
        background-color: #25D366;
        color: white;
        border: none;
         padding:5px;
        font-size: 14px;
        width:100%;
        text-align:center;

        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        text-decoration: none; /* Remove underline for WhatsApp link */
      }

      /* Hover effects for both buttons */
      .whatsapp-btn:hover {
        background-color: #18b551;
      }
      .add-to-cart-btn:hover {
        background-color: #2f91c3;
      }

      /* Icons */
      .add-to-cart-btn i, .whatsapp-btn i {
        font-size: 18px;
      }
  .rep_detail{
         font-size:11px;
         color:red;
       }
     .rep_detail a.rep_link {
        text-decoration: none;
        color: #5e5e5e;
    }
    .express {
        display: flex;

        align-items: center; /* Vertically centers the content */
        border-style: solid;
        border-width: 1px;
        border-color: #666666;
        border-radius: 10px;
        font-size: 10px;
        padding: 2px;
        text-align: center;
        width:100%;
    }
       .express .express_text{


        font-size:14px;

      } 
      .express_img{
        width:80px;
      }
 .info-column {
  display: flex;
  flex-direction: column;
  gap: 0px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  transition: box-shadow 0.2s ease;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.05);
  height: 700px; /* Optional: makes it clear it’s content-dependent */
}
.info-column:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Slightly deeper shadow on hover */
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon img {
  width: 30px;
  height: auto;
  vertical-align: middle;
}

.info-text {
  display: flex;
  flex-direction: column;
}

.info-heading {
  font-size: 14px;
  font-weight: bold;
}

.info-description {
  font-size: 12px;
}
  .payment-section {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 10px;
}

.payment-title {
  font-size: 14px;
  font-weight: bold;
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap:7%;
}

.payment-icons img {
  width: 35px;
  height: auto;
}

   
.coupon-code-banner {
  background-color: #81ccae;
  border-radius:5px;
  color: white;
  padding: 1rem 0;
  text-align: center;
}

.coupon-code-banner .container {
  max-width: 200px; /* Decreased the max-width for a smaller container */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 10px;
  padding-right: 10px;
  gap: 10px; /* space between icon and text */
  flex-wrap: nowrap; /* prevent wrapping */
  white-space: nowrap; /* prevent line break */
  margin: 0 auto; /* Center the container horizontally */
}

.coupon-icon {
  font-size: 18px; /* Adjust the size of the icon */
  color: white;
}

.coupon-text {
  font-size: 12px; /* Adjust the text size */
  color: white;
}

.coupon-text a {
  margin-left: 8px;
  color: #fff;
  text-decoration: underline;
  font-weight: bold;
}

.coupon-text a:hover {
  text-decoration: none;
}

.customerservice {
  border-width: 1px;
  border-style: solid;
  border-color:#c7c9c8;
  padding: 5px;
  display: flex;
  flex-direction: column;
}


.inner-container {
  display: flex;
    padding:10px;
  font-size:9px;
  color:white;
  background-color:#81ccae;
  justify-content: space-between;
  margin-bottom: 10px;
}

.left-side {
  font-weight: bold;
  font-size:10px;
 float:left;
  width:40%;
  color:#d11002;
}
.left-side-container{
   font-weight: bold;
  font-size:9px;
  
 
  
}
.right-side {
  display: flex;
   float:right;
  font-weight: bold;
   font-size:10px;
   width:40%;
  color:#2ec704;
}

.green-dot {
  color: green;
  margin-right: 5px;
}

 

.customerservice-links {
  display: flex;
  gap: 10px;
}

.customerservice-chat-link {
  margin-left:10%;
    display: flex;
  align-items: center;
  text-decoration: none;
  color: #81ccae;
  font-size:10px;
}
  .customerservice-email-link {
    display: flex;
    margin-left:15%;
  align-items: center;
  text-decoration: none;
  color: #81ccae;
  font-size:10px;
}

.link .icon {
  margin-right: 5px;
}
 .delivery-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  margin: 20px 0;
  flex-wrap: nowrap;
}

/* Individual icon box */
.delivery-box {
  flex: 1;
  text-align: center;
}

/* Circle around icon */
.delivery-icon-circle {
  width: 40px;
  height: 40px;
 
  border-radius: 50%;
  background-color: #42a3d4;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Icon style */
.delivery-icon {
  font-size: 12px;
  color: white;
}

/* Text under icon */
.delivery-text {
  font-size: 10px;
  color: #42a3d4;
  margin: 0;
  line-height: 1.2;
}
hr {
  margin: 10px 0;
  border: 0;
  border-top: 1px solid #ccc;
}

 /* General layout and container styles */
 

.highlight-box, .spec-box {
  flex: 1;
  min-width: 320px;
   margin-top: -3%;
}

.highlight-box h2,
.spec-box h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #333;
  font-weight: bold;
  text-transform: uppercase;
}

/* Product Overview */
.product-overview h1 {
  font-size: 2rem;
  color: #333;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
}

.product-overview hr {
  width: 50%;
  margin: 0 auto;
  border: 0;
  border-top: 2px solid #333;
  margin-bottom: 2rem;
}

/* Highlight Content */
 /* General layout and container styles */
.highlight-spec-section {
  display: flex;
  flex-wrap: wrap;
  gap: 0rem;
  margin-top: 2rem;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  margin-top: -10px;
}

.overview-box {
  width: 100%;
  margin-bottom: 2rem;
}

.overview-box h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.overview-box hr {
  width: 50%;
  border: 0;
  border-top: 2px solid #333;
  margin: 0 auto 1.5rem;
}

/* Single container for both highlights and specifications */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
}

/* Highlight and Specifications Boxes */
/* Add padding to the container */
.highlight-spec-section {
  margin-left: 5%;
  margin-right: 5%;
}

/* Adjust individual boxes if needed */
.highlight-box, .spec-box {
  flex: 1;
  
  min-width: 300px;
  padding: 1.5rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Highlight Content */
.highlight-content {
  color: #555;
}

.highlight-content ul {
  padding-left: 20px;
}

.highlight-content li {
  list-style-type: disc;
  color: #555;
  margin-bottom: 10px;
}

/* Specification Table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table td {
  padding: 10px;
  vertical-align: top;
  font-size: 15px;
  color: #555;
}

.spec-table th {
  text-align: left;
  padding: 12px;
  color: #333;
}

.row-lightgray {
  background-color: #f9f9f9;
}

.row-white {
  background-color: #ffffff;
}

/* Remove table row hover effect */
 

/* Optional: Add a separator between specification rows */
.spec-table td {
  border-bottom: 1px solid #ddd;
}

    .rating-section {
    margin: 0px 0;
    padding: 0 20px;
  }

  .rating-container {
      position: relative;
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    gap: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-family: Arial, sans-serif;
    margin: 0 4%;
    flex-direction: column;
  }

  .rating-container h2 {
    font-size: 24px;
    margin-bottom: -2%;
    color: #333;
  }

  .rating-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    
  }

  .rating-column {
    flex: 1;
    min-width: 280px;
    padding: 10px 20px;
  }

  .rating-column:not(:last-child) {
    border-right: 1px solid #ddd;
  }

  /* Column 1: Overall Rating */
   
  .overall-rating h3 {
    margin-bottom:0px;
  }

  .overall-rating .score {
    font-size: 32px;
    font-weight: bold;
    margin: -10px 0;
  }

  .star-display {
    font-size: 20px;
    color: gold;
  }
.rating-breakdown {
  margin-left: -10px;
 
  
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: #444;
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: 10px;
 
}

.rating-bar span:first-child {
  width: 35px;
  text-align: right;
   
}

.bar-bg {
  background: #e0e0e0;
  height: 8px;
  width: 90%;
  max-width: 70%;
  border-radius: 5px;
  overflow: hidden;
    
}

.bar-fill {
  background: #f8b400;
  height: 100%;
  width: 0%;
  transition: width 0.4s ease;
}
  /* Column 2: User Reviews */
  .user-review {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: flex-start;
  }

  .user-avatar {
  width: 40px;
  height: 40px;
  border: 1px solid #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 18px;
  flex-shrink: 0;
}

  .review-content .username {
    font-weight: bold;
    font-size: 14px;
  }

  .review-content .comment {
    font-size: 14px;
    margin: 5px 0;
  }

  .review-stars {
    color: gold;
    font-size: 14px;
  }
#load-more {
  margin-left: 2px;
  display: block;
  padding: 8px 16px;
  background-color: white;
  border: 1px solid #007bff;
  color: #007bff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  width:20%;
  position: absolute;
  bottom: 12px;
 
 
  padding: 10px;
  text-align: center;
}

#load-more:hover {
  background-color: white;
  border-color: #0056b3;
  color: #0056b3;
}
  /* Column 3: Add Review */
  .add-review h3 {
    margin-bottom: 10px;
  }

  .add-review small {
    display: block;
    margin-bottom: 10px;
    color: #777;
  }

.star-input {
  display: flex;
 
  flex-direction: row-reverse; /* needed for hover logic */
  justify-content: flex-end; /* ensures it's left-aligned */
  gap: 4px;
  margin-bottom: 10px;
  font-size: 25px;
  color: #ccc;
  cursor: pointer;
}

.star-input input {
  display: none;
}

.star-input label {
  transition: color 0.2s;
}

/* Hover logic */
.star-input label:hover,
.star-input label:hover ~ label {
  color: gold;
}
.success-message {
    margin-top: 15px;
    padding: 5px 5px;
    background-color:#81ccae;
    color:white;
    border: 1px solid #b2dfdb;
    border-radius: 8px;
    font-size: 12px;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Checked logic */
.star-input input:checked ~ label {
  color: gold;
}


  .add-review input,
  .add-review textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
  }

  .add-review button {
    background-color: #42a3d4;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
  }

  .add-review button:hover {
    background-color:#2f91c3;
  }
   
/* Responsive adjustments */
@media (max-width: 768px) {
  .highlight-spec-section {
    flex-direction: column;
  }

  .highlight-box, .spec-box {
    min-width: 100%;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .highlight-spec-section {
    flex-direction: column;
  }

  .highlight-box, .spec-box {
    min-width: 100%;
  }
}


@media screen and (max-width: 900px) {
  .product-container {
    grid-template-columns: 1fr;
  }
}
  