@import url(https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;500;600&display=swap);*{box-sizing:border-box;margin:0;padding:0}:root{--primary:#ff6b35;--primary-light:#ff8555;--primary-dark:#e55a25;--secondary:#1a1a1a;--secondary-light:#333;--accent:#ffb800;--background:#f8f9fa;--surface:#fff;--surface-warm:#f5f5f5;--text-primary:#1a1a1a;--text-secondary:#5a5a5a;--text-muted:#8a8a8a;--border:#e8e0d8;--success:#22c55e;--error:#ef4444;--shadow-sm:0 1px 2px #0000000d;--shadow-md:0 4px 12px #00000014;--shadow-lg:0 8px 24px #0000001f}body{-webkit-font-smoothing:antialiased;background-color:#f8f9fa;background-color:var(--background);color:#1a1a1a;color:var(--text-primary);font-family:Source Sans\ 3,-apple-system,BlinkMacSystemFont,sans-serif;line-height:1.6}h1,h2,h3,h4,h5,h6{font-family:Playfair Display,Georgia,serif;font-weight:600;line-height:1.3}button{border:none;cursor:pointer;transition:all .2s ease}button,input,select,textarea{font-family:Source Sans\ 3,sans-serif;outline:none}a{color:inherit;text-decoration:none}img{height:auto;max-width:100%}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:#f5f5f5;background:var(--surface-warm)}::-webkit-scrollbar-thumb{background:#e8e0d8;background:var(--border);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#8a8a8a;background:var(--text-muted)}.app{display:flex;flex-direction:column;min-height:100vh}.main-content{flex:1 1;padding-bottom:80px}.header{background:linear-gradient(135deg,#1a1a1a,#2a2a2a);box-shadow:var(--shadow-md);padding:16px 20px;position:-webkit-sticky;position:sticky;top:0;z-index:100}.header-content{justify-content:space-between;margin:0 auto;max-width:1200px}.header-content,.logo{align-items:center;display:flex}.logo{gap:12px}.logo-image{border-radius:8px;height:50px;object-fit:contain;width:auto}.logo-icon{align-items:center;background:var(--secondary);border-radius:10px;display:flex;font-size:20px;height:44px;justify-content:center;width:44px}.logo-icon.ambrosia-logo{background:linear-gradient(135deg,#ff6b35,#ffb800);border-radius:12px}.logo-icon.ambrosia-logo span{color:#fff;font-family:Playfair Display,serif;font-size:26px;font-weight:700}.logo-text h1{color:#ff6b35;font-size:1.25rem;font-weight:600}.logo-text span{color:#ffffffb3;font-size:.75rem;font-weight:400}.header-actions{gap:16px}.header-actions,.search-bar{align-items:center;display:flex}.search-bar{background:#ffffff26;border-radius:25px;gap:8px;min-width:200px;padding:8px 16px}.search-bar input{background:#0000;border:none;color:#fff;font-size:.9rem;width:100%}.search-bar input::placeholder,.search-bar svg{color:#ffffffb3}.cart-btn{align-items:center;background:#ffffff26;border-radius:50%;color:#fff;display:flex;height:44px;justify-content:center;position:relative;width:44px}.cart-btn:hover{background:#ffffff40}.cart-badge{align-items:center;border-radius:50%;display:flex;font-size:.7rem;font-weight:700;height:20px;justify-content:center;position:absolute;right:-4px;top:-4px;width:20px}.auth-btn,.cart-badge{background:var(--primary);color:#fff}.auth-btn{border-radius:25px;font-size:.9rem;font-weight:600;padding:10px 20px}.auth-btn:hover{background:var(--primary-light)}.user-menu{gap:8px}.user-avatar,.user-menu{align-items:center;color:#fff;display:flex}.user-avatar{background:var(--primary);border-radius:50%;font-weight:600;height:36px;justify-content:center;width:36px}.user-menu-container{position:relative}.user-avatar-btn{align-items:center;background:var(--primary);border:2px solid #0000;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:1.1rem;font-weight:600;height:42px;justify-content:center;transition:all .2s ease;width:42px}.user-avatar-btn:hover{border-color:#ffffff4d;transform:scale(1.05)}.user-avatar-btn .avatar-image{border-radius:50%;height:100%;object-fit:cover;width:100%}.user-dropdown{animation:dropdownSlide .2s ease;background:#fff;border-radius:16px;box-shadow:0 10px 40px #00000026;min-width:280px;overflow:hidden;position:absolute;right:0;top:calc(100% + 12px);z-index:1000}@keyframes dropdownSlide{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.dropdown-header{align-items:center;background:linear-gradient(135deg,#1a1a1a,#2d2d2d);display:flex;gap:14px;padding:20px}.dropdown-avatar{align-items:center;background:var(--primary);border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:1.3rem;font-weight:600;height:50px;justify-content:center;width:50px}.dropdown-avatar img{border-radius:50%;height:100%;object-fit:cover;width:100%}.dropdown-user-info{flex:1 1;min-width:0}.dropdown-name{color:#fff;font-size:1rem;font-weight:600;margin-bottom:2px}.dropdown-email,.dropdown-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-email{color:#ffffffb3;font-size:.85rem}.dropdown-divider{background:var(--border);height:1px;margin:0}.dropdown-item{align-items:center;background:#0000;color:var(--text-primary);display:flex;font-size:.95rem;gap:12px;padding:14px 20px;text-align:left;transition:background .2s ease;width:100%}.dropdown-item:hover{background:var(--surface-warm)}.dropdown-item svg{color:var(--text-muted)}.dropdown-item.logout-item,.dropdown-item.logout-item svg{color:var(--error)}.dropdown-item.logout-item:hover{background:#fee2e2}.bottom-nav{background:#fff;border-top:1px solid var(--border);bottom:0;box-shadow:0 -4px 12px #00000014;left:0;padding:8px 0;position:fixed;right:0;z-index:100}.bottom-nav-content{display:flex;justify-content:space-around;margin:0 auto;max-width:500px}.nav-item{align-items:center;background:#0000;border-radius:12px;color:var(--text-muted);display:flex;flex-direction:column;gap:4px;padding:8px 16px;transition:all .2s ease}.nav-item.active{background:#2d501614;color:var(--primary)}.nav-item span{font-size:.75rem;font-weight:500}.page{margin:0 auto;max-width:1200px;padding:24px 20px}.page-title{color:var(--text-primary);font-size:1.75rem;margin-bottom:24px}.hero{background:linear-gradient(135deg,#1a1a1a,#2d2d2d);margin-bottom:32px;padding:48px 20px}.hero-content{grid-gap:40px;align-items:center;display:grid;gap:40px;grid-template-columns:1fr 1fr;margin:0 auto;max-width:1200px}.hero-text h1{color:#fff;font-size:2.5rem;margin-bottom:16px}.hero-logo{height:auto;margin-bottom:20px;max-width:280px}.hero-text p{color:#ffffffd9;font-size:1.1rem;margin-bottom:24px}.hero-btn{align-items:center;background:var(--primary);border-radius:30px;color:#fff;display:inline-flex;font-size:1rem;font-weight:600;gap:8px;padding:14px 32px}.hero-btn:hover{background:var(--primary-light);transform:translateY(-2px)}.hero-image{display:flex;justify-content:center}.hero-image img{border-radius:20px;box-shadow:var(--shadow-lg);max-width:400px;width:100%}.categories{display:flex;gap:12px;margin-bottom:32px;overflow-x:auto;padding:0 20px;scrollbar-width:none}.categories::-webkit-scrollbar{display:none}.category-btn{background:#fff;border:2px solid var(--border);border-radius:30px;color:var(--text-secondary);font-size:1.1rem;font-weight:700;letter-spacing:.3px;padding:16px 32px;transition:all .2s ease;white-space:nowrap}.category-btn.active{background:var(--primary);border-color:var(--primary);color:#fff}.category-btn:hover:not(.active){border-color:var(--primary);color:var(--primary)}.subcategories{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px;padding:0 20px}.subcategory-btn{background:var(--surface-warm);border:2px solid #0000;border-radius:25px;color:var(--text-secondary);font-size:1.05rem;font-weight:700;letter-spacing:.3px;padding:14px 26px;transition:all .2s ease}.subcategory-btn.active{background:var(--primary);color:#fff}.subcategory-btn:hover:not(.active){border-color:var(--primary);color:var(--primary)}.products-section{padding:0 20px}.section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.section-title{color:var(--text-primary);font-size:1.5rem}.products-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.product-card{background:#fff;border-radius:16px;box-shadow:var(--shadow-sm);cursor:pointer;overflow:hidden;transition:all .3s ease}.product-card:hover{box-shadow:var(--shadow-md);transform:translateY(-4px)}.product-image{height:180px;overflow:hidden;position:relative}.product-image img{height:100%;object-fit:cover;width:100%}.product-badge{background:var(--primary);border-radius:12px;font-weight:600;left:12px;padding:4px 10px}.product-badge,.product-rating{color:#fff;font-size:.75rem;position:absolute;top:12px}.product-rating{align-items:center;background:#0009;border-radius:8px;display:flex;gap:4px;padding:4px 8px;right:12px}.product-info{padding:16px}.product-name{color:var(--text-primary);font-family:Playfair Display,serif;font-size:1rem;font-weight:600;margin-bottom:4px}.product-unit{color:var(--text-muted);font-size:.8rem;margin-bottom:12px}.product-footer{align-items:center;display:flex;justify-content:space-between}.product-price{color:var(--primary);font-size:1.25rem;font-weight:700}.add-to-cart-btn{align-items:center;background:var(--primary);border-radius:50%;color:#fff;display:flex;height:40px;justify-content:center;width:40px}.add-to-cart-btn:hover{background:var(--primary-light);transform:scale(1.1)}.cart-empty{padding:60px 20px;text-align:center}.cart-empty svg{color:var(--text-muted);margin-bottom:16px}.cart-empty h2{color:var(--text-secondary);margin-bottom:8px}.cart-empty p{color:var(--text-muted);margin-bottom:24px}.shop-btn{background:var(--primary);border-radius:25px;color:#fff;font-weight:600;padding:14px 32px}.cart-items{display:flex;flex-direction:column;gap:16px;margin-bottom:24px}.cart-item{background:#fff;border-radius:16px;box-shadow:var(--shadow-sm);display:flex;gap:16px;padding:16px}.cart-item-image{border-radius:12px;flex-shrink:0;height:100px;overflow:hidden;width:100px}.cart-item-image img{height:100%;object-fit:cover;width:100%}.cart-item-details{flex:1 1}.cart-item-name{color:var(--text-primary);font-size:1rem;font-weight:600;margin-bottom:4px}.cart-item-unit{color:var(--text-muted);font-size:.85rem;margin-bottom:8px}.cart-item-price{color:var(--primary);font-size:1.1rem;font-weight:700}.cart-item-actions{align-items:flex-end;display:flex;flex-direction:column;justify-content:space-between}.remove-btn{background:#0000;color:var(--error);padding:8px}.quantity-controls{background:var(--surface-warm);border-radius:25px;gap:12px;padding:4px}.qty-btn,.quantity-controls{align-items:center;display:flex}.qty-btn{background:#fff;border-radius:50%;box-shadow:var(--shadow-sm);color:var(--primary);height:32px;justify-content:center;width:32px}.qty-btn:disabled{cursor:not-allowed;opacity:.5}.quantity{font-weight:600;min-width:24px;text-align:center}.cart-summary{background:#fff;border-radius:16px;box-shadow:var(--shadow-sm);padding:24px}.summary-row{color:var(--text-secondary);display:flex;justify-content:space-between;margin-bottom:12px}.summary-row.total{border-top:1px solid var(--border);color:var(--text-primary);font-size:1.25rem;font-weight:700;margin-top:16px;padding-top:16px}.checkout-btn{align-items:center;background:var(--primary);border-radius:12px;color:#fff;display:flex;font-size:1rem;font-weight:600;gap:8px;justify-content:center;margin-top:16px;padding:16px;width:100%}.checkout-btn:hover{background:var(--primary-light)}.modal-overlay{align-items:center;background:#00000080;display:flex;inset:0;justify-content:center;padding:20px;position:fixed;z-index:200}.modal{background:#fff;border-radius:24px;max-height:90vh;max-width:420px;overflow-y:auto;padding:32px;width:100%}.modal-header{margin-bottom:24px;text-align:center}.modal-header h2{color:var(--text-primary);font-size:1.5rem;margin-bottom:8px}.close-btn,.modal-header p{color:var(--text-muted)}.close-btn{background:#0000;position:absolute;right:16px;top:16px}.form-group{margin-bottom:20px}.form-group label{color:var(--text-primary);display:block;font-weight:500;margin-bottom:8px}.form-group input{border:1px solid var(--border);border-radius:12px;font-size:1rem;padding:14px 16px;transition:border-color .2s;width:100%}.form-group input:focus{border-color:var(--primary)}.submit-btn{background:var(--primary);border-radius:12px;color:#fff;font-size:1rem;font-weight:600;padding:16px;width:100%}.submit-btn:hover{background:var(--primary-light)}.submit-btn:disabled{cursor:not-allowed;opacity:.7}.auth-switch{color:var(--text-muted);margin-top:20px;text-align:center}.auth-switch button{background:#0000;color:var(--primary);font-weight:600;margin-left:4px}.divider{align-items:center;color:var(--text-muted);display:flex;margin:24px 0}.divider:after,.divider:before{background:var(--border);content:"";flex:1 1;height:1px}.divider span{font-size:.85rem;padding:0 16px}.google-btn{align-items:center;background:#fff;border:1px solid var(--border);border-radius:12px;display:flex;font-weight:500;gap:12px;justify-content:center;padding:14px;width:100%}.google-btn:hover{background:var(--surface-warm)}.order-card{background:#fff;border-radius:16px;box-shadow:var(--shadow-sm);padding:20px}.order-header{align-items:flex-start;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;margin-bottom:16px;padding-bottom:16px}.order-number{color:var(--text-primary);font-weight:600}.order-date{color:var(--text-muted)}.order-status{border-radius:20px;font-size:.8rem;font-weight:600;padding:6px 12px}.order-status.pending{background:#fef3c7;color:#d97706}.order-status.confirmed{background:#dbeafe;color:#2563eb}.order-status.delivered{background:#d1fae5;color:#059669}.order-items{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.order-item{align-items:center;display:flex;gap:12px}.order-item-image{border-radius:8px;height:50px;overflow:hidden;width:50px}.order-item-image img{height:100%;object-fit:cover;width:100%}.order-item-name{flex:1 1;font-weight:500}.order-item-qty{color:var(--text-muted);font-size:.9rem}.order-total{border-top:1px solid var(--border);display:flex;font-weight:600;justify-content:space-between;padding-top:16px}.profile-header{background:linear-gradient(135deg,#1a1a1a,#2d2d2d);margin:-24px -20px 24px;padding:40px 20px;text-align:center}.profile-avatar{align-items:center;background:var(--primary);border:4px solid #fff;border-radius:50%;color:#fff;display:flex;font-size:2.5rem;font-weight:600;height:100px;justify-content:center;margin:0 auto 16px;width:100px}.profile-name{color:#fff;font-size:1.5rem;margin-bottom:4px}.profile-email{color:#fffc}.profile-section{background:#fff;border-radius:16px;box-shadow:var(--shadow-sm);margin-bottom:16px;padding:20px}.profile-section h3{color:var(--text-secondary);font-size:1rem;margin-bottom:16px}.profile-item{align-items:center;border-bottom:1px solid var(--border);display:flex;gap:16px;padding:12px 0}.profile-item:last-child{border-bottom:none}.profile-item svg{color:var(--primary)}.logout-btn{align-items:center;background:#0000;border:1px solid var(--error);border-radius:12px;color:var(--error);display:flex;font-weight:600;gap:8px;justify-content:center;padding:14px;width:100%}.logout-btn:hover{background:var(--error);color:#fff}.product-detail{margin:0 auto;max-width:900px}.product-detail-image{border-radius:20px;height:350px;margin-bottom:24px;overflow:hidden;width:100%}.product-detail-image img{height:100%;object-fit:cover;width:100%}.product-detail-info{background:#fff;border-radius:20px;box-shadow:var(--shadow-sm);padding:24px}.product-detail-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:16px}.product-detail-name{font-size:1.75rem}.product-detail-rating{align-items:center;background:var(--surface-warm);border-radius:20px;display:flex;gap:4px;padding:8px 12px}.product-detail-description{color:var(--text-secondary);line-height:1.8;margin-bottom:24px}.product-detail-footer{align-items:center;border-top:1px solid var(--border);display:flex;justify-content:space-between;padding-top:20px}.product-detail-price{color:var(--primary);font-size:2rem;font-weight:700}.product-detail-unit{color:var(--text-muted);font-size:.9rem}.add-cart-btn{align-items:center;background:var(--primary);border-radius:30px;color:#fff;display:flex;font-size:1rem;font-weight:600;gap:8px;padding:16px 40px}.add-cart-btn:hover{background:var(--primary-light)}.checkout-form{background:#fff;border-radius:16px;box-shadow:var(--shadow-sm);padding:24px}.checkout-form h2{margin-bottom:20px}.form-row{grid-template-columns:1fr 1fr}.form-group textarea{border:1px solid var(--border);border-radius:12px;font-size:1rem;min-height:100px;padding:14px 16px;resize:vertical;width:100%}.form-group textarea:focus{border-color:var(--primary)}.order-review{background:var(--surface-warm);border-radius:12px;margin:24px 0;padding:20px}.order-review h3{margin-bottom:16px}.place-order-btn{background:var(--primary);border-radius:12px;color:#fff;font-size:1.1rem;font-weight:600;padding:18px;width:100%}.place-order-btn:hover{background:var(--primary-light)}.login-required-card{background:#fff;border-radius:20px;box-shadow:var(--shadow-md);margin:40px auto;max-width:450px;padding:48px 32px;text-align:center}.login-required-icon{align-items:center;background:linear-gradient(135deg,var(--primary) 0,var(--primary-light) 100%);border-radius:50%;color:#fff;display:flex;height:80px;justify-content:center;margin:0 auto 24px;width:80px}.login-required-card h2{color:var(--text-primary);font-size:1.5rem;margin-bottom:12px}.login-required-card p{color:var(--text-secondary);line-height:1.6;margin-bottom:32px}.login-required-actions{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}.login-btn-primary{background:var(--primary);border-radius:12px;color:#fff;font-size:1rem;font-weight:600;padding:16px 32px;width:100%}.login-btn-primary:hover{background:var(--primary-light)}.login-btn-secondary{background:#0000;border:2px solid var(--primary);border-radius:12px;color:var(--primary);font-size:1rem;font-weight:600;padding:16px 32px;width:100%}.login-btn-secondary:hover{background:#ff6b3514}.back-to-cart-btn{background:#0000;color:var(--text-muted);font-size:.9rem;padding:12px}.back-to-cart-btn:hover{color:var(--text-primary)}.success-message{padding:40px 20px;text-align:center}.success-icon{align-items:center;background:#d1fae5;border-radius:50%;color:var(--success);display:flex;height:80px;justify-content:center;margin:0 auto 20px;width:80px}.success-message h2{color:var(--success);margin-bottom:8px}.loading{align-items:center;display:flex;justify-content:center;padding:40px}.spinner{animation:spin .8s linear infinite;border:3px solid var(--border);border-radius:50%;border-top-color:var(--primary);height:40px;width:40px}@keyframes spin{to{transform:rotate(1turn)}}.error-message{background:#fee2e2;border-radius:8px;color:var(--error);font-size:.9rem;margin-bottom:16px;padding:12px 16px}.toast{animation:slideUp .3s ease;background:var(--text-primary);border-radius:12px;bottom:100px;box-shadow:var(--shadow-lg);color:#fff;font-weight:500;left:50%;padding:14px 24px;position:fixed;transform:translateX(-50%);z-index:300}@keyframes slideUp{0%{opacity:0;transform:translateX(-50%) translateY(20px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}@media (max-width:768px){.hero-content{grid-template-columns:1fr;text-align:center}.hero-text h1{font-size:2rem}.hero-image,.search-bar{display:none}.form-row{grid-template-columns:1fr}.products-grid{gap:12px;grid-template-columns:repeat(2,1fr)}.product-card .product-info{padding:12px}.product-name{font-size:.9rem}.product-starting-price{color:#666;font-size:.85rem;margin-bottom:10px}.choose-option-btn{background:var(--primary)!important;background-color:#ff6b35!important;border:none!important;border-radius:8px!important;color:#fff!important;cursor:pointer;font-size:.9rem!important;font-weight:600!important;padding:10px 16px!important;transition:all .2s ease;width:100%}.choose-option-btn:hover{background:var(--primary-light);transform:translateY(-1px)}.weight-modal-overlay{align-items:center;animation:fadeIn .2s ease;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.weight-modal{animation:slideUp .3s ease;background:#fff;border-radius:16px;max-height:90vh;max-width:400px;overflow-y:auto;position:relative;width:100%}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-close-btn{align-items:center;background:#f5f5f5;border:none;border-radius:50%;cursor:pointer;display:flex;height:32px;justify-content:center;position:absolute;right:12px;top:12px;transition:all .2s ease;width:32px;z-index:1}.modal-close-btn:hover{background:#e0e0e0}.modal-product-info{border-bottom:1px solid #eee;padding:20px;text-align:center}.modal-product-image{border-radius:12px;height:120px;margin-bottom:12px;object-fit:cover;width:120px}.modal-product-name{color:#333;font-size:1.2rem;font-weight:600;margin:0}.modal-weight-section{padding:20px}.modal-section-title{color:#666;font-size:.9rem;font-weight:500;margin-bottom:12px}.modal-weight-options{display:flex;flex-direction:column;gap:8px}.modal-weight-option{align-items:center;background:#f8f9fa;border:2px solid #0000;border-radius:10px;cursor:pointer;display:flex;justify-content:space-between;padding:14px 16px;transition:all .2s ease}.modal-weight-option:hover{background:#f0f0f0;border-color:#ddd}.modal-weight-option.active{background:#ff6b3514;border-color:var(--primary)}.modal-weight-option .option-weight{color:#333;font-size:1rem;font-weight:500}.modal-weight-option .option-price,.modal-weight-option.active .option-weight{color:var(--primary);font-weight:600}.modal-weight-option .option-price{font-size:1rem}.modal-footer{align-items:center;border-top:1px solid #eee;display:flex;gap:16px;justify-content:space-between;padding:20px}.modal-total{display:flex;flex-direction:column}.modal-total .total-label{color:#666;font-size:.8rem}.modal-total .total-price{color:var(--primary);font-size:1.4rem;font-weight:700}.modal-add-btn{background:var(--primary);border:none;border-radius:10px;color:#fff;cursor:pointer;flex:1 1;font-size:1rem;font-weight:600;padding:14px 24px;transition:all .2s ease}.modal-add-btn:hover{background:var(--primary-light)}.price-display{display:flex;flex-direction:column}.product-weight-label{color:#888;font-size:.7rem;font-weight:500}.weight-selection-section{border-top:1px solid #00000014;margin:20px 0;padding:16px 0}.weight-section-title{color:#666;font-size:.9rem;font-weight:500;margin-bottom:12px}.weight-pills-detail{display:flex;flex-wrap:wrap;gap:10px}.weight-pill-detail{background:#fff;border:2px solid #e0e0e0;border-radius:25px;color:#333;cursor:pointer;font-size:.9rem;font-weight:500;padding:10px 20px;transition:all .2s ease}.weight-pill-detail:hover{border-color:#333}.weight-pill-detail.active{background:#fff;border-color:#333;font-weight:600}.product-price-section{margin:20px 0}.product-detail-total{color:var(--primary);font-size:1.8rem;font-weight:700}.total-label{color:#666;font-size:.85rem;margin-bottom:4px}.quantity-section{align-items:center;border-top:1px solid #00000014;display:flex;gap:16px;margin:20px 0;padding:16px 0}.quantity-label{color:#666;font-size:.9rem;font-weight:500}.quantity-selector{align-items:center;border:2px solid #e0e0e0;border-radius:30px;display:flex;gap:0;overflow:hidden}.qty-control-btn{align-items:center;background:#fff;border:none;cursor:pointer;display:flex;height:44px;justify-content:center;transition:all .2s ease;width:44px}.qty-control-btn:hover:not(:disabled){background:#f5f5f5}.qty-control-btn:disabled{cursor:not-allowed;opacity:.4}.qty-value{color:#333;font-size:1.1rem;font-weight:600;min-width:40px;text-align:center}@media (max-width:768px){.weight-pills{gap:4px}.weight-pill{font-size:.65rem;padding:3px 8px}.weight-pill-detail{font-size:.85rem;padding:8px 16px}}.product-price{font-size:1rem}}.admin-login-page{align-items:center;background:linear-gradient(135deg,#1a1a1a,#2d2d2d);display:flex;justify-content:center;min-height:100vh;padding:20px}.back-home-btn{align-items:center;background:#ffffff1a;border-radius:8px;color:#fff;display:flex;font-size:.9rem;gap:8px;left:20px;padding:10px 16px;position:absolute;top:20px}.back-home-btn:hover{background:#fff3}.admin-login-card{background:#fff;border-radius:20px;box-shadow:0 20px 60px #0000004d;max-width:400px;padding:48px 40px;text-align:center;width:100%}.admin-login-icon{align-items:center;background:linear-gradient(135deg,#ff6b35,#ffb800);border-radius:50%;color:#fff;display:flex;height:80px;justify-content:center;margin:0 auto 24px;width:80px}.admin-login-card h1{color:#1a1a1a;font-size:1.75rem;margin-bottom:8px}.admin-login-card p{color:#666;margin-bottom:32px}.admin-error{background:#fee2e2;border-radius:8px;color:#dc2626;font-size:.9rem;margin-bottom:20px;padding:12px}.admin-input-group{align-items:center;background:#f5f5f5;border-radius:12px;display:flex;gap:12px;margin-bottom:20px;padding:14px 16px}.admin-input-group svg{color:#999}.admin-input-group input{background:#0000;border:none;flex:1 1;font-size:1rem}.admin-login-btn{background:linear-gradient(135deg,#ff6b35,#ff8555);border-radius:12px;color:#fff;font-size:1rem;font-weight:600;padding:16px;width:100%}.admin-login-btn:hover{box-shadow:0 8px 20px #ff6b354d;transform:translateY(-2px)}.admin-layout{background:#f5f5f5;display:flex;min-height:100vh}.admin-sidebar{background:#1a1a1a;display:flex;flex-direction:column;height:100vh;left:0;position:fixed;top:0;width:260px;z-index:100}.admin-sidebar-header{border-bottom:1px solid #ffffff1a;padding:24px}.admin-sidebar-header h2{color:#ff6b35;font-size:1.5rem;margin-bottom:4px}.admin-sidebar-header span{color:#fff9;font-size:.85rem}.admin-nav{display:flex;flex:1 1;flex-direction:column;gap:8px;padding:20px 12px}.admin-nav-item{align-items:center;background:#0000;border-radius:10px;color:#ffffffb3;display:flex;font-size:.95rem;gap:12px;padding:14px 16px;transition:all .2s ease}.admin-nav-item:hover{background:#ffffff14;color:#fff}.admin-nav-item.active{background:linear-gradient(135deg,#ff6b35,#ff8555);color:#fff}.admin-logout-btn{align-items:center;background:#0000;border:1px solid #fff3;border-radius:10px;color:#ffffffb3;display:flex;gap:12px;margin:12px;padding:14px 16px}.admin-logout-btn:hover{background:#dc262633;border-color:#dc2626;color:#fca5a5}.admin-main{flex:1 1;margin-left:260px;padding:24px}.admin-content{margin:0 auto;max-width:1400px}.admin-content h1{color:#1a1a1a;font-size:1.75rem;margin-bottom:24px}.admin-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:24px}.admin-header h1{margin-bottom:0}.add-btn{align-items:center;background:linear-gradient(135deg,#ff6b35,#ff8555);border-radius:10px;color:#fff;display:flex;font-weight:600;gap:8px;padding:12px 20px}.add-btn:hover{box-shadow:0 6px 16px #ff6b354d;transform:translateY(-2px)}.stats-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(5,1fr);margin-bottom:32px}.stat-card{background:#fff;border-radius:16px;box-shadow:0 2px 8px #0000000f;gap:16px;padding:24px}.stat-card,.stat-icon{align-items:center;display:flex}.stat-icon{border-radius:14px;color:#fff;height:56px;justify-content:center;width:56px}.stat-icon.products{background:linear-gradient(135deg,#6366f1,#8b5cf6)}.stat-icon.orders{background:linear-gradient(135deg,#f59e0b,#fbbf24)}.stat-icon.revenue{background:linear-gradient(135deg,#10b981,#34d399)}.stat-icon.pending{background:linear-gradient(135deg,#ef4444,#f87171)}.stat-icon.low-stock{background:linear-gradient(135deg,#dc2626,#ef4444)}.stat-card.low-stock-card{border:2px solid #fee2e2}.low-stock-section{background:#fff;border:2px solid #fee2e2;border-radius:16px;box-shadow:0 2px 8px #0000000f;margin-bottom:24px;padding:24px}.low-stock-header{align-items:center;color:#dc2626;display:flex;gap:12px;margin-bottom:20px}.low-stock-header h2{color:#dc2626;font-size:1.1rem;margin:0}.low-stock-badge{background:#fee2e2;border-radius:20px;color:#dc2626;font-size:.8rem;font-weight:600;margin-left:auto;padding:4px 12px}.low-stock-list{display:flex;flex-direction:column;gap:12px}.low-stock-item{align-items:center;background:#fef2f2;border-radius:12px;display:flex;gap:16px;padding:12px 16px;transition:all .2s ease}.low-stock-item:hover{background:#fee2e2}.low-stock-img{border-radius:10px;height:50px;object-fit:cover;width:50px}.low-stock-info{display:flex;flex:1 1;flex-direction:column}.low-stock-name{color:#1a1a1a;font-weight:600}.low-stock-category{color:#666;font-size:.85rem}.low-stock-count{border-radius:20px;font-size:.85rem;font-weight:700;padding:6px 14px}.low-stock-count.warning{background:#fef3c7;color:#d97706}.low-stock-count.critical{background:#fee2e2;color:#dc2626}.restock-btn{background:#ff6b35;border-radius:8px;color:#fff;font-size:.85rem;font-weight:600;padding:8px 16px}.restock-btn:hover{background:#e55a25}.stat-info{display:flex;flex-direction:column}.stat-value{color:#1a1a1a;font-size:1.75rem;font-weight:700}.stat-label{color:#666;font-size:.9rem}.order-summary{background:#fff;border-radius:16px;box-shadow:0 2px 8px #0000000f;padding:24px}.order-summary h2{color:#1a1a1a;font-size:1.1rem;margin-bottom:20px}.order-status-bars{display:flex;flex-direction:column;gap:16px}.status-bar{align-items:center;display:flex;gap:16px}.status-label{color:#666;font-size:.9rem;width:100px}.bar-container{background:#f0f0f0;border-radius:6px;flex:1 1;height:12px;overflow:hidden}.bar{border-radius:6px;height:100%;transition:width .5s ease}.bar.pending{background:linear-gradient(90deg,#f59e0b,#fbbf24)}.bar.confirmed{background:linear-gradient(90deg,#3b82f6,#60a5fa)}.bar.delivered{background:linear-gradient(90deg,#10b981,#34d399)}.status-count{color:#1a1a1a;font-weight:600;text-align:right;width:40px}.admin-search{align-items:center;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000f;display:flex;gap:12px;margin-bottom:24px;padding:14px 20px}.admin-search svg{color:#999}.admin-search input{border:none;flex:1 1;font-size:1rem}.admin-table-container{background:#fff;border-radius:16px;box-shadow:0 2px 8px #0000000f;overflow:hidden}.admin-table{border-collapse:collapse;width:100%}.admin-table th{background:#f9f9f9;color:#666;font-size:.85rem;font-weight:600;letter-spacing:.5px;padding:16px;text-align:left;text-transform:uppercase}.admin-table td{border-top:1px solid #f0f0f0;padding:16px;vertical-align:middle}.product-thumb{border-radius:10px;height:60px;object-fit:cover;width:60px}.product-name-cell .name{color:#1a1a1a;display:block;font-weight:600}.product-name-cell .unit{color:#999;font-size:.85rem}.category-badge{background:#eef2ff;color:#6366f1}.category-badge,.subcategory-badge{border-radius:6px;display:inline-block;font-size:.8rem;font-weight:500;padding:4px 10px}.subcategory-badge{background:#fef3c7;color:#d97706;margin-left:6px}.stock-badge{background:#d1fae5;border-radius:20px;color:#059669;display:inline-block;font-weight:600;padding:4px 12px}.stock-badge.low{background:#fee2e2;color:#dc2626}.action-btns{display:flex;gap:8px}.delete-btn,.edit-btn{align-items:center;border-radius:8px;display:flex;height:36px;justify-content:center;width:36px}.edit-btn{background:#eef2ff;color:#6366f1}.edit-btn:hover{background:#6366f1;color:#fff}.delete-btn{background:#fee2e2;color:#dc2626}.delete-btn:hover{background:#dc2626;color:#fff}.orders-list{display:flex;flex-direction:column;gap:16px}.no-orders{background:#fff;border-radius:16px;color:#999;padding:60px;text-align:center}.order-card-header{align-items:center;background:#f9f9f9;display:flex;justify-content:space-between;padding:20px}.order-info h3{color:#1a1a1a;font-size:1rem;margin-bottom:4px}.order-date{color:#999;font-size:.85rem}.status-select{border:none;border-radius:8px;cursor:pointer;font-size:.85rem;font-weight:600;padding:8px 16px}.status-select.pending{background:#fef3c7;color:#d97706}.status-select.confirmed{background:#dbeafe;color:#2563eb}.status-select.delivered{background:#d1fae5;color:#059669}.status-select.cancelled{background:#fee2e2;color:#dc2626}.order-customer{border-bottom:1px solid #f0f0f0;padding:16px 20px}.order-customer p{color:#666;margin-bottom:4px}.order-customer .address{color:#999;font-size:.9rem}.order-items-list{padding:16px 20px}.order-item-row{border-bottom:1px dashed #f0f0f0;display:flex;justify-content:space-between;padding:8px 0}.order-item-row:last-child{border-bottom:none}.item-name{color:#1a1a1a;flex:1 1}.item-qty{color:#999;text-align:center;width:60px}.item-price{color:#1a1a1a;font-weight:600;text-align:right;width:80px}.order-card-footer{align-items:center;background:#f9f9f9;display:flex;justify-content:space-between;padding:16px 20px;text-align:right}.order-total{color:#ff6b35;font-size:1.1rem;font-weight:700}.archived-badge{background:#e5e7eb;border-radius:12px;color:#6b7280;font-size:.8rem;font-weight:600;padding:4px 12px}.swipeable-order-wrapper{border-radius:16px;margin-bottom:16px;overflow:hidden;position:relative;transition:background .2s ease}.swipe-action{align-items:center;bottom:0;color:#fff;display:flex;font-size:.9rem;font-weight:600;justify-content:center;position:absolute;top:0;width:150px}.swipe-action.left{background:linear-gradient(90deg,#f97316,#fb923c);left:0}.swipe-action.right{background:linear-gradient(90deg,#f87171,#ef4444);right:0}.admin-order-card{background:#fff;border-radius:16px;box-shadow:0 2px 8px #0000000f;cursor:grab;overflow:hidden;position:relative;transition:transform .15s ease,box-shadow .15s ease;-webkit-user-select:none;user-select:none}.admin-order-card.dragging{box-shadow:0 8px 24px #00000026;cursor:grabbing}.admin-order-card.archived{background:#f9fafb;opacity:.7}.orders-filter-tabs{display:flex;gap:8px;margin-bottom:16px}.filter-tab{background:#f0f0f0;border-radius:25px;color:#666;font-size:.9rem;font-weight:500;padding:10px 20px;transition:all .2s ease}.filter-tab:hover{background:#e0e0e0}.filter-tab.active{background:linear-gradient(135deg,#ff6b35,#ff8555);color:#fff}.swipe-hint{background:#fef3c7;border-radius:10px;color:#d97706;font-size:.85rem;margin-bottom:16px;padding:10px 16px;text-align:center}.bulk-delete-toggle{background:#fee2e2;border-radius:10px;color:#dc2626;font-size:.9rem;font-weight:600;padding:10px 20px}.bulk-delete-toggle:hover{background:#fecaca}.bulk-delete-section{background:#fff;border:2px solid #fee2e2;border-radius:12px;margin-bottom:20px;padding:20px}.bulk-delete-section p{color:#666;margin-bottom:12px}.bulk-delete-controls{align-items:center;display:flex;gap:12px}.bulk-delete-controls select{border:1px solid #e0e0e0;border-radius:8px;font-size:.95rem;padding:10px 16px}.bulk-delete-btn{background:#dc2626;border-radius:8px;color:#fff;font-weight:600;padding:10px 20px}.bulk-delete-btn:hover{background:#b91c1c}.admin-modal{background:#fff;border-radius:20px;max-height:90vh;max-width:600px;overflow-y:auto;width:100%}.admin-modal-header{align-items:center;border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;padding:24px}.admin-modal-header h2{color:#1a1a1a;font-size:1.25rem}.product-form{padding:24px}.form-row{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.product-form .form-group{margin-bottom:20px}.product-form label{color:#1a1a1a;display:block;font-weight:500;margin-bottom:8px}.product-form input,.product-form select,.product-form textarea{border:1px solid #e0e0e0;border-radius:10px;font-size:1rem;padding:12px 14px;width:100%}.product-form input:focus,.product-form select:focus,.product-form textarea:focus{border-color:#ff6b35;outline:none}.image-preview{border-radius:10px;margin-top:12px;overflow:hidden}.image-preview img{max-height:200px;object-fit:cover;width:100%}.form-actions{border-top:1px solid #f0f0f0;display:flex;gap:12px;justify-content:flex-end;margin-top:8px;padding-top:16px}.cancel-btn{background:#f5f5f5;border-radius:10px;color:#666;font-weight:500;padding:12px 24px}.cancel-btn:hover{background:#e0e0e0}.save-btn{align-items:center;background:linear-gradient(135deg,#ff6b35,#ff8555);border-radius:10px;color:#fff;display:flex;font-weight:600;gap:8px;padding:12px 24px}.save-btn:hover{box-shadow:0 6px 16px #ff6b354d;transform:translateY(-2px)}.admin-loading{display:flex;justify-content:center;padding:60px}@media (max-width:1200px){.stats-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.admin-sidebar{width:70px}.admin-logout-btn span,.admin-nav-item span,.admin-sidebar-header h2,.admin-sidebar-header span{display:none}.admin-main{margin-left:70px}.stats-grid{grid-template-columns:1fr}.admin-header{align-items:stretch;flex-direction:column;gap:16px}}
/*# sourceMappingURL=main.87dd6e19.css.map*/