/* ZEFFIRO 4.49 — readable compact category tiles. Loaded AFTER v4.48.
   Keep the section full-width and relatively shallow, but never miniaturize
   cards to 105/126px or 10px labels. No global catalog/product overrides. */
html body main[data-page="home"] #categories .quick-sections-track {
  gap: 12px !important;
  padding: 5px 4px 10px !important;
  align-items: stretch !important;
}
html body main[data-page="home"] #categories a.quick-section-link {
  box-sizing: border-box !important;
  flex: 0 0 166px !important;
  width: 166px !important;
  min-width: 166px !important;
  max-width: 166px !important;
  height: 174px !important;
  min-height: 174px !important;
  max-height: 174px !important;
  padding: 8px 9px 10px !important;
  gap: 3px !important;
  border-radius: 15px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: center !important;
  scroll-snap-align: start !important;
}
html body main[data-page="home"] #categories a.quick-section-link .quick-section-icon {
  box-sizing: border-box !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 115px !important;
  width: 100% !important;
  height: 115px !important;
  min-height: 115px !important;
  max-height: 115px !important;
  padding: 1px !important;
  margin: 0 !important;
  overflow: visible !important;
}
html body main[data-page="home"] #categories a.quick-section-link .quick-section-icon img.zf439-category-art {
  display: block !important;
  width: 113px !important;
  max-width: 113px !important;
  height: 113px !important;
  max-height: 113px !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: auto !important;
  opacity: 1 !important;
  transform: none !important;
}
html body main[data-page="home"] #categories a.quick-section-link .quick-section-copy {
  box-sizing: border-box !important;
  display: flex !important;
  flex: 0 0 37px !important;
  height: 37px !important;
  min-height: 37px !important;
  max-height: 37px !important;
  width: 100% !important;
  padding: 0 2px !important;
  margin: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}
html body main[data-page="home"] #categories a.quick-section-link .quick-section-copy strong {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  font-size: 14.3px !important;
  line-height: 1.23 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}
/* Small screens: still usable and readable without expanding the whole section. */
@media (max-width: 700px) {
  html body main[data-page="home"] #categories .quick-sections-track {gap: 10px !important;}
  html body main[data-page="home"] #categories a.quick-section-link {
    flex: 0 0 146px !important;
    width: 146px !important;
    min-width: 146px !important;
    max-width: 146px !important;
    height: 160px !important;
    min-height: 160px !important;
    max-height: 160px !important;
    padding: 7px 7px 9px !important;
  }
  html body main[data-page="home"] #categories a.quick-section-link .quick-section-icon {
    flex: 0 0 103px !important;
    height: 103px !important;
    min-height: 103px !important;
    max-height: 103px !important;
  }
  html body main[data-page="home"] #categories a.quick-section-link .quick-section-icon img.zf439-category-art {
    width: 101px !important;
    max-width: 101px !important;
    height: 101px !important;
    max-height: 101px !important;
  }
  html body main[data-page="home"] #categories a.quick-section-link .quick-section-copy {
    flex: 0 0 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
  }
  html body main[data-page="home"] #categories a.quick-section-link .quick-section-copy strong {
    font-size: 13.2px !important;
    line-height: 1.22 !important;
  }
}
