/* V14 — homepage PRIMARY category tiles only. Does not touch catalog/category pages, product grids,
 * source images, checkout, header visuals, brand colors or the home builder data model.
 * Original V12.1 tokens are inherited; title is black and category image remains transparent PNG.
 */
@media (min-width: 1200px) {
  .store-home .sf-home-category-section .sf-category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 11px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .store-home .sf-home-category-section .sf-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .store-home .sf-home-category-section .sf-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}
.store-home .sf-home-category-section .sf-home-category {
  height: 122px;
  padding: 13px 13px 10px;
  border-radius: 11px;
  overflow: hidden;
  background-color: var(--brand-ice);
}
.store-home .sf-home-category-section .sf-home-category .sf-home-category-title {
  max-width: 96%;
  font-size: 13px;
  line-height: 1.27;
  font-weight: 750;
  padding-right: 12px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.store-home .sf-home-category-section .sf-home-category .sf-home-category-desc {
  margin-top: 5px;
  max-width: 63%;
  font-size: 10px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.store-home .sf-home-category-section .sf-home-category > i {
  top: 12px;
  right: 11px;
  font-size: 12px;
}
.store-home .sf-home-category-section .sf-home-category > img {
  width: 55%;
  height: 67%;
  right: 0;
  bottom: -6%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: normal;
}
@media (max-width: 767px) {
  .store-home .sf-home-category-section .sf-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .store-home .sf-home-category-section .sf-home-category {
    height: 112px;
    padding: 10px;
    border-radius: 10px;
  }
  .store-home .sf-home-category-section .sf-home-category .sf-home-category-title {
    font-size: 12px;
    line-height: 1.24;
    max-width: 100%;
    padding-right: 11px;
  }
  .store-home .sf-home-category-section .sf-home-category .sf-home-category-desc { display: none; }
  .store-home .sf-home-category-section .sf-home-category > i { top: 9px;right: 9px;font-size: 11px; }
  .store-home .sf-home-category-section .sf-home-category > img {
    width: 87%;
    height: 63%;
    right: 0;
    bottom: -5%;
    object-position: center bottom;
  }
}
@media (max-width: 359px) {
  .store-home .sf-home-category-section .sf-category-grid { gap: 7px; }
  .store-home .sf-home-category-section .sf-home-category { height: 106px; padding: 9px; }
  .store-home .sf-home-category-section .sf-home-category .sf-home-category-title { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .store-home .sf-home-category-section .sf-home-category { transition: none; }
}
