/* ==========================================================================
   KITCHEN BASKET :: website design system
   Mobile first. Breakpoints: 640 / 900 / 1200.
   ========================================================================== */

:root {
  --primary: #ff6b2c;
  --primary-dark: #e85416;
  --primary-soft: #fff1ea;

  --ink: #1c1c28;
  --ink-soft: #5a5a6e;
  --ink-faint: #9a9aae;

  --surface: #ffffff;
  --canvas: #f7f7fa;
  --line: #ececf2;

  --ok: #19a463;
  --warn: #f5a623;
  --bad: #e03131;
  --info: #2f80ed;
  --purple: #7a4dd3;
  --teal: #00a28a;
  --veg: #1ba672;
  --nonveg: #d32f2f;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 16px rgba(28, 28, 40, .06);
  --shadow-lg: 0 8px 28px rgba(28, 28, 40, .12);

  --header-h: 64px;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.3px; }
h1 { font-size: 26px; font-weight: 900; }
h2 { font-size: 20px; font-weight: 800; }
h3 { font-size: 17px; font-weight: 800; }
h4 { font-size: 15px; font-weight: 700; }
p  { margin: 0 0 10px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--ink-faint); }
.soft  { color: var(--ink-soft); }
.small { font-size: 13px; }
.tiny  { font-size: 11.5px; }
.bold  { font-weight: 800; }
.center { text-align: center; }
.right  { text-align: right; }
.nowrap { white-space: nowrap; }
.hide   { display: none !important; }

.mt-0{margin-top:0}.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:32px}
.mb-0{margin-bottom:0}.mb-1{margin-bottom:8px}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}

/* ============================================================ header ===== */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.site-header .bar {
  height: var(--header-h);
  display: flex; align-items: center; gap: 14px;
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: grid; place-items: center; color: #fff; font-size: 19px;
}
.brand .name { font-weight: 900; font-size: 16px; letter-spacing: .5px; line-height: 1.1; }
.brand .name small { display: block; font-size: 9.5px; letter-spacing: 1.4px; color: var(--ink-faint); font-weight: 700; }

.loc-pill {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 12px; border-radius: 10px;
  background: var(--canvas); border: 1px solid var(--line);
  font-size: 13px; font-weight: 700; color: var(--ink);
  min-width: 0; cursor: pointer;
}
.loc-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.loc-pill:hover { border-color: var(--primary); }

.header-search { flex: 1; min-width: 0; position: relative; }
.header-search input {
  width: 100%; padding: 11px 14px 11px 40px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--canvas); font-size: 14px; color: var(--ink);
}
.header-search input:focus { outline: none; border-color: var(--primary); background: #fff; }
.header-search .ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-faint); }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }

.icon-btn {
  position: relative;
  width: 42px; height: 42px; border-radius: 11px;
  border: 1px solid transparent; background: transparent;
  display: grid; place-items: center; color: var(--ink-soft); font-size: 18px;
}
.icon-btn:hover { background: var(--canvas); color: var(--ink); }
.icon-btn .badge {
  position: absolute; top: 4px; right: 4px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 20px; background: var(--bad); color: #fff;
  font-size: 10px; font-weight: 800; display: grid; place-items: center;
  border: 2px solid #fff;
}

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .site-header .bar { gap: 8px; }
  .header-search { display: none; }
  .nav-toggle { display: grid; }
  .brand .name small { display: none; }
  .loc-pill span { max-width: 90px; }
}

/* ============================================================= buttons === */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; border: 1px solid transparent;
  background: var(--primary); color: #fff;
  font-size: 14.5px; font-weight: 800; line-height: 1;
  transition: filter .15s, transform .05s;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }

.btn-block { width: 100%; }
.btn-sm { padding: 9px 14px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }

.btn-ghost { background: transparent; color: var(--primary); border-color: rgba(255,107,44,.45); }
.btn-ghost:hover { background: var(--primary-soft); }
.btn-line  { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink-faint); }
.btn-ok    { background: var(--ok); }
.btn-bad   { background: var(--bad); }
.btn-info  { background: var(--info); }
.btn-purple{ background: var(--purple); }
.btn-teal  { background: var(--teal); }
.btn-dark  { background: var(--ink); }

/* ============================================================== cards ==== */

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.card.tight { padding: 12px; }
.card.flush { padding: 0; overflow: hidden; }
.card + .card { margin-top: 14px; }
.card-hd { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.card-hd h3 { flex: 1; min-width: 0; }

.grid { display: grid; gap: 14px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-auto { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

@media (max-width: 900px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .g-4, .g-3, .g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-2.stack-sm, .g-3.stack-sm { grid-template-columns: 1fr; }
}

.row { display: flex; align-items: center; gap: 12px; }
.row.top { align-items: flex-start; }
.row.wrap { flex-wrap: wrap; }
.spacer { flex: 1; }

/* =============================================================== bits ==== */

.pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 20px;
  font-size: 11.5px; font-weight: 700; line-height: 1.4;
  background: rgba(90,90,110,.10); color: var(--ink-soft);
  border: 1px solid rgba(90,90,110,.18);
}
.pill.ok    { background: rgba(25,164,99,.10);  color: var(--ok);    border-color: rgba(25,164,99,.28); }
.pill.warn  { background: rgba(245,166,35,.12); color: #b87708;      border-color: rgba(245,166,35,.32); }
.pill.bad   { background: rgba(224,49,49,.10);  color: var(--bad);   border-color: rgba(224,49,49,.26); }
.pill.info  { background: rgba(47,128,237,.10); color: var(--info);  border-color: rgba(47,128,237,.26); }
.pill.purple{ background: rgba(122,77,211,.10); color: var(--purple);border-color: rgba(122,77,211,.26); }
.pill.teal  { background: rgba(0,162,138,.10);  color: var(--teal);  border-color: rgba(0,162,138,.26); }
.pill.solid { color: #fff; border-color: transparent; }
.pill.solid.ok { background: var(--ok); } .pill.solid.bad { background: var(--bad); }
.pill.solid.warn { background: var(--warn); } .pill.solid.info { background: var(--info); }
.pill.solid.teal { background: var(--teal); } .pill.solid.purple { background: var(--purple); }

.rating {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 3px 7px; border-radius: 6px; background: var(--ok);
  color: #fff; font-size: 12px; font-weight: 800;
}
.rating.mid { background: var(--warn); }
.rating.low { background: var(--bad); }

.vmark {
  width: 15px; height: 15px; border: 1.5px solid var(--veg);
  border-radius: 3px; display: inline-grid; place-items: center; flex-shrink: 0;
}
.vmark::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--veg); }
.vmark.nonveg { border-color: var(--nonveg); }
.vmark.nonveg::after { background: var(--nonveg); }
.vmark.egg { border-color: var(--warn); }
.vmark.egg::after { background: var(--warn); }

.divider { height: 1px; background: var(--line); margin: 14px 0; border: 0; }

/* ============================================================== forms ==== */

.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: 12.5px; font-weight: 700;
  color: var(--ink-soft); margin-bottom: 6px;
}
.field .hint { font-size: 11.5px; color: var(--ink-faint); margin-top: 5px; }

input[type=text], input[type=tel], input[type=email], input[type=password],
input[type=number], input[type=date], input[type=time], input[type=search],
select, textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; font-size: 14.5px; color: var(--ink);
  font-family: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,107,44,.12);
}
textarea { min-height: 84px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%239a9aae' d='M6 8L0 0h12z'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--primary); flex-shrink: 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ============================================================= alerts ==== */

.alert {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 13px 15px; border-radius: var(--radius-sm);
  font-size: 13.5px; line-height: 1.45; margin-bottom: 14px;
  border: 1px solid;
}
.alert.success { background: rgba(25,164,99,.08);  border-color: rgba(25,164,99,.28);  color: #0f7a4a; }
.alert.error   { background: rgba(224,49,49,.07);  border-color: rgba(224,49,49,.26);  color: #b02525; }
.alert.warning { background: rgba(245,166,35,.10); border-color: rgba(245,166,35,.32); color: #8a5a05; }
.alert.info    { background: rgba(47,128,237,.08); border-color: rgba(47,128,237,.26); color: #1c5fbb; }

.flash-stack { position: fixed; right: 16px; bottom: 16px; z-index: 200; max-width: 340px; }
.flash-stack .alert { box-shadow: var(--shadow-lg); background: var(--ink); color: #fff; border: 0; }
.flash-stack .alert.error { background: var(--bad); }

/* ============================================================= empty ===== */

.empty { text-align: center; padding: 56px 24px; }
.empty .ico {
  width: 84px; height: 84px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--primary-soft);
  display: grid; place-items: center; font-size: 34px; color: var(--primary);
}
.empty h3 { margin-bottom: 6px; }
.empty p { color: var(--ink-faint); font-size: 13.5px; max-width: 380px; margin: 0 auto 18px; }

/* ========================================================= store cards === */

.store-card {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  display: block; transition: transform .15s, box-shadow .15s;
}
.store-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.store-card.closed { opacity: .62; }

.store-card .thumb { position: relative; aspect-ratio: 16 / 10; background: var(--primary-soft); }
.store-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.store-card .thumb .ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 34px; color: rgba(255,107,44,.45); }
.store-card .thumb .closed-tag {
  position: absolute; inset: 0; background: rgba(28,28,40,.55);
  display: grid; place-items: center; color: #fff; font-weight: 900;
  font-size: 12px; letter-spacing: 1px;
}
.store-card .thumb .rate { position: absolute; left: 10px; bottom: 10px; }
.store-card .body { padding: 13px 14px 15px; }
.store-card .body .nm { font-size: 15.5px; font-weight: 800; margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-card .body .ds { font-size: 12.5px; color: var(--ink-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 9px; }
.store-card .meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-soft); font-weight: 600; }
.store-card .meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-faint); }

/* ========================================================= menu items === */

.menu-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px;
}
.menu-item.out { opacity: .55; }
.menu-item .info { flex: 1; min-width: 0; }
.menu-item .nm { font-size: 15.5px; font-weight: 800; margin: 6px 0 5px; }
.menu-item .price { font-size: 14.5px; font-weight: 800; }
.menu-item .mrp { font-size: 12.5px; color: var(--ink-faint); text-decoration: line-through; margin-left: 7px; }
.menu-item .off { font-size: 11.5px; color: var(--ok); font-weight: 800; margin-left: 6px; }
.menu-item .ds { font-size: 12.5px; color: var(--ink-faint); margin-top: 6px; line-height: 1.4; }
.menu-item .side { width: 128px; flex-shrink: 0; text-align: center; }
.menu-item .side img, .menu-item .side .ph {
  width: 128px; height: 104px; border-radius: 12px; object-fit: cover;
  background: var(--primary-soft); display: grid; place-items: center;
  font-size: 28px; color: rgba(255,107,44,.45);
}
.menu-item .side form { margin-top: -18px; position: relative; }

@media (max-width: 560px) {
  .menu-item .side { width: 104px; }
  .menu-item .side img, .menu-item .side .ph { width: 104px; height: 88px; }
}

.add-btn {
  width: 104px; padding: 9px 0; border-radius: 9px;
  background: #fff; border: 1.5px solid var(--primary);
  color: var(--primary); font-weight: 900; font-size: 13.5px;
  letter-spacing: .6px; box-shadow: var(--shadow);
}
.add-btn:hover { background: var(--primary); color: #fff; }
@media (max-width: 560px) { .add-btn { width: 88px; } }

.qty {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--primary); border-radius: 9px; overflow: hidden;
  background: var(--primary);
}
.qty button { width: 30px; height: 34px; border: 0; background: transparent; color: #fff; font-size: 16px; line-height: 1; }
.qty .n { min-width: 30px; text-align: center; color: #fff; font-weight: 900; font-size: 14px; }
.qty.light { background: #fff; border-color: rgba(255,107,44,.5); }
.qty.light button, .qty.light .n { color: var(--primary); }

/* ============================================================== table === */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
table.data th {
  text-align: left; padding: 11px 12px; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--ink-faint); font-weight: 800;
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.data td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--canvas); }
table.data td.num, table.data th.num { text-align: right; white-space: nowrap; }

/* =============================================================== stats == */

.stat {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 15px;
}
.stat .ic {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; font-size: 16px; margin-bottom: 11px;
}
.stat .v { font-size: 22px; font-weight: 900; line-height: 1.1; }
.stat .l { font-size: 11.5px; color: var(--ink-faint); font-weight: 600; margin-top: 3px; }
.stat .s { font-size: 11px; font-weight: 700; margin-top: 2px; }

/* charts: pure CSS bars */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 150px; padding-top: 18px; }
.bars .b { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.bars .b .fill {
  width: 100%; border-radius: 5px 5px 0 0; min-height: 3px;
  background: linear-gradient(180deg, var(--primary), rgba(255,107,44,.45));
}
.bars .b .lb { font-size: 9.5px; color: var(--ink-faint); font-weight: 600; margin-top: 5px; }
.bars .b .vl { font-size: 9px; color: var(--primary); font-weight: 800; margin-bottom: 3px; }

/* ============================================================= layout === */

.page { padding: 22px 0 60px; }
.page-hd { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.page-hd h1 { flex: 1; min-width: 200px; }

.split { display: grid; grid-template-columns: 1fr 380px; gap: 20px; align-items: start; }
@media (max-width: 1000px) { .split { grid-template-columns: 1fr; } }

/* even two-column split that collapses on tablets and phones */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 900px) { .split-2 { grid-template-columns: 1fr; } }

/* image/detail split: a fixed media column beside a form, stacked on phones */
.split-media { display: grid; grid-template-columns: var(--side, 220px) minmax(0, 1fr);
               gap: var(--split-gap, 22px); align-items: start; }
@media (max-width: 720px) { .split-media { grid-template-columns: 1fr; } }

.sticky { position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 1000px) { .sticky { position: static; } }

/* =============================================================== panel == */

.panel-layout { display: grid; grid-template-columns: 248px 1fr; min-height: calc(100vh - var(--header-h)); }
.panel-nav {
  background: var(--surface); border-right: 1px solid var(--line);
  padding: 18px 12px; position: sticky; top: var(--header-h);
  height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.panel-nav .grp { font-size: 10.5px; font-weight: 800; letter-spacing: .8px; color: var(--ink-faint); padding: 14px 12px 7px; text-transform: uppercase; }
.panel-nav a {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 2px;
}
.panel-nav a:hover { background: var(--canvas); color: var(--ink); }
.panel-nav a.on { background: var(--primary-soft); color: var(--primary); font-weight: 800; }
.panel-nav a .ic { width: 20px; text-align: center; }
.panel-nav a .cnt { margin-left: auto; background: var(--bad); color: #fff; font-size: 10.5px; font-weight: 800; padding: 1px 7px; border-radius: 20px; }

.panel-body { padding: 22px; min-width: 0; }

@media (max-width: 900px) {
  .panel-layout { grid-template-columns: 1fr; }
  .panel-nav {
    position: fixed; inset: var(--header-h) auto 0 0; width: 264px;
    transform: translateX(-100%); transition: transform .22s ease;
    z-index: 60; box-shadow: var(--shadow-lg); height: calc(100vh - var(--header-h));
  }
  .panel-nav.open { transform: none; }
  .panel-body { padding: 16px; }
  .scrim { position: fixed; inset: 0; background: rgba(28,28,40,.45); z-index: 55; }
}

/* =========================================================== timeline === */

.timeline { position: relative; }
.timeline .step { display: flex; gap: 14px; }
.timeline .step .rail { display: flex; flex-direction: column; align-items: center; }
.timeline .step .dot {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: 11px; color: #fff;
  background: var(--line); border: 2px solid var(--line);
}
.timeline .step.done .dot { background: var(--ok); border-color: var(--ok); }
.timeline .step .line { flex: 1; width: 2px; background: var(--line); margin: 3px 0; min-height: 18px; }
.timeline .step.done .line { background: rgba(25,164,99,.3); }
.timeline .step .txt { padding-bottom: 18px; flex: 1; }
.timeline .step:last-child .txt { padding-bottom: 0; }
.timeline .step .txt .t { font-size: 13.5px; font-weight: 800; }
.timeline .step .txt .m { font-size: 12.5px; color: var(--ink-faint); margin-top: 2px; line-height: 1.4; }
.timeline .step .txt .d { font-size: 11px; color: var(--ink-faint); margin-top: 3px; }

/* ============================================================== modal === */

.modal { position: fixed; inset: 0; z-index: 120; display: none; }
.modal.open { display: block; }
.modal .backdrop { position: absolute; inset: 0; background: rgba(28,28,40,.5); }
.modal .sheet {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(520px, calc(100vw - 32px)); max-height: 88vh; overflow-y: auto;
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 22px;
}
.modal .sheet h3 { margin-bottom: 14px; }
.modal .close { position: absolute; right: 14px; top: 14px; border: 0; background: transparent; font-size: 20px; color: var(--ink-faint); }

@media (max-width: 560px) {
  .modal .sheet {
    top: auto; bottom: 0; left: 0; transform: none;
    width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0;
  }
}

/* ============================================================= footer === */

.site-footer {
  background: var(--ink); color: rgba(255,255,255,.72);
  padding: 42px 0 26px; margin-top: 50px; font-size: 13.5px;
}
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.site-footer .bottom {
  margin-top: 30px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px;
}
@media (max-width: 800px) { .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 480px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* ======================================================== cart summary == */

.bill-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 13.5px; }
.bill-row .lbl { color: var(--ink-soft); }
.bill-row .val { font-weight: 700; }
.bill-row.total { padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--line); font-size: 16px; }
.bill-row.total .lbl, .bill-row.total .val { font-weight: 900; color: var(--ink); }

.savings {
  background: rgba(25,164,99,.10); color: var(--ok);
  padding: 9px; border-radius: var(--radius-sm); text-align: center;
  font-size: 12.5px; font-weight: 800; margin-top: 10px;
}

/* sticky mobile checkout bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 12px 16px; box-shadow: 0 -4px 18px rgba(28,28,40,.08);
  display: none;
}
@media (max-width: 1000px) { .mobile-bar.show { display: block; } body.has-bar { padding-bottom: 84px; } }

/* ============================================================= misc ===== */

.scroll-x { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.scroll-x > * { flex: 0 0 auto; }
.scroll-x::-webkit-scrollbar { height: 6px; }
.scroll-x::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 15px; border-radius: 22px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 13px; font-weight: 700; color: var(--ink-soft);
}
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip:hover { border-color: var(--primary); }

.cat-tile { width: 88px; text-align: center; }
.cat-tile .ic {
  width: 74px; height: 74px; margin: 0 auto 7px; border-radius: 22px;
  background: var(--primary-soft); display: grid; place-items: center;
  font-size: 30px; color: var(--primary); overflow: hidden;
}
.cat-tile .ic img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile .nm { font-size: 11.5px; font-weight: 700; color: var(--ink-soft); line-height: 1.25; }

.offer-card {
  width: 250px; padding: 14px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid rgba(255,107,44,.22);
  box-shadow: var(--shadow); display: flex; gap: 12px;
}
.offer-card .amt {
  width: 70px; flex-shrink: 0; border-radius: 11px; background: var(--primary-soft);
  display: grid; place-items: center; text-align: center;
  font-size: 14px; font-weight: 900; color: var(--primary); line-height: 1.15; padding: 10px 4px;
}
.offer-card .code {
  display: inline-block; margin-top: 6px; padding: 3px 8px;
  border: 1px dashed rgba(255,107,44,.5); border-radius: 6px;
  font-size: 11px; font-weight: 900; color: var(--primary); letter-spacing: .6px;
}

.hero {
  border-radius: var(--radius); overflow: hidden; position: relative;
  min-height: 190px; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; padding: 28px;
}
.hero h2 { font-size: 26px; font-weight: 900; margin-bottom: 8px; }
.hero p { color: rgba(255,255,255,.9); max-width: 460px; }
@media (max-width: 560px) { .hero { padding: 22px; min-height: 160px; } .hero h2 { font-size: 21px; } }

.print-only { display: none; }
@media print {
  .site-header, .site-footer, .panel-nav, .no-print, .mobile-bar { display: none !important; }
  .panel-layout { grid-template-columns: 1fr; }
  .print-only { display: block; }
  body { background: #fff; }
  .card { box-shadow: none; border: 1px solid var(--line); }
}
