.lsp-block-container {
    position: relative;
    min-height: 100px;
}

.lsp-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
}

.lsp-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: lsp-spin 1s linear infinite;
    margin-bottom: 15px;
}

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

.lsp-loader span {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.lsp-products-container {
    padding: 0px 0;
}

.lsp-no-products,
.lsp-error {
    padding: 30px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    color: #6c757d;
    font-size: 16px;
}

.lsp-error {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lsp-loader {
        padding: 30px 15px;
    }
    
    .lsp-spinner {
        width: 32px;
        height: 32px;
    }
    
    .lsp-loader span {
        font-size: 13px;
    }
}

/* Smooth transitions */
.lsp-block-container * {
    transition: opacity 0.3s ease-in-out;
}

.lsp-products-container:empty {
    min-height: 60px;
}

/* Additional styles for better integration */
.lsp-block-container h3,
.lsp-block-container h4 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.lsp-block-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lsp-block-container li {

}

.lsp-block-container li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}