:root{--primary-color: #2D5F5D;--secondary-color: #E8956C;--success-color: #4CAF50;--bg-gradient-start: #F9FAFB;--bg-gradient-end: #F3F4F6;--text-color: #1F2937;--text-secondary: #6B7280;--border-color: #E5E7EB;--shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);--shadow-md: 0 4px 12px rgba(0, 0, 0, .08);--shadow-lg: 0 10px 30px rgba(0, 0, 0, .12)}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:linear-gradient(135deg,var(--bg-gradient-start) 0%,var(--bg-gradient-end) 100%);margin:0;padding:0;min-height:100vh}.widget-container{max-width:900px;margin:0 auto;background:#fff;border:none;border-radius:20px;overflow:hidden;box-shadow:var(--shadow-lg);display:flex;flex-direction:column;min-height:600px}.widget-header{padding:2rem 2rem 1.5rem;border-bottom:3px solid var(--primary-color);text-align:center;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);position:relative}.widget-header:after{content:"";position:absolute;bottom:-3px;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--primary-color),var(--secondary-color))}.brand-logo{height:60px;max-width:200px;object-fit:contain;margin-bottom:1rem;filter:drop-shadow(0 2px 4px rgba(0,0,0,.1))}h3{margin:0;color:var(--text-color);font-size:1.75rem;font-weight:700;letter-spacing:-.02em}h4{margin:0;color:var(--text-color);font-size:1.4rem;font-weight:600}h5{margin:0;color:var(--text-color);font-size:1.1rem;font-weight:600}p{color:var(--text-secondary);font-size:1rem;line-height:1.6}.upload-zone{padding:2rem;text-align:center;display:flex;flex-direction:column;align-items:center;gap:2rem;background:linear-gradient(135deg,#fafbfc,#f3f4f6);min-height:500px}.hero-image-container{width:100%;max-width:700px;border-radius:16px;overflow:hidden;box-shadow:var(--shadow-lg);border:3px solid var(--primary-color)}.hero-image{width:100%;height:auto;display:block}.upload-content{display:flex;flex-direction:column;align-items:center;gap:1.25rem;max-width:600px;padding:2rem;background:#fff;border-radius:16px;border:3px dashed var(--border-color);transition:all .3s ease}.upload-content:hover{border-color:var(--primary-color);background:linear-gradient(135deg,#f0f9ff,#e0f2fe);transform:translateY(-2px)}.upload-title{margin:0;color:var(--primary-color);font-size:1.5rem;font-weight:700}.upload-content p{font-size:1.05rem;max-width:500px;margin:0;line-height:1.6}.upload-tip{font-size:.9rem!important;color:var(--text-secondary);background:#fff7ed;padding:.75rem 1rem;border-radius:8px;border-left:4px solid var(--secondary-color)}.upload-tip strong{color:var(--secondary-color)}.icon-primary{color:var(--primary-color);filter:drop-shadow(0 2px 4px rgba(45,95,93,.2))}.btn-primary,.btn-secondary{padding:1rem 2rem;border-radius:12px;font-weight:600;cursor:pointer;border:none;font-size:1.1rem;transition:all .3s ease;box-shadow:var(--shadow-sm);position:relative;overflow:hidden}.btn-primary{background:linear-gradient(135deg,var(--primary-color) 0%,#1e4a48 100%);color:#fff;display:inline-block}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #2d5f5d4d}.btn-primary:active{transform:translateY(0)}.btn-secondary{background-color:#fff;color:var(--text-color);border:2px solid var(--border-color)}.btn-secondary:hover{border-color:var(--primary-color);background-color:#f9fafb;transform:translateY(-1px)}.visualizer-zone{display:flex;flex-direction:column}.image-wrapper{position:relative;background:linear-gradient(135deg,#1f2937,#374151);width:100%;min-height:400px;display:flex;align-items:center;justify-content:center;border-radius:0}.interactive-image{width:100%;height:auto;display:block;cursor:crosshair;transition:opacity .2s}.interactive-image:hover{opacity:.95}.instruction-toast{position:absolute;bottom:20px;left:50%;transform:translate(-50%);background:linear-gradient(135deg,#2d5f5df2,#1e4a48f2);color:#fff;padding:12px 24px;border-radius:30px;font-size:.95rem;font-weight:500;display:flex;align-items:center;gap:10px;pointer-events:none;box-shadow:0 4px 12px #0000004d;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{transform:translate(-50%) scale(1)}50%{transform:translate(-50%) scale(1.05)}}.overlay-loading{position:absolute;top:0;right:0;bottom:0;left:0;background:#00000080;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;gap:.5rem;z-index:10}.spin{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.actions{padding:1.5rem 2rem;display:flex;gap:1rem;justify-content:space-between;border-top:2px solid var(--border-color);background:#fafbfc}.actions button{flex:1;max-width:250px}.lead-form{padding:2.5rem 2rem;display:flex;flex-direction:column;gap:1.25rem;background:linear-gradient(135deg,#fafbfc,#f3f4f6)}.lead-form h4{color:var(--primary-color);margin-bottom:.5rem}.lead-form .subtext{color:var(--text-secondary);font-size:.95rem;margin-top:-.5rem}.lead-form input,.lead-form textarea{padding:1rem 1.25rem;border:2px solid var(--border-color);border-radius:10px;font-size:1rem;transition:all .3s ease;background:#fff;font-family:inherit}.lead-form input:focus,.lead-form textarea:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #2d5f5d1a}.lead-form textarea{min-height:100px;resize:vertical}.form-actions{display:flex;justify-content:space-between;gap:1rem;margin-top:1rem}.form-actions button{flex:1}.success-zone{padding:4rem 2rem;text-align:center;display:flex;flex-direction:column;align-items:center;gap:1.5rem;background:linear-gradient(135deg,#f0fdf4,#dcfce7);min-height:400px;justify-content:center}.icon-success{color:var(--success-color);filter:drop-shadow(0 4px 8px rgba(76,175,80,.3));animation:successPop .6s ease-out}@keyframes successPop{0%{transform:scale(0);opacity:0}50%{transform:scale(1.2)}to{transform:scale(1);opacity:1}}.success-zone h4{color:var(--primary-color);font-size:2rem}.success-zone p{font-size:1.1rem;color:var(--text-secondary)}.surface-selector{padding:1.5rem 2rem;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border-bottom:2px solid var(--border-color)}.surface-label{display:flex;align-items:center;gap:.75rem;font-size:1rem;font-weight:600;color:var(--text-color);margin-bottom:1rem}.surface-label svg{color:var(--primary-color)}.surface-buttons{display:flex;gap:1rem}.surface-btn{flex:1;padding:1rem 1.25rem;background:#fff;border:2px solid var(--border-color);border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;position:relative;display:flex;align-items:center;justify-content:center;gap:.6rem;box-shadow:var(--shadow-sm)}.surface-btn:hover{border-color:var(--primary-color);background:#f0f9ff;transform:translateY(-2px);box-shadow:var(--shadow-md)}.surface-btn.active{background:linear-gradient(135deg,var(--primary-color) 0%,#1e4a48 100%);color:#fff;border-color:var(--primary-color);box-shadow:0 4px 12px #2d5f5d4d}.surface-btn.has-color{border-color:var(--secondary-color);border-width:3px}.surface-btn.has-color:not(.active){background:linear-gradient(135deg,#fff7ed,#ffedd5)}.color-indicator{width:20px;height:20px;border-radius:50%;border:3px solid white;box-shadow:0 2px 4px #0003}.surface-btn.active .color-indicator{box-shadow:0 2px 8px #fff6}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-content{background:#fff;border-radius:12px;max-width:600px;width:100%;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #0000001a}.modal-close{margin:1rem;margin-top:0}.color-summary{padding:1.5rem 2rem;background:linear-gradient(135deg,#fff7ed,#ffedd5);border-top:3px solid var(--secondary-color)}.color-summary h5{margin:0 0 1.25rem;font-size:1.2rem;color:var(--primary-color);font-weight:700}.selected-colors-list{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.selected-color-item{display:flex;align-items:center;gap:1rem;background:#fff;padding:1rem;border-radius:12px;border:2px solid var(--border-color);transition:all .3s ease;box-shadow:var(--shadow-sm)}.selected-color-item:hover{transform:translate(4px);box-shadow:var(--shadow-md);border-color:var(--primary-color)}.color-dot{width:50px;height:50px;border-radius:10px;border:3px solid var(--border-color);flex-shrink:0;box-shadow:0 2px 8px #0000001a}.color-details{flex:1;font-size:.9rem;line-height:1.6;color:var(--text-secondary)}.color-details strong{color:var(--text-color);font-size:1rem}.sku-badge{display:inline-block;background:linear-gradient(135deg,var(--secondary-color) 0%,#d97e56 100%);color:#fff;padding:.25rem .6rem;border-radius:6px;font-size:.75rem;font-weight:700;margin-right:.35rem;box-shadow:0 2px 4px #e8956c4d}.btn-export{width:100%;padding:1.1rem 1.5rem;background:linear-gradient(135deg,var(--success-color) 0%,#45a049 100%);color:#fff;border:none;border-radius:12px;font-weight:700;font-size:1.05rem;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.75rem;transition:all .3s ease;box-shadow:0 4px 12px #4caf504d}.btn-export:hover{transform:translateY(-2px);box-shadow:0 6px 20px #4caf5066}.btn-export:active{transform:translateY(0)}@media (max-width: 768px){.widget-container{max-width:100%;border-radius:0;margin:0;min-height:100vh}.widget-header{padding:1.5rem 1.5rem 1.25rem}h3{font-size:1.5rem}.upload-zone{margin:1.5rem;padding:3rem 1.5rem}.surface-selector{padding:1.25rem 1.5rem}.surface-buttons{flex-direction:column;gap:.75rem}.surface-btn{width:100%;padding:1.25rem}.actions{flex-direction:column;padding:1.25rem 1.5rem}.actions button{max-width:100%}.lead-form{padding:2rem 1.5rem}.form-actions{flex-direction:column}.modal-overlay{padding:0}.modal-content{border-radius:0;max-height:100vh;height:100vh;max-width:100%}.color-summary{padding:1.25rem 1.5rem}.selected-colors-list{max-height:none}.color-dot{width:45px;height:45px}}@media (max-width: 480px){h3{font-size:1.35rem}.btn-primary,.btn-secondary{padding:.9rem 1.5rem;font-size:1rem}.upload-zone p{font-size:1rem}.instruction-toast{font-size:.85rem;padding:10px 20px}}.loading{display:flex;align-items:center;justify-content:center;min-height:100vh;font-size:1.2rem;color:var(--text-secondary)}.color-picker{display:flex;flex-direction:column;height:100%;max-height:600px}.color-picker-header{padding:1.5rem;border-bottom:3px solid var(--primary-color, #2D5F5D);background:linear-gradient(135deg,#f0f9ff,#e0f2fe)}.color-picker-header h4{margin:0 0 1rem;font-size:1.3rem;color:var(--primary-color, #2D5F5D);font-weight:700}.search-bar{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#fff;border:2px solid #E5E7EB;border-radius:12px;margin-bottom:1rem;transition:all .3s ease}.search-bar:focus-within{border-color:var(--primary-color, #2D5F5D);box-shadow:0 0 0 3px #2d5f5d1a}.search-bar input{flex:1;border:none;outline:none;font-size:1rem;font-family:inherit;color:#1f2937}.search-bar input::placeholder{color:#9ca3af}.clear-search{background:none;border:none;cursor:pointer;padding:.25rem;display:flex;align-items:center;color:#6b7280;transition:all .2s;border-radius:4px}.clear-search:hover{color:#1f2937;background:#f3f4f6}.tabs{display:flex;gap:.75rem;margin-bottom:1rem}.tab{flex:1;padding:.75rem 1rem;border:2px solid #E5E7EB;background:#fff;border-radius:10px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s ease;color:#6b7280}.tab:hover{background:#f9fafb;border-color:var(--primary-color, #2D5F5D);color:#1f2937}.tab.active{background:linear-gradient(135deg,#2d5f5d,#1e4a48);color:#fff;border-color:#2d5f5d;box-shadow:0 4px 12px #2d5f5d4d}.filter-chips{display:flex;flex-wrap:wrap;gap:.65rem;margin-bottom:.75rem}.chip{padding:.6rem 1rem;background:#fff;border:2px solid #E5E7EB;border-radius:25px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .3s ease;white-space:nowrap;color:#6b7280}.chip:hover{background:#f9fafb;border-color:var(--primary-color, #2D5F5D);color:#1f2937;transform:translateY(-1px)}.chip.active{background:linear-gradient(135deg,#e8956c,#d97e56);color:#fff;border-color:#e8956c;box-shadow:0 2px 8px #e8956c4d}.color-grid{flex:1;overflow-y:auto;padding:1.5rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem;align-content:start;background:#fafbfc}.no-results{grid-column:1 / -1;text-align:center;padding:3rem 1rem;color:#6b7280;font-size:1rem}.color-card{background:#fff;border:2px solid #E5E7EB;border-radius:12px;overflow:hidden;cursor:pointer;transition:all .3s ease;box-shadow:0 1px 3px #0000000f}.color-card:hover{transform:translateY(-4px);box-shadow:0 8px 20px #0000001f;border-color:#2d5f5d}.color-card.selected{border-color:#2d5f5d;border-width:3px;box-shadow:0 0 0 3px #2d5f5d1a}.color-swatch{height:90px;position:relative;border-bottom:2px solid #E5E7EB}.selected-check{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:linear-gradient(135deg,#2d5f5d,#1e4a48);color:#fff;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.4rem;box-shadow:0 4px 12px #2d5f5d66;animation:checkPop .3s ease-out}@keyframes checkPop{0%{transform:translate(-50%,-50%) scale(0)}50%{transform:translate(-50%,-50%) scale(1.2)}to{transform:translate(-50%,-50%) scale(1)}}.color-info{padding:.75rem}.color-name{font-weight:700;font-size:.9rem;margin-bottom:.35rem;color:#1f2937;line-height:1.3}.color-sku{display:flex;align-items:center;gap:.35rem;font-size:.8rem;color:#6b7280;margin-bottom:.35rem;font-weight:600}.color-brand{font-size:.75rem;color:#9ca3af;font-weight:500}.selected-color-details{border-top:3px solid #2D5F5D;background:linear-gradient(135deg,#fff7ed,#ffedd5);padding:1.5rem}.detail-header{display:flex;gap:1rem;align-items:center;margin-bottom:1rem}.detail-swatch{width:70px;height:70px;border-radius:12px;border:3px solid #2D5F5D;flex-shrink:0;box-shadow:0 4px 8px #00000026}.detail-name{font-weight:700;font-size:1.15rem;margin-bottom:.4rem;color:#1f2937}.detail-sku{display:flex;align-items:center;gap:.5rem;font-size:.9rem;color:#6b7280;font-weight:600}.detail-description{font-size:.95rem;color:#4b5563;margin:0 0 1rem;line-height:1.6}.retailer-info{background:#fff;padding:1rem;border-radius:10px;border:2px solid #E5E7EB;box-shadow:0 1px 3px #0000000f}.retailer-info strong{color:#2d5f5d;font-size:.95rem;display:block;margin-bottom:.6rem;font-weight:700}.retailer-info p{margin:0;font-size:.85rem;line-height:1.6;color:#4b5563}.retailer-info p strong{color:#e8956c;display:inline;margin:0;font-weight:700}@media (max-width: 480px){.color-grid{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:.5rem}.color-swatch{height:60px}.filter-chips{overflow-x:auto;flex-wrap:nowrap;padding-bottom:.25rem}}
