/* Glassmorphism Floating Button Minimalist Configuration */
#sv-ai-designer-trigger {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999999;
    padding: 14px 22px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    color: #111;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
}

/* Fullscreen Responsive Structural Modal Overlay */
#sv-ai-designer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sv-modal-container {
    background: #fff;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

@media(min-width: 768px) {
    .sv-modal-container {
        width: 90%;
        height: 90%;
        border-radius: 12px;
        max-width: 1200px;
    }
}

.sv-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sv-modal-header h2 { margin: 0; font-size: 1.5rem; color: #111;}
#sv-modal-close-button { background: none; border: none; font-size: 1.8rem; cursor: pointer; color: #666; }

.sv-modal-body { padding: 24px; flex-grow: 1; }
.sv-form-group { margin-bottom: 20px; }
.sv-form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #333; }
.sv-form-group select, .sv-form-group input[type="file"] { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 6px; }

#sv-image-preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.sv-preview-wrapper img { width: 100%; height: 90px; object-fit: cover; border-radius: 6px; }

#sv-submit-wizard-btn { width: 100%; padding: 14px; background: #000; color: #fff; border: none; border-radius: 6px; font-weight: bold; cursor: pointer; text-transform: uppercase; letter-spacing: 0.5px; }
#sv-submit-wizard-btn:disabled { background: #666; cursor: not-allowed; }

/* Structural Architecture Results Panel Rendering layouts */
.sv-variants-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
@media(min-width: 768px) { .sv-variants-grid { grid-template-columns: 1fr 1fr; } }
.sv-variant-card { background: #f9f9f9; padding: 15px; border-radius: 8px; border: 1px solid #eaeaea; }
.sv-variant-card h4 { margin-top: 0; margin-bottom: 12px; }
.sv-main-result-img { width: 100%; height: auto; border-radius: 6px; display: block; }
.sv-img-placeholder { height: 250px; background: #eaeaea; display: flex; align-items: center; justify-content: center; color: #666; border-radius: 6px; }

.sv-section-divider { margin: 40px 0; border: 0; border-top: 1px solid #eee; }
.sv-products-horizontal-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
@media(min-width: 1024px) { .sv-products-horizontal-list { grid-template-columns: repeat(5, 1fr); } }

.sv-product-card-item { border: 1px solid #eee; padding: 12px; border-radius: 6px; text-align: center; background: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.sv-product-card-item img { max-width: 100%; height: 110px; object-fit: cover; margin-bottom: 8px; border-radius: 4px; }
.sv-product-card-item h5 { margin: 8px 0; font-size: 14px; height: 36px; overflow: hidden; }
.sv-product-price-tag { font-weight: bold; margin-bottom: 12px; color: #111; }
.sv-add-single-cart-btn { font-size: 11px !important; padding: 8px 4px !important; width: 100%; display: block; }
.sv-bulk-action-container { text-align: center; margin-top: 35px; }
.sv-add-all-cart-btn { padding: 16px 32px !important; font-size: 16px !important; font-weight: bold !important; background-color: #111 !important; color: #fff !important; border-radius: 30px !important; }