@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --white:    #ffffff;
  --off:      #f4f6f8;
  --off2:     #e8edf1;
  --border:   #dce3e8;
  --border-d: #c2ccd3;
  --ink:      #111827;
  --ink-2:    #1f2937;
  --ink-dim:  #4b5563;
  --ink-mute: #9ca3af;
  --accent:   #1a7896;
  --accent-d: #135b73;
  --accent-l: #e3f2f8;
  --danger:   #c0392b;
  --danger-l: #fdecea;
  --green:    #1a6b3a;
  --green-l:  #ebf5f0;
  --amber:    #92660a;
  --amber-l:  #fbf3e2;
  --mono:     'IBM Plex Mono', monospace;
  --display:  'Syne', sans-serif;
  --body:     'DM Sans', sans-serif;
  --hdr-h:    94px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { overflow-x: hidden; }
body { font-family: var(--body); background: var(--off); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; width: 100%; max-width: 100%; position: relative; }
.login-view, .app-view { width: 100%; max-width: 100%; overflow-x: hidden; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }
.lucide { width: 1em; height: 1em; stroke-width: 1.7; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #cdd6dd; border-radius: 0; border: 3px solid var(--off); }

.logo-mark-v { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--accent); letter-spacing: -0.01em; line-height: 1; }
.logo-mark-link { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: 0.04em; line-height: 1; }
.logo-sep { width: 1px; height: 16px; background: var(--border-d); display: inline-block; vertical-align: middle; }
.logo-eng { font-family: var(--mono); font-size: 8px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-mute); }

.eyebrow { font-family: var(--mono); font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-family: var(--display); font-weight: 600; font-size: 13px; padding: 9px 20px; border-radius: 9px; border: 1.5px solid transparent; transition: background .18s, border-color .15s, color .15s; white-space: nowrap; }
.btn .lucide { width: 15px; height: 15px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); }
.btn-ghost { color: var(--ink-dim); background: var(--white); border-color: var(--border-d); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #a93224; }
.btn-sm { padding: 7px 14px; font-size: 12.5px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.link-btn { color: var(--accent); font-weight: 600; text-decoration: underline; }

.login-view {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--off); padding: 24px;
}
.login-card {
  width: 100%; max-width: 360px; background: var(--white);
  border: 1px solid var(--border); border-radius: 12px; padding: 36px 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.login-logo { display: flex; align-items: center; gap: 9px; }
.login-title { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.login-error {
  background: var(--danger-l); color: var(--danger);
  font-size: 13px; padding: 10px 14px; border-radius: 8px;
  border: 1px solid rgba(192,57,43,.15);
}

.field { margin-bottom: 18px; }
.field > label { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px; }
.field .req { color: var(--danger); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input[type=text], input[type=password], input[type=url], input[type=search], textarea, .select {
  width: 100%; background: var(--off); border: 1px solid var(--border); border-radius: 4px;
  padding: 12px 14px; font-size: 14px; color: var(--ink); outline: none; transition: border-color .15s, background .15s, box-shadow .15s; }
textarea { resize: vertical; line-height: 1.6; }
input:focus, textarea:focus, .select:focus { border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 3px rgba(26,120,150,0.09); }
.hint { font-size: 11.5px; color: var(--ink-mute); margin-top: 6px; line-height: 1.5; }
.select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

.ad-header { position: sticky; top: 0; z-index: 60; }
.ad-top { background: var(--ink); height: 36px; }
.ad-top-inner { max-width: 1300px; margin: 0 auto; padding: 0 40px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.ad-top-tag { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.ad-bar { background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); height: 64px; }
.ad-bar-inner { max-width: 1300px; margin: 0 auto; padding: 0 40px; height: 100%; display: flex; align-items: center; position: relative; }
.ad-logo { display: flex; align-items: center; gap: 9px; margin-right: auto; }
.ad-logo-tag { font-family: var(--mono); font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent-l); background: var(--accent-l); border-radius: 4px; padding: 3px 7px; }
.ad-nav { display: flex; align-items: center; gap: 4px; position: absolute; left: 50%; transform: translateX(-50%); }
.ad-nav-link { font-family: var(--display); font-weight: 500; font-size: 13.5px; color: var(--ink-dim); padding: 6px 14px; transition: color .15s; position: relative; display: inline-flex; align-items: center; gap: 7px; }
.ad-nav-link:hover { color: var(--ink); }
.ad-nav-link.active { color: var(--accent); font-weight: 600; }
.ad-nav-link.active::after { content: ''; position: absolute; bottom: -22px; left: 14px; right: 14px; height: 2px; background: var(--accent); border-radius: 1px; }
.ad-nav-count { font-family: var(--mono); font-size: 10px; font-weight: 400; background: var(--off2); color: var(--ink-dim); padding: 1px 7px; border-radius: 20px; }
.ad-actions { display: flex; align-items: center; gap: 4px; }
.ad-link { display: inline-flex; align-items: center; gap: 7px; font-family: var(--display); font-weight: 500; font-size: 13px; color: var(--ink-dim); padding: 8px 14px; border-radius: 8px; transition: background .15s, color .15s; }
.ad-link:hover { background: var(--off); color: var(--accent); }
.ad-link .lucide { width: 15px; height: 15px; }
.ad-burger { display: none; width: 40px; height: 40px; place-items: center; border-radius: 8px; color: var(--ink); }
.ad-burger:hover { background: var(--off); }
.ad-mnav { display: none; }

.ad-main { max-width: 1300px; margin: 0 auto; padding: 40px; min-height: calc(100vh - 220px); }
.view-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.view-title { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.035em; line-height: 1; }
.view-title em { font-style: normal; color: var(--accent); }
.view-head .eyebrow { margin-bottom: 12px; }
.view-head-actions { display: flex; gap: 8px; }

.settings-groups { display: flex; flex-direction: column; gap: 16px; }
.sg-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.sg-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--border); }
.sg-title { font-weight: 700; font-size: 15px; color: var(--ink); }
.sg-sub { font-size: 12px; color: var(--ink-mute); margin-top: 2px; }
.sg-body { padding: 20px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input-eye { position: relative; display: flex; }
.input-eye input { flex: 1; padding-right: 40px; }
.eye-btn { position: absolute; right: 0; top: 0; height: 100%; width: 40px; display: flex; align-items: center; justify-content: center; color: var(--ink-mute); border-radius: 0 8px 8px 0; }
.eye-btn:hover { color: var(--ink); }
.eye-btn .lucide { width: 15px; height: 15px; }
.field-hint { font-size: 11px; color: var(--ink-mute); margin-top: 4px; display: block; }
.pw-error { grid-column: 1/-1; background: var(--danger-l); color: var(--danger); font-size: 13px; padding: 10px 14px; border-radius: 8px; border: 1px solid rgba(192,57,43,.15); }
@media (max-width: 640px) { .sg-body { grid-template-columns: 1fr; } .sg-head { flex-direction: column; align-items: flex-start; } }

.site-mode-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 20px; margin-bottom: 20px;
  transition: border-color .2s;
}
.site-mode-card.live    { border-color: rgba(34,197,94,.3); }
.site-mode-card.maintenance { border-color: rgba(245,158,11,.3); }
.smc-left { display: flex; align-items: center; gap: 14px; }
.smc-indicator { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(255,255,255,.1); }
.smc-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.smc-sub   { font-size: 12px; color: var(--ink-mute); margin-top: 2px; }
.smc-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-bottom: 28px; }
.stat { background: var(--white); padding: 24px 26px; }
.stat-num { font-family: var(--display); font-weight: 800; font-size: 36px; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.stat-label { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-top: 12px; }
.stat.accent .stat-num { color: var(--accent); }

.panel { background: var(--white); border: 1px solid var(--border); padding: 26px; }
.panel-flush { padding: 0; overflow-x: auto; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.panel-head h3 { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }

.brand-breakdown { display: flex; flex-direction: column; gap: 15px; }
.bb-row { display: grid; grid-template-columns: 140px 1fr 44px; align-items: center; gap: 16px; }
.bb-name { font-size: 13.5px; font-weight: 600; }
.bb-track { height: 6px; background: var(--off2); overflow: hidden; }
.bb-fill { height: 100%; background: var(--accent); transition: width .5s ease; }
.bb-val { font-family: var(--mono); font-size: 12px; color: var(--ink-dim); text-align: right; }

.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.tb-search { position: relative; flex: 1; min-width: 240px; }
.tb-search .lucide { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-mute); }
.tb-search input { padding-left: 40px; background: var(--white); }
.toolbar .select { width: auto; min-width: 160px; background-color: var(--white); }

.bulkbar { display: flex; align-items: center; gap: 16px; background: var(--ink); color: #fff; padding: 11px 18px; margin-bottom: 14px; }
.bulkbar #bulkCount { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; }
.bulk-actions { display: flex; gap: 8px; }
.bulkbar .btn-sm { background: rgba(255,255,255,0.12); color: #fff; border-color: transparent; }
.bulkbar .btn-sm:hover { background: rgba(255,255,255,0.22); }
.bulkbar .btn-danger { background: var(--danger); }
.bulk-clear { margin-left: auto; color: rgba(255,255,255,0.6); font-size: 12.5px; }
.bulk-clear:hover { color: #fff; }

.ptable { width: 100%; border-collapse: collapse; }
.ptable thead th { text-align: left; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); padding: 14px 16px; border-bottom: 1px solid var(--border); background: var(--off); }
.ptable tbody td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.ptable tbody tr:last-child td { border-bottom: none; }
.ptable tbody tr { transition: background .12s; }
.ptable tbody tr:hover { background: #fafbfc; }
.col-check { width: 42px; } .col-img { width: 58px; } .col-brand { width: 132px; } .col-price { width: 140px; } .col-stock { width: 124px; } .col-actions { width: 112px; }
.ptable input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.p-thumb { width: 46px; height: 46px; background: var(--off); border: 1px solid var(--border); object-fit: contain; display: block; padding: 4px; }
.p-thumb.placeholder { display: grid; place-items: center; color: var(--ink-mute); }
.p-title { font-weight: 600; font-size: 14px; color: var(--ink); line-height: 1.35; }
.p-sku { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); margin-top: 3px; }
.p-brand { font-size: 12.5px; color: var(--ink-dim); }
.p-price { font-size: 13px; color: var(--ink-dim); }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 4px 11px; border-radius: 20px; }
.badge .lucide { width: 12px; height: 12px; }
.badge.in { background: var(--green-l); color: var(--green); }
.badge.out { background: var(--amber-l); color: var(--amber); }
.row-actions { display: flex; gap: 3px; justify-content: flex-end; }
.icon-btn { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 4px; color: var(--ink-mute); transition: all .15s; }
.icon-btn:hover { background: var(--off2); color: var(--ink); }
.icon-btn.danger:hover { background: var(--danger-l); color: var(--danger); }
.icon-btn .lucide { width: 16px; height: 16px; }
.empty-state { text-align: center; padding: 70px 24px; color: var(--ink-mute); }
.empty-state .lucide { width: 42px; height: 42px; margin-bottom: 12px; opacity: .5; }
.result-count { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); text-align: right; margin-top: 14px; letter-spacing: 0.05em; }

.ad-footer { max-width: 1300px; margin: 0 auto; padding: 28px 40px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--border); margin-top: 20px; }
.ad-footer span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }

.drawer { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: flex-end; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(14,26,32,0.4); backdrop-filter: blur(1px); animation: bdIn .2s ease; }
.drawer-panel { position: relative; z-index: 1; width: 500px; max-width: 100%; background: var(--white); display: flex; flex-direction: column; box-shadow: -4px 0 32px rgba(14,26,32,0.12); animation: drIn .22s cubic-bezier(.4,0,.2,1); }
@keyframes bdIn { from { opacity:0; } to { opacity:1; } }
@keyframes drIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes pop  { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); flex-shrink: 0; gap: 12px; }
.drawer-eyebrow { font-family: var(--mono); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 3px; }
.drawer-title { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.drawer-x { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: var(--ink-mute); transition: all .15s; flex-shrink: 0; }
.drawer-x:hover { background: var(--off2); color: var(--ink); }
.drawer-body { padding: 20px 22px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.drawer-body .field { margin-bottom: 0; }
.drawer-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--border); background: var(--off); flex-shrink: 0; }

.modal { position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(14,26,32,0.5); backdrop-filter: blur(2px); }
.modal-card { position: relative; z-index: 1; background: var(--white); border: 1px solid var(--border); border-radius: 14px; width: 100%; max-width: 400px; box-shadow: 0 20px 60px rgba(14,26,32,0.2); animation: pop .18s ease; overflow: hidden; }
.modal-head { padding: 22px 24px 16px; }
.modal-head h2 { font-family: var(--display); font-weight: 700; font-size: 17px; }
.editor { padding: 26px 28px; overflow-y: auto; flex: 1; }
.editor .field:last-of-type { margin-bottom: 0; }
.brand-hint { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--accent); margin-top: 7px; min-height: 14px; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--off); border: 1px solid var(--border); border-radius: 6px; padding: 4px; }
.seg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--ink-dim); padding: 8px 12px; border-radius: 4px; transition: background .15s, color .15s, box-shadow .15s; }
.seg-btn .lucide { width: 14px; height: 14px; }
.seg-btn:hover { color: var(--ink); }
.seg-btn[data-stock="1"].active { background: var(--green); color: #fff; box-shadow: 0 1px 3px rgba(26,107,58,0.3); }
.seg-btn[data-stock="0"].active { background: var(--amber); color: #fff; box-shadow: 0 1px 3px rgba(146,102,10,0.3); }

.auto-tag { font-family: var(--mono); font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); background: var(--accent-l); border-radius: 4px; padding: 2px 6px; margin-left: 6px; vertical-align: middle; }
.auto-url { background: var(--off); border: 1px solid var(--border); border-radius: 4px; padding: 11px 14px; font-family: var(--mono); font-size: 12.5px; color: var(--accent-d); word-break: break-all; line-height: 1.5; }
.auto-url.empty { color: var(--ink-mute); font-style: italic; }

.dropzone { border: 1.5px dashed var(--border-d); border-radius: 4px; padding: 24px; text-align: center; color: var(--ink-mute); font-size: 13px; transition: all .15s; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dropzone .lucide { width: 26px; height: 26px; color: var(--ink-mute); }
.dropzone.drag { border-color: var(--accent); background: var(--accent-l); color: var(--accent-d); }
.url-add { display: flex; gap: 8px; margin-top: 10px; }
.url-add input { flex: 1; }
.img-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.img-item { position: relative; width: 86px; height: 86px; border: 1px solid var(--border); overflow: hidden; background: var(--off); cursor: grab; }
.img-item.dragging { opacity: .4; }
.img-item img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.img-item .img-x { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(14,26,32,0.72); color: #fff; display: grid; place-items: center; opacity: 0; transition: opacity .15s; }
.img-item:hover .img-x { opacity: 1; }
.img-item .img-x .lucide { width: 12px; height: 12px; }
.img-item .main-tag { position: absolute; bottom: 0; left: 0; right: 0; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; padding: 2px; }
.adv { margin: 20px 0 0; border-top: 1px solid var(--border); padding-top: 18px; }
.adv summary { font-family: var(--display); font-weight: 700; font-size: 14px; cursor: pointer; color: var(--ink-dim); list-style: none; display: flex; align-items: center; gap: 7px; }
.adv summary::before { content: '▸'; color: var(--ink-mute); transition: transform .15s; }
.adv[open] summary::before { transform: rotate(90deg); }
.adv summary::-webkit-details-marker { display: none; }
.adv .field { margin-top: 16px; }
.editor-error { color: var(--danger); font-size: 13px; }
.editor-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; background: var(--off); flex-shrink: 0; }
.confirm-text { padding: 0 24px 20px; font-size: 14px; color: var(--ink-dim); line-height: 1.65; }

.toasts { position: fixed; bottom: 22px; right: 22px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--ink); color: #fff; padding: 13px 18px; font-size: 13.5px; box-shadow: 0 16px 50px rgba(14,26,32,0.3); display: flex; align-items: center; gap: 10px; animation: pop .25s ease; max-width: 360px; border-radius: 10px; }
.toast .lucide { width: 17px; height: 17px; flex-shrink: 0; }
.toast.success { border-left: 3px solid #2ecc71; }
.toast.error { border-left: 3px solid #ff6b5b; }
.toast.success .lucide { color: #2ecc71; }
.toast.error .lucide { color: #ff6b5b; }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 880px) {
  .ad-top { display: none; }
  .ad-bar { height: 60px; }
  .ad-bar-inner, .ad-top-inner, .ad-main, .ad-footer { padding-left: 22px; padding-right: 22px; }
  .ad-nav, .ad-actions .ad-link { display: none; }
  .ad-burger { display: grid; }
  .ad-mnav { display: none; flex-direction: column; background: var(--white); border-bottom: 1px solid var(--border); padding: 8px 22px 14px; }
  .ad-mnav[data-open] { display: flex; }
  .ad-mnav-link { text-align: left; font-family: var(--display); font-weight: 500; font-size: 15px; color: var(--ink-dim); padding: 12px 4px; border-bottom: 1px solid var(--border); }
  .ad-mnav-link:last-child { border-bottom: none; }
  .ad-mnav-link.active { color: var(--accent); font-weight: 600; }
  .ad-main { padding: 28px 22px; }
  .col-brand, .col-price { display: none; }
}
@media (max-width: 560px) {
  .ad-bar-inner, .ad-main, .ad-footer { padding-left: 16px; padding-right: 16px; }
  .stats { gap: 1px; }
  .stat { padding: 18px; } .stat-num { font-size: 28px; }
  .toolbar .select { flex: 1; min-width: 0; }
  .tb-search { min-width: 100%; }
  .col-stock { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .view-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .view-head-actions { width: 100%; }
  .view-head-actions .btn { flex: 1; }
  .bb-row { grid-template-columns: 100px 1fr 40px; gap: 10px; }
  .login-card { padding: 28px 20px; }
  .drawer-panel { width: 100%; }
  .modal { padding: 10px; }
  .modal-card { max-height: 96vh; }
  .ad-footer { flex-direction: column; gap: 4px; }
}
