/* منصة الجملة — RTL design system (no build step) */
:root {
  --primary: #0f5257;
  --primary-600: #0b4448;
  --primary-50: #e8f3f3;
  --accent: #d4912a;
  --accent-50: #fbf3e6;
  --ink: #17212b;
  --ink-2: #4a5763;
  --ink-3: #7b8794;
  --line: #e3e8ec;
  --bg: #f5f7f8;
  --card: #ffffff;
  --success: #1c7c4d;
  --success-50: #e6f4ec;
  --warning: #a26100;
  --warning-50: #fdf2e0;
  --danger: #b42318;
  --danger-50: #fdecea;
  --info: #175cd3;
  --info-50: #e8f0fd;
  --muted-50: #eef1f3;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .06);
  --shadow-lg: 0 10px 30px rgba(16, 24, 40, .12);
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.65; color: var(--ink); background: var(--bg); direction: rtl; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5rem; line-height: 1.35; font-weight: 700; }
h1 { font-size: 1.55rem; } h2 { font-size: 1.25rem; } h3 { font-size: 1.05rem; }
p { margin: 0 0 .75rem; }
small, .small { font-size: .85rem; }
.muted { color: var(--ink-3); }
.ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }
.num { font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1rem 0; }

/* Layout */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.page { padding: 24px 0 48px; }
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.page-head h1 { margin: 0; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-products { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.stack > * + * { margin-top: 16px; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } h1 { font-size: 1.3rem; } }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-body { padding: 20px; }
.card-head { padding: 14px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; font-size: 1.02rem; }
.card-foot { padding: 12px 20px; border-top: 1px solid var(--line); background: #fafbfc; border-radius: 0 0 var(--radius) var(--radius); }

/* Stat tiles */
.stat { padding: 18px 20px; }
.stat .label { color: var(--ink-3); font-size: .85rem; }
.stat .value { font-size: 1.5rem; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat .hint { font-size: .8rem; color: var(--ink-3); margin-top: 2px; }
.trend-up { color: var(--success); } .trend-down { color: var(--danger); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px; border-radius: var(--radius-sm); border: 1px solid transparent; font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; line-height: 1.3; text-decoration: none !important; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-600); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink-3); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--muted-50); }
.btn-sm { padding: 5px 10px; font-size: .82rem; }
.btn-lg { padding: 12px 22px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Forms */
.field { margin-bottom: 14px; }
.field label, .label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--ink-2); }
.field .help { font-size: .8rem; color: var(--ink-3); margin-top: 4px; }
.input, select.input, textarea.input { width: 100%; padding: 9px 12px; border: 1px solid #cfd6dc; border-radius: var(--radius-sm); background: #fff; font: inherit; color: var(--ink); }
.input:focus { outline: 2px solid var(--primary-50); border-color: var(--primary); }
textarea.input { min-height: 90px; resize: vertical; }
.input.is-invalid { border-color: var(--danger); }
.error { color: var(--danger); font-size: .82rem; margin-top: 4px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); }
.input-group { display: flex; }
.input-group .input:first-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.input-group .input:last-child, .input-group .btn:last-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.input-group select.input { width: auto; flex: 0 0 auto; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0 0 16px; }
legend { font-weight: 700; padding: 0 6px; }

/* Qty stepper */
.qty { display: inline-flex; border: 1px solid #cfd6dc; border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.qty button { width: 34px; border: 0; background: var(--muted-50); font-size: 1.1rem; cursor: pointer; }
.qty input { width: 70px; border: 0; text-align: center; font: inherit; padding: 7px 4px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Tables */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { padding: 11px 14px; text-align: right; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { background: #fafbfc; color: var(--ink-2); font-weight: 600; font-size: .82rem; white-space: nowrap; }
.table th[data-sort] { cursor: pointer; user-select: none; }
.table th[data-sort]::after { content: " ⇅"; color: var(--ink-3); font-size: .75rem; }
.table tbody tr:hover { background: #fafcfc; }
.table .t-num { text-align: left; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table tfoot td { font-weight: 700; background: #fafbfc; }
.table-compact th, .table-compact td { padding: 7px 10px; }
@media (max-width: 720px) {
  .table-cards thead { display: none; }
  .table-cards tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .table-cards td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 4px 14px; }
  .table-cards td::before { content: attr(data-label); color: var(--ink-3); font-size: .8rem; }
}

/* Badges & alerts */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.badge-success { background: var(--success-50); color: var(--success); }
.badge-warning { background: var(--warning-50); color: var(--warning); }
.badge-danger { background: var(--danger-50); color: var(--danger); }
.badge-info { background: var(--info-50); color: var(--info); }
.badge-primary { background: var(--primary-50); color: var(--primary); }
.badge-muted { background: var(--muted-50); color: var(--ink-2); }
.badge-accent { background: var(--accent); color: #fff; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; border: 1px solid transparent; display: flex; gap: 10px; align-items: flex-start; }
.alert ul { margin: 0; padding-inline-start: 18px; }
.alert-success { background: var(--success-50); color: #11532f; border-color: #b9e0c9; }
.alert-danger { background: var(--danger-50); color: #7a1610; border-color: #f4c3be; }
.alert-warning { background: var(--warning-50); color: #6b4000; border-color: #f2d6a6; }
.alert-info { background: var(--info-50); color: #0f3d8c; border-color: #c4d7f8; }
.alert .close { margin-inline-start: auto; background: none; border: 0; cursor: pointer; font-size: 1.1rem; color: inherit; opacity: .6; }

/* Empty state */
.empty { text-align: center; padding: 40px 20px; color: var(--ink-3); }
.empty .icon { font-size: 2.2rem; margin-bottom: 6px; }
.empty h3 { color: var(--ink-2); }

/* Merchant header */
.topbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.topbar .container { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--ink); text-decoration: none !important; white-space: nowrap; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 1rem; }
.mainnav { display: flex; gap: 4px; }
.mainnav a { padding: 8px 12px; border-radius: var(--radius-sm); color: var(--ink-2); font-weight: 600; font-size: .92rem; text-decoration: none; }
.mainnav a:hover, .mainnav a.active { background: var(--primary-50); color: var(--primary); }
.topbar .search { flex: 1; max-width: 360px; margin-inline-start: auto; }
.topbar .search .input { background: var(--bg); }
.topbar .actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--ink-2); background: transparent; border: 0; cursor: pointer; font-size: 1.15rem; text-decoration: none !important; }
.icon-btn:hover { background: var(--muted-50); }
.icon-btn .count { position: absolute; top: 2px; left: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.menu-toggle { display: none; }
@media (max-width: 960px) {
  .menu-toggle { display: inline-grid; }
  .mainnav { display: none; position: absolute; top: 64px; right: 0; left: 0; background: #fff; flex-direction: column; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .mainnav.open { display: flex; }
  .topbar .search { display: none; }
}

/* Product cards */
.product-card { display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .15s; }
.product-card:hover { box-shadow: var(--shadow-lg); }
.product-card .thumb { aspect-ratio: 1 / 1; background: linear-gradient(135deg, #eef3f4, #f8fafb); display: grid; place-items: center; position: relative; color: var(--ink-3); font-size: 2.4rem; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .thumb .badge { position: absolute; top: 10px; right: 10px; }
.product-card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-card .name { font-weight: 700; color: var(--ink); line-height: 1.4; }
.product-card .meta { font-size: .78rem; color: var(--ink-3); }
.price { font-weight: 800; color: var(--primary); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.price-old { color: var(--ink-3); text-decoration: line-through; font-size: .85rem; margin-inline-start: 6px; }
.product-card form { margin-top: auto; padding-top: 8px; display: flex; gap: 6px; }
.product-card form .qty input { width: 52px; }

/* Product detail */
.gallery-main { aspect-ratio: 1/1; border-radius: var(--radius); background: linear-gradient(135deg, #eef3f4, #f8fafb); display: grid; place-items: center; overflow: hidden; font-size: 4rem; color: var(--ink-3); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: #fff; }
.thumbs button.active { border-color: var(--primary); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.spec { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; font-size: .9rem; }
.spec dt { color: var(--ink-3); } .spec dd { margin: 0; font-weight: 600; }

/* Section headers on home */
.section { margin-top: 28px; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.section-head h2 { margin: 0; }
.hero { background: linear-gradient(120deg, var(--primary) 0%, #157078 100%); color: #fff; border-radius: var(--radius); padding: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero h1 { color: #fff; margin: 0; }
.hero .stats { display: flex; gap: 28px; flex-wrap: wrap; }
.hero .stats div { min-width: 120px; }
.hero .stats .v { font-size: 1.35rem; font-weight: 800; }
.hero .stats .l { opacity: .8; font-size: .85rem; }
.offer-card { border-inline-start: 4px solid var(--accent); }

/* Order timeline */
.steps { display: flex; gap: 0; overflow-x: auto; padding-bottom: 6px; }
.steps .step { flex: 1; min-width: 92px; text-align: center; position: relative; font-size: .78rem; color: var(--ink-3); }
.steps .step::before { content: ""; position: absolute; top: 12px; right: 50%; left: -50%; height: 3px; background: var(--line); z-index: 0; }
.steps .step:first-child::before { display: none; }
.steps .dot { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--line); margin: 0 auto 6px; position: relative; z-index: 1; display: grid; place-items: center; font-size: .7rem; }
.steps .step.done { color: var(--success); font-weight: 600; }
.steps .step.done .dot { background: var(--success); border-color: var(--success); color: #fff; }
.steps .step.done::before { background: var(--success); }
.steps .step.current .dot { border-color: var(--primary); }
.steps .step.current { color: var(--primary); font-weight: 700; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 22px 14px 0; border-right: 2px solid var(--line); margin-right: 6px; }
.timeline li::before { content: ""; position: absolute; right: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); }
.timeline li:last-child { border-color: transparent; }

/* Totals box */
.totals { width: 100%; }
.totals div { display: flex; justify-content: space-between; padding: 6px 0; }
.totals .grand { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 800; font-size: 1.15rem; }

/* Auth / guest */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: linear-gradient(150deg, var(--primary) 0%, #0a3a3e 100%); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.auth-side h1 { color: #fff; font-size: 2rem; }
.auth-side ul { padding: 0; list-style: none; margin: 24px 0 0; }
.auth-side li { padding: 8px 0; opacity: .9; }
.auth-side li::before { content: "✓"; margin-inline-end: 10px; color: var(--accent); font-weight: 800; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card.wide { max-width: 760px; }
.auth-admin { min-height: 100vh; display: grid; place-items: center; background: #1b252e; padding: 16px; }
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* Status pages */
.status-page { max-width: 640px; margin: 48px auto; text-align: center; }
.status-icon { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; font-size: 2.2rem; }
.status-icon.wait { background: var(--warning-50); color: var(--warning); }
.status-icon.bad { background: var(--danger-50); color: var(--danger); }

/* Admin shell */
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.sidebar { background: #16222b; color: #c9d3db; padding: 16px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar .brand { color: #fff; padding: 6px 8px 18px; }
.sidebar .brand-mark { background: var(--accent); }
.sidebar .group-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: #7f8e9a; padding: 14px 10px 6px; }
.sidebar a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: #c9d3db; font-size: .92rem; text-decoration: none; }
.sidebar a:hover { background: rgba(255,255,255,.06); color: #fff; }
.sidebar a.active { background: var(--primary); color: #fff; }
.sidebar a .pill { margin-inline-start: auto; background: var(--accent); color: #fff; border-radius: 999px; padding: 0 8px; font-size: .72rem; font-weight: 700; }
.admin-main { min-width: 0; }
.admin-top { height: 60px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; padding: 0 20px; position: sticky; top: 0; z-index: 20; }
.admin-top .who { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.admin-content { padding: 22px 20px 48px; max-width: 1400px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; font-weight: 700; }
@media (max-width: 960px) {
  .admin-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 0 0 auto; width: 270px; z-index: 50; transform: translateX(100%); transition: transform .2s; }
  .sidebar.open { transform: none; box-shadow: var(--shadow-lg); }
}
@media (min-width: 961px) { .admin-top .menu-toggle { display: none; } }

/* Filters bar */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.filters .field { margin: 0; min-width: 150px; flex: 1; }
.filters .field.grow { flex: 2; min-width: 220px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs a { padding: 10px 14px; color: var(--ink-2); font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap; text-decoration: none; }
.tabs a.active { color: var(--primary); border-color: var(--primary); }
.tabs a .badge { margin-inline-start: 4px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .85rem; color: var(--ink-2); text-decoration: none !important; }
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Charts */
.chart-box { position: relative; height: 280px; }
.bar-list { list-style: none; margin: 0; padding: 0; }
.bar-list li { padding: 7px 0; }
.bar-list .bar { height: 6px; background: var(--muted-50); border-radius: 3px; overflow: hidden; margin-top: 4px; }
.bar-list .bar span { display: block; height: 100%; background: var(--primary); border-radius: 3px; }
.funnel { display: flex; gap: 8px; align-items: stretch; }
.funnel > div { flex: 1; text-align: center; padding: 14px 8px; border-radius: var(--radius-sm); background: var(--primary-50); }
.funnel .v { font-size: 1.4rem; font-weight: 800; color: var(--primary); }

/* Pagination */
.pagination { display: flex; gap: 4px; justify-content: center; padding: 16px 0 0; flex-wrap: wrap; list-style: none; margin: 0; }
.pagination a, .pagination span { min-width: 36px; height: 36px; padding: 0 10px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); text-decoration: none; font-size: .9rem; }
.pagination .active span { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .disabled span { opacity: .45; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 20px 0; color: var(--ink-3); font-size: .85rem; background: #fff; }

/* Invoice / print */
.invoice { background: #fff; max-width: 900px; margin: 24px auto; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); }
.invoice-head { display: flex; justify-content: space-between; gap: 20px; border-bottom: 2px solid var(--primary); padding-bottom: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.no-print { }
@media print {
  body { background: #fff; font-size: 12px; }
  .no-print, .topbar, .sidebar, .admin-top, .footer { display: none !important; }
  .invoice { border: 0; margin: 0; padding: 0; max-width: none; }
  .card { box-shadow: none; }
  a { color: inherit; }
}

/* Utilities */
.text-success { color: var(--success); } .text-danger { color: var(--danger); } .text-warning { color: var(--warning); }
.text-left { text-align: left; } .text-center { text-align: center; }
.fw-bold { font-weight: 700; }
.nowrap { white-space: nowrap; }
.w-auto { width: auto; }
.inline { display: inline; }
details summary { cursor: pointer; font-weight: 600; }
.kbd { font-family: ui-monospace, monospace; background: var(--muted-50); padding: 1px 6px; border-radius: 4px; font-size: .85em; direction: ltr; display: inline-block; }
.notice-list { list-style: none; margin: 0; padding: 0; }
.notice-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.notice-list li:last-child { border: 0; }
.notice-list li.unread { font-weight: 600; }
.notice-list li.unread::before { content: "●"; color: var(--accent); margin-inline-end: 6px; }

/* Two compact product columns on phones */
@media (max-width: 560px) {
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid-products .card .btn { padding-inline: 10px; font-size: 13px; }
}
