#conf-container { font-family: 'Inter', sans-serif; background-color: #f8fafc; color: #1e293b; margin: 0; padding: 40px 20px; display: flex; justify-content: center; }
#conf-container .main-container { width: 100%; max-width: 1000px; }
#conf-container .modern-stepper { display: flex; justify-content: center; gap: 20px; margin-bottom: 60px; border-bottom: 1px solid #e2e8f0; padding-bottom: 20px; flex-wrap: wrap; }
#conf-container .step-item { font-size: 0.8rem; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; position: relative; padding-bottom: 10px; }
#conf-container .step-item.active { color: #2563eb; }
#conf-container .step-item.active::after { content: ''; position: absolute; bottom: -21px; left: 0; width: 100%; height: 3px; background: #2563eb; border-radius: 10px; }
#conf-container .step-header { text-align: center; margin-bottom: 50px; }
#conf-container .step-header h2 { font-size: 2.2rem; margin-bottom: 15px; font-weight: 600; }
#conf-container .step-header p { color: #64748b; font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
#conf-container .step-content { display: none; animation: fadeIn 0.5s ease; }
#conf-container .step-content.active { display: block; }
#conf-container .grid-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-bottom: 40px; }
#conf-container .card-option input { display: none; }
#conf-container .card-inner { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 0; cursor: pointer; transition: all 0.3s ease; height: 100%; display: flex; flex-direction: column; overflow: hidden; position: relative; }
#conf-container .card-inner:hover { border-color: #2563eb; transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
#conf-container .image-wrapper { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #f1f5f9; position: relative; }
#conf-container .image-wrapper img { width: 100%; height: 100%; object-fit: cover; }
#conf-container .badge-new { position: absolute; top: 15px; right: 15px; background: #2563eb; color: white; padding: 6px 14px; border-radius: 10px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; z-index: 5; }
#conf-container .video-trigger { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(5px); color: white; padding: 10px 20px; border-radius: 50px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 0.9rem; font-weight: 600; transition: 0.3s; z-index: 5; border: 1px solid rgba(255,255,255,0.2); }
#conf-container .video-trigger:hover { background: #FF0000; }
#conf-container .video-trigger svg { width: 18px; height: 18px; fill: white; display: block; }
#conf-container .card-body { padding: 25px; text-align: left; flex-grow: 1; }
#conf-container .card-body h3 { margin: 0 0 12px 0; font-size: 1.25rem; font-weight: 600; }
#conf-container .card-body .desc { font-size: 0.95rem; color: #64748b; line-height: 1.5; margin-bottom: 15px; min-height: 2.8rem; }
#conf-container .advantages { list-style: none; padding: 0; margin: 0; border-top: 1px solid #f1f5f9; padding-top: 15px; }
#conf-container .advantages li { font-size: 0.85rem; color: #1e293b; margin-bottom: 8px; display: flex; align-items: center; }
#conf-container .advantages li::before { content: '✓'; color: #10b981; font-weight: bold; margin-right: 10px; }
#conf-container .eco-point { color: #10b981 !important; font-weight: 600; margin-top: 10px; display: flex; flex-direction: column; align-items: flex-start !important; }
#conf-container .eco-point::before { content: none !important; }
#conf-container .eco-point .main-text { display: flex; align-items: center; }
#conf-container .eco-point .main-text::before { content: '€'; background: #10b981; color: white; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin-right: 10px; font-size: 10px; font-weight: bold; }
#conf-container .btn-discover-savings { background: none; border: none; color: #2563eb; font-size: 0.75rem; font-weight: 600; text-decoration: underline; padding: 0; margin-left: 28px; margin-top: 4px; cursor: pointer; }
#conf-container .badge-tag { background: #f1f5f9; color: #1e293b; padding: 4px 10px; border-radius: 6px; font-size: 0.7rem; font-weight: 700; display: inline-block; margin-bottom: 10px; text-transform: uppercase; }
#conf-container .loader-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.98); z-index: 1000; justify-content: center; align-items: center; text-align: center; }
#conf-container .spinner { width: 40px; height: 40px; border: 3px solid #e2e8f0; border-top: 3px solid #2563eb; border-radius: 50%; margin: 0 auto 20px auto; animation: spin 1s linear infinite; }
#conf-container #loader-message { font-size: 1.1rem; font-weight: 500; color: #1e293b; padding: 0 20px; line-height: 1.4; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.modal-custom { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.9); z-index: 999999; justify-content: center; align-items: center; backdrop-filter: blur(8px); }
.modal-video-content { width: 90%; max-width: 800px; aspect-ratio: 16 / 9; background: black; border-radius: 20px; position: relative; overflow: hidden; }
.modal-savings-content { width: 90%; max-width: 600px; background: white; border-radius: 20px; position: relative; padding: 40px; text-align: center; }
.modal-savings-content img { width: 100%; border-radius: 12px; margin-bottom: 20px; border: 1px solid #eee; }
.close-modal { position: absolute; top: 20px; right: 20px; color: #1e293b; font-size: 1.5rem; cursor: pointer; z-index: 10; }
.close-modal-video { top: -45px; right: 0; color: white; font-size: 2rem; }
#conf-container .checkbox-container { max-width: 600px; margin: 0 auto 40px auto; }
#conf-container .check-item { margin-bottom: 12px; }
#conf-container .check-item input { display: none; }
#conf-container .check-label { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px 25px; display: flex; align-items: center; cursor: pointer; transition: 0.2s; }
#conf-container .check-item input:checked + .check-label { border-color: #2563eb; background: #f0f7ff; color: #2563eb; }
#conf-container .btn-primary { background: #2563eb; color: white; padding: 15px 45px; border: none; border-radius: 14px; font-weight: 600; cursor: pointer; }
#conf-container .btn-back { background: none; border: none; color: #64748b; cursor: pointer; font-weight: 500; text-decoration: underline;}
#conf-container .woo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
@media (max-width: 1024px) { #conf-container .woo-grid { grid-template-columns: repeat(2, 1fr); } }
#conf-container .woo-product-card { background: #fff; border: 1px solid #e2e8f0; padding: 15px; border-radius: 10px; display: flex; flex-direction: column; text-align: left; }
#conf-container .woo-product-card img { width: 100%; border-radius: 6px; margin-bottom: 15px; }
#conf-container .woo-product-card h2 { font-size: 14px; font-weight: 700; height: 32px; overflow: hidden; text-transform: uppercase; color: #000; line-height: 1.2; margin-bottom: 5px; }
#conf-container .woo-product-card .short-desc { font-size: 11px; color: #64748b; line-height: 1.4; margin-bottom: 15px; height: 32px; overflow: hidden; }
#conf-container .attributivari { margin-bottom: 15px; border-top: 1px solid #f1f5f9; padding-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#conf-container .jerome { display: flex; align-items: center; }
#conf-container .jerome p { margin: 0; display: flex; align-items: center; font-size: 9px; color: #666; white-space: nowrap; }
#conf-container .jerome img { width: 14px !important; height: 14px !important; margin: 0 6px 0 0 !important; filter: grayscale(1); opacity: 0.5; }
#conf-container .jerome b { color: #000; margin-left: 3px; font-weight: 700; }
#conf-container .btn-buy-main { background: #1a2433; color: #fff !important; text-align: center; padding: 12px; border-radius: 6px; font-weight: 700; font-size: 11px; text-transform: uppercase; border: none; cursor: pointer; width: 100%; margin-top: auto; }
#conf-container .btn-buy-main.btn-added { background: #10b981 !important; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; } }
@media (max-width: 850px) { #conf-container .grid-options { grid-template-columns: 1fr; } }





/* ... (mantenere gli stili precedenti) */

#conf-container .modern-stepper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
    flex-wrap: wrap;
}

.nav-step {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
}

.nav-step:hover { color: #2563eb; }
.nav-step.active { color: #2563eb; cursor: default; }

.nav-step:not(:last-child)::after {
    content: '>';
    margin-left: 10px;
    color: #cbd5e1;
    font-weight: 400;
}

/* Rimuovere animazioni lunghe per click istantanei */
#conf-container .step-content {
    animation: none; /* Rimosso fadeIn per velocità massima */
}




/* Modals Correzioni Video */
        .modal-custom {
            display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(15, 23, 42, 0.9); z-index: 1100;
            justify-content: center; align-items: center; backdrop-filter: blur(8px);
        }
        
        .modal-video-content { 
            width: 90%; 
            max-width: 900px; /* Un po' più grande per far risaltare il video */
            aspect-ratio: 16 / 9; 
            background: black; 
            border-radius: 20px; 
            position: relative; 
            overflow: hidden;
            display: flex; /* Assicura che l'iframe riempia tutto */
        }
        
        /* Forza l'iframe a occupare il 100% del modale */
        .modal-video-content iframe {
            width: 100% !important;
            height: 100% !important;
            border: none;
            position: absolute;
            top: 0;
            left: 0;
        }

        .modal-savings-content { width: 90%; max-width: 600px; background: white; border-radius: 20px; position: relative; padding: 40px; text-align: center; }
        .modal-savings-content img { width: 100%; border-radius: 12px; margin-bottom: 20px; border: 1px solid #e2e8f0; }
        .close-modal { position: absolute; top: 20px; right: 20px; color: #1e293b; font-size: 1.5rem; cursor: pointer; z-index: 10; }
        .close-modal-video { top: -45px; right: 0; color: white; font-size: 2.5rem; }