:root {
  --ink: #202b27;
  --muted: #738078;
  --paper: #fbfaf7;
  --cream: #f4f0e8;
  --line: #e5e2d9;
  --green: #255844;
  --green-2: #dbe9dc;
  --lime: #cddc93;
  --orange: #e9a872;
  --blue: #92c1d2;
  --plum: #9d889e;
  --red: #ba5b4d;
  --shadow: 0 18px 55px rgba(43, 51, 42, .09);
  --sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --mono: "DM Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--paper); color: var(--ink); font-family: var(--sans); }
body { min-width: 320px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.serif { font-family: var(--serif); }
.muted { color: var(--muted); }
.hidden { display: none !important; }

/* Login */
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.02fr .98fr; background: var(--cream); }
.login-art { position: relative; min-height: 100vh; overflow: hidden; padding: 48px 56px; background: var(--green); color: #f7f3e9; display: flex; flex-direction: column; justify-content: space-between; }
.login-art::before { content: ""; position: absolute; width: 540px; height: 540px; border: 1px solid rgba(246, 243, 230, .22); border-radius: 50%; right: -160px; top: 16%; box-shadow: 0 0 0 52px rgba(246, 243, 230, .04), 0 0 0 110px rgba(246, 243, 230, .04); }
.login-art::after { content: ""; position: absolute; width: 300px; height: 300px; background: var(--lime); opacity: .87; border-radius: 53% 47% 44% 56% / 42% 44% 56% 58%; right: 64px; bottom: -62px; transform: rotate(18deg); }
.brand { display: flex; align-items: center; gap: 11px; position: relative; z-index: 1; }
.brand-mark { width: 28px; height: 28px; border: 2px solid currentColor; border-radius: 8px 8px 8px 2px; transform: rotate(-12deg); position: relative; }
.brand-mark::after { content: ""; position: absolute; width: 10px; height: 6px; border: 2px solid currentColor; border-bottom: 0; border-radius: 8px 8px 0 0; top: -8px; left: 6px; transform: rotate(12deg); }
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.brand-caption { opacity: .62; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; margin-left: 39px; margin-top: -6px; }
.hero-copy { position: relative; z-index: 1; max-width: 510px; margin-top: -40px; }
.hero-copy h1 { font-family: var(--serif); font-size: clamp(42px, 5vw, 74px); font-weight: 600; line-height: .98; letter-spacing: -.04em; margin: 18px 0 24px; }
.hero-copy p { max-width: 410px; line-height: 1.7; font-size: 15px; color: rgba(247, 243, 233, .72); }
.login-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; font-size: 11px; color: rgba(247, 243, 233, .55); }
.login-foot strong { display: block; color: rgba(247, 243, 233, .88); font-size: 13px; font-weight: 500; margin-top: 7px; }
.login-panel { display: flex; align-items: center; justify-content: center; padding: 48px; background: #fcfbf7; }
.login-card { width: min(420px, 100%); }
.login-card h2 { font-family: var(--serif); font-weight: 600; font-size: 38px; letter-spacing: -.035em; margin: 17px 0 9px; }
.login-card > p { line-height: 1.6; color: var(--muted); margin: 0 0 30px; font-size: 14px; }
.role-toggle { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: #f7f4ed; padding: 4px; border-radius: 10px; margin-bottom: 26px; }
.role-toggle button { border: 0; background: transparent; padding: 10px; border-radius: 7px; color: var(--muted); font-size: 13px; }
.role-toggle button.active { background: white; color: var(--ink); box-shadow: 0 2px 8px rgba(30, 40, 34, .08); font-weight: 700; }
.field { display: block; margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 700; margin: 0 0 7px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); background: white; border-radius: 8px; color: var(--ink); padding: 12px 13px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(37, 88, 68, .10); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 45px; }
.password-wrap button { border: 0; background: transparent; color: var(--muted); position: absolute; right: 8px; top: 7px; padding: 6px; }
.btn { border: 1px solid transparent; border-radius: 8px; padding: 11px 15px; font-size: 13px; font-weight: 700; transition: transform .16s, box-shadow .16s, background .16s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: white; background: var(--green); box-shadow: 0 5px 16px rgba(37, 88, 68, .2); }
.btn-primary:hover { background: #1e4b39; box-shadow: 0 8px 20px rgba(37, 88, 68, .25); }
.btn-secondary { color: var(--ink); background: white; border-color: var(--line); }
.btn-quiet { color: var(--green); background: transparent; padding-left: 0; padding-right: 0; }
.btn-danger { color: var(--red); background: #fbefec; border-color: #f0d3ce; }
.full { width: 100%; }
.demo-hint { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 17px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.demo-hint code { color: var(--green); font-family: var(--mono); font-size: 10px; }
.login-error { color: var(--red); background: #fbefec; border: 1px solid #f0d3ce; padding: 10px 12px; border-radius: 7px; font-size: 12px; margin: -3px 0 15px; }

/* Shared shell */
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; background: var(--paper); }
.sidebar { border-right: 1px solid var(--line); background: #f7f5ef; padding: 27px 17px 18px; display: flex; flex-direction: column; }
.sidebar .brand { color: var(--green); padding: 0 13px; }
.sidebar .brand-caption { color: var(--muted); }
.side-rule { height: 1px; background: var(--line); margin: 30px 13px 21px; }
.nav-label { padding: 0 13px; margin: 0 0 9px; }
.nav { display: grid; gap: 3px; }
.nav button { width: 100%; display: flex; align-items: center; gap: 12px; border: 0; background: transparent; border-radius: 8px; color: var(--muted); padding: 11px 13px; text-align: left; font-size: 13px; }
.nav button:hover { background: #ecebe3; color: var(--ink); }
.nav button.active { color: var(--green); background: var(--green-2); font-weight: 700; }
.nav-icon { width: 18px; height: 18px; display: inline-grid; place-items: center; font-size: 14px; }
.sidebar-bottom { margin-top: auto; border-top: 1px solid var(--line); padding: 18px 13px 0; }
.profile-mini { display: flex; align-items: center; gap: 10px; }
.avatar { width: 31px; height: 31px; border-radius: 50%; background: var(--green); color: white; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: 0 0 auto; }
.avatar.orange { background: var(--orange); color: var(--ink); }
.avatar.lilac { background: var(--plum); color: white; }
.profile-mini div:last-child { min-width: 0; }
.profile-name { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-role { color: var(--muted); font-size: 10px; margin-top: 2px; }
.logout { border: 0; background: transparent; color: var(--muted); font-size: 11px; padding: 8px 0 0; }
.main { min-width: 0; padding: 29px 39px 50px; }
.topbar { min-height: 43px; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 34px; }
.page-title h1 { font-family: var(--serif); font-size: 31px; letter-spacing: -.035em; font-weight: 600; margin: 5px 0 0; }
.top-actions { display: flex; gap: 9px; align-items: center; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--muted); }
.icon-btn:hover { color: var(--green); border-color: #c5d5c7; }
.content { max-width: 1370px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 0 0 18px; }
.section-head h2 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 4px 0 0; letter-spacing: -.025em; }
.section-head p { color: var(--muted); font-size: 12px; margin: 6px 0 0; }
.view-all { color: var(--green); font-size: 12px; font-weight: 700; border: 0; background: transparent; }

/* Dashboard */
.welcome-strip { background: var(--green); color: #f7f3e9; border-radius: 12px; padding: 28px 31px; display: flex; justify-content: space-between; align-items: center; position: relative; overflow: hidden; margin-bottom: 25px; }
.welcome-strip::after { content: ""; position: absolute; width: 235px; height: 235px; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; right: 5%; top: -115px; box-shadow: 0 0 0 30px rgba(255,255,255,.035), 0 0 0 65px rgba(255,255,255,.035); }
.welcome-strip h2 { font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: -.03em; margin: 6px 0 7px; }
.welcome-strip p { color: rgba(247,243,233,.67); font-size: 12px; margin: 0; }
.welcome-strip .btn { position: relative; z-index: 1; background: var(--lime); color: var(--ink); border-color: var(--lime); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 29px; }
.metric { border: 1px solid var(--line); background: #fffefa; border-radius: 10px; padding: 19px 19px 17px; min-height: 113px; }
.metric-top { display: flex; justify-content: space-between; align-items: center; }
.metric-icon { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-size: 14px; }
.metric-icon.green { background: var(--green-2); color: var(--green); }
.metric-icon.lime { background: #eff3db; color: #6f7f35; }
.metric-icon.orange { background: #f9eadc; color: #9d5c26; }
.metric-icon.blue { background: #e1eff3; color: #3e7586; }
.metric-number { font-size: 27px; font-weight: 600; letter-spacing: -.05em; margin-top: 14px; }
.metric-label { color: var(--muted); font-size: 11px; margin-top: 2px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(270px, .85fr); gap: 28px; }
.panel { border: 1px solid var(--line); background: #fffefa; border-radius: 10px; overflow: hidden; }
.panel-pad { padding: 20px 21px; }
.bar-row { display: grid; grid-template-columns: 1fr 86px 105px; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding: 13px 21px; font-size: 12px; }
.bar-row:first-child { border-top: 0; }
.bar-label { display: flex; gap: 9px; align-items: center; }
.tiny-thumb { width: 27px; height: 27px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; flex: 0 0 auto; }
.bg-orange { background: #f4d3b7; }.bg-blue { background: #b9dae2; }.bg-lime { background: #dce6aa; }.bg-plum { background: #dacdda; }.bg-green { background: #c4d9c4; }
.stock-pill { font-family: var(--mono); color: var(--muted); font-size: 10px; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 99px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.status-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-pill.green { color: var(--green); background: var(--green-2); }.status-pill.amber { color: #936329; background: #fbecd8; }.status-pill.red { color: var(--red); background: #f9e3df; }.status-pill.gray { color: var(--muted); background: #efeee9; }.status-pill.blue { color: #3b6f7b; background: #e2eff2; }
.activity { display: grid; gap: 0; }
.activity-row { display: grid; grid-template-columns: 31px 1fr auto; gap: 10px; align-items: center; border-top: 1px solid var(--line); padding: 14px 21px; font-size: 11px; }
.activity-row:first-child { border-top: 0; }
.activity-row strong { display: block; font-size: 12px; font-weight: 700; }.activity-row span { color: var(--muted); display: block; margin-top: 3px; }.activity-time { color: var(--muted); font-family: var(--mono); font-size: 9px; }

/* Toolbar, cards, tables */
.toolbar { display: flex; align-items: center; gap: 9px; margin-bottom: 19px; flex-wrap: wrap; }
.search-box { position: relative; flex: 1; min-width: 190px; }.search-box span { position: absolute; left: 12px; top: 10px; color: var(--muted); font-size: 14px; }.search-box input { width: 100%; border: 1px solid var(--line); background: white; border-radius: 8px; padding: 10px 12px 10px 35px; outline: none; font-size: 12px; }.search-box input:focus { border-color: var(--green); }
.filter-select { border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--muted); padding: 10px 31px 10px 11px; font-size: 12px; outline: none; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.product-card { border: 1px solid var(--line); background: #fffefa; border-radius: 10px; overflow: hidden; transition: box-shadow .18s, transform .18s; }.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.product-visual { height: 152px; display: flex; justify-content: space-between; align-items: flex-start; padding: 12px; position: relative; overflow: hidden; }.product-visual::after { content: ""; position: absolute; width: 125px; height: 125px; border: 1px solid rgba(32,43,39,.15); border-radius: 50%; bottom: -62px; right: -28px; }.product-visual .bag-shape { width: 76px; height: 93px; background: rgba(255,255,255,.72); border: 2px solid rgba(32,43,39,.35); border-radius: 10px 10px 6px 6px; position: absolute; top: 36px; left: 50%; transform: translateX(-50%) rotate(-5deg); box-shadow: 10px 0 0 rgba(255,255,255,.35); }.product-visual .bag-shape::before { content: ""; position: absolute; width: 30px; height: 24px; border: 2px solid rgba(32,43,39,.35); border-bottom: 0; border-radius: 25px 25px 0 0; top: -22px; left: 20px; }.product-visual .bag-shape::after { content: "N"; color: rgba(32,43,39,.45); font-family: var(--serif); font-size: 27px; position: absolute; left: 27px; top: 27px; }.product-visual .category-tag { position: relative; z-index: 1; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.55); padding: 5px 7px; border-radius: 5px; }.product-info { padding: 15px 15px 14px; }.product-info h3 { font-size: 13px; margin: 0 0 6px; font-weight: 700; }.product-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }.product-sku { color: var(--muted); font-family: var(--mono); font-size: 9px; }.price { font-weight: 700; font-size: 13px; }.product-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line); }.stock-text { font-size: 10px; color: var(--muted); }.stock-text.low { color: #9a642f; }.product-actions { display: flex; gap: 5px; }.small-btn { border: 1px solid var(--line); background: white; padding: 6px 8px; border-radius: 6px; font-size: 10px; color: var(--muted); }.small-btn:hover { color: var(--green); border-color: #bfd2c3; }.small-btn.primary { color: var(--green); background: var(--green-2); border-color: transparent; font-weight: 700; }
.empty-state { text-align: center; padding: 55px 25px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); }.empty-state strong { display: block; color: var(--ink); margin-bottom: 7px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: #fffefa; }.data-table { width: 100%; border-collapse: collapse; min-width: 700px; }.data-table th { text-align: left; background: #f7f5ef; color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: 12px 17px; }.data-table td { border-top: 1px solid var(--line); padding: 14px 17px; font-size: 12px; vertical-align: middle; }.data-table tr:hover td { background: #fffdf8; }.cell-main { font-weight: 700; }.cell-sub { color: var(--muted); display: block; font-size: 10px; margin-top: 4px; }.table-actions { display: flex; gap: 6px; align-items: center; }
.customer-cell { display: flex; align-items: center; gap: 10px; }.customer-cell .avatar { width: 28px; height: 28px; font-size: 9px; }
.access-chips { display: flex; flex-wrap: wrap; gap: 4px; }.access-chip { font-size: 9px; background: #eef2e8; color: var(--green); padding: 4px 6px; border-radius: 4px; font-family: var(--mono); }.access-chip.more { background: #efeee9; color: var(--muted); }
.page-note { background: #f0f3e3; color: #53623d; padding: 12px 14px; border-radius: 8px; font-size: 11px; line-height: 1.5; margin-bottom: 17px; }.page-note strong { font-weight: 700; }
.cat-pills { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 19px; }.cat-pill { border: 1px solid var(--line); background: white; color: var(--muted); border-radius: 99px; padding: 7px 11px; font-size: 11px; }.cat-pill.active { background: var(--green); color: white; border-color: var(--green); }

/* Customer shop */
.customer-shell { min-height: 100vh; background: #fbfaf7; }.customer-header { border-bottom: 1px solid var(--line); background: #fbfaf7; padding: 20px max(24px, calc((100vw - 1180px) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 18px; position: sticky; top: 0; z-index: 5; }.customer-header .brand { color: var(--green); }.customer-header-right { display: flex; align-items: center; gap: 15px; }.customer-welcome { font-size: 11px; color: var(--muted); }.customer-welcome strong { color: var(--ink); }.customer-main { max-width: 1180px; margin: 0 auto; padding: 50px 24px 70px; }.shop-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; margin-bottom: 31px; }.shop-hero h1 { font-family: var(--serif); font-size: 45px; line-height: 1; font-weight: 600; letter-spacing: -.045em; margin: 10px 0 12px; }.shop-hero p { color: var(--muted); font-size: 13px; margin: 0; line-height: 1.5; }.shop-count { color: var(--green); font-family: var(--mono); font-size: 11px; white-space: nowrap; }.customer-toolbar { display: flex; gap: 9px; align-items: center; margin-bottom: 16px; }.customer-toolbar .search-box { max-width: 390px; }.customer-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }.customer-product-grid .product-visual { height: 183px; }.customer-product-grid .product-card { background: white; }.customer-product-grid .product-info { padding: 16px; }.quantity-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; }.quantity-controls { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }.quantity-controls button { width: 26px; height: 26px; border: 0; background: white; color: var(--muted); }.quantity-controls span { min-width: 23px; text-align: center; font-size: 11px; }.cart-fab { position: fixed; right: 27px; bottom: 26px; border: 0; background: var(--green); color: white; padding: 13px 17px; border-radius: 99px; box-shadow: 0 9px 27px rgba(37,88,68,.28); font-size: 12px; font-weight: 700; z-index: 6; }.cart-fab span { background: var(--lime); color: var(--ink); border-radius: 99px; padding: 3px 6px; margin-left: 6px; font-family: var(--mono); font-size: 10px; }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; background: rgba(28, 37, 31, .42); backdrop-filter: blur(3px); }.modal { width: min(570px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 12px; background: #fffefa; box-shadow: 0 24px 70px rgba(0,0,0,.18); }.modal.wide { width: min(760px, 100%); }.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 23px 25px 17px; border-bottom: 1px solid var(--line); }.modal-head h2 { font-family: var(--serif); font-size: 23px; font-weight: 600; margin: 3px 0 0; }.modal-head p { color: var(--muted); font-size: 11px; margin: 7px 0 0; }.modal-close { border: 0; background: transparent; color: var(--muted); font-size: 21px; line-height: 1; padding: 0; }.modal-body { padding: 21px 25px; }.modal-foot { display: flex; justify-content: flex-end; gap: 9px; padding: 16px 25px 22px; border-top: 1px solid var(--line); }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }.span-2 { grid-column: span 2; }
.access-section { padding: 16px; border: 1px solid var(--line); border-radius: 8px; margin-top: 6px; }.access-section h3 { font-size: 12px; margin: 0 0 11px; }.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.check-item { display: flex; align-items: flex-start; gap: 8px; border: 1px solid var(--line); border-radius: 6px; padding: 8px; font-size: 11px; }.check-item input { accent-color: var(--green); margin-top: 2px; }.check-item small { color: var(--muted); display: block; font-size: 9px; margin-top: 3px; }
.cart-line { display: grid; grid-template-columns: 35px 1fr auto; gap: 10px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); }.cart-line:first-child { border-top: 0; }.cart-line h4 { font-size: 12px; margin: 0 0 3px; }.cart-line p { color: var(--muted); font-size: 10px; margin: 0; }.cart-total { display: flex; justify-content: space-between; font-weight: 700; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; }.order-success { text-align: center; padding: 21px 12px 5px; }.success-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--green-2); color: var(--green); display: grid; place-items: center; margin: 0 auto 13px; font-size: 22px; }.order-success h3 { font-family: var(--serif); font-size: 25px; margin: 0 0 7px; }.order-success p { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 0; }
.toast { position: fixed; right: 24px; top: 23px; z-index: 50; background: var(--ink); color: white; padding: 12px 16px; border-radius: 8px; box-shadow: var(--shadow); font-size: 12px; opacity: 0; transform: translateY(-8px); transition: opacity .22s, transform .22s; pointer-events: none; }.toast.show { opacity: 1; transform: translateY(0); }.toast.error { background: var(--red); }
.mobile-nav { display: none; }

@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.customer-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.dashboard-grid { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .login-shell { grid-template-columns: 1fr; }.login-art { min-height: 330px; padding: 28px 27px; }.hero-copy { margin-top: 20px; }.hero-copy h1 { font-size: 45px; }.login-foot { display: none; }.login-panel { padding: 34px 24px 50px; }.app-shell { grid-template-columns: 1fr; }.sidebar { display: none; }.main { padding: 20px 19px 40px; }.mobile-nav { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 14px; margin: -5px 0 18px; scrollbar-width: none; }.mobile-nav::-webkit-scrollbar { display: none; }.mobile-nav button { flex: 0 0 auto; border: 1px solid var(--line); background: white; color: var(--muted); border-radius: 99px; padding: 8px 11px; font-size: 11px; }.mobile-nav button.active { background: var(--green); color: white; border-color: var(--green); }.metric-grid { grid-template-columns: repeat(2, 1fr); }.customer-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.customer-header { padding: 15px 19px; }.customer-welcome { display: none; }.customer-main { padding: 38px 19px 65px; }.shop-hero h1 { font-size: 38px; }.shop-hero { align-items: flex-start; flex-direction: column; gap: 10px; } }
@media (max-width: 520px) { .main { padding-inline: 14px; }.metric-grid { gap: 8px; }.metric { padding: 14px; }.metric-number { font-size: 23px; }.product-grid, .customer-product-grid { grid-template-columns: 1fr; }.welcome-strip { align-items: flex-start; flex-direction: column; gap: 17px; padding: 23px; }.welcome-strip::after { right: -80px; }.topbar { margin-bottom: 18px; gap: 10px; }.top-actions { gap: 6px; }.top-actions .btn { padding: 10px 12px; }.hide-small { display: none; }.page-title h1 { font-size: 27px; }.section-head { align-items: flex-start; flex-direction: column; gap: 5px; }.bar-row { grid-template-columns: 1fr auto; gap: 7px 10px; }.bar-row .stock-pill { grid-column: 1; }.bar-row .status-pill { grid-column: 2; grid-row: 1; align-self: start; }.form-grid { grid-template-columns: 1fr; }.span-2 { grid-column: span 1; }.check-grid { grid-template-columns: 1fr; }.customer-header .brand-caption { display: none; }.customer-header .brand { gap: 8px; }.customer-header .brand-name { font-size: 12px; }.customer-header-right { gap: 7px; }.customer-header-right .btn { padding: 9px 10px; font-size: 11px; }.customer-main { padding-inline: 15px; }.customer-toolbar { flex-wrap: wrap; }.customer-toolbar .search-box { max-width: none; flex-basis: 100%; }.shop-hero h1 { font-size: 34px; }.cart-fab { right: 15px; bottom: 15px; }.modal-backdrop { padding: 10px; }.modal { max-height: calc(100vh - 20px); }.modal-head { padding: 18px 17px 14px; }.modal-body { padding: 17px; }.modal-foot { padding: 13px 17px 17px; }.modal-foot .btn { flex: 1; padding-inline: 9px; }.table-wrap { border-radius: 8px; }.toolbar .btn { padding-inline: 11px; } }
