.pillBrand{
  background:rgba(181,138,43,.10);
  border:1px solid rgba(181,138,43,.28);
  color:var(--text);
}

.hero{padding:18px 0 8px}
.heroCard{
  border:1px solid var(--line);
  background:linear-gradient(135deg, rgba(181,138,43,.10), rgba(255,255,255,.92));
  border-radius:18px;
  padding:18px;
  display:grid;gap:10px;
  box-shadow: var(--shadow);
}
.heroTitle{font-size:22px;margin:0}
.heroSub{color:var(--muted);margin:0;line-height:1.7}

.toolbar{
  margin:16px 0;
  display:grid;gap:10px;
  grid-template-columns: 1.2fr .8fr .8fr auto;
  align-items:center;
}
@media (max-width:900px){ .toolbar{grid-template-columns:1fr} }

.grid{
  display:grid;
  gap:14px;
  grid-template-columns: 1fr;
}

.orderCard{
  border:1px solid var(--line);
  background:linear-gradient(180deg,#fff,#fbfcff);
  border-radius:16px;
  overflow:hidden;
  box-shadow: var(--shadow);
}

.orderHead{
  padding:14px 14px 12px;
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  align-items:flex-start;
}

.oid{
  font-weight:900;
  letter-spacing:.2px;
}

.meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  color:var(--muted);
  font-size:13px;
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow: var(--shadow2);
  font-size:12px;
  color:var(--muted);
}
.chip strong{ color:var(--text); font-weight:800; }

.statusChip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow: var(--shadow2);
  font-size:12px;
  font-weight:900;
  text-transform:capitalize;
}
.statusDot{
  width:10px;height:10px;border-radius:999px;
  background:var(--muted);
  box-shadow: 0 0 0 3px rgba(15,23,42,.06);
}

.status-pending{
  color:var(--pending);
  border-color:rgba(180,83,9,.25);
  background:rgba(180,83,9,.08);
}
.status-pending .statusDot{ background:var(--pending); box-shadow: 0 0 0 3px rgba(180,83,9,.12); }

.status-confirmed{
  color:var(--confirmed);
  border-color:rgba(20,184,106,.25);
  background:rgba(20,184,106,.08);
}
.status-confirmed .statusDot{ background:var(--confirmed); box-shadow: 0 0 0 3px rgba(20,184,106,.12); }

.status-canceled{
  color:var(--canceled);
  border-color:rgba(225,29,72,.25);
  background:rgba(225,29,72,.08);
}
.status-canceled .statusDot{ background:var(--canceled); box-shadow: 0 0 0 3px rgba(225,29,72,.12); }

.status-gray{
  color:var(--muted);
  border-color:rgba(95,102,115,.25);
  background:rgba(95,102,115,.06);
}
.status-gray .statusDot{ background:var(--muted); box-shadow: 0 0 0 3px rgba(95,102,115,.10); }

.orderBody{
  padding:14px;
  display:grid;
  gap:12px;
}

.cols{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width:820px){ .cols{grid-template-columns:1fr} }

.box{
  padding:12px;
  display:grid;
  gap:6px;
}
.label{color:var(--muted);font-size:12px}
.val{font-weight:700;word-break:break-word}

.items{
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  box-shadow: var(--shadow2);
}
.itemsHead{
  padding:10px 12px;
  background:#f9fafc;
  border-bottom:1px solid var(--line);
  display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;
  color:var(--muted);
  font-size:12px;
}
.itemsRow{
  display:grid;
  grid-template-columns: 1.2fr .5fr .6fr .7fr;
  gap:10px;
  padding:10px 12px;
  border-bottom:1px solid var(--line);
  align-items:center;
  font-size:13px;
}
.itemsRow:last-child{border-bottom:none}
@media (max-width:720px){
  .itemsRow{grid-template-columns: 1fr .6fr .8fr;}
  .itemsRow .hideSm{display:none}
}

.rowRight{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.total{
  font-weight:900;
  font-size:16px;
  color:var(--text);
}

.detailsToggle{
  cursor:pointer;
  user-select:none;
  color:var(--muted);
  font-size:13px;
  display:inline-flex;
  gap:8px;
  align-items:center;
}
.detailsToggle:hover{color:var(--text)}
.caret{
  width:18px;height:18px;
  display:grid;place-items:center;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  box-shadow: var(--shadow2);
}

.empty{
  color:var(--muted);
  padding:18px;
  border:1px dashed var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.75);
}
