/**
 * Stili flusso preventivo — scope contenuto (.quote-main-content)
 * Header/footer/menu: layouts.app + partials.header (identici alla home)
 */

        /* FIX CRITICO DESKTOP: Sovrascrive overflow-x hidden globale per permettere dropdown */
        @media only screen and (min-width: 992px) {
            html, body {
                overflow-x: hidden !important;
            }
            
            .header__section,
            .header__sticky,
            .main__header,
            .container-fluid,
            .container-fluid.padding-lr-120,
            .main__menu,
            .main__menu--navigation,
            .main__menu--wrapper,
            .main__menu--items {
                overflow: visible !important;
                overflow-x: visible !important;
                overflow-y: visible !important;
            }
            
            .main__menu--items {
                padding: 0 !important;
                position: relative !important;
            }

            .main__menu--items > .sub__menu {
                position: absolute !important;
                z-index: 99999 !important;
                overflow: visible !important;
                margin-top: 0 !important;
                top: calc(100% - 2px) !important;
                right: 0 !important;
                left: auto !important;
            }

            .main__menu--items > .sub__menu::before {
                content: '';
                position: absolute;
                top: -12px;
                left: 0;
                right: 0;
                height: 14px;
                display: block;
            }

            .main__menu--items:hover > .sub__menu,
            .main__menu--items:focus-within > .sub__menu {
                pointer-events: auto !important;
                margin-top: 0 !important;
            }
        }
        
        /* Fix overflow solo per il contenuto quote, NON per header */
        .quote-main-content,
        .quote-main-content .container,
        .quote-main-content .quote-container {
            overflow-x: hidden;
        }
        
        /* Nasconde scroll orizzontale sulla pagina */
        .renovation-quote-container {
            overflow-x: hidden !important;
            max-width: 100% !important;
            background: transparent !important;
        }
        
        /* Menu mobile: nascondi menu desktop */
        @media only screen and (max-width: 991px) {
            .main__menu {
                display: none !important;
            }

            /* Overflow hidden solo su mobile per evitare scroll orizzontale */
            html, body {
                overflow-x: hidden !important;
            }

            .main__header,
            .header__section,
            .header__sticky,
            .container-fluid {
                overflow-x: hidden !important;
            }
        }

        /* Stili per la barra di navigazione migliorata */
        .steps-navigator {
            margin-bottom: 2rem;
            padding: 0 1rem;
        }
        
        /* Stili per la pagina di configurazione */
        .modern-container {
            max-width: none;
            width: 100%;
            margin: 0 auto;
            padding: 2rem;
            background-color: transparent;
            border-radius: 15px;
            box-shadow: none;
        }
        
        @media (max-width: 768px) {
            .modern-container {
                padding: 0.5rem;
                margin: 0;
            }
            
            .steps-navigator {
                padding: 0 0.5rem;
            }
        }
        
        .configuration-title {
            margin-bottom: 3rem;
            position: relative;
        }
        
        .configuration-title h2 {
            font-size: 2.4rem;
            color: #333;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        .configuration-title p {
            font-size: 1.2rem;
            color: #666;
            max-width: 700px;
            margin: 0 auto;
        }
        
        .title-decoration {
            width: 80px;
            height: 4px;
            background: linear-gradient(to right, #4a6cf7, #2e7bf6);
            margin: 1rem auto 0;
            border-radius: 2px;
            position: relative;
        }
        
        .title-decoration span {
            position: absolute;
            width: 30px;
            height: 4px;
            background: #f26a3d;
            top: 0;
            left: 25px;
            animation: slide 3s infinite ease-in-out;
            border-radius: 2px;
        }
        
        @keyframes slide {
            0% { left: 0; }
            50% { left: 50px; }
            100% { left: 0; }
        }
        
        /* Card di configurazione */
        .config-card {
            height: 400px;
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            background-color: #fff;
            overflow: hidden;
            perspective: 1000px;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .config-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }
        
        .config-card.active {
            border: 3px solid #4a6cf7;
        }
        
        .config-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            text-align: center;
            transform-style: preserve-3d;
            transition: transform 0.8s;
        }
        
        .config-card:hover .config-card-inner {
            transform: rotateY(180deg);
        }
        
        .config-card-front, .config-card-content {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 2rem;
        }
        
        .config-card-front {
            background: linear-gradient(145deg, #fafbff 0%, #f3f6ff 100%);
        }
        
        .config-card-content {
            background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
            transform: rotateY(180deg);
            text-align: left;
            justify-content: flex-start;
        }
        
        .config-icon-circle {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: linear-gradient(145deg, #4a6cf7, #2e7bf6);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            color: white;
            box-shadow: 0 10px 20px rgba(46, 123, 246, 0.3);
        }
        
        #floorplan-config .config-icon-circle {
            background: linear-gradient(145deg, #f06a3f, #f7854a);
            box-shadow: 0 10px 20px rgba(242, 106, 61, 0.3);
        }
        
        .config-title {
            font-size: 1.6rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: #333;
        }
        
        .config-description {
            color: #666;
            font-size: 1rem;
        }
        
        .config-card-header {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            color: #333;
        }
        
        .config-card-header h3 {
            font-size: 1.4rem;
            font-weight: 600;
            margin: 0;
        }
        
        .config-lead {
            font-size: 1.1rem;
            color: #555;
            margin-bottom: 1.5rem;
        }
        
        .config-features {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .config-features li {
            padding: 0.5rem 0;
            font-size: 0.95rem;
            color: #444;
        }
        
        .btn-config-select {
            background: linear-gradient(145deg, #4a6cf7, #2e7bf6);
            border: none;
            padding: 0.75rem 2rem;
            border-radius: 50px;
            color: white;
            font-weight: 500;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(46, 123, 246, 0.3);
            margin-top: 1.5rem;
            display: inline-flex;
            align-items: center;
        }
        
        #floorplan-config .btn-config-select {
            background: linear-gradient(145deg, #f06a3f, #f7854a);
            box-shadow: 0 5px 15px rgba(242, 106, 61, 0.3);
        }
        
        .btn-config-select:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(46, 123, 246, 0.4);
        }
        
        #floorplan-config .btn-config-select:hover {
            box-shadow: 0 8px 25px rgba(242, 106, 61, 0.4);
        }
        
        /* Sezione informativa */
        .config-info-section {
            background: linear-gradient(145deg, #f8faff 0%, #eef3ff 100%);
            border-radius: 12px;
            padding: 1.5rem;
            margin-top: 2rem;
            display: flex;
            align-items: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .info-icon {
            background-color: #eef3ff;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1.5rem;
            font-size: 1.5rem;
            color: #4a6cf7;
            flex-shrink: 0;
        }
        
        .info-content {
            flex: 1;
        }
        
        .info-content h4 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            color: #333;
        }
        
        .info-content p {
            font-size: 0.95rem;
            color: #555;
            margin: 0;
        }
        
        /* Stili per la pagina di caricamento planimetria */
        .ultra-modern-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }
        
        .upload-header {
            position: relative;
            padding-bottom: 2rem;
        }
        
        .text-gradient {
            background: linear-gradient(90deg, #1e3c72, #2a5298);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .header-decoration {
            height: 4px;
            width: 80px;
            margin: 1.5rem auto 0;
            background: linear-gradient(90deg, #1e3c72, #2a5298, #1e3c72);
            border-radius: 2px;
            position: relative;
            overflow: hidden;
        }
        
        .header-decoration:after {
            content: '';
            position: absolute;
            width: 40px;
            height: 100%;
            background: rgba(255, 255, 255, 0.5);
            top: 0;
            left: -50px;
            animation: shine 2s infinite linear;
        }
        
        @keyframes shine {
            0% { left: -50px; }
            100% { left: 100%; }
        }
        
        .upload-container {
            background: transparent;
            border-radius: 12px;
            overflow: hidden;
        }
        
        .upload-area {
            padding: 3rem;
            min-height: 500px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            background: linear-gradient(135deg, #f5f7fa 0%, #eef3ff 100%);
            border-radius: 12px 0 0 12px;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .upload-area.highlight {
            background: linear-gradient(135deg, #e8f0ff 0%, #dfe9ff 100%);
            box-shadow: inset 0 0 0 2px #4a6cf7;
        }
        
        .upload-icon {
            font-size: 4rem;
            color: #4a6cf7;
            margin-bottom: 1rem;
            animation: float 3s ease-in-out infinite;
        }
        
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }
        
        .btn-gradient {
            background: linear-gradient(45deg, #1e3c72, #2a5298);
            border: none;
            color: white;
            padding: 0.75rem 2rem;
            border-radius: 50px;
            box-shadow: 0 5px 15px rgba(42, 82, 152, 0.3);
            transition: all 0.3s ease;
        }
        
        .btn-gradient:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(42, 82, 152, 0.4);
            color: white;
        }
        
        .upload-formats {
            font-size: 0.85rem;
            color: #6c757d;
        }
        
        .uploaded-preview {
            width: 100%;
        }
        
        .preview-image-container {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .preview-image {
            width: 100%;
            height: 300px;
            object-fit: contain;
            background: #f8f9fa;
        }
        
        .image-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .preview-image-container:hover .image-overlay {
            opacity: 1;
        }
        
        .overlay-actions .btn {
            width: 45px;
            height: 45px;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }
        
        .overlay-actions .btn:hover {
            transform: scale(1.1);
        }
        
        .tips-container {
            background: linear-gradient(135deg, #ffffff 0%, #f9fbff 100%);
            height: 100%;
            padding: 3rem 2rem;
            border-radius: 0 12px 12px 0;
        }
        
        .tips-header {
            display: flex;
            align-items: center;
            margin-bottom: 2rem;
            color: #333;
            border-bottom: 1px solid #e9ecef;
            padding-bottom: 1rem;
        }
        
        .tips-header i {
            font-size: 2rem;
            color: #ffc107;
            margin-right: 1rem;
        }
        
        .tips-header h4 {
            font-size: 1.5rem;
            margin: 0;
            font-weight: 600;
        }
        
        .tip-list {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .tip-item {
            display: flex;
            align-items: flex-start;
        }
        
        .tip-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(145deg, #f5f9ff, #eef3ff);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            color: #4a6cf7;
            flex-shrink: 0;
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
        }
        
        .tip-content h5 {
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            color: #333;
        }
        
        .tip-content p {
            font-size: 0.95rem;
            color: #6c757d;
            margin: 0;
        }
        
        @media (max-width: 992px) {
            .upload-area, .tips-container {
                border-radius: 12px;
                margin-bottom: 1.5rem;
            }
            
            .upload-area {
                padding: 2rem;
            }
        }
        
        /* Stili per la pagina del canvas */
        .floorplan-image {
            max-width: 100%;
            max-height: 600px;
            object-fit: contain;
            display: block;
            margin: 0 auto;
            border: 1px solid #ddd;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            background-color: white;
        }
        
        .floorplan-canvas-container {
            position: relative;
            margin-bottom: 2rem;
            background-color: #f8f9fa;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .drawing-tools-panel {
            background: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .drawing-tools-panel h5 {
            font-size: 18px;
            color: #333;
            margin-bottom: 1.5rem;
            border-bottom: 2px solid #f0f0f0;
            padding-bottom: 10px;
        }
        
        .tool-section {
            margin-bottom: 1.5rem;
            border-bottom: 1px dashed #eee;
            padding-bottom: 1.5rem;
        }
        
        .tool-section:last-child {
            border-bottom: none;
        }
        
        .tool-section-title {
            font-size: 14px;
            font-weight: 600;
            color: #666;
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .btn-tool {
            display: block;
            width: 100%;
            text-align: left;
            margin-bottom: 8px;
            padding: 10px 15px;
            border-radius: 8px;
            transition: all 0.2s ease;
            background: linear-gradient(145deg, #fafbff 0%, #f5f7fa 100%);
            border: 1px solid #eaeef6;
            position: relative;
            overflow: hidden;
        }
        
        .btn-tool:hover {
            background: linear-gradient(145deg, #f5f7ff 0%, #eff3fa 100%);
            transform: translateY(-2px);
            box-shadow: 0 5px 10px rgba(0,0,0,0.05);
        }
        
        .btn-tool i {
            margin-right: 10px;
            color: #4a6cf7;
            font-size: 0.9rem;
            width: 20px;
            text-align: center;
        }
        
        .btn-tool.active {
            background: linear-gradient(145deg, #4a6cf7, #2e7bf6);
            color: white;
            border-color: transparent;
            box-shadow: 0 5px 15px rgba(74, 108, 247, 0.3);
        }
        
        .btn-tool.active i {
            color: white;
        }
        
        .tool-option-label {
            font-size: 13px;
            font-weight: 500;
            color: #555;
            margin-bottom: 8px;
        }
        
        .drawing-tool-buttons .btn {
            transition: all 0.3s ease;
            margin-bottom: 10px;
            text-align: left;
            position: relative;
            padding-left: 15px;
            overflow: hidden;
        }
        
        .drawing-tool-buttons .btn i {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
        }
        
        .drawing-tool-buttons .btn span {
            margin-left: 30px;
        }
        
        .drawing-tool-buttons .btn.active {
            background: linear-gradient(145deg, #4a6cf7, #2e7bf6);
            color: white;
            border-color: transparent;
            box-shadow: 0 5px 15px rgba(46, 123, 246, 0.3);
        }
        
        .color-palette {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 20px;
        }
        
        .color-option {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }
        
        .color-option:hover, .color-option.active {
            transform: scale(1.2);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        .brushsize-slider {
            width: 100%;
            cursor: pointer;
        }
        
        #canvas-container {
            position: relative;
            margin-top: 20px;
        }
        
        #drawing-canvas {
            position: absolute;
            top: 0;
            left: 0;
            z-index: 10;
            cursor: crosshair;
        }
        
        .steps-progress-container {
            height: 4px;
            background-color: #e9ecef;
            border-radius: 2px;
            margin-bottom: 1.5rem;
            position: relative;
        }
        
        .steps-progress-bar {
            position: absolute;
            height: 100%;
            background: linear-gradient(90deg, #4476f7, #527cb5);
            border-radius: 2px;
            transition: width 0.5s ease;
        }
        
        .steps-icons-container {
            display: flex;
            justify-content: space-between;
        }
        
        .step-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            flex: 1;
        }
        
        .step-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: #f8f9fa;
            border: 2px solid #dee2e6;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 0.75rem;
            color: #6c757d;
            font-size: 1.25rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        }
        
        .step-label {
            font-size: 0.85rem;
            font-weight: 600;
            color: #6c757d;
            text-align: center;
            transition: all 0.3s ease;
        }
        
        .step-item.active .step-icon {
            background: linear-gradient(135deg, #4476f7 0%, #527cb5 100%);
            border-color: transparent;
            color: white;
            box-shadow: 0 8px 15px rgba(84, 126, 187, 0.3);
            transform: scale(1.1);
        }
        
        .step-item.active .step-label {
            color: #4476f7;
            font-weight: 700;
        }
        
        .step-item.completed .step-icon {
            background-color: #e6f4ea;
            border-color: #5bb974;
            color: #5bb974;
        }
        
        .step-item.completed .step-label {
            color: #5bb974;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .step-icon {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
            
            .step-label {
                font-size: 0.7rem;
            }
        }

        @media (max-width: 576px) {
            .step-label {
                display: none;
            }
            
            .step-icon {
                width: 36px;
                height: 36px;
                font-size: 0.9rem;
            }
        }
        :root {
            --primary-color: #527cb5;
            --secondary-color: #FF6B35;
            --accent-color: #3CAEA3;
            --dark-color: #2D3142;
            --light-color: #FFFFFF;
            --success-color: #38B66E;
            --danger-color: #F25F5C;
            --warning-color: #FDCA40;
            --info-color: #12C6DD;
            --text-primary: #2D3142;
            --text-secondary: #555B6E;
            --text-muted: #8D99AE;
            --border-color: #E2E5ED;
            --white: #FFFFFF;
            --box-shadow: 0 10px 30px rgba(45, 49, 66, 0.1);
            --box-shadow-hover: 0 15px 35px rgba(45, 49, 66, 0.15);
            --box-shadow-soft: 0 5px 15px rgba(45, 49, 66, 0.05);
            --border-radius-sm: 0.5rem;
            --border-radius: 0.75rem;
            --border-radius-lg: 1.5rem;
            --transition: all 0.3s ease;
            --gradient-primary: linear-gradient(135deg, #527cb5, #4268A6);
            --gradient-secondary: linear-gradient(135deg, #FF6B35, #F2522E);
            --gradient-accent: linear-gradient(135deg, #3CAEA3, #2A9187);
        }
        
        body.quote-page-body {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .quote-page-body .quote-main-content {
            flex: 1 0 auto;
            font-family: 'Poppins', sans-serif;
            background-color: var(--light-color);
            color: var(--text-primary);
            line-height: 1.6;
        }
        
        .logo-container img:hover {
            transform: scale(1.05);
        }
        
        .btn-close-modal {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            background-color: rgba(0, 0, 0, 0.1);
            color: #333;
            border-radius: 50%;
            transition: var(--transition);
            backdrop-filter: blur(5px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        .btn-close-modal:hover {
            background-color: rgba(0, 0, 0, 0.2);
            color: #000;
            transform: rotate(90deg) scale(1.1);
            box-shadow: 0 6px 12px rgba(0,0,0,0.15);
        }
        
        .btn-close-modal i {
            font-size: 1.25rem;
        }
        
        /* Content */
        .quote-content {
            flex: 1;
            padding: 3rem 0;
            position: relative;
        }
        
        .quote-content::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 200px;
            background: linear-gradient(180deg, rgba(90, 126, 187, 0.03) 0%, rgba(90, 126, 187, 0) 100%);
            z-index: -1;
        }
        
        /* Gli stili per il wizard-progress sono stati rimossi */
        
        .quote-main-content {
            flex: 1;
            padding: 2rem 0;
        }
        
        .quote-container {
            background-color: transparent;
            border-radius: 10px;
            box-shadow: none;
            max-width: 1600px;
            margin: 0 auto;
        }
        
        /* Steps Styling */
        .step-container {
            margin-bottom: 2rem;
        }
        
        .step-header {
            margin-bottom: 1.5rem;
            position: relative;
        }
        
        .step-number {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            box-shadow: 0 4px 10px rgba(90, 126, 187, 0.3);
        }
        
        .step-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--primary-color);
            margin: 0;
        }
        
        .step-underline {
            height: 4px;
            width: 80px;
            background-color: var(--primary-color);
            margin-top: 0.5rem;
        }
        
        .intro-card {
            background-color: rgba(90, 126, 187, 0.05);
            border-left: 4px solid var(--primary-color);
            padding: 1.25rem;
            border-radius: 8px;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
        }
        
        .intro-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            font-size: 1.25rem;
            box-shadow: 0 4px 10px rgba(90, 126, 187, 0.3);
        }
        
        .intro-text {
            flex: 1;
        }
        
        .intro-text p {
            margin-bottom: 0;
        }
        
        /* Buttons */
        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }
        
        .btn-primary:hover {
            background-color: #4a6ca0;
            border-color: #4a6ca0;
        }
        
        .btn-outline-primary {
            color: var(--primary-color);
            border-color: var(--primary-color);
        }
        
        .btn-outline-primary:hover {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }
        
        .quote-actions {
            display: flex;
            justify-content: space-between;
            margin-top: 2rem;
            padding-top: 1.5rem;
            border-top: 1px solid #e9ecef;
        }
        
        .btn-navigation {
            min-width: 120px;
        }
        
        /* Form Elements */
        .form-label {
            font-weight: 500;
            margin-bottom: 0.5rem;
            color: #495057;
        }
        
        .form-control, .form-select {
            border-radius: 8px;
            padding: 0.75rem 1rem;
            border: 1px solid #ced4da;
            transition: all 0.2s ease;
        }
        
        .form-control:focus, .form-select:focus {
            border-color: rgba(90, 126, 187, 0.5);
            box-shadow: 0 0 0 0.25rem rgba(90, 126, 187, 0.25);
        }
        
        .input-group-modern {
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid #ced4da;
            transition: all 0.2s ease;
        }
        
        .input-group-modern:focus-within {
            border-color: rgba(90, 126, 187, 0.5);
            box-shadow: 0 0 0 0.25rem rgba(90, 126, 187, 0.25);
        }
        
        .input-group-modern .form-control,
        .input-group-modern .form-select {
            border: none;
            border-radius: 0;
        }
        
        .input-group-text {
            background-color: #f8f9fa;
            border: none;
            color: #6c757d;
        }
        
        /* Selezione opzioni */
        .config-option-card {
            display: flex;
            align-items: center;
            padding: 1.25rem;
            border-radius: 10px;
            border: 1px solid #e9ecef;
            transition: all 0.3s ease;
            cursor: pointer;
            height: 100%;
        }
        
        .config-option-card:hover {
            border-color: rgba(90, 126, 187, 0.5);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            transform: translateY(-3px);
        }
        
        .config-option-card.active {
            border-color: var(--primary-color);
            box-shadow: 0 4px 15px rgba(90, 126, 187, 0.2);
        }
        
        .config-option-icon {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: rgba(90, 126, 187, 0.1);
            color: var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            font-size: 1.5rem;
            transition: all 0.3s ease;
        }
        
        .config-option-card.active .config-option-icon {
            background-color: var(--primary-color);
            color: white;
        }
        
        .config-option-text {
            flex: 1;
        }
        
        .config-option-text h5 {
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: #343a40;
        }
        
        .config-option-text p {
            margin-bottom: 0;
            color: #6c757d;
        }
        
        .container-custom {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
            position: relative;
            z-index: 10;
        }
        
        @media (min-width: 992px) {
            .container-custom {
                padding: 0 2rem;
            }
        }
        
        /* Footer sito — stesso partial della home (partials/footer) */
        .quote-page-body .footer__section {
            margin-top: auto;
            width: 100%;
        }

        /* Responsiveness */
        @media (max-width: 767.98px) {
            .wizard-step {
                width: 70px;
            }
            
            .step-label {
                font-size: 10px;
            }
            
            .quote-container {
                /* padding: 1.5rem; */
            }
            
            .config-option-card {
                flex-direction: column;
                text-align: center;
            }
            
            .config-option-icon {
                margin-right: 0;
                margin-bottom: 1rem;
            }
        }
        
        /* Classi di utilità */
        .cursor-pointer {
            cursor: pointer;
        }
        
        .shadow-sm {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
        }
        
        .shadow-md {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
        }
        
        .shadow-lg {
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
        }
        
        .rounded-4 {
            border-radius: 0.75rem !important;
        }
        
        .overflow-hidden {
            overflow: hidden !important;
        }
        
        /* Desktop: dropdown header (stesso comportamento delle altre pagine pubbliche) */
        @media screen and (min-width: 992px) {
            html,
            body.quote-page-body {
                overflow-x: visible !important;
                overflow-y: auto !important;
            }

            .header__section,
            .header__sticky,
            .main__header,
            .container-fluid,
            .container-fluid.padding-lr-120,
            .main__menu,
            .main__menu--navigation,
            .main__menu--wrapper,
            .main__menu--items {
                overflow: visible !important;
            }

            .sub__menu {
                position: absolute !important;
                z-index: 999999 !important;
                overflow: visible !important;
            }
        }

