/* 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: #0a0a0a;
    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(3, minmax(0, 1fr));
    gap: 24px;
}

.bedots-categories__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 32px 20px 28px;
    border: 0.55px solid #f0f0f0;
    border-radius: 16px;
    background: #fafafa;
    text-align: center;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.bedots-categories__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
    background: transparent;
    box-shadow: none;
    color: #222;
}

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

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

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

.bedots-categories__name {
    margin: 0;
    color: #0a0a0a;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.1px;
}

.bedots-categories__count {
    display: none !important;
}

@media screen and (max-width: 767px) {
    .bedots-categories {
        padding: 28px 0 44px;
    }

    .bedots-categories .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .bedots-categories__header {
        max-width: none;
        margin: 0 0 16px;
        padding: 0;
        text-align: left;
    }

    .bedots-categories__title {
        font-size: 22px;
        line-height: 28px;
        letter-spacing: -0.22px;
    }

    .bedots-categories__subtitle {
        display: none;
    }

    .bedots-categories__grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px;
        overflow: visible;
        padding: 0;
    }

    .bedots-categories__card {
        flex: none;
        min-height: 111px;
        padding: 20px 8px;
    }

    .bedots-categories__icon {
        width: 50px;
        height: 50px;
        margin-bottom: 11px;
    }

    .bedots-categories__name {
        font-size: 12px;
        line-height: 16px;
    }
}
