html,body{
  overflow-x: hidden;
}

.home-content {
    flex: 1 1 auto;
    margin-left: 235px;
    transition: margin-left 0.3s ease;
    min-width: 0;
    min-height: 100vh;
    box-sizing: border-box;
    padding-top: 7rem;
}
#sidebarCol, #mainCol {
    transition: flex-basis .25s ease, max-width .25s ease;
}
.hpgrid {
  width: 100%;
  min-height: 100vh;
  position: relative;
  background-color: white;
}
h2{
  font-size: x-large;
}
.layout-container {
  display: flex;
  flex-wrap: nowrap;
}
@media screen and (min-width: 753px) and (max-width: 1047px) {
  .home-content {
    flex: 1 1 auto;
    margin-left: 199px;
    transition: margin-left 0.3s 
ease;
    min-width: 0;
    min-height: 100vh;
    box-sizing: border-box;
}
}

/* //////////////////////////////////////////////////////////////////////////// */
/* carousel */
.custom-carousel {
    position: relative;
    overflow: hidden;
    width: 98%;
    box-shadow: rgb(0 0 0 / 33%) 0px 5px 15px;
    border-radius: 12px;
    margin: auto;
    margin-top: 12px;
}

.carousel-wrapper {
  display: flex;
  transition: transform 1s ease-in-out;  
  width: 100%;
}
.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
 }
.carousel-slide img {
  height: auto;
  display: block;
  object-fit: cover;
  margin: auto;
}

.carousel-item.active {
  display: block;
  opacity: 1;
}
.custom-carousel {
    position: relative;
    overflow: hidden;
    /* width: 100%;  */
    box-shadow: rgb(0 0 0 / 33%) 0px 5px 15px;
    border-radius: 12px;
    margin: auto;
    margin-top: 12px;
}

.carousel-item {
    display: none;
    opacity: 0;
    width: 100%;
    transition: opacity 1s ease-in-out;
}

.carousel-item.active {
    display: block;
    opacity: 1;
}

.carousel-item img {
    width: 100%; 
    height: auto;
    display: block;
    object-fit: cover;
    margin: auto;
}
@media only screen and (max-width: 750px) {
  .carousel-item img {
    width: 100%; 
    height: auto;
    display: block;
    object-fit: cover;
    margin: auto;
}

}
/* ================================================================================================================== */
/* Intro section */
.info-section {
    background: #0e3b1f;
    padding-top: 23px;
    margin-top: 15px !important ;
    width: 99%;
    margin: auto;
    border-radius: 3PX;
}
.info-container {
  max-width: 1200px;
  margin: 0 auto;
}
.info-heading {
  font-size: x-large;
  color: white;
  text-align: center;
  text-transform: capitalize;
  position: relative;
}
.info-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  margin: 0.5rem auto 0;
  border-radius: 4px;
}
.info-main {
  display: flex;
  gap: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
/* Image container */
.info-image-wrapper {
  flex: 1 1 350px;
  text-align: center;
}
.info-image {
  max-width: 80%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  margin: auto;
}
.imgone{
    margin: auto;
}
/* Text content */
.info-text-wrapper {
  flex: 1 1 500px;
}

.info-text {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 30px;
    color: white;
    margin-bottom: 1rem;
    text-align: justify;
    padding: 2px 19px;
}
.info-text1 {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 13px;
    line-height: 30px;
    color: white;
    margin-bottom: 1rem;
    text-align: justify;
    padding: 2px 19px;
}

@media only screen and (max-width: 750px) {
    .infomain {
        grid-template-columns: auto;
        width: 90%;
        margin: auto;
    }
    .hedding {
      width: 90% !important;
    }
    .spinfo {
        text-align: justify;
        font-size: 15px;
        /* font-family: 'Times New Roman', Times, serif; */
        line-height: 25px;
        width: 97%;
        margin: auto;
        color: black;
    }
    .imgone{
    width: 64%;
    object-fit: cover;
    }
    .home-content {
    flex: 1 1 auto;
    margin-left: 0px;
    transition: margin-left 0.3s ease;
    min-width: 0;
    min-height: 100vh;
    box-sizing: border-box;
}
.footer{
  margin-left: 0px;
    left: 0;
    width: 100%;
}
    .review-stat-inside h1{
      margin: auto;
    }
    .p{
      text-align: center;
    }
}
@media (min-width: 751px) and (max-width: 1366px) {
    .spinfo {
        text-align: justify;
        font-size: 15px;
        /* font-family: 'Times New Roman', Times, serif; */
        line-height: 22px;
        padding-top: 12px;
    }
    .review-stat-inside h1{
      margin: auto;
    }
    .p{
      text-align: center;
    }
}

/* =============================================================================== */
/* product slider */
 
.product-slider {
  background-color: white;
}
.slider-container h2 {
    text-align: center;
    font-size: 24px;
    color: black;
    margin-bottom: 20px;
}

/* Slider track styling */
#productTrack {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    align-items: stretch;  
}

#productTrack::-webkit-scrollbar {
    display: none;
}
#productTrack {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Card styling */
.slider-link {
    text-decoration: none;
    color: inherit;
}

.slider-card {
    flex: 0 0 200px;
    display: flex;
    margin: auto;
}

.pro-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.slider-card:hover .pro-card {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.category-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.card-body {
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100% - 150px);  
}

.card-title {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #333;
}

.pro-btn {
    background-color: #166534;
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    border: none;
}

.pro-btn:hover {
    background-color: #14532d;
}

/* Navigation buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #3333338a;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    color: white;
}

.slider-nav.prev {
    left: 0px;
}

.slider-nav.next {
    right:0px;
}

.slider-nav:hover {
    background-color: #f0f0f0;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    .slider-card {
        flex: 0 0 180px;
        
    }
    /* .slider-card {
    flex: 0 0 calc(42% - 0px);
    box-sizing: border-box;
} */
}

@media screen and (max-width: 768px) {
    .slider-card {
        flex: 0 0 190px;
    }
    .hbody {
        margin-left: 0;
    }
    /* .slider-card {
    flex: 0 0 calc(42% - 0px);
    box-sizing: border-box;
} */
}

@media screen and (max-width: 480px) {
    .card-title {
        font-size: 0.9rem;
    }
    .pro-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    .slider-nav {
  position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    font-size: 1.5rem;
    padding: 2px 13px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    }
}
@media (max-width: 767.98px) {
    #mainCol {
        transition: flex-basis .25s 
ease, max-width .25s 
ease;
    }
}


/* ========================================================================================== */
/* agriclinic section design */
.agritech-section {
  padding: 20px 0;
  background-color: #fff;
}

.agritech-div {
  /* width: 97%; */
  margin: auto;
  position: relative;
}
.slider-container {
    width: 100%;
    max-width: 1200px;
    margin:auto;
    position: relative;
}
/* Section title */
.agritech-div .section-title {
    text-align: center;
    font-size: 24px;
    color: black;
}

/* Navigation buttons */
.agritech-div .scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    font-size: 1.5rem;
    padding: 2px 13px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
}

/* Previous button */
.agritech-div .prev-btn {
  left: 0;
}

/* Next button */
.agritech-div .next-btn {
  right: 0;
}

/* Keep button colors unchanged */
.agritech-div .scroll-btn {
  background-color: #0614076e;
  color: white;
}

.agritech-div .scroll-btn:hover {
  background-color: #0614076e;
}

/* Slider track */
.agritech-div .sp-slider-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 15px;
 
}

/* Hide scrollbar */
.agritech-div .sp-slider-track::-webkit-scrollbar {
  display: none;
}
.aagritech-div .sp-slider-track {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Each card with fixed width and height */
.agritech-div .sp-slider-card {
  flex: 0 0 200px; 
  height: 300px;  
}

.agritech-div .pro-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Discount badge */
.agritech-div .discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #bd0000;
  color: white;
  font-size: 0.8rem;
  padding: 3px 6px;
  border-radius: 4px;
}

/* Product image styling */
.agritech-div .card-img-top {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

/* Card body styling */
.agritech-div .card-body {
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 140px);
}

/* Product title */
/* .agritech-div .card-title {
  font-size: 1rem;
  color: #333;
  margin: 10px 0;
} */

/* Price box styling */
.agritech-div .price-box {
  margin-bottom: 10px;
  text-align: center;
}

.agritech-div .sale-price {
  font-weight: bold;
  color: #206b23;
  margin-right: 8px;
}

.agritech-div .original-price {
  color: #525252;
  font-size: 0.9rem;
}

/* View button */
.agritech-div .btn-view {
  background-color: #2a6d2c;
  color: white;
  padding: 6px 12px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  text-align: center;
}

.agritech-div .btn-view:hover {
  background-color: #45a049;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .agritech-div .sp-slider-card {
        flex: 0 0 189px;
        height: 265px;
  }

  .agritech-div .card-img-top {
    height: 100px;
  }

  .agritech-div .card-body {
    height: calc(100% - 100px);
  }
}

@media screen and (max-width: 480px) {
  .agritech-div .sp-slider-card {
        flex: 0 0 189px;
        height: 265px;
  }

  .agritech-div .card-img-top {
    height: 90px;
  }

  .agritech-div .card-body {
    height: calc(100% - 90px);
  }
}
/* Slider card container */
.agritech-div .sp-slider-card {
  flex: 0 0 220px;   /* consistent width for desktop */
  max-width: 220px;
  height: 340px;     /* consistent height for desktop */
  display: flex;
}

/* Card */
.agritech-div .pro-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

/* Product image always same height */
.agritech-div .card-img-top {
  width: 100%;
  height: 150px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Card body fills remaining space */
.agritech-div .card-body {
  flex: 1;
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Product title */
.agritech-div .card-title {
  font-size: 15px;
  color: #333;
  margin: 8px 0;
  line-height: 1.2em;
  height: 2.4em; /* two lines max */
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

/* Responsive cards */
@media screen and (max-width: 1024px) {
  .agritech-div .sp-slider-card {
    flex: 0 0 200px;
    max-width: 200px;
    height: 310px;
  }

  .agritech-div .card-img-top {
    height: 130px;
  }
}

@media screen and (max-width: 768px) {
  .agritech-div .sp-slider-card {
    flex: 0 0 180px;
    max-width: 180px;
    height: 280px;
  }

  .agritech-div .card-img-top {
    height: 110px;
  }
}

@media screen and (max-width: 480px) {
  .agritech-div .sp-slider-card {
    flex: 0 0 160px;
    max-width: 160px;
    height: 250px;
  }

  .agritech-div .card-img-top {
    height: 100px;
  }
}

/* ======================================== */

/* ============================================================================================= */
/* events */
/* Container */
.events {
  /* padding: 40px 0; */
  background-color: #f4f4f4;
}

.events .container {
  width: 95%;
  max-width: 1200px;
  margin: auto;
}

.events .heading {
  font-size: 25px;
  color: #333;
  text-align: center;
  margin-bottom: 30px;
}

/* Events track */
.events .events-track {
  display: inline-flex;      
  overflow-x: auto;
  scroll-behavior: smooth;
  white-space: nowrap;      
  padding-bottom: 10px;
}

.events .events-track::-webkit-scrollbar {
  display: none;
}
.events .events-track {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Event card styling */
.events .event-card {
  display: inline-block;   
  width: 250px;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  margin-right: 20px;     
}

.events .event-card:last-child {
  margin-right: 0;        
}

/* Hover effect */
.events .event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Card content */
.events .card-data {
  padding: 15px;
  text-align: left;
}

.events .card-title,
.events .card-title2 {
  font-size: 1.1rem;
  color: #2c3e50;
  margin-bottom: 10px;
  text-align: center;
}

.events .card-data p {
  font-size: 0.9rem;
  margin: 4px 0;
  color: #555;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
  .events .event-card {
    width: 200px;
  }
  
}

@media screen and (max-width: 768px) {
  .events .event-card {
    width: 180px;
  }
}

@media screen and (max-width: 480px) {
  .events .event-card {
    width: 150px;
  }

  .events .card-data {
    padding: 10px;
  }

  .events .card-title,
  .events .card-title2 {
    font-size: 1rem;
  }

  .events .card-data p {
    font-size: 0.8rem;
  }
}

/* ====================================================================================== */
/* brand collaboration */
.brands-section {
   background-color: white;
  box-shadow: rgba(99, 99, 99, 0.2) 7px 2px 8px 0px;
}

.brands-section .container {
  width: 95%;
  max-width: 1200px;
  margin: auto;
}

.brands-section .section-title {
  font-size:25px;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 20px;
}

.brands-section .category-block {
  margin-bottom: 40px;
}

.brands-section .category-title {
  font-size:17px;
  color: #166534;
  margin-bottom: 20px;
  text-align: center;
}

.brands-section .logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(121px, 1fr));
    gap: 1px;
}

.brands-section .logo-card {
  border-radius: 12px;
  padding: 5px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}


.brands-section .brand-logo {
    max-width: 77%;
    margin: auto;
    object-fit: contain;
}

/* Optional wrapper style if needed */
.brand-container {
  width: 80%;
  margin: auto;
  background: rgba(22, 101, 52, 0.13);
  border-radius: 1rem;
  border: 1px solid #ffea7c;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
  .brands-section .category-title {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 768px) {
  .brands-section .section-title {
    font-size: 1.5rem;
  }

  .brands-section .category-title {
    font-size: 1.2rem;
  }
  .brands-section .brand-logo {
    max-width: 70%;
    margin: auto;
}
}

@media screen and (max-width: 480px) {
  .brands-section .section-title {
    font-size: 1.3rem;
  }

  .brands-section .category-title {
    font-size: 1rem;
  }
}

/* ============================================================================================= */
/* reviews */
.reviews {
  width: 100%;
  margin: auto;
  background-image: linear-gradient(#010000, rgba(0, 0, 0, 0.3)), url('https://res.cloudinary.com/powertiller/image/upload/v1759298080/senwart-machinery-R9lcKihO3ho-unsplash_bqwcfz_1_kjkxof.webp');  background-size: cover;
  background-position: center;
  /* background-attachment: fixed; */
}

/* rating top part */
.rating {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

/* Review statistics */
.review-stat {
  /* font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; */
  flex-basis: 39%;
}

.review-stat-inside {
  display: flex;
  align-items: center;
  gap: 1em;
}

.review-stat-inside h1 i {
  color: #ffca28; /* star color */
}

.material-icons {
  margin-top: 4px;
  font-size: medium;
}

.review-stat p {
  color: white;
  margin: 0;
}

/* bars container */
.review-bar-div {
  flex-basis: 60%;
}

/* review bars */
.review-bar {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-bottom: 10px;
}

.review-bar p {
  width: 50px;
  margin: 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  color: white;
}

.rate-bar {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* individual bar track */
.filled-container {
  flex: 1;
  background-color: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  height: 12px;
  position: relative;
}
.review-stat-inside h1 {
  margin: auto;
  color:var(--bs-warning);
  font-weight: bold;
}
/* .filled-bar {
  height: 100%;
  background-color: #0b893b;
  width: 0;
  border-radius: 10px 0 0 10px;
} */

/* responsive layout */
@media screen and (max-width: 1024px) {
  .review-bar-div {
    flex-basis: 60%;
  }
}

@media screen and (max-width: 768px) {
  .rating {
    flex-direction: column;
    align-items: center;
  }

  .review-stat {
    margin-bottom: 0px;
  }
}

@media screen and (max-width: 480px) {
  .review-bar p {
    font-size: 0.8rem;
    width: 40px;
  }
}
.star {
  color: gold;
  font-size: 1.2em;
  margin-left: 4px;
  display: inline-block;
}

/* ================================================================================================== */
/* user review */
.user-review {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
}
.review-sec {
    display: grid;
    grid-template-columns: 0.2fr 2fr 1fr;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    background: linear-gradient(45deg, #daffe8, transparent);
}
.user-review i {
    color: var(--bs-yellow);
    font-size: 1em;
}
.review-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 6px;
    border-radius: 4px;
    border: none;
}
.date {
    /* font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; */
    font-size: 0.8em;
}
@media (max-width: 770px) {
    .rating {
        display: block;
        justify-content: center;
    }
    .user-review {
        display: block;
        grid-template-columns: 1fr 1fr;
        gap: 1em;
    }
    .review-stat {
      padding: 1em;
    }
    .review-sec {
      display: grid;
      grid-template-columns: 0.5fr 2fr 1fr;
    }
    .name-letter {
      padding: 0.2em 0.5em;
      font-size: 0.8em;
        }
}


.d-none {
  display: none !important;
}
.message-modal {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.alert {
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    font-size: 14px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.alert-success {
    background-color: #4CAF50;
}

.alert-error {
    background-color: #f44336;
}

.reviews-top-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.avg-rating {
  flex: 1;
  min-width: 120px;
}

.rating-bars {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.review-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filled-container {
  background: #e0e0e0;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
}

/* .filled-bar {
  background: #f4c150; 
  height: 100%;
} */

.top-user-reviews {
  flex: 2;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.user-review {
  background: #f0fff0;
  /* padding: 10px; */
  border-radius: 8px;
  flex: 1 1 200px; 
}

.name-letter {
  font-weight: bold;
  font-size: 1.2em;
  background-color: #4caf50;
  color: #fff;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.more-review.d-none {
  display: none;
}

.text-center {
  text-align: center;
}

.more-reviews-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}
/* ======================================== */
.reviews-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.rating-section {
  flex: 1 1 300px;
}

.user-reviews {
  width: 40%;
  margin-top: 30px;
  padding: 5px 13px;
}

.review-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 5px 0;
}

.filled-container {
  flex: 1;
  height: 8px;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
}

.filled-bar {
  height: 100%;
  background: #4CAF50;
  height: 100%;
  width: 0;
  border-radius: 10px 0 0 10px;
}

.user-reviews .r {
    background: #17673682;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: white;
}

.user-reviews .product {
  font-size: 0.85em;
  color:rgb(245, 209, 7);
  font-weight: bold;
}

.user-reviews .review-text {
  text-align: justify;
  font-size: 0.9em;
}

@media (max-width: 768px) {
  .reviews-wrapper {
    flex-direction: column;
  }
  .user-reviews {
  width: 100%;
  margin-top: 30px;
  padding: 5px 13px;
}
.reviews-wrapper {
    display: block;
    flex-wrap: wrap;
    gap: 10px;
}

}
/* ================================= */
.rating-section {
  padding: 20px;
  background: #11111100;
  color: white;
}

.slider-container .title {
  margin-bottom: 15px;
}

.review-stat {
  margin-bottom: 10px;
}

.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bar-fill {
  flex: 1;
  height: 10px;
  background: lightgray;
  position: relative;
  border-radius: 4px;
}

.bar-fill::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--fill, 0);
  background: green;
  border-radius: 4px;
}
#productTrack {
    display: flex;
    gap: 16px; /* use gap, not margin-right */
    overflow-x: auto;
}
.slider-card {
    /* flex: 0 0 calc(45% - 12px); 4 cards per row, adjust gap */
    box-sizing: border-box;
}
