:root {
  --red-color: rgb(135, 36, 25);
  --brown-color: rgb(72, 52, 28);
  --green-color: rgb(39, 79, 45);
  --background-color: rgb(20, 20, 20);
}


* {
  box-sizing: border-box
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  margin: 0;
  background: #f4f5f7;
  color: #202124
}

header {
  background: #fff;
  padding: 14px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid #eee
}

main {
  max-width: 1150px;
  margin: 24px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px
}

article,
.cart,
.card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  margin: 10px 0;
  box-shadow: 0 2px 12px #0000000b
}

article {
  display: flex;
  align-items: center;
  gap: 15px
}

article>div {
  flex: 1
}

button {
  border: 0;
  border-radius: 9px;
  padding: 10px 14px;
  cursor: pointer;
  background: #111;
  color: #fff
}

article button {
  white-space: nowrap
}

input,
textarea,
select {
  width: 100%;
  padding: 11px;
  margin: 7px 0;
  border: 1px solid #d7d7d7;
  border-radius: 9px;
  background: #fff
}

form button {
  width: 100%;
  margin-top: 8px
}

.line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0
}

.line button {
  padding: 4px 9px
}

.success {
  background: #eaf8ef;
  padding: 14px;
  border-radius: 10px;
  margin-top: 12px
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center
}

a {
  color: #06c;
  text-decoration: none
}

progress {
  width: 100%;
  height: 22px
}

@media(max-width:750px) {
  main {
    grid-template-columns: 1fr
  }

  article {
    align-items: flex-start;
    flex-wrap: wrap
  }

  header h1 {
    font-size: 20px
  }
}

.order-card {
  display: block
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center
}

.order-actions p {
  width: 100%;
  margin: 0
}

button:disabled {
  opacity: .55;
  cursor: wait
}

#orderDetail {
  align-self: start
}

#orderDetail li {
  margin: 10px 0
}

#adminError,
#trackingError {
  color: #a32020
}

#productFields {
  border: 0;
  padding: 0;
  margin: 0
}

#productFields input[type=checkbox] {
  width: auto;
  margin-right: 8px
}

#productMessage {
  min-height: 1.5em
}

.admin-navigation {
  max-width: 1150px;
  margin: 20px auto 0;
  padding: 0 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap
}

.admin-navigation[hidden] {
  display: none
}

.admin-navigation a {
  padding: 12px 18px;
  border-radius: 9px;
  background: #fff;
  color: #202124;
  border: 1px solid #d7d7d7
}

.admin-navigation a[aria-current=page] {
  background: #111;
  color: #fff;
  border-color: #111;
  font-weight: 600
}

.admin-navigation button {
  margin-left: auto
}

.admin-navigation a:focus-visible {
  outline: 3px solid #06c;
  outline-offset: 3px
}

/* Shared server-rendered forms and restaurant identity. */
.restaurant-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #202124
}

.restaurant-brand strong {
  font-size: 1.25rem
}

.restaurant-brand small {
  display: block;
  color: #66736d;
  margin-top: 3px;
  font-size: .8rem
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--background-color);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700
}

.inline-form {
  display: flex;
  gap: 6px
}

.inline-form button,
.order-actions form button,
.filter-form button {
  width: auto;
  margin: 0
}

.filter-form {
  display: flex;
  gap: 12px;
  align-items: end
}

.filter-form label {
  flex: 1
}

.filter-form select {
  margin-bottom: 0
}

.cart-item {
  border-bottom: 1px solid #e3e7e3;
  padding: 12px 0
}

.cart-total {
  font-size: 1.2rem;
  font-weight: 700
}

.primary-link {
  display: inline-block;
  background: #193e32;
  color: #fff;
  padding: 10px 16px;
  border-radius: 9px
}

.checkbox {
  width: auto
}

.admin-navigation form {
  margin-left: auto
}

.admin-navigation form button {
  margin: 0
}

.order-actions form {
  display: inline-block
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #b07a36;
  outline-offset: 3px
}

.client-area {
  background: #f6f7f4;
  color: #22362d
}

.client-area header {
  padding: 18px max(20px, calc((100vw - 1150px)/2));
  border-bottom: 1px solid #dfe5df
}

.client-navigation {
  max-width: 1150px;
  padding: 16px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap
}

.client-navigation>a {
  color: #42574c;
  padding: 11px 18px;
  border-radius: 8px;
  font-weight: 600
}

.client-navigation>a[aria-current=page] {
  color: #fff;
  background: #193e32
}

.client-navigation form {
  margin-left: auto
}

.client-navigation form button {
  margin: 0;
  background: transparent;
  color: #42574c;
  border: 1px solid #c7d2c9
}

.client-area main {
  margin-top: 12px;
  align-items: start
}

.client-area button {
  background: #193e32
}

.client-area article {
  border: 1px solid #e1e6df;
  box-shadow: none;
  padding: 20px
}

.client-area article p {
  color: #66736d;
  line-height: 1.5
}

.client-area .cart,
.client-area .card {
  border: 1px solid #e1e6df;
  box-shadow: 0 4px 20px #193e3208;
  padding: 24px
}

.client-area h1 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -.035em
}

.store-intro {
  padding: 24px 0 32px
}

.store-intro h1 {
  max-width: 500px
}

.store-intro p {
  line-height: 1.6;
  color: #5c6e62;
  max-width: 550px
}

.eyebrow {
  font-size: .72rem;
  letter-spacing: .14em;
  font-weight: 700
}

.menu-category {
  margin-bottom: 28px
}

.client-area label {
  display: block;
  font-size: .9rem;
  font-weight: 500
}

.client-area textarea {
  min-height: 75px
}

.client-area .cart>p {
  font-size: .9rem;
  line-height: 1.5;
  color: #526657
}

.client-area article form {
  flex: 0 0 auto
}

.client-area article form button {
  margin: 0
}

@media(max-width:750px) {
  .client-navigation {
    gap: 4px
  }

  .client-navigation>a {
    padding: 9px 12px;
    font-size: .9rem
  }

  .client-navigation form {
    margin-left: 0
  }

  .client-area article {
    gap: 10px
  }

  .store-intro {
    padding: 10px 0 20px
  }

  .filter-form {
    align-items: stretch;
    flex-direction: column
  }

  .client-area .cart {
    padding: 18px
  }
}

.section-page {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  max-width: 1040px;
  margin: 34px auto
}

/* .providers-page {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  max-width: 1040px;
  margin: 34px auto
} */

.providers-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px
}

.providers-heading h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  letter-spacing: -.04em;
  margin: 4px 0 8px
}

.providers-lede {
  color: #66736d;
  max-width: 570px;
  margin: 0;
  line-height: 1.55
}

.eyebrow,
.provider-kicker {
  color: #a15f29;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  margin: 0
}

.providers-lock {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #52665b;
  background: #edf5ef;
  border: 1px solid #d5e5d7;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap
}

.providers-lock span:first-child {
  font-size: .55rem;
  color: #2f8a55
}

.provider-tabs {
  background: #edf0ec;
  border: 1px solid #d9dfd8;
  border-radius: 16px;
  padding: 8px
}

.provider-tablist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px
}

.provider-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #526157;
  border: 1px solid transparent;
  text-align: left;
  padding: 13px 14px;
  border-radius: 11px;
  min-width: 0
}

.provider-tab:hover {
  background: #f8faf7
}

.provider-tab.is-active {
  background: #fff;
  color: #1e3027;
  border-color: #dce4dc;
  box-shadow: 0 3px 12px #193e3210
}

.provider-tab-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #dfe8df;
  color: #193e32;
  font-weight: 800
}

.provider-tab-copy {
  display: grid;
  gap: 3px;
  min-width: 0
}

.provider-tab-copy strong {
  font-size: .9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.provider-tab-copy small {
  font-size: .75rem;
  color: #7b887f
}

.provider-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b3bcb5;
  margin-left: auto;
  flex: 0 0 auto
}

.provider-status-dot.is-on {
  background: #39a866;
  box-shadow: 0 0 0 3px #dff3e5
}

.provider-panel {
  background: #fff;
  border: 1px solid #dce4dc;
  border-radius: 13px;
  margin-top: 8px;
  padding: clamp(20px, 4vw, 34px);
  box-shadow: 0 10px 28px #193e320c
}

.provider-panel[hidden] {
  display: none
}

.provider-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e6ebe6
}

.provider-panel-header h2 {
  margin: 6px 0 0;
  font-size: 1.5rem;
  letter-spacing: -.025em
}

.provider-state-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end
}

.state-pill,
.credential-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 8px 11px;
  font-size: .76rem;
  font-weight: 700
}

.state-pill {
  background: #f2f3f1;
  color: #69756c
}

.state-pill>span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9aa49c
}

.state-pill.is-active {
  background: #e8f6ed;
  color: #267243
}

.state-pill.is-active>span {
  background: #35a45d
}

.credential-state {
  background: #f7f4ea;
  color: #8a6a2e
}

.credential-state>span {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .68rem
}

.provider-alert {
  display: grid;
  gap: 4px;
  background: #fff1ed;
  color: #9b422d;
  border: 1px solid #f3d5cc;
  border-radius: 9px;
  padding: 11px 13px;
  margin-top: 18px;
  font-size: .82rem
}

.provider-alert.is-success {
  background: #edf8f0;
  color: #267243;
  border-color: #d1ead8
}

.provider-form {
  margin-top: 22px
}

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

.provider-section {
  border: 1px solid #e1e8e1;
  border-radius: 11px;
  padding: 18px;
  margin: 0 0 14px;
  min-width: 0
}

.provider-section legend {
  padding: 0 7px;
  color: #263a2e;
  font-size: .9rem;
  font-weight: 800
}

.provider-section label {
  display: block;
  color: #56655c;
  font-size: .8rem;
  font-weight: 700
}

.provider-section input {
  font-weight: 400;
  font-size: .9rem
}

.field-hint {
  color: #7c8980;
  font-size: .78rem;
  line-height: 1.45;
  margin: 0 0 10px
}

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

.provider-details {
  display: grid;
  gap: 2px
}

.provider-security {
  background: #fbfcfa
}

.provider-security code {
  font-size: .75rem;
  color: #52665b;
  overflow-wrap: anywhere
}

.toggle-row {
  display: flex !important;
  align-items: center;
  gap: 14px;
  cursor: pointer
}

.toggle-row>span:first-child {
  display: grid;
  gap: 4px;
  flex: 1
}

.toggle-row small {
  font-weight: 400;
  color: #7c8980
}

.toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none
}

.toggle-track {
  width: 43px;
  height: 25px;
  background: #c8d0c9;
  border-radius: 99px;
  position: relative;
  flex: 0 0 auto
}

.toggle-track:after {
  content: "";
  position: absolute;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  left: 3px;
  top: 3px;
  box-shadow: 0 1px 4px #0003;
  transition: transform .2s
}

.toggle-input:checked+.toggle-track {
  background: #2f8f58
}

.toggle-input:checked+.toggle-track:after {
  transform: translateX(18px)
}

.toggle-input:focus-visible+.toggle-track {
  outline: 3px solid #b07a36;
  outline-offset: 3px
}

.provider-actions {
  display: flex;
  justify-content: flex-end
}

.provider-actions button {
  width: auto;
  margin: 0
}

.button-primary {
  background: #193e32
}

.provider-test {
  border-top: 1px solid #e6ebe6;
  margin-top: 18px;
  padding-top: 18px
}

.provider-test button {
  width: auto;
  margin: 0;
  background: #fff;
  color: #193e32;
  border: 1px solid #b8c9bb
}

.provider-tab:focus-visible {
  outline: 3px solid #b07a36;
  outline-offset: 2px
}

@media(max-width:750px) {
  .providers-page {
    margin: 22px auto
  }

  .providers-heading {
    display: block
  }

  .providers-lock {
    display: inline-flex;
    margin-top: 14px
  }

  .provider-tablist {
    grid-template-columns: 1fr
  }

  .provider-tab {
    padding: 10px 12px
  }

  .provider-panel-header {
    display: block
  }

  .provider-state-group {
    justify-content: flex-start;
    margin-top: 15px
  }

  .provider-form-grid,
  .field-grid {
    grid-template-columns: 1fr
  }

  .provider-panel {
    padding: 18px
  }

  .provider-section {
    padding: 14px
  }
}

.address-picker {
  display: grid;
  gap: 8px;
  margin: 8px 0
}

.address-suggestions {
  display: grid;
  gap: 5px;
  margin-top: -4px
}

.address-suggestion {
  background: #fff;
  color: #263a2e;
  border: 1px solid #d9e2da;
  text-align: left;
  font-weight: 500
}

.address-suggestion:hover {
  background: #edf5ef
}

.address-confirmation {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: #edf8f0;
  border: 1px solid #cfe7d5;
  border-radius: 10px;
  color: #234a31
}

.address-confirmation[hidden] {
  display: none
}

.address-confirmation-title {
  margin: 0;
  color: #267243;
  font-size: .8rem;
  font-weight: 800
}

.address-confirmation small {
  color: #5c7462
}

.pickup-label {
  max-width: 360px;
  padding: 16px;
  background: white;
  color: black;
  text-align: center;
}

.pickup-label img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: auto;
}

.delivery-panel [role="alert"] {
  border-left: 4px solid #a23b00;
  padding: 8px 12px;
}

@media print {
  body:has(.pickup-label) * {
    visibility: hidden;
  }

  body:has(.pickup-label) .pickup-label,
  body:has(.pickup-label) .pickup-label * {
    visibility: visible;
  }

  .pickup-label {
    position: absolute;
    left: 0;
    top: 0;
    width: 80mm;
    max-width: none;
    padding: 0;
  }
}