/* Home page */
.home .site-main,
.page-template-front-page .site-main {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.home .hero-slider,
.page-template-front-page .hero-slider {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  background: #eef2f7;
}

.home .hero-slider__slide,
.page-template-front-page .hero-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
  overflow: hidden;
}

.home .hero-slider__slide.is-active,
.page-template-front-page .hero-slider__slide.is-active {
  opacity: 1;
}

.home .hero-slide-widget,
.page-template-front-page .hero-slide-widget,
.home .hero-slide-widget > div,
.page-template-front-page .hero-slide-widget > div {
  width: 100%;
  height: 100%;
}

.home .hero-slider__slide > a,
.home .hero-slider__slide > div,
.page-template-front-page .hero-slider__slide > a,
.page-template-front-page .hero-slider__slide > div {
  width: 100%;
  height: 100%;
  display: block;
}

.home .hero-slider__slide .widget,
.home .hero-slider__slide .textwidget,
.home .hero-slider__slide figure,
.home .hero-slider__slide .wp-block-image,
.page-template-front-page .hero-slider__slide .widget,
.page-template-front-page .hero-slider__slide .textwidget,
.page-template-front-page .hero-slider__slide figure,
.page-template-front-page .hero-slider__slide .wp-block-image {
  width: 100%;
  height: 100%;
  margin: 0;
}

.home .hero-slide-widget img,
.page-template-front-page .hero-slide-widget img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.home .hero-slider__slide img,
.page-template-front-page .hero-slider__slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

.home .hero-slider__controls,
.page-template-front-page .hero-slider__controls {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.home .hero-slider__arrow,
.page-template-front-page .hero-slider__arrow {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(55, 65, 81, .7);
  color: #fff;
}

.home .hero-slider__arrow--prev,
.page-template-front-page .hero-slider__arrow--prev { left: 14px; }
.home .hero-slider__arrow--next,
.page-template-front-page .hero-slider__arrow--next { right: 14px; }

.home .hero-slider__dots,
.page-template-front-page .hero-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.home .hero-slider__dot,
.page-template-front-page .hero-slider__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,.75);
}

.home .hero-slider__dot.is-active,
.page-template-front-page .hero-slider__dot.is-active {
  background: #f59e0b;
}

.home .category-section,
.page-template-front-page .category-section,
.home .featured-products,
.page-template-front-page .featured-products,
.home .best-sellers,
.page-template-front-page .best-sellers,
.home .promo-banner,
.page-template-front-page .promo-banner {
  padding: 10px 0;
}

.home .category-section__inner,
.home .featured-products__inner,
.home .best-sellers__inner,
.home .promo-banner__inner,
.page-template-front-page .category-section__inner,
.page-template-front-page .featured-products__inner,
.page-template-front-page .best-sellers__inner,
.page-template-front-page .promo-banner__inner {
  max-width: 1440px;
  width: 95%;
  margin: 0 auto;
  padding: 0;
}

.home .section-head,
.page-template-front-page .section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.home .section-head h2,
.page-template-front-page .section-head h2 {
  margin: 0;
  font-size: 28px;
  color: #0b2247;
  line-height: 1.2;
}

.home .section-head p,
.page-template-front-page .section-head p {
  margin: 0;
  color: #64748b;
}

.home .category-grid,
.page-template-front-page .category-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 120px;
  gap: 20px;
  overflow-x: auto;
  padding: 0 24px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.home .category-grid::-webkit-scrollbar,
.page-template-front-page .category-grid::-webkit-scrollbar {
  display: none;
}

.home .category-carousel,
.page-template-front-page .category-carousel {
  position: relative;
}

.home .category-carousel__arrow,
.page-template-front-page .category-carousel__arrow {
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(55, 65, 81, .78);
  color: #fff;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.home .category-carousel__arrow--prev,
.page-template-front-page .category-carousel__arrow--prev {
  left: 0px;
}

.home .category-carousel__arrow--next,
.page-template-front-page .category-carousel__arrow--next {
  right: 4px;
}

.home .category-card,
.page-template-front-page .category-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.home .category-card__media,
.page-template-front-page .category-card__media {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #e5e7eb;
  border: 4px solid #bae6fd;
  box-shadow: inset 0 0 0 2px #fff;
}

.home .category-card__title,
.page-template-front-page .category-card__title {
  width: 120px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #111827;
}

.home .featured-products__grid ul.products,
.page-template-front-page .featured-products__grid ul.products,
.home .best-sellers__grid ul.products,
.page-template-front-page .best-sellers__grid ul.products {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.home .featured-products__grid ul.products li.product,
.page-template-front-page .featured-products__grid ul.products li.product,
.home .best-sellers__grid ul.products li.product,
.page-template-front-page .best-sellers__grid ul.products li.product {
  position: relative;
  margin: 0 !important;
  width: auto !important;
  float: none !important;
  clear: none !important;
  display: flex;
  flex-direction: column;
  border: 1px solid #e7edf6;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  min-height: 260px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.home .featured-products__grid ul.products li.product:hover,
.page-template-front-page .featured-products__grid ul.products li.product:hover,
.home .best-sellers__grid ul.products li.product:hover,
.page-template-front-page .best-sellers__grid ul.products li.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgba(15, 23, 42, .12);
  border-color: #d7e3f4;
}

.home .featured-products__grid ul.products li.product img,
.page-template-front-page .featured-products__grid ul.products li.product img,
.home .best-sellers__grid ul.products li.product img,
.page-template-front-page .best-sellers__grid ul.products li.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 0 10px !important;
}

.home .featured-products__grid ul.products li.product .woocommerce-loop-product__title,
.page-template-front-page .featured-products__grid ul.products li.product .woocommerce-loop-product__title,
.home .best-sellers__grid ul.products li.product .woocommerce-loop-product__title,
.page-template-front-page .best-sellers__grid ul.products li.product .woocommerce-loop-product__title {
  margin: 8px 0 6px;
  font-size: 14px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none !important;
}

.home .featured-products__grid ul.products li.product a,
.home .best-sellers__grid ul.products li.product a,
.page-template-front-page .featured-products__grid ul.products li.product a,
.page-template-front-page .best-sellers__grid ul.products li.product a {
  text-decoration: none !important;
}

.home .featured-products__grid .price,
.page-template-front-page .featured-products__grid .price,
.home .best-sellers__grid .price,
.page-template-front-page .best-sellers__grid .price {
  font-weight: 700;
  color: #0f172a;
}

.home .featured-products__grid .button,
.home .featured-products__grid .add_to_cart_button,
.home .best-sellers__grid .button,
.home .best-sellers__grid .add_to_cart_button,
.page-template-front-page .featured-products__grid .button,
.page-template-front-page .featured-products__grid .add_to_cart_button,
.page-template-front-page .best-sellers__grid .button,
.page-template-front-page .best-sellers__grid .add_to_cart_button {
  margin-top: auto;
  background: #ffa41c !important;
  border: 1px solid #f08804 !important;
  color: #0f1111 !important;
  border-radius: 999px !important;
  min-height: 42px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.home .featured-products__grid .button:hover,
.home .featured-products__grid .add_to_cart_button:hover,
.home .best-sellers__grid .button:hover,
.home .best-sellers__grid .add_to_cart_button:hover,
.page-template-front-page .featured-products__grid .button:hover,
.page-template-front-page .featured-products__grid .add_to_cart_button:hover,
.page-template-front-page .best-sellers__grid .button:hover,
.page-template-front-page .best-sellers__grid .add_to_cart_button:hover {
  background: #d97706 !important;
  border-color: #b45309 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.home .featured-products__grid ul.products li.product .onsale,
.home .best-sellers__grid ul.products li.product .onsale,
.page-template-front-page .featured-products__grid ul.products li.product .onsale,
.page-template-front-page .best-sellers__grid ul.products li.product .onsale {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  margin: 0 !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  background: #dc2626 !important;
  color: #fff !important;
  z-index: 8 !important;
}

.home .product-wishlist,
.page-template-front-page .product-wishlist {
  position: absolute;
  right: 6px;
  top: -2px;
  z-index: 9;
}

.home .product-wishlist .yith-wcwl-add-to-wishlist,
.page-template-front-page .product-wishlist .yith-wcwl-add-to-wishlist {
  margin: 0 !important;
}

.home .product-wishlist .add_to_wishlist,
.home .product-wishlist .yith-wcwl-add-to-wishlist-button,
.home .product-wishlist .yith-wcwl-wishlistaddedbrowse a,
.home .product-wishlist .yith-wcwl-wishlistexistsbrowse a,
.page-template-front-page .product-wishlist .add_to_wishlist,
.page-template-front-page .product-wishlist .yith-wcwl-add-to-wishlist-button,
.page-template-front-page .product-wishlist .yith-wcwl-wishlistaddedbrowse a,
.page-template-front-page .product-wishlist .yith-wcwl-wishlistexistsbrowse a {
  width: 44px !important;
  height: 44px !important;
  min-height: 42px !important;
  border-radius: 50% !important;
  background: oklab(82.935% 0.02792 0.16597) !important;
  border: 1px solid #e41515 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  text-decoration: none !important;
}

.home .product-wishlist .add_to_wishlist::before,
.home .product-wishlist .yith-wcwl-add-to-wishlist-button::before,
.home .product-wishlist .yith-wcwl-wishlistaddedbrowse a::before,
.home .product-wishlist .yith-wcwl-wishlistexistsbrowse a::before,
.page-template-front-page .product-wishlist .add_to_wishlist::before,
.page-template-front-page .product-wishlist .yith-wcwl-add-to-wishlist-button::before,
.page-template-front-page .product-wishlist .yith-wcwl-wishlistaddedbrowse a::before,
.page-template-front-page .product-wishlist .yith-wcwl-wishlistexistsbrowse a::before {
  content: "\f004";
  font-family: "Font Awesome 7 Free";
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  color: #111827;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.home .product-wishlist .yith-wcwl-add-to-wishlist-button--added::before,
.home .product-wishlist .yith-wcwl-wishlistaddedbrowse a::before,
.home .product-wishlist .yith-wcwl-wishlistexistsbrowse a::before,
.page-template-front-page .product-wishlist .yith-wcwl-add-to-wishlist-button--added::before,
.page-template-front-page .product-wishlist .yith-wcwl-wishlistaddedbrowse a::before,
.page-template-front-page .product-wishlist .yith-wcwl-wishlistexistsbrowse a::before {
  color: #dc2626 !important;
  font-weight: 900 !important;
}

.home .product-wishlist .add_to_wishlist svg,
.home .product-wishlist .add_to_wishlist i,
.home .product-wishlist .yith-wcwl-add-to-wishlist-button svg,
.home .product-wishlist .yith-wcwl-add-to-wishlist-button i,
.page-template-front-page .product-wishlist .add_to_wishlist svg,
.page-template-front-page .product-wishlist .add_to_wishlist i,
.page-template-front-page .product-wishlist .yith-wcwl-add-to-wishlist-button svg,
.page-template-front-page .product-wishlist .yith-wcwl-add-to-wishlist-button i {
  display: none !important;
}

.home .product-wishlist .feedback,
.home .product-wishlist .yith-wcwl-add-to-wishlist .ajax-loading,
.page-template-front-page .product-wishlist .feedback,
.page-template-front-page .product-wishlist .yith-wcwl-add-to-wishlist .ajax-loading {
  display: none !important;
}

.home .promo-banner__inner,
.page-template-front-page .promo-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, #f1f5f9 0%, #ffffff 100%);
  border: 1px solid #eef2f7;
  border-radius: 16px;
  padding: 24px;
  overflow: hidden;
}

.home .promo-banner__tag,
.page-template-front-page .promo-banner__tag {
  display: inline-flex;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: #f59e0b;
  color: #111827;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.home .promo-banner__content h2,
.page-template-front-page .promo-banner__content h2 {
  margin: 10px 0 6px;
  font-size: 24px;
  color: #0f172a;
}

.home .promo-banner__content p,
.page-template-front-page .promo-banner__content p {
  margin: 0 0 14px;
  color: #475569;
}

.home .promo-banner__cta,
.page-template-front-page .promo-banner__cta {
  display: inline-flex;
  padding: 10px 16px;
  background: #382a87;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}

.home .promo-banner__art,
.page-template-front-page .promo-banner__art {
  position: relative;
  height: 120px;
}

.home .promo-banner__circle,
.page-template-front-page .promo-banner__circle {
  position: absolute;
  right: 10px;
  top: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(56, 42, 135, .15);
}

.home .promo-banner__card,
.page-template-front-page .promo-banner__card {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  background: #f59e0b;
  color: #111827;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .home .featured-products__grid ul.products,
  .home .best-sellers__grid ul.products,
  .page-template-front-page .featured-products__grid ul.products,
  .page-template-front-page .best-sellers__grid ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home .hero-slider,
  .page-template-front-page .hero-slider {
    height: 220px;
  }
}

@media (max-width: 900px) {
  .home .section-head,
  .page-template-front-page .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .home .promo-banner__inner,
  .page-template-front-page .promo-banner__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home .hero-slider,
  .page-template-front-page .hero-slider {
    height: 170px;
  }

  .home .hero-slider__slide img,
  .page-template-front-page .hero-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .home .hero-slider__arrow,
  .page-template-front-page .hero-slider__arrow {
    width: 36px;
    height: 36px;
  }

  .home .section-head h2,
  .page-template-front-page .section-head h2 {
    font-size: 24px;
  }

  .home .category-section__inner,
  .home .featured-products__inner,
  .home .best-sellers__inner,
  .home .promo-banner__inner,
  .page-template-front-page .category-section__inner,
  .page-template-front-page .featured-products__inner,
  .page-template-front-page .best-sellers__inner,
  .page-template-front-page .promo-banner__inner {
    padding-left: 12px;
    padding-right: 12px;
  }

  .home .category-grid,
  .page-template-front-page .category-grid {
    grid-auto-columns: 92px;
    gap: 12px;
    padding: 0 28px;
  }

  .home .category-card__media,
  .page-template-front-page .category-card__media {
    width: 82px;
    height: 82px;
  }

  .home .featured-products__grid ul.products,
  .home .best-sellers__grid ul.products,
  .page-template-front-page .featured-products__grid ul.products,
  .page-template-front-page .best-sellers__grid ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home .promo-banner__inner,
  .page-template-front-page .promo-banner__inner {
    padding: 14px !important;
    gap: 10px;
  }

  .home .promo-banner__content h2,
  .page-template-front-page .promo-banner__content h2 {
    font-size: 20px;
    line-height: 1.25;
  }

  .home .promo-banner__art,
  .page-template-front-page .promo-banner__art {
    height: 86px;
  }

  .home .promo-banner__circle,
  .page-template-front-page .promo-banner__circle {
    width: 86px;
    height: 86px;
    right: 2px;
    top: 0;
  }

  .home .promo-banner__card,
  .page-template-front-page .promo-banner__card {
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 999px;
  }
}

/* Hide "View cart" helper link after AJAX add-to-cart on home sections */
.home .featured-products__grid ul.products li.product a.added_to_cart,
.home .best-sellers__grid ul.products li.product a.added_to_cart,
.page-template-front-page .featured-products__grid ul.products li.product a.added_to_cart,
.page-template-front-page .best-sellers__grid ul.products li.product a.added_to_cart {
  display: none !important;
}
