.catalog-features-bar {
    background: #fff;
    margin: 16px 40px 24px;
    padding: 24px 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

.catalog-features-bar .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s, transform 0.15s;
    flex: 1 1 0;
    min-width: 0;
    max-width: 260px;
    font: inherit;
    color: inherit;
}

.catalog-features-bar .feature-item:hover,
.catalog-features-bar .feature-item:focus-visible {
    background: #f0f6ff;
    outline: none;
}

.catalog-features-bar .feature-item:active {
    transform: scale(0.98);
}

.catalog-features-bar .feature-item i {
    font-size: 28px;
    color: #1a73e8;
    flex-shrink: 0;
}

.catalog-features-bar .ft-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.catalog-features-bar .ft-desc {
    font-size: 12px;
    color: #999;
    line-height: 1.35;
    margin-top: 2px;
}

.catalog-feature-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.catalog-feature-modal.is-open {
    display: flex;
}

.catalog-feature-modal-box {
    background: #fff;
    border-radius: 12px;
    width: min(420px, 100%);
    padding: 24px 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    position: relative;
}

.catalog-feature-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #f5f5f5;
    color: #666;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.catalog-feature-modal-close:hover {
    background: #ebebeb;
    color: #333;
}

.catalog-feature-modal-icon {
    font-size: 36px;
    color: #1a73e8;
    margin-bottom: 12px;
}

.catalog-feature-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.catalog-feature-modal-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

@media (max-width: 992px) {
    .catalog-features-bar {
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .catalog-features-bar::-webkit-scrollbar {
        display: none;
    }

    .catalog-features-bar .feature-item {
        flex: 0 0 auto;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .catalog-features-bar {
        margin: 12px 16px 20px;
        flex-direction: column;
        align-items: stretch;
        overflow: visible;
        padding: 16px 24px;
        gap: 4px;
    }

    .catalog-features-bar .feature-item {
        max-width: none;
        min-width: 0;
        justify-content: flex-start;
    }
}
