/* Featured Product Container */
* {
  font-family: "Montserrat", sans-serif !important;
  /* margin: 0;
        background-color: #fafafa;
        color: #222; */
}

p {
  margin: 0px !important;
}
.page-contents {
  margin-bottom: 500px;
}

.featured_product_conatiner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
  border: 0px solid black;
  gap: 2%;
  margin-top: 5%;
  margin-bottom: 3%;
}

/* Product Header */

.product_header {
  width: 86%;
  /* background-color: red; */
  font-size: 2.5rem;
  /* font-family: "Ysabeau Office", serif; */
  font-weight: bold;
  margin-bottom: 20px;
  color: #1a181e;
  text-align: left;
  border: 0px solid red;
  text-align: center;
}

/* Product Slider */

.product_slider {
  width: 86%;
  position: relative;
  overflow: hidden;
  /* Hides content outside the visible area */
  border: 0px solid #ddd;
}

/* Carousel Container */

.carousel-container {
  display: flex;
  transition: transform 0.3s ease-in-out;
  gap: 30px;
}

/* Product Card */

.product-card {
  flex: 0 0 calc(39.33% - 20px);
  /* 3 cards per slide */
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-align: center;
  box-sizing: border-box;
}

.product-card img {
  width: 100%;
  height: auto;
}

.product-name {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;

  /* font-family: "Ysabeau Office", serif; */
  font-weight: bold;
  border: 0px solid black;
  text-align: left;
  padding: 10px;
}

.product-price {
  font-size: 1rem;
  color: #333;
  margin-bottom: 15px;
}

.link {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  /* font-family: "Ysabeau Office", serif; */
  color: #1a181e;
}

.link:hover {
  text-decoration: none;
  /* color: #007bff; */
}

.add-to-cart {
  background-color: white;
  border: 2px solid #1a181e;
  color: #1a181e;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  /* font-family: "Ysabeau Office", serif; */
  font-optical-sizing: auto;
  font-weight: bolder;
  width: 200px;
  text-align: center;
  padding: 5%;
  float: left;
  margin-top: -15%;
  border-radius: 0px;
}

.add-to-cart-button {
  float: left;
}

.custom-width {
  width: 90%;
  margin-left: 5%;
}

.price-add {
  border: 0px solid black;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  margin-top: -5%;
}

.product-price {
  border: 0px solid red;
  width: auto;
  text-align: left;
  font-size: 2rem;
}

.add-cart {
  border: 0px solid red;
  width: auto;
  text-align: right;
}

.add-cart a:hover {
  text-decoration: none;
  color: #1a181e;
}

/* Slider Buttons */

.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #efefef;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 2%;
  display: flex;
  justify-content: felex-end;
  z-index: 100;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
    rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

#prevSlide {
  left: -25px;
}

#nextSlide {
  right: -25px;
}

/* Responsive Design */

@media (max-width: 768px) {
  .product_slider {
    overflow: scroll;
  }
  .product-card {
    flex: 0 0 100%;
    /* 1 card per slide on smaller screens */
  }
  .product_header {
    font-size: 1.8rem;
  }
  .slider-button {
    font-size: 18px;
    padding: 8px;
    display: none;
  }
}

/*category nav*/

.category_container {
  border: 0px solid black;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 200px;
  background-color: white;
}

.category_slider::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

.category_item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-width: 160px;
  text-align: center;
  border-radius: 4px;
  transition: background-color 0.3s;
  height: 180px;
  border: 0px solid #efefef;
}

.category_img {
  width: 145px;
  height: 140px;
  border: 1px solid #efefef;
  border-radius: 50%;
}

.category_img img {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  transition: transform 0.3s ease;
}

.category_img img:hover {
  /* transform: scale(1.03); */
  /* Scale the image by 1.2 times */
}

.category_name {
  width: 100%;
}

.category_name a {
  /* font-family: "Ysabeau Office", serif; */
  font-optical-sizing: auto;
  font-style: normal;
  background: transparent;
  color: #1a181e;
  font-size: 1.4rem;
  font-weight: 600;
}

.category_name a:hover {
  text-decoration: none;
}

.subcategory_list {
  display: none;
  /* Optionally hide subcategories for slider */
}
.category_slider {
  /* padding: 10px; */
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  /* padding: 10px 0; */
  width: 100%;
  scrollbar-width: none;
  /* Firefox */
  box-sizing: border-box;
  /* gap: 1%; */
  border: 0px solid red;
  height: 200px;
}

.slider-nav {
  top: 50%;
  /* margin-right: 80px; */
  background: #efefef;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  /* top: 40%; */
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.6%;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.left-nav {
  left: 38px;
  top: -10px;
  position: relative;
}

.right-nav {
  right: 39px;
  top: -10px;
  position: relative;
}

.cat_header {
  padding-top: 20px;
  padding-bottom: 5px;
  /* padding: 0 10px; */
  /* top-bottom 0, left-right 20px */

  font-size: 2.5rem;
  /* font-family: "Ysabeau Office", serif; */
  font-optical-sizing: auto;
  /* color: #4715ab; */
  font-style: normal;
  text-align: center;
  border-bottom: 1px solid #efefef;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-left: 1%; */
  margin-right: 0%;
}

.cat_header a {
  color: black;
  font-size: 2rem;
  text-align: center;
  font-weight: 500;
  margin-bottom: 10px;
}
.category_header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1%;
  margin-bottom: 1%;
}

.line {
  flex-grow: 1;
  height: 2px;
  background-color: #1a181e;
  border: none;
}

/* Responsive adjustments */

@media screen and (max-width: 768px) {
  .cat_header {
    font-size: 1.8rem;
  }
  .line {
    width: 20%;
  }
}

@media screen and (max-width: 480px) {
  .cat_header {
    font-size: 1.2rem;
  }
  .line {
    width: 15%;
  }
}

@media (max-width: 1280px) {
  .slider-nav {
    display: none;
  }
}

/* Main Product Container */

.product-container {
  width: 90%;
  margin: 0 auto;
}

/* Category Section */

.category-section {
  margin-bottom: 40px;
}

/* Category Header */

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.category-header h2 {
  font-size: 24px;
  margin: 0;
}

.category-header .view-all {
  text-decoration: none;
  /* color: #007bff; */
}

.category-products {
  width: 100%;
  margin: 0px auto;

  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
  border: 0px solid black;
  overflow: hidden;
}

.category-product-slider {
  width: 86%;
  position: relative;
  overflow: scroll;
  /* Hides content outside the visible area */
  border: 1px solid #ddd;
  display: flex;
  transition: transform 0.3s ease-in-out;
  gap: 30px;
  justify-content: space-between;
}

.category-product-card {
  /* width: 210px; */
  width: 100%;
  /* 3 cards per slide */
  background: #fff;
  border: 0px solid #ddd;
  border-radius: 1px;
  text-align: center;
  justify-content: center;
  box-sizing: border-box;
  /* width: calc(70% - 12px); */
}

@media (max-width: 500px) {
  .category-product-card {
    /* width: 140px !important; */
  }
}

.category-product-card img {
  /* width: 100%;
  height: 180px;
  object-fit: cover;
  
  /* border-radius: 10px; */
  /* margin-bottom: 5px; */
  /* padding-bottom: 5px; */
}

.category-product-card img:hover {
  /* transform: scale(1.05); */
}

.product a:hover {
  text-decoration: none;
}

.category-product-name {
  font-family: "Montserrat", sans-serif !important;

  font-size: 1rem;
  margin-top: 10px !important ;
  margin-bottom: 2px;
  /* font-family: "Ysabeau Office", serif; */
  border: 0px solid black;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  max-height: 60px;
}
@media (max-width: 500px) {
  .category-product-name {
    margin-bottom: 3px;
  }
}
/* .price-addtocart {
  border: 1px solid black;
  display: flex;
  text-align: center;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  padding: 10px;
  margin-top: 0%;
  gap: -5px;
  align-items: flex-start;
} */

/* 
.addto-cart {
  border: 2px solid #1a181e;
  width: 180px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0%;
}

.addto-cart a:hover {
  text-decoration: none;
  color: #1a181e;
}

.add-tocart {
  background-color: white;
  color: #1a181e;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  font-size: 2rem;
  font-family: "Ysabeau Office", serif;
  font-weight: bold;
} */

@media (max-width: 768px) {
  .category-product-slider {
    overflow: scroll;
  }
  /* .category-product-card { */
  /* flex: 0 0 100%; */
  /* 1 card per slide on smaller screens */
  /* } */

  .category_header {
    font-size: 1.8rem;
  }
  .slider-button {
    font-size: 18px;
    padding: 8px;
    display: none;
  }
  .cat_header {
    font-size: 1.7rem;
  }
}

/*gallary start*/

/* General Reset */

/* Import Google font - Poppins */

/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap'); */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family: "Poppins", sans-serif; */
}

/* Gallery Section */

.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery .images {
  gap: 10px;
  max-width: 95%;
  margin-top: 40px;
  columns: 5 340px;
  list-style: none;
}

.gallery .images .card {
  display: flex;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px,
    rgba(0, 0, 0, 0.05) 0px 5px 10px;
}

.gallery .images img {
  width: 100%;
  z-index: 2;
  position: relative;
}

.images .details {
  position: absolute;
  z-index: 4;
  width: 100%;
  bottom: -100px;
  display: flex;
  align-items: center;
  padding: 15px 20px;
  justify-content: space-between;
  transition: bottom 0.1s ease;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.images li:hover .details {
  bottom: 0;
}

.photographer {
  color: #fff;
  display: flex;
  align-items: center;
}

.photographer i {
  font-size: 1.4rem;
  margin-right: 10px;
}

.photographer span {
  font-size: 1.05rem;
}

button,
i {
  outline: none;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.2s ease;
}

.details button {
  background: #fff;
  font-size: 1.1rem;
  padding: 3px 8px;
}

.details .download-btn:hover {
  background: #f2f2f2;
}

.gallery .load-more {
  color: #fff;
  background: #8a6cff;
  margin: 50px 0;
  font-size: 1.2rem;
  padding: 12px 27px;
}

.gallery .load-more.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.gallery .load-more:hover {
  background: #704dff;
}

/* Lightbox Section */

.gallery {
  margin-top: 3%;
}

.lightbox {
  z-index: 5;
  position: fixed;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.65);
}

.lightbox.show {
  visibility: visible;
}

.lightbox .wrapper {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 100%;
  padding: 20px;
  max-width: 850px;
  background: #fff;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
  transition: transform 0.1s ease;
}

.lightbox.show .wrapper {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.wrapper header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .photographer {
  color: #333;
}

header .photographer i {
  font-size: 1.7rem;
  cursor: auto;
}

header .photographer span {
  font-size: 1.2rem;
}

header .buttons i {
  height: 40px;
  width: 40px;
  display: inline-block;
  color: #fff;
  font-size: 1.2rem;
  line-height: 40px;
  text-align: center;
  background: #8a6cff;
  border-radius: 4px;
  transition: 0.2s ease;
}

header .buttons i:first-child:hover {
  background: #704dff;
}

header .buttons i:last-child {
  margin-left: 10px;
  font-size: 1.25rem;
  background: #6c757d;
}

header .buttons i:last-child:hover {
  background: #5f666d;
}

.wrapper .preview-img {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.preview-img .img {
  max-height: 65vh;
}

.preview-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media screen and (max-width: 788px) {
  .lightbox .wrapper {
    padding: 12px;
    max-width: calc(100% - 26px);
  }
  .wrapper .preview-img {
    margin-top: 15px;
  }
  header .buttons i:last-child {
    margin-left: 7px;
  }
  header .photographer span {
    font-size: 1.1rem;
  }
  .gallery .images {
    max-width: 100%;
    padding: 0 13px;
    margin-top: 20px;
  }
  .images .details {
    bottom: 0px;
  }
  .gallery .load-more {
    padding: 10px 25px;
    font-size: 1.05rem;
  }
}

/*gallary end*/

/*banner container*/

.lg_banner-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 5%;
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

/* .banner-container {
    padding: 5px 6px; 
    /* background-color: #f9f9f9; 
    box-sizing: border-box; 
}

.banner-container img {
    width: 100%;
    height: auto;
    border-radius: 8px; 
}


   .banner-slider {
    display: flex;
    
} 
*/
.banner-container img {
  /* max-width: 1250px; */

  width: 100vw !important;

  height: 85vh !important;
  object-fit: cover !important;
  display: block;
  overflow: hidden !important;
  /* max-width: 1420px !important; */
}
.banner-container {
  /* margin-left: 20px; */
  width: 100vw !important;
  /* Full viewport width */
  height: 85vh !important;

  /* max-width: 100vw !important; */
  flex: 0 0 100vw !important; /* For flexbox layouts */
  /* height: 600px !important; */
  overflow: hidden !important;
}
.banner-slider {
  height: 85vh !important;

  width: 100vw !important;
  /* Full viewport width */
  /* max-width: 100vw !important; */
  flex: 0 0 100vw !important; /* For flexbox layouts */

  /* height: 600px; */
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.banner-item {
  width: 100vw !important; /* Full viewport width */
  max-width: 100vw !important;
  flex: 0 0 100vw !important; /* For flexbox layouts */
  flex: 0 0 calc(50% - 5px);
  box-sizing: border-box;
}

.banner-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  /* border-radius: 8px; */
}

.banner-slide {
  min-width: 100%;
  box-sizing: border-box;
}

.banner-image {
  display: block;
  width: 100%;
  height: auto;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
  z-index: 1000;
}

.left-btn {
  left: 10px;
}

.right-btn {
  right: 10px;
}

.slider-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.Gallery_container {
  border: px solid black;
  margin-top: 2%;
  margin-bottom: 2%;
}

.rowClass {
  display: -ms-flexbox;
  /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap;
  /* IE10 */
  flex-wrap: wrap;
  padding: 0 4px;
}

.columnClass {
  -ms-flex: 25%;
  /* IE10 */
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.columnClass img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

/* Responsive layout - makes a two-column layout instead of four columns */

@media screen and (max-width: 800px) {
  .columnClass {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }
}

@media screen and (max-width: 1024px) {
  .banner-container img {
    object-fit: contain !important;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */

@media screen and (max-width: 600px) {
  .columnClass {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }
}

@media only screen and (max-width: 480px) {
  .banner-container {
    padding: 0 !important;
    margin: 0 !important;
    height: 250px !important;
  }

  .banner-container img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .banner-slider {
    height: 250px !important;
  }

  .banner-item {
    width: 100%;
  }

  .banner-image {
    width: 100%;
    aspect-ratio: 16 / 9; /* Or whatever matches your banner shape */
    background-repeat: no-repeat;
    background-size: contain; /* keeps full image visible */
    background-position: center;
    background-color: #f4f4f4; /* fill color instead of white gap */
  }
}

/* For tablets */

@media screen and (max-width: 768px) {
  .lg_banner-container {
    height: 400px;
  }

  .banner-container img {
    object-fit: contain !important;
  }
}

/* For mobile phones */

@media screen and (max-width: 480px) {
  .lg_banner-container {
    height: 400px;
  }
  .banner-container img {
    object-fit: contain !important;
  }
}

/* Banner Container */

.banner-container {
  width: 100% !important;
  overflow: hidden;
  /* margin: 20px auto; */
  border: 0px solid black;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Banner Slider */

.banner-slider {
  display: flex;
  overflow-x: auto;
  gap: 2%;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* Hides scrollbar for Firefox */
  -ms-overflow-style: none;
  /* Hides scrollbar for IE/Edge */
  border: 0px solid red;
  width: 100%;
  justify-content: flex-start;
}

.banner-slider::-webkit-scrollbar {
  display: none;
  /* Hides scrollbar for WebKit browsers */
}

/* Individual Banner Items */

.banner-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  /* width: calc(100% / 4 - 10px); */
  /* Adjust for 4 banners in a row */
  /* max-width: 350px; */
  border: 0px solid black;
  height: 170px;
  object-fit: cover;
}

.banner-item img {
  width: 350px;
  border-radius: 5px;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.banner-item:hover img {
  /* transform: scale(1.04); */
  /* Scale the image by 1.2 times */
}

/* Responsive Design for Smaller Screens */

@media (max-width: 768px) {
  .banner-item {
    width: 100%;
    /* Wider for easier scrolling on small screens */
  }
  .category_slider {
    height: 150px;
  }
  .category_item {
    min-width: 120px;
    height: 140px;
    transition: all 0.3s ease;
  }
  .category_item:hover {
    transform: scale(1.01);
  }
  .category_img {
    width: 105px;
    height: 100px;
  }
  .category_img img {
    width: 102px;
    height: 97px;
  }
  .category-product-card img {
    width: 100%;
    /* height: 160px; */
  }
  .category-products {
    width: 95%;
    margin-left: 2.5%;
    /* background-color: yellow; */
    /* border: 1px solid black; */
  }
  .out_of_stock {
    font-size: 12px;
  }

  .category-product-name a {
    font-size: 10px !important;
    font-weight: 500;
  }
}
.out_of_stock {
  text-align: start;
  font-size: 12px !important;
}
