

@media (max-width: 768px) {
    .carousel {
        gap: 0;
    }

    .slide {
        min-width: 100%; /* Full width for mobile */
    }

    .nav-button {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}   

.slideimg img {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.slideimg:hover img {
    transform: scale(1.05);
}

.product-info {
    margin-top: 10px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-id {
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
}

.price {
    color: #0066cc;
    font-weight: bold;
    font-size: 1.2em;
}

.color-options {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin: 8px 0;
    flex-wrap: wrap;
}

.color-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #eee;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.color-dot:hover {
    transform: scale(1.1);
    border-color: #999;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: all 0.3s ease;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.nav-button:hover {
    background: #f8f8f8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
    .slide {
        min-width: calc((100% - 30px) / 3);
        min-height: 280px;
    }
}

@media (max-width: 992px) {
    .carousel-container {
        width: 90%;
        padding: 0 35px;
    }
    
    .slide {
        min-width: calc((100% - 15px) / 2);
        min-height: 260px;
    }
}

@media (max-width: 768px) {
    .carousel-container {
        width: 85%;
        padding: 0 30px;
    }
    
    .slide {
        min-width: calc(100% - 30px); /* Fixed width calculation */
        margin: 0 15px; /* Added margin for centering */
        min-height: 240px;
        padding: 12px;
    }
    
    .slide img {
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        width: 82%;
        padding: 0 25px;
    }
    
    .slide {
        min-width: 100%; /* Full width for mobile */
        margin: 0; /* Remove margin */
        padding: 10px;
        min-height: 220px;
    }
    
    .slide img {
        max-width: 150px;
    }
    
    .product-info {
        gap: 6px;
    }
    
    .nav-button {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
}

/* Additional JavaScript support classes */
.carousel.dragging {
    cursor: grabbing;
    transition: none;
}

.slide.dragging {
    user-select: none;
}

/* Ensure smooth scrolling */
.carousel {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Hide scrollbar */
.carousel-container::-webkit-scrollbar {
    display: none;
}

/* Accessibility */
.nav-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.3);
}

/* Loading state */
.carousel.loading {
    opacity: 0.7;
    pointer-events: none;
}
















/* === Google Font Import - Poppins === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  margin: 20px 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.card::before {
  content: "";
  position: absolute;
  height: 40%;
  width: 100%;
  border-radius: 20px 20px 0 0;
}

.card .card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  position: relative;
  z-index: 100;
  
}

section .card .image {
  height: 320px;
  width: 320px;
  padding: 3px;
}

section .card .image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.card .media-icons {
  position: absolute;
  top: 10px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card .media-icons i {
  color: #fff;
  opacity: 0.6;
  margin-top: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.card .media-icons i:hover {
  opacity: 1;
}

.card .name-profession {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
  color: white;
}

.card .rating {
  display: flex;
  align-items: center;
  margin-top: 18px;
}

.card .rating i {
  font-size: 18px;
  margin: 0 2px;
  color: #ff6600;
}

.card .button {
  width: 100%;
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}

.card .button button {
  outline: none;
  border: none;
  color: #fff;
  padding: 8px 22px;
  border-radius: 20px;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.button button:hover {
  background: #ff6600;
}

.swiper-pagination {
  position: absolute;

}

.swiper-pagination-bullet {
  height: 7px;
  width: 26px;
  border-radius: 25px;
  background: #ff6600;
  
}/* Apply flexbox to center the arrows vertically */
/* Apply flexbox to center the arrows vertically */

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);
    background-color: #ff6600;

}
.swiper-container {
    display: flex;
    align-items: center; /* Center items vertically */
    position: relative;
    z-index: 0; /* Set the base z-index */
}
  
  /* Centered arrows for all screen sizes */
  .swiper-button-next,
.swiper-button-prev {
    color: #ff6600;
    font-size: 20px;
    opacity: 0.7;
    position: absolute;
    transition: opacity 0.3s;
    z-index: 2; /* Increase z-index to ensure arrows appear on top */
    top: 50%; /* Position at the vertical center */
    transform: translateY(-50%); /* Adjust to center precisely */
}
  
  /* Styling the arrow icons */
  .swiper-button-next::after,
  .swiper-button-prev::after {
    color: #ff6600;
    font-size: 20px;
    opacity: 0.7;
    
    transition: opacity 0.3s;

  }
  
  /* Position the arrows on either side */
  .swiper-button-next {
    right: 10px; /* Align to the right of the container */
  }
  
  .swiper-button-prev {
    left: 10px; /* Align to the left of the container */
  }
  
  /* Hover effect to make arrows more visible */
  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    opacity: 1;
  }
  
  /* Ensure the arrows are displayed on smaller screens as well */
  @media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
      display: block;
    }
  
  }  


  /* Position the arrows on either side */
  .swiper-button-next {
    right: 10px; /* Align to the right of the container */
  }
  
  .swiper-button-prev {
    left: 10px; /* Align to the left of the container */
  }
  
  /* Hover effect to make arrows more visible */
  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    opacity: 1;
  }
 
@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
      display: block;
      opacity: 1;
    }

    .barmobile button {
        margin-right: 5px;
        font-weight: bold;
    }

    .search-barmobile input {
        padding: 6px;
        font-size: 14px;
    }

    .search-barmobile .search button {
        padding: 6px 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .search-barmobile input {
        padding: 5px;
        font-size: 14px;
    }

    .search-barmobile .search button {
        padding: 5px 8px;
        font-size: 12px;
        margin-left: -15px;
    }
}


  /* Ensure the arrows are displayed on smaller screens as well */
  @media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
      display: block;
      opacity: 1;
    }

    .barmobile button{
        margin-right: 5px;
        font-weight: bold;
    }
  }
    
/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  
  .swiper-button-next,
  .swiper-button-prev {
    display: block;
  }
}
@media (min-width: 769px) and (max-width: 1023px){
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
     margin-top: 170px;
     
    }     
    .swiper-pagination{
        margin-top: 90px;
        
    }
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap');

.heading-container {
    text-align: center;
    margin: 20px; /* Add some spacing for better presentation */
}

.metal-heading {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5em;
  color: #333;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;

}
