.app-bottom-sheet-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000004d;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:flex;align-items:flex-end;justify-content:center;z-index:2000;animation:appSheetFadeIn .3s ease}.app-bottom-sheet{background:#fff;width:100%;border-radius:20px 20px 0 0;box-shadow:0 -4px 20px #00000026;height:min(80dvh,calc(100svh - env(safe-area-inset-top) - 12px));max-height:min(80dvh,calc(100svh - env(safe-area-inset-top) - 12px));display:flex;flex-direction:column;overflow:hidden;padding-bottom:env(safe-area-inset-bottom);animation:appSheetSlideUp .3s ease;transition:transform .3s ease-out;touch-action:none}.app-bottom-sheet.is-dragging{transition:none}@media (max-width: 479px){.app-bottom-sheet{height:min(78dvh,calc(100svh - env(safe-area-inset-top) - 12px));max-height:min(78dvh,calc(100svh - env(safe-area-inset-top) - 12px))}}@keyframes appSheetFadeIn{0%{opacity:0}to{opacity:1}}@keyframes appSheetSlideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.app-bottom-sheet-top{position:sticky;top:0;background:#fff;z-index:1;border-radius:20px 20px 0 0;display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-bottom:1px solid #eee}.app-bottom-sheet-drag-handle{display:flex;justify-content:center;align-items:center;cursor:grab;-webkit-user-select:none;user-select:none;flex:1}.app-bottom-sheet-drag-handle:active{cursor:grabbing}.app-drag-indicator{width:40px;height:4px;background:#ddd;border-radius:2px}.app-bottom-sheet-close-btn{background:none;border:none;font-size:1.5em;cursor:pointer;color:#666;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;transition:color .3s}.app-bottom-sheet-content{padding:16px 10px;display:flex;flex-direction:column;align-items:center;gap:12px;flex:1;min-height:0;overflow-y:auto}.app-bottom-sheet-content h2{text-align:center;color:#333;margin:0;font-size:1.6em}.app-bottom-sheet-content h3{font-size:1.1em;color:#333;margin:15px 0 8px;width:100%}.app-bottom-sheet-content p,.app-bottom-sheet-content li{color:#666;margin:0;line-height:1.6;font-size:.95em;width:100%}.app-bottom-sheet-content ul{margin:10px 0;padding-left:20px;width:100%}.app-bottom-sheet-content section{width:100%}.app-bottom-sheet-content .last-updated{text-align:center;color:#999;font-size:.85em;margin-top:20px}.legal-bottom-sheet-content{align-items:stretch;padding:24px 16px}.legal-bottom-sheet-content h2{text-align:left}.app-bottom-sheet-footer{border-top:1px solid #eee;background:#fff;padding:12px 16px;padding-bottom:calc(12px + env(safe-area-inset-bottom))}.products{width:100%}.products-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.clear-decisions-btn{border:1px solid #d7dbe0;background:#fff;color:#5a6572;border-radius:999px;padding:4px 10px;font-size:.75em;font-weight:600;cursor:pointer}.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:5px}.product-card{flex-direction:column;cursor:pointer;background:#fff;border-radius:4px}.product-image{position:relative;height:160px;width:100%;display:flex;align-items:center;justify-content:center;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:contain}.product-card-liked .product-image img,.product-card-ignored .product-image img{filter:grayscale(1) contrast(.82) brightness(1.08);opacity:.7}.product-card-liked .product-image:after,.product-card-ignored .product-image:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:#ffffff61;pointer-events:none}.product-card-liked h3,.product-card-ignored h3,.product-card-liked .price,.product-card-ignored .price{color:#b3bac3}.product-decision-badge{position:absolute;top:8px;right:8px;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.95em;background:#fffffff0;border:1px solid #d7dbe0;color:#2b333b}.product-decision-badge i{font-size:.9em}.product-decision-badge.is-liked,.product-decision-badge.is-ignored{border-color:#d7dbe0}.product-decision-badge.is-liked i{color:#2776d6}.product-decision-badge.is-ignored i{color:#c43b31}.product-card h3{font-size:.8em;color:#333;margin:4px 0 0;padding-left:8px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.description{color:#666;font-size:.9em;margin:0;flex:1}.product-footer{display:flex;justify-content:flex-end;align-items:center;padding-top:4px;padding-right:8px;margin-top:4px;border-top:none}.price{font-size:.9em;font-weight:700;color:#00060c}.add-btn{background:#00060c;color:#fff;padding:8px 16px;border-radius:5px;font-weight:600;border:none;cursor:pointer;transition:all .3s}.image-carousel-container{position:relative;width:100%;display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:12px}.image-carousel{position:relative;width:100%;max-width:350px;overflow:hidden;border-radius:12px;transition:transform .1s ease-out;touch-action:none}.carousel-slide{display:none;width:100%}.carousel-slide.active{display:block}.product-image-large{font-size:8em;text-align:center;height:280px;min-height:220px;display:flex;align-items:center;justify-content:center;border-radius:6px;width:100%;overflow:hidden;flex-shrink:0}.product-image-large img{width:100%;height:100%;object-fit:contain}.carousel-arrow{background:#00060c;color:#fff;border:none;width:30px;height:30px;border-radius:50%;font-size:1.2em;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;line-height:1}.carousel-indicators{display:flex;justify-content:center;gap:8px;margin-bottom:20px}.indicator{width:8px;height:8px;border-radius:50%;background:#ddd;cursor:pointer}.indicator.active{background:#00060c;width:24px;border-radius:4px}.product-bottom-sheet-content h2{font-size:1.2em;color:#333;margin:4px 0 0;text-align:center;scroll-snap-type:y mandatory}.price-large{font-size:1.6em;font-weight:700;color:#00060c;margin:4px 0}.description-large{font-size:.85em;color:#666;text-align:left;margin:8px 0;line-height:1.6;width:100%}.description-large p{margin:0 0 12px}.description-large ul{margin:0 0 12px;padding-left:20px}.description-large li{margin-bottom:4px}.product-sheet-swipe-area{position:relative;width:100%;will-change:transform,opacity;touch-action:pan-y}.swipe-hint{position:fixed;top:28%;left:50%;transform:translate(-50%);z-index:10;width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.3em;pointer-events:none;will-change:opacity}.swipe-hint-like{background:#2776d6;color:#e8f9ee}.swipe-hint-nope{background:#c43b31;color:#fdecea}.product-bottom-sheet-content.is-swipe-scroll-locked{overflow-y:hidden;overscroll-behavior:contain;touch-action:none}.add-to-cart-btn{background:#00060c;color:#fff;padding:11px 32px;border-radius:5px;font-weight:600;border:none;cursor:pointer;font-size:.95em;width:100%;max-width:260px}.bottom-sheet-footer-actions{display:flex;justify-content:center}.cart{max-width:800px;margin:0 auto;background:#fff;border-radius:10px;box-shadow:0 4px 12px #0000001a;overflow:hidden;display:flex;flex-direction:column;min-height:400px;height:calc(100vh - 120px);height:calc(100dvh - 120px);max-height:760px}@media (max-width: 480px){.cart{height:100%;max-height:none;border-radius:0}}.cart-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #eee;background:linear-gradient(135deg,#00060c,#3a3a3a);color:#fff}.cart-header h2{font-size:1.1em;margin:0}.close-btn{background:#fff3;color:#fff;border:none;width:36px;height:36px;border-radius:50%;font-size:1.3em;cursor:pointer}.close-btn:disabled{opacity:.5;cursor:not-allowed}.confirm-dialog-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:2000;animation:fadeIn .2s ease}.confirm-dialog{background:#fff;border-radius:10px;padding:24px;max-width:340px;width:90%;box-shadow:0 10px 40px #0000004d;animation:slideUp .3s ease}.confirm-dialog h3{font-size:1.3em;color:#333;margin:0 0 12px}.confirm-dialog p{color:#666;font-size:.95em;margin:0 0 24px;line-height:1.4}.confirm-dialog-actions{display:flex;gap:10px}.confirm-btn-cancel,.confirm-btn-confirm{flex:1;padding:11px;border:none;border-radius:6px;font-weight:600;font-size:.95em;cursor:pointer;transition:all .2s ease}.confirm-btn-cancel{background:#f0f0f0;color:#333}.confirm-btn-cancel:hover{background:#e0e0e0}.confirm-btn-confirm{background:#00060c;color:#fff}.confirm-btn-confirm:hover{background:#1a1a2e}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.empty-cart{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:30px 20px;color:#666}.empty-cart p{font-size:1em;margin:0}.continue-btn{background:#00060c;color:#fff;padding:12px 30px;border-radius:5px;font-weight:600;cursor:pointer}.cart-items{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:12px;display:flex;flex-direction:column;gap:10px;scroll-snap-type:y mandatory}.cart-item{scroll-snap-align:start;position:relative;overflow:hidden;border-radius:8px;flex-shrink:0}.cart-item-swipe-delete{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:flex-end;padding-right:18px;background:#fee2e2;color:#991b1b;font-size:1.05em;z-index:0}.cart-item-body{position:relative;z-index:1;background:#f9f9f9;border-left:3px solid #00060c;border-radius:8px;transition:transform .18s ease}.cart-item-body.is-swiping{transition:none}.cart-item-overview{display:flex;align-items:center;gap:8px;padding:8px;min-height:72px;cursor:pointer;outline:none}.cart-item-overview:focus-visible{box-shadow:inset 0 0 0 2px #6aa2ff}.item-image{font-size:1.8em;width:56px;height:56px;text-align:center;display:flex;align-items:center;justify-content:center;background:#e8e8e8;border-radius:6px;overflow:hidden;flex-shrink:0}.item-image img{width:100%;height:100%;object-fit:contain;background:#e8e8e8}.item-details{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center}.item-details h4{margin:0 0 2px;color:#333;font-size:.88em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item-price{color:#00060c;font-weight:700;margin:0;font-size:.82em}.item-overview-meta{display:flex;flex-direction:column;align-items:flex-end;gap:2px;margin-left:auto}.item-quantity-readonly{color:#666;font-size:.75em;font-weight:600}.item-total{min-width:80px;text-align:right;font-weight:700;color:#333;font-size:.84em}.item-actions-panel{display:flex;align-items:center;gap:12px;border-top:1px solid #ececec;padding:8px}.item-quantity{display:flex;align-items:center;gap:6px;background:#fff;border-radius:5px;padding:4px}.qty-btn{background:#f0f0f0;color:#333;width:30px;height:30px;border:none;border-radius:4px;cursor:pointer;font-weight:700;font-size:.75em}.item-details-btn{background:#fff;border:1px solid #ddd;border-radius:5px;color:#333;font-size:.78em;font-weight:600;padding:6px 8px;cursor:pointer}.item-details-panel{background:#f3f3f3;border-top:1px solid #ececec;padding:8px;display:flex;flex-direction:column;gap:5px}.item-details-row{display:flex;justify-content:space-between;gap:10px;font-size:.78em;color:#555}.item-details-row span:last-child{text-align:right;word-break:break-word}.remove-btn{background:#f5f5f5;border:none;width:26px;height:26px;border-radius:5px;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#000;transition:all .2s ease;flex-shrink:0;font-size:.85em}.remove-btn:hover{background:#e0e0e0;color:#000}.remove-btn i{font-size:1em}.cart-footer{border-top:1px solid #eee;background:#fff;padding-bottom:6px}.cart-summary{padding:12px;background:#f9f9f9}.summary-row{display:flex;justify-content:space-between;margin-bottom:6px;color:#666;font-size:.85em}.summary-row.tax{color:#999;font-size:.85em}.summary-row.total{font-weight:700;color:#333;font-size:.95em;padding-top:10px;border-top:1px solid #ddd;margin-top:10px}.cart-actions{position:sticky;bottom:0;z-index:2;padding:8px 12px calc(10px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #eee;display:flex;gap:10px;flex-direction:column}.checkout-btn{flex:1;background:linear-gradient(135deg,#00060c,#3a3a3a);color:#fff;padding:12px!important;border-radius:5px;font-weight:600;font-size:.95em;cursor:pointer}.cart-actions .continue-btn{flex:1;padding:12px!important;font-size:.95em}.order-confirmation{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:30px 16px;text-align:center}.confirmation-icon{width:65px;height:65px;border-radius:50%;background:linear-gradient(135deg,#00060c,#3a3a3a);color:#fff;font-size:32px;display:flex;align-items:center;justify-content:center;margin-bottom:10px;animation:scaleIn .5s ease-out}.order-confirmation h3{font-size:1.3em;color:#333;margin:0}.confirmation-message{color:#666;font-size:1em;margin:0}.order-details{background:#f9f9f9;padding:20px;border-radius:8px;width:100%;max-width:100%}.order-row{display:flex;justify-content:space-between;align-items:center;font-size:1.1em;color:#333;margin-bottom:15px;font-weight:600}.order-amount{color:#00060c;font-size:1.3em}.confirmation-note{color:#999;font-size:.85em;margin:10px 0 0;line-height:1.4}@media (min-width: 480px){.cart-header h2{font-size:1.3em}.cart-item{border-radius:10px}.cart-item-overview{padding:10px;gap:10px;min-height:86px}.item-image{font-size:2em;width:70px;height:70px}.item-details h4{font-size:1em}.item-price{font-size:.9em}.item-quantity{gap:4px}.qty-btn{width:26px;height:26px;font-size:.8em}.remove-btn{width:28px;height:28px;font-size:.9em}.item-total{min-width:90px;font-size:.95em}.item-quantity-readonly{font-size:.82em}.item-actions-panel{padding:10px;gap:10px}.item-details-btn{font-size:.85em;padding:7px 10px}.item-details-row{font-size:.84em}.summary-row{font-size:.9em;margin-bottom:8px}.summary-row.total{font-size:1.1em}.checkout-btn,.continue-btn{padding:15px!important;font-size:1em}.order-confirmation{padding:40px 20px}.confirmation-icon{width:80px;height:80px;font-size:40px}.order-confirmation h3{font-size:1.8em}.order-details{max-width:300px}}.order-confirmation-actions{display:flex;flex-direction:column;gap:10px;width:100%;max-width:300px}.view-order-btn{background:#fff;color:#00060c;border:2px solid #00060c;padding:12px 30px;border-radius:5px;font-weight:600;cursor:pointer}.guest-password-dialog-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000008c;display:flex;align-items:center;justify-content:center;padding:20px;z-index:20}.guest-password-dialog{width:100%;max-width:360px;background:#fff;border-radius:12px;padding:18px;box-shadow:0 10px 35px #00000040}.guest-password-dialog h3{margin-bottom:8px}.guest-password-dialog p{margin-bottom:12px;color:#444}.guest-account-credentials{background:#f8f8f8;border-radius:8px;padding:10px;margin-bottom:12px}.guest-credential-row{display:flex;justify-content:space-between;gap:8px;font-size:.95rem}.guest-credential-row+.guest-credential-row{margin-top:8px}.guest-password-dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}.guest-password-dialog-actions-single{grid-template-columns:1fr}.guest-secondary-btn{border:1px solid #00060c;background:#00060c;color:#fff;border-radius:6px;padding:10px 8px;cursor:pointer}.guest-secondary-btn:hover:not(:disabled),.guest-secondary-btn:focus-visible{background:#1a1a2e}.guest-password-save-status{color:#166534;font-size:.9rem;margin-bottom:8px}.guest-password-save-status-failed{color:#b42318}.guest-password-ack{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:.92rem}.guest-close-btn{width:100%;border:none;border-radius:6px;padding:11px 12px;background:#00060c;color:#fff;font-weight:600;cursor:pointer}.guest-close-btn:disabled{background:#a3a3a3;cursor:not-allowed}.cart-item-undo{border-left:3px solid #d4d4d4}.cart-item-undo-body{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;background:#f3f3f3;border-radius:8px;min-height:48px;transition:transform .18s ease,opacity .18s ease}.cart-item-undo-body.is-swiping{transition:none}.cart-item-undo-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#888;font-size:.88em}.cart-item-undo-btn{background:#00060c;color:#fff;border:none;border-radius:5px;padding:6px 16px;font-weight:600;font-size:.85em;cursor:pointer;flex-shrink:0}.orders-page{display:flex;flex-direction:column;gap:20px}.page-header{display:flex;flex-direction:column;gap:15px;text-align:center}.page-header h2{font-size:1.5em;color:#333;margin:0}.back-btn{background:#f5f5f5;color:#00060c;border:none;padding:10px 20px;border-radius:5px;font-weight:600;cursor:pointer;width:100%}.empty-state{text-align:center;padding:40px 20px;color:#666}.orders-list{display:flex;flex-direction:column;gap:12px}.order-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:16px;cursor:pointer;text-align:left;width:100%;transition:box-shadow .2s}.order-card:hover{box-shadow:0 2px 8px #0000001a}.order-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;gap:8px;flex-wrap:wrap}.order-card-id{font-weight:600;color:#333}.status-badge{padding:3px 10px;border-radius:12px;font-size:.8em;font-weight:600;white-space:nowrap}.status-warning{background:#fff3cd;color:#856404}.status-info{background:#cce5ff;color:#004085}.status-success{background:#d4edda;color:#155724}.status-error{background:#f8d7da;color:#721c24}.status-neutral,.orders-page-list .status-badge{background:#e2e3e5;color:#383d41}.order-card-body{display:flex;justify-content:space-between;align-items:center;color:#666;font-size:.9em}.order-card-actions{margin-top:12px}.order-card-total{font-weight:600;color:#333}.pay-btn{background:#0b5ed7;color:#fff;border:none;border-radius:6px;padding:8px 14px;font-weight:600;cursor:pointer}.pay-btn:disabled{opacity:.7;cursor:not-allowed}.order-detail-card{background:#fff;border-radius:8px;padding:20px;box-shadow:0 2px 8px #00000014}.order-detail-meta{margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #eee}.order-detail-row{display:flex;justify-content:space-between;align-items:center;padding:6px 0}.order-detail-actions{display:flex;justify-content:flex-end;margin-top:8px}.order-flow{margin-bottom:20px}.order-flow h3{font-size:1.1em;margin:0 0 12px;color:#333}.order-flow-steps{display:flex;flex-direction:row;align-items:flex-start;gap:0;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}.order-flow-step{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;color:#6b7280;flex:1 0 120px;min-height:56px;scroll-snap-align:center}.order-flow-step.is-complete{color:#16a34a}.order-flow-step.is-current{color:#16a34a;font-weight:600}.order-flow-icon{width:28px;height:28px;border-radius:50%;border:1px solid #d1d5db;display:inline-flex;align-items:center;justify-content:center;background:#fff;z-index:1}.order-flow-step.is-complete .order-flow-icon{border-color:#16a34a}.order-flow-label{font-size:.92em}.order-flow-line{position:absolute;top:13px;left:calc(50% + 14px);width:calc(100% - 28px);height:2px;background:#d1d5db}.order-flow-step.is-complete .order-flow-line{background:#16a34a}.order-flow-step.is-current .order-flow-icon{border-color:#16a34a;background-image:linear-gradient(110deg,#fff 35%,#dcfce7,#fff 65%);background-size:220% 100%;animation:order-flow-green-shimmer 2.8s ease-in-out infinite;box-shadow:0 0 0 2px #16a34a26}.order-flow-step.is-current .order-flow-line{background-image:linear-gradient(110deg,#16a34a 35%,#86efac,#16a34a 65%);background-size:220% 100%;animation:order-flow-green-shimmer 2.8s ease-in-out infinite}@keyframes order-flow-green-shimmer{0%{background-position:200% 50%}to{background-position:0% 50%}}@media (prefers-reduced-motion: reduce){.order-flow-step.is-current .order-flow-icon,.order-flow-step.is-current .order-flow-line{animation:none}}@media (min-width: 480px){.order-flow-steps{overflow-x:visible;scroll-snap-type:none}.order-flow-step{flex-basis:0;min-height:48px}}.order-flow-filter .order-flow-step{cursor:pointer;border:none;background:none;padding:4px;font-family:inherit;transition:opacity .15s;opacity:.5}.order-flow-filter .order-flow-step.has-orders,.order-flow-filter .order-flow-step.is-current{opacity:1}.order-flow-filter .order-flow-step:not(.is-current):hover{opacity:.8}.order-flow-count{font-size:.78em;font-weight:600;background:#e5e7eb;color:#374151;border-radius:999px;padding:1px 7px;min-width:20px;text-align:center}.order-flow-filter .order-flow-step.is-current .order-flow-count{background:#dcfce7;color:#16a34a}.order-items-list{margin-bottom:20px}.order-items-list h3{font-size:1.1em;margin:0 0 12px;color:#333}.order-item{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #f0f0f0}.order-item:last-child{border-bottom:none}.order-item-image{width:48px;height:48px;border-radius:6px;overflow:hidden;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:#f5f5f5;font-size:1.5em}.order-item-image img{width:100%;height:100%;object-fit:cover}.order-item-details{flex:1;display:flex;flex-direction:column;gap:2px}.order-item-name{font-weight:500;color:#333}.order-item-qty{font-size:.85em;color:#666}.order-item-price{font-weight:600;color:#333;white-space:nowrap}.order-detail-total{display:flex;justify-content:space-between;font-size:1.2em;font-weight:600;padding-top:16px;border-top:2px solid #333}@media (min-width: 480px){.page-header{flex-direction:row;justify-content:space-between;text-align:left}.page-header h2{font-size:2em}.back-btn{width:auto}}.addresses-page{display:flex;flex-direction:column;gap:20px}.add-address-btn{background:#00060c;color:#fff;border:none;padding:12px 20px;border-radius:8px;font-weight:600;cursor:pointer;width:100%;font-size:1em}.addresses-list{display:flex;flex-direction:column;gap:12px}.address-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:16px;cursor:pointer;text-align:left;width:100%;transition:box-shadow .2s}.address-card:hover{box-shadow:0 2px 8px #0000001a}.address-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;gap:8px}.address-card-label{font-weight:600;color:#333}.default-badge{padding:3px 10px;border-radius:12px;font-size:.8em;font-weight:600;background:#d4edda;color:#155724;white-space:nowrap}.address-card-body{color:#666;font-size:.9em}.address-card-body p{margin:2px 0}.address-form{background:#fff;border-radius:8px;padding:20px;box-shadow:0 2px 8px #00000014;display:flex;flex-direction:column;gap:16px}.form-error{color:#721c24;background:#f8d7da;padding:10px;border-radius:5px;margin:0;font-size:.9em}.form-field{display:flex;flex-direction:column;gap:4px}.form-field label{font-weight:600;font-size:.9em;color:#333}.location-fields{display:flex;flex-direction:column;gap:16px;max-height:0;opacity:0;overflow:hidden;transform:translateY(-8px);pointer-events:none;transition:max-height .3s ease,opacity .25s ease,transform .25s ease}.location-fields.is-visible{max-height:500px;opacity:1;transform:translateY(0);pointer-events:auto}.form-field input,.form-field select,.form-field textarea{padding:10px 12px;border:1px solid #ddd;border-radius:5px;font-size:1em;outline:none;transition:border-color .2s;background:#fff;font-family:inherit}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#00060c}.form-field textarea{resize:vertical;min-height:84px}.save-btn{background:#00060c;color:#fff;border:none;padding:12px 20px;border-radius:5px;font-weight:600;cursor:pointer;font-size:1em}.save-btn:disabled{opacity:.6;cursor:not-allowed}.address-actions{display:flex;flex-direction:column;gap:10px}.set-default-btn{background:#f5f5f5;color:#00060c;border:1px solid #ddd;padding:10px 20px;border-radius:5px;font-weight:600;cursor:pointer}.delete-btn{background:none;color:#8b0000;border:1px solid #8b0000;padding:10px 20px;border-radius:5px;font-weight:600;cursor:pointer}.login-required-msg{color:#856404;background:#fff3cd;padding:10px;border-radius:5px;text-align:center;font-size:.9em;margin:0}@media (min-width: 480px){.add-address-btn{width:auto;align-self:flex-start}.address-actions{flex-direction:row}}.auth-container{min-height:100vh;background:linear-gradient(135deg,#00060c,#3a3a3a);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;position:relative}.auth-form-header{display:flex;justify-content:flex-end}.auth-close-btn{background:none;border:none;font-size:1.3em;cursor:pointer;color:#666;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%}.auth-close-btn:hover{background:#f0f0f0}.auth-form-content{display:flex;flex-direction:column;gap:12px;padding:20px 16px;max-width:500px;margin:0 auto;width:100%;background:#fff;border:1px solid #ddd;border-radius:8px;box-shadow:0 2px 8px #00000014}.auth-container .back-link-btn{position:absolute;top:20px;left:20px;background:#ffffffe6;color:#00060c;border:none;cursor:pointer;font-weight:600;font-size:.95em;padding:8px 16px;border-radius:5px}.auth-box{background:#fff;border-radius:10px;padding:40px;width:100%;max-width:400px;box-shadow:0 20px 60px #0000004d}.auth-header{text-align:center;margin-bottom:40px}.auth-header h1{font-size:2.5em;color:#333;margin-bottom:10px;text-align:center}.auth-header p{color:#666;font-size:1em;text-align:center}.auth-bottom-sheet{max-height:90vh}.auth-form-content .auth-header{text-align:center;margin-bottom:20px}.auth-form-content .auth-header h1{font-size:1.8em;margin-bottom:0}.auth-tabs{display:flex;gap:8px;margin-bottom:16px;background:#f5f5f5;border-radius:5px;padding:4px;margin-left:0;margin-right:0}.tab{flex:1;padding:7px 10px;background:transparent;color:#666;border:none;border-radius:4px;font-weight:500;font-size:.9em}.tab.active{background:#fff;color:#00060c;box-shadow:0 2px 8px #0000001a}.auth-form{display:flex;flex-direction:column;gap:12px;padding:0}.form-group{display:flex;flex-direction:column;gap:6px}.form-group label{font-weight:500;color:#333;font-size:.8em}.form-group input{padding:9px;border:1px solid #ddd;border-radius:5px;font-size:16px}.form-group input:focus{outline:none;border-color:#00060c}.error-message{background:#ffebee;color:#c62828;padding:10px;border-radius:5px;font-size:.85em;border-left:4px solid #c62828}.submit-btn{background:linear-gradient(135deg,#00060c,#3a3a3a);color:#fff;padding:10px;border:none;border-radius:5px;font-weight:600;font-size:.9em;cursor:pointer;transition:all .3s}.submit-btn:disabled{opacity:.7}.dev-autofill-btn{background:#f0ad4e;color:#fff;padding:10px;border:none;border-radius:5px;font-weight:600;font-size:.9em;cursor:pointer;transition:all .3s}.verification-screen{display:flex;flex-direction:column;gap:30px;margin-top:20px}.verification-header{text-align:center}.verification-header h2{color:#333;margin-bottom:15px;font-size:1.5em}.verification-header p{color:#666;margin:8px 0;font-size:.95em}.email-display{background:#f5f5f5;padding:12px;border-radius:5px;font-weight:600;color:#00060c;word-break:break-all;margin-top:15px}.verification-content{display:flex;flex-direction:column;gap:20px}.verification-text{color:#666;font-size:.95em;line-height:1.5;text-align:center}.resend-btn,.back-btn{padding:12px;border:none;border-radius:5px;font-weight:600;font-size:.95em;cursor:pointer;transition:all .3s;width:100%}.resend-btn{background:#00060c;color:#fff}.resend-btn:disabled{opacity:.7;cursor:not-allowed}.back-btn{background:#f5f5f5;color:#333}.help-text{color:#999;font-size:.8em;margin-top:-4px}.success-screen{display:flex;align-items:center;justify-content:center;min-height:300px}.success-content{text-align:center;padding:40px 20px}.success-content h2{color:#4caf50;font-size:1.5em;margin-bottom:20px;display:flex;align-items:center;justify-content:center;gap:10px}.success-content p{color:#666;font-size:.95em;margin:10px 0}.success-content .small-text{font-size:.85em;color:#999}.registration-success{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px 12px;text-align:center}.confirmation-icon{width:65px;height:65px;border-radius:50%;background:linear-gradient(135deg,#00060c,#3a3a3a);color:#fff;font-size:32px;display:flex;align-items:center;justify-content:center;margin-bottom:8px;animation:scaleIn .5s ease-out}@keyframes scaleIn{0%{transform:scale(0)}to{transform:scale(1)}}.registration-success h2{font-size:1.4em;color:#333;margin:0}.registration-success h3{font-size:1em;color:#00060c;margin:0;font-weight:600}.confirmation-message{color:#666;font-size:.9em;margin:0}.continue-btn{background:linear-gradient(135deg,#00060c,#3a3a3a);color:#fff;padding:10px 24px;border:none;border-radius:5px;font-weight:600;font-size:.9em;cursor:pointer}.registration-success .continue-btn{margin-top:20px}.terms-group{display:flex;flex-direction:column;gap:8px;padding:10px;background:#f9f9f9;border-radius:5px;border-left:3px solid #00060c;transition:all .3s ease}.terms-group.shake{animation:termsShake .5s ease-in-out;border-left-color:#c62828;background:#ffebee}.link-btn{background:none;border:none;color:#00060c;text-decoration:underline;cursor:pointer;font-weight:600;font-size:inherit;padding:0}@keyframes termsShake{0%,to{transform:translate(0)}25%{transform:translate(-8px)}50%{transform:translate(8px)}75%{transform:translate(-8px)}}.checkbox-item{display:flex;align-items:flex-start;gap:8px;cursor:pointer}.checkbox-item input[type=checkbox]{width:16px;height:16px;cursor:pointer;accent-color:#00060c;margin:2px 0 0;flex-shrink:0}.checkbox-item label{margin:0;cursor:pointer;font-weight:400;font-size:.85em;line-height:1.4}@media (min-width: 480px){.auth-form-content{gap:16px;padding:30px 16px}.auth-tabs{margin-bottom:20px}.tab{padding:8px 12px;font-size:.95em}.auth-form{gap:16px}.form-group label{font-size:.85em}.form-group input{padding:10px}.submit-btn{padding:11px;font-size:.95em}.registration-success{padding:30px 16px;gap:16px}.confirmation-icon{width:75px;height:75px;font-size:38px}.registration-success h2{font-size:1.6em}.registration-success h3{font-size:1.2em}.confirmation-message{font-size:1em}.continue-btn{padding:12px 40px;font-size:1em}.terms-group{padding:12px;gap:10px}.checkbox-item label{font-size:.9em}.help-text{font-size:.85em}.error-message{font-size:.9em;padding:12px}}.language-switcher-container{position:relative}.language-switcher{background:none;border:none;padding:0;font-size:1.1em;cursor:pointer;color:#333;display:flex;align-items:center;justify-content:center;gap:0}.language-switcher i{font-size:1.1em}.language-switcher:hover{transform:none;box-shadow:none}.language-menu-overlay{position:fixed;top:0;left:0;right:0;bottom:0;z-index:100}.language-menu{position:absolute;top:100%;right:0;margin-top:8px;background:#fff;border:1px solid #ddd;border-radius:6px;box-shadow:0 4px 12px #00000026;z-index:101;min-width:140px;overflow:hidden;animation:slideDown .2s ease}.language-option{display:flex;align-items:center;justify-content:space-between;width:100%;padding:10px 16px;border:none;background:#fff;color:#333;cursor:pointer;font-size:.95em;font-weight:500;transition:all .2s ease}.language-option:hover{background:#f5f5f5}.language-option.active{background:#f0f0f0;color:#00060c;font-weight:600}.language-option i{font-size:.9em;color:#00060c;margin-left:8px}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.home{min-height:100vh;min-height:100dvh;background:#f5f5f5;display:flex;flex-direction:column}.home-header{background:#fff;border-bottom:1px solid #ddd;padding:10px 0;box-shadow:0 2px 8px #0000001a;position:sticky;top:0;z-index:400}.home-header.is-locked{pointer-events:none;opacity:1;background:#000}.home-header.is-locked .app-name-btn,.home-header.is-locked .header-actions button{filter:grayscale(1);opacity:.55}.header-content{max-width:1200px;margin:0 auto;padding:0 12px;display:flex;align-items:center;justify-content:space-between;font-size:1em;gap:8px}.app-name-btn{background:none;border:none;padding:0;margin:0;font-weight:600;font-size:1.2em;color:#00060c;cursor:pointer;display:flex;align-items:center;gap:8px;outline:none;box-shadow:none;transform:none}.app-name-btn i{font-size:1.3em}.app-name-btn:hover{transform:none;box-shadow:none}.home-header h1{font-size:1.8em;color:#333;margin:0}.header-actions{display:flex;align-items:center;gap:6px;flex:1;flex-wrap:wrap;justify-content:flex-end}.user-info{display:flex;flex-direction:column;align-items:flex-end}.user-info span{color:#333;font-weight:500;font-size:.85em}.user-info .email{font-size:.85em;color:#666;font-weight:400}.cart-btn{background:#00060c;color:#fff;padding:7px 12px;border-radius:5px;font-weight:600;border:none;cursor:pointer;transition:background .3s ease;display:flex;align-items:center;gap:6px;font-size:.85em;white-space:nowrap}.cart-btn i{font-size:1.1em}.cart-btn.has-items{background:linear-gradient(90deg,#000,#1f1f1f,#6e6e6e,#1f1f1f,#000);background-size:200% 100%;animation:shineGradient 3s ease-in infinite}@keyframes shineGradient{0%{background-position:200% 0}to{background-position:-200% 0}}.cart-btn-container{position:relative;display:inline-block}.cart-tooltip{position:absolute;bottom:-45px;left:50%;transform:translate(-50%);background:#111;color:#fff;border:1px solid #2a2a2a;padding:8px 12px;border-radius:4px;font-weight:700;font-size:.9em;white-space:nowrap;pointer-events:none;animation:tooltipFadeInOut 3.2s ease-in-out forwards;box-shadow:0 6px 18px #00000059;z-index:1000}.cart-tooltip-floating{position:fixed;bottom:auto;z-index:2101}.cart-tooltip:after{content:"";position:absolute;top:-5px;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #111111}@keyframes tooltipFadeInOut{0%{opacity:0;transform:translate(-50%) translateY(-5px)}10%{opacity:1;transform:translate(-50%) translateY(0)}90%{opacity:1;transform:translate(-50%) translateY(0)}to{opacity:0;transform:translate(-50%) translateY(-5px)}}@keyframes tooltipShake{0%,to{transform:translate(-50%) translateY(0) rotate(0)}25%{transform:translate(-50%) translateY(0) rotate(-2deg)}50%{transform:translate(-50%) translateY(0) rotate(2deg)}75%{transform:translate(-50%) translateY(0) rotate(-2deg)}}.cart-tooltip.shake{animation:tooltipShake .5s ease-in-out}.user-avatar-btn{background:#00060c;color:#fff;width:36px;height:36px;border-radius:50%;border:none;font-weight:600;font-size:.95em;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0}.logout-btn{background:#00060c;color:#fff;padding:7px 12px;border-radius:5px;font-weight:600;font-size:.85em;white-space:nowrap}.login-btn{background:#00060c;color:#fff;padding:7px 12px;border-radius:5px;font-weight:600;display:flex;align-items:center;gap:6px;font-size:.85em;white-space:nowrap}.login-btn i{font-size:1.1em}.home-content{max-width:1200px;margin:0 auto;width:100%;flex:1;padding:40px 20px}.user-management{display:flex;flex-direction:column;height:100%;gap:30px;overflow-y:auto;-webkit-overflow-scrolling:touch}.user-management-header{display:flex;justify-content:space-between;align-items:center;flex-direction:column;gap:15px;text-align:center}.user-management-header h2{font-size:1.5em;color:#333;margin:0}.back-to-shopping-btn{background:#f5f5f5;color:#00060c;border:none;padding:10px 20px;border-radius:5px;font-weight:600;cursor:pointer;width:100%}.user-management-content{display:flex;flex-direction:column;align-items:center;gap:18px;padding:20px 16px}.user-card{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;background:#fff;border-radius:10px;box-shadow:0 4px 12px #0000001a;width:100%;max-width:360px;overflow:hidden}.user-card-top{display:flex;align-items:center;gap:12px;width:100%;border:none;background:transparent;cursor:pointer;text-align:left;padding:14px 16px}.user-card-expand-icon{margin-left:auto;font-size:1rem;color:#666;transition:transform .2s ease}.user-card-expand-icon.is-open{transform:rotate(180deg)}.user-avatar-large{width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,#00060c,#3a3a3a);color:#fff;font-size:1.3em;font-weight:600;display:flex;align-items:center;justify-content:center;flex-shrink:0}.user-details{text-align:left;min-width:0}.user-name{font-size:1.05em;font-weight:600;color:#333;margin:0;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-email{font-size:.82em;color:#666;margin:3px 0 0;word-break:break-all}.user-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:2px}.user-card-action-btn{border:1px solid #d8d8d8;background:#fafafa;color:#111;border-radius:6px;padding:10px 12px;font-weight:600;cursor:pointer}.user-card-action-btn:hover{background:#f0f0f0}.user-card-expandable{max-height:0;overflow:hidden;padding:0 16px;transition:max-height .25s ease,padding-bottom .25s ease}.user-card.is-expanded .user-card-expandable{max-height:520px;padding-bottom:14px}.user-card-form{margin-top:10px;display:flex;flex-direction:column;gap:8px}.user-card-form input{width:100%;border:1px solid #ddd;border-radius:6px;padding:10px 12px}.user-card-form-actions{display:flex;justify-content:flex-end;gap:8px}.user-card-form-actions button{border:none;border-radius:6px;padding:8px 12px;cursor:pointer}.user-card-form-actions button:first-child{background:#efefef;color:#333}.user-card-form-actions button:last-child{background:#00060c;color:#fff}.user-card-form-message{font-size:.86em;margin-top:8px}.user-card-form-message.is-error{color:#b42318}.user-card-form-message.is-success{color:#15803d}.user-management-nav{display:flex;flex-direction:column;gap:10px;width:100%;max-width:400px}.user-nav-btn{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:14px 20px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:10px;font-size:1em;color:#333;transition:box-shadow .2s}.user-nav-btn:hover{box-shadow:0 2px 8px #0000001a}.user-nav-btn i{font-size:1.1em}.logout-btn-full{background:#00060c;color:#fff;border:none;padding:12px 40px;border-radius:5px;font-weight:600;font-size:1em;cursor:pointer}.overlay-panel{position:fixed;top:var(--header-height, 53px);left:0;right:0;bottom:0;background:#f5f5f5;display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;animation:overlayFadeIn .25s ease}.overlay-panel-inner{width:100%;max-width:600px;margin:40px 20px;animation:overlaySlideUp .3s ease}@keyframes overlayFadeIn{0%{opacity:0}to{opacity:1}}@keyframes overlaySlideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 480px){.overlay-panel-inner{margin:0;height:100%}}.home-footer{background:#fff;border-top:1px solid #ddd;padding:20px;text-align:center;box-shadow:0 -2px 8px #0000000d}.footer-links{display:flex;justify-content:center;align-items:center;gap:15px;flex-wrap:wrap}.footer-link{background:none;border:none;color:#00060c;font-size:.95em;line-height:1.2;white-space:nowrap;cursor:pointer;text-decoration:underline;padding:0}.footer-separator{color:#ccc;font-size:.95em}.footer-version{display:block;margin-top:8px;font-size:.75em;color:#888}@media (max-width: 480px){.home-footer{padding:12px 10px}.footer-links{gap:6px 10px}.footer-link{font-size:.88em}.footer-separator{display:none}.footer-version{margin-top:6px;font-size:.7em;line-height:1.2}}@media (min-width: 480px){.home-header{padding:12px 0}.header-content{padding:0 16px;flex-direction:row;gap:12px}.header-actions{flex:1;flex-wrap:wrap;justify-content:flex-end;gap:8px}.cart-btn,.logout-btn,.login-btn{padding:10px 20px;font-size:1em;white-space:normal}.user-avatar-btn{width:40px;height:40px;font-size:1.1em}.user-info span{font-size:1em}.user-management-header{flex-direction:row;text-align:left}.user-management-header h2{font-size:2em}.back-to-shopping-btn{width:auto}.user-management-content{gap:20px;padding:24px 20px}.user-card{max-width:420px;padding:0;gap:0}.user-card-top{padding:16px 18px}}@font-face{font-family:Noto Sans Thai;src:url(/fonts/NotoSansThai-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:Noto Sans Thai;src:url(/fonts/NotoSansThai-Medium.ttf) format("truetype");font-weight:500;font-style:normal}@font-face{font-family:Noto Sans Thai;src:url(/fonts/NotoSansThai-SemiBold.ttf) format("truetype");font-weight:600;font-style:normal}@font-face{font-family:Noto Sans Thai;src:url(/fonts/NotoSansThai-Bold.ttf) format("truetype");font-weight:700;font-style:normal}*,html,body{font-family:Noto Sans Thai,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f5f5}#root,.app{min-height:100vh}button{border:none;cursor:pointer;border-radius:5px;font-weight:500;transition:all .3s ease}button:disabled{opacity:.6;cursor:not-allowed}input{border:1px solid #ddd;border-radius:5px;padding:10px;font-size:1em;transition:border-color .3s}input:focus{outline:none;border-color:#00060c;box-shadow:0 0 0 3px #00060c1a}input:disabled{background:#f5f5f5;cursor:not-allowed}
