/* NiliStore3D visual refresh 1.0.3 */
.home .brand-hero-banner {
  aspect-ratio: 2.8 / 1;
  min-height: 0;
}

.home .brand-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home .hero-summary {
  gap: 26px;
  padding-top: 18px;
}

.home #main-content > .nili-section {
  padding-block: 62px;
}

.home .product-categories-section {
  padding-top: 38px;
  padding-bottom: 56px;
}

.home .latest-products-section {
  padding-top: 54px;
  padding-bottom: 50px;
}

.home .latest-products-section + .best-selling-section {
  padding-top: 50px;
}

.home .section-heading {
  margin-bottom: 26px;
}

.home .product-category-card {
  border: 1px solid rgba(20, 35, 58, 0.08);
  border-radius: 20px 20px 7px 20px;
  box-shadow: 0 16px 36px rgba(20, 35, 58, 0.11);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.home .product-category-card::after {
  inset: 47% 0 0;
  background: linear-gradient(0deg, rgba(11, 25, 43, 0.92), rgba(11, 25, 43, 0));
}

.home .product-category-media > img {
  transition: transform 0.34s cubic-bezier(0.2, 0.75, 0.25, 1), filter 0.34s ease;
}

.home .product-category-media {
  position: relative;
  overflow: hidden;
}

.home .nili-real-product-mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.32fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  overflow: hidden;
  background: #eef1f4;
  transition: transform 0.34s cubic-bezier(0.2, 0.75, 0.25, 1), filter 0.34s ease;
}

.home .nili-real-product-mosaic img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  background: #fff;
}

.home .nili-real-product-mosaic img:first-child {
  grid-row: 1 / 3;
}

.home .nili-real-product-mosaic.is-single {
  display: block;
}

.home .nili-real-product-mosaic.is-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home .product-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(20, 35, 58, 0.16);
}

.home .product-category-card:hover .product-category-media > img {
  filter: contrast(1.02) saturate(0.98);
  transform: scale(1.025);
}

.home .product-category-card:hover .nili-real-product-mosaic {
  filter: contrast(1.015) saturate(0.98);
  transform: scale(1.018);
}

.home .product-category-content strong {
  font-size: clamp(15px, 1.3vw, 18px);
  letter-spacing: -0.2px;
}

.home .best-selling-section .product-rail ul.products li.product {
  border: 1px solid rgba(20, 35, 58, 0.075);
  border-radius: 18px 18px 7px 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(20, 35, 58, 0.075);
}

.home .best-selling-section .product-rail ul.products li.product img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 13px 13px 5px 13px;
}

.home .best-selling-section .product-rail ul.products li.product .woocommerce-loop-product__title {
  margin-top: 9px;
  font-weight: 780;
}

.home .best-selling-section .product-rail ul.products li.product .button {
  border-radius: 11px;
}

.single-product .nili-support-bubble,
.woocommerce-checkout .nili-support-bubble {
  width: 58px;
  height: 58px;
  min-height: 58px;
  gap: 0;
  padding: 4px;
  border-radius: 19px;
}

.single-product .nili-support-bubble__logo,
.woocommerce-checkout .nili-support-bubble__logo {
  flex-basis: 48px;
  width: 48px;
  height: 48px;
  border-radius: 15px;
}

.single-product .nili-support-bubble__copy,
.single-product .nili-support-bubble__arrow,
.woocommerce-checkout .nili-support-bubble__copy,
.woocommerce-checkout .nili-support-bubble__arrow {
  display: none;
}

.footer-snappay-badge {
  display: inline-flex;
  flex: 0 0 122px;
  width: 122px;
  min-height: 112px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  padding: 10px;
  color: #26364a;
  border: 1px solid rgba(20, 35, 58, 0.1);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 35, 58, 0.08);
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-snappay-badge:hover,
.footer-snappay-badge:focus-visible {
  color: #26364a;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(20, 35, 58, 0.13);
}

.footer-snappay-badge img {
  display: block;
  width: 88px;
  max-height: 52px;
  object-fit: contain;
}

.footer-snappay-badge span {
  font-size: 10px;
  font-weight: 750;
  line-height: 1.45;
}

@media (min-width: 901px) {
  .header-inner {
    min-height: 68px;
    padding-block: 7px;
  }

  .header-brand-logo {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 720px) {
  .single-product .summary form.cart {
    position: sticky;
    z-index: 35;
    bottom: max(8px, env(safe-area-inset-bottom));
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(20, 35, 58, 0.11);
    border-radius: 18px 18px 7px 18px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 16px 38px rgba(20, 35, 58, 0.18);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .home #main-content > .nili-section {
    padding-block: 42px;
  }

  .home .product-categories-section {
    padding-top: 30px;
  }

  .home .section-heading {
    margin-bottom: 20px;
  }
}

@media (max-width: 560px) {
  .nili-first-order-promo__inner {
    min-height: 48px;
    gap: 6px;
    padding-block: 4px;
  }

  .nili-first-order-promo__copy {
    font-size: 11.5px;
    line-height: 1.45;
  }

  .nili-first-order-promo__code {
    min-width: 82px;
    min-height: 36px;
    padding: 4px 7px;
    border-radius: 11px;
  }

  .nili-first-order-promo__code small {
    display: none;
  }

  .nili-first-order-promo__code strong {
    font-size: 14px;
  }

  .header-inner {
    min-height: 58px;
    padding-block: 5px;
  }

  .home .brand-hero-banner {
    aspect-ratio: 2.3 / 1;
  }

  .home .product-category-card {
    aspect-ratio: 1.1 / 1;
  }

  .home .best-selling-section .product-rail ul.products li.product {
    flex-basis: 72%;
  }

  .footer-snappay-badge {
    flex-basis: 104px;
    width: 104px;
    min-height: 100px;
  }
}

