body {
  margin: 0;
  /* top: -10rem; */
  /* width: 100%; */
  width: 100vw;
  position: absolute;
}
.catimg .cat-text {
  margin: 0;
  padding: 1rem;
  border-radius: 0 0 10px 10px;
  color: white;
  font-size: 2rem;
  background-color: #78362a;
  margin-top: -1rem;
}
::-webkit-scrollbar {
  display: none;
}
/* Slideshow container Starts */
.slideshow-top {
  width: 100vw;
  position: relative;
  margin: auto;
}

.topSlides {
  position: relative;
}

.insta {
    position: absolute;
    bottom: 0px;
    right: 16px;
    top: 120px;
}

.insta a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #f09433;
  background-image: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  border-radius: 50%;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: white;
}

.slideshow-top .prev,
.slideshow-top .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  /* transition: 0.6s ease;
  border-radius: 0 3px 3px 0; */
  /* user-select: none; */
  background-color: transparent;
}

.slideshow-top .next {
  right: 0;
  border-radius: 3px 0 0 3px;
  background-color: transparent;
}

.slideshow-top .prev {
  left: 0;
  background-color: transparent;
}

/* .topSlides img {
  height: 100vh;
} */

.dot1 {
  cursor: pointer;
  max-width: 10px;
  max-height: 10px;
  height: 2vw;
  width: 2vw;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot1:hover {
  background-color: #717171;
}

.slideshow-top .fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* Slides ends */
.dot1 {
  cursor: pointer;
  max-width: 10px;
  max-height: 10px;
  height: 2vw;
  width: 2vw;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot1:hover {
  background-color: #717171;
}

.slideshow-top .fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* Testimonial Starts */
.fulltesti {
  width: 100%;
  background-color: #78362a;
  padding: 15px 0;
  margin-top: 1rem;
  position: relative;
  /* overflow: visible; */
}

.fulltesti h1 {
  text-align: center;
  color: white;
  font-size: 2.5rem;
  font-weight: 800;
  margin:0rem;
  letter-spacing: 1px;
}

.testimonials {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 0px 10px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.testimonials::-webkit-scrollbar {
  display: block;
  
}
.testimonials::-webkit-scrollbar {
  height: 7px;
  
}

.testimonials::-webkit-scrollbar-track {
  background: #f1f1f1; 
  border-radius: 10px;
}

.testimonials::-webkit-scrollbar-thumb {
  background: #c0c0c0; 
  border-radius: 10px;
}

.testimonials::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0;
}

.revcard {
  display: flex;
  flex-shrink: 0;
  align-items: flex-start;
  width: 300px;
  height: 200px;
  background-color: white;
  border-radius: 1rem;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  /* scroll-snap-align: center; */
  /* overflow: visible; */
}

.revcard:hover {
  transform: scale(1.05) translateZ(50px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  z-index: 1;
  /* overflow: visible; */
}

.rev-img {
  width: 100%;
  display: flex;
  /* justify-content: center;
  align-items: center; */
  padding: 0; /* Remove padding to ensure full width and height */
}

.rev-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the entire container */
  /* Maintain image quality and prevent distortion */
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
}

.revcont {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* padding: 15px; */
  text-align: left;
  
}

.revcont h2 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
  font-weight: 700;
  
}

.revcont p {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

/* Larger Screens */

@media (min-width: 1024px) {
  .testimonials {
    width: 100vw;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    overflow-x: scroll;
    padding: 1%;
    /* overflow: visible; */
    
  }

  .revcard {
    width: 35%;
    height: 250px;
    flex-direction: row;
  }

  .rev-img {
    width: 55%;
  }

  .rev-img img {
    max-width: auto;
    height: 25rem;
  }

  .revcont {
    width: 50%;
    text-align: left;
  }

  .revcont h2 {
    font-size: 1.5rem;
  }

  .revcont p {
    font-size: 1.1rem;
  }
}

/* Tablet Screens */
@media (max-width: 784px) {
  .revcard {
    width: 50vw;
    height: 220px;
  }
  .rev-img {
    width: 50%;
  }

  .rev-img img {
    max-width: auto;
  }

  .revcont {
    width: 50%;
    text-align: left;
  }
  .occassionType {
    flex: 0 0 70%; /* Reduce size for mobile */
    max-width: 150px;
  }

  .revcont h2 {
    font-size: 1.3rem;
  }

  .revcont p {
    font-size: 1rem;
  }
}

/* Mobile Screens */
@media (max-width: 480px) {
  .slideshow-top {
    /* height: 40vh;  */
  }
  .topSlides img {
    height: 40vh;
  }
  .insta a {
    width: 30px;
    height: 30px;
  }
  /* .revcard {
      width: 98vw;
      height: 200px;
  } */
  .revcard {
    padding: 10px;
    margin: 10px; /* Space between cards */
    width: 300px;
    height: 30vh;
  }
  .rev-img {
    width: 70%;
  }

  .rev-img img {
    max-width: auto;
  }

  .revcont h2 {
    font-size: 1.2rem;
    /* top: 0rem;
    position: relative; */
  }

  .revcont p {
    font-size: 0.9rem;
  }
  .bestproduct {
    flex: 0 0 50%; /* Fill almost entire screen width */
  }
  .bestproduct img {
    height: 100vh; /* Adjusts based on screen size */
  }
}

/* Testmonila Ends */
.mySlidesBottom {
  width: 99vw;
  border-radius: 10px;
  margin: 0 10px;
  height: 40vh;
}
@media (max-width: 480px) {
  .mySlidesBottom {
    width: 95vw;
    border-radius: 10px;
    margin: 0 10px;
  }
}
/* Best Deals Starts */
.best {
  /* width: 100%; */
  text-align: center;
  padding: 0px;
  background-color: #f8f8f8;
  /* position: relative; */
  overflow: visible;
}
.deal-title {
  color: #78362a;
  /* padding-top: 10px; */
  font-size: 2rem;
  font-weight: bold;
  /* margin-bottom: 10px; */
}
.deal-title i {
  margin-left: 8px; /* Adds space between text and icon */
  margin-top: 10px;
  color: #78362a; /* Icon color */
  font-size: 14px;
  cursor: pointer;
}

.best h2 {
  font-size: 2.5rem;
  color: #78362a;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.hed-2 {
  font-size: 1.8rem;
  color: #78362a;
  text-align: left;
  margin-left: 20px;
}

/* Container for cards */
.bestseller {
  width: 100%;
  display: flex;
  gap: 35px;
  overflow-x: auto;
  padding: 0px 0px;
  scroll-snap-type: x mandatory;
  white-space: nowrap; 
  cursor: grab; 
  box-sizing: border-box; 
  flex-wrap: nowrap;
  height: 27.5rem;
  scroll-behavior: smooth;
}

.bestseller::-webkit-scrollbar {
  height: 8px;
}

.bestseller::-webkit-scrollbar-track {
  background: #f1f1f1; 
  border-radius: 10px;
}

.bestseller::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-radius: 10px;
}

.bestseller::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0; 
}


.bestseller {
  scrollbar-width: thin;
  scrollbar-color: #c0c0c0 #f1f1f1;
}
.bestproduct {
  
    transition: transform 0.3s ease;
}

.bestproduct:hover {
    transform: scale(1.05); 

}

/* 
.bestseller .bestproduct {
  flex: 0 0 auto;
  width: 350px;
  margin-right: 1rem;
  animation: scrollLeft 15s linear infinite; 
} */

/* @keyframes scrollLeft {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-100%);
  }
} */

/* Ensure the last product smoothly transitions back
.bestproduct:last-child {
  margin-right: 0;
} */

.bestseller.active {
  cursor: grabbing; /* Changes cursor to grabbing when dragging */
}

/* Individual card styling */
.bestproduct {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  scroll-snap-align: center;
  flex: 0 0 60px;
  height: auto;
  width: fit-content;
  /* gap: 40px; */
  position: relative;
  /* padding: 15px; */
  text-align: center;
}

.bestproduct:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* Image styling */
.bestproduct img {
  width: 100%;
  /* margin-left:10px;
  margin-right: 10px; */
  height: 100vh;
  object-fit: contain;
  margin-bottom: 20px;
}

/* Responsive Adjustments */

/* Larger Screens */
@media (min-width: 1024px) {
  .bestseller {
    width: 100%; /* Ensures full width of the container */
    display: flex; /* Flexbox for horizontal layout */
    padding: 0; /* Remove padding for edge-to-edge items */
    overflow-x: auto; /* Allows horizontal scrolling */
    scroll-snap-type: x mandatory; /* Smooth scrolling snap effect */
    white-space: nowrap; /* Prevents wrapping of items */
    cursor: grab; /* Change cursor to grab for scroll interaction */
    box-sizing: border-box; /* Includes padding in width */
    flex-wrap: nowrap; /* Ensures items stay in one line */
    scroll-behavior: smooth; /* Enables smooth scrolling */
     height: 23rem;
  }

  .bestproduct {
    flex: 0 0 23%; /* Adjust this value to fit 4 cards in a row */
    height: auto;
    margin-left: auto;
  }

  .bestproduct h3 {
    font-size: 1.5rem;
    padding: 15px;
  }
}

/* Tablets */
@media (max-width: 1023px) and (min-width: 768px) {
  .bestproduct {
    flex: 0 0 30%;
    height: auto;
    overflow: visible;
  }

  .bestproduct h3 {
    font-size: 1.3rem;
    /* padding: 12px; */
  }
}

/* Mobile Screens */
@media (max-width: 767px) {
  .bestproduct {
    flex: 0 0 80%; /* Adjust this value to fit better on mobile */
    height: auto;
    overflow: visible;
  }

  .bestproduct h3 {
    font-size: 1rem;
    /* padding: 8px; */
  }
}

/* Best Deals Ends */

/* Occassions Starts */
.occassion {
  display: flex; 
  flex-wrap: nowrap; 
  text-align: center;
  justify-content: flex-start;
  border: 5px solid #78362a; 
  border-width: 5px 0; 
  /* margin: 20px 10px;  */
  padding: 1%; 
  gap: 50px;
  position: relative;
  align-items: center;
  overflow-x: auto; 
  white-space: nowrap; 
  scroll-behavior: smooth;
}


.occassionType {
  display: inline-block; 
  flex: none; 
  margin: 0; 
}
.occassion::-webkit-scrollbar {
    height: 8px;
}

.occassion::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.occassion::-webkit-scrollbar-thumb {
    background: #9c9c9c; 
    border-radius: 10px;
}

.occassion::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}


.occassion {
    scrollbar-width: thin;
    scrollbar-color: #a4a2a2 #f1f1f1;
}
.hov {
  transition: transform 0.3s ease, opacity 0.3s ease; 
}

.hov:hover {
  transform: scale(1.1);
  opacity: 0.9; 
}

.occassionType p {
  margin: 0 0 10px 0; 
  font-weight: 500;
  font-size: 16px; 
  white-space: nowrap;
  overflow: hidden;
 
  text-overflow: ellipsis;
  
}

.hov {
  border-radius: 50%; 
  width: 150px; 
  height: 150px; 
  object-fit: fit; 
  overflow: hidden;
  border: 3px solid #bebe33;
  display: block; /* Ensure it's aligned properly */
}

/* Hide scrollbar for a smoother look */
.occassion::-webkit-scrollbar {
  display: block; 
}



@media only screen and (max-width: 600px) {
  .hov{
    margin-left: 2.5rem;
    border-radius: 50%; 
    width: 80px; 
    height: 80px; 
  }
  .occassionType {
    flex: 0 0 45%; 
    max-width: 200px;
  }
}

@media only screen and (min-width: 800px) {
  .occassionType {
    flex: 0 0 45%; /* Flex basis for medium screens */
  }
  .occassionType p {
    font-size: 24px; /* Larger text for larger screens */
  }

  .occassionType img {
    max-width: 200px; /* Larger max width for images */
  }
}

@media only screen and (min-width: 1200px) {
  .occassionType {
    flex: 0 0 20%; /* Flex basis for larger screens */
  }
}

/* Occassions Ends */

/* Category Starts */
.category {
  width: 100vw;
  text-align: center;
  margin: .5%;
}

.category h1 {
  font-weight: 800;
  color: #78362a;
  font-size: 2rem;
}

.categorygrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Four columns for larger screens */
  gap: 1rem;
  justify-content: space-evenly;
  font-weight: 600;
}

.view-all-btn {
  display: flex;
  justify-content: center; /* Centers the button horizontally */
  margin: 2rem 0; /* Adds space above and below the button */
}

.view-all-btn .btn {
  background-color: #78362a; /* Button background color */
  color: white; /* Button text color */
  padding: 1rem 2rem; /* Button padding */
  border-radius: 5px; /* Button corner radius */
  text-decoration: none; /* Removes underline from link */
  font-size: 1.5rem; /* Font size for the button text */
}

.view-all-btn .btn:hover {
  background-color: #78362a; /* Darker shade for hover effect */
}

/* Mobile screens (up to 800px) */
@media only screen and (max-width: 800px) {
  .categorygrid {
    display: flex;
    flex-wrap: nowrap; /* No wrapping, allows horizontal scrolling */
    overflow-x: auto; /* Enables horizontal scrolling */
    gap: 1rem;
    padding-bottom: 1rem; /* Ensures space for scrollbars */
    max-height: calc(
      2 * (250px + 1rem)
    ); /* Height to fit two rows of cards, adjust as needed */
    /* margin-left: 2rem;
    margin-right: 2rem; */
  }

  .categorygrid > div {
    flex: 0 0 66.33%; /* Two items per row */
    max-width: 200px; /* Adjust width for mobile screens */
    box-sizing: border-box;
    margin-bottom: 1rem; /* Space between rows */
    /* margin-left: 1rem; */
  }

  .categorygrid img {
    width: 100%;
    height: 25rem; /* Maintain aspect ratio */
    border-radius: 1rem 1rem 0rem 0rem;
  }
}

/* Tablet screens (between 800px and 1200px) */
@media only screen and (min-width: 801px) and (max-width: 1200px) {
  .categorygrid {
    display: flex;
    flex-wrap: nowrap; /* No wrapping, allows horizontal scrolling */
    overflow-x: auto; /* Enables horizontal scrolling */
    gap: 1rem;
    padding-bottom: 1rem; /* Ensures space for scrollbars */
    max-height: calc(
      2 * (200px + 1rem)
    ); /* Height to fit two rows of cards, adjust as needed */
    /* margin-left: 2rem;
    margin-right: 2rem; */
  }

  .categorygrid > div {
    flex: 0 0 33.33%; /* Three items per row */
    max-width: 180px; /* Adjust width for tablet screens */
  }

  .categorygrid img {
    margin: .5rem 0;
    width: 100%;
    height: 25rem; /* Maintain aspect ratio */
    border-radius: 1rem 1rem 0rem 0rem;
  }
}

/* Larger screens (1200px and above) */
@media only screen and (min-width: 1201px) {
  .categorygrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Four columns for larger screens */
    gap: 2rem;
    justify-content: center; /* Center items */
    padding: 0rem .5rem; /* Add horizontal padding to prevent cards from touching the edges */
  }

  .categorygrid > div {
    position: relative;
    overflow: hidden;
    border-radius: 10px; /* Rounded corners for a modern look */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effects */
    margin-right: 1.8rem;
  }

  .categorygrid > div:hover {
    transform: translateY(-10px); /* Slight lift effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
  }

  .categorygrid img {
    width: 100%;
    height: 250px; /* Fixed height to maintain uniformity */
    object-fit: cover; /* Cover the container */
    display: block;
    border-radius: 10px 10px 0 0; /* Round top corners of the image */
  }

  .categorygrid p {
    margin: 0;
    padding: 1rem;
    background-color: #f5f5f5; /* Light background for text */
    border-radius: 0 0 10px 10px; /* Round bottom corners */
    color: #333; /* Dark text color */
  }
}

/* Category ends */
.w3-content {
  position: relative;
  /* margin: 0 auto; */
  /* width: 95vw; */
  /* max-width: 1400px; */
}

.mySlides {
  display: none;
  height: 20rem;
  border-radius: 2rem;
  width: 100vw;
}

.w3-left,
.w3-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.482);
  color: white;
  padding: 10px;
  border-radius: 50px;
}

.w3-left {
  left: 0;
}

.w3-right {
  right: 0;
}

.w3-center .dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 5px;

  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.w3-center .dot.w3-white {
  background-color: #717171;
}

.gridproduct {
  /* flex-direction: column;  */
  grid-template-columns: repeat(5, 1fr); /* Two columns for medium screens */
  gap: 10px;
  padding: 20px;
  display: grid;
  height: 500px;
  margin-top: -2rem;
}
.product-card {
  position: relative;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  /* overflow: hidden; */
}

.product-card img.ho {
  width: 100%;
  height: 100%;
  /* object-fit: cover;  */
  object-fit: fill;
  transition: transform 0.4s ease;
}

.product-card.tall {
  /* grid-row: span 1; */
  /* aspect-ratio: 9 / 16; */
}

.product-card.regular {
  /* grid-row: span 2; */
  aspect-ratio: 1/1;
}

.product-card:hover img.ho {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 10px;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

product-overlay .product-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 5px;
}

.product-overlay .product-price {
  font-size: 14px;
  color: #ffcc00;
}

@media (max-width: 576px) {
  .gridproduct {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    height: auto;
  }

  .product-card.tall {
    /* height: 280px; */
    /* aspect-ratio: 9 / 16; */
  }

  .product-card.regular {
    aspect-ratio: 1/1;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .gridproduct {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

.gridproduct img {
  width: 100%;
}
.ho {
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.ho:hover {
  transform: scale(1.1); /* Slight zoom effect */
  opacity: 0.9;
}
.gridproduct .row1,
.gridproduct .row2,
.gridproduct .row3 {
  display: flex;
  flex-direction: column;
  flex: 1 1 20%;
}

@media only screen and (max-width: 600px) {
  .gridproduct {
    /* flex-direction: column;  */
    grid-template-columns: repeat(2, 1fr); /* Two columns for medium screens */
  }
  .ho {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .ho:hover {
    transform: scale(1.1); /* Slight zoom effect */
    opacity: 0.9;
  }
  .gridproduct .row1,
  .gridproduct .row2,
  .gridproduct .row3 {
    /* flex-direction: row; */
    flex: 1 1 45%;
    gap: 10px;
  }
}
@media screen and (max-width: 480px) {
  .gridproduct {
    /* flex-direction: column;  */
    grid-template-columns: repeat(2, 1fr); /* Two columns for medium screens */
  }
  .ho {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .ho:hover {
    transform: scale(1.1); /* Slight zoom effect */
    opacity: 0.9;
  }
}




/* Index.php in occasions  */

@media (max-width:430px) {
  .occasion_product_name{
    padding-left: 2.5rem;
  }

}
@media (min-width:720px) {
  .occasion_product_name{
    padding-left: .5rem;
  }

}


@media (max-width:430px) {
  .catimg{
    margin-left: 1rem;
  }

}