:root{--background: #ffffff;--foreground: #18181b;--card: #ffffff;--card-foreground: #18181b;--popover: #ffffff;--popover-foreground: #18181b;--muted: #f4f4f5;--muted-foreground: #63636b;--secondary: #f4f4f5;--secondary-foreground: #18181b;--secondary-hover: #e9e9eb;--accent: #f4f4f5;--accent-foreground: #18181b;--primary: #18181b;--primary-foreground: #fafafa;--primary-hover: #27272a;--border: #e4e4e7;--input: #8b8b94;--ring: #9c7f50;--brand: #b89b6a;--brand-foreground: #7e6540;--brand-muted: #faf6ef;--brand-border: #e6d5b8;--module-souvenirs: #7e6540;--module-banco: #0f766e;--module-lealtad: #7e6540;--module-hospedaje: #5b6b2f;--module-restaurante: #a9553a;--module-casino: #7a3e6e;--module-administracion: #475569;--success: #1f7a4c;--success-foreground: #ffffff;--success-muted: #e6f3ec;--success-muted-foreground: #1c6640;--success-border: #b7dec6;--warning: #e0a23a;--warning-foreground: #18181b;--warning-muted: #fcf1dc;--warning-muted-foreground: #875809;--warning-border: #f2d79f;--info: #1f5fa8;--info-foreground: #ffffff;--info-muted: #e8f0fa;--info-muted-foreground: #1f5fa8;--info-border: #bcd3ee;--destructive: #b42318;--destructive-hover: #9f1f15;--destructive-foreground: #ffffff;--destructive-muted: #fbe9e7;--destructive-muted-foreground: #a12b22;--destructive-border: #f4c3bd;--sidebar: #fafafa;--sidebar-foreground: #18181b;--sidebar-accent: #f0f0f2;--sidebar-border: #e4e4e7;--radius-sm: 4px;--radius-md: 6px;--radius-lg: 8px;--radius-xl: 12px;--radius-full: 9999px;--shadow-sm: 0 1px 2px rgba(24, 24, 27, .05);--shadow-md: 0 4px 12px rgba(24, 24, 27, .08), 0 1px 2px rgba(24, 24, 27, .04);--shadow-lg: 0 16px 20px rgba(24, 24, 27, .12), 0 2px 3px rgba(24, 24, 27, .06);--control-sm: 32px;--control-md: 36px;--control-lg: 40px;--control-active: 36px;--row-table: 40px;--header-height: 56px;--sidebar-width: 256px;--font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace}[data-theme=dark]{--background: #09090b;--foreground: #fafafa;--card: #18181b;--card-foreground: #fafafa;--popover: #18181b;--popover-foreground: #fafafa;--muted: #27272a;--muted-foreground: #a1a1aa;--secondary: #27272a;--secondary-foreground: #fafafa;--secondary-hover: #323236;--accent: #27272a;--accent-foreground: #fafafa;--primary: #fafafa;--primary-foreground: #18181b;--primary-hover: #e4e4e7;--border: #27272a;--input: #66666f;--ring: #c4a87c;--brand: #c4a87c;--brand-foreground: #d4bc93;--brand-muted: #241f16;--brand-border: #463927;--module-souvenirs: #d4bc93;--module-banco: #5ec4b6;--module-lealtad: #d4bc93;--success: #3fa873;--success-foreground: #09090b;--success-muted: #0e2a1b;--success-muted-foreground: #6fcf97;--success-border: #1e5a3b;--warning: #e0a23a;--warning-foreground: #09090b;--warning-muted: #2b200b;--warning-muted-foreground: #f2c46b;--warning-border: #5a4416;--info: #6aa6ec;--info-foreground: #09090b;--info-muted: #0f1f35;--info-muted-foreground: #8ab8f0;--info-border: #24446b;--destructive: #c8352a;--destructive-hover: #dc3f33;--destructive-foreground: #ffffff;--destructive-muted: #2e1412;--destructive-muted-foreground: #f49d95;--destructive-border: #5c2420;--sidebar: #0f0f11;--sidebar-foreground: #fafafa;--sidebar-accent: #1f1f23;--sidebar-border: #27272a;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .25);--shadow-md: 0 8px 20px rgba(0, 0, 0, .45);--shadow-lg: 0 20px 30px rgba(0, 0, 0, .6)}body.touch-mode{--control-active: 44px;--row-table: 48px}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-sans);background:var(--background);color:var(--foreground);display:flex;min-height:100vh;font-size:14px;line-height:20px;font-weight:400;-webkit-font-smoothing:antialiased}button,input,select,textarea{font-family:inherit;font-size:14px;color:inherit}:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.t-display{font-size:30px;line-height:36px;font-weight:600;letter-spacing:-.025em;font-family:var(--font-mono);font-variant-numeric:tabular-nums}.t-title{font-size:24px;line-height:32px;font-weight:600;letter-spacing:-.02em}.t-heading{font-size:18px;line-height:28px;font-weight:600;letter-spacing:-.01em}.t-subheading{font-size:15px;line-height:22px;font-weight:500}.t-body{font-size:14px;line-height:20px;font-weight:400}.t-small{font-size:13px;line-height:18px;font-weight:400;color:var(--muted-foreground)}.t-caption{font-size:12px;line-height:16px;font-weight:500}.t-overline{font-size:11px;line-height:16px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--muted-foreground)}.t-amount{font-family:var(--font-mono);font-size:14px;line-height:20px;font-weight:400;font-variant-numeric:tabular-nums;text-align:right}.t-identifier{font-family:var(--font-mono);font-size:13px;line-height:20px;font-weight:400;font-variant-numeric:tabular-nums}.mono{font-family:var(--font-mono);font-variant-numeric:tabular-nums}.sidebar{width:var(--sidebar-width);background:var(--sidebar);border-right:1px solid var(--sidebar-border);display:flex;flex-direction:column;justify-content:space-between;flex-shrink:0;position:sticky;top:0;height:100vh;overflow:hidden;transition:width .2s ease,border-color .2s ease}body.sidebar-collapsed .sidebar{width:0;border-right-color:transparent}.sidebar-inner{width:var(--sidebar-width);height:100%;display:flex;flex-direction:column;justify-content:space-between}.sidebar-top{padding:12px;display:flex;flex-direction:column;gap:2px;overflow-y:auto}.brand{display:flex;align-items:center;gap:10px;height:44px;padding:0 8px;margin-bottom:8px}.brand-mark{width:28px;height:28px;border-radius:var(--radius-md);background:var(--brand-muted);border:1px solid var(--brand-border);color:var(--brand-foreground);display:grid;place-items:center;flex-shrink:0}.brand-text{display:flex;flex-direction:column;min-width:0}.brand-title{font-size:14px;line-height:18px;font-weight:600;color:var(--sidebar-foreground);letter-spacing:-.01em}.brand-sub{font-size:11px;line-height:14px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:var(--brand-foreground)}.nav-group-label{font-size:11px;line-height:16px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--muted-foreground);padding:14px 8px 6px}.nav-item{position:relative;width:100%;height:32px;padding:0 8px;border-radius:var(--radius-md);border:none;background:transparent;color:var(--muted-foreground);font-size:14px;font-weight:400;display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;text-align:left;transition:background .12s ease,color .12s ease}.nav-item-left{display:flex;align-items:center;gap:8px;min-width:0}.nav-item svg{width:16px;height:16px;flex-shrink:0;stroke-width:1.5}.nav-item:hover{background:var(--sidebar-accent);color:var(--sidebar-foreground)}.nav-item.active{background:var(--sidebar-accent);color:var(--sidebar-foreground);font-weight:500}.nav-item.active:before{content:"";position:absolute;left:-12px;top:6px;width:3px;height:20px;border-radius:0 2px 2px 0;background:var(--brand)}.nav-count{font-family:var(--font-mono);font-size:12px;line-height:16px;font-weight:500;padding:1px 6px;border-radius:var(--radius-sm);background:var(--muted);color:var(--muted-foreground)}.nav-item.active .nav-count{background:var(--card);color:var(--foreground);border:1px solid var(--border)}.sidebar-footer{padding:12px;border-top:1px solid var(--sidebar-border);display:flex;flex-direction:column;gap:10px}.sidebar-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 6px}.user-block{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 6px}.user-info{display:flex;align-items:center;gap:10px;min-width:0}.avatar{width:32px;height:32px;border-radius:var(--radius-full);background:var(--muted);border:1px solid var(--border);color:var(--foreground);font-size:12px;font-weight:500;display:grid;place-items:center;flex-shrink:0}.user-meta{min-width:0}.user-name{display:block;font-size:13px;line-height:18px;font-weight:500;color:var(--sidebar-foreground);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-role{display:block;font-size:12px;line-height:16px;color:var(--muted-foreground)}.main{flex:1;display:flex;flex-direction:column;min-width:0}.topbar{height:var(--header-height);border-bottom:1px solid var(--border);padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--background);position:sticky;top:0;z-index:20}.breadcrumb{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted-foreground);min-width:0}.breadcrumb-sep{color:var(--border)}.breadcrumb-current{color:var(--foreground);font-weight:500;white-space:nowrap}.topbar-right{display:flex;align-items:center;gap:12px}.status-dot-pill{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:500;color:var(--muted-foreground);white-space:nowrap}.status-dot{width:6px;height:6px;border-radius:var(--radius-full);background:var(--success)}.status-dot.is-fallback{background:var(--warning)}.status-dot.is-error{background:var(--destructive)}.search-field{position:relative;width:clamp(200px,24vw,300px)}.search-field svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:var(--muted-foreground);pointer-events:none}.search-field input{width:100%;height:var(--control-active);padding:0 12px 0 34px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--background);color:var(--foreground);font-size:14px;transition:border-color .12s ease}.search-field input::placeholder{color:var(--muted-foreground)}.search-field input:hover{border-color:var(--input)}.search-field input:focus{outline:2px solid var(--ring);outline-offset:1px;border-color:var(--input)}.content{padding:24px 28px 48px;max-width:1280px;width:100%;margin:0 auto}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}.page-header-actions{display:flex;align-items:center;gap:8px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:var(--control-active);padding:0 12px;border-radius:var(--radius-md);font-size:14px;line-height:20px;font-weight:500;cursor:pointer;border:1px solid transparent;background:transparent;white-space:nowrap;transition:background .12s ease,border-color .12s ease,opacity .12s ease}.btn svg{width:16px;height:16px;flex-shrink:0;stroke-width:1.5}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-default{background:var(--primary);color:var(--primary-foreground)}.btn-default:hover:not(:disabled){background:var(--primary-hover)}.btn-secondary{background:var(--secondary);color:var(--secondary-foreground)}.btn-secondary:hover:not(:disabled){background:var(--secondary-hover)}.btn-outline{background:var(--card);color:var(--foreground);border-color:var(--border);box-shadow:var(--shadow-sm)}.btn-outline:hover:not(:disabled){background:var(--muted)}.btn-ghost{background:transparent;color:var(--foreground)}.btn-ghost:hover:not(:disabled){background:var(--muted)}.btn-link{height:auto;padding:2px 0;color:var(--foreground);text-decoration:underline;text-decoration-color:var(--input);text-underline-offset:3px}.btn-link:hover:not(:disabled){text-decoration-color:var(--foreground)}.btn-destructive{background:var(--destructive);color:var(--destructive-foreground)}.btn-destructive:hover:not(:disabled){background:var(--destructive-hover)}.btn-destructive:focus-visible{outline-color:var(--destructive)}.btn-sm{height:var(--control-sm);padding:0 10px;font-size:13px}.btn-lg{height:var(--control-lg);padding:0 16px}.btn-icon{width:var(--control-active);padding:0}.btn-icon.btn-sm{width:var(--control-sm)}.btn-block{width:100%}.badge{display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 7px;border-radius:var(--radius-sm);font-size:12px;line-height:16px;font-weight:500;white-space:nowrap}.badge-dot{width:6px;height:6px;border-radius:var(--radius-full);background:currentColor}.badge-neutral{background:var(--muted);color:var(--muted-foreground)}.badge-outline{height:22px;padding:0 8px;background:transparent;color:var(--foreground);border:1px solid var(--border)}.badge-success{background:var(--success-muted);color:var(--success-muted-foreground)}.badge-warning{background:var(--warning-muted);color:var(--warning-muted-foreground)}.badge-destructive{background:var(--destructive-muted);color:var(--destructive-muted-foreground)}.badge-info{background:var(--info-muted);color:var(--info-muted-foreground)}.badge-brand{background:var(--brand-muted);color:var(--brand-foreground)}.badge-module-souvenirs{height:22px;padding:0 8px;background:var(--brand-muted);color:var(--module-souvenirs);border:1px solid var(--brand-border)}.badge-module-banco{height:22px;padding:0 8px;background:transparent;color:var(--module-banco);border:1px solid var(--module-banco)}.badge-module-lealtad{height:22px;padding:0 8px;background:transparent;color:var(--module-lealtad);border:1px solid var(--brand)}.alert{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:var(--radius-lg);border:1px solid var(--border);font-size:13px;line-height:18px}.alert svg{width:16px;height:16px;flex-shrink:0;margin-top:2px;stroke-width:1.5}.alert-body{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.alert-title{font-size:14px;line-height:20px;font-weight:500}.alert-desc{font-size:13px;line-height:18px;opacity:.92}.alert-info{background:var(--info-muted);border-color:var(--info-border);color:var(--info-muted-foreground)}.alert-success{background:var(--success-muted);border-color:var(--success-border);color:var(--success-muted-foreground)}.alert-warning{background:var(--warning-muted);border-color:var(--warning-border);color:var(--warning-muted-foreground)}.alert-destructive{background:var(--destructive-muted);border-color:var(--destructive-border);color:var(--destructive-muted-foreground)}.card{background:var(--card);color:var(--card-foreground);border:1px solid var(--border);border-radius:var(--radius-lg);padding:20px}.card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.card-flush{padding:0;overflow:hidden}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.kpi-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius-lg);padding:16px 20px;display:flex;flex-direction:column;gap:4px}.kpi-value{font-family:var(--font-mono);font-size:24px;line-height:32px;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--foreground)}.grid-pos{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(340px,1fr);gap:20px;align-items:start}.grid-2{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,1fr);gap:20px;align-items:start}.tabs-segmented{display:inline-flex;align-items:center;gap:2px;padding:3px;border-radius:var(--radius-md);background:var(--muted)}.tab-seg{height:28px;padding:0 10px;border:none;border-radius:var(--radius-sm);background:transparent;color:var(--muted-foreground);font-size:13px;font-weight:500;cursor:pointer;transition:background .12s ease,color .12s ease}.tab-seg.active{background:var(--card);color:var(--foreground);box-shadow:var(--shadow-sm)}.tabs-underlined{display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--border);margin-bottom:16px;overflow-x:auto}.tab-line{position:relative;padding:0 2px 10px;border:none;background:transparent;color:var(--muted-foreground);font-size:14px;font-weight:400;cursor:pointer;white-space:nowrap}.tab-line:hover{color:var(--foreground)}.tab-line.active{color:var(--foreground);font-weight:500}.tab-line.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--foreground)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{display:flex;flex-direction:column;gap:6px}.field.full{grid-column:1 / -1}.field-label{font-size:13px;line-height:18px;font-weight:500;color:var(--foreground);display:flex;align-items:center;justify-content:space-between;gap:8px}.field-control{width:100%;height:var(--control-active);padding:0 12px;border-radius:var(--radius-md);border:1px solid var(--input);background:var(--background);color:var(--foreground);font-size:14px;line-height:20px;transition:border-color .12s ease}select.field-control{padding-right:28px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}textarea.field-control{height:auto;min-height:76px;padding:8px 12px;resize:vertical}.field-control::placeholder{color:var(--muted-foreground)}.field-control:focus{outline:2px solid var(--ring);outline-offset:1px;border-color:var(--input)}.field-control[readonly],.field-control:disabled{background:var(--muted);color:var(--muted-foreground);border-color:var(--border);cursor:default}.field.is-error .field-control{border-color:var(--destructive)}.field.is-error .field-control:focus{outline-color:var(--destructive)}.field-help{font-size:12px;line-height:16px;color:var(--muted-foreground)}.field-error{display:none;font-size:12px;line-height:16px;color:var(--destructive-muted-foreground)}.field.is-error .field-error{display:block}.field.is-error .field-help{display:none}.check-row{display:inline-flex;align-items:center;gap:8px;cursor:pointer;-webkit-user-select:none;user-select:none;font-size:14px;color:var(--foreground)}.check-row input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:16px;height:16px;border-radius:var(--radius-sm);border:1px solid var(--input);background:var(--background);display:grid;place-items:center;cursor:pointer;flex-shrink:0}.check-row input[type=checkbox]:checked{background:var(--primary);border-color:var(--primary)}.check-row input[type=checkbox]:checked:after{content:"";width:9px;height:5px;border-left:1.8px solid var(--primary-foreground);border-bottom:1.8px solid var(--primary-foreground);transform:rotate(-45deg) translate(1px,-1px)}.switch-row{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:12px;color:var(--muted-foreground);-webkit-user-select:none;user-select:none}.switch-btn{width:36px;height:20px;border-radius:var(--radius-full);border:none;background:var(--border);padding:2px;display:flex;align-items:center;cursor:pointer;transition:background .15s ease}.switch-btn[aria-checked=true]{background:var(--primary);justify-content:flex-end}.switch-thumb{width:16px;height:16px;border-radius:var(--radius-full);background:var(--background);box-shadow:var(--shadow-sm)}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.product-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;transition:border-color .14s ease}.product-card:hover{border-color:var(--input)}.product-visual{aspect-ratio:4 / 3;width:100%;background:var(--muted);border-bottom:1px solid var(--border);overflow:hidden;position:relative}.product-visual img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}.product-card:hover .product-visual img{transform:scale(1.03)}.product-cat-tag{position:absolute;top:10px;left:10px;background:#ffffffe6;color:#18181b;border-color:#e4e4e7e6;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}[data-theme=dark] .product-cat-tag{background:#18181bd9;color:#fafafa;border-color:#27272ae6}.product-body{padding:14px 16px 16px;display:flex;flex-direction:column;justify-content:space-between;gap:12px;flex:1}.product-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.product-name{font-size:15px;line-height:22px;font-weight:500;color:var(--foreground);margin-top:6px}.product-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:12px;border-top:1px solid var(--border)}.product-price{font-family:var(--font-mono);font-size:15px;line-height:20px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--foreground)}.item-thumb{width:44px;height:44px;border-radius:var(--radius-md);border:1px solid var(--border);object-fit:cover;flex-shrink:0;background:var(--muted)}.item-thumb-sm{width:34px;height:34px;border-radius:var(--radius-sm);border:1px solid var(--border);object-fit:cover;flex-shrink:0;background:var(--muted)}.cart-list{display:flex;flex-direction:column}.cart-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--border)}.cart-row:last-child{border-bottom:none}.qty-control{display:inline-flex;align-items:center;height:28px;border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden;background:var(--background)}.qty-control button{width:28px;height:100%;border:none;background:transparent;cursor:pointer;color:var(--foreground);display:grid;place-items:center}.qty-control button:hover{background:var(--muted)}.qty-control span{min-width:26px;text-align:center;font-family:var(--font-mono);font-size:13px;font-weight:500}.totals-box{margin-top:12px;padding-top:12px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:6px}.totals-line{display:flex;align-items:center;justify-content:space-between;font-size:14px;color:var(--muted-foreground)}.totals-line.discount{color:var(--success-muted-foreground)}.totals-line.grand{padding-top:10px;margin-top:4px;border-top:1px solid var(--border);font-size:15px;font-weight:600;color:var(--foreground)}.delivery-box{margin-top:16px;padding-top:16px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:12px}.table-wrap{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px}thead th{height:36px;padding:0 12px;text-align:left;font-size:12px;line-height:16px;font-weight:500;color:var(--muted-foreground);background:var(--muted);border-bottom:1px solid var(--border);white-space:nowrap}tbody tr{height:var(--row-table);border-bottom:1px solid var(--border);transition:background .1s ease}tbody tr:last-child{border-bottom:none}tbody tr:hover{background:var(--muted)}tbody td{padding:8px 12px;color:var(--foreground);vertical-align:middle}.num{text-align:right;font-family:var(--font-mono);font-variant-numeric:tabular-nums;white-space:nowrap}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 16px;border-top:1px solid var(--border);background:var(--card);font-size:13px;color:var(--muted-foreground)}.kv-list{display:flex;flex-direction:column}.kv-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--border);font-size:13px}.kv-row:last-child{border-bottom:none}.kv-key{color:var(--muted-foreground)}.kv-val{color:var(--foreground);font-weight:500;text-align:right}.json-box{background:var(--muted);border:1px solid var(--border);border-radius:var(--radius-md);padding:12px 14px;font-family:var(--font-mono);font-size:12px;line-height:18px;color:var(--foreground);overflow-x:auto;white-space:pre}.row-menu-wrap{position:relative;display:inline-block}.row-menu{position:absolute;right:0;top:calc(100% + 4px);min-width:190px;background:var(--popover);color:var(--popover-foreground);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);padding:4px;z-index:40;display:none}.row-menu.open{display:block}.row-menu-item{width:100%;height:32px;padding:0 10px;border:none;border-radius:var(--radius-sm);background:transparent;color:var(--foreground);font-size:13px;display:flex;align-items:center;gap:8px;cursor:pointer;text-align:left}.row-menu-item:hover{background:var(--muted)}.row-menu-item.danger{color:var(--destructive-muted-foreground)}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#09090b73;display:none;align-items:center;justify-content:center;padding:16px;z-index:60}.dialog-backdrop.open{display:flex}.dialog{width:100%;max-width:440px;background:var(--card);color:var(--card-foreground);border:1px solid var(--border);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);padding:24px;display:flex;flex-direction:column;gap:16px;max-height:90vh;overflow-y:auto}.dialog-lg{max-width:560px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.toast-region{position:fixed;right:20px;bottom:20px;display:flex;flex-direction:column;gap:8px;z-index:70;max-width:360px;width:calc(100vw - 40px)}.toast{background:var(--popover);color:var(--popover-foreground);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);padding:12px 14px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;animation:toastIn .16s ease;transition:opacity .35s ease,transform .35s ease}.toast.is-closing{opacity:0;transform:translateY(6px);pointer-events:none}.toast-destructive{border-color:var(--destructive-border);background:var(--destructive-muted);color:var(--destructive-muted-foreground)}@keyframes toastIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.view{display:none}.view.active{display:block}.empty-state{text-align:center;padding:40px 16px;color:var(--muted-foreground);display:flex;flex-direction:column;align-items:center;gap:8px}.receipt-sheet{max-width:780px}.receipt-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--border)}.receipt-meta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:12px 14px;border-radius:var(--radius-md);background:var(--muted);margin-bottom:16px}@media(max-width:1080px){.kpi-grid,.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-2{grid-template-columns:1fr}}@media(max-width:820px){.catalog-grid,.form-grid,.receipt-meta-grid{grid-template-columns:1fr}.search-field{width:160px}.status-dot-pill{display:none}}@media print{.sidebar,.topbar,.no-print,.toast-region{display:none!important}body{background:#fff;color:#18181b}.content{padding:0;max-width:100%}.card{border:1px solid #e4e4e7}}.store-hero{background:var(--brand-muted);border:1px solid var(--brand-border);border-radius:var(--radius-lg);padding:18px 22px;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.store-hero-copy{display:flex;flex-direction:column;gap:4px;max-width:680px}.store-hero-perks{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.store-perk-pill{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:var(--radius-md);background:var(--card);border:1px solid var(--brand-border);color:var(--foreground);font-size:12px;font-weight:500}.store-perk-pill svg{width:14px;height:14px;color:var(--brand-foreground);stroke-width:1.5}.store-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border);margin-bottom:20px;flex-wrap:wrap}.store-toolbar .tabs-underlined{border-bottom:none;margin-bottom:0}.store-sort-wrap{display:inline-flex;align-items:center;gap:8px;padding-bottom:8px}.store-sort-select{height:var(--control-sm);padding:0 26px 0 10px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--card);color:var(--foreground);font-size:13px;cursor:pointer}.product-visual-btn{display:block;width:100%;border:none;padding:0;background:transparent;cursor:pointer;text-align:left}.product-quick-hint{position:absolute;right:10px;bottom:10px;height:24px;padding:0 8px;border-radius:var(--radius-sm);background:#18181bc7;color:#fafafa;font-size:11px;font-weight:500;display:inline-flex;align-items:center;gap:4px;opacity:0;transition:opacity .16s ease}.product-card:hover .product-quick-hint{opacity:1}.product-name-btn{border:none;background:transparent;padding:0;text-align:left;cursor:pointer;width:100%}.product-name-btn:hover .product-name{color:var(--brand-foreground)}.checkout-stepper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:20px;padding:12px 14px;background:var(--card);border:1px solid var(--border);border-radius:var(--radius-lg)}.checkout-step{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:var(--radius-md);border:none;background:transparent;text-align:left;color:var(--muted-foreground);cursor:default}.checkout-step.is-clickable{cursor:pointer}.checkout-step.is-clickable:hover{background:var(--muted)}.checkout-step-num{width:24px;height:24px;border-radius:var(--radius-full);border:1px solid var(--border);background:var(--muted);color:var(--muted-foreground);font-family:var(--font-mono);font-size:12px;font-weight:600;display:grid;place-items:center;flex-shrink:0}.checkout-step.is-active{color:var(--foreground)}.checkout-step.is-active .checkout-step-num{background:var(--primary);border-color:var(--primary);color:var(--primary-foreground)}.checkout-step.is-done{color:var(--foreground)}.checkout-step.is-done .checkout-step-num{background:var(--success-muted);border-color:var(--success-border);color:var(--success-muted-foreground)}.checkout-step-text{display:flex;flex-direction:column;min-width:0}.checkout-step-title{font-size:13px;line-height:16px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.checkout-step-sub{font-size:11px;line-height:15px;color:var(--muted-foreground);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.delivery-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.delivery-option{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--background);padding:10px 12px;cursor:pointer;display:flex;align-items:flex-start;gap:10px;text-align:left;transition:border-color .12s ease,background .12s ease}.delivery-option:hover{border-color:var(--input)}.delivery-option.active{border-color:var(--brand);background:var(--brand-muted)}.delivery-option svg{width:16px;height:16px;flex-shrink:0;margin-top:2px;color:var(--brand-foreground);stroke-width:1.5}.delivery-option-title{font-size:13px;line-height:18px;font-weight:500;color:var(--foreground);display:block}.delivery-option-desc{font-size:12px;line-height:16px;color:var(--muted-foreground);display:block}.product-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:20px;align-items:start}.product-detail-media{aspect-ratio:4 / 3;border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--border);background:var(--muted)}.product-detail-media img{width:100%;height:100%;object-fit:cover;display:block}.product-detail-info{display:flex;flex-direction:column;gap:12px}.dialog-xl{max-width:680px}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#09090b6b;display:none;justify-content:flex-end;z-index:65}.drawer-backdrop.open{display:flex}.drawer-panel{width:100%;max-width:400px;height:100%;background:var(--card);color:var(--card-foreground);border-left:1px solid var(--border);box-shadow:var(--shadow-lg);display:flex;flex-direction:column;animation:drawerIn .18s ease}@keyframes drawerIn{0%{transform:translate(24px);opacity:.7}to{transform:translate(0);opacity:1}}.drawer-header{padding:16px 20px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:12px}.drawer-body{flex:1;overflow-y:auto;padding:12px 20px}.drawer-footer{padding:16px 20px;border-top:1px solid var(--border);background:var(--sidebar);display:flex;flex-direction:column;gap:12px}.confirmation-banner{background:var(--success-muted);border:1px solid var(--success-border);color:var(--success-muted-foreground);border-radius:var(--radius-lg);padding:16px 20px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.input-action-row{display:flex;align-items:stretch;gap:8px}.input-action-row .field-control{flex:1;min-width:0}.loyalty-details-section{margin-top:18px;padding-top:18px;border-top:1px solid var(--border)}.loyalty-found-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 14px;margin-bottom:16px;border-radius:var(--radius-md);background:var(--brand-muted);border:1px solid var(--brand-border)}.loyalty-found-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.loyalty-found-balance{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.payment-methods-strip{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:12px 14px;margin-bottom:18px;border-radius:var(--radius-md);background:var(--muted);border:1px solid var(--border)}.payment-methods-info{display:flex;align-items:center;gap:10px;min-width:0}.payment-methods-info svg{width:18px;height:18px;color:var(--success);flex-shrink:0;stroke-width:1.75}.payment-methods-title{display:block;font-size:13px;line-height:18px;font-weight:600;color:var(--foreground)}.payment-cards-frame{display:inline-flex;align-items:center;padding:4px 8px;border-radius:var(--radius-md);background:#fff;border:1px solid var(--border);box-shadow:var(--shadow-sm)}.payment-cards-img{display:block;height:34px;width:auto;max-width:100%;object-fit:contain}.form-section-group{display:flex;flex-direction:column;gap:12px}.form-section-fixed{margin-top:20px;padding:16px;border-radius:var(--radius-md);background:var(--muted);border:1px solid var(--border);display:flex;flex-direction:column;gap:12px}.form-section-fixed .field-control[readonly]{background:var(--card);color:var(--foreground)}.form-section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.form-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}@media(max-width:960px){.form-grid-3{grid-template-columns:1fr}}@media(max-width:820px){.checkout-stepper{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-options,.product-detail-layout{grid-template-columns:1fr}.loyalty-found-balance{align-items:flex-start}}@media print{.checkout-stepper,.drawer-backdrop,.store-hero{display:none!important}}
