/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

.block_newsletter .alert:before {
    left: 10px;
    top: 8px;
}

.subcategories-list {
    margin: 0;
    padding: 0;
}

.subcategories-list .slick-list {
    padding: 20px 0 !important;
}

.subcategories-list .subcategory-item {
    list-style: none;
    height: 100%;
    padding: 12px;
}

.subcategories-list .slick-slide > div {
    height: 100%;
}

.subcategory-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 16px;
    padding: 22px 16px;
    height: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    color: inherit;
}

.subcategory-card:hover,
.subcategory-card:focus {
    border-color: #b3b3b3;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    text-decoration: none;
}

.subcategory-card__image {
    width: 98px;
    height: 98px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 12px;
    border: none;
    overflow: hidden;
}

.subcategory-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.subcategory-card__name {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    margin: 0;
}

.cat_desc {
    margin-top: 12px;
}
