@import"https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap";.admin-batches,.admin-batch-detail{padding:0rem;max-width:1400px;margin:0 auto}.admin-batches{width:100%;border-collapse:separate;border-spacing:0}.admin-batches thead th{background:linear-gradient(135deg,#f8fafc,#f1f5f9);padding:1rem 1.25rem;text-align:center;font-weight:700;color:#334155;font-size:.85rem;text-transform:uppercase;letter-spacing:.05em;border-bottom:2px solid #e2e8f0}.admin-batches thead th:first-child{border-radius:.75rem 0 0}.admin-batches thead th:last-child{border-radius:0 .75rem 0 0}.admin-batches tbody tr{transition:all .2s ease}.admin-batches tbody tr:hover{background:#f8fafc}.admin-batches tbody td{padding:1rem 1.25rem;border-bottom:1px solid #e2e8f0;vertical-align:middle}.admin-batches tbody td code{background:#f1f5f9;padding:.25rem .5rem;border-radius:.375rem;font-family:Monaco,Menlo,monospace;font-size:.85rem;color:#475569}.admin-batches .numeric{text-align:center}.admin-batches .actions{display:flex;gap:.5rem;flex-wrap:wrap}.admin-batches tbody tr.closed-row{background:#f8fafc;opacity:.85}.admin-batches tbody tr.closed-row:hover{background:#f1f5f9;opacity:1}.admin-batches tbody tr.closed-row td{color:#64748b}.status-badge.open{background:#dcfce7;color:#166534;border:1px solid #86efac;padding:.35rem .75rem;border-radius:9999px;font-size:.8rem;font-weight:600}.status-badge.closed{background:#f1f5f9;color:#475569;border:1px solid #cbd5e1;padding:.35rem .75rem;border-radius:9999px;font-size:.8rem;font-weight:600}h1 .status-badge.closed{margin-left:.75rem;font-size:.85rem;vertical-align:middle}.admin-batches .btn-sm{padding:.4rem .75rem;font-size:.8rem}.admin-batch-detail .items-summary-table{width:100%;border-collapse:separate;border-spacing:0;margin-top:1rem}.admin-batch-detail .items-summary-table thead th{background:linear-gradient(135deg,#fef3c7,#fde68a);padding:.875rem 1rem;text-align:left;font-weight:700;color:#92400e;font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;border-bottom:2px solid #fcd34d}.admin-batch-detail .items-summary-table thead th:first-child{border-radius:.5rem 0 0}.admin-batch-detail .items-summary-table thead th:last-child{border-radius:0 .5rem 0 0}.admin-batch-detail .items-summary-table tbody td{padding:.875rem 1rem;border-bottom:1px solid #e2e8f0;background:#fff}.admin-batch-detail .items-summary-table tbody tr:last-child td{border-bottom:none}.admin-batch-detail .items-summary-table tbody tr:last-child td:first-child{border-radius:0 0 0 .5rem}.admin-batch-detail .items-summary-table tbody tr:last-child td:last-child{border-radius:0 0 .5rem}.admin-batch-detail .items-summary-table .numeric{text-align:center;font-weight:600}.admin-batch-detail .items-summary-table .quantity{background:#fef3c7;color:#92400e;padding:.25rem .75rem;border-radius:9999px;font-weight:700}.admin-batch-detail{width:100%;border-collapse:separate;border-spacing:0}.admin-batch-detail thead th{background:linear-gradient(135deg,#e0e7ff,#c7d2fe);padding:.875rem 1rem;text-align:left;font-weight:700;color:#3730a3;font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;border-bottom:2px solid #a5b4fc}.admin-batch-detail thead th:first-child{border-radius:.5rem 0 0}.admin-batch-detail thead th:last-child{border-radius:0 .5rem 0 0}.admin-batch-detail tbody td{padding:.875rem 1rem;border-bottom:1px solid #e2e8f0;vertical-align:middle}.admin-batch-detail tbody tr:hover{background:#f8fafc}.admin-batch-detail .edit-notes-section{background:#fffbeb;border:1px solid #fcd34d;border-radius:.75rem;padding:1.5rem;margin-bottom:1.5rem}.admin-batch-detail .edit-notes-section label{display:flex;flex-direction:column;gap:.5rem}.admin-batch-detail .edit-notes-section label span{font-weight:600;color:#92400e}.admin-batch-detail .edit-notes-section textarea{width:100%;min-height:100px;padding:.875rem;border:1px solid #e2e8f0;border-radius:.5rem;font-size:.95rem;resize:vertical}.admin-batch-detail .edit-notes-section textarea:focus{outline:none;border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b1a}.admin-batch-detail .batch-notes{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.75rem;padding:1.25rem;margin-bottom:1.5rem}.admin-batch-detail .batch-notes h3{font-size:.9rem;color:#64748b;margin-bottom:.5rem;font-weight:600}.admin-batch-detail .batch-notes p{color:#334155;line-height:1.6;white-space:pre-wrap}.admin-batch-detail .summary-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-bottom:2rem}.admin-batch-detail .summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;padding:1.5rem;box-shadow:0 1px 3px #0000000d}.admin-batch-detail .summary-card h3{font-size:.9rem;color:#64748b;margin-bottom:1rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.packs-summary-section{padding:1.25rem;margin-bottom:1rem;background:linear-gradient(135deg,#fef3c7,#fde68a);border-radius:.75rem;border:1px solid #fcd34d}.packs-summary-section h4{margin:0 0 1rem;font-size:1rem;color:#92400e}.packs-summary-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}.pack-summary-card{background:#fff;border-radius:.5rem;padding:1rem;border:1px solid #fcd34d;box-shadow:0 2px 4px #0000000d}.pack-summary-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.pack-summary-header strong{font-size:.95rem;color:#0f172a}.pack-qty-badge{background:#f59e0b;color:#fff;padding:.25rem .75rem;border-radius:999px;font-size:.8rem;font-weight:700}.pack-summary-details{display:flex;gap:.75rem;align-items:center;margin-bottom:.75rem}.pack-discount-tag{background:#fef3c7;color:#b45309;padding:.2rem .5rem;border-radius:.25rem;font-size:.75rem;font-weight:600}.pack-price{font-weight:600;color:#0f172a}.pack-contents-list{list-style:none;padding:0;margin:0;font-size:.85rem;color:#64748b}.pack-contents-list li{padding:.25rem 0 .25rem 1rem;position:relative}.pack-contents-list li:before{content:"•";position:absolute;left:0;color:#f59e0b}.source-badge{display:inline-block;padding:.2rem .6rem;border-radius:999px;font-size:.7rem;font-weight:600;text-transform:uppercase}.source-badge.pack{background:#fef3c7;color:#b45309;border:1px solid #fcd34d}.source-badge.direct{background:#e0f2fe;color:#0369a1;border:1px solid #7dd3fc}.order-items-list li.pack-item{background:#fffbeb;padding:.35rem .5rem;border-radius:.25rem;margin:.25rem 0}.item-pack-badge{margin-right:.25rem}.item-discount{margin-left:.5rem;color:#b45309;font-size:.85em;font-weight:600}@media(max-width:768px){.admin-batches,.admin-batch-detail{padding:1rem}.admin-batches .table-wrapper{overflow-x:auto;margin:0 -1rem;padding:0 1rem}.admin-batches,.admin-batch-detail,.admin-batch-detail .items-summary-table{min-width:600px}.admin-batches .actions{flex-direction:column}}:root{--neutral-50: #fafaf9;--neutral-100: #f5f5f4;--neutral-200: #e7e5e4;--neutral-300: #d6d3d1;--neutral-400: #a8a29e;--neutral-500: #78716c;--neutral-600: #57534e;--neutral-700: #44403c;--neutral-800: #292524;--neutral-900: #1c1917;--accent-gold: #c6a87c;--accent-gold-dark: #b08d55;--accent-rose: #eec1be;--primary: var(--neutral-900);--primary-text: var(--neutral-900);--secondary-text: var(--neutral-600);--surface: #ffffff;--surface-alt: var(--neutral-50);--shadow-sm: 0 1px 2px rgba(0, 0, 0, .04);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .05), 0 2px 4px -1px rgba(0, 0, 0, .03);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .05), 0 4px 6px -2px rgba(0, 0, 0, .025);--radius-sm: 2px;--radius-md: 4px;--radius-lg: 8px;--font-serif: "Playfair Display", serif;--font-sans: "Inter", sans-serif}*,*:before,*:after{box-sizing:border-box}body{margin:0;font-family:var(--font-sans);background-color:#fff;color:var(--primary-text);min-height:100vh;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3,h4{margin:0;font-family:var(--font-serif);font-weight:600;color:var(--primary-text);letter-spacing:-.02em}p{margin:0;color:var(--secondary-text);line-height:1.7}img{max-width:100%;display:block}button{font-family:var(--font-sans)}@media(max-width:768px){input,select,textarea{font-size:16px!important}}.page-shell{min-height:100vh;background-color:var(--surface);padding-inline:1rem}@media(max-width:767px){.page-shell{padding-inline:1rem}}.page-container{width:100%;max-width:1400px;margin-top:0;margin-left:auto;margin-right:auto;padding:0 1.5rem}@media(min-width:640px){.page-container{padding:0 2rem}}@media(min-width:1024px){.page-container{padding:0 3rem}}.shop-header{position:sticky;top:0;z-index:50;background:#fffffff2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--neutral-200)}.header-content{padding:1rem 0;display:flex;align-items:center;justify-content:flex-start;gap:2rem;position:relative}@media(max-width:640px){.header-content{flex-wrap:wrap;gap:.75rem 1.25rem}}.header-title{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.header-icon{width:4.5rem;height:4.5rem}.brand-name{font-family:var(--font-serif);font-size:1.75rem;font-weight:600;color:var(--neutral-900);letter-spacing:-.01em}.header-subtitle{display:none}.header-actions{margin-left:auto;display:flex;align-items:center;gap:.75rem}.header-actions .action-button{white-space:nowrap}.track-order-icon{display:block;stroke-width:2.2;stroke:currentColor;fill:none}@media(max-width:1023px){.header-actions .track-order-button{width:44px;height:44px;padding:0;border-radius:50%;color:var(--neutral-900)}.track-order-label{display:none}.header-actions .track-order-button .track-order-icon{width:24px;height:24px;stroke-width:2.4}}@media(min-width:768px){.header-subtitle{display:block;margin-left:0;font-size:.85rem;color:var(--secondary-text);border-left:1px solid var(--neutral-300);padding-left:1rem;margin-top:0;flex:1;max-width:400px;opacity:.8}}.shop-content{padding:2rem 0 6rem}.header-cart-button{position:relative;width:48px;height:48px;border-radius:50%;background-color:#fff;color:#000;border:1px solid black;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .2s ease,background-color .2s ease,color .2s ease;flex-shrink:0;margin-left:auto}.header-cart-button:hover{transform:scale(1.05);background-color:#000;color:#fff}.header-cart-button:active{transform:scale(.95)}.cart-badge{position:absolute;top:-5px;right:-5px;background-color:red;color:#fff;border-radius:50%;padding:2px 6px;font-size:12px;font-weight:700}@media(min-width:1024px){.header-cart-button{display:none}}.shop-grid{display:grid;gap:3rem}@media(min-width:1024px){.shop-grid{grid-template-columns:1fr 380px;gap:4rem}}.product-sections{display:flex;flex-direction:column;gap:4rem}.product-groups{display:flex;flex-direction:column;gap:3rem}.product-category-block{display:flex;flex-direction:column;gap:1.5rem}.category-heading{font-family:var(--font-serif);font-size:1.75rem;font-weight:500;color:var(--primary-text);margin:0;padding-bottom:.75rem;border-bottom:2px solid var(--neutral-900);display:inline-block;margin-bottom:.5rem}.product-grid{display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));align-items:stretch}.product-grid-wrapper{position:relative;overflow:hidden}.product-grid-wrapper.has-overflow{padding:0 1.5rem}.product-grid-wrapper.has-overflow:before,.product-grid-wrapper.has-overflow:after{content:"";position:absolute;top:0;bottom:0;width:2rem;pointer-events:none;background:linear-gradient(to right,var(--surface) 0%,rgba(255,255,255,0) 100%);z-index:2}.product-grid-wrapper.has-overflow:after{right:0;transform:scaleX(-1)}.product-grid-wrapper.has-overflow:before{left:0}.product-carousel-grid{display:grid;grid-auto-flow:column;grid-auto-columns:clamp(260px,28vw,320px);gap:1.5rem;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;padding:.25rem 0;scroll-padding-inline:1.5rem}.product-carousel-grid::-webkit-scrollbar{display:none}.product-carousel-grid>*{scroll-snap-align:start}.carousel-button{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:1px solid var(--neutral-200);background:#ffffffe6;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:var(--neutral-900);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;z-index:10}.carousel-button:hover{background:var(--neutral-900);color:#fff;border-color:var(--neutral-900)}.carousel-button.left{left:1rem}.carousel-button.right{right:1rem}.product-card{background:transparent;border:none;border-radius:0;overflow:visible;display:flex;flex-direction:column;transition:transform .3s ease}.product-card:hover{transform:translateY(-4px)}.product-image-frame{width:100%;aspect-ratio:1 / 1;background:var(--neutral-100);border:none;padding:0;overflow:hidden;cursor:pointer;position:relative;border-radius:var(--radius-md)}.product-image{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}.product-image-frame:hover .product-image{transform:scale(1.03)}.product-info{padding:1rem 0;display:flex;flex-direction:column;gap:.25rem}.product-tag{font-size:.75rem;color:var(--neutral-500);text-transform:uppercase;letter-spacing:.08em;margin-bottom:.35rem}.product-name{background:none;border:none;padding:0;text-align:left;font-family:var(--font-serif);font-size:1.1rem;font-weight:500;color:var(--neutral-900);cursor:pointer;transition:color .2s ease}.product-card .product-tag{line-height:1.3;min-height:2.6em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-card .product-name{line-height:1.4;min-height:2.8em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-name:hover{color:var(--neutral-600)}.product-footer{display:flex;align-items:center;justify-content:space-between;margin-top:.5rem}.product-price{font-size:1rem;font-weight:500;color:var(--neutral-900)}.action-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem 1rem;border-radius:var(--radius-sm);border:1px solid var(--neutral-900);background:transparent;color:var(--neutral-900);font-size:.9rem;font-weight:500;letter-spacing:.02em;transition:all .2s ease;cursor:pointer;min-height:44px}.action-button:hover{background:var(--neutral-900);color:#fff}.action-button.primary{background:var(--neutral-900);color:#fff;border:1px solid var(--neutral-900)}.action-button.primary:hover{background:var(--neutral-800);transform:translateY(-1px)}.action-button:disabled{cursor:not-allowed;opacity:.7;background:var(--neutral-100);color:var(--neutral-500);border-color:var(--neutral-200);transform:none}.action-button.primary:disabled{background:var(--neutral-200);border-color:var(--neutral-200);color:var(--neutral-500)}.action-button.full{width:100%}.action-button.large{padding:.8rem 1.5rem;font-size:1rem}.brand-section{padding:2rem 0;background:var(--neutral-50)}.brand-story{max-width:800px;margin:0 auto 4rem;text-align:center}.brand-story h2{font-size:2rem;margin-bottom:1.5rem}.brand-story p{font-size:1.1rem;line-height:1.8}.brand-story p+p{margin-top:1rem}.feature-grid{display:grid;gap:2rem;grid-template-columns:1fr;margin-top:1.5rem}@media(min-width:640px){.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:1024px){.feature-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}.feature-card{background:#fff;border:1px solid var(--neutral-200);border-radius:var(--radius-lg);padding:0rem;text-align:center;display:flex;flex-direction:column;align-items:center;gap:.5rem}.feature-icon{width:3rem;height:3rem;color:var(--neutral-900);display:flex;align-items:center;justify-content:center;margin:0 auto}.feature-card h3{font-size:1.1rem;margin:0}.feature-card p{color:var(--neutral-600);font-size:.95rem}.order-column{width:100%}.order-summary{background:var(--surface);border:1px solid var(--neutral-200);border-radius:var(--radius-lg);position:sticky;top:6rem;padding:0 0 1.5rem}.order-header{padding:1.5rem 1.5rem 1rem;border-bottom:1px solid var(--neutral-100)}.order-title{display:flex;align-items:center;gap:.75rem;font-family:var(--font-serif);font-weight:600;font-size:1.25rem}.order-icon{color:var(--neutral-900)}.order-body{padding:1.5rem}.empty-cart{text-align:center;color:var(--secondary-text);padding:3rem 1rem}.empty-icon{opacity:.2;margin-bottom:1rem}.cart-item-list{display:flex;flex-direction:column;gap:1.5rem;max-height:400px;overflow-y:auto;padding-right:.5rem}.cart-line{display:flex;gap:1rem;padding-bottom:1.5rem;border-bottom:1px solid var(--neutral-100)}.cart-line:last-child{border-bottom:none;padding-bottom:0}.cart-line-image{width:70px;height:70px;border-radius:var(--radius-md);object-fit:cover;flex-shrink:0;background:var(--neutral-100)}.cart-line-details{flex:1;min-width:0}.cart-line-name{margin:0 0 .25rem;font-family:var(--font-serif);font-size:1rem;color:var(--neutral-900)}.cart-line-price{color:var(--secondary-text);font-size:.9rem}.cart-line-actions{display:flex;align-items:center;gap:.5rem;margin-top:.5rem}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:var(--radius-sm);border:1px solid var(--neutral-200);background:transparent;color:var(--neutral-900);transition:all .2s ease;cursor:pointer}.icon-button:hover{background:var(--neutral-900);color:#fff;border-color:var(--neutral-900)}.icon-button.subtle{border-color:transparent}.icon-button.subtle:hover{background:var(--neutral-100);color:var(--neutral-900);border-color:transparent}.icon-button.danger{color:#ef4444}.icon-button.danger:hover{background:#fef2f2;border-color:#fca5a5;color:#dc2626}.quantity-value{min-width:24px;text-align:center;font-weight:500;color:var(--neutral-900);font-size:.9rem}.divider{height:1px;background:var(--neutral-200);margin:1.5rem 0}.divider.soft{margin:1rem 0;background:var(--neutral-100)}.summary-rows{display:flex;flex-direction:column;gap:.75rem}.summary-row{display:flex;align-items:center;justify-content:space-between;font-size:.95rem}.summary-row .muted{color:var(--secondary-text)}.summary-row.total{font-weight:600;font-size:1.1rem;margin-top:.5rem;color:var(--neutral-900)}.total-amount{font-size:1.5rem}.checkout-form{display:flex;flex-direction:column;gap:1rem}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.75rem}.form-field{display:flex;flex-direction:column;gap:.35rem;font-size:.9rem;color:var(--secondary-text)}.form-field input,.form-field textarea,.form-field select{width:100%;border-radius:var(--radius-sm);border:1px solid var(--neutral-200);padding:.65rem .75rem;font-family:var(--font-sans);font-size:.95rem;background:var(--surface);color:var(--primary-text);transition:border-color .2s ease,box-shadow .2s ease;resize:vertical}.form-field input:focus,.form-field textarea:focus,.form-field select:focus{outline:none;border-color:var(--neutral-900);box-shadow:0 0 0 3px #1c191714}.form-field textarea{min-height:90px}.error-text{color:#dc2626;font-size:.95rem}.success-text{color:#15803d;font-size:.95rem}.status-banner{padding:.85rem 1rem;border-radius:var(--radius-md);border:1px solid var(--neutral-200);background:var(--neutral-50);margin-bottom:1rem}.status-banner.success{border-color:#bbf7d0;background:#f0fdf4;color:#166534}.status-banner.error{border-color:#fecdd3;background:#fff1f2;color:#b91c1c}.order-success-actions{margin-top:.75rem}.muted-text{color:var(--secondary-text);font-size:.9rem}.header-action{margin-left:auto}.tracking-page{display:flex;flex-direction:column;gap:2rem}.tracking-card{background:var(--surface);border:1px solid var(--neutral-200);border-radius:var(--radius-lg);padding:2rem}.tracking-card h2{margin:0 0 .5rem;font-family:var(--font-serif);font-size:1.75rem;color:var(--neutral-900)}.tracking-form{margin-top:1.25rem;display:grid;gap:1rem;grid-template-columns:1fr}@media(min-width:640px){.tracking-form{grid-template-columns:minmax(0,1fr) auto;align-items:end}}.tracking-grid{display:grid;gap:2rem}@media(min-width:900px){.tracking-grid{grid-template-columns:1.1fr .9fr;align-items:start}}.tracking-panel{background:var(--surface);border:1px solid var(--neutral-200);border-radius:var(--radius-lg);padding:1.5rem}.tracking-panel h3{margin:0 0 1rem;font-family:var(--font-serif);font-size:1.1rem;color:var(--neutral-900)}.tracking-meta{display:flex;flex-direction:column;gap:.75rem}.tracking-id{word-break:break-all;font-size:.9rem;color:var(--neutral-900)}.status-pill{display:inline-flex;align-items:center;padding:.25rem .75rem;border-radius:999px;border:1px solid var(--neutral-200);font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--neutral-700)}.tracking-timeline{display:flex;flex-direction:column;gap:1rem}.tracking-step{display:flex;gap:.75rem;align-items:flex-start}.tracking-dot{width:12px;height:12px;border-radius:50%;border:2px solid var(--neutral-300);margin-top:.35rem;flex-shrink:0}.tracking-step.completed .tracking-dot{background:var(--neutral-900);border-color:var(--neutral-900)}.tracking-step-body h4{margin:0;font-size:.95rem;color:var(--neutral-900)}.tracking-step-body p{margin:.2rem 0 0;font-size:.85rem;color:var(--secondary-text)}.tracking-address p{margin:0}.tracking-items{display:flex;flex-direction:column;gap:1rem}.tracking-item{display:flex;justify-content:space-between;gap:1rem}.tracking-item-name{margin:0;font-weight:500;color:var(--neutral-900)}.tracking-item-meta{margin:.2rem 0 0;font-size:.85rem;color:var(--secondary-text)}.tracking-item-total{font-weight:500;color:var(--neutral-900);white-space:nowrap}.modal-overlay{position:fixed;inset:0;background:#0006;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:1rem;z-index:60}.modal-card{background:var(--surface);border-radius:var(--radius-lg);width:100%;max-width:1000px;max-height:90vh;overflow-y:auto;padding:2.5rem;position:relative;box-shadow:var(--shadow-lg);border:1px solid var(--neutral-200)}@media(max-width:640px){.modal-card{padding:1.5rem;border-radius:var(--radius-md)}.modal-close{top:1rem;right:1rem}}.modal-close{position:absolute;top:1.5rem;right:1.5rem;width:44px;height:44px;border-radius:50%;border:1px solid var(--neutral-200);background:#fff;display:inline-flex;align-items:center;justify-content:center;color:var(--neutral-500);transition:all .2s ease;cursor:pointer}.modal-close:hover{background:var(--neutral-900);color:#fff;border-color:var(--neutral-900)}.modal-grid{display:grid;gap:3rem}@media(min-width:768px){.modal-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}.modal-image-wrap{background:var(--neutral-50);border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:1 / 1.1}.modal-image{width:100%;height:100%;object-fit:cover}.modal-details{display:flex;flex-direction:column;gap:1.5rem;padding-top:1rem}.modal-title{font-family:var(--font-serif);font-size:2.25rem;margin:0;line-height:1.1;color:var(--neutral-900)}.modal-price-row{display:flex;align-items:baseline;gap:.75rem}.modal-price{font-size:1.5rem;font-weight:500;color:var(--neutral-900)}.section-title{margin:0 0 .5rem;font-size:.9rem;text-transform:uppercase;letter-spacing:.05em;color:var(--neutral-500);font-weight:600}.modal-description{color:var(--secondary-text);line-height:1.8;font-size:1.05rem}.feature-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.75rem}.feature-item{display:flex;align-items:flex-start;gap:.75rem;color:var(--secondary-text)}.feature-bullet{width:6px;height:6px;border-radius:50%;background:var(--neutral-900);margin-top:.5rem;flex-shrink:0}.pack-section{padding:2rem 0 3rem;border-bottom:1px solid var(--neutral-200);margin-bottom:1rem}.pack-section-header{text-align:center;margin-bottom:2rem}.pack-section-title{display:flex;align-items:center;justify-content:center;gap:.75rem;font-family:var(--font-serif);font-size:1.75rem;font-weight:600;color:var(--neutral-900);margin:0}.pack-section-title svg{color:var(--neutral-700)}.pack-section-subtitle{color:var(--secondary-text);font-size:1rem;margin:.5rem 0 0}.pack-grid{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}@media(max-width:640px){.pack-grid{grid-template-columns:1fr}}.pack-card{background:linear-gradient(135deg,#fefce8,#fff7ed);border:2px solid #fbbf24;border-radius:var(--radius-lg);padding:1.25rem;position:relative;overflow:hidden;display:flex;flex-direction:column;height:100%;transition:transform .3s ease,box-shadow .3s ease}.pack-card:hover{transform:translateY(-4px);box-shadow:0 8px 25px #fbbf2433}.pack-card--standard{background:#fff;border:1px solid var(--neutral-200);box-shadow:0 6px 16px #0f172a14}.pack-card--standard:hover{box-shadow:0 10px 24px #0f172a1f}.pack-badge{position:absolute;top:.75rem;right:.75rem;display:flex;align-items:center;gap:.35rem;background:#f59e0b;color:#fff;padding:.35rem .75rem;border-radius:999px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.02em;z-index:2}.pack-image-frame{width:100%;aspect-ratio:16 / 9;background:#ffffffb3;border-radius:var(--radius-md);overflow:hidden;margin-bottom:1rem}.pack-image{width:100%;height:100%;object-fit:cover}.pack-image-frame .placeholder{display:flex;align-items:center;justify-content:center;height:100%}.pack-products-preview{display:flex;justify-content:center;padding:1rem}.pack-products-preview .preview-item{width:60px;height:60px;border-radius:50%;overflow:hidden;border:2px solid white;box-shadow:0 2px 8px #0000001a;margin-left:-15px}.pack-products-preview .preview-item:first-child{margin-left:0}.pack-products-preview .preview-item img{width:100%;height:100%;object-fit:cover}.pack-products-preview .preview-placeholder{width:100%;height:100%;background:var(--neutral-200)}.pack-info{display:flex;flex-direction:column;gap:.5rem;flex:1}.pack-name{font-family:var(--font-serif);font-size:1.25rem;font-weight:600;color:var(--neutral-900);margin:0}.pack-description{font-size:.9rem;color:var(--secondary-text);margin:0;line-height:1.5}.pack-toggle{display:flex;align-items:center;gap:.5rem;background:transparent;border:none;padding:.5rem 0;font-size:.85rem;color:var(--neutral-600);cursor:pointer;transition:color .2s ease}.pack-toggle:hover{color:var(--neutral-900)}.pack-items-list{background:#fffc;border-radius:var(--radius-sm);padding:.75rem;margin:.5rem 0;display:flex;flex-direction:column;gap:.5rem}.pack-card:not(.pack-card--standard) .pack-items-list{background:transparent}.pack-item{display:flex;align-items:center;gap:.75rem;font-size:.85rem}.pack-item-image{width:32px;height:32px;border-radius:var(--radius-sm);overflow:hidden;flex-shrink:0}.pack-item-image img{width:100%;height:100%;object-fit:cover}.pack-item-image .placeholder-small{width:100%;height:100%;background:var(--neutral-200)}.pack-item-info{flex:1;display:flex;align-items:center;gap:.5rem}.pack-item-name{color:var(--neutral-800)}.pack-item-qty{color:var(--neutral-500);font-size:.8rem}.pack-item-price{color:var(--secondary-text);font-size:.8rem}.pack-pricing{display:flex;flex-direction:column;gap:.25rem;margin-top:auto;padding-top:.5rem}.pack-prices{display:flex;align-items:baseline;gap:.75rem}.pack-original-price{font-size:1rem;color:var(--neutral-400);text-decoration:line-through}.pack-discounted-price{font-size:1.5rem;font-weight:600;color:var(--neutral-900)}.pack-savings{font-size:.85rem;color:#15803d;font-weight:500}.pack-add-button{margin-top:1rem;width:100%;background:var(--neutral-900);color:#fff;border-color:var(--neutral-900)}.pack-add-button:hover{background:var(--neutral-800)}.cart-line-pack{position:relative;background:linear-gradient(135deg,#fefce8,#fff7ed);border-radius:var(--radius-md);padding:1rem;margin:-.5rem}.cart-line-pack-badge{position:absolute;top:.5rem;right:.5rem;display:flex;align-items:center;gap:.25rem;background:#f59e0b;color:#fff;padding:.2rem .5rem;border-radius:999px;font-size:.65rem;font-weight:600;text-transform:uppercase}.cart-line-pack-pricing{display:flex;align-items:baseline;gap:.5rem}.cart-line-original-price{font-size:.8rem;color:var(--neutral-400);text-decoration:line-through}.cart-line-expand{display:inline-flex;align-items:center;gap:.25rem;background:transparent;border:none;padding:.25rem 0;font-size:.75rem;color:var(--neutral-500);cursor:pointer;margin-top:.25rem}.cart-line-expand:hover{color:var(--neutral-700)}.cart-line-pack-items{background:#ffffffb3;border-radius:var(--radius-sm);padding:.5rem;margin-top:.5rem;display:flex;flex-direction:column;gap:.25rem}.cart-line-pack-item{display:flex;justify-content:space-between;font-size:.75rem;color:var(--neutral-600)}.cart-line-pack-item .pack-item-name{flex:1}.cart-line-pack-item .pack-item-qty{color:var(--neutral-400)}:root{--admin-bg: #f4f6fb;--sidebar-bg: #0f172a;--sidebar-text: #cbd5e1;--sidebar-text-active: #e2e8f0;--card-bg: #ffffff;--stroke: #e2e8f0;--muted: #6b7280;--accent: #0ea5e9;--accent-strong: #0284c7;--warning: #f59e0b;--shadow: 0 18px 55px rgba(15, 23, 42, .12)}.admin-layout{display:flex;min-height:100vh;background:radial-gradient(circle at 20% 20%,rgba(14,165,233,.12),transparent 35%),radial-gradient(circle at 80% 0%,rgba(2,132,199,.1),transparent 30%),var(--admin-bg);font-family:Space Grotesk,Inter,Segoe UI,sans-serif;color:#0f172a}.admin-sidebar{width:260px;background:linear-gradient(180deg,#0b1324,#0f172a);color:var(--sidebar-text);display:flex;flex-direction:column;padding:1.5rem;flex-shrink:0;border-right:1px solid rgba(255,255,255,.04);position:sticky;top:0;height:100vh}.admin-sidebar h2{color:#fff;margin-bottom:2rem;font-size:1.5rem;font-weight:700;letter-spacing:-.025em}.admin-sidebar nav{display:flex;flex-direction:column;gap:.5rem;flex:1;overflow-y:auto;margin-right:-.5rem;padding-right:.5rem}.admin-sidebar a{padding:.75rem 1rem;border-radius:.65rem;color:var(--sidebar-text);text-decoration:none;font-weight:600;transition:all .2s;border:1px solid transparent}.admin-sidebar a:hover,.admin-sidebar a.active{background-color:#ffffff0f;color:var(--sidebar-text-active);border-color:#ffffff14}.logout-btn{margin-top:auto;background:none;border:1px solid rgba(255,255,255,.18);color:var(--sidebar-text);padding:.75rem;border-radius:.65rem;cursor:pointer;transition:all .2s}.logout-btn:hover{background:#ffffff14;color:#fff}.admin-content{flex:1;padding:1.75rem 2rem 2.25rem;overflow-y:auto;width:100%;max-width:1500px;margin:0 auto}.login-container{display:flex;align-items:center;justify-content:center;min-height:100vh;background:var(--admin-bg)}.login-card{background:#fff;padding:2.5rem;border-radius:1rem;box-shadow:0 4px 6px #0000000d;width:100%;max-width:420px}.login-card h1{text-align:center;margin-bottom:2rem;color:#111827}.primary-btn{background:linear-gradient(135deg,var(--accent),var(--accent-strong));color:#fff;padding:.7rem 1.1rem;border-radius:.65rem;text-decoration:none;border:none;font-weight:700;cursor:pointer;transition:transform .2s,box-shadow .2s,opacity .2s;display:inline-flex;align-items:center;justify-content:center;gap:.35rem;box-shadow:0 12px 30px #0ea5e959}.primary-btn:hover{transform:translateY(-1px);box-shadow:0 16px 40px #0ea5e959}.primary-btn:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.secondary-btn,.tertiary-btn{border:1px solid var(--stroke);background:#fff;color:#0f172a;padding:.6rem .9rem;border-radius:.65rem;cursor:pointer;transition:all .2s;font-weight:600;display:inline-flex;align-items:center;gap:.3rem}.secondary-btn:hover,.tertiary-btn:hover{background:#f8fafc}.tertiary-btn{background:#f8fafc;border-style:dashed}.ghost-btn{border:1px dashed var(--stroke);background:transparent;color:var(--accent-strong);padding:.6rem .9rem;border-radius:.65rem;cursor:pointer;transition:all .2s;font-weight:700}.ghost-btn:hover{border-color:var(--accent);color:var(--accent)}.admin-loading{display:flex;align-items:center;justify-content:center;min-height:100vh;background:var(--admin-bg);color:#111827}.admin-loading .primary-btn{margin-top:1rem}.admin-products{display:flex;flex-direction:column;gap:1.25rem}.products-hero{display:grid;grid-template-columns:1.2fr 1fr;gap:1.25rem;background:linear-gradient(120deg,#e0f2fe,#ecfeff);border:1px solid #e0f2fe;border-radius:1rem;padding:1.5rem 1.75rem;box-shadow:0 12px 40px #0ea5e91f}.products-hero.compact{grid-template-columns:1fr;padding:1.25rem 1.5rem}.products-hero.compact{display:grid;grid-template-rows:auto auto;gap:1rem}.hero-text h1{margin:.15rem 0;font-size:2rem;letter-spacing:-.02em}.hero-text p{margin:.15rem 0 .5rem;color:#0f172a}.hero-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.35rem}.hero-meta{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem;color:var(--muted);font-weight:600}.inventory-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:.75rem;align-items:stretch}.stat-card{background:#fff;border:1px solid var(--stroke);border-radius:.9rem;padding:.9rem;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:.25rem;min-width:0;word-break:break-word;height:100%}.stat-card span{display:block;color:var(--muted);font-weight:600;margin-bottom:.1rem}.stat-card strong{display:flex;align-items:baseline;gap:.35rem;font-size:1.55rem;line-height:1.1;color:#0f172a;font-variant-numeric:tabular-nums;max-width:100%}.stat-value{white-space:nowrap}.stat-currency{font-size:.95rem;color:#0f172a;opacity:.85}.stat-card small{color:var(--muted);font-weight:600}.stat-card.accent{background:linear-gradient(150deg,#0ea5e91f,#fff);border-color:#c8f0ff}.products-shell{display:grid;grid-template-columns:minmax(0,2fr) minmax(360px,1fr);gap:1.15rem;align-items:start}.products-panel.full-width{max-width:100%}.products-panel,.products-form{background:var(--card-bg);border-radius:1rem;padding:1rem;box-shadow:var(--shadow);border:1px solid var(--stroke)}.products-panel{min-height:420px;padding:1.5rem}@media(max-width:480px){.products-panel{padding:.75rem}}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:.25rem}.panel-head h2{margin:.15rem 0}.panel-actions{display:flex;align-items:center;gap:.5rem}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.75rem;color:var(--accent-strong);font-weight:800;margin:0}.pill{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .6rem;background:#f8fafc;border:1px solid var(--stroke);color:#0f172a;border-radius:999px;font-weight:700;font-size:.85rem}.pill.light{background:#ecfeff;color:#0f172a;border-color:#bae6fd}.pill.neutral{background:#f8fafc;color:#0f172a}.products-filters{display:flex;gap:.75rem;margin-bottom:1rem}.products-filters.enhanced{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem;margin:1rem 0 .35rem}.filter-field{display:flex;flex-direction:column;gap:.35rem;font-weight:700;color:#0f172a}.filter-field input,.filter-field select{padding:.65rem .75rem;border:1px solid var(--stroke);border-radius:.65rem;background:#f8fafc;transition:border-color .2s,box-shadow .2s}.filter-field input:focus,.filter-field select:focus{border-color:var(--accent);box-shadow:0 0 0 3px #0ea5e933;outline:none}.filter-field.inline-toggle{justify-content:flex-end}.table-wrapper{overflow-x:auto;border:1px solid var(--stroke);border-radius:.95rem;background:#fff}.products-table{width:100%;font-size:.95rem;table-layout:fixed;border-collapse:collapse}.products-table th,.products-table td{padding:.85rem .9rem;text-align:left}.products-table thead th{font-weight:700;color:#475569;background:#f8fafc;border-bottom:1px solid var(--stroke);vertical-align:middle}.products-table th:first-child,.products-table td:first-child{width:40px!important;min-width:40px!important;max-width:40px!important;padding:0;text-align:center}.products-table thead th:nth-child(2){width:40%}.products-table thead th:nth-child(3){width:15%}.products-table thead th:nth-child(4){width:15%}@media(max-width:640px){.products-table thead th:nth-child(2){width:auto}}.products-table tbody td{border-top:1px solid #f1f5f9;vertical-align:middle}.products-table tbody tr:hover td{background:#f8fafc}.products-table th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .2s}.products-table th.sortable:hover{background:#f1f5f9}.order-items-table{width:100%;font-size:.95rem;table-layout:fixed;border-collapse:collapse}.order-items-table th,.order-items-table td{padding:.85rem .9rem;text-align:left}.order-items-table thead th{font-weight:700;color:#475569;background:#f8fafc;border-bottom:1px solid var(--stroke);vertical-align:middle}.order-items-table thead th:nth-child(1){width:45%}.order-items-table thead th:nth-child(2),.order-items-table thead th:nth-child(3),.order-items-table thead th:nth-child(4){width:15%}.order-items-table thead th:nth-child(5){width:10%}@media(max-width:640px){.order-items-table thead th:nth-child(1){width:auto}}.order-items-table tbody td{border-top:1px solid #f1f5f9;vertical-align:middle}.order-items-table tbody tr:hover td{background:#f8fafc}.orders-table{width:100%;font-size:.95rem;table-layout:fixed;border-collapse:collapse}.orders-table th,.orders-table td{padding:.85rem .9rem;text-align:left}.orders-table thead th{font-weight:700;color:#475569;background:#f8fafc;border-bottom:1px solid var(--stroke);vertical-align:middle}.orders-table th:first-child,.orders-table td:first-child{width:40px!important;min-width:40px!important;max-width:40px!important;padding:0;text-align:center}.orders-table thead th:nth-child(2){width:15%}.orders-table thead th:nth-child(3){width:15%}.orders-table thead th:nth-child(4){width:15%}@media(max-width:640px){.orders-table thead th:nth-child(2){width:auto}}.orders-table tbody td{border-top:1px solid #f1f5f9;vertical-align:middle}.orders-table tbody tr:hover td{background:#f8fafc}.notifications-table{width:100%;font-size:.95rem;table-layout:fixed;border-collapse:collapse}.notifications-table th,.notifications-table td{padding:.85rem .9rem;text-align:left}.notifications-table thead th{font-weight:700;color:#475569;background:#f8fafc;border-bottom:1px solid var(--stroke);vertical-align:middle}.notifications-table tbody td{border-top:1px solid #f1f5f9;vertical-align:middle}.notifications-table tbody tr:hover td{background:#f8fafc}.notifications-table td.actions,.notifications-table th.actions{text-align:right;white-space:nowrap}.notifications-table td.toggle-cell,.notifications-table th.toggle-cell{text-align:center}.chat-id-cell{font-weight:700;font-variant-numeric:tabular-nums;word-break:break-word}.sort-icon{display:inline-block;margin-left:.25rem;opacity:.4;font-size:.85rem}.sort-icon.active{opacity:1;color:var(--accent)}.product-row{display:flex;align-items:center;gap:1rem}.product-row.clickable{cursor:pointer}.product-row.clickable:focus{outline:2px solid var(--accent);outline-offset:4px}.product-thumb{width:72px;height:72px;border-radius:.65rem;border:1px solid var(--stroke);background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}.product-thumb.has-image{background:#fff;padding:0}.product-thumb img{width:100%;height:100%;object-fit:cover;display:block}.product-thumb.placeholder{color:var(--muted);font-weight:700;font-size:1.5rem;border-style:dashed;background:#f8fafc}.product-thumb:hover{transform:scale(1.05);transition:transform .2s}.product-cell{display:flex;flex-direction:column;gap:.25rem}.product-name{font-weight:700;font-size:1.05rem}.product-desc{margin:0;color:var(--muted);font-size:.9rem}.product-tags{display:flex;flex-wrap:wrap;gap:.4rem}.numeric{text-align:right;font-weight:700}.stock-cell{gap:.15rem;font-weight:700}.stock-cell.low{color:red}.status-badge{padding:.35rem .6rem;border-radius:999px;font-size:.85rem;font-weight:700;border:1px solid transparent}.status-dropdown{position:relative;display:inline-block;min-width:140px}.status-dropdown-trigger{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;padding:.35rem 2.1rem .35rem 2rem;line-height:1.2;border:1px solid transparent;border-radius:999px;cursor:pointer;font:inherit;letter-spacing:.02em;transition:transform .15s ease,box-shadow .15s ease,filter .15s ease}.status-dropdown-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.status-dropdown-trigger:disabled{cursor:not-allowed;opacity:.7}.status-dropdown-trigger:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 18px #0f172a1f}.status-dropdown-chevron{width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .15s ease}.status-dropdown.open .status-dropdown-chevron{transform:rotate(-135deg)}.status-dropdown-list{position:absolute;top:calc(100% + 8px);left:0;right:0;background:#fff;border:1px solid var(--stroke);border-radius:.85rem;padding:.4rem;box-shadow:0 16px 28px #0f172a2e;display:flex;flex-direction:column;gap:.3rem;z-index:20;animation:dropdown-pop .14s ease-out}.status-dropdown-item{border:1px solid transparent;border-radius:.7rem;padding:.45rem .75rem;text-align:center;font-weight:700;letter-spacing:.02em;cursor:pointer;background:#f8fafc;color:#0f172a;transition:transform .15s ease,box-shadow .15s ease}.status-dropdown-item:hover{transform:translateY(-1px);box-shadow:0 8px 14px #0f172a1f}.status-dropdown-item.badge-created{background:#f8fafc;color:#475569;border-color:#e2e8f0}.status-dropdown-item.badge-confirmed{background:#eff6ff;color:#1e40af;border-color:#bfdbfe}.status-dropdown-item.badge-shipped{background:#fefce8;color:#854d0e;border-color:#fef08a}.status-dropdown-item.badge-delivered{background:#ecfdf3;color:#166534;border-color:#bbf7d0}.status-dropdown-item.badge-canceled{background:#fef2f2;color:#991b1b;border-color:#fecdd3}@keyframes dropdown-pop{0%{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.status-cell{display:flex;flex-direction:column;gap:.35rem;align-items:center}.status-update-hint{font-size:.75rem;color:var(--muted)}.status-update-error{font-size:.75rem;color:#b91c1c}.status-badge.ok{background:#ecfdf3;color:#166534;border-color:#bbf7d0}.status-badge.badge-created{background:#f8fafc;color:#475569;border-color:#e2e8f0}.status-badge.badge-confirmed{background:#eff6ff;color:#1e40af;border-color:#bfdbfe}.status-badge.badge-shipped{background:#fefce8;color:#854d0e;border-color:#fef08a}.status-badge.badge-delivered{background:#ecfdf3;color:#166534;border-color:#bbf7d0}.status-badge.badge-canceled{background:#fef2f2;color:#991b1b;border-color:#fecdd3}.status-badge.open{background:#dcfce7;color:#166534;border-color:#86efac}.status-badge.closed{background:#f1f5f9;color:#475569;border-color:#cbd5e1;margin-left:.75rem;font-size:.85rem}.status-badge.large{padding:.5rem 1rem;font-size:1rem}.order-details-page{display:flex;flex-direction:column;gap:2rem}.details-header{border-bottom:2px solid var(--stroke);padding-bottom:1.5rem}.back-link{color:var(--accent);text-decoration:none;font-weight:700;font-size:.95rem;display:inline-block;margin-bottom:1rem}.header-main{display:flex;align-items:center;gap:1.5rem;margin-bottom:.5rem}.order-meta{color:var(--muted);font-weight:600}.details-grid{display:grid;grid-template-columns:2fr 1fr;gap:2rem}.details-card{background:#fff;border:1px solid var(--stroke);border-radius:1rem;padding:1.5rem;box-shadow:var(--shadow);margin-bottom:1.5rem}.details-card h3{margin-bottom:1.25rem;font-size:1.25rem;border-bottom:1px solid var(--stroke);padding-bottom:.75rem}.info-group{margin-bottom:1rem}.info-group label{display:block;font-size:.85rem;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.25rem}.info-group p{font-weight:600;font-size:1.05rem}.address-text{line-height:1.6;font-weight:600}.btn-group{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1rem}.status-actions p{font-weight:700;margin-bottom:.5rem}@media(max-width:768px){.details-grid{display:grid;grid-template-columns:1fr;gap:1.5rem}.details-main-col,.details-side-col{display:contents}.header-main{flex-direction:column;align-items:flex-start;gap:.75rem}.order-meta{word-break:break-word}.details-card{padding:1rem}.details-card h3{font-size:1.1rem;padding-bottom:.6rem}.details-card.timeline-card{order:10}.timeline-item{gap:1rem}}.timeline{display:flex;flex-direction:column;gap:1.5rem}.timeline-item{display:flex;gap:1.5rem;position:relative}.timeline-item:after{content:"";position:absolute;left:7.5px;top:15px;bottom:-30px;width:2px;background:#e2e8f0}.timeline-item:last-child:after{display:none}.timeline-marker{width:17px;height:17px;border-radius:50%;background:#cbd5e1;z-index:1;margin-top:5px;border:3px solid #fff;box-shadow:0 0 0 1px #cbd5e1}.timeline-item.completed .timeline-marker{background:var(--accent);box-shadow:0 0 0 1px var(--accent)}.timeline-item.completed:after{background:var(--accent)}.timeline-item.canceled .timeline-marker{background:var(--warning);box-shadow:0 0 0 1px var(--warning)}.timeline-content h4{font-size:1rem;margin-bottom:.25rem}.timeline-content p{font-size:.9rem;color:var(--muted)}.order-id-link{color:var(--accent-strong);text-decoration:none;font-weight:700}.order-id-link:hover{text-decoration:underline}.customer-cell{display:flex;flex-direction:column}.numeric{font-variant-numeric:tabular-nums}.restock-cell{display:flex;gap:.5rem;align-items:center;white-space:nowrap}.restock-cell input{width:88px;padding:.5rem .6rem;border:1px solid var(--stroke);border-radius:.6rem;background:#f8fafc}.restock-cell input:focus{border-color:var(--accent);outline:none}.actions-cell{gap:.5rem;white-space:nowrap;align-items:center;justify-content:center}.icon-btn-action{background:#f8fafc;border:1px solid var(--stroke);cursor:pointer;padding:.5rem;border-radius:.6rem;transition:all .2s ease;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;color:#475569}.icon-btn-action svg{display:block;width:18px;height:18px}.icon-btn-action.edit:hover{background:#dbeafe;border-color:#93c5fd;color:#1e40af;transform:translateY(-2px);box-shadow:0 4px 12px #3b82f633}.icon-btn-action.delete:hover{background:#fee2e2;border-color:#fca5a5;color:#991b1b;transform:translateY(-2px);box-shadow:0 4px 12px #ef444433}.icon-btn-action:active{transform:translateY(0)}.products-form{position:sticky;top:1.5rem;transition:transform .25s ease,opacity .25s ease;transform:translateY(0)}.products-form.collapsed{transform:translateY(8px);opacity:.45;pointer-events:none}.products-form.expanded{transform:translateY(0);opacity:1}.form-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:.75rem}.form-header h2{margin:.15rem 0}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.form-grid label{display:flex;flex-direction:column;gap:.35rem;font-weight:700;color:#111827}.form-grid input,.form-grid textarea{border:1px solid var(--stroke);padding:.65rem .75rem;border-radius:.65rem;background:#f8fafc;transition:border-color .2s,box-shadow .2s}.form-grid input:focus,.form-grid textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #0ea5e933;outline:none}.form-grid .full-width{grid-column:span 2}.form-grid .checkbox{flex-direction:row;align-items:center;gap:.5rem;grid-column:span 2}.details-list{display:flex;flex-direction:column;gap:.5rem}.details-row{display:flex;gap:.5rem}.details-row input{flex:1}.icon-btn{background:#fee2e2;color:#991b1b;border:1px solid #fecdd3;border-radius:.55rem;padding:0 .6rem;cursor:pointer;font-weight:700;line-height:1.6}.icon-btn:hover{background:#fecdd3}.helper-text{color:var(--muted);font-size:.85rem}.form-actions{display:flex;gap:.75rem;grid-column:span 2}.error-banner{background:#fef2f2;color:#b91c1c;padding:.75rem 1rem;border-radius:.8rem;border:1px solid #fecdd3;margin-bottom:1rem;font-weight:700}.muted-text{color:var(--muted)}.product-image.placeholder{background:#f1f5f9;border:1px dashed #cbd5e1;width:100%;height:180px;border-radius:.75rem}@media(max-width:1100px){.products-hero,.products-shell{grid-template-columns:1fr}.products-form{position:relative;top:0}.bulk-action-bar{left:0;padding:1rem;flex-direction:column;gap:1rem}.bulk-actions{flex-direction:row;flex-wrap:wrap;width:100%;justify-content:center;gap:.5rem}.bulk-actions button{width:auto;flex:1;min-width:100px}}@media(max-width:960px){.form-grid{grid-template-columns:1fr}.form-grid .full-width,.form-grid .checkbox,.form-actions{grid-column:span 1}.panel-head{flex-direction:column;align-items:flex-start}}.modal-overlay{position:fixed;inset:0;background:#0f172a99;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease;padding:.5rem;overflow-y:auto;overflow-x:hidden}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:1rem;box-shadow:0 25px 50px #00000040;max-width:600px;width:90%;max-height:85vh;display:flex;flex-direction:column;animation:slideUp .3s ease;box-sizing:border-box}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.product-modal{max-width:700px}.confirm-modal{max-width:450px}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem;border-bottom:1px solid var(--stroke)}.modal-header h2{margin:0;font-size:1.5rem}.close-modal{background:transparent;border:none;font-size:2rem;line-height:1;cursor:pointer;color:var(--muted);transition:color .2s;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.close-modal:hover{color:#0f172a}.modal-body{padding:.75rem;overflow-y:auto;overflow-x:hidden;flex:1;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:none;-ms-overflow-style:none}.modal-body::-webkit-scrollbar{display:none}.modal-footer{display:flex;gap:.75rem;padding:1.5rem;border-top:1px solid var(--stroke);justify-content:flex-end}@media(max-width:640px){.modal-overlay{align-items:flex-start;padding:.5rem}.modal-content{width:100%;max-width:100%;max-height:100%;border-radius:.75rem;padding:.5rem}.modal-header{padding:.5rem}.modal-body{padding:.25rem}.modal-body input,.modal-body select,.modal-body textarea{font-size:16px}.modal-body input,.modal-body textarea,.modal-body button{max-width:95%}.details-row input{max-width:80%}}.bulk-action-bar{position:fixed;bottom:0;left:260px;right:0;background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;padding:1rem 2rem;display:flex;align-items:center;justify-content:space-between;box-shadow:0 -4px 20px #0003;animation:slideInUp .3s ease;z-index:100}@keyframes slideInUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.bulk-info{display:flex;align-items:center;gap:.5rem;font-size:1rem}.bulk-info strong{font-size:1.25rem;color:var(--accent)}.bulk-actions{display:flex;gap:.75rem;flex-wrap:wrap}.danger-btn{background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;padding:.7rem 1.1rem;border-radius:.65rem;border:none;font-weight:700;cursor:pointer;transition:all .2s}.danger-btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px #dc262666}.success-btn{background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;padding:.7rem 1.1rem;border-radius:.65rem;border:none;font-weight:700;cursor:pointer;transition:all .2s}.success-btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px #22c55e66}.success-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.toggle-switch{position:relative;display:inline-block;width:48px;height:26px}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;inset:0;background-color:#cbd5e1;transition:.3s;border-radius:34px}.toggle-slider:before{position:absolute;content:"";height:18px;width:18px;left:4px;bottom:4px;background-color:#fff;transition:.3s;border-radius:50%}.toggle-switch input:checked+.toggle-slider{background-color:#10b981}.toggle-switch input:checked+.toggle-slider:before{transform:translate(22px)}.toggle-slider:hover{opacity:.9}.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;gap:1rem}.spinner{width:48px;height:48px;border:4px solid var(--stroke);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-state p{color:var(--muted);font-weight:600}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;text-align:center;gap:1rem}.empty-icon{font-size:4rem;opacity:.5}.empty-state h3{margin:0;color:#0f172a;font-size:1.5rem}.empty-state p{color:var(--muted);max-width:400px;margin:0}.error-banner{display:flex;align-items:center;justify-content:space-between;gap:1rem}.close-btn{background:transparent;border:none;font-size:1.5rem;cursor:pointer;color:#b91c1c;padding:0;line-height:1;transition:opacity .2s}.close-btn:hover{opacity:.7}.success-text{color:#059669}.login-card .primary-btn{width:100%}.btn-group-vertical{display:flex;flex-direction:column;gap:.75rem}.full-width{width:100%}.qty-controls{display:flex;align-items:center;gap:.75rem;justify-content:flex-end}.qty-controls button{width:24px;height:24px;border-radius:4px;border:1px solid var(--stroke);background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}.qty-controls span{min-width:20px;text-align:center}.edit-submit-bar{display:flex;justify-content:flex-end;gap:1rem;margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--stroke)}.product-search-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.product-search-modal{background:#fff;padding:1.5rem;border-radius:1rem;width:100%;max-width:500px;box-shadow:var(--shadow)}.product-search-modal h4{margin-bottom:1rem}.product-search-modal input{width:100%;padding:.75rem;border:1px solid var(--stroke);border-radius:.5rem;margin-bottom:1rem}.search-results{max-height:250px;overflow-y:auto;margin-bottom:1rem}.search-result-item{padding:.75rem;border:1px solid var(--stroke);border-radius:.5rem;margin-bottom:.5rem;cursor:pointer;display:flex;flex-direction:column;transition:all .2s}.search-result-item:hover{background:#f8fafc;border-color:var(--accent)}.search-result-item span{font-weight:700}.search-result-item small{color:var(--muted)}.order-id-cell{display:flex;align-items:center;gap:.5rem}.copy-btn-small{padding:2px;background:none;border:none;cursor:pointer;font-size:.9rem;opacity:.6;transition:opacity .2s;line-height:1}.copy-btn-small:hover{opacity:1}.backup-btn{margin-top:1rem;background:#0ea5e91a;border:1px dashed var(--accent);color:var(--accent);padding:.75rem;border-radius:.65rem;cursor:pointer;transition:all .2s;font-weight:700;width:100%;display:flex;align-items:center;justify-content:center;gap:.5rem}.backup-btn:hover:not(:disabled){background:#0ea5e933;transform:translateY(-1px)}.backup-btn:disabled{opacity:.6;cursor:wait}.sidebar-footer{margin-top:auto;display:flex;flex-direction:column;gap:.5rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.08)}.sidebar-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:2rem}.sidebar-header h2{margin-bottom:0}.close-sidebar-btn{display:none;background:none;border:none;color:var(--sidebar-text);font-size:2rem;cursor:pointer;line-height:1;padding:0}.admin-mobile-header{display:none;position:sticky;top:0;z-index:90;background:var(--sidebar-bg);color:#fff;padding:.75rem 1rem;align-items:center;gap:1rem;box-shadow:0 2px 10px #0000001a}.mobile-brand{font-size:1.25rem;font-weight:700;margin:0}.hamburger-btn{background:none;border:none;display:flex;flex-direction:column;gap:4px;cursor:pointer;padding:8px;width:40px}.hamburger-line{display:block;width:24px;height:2px;background-color:#fff;border-radius:2px}.sidebar-overlay{position:fixed;inset:0;background:#00000080;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:95;animation:fadeIn .2s ease}@media(max-width:1024px){.admin-mobile-header{display:flex}.admin-sidebar{position:fixed;left:-280px;z-index:100;transition:left .3s cubic-bezier(.4,0,.2,1);width:280px;box-shadow:10px 0 30px #0003}.admin-sidebar.open{left:0}.close-sidebar-btn{display:block}.admin-layout{flex-direction:column}.admin-content{padding:.5rem}.orders-table thead{display:none}.orders-table,.orders-table tbody,.orders-table tr{display:block;width:100%}.orders-table tr{background:#fff;border-radius:12px;margin-bottom:14px;padding:14px;box-shadow:0 4px 12px #0000000a}.orders-table td{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border:none;font-size:14px}.orders-table td:before{content:attr(data-label);font-weight:600;color:#64748b;margin-right:12px;white-space:nowrap}.orders-table td.actions{justify-content:space-between;padding-top:10px;font-size:18px}}@media(max-width:768px){.hero-text h1{font-size:1.75rem}.products-hero{padding:1.25rem}.order-items-table.card-list{border-collapse:separate;border-spacing:0 .9rem}.order-items-table.card-list thead{display:none}.order-items-table.card-list,.order-items-table.card-list tbody,.order-items-table.card-list tfoot,.order-items-table.card-list tr{display:block;width:100%}.order-items-table.card-list tbody tr{background:#fff;border:1px solid var(--stroke);border-radius:.85rem;padding:.85rem;box-shadow:0 6px 16px #0f172a0f;margin-bottom:.85rem}.order-items-table.card-list td{display:flex;justify-content:space-between;align-items:center;border:none;padding:.35rem 0;font-size:.92rem}.order-items-table.card-list td:before{content:attr(data-label);font-weight:600;color:var(--muted);margin-right:.75rem;white-space:nowrap}.order-items-table.card-list td.order-item-name{display:block;font-weight:700;font-size:1rem;padding-bottom:.45rem}.order-items-table.card-list td.order-item-name:before,.order-items-table.card-list td.order-item-actions:before{content:none}.order-items-table.card-list td.order-item-actions{justify-content:flex-end}.order-items-table.card-list tfoot tr{display:flex;justify-content:space-between;align-items:center;border:1px dashed var(--stroke);border-radius:.85rem;padding:.75rem 1rem;background:#f8fafc}.order-items-table.card-list tfoot td{border:none;padding:0}.order-items-table.card-list tfoot td:before{content:none}.products-table th:nth-child(3),.products-table th:nth-child(4),.products-table th:nth-child(5),.products-table th:nth-child(6),.products-table td:nth-child(3),.products-table td:nth-child(4),.products-table td:nth-child(5),.products-table td:nth-child(6){display:none}.product-row{gap:.75rem}.product-thumb{width:56px;height:56px}.product-name{font-size:1rem}.table-wrapper{position:relative}.table-wrapper:after{position:absolute;right:12px;bottom:8px;background:#0ea5e91a;color:var(--accent-strong);font-size:.7rem;font-weight:700;padding:2px 6px;border-radius:4px;pointer-events:none;opacity:.8}}@media(max-width:480px){.panel-head{flex-direction:column;align-items:stretch;gap:1rem}.panel-head .primary-btn,.panel-head .secondary-btn{width:100%}.stat-card strong{font-size:1.35rem}.products-filters.enhanced{grid-template-columns:1fr}}.toast-notification{position:fixed;bottom:2rem;right:2rem;background:#0f172a;color:#fff;padding:.75rem 1.25rem;border-radius:.65rem;box-shadow:0 10px 15px -3px #0000001a;z-index:2000;font-weight:600;pointer-events:none;display:flex;align-items:center;gap:.5rem;border:1px solid rgba(255,255,255,.1);opacity:0;transform:translateY(10px);transition:opacity .3s ease,transform .3s ease}.toast-notification.confirmation{top:1.5rem;right:auto;bottom:auto;left:50%;pointer-events:auto}.toast-notification.show{opacity:1;transform:translateY(0)}.toast-notification.hide{opacity:0;transform:translateY(10px)}.toast-notification.confirmation.show{transform:translate(-50%)}.toast-notification.confirmation.hide{transform:translate(-50%,10px)}.toast-actions{display:flex;gap:.5rem;margin-left:.75rem}.toast-btn{background:#ffffff1f;color:#fff;border:1px solid rgba(255,255,255,.2);padding:.3rem .65rem;border-radius:.5rem;cursor:pointer;font-size:.85rem}.toast-btn.confirm{background:#22c55e;border-color:#16a34a}.toast-btn.cancel{background:transparent}@media(max-width:380px){.toast-notification{top:1rem;right:auto;bottom:auto;left:50%;width:calc(100% - 2rem);max-width:360px;flex-direction:column;align-items:stretch;transform:translate(-50%,-10px)}.toast-notification.show{transform:translate(-50%)}.toast-notification.hide{transform:translate(-50%,-10px)}.toast-content{text-align:center}.toast-actions{margin-left:0;margin-top:.5rem;width:100%;flex-direction:column}.toast-btn{width:100%}}.checkbox-col{width:40px;text-align:center}.checkbox-col input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:var(--accent)}.checkbox-col input[type=checkbox]:disabled{opacity:.4;cursor:not-allowed}.selected-row{background-color:#0ea5e914!important}.selected-row:hover{background-color:#0ea5e91f!important}.panel-head-actions{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap}.admin-batch-detail .edit-title-input{font-size:2rem;font-weight:700;background:transparent;border:2px solid var(--accent);border-radius:.5rem;padding:.5rem 1rem;color:inherit;width:100%;max-width:400px}.edit-notes-section{padding:1rem 1.5rem;background:#f8fafc;border-radius:.5rem;margin:1rem 0}.edit-notes-section label{display:block}.edit-notes-section label span{display:block;font-weight:600;margin-bottom:.5rem}.edit-notes-section textarea{width:100%;padding:.75rem;border:1px solid var(--stroke);border-radius:.5rem;font-family:inherit;font-size:.95rem;resize:vertical}.batch-notes{padding:1rem 1.5rem;background:#fffbeb;border:1px solid #fcd34d;border-radius:.5rem;margin:1rem 0}.summary-table .text-right{text-align:right}.summary-table .text-center{text-align:center}.quantity-badge{display:inline-block;background:var(--accent);color:#fff;font-weight:700;padding:.35rem .85rem;border-radius:9999px;font-size:1rem;min-width:40px}.orders-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:1.25rem;padding:1rem}.order-card{background:var(--card-bg);border:1px solid var(--stroke);border-radius:.75rem;padding:1.25rem;display:flex;flex-direction:column;gap:1rem;transition:box-shadow .2s}.order-card:hover{box-shadow:0 4px 12px #00000014}.order-card-header{display:flex;justify-content:space-between;align-items:flex-start;padding-bottom:.75rem;border-bottom:1px solid var(--stroke)}.order-card-header strong{font-size:1rem;color:#0f172a}.order-card-header .order-date{display:block;font-size:.8rem;color:var(--muted);margin-top:.25rem}.order-card-header .order-total{font-weight:700;font-size:1.1rem;color:var(--accent-strong)}.order-customer p{margin:.25rem 0;font-size:.9rem}.order-customer .address{color:var(--muted);font-size:.85rem}.order-items-list{font-size:.9rem}.order-items-list strong{display:block;margin-bottom:.5rem}.order-items-list ul{margin:0;padding-left:1.25rem}.order-items-list li{margin-bottom:.25rem;color:#475569}.order-card-footer{margin-top:auto;padding-top:.75rem;border-top:1px solid var(--stroke)}.order-status-row{display:flex;align-items:center;gap:.5rem;padding:.5rem 0;border-bottom:1px solid var(--stroke)}.order-status-row .status-hint{font-size:.75rem;color:var(--muted)}.in-batch-badge{font-size:.85rem;margin-right:.25rem}.danger-btn{background:#ef4444;color:#fff;border:none;padding:.65rem 1.25rem;border-radius:.5rem;font-weight:600;cursor:pointer;transition:background .2s}.danger-btn:hover{background:#dc2626}.danger-btn.btn-sm{padding:.4rem .85rem;font-size:.85rem}@media(max-width:768px){.orders-grid{grid-template-columns:1fr}.panel-head-actions{width:100%;justify-content:flex-start}}.packs-grid{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));margin-top:1.5rem}@media(max-width:768px){.packs-grid{grid-template-columns:1fr;gap:1rem}}.pack-admin-card{background:var(--card-bg);border-radius:1rem;border:1px solid var(--stroke);overflow:hidden;transition:transform .2s,box-shadow .2s}.pack-admin-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.pack-admin-card.inactive{opacity:.6;border-color:#d1d5db}.pack-admin-card.inactive .pack-admin-image{filter:grayscale(50%)}.pack-admin-image{position:relative;height:160px;background:linear-gradient(135deg,#fefce8,#fff7ed);display:flex;align-items:center;justify-content:center;overflow:hidden}.pack-admin-image img{width:100%;height:100%;object-fit:cover}.pack-admin-preview{display:flex;gap:-10px}.pack-admin-preview .preview-thumb{width:60px;height:60px;border-radius:50%;overflow:hidden;border:3px solid white;box-shadow:0 2px 8px #0000001a;margin-left:-15px}.pack-admin-preview .preview-thumb:first-child{margin-left:0}.pack-admin-preview .preview-thumb img{width:100%;height:100%;object-fit:cover}.placeholder-thumb{width:100%;height:100%;background:#e5e7eb}.placeholder-image{color:var(--muted);font-size:.9rem}.inactive-badge{position:absolute;top:.75rem;right:.75rem;background:#6b7280;color:#fff;padding:.25rem .75rem;border-radius:999px;font-size:.7rem;font-weight:600;text-transform:uppercase}.pack-admin-info{padding:1.25rem}.pack-admin-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.5rem}.pack-admin-info h3{margin:0;font-size:1.1rem;font-weight:600;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pack-admin-description{color:var(--muted);font-size:.85rem;margin:0 0 1rem;line-height:1.4}.pack-admin-products{margin-bottom:1rem}.products-count{font-size:.8rem;color:var(--muted);font-weight:500}.products-list-mini{list-style:none;padding:0;margin:.5rem 0 0;font-size:.8rem;color:var(--muted)}.products-list-mini li{padding:.2rem 0}.pack-admin-pricing{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;padding:.75rem;background:#f8fafc;border-radius:.5rem}.pack-admin-pricing .original{font-size:.9rem;color:var(--muted);text-decoration:line-through}.pack-admin-pricing .discount{background:#f59e0b;color:#fff;padding:.15rem .5rem;border-radius:999px;font-size:.75rem;font-weight:600}.pack-admin-pricing .final{font-size:1.1rem;font-weight:600;color:#0f172a;margin-left:auto}.pack-admin-actions{display:flex;gap:.5rem;padding-top:1rem;border-top:1px solid var(--stroke);margin-top:.75rem}.icon-btn{width:36px;height:36px;border-radius:.5rem;border:1px solid var(--stroke);background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;flex-shrink:0}.icon-btn:hover{background:#f1f5f9}.icon-btn.edit{color:var(--muted)}.icon-btn.edit:hover{border-color:var(--accent);color:var(--accent);background:#e0f2fe}.icon-btn.delete{color:var(--muted)}.icon-btn.delete:hover{border-color:#ef4444;color:#ef4444;background:#fef2f2}.modal-backdrop{position:fixed;inset:0;background:#0f172a99;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease;padding:1rem;overflow-y:auto}.pack-modal{max-width:700px;width:90%;max-height:90vh;overflow-y:auto;z-index:1001;box-shadow:0 25px 60px #00000059,0 0 0 1px #0000000d;animation:packModalIn .3s ease}@keyframes packModalIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.pack-form{display:flex;flex-direction:column;gap:1.5rem;padding:1.5rem}.pack-form .form-row{display:flex;flex-direction:column;gap:.5rem}.pack-form .form-row label{font-size:.875rem;font-weight:600;color:#374151}.pack-form .form-row input[type=text],.pack-form .form-row input[type=number],.pack-form .form-row input[type=file],.pack-form .form-row textarea,.pack-form .form-row select{width:100%;padding:.75rem 1rem;border:1px solid var(--stroke);border-radius:.5rem;font-size:.9rem;background:#fff;transition:border-color .2s,box-shadow .2s}.pack-form .form-row input:focus,.pack-form .form-row textarea:focus,.pack-form .form-row select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #0ea5e91a}.pack-form .form-row input::placeholder,.pack-form .form-row textarea::placeholder{color:#9ca3af}.pack-form .form-row textarea{resize:vertical;min-height:80px}.pack-form .form-row select{cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .75rem center;background-repeat:no-repeat;background-size:1.25em 1.25em;padding-right:2.5rem}.pack-form .form-row input[type=file]{padding:.5rem;cursor:pointer}.pack-form .form-row input[type=file]::file-selector-button{padding:.5rem 1rem;margin-right:1rem;border:1px solid var(--stroke);border-radius:.375rem;background:#f8fafc;color:#374151;font-size:.85rem;cursor:pointer;transition:background .2s}.pack-form .form-row input[type=file]::file-selector-button:hover{background:#e2e8f0}.form-row-inline{display:grid;grid-template-columns:1fr 1fr;gap:1rem}@media(max-width:500px){.form-row-inline{grid-template-columns:1fr}}.current-image{display:block;color:var(--muted);margin-top:.5rem;font-size:.8rem;background:#f1f5f9;padding:.5rem .75rem;border-radius:.375rem;word-break:break-all}.pack-products-editor{border:1px solid var(--stroke);border-radius:.75rem;padding:1.25rem;background:#fafbfc}.no-products{color:var(--muted);font-size:.9rem;text-align:center;padding:2rem 1rem;background:#fff;border-radius:.5rem;border:2px dashed var(--stroke);margin-bottom:1rem}.pack-products-list{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem;max-height:250px;overflow-y:auto}.pack-product-item{display:flex;align-items:center;gap:.75rem;padding:.875rem;background:#fff;border-radius:.5rem;border:1px solid var(--stroke);transition:border-color .2s,box-shadow .2s}.pack-product-item:hover{border-color:var(--accent);box-shadow:0 2px 8px #0ea5e91a}.product-thumb{width:48px;height:48px;border-radius:.5rem;overflow:hidden;flex-shrink:0;border:1px solid var(--stroke)}.product-thumb img{width:100%;height:100%;object-fit:cover}.placeholder-mini{width:100%;height:100%;background:linear-gradient(135deg,#e5e7eb,#f3f4f6)}.pack-product-item .product-info{flex:1;min-width:0}.pack-product-item .product-name{display:block;font-weight:600;font-size:.9rem;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:.125rem}.pack-product-item .product-price{display:block;font-size:.85rem;color:var(--accent);font-weight:500}.quantity-controls{display:flex;align-items:center;gap:.25rem;background:#f1f5f9;border-radius:.5rem;padding:.25rem}.quantity-controls button{width:32px;height:32px;border-radius:.375rem;border:none;background:#fff;cursor:pointer;font-size:1.1rem;font-weight:600;display:flex;align-items:center;justify-content:center;color:#374151;transition:all .15s;box-shadow:0 1px 2px #0000000d}.quantity-controls button:hover{background:var(--accent);color:#fff}.quantity-controls span{min-width:32px;text-align:center;font-weight:600;font-size:.95rem;color:#0f172a}.remove-btn{width:32px;height:32px;border-radius:.5rem;border:none;background:#fef2f2;color:#ef4444;cursor:pointer;font-size:1.25rem;display:flex;align-items:center;justify-content:center;transition:all .15s}.remove-btn:hover{background:#ef4444;color:#fff}.add-product-btn{width:100%;padding:.875rem;border:2px dashed var(--accent);border-radius:.5rem;background:#0ea5e90d;color:var(--accent);font-weight:600;font-size:.9rem;cursor:pointer;transition:all .2s}.add-product-btn:hover{background:#0ea5e91a;border-style:solid}.product-picker{margin-top:1rem;border:1px solid var(--accent);border-radius:.75rem;background:#fff;overflow:hidden;box-shadow:0 4px 12px #0ea5e926}.product-picker input{width:100%;padding:.875rem 1rem;border:none;border-bottom:1px solid var(--stroke);font-size:.9rem;background:#f8fafc}.product-picker input:focus{outline:none;background:#fff}.product-picker input::placeholder{color:#9ca3af}.product-picker-list{max-height:220px;overflow-y:auto}.product-picker-item{display:flex;align-items:center;gap:.75rem;width:100%;padding:.75rem 1rem;border:none;border-bottom:1px solid #f1f5f9;background:transparent;cursor:pointer;text-align:left;transition:background .15s}.product-picker-item:last-child{border-bottom:none}.product-picker-item:hover{background:#f0f9ff}.picker-thumb{width:40px;height:40px;border-radius:.375rem;overflow:hidden;flex-shrink:0;border:1px solid var(--stroke)}.picker-thumb img{width:100%;height:100%;object-fit:cover}.picker-name{flex:1;font-size:.9rem;font-weight:500;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.picker-price{font-size:.85rem;color:var(--accent);font-weight:600}.no-results{padding:1.5rem;text-align:center;color:var(--muted);font-size:.9rem}.pack-summary{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:.75rem;padding:1.25rem;border:1px solid var(--stroke)}.pack-summary .summary-row{display:flex;justify-content:space-between;padding:.5rem 0;font-size:.9rem;color:var(--muted)}.pack-summary .summary-row.final{border-top:2px solid var(--accent);margin-top:.75rem;padding-top:.75rem;font-weight:700;font-size:1.1rem;color:#0f172a}.pack-summary .summary-row.final span:last-child{color:var(--accent)}.pack-modal .modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid var(--stroke);background:#f8fafc}.pack-modal .modal-header h2{margin:0;font-size:1.25rem;font-weight:600;color:#0f172a}.pack-modal .close-btn{width:32px;height:32px;border-radius:.5rem;border:none;background:#fff;color:var(--muted);font-size:1.5rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;line-height:1}.pack-modal .close-btn:hover{background:#fee2e2;color:#ef4444}.pack-modal .modal-footer{display:flex;gap:1rem;padding:1.25rem 1.5rem;border-top:1px solid var(--stroke);justify-content:flex-end;background:#f8fafc}.pack-modal .secondary-btn{padding:.75rem 1.5rem;border:1px solid var(--stroke);border-radius:.5rem;background:#fff;color:#374151;font-weight:500;cursor:pointer;transition:all .2s}.pack-modal .secondary-btn:hover{background:#f1f5f9;border-color:#cbd5e1}.pack-modal .primary-btn{padding:.75rem 1.5rem;border:none;border-radius:.5rem;background:var(--accent);color:#fff;font-weight:600;cursor:pointer;transition:all .2s}.pack-modal .primary-btn:hover{background:#0284c7}.pack-modal .primary-btn:disabled{opacity:.6;cursor:not-allowed}.filters-bar{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1.5rem}.filters-bar .search-input{flex:1;min-width:200px;max-width:300px;padding:.75rem 1rem;border:1px solid var(--stroke);border-radius:.5rem;font-size:.9rem;background:#fff;transition:border-color .2s,box-shadow .2s}.filters-bar .search-input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #0ea5e91a}.filters-bar .filter-select{padding:.75rem 1rem;border:1px solid var(--stroke);border-radius:.5rem;font-size:.9rem;background:#fff;cursor:pointer;min-width:140px}.filters-bar .filter-select:focus{outline:none;border-color:var(--accent)}.stats-bar{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1.5rem}.stats-bar .stat-card{background:#fff;border:1px solid var(--stroke);border-radius:.75rem;padding:1rem 1.5rem;min-width:140px;display:flex;flex-direction:column;gap:.25rem}.stats-bar .stat-label{font-size:.8rem;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.stats-bar .stat-value{font-size:1.75rem;font-weight:700;color:#0f172a}.packs-grid .empty-state{grid-column:1 / -1;text-align:center;padding:3rem 2rem;color:var(--muted);background:#f8fafc;border-radius:1rem;border:2px dashed var(--stroke)}.page-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.page-header h1{margin:0;font-size:1.75rem;font-weight:700;color:#0f172a}.stats-bar .stat-card:nth-child(2) .stat-value{color:var(--accent)}.order-items-table tr.pack-row{background:#fffbeb}.order-items-table tr.pack-row:hover{background:#fef3c7}.pack-badge{display:inline-block;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;padding:.15rem .5rem;border-radius:.25rem;font-size:.7rem;font-weight:700;margin-right:.5rem;vertical-align:middle}.pack-contents{margin-top:.5rem;padding-top:.5rem;border-top:1px dashed #fcd34d}.pack-discount{display:block;color:#b45309;font-size:.8rem;margin-bottom:.25rem}.pack-items-list{list-style:none;padding:0;margin:.25rem 0 0}.pack-items-list li{font-size:.8rem;color:#64748b;padding:.15rem 0 .15rem 1rem;position:relative}.pack-items-list li:before{content:"›";position:absolute;left:0;color:#f59e0b;font-weight:700}
