/* styling header */
* {
  font-family: "poppins";
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Custom container Width  */

@media screen and (max-width: 1400px) {
  .container {
    max-width: 100% !important;
    width: 100%;
    padding: 0px 25px;
  }
}

@media screen and (min-width: 1400px) {
  .container {
    max-width: 1700px !important;
    width: 100%;
    padding: 0px 25px;
  }
}

@media screen and (max-width: 576px) {
  .container {
    max-width: 100% !important;
    width: 100%;
    padding: 0px 10px !important;
  }
}

.main-wrapper .container-fluid,
.main-wrapper .container-sm,
.main-wrapper .container-md,
.main-wrapper .container-lg,
.main-wrapper .container-xl,
.main-wrapper .container-xxl {
  width: 100% !important;
  max-width: 1800px !important;
  padding: 0px 15px !important;
  margin: 0px auto;
}

.category-page-head .head-wrapper {
  background-color: #ffffff;
  box-shadow: 0px 20px 39px 0px #00000008;
}
.category-page-head .head-wrapper .navbar .navbar-toggler:focus {
  outline: none;
  border: none;
  box-shadow: none !important;
}


.category-page-head .head-wrapper .navbar-nav .nav-link {
  font-weight: 400;
  font-size: 16px;
  text-transform: capitalize;
  color: #4d4d4d;
  padding: 10px;
  cursor: pointer;
}


.category-page-head .head-wrapper .navbar-nav .nav-link {
  position: relative; /* Ensures the pseudo-element is positioned inside */
  padding: 10px 15px; /* Adjust spacing */
  overflow: hidden; /* Prevents unwanted overflow */
  z-index: 1;
}

.category-page-head .head-wrapper .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; 
  background: #ffb100;
  transform: translateY(105%); 
  transition: transform 0.6s ease-in-out;
  z-index: -1; 
}

.category-page-head .head-wrapper .navbar-nav .nav-link:hover::after {
  transform: translateY(0%); 
}
.category-page-head .head-wrapper .navbar-nav .nav-link:hover{
  color: #ffffff;
}


/* mobile menu design */
.mobile-menu .offcanvas{
  width: 100%;
  max-width: 50%;
}

.category-page-main .category-page-slider {
  margin-bottom: 20px;
}
.category-page-main .category-page-slider .swiper {
  width: 100%;
  height: 100%;
}

.category-page-main .category-page-slider .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.category-page-main .category-page-slider .mySwiper-wrapper {
  display: flex;
  width: 100%;
  justify-content: flex-start;
}

.category-page-main .category-page-slider .swiper-custom3 {
  position: relative;
  text-align: center;
  height: 400px;
  font-size: 18px;
  border-radius: 25px;
  background: #fff;
  display: flex;
  align-items: center;
  vertical-align: middle;
  flex-direction: column;
}

.category-page-main .category-page-slider .swiper-container {
  width: 100%;
  overflow: hidden;
}

.category-page-main .category-page-slider .mySwiper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.category-page-main .category-page-slider .mySwiper .img-box {
  height: 100%;
  width: 100%;
}

.category-page-main .category-page-slider .mySwiper .img-box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 25px;
}

.category-page-main .category-page-slider .mySwiper .slider-content {
  height: calc(100% - 95px);
  position: absolute;
  top: 48px;
  left: 121px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  max-width: 512px;
}

.category-page-main
  .category-page-slider
  .mySwiper
  .slider-content
  .slider-para {
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #898989;
}

.category-page-main
  .category-page-slider
  .mySwiper
  .slider-content
  .slider-head {
  color: #000000;
  font-weight: 600;
  font-size: 45px;
  line-height: 1.5;
      text-shadow: 1px 1px 1px #919191,
        1px 2px 1px #b6b1b1,
        1px 3px 1px #919191,
        1px 4px 1px #919191,
        1px 5px 1px #919191,
        1px 6px 1px #919191,
        1px 7px 1px #919191,
        1px 8px 1px #919191,
        1px 9px 1px #919191,
        1px 10px 1px #919191,
    1px 8px 6px rgba(16,16,16,0.4),
    1px 12px 8px rgba(16,16,16,0.2),
    1px 16px 15px rgba(16,16,16,0.2),
    1px 20px 20px rgba(16,16,16,0.4);

}


 
  .category-page-main
    .category-page-slider
    .mySwiper
    .slider-content .slider-btn {
    position: relative;
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(-130deg, #2f2e2e 50%, #f5ab17 50%) right;
    background-size: 200%;
    color: white;
    padding: 16px 12px;
    width: 200px;
    height: 60px;
    border-radius: 10px;
    text-align: center;
    border: none;
    margin-top: auto;
    cursor: pointer;
    overflow: hidden;
    transition: background 1.2s ease-in-out, color 0.9s ease-in;
  }
  
  .category-page-main
  .category-page-slider
  .mySwiper
  .slider-content .slider-btn::after {
    content: "LEARN MORE"; /* Initial text */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    animation: none;
    
  }
  
  /* .category-page-slider .mySwiper .mySwiper-wrapper.swiper-slide-active ~
  .category-page-main
  .category-page-slider
  .mySwiper
  .slider-content .slider-btn::after {
    animation: rewriteText 1s steps(10) forwards;
   
  } */
/* 
  .category-page-slider .mySwiper .swiper-slide.swiper-slide-active .slider-btn::after {
    animation: rewriteText 0.8s steps(10) forwards;
}

@keyframes rewriteText {
  0% {
    content: "L|";
  }
  10% {
    content: "LE|";
  }
  20% {
    content: "LEA|";
  }
  30% {
    content: "LEAR|";
  }
  40% {
    content: "LEARN|";
  }
  50% {
    content: "LEARN |";
  }
  60% {
    content: "LEARN M|";
  }
  70% {
    content: "LEARN MO|";
  }
  80% {
    content: "LEARN MOR|";
  }
  90% {
    content: "LEARN MORE|";
  }
  100% {
    content: "LEARN MORE";
  }
} */

.category-page-slider .mySwiper .swiper-slide.swiper-slide-active .slider-btn {
  color: #000000; 
  background-position: left;
}


  
  
  @keyframes background-color {
    0%{
      background-size: 0%;
    }

    100%{

    }
    
  }

.category-page-slider .swiper-pagination-bullets-dynamic {
  overflow: visible;
  font-size: 0;
}
.category-page-slider .swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  top: 108%;
  left: 0;
  width: 100%;
  z-index: 10;
}

/* Default Pagination Bullets */
.category-page-slider .swiper-pagination-bullet {
  width: 9.71px;
  height: 9.71px;
  color: #cccccc;
  border-radius: 50%;
  margin: 0 5px;
  transition: all 0.3s ease-in-out;
}

/* Active Pagination Bullet */
.category-page-slider
  .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 21px;
  height: 10px;
  background-color: #ffb100;
  border-radius: 28px;
}

.category-page-main .selected-products {
  background-color: #f6f6f6;
}
.category-page-main .selected-products .section-wrapper {
  display: flex;
  padding-top: 40px;
}

.category-page-main .selected-products .section-wrapper .section-head-wrapper {
  height: calc(100% - 95px);
  max-width: 344px;
}

.category-page-main .selected-products .section-head-wrapper .section-head {
  font-weight: 600;
  font-size: 30px;
  color: #151515;
  line-height: 1.5;
}

.category-page-main .selected-products .section-wrapper .section-content {
  display: flex;
  padding-left: 60px;
}

.category-page-main
  .selected-products
  .section-wrapper
  .section-content
  .product-boxes {
  box-shadow: 0px 4.05px 4.85px 0px #0000000f;
  background-color: #ffffff;
  border-radius: 24px;
  margin-left: 34px;
}

.selected-products
  .section-wrapper
  .section-content
  .product-boxes
  .product-img-box
  img {
  object-fit: cover;
  border-radius: 24px;
  height: 100%;
  width: 100%;
}
.selected-products
  .section-wrapper
  .section-content
  .product-boxes
  .product-img-box {
  max-width: 281px;
  max-height: 254px;
}

.selected-products .section-wrapper .section-content .product-boxes .captions {
  padding: 18px;
}
.selected-products
  .section-wrapper
  .section-content
  .product-boxes
  .captions
  h4 {
  font-family: Poppins;
  font-weight: 600;
  font-size: 19.4px;
}

.selected-products
  .section-wrapper
  .section-content
  .product-boxes
  .captions
  span {
  font-weight: 500;
  font-size: 14.5px;
  color: #8d8d8d;
}

/* media queries */

@media screen and (max-width: 1500px) {
  .category-page-head .head-wrapper .navbar-nav .nav-link {
    font-size: 14px;
  }

  .category-page-main
    .selected-products
    .section-wrapper
    .section-head-wrapper {
    max-width: 290px;
  }
  .category-page-main .selected-products .section-wrapper .section-content {
    padding-left: 0px;
  }

  .category-page-main .selected-products .section-head-wrapper .section-head {
    font-size: 24px;
  }
}

@media screen and (max-width: 1200px) {
  .category-page-main
    .selected-products
    .section-wrapper
    .section-head-wrapper {
    max-width: 190px;
  }

  .selected-products
    .section-wrapper
    .section-content
    .product-boxes
    .captions {
    padding: 15px;
  }

  .selected-products
    .section-wrapper
    .section-content
    .product-boxes
    .captions
    h4 {
    font-size: 16px;
  }

  .selected-products
    .section-wrapper
    .section-content
    .product-boxes
    .captions
    span {
    font-size: 14px;
  }
  .category-page-main
    .category-page-slider
    .mySwiper
    .slider-content
    .slider-head {
    font-size: 35px;
  }
}

@media screen and (max-width: 1025px) and (max-height:1400px){

  .category-page-main
  .selected-products
  .section-wrapper
  .section-content
  .product-boxes{
    margin-left: 20px;
  }
  .category-page-main .category-page-slider .mySwiper .slider-content {
    left: 40px;
  }

  .category-page-main .selected-products .section-wrapper {
    flex-direction: column;
  }

  .category-page-main
    .selected-products
    .section-wrapper
    .section-head-wrapper {
    max-width: 100%;
    padding: 12px 0;
  }

  .selected-products .section-wrapper .section-content .product-box-1 {
    margin-left: 0 !important;
  }
}

@media screen and (max-width: 769px) {
  .category-page-main .selected-products .section-wrapper {
    flex-wrap: wrap;
  }
  .category-page-main .category-page-slider .mySwiper .slider-content {
    left: 50px;
  }
  .category-page-main
    .category-page-slider
    .mySwiper
    .slider-content
    .slider-btn {
    padding: 10px 12px;
    font-size: 16px;
    width: 150px;
    height: 50px;
  }

  .category-page-main
    .category-page-slider
    .mySwiper
    .slider-content
    .slider-head {
    font-size: 28px;
  }
  .category-page-main .category-page-slider .mySwiper .slider-content {
    max-width: 320px;
    height: calc(100% - 120px);
  }

  .category-page-main .category-page-slider .swiper-custom3 {
    height: 360px;
  }
}

@media screen and (max-width: 576px) {

  .category-page-main
  .category-page-slider
  .mySwiper
  .slider-content
  .slider-head {
    text-shadow: 1px 1px 1px #919191,
        1px 2px 1px #b6b1b1,
        1px 3px 1px #919191,
        1px 4px 1px #919191,
        1px 5px 1px #919191,
        1px 6px 1px #919191,
        1px 7px 1px #919191,
        1px 8px 1px #919191,
        1px 9px 1px #919191,
        1px 10px 1px #919191,
    1px 6px 4px rgba(16,16,16,0.4),
    1px 8px 6px rgba(16,16,16,0.2),
    1px 10px 8px rgba(16,16,16,0.2),
    1px 12px 10px rgba(16,16,16,0.4);
}

  .mobile-menu .offcanvas{
    max-width: 70%;
  }

  .selected-products
    .section-wrapper
    .section-content
    .product-boxes
    .captions{
      padding: 12px 10px;
    }

  .selected-products
    .section-wrapper
    .section-content
    .product-boxes
    .captions
    h4 {
    font-size: 14px;
}
  .category-page-main .category-page-slider {
    margin-bottom: 0px;
  }

  .category-page-main .selected-products .section-wrapper {
    padding: 20px;
  }

  .category-page-main .selected-products .section-head-wrapper .section-head {
    font-size: 18px;
  }

  .category-page-main .selected-products .section-wrapper .section-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
  }
  .category-page-main
    .selected-products
    .section-wrapper
    .section-content
    .product-boxes {
    flex: 0 0 43%;
    margin: 0;
  }

  .category-page-main .category-page-slider .mySwiper .slider-content {
    left: 8px;
  }

  .category-page-main .category-page-slider .mySwiper .slider-content {
    max-width: 140px;
    height: calc(100% - 120px);
  }
  .category-page-main
    .category-page-slider
    .mySwiper
    .slider-content
    .slider-head {
    font-size: 16px;
  }

  .category-page-main
    .category-page-slider
    .mySwiper
    .slider-content
    .slider-para {
    font-size: 12px;
  }

  .category-page-main .category-page-slider .swiper-custom3 {
    height: 200px;
  }

  .category-page-main
    .category-page-slider
    .mySwiper
    .slider-content
    .slider-btn {
      padding: 12px 14px;
    font-size: 12px;
    width: 100px;
    border-radius: 6px;
  }
}

@media screen and (max-width: 424px) {
  .selected-products
  .section-wrapper
  .section-content
  .product-boxes
  .product-img-box {
    max-width: 100%;
    max-height: 100%;
}

  .category-page-main
    .selected-products
    .section-wrapper
    .section-content
    .product-boxes {
    flex:100%;
}

.selected-products
    .section-wrapper
    .section-content
    .product-boxes
    .captions {
    padding: 14px 12px;
}

  .selected-products
    .section-wrapper
    .section-content
    .product-boxes
    .captions
    span {
    font-size: 12px;
  }
  .category-page-main .category-page-slider .mySwiper .slider-content {
    top: 28px;
  }
  .category-page-main .category-page-slider .mySwiper .slider-content {
    max-width: 150px;
  }

  .selected-products
  .section-wrapper
  .section-content
  .product-boxes
  .captions
  h4 {
  font-size: 12px;
}
}

@media screen and (max-width: 345px) {

  .category-page-main .category-page-slider .swiper-custom3 {
    height: 142px;
}

  

  .category-page-main .category-page-slider .mySwiper .slider-content {
    max-width: 130px;
}

.category-page-main
    .category-page-slider
    .mySwiper
    .slider-content
    .slider-para {
    margin-bottom: 0.6rem;
}

.category-page-main
    .category-page-slider
    .mySwiper
    .slider-content
    .slider-head {
    font-size: 14px;
}
.category-page-main
    .category-page-slider
    .mySwiper
    .slider-content
    .slider-btn{
      font-weight: 400;
      width: 90px;
      padding: 10px;
    }


}
