/**
 * Product Bundle Configuration Styles
 * Responsive and modern design for bundle configuration interface
 */

/* Bundle Configuration Container */
.product-bundle-configuration {
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* ===== REMOVE/RESTORE ITEM EFFECTS ===== */

.configurator-item-removed > * {
    pointer-events: none;
}

/* Blur overlay - lower z-index, no button content */
.configurator-remove-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    z-index: 10;
    display: none;
}

/* Restore button container - higher z-index, no blur */
.configurator-restore-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 15;
    pointer-events: auto;
}

.configurator-btn-restore {
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.configurator-btn-restore:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.configurator-btn-remove {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    transition: all 0.3s ease;
}

.configurator-btn-remove:hover {
    background: #c82333;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

/* Bundle Info Section */
.bundle-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.bundle-info h1 {
    margin-top: 0;
    color: #212529;
    font-size: 2rem;
    font-weight: 600;
}

.bundle-info p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.base-price {
    font-size: 1.3em;
    font-weight: 700;
    color: #007bff;
    margin-top: 15px;
    padding: 10px 15px;
    background: white;
    border-left: 4px solid #007bff;
}

/* Bundle Items Sections */
.bundle-items {
    margin-bottom: 30px;
}

.required-items, .optional-items {
    margin-bottom: 30px;
}

.required-items h3, .optional-items h3 {
    color: #333;
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #dee2e6;
    position: relative;
}

.required-items h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #dc3545;
}

.optional-items h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #28a745;
}

/* Bundle Item Cards */
.bundle-item {
    background: white;
    border: 1px solid #e9ecef;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.bundle-item:hover {
    box-shadow: 0 4px 25px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.bundle-item.required {
    border-left: 5px solid #dc3545;
}

.bundle-item.optional {
    border-left: 5px solid #28a745;
}

.bundle-item.required::before {
    content: "Required";
    position: absolute;
    top: 10px;
    right: 15px;
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
}

.bundle-item.optional::before {
    content: "Optional";
    position: absolute;
    top: 10px;
    right: 15px;
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
}

/* Item Information */
.item-info h4 {
    margin: 0 0 10px 0;
    color: #212529;
    font-size: 1.3em;
    font-weight: 600;
}

.item-info p {
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 12px;
}

.price-info {
    font-weight: 600;
    color: #007bff;
    font-size: 1.1em;
    margin-bottom: 15px;
}

.discount {
    color: #28a745;
    font-size: 0.9em;
    font-weight: 600;
    background: #d4edda;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    flex-wrap: wrap;
}

.quantity-controls label {
    font-weight: 600;
    color: #495057;
    min-width: 70px;
}

.quantity-input {
    width: 80px;
    padding: 8px 12px;
    border: 2px solid #ced4da;
    font-size: 1rem;
    text-align: center;
    transition: border-color 0.3s ease;
}

.quantity-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.quantity-input.invalid {
    border-color: #dc3545;
    background-color: #f8d7da;
}

.quantity-info {
    font-size: 0.85em;
    color: #6c757d;
    font-style: italic;
}

.item-total {
    margin-left: auto;
    font-weight: 700;
    font-size: 1.1em;
    color: #007bff;
    background: #f8f9fa;
    padding: 8px 12px;
}

/* Bundle Summary */
.bundle-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border: 2px solid #007bff;
    box-shadow: 0 4px 20px rgba(0,123,255,0.1);
}

.price-calculation {
    margin-bottom: 25px;
}

.subtotal, .bundle-discount {
    font-weight: 500;
    color: #495057;
}

.bundle-discount {
    color: #28a745;
    font-weight: 600;
}


/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Error Messages */
.error-messages {
    margin-top: 20px;
}


/* Bundle Show Page Styles */
.product-bundle-show {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.bundle-details {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.bundle-items-preview h3 {
    color: #333;
    margin: 25px 0 20px 0;
    font-size: 1.3em;
    font-weight: 600;
}

.items-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bundle-item-preview {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 15px;
    align-items: center;
    padding: 15px 20px;
    background: white;
    margin-bottom: 10px;
    border-left: 4px solid #007bff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.bundle-item-preview:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.bundle-item-preview strong {
    color: #212529;
    font-weight: 600;
}

.bundle-item-preview .quantity {
    color: #6c757d;
    font-size: 0.9em;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
}

.bundle-item-preview .price {
    font-weight: 700;
    color: #007bff;
    font-size: 1.1em;
}

.bundle-item-preview .discount {
    color: #28a745;
    font-size: 0.8em;
    background: #d4edda;
    padding: 2px 6px;
    border-radius: 4px;
}

.bundle-pricing {
    margin: 25px 0;
    padding: 20px;
    background: white;
    border: 2px solid #007bff;
}


.bundle-discount {
    color: #28a745;
    font-weight: 600;
    margin-top: 8px;
}

.bundle-actions {
    margin-top: 25px;
}

.navigation {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #dee2e6;
}

.navigation a {
    color: #007bff;
    text-decoration: none;
    margin-right: 15px;
}

.navigation a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-bundle-configuration,
    .product-bundle-show {
        padding: 15px;
    }
    
    .bundle-item {
        padding: 20px 15px;
    }
    
    .quantity-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .quantity-controls label {
        min-width: auto;
    }
    
    .item-total {
        margin-left: 0;
        text-align: center;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .bundle-item-preview {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }
    
    .price-calculation > div {
        font-size: 1rem;
    }
    
    .total-price {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .bundle-info h1 {
        font-size: 1.6rem;
    }
    
    .base-price {
        font-size: 1.1em;
    }
    
    .bundle-summary {
        padding: 20px;
    }
}

/* ===== BUNDLE CONFIGURATOR SPECIFIC STYLES ===== */

/* Bundle Header with Background Image - Configurator Specific */
.configurator-bundle-header {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    margin-bottom: 40px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Blurred background copy via pseudo-element */
.configurator-bundle-header::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px);
    z-index: 0;
}

/* Dark overlay via pseudo-element */
.configurator-bundle-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Content overlay - relative so it determines the header height */
.configurator-bundle-header-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 40px 20px;
    min-height: 300px;
}

.configurator-bundle-title-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.configurator-bundle-title {
    color: white;
    font-size: 2.5em;
    font-weight: 300;
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.configurator-bundle-description {
    color: white;
    font-size: 1.1em;
    line-height: 1.6;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Two-Column Configuration Layout - Configurator Specific */
.configurator-configuration-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-top: 30px;
}

.configurator-left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.configurator-right-column {
    flex: 1;
}

/* Bundle Info Card - Configurator Specific */
.configurator-bundle-info-card {
    background: #e0e0e0;
    padding: 24px;
}

.configurator-bundle-info-card h2 {
    margin: 0 0 15px 0;
    font-size: 1.3em;
    color: #333;
    border: none;
    padding: 0;
}

.configurator-bundle-instructions {
    margin: 0;
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
}

/* Variant Selection Card - Configurator Specific */
.configurator-variant-selection-card {
    background: white;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.configurator-variant-selection-card h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.configurator-variant-description {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 0.9em;
    font-style: italic;
}

.attribute-selection {
    margin-bottom: 16px;
}

.attribute-label {
    display: block;
    margin-bottom: 8px;
}

.attribute-values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* New button-based attribute selection */
.attribute-values .btn {
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.attribute-values .btn:hover {
    border-color: #007bff;
    background: #e7f3ff;
}

.attribute-values .btn.active {
    background: #28a745 !important;
    color: white !important;
    border-color: #1e7e34 !important;
}

.variant-price, .variant-stock {
    margin-bottom: 4px;
}

.variant-price:last-child, .variant-stock:last-child {
    margin-bottom: 0;
}

.price-value {
    font-weight: 600;
    color: #007bff;
}

.stock-value {
    font-weight: 600;
    color: #28a745;
}

.stock-indicator {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.stock-indicator.in-stock {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.stock-indicator.out-of-stock {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Products Grid - Configurator Specific */
.configurator-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.configurator-bundle-item-card {
    background: white;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 15px;
    position: relative;
}

.configurator-bundle-item-card:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.configurator-product-image {
    margin-bottom: 15px;
    overflow: hidden;
}

.configurator-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Quantity Controls for Grid Layout - Configurator Specific */
.configurator-quantity-section {
    margin-top: 15px;
}

/* New quantity control design matching Properties.html */
.configurator-quantity-section .bo-solid {
    border: 1px solid #e9ecef;
}

.configurator-quantity-section input.quantity-input {
    width: 60px;
    text-align: center;
    border: none;
    outline: none;
    background: transparent;
}

.configurator-quantity-section .btn {
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
}

.configurator-btn-remove {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #dc3545;
    color: white;
    border: 1px solid #dc3545;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 2;
}

.configurator-btn-remove:hover {
    background: #c82333;
    border-color: #c82333;
}

/* Bundle Summary Sticky - Configurator Specific */
.configurator-bundle-summary {
    background: white;
    border: 2px solid #6c757d;
    padding: 25px;
    position: sticky;
    top: 182px;
}

.configurator-vat-note-package {
    font-size: 0.6em;
    color: #bebebf;
    font-weight: normal;
    line-height: 1.2;   
}

/* Configurator Responsive Design */
@media (max-width: 1200px) {
    .configurator-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .configurator-bundle-header {
        min-height: 250px;
    }

    .configurator-bundle-header-overlay {
        min-height: 250px;
    }
    
    .configurator-bundle-title {
        font-size: 2em;
    }
    
    .configurator-bundle-description {
        font-size: 1em;
    }
    
    .bundle-content {
        padding: 0 15px;
    }
    
    .configurator-configuration-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .configurator-products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .configurator-bundle-item-card {
        padding: 12px;
    }
    
    .configurator-product-image {
        height: 150px;
    }
    
    .configurator-bundle-summary {
        position: static;
        margin-top: 20px;
    }
    
    .configurator-left-column {
        order: 2;
    }
    
    .configurator-right-column {
        order: 1;
    }
}

/* ===== BUNDLE LIST SPECIFIC STYLES ===== */

.list-product-bundle-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.list-bundle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.list-bundle-card {
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.list-bundle-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.list-bundle-image {
    height: 200px;
    overflow: hidden;
}

.list-bundle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-bundle-content {
    padding: 25px;
}

.list-bundle-title {
    margin: 0 0 15px 0;
    font-size: 1.3em;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-bundle-title a {
    color: #333;
    text-decoration: none;
}

.list-bundle-title a:hover {
    color: #007bff;
}

.list-bundle-items-preview h4 {
    font-size: 1em;
    color: #333;
    margin: 15px 0 12px 0;
    font-weight: 600;
}

.list-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.list-bundle-item-card {
    background: white;
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s ease;
}

.list-bundle-item-card:hover {
    transform: translateY(-2px);
}

.list-item-image {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: white;
}

.list-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-quantity-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.list-item-info {
    padding: 8px;
}

.list-item-title {
    font-size: 0.8em;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-item-subtitle {
    font-size: 0.7em;
    color: #666;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-item-price {
    font-size: 0.75em;
    font-weight: 700;
    color: #000;
}

.list-vat-note-item {
    font-size: 0.8em;
    color: #bebebf;
    margin-top: 3px;
    font-weight: normal;
    line-height: 1.2;
}

.list-vat-note-bundle {
    font-size: 0.6em;
    color: #bebebf;
    margin-top: 6px;
    font-weight: normal;
    line-height: 1.2;
}

.list-more-items-card {
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    border: 2px dashed #ced4da;
}

.list-more-items-content {
    text-align: center;
    color: #6c757d;
}

.list-more-count {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 4px;
}

.list-more-text {
    font-size: 0.8em;
    font-weight: 500;
}

.list-bundle-pricing {
    position: relative;
    margin: 20px 0;
    text-align: right;
    background: #f8f9fa;
    padding: 15px;
    border: none !important;
}

.list-discount-badge {
    background: #28a745;
    color: white;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.8em;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
}

.list-bundle-pricing .price {
    font-size: 1.4em;
    font-weight: 700;
    color: #000;
}

.list-bundle-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.list-configurable-badge {
    color: white;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.8em;
    font-weight: 600;
}

.list-no-bundles-message {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

/* Bundle List Responsive Design */
@media (max-width: 768px) {
    .list-bundle-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .list-bundle-content {
        padding: 20px;
    }
    
    .list-bundle-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .list-items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .list-bundle-item-card {
        min-height: 100px;
    }
    
    .list-item-image {
        height: 60px;
    }
    
    .list-item-info {
        padding: 6px;
    }
}

/* ===== FORM ACTIONS ===== */

.form-actions {
    margin-top: 20px;
}

/* Container selection buttons */
.js-add-to-container {
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
}

.js-add-to-container:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.js-add-to-container.loading {
    opacity: 0.7;
    pointer-events: none;
}

.js-add-to-container.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ===== SHIPPING FEE STYLES ===== */

.shipping-fee-amount {
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex-shrink: 0;
    align-self: flex-end;
}

.shipping-fee-title {
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 10px;
    align-self: flex-start;
}

.shipping-fee {
    align-items: flex-end !important;
}

/* ===== LOADING OVERLAY STYLES ===== */

.configurator-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    z-index: 20;
    display: none;
    pointer-events: none;
}

.configurator-loading-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 25;
    pointer-events: none;
}

.configurator-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid rgb(255, 206, 0);
    border-radius: 50%;
    animation: configurator-spin 1s linear infinite;
}

.configurator-summary-loading-container {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
    pointer-events: none;
    display: none;
}

.configurator-summary-loading-spinner {
    width: 30px;
    height: 30px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007cba;
    border-radius: 50%;
    animation: configurator-spin 1s linear infinite;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

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