/**
 * Homepage showcase — category grid + product images always visible
 */

body.home-catalog.home-storefront .home-category-showcase {
  display: block !important;
  visibility: visible !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  padding: 2.5rem 0 3rem !important;
  border-bottom: 1px solid #eef2f7;
}

body.home-catalog.home-storefront .home-category-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
  width: 100% !important;
}

@media (max-width: 991.98px) {
  body.home-catalog.home-storefront .home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 479.98px) {
  body.home-catalog.home-storefront .home-category-grid {
    grid-template-columns: 1fr !important;
  }
}

body.home-catalog.home-storefront .ml-cat-icon--ios-white {
  position: relative;
}

body.home-catalog.home-storefront .jp-cat-icon-img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

body.home-catalog.home-storefront .jp-cat-icon-img.is-hidden {
  display: none !important;
}

body.home-catalog.home-storefront .jp-cat-icon-fa {
  display: none;
  color: #fff !important;
  font-size: 1.4rem !important;
  line-height: 1;
}

body.home-catalog.home-storefront .jp-cat-use-fa .jp-cat-icon-fa {
  display: block !important;
}

body.home-catalog.home-storefront .jp-subject-icon--ios .jp-section-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

body.home-catalog.home-storefront .jp-subject-icon--ios.jp-cat-use-fa .jp-cat-icon-fa {
  display: block !important;
  font-size: 1.35rem !important;
  color: #fff !important;
}

body.home-catalog.home-storefront .jp-card-storefront .card-img-wrap img,
body.home-catalog.home-storefront .jp-card-storefront img[loading="lazy"] {
  opacity: 1 !important;
  visibility: visible !important;
}

body.home-catalog.home-storefront .janosci-product-card.jp-card-storefront .card-img-wrap {
  background: #ffffff !important;
  background-image: none !important;
}

body.home-catalog.home-storefront .jp-card-storefront .card-img-wrap img.is-placeholder {
  opacity: 0.85 !important;
  max-width: 55% !important;
}

body.home-catalog.home-storefront .jp-ws-head--categories {
  align-items: flex-end !important;
  margin-bottom: 1.75rem !important;
}

body.home-catalog.home-storefront .jp-ws-head--categories .cat-section-link::after {
  content: " →";
}

body.home-catalog.home-storefront .home-category-showcase .ml-cat-icon i.jp-cat-icon-fa {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Section header badge icons (white PNG on blue) */
body.home-catalog.home-storefront .jp-ws-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 0.65rem;
  background: linear-gradient(145deg, #2563eb, #1d4ed8);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

body.home-catalog.home-storefront .jp-ws-badge-icon--violet {
  background: linear-gradient(145deg, #8b5cf6, #7c3aed);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.28);
}

body.home-catalog.home-storefront .jp-ws-badge-icon .jp-section-icon-img {
  width: 28px;
  height: 28px;
}

body.home-catalog.home-storefront .jp-ws-badge-icon.jp-cat-use-fa .jp-cat-icon-fa {
  display: block !important;
  color: #fff !important;
  font-size: 1.25rem !important;
}

body.home-catalog.home-storefront .ml-shop-slider-block .jp-subject-icon--badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--slide-accent, #2563eb), var(--slide-accent-dark, #1d4ed8));
  box-shadow: 0 8px 20px color-mix(in srgb, var(--slide-accent, #2563eb) 35%, transparent);
}

body.home-catalog.home-storefront .jp-subject-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
}

body.home-catalog.home-storefront .jp-subject-copy .jp-ws-sub {
  margin: 0.35rem 0 0;
}

/* Mobile / trust icons — one visible icon (PNG or FA fallback, never both) */
body.home-catalog.home-storefront .jp-mob-icon .jp-mob-icon-fa {
  display: none !important;
}

body.home-catalog.home-storefront .jp-mob-icon.jp-mob-use-fa .jp-mob-icon-img {
  display: none !important;
}

body.home-catalog.home-storefront .jp-mob-icon.jp-mob-use-fa .jp-mob-icon-fa {
  display: inline-block !important;
}

body.home-catalog.home-storefront .hc-feature-ico .jp-mob-icon-fa,
body.home-catalog.home-storefront .hc-trust-ico .jp-mob-icon-fa,
body.home-catalog.home-storefront .app-trust-pill .jp-mob-icon-fa,
body.home-catalog.home-storefront .jp-overview-strip .jp-mob-icon-fa {
  display: none !important;
}

body.home-catalog.home-storefront .hc-feature-ico .jp-mob-icon.jp-mob-use-fa .jp-mob-icon-fa,
body.home-catalog.home-storefront .hc-trust-ico .jp-mob-icon.jp-mob-use-fa .jp-mob-icon-fa,
body.home-catalog.home-storefront .app-trust-pill .jp-mob-icon.jp-mob-use-fa .jp-mob-icon-fa {
  display: inline-block !important;
}

body.home-catalog.home-storefront .hc-feature-ico i.jp-mob-icon-fa {
  line-height: 1 !important;
}

@media (max-width: 767.98px) {
  body.home-catalog.home-storefront .jp-ws-head--center {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  body.home-catalog.home-storefront .jp-ws-head--center .jp-ws-head__text {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }

  body.home-catalog.home-storefront .jp-ws-head--center .jp-ws-viewall {
    margin-top: 0.35rem !important;
    align-self: center !important;
  }

  body.home-catalog.home-storefront .jp-subject-head--center {
    width: 100%;
  }

  body.home-catalog.home-storefront .jp-overview-strip .hc-trust-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  body.home-catalog.home-storefront .jp-overview-strip .hc-trust-ico {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important;
    background: #eff6ff !important;
    margin-bottom: 0.35rem !important;
  }

  body.home-catalog.home-storefront .jp-overview-strip .hc-trust-ico .jp-mob-icon-img {
    width: 26px !important;
    height: 26px !important;
  }

  body.home-catalog.home-storefront .home-category-showcase .cat-section-head {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  body.home-catalog.home-storefront .home-category-showcase .cat-section-link {
    margin-top: 0.5rem !important;
  }
}
