@import url(https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&display=swap);*{box-sizing:border-box;margin:0;padding:0}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#fafaf8;background-image:linear-gradient(135deg,#d4af3705,#c9a96108),repeating-linear-gradient(45deg,#0000,#0000 10px,#d4af3703 0,#d4af3703 20px);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0;overflow-x:hidden;position:relative}body:before{background-image:radial-gradient(circle at 25% 25%,#d4af3708 0,#0000 50%),radial-gradient(circle at 75% 75%,#c9a96108 0,#0000 50%);bottom:0;content:"";left:0;opacity:.6;pointer-events:none;position:fixed;right:0;top:0;z-index:-1}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}button{-webkit-tap-highlight-color:transparent;cursor:pointer;font-family:inherit}input,select,textarea{-webkit-appearance:none;appearance:none;font-family:inherit}input[type=checkbox],input[type=radio]{-webkit-appearance:auto;appearance:auto;cursor:pointer}a{-webkit-tap-highlight-color:transparent}.container{padding:0 1rem;width:100%}.btn{-webkit-tap-highlight-color:transparent;border-radius:8px;display:inline-block;font-weight:600;padding:.75rem 1.5rem;text-align:center;text-decoration:none;touch-action:manipulation;transition:all .2s ease}.btn-primary{box-shadow:0 4px 12px #6fb1c74d}.btn-primary:active{transform:scale(.98)}@media (hover:hover){.btn-primary:hover{background:linear-gradient(135deg,#5ba3b8,#4a8fa3);box-shadow:0 6px 16px #6fb1c766;transform:translateY(-2px)}}.btn-secondary{color:#2c5f7c}.btn-secondary:active{background:#f7f9fa}@media (hover:hover){.btn-secondary:hover{border-color:#5ba3b8;color:#34657f}}.form-group{margin-bottom:1rem}.form-control{border-radius:8px;font-size:1rem;padding:.75rem;transition:border-color .2s}@media (max-width:768px){.container{padding:0 .75rem}.btn{font-size:.95rem;padding:.65rem 1.25rem}.form-control{font-size:.95rem;padding:.65rem}}@media (max-width:480px){.container{padding:0 .5rem}.btn{font-size:.9rem;padding:.6rem 1rem}.form-control{font-size:.9rem;padding:.6rem}}@media (hover:none) and (pointer:coarse){.btn,a,button{min-height:44px;min-width:44px}}.customer-layout{display:flex;flex-direction:column;min-height:100vh}.customer-header{background:linear-gradient(135deg,#2c5f7c,#34657f);box-shadow:0 2px 8px #2c5f7c33;color:#fff;padding:1rem 0;position:-webkit-sticky;position:sticky;top:0;z-index:100}.header-content{justify-content:space-between;margin:0 auto;max-width:1200px;min-height:44px;padding:0 1rem}.header-content,.header-left{align-items:center;display:flex}.header-left{gap:2rem}.logo{align-items:center;color:#fff;display:flex;flex-shrink:0;text-decoration:none}.logo h1{font-size:1.8rem;font-weight:700;line-height:1.2;margin:0}.nav-menu-left,.nav-menu-right{align-items:center;display:flex;gap:1.5rem}.nav-link{align-items:center;color:#fff;display:inline-flex;font-size:1.1rem;font-weight:500;gap:.3rem;justify-content:center;line-height:1;padding:.4rem 0;position:relative;text-decoration:none;transition:all .3s;white-space:nowrap}@media (hover:hover){.nav-link:hover{opacity:.85;transform:translateY(-1px)}}.nav-link:active{opacity:.7}.nav-link.active{font-weight:700}.nav-link.active:after{background:#fff;border-radius:2px;bottom:0;content:"";height:3px;left:0;position:absolute;right:0}.cart-link{position:relative}.cart-badge{background:#ff4757;border-radius:50%;font-size:.75rem;height:20px;min-width:20px;right:-12px;top:-8px}.logout-btn{background:#0000;border:1px solid #ffffff80;border-radius:4px;cursor:pointer;font-size:1rem;line-height:1;padding:.4rem .8rem;transition:all .3s}.logout-btn:hover{background:#ffffff1a;border-color:#fff}.main-content{flex:1 1;padding:1.5rem 0}.customer-footer{background:#37474f;box-shadow:0 -2px 8px #0000001a;color:#fff;margin-top:auto;padding:2rem 0;text-align:center}.customer-footer p{font-size:.9rem;margin:0}@media (max-width:768px){.customer-header{padding:.4rem 0}.customer-header .container{margin:0!important;max-width:100%!important;padding:0!important}.header-content{min-height:32px;padding:0 .6rem}.header-left{gap:.5rem}.logo h1{font-size:.95rem}.nav-menu-left,.nav-menu-right{gap:.4rem}.nav-link{font-size:.8rem;padding:.25rem 0}.cart-text,.user-name{display:none}.cart-icon,.user-icon{font-size:1.2rem;line-height:1}.logout-btn{font-size:.75rem;padding:.25rem .5rem}.cart-badge{font-size:.65rem;height:16px;min-width:16px;right:-8px;top:-5px}.main-content{padding:0!important}.customer-footer{padding:1.5rem 0}.customer-footer .container{padding:0 .6rem!important}.customer-footer p{font-size:.85rem}}@media (max-width:480px){.customer-header{padding:.35rem 0}.customer-header .container{padding:0!important}.header-content{min-height:28px;padding:0 .5rem}.header-left{gap:.4rem}.logo h1{font-size:.9rem}.nav-menu-left,.nav-menu-right{gap:.35rem}.nav-link{font-size:.75rem;padding:.2rem 0}.cart-icon,.user-icon{font-size:1.15rem;line-height:1}.logout-btn{font-size:.7rem;padding:.2rem .45rem}.cart-badge{font-size:.6rem;height:15px;min-width:15px;right:-7px;top:-4px}.customer-footer .container{padding:0 .5rem!important}}.admin-layout{background:#f5f5f5;display:flex;min-height:100vh}.mobile-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 2px 8px #0000001a;color:#fff;display:none;height:60px;left:0;padding:0 1rem;position:fixed;right:0;top:0;z-index:1000}.mobile-title{flex:1 1;font-size:1.2rem;font-weight:600;margin:0;text-align:center}.mobile-user{font-size:.85rem;max-width:100px;opacity:.9;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hamburger-btn{align-items:center;background:none;border:none;cursor:pointer;display:flex;flex-direction:column;gap:4px;justify-content:center;min-height:44px;min-width:44px;padding:.5rem}.hamburger-btn span{background:#fff;border-radius:2px;display:block;height:3px;transition:all .3s;width:24px}.hamburger-btn:active span{background:#fffc}.sidebar-overlay{background:#00000080;bottom:0;display:none;left:0;position:fixed;right:0;top:0;z-index:999}.sidebar{background:linear-gradient(180deg,#2c3e50,#34495e);box-shadow:2px 0 8px #0000001a;color:#fff;padding:2rem 0;transition:transform .3s ease;width:250px}.sidebar-header{border-bottom:1px solid #ffffff1a;padding:0 1.5rem 2rem}.sidebar-header h2{font-size:1.5rem;margin:0 0 .5rem}.user-info{font-size:.9rem;margin:0;opacity:.8}.sidebar-nav{display:flex;flex-direction:column;padding:1rem 0}.sidebar-link{background:none;border:none;border-left:3px solid #0000;color:#fff;cursor:pointer;display:block;font-size:1rem;padding:1rem 1.5rem;text-align:left;text-decoration:none;transition:all .3s;width:100%}.sidebar-link:hover{background:#ffffff1a;border-left-color:#3498db}.logout-btn{margin-top:auto}.admin-main{flex:1 1;overflow-y:auto;padding:2rem}@media (max-width:1024px){.sidebar{width:220px}.sidebar-header h2{font-size:1.3rem}.sidebar-link{font-size:.95rem;padding:.9rem 1.2rem}.admin-main{padding:1.5rem}}@media (max-width:768px){.mobile-header{display:flex}.admin-layout{padding-top:60px}.sidebar{bottom:0;box-shadow:none;left:0;position:fixed;top:0;transform:translateX(-100%);width:280px;z-index:1000}.sidebar-open{box-shadow:4px 0 12px #0003;transform:translateX(0)}.sidebar-overlay{display:block}.admin-main{padding:1rem;width:100%}}@media (max-width:480px){.mobile-header{height:56px;padding:0 .75rem}.mobile-title{font-size:1.1rem}.mobile-user{font-size:.8rem;max-width:80px}.admin-layout{padding-top:56px}.sidebar{width:260px}.sidebar-header{padding:0 1rem 1.5rem}.sidebar-header h2{font-size:1.2rem}.sidebar-link{font-size:.95rem;padding:.85rem 1rem}.admin-main{padding:.75rem}}@media (max-width:768px){#root,.customer-layout,.main-content,body,html{margin:0!important;padding:0!important}.customer-footer .container,.customer-header .container,.main-content .container,.product-list-page,.product-list-page .container{margin:0!important;max-width:100%!important;padding:0!important}.product-list-page,.product-list-page .container{width:100%!important}}.product-list-page{margin:0 auto;max-width:1200px;padding:0 1rem}.promotion-banner{align-items:center;animation:bannerSlideIn .5s ease-out;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:20px;box-shadow:0 8px 24px #667eea40;display:flex;gap:1.5rem;margin-bottom:1.5rem;overflow:hidden;padding:1.5rem;position:relative}.promotion-banner:before{background:radial-gradient(circle,#ffffff26 0,#0000 70%);border-radius:50%;content:"";height:300px;position:absolute;right:-10%;top:-50%;width:300px}.promotion-banner:after{background:radial-gradient(circle,#ffffff1a 0,#0000 70%);border-radius:50%;bottom:-30%;content:"";height:200px;left:-5%;position:absolute;width:200px}@keyframes bannerSlideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.banner-icon{animation:iconBounce 2s ease-in-out infinite;flex-shrink:0;font-size:3rem;z-index:1}@keyframes iconBounce{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.banner-content{flex:1 1;z-index:1}.banner-title{color:#fff;font-size:1.4rem;font-weight:700;letter-spacing:.5px;margin-bottom:1rem;text-shadow:0 2px 4px #0003}.banner-tiers{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:.8rem}.banner-tiers .tier{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff40;border:2px solid #ffffff4d;border-radius:20px;color:#fff;font-size:.9rem;font-weight:600;padding:.5rem 1rem;transition:all .3s ease;white-space:nowrap}.banner-tiers .tier:hover{background:#ffffff59;border-color:#ffffff80;box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.banner-tiers .tier.current{animation:currentPulse 2s ease-in-out infinite;background:linear-gradient(135deg,#48bb78,#38a169);border-color:#48bb78;box-shadow:0 4px 16px #48bb7880;color:#fff;font-weight:700}@keyframes currentPulse{0%,to{box-shadow:0 4px 16px #48bb7880;transform:scale(1)}50%{box-shadow:0 6px 20px #48bb78b3;transform:scale(1.05)}}.banner-tiers .tier.next{animation:nextPulse 2s ease-in-out infinite;background:linear-gradient(135deg,gold,#ffed4e);border-color:gold;box-shadow:0 4px 16px #ffd70066;color:#764ba2;font-weight:700}@keyframes nextPulse{0%,to{box-shadow:0 4px 16px #ffd70066;transform:scale(1)}50%{box-shadow:0 6px 20px #ffd70099;transform:scale(1.05)}}.banner-tiers .tier.highlight{animation:nextPulse 2s ease-in-out infinite;background:linear-gradient(135deg,gold,#ffed4e);border-color:gold;box-shadow:0 4px 16px #ffd70066;color:#764ba2}.banner-note{color:#fffffff2;font-size:.85rem;font-weight:500;margin-top:.5rem;text-shadow:0 1px 2px #0000001a}.banner-status{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff26;border:1px solid #ffffff40;border-radius:12px;display:flex;flex-wrap:wrap;gap:1rem;margin-top:.8rem;padding:.8rem 1rem}.current-discount{animation:glow 2s ease-in-out infinite;color:gold;font-size:.95rem;font-weight:700;text-shadow:0 2px 4px #0003}@keyframes glow{0%,to{text-shadow:0 2px 4px #0003,0 0 10px #ffd70080}50%{text-shadow:0 2px 4px #0003,0 0 20px #ffd700cc}}.next-tip{color:#fffffff2;font-size:.9rem;font-weight:600;text-shadow:0 1px 2px #00000026}@media (max-width:768px){.promotion-banner{border-radius:16px;gap:1rem;margin-bottom:1rem;padding:1.2rem}.banner-icon{font-size:2.5rem}.banner-title{font-size:1.2rem;margin-bottom:.8rem}.banner-tiers{gap:.5rem}.banner-tiers .tier{font-size:.8rem;padding:.4rem .8rem}.banner-note{font-size:.8rem}.banner-status{flex-direction:column;gap:.5rem;padding:.6rem .8rem}.current-discount,.next-tip{font-size:.85rem}}@media (max-width:480px){.promotion-banner{flex-direction:column;gap:.8rem;padding:1rem;text-align:center}.banner-icon{font-size:2rem}.banner-title{font-size:1.1rem;margin-bottom:.6rem}.banner-tiers{gap:.4rem;justify-content:center}.banner-tiers .tier{font-size:.75rem;padding:.35rem .7rem}.banner-note{font-size:.75rem}.banner-status{gap:.4rem;padding:.5rem}.current-discount,.next-tip{font-size:.8rem}}.page-title{color:#333;font-size:2.5rem;margin-bottom:2rem;text-align:center}.products-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(4,1fr);margin-bottom:4rem}@media (max-width:1100px){.products-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:800px){.products-grid{gap:1rem;grid-template-columns:repeat(2,1fr)}}@media (max-width:600px){.products-grid{gap:.75rem}}@media (max-width:500px){.products-grid{grid-template-columns:repeat(2,1fr)}}.product-card{-webkit-tap-highlight-color:transparent;background:#fff;border-radius:16px;box-shadow:0 2px 8px #2c5f7c1a;display:flex;flex-direction:column;height:auto;overflow:hidden;position:relative;transition:transform .2s,box-shadow .2s}.product-card:active{transform:scale(.98)}@media (hover:hover){.product-card:hover{box-shadow:0 6px 16px #2c5f7c26;transform:translateY(-2px)}.product-card:hover .product-image img{transform:scale(1.03)}}.product-image{align-items:center;background:#fff;display:flex;flex-shrink:0;height:280px;justify-content:center;overflow:hidden;position:relative;width:100%}.product-image img{height:100%;object-fit:contain;object-position:center;padding:1rem;transition:transform .3s ease;width:100%}.stock-badge{background:#fffffff2;box-shadow:0 2px 6px #0000001f;color:#333;font-size:.75rem;left:8px}.discount-badge,.stock-badge{border-radius:12px;font-weight:600;padding:.3rem .6rem;position:absolute;top:8px;z-index:10}.discount-badge{background:linear-gradient(135deg,#48bb78,#38a169);box-shadow:0 2px 6px #48bb784d;color:#fff;font-size:.7rem;right:8px}.placeholder-image{align-items:center;background:#f5f5f5;color:#999;display:flex;flex-direction:column;height:100%;justify-content:center;width:100%}.placeholder-icon{font-size:4rem;opacity:.5}.placeholder-text{font-size:.9rem;font-weight:600;opacity:.6}.product-details{background:#fff;display:flex;flex:1 1;flex-direction:column;padding:1rem}.product-title{color:#333;font-size:.85rem;font-weight:500;line-height:1.3;margin-bottom:.5rem;min-height:40px;text-align:center}.product-title .brand-line{color:#2c5f7c;display:block;font-size:.75rem;font-weight:600;margin-bottom:.15rem}.product-title .flavor-line{color:#333;display:block;font-size:.85rem;font-weight:500}.product-title span{display:inline}.price-capsule{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#2c5f7cf2;border-radius:20px;bottom:8px;box-shadow:0 2px 6px #0003;color:#fff;font-size:.9rem;font-weight:600;left:8px;padding:4px 12px;position:absolute;z-index:2}.product-actions{display:flex;flex-direction:column;gap:.5rem;margin-top:auto}.quantity-selector{align-items:center;background:#f8f9fa;border:2px solid #e0e0e0;border-radius:10px;display:flex;gap:.75rem;justify-content:center;padding:.5rem}.qty-btn{-webkit-tap-highlight-color:transparent;background:linear-gradient(135deg,#6fb1c7,#5ba3b8);border-radius:50%;box-shadow:0 2px 6px #6fb1c740;font-size:1.2rem;line-height:1;min-height:32px;min-width:32px;padding:0;touch-action:manipulation}.qty-btn:active:not(:disabled){box-shadow:0 1px 3px #6fb1c74d;transform:scale(.9)}@media (hover:hover){.qty-btn:hover:not(:disabled){background:linear-gradient(135deg,#5ba3b8,#4a8fa3);box-shadow:0 3px 8px #6fb1c759;transform:scale(1.05)}}.qty-btn:disabled{background:#b0bec5;box-shadow:none;cursor:not-allowed;opacity:.5}.qty-display{color:#333;font-size:1.1rem;font-weight:700;min-width:40px;text-align:center}.qty-input{background:#0000;border:none;color:#333;font-size:1rem;outline:none;padding:.25rem;width:50px}.qty-input[type=number]{-webkit-appearance:textfield;appearance:textfield}.add-to-cart-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:12px;box-shadow:0 4px 12px #667eea4d;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:.875rem;transition:all .3s ease;width:100%}.add-to-cart-btn:hover:not(:disabled){box-shadow:0 6px 16px #667eea80;transform:translateY(-2px)}.add-to-cart-btn:disabled{background:#ccc;cursor:not-allowed;opacity:.6}.no-products{color:#666;padding:4rem 1rem}@media (max-width:768px){.product-image{height:200px}.product-details{padding:.75rem}.product-title{font-size:.85rem;margin-bottom:.5rem;min-height:38px}.product-title .brand-line{font-size:.75rem}.product-title .flavor-line{font-size:.9rem}.price-capsule{bottom:6px;font-size:.85rem;left:6px;padding:3px 10px}.quantity-selector{gap:.6rem;padding:.4rem}.qty-btn{font-size:1.1rem;height:28px;min-height:28px;min-width:28px;width:28px}.qty-input{font-size:.95rem;width:45px}.discount-badge,.stock-badge{border-radius:10px;font-size:.7rem;left:6px;padding:.25rem .5rem;top:6px}.discount-badge{left:auto;right:6px}}@media (max-width:480px){.filter-section{top:56px}.category-btn,.filter-label{font-size:.8rem}.category-btn{padding:.45rem .9rem}.product-image{height:180px}.product-image img{padding:.75rem}.product-details{padding:.6rem}.product-title{font-size:.8rem;min-height:36px}.product-title .brand-line{font-size:.7rem}.product-title .flavor-line{font-size:.85rem}.price-capsule{bottom:5px;font-size:.8rem;left:5px;padding:3px 8px}}.brand-filter-wrapper{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:1rem}.brand-select{background:#fff;border:2px solid #6fb1c7;border-radius:12px;color:#2c5f7c;cursor:pointer;flex-shrink:0;font-size:.95rem;font-weight:500;min-width:150px;outline:none;padding:.6rem 1rem;transition:all .2s}.brand-select:focus,.brand-select:hover{border-color:#5ba3b8}.brand-select:focus{box-shadow:0 0 0 3px #6fb1c726}.popular-brands{align-items:center;display:flex;flex:1 1;flex-wrap:wrap;gap:.6rem}.popular-label{color:#666;font-weight:600}.popular-brand-btn,.popular-label{font-size:.85rem;white-space:nowrap}.popular-brand-btn{-webkit-tap-highlight-color:transparent;background:#fff;border:2px solid #ff9066;border-radius:16px;color:#ff9066;cursor:pointer;flex-shrink:0;font-weight:500;padding:.5rem 1rem;transition:all .2s;-webkit-user-select:none;user-select:none}.popular-brand-btn:active{transform:scale(.95)}.popular-brand-btn.active{background:linear-gradient(135deg,#ff9066,#ff8a5b);border-color:#ff9066;box-shadow:0 2px 8px #ff906659;color:#fff}@media (hover:hover){.popular-brand-btn:hover{background:#fff5f2;border-color:#ff8a5b}.popular-brand-btn.active:hover{background:linear-gradient(135deg,#ff8a5b,#ff7a4b)}}@media (max-width:768px){.brand-filter-wrapper{align-items:flex-start;flex-direction:column;gap:.6rem}.brand-select{font-size:.9rem;max-width:100%;min-width:120px;padding:.5rem .85rem;width:100%}.popular-brands{width:100%}.popular-label{font-size:.8rem}.popular-brand-btn{font-size:.8rem;padding:.45rem .9rem}}.mobile-promotion-banner{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-bottom:1px solid #667eea4d;display:flex;flex-shrink:0;gap:.5rem;overflow:hidden;padding:.4rem .75rem}.mobile-search-container{background:#fff;border-bottom:1px solid #e5e7eb;flex-shrink:0;padding:.75rem 1rem}@media (max-width:768px){.mobile-search-container{padding:.4rem 0!important}.mobile-search-box{height:36px;margin:0 .75rem;padding:.4rem .8rem}.mobile-search-input{font-size:.85rem}.search-icon{font-size:1rem}}.mobile-banner-icon{animation:mobileBannerIconBounce 2s ease-in-out infinite;flex-shrink:0;font-size:1.3rem}@keyframes mobileBannerIconBounce{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-3px) scale(1.1)}}.mobile-banner-scroll{align-items:center;display:flex;flex:1 1;height:22px;overflow:hidden;position:relative}.mobile-banner-content{align-items:center;animation:mobileScrollBanner 30s linear infinite;display:inline-flex;gap:.5rem;white-space:nowrap;will-change:transform}@keyframes mobileScrollBanner{0%{transform:translateX(0)}to{transform:translateX(-50%)}}.mobile-banner-scroll:active .mobile-banner-content{animation-play-state:paused}.mobile-banner-item{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#fff3;border:1px solid #ffffff4d;border-radius:12px;color:#fff;font-size:.8rem;font-weight:600;padding:.25rem .6rem;text-shadow:0 1px 2px #0003}.mobile-banner-separator{color:#fff9;font-size:.9rem;font-weight:700}.mobile-banner-highlight{animation:mobileHighlightGlow 2s ease-in-out infinite;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#ffd70033;border:1px solid #ffd70066;border-radius:12px;color:gold;font-size:.8rem;font-weight:700;padding:.25rem .6rem;text-shadow:0 1px 2px #0000004d}@keyframes mobileHighlightGlow{0%,to{box-shadow:0 0 8px #ffd70066}50%{box-shadow:0 0 15px #ffd700b3}}.mobile-banner-tip{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#ffffff40;border:1px solid #fff6;border-radius:12px;color:#fff;font-size:.8rem;font-weight:600;padding:.25rem .6rem;text-shadow:0 1px 2px #0003}@media (max-width:480px){.mobile-promotion-banner{padding:.35rem .6rem}.mobile-banner-icon{font-size:1.2rem}.mobile-banner-scroll{height:20px}.mobile-banner-highlight,.mobile-banner-item,.mobile-banner-tip{font-size:.75rem;padding:.2rem .5rem}.mobile-banner-separator{font-size:.85rem}}@media (max-width:380px){.mobile-promotion-banner{gap:.4rem;padding:.3rem .5rem}.mobile-banner-icon{font-size:1.1rem}.mobile-banner-scroll{height:18px}.mobile-banner-highlight,.mobile-banner-item,.mobile-banner-tip{font-size:.7rem;padding:.18rem .45rem}}.mobile-search-box{align-items:center;background:#f3f4f6;border-radius:24px;box-sizing:border-box;display:flex;gap:.5rem;height:44px;padding:.6rem 1rem;position:relative;transition:all .2s ease}.mobile-search-box:focus-within{background:#fff;box-shadow:0 0 0 2px #1890ff}.search-icon{flex-shrink:0;font-size:1.1rem;opacity:.6}.mobile-search-input{background:#0000;border:none;color:#333;flex:1 1;font-size:.95rem;outline:none;padding:0}.mobile-search-input::placeholder{color:#999}.search-clear-btn{align-items:center;background:#d1d5db;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;flex-shrink:0;font-size:.8rem;height:20px;justify-content:center;line-height:1;padding:0;transition:all .2s ease;width:20px}.search-clear-btn:hover{background:#9ca3af}.search-clear-btn:active{transform:scale(.9)}@media (max-width:768px){.product-list-page{display:flex;flex-direction:column;height:100vh;overflow:hidden}.product-list-page>.container{display:flex;flex-direction:column;height:100%;max-width:100%}}.mobile-layout{display:flex;flex:1 1;gap:0;height:0;overflow:hidden;padding-bottom:65px;position:relative}.mobile-sidebar{-webkit-overflow-scrolling:touch;background:#f5f7fa;border-right:1px solid #e5e7eb;flex-shrink:0;height:100%;overflow-x:hidden;overflow-y:auto;position:relative;width:30%}.mobile-categories{padding:0 0 200px}.category-item-wrapper{border-bottom:1px solid #e5e7eb}.category-item{align-items:center;background:#f5f7fa;color:#333;cursor:pointer;display:flex;font-size:.85rem;font-weight:500;justify-content:space-between;padding:.85rem .75rem;position:relative;transition:all .2s}.category-item.active{background:#fff;border-left:3px solid #1890ff;color:#1890ff;font-weight:600}.category-item:active{background:#e8eef1}.category-name{flex:1 1}.category-arrow{color:#999;font-size:.7rem;transition:transform .2s}.brand-item,.brand-list{background:#fff}.brand-item{border-bottom:1px solid #f0f0f0;color:#666;cursor:pointer;font-size:.8rem;padding:.7rem .75rem .7rem 1.5rem;transition:all .2s}.brand-item:last-child{border-bottom:none}.brand-item.active{background:#e6f7ff;color:#1890ff;font-weight:600}.brand-item:active{background:#f0f8ff}.mobile-products{-webkit-overflow-scrolling:touch;background:#f9fafb;flex-shrink:0;height:100%;overflow-x:hidden;overflow-y:auto;width:70%}.products-grid-mobile{display:flex;flex-direction:column;gap:0;padding:0 0 250px}.product-card-mobile{align-items:center;background:#fff;border-bottom:1px solid #f0f0f0;display:flex;flex-direction:row;gap:.75rem;min-height:100px;padding:.9rem .75rem;position:relative}.product-card-mobile:last-child{border-bottom:none}.product-image-mobile{align-items:center;background:#fff;display:flex;flex-shrink:0;height:90px;justify-content:center;overflow:hidden;padding:.3rem;width:90px}.product-image-mobile img{height:100%;object-fit:contain;width:100%}.product-info-mobile{display:flex;flex:1 1;flex-direction:column;gap:.5rem;min-width:0;padding-right:0}.product-name-mobile{color:#333;display:flex;flex-direction:column;gap:.2rem;line-height:1.3}.product-name-mobile .brand-name-mobile{color:#999;font-size:.7rem;font-weight:500;letter-spacing:.3px;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.product-name-mobile .name-cn{color:#333;font-size:.95rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-name-mobile .name-en{color:#666;font-size:.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-price-mobile{color:#ff4d4f;font-size:1.2rem;font-weight:700}.product-actions-mobile{align-items:center;bottom:.75rem;display:flex;flex-direction:row;gap:.4rem;position:absolute;right:.75rem}.btn-decrease-mobile,.btn-increase-mobile{align-items:center;background:#1890ff;border:none;border-radius:50%;box-shadow:0 2px 8px #1890ff59;color:#fff;cursor:pointer;display:flex;font-size:1rem;font-weight:700;height:28px!important;justify-content:center;line-height:1;max-height:28px;max-width:28px;min-height:28px!important;min-width:28px!important;padding:0;transition:all .2s;width:28px!important}.btn-decrease-mobile{background:#ff9066;box-shadow:0 2px 8px #ff906659}.btn-increase-mobile:disabled{background:#d9d9d9;box-shadow:none;cursor:not-allowed}.btn-decrease-mobile:active:not(:disabled),.btn-increase-mobile:active:not(:disabled){transform:scale(.9)}.quantity-display-mobile{color:#333;font-size:.8rem;font-weight:700;min-width:20px;text-align:center}.no-products-mobile{color:#999;font-size:.9rem;grid-column:1/-1;padding:3rem 1rem;text-align:center}.mobile-cart-bar{align-items:center;background:#fff;bottom:0;box-shadow:0 -2px 10px #0000001a;display:flex;flex-shrink:0;gap:.75rem;height:65px;left:0;padding:0 1rem;position:fixed;right:0;z-index:1000}.cart-icon-section{-webkit-tap-highlight-color:transparent;border-radius:50%;cursor:pointer;flex-shrink:0;margin:-.75rem;padding:.75rem;position:relative;transition:all .2s ease}.cart-icon-section:active{transform:scale(.92)}.cart-icon-section:active .cart-icon-wrapper{background:#1a1a1a}.cart-icon-wrapper{background:#333;border-radius:50%;box-shadow:0 2px 8px #0003;font-size:1.4rem;height:48px;position:relative;transition:all .2s ease;width:48px}.cart-badge,.cart-icon-wrapper{align-items:center;display:flex;justify-content:center}.cart-badge{background:#ff4d4f;border-radius:9px;box-shadow:0 2px 4px #ff4d4f4d;color:#fff;font-size:.7rem;font-weight:700;height:18px;min-width:18px;padding:0 4px;position:absolute;right:-4px;top:-4px}.cart-total-section{flex:1 1;min-width:0}.discount-label{color:#52c41a;font-size:.75rem;font-weight:600;margin-bottom:1px}.total-label{color:#999;font-size:.7rem;margin-bottom:2px}.total-price{color:#ff4d4f;font-size:1.3rem;font-weight:700}.cart-checkout-btn{background:#1890ff;border:none;border-radius:22px;box-shadow:0 2px 8px #1890ff4d;color:#fff;cursor:pointer;flex-shrink:0;font-size:.95rem;font-weight:600;height:auto;min-height:0;min-height:auto;min-width:0;min-width:auto;padding:.7rem 1.8rem;transition:all .2s}.cart-checkout-btn:active:not(:disabled){background:#1070d0;transform:scale(.95)}.cart-checkout-btn:disabled{background:#d9d9d9;box-shadow:none;cursor:not-allowed}@media (max-width:480px){.mobile-layout{padding-bottom:60px}.product-card-mobile{gap:.6rem;min-height:90px;padding:.75rem .6rem}.product-image-mobile{height:75px;padding:.25rem;width:75px}.product-info-mobile{gap:.4rem;padding-right:0}.product-name-mobile .brand-name-mobile{font-size:.65rem}.product-name-mobile .name-cn{font-size:.9rem}.product-name-mobile .name-en{font-size:.7rem}.product-price-mobile{font-size:1.1rem}.product-actions-mobile{bottom:.6rem;gap:.3rem;right:.6rem}.btn-decrease-mobile,.btn-increase-mobile{font-size:.95rem;height:26px!important;max-height:26px;max-width:26px;min-height:26px!important;min-width:26px!important;width:26px!important}.quantity-display-mobile{font-size:.8rem;min-width:18px}.mobile-cart-bar{gap:.5rem;height:60px;padding:0 .75rem}.cart-icon-section{margin:-.65rem;padding:.65rem}.cart-icon-wrapper{font-size:1.3rem;height:44px;width:44px}.total-price{font-size:1.1rem}.cart-checkout-btn{font-size:.9rem;padding:.6rem 1.5rem}}@media (max-width:380px){.mobile-layout{padding-bottom:58px}.mobile-sidebar{width:35%}.mobile-products{width:65%}.category-item{font-size:.8rem;padding:.75rem .5rem}.brand-item{font-size:.75rem;padding:.65rem .5rem .65rem 1.2rem}.product-card-mobile{gap:.5rem;min-height:80px;padding:.65rem .5rem}.product-image-mobile{height:65px;width:65px}.product-info-mobile{padding-right:0}.product-name-mobile .brand-name-mobile{font-size:.6rem}.product-name-mobile .name-cn{font-size:.85rem}.product-name-mobile .name-en{font-size:.65rem}.product-price-mobile{font-size:1rem}.product-actions-mobile{bottom:.5rem;right:.5rem}.btn-decrease-mobile,.btn-increase-mobile{font-size:.9rem;height:24px!important;max-height:24px;max-width:24px;min-height:24px!important;min-width:24px!important;width:24px!important}.mobile-cart-bar{height:58px}}.cart-drawer-overlay{animation:fadeIn .3s ease forwards;background:#0000;top:0;z-index:1500}.cart-drawer,.cart-drawer-overlay{bottom:65px;left:0;position:fixed;right:0}.cart-drawer{background:#fff;border-radius:16px 16px 0 0;box-shadow:0 -4px 20px #00000026;display:flex;flex-direction:column;height:70vh;transform:translateY(calc(100% + 65px));transition:none;z-index:2000}.cart-drawer.open{transform:translateY(0);transition:transform .4s cubic-bezier(.32,.72,0,1)}.cart-drawer.closing{transition:transform .25s cubic-bezier(.4,0,1,1)}.cart-drawer-handle{cursor:grab;display:flex;flex-shrink:0;justify-content:center;padding:.75rem 0 .5rem;position:relative;touch-action:none;-webkit-user-select:none;user-select:none}.cart-drawer-handle:before{bottom:-10px;content:"";left:0;position:absolute;right:0;top:-10px}.cart-drawer-handle:active{cursor:grabbing}.drawer-handle-bar{background:#d9d9d9;border-radius:2px;height:4px;transition:background .2s;width:40px}.cart-drawer-handle:active .drawer-handle-bar{background:#bfbfbf}.cart-drawer-header{align-items:center;border-bottom:1px solid #f0f0f0;display:flex;flex-shrink:0;justify-content:space-between;padding:.75rem 1.25rem 1rem}.cart-drawer-header h3{color:#333;font-size:1.1rem;font-weight:600;margin:0}.clear-cart-btn{align-items:center;background:none;border:none;border-radius:8px;color:#ff4d4f;cursor:pointer;display:flex;font-size:.9rem;font-weight:500;gap:.25rem;padding:.4rem .8rem;transition:all .2s}.clear-cart-btn:active:not(:disabled){background:#fff1f0}.clear-cart-btn:disabled{color:#d9d9d9;cursor:not-allowed}.clear-cart-btn span{font-size:1rem}.cart-drawer-content{-webkit-overflow-scrolling:touch;flex:1 1;overflow-y:auto;padding:.5rem 0;touch-action:pan-y}.empty-cart{align-items:center;color:#999;display:flex;flex-direction:column;justify-content:center}.empty-cart-icon{font-size:4rem;margin-bottom:1rem;opacity:.5}.empty-cart-text{color:#999;font-size:1rem}.cart-drawer-item{align-items:center;border-bottom:1px solid #f5f5f5;display:flex;gap:.9rem;padding:.9rem 1.25rem;transition:background .2s}.cart-drawer-item:last-child{border-bottom:none}.cart-drawer-item:active{background:#fafafa}.cart-item-image{align-items:center;background:#f9fafb;border-radius:8px;display:flex;flex-shrink:0;height:60px;justify-content:center;overflow:hidden;padding:.25rem;width:60px}.cart-item-image img{height:100%;object-fit:contain;width:100%}.cart-item-image .placeholder-icon{font-size:2rem;opacity:.3}.cart-item-info{flex:1 1;gap:.4rem;min-width:0}.cart-item-info,.cart-item-name{display:flex;flex-direction:column}.cart-item-name{color:#333;gap:.2rem;line-height:1.3}.cart-item-name .brand-name-cart{color:#999;font-size:.65rem;font-weight:500;letter-spacing:.3px;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.cart-item-name .name-cn{color:#333;font-size:.9rem;font-weight:600}.cart-item-name .name-cn,.cart-item-name .name-en{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart-item-name .name-en{color:#666;font-size:.75rem}.cart-item-price{color:#ff4d4f;font-size:1rem;font-weight:700}.cart-item-actions{align-items:center;display:flex;flex-shrink:0;gap:.5rem}.btn-decrease-cart,.btn-increase-cart{align-items:center;background:#1890ff;border:none;border-radius:50%;box-shadow:0 2px 6px #1890ff4d;color:#fff;cursor:pointer;display:flex;font-size:1.1rem;font-weight:700;height:32px!important;justify-content:center;line-height:1;max-height:32px;max-width:32px;min-height:32px!important;min-width:32px!important;padding:0;transition:all .2s;width:32px!important}.btn-decrease-cart{background:#ff9066;box-shadow:0 2px 6px #ff90664d}.btn-increase-cart:disabled{background:#d9d9d9;box-shadow:none;cursor:not-allowed}.btn-decrease-cart:active:not(:disabled),.btn-increase-cart:active:not(:disabled){transform:scale(.9)}.quantity-display-cart{color:#333;font-size:.95rem;font-weight:700;min-width:24px;text-align:center}@media (max-width:480px){.cart-drawer-overlay{bottom:60px}.cart-drawer{bottom:60px;height:65vh;transform:translateY(calc(100% + 60px))}.cart-drawer-handle{padding:.65rem 0 .45rem}.drawer-handle-bar{height:3px;width:36px}.cart-drawer-header{padding:.65rem 1rem .85rem}.cart-drawer-header h3{font-size:1rem}.clear-cart-btn{font-size:.85rem;padding:.35rem .7rem}.cart-drawer-item{gap:.75rem;padding:.8rem 1rem}.cart-item-image{height:55px;width:55px}.cart-item-name .brand-name-cart{font-size:.6rem}.cart-item-name .name-cn{font-size:.85rem}.cart-item-name .name-en{font-size:.7rem}.cart-item-price{font-size:.95rem}.btn-decrease-cart,.btn-increase-cart{font-size:1rem;height:30px!important;max-height:30px;max-width:30px;min-height:30px!important;min-width:30px!important;width:30px!important}.quantity-display-cart{font-size:.9rem;min-width:22px}}@media (max-width:380px){.cart-drawer-overlay{bottom:58px}.cart-drawer{bottom:58px;height:60vh;transform:translateY(calc(100% + 58px))}.cart-drawer-handle{padding:.6rem 0 .4rem}.drawer-handle-bar{width:34px}.cart-drawer-header{padding:.6rem .85rem .75rem}.cart-drawer-item{gap:.65rem;padding:.7rem .85rem}.cart-item-image{height:50px;width:50px}.cart-item-name .brand-name-cart{font-size:.55rem}.cart-item-name .name-cn{font-size:.8rem}.cart-item-name .name-en{font-size:.65rem}.cart-item-price{font-size:.9rem}.btn-decrease-cart,.btn-increase-cart{font-size:.95rem;height:28px!important;max-height:28px;max-width:28px;min-height:28px!important;min-width:28px!important;width:28px!important}.cart-icon-section{margin:-.6rem;padding:.6rem}.cart-icon-wrapper{font-size:1.25rem;height:42px;width:42px}}.filter-section-new{background:#fff;border-radius:16px;box-shadow:0 2px 8px #2c5f7c1f;margin-bottom:1.5rem;padding:1rem;position:-webkit-sticky;position:sticky;top:72px;z-index:50}.filter-group-new{margin-bottom:.6rem}.filter-group-new:last-child{margin-bottom:0}.filter-label-new{color:#333;display:block;font-size:.83rem;font-weight:600;margin-bottom:.35rem}.filter-scroll-container{-webkit-overflow-scrolling:touch;overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;width:100%}.filter-buttons-inner{display:inline-flex;gap:.3rem;padding:.2rem 0 .5rem}.filter-btn{border:2px solid #6fb1c7;border-radius:16px;color:#2c5f7c;flex:0 0 auto;font-family:inherit;font-size:.82rem;font-weight:500;line-height:1;outline:none;padding:.35rem .75rem;white-space:nowrap}.filter-btn:hover{background:#f0f8fa;border-color:#5ba3b8}.filter-btn.active{background:#6fb1c7;border-color:#6fb1c7}.filter-scroll-container::-webkit-scrollbar{height:6px}.filter-scroll-container::-webkit-scrollbar-track{background:#f0f0f0;border-radius:3px}.filter-scroll-container::-webkit-scrollbar-thumb{background:#6fb1c7;border-radius:3px}@media (max-width:768px){.filter-section-new{padding:.75rem;top:64px}.filter-label-new{font-size:.8rem;margin-bottom:.3rem}.filter-buttons-inner{gap:.25rem}.filter-btn{border-radius:14px;font-size:.78rem;padding:.3rem .65rem}.filter-scroll-container::-webkit-scrollbar{height:4px}}.desktop-search-box{align-items:center;background:#f3f4f6;border-radius:20px;box-sizing:border-box;display:flex;gap:.5rem;height:40px;max-width:400px;padding:.5rem 1rem;position:relative;transition:all .2s ease}.desktop-search-box:focus-within{background:#fff;box-shadow:0 0 0 2px #6fb1c7}.desktop-search-input{background:#0000;border:none;color:#333;flex:1 1;font-size:.9rem;outline:none;padding:0}.desktop-search-input::placeholder{color:#999}.toast-container{display:flex;flex-direction:column;gap:8px;pointer-events:none;position:fixed;right:16px;top:16px;z-index:99999}.toast-container>*{pointer-events:auto}.toast{align-items:center;animation:slideIn .3s ease;background:#37474f;border-radius:8px;box-shadow:0 4px 12px #2c5f7c40;color:#fff!important;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:.9rem;gap:10px;justify-content:space-between;max-width:320px;min-width:200px;padding:10px 12px}.toast-success{background:#28a745!important}.toast-error{background:#dc3545!important}.toast-info{background:#6fb1c7!important}.toast-warn{background:#ff9066!important}.toast-message{color:#fff!important;flex:1 1;font-size:.9rem!important;font-weight:500;line-height:1.4;opacity:1!important;visibility:visible!important;word-break:break-word}.toast-close{align-items:center;background:#0000;border:none;color:#fff;cursor:pointer;display:flex;flex-shrink:0;font-size:18px;height:20px;justify-content:center;opacity:.8;padding:0;transition:opacity .2s;width:20px}.toast-close:hover{opacity:1}.floating-cart{bottom:30px;position:fixed;right:30px;z-index:1000}.floating-cart-button{align-items:center;background:linear-gradient(135deg,#6fb1c7,#5ba3b8);border-radius:50%;box-shadow:0 4px 12px #6fb1c766;cursor:pointer;display:flex;height:60px;justify-content:center;position:relative;transition:all .3s ease;width:60px}@media (hover:hover){.floating-cart-button:hover{box-shadow:0 6px 16px #6fb1c780;transform:scale(1.08)}}.floating-cart-button:active{transform:scale(.95)}.cart-icon{font-size:1.5rem}.cart-count{align-items:center;background:#f44;border-radius:50%;box-shadow:0 2px 4px #0003;color:#fff;display:flex;font-size:.75rem;font-weight:700;height:24px;justify-content:center;position:absolute;right:-5px;top:-5px;width:24px}.floating-cart-panel{animation:slideUp .3s ease;background:#fff;border-radius:16px;bottom:70px;box-shadow:0 8px 32px #2c5f7c33;max-height:600px;overflow:hidden;position:absolute;right:0;width:360px}.floating-cart-header{align-items:center;background:linear-gradient(135deg,#2c5f7c,#34657f);color:#fff;display:flex;justify-content:space-between;padding:1rem 1.25rem}.floating-cart-header h3{font-size:1.1rem;margin:0}.close-btn{font-size:1.5rem;height:30px;transition:background .2s;width:30px}.floating-cart-content{display:flex;flex-direction:column;max-height:530px}.empty-cart-mini{padding:3rem 2rem;text-align:center}.empty-icon{font-size:4rem;margin-bottom:1rem;opacity:.3}.empty-cart-mini p{color:#666;font-size:1rem;margin:.5rem 0}.empty-hint{font-size:.9rem}.checkout-btn-mini:disabled{background:#ccc;box-shadow:none;cursor:not-allowed}.checkout-btn-mini:disabled:hover{transform:none}.cart-items-mini{border-bottom:1px solid #eee;max-height:400px;overflow-y:auto;padding:.5rem}.cart-item-mini{background:#f8f9fa;border-radius:8px;margin-bottom:.4rem;padding:.6rem;transition:background .2s}.cart-item-mini:hover{background:#e9ecef}.item-info-mini{display:flex;flex-direction:column;gap:.5rem}.item-name-mini{color:#333;font-size:.8rem;font-weight:500;line-height:1.3;margin-bottom:.35rem}.brand-text{color:#2c5f7c;font-weight:700}.item-qty-controls{align-items:center;display:flex;gap:.5rem}.qty-btn-mini{align-items:center;background:linear-gradient(135deg,#6fb1c7,#5ba3b8);border:none;border-radius:50%;box-shadow:0 2px 4px #6fb1c740;color:#fff;cursor:pointer;display:flex;font-size:1rem;font-weight:700;height:24px;justify-content:center;transition:all .2s;width:24px}@media (hover:hover){.qty-btn-mini:hover:not(:disabled){background:linear-gradient(135deg,#5ba3b8,#4a8fa3);box-shadow:0 2px 6px #6fb1c759;transform:scale(1.1)}}.qty-btn-mini:active:not(:disabled){transform:scale(.95)}.qty-btn-mini:disabled{background:#b0bec5;box-shadow:none;cursor:not-allowed;opacity:.5}.qty-display-mini{color:#333;font-size:.9rem;font-weight:600;min-width:30px;text-align:center}.item-price-mini{color:#6fb1c7;font-size:.9rem;font-weight:600;margin-left:auto}.floating-cart-summary{background:#f8f9fa;display:flex;flex-direction:column;gap:.4rem;padding:.5rem .75rem}.summary-compact{display:flex;flex-direction:column;gap:.25rem}.summary-row-mini{color:#666;display:flex;font-size:.8rem;justify-content:space-between}.summary-row-mini.discount-mini{color:#dc3545;font-weight:600}.summary-row-mini.total-mini{border-top:1px solid #dee2e6;color:#333;font-size:.95rem;font-weight:700;margin-top:.25rem;padding-top:.25rem}.discount-amount-mini{color:#dc3545;font-weight:600}.next-discount-tip-mini{background:linear-gradient(135deg,#ffeaa7,#fdcb6e);border-radius:8px;box-shadow:0 2px 4px #0000001a;display:flex;gap:.75rem;margin:.75rem 0;padding:1rem}.tip-icon{font-size:1.5rem;line-height:1}.tip-content{flex:1 1}.tip-title{color:#2d3436;font-size:.9rem;font-weight:600;margin-bottom:.25rem}.tip-text{color:#2d3436;font-size:.85rem;line-height:1.4}.tip-text .highlight{color:#d63031;font-size:.95rem;font-weight:700}.tip-savings{color:#636e72;font-size:.8rem;margin-top:.35rem}.savings-amount{color:#00b894;font-weight:700}.next-discount-tip-mini-compact{background:linear-gradient(135deg,#ffeaa7,#fdcb6e);border-radius:6px;box-shadow:0 2px 4px #00000014;color:#2d3436;font-size:.75rem;font-weight:500;line-height:1.3;padding:.45rem .65rem;text-align:center}.total-amount-mini{color:#2c5f7c;font-size:1.1rem;font-weight:700}.checkout-btn-mini{background:linear-gradient(135deg,#6fb1c7,#5ba3b8);border:none;border-radius:10px;box-shadow:0 4px 12px #6fb1c74d;color:#fff;cursor:pointer;font-size:.95rem;font-weight:600;margin:.5rem .75rem;padding:.7rem;transition:all .3s ease}@media (hover:hover){.checkout-btn-mini:hover{background:linear-gradient(135deg,#5ba3b8,#4a8fa3);box-shadow:0 6px 16px #6fb1c766;transform:translateY(-2px)}}.checkout-btn-mini:active{transform:translateY(0)}.cart-items-mini::-webkit-scrollbar{width:6px}.cart-items-mini::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.cart-items-mini::-webkit-scrollbar-thumb{background:#888;border-radius:10px}.cart-items-mini::-webkit-scrollbar-thumb:hover{background:#555}@media (max-width:768px){.floating-cart{bottom:20px;right:20px}.floating-cart-button{box-shadow:0 4px 12px #6fb1c780;height:56px;width:56px}.cart-icon{font-size:1.4rem}.cart-count{font-size:.7rem;height:22px;width:22px}.floating-cart-panel{bottom:66px;max-width:360px;width:calc(100vw - 40px)}.floating-cart-header{padding:.85rem 1rem}.floating-cart-header h3{font-size:1rem}.cart-items-mini{max-height:350px}.cart-item-mini{padding:.5rem}.item-name-mini{font-size:.75rem}.qty-btn-mini{font-size:1.05rem;height:26px;width:26px}.qty-display-mini{font-size:.85rem;min-width:28px}.item-price-mini{font-size:.85rem}.summary-row-mini{font-size:.75rem}.summary-row-mini.total-mini{font-size:.9rem}.total-amount-mini{font-size:1rem}.checkout-btn-mini{font-size:.9rem;padding:.65rem}.next-discount-tip-mini{margin:.6rem 0;padding:.85rem}.tip-title{font-size:.85rem}.tip-text{font-size:.8rem}.next-discount-tip-mini-compact{font-size:.7rem;padding:.4rem .6rem}}@media (max-width:480px){.floating-cart{bottom:15px;right:15px}.floating-cart-button{height:52px;width:52px}.cart-icon{font-size:1.3rem}.floating-cart-panel{max-height:500px;width:calc(100vw - 30px)}.cart-items-mini{max-height:300px}}.hookah-page{padding:2rem 0}.hookah-content{display:flex;gap:3rem}.hookah-image-section{align-items:center;background:linear-gradient(135deg,#1a1a1a,#2d2d2d);border:1px solid #d4af374d;border-radius:16px;box-shadow:0 8px 24px #00000026;display:flex;flex:0 0 50%;justify-content:center;max-height:550px;min-height:450px;overflow:hidden;position:relative}.hookah-image-section:before{border:2px solid #d4af3766;border-radius:12px;content:"";inset:12px;pointer-events:none;position:absolute;z-index:2}.hookah-main-image{filter:drop-shadow(0 8px 16px rgba(212,175,55,.25));height:90%;object-fit:contain;position:relative;transition:transform .3s ease;width:90%;z-index:3}.hookah-image-section:hover .hookah-main-image{transform:scale(1.03)}.hookah-placeholder{align-items:center;color:#d4af374d;display:flex;flex-direction:column;height:100%;justify-content:center;width:100%;z-index:3}.placeholder-icon{filter:drop-shadow(0 4px 12px rgba(212,175,55,.2));font-size:6rem;margin-bottom:.5rem;opacity:.3}.placeholder-text{font-family:Playfair Display,serif;font-size:1.2rem;letter-spacing:2px;opacity:.5}.hookah-info-section{display:flex;flex:1 1;flex-direction:column;gap:1.5rem}.hookah-title{color:#2c3e50;font-family:Playfair Display,serif;font-size:2.2rem;font-weight:700;letter-spacing:1px;line-height:1.2;margin:0;padding-bottom:.8rem;position:relative}.hookah-title:after{background:linear-gradient(90deg,#d4af37,#d4af3700);border-radius:2px;bottom:0;content:"";height:3px;left:0;position:absolute;width:80px}.hookah-subtitle{color:#7f8c8d;font-size:1.1rem;font-style:italic;letter-spacing:.5px;margin-top:-.8rem}.hookah-description{background:#ffffffe6;border-left:4px solid #d4af37;border-radius:12px;box-shadow:0 2px 8px #0000000f;color:#5a5a5a;font-size:.95rem;line-height:1.8;padding:1.2rem 1.5rem}.flavor-section{margin-top:.5rem}.flavor-section h3{color:#2c3e50;font-family:Playfair Display,serif;font-size:1rem;font-weight:600;letter-spacing:1px;margin-bottom:1rem;text-transform:uppercase}.flavor-buttons{display:flex;flex-wrap:wrap;gap:.8rem}.flavor-btn{background:#ffffffe6;border:2px solid #d4af374d;border-radius:50px;color:#2c3e50;cursor:pointer;font-size:.9rem;font-weight:500;min-width:110px;padding:.7rem 1.5rem;position:relative;text-align:center;transition:all .3s ease}.flavor-btn:hover:not(:disabled){border-color:#d4af37;box-shadow:0 4px 12px #d4af3740;transform:translateY(-2px)}.flavor-btn.active{background:linear-gradient(135deg,#d4af37,#c9a961);border-color:#d4af37;box-shadow:0 4px 12px #d4af3759;color:#fff;font-weight:600}.flavor-btn.unavailable{background:#f5f5f5;cursor:not-allowed;opacity:.4}.flavor-btn:disabled{cursor:not-allowed}.flavor-name{font-weight:500;position:relative;z-index:1}.flavor-unavailable{color:#e74c3c;font-size:.75rem;margin-top:.3rem}.hookah-price-section{align-items:baseline;border-bottom:2px solid #d4af3733;border-top:2px solid #d4af3733;display:flex;gap:1rem;margin-top:.5rem;padding:1.5rem 0;position:relative}.hookah-price-section:before{content:"✨";font-size:1.5rem;left:-10px;opacity:.6;position:absolute;top:50%;transform:translateY(-50%)}.price-label{color:#7f8c8d;font-size:1rem;font-weight:500;letter-spacing:.5px}.price-value{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#d4af37,#c9a961);-webkit-background-clip:text;background-clip:text;font-family:Playfair Display,serif;font-size:2.5rem;font-weight:700;letter-spacing:1px;position:relative;text-shadow:0 2px 4px #d4af3733}.hookah-stock-section{font-size:.95rem;margin-top:-.5rem}.stock-available{color:#27ae60}.stock-available,.stock-unavailable{align-items:center;display:inline-flex;font-weight:600;gap:.3rem}.stock-unavailable{color:#e74c3c}.btn-reserve-hookah{background:linear-gradient(135deg,#d4af37,#c9a961);border:none;border-radius:50px;box-shadow:0 6px 20px #d4af374d;color:#fff;cursor:pointer;font-size:1.15rem;font-weight:600;letter-spacing:1px;margin-top:1rem;padding:1.2rem 2.5rem;text-transform:uppercase;transition:all .3s ease}.btn-reserve-hookah:hover:not(:disabled){box-shadow:0 8px 24px #d4af3766;transform:translateY(-2px)}.btn-reserve-hookah:active:not(:disabled){transform:translateY(0)}.btn-reserve-hookah:disabled{background:linear-gradient(135deg,#bdc3c7,#95a5a6);box-shadow:none;cursor:not-allowed;opacity:.6}.hookah-details-section{border-top:3px solid #d4af3726;margin-top:4rem;padding-top:3rem;position:relative}.hookah-details-section:before{background:linear-gradient(90deg,#0000,#d4af37 50%,#0000);border-radius:2px;content:"";height:4px;left:50%;position:absolute;top:-2px;transform:translateX(-50%);width:80px}.detail-block{background:#fffffff2;border:1px solid #d4af3726;border-radius:16px;box-shadow:0 4px 12px #00000014;margin-bottom:2rem;padding:2.5rem;transition:transform .3s ease,box-shadow .3s ease}.detail-block:hover{box-shadow:0 8px 16px #0000001f;transform:translateY(-2px)}.detail-block.highlight-block{background:#fff9f0fa;border-left:4px solid #d4af37}.detail-block.contact-block{background:linear-gradient(135deg,#2c3e50,#34495e);box-shadow:0 8px 16px #2c3e5040;color:#fff;text-align:center}.detail-title{align-items:center;color:#2c3e50;display:flex;font-family:Playfair Display,serif;font-size:1.6rem;font-weight:700;gap:.8rem;letter-spacing:.5px;margin:0 0 1.8rem;padding-bottom:1rem;position:relative}.detail-title:after{background:linear-gradient(90deg,#d4af37,#0000);bottom:0;content:"";height:2px;left:0;position:absolute;width:60px}.contact-block .detail-title{color:#d4af37;justify-content:center}.detail-content{color:#5a5a5a;font-size:.95rem;line-height:1.9}.contact-block .detail-content{color:#ffffffe6}.feature-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(4,1fr)}.feature-item{background:#fffc;border:1px solid #d4af3726;border-radius:12px;padding:2rem 1.5rem;text-align:center;transition:all .3s ease}.feature-item:hover{border-color:#d4af374d;box-shadow:0 8px 16px #d4af3726;transform:translateY(-4px)}.feature-icon{font-size:3rem;margin-bottom:1rem;transition:transform .3s}.feature-item:hover .feature-icon{transform:scale(1.1)}.feature-item h3{color:#2c3e50;font-family:Playfair Display,serif;font-size:1.05rem;font-weight:600;margin:.8rem 0}.feature-item p{color:#7f8c8d;font-size:.85rem;line-height:1.6;margin:0}.service-list{list-style:none;margin:0;padding:0}.service-list li{align-items:center;border-bottom:1px solid #d4af3726;color:#5a5a5a;display:flex;font-size:.95rem;gap:.8rem;padding:1rem 0;transition:all .3s}.service-list li:before{align-items:center;background:linear-gradient(135deg,#d4af37,#c9a961);border-radius:50%;box-shadow:0 2px 8px #d4af374d;color:#fff;content:"✓";display:inline-flex;flex-shrink:0;font-weight:700;height:24px;justify-content:center;width:24px}.service-list li:hover{color:#2c3e50;padding-left:.5rem}.service-list li:last-child{border-bottom:none}.info-grid{grid-gap:1.5rem;gap:1.5rem}.info-item{background:#ffffffd9;border:1px solid #d4af3726;border-radius:12px;padding:1.5rem;transition:all .3s}.info-item:hover{border-color:#d4af374d;box-shadow:0 6px 12px #d4af371f;transform:translateY(-2px)}.info-item strong{color:#d4af37;display:block;font-family:Playfair Display,serif;font-size:1.05rem;font-weight:600;margin-bottom:.8rem}.info-item p{color:#5a5a5a;font-size:.9rem;line-height:1.6;margin:0}.notice-list{list-style:none;margin:0;padding:0}.notice-list li{border-bottom:1px solid #d4af3733;color:#5a5a5a;font-size:.95rem;padding:1rem 0;transition:all .3s}.notice-list li:hover{color:#2c3e50;padding-left:.5rem}.notice-list li:last-child{border-bottom:none}.contact-info{color:#d4af37;font-family:Playfair Display,serif;font-size:1.3rem;font-weight:600;letter-spacing:1px;margin-top:1.5rem}@media (max-width:992px){.hookah-content{gap:2rem}.hookah-image-section{flex:0 0 50%}.feature-grid{gap:1rem;grid-template-columns:repeat(2,1fr)}.info-grid{gap:1rem;grid-template-columns:1fr}.hookah-title{font-size:1.8rem}.price-value{font-size:2rem}}@media (max-width:768px){.hookah-content{flex-direction:column;gap:1.5rem}.hookah-image-section{min-height:300px;width:100%}.hookah-title{font-size:1.6rem}.hookah-subtitle{font-size:1rem}.price-value{font-size:1.8rem}.flavor-buttons{gap:.6rem}.flavor-btn{font-size:.85rem;min-width:100px;padding:.6rem 1.2rem}.btn-reserve-hookah{font-size:1rem;padding:1rem 1.5rem}.feature-grid{grid-template-columns:1fr}.detail-block{padding:1.8rem}.detail-title{font-size:1.3rem}.feature-icon{font-size:2.5rem}.hookah-details-section{margin-top:3rem;padding-top:2rem}}.loading{color:#7f8c8d}.loading,.no-products{font-family:Playfair Display,serif;font-size:1.2rem;padding:4rem}.no-products{color:#bdc3c7;text-align:center}.cart-page{margin:0 auto;max-width:1200px;padding:0 1rem}.empty-cart{background:#fff;border-radius:16px;box-shadow:0 2px 8px #2c5f7c1a;margin:1rem 0;padding:4rem 2rem;text-align:center}.empty-cart h2{color:#333;font-size:1.5rem;margin-bottom:1rem}.empty-cart p{color:#666;font-size:1rem;margin-bottom:2rem}.cart-content{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:1fr 350px}.cart-items{display:flex;flex-direction:column;gap:1rem}.cart-item{align-items:center;background:#0000;border:1px solid #e0e0e0;border-radius:16px;display:flex;gap:1.5rem;padding:1.5rem;position:relative;transition:box-shadow .2s}.cart-item:hover{border-color:#ccc}.item-image{align-items:center;border:1px solid #eee;border-radius:8px;display:flex;flex-shrink:0;height:80px;justify-content:center;overflow:hidden;width:80px}.item-image img{border-radius:6px;max-height:100%;max-width:100%;object-fit:contain}.item-details{flex:1 1;flex-direction:column;gap:.5rem}.item-name-group{display:flex;flex-direction:column;gap:.2rem}.item-name-cn{color:#333;font-size:.95rem;font-weight:600;line-height:1.3}.item-name-en{color:#999;line-height:1.2}.item-price{color:#6fb1c7;font-size:.9rem;margin:0}.item-quantity{gap:.5rem}.item-quantity label{color:#666;font-size:.85rem}.item-quantity input{border:1px solid #ddd;border-radius:4px;font-size:.9rem;padding:.4rem .3rem;text-align:center;width:55px}.item-subtotal{color:#333;font-size:1.1rem;font-weight:700;min-width:90px;text-align:right}.remove-btn{flex-shrink:0;font-size:.9rem;padding:.4rem .9rem}.cart-summary{background:#fff;border-radius:16px;box-shadow:0 2px 8px #2c5f7c1a;height:-webkit-fit-content;height:fit-content;padding:2rem;position:-webkit-sticky;position:sticky;top:90px}.cart-summary h2{color:#333;font-size:1.5rem;margin:0 0 1.5rem}.summary-row{border-bottom:1px solid #eee;padding:.75rem 0}.summary-row.discount-row{border-bottom:1px solid #d4edda;font-weight:600}.next-discount-tip{background:linear-gradient(135deg,#ffeaa7,#fdcb6e);border-radius:8px;box-shadow:0 2px 4px #0000001a;color:#2d3436;font-size:.9rem;font-weight:500;margin:1rem 0;padding:.75rem 1rem}.summary-row.total{border-bottom:none;border-top:2px solid #333;font-size:1.25rem;font-weight:700;margin-top:1rem;padding-top:1rem}.checkout-btn{background:linear-gradient(135deg,#6fb1c7,#5ba3b8);border:none;color:#fff;font-size:1.1rem;font-weight:600;margin-top:1.5rem;padding:1rem;width:100%}.checkout-btn:hover{background:linear-gradient(135deg,#5ba3b8,#4a8fa3)}.continue-shopping{color:#6fb1c7;display:block;margin-top:1rem;text-align:center;text-decoration:none;transition:color .2s}@media (hover:hover){.continue-shopping:hover{color:#5ba3b8;text-decoration:underline}}@media (max-width:768px){.cart-page{padding:0 .75rem}.empty-cart{margin:.5rem 0;padding:3rem 1.5rem}.empty-cart h2{font-size:1.3rem}.empty-cart p{font-size:.95rem}.cart-content{gap:1.5rem;grid-template-columns:1fr}.cart-item{align-items:flex-start;flex-wrap:nowrap;gap:1rem;padding:1rem}.item-image{height:70px;width:70px}.item-details{flex:1 1;min-width:0}.item-name-cn{font-size:.9rem;margin-bottom:.25rem}.item-name-en{font-size:.7rem}.item-subtotal{font-size:1.1rem;min-width:80px}.item-quantity{gap:.4rem}.item-quantity label{display:none}.item-quantity input{padding:.4rem;width:50px}.remove-btn{font-size:.9rem;padding:.4rem .8rem;white-space:nowrap}.cart-summary{padding:1.5rem;position:static}.cart-summary h2{font-size:1.3rem;margin-bottom:1rem}.summary-row{font-size:.95rem;padding:.6rem 0}.next-discount-tip{font-size:.85rem;padding:.6rem .8rem}.summary-row.total{font-size:1.1rem}.total-amount{font-size:1.3rem}.checkout-btn{font-size:1rem;margin-top:1rem;padding:.9rem}}@media (max-width:480px){.cart-page{padding:0 .5rem}.cart-item{flex-wrap:wrap;gap:.5rem;padding:.75rem}.item-image{height:60px;width:60px}.item-details{flex:1 1;min-width:150px}.item-name-cn{font-size:.85rem}.item-name-en{font-size:.65rem}.item-quantity{flex-basis:auto;order:3}.item-quantity label{display:none}.item-quantity input{width:45px}.item-subtotal{flex-basis:auto;font-size:1rem;font-weight:700;margin-left:auto;order:4}.remove-btn{font-size:.85rem;order:5;padding:.3rem .6rem}.cart-summary{padding:1rem}.cart-summary h2{font-size:1.2rem}}.quantity-fixed{align-items:center;border:1px solid #ddd;border-radius:4px;display:flex;gap:.3rem;padding:.4rem .8rem}.fixed-quantity-value{color:#333;font-size:.95rem;font-weight:600}.fixed-quantity-note{color:#999;font-size:.75rem;white-space:nowrap}.checkout-page{margin:0 auto;max-width:1200px;padding:0 .5rem}.page-title{font-size:1rem;font-weight:600;margin:.25rem 0}.empty-checkout{background:#fff;border:1px solid #ddd;margin:.5rem 0;padding:2rem 1rem;text-align:center}.checkout-content{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 350px}.checkout-form{background:#fff;border:1px solid #ddd;padding:.75rem}.form-section h2{border-bottom:1px solid #eee;color:#333;font-size:.95rem;font-weight:600;margin:0 0 .5rem;padding-bottom:.35rem}.form-group{margin-bottom:.5rem}.form-group label{font-size:.85rem;margin-bottom:.2rem}.form-control{border:1px solid #ccc;border-radius:3px;box-sizing:border-box;font-size:.85rem;padding:.4rem .6rem}.form-control.error{border-color:#dc3545}.error{display:block;font-size:.75rem;margin-top:.2rem}.form-row{align-items:flex-start;gap:.5rem}.form-row .form-group{margin-bottom:.5rem}.form-hint{color:#666;display:block;font-size:.8rem;margin-top:.25rem}.submit-btn{border:none;border-radius:3px;cursor:pointer;font-size:.9rem;font-weight:500;margin-top:.5rem;padding:.6rem;width:100%}.submit-btn:disabled{background:#ccc;cursor:not-allowed}.order-summary{background:#fff;border:1px solid #ddd;height:-webkit-fit-content;height:fit-content;padding:.75rem;position:-webkit-sticky;position:sticky;top:10px}.order-summary h2{border-bottom:1px solid #eee;color:#333;font-size:.95rem;font-weight:600;margin:0 0 .5rem;padding-bottom:.35rem}.summary-items{margin-bottom:.5rem}.summary-item{border-bottom:1px solid #eee;font-size:.85rem;justify-content:space-between;padding:.35rem 0}.item-info{gap:.25rem}.summary-brand{background:#6fb1c7;border-radius:2px;color:#fff;display:inline-block;font-size:.65rem;font-weight:500;margin-bottom:.15rem;padding:.08rem .3rem}.item-name{font-size:.85rem;font-weight:500;line-height:1.2}.item-name-en{color:#666;font-size:.75rem;font-weight:400}.item-qty{color:#666;font-size:.8rem}.item-price{color:#333;font-size:.85rem;font-weight:600}.summary-row{color:#666;display:flex;font-size:.85rem;justify-content:space-between;padding:.35rem 0}.summary-row.discount-row{color:#28a745;font-weight:500}.discount-amount{font-weight:500}.next-discount-tip{background:#fff3cd;border:1px solid #ffc107;color:#856404;font-size:.8rem;margin:.5rem 0;padding:.35rem .5rem;text-align:center}.summary-total{border-top:2px solid #333;display:flex;font-size:.9rem;font-weight:600;justify-content:space-between;margin-top:.35rem;padding:.5rem 0}.total-amount{color:#333;font-size:1rem}.payment-notice{background:#f8f9fa;border:1px solid #ddd;margin-top:.75rem;padding:.5rem}.payment-notice h3{color:#333;font-size:.85rem;font-weight:600;margin:0 0 .35rem}.payment-notice p{color:#666;font-size:.8rem;line-height:1.3;margin:.2rem 0}.address-select{background:#fff;border:1px solid #ccc;border-radius:3px;cursor:pointer;font-size:.85rem;padding:.4rem .6rem;width:100%}.address-select:focus{border-color:#6fb1c7;outline:none}.address-select option{padding:.25rem}.submit-actions{display:flex;gap:.5rem;margin-top:.75rem}.desktop-submit{background:#0000;padding:0}.mobile-submit{background:#fff;border:1px solid #ddd;display:none;padding:.75rem}.submit-actions .submit-btn{flex:1 1;min-height:36px}.btn-success{background:#28a745;border:none;color:#fff;font-weight:500}.btn-success:hover:not(:disabled){background:#218838}.btn-success:disabled{background:#ccc;cursor:not-allowed}.btn-login{background:#6fb1c7;border:none;color:#fff;font-weight:500}.btn-login:hover{background:#5ba3b8}.btn-guest{background:#28a745;border:none;color:#fff;font-weight:500}.btn-guest:hover:not(:disabled){background:#218838}.btn-guest:disabled{background:#ccc;cursor:not-allowed}@media (max-width:768px){.checkout-page{padding:0 .5rem}.empty-checkout{margin:.5rem 0;padding:1.5rem 1rem}.checkout-content{gap:.75rem;grid-template-columns:1fr}.checkout-form{padding:.75rem}.form-section h2{font-size:1rem;margin-bottom:.5rem}.submit-btn{font-size:.9rem;padding:.65rem}.order-summary{padding:.75rem;position:static}.order-summary h2{font-size:1rem}.order-summary h2,.summary-items{margin-bottom:.5rem}.summary-item{padding:.4rem 0}.item-name{font-size:.85rem}.item-name-en{font-size:.75rem}.item-qty{font-size:.8rem}.item-price,.summary-row{font-size:.85rem}.summary-row{padding:.4rem 0}.next-discount-tip{font-size:.8rem;margin:.5rem 0;padding:.4rem .6rem}.summary-total{font-size:.95rem;padding:.6rem 0}.total-amount{font-size:1rem}.payment-notice{margin-top:.75rem;padding:.6rem}.payment-notice h3{font-size:.9rem;margin-bottom:.4rem}.payment-notice p{font-size:.8rem;margin:.2rem 0}.desktop-submit{display:none}.mobile-submit{display:flex;gap:.5rem;margin-top:.75rem;padding:.75rem}.submit-actions .submit-btn{font-size:.9rem;min-height:38px;padding:.65rem}}@media (max-width:480px){.checkout-page{padding:0 .25rem}.checkout-form{padding:.5rem}.form-section h2{font-size:.95rem}.order-summary{padding:.5rem}.order-summary h2{font-size:.95rem}.summary-brand{font-size:.65rem;padding:.1rem .35rem}.item-name{font-size:.8rem}.item-name-en{font-size:.7rem}.summary-total{font-size:.9rem}.total-amount{font-size:.95rem}.mobile-submit{gap:.5rem;margin-top:.5rem;padding:.5rem}.mobile-submit .submit-btn{font-size:.85rem;min-height:36px;padding:.6rem}}.address-autocomplete-container{position:relative;width:100%}.address-autocomplete-input{border:1px solid #ddd;border-radius:4px;font-size:14px;padding:10px;transition:border-color .3s;width:100%}.address-autocomplete-input:focus{border-color:#4caf50;box-shadow:0 0 0 2px #4caf501a;outline:none}.address-autocomplete-input.error{border-color:#f44336}.address-autocomplete-hint{color:#666;font-size:12px;margin-top:4px}.address-autocomplete-loading{color:#999;font-size:12px;font-style:italic;margin-top:4px}.pac-container{border-radius:4px;box-shadow:0 2px 8px #00000026;font-family:inherit;margin-top:2px;z-index:10000!important}.pac-item{border-top:1px solid #e8e8e8;cursor:pointer;font-size:14px;padding:10px}.pac-item:first-child{border-top:none}.pac-item:hover{background-color:#f5f5f5}.pac-item-selected,.pac-item-selected:hover{background-color:#e8f5e9}.pac-icon{margin-right:8px}.pac-item-query{color:#333;display:block;font-size:14px}.pac-matched{font-weight:600}.pac-item-secondary{color:#999;display:block;font-size:12px;margin-top:2px}@media (max-width:768px){.address-autocomplete-input{font-size:16px}.pac-container{max-width:calc(100vw - 32px)}}.register-invite-overlay{align-items:center;animation:fadeIn .3s ease;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.register-invite-modal{animation:slideUp .3s ease;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-height:90vh;max-width:500px;overflow-y:auto;position:relative;width:100%}.register-invite-modal .close-btn{align-items:center;background:none;border:none;border-radius:50%;color:#999;cursor:pointer;display:flex;font-size:28px;height:32px;justify-content:center;position:absolute;right:16px;top:16px;transition:all .2s;width:32px;z-index:10}.register-invite-modal .close-btn:hover{background:#f5f5f5;color:#333}.register-invite-header{border-bottom:1px solid #f0f0f0;padding:32px 24px 24px;text-align:center}.register-invite-header .success-icon{font-size:48px;margin-bottom:12px}.register-invite-header h2{color:#333;font-size:24px;font-weight:600;margin:0 0 8px}.register-invite-header .invite-subtitle{color:#666;font-size:14px;margin:0}.register-benefits{background:#f8f9fa;border-bottom:1px solid #f0f0f0;padding:24px}.benefit-item{align-items:center;color:#333;display:flex;font-size:14px;gap:12px;padding:8px 0}.benefit-item .benefit-icon{flex-shrink:0;font-size:16px}.register-form{padding:24px}.register-form .form-group{margin-bottom:20px}.register-form label{color:#333;display:block;font-size:14px;font-weight:500;margin-bottom:8px}.register-form label .required{color:#e74c3c}.register-form input{border:1px solid #ddd;border-radius:8px;box-sizing:border-box;font-size:14px;padding:12px;transition:border-color .2s;width:100%}.register-form input:focus{border-color:#4caf50;box-shadow:0 0 0 3px #4caf501a;outline:none}.btn-register{border-radius:8px;font-size:16px;font-weight:600;margin-top:8px;padding:14px;width:100%}.username-hint{border-radius:4px;font-size:12px;margin-top:6px;padding:4px 8px}.username-hint.checking{background:#f5f5f5;color:#666}.username-hint.available{background:#e8f5e9;color:#4caf50}.username-hint.unavailable{background:#ffebee;color:#e74c3c}.register-footer{border-top:1px solid #f0f0f0;padding:16px 24px 24px;text-align:center}.register-footer .link-btn{background:none;border:none;color:#666;cursor:pointer;font-size:14px;padding:0;text-decoration:underline}.register-footer .link-btn:hover{color:#333}@media (max-width:768px){.register-invite-modal{border-radius:16px 16px 0 0;max-height:95vh;max-width:100%}.register-invite-header{padding:24px 20px 20px}.register-invite-header h2{font-size:20px}.register-form{padding:20px}}.confirmation-page{margin:0 auto;max-width:800px;padding:0 1rem;text-align:center}.success-icon{align-items:center;background:linear-gradient(135deg,#28a745,#20c997);border-radius:50%;box-shadow:0 4px 12px #28a74566;color:#fff;display:flex;font-size:3rem;height:80px;justify-content:center;margin:0 auto 1rem;width:80px}.confirmation-page h1{color:#333;margin-bottom:1rem}.success-message{color:#666;font-size:1.1rem;margin-bottom:2rem}.order-details{margin-bottom:2rem;text-align:left}.order-details h2{color:#333;font-size:1.5rem;margin:0 0 1.5rem}.order-details h3{color:#333;font-size:1.2rem;margin:2rem 0 1rem}.detail-row{border-bottom:1px solid #eee;display:flex;justify-content:space-between;padding:.75rem 0}.detail-row .label{color:#333;font-weight:600}.detail-row .value{color:#666;text-align:right}.status{border-radius:20px;font-size:.9rem;font-weight:500;padding:.25rem .75rem}.status.pending{background:#fff3cd;color:#856404}.status.confirmed,.status.pending_delivery{background:#d1ecf1;color:#0c5460}.status.delivered{background:#d4edda;color:#155724}.status.cancelled{background:#f8d7da;color:#721c24}.order-items{margin-top:1rem}.order-item{background:#f8f9fa;border-radius:8px;margin-bottom:.5rem;padding:1rem}.item-name{color:#333;font-weight:600;margin-bottom:.5rem}.item-details{color:#666;display:flex;justify-content:space-between}.item-subtotal{color:#6fb1c7;font-weight:600}.order-summary-section{border-top:1px solid #ddd;margin-top:1.5rem;padding-top:1rem}.order-summary-row{color:#666;display:flex;font-size:1rem;justify-content:space-between;padding:.75rem 0}.discount-text,.order-summary-row.discount{color:#28a745;font-weight:600}.order-total{border-top:2px solid #333;display:flex;font-size:1.25rem;font-weight:700;justify-content:space-between;margin-top:1rem;padding:1.5rem 0 0}.total-amount{color:#2c5f7c;font-size:1.5rem;font-weight:700}.action-buttons{gap:1rem}.action-buttons .btn{padding:1rem 2rem}@media (max-width:768px){.confirmation-page{padding:0 .75rem}.success-icon{font-size:2.5rem;height:70px;width:70px}.confirmation-page h1{font-size:1.5rem}.success-message{font-size:1rem}.order-details h2{font-size:1.3rem;margin-bottom:1rem}.order-details h3{font-size:1.1rem;margin:1.5rem 0 .75rem}.detail-row{font-size:.95rem;padding:.6rem 0}.order-item{padding:.75rem}.item-name{font-size:.95rem}.item-details{font-size:.85rem}.order-summary-row{font-size:.95rem;padding:.6rem 0}.order-total{font-size:1.1rem;padding:1rem 0 0}.total-amount{font-size:1.3rem}.action-buttons{gap:.75rem}.action-buttons .btn{flex:1 1;min-width:140px;padding:.85rem 1.5rem}}@media (max-width:480px){.confirmation-page{padding:0 .5rem}.success-icon{font-size:2rem;height:60px;width:60px}.confirmation-page h1{font-size:1.3rem}.success-message{font-size:.95rem}.order-details h2{font-size:1.2rem}.order-details h3{font-size:1rem}.detail-row{font-size:.9rem}.order-item{padding:.6rem}.item-name{font-size:.9rem}.item-details{font-size:.8rem}.order-total{font-size:1rem}.total-amount{font-size:1.2rem}.action-buttons .btn{font-size:.9rem;padding:.75rem 1.25rem}}.register-invite-banner{animation:slideInUp .5s ease;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;box-shadow:0 4px 12px #667eea4d;color:#fff;margin:2rem 0;padding:24px}@keyframes slideInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.register-invite-banner .invite-content{align-items:center;display:flex;gap:16px;margin-bottom:16px}.register-invite-banner .invite-icon{flex-shrink:0;font-size:32px}.register-invite-banner .invite-text{flex:1 1;text-align:left}.register-invite-banner .invite-text h3{font-size:18px;font-weight:600;margin:0 0 4px}.register-invite-banner .invite-text p{font-size:14px;margin:0;opacity:.9}.register-invite-banner .btn-invite{background:#fff;border:none;border-radius:8px;color:#667eea;cursor:pointer;font-weight:600;padding:12px 24px;transition:all .2s;width:100%}.register-invite-banner .btn-invite:hover{background:#f8f9fa;box-shadow:0 4px 8px #0003;transform:translateY(-2px)}@media (max-width:768px){.register-invite-banner{margin:1.5rem 0;padding:20px}.register-invite-banner .invite-content{flex-direction:column;gap:12px;text-align:center}.register-invite-banner .invite-text{text-align:center}.register-invite-banner .invite-text h3{font-size:16px}.register-invite-banner .invite-text p{font-size:13px}}.login-page{min-height:calc(100vh - 200px);padding:2rem 1rem}.login-container{max-width:420px}.login-card{background:#fff;border-radius:16px;box-shadow:0 4px 20px #2c5f7c26;padding:2.5rem}.login-card h2{color:#2c5f7c;font-size:1.8rem;font-weight:700;margin:0 0 2rem;text-align:center}.form-group{margin-bottom:1.5rem}.form-group input{border:2px solid #e0e0e0;border-radius:8px;box-sizing:border-box;font-size:1rem;padding:.85rem 1rem;transition:all .3s;width:100%}.form-group input:focus{border-color:#6fb1c7;box-shadow:0 0 0 3px #6fb1c71a;outline:none}.btn-submit{background:linear-gradient(135deg,#6fb1c7,#5ba3b8);border:none;border-radius:8px;box-shadow:0 4px 12px #6fb1c74d;cursor:pointer;font-size:1.05rem;font-weight:600;margin-top:1rem;padding:.95rem;transition:all .3s;width:100%}.btn-submit:hover:not(:disabled){background:linear-gradient(135deg,#5ba3b8,#4a8fa3);box-shadow:0 6px 16px #6fb1c766;transform:translateY(-2px)}.btn-submit:active:not(:disabled){transform:translateY(0)}.btn-submit:disabled{cursor:not-allowed;opacity:.6}.toggle-mode{border-top:1px solid #e0e0e0;margin-top:1.5rem;padding-top:1.5rem;text-align:center}.toggle-mode p{color:#666;font-size:.95rem;margin:0}.toggle-mode button{background:none;border:none;color:#6fb1c7;cursor:pointer;font-size:.95rem;font-weight:600;margin-left:.5rem;text-decoration:underline;transition:color .3s}.toggle-mode button:hover{color:#5ba3b8}.username-hint{font-size:.85rem;font-weight:500;margin-top:.5rem}.username-hint.checking{color:#999}.username-hint.available{color:#28a745}.username-hint.unavailable{color:#dc3545}@media (max-width:480px){.login-page{padding:1rem}.login-card{padding:2rem 1.5rem}.login-card h2{font-size:1.5rem}.form-group input{font-size:.95rem;padding:.75rem}.btn-submit{font-size:1rem;padding:.85rem}}.my-account-page{margin:0 auto;max-width:1200px;padding:2rem 1rem}.account-header{background:linear-gradient(135deg,#6fb1c7,#5ba3b8);border-radius:16px;box-shadow:0 4px 12px #6fb1c733;color:#fff;margin-bottom:2rem;padding:2rem}.account-header h1{font-size:1.8rem;margin:0 0 .5rem}.user-info{align-items:center;display:flex;gap:1rem}.user-name{font-size:1.1rem;font-weight:500}.account-tabs{border-bottom:2px solid #e0e0e0;display:flex;gap:1rem;margin-bottom:2rem}.tab-btn{background:none;border-bottom:3px solid #0000;font-size:1.05rem;font-weight:600;margin-bottom:-2px;padding:1rem 2rem}.tab-btn:hover{color:#6fb1c7}.tab-btn.active{border-bottom-color:#6fb1c7;color:#6fb1c7}.addresses-section,.orders-section{min-height:400px}.orders-table-container{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;overflow:hidden}.orders-table th{border-bottom:2px solid #e0e0e0;padding:1rem;text-align:left}.orders-table td{border-bottom:1px solid #f0f0f0;color:#333;padding:1rem}.order-status{border-radius:20px;font-weight:600;padding:.4rem .8rem}.btn-view-detail{background:linear-gradient(135deg,#6fb1c7,#5ba3b8);font-size:.9rem;padding:.5rem 1rem}.btn-view-detail:hover{background:linear-gradient(135deg,#5ba3b8,#4a8fa3);transform:translateY(-1px)}.tracking-info{display:flex;flex-direction:column;gap:.25rem}.tracking-number{font-size:.9rem;font-weight:600;word-break:break-all}.tracking-carrier{color:#666;font-size:.8rem;font-weight:500}.no-tracking{color:#999;font-style:italic}.tracking-number-value{color:#28a745;font-size:1.05rem;font-weight:600;word-break:break-all}.addresses-header{margin-bottom:1.5rem}.btn-add-address{background:linear-gradient(135deg,#6fb1c7,#5ba3b8);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:.8rem 1.5rem;transition:all .3s}.btn-add-address:hover{background:linear-gradient(135deg,#5ba3b8,#4a8fa3);transform:translateY(-2px)}.addresses-list{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}.address-card{background:#fff;border:2px solid #0000;border-radius:12px;box-shadow:0 2px 8px #00000014;padding:1.5rem;position:relative;transition:all .3s}.address-card:hover{border-color:#6fb1c7}.address-card.default{background:linear-gradient(135deg,#6fb1c70d,#5ba3b80d);border-color:#6fb1c7}.default-badge{background:#6fb1c7;border-radius:12px;color:#fff;font-size:.75rem;font-weight:600;padding:.25rem .6rem;position:absolute;right:1rem;top:1rem}.address-info{margin-bottom:1rem}.address-name{color:#333;font-weight:600;margin-bottom:.5rem}.address-detail{color:#666;line-height:1.5;margin-bottom:.5rem}.address-label{background:#f0f0f0;border-radius:8px;color:#666;display:inline-block;font-size:.85rem;padding:.25rem .6rem}.address-actions{display:flex;gap:.5rem}.address-actions button{background:#fff;border:1px solid #6fb1c7;border-radius:6px;color:#6fb1c7;cursor:pointer;flex:1 1;font-size:.9rem;padding:.5rem;transition:all .3s}.address-actions button:hover{background:#6fb1c7;color:#fff}.address-actions .btn-delete{border-color:#ff6b6b;color:#ff6b6b}.address-actions .btn-delete:hover{background:#ff6b6b;color:#fff}.empty-state{padding:4rem 2rem}.empty-state p{font-size:1.1rem;margin-bottom:1.5rem}.btn-primary{background:linear-gradient(135deg,#6fb1c7,#5ba3b8);border-radius:8px;font-size:1rem;font-weight:600;padding:.8rem 2rem;transition:all .3s}.btn-primary:hover{background:linear-gradient(135deg,#5ba3b8,#4a8fa3);transform:translateY(-2px)}.btn-secondary{background:#fff;border:2px solid #6fb1c7;border-radius:8px;color:#6fb1c7;cursor:pointer;font-size:1rem;font-weight:600;padding:.8rem 2rem;transition:all .3s}.btn-secondary:hover{background:#6fb1c7;color:#fff}.address-modal{max-width:500px;padding:2rem}.address-modal h3{color:#333;font-size:1.4rem;margin:0 0 1.5rem}.form-group input,.form-group textarea{border-radius:8px;box-sizing:border-box;font-size:1rem;padding:.75rem}.form-group input:focus,.form-group textarea:focus{border-color:#6fb1c7}.form-group textarea{font-family:inherit;resize:vertical}.address-label-options{display:flex;gap:.75rem}.label-option{background:#fff;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;flex:1 1;padding:.6rem;transition:all .3s}.label-option:hover{border-color:#6fb1c7}.label-option.active{background:linear-gradient(135deg,#6fb1c71a,#5ba3b81a);border-color:#6fb1c7;color:#6fb1c7;font-weight:600}.checkbox-group label{font-weight:400}.order-detail-modal{max-height:90vh;max-width:800px}.order-detail-modal h2{color:#333;font-size:1.5rem;margin:0 0 1.5rem}.detail-section{margin-bottom:2rem}.detail-section h3{border-bottom:2px solid #e0e0e0;color:#333;font-size:1.2rem;margin:0 0 1rem;padding-bottom:.5rem}.detail-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr}.detail-item{display:flex;flex-direction:column;gap:.3rem}.detail-item.full-width{grid-column:1/-1}.detail-item .label{color:#666;font-size:.9rem;font-weight:600}.detail-item .value{color:#333;font-size:1rem}.items-table{margin-top:.5rem}.items-table td,.items-table th{border-bottom:1px solid #f0f0f0;padding:.75rem}.amount-info,.items-table th{background:#f8f9fa}.amount-info{border-radius:8px;padding:1.5rem}.amount-row{font-size:1rem}.amount-row.discount-row{color:#28a745}.amount-row.total-row{border-top:2px solid #dee2e6;font-size:1.1rem;font-weight:700;margin-top:.5rem;padding-top:1rem}.final-amount{color:#ff6b6b;font-size:1.3rem}@media (max-width:768px){.my-account-page{padding:1rem}.account-header{padding:1.5rem}.account-header h1{font-size:1.5rem}.account-tabs{gap:.5rem}.tab-btn{font-size:.95rem;padding:.75rem 1rem}.orders-table-container{overflow-x:auto}.orders-table{font-size:.85rem}.orders-table td,.orders-table th{padding:.75rem .5rem}.addresses-list,.detail-grid{grid-template-columns:1fr}.address-modal,.order-detail-modal{padding:1.5rem;width:95%}}.login-page{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;justify-content:center;min-height:100vh;padding:2rem}.login-container{background:#fff;border-radius:12px;box-shadow:0 8px 24px #0003;max-width:400px;overflow:hidden;width:100%}.login-header{background:linear-gradient(135deg,#2c3e50,#34495e);color:#fff;padding:2rem;text-align:center}.login-header h1{font-size:1.8rem;margin:0 0 .5rem}.login-header p{font-size:.9rem;margin:0;opacity:.9}.login-form{padding:2rem}.error-message{border-radius:6px;padding:.75rem;text-align:center}.login-btn{font-size:1.1rem;margin-top:1rem;padding:1rem;width:100%}.login-btn:disabled{background:#ccc;cursor:not-allowed}.login-footer{background:#f8f9fa;color:#666;font-size:.9rem;padding:1rem;text-align:center}.login-footer p{margin:0}@media (max-width:768px){.login-page{padding:1.5rem}.login-container{max-width:420px}.login-header{padding:1.75rem}.login-header h1{font-size:1.6rem}.login-header p{font-size:.85rem}.login-form{padding:1.75rem}.login-btn{font-size:1rem;padding:.9rem}.login-footer{font-size:.85rem;padding:.9rem}}@media (max-width:480px){.login-page{padding:1rem}.login-container{border-radius:10px}.login-header{padding:1.5rem}.login-header h1{font-size:1.4rem}.login-header p{font-size:.8rem}.login-form{padding:1.5rem}.login-form .form-group label{font-size:.9rem}.login-form .form-control{font-size:.95rem;padding:.7rem}.error-message{font-size:.9rem;padding:.65rem}.login-btn{font-size:.95rem;margin-top:.75rem;padding:.8rem}.login-footer{font-size:.8rem;padding:.85rem}}@media (max-width:375px){.login-page{padding:.75rem}.login-header{padding:1.25rem}.login-header h1{font-size:1.3rem}.login-form{padding:1.25rem}.login-form .form-control{font-size:.9rem;padding:.65rem}.login-btn{font-size:.9rem;padding:.75rem}}.dashboard{margin:0 auto;max-width:1400px}.dashboard-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:2rem}.dashboard-header h1{color:#333;margin:0}.month-selector{align-items:center;display:flex;gap:1rem}.current-month{color:#333;font-size:1.1rem;font-weight:600;min-width:150px;text-align:center}.stats-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:2rem}.stat-card{align-items:center;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;display:flex;gap:1rem;padding:1.5rem;transition:transform .3s}.stat-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-5px)}.stat-card.highlight{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.stat-card.success{background:linear-gradient(135deg,#28a745,#20c997);color:#fff}.stat-icon{font-size:2.5rem;opacity:.9}.stat-content{flex:1 1}.stat-value{font-size:2rem;margin-bottom:.25rem}.stat-label{font-size:.9rem;opacity:.8}.recent-orders{margin-top:2rem}.recent-orders h2{color:#333;margin:0 0 1.5rem}.recent-orders table{margin:0;width:100%}.badge{border-radius:20px;display:inline-block;font-size:.85rem;font-weight:500;padding:.25rem .75rem}.badge.warning{background:#fff3cd;color:#856404}.badge.info{background:#d1ecf1;color:#0c5460}.badge.success{background:#d4edda;color:#155724}.badge.danger{background:#f8d7da;color:#721c24}.badge.secondary{background:#e2e3e5;color:#383d41}.no-data{color:#666;padding:2rem}@media (max-width:1024px){.dashboard{padding:0}.dashboard-header h1{font-size:1.5rem}.stats-grid{gap:1rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.stat-card{padding:1.25rem}.stat-icon{font-size:2rem}.stat-value{font-size:1.75rem}}@media (max-width:768px){.dashboard-header{align-items:flex-start;flex-direction:column;gap:1rem}.dashboard-header h1{font-size:1.3rem}.month-selector{justify-content:space-between;width:100%}.current-month{font-size:1rem;min-width:120px}.stats-grid{gap:1rem;grid-template-columns:1fr}.stat-card{padding:1rem}.stat-card:hover{transform:none}.stat-icon{font-size:2rem}.stat-value{font-size:1.5rem}.stat-label{font-size:.85rem}.recent-orders{margin-top:1.5rem;overflow-x:auto}.recent-orders h2{font-size:1.2rem;margin-bottom:1rem}.recent-orders table{font-size:.85rem;min-width:600px}.recent-orders td,.recent-orders th{padding:.6rem .5rem}.badge{font-size:.75rem;padding:.2rem .6rem}}@media (max-width:480px){.dashboard-header h1{font-size:1.2rem}.month-selector{flex-wrap:wrap}.current-month{font-size:.95rem;margin-bottom:.5rem;width:100%}.stats-grid{gap:.75rem}.stat-card{padding:.85rem}.stat-icon{font-size:1.75rem}.stat-value{font-size:1.3rem}.stat-label{font-size:.8rem}.recent-orders h2{font-size:1.1rem}.recent-orders table{font-size:.8rem}.recent-orders td,.recent-orders th{padding:.5rem .4rem}}.sales-statistics{margin:0 auto;max-width:1400px;padding:20px}.stats-header{align-items:center;display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;margin-bottom:30px}.stats-header h1{color:#333;margin:0}.header-controls{align-items:center;display:flex;gap:15px}.date-range-select{background:#fff;border:2px solid #667eea;border-radius:8px;color:#333;cursor:pointer;font-size:1rem;font-weight:500;padding:10px 15px;transition:all .3s}.date-range-select:hover{background:#f0f4ff}.date-range-select:focus{border-color:#5568d3;outline:none}.view-mode-tabs{background:#f5f5f5;border-radius:8px;display:flex;padding:4px}.tab-btn{background:#0000;border:none;border-radius:6px;color:#666;cursor:pointer;font-size:.95rem;font-weight:500;padding:8px 20px;transition:all .3s}.tab-btn.active{background:#667eea;color:#fff}.tab-btn:hover:not(.active){background:#e0e0e0}.stats-content{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:30px}.stats-content h2{color:#333;font-size:1.3rem;margin-bottom:20px;margin-top:0}.stats-table{border-collapse:collapse;width:100%}.stats-table thead tr{background:#f8f9fa;border-bottom:2px solid #667eea}.stats-table th{color:#555;font-size:.95rem;font-weight:600;padding:12px;text-align:left}.stats-table tbody tr{border-bottom:1px solid #e0e0e0;transition:background .2s}.stats-table tbody tr:hover{background:#f9f9f9}.stats-table td{font-size:.95rem;padding:12px}.rank{color:#999;font-size:1rem;font-weight:600;text-align:center}.medal{font-size:1.5rem}.category-name,.product-name{color:#333;font-weight:600}.quantity{font-size:1.1rem;text-align:center}.quantity strong{color:#667eea}.revenue{color:#28a745}.profit,.revenue{font-weight:600}.profit-margin{color:#667eea;font-weight:500}.loading{font-size:1.1rem;padding:60px 20px}@media (max-width:768px){.stats-header{align-items:stretch}.header-controls,.stats-header{flex-direction:column}.stats-table{font-size:.85rem}.stats-table td,.stats-table th{padding:8px 4px}}.expense-management{margin:0 auto;max-width:1200px;padding:20px}.btn-add{background:#667eea;border:none;border-radius:8px;cursor:pointer;font-size:1rem;font-weight:500;padding:12px 24px;transition:all .3s}.btn-add:hover{background:#5568d3;transform:translateY(-2px)}.summary-card{border-radius:12px;display:flex;gap:40px;margin-bottom:20px}.summary-item{flex-direction:column;gap:8px}.summary-item span{color:#666;font-size:.95rem}.summary-item strong{color:#333;font-size:1.5rem}.summary-item.highlight strong{color:#667eea}.expenses-table-container{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.expenses-table{border-collapse:collapse;width:100%}.expenses-table thead tr{background:#f8f9fa;border-bottom:2px solid #667eea}.expenses-table th{color:#555;font-weight:600;padding:12px;text-align:left}.expenses-table tbody tr{border-bottom:1px solid #e0e0e0;transition:background .2s}.expenses-table tbody tr:hover{background:#f9f9f9}.expenses-table td{padding:12px}.category-badge{border-radius:12px;display:inline-block;font-size:.9rem;font-weight:500;padding:4px 12px}.category-badge.category-营销{background:#e3f2fd;color:#1976d2}.category-badge.category-物料{background:#fff3e0;color:#f57c00}.category-badge.category-人工{background:#f3e5f5;color:#7b1fa2}.category-badge.category-租金{background:#fce4ec;color:#c2185b}.category-badge.category-水电{background:#e0f2f1;color:#00897b}.category-badge.category-其他{background:#f5f5f5;color:#666}.amount{color:#dc3545;font-size:1.05rem;font-weight:600}.action-buttons{gap:8px}.btn-delete,.btn-edit{border:none;border-radius:4px;cursor:pointer;font-size:.9rem;padding:6px 12px;transition:all .3s}.btn-edit{background:#667eea}.btn-edit:hover{background:#5568d3}.btn-delete{background:#fff;border:1px solid #dc3545;color:#dc3545}.btn-delete:hover{background:#dc3545;color:#fff}.no-data{padding:60px 20px}.modal-content{box-shadow:0 8px 32px #0000004d}.modal-content h2{color:#333;margin-bottom:20px;margin-top:0}.form-group input,.form-group select,.form-group textarea{border:1px solid #ddd;border-radius:6px;font-size:1rem;padding:10px;width:100%}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#667eea;outline:none}.modal-actions{gap:10px;margin-top:30px}.btn-cancel,.btn-submit{border:none;border-radius:6px;cursor:pointer;font-size:1rem;padding:10px 24px;transition:background .3s}.btn-cancel{background:#f5f5f5;color:#666}.btn-cancel:hover{background:#e0e0e0}.btn-submit{background:#667eea;color:#fff}.btn-submit:hover{background:#5568d3}@media (max-width:768px){.expenses-table{font-size:.85rem}.expenses-table td,.expenses-table th{padding:8px 4px}}.barcode-manage-modal{background:#fff;border-radius:12px;box-shadow:0 8px 32px #0000004d;max-height:80vh;max-width:800px;overflow-y:auto;width:90%}.modal-header{background:linear-gradient(135deg,#667eea,#764ba2);border-bottom:1px solid #e0e0e0;border-radius:12px 12px 0 0;color:#fff;padding:20px}.modal-header h2{font-size:1.5rem;margin:0}.close-btn{align-items:center;background:none;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:2rem;height:32px;justify-content:center;line-height:1;padding:0;transition:background .3s;width:32px}.close-btn:hover{background:#fff3}.modal-body{padding:20px}.product-info{background:#f5f5f5;border-radius:8px;font-size:1.1rem;margin-bottom:20px;padding:15px}.loading{color:#999}.barcode-list{margin-bottom:30px}.barcode-list h3{color:#333;margin-bottom:15px}.empty-message{color:#999;padding:40px;text-align:center}.barcode-table{border-collapse:collapse;margin-top:10px;width:100%}.barcode-table th{background:#f5f5f5;border-bottom:2px solid #e0e0e0;color:#555;font-weight:600;padding:12px;text-align:left}.barcode-table td{border-bottom:1px solid #e0e0e0;padding:12px}.barcode-value{color:#333;font-family:Courier New,monospace;font-weight:600}.type-badge{border-radius:12px;display:inline-block;font-size:.9rem;font-weight:600;padding:4px 12px}.type-badge.type-single{background:#e3f2fd;color:#1976d2}.type-badge.type-box{background:#fff3e0;color:#f57c00}.type-badge.type-carton{background:#f3e5f5;color:#7b1fa2}.primary-badge{background:#4caf50;border-radius:12px;color:#fff;display:inline-block;font-size:.9rem;font-weight:600;padding:4px 12px}.set-primary-btn{background:#fff;border:1px solid #4caf50;border-radius:4px;color:#4caf50;cursor:pointer;font-size:.85rem;padding:4px 12px;transition:all .3s}.set-primary-btn:hover{background:#4caf50;color:#fff}.delete-btn{background:#fff;border:1px solid #f44336;border-radius:4px;color:#f44336;cursor:pointer;font-size:.85rem;padding:4px 12px;transition:all .3s}.delete-btn:hover:not(:disabled){background:#f44336;color:#fff}.delete-btn:disabled{cursor:not-allowed;opacity:.5}.add-barcode-section{border-top:1px solid #e0e0e0;margin-top:20px;padding-top:20px}.add-barcode-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;padding:12px;transition:transform .2s;width:100%}.add-barcode-btn:hover{transform:translateY(-2px)}.add-form{background:#f9f9f9;border-radius:8px;padding:20px}.add-form h3{color:#333;margin-top:0}.add-form h3,.form-row{margin-bottom:15px}.form-row label{color:#555;display:block;font-weight:600;margin-bottom:5px}.form-row input[type=number],.form-row input[type=text],.form-row select{border:1px solid #ddd;border-radius:6px;font-size:1rem;padding:10px;width:100%}.form-row input[type=number]:focus,.form-row input[type=text]:focus,.form-row select:focus{border-color:#667eea;outline:none}.checkbox-row label{align-items:center;display:flex;font-weight:400}.checkbox-row input[type=checkbox]{margin-right:8px;width:auto}.form-actions{gap:10px;margin-top:20px}.save-btn{background:#4caf50;border:none;border-radius:6px;color:#fff;cursor:pointer;flex:1 1;font-size:1rem;padding:10px;transition:background .3s}.save-btn:hover{background:#45a049}.cancel-btn{background:#f5f5f5;border:1px solid #ddd;border-radius:6px;color:#666;cursor:pointer;flex:1 1;font-size:1rem;padding:10px;transition:background .3s}.cancel-btn:hover{background:#e0e0e0}@media (max-width:768px){.barcode-manage-modal{max-height:90vh;width:95%}.barcode-table{font-size:.9rem}.barcode-table td,.barcode-table th{padding:8px 4px}}.product-management{margin:0 auto;max-width:1600px;padding:.5rem}.header-actions{gap:.5rem}.filter-bar{margin-bottom:.75rem;padding:.75rem}.filter-row{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:2fr 1fr 1fr 1fr 1fr;margin-bottom:.75rem}.search-input{border-radius:4px;font-size:.9rem;transition:all .2s}.search-input:focus{border-color:#3498db;box-shadow:0 0 0 2px #3498db1a}.filter-select{background:#fff;border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:.9rem;padding:.5rem .75rem;transition:all .2s}.filter-select:focus{border-color:#3498db;box-shadow:0 0 0 2px #3498db1a;outline:none}.stats-row{border-top:1px solid #e0e0e0;justify-content:space-between;padding-top:.75rem}.stats-info,.stats-row{align-items:center;display:flex}.stats-info{gap:1rem}.stats-actions{align-items:center;display:flex;gap:.75rem}.stat-item{color:#666;font-size:.9rem}.stat-item strong{color:#333;font-size:1rem}.stat-item.selected strong{color:#3498db}.batch-actions{display:flex;gap:.5rem}.short-col{max-width:70px;width:70px}.short-input{padding:2px 4px;width:100%}.short-input,.short-text{font-size:.75rem;max-width:65px}.short-text{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.products-table{border-radius:4px;margin-bottom:.75rem;overflow-x:auto;position:relative}.products-table table{border-collapse:initial;border-spacing:0;font-size:.8rem;margin:0;width:100%}.products-table thead{background:#2c3e50;color:#fff;position:-webkit-sticky;position:sticky;top:0;z-index:100}.products-table thead:after{background:#0000001a;bottom:0;content:"";height:2px;left:0;position:absolute;width:100%}.products-table th{background:#2c3e50;border-bottom:1px solid #34495e;font-size:.8rem;font-weight:600;padding:.4rem .3rem;text-align:left;white-space:nowrap}.products-table th.sortable{cursor:pointer;transition:background .2s;-webkit-user-select:none;user-select:none}.products-table th.sortable:hover{background:#ffffff1a}.products-table td{border-bottom:1px solid #e0e0e0;font-size:.8rem;padding:.3rem}.products-table td:first-child,.products-table th:first-child{max-width:35px;padding:.3rem .2rem;text-align:center;width:35px}.products-table td:nth-child(2),.products-table th:nth-child(2){max-width:110px;width:110px}.products-table td:nth-child(5),.products-table th:nth-child(5){max-width:90px;width:90px}.products-table td:nth-child(6),.products-table th:nth-child(6){max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:150px}.products-table td:nth-child(7),.products-table td:nth-child(8),.products-table th:nth-child(7),.products-table th:nth-child(8){max-width:60px;text-align:center;width:60px}.products-table td.cost-cell,.products-table td.price-cell{max-width:60px;width:60px}.products-table td:nth-child(9),.products-table th:nth-child(9){max-width:60px;text-align:center;width:60px}.products-table td:nth-child(10),.products-table td:nth-child(11),.products-table th:nth-child(10),.products-table th:nth-child(11){max-width:65px;text-align:center;width:65px}.products-table td:nth-child(12),.products-table th:nth-child(12){max-width:110px;width:110px}.image-url-text{color:#3498db;cursor:help;display:inline-block;font-size:.75rem;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.products-table tbody tr{transition:background .2s}.products-table tbody tr:hover{background:#f8f9fa}.products-table tbody tr.low-stock-row{background:#fff3cd}.products-table tbody tr.low-stock-row:hover{background:#ffe69c}.brand-name{display:inline-block;font-size:.8rem;padding:.1rem 0}.cost-cell,.price-cell{color:#28a745;font-weight:600}.cost-cell{color:#6c757d}.stock-input{border:2px solid #e0e0e0;border-radius:6px;font-weight:600;padding:.4rem;text-align:center;transition:all .3s;width:70px}.stock-input:focus{border-color:#667eea;outline:none}.stock-input.low-stock{background:#fff5f5;border-color:#dc3545;color:#dc3545}.toggle-switch{cursor:pointer;display:inline-block;height:24px;position:relative;width:50px}.toggle-switch input{height:0;opacity:0;width:0}.toggle-slider{background-color:#ccc;border-radius:24px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.3s}.toggle-slider:before{background-color:#fff;border-radius:50%;bottom:3px;content:"";height:18px;left:3px;position:absolute;transition:.3s;width:18px}.toggle-switch input:checked+.toggle-slider{background-color:#28a745}.toggle-switch input:checked+.toggle-slider:before{transform:translateX(26px)}.btn-action{background:#fff;border:1px solid #ddd;border-radius:3px;cursor:pointer;font-size:.75rem;font-weight:500;padding:.2rem .4rem;transition:all .2s;white-space:nowrap}.btn-action.btn-edit{border-color:#3498db;color:#3498db}.btn-action.btn-edit:hover{background:#3498db;color:#fff}.btn-action.btn-delete{border-color:#e74c3c;color:#e74c3c}.btn-action.btn-delete:hover{background:#e74c3c;color:#fff}.btn-action.btn-save{background:#27ae60;border-color:#27ae60;color:#fff}.btn-action.btn-save:hover{background:#229954;border-color:#229954}.btn-action.btn-cancel{border-color:#95a5a6;color:#7f8c8d}.btn-action.btn-cancel:hover{background:#95a5a6;color:#fff}.btn-action.btn-barcode{border-color:#9b59b6;color:#9b59b6}.btn-action.btn-barcode:hover{background:#9b59b6;color:#fff}.action-buttons{align-items:center;gap:.25rem;justify-content:center}.btn-small{border-radius:3px;font-weight:500;padding:.35rem .7rem;transition:all .2s}.btn-small.btn-primary{background:#007bff;color:#fff}.btn-small.btn-primary:hover{background:#0056b3}.btn-small.btn-secondary{background:#6c757d;color:#fff}.btn-small.btn-secondary:hover{background:#5a6268}.btn-small.btn-danger{background:#dc3545;color:#fff}.btn-small.btn-danger:hover{background:#c82333}.btn-small.btn-success{background:#28a745;color:#fff}.btn-small.btn-success:hover{background:#218838}.btn-small.btn-warning{background:#ffc107;color:#333}.btn-small.btn-warning:hover{background:#e0a800}.pagination{align-items:center;display:flex;gap:.75rem;justify-content:center;margin:1rem 0}.page-btn{background:#fff;border:1px solid #3498db;border-radius:3px;color:#3498db;cursor:pointer;font-size:.9rem;font-weight:500;padding:.4rem .8rem;transition:all .2s}.page-btn:hover:not(:disabled){background:#3498db;color:#fff}.page-btn:disabled{border-color:#ccc;color:#ccc;cursor:not-allowed;opacity:.5}.page-info{color:#333;font-weight:600;min-width:120px;text-align:center}.no-data{font-size:1.1rem;padding:3rem}.form-row{grid-gap:1rem;gap:1rem}.checkbox-group,.checkbox-group label{align-items:center;display:flex}.checkbox-group label{cursor:pointer;gap:.5rem}.checkbox-group input[type=checkbox]{cursor:pointer;width:auto}.modal-actions{justify-content:flex-end}.modified-row{background:#fffbeb!important;border-left:3px solid #fbbf24}.editing-row{background:#f0f4f8!important;border-left:3px solid #3498db}.editing-row:hover{background:#e8f0f6!important}.readonly-text{color:#333;display:inline-block;font-size:.8rem;padding:.1rem 0}.low-stock-text{color:#dc3545;font-weight:600}.status-badge{border-radius:8px;font-size:.75rem;padding:.15rem .4rem;text-align:center}.inline-input{background:#fff;border:1px solid #d1d5db;border-radius:3px;font-size:.8rem;padding:.2rem .3rem;transition:all .2s;width:100%}.inline-input:hover{border-color:#9ca3af}.inline-input:focus{border-color:#3498db;box-shadow:0 0 0 2px #3498db1a;outline:none}.inline-input.number-input{padding:.15rem .2rem;text-align:center;width:52px}.inline-select{background:#fff;border:1px solid #d1d5db;border-radius:3px;cursor:pointer;font-size:.8rem;padding:.2rem .3rem;transition:all .2s;width:100%}.inline-select:hover{border-color:#9ca3af}.inline-select:focus{border-color:#3498db;box-shadow:0 0 0 2px #3498db1a;outline:none}@media (max-width:1200px){.filter-row{grid-template-columns:2fr 1fr 1fr}.filter-row .filter-select:nth-child(4),.filter-row .filter-select:nth-child(5){grid-column:span 1}.products-table{font-size:.9rem}}@media (max-width:1024px){.product-management{padding:.5rem}.filter-bar{padding:.75rem}}@media (max-width:768px){.product-management{padding:.5rem}.header-actions{flex-wrap:wrap;width:100%}.header-actions .btn{flex:1 1;font-size:.85rem;min-width:120px;padding:.5rem .8rem}.filter-bar{margin-bottom:.75rem;padding:.6rem}.filter-row{gap:.5rem;grid-template-columns:1fr;margin-bottom:.6rem}.filter-select,.search-input{font-size:.85rem;padding:.5rem .7rem}.stats-row{align-items:flex-start;flex-direction:column;gap:.75rem}.stats-actions,.stats-info{flex-direction:column;gap:.5rem;width:100%}.stat-item{font-size:.85rem}.stat-item strong{font-size:.95rem}.batch-actions{flex-wrap:wrap;width:100%}.batch-actions .btn-small{flex:1 1;min-width:100px}.products-table{font-size:.85rem}.products-table td,.products-table th{font-size:.8rem;padding:.5rem .4rem}.products-table th{white-space:normal;word-break:break-word}.brand-name{font-size:.75rem;padding:.2rem .4rem}.readonly-text{font-size:.8rem;padding:.3rem .2rem}.status-badge{font-size:.75rem;padding:.25rem .5rem}.stock-input{font-size:.85rem;padding:.3rem;width:60px}.inline-input.number-input{font-size:.85rem;width:70px}.toggle-switch{height:22px;width:44px}.toggle-slider:before{bottom:3px;height:16px;left:3px;width:16px}.toggle-switch input:checked+.toggle-slider:before{transform:translateX(22px)}.action-buttons{flex-direction:column;gap:.4rem;width:100%}.btn-small{font-size:.85rem;padding:.5rem;width:100%}.btn-action{font-size:.8rem;padding:.35rem .6rem}.form-row{grid-template-columns:1fr}.pagination{flex-wrap:wrap;gap:.5rem;margin:1.5rem 0}.page-btn{font-size:.85rem;padding:.4rem .6rem}.page-info{font-size:.9rem;min-width:100px}}@media (max-width:480px){.product-management{padding:.25rem}.header-actions .btn{font-size:.8rem;min-width:110px;padding:.45rem .65rem}.filter-bar{padding:.5rem}.filter-select,.search-input{font-size:.8rem;padding:.45rem .6rem}.stat-item{font-size:.8rem}.stat-item strong{font-size:.9rem}.products-table{font-size:.75rem}.products-table td,.products-table th{font-size:.75rem;padding:.4rem .3rem}.brand-name{font-size:.7rem}.readonly-text{font-size:.75rem;padding:.25rem .15rem}.status-badge{font-size:.7rem;padding:.2rem .4rem}.stock-input{font-size:.8rem;padding:.25rem;width:55px}.inline-input.number-input{font-size:.8rem;width:65px}.toggle-switch{height:20px;width:40px}.toggle-slider:before{bottom:3px;height:14px;left:3px;width:14px}.toggle-switch input:checked+.toggle-slider:before{transform:translateX(20px)}.btn-small{font-size:.8rem;padding:.4rem .6rem}.btn-action{font-size:.75rem;padding:.3rem .5rem}.page-btn{font-size:.8rem;padding:.35rem .5rem}.page-info{font-size:.85rem;min-width:90px}}.csv-import-form{display:flex;flex-direction:column;gap:1.5rem}.import-instructions{background:#f8f9fa;border-left:4px solid #3498db;border-radius:8px;padding:1rem}.import-instructions p{color:#2c3e50;margin:0 0 .5rem}.import-instructions ul{color:#555;margin:0;padding-left:1.5rem}.import-instructions li{font-size:.9rem;margin:.25rem 0}.file-drop-zone{align-items:center;background:#fafafa;border:2px dashed #ddd;border-radius:8px;cursor:pointer;display:flex;justify-content:center;min-height:150px;padding:2rem;text-align:center;transition:all .3s}.file-drop-zone.dragging{background:#e3f2fd;border-color:#3498db}.file-drop-zone.has-file{background:#e8f5e9;border-color:#4caf50}.drop-zone-content{align-items:center;display:flex;flex-direction:column;gap:1rem}.upload-icon{font-size:3rem;opacity:.5}.drop-zone-content p{color:#666;margin:0}.file-info{align-items:center;background:#fff;border-radius:6px;box-shadow:0 2px 4px #0000001a;display:flex;gap:.75rem;padding:1rem}.file-icon{font-size:2rem}.file-name{color:#2c3e50;font-weight:600}.file-size{color:#999;font-size:.9rem}.btn-remove-file{align-items:center;background:#e74c3c;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:1rem;height:24px;justify-content:center;margin-left:auto;transition:background .2s;width:24px}.btn-remove-file:hover{background:#c0392b}.import-options{background:#fff8dc;border-left:4px solid #ff9800;border-radius:8px;padding:1rem}.import-options .clear-data-checkbox{align-items:center;cursor:pointer;display:flex;font-size:14px;gap:8px;-webkit-user-select:none;user-select:none}.import-options .custom-checkbox{align-items:center;background:#fff;border:2px solid #666;border-radius:3px;color:#fff;display:inline-flex;flex-shrink:0;font-size:14px;font-weight:700;height:18px;justify-content:center;transition:all .2s;width:18px}.import-options .custom-checkbox:not(:empty){background:#28a745;border-color:#28a745}.import-options .clear-data-checkbox:hover .custom-checkbox{border-color:#333}.btn-info{background:#17a2b8;color:#fff}.btn-info:hover{background:#138496}.btn-warning{background:#ffc107;color:#333}.btn-warning:hover{background:#e0a800}.payment-modal-overlay{align-items:center;animation:fadeIn .2s ease-out;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:10000}.payment-modal{animation:slideUp .3s ease-out;background:#fff;border-radius:12px;box-shadow:0 10px 40px #0003;max-width:600px;width:90%}.payment-modal-header{align-items:center;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;padding:1.5rem}.payment-modal-header h2{color:#333;font-size:1.3rem;font-weight:600;margin:0}.payment-modal-close{align-items:center;background:none;border:none;border-radius:4px;color:#999;cursor:pointer;display:flex;font-size:2rem;height:32px;justify-content:center;padding:0;transition:all .2s;width:32px}.payment-modal-close:hover{background:#f5f5f5;color:#333}.payment-modal-body{padding:2rem 1.5rem}.payment-modal-description{color:#666;font-size:.95rem;margin:0 0 1.5rem;text-align:center}.payment-methods-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(3,1fr)}.payment-method-card{background:#fff;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;padding:1.5rem 1rem;position:relative;text-align:center;transition:all .2s}.payment-method-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.payment-method-card.selected{border-width:2px;box-shadow:0 4px 16px #00000026}.payment-method-icon{align-items:center;border-radius:50%;display:flex;font-size:2rem;height:60px;justify-content:center;margin:0 auto .75rem;transition:all .2s;width:60px}.payment-method-card.selected .payment-method-icon{color:#fff}.payment-method-name{color:#333;font-size:.9rem;font-weight:500}.payment-method-check{font-size:1.2rem;font-weight:700;position:absolute;right:8px;top:8px}.payment-modal-footer{border-top:1px solid #e0e0e0;display:flex;gap:1rem;justify-content:flex-end;padding:1.5rem}.payment-btn{border:none;border-radius:6px;cursor:pointer;font-size:1rem;font-weight:500;padding:.75rem 2rem;transition:all .2s}.payment-btn-cancel{background:#f5f5f5;color:#666}.payment-btn-cancel:hover{background:#e0e0e0}.payment-btn-confirm{background:#007bff;color:#fff}.payment-btn-confirm:hover:not(:disabled){background:#0056b3;box-shadow:0 2px 8px #007bff4d;transform:translateY(-1px)}.payment-btn-confirm:disabled{background:#ccc;cursor:not-allowed}@media (max-width:768px){.payment-modal{margin:1rem;width:95%}.payment-methods-grid{grid-template-columns:repeat(2,1fr)}.payment-modal-body{padding:1.5rem 1rem}.payment-method-card{padding:1rem .75rem}.payment-method-icon{font-size:1.75rem;height:50px;width:50px}}.order-edit-modal{background:#fff;border-radius:12px;box-shadow:0 8px 32px #0000004d;max-height:90vh;max-width:900px;overflow-y:auto;width:90%}.order-edit-modal .modal-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-bottom:1px solid #e0e0e0;border-radius:12px 12px 0 0;color:#fff;display:flex;justify-content:space-between;padding:.875rem 1.25rem;position:-webkit-sticky;position:sticky;top:0;z-index:10}.order-edit-modal .modal-header h2{font-size:1.15rem;margin:0}.order-edit-modal .close-btn{align-items:center;background:none;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:1.75rem;height:28px;justify-content:center;line-height:1;padding:0;transition:background .3s;width:28px}.order-edit-modal .close-btn:hover{background:#fff3}.order-edit-modal .modal-body{padding:1rem 1.25rem}.warning-message{background:#fff3cd;border:1px solid #ffc107;border-radius:6px;color:#856404;font-size:.875rem;font-weight:500;margin-bottom:1rem;padding:.625rem;text-align:center}.edit-section{background:#f9f9f9;border-radius:8px;margin-bottom:1rem;padding:.875rem 1rem}.edit-section h3{border-bottom:2px solid #667eea;color:#333;font-size:1rem;margin-bottom:.75rem;margin-top:0;padding-bottom:.375rem}.form-grid{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:repeat(2,1fr);margin-bottom:.75rem}.form-group{gap:.25rem}.form-group.full-width{grid-column:1/-1}.form-group label{color:#666;font-size:.8125rem}.form-group input,.form-group textarea{border:1px solid #ddd;font-size:.875rem;padding:.5rem .625rem}.form-group input:focus,.form-group textarea:focus{border-color:#667eea}.form-group input:disabled,.form-group textarea:disabled{background:#f5f5f5;cursor:not-allowed}.form-group small{color:#999;font-size:.75rem;margin-top:.25rem}.btn-save-info{background:#4caf50;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.875rem;font-weight:500;padding:.625rem 1.25rem;transition:background .3s}.btn-save-info:hover:not(:disabled){background:#45a049}.btn-save-info:disabled{background:#ccc;cursor:not-allowed}.items-edit-table{border-collapse:collapse;font-size:.875rem;width:100%}.items-edit-table th{background:#f5f5f5;border-bottom:2px solid #e0e0e0;color:#555;font-size:.8125rem;font-weight:600;padding:.625rem .75rem;text-align:left}.items-edit-table td{border-bottom:1px solid #e0e0e0;padding:.625rem .75rem}.quantity-editor{align-items:center;display:flex;gap:.375rem}.quantity-editor button{background:#fff;border:1px solid #667eea;border-radius:4px;color:#667eea;cursor:pointer;font-size:1rem;font-weight:700;height:26px;transition:all .3s;width:26px}.quantity-editor button:hover:not(:disabled){background:#667eea;color:#fff}.quantity-editor button:disabled{cursor:not-allowed;opacity:.5}.quantity-editor input{border:2px solid #667eea;border-radius:4px;font-size:.875rem;font-weight:600;padding:.25rem;text-align:center;width:50px}.btn-delete-item{background:#fff;border:1px solid #f44336;color:#f44336;font-size:.8125rem;padding:.375rem .75rem;transition:all .3s}.btn-delete-item:hover:not(:disabled){background:#f44336;color:#fff}.btn-delete-item:disabled{cursor:not-allowed;opacity:.5}.amount-summary{background:#fff;border-radius:6px;padding:.875rem}.amount-row{display:flex;font-size:.875rem;justify-content:space-between;padding:.5rem 0}.amount-row.discount{color:#28a745}.amount-row.total{border-top:2px solid #e0e0e0;font-size:1rem;font-weight:600;margin-top:.5rem;padding-top:.75rem}.discount-amount{color:#28a745;font-weight:600}.final-amount{color:#667eea;font-size:1.125rem;font-weight:700}.modal-footer{border-top:1px solid #e0e0e0;display:flex;justify-content:flex-end;padding:.875rem 1.25rem}.btn-close{background:#757575;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.875rem;padding:.625rem 1.5rem;transition:background .3s}.btn-close:hover{background:#616161}.btn-add-product{background:#667eea;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.8125rem;font-weight:500;padding:.5rem 1rem;transition:background .3s}.btn-add-product:hover:not(:disabled){background:#5568d3}.btn-add-product:disabled{background:#ccc;cursor:not-allowed}.add-product-form{background:#f0f4ff;border:2px dashed #667eea;border-radius:8px;margin-bottom:1rem;padding:.875rem}.add-product-form h4{color:#667eea;font-size:.9375rem;margin-bottom:.625rem;margin-top:0}.form-row{display:flex;gap:.625rem;margin-bottom:.75rem}.search-input{border:1px solid #ddd;border-radius:6px;font-size:.875rem;padding:.5rem .75rem}.search-input:focus{border-color:#667eea}.quantity-input{font-size:.875rem;padding:.5rem .75rem;text-align:center}.product-list,.quantity-input{border:1px solid #ddd;border-radius:6px}.product-list{background:#fff;margin-bottom:.75rem;max-height:250px;overflow-y:auto}.product-item{border-bottom:1px solid #e0e0e0;cursor:pointer;font-size:.875rem;padding:.625rem .75rem;transition:all .2s}.product-item:hover{background:#f5f5f5}.product-item.selected{background:#e7f0ff;border-left:4px solid #667eea}.product-item:last-child{border-bottom:none}.form-actions{gap:.625rem}.btn-confirm-add{background:#4caf50;border:none;border-radius:6px;color:#fff;cursor:pointer;flex:1 1;font-size:.875rem;font-weight:500;padding:.625rem;transition:background .3s}.btn-confirm-add:hover:not(:disabled){background:#45a049}.btn-confirm-add:disabled{background:#ccc;cursor:not-allowed}.btn-cancel-add{background:#f5f5f5;border:1px solid #ddd;border-radius:6px;color:#666;cursor:pointer;flex:1 1;font-size:.875rem;padding:.625rem;transition:background .3s}.btn-cancel-add:hover:not(:disabled){background:#e0e0e0}.btn-cancel-add:disabled{background:#f5f5f5;cursor:not-allowed}@media (max-width:768px){.order-edit-modal{width:95%}.form-grid{grid-template-columns:1fr}.items-edit-table{font-size:.8125rem}.items-edit-table td,.items-edit-table th{padding:.5rem .25rem}}.shipping-label-modal{max-height:90vh;max-width:500px;overflow-y:auto;width:90%}.shipping-label-modal .modal-body{padding:10px 15px}.shipping-label-modal .order-info-section{background-color:#f8f9fa;border-radius:3px;font-size:.85rem;margin-bottom:10px;padding:6px 8px}.shipping-label-modal .form-section{margin-bottom:12px}.shipping-label-modal .form-group{margin-bottom:8px}.shipping-label-modal .form-group label{color:#555;display:block;font-size:.85rem;font-weight:500;margin-bottom:3px}.shipping-label-modal .form-control{border:1px solid #ddd;border-radius:3px;font-size:.85rem;padding:5px 8px;width:100%}.shipping-label-modal .form-control:focus{border-color:#007bff;outline:none}.shipping-label-modal .form-row{grid-gap:8px;display:grid;gap:8px;grid-template-columns:1fr 1fr 1fr 1fr}.shipping-label-modal .modal-actions{background-color:#f8f9fa;border-top:1px solid #eee;display:flex;gap:8px;justify-content:flex-end;padding:8px 15px}.shipping-label-modal .btn{border:none;border-radius:3px;cursor:pointer;font-size:.85rem;padding:6px 16px}.shipping-label-modal .btn:disabled{cursor:not-allowed;opacity:.6}.shipping-label-modal .btn-secondary{background-color:#6c757d;color:#fff}.shipping-label-modal .btn-secondary:hover:not(:disabled){background-color:#5a6268}.shipping-label-modal .btn-primary{background-color:#007bff;color:#fff}.shipping-label-modal .btn-primary:hover:not(:disabled){background-color:#0056b3}.shipping-label-modal .btn-info{background-color:#17a2b8;border:none;border-radius:3px;color:#fff;cursor:pointer}.shipping-label-modal .btn-info:hover:not(:disabled){background-color:#138496}.rates-section{background-color:#f8f9fa;border-radius:5px;margin-bottom:20px;padding:15px}.rates-list{margin-top:10px;max-height:400px;overflow-y:auto}.rate-item{background:#fff;border:2px solid #ddd;border-radius:5px;cursor:pointer;margin-bottom:10px;padding:12px;position:relative;transition:all .3s}.rate-item:hover{border-color:#007bff;box-shadow:0 2px 4px #007bff33}.rate-item.selected{background-color:#f0fff4;border-color:#28a745}.rate-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.rate-provider{color:#333;font-size:1rem;font-weight:700}.rate-price{color:#28a745;font-size:1.2rem;font-weight:700}.rate-details{color:#666;font-size:.85rem}.rate-service{font-weight:500;margin-bottom:4px}.rate-days{color:#007bff;margin-bottom:2px}.rate-terms{color:#999;font-size:.8rem;font-style:italic}.rate-selected-badge{background:#28a745;border-radius:12px;color:#fff;font-size:.75rem;font-weight:700;padding:2px 8px;position:absolute;right:8px;top:8px}.no-rates{background:#fff3cd;border:1px solid #ffc107;border-radius:4px;color:#856404;margin-bottom:15px;padding:15px}@media (max-width:768px){.shipping-label-modal .form-row{grid-template-columns:1fr}.rate-header{align-items:flex-start;flex-direction:column;gap:5px}}.tracking-modal-overlay{align-items:center;background-color:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.tracking-modal-content{background:#fff;border-radius:8px;box-shadow:0 4px 20px #0000004d;display:flex;flex-direction:column;max-height:90vh;max-width:700px;width:90%}.tracking-modal-header{align-items:center;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;padding:20px}.tracking-modal-header h2{color:#333;font-size:20px;margin:0}.close-button{align-items:center;background:none;border:none;border-radius:4px;color:#999;cursor:pointer;display:flex;font-size:28px;height:32px;justify-content:center;padding:0;transition:all .2s;width:32px}.close-button:hover{background-color:#f0f0f0;color:#333}.tracking-modal-body{flex:1 1;overflow-y:auto;padding:20px}.loading-container{align-items:center;color:#666;display:flex;flex-direction:column;justify-content:center;padding:40px}.loading-spinner{animation:spin 1s linear infinite;border:4px solid #f3f3f3;border-radius:50%;border-top-color:#007bff;height:40px;margin-bottom:16px;width:40px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.tracking-summary{background:#f8f9fa;border-radius:6px;margin-bottom:24px;padding:16px}.summary-item{align-items:flex-start;display:flex;margin-bottom:12px}.summary-item:last-child{margin-bottom:0}.summary-label{color:#666;font-weight:600;margin-right:12px;min-width:120px}.summary-value{color:#333;flex:1 1}.tracking-number{color:#28a745;font-family:Courier New,monospace;font-size:14px;font-weight:700}.status-badge{font-size:13px}.status-unknown{background-color:#e9ecef;color:#6c757d}.status-pre-transit{background-color:#fff3cd;color:#856404}.status-transit{background-color:#cfe2ff;color:#084298}.status-delivered{background-color:#d1e7dd;color:#0f5132}.status-failure,.status-returned{background-color:#f8d7da;color:#842029}.tracking-link{color:#007bff;text-decoration:none;transition:color .2s}.tracking-link:hover{color:#0056b3;text-decoration:underline}.tracking-history{margin-top:24px}.tracking-history h3{color:#333;font-size:18px;margin:0 0 16px}.history-timeline{padding-left:24px;position:relative}.history-timeline:before{background-color:#e0e0e0;bottom:0;content:"";left:8px;position:absolute;top:0;width:2px}.history-item{padding-bottom:20px;padding-left:24px;position:relative}.history-item:before{background-color:#007bff;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 2px #e0e0e0;content:"";height:12px;left:-16px;position:absolute;top:4px;width:12px}.history-item:last-child{padding-bottom:0}.history-item-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:6px}.history-status{font-size:14px;font-weight:600}.history-date{color:#666;font-size:12px}.history-details{color:#333;margin-bottom:4px}.history-location{color:#666;font-size:12px;margin-top:4px}.no-tracking-info{color:#999;padding:40px;text-align:center}.tracking-modal-footer{border-top:1px solid #e0e0e0;display:flex;gap:12px;justify-content:flex-end;padding:16px 20px}.tracking-modal-footer .btn{border:none;border-radius:4px;cursor:pointer;font-size:14px;padding:8px 20px;transition:all .2s}.tracking-modal-footer .btn-secondary{background-color:#6c757d;color:#fff}.tracking-modal-footer .btn-secondary:hover{background-color:#5a6268}.tracking-modal-footer .btn-primary{background-color:#007bff;color:#fff}.tracking-modal-footer .btn-primary:hover{background-color:#0056b3}.order-management{margin:0;max-width:100%;padding:8px}.order-management .page-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.order-management .page-header h1{color:#333;font-size:18px;margin:0}.order-management .header-actions{align-items:center;display:flex;flex-wrap:wrap;gap:6px}.order-management .filter-group{align-items:center;display:flex;gap:4px}.order-management .filter-group label{color:#333;font-size:13px;font-weight:400}.order-management .filter-group .form-control{border:1px solid #ddd;border-radius:2px;font-size:13px;padding:4px 8px}.order-management .orders-table{background:#fff;border:1px solid #ddd;overflow:hidden}.order-management .orders-table table{border-collapse:collapse;width:100%}.order-management .orders-table td,.order-management .orders-table th{border-bottom:1px solid #e0e0e0;font-size:13px;padding:6px 8px;text-align:left}.order-management .orders-table th{background:#f5f5f5;color:#333;font-weight:600}.order-management .orders-table tbody tr:hover{background:#f9f9f9}.order-management .no-data{color:#999;font-size:13px;padding:20px;text-align:center}.order-management .badge{border-radius:2px;font-size:11px;font-weight:500;padding:2px 8px}.order-management .badge.warning{background:#fff3cd;color:#856404}.order-management .badge.info{background:#d1ecf1;color:#0c5460}.order-management .badge.success{background:#d4edda;color:#155724}.order-management .badge.danger{background:#f8d7da;color:#721c24}.order-management .action-buttons{align-items:center;display:inline-flex;flex-wrap:nowrap;gap:4px;justify-content:flex-start}.order-management .btn-action{align-items:center;border:none;border-radius:2px;color:#fff;cursor:pointer;display:inline-flex;font-size:12px;font-weight:400;height:24px;justify-content:center;min-width:60px;padding:0 8px;text-decoration:none;white-space:nowrap}.order-management .btn-view{background:#007bff}.order-management .btn-confirm{background:#28a745}.order-management .btn-edit{background:#17a2b8}.order-management .btn-deliver{background:#fd7e14}.order-management .btn-complete{background:#20c997}.order-management .btn-cancel{background:#6c757d}.order-management .btn{border:none;border-radius:2px;cursor:pointer;font-size:13px;font-weight:400;padding:6px 12px}.order-management .btn-primary{background:#007bff;color:#fff}.order-management .btn-success{background:#28a745;color:#fff}.order-management .btn-info{background:#17a2b8;color:#fff}.order-management .btn-warning{background:#ffc107;color:#333}.order-management .order-detail-modal{max-height:90vh;max-width:800px;overflow-y:auto;width:90%}.order-management .detail-section{margin-bottom:12px}.order-management .detail-section h3{border-bottom:1px solid #eee;color:#333;font-size:15px;margin:0 0 8px;padding-bottom:4px}.order-management .detail-grid{grid-gap:8px;display:grid;gap:8px;grid-template-columns:1fr 1fr}.order-management .detail-item{display:flex;flex-direction:column;gap:2px}.order-management .detail-item .label{color:#666;font-size:12px;font-weight:600}.order-management .detail-item .value{color:#333;font-size:13px}.order-management .items-table{margin-top:4px;width:100%}.order-management .items-table td,.order-management .items-table th{border-bottom:1px solid #e0e0e0;font-size:12px;padding:6px 8px;text-align:left}.order-management .items-table th{background:#f5f5f5;font-weight:600}.order-management .amount-info{background:#f5f5f5;border-radius:2px;margin-top:8px;padding:8px}.order-management .amount-row{display:flex;font-size:13px;justify-content:space-between;padding:4px 0}.order-management .amount-row.total-row{border-top:1px solid #ddd;font-size:15px;font-weight:700;margin-top:4px;padding-top:6px}.order-management .final-amount{color:#007bff;font-size:16px}.order-management .amount-row.profit-row{color:#28a745;font-size:14px;font-weight:700}.delivery-note-page{background:#fff;min-height:100vh}.delivery-note-document{background:#fff;margin:60px auto 1rem;max-width:210mm;padding:10mm}.delivery-note-document h1{border-bottom:1px solid #000;font-size:18pt;font-weight:400;margin:0 0 8px;padding-bottom:4px;text-align:center}.note-header{font-size:9pt;margin-bottom:10px;padding:6px}.header-item{padding:2px 0}.header-item .label{font-weight:400;min-width:70px}.order-entry{border:1px solid #000;box-sizing:border-box;float:left;margin-bottom:12px;padding:0;page-break-inside:avoid;width:50%}.entry-header{align-items:center;border-bottom:1px solid #000;display:flex;justify-content:space-between;margin-bottom:0;padding:4px 6px}.entry-header h2{font-size:10pt;font-weight:400;margin:0}.order-number{font-size:9pt;font-weight:400}.delivery-note-document h3{font-size:10pt;font-weight:400;margin:4px 6px 2px}.info-table,.items-table{border-collapse:collapse;font-size:9pt;margin:0;width:100%}.info-table td{border:1px solid #000;padding:3px 5px}.info-table .label-col{background:#fff;font-weight:400;width:70px}.items-table td,.items-table th{border:1px solid #000;padding:3px 5px}.items-table td:first-child,.items-table th:first-child{text-align:center;width:40px}.items-table td:last-child,.items-table th:last-child{text-align:center;width:60px}.location-badge{font-size:9pt}.delivery-note-document:after{clear:both;content:"";display:block}@media print{.no-print{display:none!important}.delivery-note-page{background:#fff}.delivery-note-document{margin:0;max-width:100%;padding:8mm}.delivery-note-document h1{font-size:18pt;margin:0 0 8px}.note-header{margin-bottom:10px;padding:6px}.order-entry{margin-bottom:12px;padding:8px;page-break-inside:avoid}body{margin:0;padding:0}@page{size:A4;margin:8mm}}.inbound-note-page{background:#f5f5f5;min-height:100vh;padding:20px}.action-bar{background:#fff;border-bottom:1px solid #000;display:flex;gap:10px;justify-content:center;left:0;padding:10px;position:fixed;right:0;top:0;z-index:1000}.close-btn,.print-btn{background:#fff;border:1px solid #000;border-radius:0;cursor:pointer;font-size:14px;font-weight:400;padding:8px 20px}.close-btn:hover,.print-btn:hover{background:#f0f0f0}.inbound-note-document{background:#fff;margin:60px auto 1rem;max-width:1000px;min-height:297mm;padding:40px}.document-header{border-bottom:1px solid #000;margin-bottom:20px;padding-bottom:10px;text-align:center}.document-header h1{color:#000;font-size:24px;font-weight:400;margin:0}.header-subtitle{color:#666;font-size:12px;margin-top:5px}.note-header{background:#fff;border:1px solid #000;margin-bottom:20px;padding:10px}.header-row{display:flex;gap:30px;margin-bottom:12px}.header-row:last-child{margin-bottom:0}.header-item{align-items:center;display:flex;gap:10px}.header-item.full-width{flex:1 1}.header-item .label{color:#555;font-weight:600;min-width:80px}.header-item .value{color:#333;font-size:15px}.header-item .value.highlight,.header-item .value.strong{color:#000;font-size:15px;font-weight:400}.items-section{margin-bottom:30px}.items-section h2{border-bottom:1px solid #000;color:#000;font-size:16px;font-weight:400;margin-bottom:10px;padding-bottom:5px}.items-table{margin-bottom:20px}.items-table td,.items-table th{border:1px solid #ddd;padding:12px 10px;text-align:left}.items-table th{background:#fff;color:#000;font-weight:400}.items-table td.center,.items-table th{text-align:center}.items-table .product-name{color:#333;font-weight:500}.items-table .barcode-info{color:#666;font-size:12px;margin-top:4px}.items-table .quantity-cell{color:#000;font-size:14px;font-weight:400}.items-table .location-cell{font-weight:500}.location-badge{color:#000;font-size:14px;font-weight:400}.no-location{color:#999}.document-footer{border-top:1px solid #e0e0e0;margin-top:30px;padding-top:15px;text-align:center}.footer-text{color:#999;font-size:12px}@media print{.inbound-note-page{background:#fff;padding:0}.no-print{display:none!important}.inbound-note-document{box-shadow:none;max-width:100%;padding:20px}.document-header h1{font-size:32px}.items-section,.items-table,.note-footer,.signature-section,.summary-section{page-break-inside:avoid}}@media (max-width:768px){.inbound-note-document{padding:20px}.document-header h1{font-size:28px}.header-row{flex-direction:column;gap:10px}.items-table{font-size:14px}.items-table td,.items-table th{padding:8px 5px}.signature-section{flex-direction:column;gap:20px}.stats-info{flex-direction:column;gap:8px}}.outbound-note-page{background:#f5f5f5;min-height:100vh;padding:20px}.outbound-note-page .action-bar{background:#fff;border-bottom:1px solid #000;display:flex;gap:10px;justify-content:center;left:0;padding:10px;position:fixed;right:0;top:0;z-index:1000}.outbound-note-page .close-btn,.outbound-note-page .print-btn{background:#fff;border:1px solid #000;border-radius:0;cursor:pointer;font-size:14px;font-weight:400;padding:8px 20px}.outbound-note-page .close-btn:hover,.outbound-note-page .print-btn:hover{background:#f0f0f0}.outbound-note-document{background:#fff;margin:60px auto 1rem;max-width:1000px;min-height:297mm;padding:40px}.outbound-note-document .document-header{border-bottom:1px solid #000;margin-bottom:20px;padding-bottom:10px;text-align:center}.outbound-note-document .document-header h1{color:#000;font-size:24px;font-weight:400;margin:0}.outbound-note-document .header-subtitle{color:#666;font-size:12px;margin-top:5px}.outbound-note-document .note-header{background:#fff;border:1px solid #000;margin-bottom:20px;padding:10px}.outbound-note-document .header-row{display:flex;gap:30px;margin-bottom:12px}.outbound-note-document .header-row:last-child{margin-bottom:0}.outbound-note-document .header-item{align-items:center;display:flex;gap:10px}.outbound-note-document .header-item.full-width{flex:1 1}.outbound-note-document .header-item .label{color:#555;font-weight:600;min-width:80px}.outbound-note-document .header-item .value{color:#333;font-size:15px}.outbound-note-document .header-item .value.highlight,.outbound-note-document .header-item .value.strong{color:#000;font-size:15px;font-weight:400}.outbound-note-document .items-section{margin-bottom:30px}.outbound-note-document .items-section h2{border-bottom:1px solid #000;color:#000;font-size:16px;font-weight:400;margin-bottom:10px;padding-bottom:5px}.outbound-note-document .items-table{border-collapse:collapse;margin-bottom:20px;width:100%}.outbound-note-document .items-table td,.outbound-note-document .items-table th{border:1px solid #ddd;padding:12px 10px;text-align:left}.outbound-note-document .items-table th{background:#fff;color:#000;font-weight:400;text-align:center}.outbound-note-document .items-table td.center{text-align:center}.outbound-note-document .items-table .product-name{color:#333;font-weight:500}.outbound-note-document .items-table .quantity-cell{color:#000;font-size:14px;font-weight:400}.outbound-note-document .items-table .location-cell{font-weight:500}.outbound-note-document .location-badge{color:#000;font-size:14px;font-weight:400}.outbound-note-document .no-location{color:#999}.outbound-note-document .document-footer{border-top:1px solid #e0e0e0;margin-top:30px;padding-top:15px;text-align:center}.outbound-note-document .footer-text{color:#999;font-size:12px}@media print{.outbound-note-page{background:#fff;padding:0}.no-print{display:none!important}.outbound-note-document{box-shadow:none;max-width:100%;padding:20px}.outbound-note-document .document-header h1{font-size:32px}.outbound-note-document .items-section,.outbound-note-document .items-table{page-break-inside:avoid}}@media (max-width:768px){.outbound-note-document{padding:20px}.outbound-note-document .document-header h1{font-size:28px}.outbound-note-document .header-row{flex-direction:column;gap:10px}.outbound-note-document .items-table{font-size:14px}.outbound-note-document .items-table td,.outbound-note-document .items-table th{padding:8px 5px}}.brand-management{margin:0 auto;max-width:1200px;padding:2rem}.brand-page-header{margin-bottom:1.5rem}.brand-page-header h1{color:#333;font-size:1.5rem;font-weight:600;margin:0}.brand-form-card{background:#fff;border:1px solid #ddd;border-radius:4px;margin-bottom:2rem;padding:1.5rem}.brand-form-card h3{color:#333;font-size:1.1rem;font-weight:600;margin:0 0 1rem}.brand-form{grid-gap:1rem;display:grid;gap:1rem}.form-group{display:flex;flex-direction:column;gap:.4rem}.form-group label{font-size:.9rem}.form-group input[type=text]{border:1px solid #ddd;border-radius:4px;box-sizing:border-box;font-size:.95rem;padding:.6rem;width:100%}.form-group input[type=text]:focus{border-color:#007bff;outline:none}.checkbox-wrapper{align-items:center;display:flex;gap:.5rem}.checkbox-wrapper input[type=checkbox]{cursor:pointer}.checkbox-wrapper label{color:#555;cursor:pointer;margin:0;-webkit-user-select:none;user-select:none}.form-actions{gap:.5rem;margin-top:.5rem}.brand-management .btn{border:none;border-radius:4px;cursor:pointer;font-size:.95rem;padding:.6rem 1.2rem}.brands-section{background:#fff;border:1px solid #ddd;border-radius:4px;overflow:hidden}.brands-header{background:#f8f9fa;border-bottom:1px solid #ddd;padding:1rem 1.5rem}.brands-header h3{color:#333;font-size:1.1rem;font-weight:600;margin:0}.brands-table{overflow-x:auto}.brands-table table{border-collapse:collapse;width:100%}.brands-table thead{background:#f8f9fa;border-bottom:1px solid #ddd}.brands-table th{color:#555;font-size:.9rem;font-weight:600;padding:.75rem 1rem;text-align:left}.brands-table tbody tr{border-bottom:1px solid #eee}.brands-table tbody tr:hover{background:#f8f9fa}.brands-table td{color:#555;padding:.75rem 1rem;vertical-align:middle}.brand-logo-cell{width:80px}.brand-logo{height:32px;max-width:70px;object-fit:contain;width:auto}.brand-name{color:#333;font-weight:500}.status-badge{border-radius:3px;font-size:.85rem;padding:.25rem .6rem}.status-active{background:#d4edda;color:#155724}.status-inactive{background:#f8d7da;color:#721c24}.btn-small{border:none;border-radius:4px;cursor:pointer;font-size:.85rem;padding:.4rem .8rem}.btn-toggle{background:#6c757d}.btn-toggle:hover{background:#5a6268}.btn-toggle.activate{background:#28a745}.btn-toggle.activate:hover{background:#218838}.empty-state{color:#6c757d;padding:2rem}.empty-state-text{color:#6c757d;font-size:.95rem}.loading-state{color:#666;padding:2rem;text-align:center}.error-message{background:#f8d7da;border-left:3px solid #dc3545;border-radius:4px;color:#721c24;margin-bottom:1rem;padding:.75rem 1rem}@media (max-width:1024px){.brand-management{padding:1.5rem}.brand-page-header h1{font-size:1.4rem}.brand-form-card{padding:1.25rem}.brands-table table{font-size:.9rem}}@media (max-width:768px){.brand-management{padding:1rem}.brand-page-header h1{font-size:1.3rem}.brand-form-card{margin-bottom:1.5rem;padding:1rem}.brand-form-card h3{font-size:1rem}.form-group label{font-size:.85rem}.form-group input[type=text]{font-size:.9rem;padding:.5rem}.checkbox-wrapper{gap:.4rem}.checkbox-wrapper label{font-size:.85rem}.form-actions{gap:.4rem}.btn{font-size:.9rem;padding:.55rem 1rem}.brands-header{padding:.85rem 1rem}.brands-header h3{font-size:1rem}.brands-table{font-size:.9rem;overflow-x:auto}.brands-table table{min-width:550px}.brands-table td,.brands-table th{font-size:.85rem;padding:.6rem .8rem}.brand-logo{height:28px;max-width:60px}.brand-name{font-size:.9rem}.status-badge{font-size:.8rem;padding:.2rem .5rem}.action-buttons{flex-direction:column;gap:.4rem}.btn-small{font-size:.85rem;padding:.45rem .75rem;width:100%}.empty-state,.loading-state{padding:1.5rem}.empty-state-text,.error-message{font-size:.9rem}.error-message{padding:.65rem .85rem}}@media (max-width:480px){.brand-management{padding:.75rem}.brand-page-header h1{font-size:1.15rem}.brand-form-card{padding:.85rem}.brand-form-card h3{font-size:.95rem}.form-group label{font-size:.8rem}.form-group input[type=text]{font-size:.85rem;padding:.45rem}.checkbox-wrapper label{font-size:.8rem}.btn{font-size:.85rem;padding:.5rem .85rem}.brands-header{padding:.75rem .85rem}.brands-header h3{font-size:.95rem}.brands-table table{min-width:500px}.brands-table td,.brands-table th{font-size:.8rem;padding:.5rem .6rem}.brand-logo{height:24px;max-width:50px}.brand-name{font-size:.85rem}.status-badge{font-size:.75rem;padding:.15rem .4rem}.btn-small{font-size:.8rem;padding:.4rem .6rem}.empty-state,.loading-state{font-size:.9rem;padding:1.25rem}.empty-state-text,.error-message{font-size:.85rem}.error-message{padding:.6rem .75rem}}.customer-management{margin:0 auto;max-width:1400px;padding:20px}.page-header{margin-bottom:20px}.page-header h1{font-size:24px}.btn{border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px}.btn-primary{background:#007bff}.btn-primary:hover{background:#0056b3}.card{border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.customers-table table{border-collapse:collapse;width:100%}.customers-table td,.customers-table th{border-bottom:1px solid #f0f0f0;padding:12px;text-align:left}.customers-table th{background:#f8f9fa;color:#333;font-weight:600}.customers-table tbody tr:hover{background:#f8f9fa}.no-data{color:#999;padding:40px;text-align:center}.status-badge.active{background:#d4edda;color:#155724}.status-badge.disabled{background:#f8d7da;color:#721c24}.action-buttons{display:flex;flex-wrap:wrap;gap:.5rem}.action-buttons button{border:none;border-radius:4px;cursor:pointer;font-size:.85rem;font-weight:500;padding:.4rem .8rem;transition:all .2s}.btn-edit{background:#17a2b8}.btn-edit:hover{background:#138496}.btn-toggle{color:#fff}.btn-toggle.disable{background:#ffc107}.btn-toggle.disable:hover{background:#e0a800}.btn-toggle.enable{background:#28a745}.btn-toggle.enable:hover{background:#218838}.btn-delete{background:#dc3545;color:#fff}.btn-delete:hover{background:#c82333}.btn-view-orders{background:#6c757d;color:#fff}.btn-view-orders:hover{background:#5a6268}.customer-modal{max-width:500px;padding:2rem;width:90%}.customer-modal h2{color:#333;font-size:1.5rem;margin:0 0 1.5rem}.form-group{margin-bottom:1.2rem}.form-group label{font-size:.95rem;font-weight:600;margin-bottom:.5rem}.form-group input,.form-group select{border-radius:8px;box-sizing:border-box;font-size:1rem;padding:.75rem}.form-group input:focus,.form-group select:focus{border-color:#007bff}.modal-actions{display:flex;gap:1rem;margin-top:2rem}.modal-actions button{flex:1 1}@media (max-width:768px){.customer-management{padding:1rem}.page-header{align-items:flex-start;flex-direction:column;gap:1rem}.customers-table{overflow-x:auto}.customers-table table{font-size:.85rem}.customers-table td,.customers-table th{padding:.75rem .5rem}.customer-modal,.orders-history-modal{padding:1.5rem;width:95%}}.orders-history-modal{max-height:80vh;max-width:900px;overflow-y:auto;width:90%}.orders-history-modal h2{color:#333;font-size:1.5rem;margin:0 0 1.5rem}.orders-table-container{margin-bottom:1.5rem}.orders-table{background:#fff;border-collapse:collapse;width:100%}.orders-table td,.orders-table th{border-bottom:1px solid #f0f0f0;padding:.75rem;text-align:left}.orders-table th{color:#333;font-weight:600}.orders-table tbody tr:hover,.orders-table th{background:#f8f9fa}.order-status{border-radius:12px;display:inline-block;font-size:.85rem;font-weight:500;padding:.3rem .6rem}.status-pending{background:#fff3cd;color:#856404}.status-confirmed{background:#d1ecf1;color:#0c5460}.status-delivery{background:#cce5ff;color:#004085}.status-delivered{background:#d4edda;color:#155724}.status-cancelled{background:#f8d7da;color:#721c24}.orders-summary{background:#f8f9fa;border-radius:8px;display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:space-around;padding:1rem}.orders-summary p{color:#333;font-size:.95rem;font-weight:600;margin:0}.order-detail-modal{background:#fff;border-radius:12px;box-shadow:0 8px 32px #0000004d;max-height:85vh;max-width:900px;overflow-y:auto;width:90%}.order-detail-modal .modal-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-bottom:1px solid #e0e0e0;border-radius:12px 12px 0 0;color:#fff;display:flex;justify-content:space-between;padding:20px;position:-webkit-sticky;position:sticky;top:0;z-index:10}.order-detail-modal .modal-header h2{font-size:1.5rem;margin:0}.order-detail-modal .close-btn{align-items:center;background:none;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:2rem;height:32px;justify-content:center;line-height:1;padding:0;transition:background .3s;width:32px}.order-detail-modal .close-btn:hover{background:#fff3}.order-detail-modal .modal-body{padding:20px}.order-info-section{margin-bottom:30px}.order-info-section h3{border-bottom:2px solid #667eea;color:#333;font-size:1.2rem;margin-bottom:15px;margin-top:0;padding-bottom:8px}.info-grid{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(2,1fr)}.info-item{display:flex;flex-direction:column;gap:5px}.info-item.full-width{grid-column:1/-1}.info-item label{color:#666;font-size:.9rem;font-weight:600}.info-item span{color:#333;font-size:1rem}.status-badge{display:inline-block;font-size:.9rem;font-weight:600;width:-webkit-fit-content;width:fit-content}.status-badge.status-confirmed{background:#d4edda;color:#155724}.status-badge.status-draft{background:#fff3cd;color:#856404}.items-section{margin-top:30px}.items-section h3{border-bottom:2px solid #667eea;color:#333;font-size:1.2rem;margin-bottom:15px;margin-top:0;padding-bottom:8px}.summary-info{background:#f8f9fa;border-radius:8px;display:flex;gap:20px;margin-bottom:15px;padding:12px}.summary-info span{color:#666;font-size:.95rem}.summary-info strong{color:#667eea;font-size:1.1rem}.items-table{border-collapse:collapse;margin-top:10px;width:100%}.items-table th{background:#f5f5f5;border-bottom:2px solid #e0e0e0;color:#555;font-size:.9rem;font-weight:600;padding:12px;text-align:left}.items-table td{border-bottom:1px solid #e0e0e0;font-size:.95rem;padding:12px}.items-table tbody tr:hover{background:#f9f9f9}.barcode-cell{color:#666;font-family:Courier New,monospace}.time-cell{color:#999;font-size:.85rem}@media (max-width:768px){.order-detail-modal{max-height:90vh;width:95%}.info-grid{grid-template-columns:1fr}.items-table{font-size:.85rem}.items-table td,.items-table th{padding:8px 4px}}.modal-overlay{animation:fadeIn .2s ease-out;background:#0009;z-index:10000}.modal-content{animation:slideUp .3s ease-out;border-radius:12px;box-shadow:0 8px 32px #0003;display:flex;flex-direction:column;max-height:80vh;max-width:700px}@keyframes slideUp{0%{opacity:0;transform:translateY(50px)}to{opacity:1;transform:translateY(0)}}.modal-header{align-items:center;border-bottom:2px solid #f0f0f0;display:flex;justify-content:space-between;padding:20px 25px}.modal-header h3{color:#333;font-size:20px;margin:0}.modal-close{align-items:center;background:none;border:none;border-radius:50%;color:#999;cursor:pointer;display:flex;font-size:32px;height:40px;justify-content:center;transition:all .2s;width:40px}.modal-close:hover{background:#f5f5f5;color:#333}.modal-body{flex:1 1;overflow-y:auto;padding:20px 25px}.search-section{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}.scanned-barcode-info{background:#fff3cd;border:2px solid #ffc107;border-radius:6px;color:#856404;font-size:14px;padding:12px 15px}.scanned-barcode-info strong{color:#d39e00;font-size:16px}.search-section>div:last-child{display:flex;gap:10px}.search-input{border:2px solid #e0e0e0;border-radius:8px;flex:1 1;font-size:16px;padding:12px 15px;transition:border-color .3s}.search-input:focus{border-color:#2196f3;outline:none}.btn-create-new{background:#4caf50;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:16px;font-weight:500;padding:12px 20px;transition:background .3s;white-space:nowrap}.btn-create-new:hover{background:#45a049}.products-list{display:flex;flex-direction:column;gap:12px}.product-item{align-items:center;background:#f9f9f9;border-radius:8px;display:flex;justify-content:space-between;padding:15px;transition:background .2s}.product-item:hover{background:#f0f0f0}.product-info{flex:1 1}.product-info strong{color:#333;display:block;font-size:16px;margin-bottom:5px}.product-meta{color:#666;display:flex;font-size:14px;gap:15px}.btn-select{background:#2196f3;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;padding:8px 20px;transition:background .2s}.btn-select:hover{background:#1976d2}.empty-state,.loading-state{color:#999;padding:60px 20px;text-align:center}.btn-create-new-empty{background:#4caf50;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:16px;font-weight:500;margin-top:20px;padding:12px 30px;transition:background .3s}.btn-create-new-empty:hover{background:#45a049}@media (max-width:768px){.modal-content{max-height:90vh;width:95%}.product-meta,.search-section{flex-direction:column}.product-meta{gap:5px}}.outbound-management{margin:0 auto;max-width:1400px;padding:20px}.outbound-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:30px}.outbound-header h2{color:#333;font-size:28px;margin:0}.outbound-toast{animation:slideIn .3s ease-out;border-radius:8px;box-shadow:0 4px 12px #00000026;font-weight:500;padding:15px 25px;position:fixed;right:20px;top:20px;z-index:9999}.outbound-toast-success{background:#4caf50;color:#fff}.outbound-toast-error{background:#f44336;color:#fff}@keyframes slideIn{0%{opacity:0;transform:translateX(100%)}to{opacity:1;transform:translateX(0)}}.outbound-create{display:flex;justify-content:center;padding:40px 0}.create-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;max-width:500px;padding:40px;width:100%}.create-card h3{color:#333;font-size:24px;margin-bottom:20px;margin-top:0;text-align:center}.outbound-notice{background:#fff3cd;border:2px solid #ffc107;color:#856404;font-size:14px;font-weight:500;padding:12px 15px}.operator-info,.outbound-notice{border-radius:8px;margin-bottom:25px;text-align:center}.operator-info{background:#f5f9ff;border:2px solid #e3f2fd;padding:15px}.operator-label{color:#666;font-size:14px;margin-right:8px}.operator-name{color:#2196f3;font-size:18px;font-weight:600}.form-group{margin-bottom:25px}.form-group label{color:#555}.form-group input,.form-group textarea{border:2px solid #e0e0e0;border-radius:6px;font-size:16px;padding:12px;transition:border-color .3s;width:100%}.form-group input:focus,.form-group textarea:focus{border-color:#2196f3;outline:none}.outbound-scanning{display:flex;flex-direction:column;gap:20px}.scan-info-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:30px}.scan-header{align-items:center}.scan-header h3{color:#333;font-size:20px;margin:0 0 5px}.scan-header p{margin:0}.scan-stats{display:flex;gap:30px}.stat-item{align-items:center;display:flex;flex-direction:column}.stat-label{color:#666;font-size:14px;margin-bottom:5px}.stat-value{color:#2196f3;font-size:32px;font-weight:700}.stat-value.highlight{color:#4caf50}.scan-input-section{margin-top:20px}.scan-input-group{display:flex;gap:10px;margin-bottom:10px}.scan-input{border:3px solid #2196f3;border-radius:8px;flex:1 1;font-size:18px;padding:15px;transition:all .3s}.scan-input:focus{border-color:#1976d2;box-shadow:0 0 0 3px #2196f31a;outline:none}.btn-scan{background:#2196f3;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:16px;font-weight:500;padding:15px 30px;transition:background .3s}.btn-scan:hover{background:#1976d2}.scan-hint{color:#666;font-size:14px;margin:0}.scan-items-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;min-height:300px;padding:30px}.scan-items-card h4{color:#333;margin-bottom:20px;margin-top:0}.items-list{display:flex;flex-direction:column;gap:10px}.item-row{align-items:center;background:#f9f9f9;border-radius:8px;display:flex;gap:15px;padding:15px;transition:background .2s}.item-row:hover{background:#f0f0f0}.item-index{align-items:center;background:#2196f3;border-radius:50%;color:#fff;display:flex;font-size:14px;font-weight:700;height:30px;justify-content:center;width:30px}.item-info{display:flex;flex:1 1;flex-direction:column;gap:5px}.item-info strong{color:#333;font-size:16px}.item-barcode{color:#666;font-size:13px}.item-quantity{align-items:center;display:flex;gap:10px}.qty-btn{background:#2196f3;border:none;color:#fff;font-size:16px;height:30px;transition:background .2s;width:30px}.qty-btn:hover{background:#1976d2}.qty-value{font-size:16px;font-weight:700;min-width:30px;text-align:center}.btn-remove{background:#f44336;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;padding:8px 16px;transition:background .2s}.btn-remove:hover{background:#d32f2f}.empty-state{color:#999}.empty-state p{margin:0}.scan-actions{display:flex;gap:20px;justify-content:center;padding:20px 0}.btn-cancel,.btn-confirm,.btn-primary,.btn-secondary{border:none;border-radius:8px;cursor:pointer;font-size:16px;font-weight:500;padding:15px 40px;transition:all .3s}.btn-primary{background:#2196f3}.btn-primary:hover{background:#1976d2}.btn-primary.btn-large{font-size:18px;padding:18px;width:100%}.btn-secondary{background:#f5f5f5;color:#333}.btn-secondary:hover{background:#e0e0e0}.btn-cancel{background:#757575;color:#fff}.btn-cancel:hover{background:#616161}.btn-confirm{background:#4caf50}.btn-view-detail{background:#667eea;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;padding:8px 16px;transition:all .3s;white-space:nowrap}.btn-view-detail:hover{background:#5568d3;box-shadow:0 4px 8px #667eea4d;transform:translateY(-2px)}.btn-confirm:hover{background:#45a049}.btn-confirm:disabled{background:#ccc;cursor:not-allowed}button:disabled{cursor:not-allowed;opacity:.6}.outbound-history{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-top:40px;padding:30px}.outbound-history h3{color:#333;margin-bottom:20px;margin-top:0}.history-list{display:flex;flex-direction:column;gap:15px}.history-item{align-items:center;background:#f9f9f9;border-left:4px solid #2196f3;border-radius:8px;display:flex;gap:20px;justify-content:space-between;padding:20px}.history-content{flex:1 1}.history-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px}.history-header strong{color:#333;font-size:16px}.status-badge.status-confirmed{background:#4caf50;color:#fff}.status-badge.status-draft{background:#ff9800;color:#fff}.history-details{color:#666;display:flex;font-size:14px;gap:20px}@media (max-width:768px){.outbound-management{padding:15px}.outbound-header{gap:15px}.outbound-header,.scan-header{align-items:flex-start;flex-direction:column}.scan-header{gap:20px}.scan-stats{justify-content:space-around;width:100%}.scan-input-group{flex-direction:column}.item-row{flex-wrap:wrap}.scan-actions{flex-direction:column}.btn-confirm{width:100%}.history-details{flex-direction:column;gap:5px}}.inbound-management{margin:0 auto;max-width:1400px;padding:20px}.inbound-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:30px}.inbound-header h2{color:#333;font-size:28px;margin:0}.inbound-toast{animation:slideIn .3s ease-out;border-radius:8px;box-shadow:0 4px 12px #00000026;font-weight:500;padding:15px 25px;position:fixed;right:20px;top:20px;z-index:9999}.inbound-toast-success{background:#4caf50;color:#fff}.inbound-toast-error{background:#f44336;color:#fff}.inbound-toast-warning{background:#ff9800;color:#fff}.inbound-create{display:flex;justify-content:center;padding:40px 0}.inbound-scanning{display:flex;flex-direction:column;gap:20px}.qty-btn-quick{background:#2196f3;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;min-width:45px;padding:6px 12px;transition:background .2s}.qty-btn-quick:hover:not(:disabled){background:#1976d2}.qty-btn-quick:disabled{background:#ccc;cursor:not-allowed}.qty-input{border:2px solid #2196f3;padding:6px 8px}.qty-input:focus{border-color:#1976d2}.btn-select-product{background:#9c27b0;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:16px;font-weight:500;padding:15px 25px;transition:background .3s}.btn-select-product:hover{background:#7b1fa2}.btn-confirm-inbound{background:#4caf50}.btn-confirm-inbound:hover:not(:disabled){background:#45a049}.inbound-history{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-top:40px;padding:30px}.inbound-history h3{color:#333;margin-bottom:20px;margin-top:0}.item-location{background:#e3f2fd;border-radius:4px;color:#1976d2;display:inline-block;font-size:13px;font-weight:500;margin-left:12px;padding:2px 8px}.location-input-group{align-items:center;display:flex;gap:6px;margin-right:10px}.location-input{border:2px solid #ff9800;border-radius:4px;font-size:14px;padding:6px 8px;text-align:center;width:80px}.location-input:focus{border-color:#f57c00;outline:none}.location-input::placeholder{color:#999;font-size:12px}.btn-save-location{background:#ff9800;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:13px;font-weight:500;padding:6px 12px;transition:background .2s;white-space:nowrap}.btn-save-location:hover:not(:disabled){background:#f57c00}.btn-save-location:disabled{background:#ccc;cursor:not-allowed;opacity:.6}@media (max-width:768px){.inbound-management{padding:15px}.item-row{flex-wrap:wrap;gap:10px}.location-input-group{order:2;width:100%}.location-input{flex:1 1}.item-quantity-controls{flex-wrap:wrap;order:3;width:100%}.qty-btn-quick{font-size:12px;min-width:40px;padding:5px 10px}.qty-input{width:60px}}.modal-create-product{max-width:600px}.modal-create-product .modal-body{max-height:70vh}.form-row{grid-gap:15px;display:grid;gap:15px;grid-template-columns:1fr 1fr}.form-group label{font-size:14px}.form-group input,.form-group select{border:2px solid #e0e0e0;border-radius:6px;font-size:15px;padding:10px 12px;transition:border-color .3s;width:100%}.form-group input:focus,.form-group select:focus{border-color:#2196f3;outline:none}.form-group input.barcode-auto-filled{background:#f1f8f4;border-color:#4caf50}.brand-input-row,.brand-select-row{display:flex;gap:10px}.brand-select-row select{flex:1 1}.btn-cancel-new-brand,.btn-new-brand{border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;padding:10px 16px;transition:background .2s;white-space:nowrap}.btn-new-brand{background:#4caf50;color:#fff}.btn-new-brand:hover{background:#45a049}.btn-cancel-new-brand{background:#f44336;color:#fff}.btn-cancel-new-brand:hover{background:#d32f2f}.brand-input-row input{flex:1 1}.form-actions{border-top:2px solid #f0f0f0;display:flex;gap:15px;justify-content:flex-end;margin-top:30px;padding-top:20px}.form-actions .btn-cancel,.form-actions .btn-submit{border:none;border-radius:8px;cursor:pointer;font-size:16px;font-weight:500;padding:12px 30px;transition:background .2s}.form-actions .btn-cancel{background:#e0e0e0;color:#333}.form-actions .btn-cancel:hover{background:#d0d0d0}.form-actions .btn-submit{background:#2196f3;color:#fff}.form-actions .btn-submit:hover{background:#1976d2}.form-actions .btn-cancel:disabled,.form-actions .btn-submit:disabled{cursor:not-allowed;opacity:.6}@media (max-width:768px){.form-row{grid-template-columns:1fr}.brand-input-row,.brand-select-row,.form-actions{flex-direction:column}.form-actions .btn-cancel,.form-actions .btn-submit{width:100%}}.inventory-check-list{margin:0 auto;max-width:1400px;padding:20px}.page-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:30px}.page-header h1{color:#333;font-size:28px;margin:0}.header-buttons{display:flex;gap:10px}.filter-section{align-items:center}.filter-section label{font-weight:500}.filter-section .form-control{border:1px solid #ddd;border-radius:4px;font-size:14px;padding:8px 12px}.checks-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.check-card{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:20px;transition:transform .2s,box-shadow .2s}.check-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.check-header{align-items:start;border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;margin-bottom:15px;padding-bottom:15px}.check-header h3{color:#333;font-size:18px;margin:0 0 8px}.check-info p{color:#666;font-size:14px;margin:8px 0}.check-info strong{color:#333;margin-right:8px}.check-actions{display:flex;gap:10px;margin-top:15px}.btn-edit,.btn-view{border:none;border-radius:4px;color:#fff;cursor:pointer;flex:1 1;font-size:14px;padding:8px 16px}.btn-view{background:#007bff}.btn-view:hover{background:#0056b3}.btn-edit{background:#28a745}.btn-edit:hover{background:#218838}.btn-primary,.btn-snapshot{border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px}.btn-snapshot{align-items:center;background:#17a2b8;color:#fff;display:flex;gap:5px}.btn-snapshot:hover{background:#138496}.empty-state{background:#fff;border-radius:8px;grid-column:1/-1;padding:60px 20px;text-align:center}.empty-state p{color:#999;font-size:16px;margin-bottom:20px}.inventory-check-create{margin:0 auto;max-width:1200px;padding:20px}.create-container,.scan-container{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:30px}.create-container h2,.scan-container h2{color:#333;font-size:24px;margin:0 0 20px}.draft-warning{background:#fff3cd;border:2px solid #ffc107;border-radius:8px;margin-bottom:20px;padding:15px}.draft-warning strong{color:#856404;display:block;font-size:16px;margin-bottom:8px}.draft-warning p{color:#856404;font-size:14px;margin:5px 0}.draft-item{align-items:center;background:#fff;border-radius:4px;display:flex;justify-content:space-between;margin-top:10px;padding:10px}.draft-item span{color:#333;font-size:14px}.btn-goto-draft{background:#28a745;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:13px;padding:6px 12px}.btn-goto-draft:hover{background:#218838}.form-group{margin-bottom:20px}.form-group label{margin-bottom:8px}.required{color:#dc3545;margin-left:4px}.form-input,.form-textarea{border:1px solid #ddd;border-radius:4px;font-size:14px;padding:10px 12px;width:100%}.form-input:focus,.form-textarea:focus{border-color:#007bff;outline:none}.form-textarea{resize:vertical}.form-actions,.scan-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:30px}.btn-add,.btn-primary,.btn-secondary{border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px}.btn-primary:hover:not(:disabled){background:#218838}.btn-primary:disabled{background:#6c757d;cursor:not-allowed}.scan-header{align-items:start;border-bottom:2px solid #f0f0f0;display:flex;justify-content:space-between;margin-bottom:30px;padding-bottom:20px}.scan-header p{color:#666;margin:5px 0 0}.scan-stats{color:#007bff;font-size:16px;font-weight:500}.scan-input-section{background:#f8f9fa;border-radius:8px;margin-bottom:30px;padding:20px}.input-row{align-items:flex-end;display:flex;gap:15px}.input-group{flex:1 1}.input-group label{color:#333;display:block;font-size:14px;font-weight:500;margin-bottom:5px}.btn-add{background:#007bff;color:#fff;flex:0 0 120px;height:40px;margin-top:auto}.btn-add:hover:not(:disabled){background:#0056b3}.btn-add:disabled{background:#6c757d;cursor:not-allowed}.hint-text{color:#666;font-size:13px;margin:10px 0 0}.items-preview{margin-bottom:30px}.items-preview h3{color:#333;font-size:18px;margin:0 0 15px}.empty-hint{color:#999;font-size:14px;padding:40px;text-align:center}.items-list{border:1px solid #ddd;border-radius:4px;max-height:300px;overflow-y:auto}.item-preview{align-items:center;border-bottom:1px solid #f0f0f0;display:flex;gap:15px;padding:12px 15px}.item-preview:last-child{border-bottom:none}.item-barcode{color:#333;flex:1 1;font-weight:500}.item-quantity{color:#007bff;font-weight:500}.item-time{color:#999;font-size:12px}.more-items-hint{background:#f8f9fa;color:#999;font-size:13px;padding:10px;text-align:center}.draft-badge{background:#fff3cd;border-radius:4px;color:#856404;display:inline-block;font-size:13px;font-weight:500;margin-top:5px;padding:4px 12px}.items-list-detailed{border:1px solid #ddd;border-radius:4px;max-height:400px;overflow-y:auto}.item-row-detailed{align-items:center;border-bottom:1px solid #f0f0f0;display:flex;gap:15px;padding:12px 15px}.item-row-detailed:last-child{border-bottom:none}.item-info-detailed{flex:1 1}.item-info-detailed strong{color:#333;display:block;font-size:14px;margin-bottom:4px}.item-barcode-small{color:#999;font-family:monospace;font-size:12px}.item-quantity-detailed{color:#666;font-size:14px;min-width:80px;text-align:right}.item-quantity-detailed strong{color:#007bff;font-size:16px}.item-quantity-controls{align-items:center;display:flex;gap:8px}.qty-btn{align-items:center;background:#fff;border:1px solid #ddd;border-radius:4px;color:#333;cursor:pointer;display:flex;font-size:18px;font-weight:700;height:32px;justify-content:center;transition:all .2s;width:32px}.qty-btn:hover{background:#007bff;border-color:#007bff;color:#fff}.qty-btn:active{transform:scale(.95)}.qty-input{border:1px solid #ddd;border-radius:4px;color:#007bff;font-size:16px;font-weight:700;height:32px;text-align:center;width:70px}.qty-input:focus{border-color:#007bff;outline:none}.qty-input::-webkit-inner-spin-button,.qty-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.btn-delete-item{background:#dc3545;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:12px;padding:6px 12px}.btn-delete-item:hover{background:#c82333}.item-row-preview{align-items:center;border-bottom:1px solid #f0f0f0;display:flex;gap:15px;padding:12px 15px;transition:background .2s}.item-row-preview:hover{background:#f8f9fa}.item-row-preview:last-child{border-bottom:none}.item-info-preview{flex:1 1}.item-info-preview strong{color:#333;display:block;font-size:14px;margin-bottom:4px}.item-last-scan{animation:fadeIn .3s;background:#28a745;border-radius:10px;color:#fff;display:inline-block;font-size:11px;margin-left:8px;padding:2px 8px}@keyframes fadeIn{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.item-quantity-preview{color:#666;font-size:14px;min-width:100px;text-align:right}.item-quantity-preview strong{color:#007bff;font-size:18px}.item-row-preview .item-quantity-controls{align-items:center;display:flex;gap:8px;min-width:150px}.inventory-check-detail{margin:0 auto;max-width:1400px;padding:20px}.detail-header{align-items:start;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;display:flex;justify-content:space-between;margin-bottom:20px;padding:20px}.detail-header h2{color:#333;font-size:24px;margin:0 0 10px}.header-info{display:flex;flex-wrap:wrap;gap:20px;margin-top:10px}.info-item{color:#666;font-size:14px}.info-item strong{color:#333;margin-right:5px}.status-badge{border-radius:12px;font-size:12px;font-weight:500;padding:4px 12px}.status-draft{background:#fff3cd;color:#856404}.status-confirmed{background:#d4edda;color:#155724}.previous-check-info{color:#999;font-size:13px;margin-top:8px}.header-actions{display:flex;gap:10px}.summary-cards{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin-bottom:20px}.summary-card{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:20px;text-align:center}.card-label{color:#666;font-size:14px;margin-bottom:10px}.card-value{color:#333;font-size:32px;font-weight:700}.card-detail,.card-percent{color:#999;font-size:12px;margin-top:5px}.card-normal{border-left:4px solid #28a745}.card-shortage{border-left:4px solid #dc3545}.card-shortage .card-value{color:#dc3545}.card-surplus{border-left:4px solid #ffc107}.card-surplus .card-value{color:#ffc107}.card-value{border-left:4px solid #007bff}.filter-section{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;display:flex;gap:10px;margin-bottom:20px;padding:15px 20px}.filter-btn{background:#fff;border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:14px;padding:8px 16px;transition:all .2s}.filter-btn.active{background:#007bff;color:#fff}.filter-btn.active,.filter-btn:hover{border-color:#007bff}.items-section{display:flex;flex-direction:column;gap:15px}.item-card{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden;transition:all .2s}.item-card:hover{box-shadow:0 4px 12px #00000026}.item-card.diff-shortage{border-left:4px solid #dc3545}.item-card.diff-surplus{border-left:4px solid #ffc107}.item-card.diff-normal{border-left:4px solid #28a745}.item-header{cursor:pointer;gap:20px;padding:20px}.item-header,.item-main-info{align-items:center;display:flex}.item-main-info{flex:1 1;gap:15px}.item-icon{font-size:24px}.item-main-info h4{color:#333;font-size:16px;margin:0}.item-barcode{color:#999;display:block;font-family:monospace;font-size:12px;margin-top:4px}.item-quantities{align-items:center;display:flex;gap:15px}.quantity-item{align-items:center;display:flex;flex-direction:column;min-width:60px}.quantity-label{color:#999;font-size:12px;margin-bottom:4px}.quantity-value{font-size:20px;font-weight:700}.quantity-value.actual{color:#007bff}.quantity-value.theoretical{color:#666}.quantity-value.difference.diff-shortage{color:#dc3545}.quantity-value.difference.diff-surplus{color:#ffc107}.quantity-value.difference.diff-normal{color:#28a745}.quantity-divider{color:#ccc;font-weight:700}.expand-btn{border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:12px;padding:6px 12px}.expand-btn:hover{background:#e9ecef}.item-details{padding:20px}.calculation-flow{background:#fff;border-radius:4px;gap:10px;margin-bottom:15px;overflow-x:auto;padding:15px}.calculation-flow,.flow-item{align-items:center;display:flex}.flow-item{flex-direction:column;min-width:80px;padding:10px}.flow-label{color:#666;font-size:11px;margin-bottom:5px;text-align:center}.flow-value{color:#333;font-size:18px;font-weight:700}.flow-value.consumed{color:#dc3545}.flow-value.added{color:#28a745}.flow-operator{color:#999;font-size:20px;font-weight:700}.flow-result{background:#e7f3ff;border-radius:4px}.flow-result .flow-value{color:#007bff}.difference-value-info{background:#fff3cd;border-left:3px solid #ffc107}.difference-value-info,.item-notes{border-radius:4px;font-size:14px;margin-bottom:10px;padding:10px}.alert-box,.item-notes{background:#fff}.alert-box{border-left:3px solid #ff6b6b;border-radius:4px;font-size:13px;padding:15px}.alert-box ul{margin:8px 0 0;padding-left:20px}.alert-box li{color:#666;margin:4px 0}.empty-state,.error{background:#fff;border-radius:8px;color:#999;font-size:16px;padding:60px 20px;text-align:center}.loading{font-size:16px}.btn-edit,.btn-primary,.btn-secondary{border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px}.btn-primary{background:#28a745;color:#fff}.btn-primary:hover{background:#218838}.btn-secondary{background:#6c757d;color:#fff}.btn-secondary:hover{background:#5a6268}.btn-edit{background:#007bff;color:#fff}.btn-edit:hover{background:#0056b3}.app{min-height:100vh}.container{margin:0 auto;max-width:1200px;padding:20px}.card{background:#fff;border-radius:16px;box-shadow:0 2px 8px #2c5f7c1a;margin-bottom:20px;padding:20px}.form-group{margin-bottom:15px}.form-group label{color:#333;display:block;font-weight:500;margin-bottom:5px}.form-control{border:1px solid #ddd;border-radius:5px;font-size:16px;padding:10px;width:100%}.form-control:focus{border-color:#6fb1c7;box-shadow:0 0 0 3px #6fb1c726;outline:none}.error{color:#dc3545;font-size:14px;margin-top:5px}.loading{color:#666;font-size:18px;padding:40px;text-align:center}.modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.modal-content{background:#fff;border-radius:16px;box-shadow:0 8px 32px #2c5f7c33;max-height:90vh;max-width:500px;overflow-y:auto;padding:30px;width:90%}table{border-collapse:collapse;display:block;margin-top:20px;overflow-x:auto;width:100%}td,th{border-bottom:1px solid #ddd;padding:12px;text-align:left;white-space:nowrap}th{font-weight:600}th,tr:hover{background-color:#f8f9fa}@media (max-width:768px){.container{padding:15px}.btn{font-size:14px;padding:8px 16px}.modal-overlay{padding:.5rem}.modal-content{padding:20px;width:95%}.card{margin-bottom:15px;padding:15px}table,td,th{font-size:14px}td,th{padding:8px}}@media (max-width:480px){.container{padding:10px}.btn{font-size:13px;padding:6px 12px}.modal-content{padding:15px}.card{padding:12px}td,th{font-size:13px;padding:6px}.form-control{font-size:14px}}
/*# sourceMappingURL=main.f56cc719.css.map*/