*{margin:0;padding:0;box-sizing:border-box}:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.6;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;background-color:#f5f5f5;color:#333;min-height:100vh}a{color:#007bff;text-decoration:none}a:hover{text-decoration:underline}button{font-family:inherit;cursor:pointer}button:focus{outline:2px solid #007bff;outline-offset:2px}input,select,textarea{font-family:inherit}h1,h2,h3,h4,h5,h6{line-height:1.2}.layout{min-height:100vh;display:flex;flex-direction:column}.header{background:#fff;border-bottom:2px solid #e0e0e0;padding:1rem 0;box-shadow:0 2px 4px #0000001a}.header .container{display:flex;align-items:center;gap:2rem;justify-content:space-between}.header-left{display:flex;align-items:center;gap:2rem}.header-actions{display:flex;align-items:center}.logo{height:60px;width:auto}.header h1{font-size:1.8rem;color:#333;margin:0}.main{flex:1;padding:2rem 0;background:#f5f5f5}.container{max-width:none;width:100%;margin:0 auto;padding:0 2rem}.footer{background:#333;color:#fff;padding:1.5rem 0;text-align:center;margin-top:auto}.footer p{margin:0}.global-toast{position:fixed;right:24px;bottom:24px;background:#e8f5e9;color:#1b5e20;border:1px solid #b2dfdb;border-radius:10px;padding:.75rem 1rem;display:flex;align-items:center;gap:.5rem;font-size:.9rem;font-weight:700;box-shadow:0 8px 20px #0000001f;z-index:1200}.misure-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:1rem}.misure-image{width:100%;height:230px;object-fit:contain;border-radius:8px;border:1px solid #e0e0e0}.misure-note{color:#555;font-size:.95rem;line-height:1.5;margin-top:1rem}@media(max-width:992px){.header .container{flex-direction:column;align-items:stretch;gap:1rem}.header-left{justify-content:center;gap:1rem;flex-wrap:wrap}.header-actions{justify-content:center}.header-actions .btn{width:100%}.header h1{font-size:1.35rem;text-align:center}.logo{height:46px}.main{padding:1rem 0 6rem}.container{padding:0 .75rem}.misure-grid{grid-template-columns:1fr}.misure-image{height:180px}.global-toast{left:12px;right:12px;bottom:12px;font-size:.85rem;padding:.6rem .75rem}}.step-indicator{display:flex;justify-content:space-between;align-items:center;background:#fff;padding:.8rem 1rem;border-radius:8px;box-shadow:0 2px 8px #0000001a;margin-bottom:.9rem}.step-item{display:flex;flex-direction:column;align-items:center;position:relative;flex:1}.step-number{width:28px;height:28px;border-radius:50%;background:#e0e0e0;color:#666;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;margin-bottom:.25rem;transition:all .3s ease}.step-item.active .step-number{background:#dac489;color:#fff;transform:scale(1.05)}.step-item.completed .step-number{background:#dac489;color:#fff}.step-title{font-size:.72rem;color:#666;text-align:center;font-weight:500}.step-item.active .step-title{color:#dac489;font-weight:700}.step-item.completed .step-title{color:#dac489}.step-line{position:absolute;top:14px;left:50%;width:100%;height:2px;background:#e0e0e0;z-index:-1}.step-item.completed .step-line{background:#dac489}@media(max-width:768px){.step-indicator{overflow-x:auto;justify-content:flex-start;gap:.5rem;padding:.6rem;-webkit-overflow-scrolling:touch}.step-item{flex:0 0 86px}.step-line{display:none}.step-title{font-size:.68rem;line-height:1.15}}.step-container{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 2px 8px #0000001a}.two-col-layout{display:flex;gap:2rem;align-items:flex-start}.step-main{flex:1;min-width:0}.step-container h2{margin:0 0 .5rem;color:#333;font-size:1.8rem}.step-description{color:#666;margin-bottom:2rem;font-size:1.1rem}.form-group{margin-bottom:1.5rem;position:relative}.form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:#333}.form-input{width:100%;padding:.75rem;border:2px solid #e0e0e0;border-radius:4px;font-size:1rem;transition:border-color .3s}.form-input:focus{outline:none;border-color:#dac489}.required-border{border:2px solid #d64545!important}.required-border.btn{box-shadow:0 0 0 2px #d6454559}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.dropdown-list{position:absolute;top:100%;left:0;right:0;background:#fff;border:2px solid #dac489;border-top:none;border-radius:0 0 4px 4px;max-height:300px;overflow-y:auto;z-index:1000;box-shadow:0 4px 8px #0000001a}.dropdown-item{padding:1rem;cursor:pointer;border-bottom:1px solid #f0f0f0;transition:background .2s}.dropdown-item:hover{background:#f8f9fa}.dropdown-item:last-child{border-bottom:none}.dropdown-item-title{font-weight:600;color:#333;margin-bottom:.25rem}.dropdown-item-caption{font-size:.9rem;color:#666}.serramenti-options-row{display:flex;flex-wrap:wrap;gap:1rem;align-items:center}.serramenti-checks{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;padding-top:2px}.serramenti-check{display:inline-flex;align-items:center;gap:.4rem;line-height:1.1}.styled-checkbox{appearance:none;width:22px;height:22px;border-radius:6px;border:2px solid #c7c7c7;background:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;line-height:1;vertical-align:middle;flex:0 0 auto;margin:0 10px 0 0;position:relative;top:0}.styled-checkbox:checked{border-color:#2e7d32;background:#fff}.styled-checkbox:checked:after{content:"✓";color:#2e7d32;font-size:14px;font-weight:700;line-height:1}.styled-checkbox:disabled{opacity:.5;cursor:not-allowed}.styled-checkbox:focus-visible{outline:none;box-shadow:0 0 0 2px #dac4898c}.options-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.option-card{padding:1.5rem;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;transition:all .3s;text-align:center}.option-card:hover:not(.disabled){border-color:#dac489;transform:translateY(-2px);box-shadow:0 4px 12px #dac4894d}.option-card.selected{border-color:#dac489;background:#fff7e1}.option-card.disabled{opacity:.5;cursor:not-allowed}.option-card h3{margin:0 0 .5rem;color:#333}.option-card p{margin:0;color:#666;font-size:.9rem}.tabs{display:flex;gap:.5rem;margin-bottom:1.5rem;flex-wrap:wrap}.tab{padding:.75rem 1.5rem;background:#fff;border:2px solid #e0e0e0;border-radius:4px;cursor:pointer;font-size:1rem;font-weight:500;transition:all .3s}.tab:hover{border-color:#dac489}.tab.active{background:#dac489;color:#fff;border-color:#dac489}.step3-tabs{display:flex;gap:.75rem;border-bottom:1px solid #e0e0e0;margin-bottom:1.5rem;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;padding-bottom:.25rem}.step3-tab-btn{border-radius:6px 6px 0 0;flex:0 0 auto;white-space:nowrap}.colors-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem;margin-bottom:2rem}.color-card{border:2px solid #e0e0e0;border-radius:8px;overflow:hidden;cursor:pointer;transition:all .3s}.color-card:hover{border-color:#dac489;transform:translateY(-2px);box-shadow:0 4px 12px #dac4894d}.color-card.selected{border-color:#dac489;box-shadow:0 0 0 3px #dac4894d}.color-image-wrapper{position:relative;width:100%;padding-top:100%;background:#f5f5f5}.color-image{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}.color-placeholder{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#e0e0e0;color:#666;font-weight:700;font-size:1.5rem}.color-name{padding:.75rem .75rem .5rem;text-align:center;font-size:.85rem;font-weight:500;background:#fff}.color-description{padding:0 .75rem .75rem;text-align:center;font-size:.75rem;color:#666;background:#fff;line-height:1.3}.persiane-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.persiana-card{border:2px solid #e0e0e0;border-radius:8px;overflow:hidden;cursor:pointer;transition:all .3s}.persiana-card:hover{border-color:#dac489;transform:translateY(-2px);box-shadow:0 4px 12px #dac4894d}.persiana-card.selected{border-color:#dac489;box-shadow:0 0 0 3px #dac4894d}.persiana-image-wrapper{position:relative;width:100%;padding-top:75%;background:#f5f5f5}.persiana-image{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}.persiana-placeholder{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#e0e0e0;color:#666;font-weight:700;font-size:1.5rem}.persiana-info{padding:1rem;background:#fff}.persiana-info h4{margin:0 0 .5rem;color:#333;font-size:1rem}.persiana-tooltip{margin:0;color:#666;font-size:.85rem;line-height:1.4}.summary-section{background:#f8f9fa;padding:1.5rem;border-radius:8px;margin-bottom:2rem}.summary-section h3{margin:0 0 1rem;color:#333}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.summary-item{display:flex;flex-direction:column;gap:.25rem}.summary-item strong{color:#666;font-size:.9rem}.summary-item span{color:#333;font-size:1rem}.dimensions-form h3{margin:0 0 1rem;color:#333}.selected-info{margin-bottom:2rem}.info-card{background:#fff7e1;border:1px solid #dac489;border-radius:4px;padding:1rem;color:#5a4a1a}.info-card strong{color:#5a4a1a}.button-group{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem;flex-wrap:wrap}.btn{padding:.75rem 2rem;border:none;border-radius:4px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:#729b3f;color:#fff}.btn-primary:hover:not(:disabled){background:#5c7f32;transform:translateY(-1px);box-shadow:0 4px 8px #729b3f59}.btn-secondary{background:#6c757d;color:#fff}.btn-secondary:hover{background:#5a6268}.btn-outline{background:#fff;color:#729b3f;border:2px solid #729b3f}.btn-outline:hover{background:#729b3f;color:#fff}.badge{display:inline-block;padding:.25rem .5rem;font-size:.75rem;font-weight:600;border-radius:4px;margin-top:.5rem}.badge-secondary{background:#6c757d;color:#fff}.alert{padding:1rem;border-radius:4px;margin:1rem 0;font-weight:500}.alert-error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.alert-success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.alert-warning{background:#fff3cd;color:#856404;border:1px solid #ffeaa7}textarea.form-input{resize:vertical;min-height:100px}@media(max-width:768px){.step-container{padding:1rem}.step-container h2{font-size:1.25rem}.step-description{font-size:.95rem;margin-bottom:1rem}.two-col-layout{display:block}.form-row{grid-template-columns:1fr}.options-grid,.colors-grid,.persiane-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.option-card{padding:.75rem}.option-card h4,.option-card h3{font-size:.95rem}.color-name{font-size:.78rem}.button-group{flex-direction:column;gap:.6rem}.btn{width:100%;padding:.75rem 1rem}.tabs{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.tab{width:100%;padding:.6rem .5rem;font-size:.92rem}.step3-tabs{gap:.5rem;margin-bottom:1rem;padding-bottom:.2rem}.step3-tab-btn{padding:.6rem .8rem;font-size:.92rem;width:auto;min-width:62%;flex:0 0 auto}.step3-options-grid{display:flex;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;gap:.75rem;padding:.25rem .25rem .5rem;scroll-snap-type:x mandatory}.step3-options-grid .option-card{flex:0 0 70%;min-width:70%;scroll-snap-align:start;margin:0}}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999;padding:1rem}.modal-content{background:#fff;border-radius:12px;max-width:900px;width:100%;max-height:90vh;overflow-y:auto;padding:2rem;position:relative}.modal-close{position:absolute;top:1rem;right:1rem;background:none;border:none;font-size:2rem;cursor:pointer;color:#666;line-height:1;padding:.25rem .5rem;transition:color .3s}.modal-close:hover{color:#333}.modal-content h3{margin:0 0 1rem;color:#333;font-size:1.5rem}@media(max-width:768px){.modal-overlay{padding:.5rem;align-items:flex-end}.modal-content{max-height:88vh;padding:1rem;border-radius:12px 12px 0 0}.modal-content h3{padding-right:2rem;font-size:1.2rem}.modal-close{top:.55rem;right:.55rem;font-size:1.6rem}.serramenti-options-row{display:block}.serramenti-checks{margin-top:.6rem}.styled-checkbox{width:20px;height:20px}}#root{width:100%;min-height:100vh}
