*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth;width:100%;min-height:100%}body{color:#172033;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f7f8fc;width:100%;min-width:320px;min-height:100vh;font-family:Arial,Helvetica,sans-serif}#root{width:100%;min-height:100vh}button,input,textarea,select{font:inherit}button{-webkit-tap-highlight-color:transparent}input,textarea,select{outline:none}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #2563eb4d}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#f1f3f7}::-webkit-scrollbar-thumb{background:#cbd3df;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#aeb8c8}::selection{color:#fff;background:#2563eb}.auth-page{box-sizing:border-box;background:linear-gradient(135deg,#e8f3ff 0%,#f5f9ff 50%,#dcecff 100%);justify-content:center;align-items:center;width:100%;min-height:100vh;padding:20px;display:flex}.auth-card{box-sizing:border-box;background:#fff;border:1px solid #fffc;border-radius:24px;width:100%;max-width:430px;padding:35px 30px;box-shadow:0 20px 50px #0000001f}.auth-brand{text-align:center;margin-bottom:30px}.auth-logo{width:170px;height:105px;box-shadow:none;background:0 0;justify-content:center;align-items:center;margin:0 auto 12px;display:flex;overflow:hidden}.auth-logo img{object-fit:contain;object-position:center;width:100%;height:100%;display:block}.auth-brand h1{color:#111827;letter-spacing:-.5px;margin:0;font-size:32px;font-weight:800}.auth-brand p{color:#6b7280;margin:8px 0 0;font-size:15px}.auth-form{flex-direction:column;display:flex}.auth-form label{color:#374151;margin-bottom:7px;font-size:14px;font-weight:600}.auth-form input{box-sizing:border-box;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:12px;outline:none;width:100%;height:48px;margin-bottom:18px;padding:0 14px;font-size:15px;transition:border-color .2s,box-shadow .2s,background .2s}.auth-form input::placeholder{color:#9ca3af}.auth-form input:focus{border-color:#4f7cff;box-shadow:0 0 0 3px #4f7cff1f}.auth-form input:disabled{cursor:not-allowed;background:#f3f4f6}.auth-error{color:#be123c;background:#fff1f2;border:1px solid #fecdd3;border-radius:10px;margin-bottom:16px;padding:12px 14px;font-size:14px;line-height:1.4}.auth-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2878ff,#5b4cff);border:none;border-radius:12px;width:100%;height:50px;font-size:16px;font-weight:700;transition:transform .2s,box-shadow .2s,opacity .2s}.auth-button:hover{transform:translateY(-1px);box-shadow:0 8px 20px #3b5bff40}.auth-button:active{transform:translateY(0)}.auth-button:disabled{opacity:.65;cursor:not-allowed;box-shadow:none;transform:none}.auth-switch{text-align:center;border-top:1px solid #e5e7eb;flex-wrap:wrap;justify-content:center;align-items:center;gap:5px;margin-top:24px;padding-top:20px;display:flex}.auth-switch span{color:#6b7280;font-size:14px}.auth-switch button{color:#36f;cursor:pointer;background:0 0;border:none;padding:0;font-size:14px;font-weight:700}.auth-switch button:hover{text-decoration:underline}.auth-switch button:disabled{opacity:.5;cursor:not-allowed}@media (width<=500px){.auth-page{padding:15px}.auth-card{border-radius:20px;padding:30px 22px}.auth-logo{width:145px;height:90px;margin-bottom:10px}.auth-brand h1{font-size:28px}.auth-brand p{font-size:14px}.auth-form input{height:47px;font-size:15px}.auth-button{height:49px;font-size:15px}}@media (width<=360px){.auth-page{padding:10px}.auth-card{border-radius:18px;padding:25px 18px}.auth-logo{background:#eee;border:2px solid #2878ff;justify-content:center;align-items:center;width:200px;height:130px;margin:0 auto 15px;display:flex;overflow:hidden}.auth-logo img{object-fit:contain;width:100%;height:100%;display:block}.auth-brand h1{font-size:25px}.auth-brand p,.auth-form label{font-size:13px}.auth-form input{height:45px;font-size:14px}.auth-button{height:47px;font-size:15px}.auth-switch span,.auth-switch button{font-size:13px}}.products-page{box-sizing:border-box;background:#f5f7fb;width:100%;min-height:100vh;padding:30px}.products-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px;display:flex}.products-title{min-width:0}.products-header h1{color:#111827;letter-spacing:-.5px;margin:0;font-size:32px;font-weight:800}.products-header p{color:#6b7280;margin:7px 0 0;font-size:15px}.refresh-button{color:#fff;cursor:pointer;background:#2878ff;border:none;border-radius:10px;min-height:44px;padding:11px 18px;font-size:14px;font-weight:600;transition:background .2s,transform .2s,box-shadow .2s}.refresh-button:hover{background:#1d63dc;transform:translateY(-1px);box-shadow:0 6px 15px #2878ff33}.refresh-button:active{transform:translateY(0)}.refresh-button:disabled{opacity:.6;cursor:not-allowed;box-shadow:none;transform:none}.products-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:22px;width:100%;display:grid}.product-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;flex-direction:column;min-width:0;transition:transform .2s,box-shadow .2s;display:flex;overflow:hidden;box-shadow:0 5px 20px #0000000f}.product-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #0000001a}.product-image{background:#f3f4f6;justify-content:center;align-items:center;width:100%;height:210px;display:flex;overflow:hidden}.product-image img{object-fit:cover;width:100%;height:100%;transition:transform .3s;display:block}.product-card:hover .product-image img{transform:scale(1.03)}.product-placeholder{background:#f3f4f6;justify-content:center;align-items:center;width:100%;height:100%;font-size:55px;display:flex}.product-info{flex-direction:column;flex:1;padding:18px;display:flex}.product-info h2{color:#111827;word-break:break-word;margin:0 0 7px;font-size:18px;line-height:1.35}.product-category{color:#36f;background:#eef4ff;border-radius:6px;width:fit-content;margin-bottom:8px;padding:4px 8px;font-size:12px;font-weight:600;display:inline-block}.product-description{color:#6b7280;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:8px 0;font-size:13px;line-height:1.5;display:-webkit-box;overflow:hidden}.product-bottom{justify-content:space-between;align-items:center;gap:10px;margin-top:auto;padding-top:15px;display:flex}.product-price{color:#111827;white-space:nowrap;font-size:18px;font-weight:800}.add-cart-button{color:#fff;cursor:pointer;white-space:nowrap;background:#2878ff;border:none;border-radius:9px;min-height:40px;padding:9px 13px;font-size:13px;font-weight:600;transition:background .2s,transform .2s}.add-cart-button:hover{background:#1d63dc;transform:translateY(-1px)}.add-cart-button:active{transform:translateY(0)}.add-cart-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.cart-message{color:#2454b8;background:#eef4ff;border:1px solid #c7d9ff;border-radius:10px;margin-bottom:20px;padding:12px 15px;font-size:14px;line-height:1.4}.products-message{text-align:center;color:#6b7280;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:60px 20px}.products-message p{margin:12px 0 0}.loading-spinner{color:#2878ff;font-size:35px;animation:1s linear infinite products-spin}@keyframes products-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.products-empty{text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:60px 20px}.products-empty .empty-icon{margin-bottom:10px;font-size:55px}.products-empty h2{color:#111827;margin:0 0 8px;font-size:22px}.products-empty p{color:#6b7280;margin:0;font-size:14px}.products-error{text-align:center;color:#be123c;background:#fff1f2;border:1px solid #fecdd3;border-radius:18px;padding:50px 20px}.error-icon{margin-bottom:10px;font-size:40px}.products-error h2{margin:0 0 8px;font-size:20px}.products-error p{color:#9f1239;margin:0;font-size:14px}.try-again-button{color:#fff;cursor:pointer;background:#2878ff;border:none;border-radius:9px;min-height:42px;margin-top:15px;padding:10px 18px;font-size:14px;font-weight:600;transition:background .2s,transform .2s}.try-again-button:hover{background:#1d63dc;transform:translateY(-1px)}.try-again-button:active{transform:translateY(0)}@media (width<=900px){.products-page{padding:25px 20px}.products-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.product-image{height:190px}}@media (width<=600px){.products-page{padding:18px 14px 30px}.products-header{flex-direction:column;align-items:stretch;gap:15px;margin-bottom:22px}.products-header h1{font-size:27px}.products-header p{font-size:14px;line-height:1.4}.refresh-button{width:100%;min-height:46px}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-card{border-radius:14px}.product-image{height:155px}.product-info{padding:12px}.product-info h2{font-size:15px;line-height:1.3}.product-category{padding:4px 7px;font-size:11px}.product-description{font-size:12px;line-height:1.4}.product-bottom{flex-direction:column;align-items:stretch;gap:9px}.product-price{font-size:16px}.add-cart-button{width:100%;min-height:42px;font-size:13px}.products-message,.products-empty,.products-error{padding:45px 15px}}@media (width<=380px){.products-page{padding-left:10px;padding-right:10px}.products-grid{grid-template-columns:1fr;gap:15px}.product-image{height:200px}.product-info{padding:15px}.product-bottom{flex-direction:row;align-items:center}.add-cart-button{width:auto}}@media (hover:none){.product-card:hover{transform:none;box-shadow:0 5px 20px #0000000f}.product-card:hover .product-image img,.refresh-button:hover,.add-cart-button:hover,.try-again-button:hover{transform:none}}.cart-page{box-sizing:border-box;background:#fff7cc;width:100%;min-height:100vh;padding:30px}.cart-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;display:flex}.cart-header h1{color:#111827;letter-spacing:-.5px;margin:0;font-size:32px;font-weight:800}.cart-header p{color:#6b7280;margin:7px 0 0;font-size:15px}.cart-refresh-button{color:#fff;cursor:pointer;background:#2878ff;border:none;border-radius:10px;min-height:44px;padding:11px 18px;font-size:14px;font-weight:600;transition:background .2s,transform .2s,box-shadow .2s}.cart-refresh-button:hover{background:#1d63dc;transform:translateY(-1px);box-shadow:0 6px 15px #2878ff33}.cart-refresh-button:active{transform:translateY(0)}.cart-success{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:10px;margin-bottom:20px;padding:12px 15px;font-size:14px;line-height:1.4}.cart-error-small{color:#be123c;background:#fff1f2;border:1px solid #fecdd3;border-radius:10px;margin-bottom:20px;padding:12px 15px;font-size:14px;line-height:1.4}.cart-layout{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:24px;width:100%;display:grid}.cart-items{flex-direction:column;gap:15px;display:flex}.cart-item{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:16px;align-items:center;gap:18px;width:100%;min-width:0;padding:16px;transition:box-shadow .2s,transform .2s;display:flex;box-shadow:0 4px 15px #0000000a}.cart-item:hover{transform:translateY(-1px);box-shadow:0 8px 22px #00000012}.cart-item-image{background:#f3f4f6;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:125px;height:125px;display:flex;overflow:hidden}.cart-item-image img{object-fit:contain;width:100%;height:100%;display:block}.cart-placeholder{background:#f3f4f6;justify-content:center;align-items:center;width:100%;height:100%;font-size:45px;display:flex}.cart-item-info{flex-direction:column;flex:1;min-width:0;display:flex}.cart-item-info h2{color:#111827;word-break:break-word;margin:0 0 7px;font-size:18px;font-weight:700;line-height:1.35}.cart-item-price{color:#6b7280;margin:0 0 12px;font-size:14px}.quantity-controls{align-items:center;gap:10px;display:flex}.quantity-controls button{color:#111827;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:7px;width:34px;height:34px;padding:0;font-size:20px;line-height:1;transition:background .2s,border-color .2s}.quantity-controls button:hover:not(:disabled){color:#2878ff;background:#f3f6ff;border-color:#2878ff}.quantity-controls button:disabled{opacity:.45;cursor:not-allowed}.quantity-controls span{text-align:center;color:#111827;min-width:30px;font-size:15px;font-weight:700}.cart-item-right{flex-direction:column;justify-content:center;align-items:flex-end;gap:12px;min-width:105px;display:flex}.cart-item-right strong{color:#111827;white-space:nowrap;font-size:18px;font-weight:800}.remove-cart-button{color:#dc2626;cursor:pointer;background:0 0;border:none;padding:5px 0;font-size:13px;font-weight:600}.remove-cart-button:hover{text-decoration:underline}.remove-cart-button:disabled{opacity:.5;cursor:not-allowed}.cart-summary{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:16px;width:100%;padding:22px;position:sticky;top:85px;box-shadow:0 5px 20px #0000000d}.cart-summary h2{color:#111827;margin:0 0 20px;font-size:20px;font-weight:800}.summary-row{color:#4b5563;justify-content:space-between;align-items:center;gap:15px;margin:15px 0;font-size:14px;display:flex}.summary-row strong{color:#111827;font-size:15px}.summary-divider{background:#e5e7eb;width:100%;height:1px;margin:18px 0}.summary-total{color:#111827;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px;font-size:18px;font-weight:700;display:flex}.summary-total strong{font-size:21px;font-weight:800}.checkout-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2878ff,#5b4cff);border:none;border-radius:10px;width:100%;min-height:48px;font-size:15px;font-weight:700;transition:transform .2s,box-shadow .2s,opacity .2s}.checkout-button:hover{transform:translateY(-1px);box-shadow:0 8px 20px #3b5bff40}.checkout-button:active{transform:translateY(0)}.cart-message-box{text-align:center;color:#6b7280;background:#fff;border:1px solid #e5e7eb;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;min-height:300px;display:flex}.cart-message-box p{margin:12px 0 0;font-size:15px}.cart-spinner{color:#2878ff;font-size:38px;animation:1s linear infinite cart-spin}@keyframes cart-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.cart-empty{box-sizing:border-box;text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;min-height:350px;padding:50px 20px;display:flex}.cart-empty-icon{margin-bottom:12px;font-size:65px}.cart-empty h2{color:#111827;margin:0 0 8px;font-size:23px}.cart-empty p{color:#6b7280;margin:0;font-size:14px}.cart-error{box-sizing:border-box;text-align:center;color:#be123c;background:#fff1f2;border:1px solid #fecdd3;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;min-height:300px;padding:50px 20px;display:flex}.cart-error-icon{margin-bottom:10px;font-size:45px}.cart-error h2{margin:0 0 8px;font-size:21px}.cart-error p{color:#9f1239;max-width:600px;margin:0;font-size:14px;line-height:1.5}.cart-action-button{color:#fff;cursor:pointer;background:#2878ff;border:none;border-radius:9px;min-height:42px;margin-top:18px;padding:10px 18px;font-size:14px;font-weight:600}.cart-action-button:hover{background:#1d63dc}@media (width<=900px){.cart-page{padding:25px 20px}.cart-layout{grid-template-columns:minmax(0,1fr) 300px;gap:18px}.cart-item-image{width:105px;height:105px}.cart-item{gap:15px}}@media (width<=700px){.cart-page{padding:18px 14px 30px}.cart-header{flex-direction:column;align-items:stretch;gap:15px;margin-bottom:20px}.cart-header h1{font-size:27px}.cart-header p{font-size:14px;line-height:1.4}.cart-refresh-button{width:100%}.cart-layout{grid-template-columns:1fr;gap:15px}.cart-summary{order:2;position:static}.cart-items{order:1}.cart-item{border-radius:14px;align-items:flex-start;gap:12px;padding:13px}.cart-item-image{border-radius:10px;width:85px;height:85px}.cart-placeholder{font-size:35px}.cart-item-info h2{font-size:15px}.cart-item-price{font-size:13px}.quantity-controls{gap:7px}.quantity-controls button{width:30px;height:30px;font-size:18px}.quantity-controls span{min-width:25px;font-size:14px}.cart-item-right{align-items:flex-end;gap:8px;min-width:auto}.cart-item-right strong{font-size:15px}.remove-cart-button{font-size:12px}}@media (width<=480px){.cart-page{padding-left:10px;padding-right:10px}.cart-item{grid-template-columns:75px minmax(0,1fr);gap:12px;display:grid}.cart-item-image{grid-row:span 2;width:75px;height:75px}.cart-item-info{min-width:0}.cart-item-right{flex-direction:row;grid-column:2;justify-content:space-between;align-items:center;width:100%;margin-top:2px}.cart-item-right strong{font-size:16px}.cart-summary{padding:18px}.cart-empty{min-height:300px;padding:40px 15px}.cart-empty-icon{font-size:55px}}@media (width<=360px){.cart-header h1{font-size:24px}.cart-item{grid-template-columns:65px minmax(0,1fr);padding:10px}.cart-item-image{width:65px;height:65px}.cart-item-info h2,.cart-item-right strong{font-size:14px}.checkout-button{min-height:46px;font-size:14px}}@media (hover:none){.cart-item:hover{transform:none;box-shadow:0 4px 15px #0000000a}.cart-refresh-button:hover,.checkout-button:hover{box-shadow:none;transform:none}.quantity-controls button:hover:not(:disabled){color:#111827;background:#fff;border-color:#d1d5db}}.admin-page{box-sizing:border-box;color:#0f172a;background:#f5f7fb;width:100%;min-height:calc(100vh - 64px);padding:34px 32px 60px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.admin-page *,.admin-page :before,.admin-page :after{box-sizing:border-box}.admin-header{justify-content:space-between;align-items:flex-start;gap:24px;width:min(1180px,100%);margin:0 auto 24px;display:flex}.admin-header h1{color:#0f172a;letter-spacing:-.7px;margin:0;font-size:clamp(30px,4vw,38px);font-weight:800;line-height:1.15}.admin-header p{color:#64748b;margin:8px 0 0;font-size:15px}.admin-refresh-btn,.section-heading button,.admin-form button,.admin-section>button{cursor:pointer;transition:all .2s;color:#1769ff!important;box-shadow:none!important;background:#eaf1ff!important;border:0!important;border-radius:10px!important;padding:10px 16px!important;font-size:14px!important;font-weight:700!important}.admin-refresh-btn:hover,.section-heading button:hover,.admin-form button:hover,.admin-section>button:hover{transform:translateY(-1px);background:#dce8ff!important}.admin-refresh-btn:disabled,.section-heading button:disabled,.admin-form button:disabled{opacity:.6;cursor:not-allowed;transform:none}.admin-success-message,.admin-error-message{border-radius:10px;width:min(1180px,100%);margin:0 auto 18px;padding:12px 15px;font-size:14px;font-weight:600}.admin-success-message{color:#087443;background:#ecfdf3;border:1px solid #b7efcf}.admin-error-message{color:#be123c;background:#fff1f2;border:1px solid #fecdd3}.admin-tabs{background:#fff;border:1px solid #e2e8f0;border-radius:13px;flex-wrap:wrap;align-items:center;gap:5px;width:min(1180px,100%);margin:0 auto 28px;padding:6px;display:flex;box-shadow:0 3px 14px #0f172a0d}.admin-tabs button{appearance:none;cursor:pointer;outline:none;transition:all .2s;color:#64748b!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:9px!important;padding:10px 17px!important;font-size:14px!important;font-weight:700!important}.admin-tabs button:hover{color:#0f172a!important;background:#f1f5f9!important}.admin-tabs button.active{color:#fff!important;background:#0f172a!important;box-shadow:0 4px 10px #0f172a29!important}.admin-section{width:min(1180px,100%);margin:0 auto}.admin-section>h2,.section-heading h2{color:#0f172a;margin:0 0 6px;font-size:24px;font-weight:800;line-height:1.25}.section-heading p{color:#64748b;margin:6px 0 0;font-size:14px}.admin-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:16px;display:grid}.admin-stat-card,.admin-sales-card{background:#fff;border:1px solid #e2e8f0;border-radius:15px;box-shadow:0 5px 18px #0f172a0f}.admin-stat-card{flex-direction:column;justify-content:space-between;min-height:116px;padding:20px;display:flex}.admin-stat-card span{color:#475569;font-size:14px;font-weight:600}.admin-stat-card strong{color:#0b1324;margin-top:10px;font-size:30px;font-weight:800;line-height:1;display:block}.admin-sales-card{background:linear-gradient(135deg,#fff 0%,#f8fbff 100%);justify-content:space-between;align-items:center;gap:20px;margin-top:18px;padding:20px 22px;display:flex}.admin-sales-card h3{color:#475569;margin:0;font-size:14px;font-weight:700}.admin-sales-card strong{color:#0f172a;font-size:25px;font-weight:800}.orders-list{gap:18px;display:grid}.admin-order-card{background:#fff;border:1px solid #e2e8f0;border-radius:15px;padding:22px;box-shadow:0 5px 18px #0f172a0f}.order-card-header{border-bottom:1px solid #edf2f7;justify-content:space-between;align-items:center;gap:20px;padding-bottom:16px;display:flex}.order-card-header h3{color:#0f172a;margin:0;font-size:18px}.order-card-header small{color:#64748b;margin-top:5px;display:block}.order-header-right{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.order-header-right>strong{color:#0f172a;font-size:17px}.order-status,.payment-status,.active-badge,.inactive-badge,.payment-status{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:5px 10px;font-size:12px;font-weight:800;display:inline-flex}.order-status{color:#4338ca;background:#eef2ff}.payment-pending{color:#c2410c;background:#fff7ed}.payment-paid{color:#047857;background:#ecfdf3}.payment-failed{color:#be123c;background:#fff1f2}.payment-refund_pending{color:#a16207;background:#fefce8}.payment-refunded{color:#475569;background:#f1f5f9}.order-info-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px;display:grid}.order-info-box,.delivery-assignment-box,.order-status-section,.order-notes{background:#f8fafc;border:1px solid #e5eaf0;border-radius:12px}.order-info-box{padding:16px}.order-info-box h4,.delivery-assignment-box h4,.order-items-section h4,.order-status-section h4{color:#334155;margin:0 0 10px;font-size:14px;font-weight:800}.order-info-box p{color:#64748b;margin:6px 0;font-size:13px;line-height:1.5}.order-info-box p strong{color:#0f172a}.delivery-assignment-box{justify-content:space-between;align-items:center;gap:18px;margin-top:16px;padding:16px;display:flex}.assigned-person{flex-direction:column;gap:3px;display:flex}.assigned-person strong{color:#0f172a}.assigned-person span,.not-assigned{color:#64748b;font-size:13px}.not-assigned{margin:0}.delivery-assignment-controls{align-items:center;gap:8px;display:flex}.admin-page select,.admin-page input,.admin-page textarea{color:#0f172a;width:100%;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:9px;outline:none;padding:10px 12px}.admin-page select:focus,.admin-page input:focus,.admin-page textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.delivery-assignment-controls select{min-width:220px}.admin-page button.danger-button{cursor:pointer;color:#be123c!important;background:#fff1f2!important;border:0!important;border-radius:9px!important;padding:9px 13px!important;font-weight:700!important}.admin-page button.danger-button:hover{background:#ffe4e6!important}.admin-page button.danger-button:disabled{opacity:.55;cursor:not-allowed}.order-items-section{margin-top:16px;padding:16px 0 0}.order-items-list{border:1px solid #e5eaf0;border-radius:12px;overflow:hidden}.order-item-row{border-bottom:1px solid #edf2f7;grid-template-columns:1fr auto auto;align-items:center;gap:18px;min-height:58px;padding:11px 15px;display:grid}.order-item-row:last-child{border-bottom:0}.order-item-row strong{color:#0f172a;font-size:14px;display:block}.order-item-row small{color:#94a3b8;margin-top:3px;display:block}.order-item-row>span{color:#475569;font-size:13px;font-weight:600}.order-status-section{justify-content:space-between;align-items:center;gap:18px;margin-top:16px;padding:16px;display:flex}.order-status-control{align-items:center;gap:10px;min-width:250px;display:flex}.order-status-control label{color:#64748b;white-space:nowrap;font-size:12px;font-weight:700}.order-status-control select{min-width:190px}.status-updating{color:#2563eb;white-space:nowrap;font-size:12px;font-weight:700}.status-timeline{flex-wrap:wrap;gap:6px;margin-top:15px;display:flex}.status-timeline span{color:#94a3b8;background:#f1f5f9;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:700}.status-timeline span.current{color:#1d4ed8;background:#dbeafe}.order-notes{background:#fffbeb;border-color:#fde68a;margin-top:15px;padding:13px 15px}.order-notes strong{color:#92400e;font-size:13px}.order-notes p{color:#78350f;margin:6px 0 0;font-size:13px}.admin-form{background:#fff;border:1px solid #e2e8f0;border-radius:15px;margin:18px 0 22px;padding:22px;box-shadow:0 5px 18px #0f172a0d}.admin-form h3,.admin-table-wrapper h3{color:#0f172a;margin:0 0 17px;font-size:18px}.form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.admin-form textarea{resize:vertical;margin-top:12px}.checkbox-label{color:#475569;align-items:center;gap:8px;margin:13px 0;font-size:14px;font-weight:600;display:inline-flex}.checkbox-label input{width:auto}.admin-form>label:not(.checkbox-label){color:#475569;margin-top:12px;margin-bottom:7px;font-size:13px;font-weight:700;display:block}.admin-form>input[type=file]{padding:8px}.admin-form>button{margin-top:12px;color:#fff!important;background:#0f172a!important}.admin-form>button:hover{background:#1e293b!important}.admin-table-wrapper{background:#fff;border:1px solid #e2e8f0;border-radius:15px;padding:22px;overflow-x:auto;box-shadow:0 5px 18px #0f172a0d}.admin-table{border-collapse:collapse;width:100%;min-width:650px}.admin-table th,.admin-table td{text-align:left;border-bottom:1px solid #edf2f7;padding:12px 13px;font-size:13px}.admin-table th{color:#475569;text-transform:uppercase;letter-spacing:.4px;background:#f8fafc;font-size:12px}.admin-table td{color:#334155}.admin-table tr:last-child td{border-bottom:0}.admin-loading,.admin-empty{text-align:center;color:#64748b;background:#fff;border:1px dashed #cbd5e1;border-radius:14px;padding:42px 20px}.admin-empty h3{color:#334155;margin:0 0 8px}.admin-empty p{margin:0}.delivery-person-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.delivery-person-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;align-items:flex-start;gap:14px;padding:18px;display:flex;box-shadow:0 5px 18px #0f172a0d}.delivery-person-avatar{color:#fff;background:#0f172a;border-radius:50%;flex:0 0 45px;place-items:center;width:45px;height:45px;font-weight:800;display:grid}.delivery-person-card h3{color:#0f172a;margin:0 0 7px;font-size:16px}.delivery-person-card p{color:#64748b;margin:4px 0;font-size:12px}.active-badge{color:#047857;background:#ecfdf3;margin-top:8px}.inactive-badge{color:#be123c;background:#fff1f2;margin-top:8px}@media (width<=1000px){.admin-stats-grid,.order-info-grid,.delivery-person-grid,.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.admin-page{padding:22px 15px 45px}.admin-header,.section-heading,.order-card-header,.delivery-assignment-box,.order-status-section,.admin-sales-card{flex-direction:column;align-items:stretch}.admin-refresh-btn{width:100%}.admin-tabs{flex-wrap:nowrap;overflow-x:auto}.admin-tabs button{flex:none}.admin-stats-grid,.order-info-grid,.delivery-person-grid,.form-grid{grid-template-columns:1fr}.delivery-assignment-controls,.order-status-control{flex-wrap:wrap;width:100%;min-width:0}.delivery-assignment-controls select,.order-status-control select{flex:1;min-width:0}.order-item-row{grid-template-columns:1fr auto}.order-item-row>span:last-child{grid-column:2}}.orders-section{padding-bottom:20px}.orders-management-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px;display:flex}.orders-management-header h2{color:#0f172a;letter-spacing:-.4px;margin:0;font-size:28px;font-weight:800}.orders-management-header p{color:#64748b;margin:6px 0 0;font-size:14px;line-height:1.5}.orders-refresh-button{cursor:pointer;white-space:nowrap;color:#1769ff!important;background:#eef5ff!important;border:1px solid #dbe5f5!important;border-radius:10px!important;padding:10px 15px!important;font-weight:800!important}.orders-refresh-button:hover{background:#e2edff!important}.orders-summary-strip{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:15px;display:grid}.orders-summary-strip>div{background:#fff;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;min-height:72px;padding:13px 15px;display:flex}.orders-summary-strip span{color:#64748b;font-size:12px;font-weight:700}.orders-summary-strip strong{color:#0f172a;font-size:23px;font-weight:800}.orders-filter-panel{background:#fff;border:1px solid #e2e8f0;border-radius:14px;grid-template-columns:minmax(250px,1.6fr) repeat(3,minmax(150px,1fr)) auto;align-items:end;gap:11px;margin-bottom:11px;padding:16px;display:grid;box-shadow:0 4px 15px #0f172a0a}.orders-filter-panel>div{min-width:0}.orders-filter-panel label{color:#475569;text-transform:uppercase;letter-spacing:.35px;margin-bottom:6px;font-size:11px;font-weight:800;display:block}.orders-filter-panel input,.orders-filter-panel select{min-height:42px}.clear-order-filters,.clear-empty-filters{cursor:pointer;white-space:nowrap;color:#475569!important;background:#fff!important;border:1px solid #cbd5e1!important;border-radius:9px!important;padding:10px 13px!important;font-weight:800!important}.clear-order-filters:hover,.clear-empty-filters:hover{background:#f8fafc!important;border-color:#94a3b8!important}.clear-order-filters:disabled{opacity:.45;cursor:not-allowed}.orders-result-line{color:#64748b;margin:0 0 12px;font-size:12px}.orders-result-line strong{color:#0f172a}.order-heading-left{min-width:0}.order-number-row{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.order-date-chip{color:#64748b;background:#f1f5f9;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:700}.order-customer-preview{color:#64748b;margin-top:5px;font-size:12px;display:block}.order-box-title{color:#334155;align-items:center;gap:7px;margin-bottom:10px;font-size:13px;font-weight:800;display:flex}.order-box-icon{background:#eef4ff;border-radius:8px;place-items:center;width:26px;height:26px;font-size:13px;display:inline-grid}.assignment-person-area{min-width:0}.assignment-person-area h4{align-items:center;gap:7px;display:flex}.assignment-person-area h4 span{font-size:15px}.assignment-select-wrap{min-width:230px}.assignment-select-wrap label{color:#64748b;margin:0 0 5px;font-size:11px;font-weight:700;display:block}.assignment-select-wrap select{min-width:230px}.delivery-warning{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:9px;margin-top:11px;padding:10px 12px;font-size:12px;line-height:1.5}.delivery-warning code{background:#fef3c7;border-radius:5px;padding:2px 5px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11px}.order-section-title-row{justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px;display:flex}.order-section-title-row h4{margin:0!important}.order-section-title-row>span{color:#94a3b8;font-size:11px;font-weight:700}.order-item-main{min-width:0}.order-item-quantity{text-align:center;min-width:42px;color:#475569!important}.order-item-total{text-align:right;min-width:105px;color:#0f172a!important}.order-no-items{color:#94a3b8;text-align:center;padding:18px;font-size:13px}.order-status-main{min-width:0}.current-status-line{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.status-hint{color:#a16207;font-size:11px;font-weight:700}.enhanced-status-timeline{background:#fbfdff;border:1px solid #edf2f7;border-radius:12px;justify-content:space-between;align-items:flex-start;gap:4px;margin-top:16px;padding:14px 8px;display:flex;overflow-x:auto}.timeline-step{color:#94a3b8;flex-direction:column;flex:1;align-items:center;gap:6px;min-width:80px;display:flex;position:relative}.timeline-step:not(:last-child):after{content:"";z-index:0;background:#e2e8f0;height:2px;position:absolute;top:12px;left:calc(50% + 15px);right:calc(15px - 50%)}.timeline-step.completed:not(:last-child):after{background:#93c5fd}.timeline-dot{z-index:1;color:#94a3b8;background:#fff;border:2px solid #e2e8f0;border-radius:50%;place-items:center;width:25px;height:25px;font-size:10px;font-weight:800;display:grid;position:relative}.timeline-step.completed .timeline-dot{color:#1d4ed8;background:#dbeafe;border-color:#60a5fa}.timeline-step.current .timeline-dot{color:#fff;background:#0f172a;border-color:#0f172a;box-shadow:0 0 0 4px #e2e8f0}.timeline-label{color:#94a3b8;text-align:center;white-space:nowrap;font-size:10px;font-weight:700}.timeline-step.completed .timeline-label,.timeline-step.current .timeline-label{color:#475569}.timeline-special-status{flex:none;align-self:center;padding-left:8px}.orders-empty-state{padding:55px 20px}.orders-empty-icon{margin-bottom:10px;font-size:32px}.orders-empty-state h3{margin:0 0 7px}.orders-empty-state p{margin:0 0 15px}.clear-empty-filters{display:inline-flex}.order-loading-spinner{border:3px solid #dbeafe;border-top-color:#2563eb;border-radius:50%;width:26px;height:26px;margin:0 auto 10px;animation:.8s linear infinite order-spin}@keyframes order-spin{to{transform:rotate(360deg)}}@media (width<=1100px){.orders-filter-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.orders-search-wrap{grid-column:1/-1}.clear-order-filters{justify-self:start}}@media (width<=800px){.orders-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.orders-management-header{flex-direction:column}.orders-refresh-button{align-self:flex-start}.order-info-grid{grid-template-columns:1fr}.delivery-assignment-box,.order-status-section,.delivery-assignment-controls{flex-direction:column;align-items:stretch}.assignment-select-wrap,.assignment-select-wrap select{width:100%;min-width:0}.order-status-control{flex-wrap:wrap;min-width:0}.order-status-control select{flex:220px;min-width:0}}@media (width<=560px){.orders-summary-strip,.orders-filter-panel{grid-template-columns:1fr}.orders-search-wrap{grid-column:auto}.order-card-header{flex-direction:column;align-items:flex-start}.order-header-right{justify-content:flex-start}.order-item-row{grid-template-columns:1fr auto}.order-item-total{grid-column:2}}.admin-header-actions{flex-shrink:0;justify-content:flex-end;align-items:center;gap:10px;display:flex}.admin-header-actions .admin-refresh-btn,.admin-header-actions .admin-logout-btn{cursor:pointer;min-height:40px;line-height:20px;transition:background .2s,transform .2s;border-radius:10px!important;padding:10px 18px!important;font-size:14px!important;font-weight:700!important}.admin-header-actions .admin-logout-btn{color:#dc2626!important;box-shadow:none!important;background:#fff1f2!important;border:1px solid #fecaca!important}.admin-header-actions .admin-logout-btn:hover{transform:translateY(-1px);background:#ffe4e6!important}@media (width<=600px){.admin-header-actions{justify-content:flex-start;width:100%}}.delivery-page{box-sizing:border-box;background:#f5f7fb;min-height:100vh;padding:30px 20px 60px}.delivery-container{width:100%;max-width:1400px;margin:0 auto}.delivery-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;display:flex}.delivery-header h1{color:#172033;margin:0 0 6px;font-size:32px;font-weight:800}.delivery-header p{color:#667085;margin:0;font-size:15px}.delivery-refresh-btn,.delivery-primary-btn,.delivery-failed-btn,.delivery-qr-regenerate-btn{cursor:pointer;border:none;border-radius:9px;padding:11px 17px;font-size:14px;font-weight:700;transition:transform .2s,box-shadow .2s,opacity .2s}.delivery-refresh-btn:hover,.delivery-primary-btn:hover,.delivery-failed-btn:hover,.delivery-qr-regenerate-btn:hover{transform:translateY(-1px)}.delivery-refresh-btn:disabled,.delivery-primary-btn:disabled,.delivery-failed-btn:disabled,.delivery-qr-regenerate-btn:disabled{cursor:not-allowed;opacity:.6;transform:none}.delivery-refresh-btn{color:#344054;background:#fff;border:1px solid #d0d5dd;box-shadow:0 2px 6px #1018280f}.delivery-primary-btn{color:#fff;background:#2563eb;box-shadow:0 4px 12px #2563eb2e}.delivery-primary-btn:hover{background:#1d4ed8}.delivery-failed-btn{color:#dc2626;background:#fff1f2;border:1px solid #fecdd3}.delivery-failed-btn:hover{background:#ffe4e6}.delivery-qr-regenerate-btn{color:#fff;background:#111827;width:100%;margin-top:15px}.delivery-qr-regenerate-btn:hover{background:#1f2937}.delivery-alert{border-radius:10px;margin-bottom:18px;padding:13px 16px;font-size:14px}.delivery-alert-error{color:#b91c1c;background:#fff1f2;border:1px solid #fecdd3}.delivery-alert-success{color:#047857;background:#ecfdf3;border:1px solid #a7f3d0}.delivery-stats{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px;display:grid}.delivery-stat-card{background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:20px;box-shadow:0 3px 10px #1018280d}.delivery-stat-card span{color:#667085;margin-bottom:8px;font-size:13px;font-weight:600;display:block}.delivery-stat-card strong{color:#172033;font-size:28px;font-weight:800;display:block}.delivery-orders{flex-direction:column;gap:22px;display:flex}.delivery-order-card{background:#fff;border:1px solid #e4e7ec;border-radius:18px;grid-template-columns:minmax(0,1fr);transition:box-shadow .2s,transform .2s;display:grid;overflow:hidden;box-shadow:0 5px 18px #1018280f}.delivery-order-card-with-qr{grid-template-columns:minmax(0,1fr) 360px}.delivery-order-card:hover{box-shadow:0 8px 25px #10182817}.delivery-order-main{min-width:0;padding:24px}.delivery-order-top{border-bottom:1px solid #eaecf0;justify-content:space-between;align-items:flex-start;gap:15px;padding-bottom:18px;display:flex}.delivery-order-top h2{color:#172033;margin:0 0 5px;font-size:22px;font-weight:800}.delivery-order-date{color:#667085;font-size:12px;display:block}.delivery-status{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:7px 11px;font-size:12px;font-weight:700;display:inline-flex}.status-pending{color:#344054;background:#f2f4f7}.status-assigned{color:#1d4ed8;background:#eff6ff}.status-packed{color:#6d28d9;background:#f5f3ff}.status-shipped{color:#4338ca;background:#eef2ff}.status-picked_up{color:#c2410c;background:#fff7ed}.status-out_for_delivery{color:#0e7490;background:#ecfeff}.status-delivered{color:#047857;background:#ecfdf3}.status-delivery_failed{color:#b91c1c;background:#fff1f2}.status-cancelled{color:#667085;background:#f2f4f7}.delivery-section{border-bottom:1px solid #eaecf0;padding:18px 0}.delivery-section h3{color:#344054;margin:0 0 12px;font-size:15px;font-weight:800}.delivery-customer p{color:#475467;margin:6px 0;font-size:14px;line-height:1.5}.delivery-customer strong{color:#172033;font-size:15px}.delivery-items{flex-direction:column;gap:9px;display:flex}.delivery-item{background:#f8fafc;border:1px solid #eaecf0;border-radius:9px;justify-content:space-between;align-items:center;gap:15px;padding:11px 13px;display:flex}.delivery-item-info{min-width:0}.delivery-item-info strong{color:#344054;font-size:14px;line-height:1.4;display:block}.delivery-item-info small{color:#98a2b3;margin-top:3px;font-size:11px;display:block}.delivery-item-right{white-space:nowrap;color:#667085;align-items:center;gap:15px;font-size:13px;display:flex}.delivery-item-right strong{color:#172033}.delivery-payment{background:#f8fafc;border:1px solid #eaecf0;border-radius:10px;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px;padding:16px;display:grid}.delivery-payment div{flex-direction:column;gap:5px;display:flex}.delivery-payment span{color:#667085;font-size:12px}.delivery-payment strong{color:#172033;text-transform:capitalize;font-size:14px}.delivery-notes{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;margin-top:18px;padding:14px 16px}.delivery-notes strong{color:#92400e;margin-bottom:5px;font-size:13px;display:block}.delivery-notes p{color:#78350f;margin:0;font-size:13px;line-height:1.5}.delivery-actions{flex-wrap:wrap;gap:10px;padding-top:20px;display:flex}.delivery-actions button{flex:none}.delivery-qr-panel{text-align:center;background:#f8fafc;border-left:1px solid #e4e7ec;flex-direction:column;align-items:center;padding:25px 22px;display:flex}.delivery-qr-panel-header{justify-content:space-between;align-items:center;gap:10px;width:100%;margin-bottom:5px;display:flex}.delivery-qr-panel-header>div{align-items:center;gap:8px;min-width:0;display:flex}.delivery-qr-icon{font-size:20px}.delivery-qr-panel-header h3{color:#172033;text-align:left;margin:0;font-size:15px;font-weight:800}.delivery-qr-live{color:#15803d;letter-spacing:.5px;background:#dcfce7;border-radius:999px;flex-shrink:0;padding:4px 8px;font-size:9px;font-weight:800}.delivery-qr-order{color:#667085;margin:4px 0 16px;font-size:13px;font-weight:600}.delivery-qr-code{background:#fff;border:1px solid #e4e7ec;border-radius:14px;justify-content:center;align-items:center;width:250px;max-width:100%;height:250px;display:flex;box-shadow:0 5px 15px #10182814}.delivery-qr-scan-text{margin-top:17px}.delivery-qr-scan-text strong{color:#172033;font-size:14px;display:block}.delivery-qr-scan-text p{color:#667085;margin:6px 0 0;font-size:12px;line-height:1.45}.delivery-qr-info{box-sizing:border-box;background:#fff;border:1px solid #eaecf0;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;width:100%;margin-top:10px;padding:10px 12px;display:flex}.delivery-qr-info span{color:#667085;font-size:12px}.delivery-qr-info strong{color:#172033;text-transform:capitalize;font-size:13px}.delivery-qr-expiry{box-sizing:border-box;color:#9a3412;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;width:100%;margin:13px 0 0;padding:9px 10px;font-size:11px;line-height:1.4}.delivery-qr-url{text-align:left;width:100%;margin-top:13px}.delivery-qr-url small{color:#667085;margin-bottom:5px;font-size:10px;font-weight:700;display:block}.delivery-qr-url div{color:#667085;word-break:break-all;background:#fff;border:1px solid #eaecf0;border-radius:7px;max-height:55px;padding:8px 9px;font-size:9px;line-height:1.4;overflow:auto}.delivery-empty{text-align:center;background:#fff;border:1px solid #e4e7ec;border-radius:16px;padding:70px 20px;box-shadow:0 4px 15px #1018280d}.delivery-empty-icon{margin-bottom:15px;font-size:48px}.delivery-empty h2{color:#172033;margin:0 0 8px;font-size:22px}.delivery-empty p{color:#667085;margin:0;font-size:14px}.delivery-loading{color:#667085;flex-direction:column;justify-content:center;align-items:center;min-height:70vh;display:flex}.delivery-spinner{border:4px solid #e4e7ec;border-top-color:#2563eb;border-radius:50%;width:42px;height:42px;margin-bottom:15px;animation:.8s linear infinite delivery-spin}@keyframes delivery-spin{to{transform:rotate(360deg)}}@media (width<=1050px){.delivery-order-card-with-qr{grid-template-columns:minmax(0,1fr) 320px}.delivery-qr-panel{padding:22px 16px}.delivery-qr-code{width:220px;height:220px}.delivery-stats{grid-template-columns:repeat(2,1fr)}}@media (width<=800px){.delivery-page{padding:20px 12px 45px}.delivery-header{flex-direction:column;align-items:flex-start}.delivery-header h1{font-size:27px}.delivery-refresh-btn{width:100%}.delivery-order-card-with-qr{grid-template-columns:1fr}.delivery-qr-panel{border-top:1px solid #e4e7ec;border-left:none}.delivery-qr-code{width:240px;height:240px}}@media (width<=600px){.delivery-page{padding:15px 10px 35px}.delivery-header h1{font-size:24px}.delivery-header p{font-size:13px}.delivery-stats{grid-template-columns:1fr 1fr;gap:10px}.delivery-stat-card{padding:15px}.delivery-stat-card strong{font-size:23px}.delivery-order-main{padding:17px}.delivery-order-top{flex-direction:column}.delivery-order-top h2{font-size:19px}.delivery-status{align-self:flex-start}.delivery-item{flex-direction:column;align-items:flex-start}.delivery-item-right{justify-content:space-between;width:100%}.delivery-payment{grid-template-columns:1fr}.delivery-actions{flex-direction:column}.delivery-actions button{width:100%}.delivery-qr-panel{padding:20px 15px}.delivery-qr-panel-header{align-items:flex-start}.delivery-qr-panel-header h3{font-size:14px}.delivery-qr-code{width:230px;height:230px}.delivery-empty{padding:50px 15px}}@media (width<=380px){.delivery-stats{grid-template-columns:1fr}.delivery-qr-code{width:210px;height:210px}.delivery-qr-live{display:none}}*{box-sizing:border-box}html,body,#root{background:#fff7cc;width:100%;min-height:100%;margin:0;padding:0}body{color:#111827;background:#fff7cc;font-family:Arial,Helvetica,sans-serif}#root{background:#fff7cc;min-height:100vh}.desktop-navigation{background:#fff;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;align-items:center;gap:8px;width:100%;height:58px;padding:0 24px;display:flex;overflow-x:auto}.desktop-navigation button{color:#172554;cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:9px;padding:10px 16px;font-size:15px;font-weight:600;transition:background .2s,color .2s}.desktop-navigation button:hover,.desktop-navigation button.active{color:#1677ff;background:#eef4ff}.bottom-navigation{display:none}@media (width<=768px){.desktop-navigation{display:none}.bottom-navigation{z-index:9999;height:68px;padding:5px 8px env(safe-area-inset-bottom) 8px;background:#fff;border-top:1px solid #e5e7eb;justify-content:space-around;display:flex;position:fixed;bottom:0;left:0;right:0}.bottom-navigation button{color:#6b7280;cursor:pointer;background:0 0;border:none;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;min-width:0;font-size:22px;display:flex}.bottom-navigation button small{font-size:11px;font-weight:500}.bottom-navigation button.active{color:#1677ff}body{padding-bottom:68px}}@media (width<=480px){.bottom-navigation{height:64px}.bottom-navigation button{font-size:20px}.bottom-navigation button small{font-size:10px}body{padding-bottom:64px}}@media (width>=769px){body{padding-bottom:0}}button{font-family:inherit}img{max-width:100%}.shop-home,.app-background{color:#172033;background:#fff7cc;width:100%;min-height:100vh}.mobile-app{background:#fff7cc;width:100%;max-width:1400px;min-height:100vh;margin:0 auto;padding-bottom:90px}.top-header{background:#fff;border-bottom:1px solid #e5e9f0;width:100%;padding:18px 6%}.brand-header{justify-content:space-between;align-items:center;gap:15px;display:flex;position:relative}.brand-logo{color:#fff;background:#2563eb;border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:24px;display:flex;box-shadow:0 8px 20px #2563eb38}.brand-name{color:#172033;letter-spacing:-.5px;flex:1;font-size:25px;font-weight:800}.brand-name span{color:#2563eb}.top-shortcuts{justify-content:center;align-items:center;gap:10px;margin:16px 0;display:flex}.shortcut{color:#4b5563;cursor:pointer;background:#fff;border:1px solid #e5e9f0;border-radius:12px;min-width:80px;padding:9px 12px;transition:all .2s}.shortcut:hover{background:#f5f8ff;border-color:#cbdcff;transform:translateY(-2px)}.shortcut.active{color:#2563eb;background:#eff4ff;border-color:#2563eb}.shortcut-icon{margin-bottom:3px;font-size:21px}.shortcut span{font-size:11px;font-weight:700;display:block}.location-row{color:#687386;align-items:center;gap:7px;margin:12px 0;font-size:12px;display:flex}.home-icon{color:#2563eb;font-size:18px}.coin{color:#7c5a00;margin-left:auto;font-weight:700}.search-row{align-items:center;gap:10px;width:100%;display:flex}.search-box{background:#f5f7fb;border:1px solid #e1e6ef;border-radius:13px;flex:1;align-items:center;gap:10px;min-width:0;height:48px;padding:0 14px;transition:all .2s;display:flex}.search-box:focus-within{background:#fff;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb14}.search-icon{color:#687386;flex-shrink:0;font-size:19px}.search-box input{color:#172033;background:0 0;border:none;outline:none;flex:1;min-width:0;font-size:14px}.search-box input::placeholder{color:#9aa2b1}.camera-icon{color:#7b8494;cursor:pointer;background:0 0;border:none;border-radius:8px;flex-shrink:0;width:30px;height:30px;font-size:20px}.camera-icon:hover{color:#2563eb;background:#e9edf5}.scan-button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:13px;flex-shrink:0;width:48px;height:48px;font-size:20px;transition:all .2s}.scan-button:hover{background:#1d4ed8;transform:translateY(-1px)}.cart-message{color:#1d4ed8;background:#eff6ff;border-radius:10px;width:88%;max-width:1400px;margin:14px auto 0;padding:12px 15px;font-size:13px;font-weight:600}.banner-section{width:88%;max-width:1400px;margin:25px auto 35px}.promo-banner{background:linear-gradient(120deg,#111827,#1d4ed8);border-radius:24px;justify-content:space-between;align-items:center;width:100%;min-height:280px;display:flex;position:relative;overflow:hidden;box-shadow:0 16px 40px #0f172a26}.promo-text{z-index:2;color:#fff;padding:38px 45px;position:relative}.promo-brand{color:#bfdbfe;letter-spacing:2px;margin-bottom:6px;font-size:13px;font-weight:700}.promo-title{font-size:42px;font-weight:900;line-height:.98}.promo-subtitle{letter-spacing:1px;margin-top:14px;font-size:18px;font-weight:800}.promo-small{color:#dbeafe;margin-top:8px;font-size:12px}.promo-text button{transition:all .2s}.promo-text button:hover{transform:translateY(-2px);box-shadow:0 8px 20px #0003}.promo-phone{justify-content:center;align-items:center;width:42%;min-height:280px;font-size:100px;display:flex;position:relative;transform:rotate(-4deg)}.category-section,.recommendation-section,.api-products-section{width:88%;max-width:1400px;margin:0 auto 38px}.section-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px;display:flex}.section-heading h2{color:#172033;margin:0;font-size:23px;font-weight:800}.section-heading button{cursor:pointer;flex-shrink:0;font-size:13px;font-weight:700;color:#2563eb!important;background:0 0!important;border:none!important}.section-heading button:hover{text-decoration:underline}.api-message{text-align:center;color:#7b8494;background:#fff;border:1px dashed #d8deea;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:110px;padding:25px;font-size:14px;display:flex}.api-message p{margin-bottom:12px}.api-message.loading{color:#64748b}.api-message.error{color:#dc2626}.retry-button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;padding:9px 16px;font-size:12px;font-weight:700}.retry-button:hover{background:#1d4ed8}.category-grid{grid-template-columns:repeat(8,1fr);gap:13px;display:grid}.category-card{color:#303b50;cursor:pointer;background:#fff;border:1px solid #e5e9f0;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:9px;width:100%;min-width:0;padding:15px 8px;transition:all .2s;display:flex}.category-card:hover{border-color:#cbdcff;transform:translateY(-4px);box-shadow:0 10px 24px #2563eb1a}.category-image-wrapper{background:#f0f4ff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:62px;height:62px;display:flex;overflow:hidden}.category-image-wrapper img{object-fit:cover;width:100%;height:100%}.product-placeholder{justify-content:center;align-items:center;width:100%;height:100%;font-size:28px;display:flex}.category-card>span{text-align:center;text-overflow:ellipsis;white-space:nowrap;color:#303b50;width:100%;font-size:12px;font-weight:700;overflow:hidden}.recommendation-grid{grid-template-columns:repeat(4,1fr);gap:15px;display:grid}.recommendation-card{color:#172033;cursor:pointer;background:#fff;border:1px solid #e5e9f0;border-radius:16px;transition:all .2s;overflow:hidden}.recommendation-card:hover{border-color:#cbdcff;transform:translateY(-4px);box-shadow:0 10px 25px #0f172a14}.recommendation-image{background:#f1f5ff;justify-content:center;align-items:center;height:130px;display:flex}.recommendation-card>span{padding:12px;font-size:13px;font-weight:700;display:block}.api-product-grid{grid-template-columns:repeat(4,1fr);gap:18px;display:grid}.api-product-card{cursor:pointer;background:#fff;border:1px solid #e5e9f0;border-radius:17px;transition:all .22s;overflow:hidden}.api-product-card:hover{border-color:#d2dcf3;transform:translateY(-5px);box-shadow:0 14px 30px #0f172a1a}.api-product-image{background:#f5f7fb;justify-content:center;align-items:center;height:225px;display:flex;position:relative;overflow:hidden}.api-product-image img{object-fit:contain;width:100%;height:100%;padding:18px;transition:transform .25s}.api-product-card:hover .api-product-image img{transform:scale(1.04)}.discount-badge{z-index:3;color:#fff;background:#ef4444;border-radius:7px;padding:5px 8px;font-size:10px;font-weight:800;position:absolute;top:12px;left:12px}.no-image{justify-content:center;align-items:center;font-size:50px;display:flex}.api-product-info{padding:15px}.api-product-info .product-brand{color:#7b8494;text-overflow:ellipsis;white-space:nowrap;margin-bottom:5px;font-size:12px;overflow:hidden}.api-product-info h3{color:#172033;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:15px;font-weight:750;overflow:hidden}.product-rating{color:#7b8494;margin-top:7px;font-size:11px}.star{color:#f59e0b}.product-prices{align-items:center;gap:8px;margin-top:10px;display:flex}.product-prices strong{color:#172033;font-size:17px;font-weight:800}.product-prices del{color:#9aa2b1;font-size:12px}.stock-text{color:#16a34a;margin-top:8px;font-size:11px;font-weight:600}.stock-text.out-of-stock{color:#ef4444}.add-cart-button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:9px;width:100%;margin-top:12px;padding:10px 12px;font-size:12px;font-weight:700;transition:all .2s}.add-cart-button:hover:not(:disabled){background:#1d4ed8;transform:translateY(-1px)}.add-cart-button:disabled{opacity:.55;cursor:not-allowed}.bottom-navigation{z-index:1000;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff7;border-top:1px solid #e1e6ef;grid-template-columns:repeat(4,1fr);width:min(100%,1400px);min-height:68px;padding:8px 15px;display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 -5px 20px #0f172a14}.bottom-navigation button{color:#7b8494;cursor:pointer;background:0 0;border:none;flex-direction:column;justify-content:center;align-items:center;gap:3px;transition:all .2s;display:flex}.bottom-navigation button span{font-size:20px}.bottom-navigation button small{font-size:10px;font-weight:600}.bottom-navigation button:hover,.bottom-navigation button.active{color:#2563eb}@media (width>=1200px){.top-header{padding-left:7%;padding-right:7%}}@media (width<=1100px){.category-grid{grid-template-columns:repeat(4,1fr)}.api-product-grid{grid-template-columns:repeat(3,1fr)}.recommendation-grid{grid-template-columns:repeat(4,1fr)}}@media (width<=700px){.mobile-app{padding-bottom:78px}.top-header{padding:12px 16px}.brand-logo{width:43px;height:43px;font-size:21px}.brand-name{font-size:20px}.top-shortcuts{gap:6px}.shortcut{flex:1;min-width:0;padding:8px 5px}.shortcut-icon{font-size:18px}.shortcut span{font-size:10px}.location-row{font-size:11px}.search-box,.scan-button{height:43px}.scan-button{width:43px}.banner-section{width:calc(100% - 32px);margin:16px auto 25px}.promo-banner{border-radius:19px;min-height:220px}.promo-text{padding:25px 22px}.promo-title{font-size:30px}.promo-subtitle{font-size:14px}.promo-small{font-size:10px}.promo-phone{min-height:220px;font-size:65px}.category-section,.recommendation-section,.api-products-section{width:calc(100% - 32px);margin-bottom:30px}.section-heading h2{font-size:19px}.category-grid{grid-template-columns:repeat(4,1fr);gap:8px}.category-card{border-radius:13px;padding:10px 5px}.category-image-wrapper{width:50px;height:50px}.category-card>span{font-size:10px}.recommendation-grid{grid-template-columns:repeat(2,1fr);gap:10px}.recommendation-image{height:105px}.api-product-grid{grid-template-columns:repeat(2,1fr);gap:11px}.api-product-image{height:165px}.api-product-info{padding:11px}.api-product-info h3{font-size:13px}.product-prices strong{font-size:15px}.product-prices del{font-size:10px}.add-cart-button{padding:9px 5px;font-size:11px}.cart-message{width:calc(100% - 32px)}}@media (width<=420px){.brand-name{font-size:18px}.category-grid{grid-template-columns:repeat(4,1fr)}.category-image-wrapper{width:44px;height:44px}.api-product-image{height:145px}.promo-title{font-size:26px}.promo-phone{font-size:50px}.bottom-navigation{padding-left:8px;padding-right:8px}}.category-back-button{color:#303b50;cursor:pointer;background:#fff;border:1px solid #dbe3ef;border-radius:10px;align-items:center;gap:8px;margin:0 0 20px;padding:10px 18px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex}.category-back-button:hover{background:#f0f4ff;border-color:#93b4f5;transform:translate(-2px)}
