/* bedots_categories UI block */
.bedots-categories {
    padding: 72px 0 80px;
    background: #fff;
}

.bedots-categories__header {
    max-width: 720px;
    margin: 0 auto 52px;
    padding: 0 20px;
    text-align: center;
}

.bedots-categories__title {
    margin: 0;
    color: #111;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(1.875rem, 3vw, 2.375rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.bedots-categories__subtitle {
    margin: 14px 0 0;
    color: #8a8a8a;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
}

.bedots-categories__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.bedots-categories__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 44px 24px 40px;
    border-radius: 16px;
    background: #f5f5f5;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    text-align: center;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

a.bedots-categories__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.bedots-categories__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    color: #222;
}

.bedots-categories__icon i {
    font-size: 28px;
    line-height: 1;
}

.bedots-categories__icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

a.bedots-categories__card .bedots-categories__name {
    color: #111;
}

a.bedots-categories__card .bedots-categories__count {
    color: #9a9a9a;
}

.bedots-categories__name {
    margin: 0 0 8px;
    color: #111;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.bedots-categories__count {
    margin: 0;
    color: #9a9a9a;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}

@media screen and (max-width: 991px) {
    .bedots-categories__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 575px) {
    .bedots-categories {
        padding: 56px 0 64px;
    }

    .bedots-categories__header {
        margin-bottom: 36px;
    }

    .bedots-categories__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bedots-categories__card {
        min-height: 200px;
        padding: 36px 20px 32px;
    }
}
