:root {
  --orange: #ff7a00;
  --orange-hover: #ff9a3d;
  --orange-soft: #fff1e3;
  --bg: #fffaf5;
  --card: #ffffff;
  --text: #1f1f1f;
  --muted: #6b7280;
  --green: #22c55e;
  --green-soft: #dcfce7;
  --border: #e5e7eb;
  --danger: #ef4444;
  --danger-soft: #fee2e2;
  --shadow: 0 16px 40px rgba(31, 31, 31, 0.08);
  --shadow-sm: 0 8px 24px rgba(31, 31, 31, 0.06);
  --radius: 8px;
}

@font-face {
  font-family: "Transcity";
  src: url("/fonts/Transcity-DEMO.otf") format("opentype");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  min-height: 100vh;
  background: transparent;
  color: var(--text);
  line-height: 1.5;
}

.page-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("/background-image.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.9;
}

.page-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

input[type="file"] {
  padding: 9px 12px;
  cursor: pointer;
}

.container {
  width: calc(100% - 60px);
  max-width: none;
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color:#fbf1e6;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar__brand-row {
  display: contents;
  padding: 0px 2px 0px 2px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Transcity", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 41px;
  font-weight: 900;
  color: var(--text);
  text-decoration: none;
}

.brand::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--orange) url("/icon.png") center / 24px 24px no-repeat;
  box-shadow: 0 10px 22px rgba(255, 122, 0, 0.24);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link,
.nav__text {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav__link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius);
  text-decoration: none;
}

.nav__link:hover {
  background: var(--orange-soft);
  color: var(--text);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}

.nav-toggle:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(255, 122, 0, 0.28);
  outline-offset: 2px;
}

.inline {
  display: inline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--orange);
  background: var(--orange);
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(255, 122, 0, 0.2);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.btn:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(255, 122, 0, 0.26);
}

.btn--ghost,
.btn--outline {
  background: #ffffff;
  color: var(--text);
  border-color: var(--border);
  box-shadow: none;
}

.btn--ghost:hover,
.btn--outline:hover {
  background: var(--orange-soft);
  border-color: #ffd4ad;
}

.btn--danger {
  background: var(--danger);
  border-color: var(--danger);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(239, 68, 68, 0.14);
}

.btn--danger:hover {
  background: #dc2626;
  border-color: #dc2626;
}

.btn--small {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 13px;
}

.btn--wide {
  width: 100%;
}

.hero {
  padding: 48px 0 28px;
}

.hero--home {
  position: relative;
  min-height: min(620px, calc(100vh - 108px));
  display: grid;
  align-items: center;
  margin: 16px 0 26px;
  padding: clamp(34px, 7vw, 74px);
  overflow: hidden;
  border-radius: 8px;
  background-image: url("/background-image.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow);
}

.hero__content {
  max-width: 610px;
  position: relative;
  z-index: 1;
}

.hero__eyebrow,
.eyebrow {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 12px;
  max-width: 820px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.96;
  font-weight: 950;
}

.hero p {
  margin: 0 0 22px;
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
}

.hero--compact {
  padding: 34px 0 18px;
}

.hero--compact h1 {
  font-size: clamp(32px, 5vw, 48px);
}

.hero--compact p {
  font-size: 16px;
}

.hero__actions {
  margin-top: 28px;
}

.hero__panel {
  display: grid;
  gap: 10px;
  max-width: 620px;
  padding: 18px;
  border: 1px solid rgba(255, 122, 0, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
}

.hero__panel p {
  margin: 0;
  font-size: 15px;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 36px;
}

.feature-card,
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.feature-card {
  padding: 18px;
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--orange-soft);
  color: var(--orange);
  font-weight: 950;
}

.feature-card h2,
.card__title,
.vendor-order-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
}

.feature-card p,
.card__desc {
  margin: 0;
  font-size: 14px;
}

.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.row--split {
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.card {
  padding: 18px;
  background: rgba(255, 232, 209, 0.843);
  border: 2.5px solid rgba(255, 123, 0, 0.414);
}

.muted {
  color: var(--muted);
  padding-bottom: 10px;
}

.small {
  font-size: 13px;
}

.form {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

label span {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  outline: none;
}

input:hover,
select:hover {
  border-color: #ffd4ad;
}

.flash {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #ffffff;
  font-weight: 700;
}

.flash--success {
  background: var(--green-soft);
  border-color: #bbf7d0;
  color: #166534;
}

.flash--error {
  background: var(--danger-soft);
  border-color: #fecaca;
  color: #991b1b;
}

.flash--info {
  background: #dbeafe;
  border-color: #bfdbfe;
  color: #1e40af;
}

fieldset.fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

fieldset.fieldset legend {
  font-weight: 700;
  font-size: 16px;
  padding: 0 8px;
}

.vendor-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}

.breadcrumb {
  margin: 10px 0 4px;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--orange);
  font-weight: 800;
  text-decoration: none;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid--shops {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.card--link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.card--link:hover {
  border-color: #ffd4ad;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.menu-list,
.order-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.menu-list__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.menu-list__content {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 14px;
}

.menu-list__row:hover {
  border-color: #ffd4ad;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.menu-list__row--sold-out {
  opacity: 0.74;
}

.menu-list__info {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.menu-list__name {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.menu-list__desc {
  margin: 0;
  font-size: 14px;
}

.menu-list__price {
  margin: 0;
  font-size: 24px;
  font-weight: 950;
  color: var(--text);
}

.menu-list__image,
.food-thumb {
  width: 100px;
  height: 100px;
  flex: 0 0 100px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(31, 31, 31, 0.12);
  background: var(--orange-soft);
}

.menu-list__image {
  align-self: center;
}

.menu-list__form,
.inline-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.input--qty {
  width: 78px;
  min-height: 42px;
  padding: 9px 10px;
  text-align: center;
  font-weight: 800;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th,
.table td {
  text-align: left;
  padding: 13px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.table th {
  color: var(--muted);
  font-weight: 900;
}

.cart-total {
  margin: 16px 0 0;
  font-size: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: capitalize;
}

.tag--muted {
  background: #f3f4f6;
  color: #4b5563;
}

.tag--warn {
  background: #fff7ed;
  color: #c2410c;
}

.tag--pending {
  background: var(--orange-soft);
  color: #c2410c;
}

.tag--ok {
  background: var(--green-soft);
  color: #166534;
}

.tag--danger {
  background: var(--danger-soft);
  color: #991b1b;
}

.pickup-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  padding: 8px 12px;
  border: 1px solid #ffd4ad;
  border-radius: var(--radius);
  background: #fff7ed;
  color: var(--text);
  font-weight: 800;
}

.pickup-meta--compact {
  margin: 2px 0 0;
  padding: 6px 10px;
  font-size: 13px;
}

.order-list__item {
  padding: 16px;
}

.order-list__meta,
.order-detail__head,
.vendor-order-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.order-list__meta a {
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
}

.order-detail h1 {
  margin: 0;
  font-size: 30px;
}

.h2 {
  margin: 24px 0 10px;
  font-size: 18px;
}

.plain-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}

.progress-tracker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.progress-tracker__step {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.progress-tracker__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--muted);
}

.progress-tracker__step.is-complete {
  border-color: #bbf7d0;
  background: #f7fff9;
  color: var(--text);
}

.progress-tracker__step.is-complete .progress-tracker__dot {
  background: var(--green);
  color: #ffffff;
}

.progress-tracker__step.is-current {
  border-color: #ffd4ad;
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.1);
}

.otp-box {
  margin: 18px 0;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--orange-soft);
  border: 1px solid #ffd4ad;
}

.otp-box__label {
  margin: 0 0 6px;
  color: #c2410c;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.otp-box__code {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(34px, 7vw, 54px);
  font-weight: 950;
  letter-spacing: 0.16em;
}

.mono,
.code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #f3f4f6;
  font-size: 13px;
}

.verify-form input[name="otp"] {
  min-height: 62px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 24px;
  letter-spacing: 0.22em;
  text-align: center;
}

.vendor-menu-edit {
  display: grid;
  grid-template-columns: 100px minmax(220px, 1fr);
  align-items: start;
  gap: 14px;
}

.vendor-order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.vendor-order-card {
  display: grid;
  gap: 14px;
  position: relative;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.vendor-order-card:hover,
.vendor-order-card:has(.vendor-order-card__overlay:focus-visible) {
  border-color: #ffd4ad;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.vendor-order-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius);
}

.vendor-order-card__overlay:focus-visible {
  outline: 3px solid rgba(255, 122, 0, 0.28);
  outline-offset: 3px;
}

.vendor-order-card__status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.vendor-order-card__items {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vendor-order-card__items li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.vendor-order-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.vendor-order-card__actions > * {
  flex: 1 1 130px;
  min-width: 0;
}

.vendor-order-card__actions > a {
  display: block;
}

.vendor-section {
  margin-top: 24px;
}

.vendor-detail-actions {
  margin: 14px 0;
}

.vendor-order-detail {
  display: grid;
  gap: 18px;
}

.vendor-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.vendor-detail-grid > div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid #ffd4ad;
  border-radius: var(--radius);
  background: #fff7ed;
}

.vendor-detail-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.vendor-detail-grid strong {
  overflow-wrap: anywhere;
}

.vendor-detail-items,
.vendor-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vendor-detail-items {
  display: grid;
  gap: 8px;
}

.vendor-detail-items li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.vendor-timeline {
  display: grid;
  gap: 0;
}

.vendor-timeline__step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  position: relative;
  min-height: 56px;
  color: var(--muted);
  font-weight: 900;
}

.vendor-timeline__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 38px;
  bottom: 0;
  width: 2px;
  background: #ffd4ad;
}

.vendor-timeline__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid #ffd4ad;
  color: var(--orange);
}

.vendor-timeline__step.is-complete,
.vendor-timeline__step.is-current {
  color: var(--text);
}

.vendor-timeline__step.is-complete .vendor-timeline__dot {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
}

.vendor-timeline__step.is-current .vendor-timeline__dot {
  background: var(--orange);
  border-color: var(--orange);
  color: #ffffff;
  box-shadow: 0 0 0 5px rgba(255, 122, 0, 0.14);
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 140px;
  text-align: center;
}

.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;
}

@media (min-width: 1177px) {
  .topbar__inner {
    flex-wrap: nowrap;
  }

  .nav-main {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-toggle {
    display: none;
  }
}

@media (max-width: 1176px) {
  .topbar__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .topbar__brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .nav-main {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 6px;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid var(--border);
  }

  .nav-main.open {
    display: flex;
  }

  .nav-main .nav__link,
  .nav-main .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-main .vendor-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
  }

  .nav-main__greet {
    padding: 8px 12px;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .features,
  .progress-tracker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0px 2px 0px 2px;
  }

  .hero--home {
    min-height: auto;
    margin-top: 10px;
    padding: 34px 20px;
    background-image: url("/background-image.png");
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero p {
    font-size: 17px;
  }

  .features,
  .progress-tracker {
    grid-template-columns: 1fr;
  }

  .menu-list__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 100px;
    align-items: start;
  }

  .menu-list__form {
    display: grid;
    grid-template-columns: 78px 1fr;
    padding: 10px;
    margin: 2px -4px -4px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #ffffff;
  }

  .table {
    min-width: 620px;
  }

  .card:has(.table) {
    overflow-x: auto;
  }

  .row--split {
    align-items: stretch;
    flex-direction: column;
  }

  .row--split .btn,
  .row--split form,
  #rzp-button {
    width: 100%;
  }

  .vendor-order-card__actions {
    flex-direction: column;
  }

  .vendor-order-card__actions > *,
  .vendor-order-card__actions > a {
    flex: none;
    width: 100%;
  }

  .vendor-menu-edit {
    grid-template-columns: 82px minmax(220px, 1fr);
  }

  .vendor-menu-edit .food-thumb {
    width: 82px;
    height: 82px;
    flex-basis: 82px;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 30px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .btn {
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .feature-card,
  .card,
  .menu-list__row {
    padding: 16px;
  }

  .menu-list__row {
    grid-template-columns: 1fr;
  }

  .menu-list__image {
    order: -1;
    width: 100%;
    height: 180px;
  }

  .vendor-menu-edit {
    grid-template-columns: 1fr;
  }

  .vendor-menu-edit .food-thumb {
    width: 100px;
    height: 100px;
  }
}

.footer {
  margin-top: 3rem;
  padding: 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: #6b7280;
  font-size: 0.9rem;
}

.cart-mobile {
  display: none !important;
}

@media (max-width: 1176px) {
  .cart-mobile {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    max-width: 65px;
    height: 30px;
  }

  .cart-link {
    display: none !important;
  }
}

@media (min-width: 1177px) {
  .cart-mobile {
    display: none !important;
  }

  .cart-link {
    display: inline-flex !important;
  }
}

.admin-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin: 18px 0 0;
}

.admin-sidebar {
  position: sticky;
  top: 92px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.admin-sidebar__title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.admin-sidebar__nav {
  display: grid;
  gap: 8px;
}

.admin-sidebar__link {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.admin-sidebar__link:hover {
  background: var(--orange-soft);
}

.admin-sidebar__link.is-active {
  background: var(--orange);
  color: #ffffff;
}

.admin-main {
  min-width: 0;
}

.admin-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 4px 0 16px;
}

.admin-page-head h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.admin-metric {
  display: grid;
  gap: 4px;
}

.admin-panel {
  margin-bottom: 18px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-link {
  color: var(--orange);
  font-weight: 900;
  text-decoration: none;
}

.admin-link:hover {
  text-decoration: underline;
}

.admin-toolbar {
  margin-bottom: 16px;
}

.admin-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-filter-bar label {
  min-width: 220px;
}

.admin-grid {
  display: grid;
  gap: 14px;
}

.admin-grid--analytics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.admin-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.admin-detail-grid > div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid #ffd4ad;
  border-radius: var(--radius);
  background: #fff7ed;
}

.admin-detail-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-detail-grid strong {
  overflow-wrap: anywhere;
}

.admin-item-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.admin-item-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.admin-hero-image,
.admin-preview {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  margin: 14px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 1176px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }
}

@media (max-width: 900px) {
  .admin-metrics,
  .admin-grid--analytics,
  .admin-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .admin-filter-bar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-filter-bar label {
    min-width: 0;
  }

  .admin-item-list li {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .admin-metrics,
  .admin-grid--analytics,
  .admin-grid--two {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ */
/* Adjust Order page                                                   */
/* ------------------------------------------------------------------ */

.adjust-items-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.adjust-items-table th,
.adjust-items-table td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.adjust-items-table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 600;
}

.adjust-item-row:hover {
  background: var(--bg-alt);
}

.adjust-summary {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.adjust-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.adjust-summary__row--refund {
  border-top: 1px solid var(--border);
  margin-top: 6px;
  padding-top: 12px;
  color: var(--danger);
}

.adjust-summary__row--refund strong {
  font-size: 1.1rem;
}

.adjust-notice {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 12px 0;
}

.adjust-notice p {
  margin: 4px 0;
}

.item-removed {
  text-decoration: line-through;
  opacity: 0.6;
}

/* ── Mobile header / hero / footer refinements ─────────────── */
@media (max-width: 768px) {
  .topbar {
    padding: 2px 0;
  }
  .topbar__inner {
    gap: 4px;
  }
  .topbar__brand-row {
    gap: 8px;
  }
  .brand {
    font-size: 22px;
  }
  .brand::before {
    width: 28px;
    height: 28px;
    background-size: 18px 18px;
    box-shadow: 0 6px 14px rgba(255, 122, 0, 0.2);
  }
  .topbar__actions {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .nav-toggle {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
  .cart-mobile {
    max-width: none;
    height: 34px;
    font-size: 13px;
    padding: 6px 12px;
    min-height: 34px;
  }

  .container {
    padding: 0 10px;
  }

  .breadcrumb {
    margin: 6px 0 2px;
    font-size: 12px;
  }

  .hero--compact {
    padding: 12px 0 8px;
  }
  .hero--compact h1 {
    font-size: 22px;
    margin: 0 0 6px;
  }
  .hero--compact p {
    font-size: 14px;
    margin: 0 0 10px;
  }
  .hero--compact .tag {
    min-height: 24px;
    font-size: 11px;
    padding: 3px 8px;
  }

  .footer {
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding: 1px 0;
  }
  .brand {
    font-size: 20px;
  }
  .brand::before {
    width: 24px;
    height: 24px;
    background-size: 16px 16px;
  }
  .nav-toggle {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
  .cart-mobile {
    height: 30px;
    font-size: 12px;
    padding: 4px 10px;
    min-height: 30px;
  }

  .container {
    padding: 0 8px;
  }

  .hero--compact {
    padding: 8px 0 6px;
  }
  .hero--compact h1 {
    font-size: 20px;
  }
  .hero--compact p {
    font-size: 13px;
  }

  .footer {
    margin-top: 0.25rem;
    padding: 0.4rem 0.5rem;
    font-size: 0.65rem;
  }
}

/* ── Update Banner ────────────────────────────────── */
.update-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  border-top: 2px solid var(--orange);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 12px 16px;
  transition: transform 0.3s ease;
}

.update-banner[hidden] {
  display: none;
}

.update-banner__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.update-banner__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.update-banner__title {
  font-size: 15px;
  color: var(--text);
}

.update-banner__desc {
  font-size: 13px;
  color: #666;
}

.update-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .update-banner__body {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .update-banner__actions {
    justify-content: center;
  }
}
