.hidden {
  display: none !important;
}
/*Slider carousel*/
.eggo-featured-carousel {
  display: flex;
  align-items: center;
}
.eggo-featured-carousel .slick-slide {
  transition: width 0.5s ease-in-out, opacity 0.5s ease-in-out;
  margin: 0 8px;
  /*    width: 198px !important;*/
}
.eggo-featured-carousel .slick-slide img {
  width: 100%;
  height: 628px; /* Adjust as needed */
  object-fit: cover;
  border-radius: 2px;
}
.eggo-slider-wrap {
  position: relative;
}
.eggo-slider-wrap .eggo--post_config,
.eggo-slider-wrap .wishlist-inactive-icon,
.eggo-slider-wrap .eggo--post_price,
.eggo-slider-wrap .eggo--post_title {
  position: absolute;
}
.eggo-slider-wrap .eggo--post_config {
  display: flex;
  position: absolute;
  width: 40px;
  height: 40px;
  left: 20px;
  top: 20px;
  border-radius: 20px;
  background-color: white;
  background-image: url(/wp-content/themes/agifly-theme/assets/img/svgs/config.svg);
  background-position: center;
  background-repeat: no-repeat;
  z-index: 2;
  /*    animation: fadeOut 0.5s forwards;*/
  opacity: 0;
}
.eggo-slider-wrap .wishlist-inactive-icon {
  background-image: url(/wp-content/themes/agifly-theme/assets/img/svgs/heart-inactive.svg);
  position: absolute;
  width: 40px;
  height: 40px;
  right: 20px;
  top: 20px;
  border-radius: 20px;
  background-color: white;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}
.eggo-slider-wrap .wishlist-inactive-icon:hover {
  background-color: #fff;
}
.eggo-slider-wrap .eggo--post_price {
  position: absolute;
  left: 16px;
  bottom: 18px;
  /*    width: 112px;*/
  height: 38px;
  color: white;
  background-color: #fe5000;
  z-index: 2;
  border-radius: 2px;
  padding: 8px 12px 8px 12px;
  gap: 9px;
  display: flex;
  font-family: Avenir;
  font-size: 16px;
  line-height: 21.86px;
  border: none;
  font-weight: 700;
  /*    animation: fadeIn 0.5s forwards;*/
  opacity: 0;
}
.eggo-slider-wrap .eggo--post_price .eggo--questionmark-icon {
  background-image: url(/wp-content/themes/agifly-theme/assets/img/svgs/questionmark.svg);
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 2px;
}
.eggo-slider-wrap .eggo--post_title {
  font-family: Avenir;
  font-size: 20px;
  font-weight: 350;
  line-height: 27.32px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  position: absolute;
  bottom: 18px;
  right: 16px;
  background: #fff;
  padding: 5.5px 16px;
  opacity: 0;
  color: #000000;
}
.eggo-featured-carousel .slick-current .eggo-slider-wrap .eggo--post_title,
.eggo-featured-carousel .slick-current .eggo-slider-wrap .eggo--post_config,
.eggo-featured-carousel .slick-current .eggo-slider-wrap .eggo--post_price {
  opacity: 1 !important;
}
.eggo-featured-carousel .slick-prev,
.eggo-featured-carousel .slick-next,
.eggo-featured-carousel .slick-prev:hover,
.eggo-featured-carousel .slick-next:hover {
  width: 100px;
  height: 100px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 9;
}

.eggo-featured-carousel .slick-prev {
  background-image: url("/wp-content/plugins/eggo/images/left-arrow.png") !important;
  left: 105px;
}
.eggo-featured-carousel .slick-next {
  background-image: url("/wp-content/plugins/eggo/images/right-arrow.png") !important;
  right: 105px;
}
/* Hide default arrow content */
.eggo-featured-carousel .slick-prev::before,
.eggo-featured-carousel .slick-next::before {
  display: none;
}
/*Featured promotional card*/
.f-product-card {
  width: 100%;
  background-color: #f4f4ed;
  position: relative;
}

.f-product-card .product-image {
  position: relative;
}

.f-product-card .product-image img {
  width: 100%;
  display: block;
}
.f-product-card .price-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
}
.f-product-card .old-price {
  font-family: Avenir;
  font-size: 16px;
  line-height: 24px;
  color: #2c2801;
  padding: 7px 12px;
  background: #fff;
  margin-right: 4px;
  text-decoration: line-through;
  font-weight: 400;
  border-radius: 2px;
}
.f-product-card .new-price {
  background: #fe5000;
  color: white;
  padding: 7.1px 12px;
  font-size: 16px;
  font-weight: 900;
  font-family: Avenir;
  line-height: 21.86px;
  border-radius: 2px;
}
.f-product-card .promo-badge {
  position: absolute;
  bottom: 0px;
  right: 0px;
  background: #fe5000;
  color: white;
  padding: 18.69px 21px 18.69px 21px;
  padding: 17.85px 17.74px 17.78px 17.75px;
  text-align: center;
  font-size: 12px;
  line-height: 16.39px;
  color: #fff;
  font-family: Avenir;
  font-weight: 400;
}
.f-product-card .product-details {
  padding: 24px;
}
.f-product-card .product-details p {
  font-size: 16px;
  color: #000;
  font-family: Avenir;
  line-height: 24px;
  margin: 0;
  margin-bottom: 16px;
  font-weight: 400;
}
.f-product-card .brands {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.f-product-card .brands img {
  max-width: 100%;
  margin-bottom: 0px;
}
.f-product-card .wishlist-inactive-icon {
  background-image: url(/wp-content/themes/agifly-theme/assets/img/svgs/heart-inactive.svg);
  position: absolute;
  width: 40px;
  height: 40px;
  right: 20px;
  top: 20px;
  border-radius: 20px;
  background-color: white;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}
.f-product-card .new-price i {
  background-image: url(/wp-content/themes/agifly-theme/assets/img/svgs/questionmark.svg);
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 2px;
  display: inline-block;
  line-height: 21.86px;
  position: relative;
  top: 2px;
}
.f-product-card .icon {
  width: 30px;
  margin: 0 auto;
  margin-bottom: 8px;
}

/*Promotion ads*/
.promo-box-grid {
  background-color: #fe5000;
  padding: 16px;
  padding-right: 0;
  width: 100%;
  position: relative;
}
.promo-box-list {
  background-color: #fe5000;
  padding: 24px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
/* First Banner (Large) */
.promo-box-grid .discount {
  position: absolute;
  top: 16px;
  right: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  width: 94px;
  height: 97px;
}
.promo-box-grid .discount span {
  position: absolute;
  font-family: Avenir;
  color: #fe4f02;
  font-size: 24px;
  font-weight: 800;
  z-index: 2;
  line-height: 32.78px;
}
.promo-box-grid .in-content {
  margin-top: 105px;
  padding-right: 16px;
}
.promo-box-grid .in-content h2 {
  font-family: Avenir;
  font-size: 32px;
  line-height: 36px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  margin-bottom: 8px;
}
.promo-box-grid .in-content p {
  font-family: Avenir;
  font-size: 16px;
  line-height: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}
.promo-box-list .text-content {
  width: 70%;
}
.promo-box-list .discount-icon {
  position: relative;
  justify-content: start;
  align-items: center;
  display: flex;
}
.promo-box-list .discount-icon span {
  margin-left: 12px;
  position: absolute;
  font-family: Avenir;
  color: #fe4f02;
  font-size: 24px;
  font-weight: 800;
  z-index: 2;
  line-height: 32.78px;
}
.promo-box-list .text-content h2 {
  font-family: Avenir;
  font-size: 24px;
  line-height: 28px;
  color: #fff;
  font-weight: 900;
  margin: 0;
  margin-bottom: 8px;
}
.promo-box-list .text-content p {
  font-family: Avenir;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  font-weight: 400;
  margin: 0;
}
/* Second Banner (Small) */
/*Blog slider*/
.custom-blogs-carousel {
  overflow: hidden;
}
.custom-blogs-carousel .img-item,
.custom-blogs-carousel .carousel-container {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.custom-blogs-carousel .img-item .item,
.custom-blogs-carousel .carousel-container .carousel-item,
.custom-blogs-carousel .blogs-carousel.swiper-container {
  width: 100%;
  background-position: center;
  background-size: cover;
  flex-shrink: unset;
}
.custom-blogs-carousel .wrap {
  padding: 16px;
  background: #fff;
}
.custom-blogs-carousel .blog-content {
  text-align: left;
  padding-top: 16px;
}
.custom-blogs-carousel .cat span {
  font-size: 16px;
  font-family: Avenir;
  line-height: 24px;
  color: #000000;
  font-weight: 400;
  padding: 4px 20px;
  background: #e4e3d2;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 16px;
}
.custom-blogs-carousel .blog-title {
  font-size: 24px;
  line-height: 32.78px;
  color: #000000;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 16px;
  font-family: Avenir;
}
.custom-blogs-carousel .blog-link {
  font-size: 16px;
  line-height: 21.86px;
  color: #6e6809;
  font-weight: 900;
  display: inline-block;
  font-family: Avenir;
  text-decoration: underline;
}
.custom-blogs-carousel .img-item .item img,
.custom-blogs-carousel .blogs-carousel.swiper-container .item img {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 2px;
}
.custom-blogs-carousel .item {
  position: relative;
  text-align: center;
  min-width: 415px;
}
@media screen and (max-width: 480px) {
  .custom-blogs-carousel .item {
    min-width: 100%;
  }
}
.custom-blogs-carousel .image-name {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.custom-blogs-carousel .save-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease-in-out;
}

.custom-blogs-carousel .save-icon svg:hover {
  transform: scale(1.1);
}

.custom-blogs-carousel .save-icon {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 8px;
}
.custom-blogs-carousel .save-icon svg {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease-in-out;
}
.custom-blogs-carousel .save-icon.saved {
  fill: #fe5000 !important;
}

/* Remove default Swiper button styles */
.custom-blogs-carousel .swiper-button-next:after,
.custom-blogs-carousel .swiper-button-prev:after {
  content: "" !important;
}
.custom-blogs-carousel .swiper-button-prev,
.custom-blogs-carousel .swiper-button-next {
  width: auto;
  height: auto;
}
.custom-blogs-carousel .swiper-button-next.swiper-button-disabled,
.custom-blogs-carousel .swiper-button-prev.swiper-button-disabled {
  opacity: 0;
  cursor: auto;
  pointer-events: none;
}
.custom-blogs-carousel .swiper-button-prev img,
.custom-blogs-carousel .swiper-button-next img {
  cursor: pointer;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.custom-blogs-carousel .swiper-button-next {
  right: -10px;
}

.custom-blogs-carousel .swiper-button-prev {
  left: -10px;
}

@media (max-width: 768px) {
  .custom-blogs-carousel .img-item {
    flex-wrap: wrap;
  }

  .custom-blogs-carousel .img-item .item {
    height: 188px;
  }
}
/*Responsive*/
/*@media screen and (max-width: 768px ){
    .eggo-featured-carousel .slick-center.slick-current{
       width: 300px !important;
       max-width: 300px !important;
    }
}*/
@media screen and (max-width: 450px) {
  .eggo-featured-carousel .slick-center.slick-current {
    width: 250px !important;
    max-width: 250px !important;
  }
  .eggo-featured-carousel .slick-prev,
  .eggo-featured-carousel .slick-next,
  .eggo-featured-carousel .slick-prev:hover,
  .eggo-featured-carousel .slick-next:hover {
    width: 80px;
    height: 80px;
  }
  .eggo-featured-carousel .slick-prev {
    left: 15px;
  }
  .eggo-featured-carousel .slick-next {
    right: 15px;
  }
}
@media screen and (min-width: 1023px) {
  .eggo-featured-carousel .slick-slide {
    transition: width 0.5s ease-in-out, opacity 0.5s ease-in-out;
    margin: 0 8px;
    width: 198px !important;
  }
  .eggo-featured-carousel .slick-center.slick-current {
    width: 594px !important;
    max-width: 594px !important;
  }
}
@media screen and (min-width: 1200px) {
  .eggo-featured-carousel .slick-slide {
    transition: width 0.5s ease-in-out, opacity 0.5s ease-in-out;
    margin: 0 8px;
    width: 198px !important;
  }
  .eggo-featured-carousel .slick-center.slick-current {
    width: 842px !important;
    max-width: 842px !important;
  }
}
