/* WooCustom 1.65: scoped product-categories defaults. */
.woocommerce ul.products li.product{position: relative}
.e-loop-nothing-found-message__text{display: flex;flex-direction: column;justify-content: center;align-items: center;gap: 10px}
.woocustom-category-section{margin: 24px 0}
.woocustom-categories{display: grid;grid-template-columns: repeat(8, minmax(0, 1fr));gap: 15px;align-items: stretch}
.woocustom-category-card{position: relative;height: 155px;text-align: center;cursor: pointer;background-color: #fff;border-radius: var(--woocustom-radius-md, 12px);padding: 20px;transition: transform 0.2s ease, box-shadow 0.2s ease}
.woocustom-category-card:hover{transform: translateY(-4px);box-shadow:none}
.woocustom-category-card-image img{border-radius: 50%;max-width: 85px;max-height: 85px;width: 100%;height: 100%;object-fit: cover}
.woocustom-category-card-title{margin-top: 12px;font-size: 13px;font-weight: 500;color: var(--woocustom-text, #1f2937);line-height: 1.6}
.woocustom-hidden{display: none}
@media (max-width: 1280px){
.woocustom-categories{grid-template-columns: repeat(6, minmax(0, 1fr))}
}
@media (max-width: 1100px){
.woocustom-categories{grid-template-columns: repeat(5, minmax(0, 1fr))}
}
@media (max-width: 950px){
.woocustom-categories{display: flex;flex-wrap: nowrap;overflow-x: auto;gap: 15px;padding-bottom: 4px;scroll-snap-type: x proximity}
.woocustom-category-card{flex: 0 0 calc(100% / 4);max-width: calc(100% / 4);scroll-snap-align: center}
.woocustom-categories::-webkit-scrollbar{height: 8px}
.woocustom-categories::-webkit-scrollbar-thumb{background-color: rgba(0, 0, 0, 0.25);border-radius: 4px}
.woocustom-categories::-webkit-scrollbar-track{background-color: rgba(0, 0, 0, 0.05)}
}
@media (max-width: 768px){
.woocustom-category-card{flex: 0 0 calc(100% / 3);max-width: calc(100% / 3)}
}
@media (max-width: 576px){
.woocustom-category-card{flex: 0 0 calc(100% / 2);max-width: calc(100% / 2)}
}
@media (max-width: 420px){
.woocustom-category-card{flex: 0 0 calc(100% / 1.5);max-width: calc(100% / 1.5)}
.woocustom-category-card-title{font-size: 12px}
}
button[class*="woocustom"],
a[class*="woocustom"]{transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease}
body.modal-open{overflow: hidden}
