.product-card{background:var(--bg-card);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column}.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}.product-card.compact{flex-direction:row;align-items:center;padding:12px;gap:12px}.product-card.compact .product-image-wrap{width:60px;height:60px;flex-shrink:0}.product-card.compact .product-info{padding:0}.product-card.compact .product-title{font-size:.875rem;-webkit-line-clamp:1}.product-image-wrap{position:relative;aspect-ratio:1;background:#f5f5f5;overflow:hidden}.product-image{width:100%;height:100%;object-fit:cover;transition:transform .3s}.product-card:hover .product-image{transform:scale(1.05)}.product-image-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:var(--text-secondary);font-size:.875rem}.discount-badge{position:absolute;top:12px;right:12px;background:var(--accent);color:var(--primary-dark);padding:4px 10px;border-radius:20px;font-size:.75rem;font-weight:600}.product-info{padding:16px;display:flex;flex-direction:column;gap:6px}.product-title{font-size:1rem;font-weight:600;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4}.product-category{font-size:.8rem;color:var(--primary);font-weight:500}.product-price-row{display:flex;align-items:center;gap:8px;margin-top:4px}.product-price{font-size:1.125rem;font-weight:700;color:var(--primary)}.product-compare-price{font-size:.875rem;color:var(--text-secondary);text-decoration:line-through}.home-page{display:flex;flex-direction:column;gap:40px}.hero{text-align:center;padding:48px 24px;background:linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%);border-radius:var(--radius);color:#fff}.hero h1{font-size:2.5rem;font-weight:700;margin-bottom:12px}.hero p{font-size:1.125rem;opacity:.9}.products-section{display:flex;flex-direction:column;gap:24px}.section-header{display:flex;align-items:center;justify-content:space-between}.section-header h2{font-size:1.5rem;font-weight:700}.product-count{color:var(--text-secondary);font-size:.9rem}.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:24px}.no-products,.home-error{text-align:center;padding:48px;background:var(--bg-card);border-radius:var(--radius);color:var(--text-secondary)}.no-products button,.home-error button{margin-top:16px;padding:12px 24px;background:var(--primary);color:#fff;border:none;border-radius:var(--radius-sm);font-weight:600;cursor:pointer}.no-products button:hover,.home-error button:hover{background:var(--primary-light)}.home-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;gap:16px;color:var(--text-secondary)}.spinner{width:40px;height:40px;border:3px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 768px){.hero{padding:32px 16px}.hero h1{font-size:1.75rem}.products-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px}}.product-page{display:flex;flex-direction:column;gap:24px}.back-link{color:var(--primary);font-weight:500;display:inline-flex;align-items:center;gap:4px;transition:opacity .2s}.back-link:hover{opacity:.8}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:48px;background:var(--bg-card);padding:32px;border-radius:var(--radius);box-shadow:var(--shadow)}.product-gallery{display:flex;flex-direction:column;gap:16px}.main-image{aspect-ratio:1;background:#f5f5f5;border-radius:var(--radius);overflow:hidden}.main-image img{width:100%;height:100%;object-fit:cover}.no-image{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:var(--text-secondary)}.thumbnail-row{display:flex;gap:12px;overflow-x:auto}.thumbnail{width:64px;height:64px;border:2px solid transparent;border-radius:var(--radius-sm);overflow:hidden;padding:0;background:none;cursor:pointer;transition:border-color .2s}.thumbnail.active{border-color:var(--primary)}.thumbnail img{width:100%;height:100%;object-fit:cover}.product-info{display:flex;flex-direction:column;gap:16px}.product-info .product-category{color:var(--primary);font-weight:600;font-size:.875rem;text-transform:uppercase;letter-spacing:.5px}.product-info .product-title{font-size:1.75rem;font-weight:700;line-height:1.3}.price-section{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.price-section .price{font-size:1.5rem;font-weight:700;color:var(--primary)}.price-section .compare-price{font-size:1.125rem;color:var(--text-secondary);text-decoration:line-through}.price-section .discount{background:var(--accent);color:var(--primary-dark);padding:4px 10px;border-radius:20px;font-size:.75rem;font-weight:600}.description,.features{padding-top:16px;border-top:1px solid var(--border)}.description h3,.features h3{font-size:1rem;font-weight:600;margin-bottom:8px;color:var(--text)}.description p,.features p{color:var(--text-secondary);line-height:1.7}.tags{display:flex;flex-wrap:wrap;gap:8px;padding-top:16px}.tag{background:var(--bg);color:var(--text-secondary);padding:6px 12px;border-radius:20px;font-size:.8rem}.external-link{display:inline-flex;align-items:center;color:var(--primary);font-weight:600;margin-top:16px;transition:opacity .2s}.external-link:hover{opacity:.8}.product-page-loading,.product-not-found{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:16px}.product-not-found h2{color:var(--text-secondary)}@media (max-width: 768px){.product-detail{grid-template-columns:1fr;gap:24px;padding:20px}.product-info .product-title{font-size:1.5rem}}.header{background:var(--primary);color:#fff;padding:0 24px;position:sticky;top:0;z-index:100;box-shadow:var(--shadow)}.header-content{max-width:1400px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;height:64px}.logo{display:flex;align-items:center;gap:8px;font-size:1.5rem;font-weight:700;color:#fff}.logo-icon{font-size:1.75rem}.nav{display:flex;gap:24px}.nav-link{color:#ffffffe6;font-weight:500;padding:8px 12px;border-radius:var(--radius-sm);transition:background .2s}.nav-link:hover{background:#ffffff1a;color:#fff}.chat-toggle{position:fixed;bottom:24px;right:24px;width:56px;height:56px;border-radius:50%;background:var(--primary);color:#fff;border:none;font-size:1.5rem;box-shadow:var(--shadow-lg);z-index:1000;transition:transform .2s,background .2s}.chat-toggle:hover{transform:scale(1.05);background:var(--primary-light)}.chat-widget{position:fixed;bottom:96px;right:24px;width:380px;max-width:calc(100vw - 48px);height:520px;max-height:calc(100vh - 140px);background:var(--bg-card);border-radius:var(--radius);box-shadow:var(--shadow-lg);display:flex;flex-direction:column;z-index:1000;overflow:hidden}.chat-header{background:var(--primary);color:#fff;padding:16px;display:flex;align-items:center;gap:12px}.chat-header-icon{font-size:2rem}.chat-header h3{font-size:1rem;font-weight:600}.chat-header p{font-size:.8rem;opacity:.8}.chat-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px}.chat-welcome{text-align:center;padding:20px 0;color:var(--text-secondary)}.chat-welcome p:first-child{color:var(--text);font-size:1rem;margin-bottom:16px}.chat-suggestions-label{font-size:.8rem;margin-bottom:8px}.chat-suggestions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.chat-suggestions button{background:var(--bg);border:1px solid var(--border);padding:8px 12px;border-radius:20px;font-size:.8rem;color:var(--text);transition:all .2s}.chat-suggestions button:hover{background:var(--primary);color:#fff;border-color:var(--primary)}.chat-message{max-width:85%}.chat-message.user{align-self:flex-end}.chat-message.assistant{align-self:flex-start}.message-content{padding:12px 16px;border-radius:18px;line-height:1.5;font-size:.9rem}.chat-message.user .message-content{background:var(--primary);color:#fff;border-bottom-right-radius:4px}.chat-message.assistant .message-content{background:var(--bg);color:var(--text);border-bottom-left-radius:4px}.message-products{margin-top:12px;display:flex;flex-direction:column;gap:8px}.typing{display:flex;gap:4px;padding:12px 20px}.typing span{width:8px;height:8px;background:var(--text-secondary);border-radius:50%;animation:typing 1.4s infinite}.typing span:nth-child(2){animation-delay:.2s}.typing span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-6px)}}.chat-input-wrap{padding:12px;border-top:1px solid var(--border);display:flex;gap:8px}.chat-input-wrap input{flex:1;padding:12px 16px;border:1px solid var(--border);border-radius:24px;font-size:.9rem;outline:none;transition:border-color .2s}.chat-input-wrap input:focus{border-color:var(--primary)}.chat-input-wrap button{background:var(--primary);color:#fff;border:none;padding:12px 20px;border-radius:24px;font-weight:600;font-size:.9rem;transition:background .2s}.chat-input-wrap button:hover:not(:disabled){background:var(--primary-light)}.chat-input-wrap button:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 480px){.chat-widget{bottom:0;right:0;width:100vw;max-width:100vw;height:100vh;max-height:100vh;border-radius:0}.chat-toggle{bottom:16px;right:16px}}.app{min-height:100vh;display:flex;flex-direction:column}.main-content{flex:1;padding:24px;max-width:1400px;margin:0 auto;width:100%}@media (max-width: 768px){.main-content{padding:16px}}:root{--primary: #1a472a;--primary-light: #2d5a3d;--primary-dark: #0f2d1a;--accent: #e8c547;--bg: #fafaf8;--bg-card: #ffffff;--text: #1a1a1a;--text-secondary: #666666;--border: #e5e5e5;--shadow: 0 2px 8px rgba(0, 0, 0, .08);--shadow-lg: 0 8px 24px rgba(0, 0, 0, .12);--radius: 12px;--radius-sm: 8px}*{margin:0;padding:0;box-sizing:border-box}body{font-family:DM Sans,-apple-system,BlinkMacSystemFont,sans-serif;background:var(--bg);color:var(--text);line-height:1.6;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font-family:inherit;cursor:pointer}img{max-width:100%;height:auto}
