/* Стили для модальных окон категорий */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.category-modal {
    background-color: #fff;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    min-height: 300px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 15px;
}

.category-header h3 {
    margin: 0;
    font-size: 24px;
    font-family: 'Alumni Sans', sans-serif;
    color: #333;
}

.category-header .close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.category-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.category-item:hover {
    background-color: #f5f5f5;
}

.item-name {
    font-size: 18px;
    font-family: 'Alumni Sans', sans-serif;
    color: #333;
    flex: 1;
}

.item-price {
    font-size: 16px;
    font-family: 'Alumni Sans', sans-serif;
    color: #007bff;
    font-weight: bold;
}
