body, html {
  overflow-x: hidden;
}

.shop {
    margin-top: 2%;
    margin-bottom: 3%;
    text-align: center;
    color: white;
    font-size: 3rem;
    text-shadow: 2px 2px 2px var(--primary-color-extra-dark);
  }

  .footer {
    position: relative;
  }

.image-carousel {
    height: 350px;
    border-radius: 12px;
    padding: 20px;
    padding-bottom: 40px;
    box-shadow: 0 7px 20px 5px #00000088;
    backdrop-filter: blur(100px);
    -webkit-backdrop-filter: blur(7px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: hsl(0 0% 90%);
    box-sizing: border-box;
    z-index: 0;
    margin-left: -3%;
    margin-right: -3%;
  }
  
  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    transform-origin: left 50%;
    background: inherit;
    z-index: 1;
    transition: .3s ease-out;
  }

  img.slider_image {
    max-width: 100%;
    min-height: 100%;
  }
  
  .slide img {
    -moz-user-select: none;
    user-select: none;
    
  }
  
  .slide-heading {
    position: absolute;
    top: 70%;
    left: 4%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: hsla(var(--hue) var(--saturation) var(--lightness) / 1);
    text-shadow: 0 2px 10px hsla(var(--hue) var(--saturation) 10% / 3);
    display: none;
  }
  
  input.carousel {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    z-index: -10;
  }
  
  label.carousel {
    width: 10%;
    height: 10px;
    margin-right: 4px;
    border-radius: 20px;
    border: 1px solid #79797988;
    box-shadow: 0 7px 20px 5px #00000088;
    background: hsla(0, 0%, 90%, 0.644);
    cursor: pointer;
    position: relative;
    z-index: 10;
  }
  
  label.carousel:last-child {
    margin-right: 0;
  }
  
  input.carousel:checked+label {
    background: linear-gradient(to right, hsla(var(--hue) 80% 70% / .7), hsla(calc(var(--hue) + 30) 80% 50% / .7));
  }
  
  input.carousel:not(:checked)+label+.slide {
    transform: translateX(-100%);
    opacity: 0;
  }
  
  input.carousel:checked+label+.slide~.slide {
    transform: translateX(100%);
  }
  
  input.carousel:not(:checked)+label+.slide {
    transition: 0;
  }

  h2.heading  {
    margin-top: 5%;
    margin-bottom: 3%;
    text-align: center;
    color: white;
    font-size: 2rem;
    text-shadow: 2px 2px 2px var(--primary-color-extra-dark);
  }
  
  .handicraft-card {
    height: 180px;
    width: 180px;
    margin: 1% auto; /* Adjust margin as needed */
    border: 1px solid #ffffff22; /* Border color */
    box-shadow: 0 7px 20px 5px #00000088; /* Box shadow */
    background-color: #3d230069; /* Background color */
    border-radius: 100%; /* Border radius */
    overflow: hidden;
    opacity: 0;
    transition: 0.5s all; /* Transition effect */
    animation: bottomAni 1s ease forwards; /* Animation */
    display: flex; /* Flex layout */
    justify-content: center; /* Horizontally center the content */
    align-items: center; /* Vertically center the content */
    position: relative; /* Ensure positioning context */
    overflow: hidden; /* Hide overflow to prevent image spillage */
  }
  
  .handicraft-card:hover {
    border: 1px solid #38190021; /* Border color on hover */
    box-shadow: 0 7px 50px 10px var(--primary-color-extra-dark); /* Box shadow on hover */
  }

  .card-image{
    position: absolute; /* Position the image */
    top: 0;
    left: 0;
    opacity: 0; /* Initially hide the image */
    transition: opacity 0.8s ease; /* Smooth transition for opacity */
    z-index: -1;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    
  }

  .handicraft-card:hover .card-image {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.822);
  }


  .category_title {
    font-size: 2rem;
  }
  
  @keyframes bottomAni {
    0% {
      transform: translateY(100px); /* Initial position */
      opacity: 0; /* Initial opacity */
    }
  
    100% {
      transform: translateY(0); /* Final position */
      opacity: 1; /* Final opacity */
    }
  }
  
  .category-container, .product-container {
    margin-bottom: 1%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .handicraft-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background-size: cover;
    background-position: center;
  }
  
  .handicraft-content {
    color: white; /* Text color */
    flex-direction: column; /* Arrange content in a column */
    flex: 1; /* Take up remaining space */
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
    z-index: 1;
    text-shadow: 2px 2px 2px var(--primary-color-extra-dark);
  }

  .handicraft-card:hover .handicraft-content{
    transform: translateY(15px);
    text-shadow: 4px 4px 4px var(--primary-color-extra-dark);
  }
  
  .handicraft-main h2 {
    font-size: 1.2rem; /* Heading font size */
    color: white; /* Heading color */
  }
  
  .handicraft-description {
    color: #e2e2e2; /* Description color */
    margin-top: 0.2rem; /* Margin at the top */
    margin-bottom: 1rem; /* Margin at the bottom */
  }
  
  .handicraft-read-more {
    margin-top: 1.5rem; /* Margin at the top */
    color: var(--primary-color); /* Link color */
    text-decoration: none; /* Remove underline */
    font-weight: bold; /* Bold font */
  }
  
  .handicraft-read-more:hover {
    text-decoration: underline; /* Underline on hover */
  }


  
  @media screen and (max-width: 1000px) { 
  
    .image-carousel {
      height: 320px;
  }
  .handicraft-card {
    height: 130px;
    width: 130px;
  }
 }

  @media screen and (max-width: 850px) { 
    .image-carousel {
      height: 300px;
  }
  .slide-heading{
    font-size: 2.8rem;
  }
  .handicraft-card {
    height: 120px;
    width: 120px;
  }
  }

  @media screen and (max-width: 700px) { 
    .image-carousel {
      height: 280px;
  }
  .slide-heading{
    font-size: 2.5rem;
  }
  }

  @media screen and (max-width: 600px) { 
    .image-carousel {
      height: 250px;
  }
  .slide-heading{
    font-size: 2.0rem;
  }
  
  }


  @media screen and (min-height: 1000px) {
    .footer{
      position:fixed;
    }
  }


  h2.heading2 {
    margin-top: 3%;
    text-align: center;
    color: white;
    font-size: 2rem;
    text-shadow: 2px 2px 2px var(--primary-color-extra-dark);
  }

  .main h2 {
    margin-top: 2%;
  }
  
  .product-card {
    max-width: 270px;
    margin: 3% auto;
    border: 1px solid #ffffff22;
    box-shadow: 0 7px 20px 5px #00000088;
    background-color: #362b126c;
    border-radius: 0.7rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(7px);
    overflow: hidden;
    opacity: 0;
    transition: 0.5s all;
    animation: bottomAni 1s ease forwards;
    animation-delay: calc(0.1s * var(--index)); /* Delay each card by 0.1s */
    /* Remaining CSS styles for card */
    hr {
      width: 100%;
      border: none;
      border-bottom: 2px solid #dfdfdf9d;
      margin-top: 5%;
    }
    ins {
      text-decoration: none;
    }
    .main {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      width: 90%;
      padding: 1rem;
      .productImage {
        border-radius: 0.5rem;
        max-width: 100%;
        width: 250px;
        height: 200px;
        object-fit: cover;
      }
      h2 {
        color: white;
      }
      .description {
        margin: 0.5rem 0;
        color: #e2e2e2;
      }
      .info_about{
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 4%;
        font-size: 1.5rem;
        .info {
          display: flex;
          align-items: center;
          color: wheat;
          font-weight: 700;
          ins{
            font-weight: 400;
            margin-right: 5%;
            text-decoration: line-through;
          }
        }
        #heart {
          display:none;
        }
       .wishlist-icon {
        margin-right: 2%;
        max-width: 25px;
        height: auto;
        
       }
       .heart-icon{
        transition: 0.8s all;
       }
       .heart-icon:hover {
        color: var(--primary-color);
      }
      .heart-icon:hover::before{
        color: var(--primary-color);
        content: "\f004"; /* Unicode for the filled heart icon */
      }
      }
      .add_to_cart {
        display: flex;
        justify-content: center;
        .addToCartBtn{
          margin-top: 5%;
          font-size: 1rem;
          padding-top: 4%;
          padding-bottom: 4%;
          animation: none;
          opacity: 1;
        }
      }
    }
    /* &:hover {
      border: 1px solid #ffffff71;
      box-shadow: 0 7px 50px 10px var(--primary-color-extra-dark);
      translate: 0px 4px 10px;
    } */
  }

 
  