.p4u-categorylazy-container {
    margin-top: 1.25rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: .5rem;
    padding: 1rem;
}

.p4u-categorylazy-container .p4u-loading {
    text-align: center;
    padding: 2rem;
}

.p4u-categorylazy-container .p4u-loading div {
    display: inline-block;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
}

.p4u-categorylazy-container .p4u-loading p {
    margin-top: 1rem;
    color: #666;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.p4u-categorylazy-container h4 {
    font-size: 1rem;
    margin: 0 0 .5rem;
    font-weight: 600;
}

.p4u-search-container {
    display: flex;
    gap: .5rem;
    align-items: center;
    margin-bottom: .75rem;
    flex-wrap: wrap;
}

.p4u-search-container input[type="search"] {
    flex: 1 1 240px;
    border: 1px solid #ced4da;
    border-radius: .375rem;
    padding: .5rem .75rem;
    font-size: .95rem;
    background: #fff;
}

.p4u-search-container button {
    border: 1px solid #ced4da;
    background: #fff;
    border-radius: .375rem;
    padding: .5rem .75rem;
    cursor: pointer;
    font-size: .875rem;
}

.p4u-brand-group {
    border: 1px solid #e9ecef;
    background: #fff;
    border-radius: .5rem;
    margin: .5rem 0;
    overflow: hidden;
}

.p4u-brand-header {
    width: 100%;
    text-align: left;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem .75rem;
    border: 0;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.p4u-brand-header:hover {
    background: #f8f9fa;
}

.p4u-brand-header span:last-child {
    font-size: .8rem;
    color: #6c757d;
}

.p4u-models-list {
    margin: 0;
    padding: .5rem .75rem;
    list-style: none;
}

.p4u-models-list li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: .15rem 0;
}

.p4u-models-list li a {
    text-decoration: none;
    color: inherit;
}

.p4u-models-list li a:hover {
    color: #007bff;
}

.p4u-controls {
    margin-top: .75rem;
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.p4u-controls button {
    border: 1px solid #ced4da;
    background: #fff;
    border-radius: .375rem;
    padding: .5rem .75rem;
    cursor: pointer;
    font-size: .875rem;
}

.p4u-controls button:hover {
    background: #f8f9fa;
}

@media (max-width: 768px) {
    .p4u-search-container {
        flex-direction: column;
        align-items: stretch;
    }

    .p4u-search-container input[type="search"] {
        flex: 1;
    }

    .p4u-controls {
        flex-direction: column;
    }

    .p4u-controls button {
        width: 100%;
    }
}
