:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;min-width:320px;min-height:100vh;overflow:hidden}#root{width:100%;height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;cursor:pointer;transition:border-color .25s}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.app-container{display:flex;flex-direction:column;height:100vh;width:100vw;overflow:hidden;position:relative;background:linear-gradient(135deg,#1ba17b,#899390)}.product-header{display:flex;align-items:center;justify-content:space-between;padding:1rem;background-color:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;border-bottom:1px solid rgba(255,255,255,.2)}.back-btn,.menu-btn{background:none;border:none;color:#fff;font-size:1.5rem;cursor:pointer;padding:.5rem;transition:opacity .2s}.back-btn:hover,.menu-btn:hover{opacity:.7}.product-header .header-title{font-size:1.25rem;font-weight:600;margin:0}.mobile-header{display:flex;flex-direction:column;padding:1rem;background-color:#fff;border-bottom:1px solid #e0e0e0;gap:.75rem}.header-title{font-size:1.1rem;font-weight:600;color:#333}.chat-section,.desktop-only{display:none}.chat-header{padding:1rem;background-color:#fff;border-bottom:1px solid #e0e0e0;display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.logo{width:40px;height:40px;color:#fff;display:flex;align-items:center;justify-content:center;border-radius:4px;font-size:1.5rem;font-weight:700}.header-buttons{display:flex;gap:.5rem;flex-wrap:wrap;width:100%}.header-btn{padding:.5rem .75rem;background-color:#fff;border:1px solid #d0d0d0;border-radius:6px;cursor:pointer;font-size:.75rem;transition:background-color .2s;flex:1;min-width:120px}.header-btn:hover{background-color:#f5f5f5}.chat-content{flex:1;padding:2rem 1.5rem;overflow-y:auto}.chat-title{font-size:1.5rem;color:#333;margin:0 0 2rem;font-weight:600}.messages-container{display:flex;flex-direction:column;gap:1rem}.message{padding:.75rem 1rem;border-radius:12px;max-width:80%}.message.user{background-color:#007bff;color:#fff;align-self:flex-end;margin-left:auto}.chat-input-container{padding:1rem;background-color:#fff;border-top:1px solid #e0e0e0;display:flex;align-items:center;gap:.5rem}.attachment-btn,.mic-btn{background:none;border:none;font-size:1.2rem;cursor:pointer;padding:.5rem;transition:opacity .2s}.attachment-btn:hover,.mic-btn:hover{opacity:.7}.chat-input{flex:1;padding:.75rem 1rem;border:1px solid #e0e0e0;border-radius:8px;font-size:.95rem;outline:none;background-color:#f9f9f9}.chat-input:focus{border-color:#007bff;background-color:#fff}.send-btn{background-color:#c9a961;color:#fff;border:none;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:1.2rem;transition:background-color .2s}.send-btn:hover{background-color:#b89651}.product-section{flex:1;overflow-y:auto;padding:1rem;padding-bottom:80px}.product-grid{display:flex;flex-direction:column;gap:.75rem;max-width:600px;margin:0 auto}.product-card{display:flex;flex-direction:row;align-items:center;background-color:#fff;border-radius:12px;overflow:visible;box-shadow:0 2px 8px #0000001a;transition:transform .2s,box-shadow .2s;padding:1rem;gap:1rem;position:relative}@media(min-width:768px){.product-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}}.product-image-container{position:relative;flex-shrink:0;width:80px;height:100px;background:linear-gradient(135deg,#ffeef8,#e6f3ff);border-radius:8px;display:flex;align-items:center;justify-content:center;padding:.5rem}.product-image{width:100%;height:100%;object-fit:contain;display:block}.product-details{flex:1;display:flex;flex-direction:column;gap:.5rem;min-width:0}.product-name{font-size:1rem;font-weight:600;margin:0;color:#1a1a1a;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-description{font-size:.8rem;color:#666;margin:0;line-height:1.4;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical}.star-rating{display:flex;gap:.15rem}.star{color:#ddd;font-size:.9rem}.star.filled{color:#ffc107}.product-price{position:absolute;top:1rem;right:1rem;background-color:#2c3e50;color:#fff;padding:.4rem .75rem;border-radius:6px;font-size:.9rem;font-weight:600}.product-info{display:flex;flex-direction:column;gap:.5rem}.info-item{display:flex;flex-direction:column;gap:.15rem}.info-label{font-size:.75rem;color:#999;text-transform:uppercase;letter-spacing:.5px}.info-value{font-size:.875rem;color:#333}.product-actions{position:absolute;top:.5rem;right:.5rem;display:flex;flex-direction:column;gap:.5rem}.action-btn{background-color:#ffffffe6;border:none;border-radius:50%;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:.9rem;transition:background-color .2s}.action-btn:hover{background-color:#fff}@media(min-width:1024px){.product-actions{top:1rem;right:1rem}.action-btn{width:36px;height:36px;font-size:1rem}}.product-detail-section{flex:1;overflow-y:auto;padding:1rem;padding-bottom:80px;max-width:900px;margin:0 auto}.detail-image-container{height:400px;background:linear-gradient(135deg,#ffeef8,#e6f3ff);border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:1.5rem;padding:2rem;box-shadow:0 2px 8px #0000001a}.detail-image{max-width:100%;max-height:100%;object-fit:contain}.detail-content{background-color:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #0000001a}.detail-title{font-size:1.5rem;font-weight:600;color:#1a1a1a;margin:0 0 1.5rem;line-height:1.3}.detail-info{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid #e0e0e0}.info-row{display:flex;justify-content:space-between;align-items:center}.info-label{font-size:.875rem;color:#666;font-weight:500}.info-value{font-size:.875rem;color:#1a1a1a;font-weight:600;text-align:right}.detail-description{margin-top:1rem}.detail-description h3{font-size:1.125rem;font-weight:600;color:#1a1a1a;margin:0 0 .75rem}.detail-description p{font-size:.9rem;color:#666;line-height:1.6;margin:0}.color-selector{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e0e0e0}.color-selector-title{font-size:1rem;font-weight:600;color:#1a1a1a;margin:0 0 1rem}.color-tabs{display:flex;gap:.5rem;margin-bottom:1rem}.color-tab{padding:.5rem 1rem;background-color:#fff;border:1px solid #e0e0e0;border-radius:6px;font-size:.875rem;color:#666;cursor:pointer;transition:all .2s}.color-tab.active{background-color:#f0f0f0;border-color:silver;color:#1a1a1a;font-weight:500}.color-tab:hover{background-color:#f5f5f5}.color-swatches{display:flex;flex-wrap:wrap;gap:.75rem}.color-swatch{width:40px;height:40px;border-radius:50%;border:2px solid #e0e0e0;cursor:pointer;transition:all .2s;position:relative;padding:0}.color-swatch:hover{transform:scale(1.1);border-color:#999}.color-swatch.selected{border:3px solid #4A7BA7;box-shadow:0 0 0 2px #fff,0 0 0 4px #4a7ba7;transform:scale(1.05)}.color-swatch.selected:after{content:"✓";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;font-size:1.2rem;font-weight:700;text-shadow:0 0 3px rgba(0,0,0,.5)}.mobile-chat-input{position:fixed;bottom:0;left:0;right:0;padding:.75rem 1rem;padding-bottom:max(.75rem,env(safe-area-inset-bottom));background-color:#fff;border-top:1px solid #e0e0e0;display:flex;align-items:center;gap:.5rem;z-index:100;box-shadow:0 -2px 10px #0000001a}.mobile-chat-input .action-btn{width:100%;height:auto;padding:.875rem 1rem;border-radius:8px;font-size:.95rem;font-weight:500;background-color:#c9a961;color:#fff;transition:background-color .2s}.mobile-chat-input .action-btn:hover{background-color:#b89651}.chat-history-drawer{position:fixed;bottom:65px;left:0;right:0;background-color:#f5f5f5;max-height:60vh;transform:translateY(calc(100% + 65px));transition:transform .3s ease-in-out;z-index:90;display:flex;flex-direction:column;border-top-left-radius:16px;border-top-right-radius:16px;box-shadow:0 -4px 20px #0003}.chat-history-drawer.open{transform:translateY(0)}.drawer-handle{padding:1rem;text-align:center;cursor:pointer;background-color:#fff;border-top-left-radius:16px;border-top-right-radius:16px;border-bottom:1px solid #e0e0e0}.handle-bar{width:40px;height:4px;background-color:#d0d0d0;border-radius:2px;margin:0 auto .5rem}.drawer-title{font-size:.9rem;font-weight:600;color:#666}.drawer-content{flex:1;overflow-y:auto;padding:1rem}.drawer-overlay{position:fixed;inset:0;background-color:#00000080;z-index:80}.empty-state{text-align:center;color:#999;padding:2rem;font-size:.9rem}@media(min-width:768px)and (max-width:1023px){.product-section{padding:1.5rem}.product-grid{gap:1rem;max-width:800px}.product-card{padding:1.25rem}.product-image-container{width:100px;height:120px}.product-name{font-size:1.125rem}.product-description{font-size:.875rem}.star{font-size:1rem}.product-price{font-size:1rem;padding:.5rem .875rem}.product-detail-section{padding:1.5rem;padding-bottom:80px}.detail-image-container{height:500px;padding:2.5rem}.detail-content{padding:2rem}.detail-title{font-size:1.75rem}.detail-description p{font-size:1rem}.color-selector-title{font-size:1.125rem}.color-tab{font-size:.9rem;padding:.6rem 1.25rem}.color-swatch{width:45px;height:45px}}@media(min-width:1024px){.app-container{flex-direction:row}.mobile-header,.mobile-chat-input,.chat-history-drawer,.drawer-overlay{display:none}.desktop-only{display:flex}.chat-section{display:flex;flex:0 0 400px;flex-direction:column;background-color:#f5f5f5;border-right:1px solid #e0e0e0}.product-header{padding:1.5rem}.product-header .header-title{font-size:1.5rem}.product-section{padding:2rem}.product-grid{gap:1.25rem;max-width:900px}.product-card{padding:1.5rem}.product-image-container{width:120px;height:140px}.product-name{font-size:1.125rem}.product-description{font-size:.9rem}.star{font-size:1.1rem}.product-price{font-size:1.1rem;padding:.5rem 1rem}.header-buttons{flex:1;justify-content:flex-end;width:auto}.header-btn{flex:0;font-size:.85rem;padding:.5rem 1rem}.product-detail-section{padding:2rem}.detail-image-container{height:600px;padding:3rem}.detail-content{padding:2.5rem}.detail-title{font-size:2rem}.detail-description h3{font-size:1.25rem}.detail-description p{font-size:1rem}.info-row{padding:.5rem 0}.info-label,.info-value{font-size:1rem}.color-selector-title{font-size:1.25rem}.color-tab{font-size:1rem;padding:.7rem 1.5rem}.color-swatch{width:50px;height:50px}.color-swatches{gap:1rem}}.quote-popup{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1000;animation:popupFadeIn .3s ease-out}.quote-popup-content{background-color:#4caf50;color:#fff;padding:1.25rem 2rem;border-radius:12px;box-shadow:0 4px 20px #0000004d;display:flex;align-items:center;gap:.75rem;min-width:280px;max-width:90vw}.quote-popup-content p{margin:0;font-size:1rem;font-weight:500;text-align:center;width:100%}@keyframes popupFadeIn{0%{opacity:0;transform:translate(-50%,-60%)}to{opacity:1;transform:translate(-50%,-50%)}}@media(min-width:768px){.quote-popup-content{padding:1.5rem 2.5rem;min-width:320px}.quote-popup-content p{font-size:1.1rem}}
