*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,system-ui,-apple-system,sans-serif;background-color:#d4cfc4;min-height:100vh;-webkit-font-smoothing:antialiased;overflow-x:hidden}.header{display:flex;align-items:center;padding:1rem 1.5rem;padding-top:max(1rem,env(safe-area-inset-top));background-color:#d4cfc4;position:sticky;top:0;z-index:43}.header-left{display:flex;align-items:center;gap:.25rem}.header-title{flex:1;text-align:center;font-size:1.125rem;font-weight:600;color:#1f2937;padding-right:4rem}.header-logo{flex:1;display:flex;justify-content:center;padding-right:2rem}.header-logo img{height:4rem;width:auto}.header-logo-lg img{height:5rem}.header-user{display:flex;align-items:center;gap:.5rem;position:absolute;right:1rem}.header-user-name{font-size:.875rem;font-weight:500;color:#1f2937;background-color:#fff9;padding:.375rem .75rem;border-radius:1rem;white-space:nowrap;max-width:150px;overflow:hidden;text-overflow:ellipsis}.main-content{padding:1rem;padding-bottom:max(6rem,env(safe-area-inset-bottom));overflow-x:hidden;max-width:100vw;width:100%;box-sizing:border-box}@media (min-width: 480px){.main-content{padding:1rem 1.5rem;padding-bottom:max(7rem,env(safe-area-inset-bottom))}}@media (min-width: 768px){.main-content{padding:1.5rem 2rem}}.scroll-top-btn{position:fixed;bottom:1.5rem;right:1.5rem;width:3rem;height:3rem;background:#1f2937;color:#fff;border:none;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 12px #00000040;opacity:0;visibility:hidden;transform:translateY(1rem);transition:opacity .3s ease,visibility .3s ease,transform .3s ease;z-index:50}.scroll-top-btn svg{width:1.5rem;height:1.5rem}.scroll-top-btn.visible{opacity:1;visibility:visible;transform:translateY(0)}.scroll-top-btn:active{transform:scale(.95)}@media (min-width: 768px){.scroll-top-btn{bottom:2rem;right:2rem}}.menu-btn,.back-btn{background:none;border:none;cursor:pointer;padding:.5rem;margin-left:-.5rem;text-decoration:none;outline:none;display:flex;align-items:center;justify-content:center}.menu-btn svg,.back-btn svg{width:1.75rem;height:1.75rem;color:#1f2937}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;opacity:0;visibility:hidden;transition:all .3s ease;z-index:40}.overlay.active{opacity:1;visibility:visible}.side-menu{position:fixed;top:0;left:0;width:85%;max-width:320px;height:100%;background:#fff;transform:translate(-100%);transition:transform .3s ease;z-index:50;display:flex;flex-direction:column}.side-menu.active{transform:translate(0)}.menu-header{background-color:#1f2937;color:#fff;padding:1.25rem 1rem;padding-top:max(1.25rem,env(safe-area-inset-top));font-size:1.25rem;font-weight:600}.menu-header a{color:#fff;text-decoration:none}.menu-items{flex:1;overflow-y:auto}.menu-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;color:#1f2937;text-decoration:none;font-size:1rem;border-bottom:1px solid #e5e5e5}.menu-item:active{background-color:#f3f4f6}.menu-item-count,.menu-count{color:#1f2937;font-size:.875rem;font-weight:500;background-color:#f3f4f6;padding:.25rem .5rem;border-radius:9999px}.menu-footer{padding:1rem;border-top:1px solid #e5e5e5}.btn-primary{display:block;width:100%;padding:1rem;background-color:#1f2937;color:#fff;text-align:center;text-decoration:none;font-size:1rem;font-weight:500;border-radius:.5rem;border:none;cursor:pointer;transition:background-color .2s}.btn-primary:hover{background-color:#2d2d2d}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{display:block;width:100%;padding:1rem;background-color:#e8e4dc;color:#1f2937;text-align:center;text-decoration:none;font-size:1rem;font-weight:600;border-radius:.5rem;border:none;cursor:pointer}.btn-danger{display:block;width:100%;padding:.75rem;background-color:#dc2626;color:#fff;text-align:center;text-decoration:none;font-weight:500;border-radius:4px;border:none;cursor:pointer}.btn-icon{width:2rem;height:2rem;border-radius:50%;background:#fff;border:none;box-shadow:0 1px 3px #0003;cursor:pointer;display:flex;align-items:center;justify-content:center}.btn-icon-delete{background:#dc2626;color:#fff}.btn-inline{width:auto;padding:.75rem 2rem}.form-group{margin-bottom:1rem}.form-label{display:block;margin-bottom:.5rem;font-size:.875rem;font-weight:500;color:#1f2937}.form-input,.form-select,.form-textarea{width:100%;padding:.75rem 1rem;background:#fff;border:1px solid #d1d5db;border-radius:4px;font-size:1rem;color:#1f2937}.form-input:focus,.form-select:focus,.form-textarea:focus{outline:none;border-color:#d1d5db}.form-input-price{padding-left:2rem}.form-hint{font-size:.75rem;color:#9ca3af;margin-top:.25rem}.form-required{color:#dc2626}.checkbox-label{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:#f9fafb;border-radius:8px;cursor:pointer;margin-bottom:.5rem}.checkbox-label input{width:1.25rem;height:1.25rem}.card{background:#fff;border-radius:8px;padding:1rem;margin-bottom:1rem;box-shadow:0 1px 3px #0000001a}.card-title{font-size:1.125rem;font-weight:600;color:#1f2937;margin-bottom:.5rem}.card-subtitle{font-size:.875rem;color:#1f2937;margin-bottom:1rem}.search-container{position:relative;margin-bottom:1rem}.search-input{width:100%;padding:1rem 1rem 1rem 3rem;background:#fffef9;border:none;border-radius:12px;font-size:1rem;box-shadow:0 1px 3px #00000014}.search-input::-moz-placeholder{color:#9ca3af}.search-input::placeholder{color:#9ca3af}.search-input:focus{outline:none;box-shadow:0 1px 3px #00000014,0 0 0 2px #6b728033}.search-icon{position:absolute;left:1rem;top:50%;transform:translateY(-50%);color:#1f2937;width:1.25rem;height:1.25rem}.search-spinner{position:absolute;left:1rem;top:50%;transform:translateY(-50%)}.search-spinner .spinner-sm{width:1.125rem;height:1.125rem;border-width:2px;border-color:#6b72804d;border-top-color:#1f2937}.loading-overlay{position:relative;min-height:100px;display:flex;align-items:center;justify-content:center;background:#d4cfc480;border-radius:8px;margin-bottom:1rem}.loading-overlay-pagination{display:flex;align-items:center;justify-content:center;padding:3rem 1rem;margin-bottom:1rem}.opacity-50{opacity:.5;pointer-events:none;transition:opacity .2s ease}.order-list{transition:opacity .2s ease}.product-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem .75rem;width:100%}@media (min-width: 768px){.product-grid{grid-template-columns:repeat(3,1fr);gap:1.25rem 1rem}}@media (min-width: 1024px){.product-grid{grid-template-columns:repeat(4,1fr);gap:1.5rem 1.25rem}}.product-card{background:transparent;position:relative;min-width:0;overflow:hidden}.product-image-wrapper{position:relative;margin-bottom:.5rem;border-radius:12px;overflow:hidden}.product-image{width:100%;aspect-ratio:1;-o-object-fit:cover;object-fit:cover;background:#e8e4dc;border-radius:12px}.product-image-placeholder{display:flex;align-items:center;justify-content:center}.product-image-placeholder svg{width:2.5rem;height:2.5rem;color:#9ca3af}.product-edit-btn{position:absolute;bottom:.5rem;right:.5rem;width:2rem;height:2rem;background:#fffffff2;border:none;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 6px #00000026;z-index:10}.product-edit-btn svg{width:1rem;height:1rem;color:#1f2937}.product-edit-btn:active{background:#fff;transform:scale(.95)}.product-info{display:block;text-decoration:none;color:inherit;padding:.25rem .125rem 0;min-width:0;overflow:hidden}.product-name{font-size:.8125rem;font-weight:500;color:#1f2937;margin-bottom:.25rem;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;min-height:2.1em}.product-meta{font-size:.75rem;color:#1f2937;margin-bottom:.25rem;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-meta strong{font-weight:600}.product-sku{margin-right:.375rem}.product-yards{font-weight:600}.product-price{font-size:.9375rem;font-weight:700;color:#1f2937;margin-bottom:.125rem}.product-date{font-size:.6875rem;color:#1f2937;display:flex;align-items:center;gap:.2rem}.product-date svg{width:.75rem;height:.75rem;flex-shrink:0}@media (min-width: 768px){.product-name{font-size:.875rem}.product-meta{font-size:.8125rem}.product-price{font-size:1rem}.product-date{font-size:.75rem}.product-edit-btn{width:2rem;height:2rem}.product-edit-btn svg{width:1rem;height:1rem}}.pagination-container{text-align:center;padding:1.5rem 0;margin-top:.5rem}.pagination-info{font-size:.8125rem;color:#1f2937;margin-bottom:1rem}.pagination-pages{color:#9ca3af}.pagination-end{font-size:.8125rem;color:#9ca3af;margin:0}.pagination-controls{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-top:.75rem}.pagination-btn{display:flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;background:#1f2937;color:#fff;border:none;border-radius:6px;cursor:pointer;transition:background-color .2s}.pagination-btn svg{width:1.25rem;height:1.25rem}.pagination-btn:hover:not(:disabled){background:#2d2d2d}.pagination-btn-disabled{background:#1f2937;cursor:not-allowed;opacity:.5}.pagination-pages{display:flex;align-items:center;gap:.25rem}.pagination-page{min-width:2rem;height:2rem;padding:0 .5rem;background:transparent;color:#1f2937;border:1px solid #1f2937;border-radius:0;font-size:.875rem;cursor:pointer;transition:all .2s}.pagination-page:hover{background:#f3f4f6}.pagination-page-active{background:#1f2937;color:#fff;border-color:#1f2937}.pagination-page-active:hover{background:#2d2d2d}.pagination-ellipsis{padding:0 .25rem;color:#1f2937}.btn-load-more{background:#1f2937;color:#fff;padding:.875rem 2rem;border:none;border-radius:6px;font-weight:600;font-size:.875rem;cursor:pointer;transition:background-color .2s,transform .1s}.btn-load-more:hover{background:#2d2d2d}.btn-load-more:active{transform:scale(.98)}.btn-load-more:disabled{opacity:.6;cursor:not-allowed;transform:none}.spinner-sm{display:inline-block;width:.875rem;height:.875rem;border:2px solid rgba(255,255,255,.3);border-radius:50%;border-top-color:#fff;animation:spin .8s linear infinite;vertical-align:middle;margin-right:.25rem}.stock-count{font-size:1.125rem;font-weight:500;color:#1f2937;margin-bottom:1.25rem}.image-grid,.image-grid-3col{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}@media (min-width: 480px){.image-grid-3col{gap:1rem}}.image-slot-box{position:relative;aspect-ratio:1;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000001a}.image-slot-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:.5rem}.image-slot-placeholder img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.image-slot-placeholder .number-circle{width:85%;height:85%;border-radius:50%;background:linear-gradient(145deg,#d4e8e9,#b8d8da,#a8cdd0);border:6px solid #e5f0f1;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 2px 4px #0000000d}.image-slot-placeholder .number-circle span{font-size:2.25rem;font-weight:700;color:#4a5568;font-family:Georgia,Times New Roman,serif;font-style:italic;text-shadow:1px 1px 0 rgba(255,255,255,.5)}@media (min-width: 400px){.image-slot-placeholder .number-circle span{font-size:2.75rem}}@media (min-width: 480px){.image-slot-placeholder .number-circle span{font-size:3.5rem}.image-slot-placeholder .number-circle{border-width:8px}}.image-slot-filled{position:relative;width:100%;height:100%}.image-slot-filled img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.image-delete-btn{position:absolute;bottom:.5rem;right:.5rem;width:2rem;height:2rem;border-radius:50%;background:#0009;color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s;z-index:50;pointer-events:auto;touch-action:manipulation}.image-delete-btn:hover{background:#dc2626e6}.image-delete-btn:active{background:#dc2626}.image-delete-btn svg{width:1rem;height:1rem;pointer-events:none}.image-edit-btn{position:absolute;bottom:.5rem;left:.5rem;width:2rem;height:2rem;border-radius:50%;background:#0009;color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s;z-index:50;pointer-events:auto;touch-action:manipulation}.image-edit-btn:active{background:#3b82f6}.image-edit-btn:hover{background:#3b82f6e6}.image-edit-btn svg{width:1rem;height:1rem}.image-editor-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;background:#000;display:none;align-items:center;justify-content:center}.image-editor-modal.active{display:flex}.image-editor-container{width:100%;height:100%;display:flex;align-items:center;justify-content:center}#image-editor-container{width:100%;height:100%;min-width:320px;min-height:400px}.image-slot{position:relative;aspect-ratio:1;background:#f3f4f6;border-radius:8px;border:2px dashed #d1d5db;overflow:hidden}.image-slot-empty{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer}.image-badge{position:absolute;top:.25rem;left:.25rem;width:1.25rem;height:1.25rem;border-radius:50%;background:#0009;color:#fff;font-size:.75rem;display:flex;align-items:center;justify-content:center}.image-delete{position:absolute;top:.25rem;right:.25rem;width:1.5rem;height:1.5rem;border-radius:50%;background:#dc2626;color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center}.order-list{display:flex;flex-direction:column;gap:1rem}.order-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 1px 3px #00000014}.order-card-content{padding:1rem}.order-row{display:flex;align-items:center;padding:.75rem 0;border-bottom:1px solid #e5e5e5;position:relative}.order-row:last-of-type{border-bottom:none}.order-label{width:140px;flex-shrink:0;color:#1f2937;font-size:.9375rem}.order-value{flex:1;color:#1f2937;font-size:.9375rem}.order-value.font-bold{font-weight:700}.order-value.font-normal{font-weight:400}.order-checkbox{position:absolute;right:0;top:50%;transform:translateY(-50%);display:flex;align-items:center;cursor:pointer}.order-checkbox input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:22px;height:22px;border:2px solid #6b9080;border-radius:4px;background:transparent;cursor:pointer;position:relative}.order-checkbox input[type=checkbox]:checked{background:#6b9080}.order-checkbox input[type=checkbox]:checked:after{content:"✓";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;font-size:14px;font-weight:700}.btn-view-details{display:block;width:100%;padding:.875rem;margin-top:1rem;background:#a8c5b5;color:#1f2937;text-align:center;text-decoration:none;font-size:1rem;font-weight:500;border-radius:8px;border:none;cursor:pointer}.btn-view-details:active{background:#8fb3a1}.order-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.5rem}.order-id{font-weight:600;color:#1f2937}.order-id-large{font-size:1.25rem;font-weight:700}.order-status{font-size:.75rem;padding:.25rem .5rem;border-radius:4px;font-weight:500}.order-status-pending{background:#fef3c7;color:#92400e}.order-status-complete{background:#d1fae5;color:#065f46}.order-detail{font-size:.875rem;color:#1f2937}.order-item{display:flex;gap:.75rem;padding:.75rem 0;border-bottom:1px solid #e5e5e5}.order-item:last-child{border-bottom:none}.order-item-image{width:4rem;height:4rem;border-radius:8px;-o-object-fit:cover;object-fit:cover;background:#f3f4f6;flex-shrink:0}.order-item-placeholder{width:4rem;height:4rem;border-radius:8px;background:#f3f4f6;display:flex;align-items:center;justify-content:center;flex-shrink:0}.order-item-info{flex:1;min-width:0}.order-item-name{font-weight:500;color:#1f2937;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-total-row{display:flex;justify-content:space-between;margin-bottom:.5rem;font-size:.875rem}.order-total-row span:first-child{color:#1f2937}.order-total-row span:last-child{color:#1f2937}.order-grand-total{padding-top:.5rem;border-top:1px solid #e5e5e5;margin-top:.5rem}.order-grand-total span:first-child{font-weight:600;color:#1f2937}.order-grand-total span:last-child{font-weight:700;font-size:1.125rem;color:#1f2937}.wizard-progress{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-bottom:1rem}.wizard-step{width:2rem;height:2rem;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.875rem;font-weight:500;border:none;cursor:pointer}.wizard-step-active{background:#1f2937;color:#fff}.wizard-step-complete{background:#d1fae5;color:#065f46}.wizard-step-pending{background:#e5e5e5;color:#1f2937}.wizard-line{width:2rem;height:2px}.wizard-line-complete{background:#1f2937}.wizard-line-pending{background:#e5e5e5}.wizard-nav{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e5e5e5;padding:1rem;padding-bottom:max(1rem,env(safe-area-inset-bottom));display:flex;gap:.75rem}.wizard-bottom-nav{position:fixed;bottom:0;left:0;right:0;background:transparent;padding:1rem 1.5rem;padding-bottom:max(1rem,env(safe-area-inset-bottom));display:flex;justify-content:space-between;align-items:center;z-index:40}.nav-btn{width:3.5rem;height:3.5rem;border-radius:50%;border:2px solid #1f2937;background:transparent;color:#1f2937;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.nav-btn svg{width:1.5rem;height:1.5rem}.nav-btn:hover:not(:disabled){background:#3d3d3d1a}.nav-btn:active:not(:disabled){transform:scale(.95)}.nav-btn-disabled{opacity:.3;cursor:not-allowed}.nav-btn-back,.nav-btn-next,.nav-btn-delete{border-color:#1f2937;color:#1f2937}.nav-btn-delete:not(:disabled):hover{border-color:#dc2626;color:#dc2626}@media (min-width: 480px){.wizard-bottom-nav{padding:1.5rem 2rem;padding-bottom:max(.5rem,env(safe-area-inset-bottom))}.nav-btn{width:4rem;height:4rem}.nav-btn svg{width:1.75rem;height:1.75rem}}.success-container{text-align:center;padding:2rem 0}.success-icon{width:5rem;height:5rem;margin:0 auto 1.5rem;border-radius:50%;background:#d1fae5;display:flex;align-items:center;justify-content:center}.success-icon svg{width:2.5rem;height:2.5rem;color:#059669}.success-title{font-size:1.5rem;font-weight:700;color:#1f2937;margin-bottom:.5rem}.success-message{color:#1f2937;margin-bottom:1.5rem}.success-sku{background:#fff;border-radius:8px;padding:1.5rem;margin-bottom:1.5rem}.success-sku-label{font-size:.875rem;color:#1f2937;margin-bottom:.5rem}.success-sku-value{font-size:1.5rem;font-family:monospace;font-weight:700;color:#1f2937}.success-sku-hint{font-size:.75rem;color:#9ca3af;margin-top:.5rem}.loading{display:flex;justify-content:center;padding:2rem}.spinner{width:2rem;height:2rem;border:3px solid #e5e5e5;border-top-color:#1f2937;border-radius:50%;animation:spin .8s linear infinite}.spinner-sm{width:1rem;height:1rem;border-width:2px}@keyframes spin{to{transform:rotate(360deg)}}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:flex;align-items:flex-start;justify-content:center;padding-top:4rem}.modal-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#00000080}.modal-content{position:relative;background:#fff;width:100%;max-width:28rem;margin:0 1rem;border-radius:1rem;padding:1.5rem;box-shadow:0 4px 20px #00000026}.modal-title{font-size:1.125rem;font-weight:600;margin-bottom:1rem}.modal-actions{display:flex;gap:.75rem;margin-top:1rem}.modal-actions>*{flex:1}.quick-edit-modal{padding:1.25rem}.quick-edit-modal .modal-actions{margin-top:1.5rem}.quick-edit-modal .btn-primary{background-color:#c5c0b8;color:#1f2937;font-weight:600}.quick-edit-modal .btn-primary:hover{background-color:#b8b3aa}.quick-edit-modal .btn-secondary{background-color:#e8e4dc;font-weight:600}.fieldset-input{border:1px solid #c5c0b8;border-radius:.5rem;padding:.75rem 1rem;margin-bottom:1rem;background:#fff}.fieldset-input legend{font-size:.75rem;color:#1f2937;padding:0 .375rem;margin-left:-.25rem}.fieldset-input input{width:100%;border:none;outline:none;font-size:1rem;color:#1f2937;background:transparent;padding:0}.fieldset-input input::-moz-placeholder{color:#9ca3af}.fieldset-input input::placeholder{color:#9ca3af}.fieldset-readonly{background:#f9fafb}.fieldset-readonly input{color:#1f2937;cursor:default}.fieldset-price{display:flex;align-items:center;gap:.125rem}.fieldset-price .price-symbol{font-size:1rem;color:#1f2937}.fieldset-price input{flex:1}.divider{height:1px;background-color:#b8b3aa;margin:1rem 0}.text-center{text-align:center}.text-muted{color:#1f2937}.text-sm{font-size:.875rem}.text-xs{font-size:.75rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-bold{font-weight:700}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mt-4{margin-top:1rem}.flex{display:flex}.flex-1{flex:1}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.hidden{display:none}.empty-state{text-align:center;padding:3rem 1rem;color:#1f2937}.empty-state-icon{width:4rem;height:4rem;margin:0 auto 1rem;color:#d1d5db}.price-input-container{position:relative}.price-input-prefix{position:absolute;left:1rem;top:50%;transform:translateY(-50%);color:#1f2937}.review-list{font-size:.875rem}.review-row{display:flex;justify-content:space-between;margin-bottom:.5rem}.review-label{color:#1f2937}.review-value{font-weight:500;color:#1f2937}.images-preview{display:flex;gap:.5rem;overflow-x:auto;padding-bottom:.5rem;margin-bottom:1rem}.images-preview img{width:4rem;height:4rem;border-radius:8px;-o-object-fit:cover;object-fit:cover;flex-shrink:0}.alert-error{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:1rem;margin-bottom:1rem;color:#dc2626;font-size:.875rem}.login-container{min-height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem}.login-logo{margin-bottom:2.5rem}.login-logo img{width:14rem;height:auto}.login-form{width:100%;max-width:24rem}.login-input{width:100%;padding:.875rem 1rem;background:#fff;border:none;border-radius:2px;font-size:1rem;color:#1f2937;margin-bottom:1rem}.login-input::-moz-placeholder{color:#9ca3af}.login-input::placeholder{color:#9ca3af}.login-input:focus{outline:2px solid #1f2937;outline-offset:0}.login-error{color:#dc2626;font-size:.875rem;text-align:center;margin-bottom:1rem}.login-btn{width:100%;padding:.875rem 1rem;background-color:#1f2937;color:#fff;border:none;border-radius:2px;font-size:1rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;cursor:pointer;transition:background-color .2s}.login-btn:hover{background-color:#2d2d2d}.login-btn:disabled{opacity:.6;cursor:not-allowed}.login-spinner{display:inline-block;width:1rem;height:1rem;border:2px solid rgba(255,255,255,.3);border-radius:50%;border-top-color:#fff;animation:spin .8s linear infinite;margin-right:.5rem;vertical-align:middle}.product-edit-select{background:#f5f3ee;border:1px solid #d1cfc7;border-radius:6px;padding:.5rem 2.5rem .5rem .75rem;min-height:2.5rem;font-size:1rem;cursor:pointer;position:relative;transition:border .2s;text-align:left}.product-edit-select:disabled{background:#e5e5e5;cursor:not-allowed}.product-edit-select-arrow{position:absolute;right:1rem;top:50%;transform:translateY(-50%);pointer-events:none}[x-cloak]{display:none!important}.dropdown-checkbox-list{background:#fff;border:1px solid #e5e5e5;border-radius:8px;box-shadow:0 4px 16px #0000001f;margin-top:.25rem;max-height:250px;overflow-y:auto;z-index:50}.dropdown-checkbox-item{display:flex;align-items:center;padding:.75rem 1rem;cursor:pointer;transition:background .15s;border-bottom:1px solid #f0f0f0;gap:.75rem}.dropdown-checkbox-item:last-child{border-bottom:none}.dropdown-checkbox-item:hover{background:#fafafa}.dropdown-checkbox-item input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:1.25rem;height:1.25rem;border:2px solid #d1d5db;border-radius:4px;background:#fff;cursor:pointer;position:relative;flex-shrink:0;transition:all .15s ease}.dropdown-checkbox-item input[type=checkbox]:checked{background:#22c55e;border-color:#22c55e}.dropdown-checkbox-item input[type=checkbox]:checked:after{content:"";position:absolute;left:5px;top:2px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}.dropdown-checkbox-item span{font-size:.9375rem;color:#1f2937;line-height:1.4}.dropdown-checkbox-item.disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.dropdown-checkbox-item.disabled:hover{background:transparent}.dropdown-checkbox-item input[type=checkbox]:disabled{opacity:.5;cursor:not-allowed}.multiselect-wrapper{position:relative}.multiselect-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.75rem 2.5rem .75rem 1rem;background:#f5f5f0;border:none;border-radius:10px;font-size:1rem;color:#1f2937;cursor:pointer;text-align:left;transition:box-shadow .15s}.multiselect-trigger:focus{outline:none;box-shadow:0 0 0 2px #7eb8b866}.multiselect-trigger:disabled{background:#e5e5e0;color:#1f2937;cursor:not-allowed}.multiselect-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.multiselect-arrow{position:absolute;right:.875rem;top:50%;transform:translateY(-50%);width:1.25rem;height:1.25rem;flex-shrink:0;color:#1f2937;transition:transform .2s ease}.multiselect-arrow.rotate-180{transform:rotate(180deg) translateY(50%)}.multiselect-wrapper .dropdown-checkbox-list{position:absolute;left:0;right:0;margin-top:.25rem}.product-edit-header{display:flex;align-items:center;justify-content:space-between;padding:1rem;padding-top:max(1rem,env(safe-area-inset-top));background:#d4cfc4;position:sticky;top:0;z-index:43}.product-edit-back-btn{width:2.5rem;height:2.5rem;border-radius:50%;border:2px solid #1f2937;background:transparent;display:flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:none;transition:background-color .2s;padding:0;outline:none}.product-edit-back-btn:hover{background:#3d3d3d1a}.product-edit-back-btn:active{transform:scale(.95)}.product-edit-back-btn svg{width:1.25rem;height:1.25rem;color:#1f2937}.product-edit-header-logo{flex:1;display:flex;justify-content:center}.product-edit-header-logo img{height:3.5rem;width:auto}.product-edit-header-spacer{width:2.5rem}.product-edit-container{max-width:480px;margin:0 auto;padding-bottom:env(safe-area-inset-bottom)}.card .form-group .flex label.radio-label input{margin-top:3px}.card .form-group .flex{gap:20px}@media (min-width: 768px){.product-edit-container{max-width:540px}}@media (min-width: 1024px){.product-edit-container{max-width:600px}}.product-edit-form{padding-bottom:2rem}.product-edit-image-card{background:#fff;margin:.75rem;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #00000014}@media (min-width: 480px){.product-edit-image-card{margin:1rem}}.product-edit-image{width:100%;aspect-ratio:1;-o-object-fit:cover;object-fit:cover;display:block}.product-edit-image-placeholder{width:100%;aspect-ratio:1;background:#f3f4f6;display:flex;align-items:center;justify-content:center}.product-edit-image-placeholder svg{width:4rem;height:4rem;color:#d1d5db}.product-edit-image-actions{display:flex;justify-content:flex-end;padding:.625rem .75rem;background:#fff}@media (min-width: 480px){.product-edit-image-actions{padding:.75rem 1rem}}.btn-edit-images{background-color:#c8e0e0;color:#1f2937;padding:.5rem 1.25rem;border-radius:6px;font-size:.8125rem;font-weight:600;letter-spacing:.05em;border:none;cursor:pointer;text-transform:uppercase;transition:background-color .2s}.btn-edit-images:hover{background-color:#b8d0d0}.btn-edit-images:active{transform:scale(.98)}.product-edit-info{padding:.75rem}@media (min-width: 480px){.product-edit-info{padding:1rem}}.product-edit-title{font-size:1.125rem;font-weight:700;color:#1f2937;margin-bottom:.375rem;line-height:1.3}@media (min-width: 480px){.product-edit-title{font-size:1.25rem}}.product-edit-meta{display:flex;align-items:center;flex-wrap:wrap;gap:.375rem;margin-top:.25rem;font-size:.875rem;color:#1f2937}@media (min-width: 480px){.product-edit-meta{font-size:.9375rem;gap:.5rem}}.product-edit-meta strong{font-weight:600}.product-edit-meta .separator{color:#9ca3af}.product-edit-meta .price{font-weight:700;color:#1f2937}.product-edit-date{display:inline-flex;align-items:center;gap:.375rem;margin-top:.5rem;font-size:.8125rem;color:#1f2937}.product-edit-date svg{width:1rem;height:1rem;flex-shrink:0}.product-edit-field{padding:0 .75rem;margin-bottom:.875rem}@media (min-width: 480px){.product-edit-field{padding:0 1rem;margin-bottom:1rem}}.product-edit-label{display:block;font-size:.9375rem;font-weight:700;color:#1f2937;margin-bottom:.5rem}@media (min-width: 480px){.product-edit-label{font-size:1rem}}.product-edit-input{width:100%;padding:.75rem 1rem;background:#fff;border:none;border-radius:10px;font-size:1rem;color:#1f2937;box-shadow:0 1px 3px #0000000f;-webkit-appearance:none}.product-edit-input:focus{outline:none;box-shadow:0 0 0 2px #7eb8b866}.product-edit-input:disabled{background:#f9fafb;color:#1f2937}.product-edit-input-underline{width:100%;padding:.75rem 1rem;background:#fff;border:none;border-radius:10px;border-bottom:3px solid #7eb8b8;font-size:1rem;color:#1f2937;box-shadow:0 1px 3px #0000000f;-webkit-appearance:none}.product-edit-input-underline:focus{outline:none;border-bottom-color:#5ea0a0}.product-edit-textarea{width:100%;padding:.75rem 1rem;background:#fff;border:none;border-radius:10px;font-size:1rem;color:#1f2937;resize:none;min-height:5rem;box-shadow:0 1px 3px #0000000f;-webkit-appearance:none;font-family:inherit}.product-edit-textarea:focus{outline:none;box-shadow:0 0 0 2px #7eb8b866}.product-edit-select-wrapper{position:relative}.product-edit-select{width:100%;padding:.75rem 2.5rem .75rem 1rem;background:#f5f5f0;border:none;border-radius:10px;font-size:1rem;color:#1f2937;appearance:none;-webkit-appearance:none;-moz-appearance:none;cursor:pointer;box-shadow:0 1px 2px #0000000a}.product-edit-select:focus{outline:none;box-shadow:0 0 0 2px #7eb8b866}.product-edit-select:disabled{background:#e5e5e0;color:#1f2937;cursor:not-allowed}.product-edit-select-white{background:#fff;box-shadow:0 1px 3px #0000000f}.product-edit-select-arrow{position:absolute;right:.875rem;top:50%;transform:translateY(-50%);pointer-events:none;width:1.25rem;height:1.25rem;color:#1f2937}.btn-update{width:100%;padding:1rem;background-color:#c8e0e0;color:#1f2937;font-size:1rem;font-weight:600;letter-spacing:.05em;border:none;border-radius:10px;cursor:pointer;transition:background-color .2s,transform .1s;text-transform:uppercase}.btn-update:hover{background-color:#b8d0d0}.btn-update:active{transform:scale(.99)}.btn-update:disabled{opacity:.6;cursor:not-allowed;transform:none}.date-pill{display:inline-flex;align-items:center;gap:.25rem;background-color:#b4afa580;padding:.625rem 1rem;border-radius:9999px;font-size:.9375rem;color:#1f2937;font-weight:500}.date-pill input[type=date]{background:transparent;border:none;font-size:.9375rem;color:#1f2937;cursor:pointer;padding:1px;width:22px}.date-pill input[type=date]:focus{outline:none}.product-edit-divider{height:1px;background-color:#a8a8a8;margin:1.25rem .75rem}@media (min-width: 480px){.product-edit-divider{margin:1.5rem 1rem}}.product-edit-row{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;padding:0 .75rem;margin-bottom:.875rem}@media (min-width: 480px){.product-edit-row{gap:1rem;padding:0 1rem;margin-bottom:1rem}}.image-panel-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100}.image-panel-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#00000080}.image-panel{position:absolute;right:0;top:0;height:100%;width:100%;max-width:400px;background:#fff;box-shadow:-4px 0 20px #00000026;display:flex;flex-direction:column}.image-panel-header{display:flex;align-items:center;justify-content:space-between;padding:1rem;border-bottom:1px solid #e5e7eb;flex-shrink:0}.image-panel-title{font-size:1.125rem;font-weight:600;color:#1f2937}.image-panel-close{padding:.5rem;color:#1f2937;background:none;border:none;cursor:pointer;border-radius:8px}.image-panel-close:hover{background:#f3f4f6;color:#1f2937}.image-panel-close svg{width:1.5rem;height:1.5rem}.image-panel-content{flex:1;overflow-y:auto;padding:1rem}.image-panel-hint{font-size:.875rem;color:#1f2937;margin-bottom:1rem}.image-panel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}.image-slot{aspect-ratio:1;position:relative;border-radius:10px;overflow:hidden;border:2px dashed #d1d5db;background:#f9fafb}.image-slot-filled{border:none}.image-slot img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.image-slot-empty{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s}.image-slot-empty:hover{background:#f3f4f6}.image-slot-number{width:2rem;height:2rem;border-radius:50%;background:#e5e7eb;display:flex;align-items:center;justify-content:center;margin-bottom:.25rem;font-size:.875rem;font-weight:500;color:#1f2937}.image-slot-icon{width:1.25rem;height:1.25rem;color:#9ca3af}.image-slot-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#000000b3;display:flex;align-items:center;justify-content:center;gap:.5rem}.image-slot-btn{width:2.5rem;height:2.5rem;border-radius:50%;display:flex;align-items:center;justify-content:center;border:none;cursor:pointer;transition:transform .1s}.image-slot-btn:active{transform:scale(.95)}.image-slot-btn-edit{background:#fff;color:#1f2937}.image-slot-btn-delete{background:#ef4444;color:#fff}.image-slot-btn svg{width:1.125rem;height:1.125rem}.image-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#d4cfc4}.image-modal{display:flex;flex-direction:column;height:100%;max-width:600px;margin:0 auto}.image-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1rem;padding-top:max(1rem,env(safe-area-inset-top))}.image-modal-back{width:2.5rem;height:2.5rem;border-radius:50%;border:2px solid #1f2937;background:transparent;display:flex;align-items:center;justify-content:center;cursor:pointer}.image-modal-back svg{width:1.25rem;height:1.25rem;color:#1f2937}.image-modal-title{flex:1;text-align:center;font-size:1.125rem;font-weight:600;color:#1f2937;margin:0}.image-modal-header-spacer{width:2.5rem}.image-modal-content{flex:1;overflow-y:auto;padding:1rem}.image-modal-add-btn-wrapper{display:flex;justify-content:flex-end;margin-bottom:1rem}.image-modal-add-btn{width:2.75rem;height:2.75rem;border-radius:50%;border:2px solid #1f2937;background:transparent;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s}.image-modal-add-btn:hover{background:#3d3d3d1a}.image-modal-add-btn svg{width:1.5rem;height:1.5rem;color:#1f2937}.image-modal-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}@media (min-width: 480px){.image-modal-grid{gap:1.25rem}}.image-modal-slot{aspect-ratio:1;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #00000014}.image-modal-slot-filled{position:relative;width:100%;height:100%}.image-modal-slot-filled img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;cursor:pointer}.image-modal-slot-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#0009;display:flex;align-items:center;justify-content:center;gap:1rem}.image-modal-action-btn{width:3rem;height:3rem;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;border:none;transition:transform .1s}.image-modal-action-btn:active{transform:scale(.95)}.image-modal-action-btn svg{width:1.5rem;height:1.5rem}.image-modal-action-replace{background:#fff;color:#1f2937}.image-modal-action-edit{background:#3b82f6;color:#fff}.image-modal-action-edit:hover{background:#2563eb}.image-modal-action-delete{background:#ef4444;color:#fff}.image-modal-slot-empty{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;padding:1rem;transition:background-color .2s}.image-modal-slot-empty:hover{background:#f9fafb}.image-modal-slot-placeholder{width:60%;max-width:100px;margin-bottom:.5rem;opacity:.4}.image-modal-slot-placeholder img{width:100%;height:auto}.image-modal-slot-placeholder span{display:flex;align-items:center;justify-content:center;width:3rem;height:3rem;border-radius:50%;background:#e5e7eb;font-size:1.25rem;font-weight:600;color:#9ca3af}.image-modal-slot-text{font-size:.8125rem;color:#9ca3af;text-align:center}.image-modal-footer{padding:1rem;padding-bottom:max(1rem,env(safe-area-inset-bottom))}.image-modal-update-btn{width:100%;padding:1rem;background:#c8e0e0;color:#1f2937;font-size:1rem;font-weight:500;border:none;border-radius:10px;cursor:pointer;transition:background-color .2s}.image-modal-update-btn:hover{background:#b8d0d0}.image-modal-update-btn:active{transform:scale(.99)}[wire\:loading]{display:none}[wire\:loading].htmx-request,[wire\:loading].livewire-request{display:inline}.btn-update [wire\:loading],.image-modal-update-btn [wire\:loading]{display:none}.btn-update.loading [wire\:loading],.image-modal-update-btn.loading [wire\:loading]{display:inline}.icon-sm{width:1rem;height:1rem}.icon-md{width:1.25rem;height:1.25rem}.icon-lg{width:1.5rem;height:1.5rem}.icon-xl{width:2rem;height:2rem}.icon-muted{color:#9ca3af}.icon-dark{color:#1f2937}.toast{position:fixed;top:1rem;left:50%;transform:translate(-50%);padding:1rem 1.5rem;border-radius:.5rem;font-weight:500;font-size:.875rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;z-index:9999;max-width:90%;text-align:center}.toast-success{background-color:#10b981;color:#fff}.toast-error{background-color:#ef4444;color:#fff}@media (min-width: 640px){.toast{max-width:500px}}@media (max-width: 639px){.card .form-group .flex{gap:10px;flex-wrap:wrap}.card .form-group .flex label.radio-label{width:48%}}.success-popup-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:100;padding:1rem}.success-popup-modal{background:#fff;border-radius:1rem;padding:2rem;max-width:320px;width:100%;text-align:center;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.success-popup-icon{width:4rem;height:4rem;margin:0 auto 1rem;border-radius:50%;background:#d1fae5;display:flex;align-items:center;justify-content:center}.success-popup-icon svg{width:2rem;height:2rem;color:#059669}.success-popup-title{font-size:1.25rem;font-weight:700;color:#1f2937;margin-bottom:.5rem}.success-popup-message{font-size:.875rem;color:#1f2937;margin-bottom:1.5rem}.success-popup-buttons{display:flex;flex-direction:column;gap:.75rem}.success-popup-buttons .btn-primary,.success-popup-buttons .btn-secondary{width:100%;padding:.75rem 1rem;text-align:center;text-decoration:none}.mobile-attributes-form{margin:-1rem}.mobile-attributes-form .card-title{padding:1.25rem 1rem .25rem;margin:0;font-size:1.125rem;font-weight:700;color:#1f2937}.mobile-attributes-form .card-subtitle{padding:0 1rem 1rem;margin:0;font-size:.875rem;color:#1f2937}.mobile-select-group,.mobile-multiselect-group{background:#fff;margin:0 .75rem .75rem;border-radius:12px;overflow:hidden;box-shadow:0 1px 3px #00000014}.mobile-select-group:first-of-type{margin-top:0}.mobile-select-header{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;background-color:#c8e0e0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;transition:background-color .15s ease}.mobile-select-header:active{background-color:#b8d0d0}.mobile-select-title{font-weight:500;color:#1f2937;letter-spacing:.02em;flex-shrink:0;font-size:1rem;text-transform:capitalize}.mobile-select-value{flex:1;text-align:right;font-size:.9375rem;color:#4b5563;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.mobile-select-header svg,.mobile-select-item svg{width:1.25rem!important;height:1.25rem!important;min-width:1.25rem!important;min-height:1.25rem!important;max-width:1.25rem!important;max-height:1.25rem!important;flex-shrink:0}.mobile-select-header svg{width:.6rem!important;height:.6rem!important;min-width:.6rem!important;min-height:.6rem!important;max-width:.6rem!important;max-height:.6rem!important;flex-shrink:0}.mobile-select-arrow{color:#1f2937;transition:transform .2s ease}.mobile-select-arrow.rotate-180{transform:rotate(180deg)}.mobile-select-check{color:#059669}.mobile-select-list{background:#fff;max-height:350px;overflow-y:auto;-webkit-overflow-scrolling:touch;border-top:1px solid rgba(0,0,0,.06)}.card .review-list .review-row span.review-label:after{content:":"}.mobile-select-item{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid #d1d5db;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;transition:background-color .15s ease;background:#fff}.mobile-select-item:last-child{border-bottom:none}.mobile-select-item:active{background-color:#f9fafb}.mobile-select-item.selected{background-color:#e5e7eb}.mobile-select-item span{font-size:1rem;color:#1f2937;line-height:1.4;font-weight:400}.transition-list-enter{transition:opacity .15s ease-out,transform .15s ease-out}.transition-list-enter-start{opacity:0;transform:translateY(-8px)}.transition-list-enter-end{opacity:1;transform:translateY(0)}.transition-list-leave{transition:opacity .1s ease-in,transform .1s ease-in}.transition-list-leave-start{opacity:1;transform:translateY(0)}.transition-list-leave-end{opacity:0;transform:translateY(-8px)}.card:has(.mobile-attributes-form){padding:0;overflow:visible;background:transparent;box-shadow:none}@media (hover: none) and (pointer: coarse){.mobile-select-item,.mobile-select-header{padding:1.125rem 1.25rem}}@media (min-width: 768px){.mobile-select-group,.mobile-multiselect-group{margin:0 1rem 1rem}.mobile-select-list{max-height:400px}}#install-button img{width:70px;height:70px}.card .review-list .review-row{justify-content:unset;align-items:center;margin-bottom:0;border-bottom:1px solid #1f2937;padding:10px 0}.card .review-list .review-row span.review-label{font-weight:600;padding-right:5px}.card .review-list .review-row span.review-value{font-size:13px}.reviewlabel .text-muted{font-weight:600}.reviewlabel p.text-sm{font-size:13px;font-weight:500;color:#1f2937}.card:has(.mobile-attributes-form){background:#fff;border-radius:8px;padding:1rem;margin-bottom:1rem;box-shadow:0 1px 3px #0000001a}.card:has(.mobile-attributes-form) .mobile-select-group,.card:has(.mobile-attributes-form) .mobile-multiselect-group{border-radius:0}.card:has(.mobile-attributes-form) .mobile-select-header{padding:.75rem 1rem;background:#fff;border:1px solid #d1d5db;border-radius:4px;font-size:1rem;color:#1f2937}@media (max-width: 767px){.menu-btn svg,.back-btn svg{width:1.25rem;height:1.25rem}.header-title{text-align:left;font-size:1rem;padding-left:5px}.header-user-name{font-size:.7rem}.header-action-btn svg{width:1.25rem;height:1.25rem}#install-prompt.box-icon{bottom:160px;right:85px}.mobile-multiselect-group .mobile-select-list,.mobile-select-header,.card,.image-grid-3col{z-index:41;position:relative}.header{z-index:44}.invoice-header-actions{top:39px!important;z-index:43}}@media (max-width: 349px){.header-title{font-size:13px}}.order-detail-fullscreen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;background-color:#d4cfc4;display:flex;flex-direction:column;overflow:hidden}.order-detail-header{display:flex;align-items:center;padding:1rem 1.5rem;padding-top:max(1rem,env(safe-area-inset-top));background-color:#d4cfc4;position:sticky;top:0;z-index:43;gap:.75rem}.order-detail-header .back-btn{background:none;border:none;cursor:pointer;padding:.5rem;margin-left:-.5rem;text-decoration:none;outline:none;display:flex;align-items:center;justify-content:center;flex-shrink:0}.order-detail-header .back-btn svg{width:1.75rem;height:1.75rem;color:#1f2937}.order-detail-title{flex:1;text-align:center;font-size:1.125rem;font-weight:600;color:#1f2937;margin:0;padding:0 .5rem}.order-detail-header-actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.order-detail-header-actions .header-action-btn{width:2.5rem;height:2.5rem;display:flex;align-items:center;justify-content:center;background:transparent;border:none;cursor:pointer;color:#1f2937;padding:0}.order-detail-header-actions .header-action-btn svg{width:1.5rem;height:1.5rem}.order-detail-content{flex:1;overflow-y:auto;overflow-x:hidden;padding:1rem;padding-bottom:max(2rem,env(safe-area-inset-bottom))}@media (min-width: 480px){.order-detail-content{padding:1rem 1.5rem;padding-bottom:max(3rem,env(safe-area-inset-bottom))}}@media (min-width: 768px){.order-detail-content{padding:1.5rem 2rem}}.order-detail-fullscreen .modal-overlay{z-index:210}.invoice-container{background:#fff;border-radius:.5rem;padding:1.5rem 1rem;margin-bottom:1rem;max-width:100%;overflow-x:hidden}@media (min-width: 768px){.invoice-container{padding:2rem 1.5rem;max-width:800px;margin:0 auto 1rem}}.invoice-logo{text-align:center;margin-bottom:1.5rem}.invoice-logo img{height:4rem;width:auto}.invoice-message-box{background:#e0f4f7;border-radius:.25rem;padding:1.25rem;margin-bottom:1.5rem;display:flex;flex-direction:column;gap:1rem}.invoice-message-left{text-align:center}.invoice-message-left h2{font-size:1rem;font-weight:700;color:#1f2937;margin-bottom:.75rem;line-height:1.4}.invoice-message-left p{font-size:.875rem;color:#1f2937;line-height:1.5}.invoice-message-divider{height:1px;background:#b0dce3;width:100%}.invoice-message-right h3{font-size:.9375rem;font-weight:600;color:#1f2937;margin-bottom:.5rem}.invoice-message-right p{font-size:.875rem;color:#1f2937}.invoice-message-right a{color:#0891b2;text-decoration:none}@media (min-width: 480px){.invoice-message-box{flex-direction:row;align-items:stretch}.invoice-message-left{flex:1;text-align:left;padding-right:1rem}.invoice-message-divider{width:1px;height:auto}.invoice-message-right{padding-left:1rem;min-width:40%}}.invoice-order-info{text-align:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #e5e5e5}.invoice-order-info h2{font-size:1.125rem;font-weight:500;color:#1f2937;margin-bottom:.25rem;word-break:break-word}.invoice-order-info p{font-size:.8125rem;color:#1f2937;word-break:break-word}@media (min-width: 480px){.invoice-order-info h2{font-size:1.25rem}.invoice-order-info p{font-size:.875rem}}.invoice-items-table{margin-bottom:1rem;overflow-x:auto;-webkit-overflow-scrolling:touch}.invoice-table-header{display:grid;grid-template-columns:50px 1fr 45px 65px;gap:.5rem;padding:.75rem 0;border-bottom:2px solid #1f2937;font-size:.75rem;font-weight:600;color:#1f2937;min-width:100%}.invoice-table-row{display:grid;grid-template-columns:50px 1fr 45px 65px;gap:.5rem;padding:.75rem 0;border-bottom:1px solid #e5e5e5;align-items:center;font-size:.8125rem;min-width:100%}.invoice-table-row .col-image img{width:45px;height:45px;-o-object-fit:cover;object-fit:cover;border-radius:4px}.invoice-table-row .col-image .item-placeholder{width:45px;height:45px;background:#f3f4f6;border-radius:4px;display:flex;align-items:center;justify-content:center}.invoice-table-row .col-image .item-placeholder svg{width:1.5rem;height:1.5rem;color:#9ca3af}.invoice-table-row .col-item{display:flex;flex-direction:column;gap:.125rem}.invoice-table-row .col-item strong{font-weight:600;color:#1f2937;line-height:1.3}.invoice-table-row .col-item .item-sku{font-size:.75rem;color:#1f2937}.invoice-table-row .col-qty,.invoice-table-row .col-subtotal{text-align:right;color:#1f2937}@media (min-width: 480px){.invoice-table-header,.invoice-table-row{grid-template-columns:70px 1fr 70px 90px}.invoice-table-row .col-image img,.invoice-table-row .col-image .item-placeholder{width:60px;height:60px}}@media (min-width: 768px){.invoice-table-header,.invoice-table-row{grid-template-columns:80px 1fr 80px 100px}.invoice-table-row .col-image img,.invoice-table-row .col-image .item-placeholder{width:70px;height:70px}}.invoice-totals{padding:1rem 0;border-top:1px solid #e5e5e5}.invoice-total-row{display:flex;justify-content:space-between;gap:1rem;padding:.375rem 0;font-size:.875rem}.invoice-total-row span:first-child{color:#1f2937;text-align:left;flex:1}.invoice-total-row span:last-child{text-align:right;color:#1f2937;min-width:80px}@media (min-width: 480px){.invoice-total-row{justify-content:flex-end;gap:2rem}.invoice-total-row span:first-child{min-width:120px;text-align:right}}.invoice-grand-total{border-top:1px solid #e5e5e5;margin-top:.5rem;padding-top:.75rem;font-weight:600}.invoice-grand-total span:last-child{font-weight:700}.invoice-addresses{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;padding:1rem 0;border-top:1px solid #e5e5e5}@media (min-width: 640px){.invoice-addresses{gap:1rem}}@media (max-width: 480px){.invoice-addresses{gap:.5rem}.invoice-address-block h3,.invoice-address-block p{font-size:.75rem}}.invoice-address-block h3{font-size:.8125rem;font-weight:700;color:#0891b2;margin-bottom:.5rem}.invoice-address-block p{font-size:.8125rem;color:#1f2937;line-height:1.5;margin:0;word-break:break-word}.invoice-methods{display:grid;grid-template-columns:1fr;gap:1rem;padding-top:1rem;border-top:1px solid #e5e5e5}.image-slot-filled button.image-delete-btn{z-index:42}.order-list .empty-state{position:absolute;left:0;right:0}@media (min-width: 640px){.invoice-methods{grid-template-columns:1fr 1fr}}.invoice-method-block h3{font-size:.8125rem;font-weight:700;color:#0891b2;margin-bottom:.5rem}.invoice-method-block p{font-size:.8125rem;color:#1f2937;word-break:break-word}.invoice-checkbox-section{background:#fff;border-radius:.5rem;padding:1rem;margin-bottom:1rem}@media print{*{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;color-adjust:exact!important}body{background:#fff!important;margin:0;padding:0}.no-print{display:none!important}.invoice-checkbox-section,body.printing-invoice .invoice-checkbox-section,.no-print.invoice-checkbox-section,.invoice-checkbox-section.no-print,body.printing-invoice .no-print.invoice-checkbox-section,.order-detail-content .invoice-checkbox-section{display:none!important;visibility:hidden!important;height:0!important;overflow:hidden!important;margin:0!important;padding:0!important}.header,.side-menu,.overlay,.scroll-top-btn,.order-detail-header-actions,.order-detail-header,.search-container,.order-list,.pagination-container{display:none!important}body.printing-invoice .order-detail-fullscreen{position:static!important;background:#fff!important;display:block!important;width:100%!important;height:auto!important;overflow:visible!important;z-index:9999!important;margin:0!important;padding:0!important;visibility:visible!important;opacity:1!important}body.printing-invoice .order-detail-content{display:block!important;visibility:visible!important;padding:0!important;overflow:visible!important;height:auto!important}body.printing-invoice #invoice-content,body.printing-invoice .invoice-container{display:block!important;visibility:visible!important}body.printing-invoice .invoice-container *,body.printing-invoice #invoice-content *{visibility:visible!important}body.printing-invoice .invoice-container .invoice-logo,body.printing-invoice .invoice-container .invoice-message-box,body.printing-invoice .invoice-container .invoice-order-info,body.printing-invoice .invoice-container .invoice-items-table,body.printing-invoice .invoice-container .invoice-totals{display:block!important;visibility:visible!important}body.printing-invoice .invoice-container .invoice-addresses,body.printing-invoice .invoice-container .invoice-methods{display:grid!important;grid-template-columns:1fr 1fr!important;visibility:visible!important}body.printing-invoice .main-content{padding:0!important;margin:0!important;display:block!important}.order-detail-fullscreen{position:static!important;background:#fff!important}.order-detail-content{padding:0!important;overflow:visible!important}.main-content{padding:0!important;margin:0!important;max-width:100%!important}.invoice-container{box-shadow:none!important;padding:1.5rem!important;margin:0!important;border-radius:0!important;max-width:100%!important;page-break-inside:avoid}.invoice-message-box{background:#e0f4f7!important;page-break-inside:avoid}.invoice-table-header{background:#f9fafb!important}.invoice-items-table,.invoice-totals{page-break-inside:avoid}.invoice-addresses{page-break-inside:avoid;display:grid!important;grid-template-columns:1fr 1fr!important;gap:1rem!important}.invoice-address-block{display:block!important;page-break-inside:avoid}.invoice-address-block p{display:block!important;margin:0!important;line-height:1.5!important}.invoice-methods{page-break-inside:avoid}.invoice-checkbox-section,.invoice-checkbox-section *{display:none!important;visibility:hidden!important}@page{margin:1.5cm;size:A4}@page :first{margin-top:1cm}}.image-slot-filled{cursor:grab;touch-action:pan-y}.image-slot-filled:active{cursor:grabbing}.image-slot-filled button{touch-action:manipulation;pointer-events:auto}.image-slot-filled.dragging{opacity:.5;transform:rotate(5deg)}.image-slot-filled.touch-dragging{box-shadow:0 10px 25px #0000004d;transform:scale(1.05);border-radius:8px;overflow:hidden}.image-slot-box.drag-over{border:2px dashed #3b82f6;background-color:#3b82f61a}.image-slot-box{transition:all .2s ease}.drag-handle{position:absolute;top:.5rem;left:.5rem;width:2rem;height:2rem;border-radius:50%;display:flex;align-items:center;justify-content:center;opacity:1;transition:background .2s;cursor:grab;z-index:42}.drag-handle:hover{background:#000000e6}.drag-handle:active{cursor:grabbing}.drag-handle svg{width:1rem;height:1rem;color:#fff}.image-modal-slot-filled{cursor:grab}.image-modal-slot-filled:active{cursor:grabbing}.image-modal-slot-filled.dragging{opacity:.5;transform:rotate(5deg)}.image-modal-slot.drag-over{border:2px dashed #3b82f6;background-color:#3b82f61a}.image-modal-slot{transition:all .2s ease}.edit-drag-handle{position:absolute;top:8px;left:8px;width:20px;height:20px;background:#000000b3;border-radius:4px;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s;pointer-events:none}.edit-drag-handle svg{width:12px;height:12px;color:#fff}.image-modal-slot-filled:hover .edit-drag-handle{opacity:1}.image-slot-loading-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#ffffffe6;display:flex;align-items:center;justify-content:center;z-index:20;border-radius:8px}.image-grid-loading-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#fffffff2;display:flex;align-items:center;justify-content:center;z-index:50;border-radius:12px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.image-grid-loading-content{display:flex;flex-direction:column;align-items:center;justify-content:center}.load-more-sentinel{display:flex;justify-content:center;align-items:center;padding:2rem 1rem;min-height:100px}.loading-more{display:flex;align-items:center;gap:.75rem;color:#1f2937;font-size:.875rem}.loading-more .spinner-sm{width:1.25rem;height:1.25rem;border:2px solid rgba(31,41,55,.3);border-top-color:#1f2937;border-radius:50%;animation:spin .8s linear infinite}.total-count{text-align:center;padding:1rem 0;margin-top:1rem}.total-count p{font-size:.875rem;color:#1f2937;margin:0}.end-of-results{font-size:.8125rem;color:#9ca3af;margin-top:.5rem!important;font-style:italic}.product-info-disabled,.product-info-disabled:hover{opacity:.7}.loading-progress-container{width:100%;max-width:200px;display:flex;flex-direction:column;align-items:center;gap:.5rem}.loading-progress-bar{width:100%;height:6px;background:#e5e7eb;border-radius:3px;overflow:hidden}.loading-progress-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#1d4ed8);border-radius:3px;transition:width .3s ease}.loading-progress-text{font-size:.75rem;color:#6b7280;font-weight:500}.image-grid-loading-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#ffffffe6;display:flex;align-items:center;justify-content:center;z-index:20;border-radius:8px}.image-grid-loading-content{display:flex;flex-direction:column;align-items:center;text-align:center;padding:1rem}.image-editor-loading{position:absolute;top:0;left:0;right:0;bottom:0;background:#fffffff2;display:flex;align-items:center;justify-content:center;z-index:100}.image-editor-loading .loading-content{display:flex;flex-direction:column;align-items:center;text-align:center}@keyframes pulse-loading{0%,to{opacity:1}50%{opacity:.5}}.preloading{animation:pulse-loading 1.5s ease-in-out infinite}.save-progress-indicator{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;padding:2rem;border-radius:12px;box-shadow:0 10px 40px #0003;z-index:9999;display:flex;flex-direction:column;align-items:center;min-width:250px}.save-progress-indicator .spinner{width:3rem;height:3rem;margin-bottom:1rem}.save-progress-indicator .progress-text{font-size:.875rem;color:#4b5563;margin-bottom:.5rem}.save-progress-indicator .progress-bar{width:100%;height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden}.save-progress-indicator .progress-fill{height:100%;background:#10b981;border-radius:4px;transition:width .2s ease}@media (max-width: 768px){.loading-progress-container{max-width:150px}.save-progress-indicator{min-width:200px;padding:1.5rem}.save-progress-indicator .spinner{width:2.5rem;height:2.5rem}}
