:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #24352a;
  background: #fafbf7;
  font-synthesis: none;
  --orange: #ef5734;
  --green: #263e30;
  --muted: #72796f;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
  border-radius: 12px;
  padding: 12px 17px;
  font-weight: 600;
}
button:hover {
  background: #ebeee6;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
header {
  height: 94px;
  display: flex;
  align-items: center;
  gap: 45px;
  max-width: 1320px;
  margin: auto;
  padding: 0 42px;
}
.brand {
  font-size: 32px;
  font-weight: 850;
  letter-spacing: -1.8px;
}
.brand span {
  color: var(--orange);
}
.brand i {
  display: inline-grid;
  place-items: center;
  background: var(--orange);
  color: #fff;
  width: 29px;
  height: 29px;
  font-size: 24px;
  border-radius: 50%;
  margin-left: 6px;
  font-style: normal;
}
.location {
  font-size: 13px;
  color: var(--muted);
}
nav {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.primary {
  background: var(--orange);
  color: white;
}
.primary:hover {
  background: #d74828;
}
#bag-count {
  background: #ffffff30;
  padding: 2px 7px;
  border-radius: 5px;
  margin-left: 8px;
}
main {
  max-width: 1320px;
  margin: auto;
  padding: 20px 42px 70px;
}
.hero {
  background: #eaf0df;
  min-height: 376px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  padding: 45px 55px;
}
.hero-copy {
  z-index: 1;
  width: 60%;
}
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  color: #65724b;
  display: block;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 62px;
  line-height: 1.03;
  letter-spacing: -3px;
  margin: 0 0 18px;
  max-width: 570px;
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero p {
  color: #69735e;
  font-size: 16px;
  line-height: 1.7;
}
.hero-art {
  width: 320px;
  height: 320px;
  display: grid;
  place-items: center;
  font-size: 175px;
  background: #f7f8ed;
  border: 20px solid #ffffff90;
  border-radius: 50%;
  transform: rotate(-13deg);
  box-shadow: 18px 25px 0 #dbe4cb;
  position: absolute;
  right: 65px;
}
.sticker {
  position: absolute;
  right: 30px;
  bottom: 40px;
  background: #fff;
  padding: 16px 22px;
  border-radius: 16px;
  font-size: 13px;
  box-shadow: 0 4px 20px #24352a0d;
  transform: rotate(-6deg);
}
.search {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #e7eadf;
  border-radius: 14px;
  margin-top: 27px;
  max-width: 480px;
  padding: 5px 14px;
  gap: 10px;
}
.search input {
  border: 0;
  padding: 12px 0;
  background: transparent;
  min-width: 0;
  width: 100%;
  outline: none;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 38px 0 21px;
}
.section-head h2 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -0.7px;
}
.section-head p {
  color: var(--muted);
  font-size: 13px;
  margin: 8px 0 0;
}
.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0 30px;
}
.chip {
  background: white;
  border: 1px solid #e3e7dc;
  padding: 11px 23px;
  border-radius: 30px;
  font-size: 13px;
}
.chip.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 23px;
}
.card {
  background: white;
  border: 1px solid #e6e9e0;
  border-radius: 20px;
  overflow: hidden;
  text-align: left;
  padding: 0;
  transition: transform 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  background: white;
}
.card-art {
  height: 166px;
  display: grid;
  place-items: center;
  font-size: 89px;
  position: relative;
  background: #edf0df;
}
.card:nth-child(2n) .card-art {
  background: #f8e4cd;
}
.card:nth-child(3n) .card-art {
  background: #e9e1d3;
}
.card:nth-child(4n) .card-art {
  background: #f6dfd5;
}
.card-art .tag {
  position: absolute;
  top: 13px;
  left: 13px;
  background: #ffffffdf;
  padding: 6px 9px;
  font-size: 10px;
  border-radius: 6px;
  font-weight: 700;
}
.card-body {
  padding: 18px;
}
.card h3 {
  margin: 0 0 7px;
  font-size: 18px;
  letter-spacing: -0.4px;
}
.card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}
.meta {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  font-size: 11px;
  color: #626c60;
}
.banner {
  background: var(--green);
  color: #f6f7eb;
  border-radius: 20px;
  padding: 29px 36px;
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.banner h3 {
  margin: 0 0 8px;
  font-size: 23px;
}
.banner p {
  margin: 0;
  font-size: 13px;
  color: #c5d1be;
}
.banner b {
  font-size: 42px;
  color: #f4c781;
}
footer {
  max-width: 1236px;
  margin: auto;
  padding: 26px 0;
  border-top: 1px solid #e1e5d8;
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
footer .brand {
  font-size: 25px;
}
footer a:last-child {
  margin-left: auto;
}
dialog {
  width: min(590px, 94vw);
  border: 0;
  border-radius: 24px;
  padding: 34px;
  max-height: 90vh;
  color: var(--green);
  box-shadow: 0 30px 100px #0003;
}
dialog::backdrop {
  background: #16251bcc;
  backdrop-filter: blur(4px);
}
.close {
  position: absolute;
  right: 10px;
  top: 8px;
  font-size: 25px;
}
dialog h2 {
  margin-top: 8px;
  letter-spacing: -0.7px;
}
label {
  display: block;
  margin: 16px 0 6px;
  font-size: 12px;
  font-weight: 700;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  border: 1px solid #dce1d5;
  border-radius: 10px;
  padding: 12px;
  background: white;
  color: var(--green);
}
textarea {
  min-height: 75px;
  resize: vertical;
}
form .primary {
  margin-top: 20px;
  width: 100%;
}
.muted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.error {
  color: #b52c18;
  font-size: 13px;
}
.row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #e9ecdf;
}
.row .grow {
  flex: 1;
}
.row h3 {
  font-size: 16px;
  margin: 0 0 5px;
}
.row p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.quantity {
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}
.quantity button {
  padding: 8px 11px;
  background: #edf0e6;
}
.totals {
  display: flex;
  justify-content: space-between;
  margin: 17px 0;
}
.totals.total {
  font-size: 21px;
  font-weight: 750;
}
.full {
  width: 100%;
  margin-top: 20px;
}
.empty {
  padding: 50px 20px;
  text-align: center;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  border-radius: 12px;
  padding: 16px 25px;
  display: none;
  z-index: 20;
  max-width: 90vw;
}
.status {
  display: inline-block;
  font-size: 11px;
  border-radius: 20px;
  background: #eaf0df;
  color: #425e2a;
  padding: 6px 10px;
  text-transform: capitalize;
}
.timeline {
  font-size: 12px;
  color: var(--muted);
  line-height: 2;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.menu-item {
  background: white;
  border: 1px solid #e5e8dd;
  border-radius: 18px;
  padding: 23px;
}
.menu-item h3 {
  margin: 0;
}
.menu-item p {
  min-height: 40px;
}
.menu-title {
  padding: 32px;
  background: #eaf0df;
  border-radius: 22px;
}
.menu-title h1 {
  margin: 0 0 12px;
  font-size: 38px;
}
.admin-tabs {
  display: flex;
  gap: 8px;
  margin: 25px 0;
}
.admin-panel {
  background: white;
  border: 1px solid #e4e8dc;
  border-radius: 20px;
  padding: 25px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat {
  background: #edf1e3;
  border-radius: 16px;
  padding: 25px;
}
.stat strong {
  font-size: 30px;
  display: block;
  margin-top: 12px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
td,
th {
  padding: 16px 10px;
  text-align: left;
  border-bottom: 1px solid #e9ecdf;
}
th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}
.actions {
  display: flex;
  gap: 5px;
}
.actions button {
  font-size: 12px;
  padding: 8px;
}
.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.demo-note {
  font-size: 11px;
  color: #6a735e;
  margin-top: 16px;
}
.refresh {
  font-size: 12px;
  color: var(--muted);
}
:focus-visible {
  outline: 3px solid #ec8c51;
  outline-offset: 3px;
}
@media (max-width: 950px) {
  .location {
    display: none;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-art {
    right: -65px;
    opacity: 0.7;
  }
  .hero-copy {
    width: 80%;
  }
  .hero h1 {
    font-size: 52px;
  }
  footer {
    margin: 0 30px;
  }
  .hero {
    padding: 35px;
  }
  .stats {
    gap: 10px;
  }
}
@media (max-width: 580px) {
  header {
    height: 80px;
    padding: 0 18px;
    gap: 5px;
  }
  .brand {
    font-size: 27px;
  }
  .brand i {
    display: none;
  }
  nav {
    gap: 0;
  }
  nav button {
    font-size: 12px;
    padding: 10px;
  }
  main {
    padding: 10px 18px 40px;
  }
  .hero {
    min-height: 370px;
    padding: 28px 24px;
    align-items: start;
  }
  .hero-copy {
    width: 100%;
  }
  .hero h1 {
    font-size: 43px;
    letter-spacing: -2px;
  }
  .hero p {
    font-size: 13px;
    width: 80%;
  }
  .hero-art {
    width: 150px;
    height: 150px;
    font-size: 85px;
    right: -15px;
    bottom: 18px;
    border: 10px solid #fff8;
    opacity: 0.55;
  }
  .search {
    position: relative;
    z-index: 2;
    margin-top: 22px;
  }
  .sticker {
    display: none;
  }
  .grid {
    gap: 12px;
  }
  .card-art {
    height: 120px;
    font-size: 65px;
  }
  .card-body {
    padding: 13px;
  }
  .card h3 {
    font-size: 15px;
  }
  .meta {
    font-size: 10px;
    gap: 5px;
  }
  .section-head h2 {
    font-size: 23px;
  }
  .chips {
    gap: 7px;
  }
  .chip {
    padding: 10px 15px;
  }
  .banner {
    padding: 24px;
    gap: 12px;
  }
  .banner h3 {
    font-size: 19px;
  }
  .banner b {
    font-size: 29px;
  }
  footer {
    margin: 0 18px;
    flex-wrap: wrap;
    gap: 14px;
  }
  footer > span {
    display: none;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .admin-tabs {
    overflow: auto;
  }
  .admin-panel {
    padding: 15px;
  }
  dialog {
    padding: 28px 23px;
  }
}

#account-btn {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 580px) {
  #account-btn {
    max-width: 80px;
  }
  .admin-panel .row {
    flex-wrap: wrap;
  }
  .admin-panel .actions {
    flex-wrap: wrap;
  }
}

.otp-input {
  font-size: 26px;
  text-align: center;
  letter-spacing: 12px;
  font-weight: 700;
}
.test-notice {
  padding: 16px;
  background: #fff1dc;
  border-radius: 12px;
  color: #79561e;
  font-size: 13px;
  line-height: 1.7;
}
