/* The customer's comanda is its own focused surface within the shared system. */
body.self-service {
  --self-bg: #f5f5f7;
  --self-card: #ffffff;
  --self-soft: #f0f1f4;
  --self-line: #e1e3e9;
  --self-text: #22252c;
  --self-muted: #646975;
  --self-brand: #b62d25;
  --self-success: #24704b;
  --self-success-bg: #edf7f1;
  color: var(--self-text);
  background: var(--self-bg);
  color-scheme: light;
  min-height: 100dvh;
}
body.self-service.dark {
  --self-bg: #17181e;
  --self-card: #23252d;
  --self-soft: #2d303a;
  --self-line: #3a3d47;
  --self-text: #f3f4f7;
  --self-muted: #b5bac6;
  --self-brand: #db625b;
  --self-success: #a7e3bf;
  --self-success-bg: #1c382b;
  color-scheme: dark;
}
body.self-service .customer-menu {
  max-width: 1152px;
  padding: 26px 28px 40px;
}
body.self-service .customer-menu > .brand-logo,
body.self-service .maria-launch,
body.self-service #calculator-launch,
body.self-service #pocket-calculator {
  display: none !important;
}
body.self-service #store-content {
  min-width: 0;
}
body.self-service button {
  background: var(--self-card);
  color: var(--self-text);
  border: 1px solid var(--self-line);
  border-radius: 12px;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.35;
  padding: 10px 15px;
}
body.self-service button:hover:not(:disabled) {
  background: var(--self-soft);
}
body.self-service button.primary {
  color: #fff;
  background: #b62d25;
  border-color: #b62d25;
  font-weight: 650;
}
body.self-service button.primary:hover:not(:disabled) {
  background: #97251f;
}
body.self-service button:focus-visible,
body.self-service input:focus-visible,
body.self-service textarea:focus-visible {
  outline: 3px solid #4082d1;
  outline-offset: 3px;
}
body.self-service h1,
body.self-service h2,
body.self-service h3 {
  color: var(--self-text);
  letter-spacing: -0.035em;
}
body.self-service .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;
}
body.self-service .self-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--self-line);
  position: relative;
}
body.self-service .self-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 160px;
  height: 2px;
  background: linear-gradient(90deg, #f129b3, #21badf, transparent);
  opacity: 0.65;
}
body.self-service .self-brand {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}
body.self-service .self-brand > img {
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px #ad20582b);
}
body.self-service.dark .self-brand > img {
  filter: drop-shadow(0 0 4px #f42bc635);
}
body.self-service .self-table {
  font-size: 11px;
  font-weight: 700;
  color: var(--self-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body.self-service .self-brand h1 {
  font-size: clamp(21px, 3vw, 28px);
  margin: 5px 0 3px;
  line-height: 1.2;
}
body.self-service .self-brand p {
  font-size: 13px;
  margin: 0;
  color: var(--self-muted);
}
body.self-service .self-header-tools {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  align-items: center;
}
body.self-service #self-help {
  display: flex;
  gap: 7px;
  align-items: center;
}
body.self-service #self-theme {
  width: 44px;
  padding: 0;
}
body.self-service .self-navigation {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  margin: 22px 0 26px;
}
body.self-service .self-navigation nav {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--self-soft);
  border-radius: 14px;
  min-width: 0;
}
body.self-service .self-navigation nav button {
  border-color: transparent;
  background: transparent;
  font-size: 13px;
}
body.self-service .self-navigation nav button[aria-current="page"] {
  background: var(--self-card);
  border-color: var(--self-line);
  font-weight: 700;
  box-shadow: 0 2px 4px #11182708;
}
body.self-service #self-account-amount {
  margin-left: 7px;
  font-size: 12px;
  color: var(--self-muted);
  white-space: nowrap;
}
body.self-service .self-connection {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 550;
  color: var(--self-success);
  text-align: right;
}
body.self-service .self-connection::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
body.self-service .self-connection.self-offline {
  color: var(--self-muted);
  max-width: 190px;
}
body.self-service .self-closed,
body.self-service .self-pending {
  padding: 12px 14px;
  border: 1px solid #d5b179;
  border-radius: 12px;
  color: #79500f;
  background: #fff6e6;
  font-size: 13px;
  line-height: 1.5;
}
body.self-service.dark .self-closed,
body.self-service.dark .self-pending {
  color: #f4d69b;
  background: #3b3020;
  border-color: #76603c;
}
body.self-service .self-menu-layout,
body.self-service .self-account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  align-items: start;
}
body.self-service .self-menu-products {
  min-width: 0;
}
body.self-service .self-menu-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 16px;
}
body.self-service .self-menu-heading h2 {
  font-size: 22px;
  margin: 0;
  line-height: 1.25;
}
body.self-service .self-search {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  width: min(260px, 46%);
}
body.self-service .self-search > span[aria-hidden] {
  position: absolute;
  left: 13px;
  font-size: 23px;
  color: var(--self-muted);
  pointer-events: none;
}
body.self-service .self-search input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  background: var(--self-card);
  color: var(--self-text);
  border: 1px solid var(--self-line);
  min-height: 44px;
  border-radius: 12px;
  font-size: 14px;
  margin: 0;
}
body.self-service input::placeholder,
body.self-service textarea::placeholder {
  color: var(--self-muted);
  opacity: 1;
}
body.self-service .self-categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  padding-bottom: 13px;
  margin-bottom: 5px;
}
body.self-service .self-categories button {
  white-space: nowrap;
  font-size: 12px;
  border-radius: 22px;
  padding: 10px 15px;
  min-height: 40px;
}
body.self-service .self-categories button[aria-pressed="true"] {
  color: var(--self-card);
  background: var(--self-text);
  border-color: var(--self-text);
}
body.self-service .self-catalogue {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
body.self-service .self-product {
  border: 1px solid var(--self-line);
  border-radius: 16px;
  background: var(--self-card);
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 2px 4px #11182703;
}
body.self-service .self-product-button {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 116px;
  text-align: left;
  padding: 12px;
  border: 0;
  border-radius: 0;
  gap: 12px;
}
body.self-service .self-product-thumb {
  display: grid;
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--self-soft);
}
body.self-service .self-product-placeholder {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
  font-size: 30px;
  background: linear-gradient(140deg, #e528aa0b, #20bddd10);
}
body.self-service .self-product-thumb img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--self-soft);
}
body.self-service .self-photo-unavailable img {
  display: none;
}
body.self-service .self-product-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
body.self-service .self-image-note {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--self-muted);
}
body.self-service .self-product-button:hover:not(:disabled) {
  background: var(--self-card);
}
body.self-service .self-product:has(.self-product-button:hover:not(:disabled)) {
  border-color: var(--self-muted);
}
body.self-service .self-product-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
body.self-service .self-product-copy > strong {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
body.self-service .self-product-copy > small {
  font-size: 11px;
  color: var(--self-muted);
  font-weight: 400;
}
body.self-service .self-age {
  display: inline-block;
  margin-left: 5px;
  font-size: 10px;
  font-weight: 600;
}
body.self-service .self-product-description {
  display: none;
  color: var(--self-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}
body.self-service .self-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
body.self-service .self-product-bottom b {
  color: var(--self-text);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
body.self-service .self-add {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--self-soft);
  font-size: 19px;
  font-weight: 500;
  color: var(--self-brand);
}
body.self-service .self-product-gallery {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}
body.self-service .self-product-gallery figure {
  margin: 0;
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
}
body.self-service .self-product-gallery figcaption {
  font-size: 11px;
  color: var(--self-muted);
  margin: 5px 0;
  text-align: center;
}
body.self-service .self-product-gallery img,
body.self-service .self-product-gallery video {
  width: 100%;
  flex: 0 0 100%;
  max-height: 200px;
  aspect-ratio: 16/10;
  object-fit: contain;
  border-radius: 14px;
  scroll-snap-align: start;
  background: transparent;
}
body.self-service .self-more {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}
body.self-service .self-more button {
  min-width: 180px;
}
body.self-service .self-order-aside,
body.self-service .self-account-summary {
  position: sticky;
  top: 22px;
}
body.self-service .self-order-panel,
body.self-service .self-summary-card {
  background: var(--self-card);
  border: 1px solid var(--self-line);
  border-radius: 20px;
  padding: 20px;
}
body.self-service .self-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}
body.self-service .self-section-heading h2 {
  font-size: 18px;
  margin: 0;
}
body.self-service .self-count {
  background: var(--self-soft);
  color: var(--self-muted);
  font-size: 11px;
  white-space: nowrap;
  border-radius: 8px;
  padding: 5px 8px;
}
body.self-service .self-cart-item {
  display: flex;
  align-items: start;
  gap: 8px;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--self-line);
}
body.self-service .self-cart-item:first-child {
  padding-top: 0;
}
body.self-service .self-cart-item strong {
  font-size: 13px;
  font-weight: 600;
}
body.self-service .self-cart-item small {
  display: block;
  font-size: 11px;
  color: var(--self-muted);
  margin-top: 4px;
  overflow-wrap: anywhere;
}
body.self-service .self-cart-item button {
  min-height: 32px;
  min-width: 32px;
  padding: 0;
  font-size: 20px;
  border: 0;
  background: var(--self-soft);
  flex-shrink: 0;
}
body.self-service .self-cart-total {
  font-size: 12px;
  padding: 16px 0;
  margin: 0;
  border: 0;
}
body.self-service .self-cart-total strong {
  font-size: 18px;
  color: var(--self-text);
  font-variant-numeric: tabular-nums;
}
body.self-service #send {
  width: 100%;
  min-height: 48px;
}
body.self-service .self-caption {
  color: var(--self-muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 12px 0 0;
}
body.self-service .self-assistance {
  border: 1px solid var(--self-line);
  padding: 17px 18px;
  border-radius: 16px;
  margin-top: 14px;
  background: var(--self-card);
}
body.self-service .self-assistance strong {
  font-size: 13px;
  font-weight: 650;
}
body.self-service .self-assistance-icon {
  margin-right: 7px;
  font-size: 14px;
}
body.self-service .self-assistance p {
  font-size: 12px;
  color: var(--self-muted);
  margin: 7px 0 12px;
  line-height: 1.6;
}
body.self-service .self-assistance button {
  width: 100%;
  font-size: 12px;
  background: var(--self-soft);
}
body.self-service .self-empty {
  text-align: center;
  padding: 35px 20px;
  color: var(--self-muted);
  background: var(--self-card);
  border: 1px dashed var(--self-line);
  border-radius: 16px;
}
body.self-service .self-empty > span {
  font-size: 29px;
  display: block;
  margin-bottom: 12px;
}
body.self-service .self-empty h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
body.self-service .self-empty p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}
body.self-service .self-empty button {
  margin-top: 15px;
}
body.self-service .self-cart-empty {
  border: 0;
  padding: 16px 8px;
  background: transparent;
}
body.self-service .self-account-items {
  display: grid;
  gap: 12px;
}
body.self-service .self-account-item {
  padding: 18px 20px;
  border: 1px solid var(--self-line);
  background: var(--self-card);
  border-radius: 16px;
}
body.self-service .self-account-item-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
}
body.self-service .self-account-item-top b {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
body.self-service .self-item-status {
  display: inline-block;
  font-size: 11px;
  color: var(--self-muted);
  padding: 5px 0 0;
}
body.self-service .self-account-item[data-status="ready"] .self-item-status,
body.self-service
  .self-account-item[data-status="delivered"]
  .self-item-status {
  color: var(--self-success);
}
body.self-service .self-account-item[data-status="cancelled"] {
  opacity: 0.65;
}
body.self-service .self-account-item p {
  margin: 5px 0 0;
  font-size: 12px;
  color: var(--self-muted);
}
body.self-service .self-account-layout {
  margin-top: 20px;
}
body.self-service .self-eyebrow {
  font-size: 11px;
  color: var(--self-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 5px;
}
body.self-service .self-summary-card h3 {
  margin: 0 0 20px;
  font-size: 16px;
}
body.self-service .self-summary-card .sum-row {
  font-size: 13px;
  border: 0;
  padding: 7px 0;
  margin: 0;
}
body.self-service .self-summary-card .sum-row.total {
  border-top: 1px solid var(--self-line);
  font-size: 16px;
  padding-top: 18px;
  margin-top: 10px;
}
body.self-service .self-summary-card .self-balance {
  color: var(--self-muted);
  font-size: 12px;
  margin-top: 3px;
}
body.self-service .self-summary-card > button {
  width: 100%;
  margin-top: 20px;
}
body.self-service .self-private-note {
  color: var(--self-muted);
  font-size: 11px;
  text-align: center;
  margin: 30px 0 0;
}
body.self-service .customer-menu > footer.panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: center;
  color: var(--self-muted);
  font-size: 11px;
  padding: 22px 10px 0;
  margin: 18px 0 0;
  border-top: 1px solid var(--self-line);
  border-radius: 0;
}
body.self-service .customer-menu > footer.panel p {
  margin: 5px 0;
  font-size: 11px;
}
body.self-service .customer-menu > footer.panel a {
  color: var(--self-muted);
}
body.self-service .customer-menu > footer.panel .system-signature {
  margin: 5px 0 10px;
  font-size: 10px;
}
body.self-service .self-cart-dock {
  display: none;
}
body.self-service #product-dialog.self-product-dialog {
  width: min(460px, calc(100% - 28px));
  max-height: calc(100dvh - 32px);
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--self-line);
  background: var(--self-card);
  color: var(--self-text);
  box-shadow: 0 24px 80px #11182730;
}
body.self-service .self-product-dialog header h2 {
  font-size: 21px;
  margin: 0 0 5px;
}
body.self-service .self-product-dialog header p {
  color: var(--self-muted);
  font-size: 13px;
  margin: 0 0 20px;
}
body.self-service .self-product-dialog input:not([type="checkbox"]),
body.self-service .self-product-dialog textarea {
  width: 100%;
  background: var(--self-card);
  color: var(--self-text);
  border: 1px solid var(--self-line);
  font-size: 16px;
}
body.self-service .self-product-dialog .field {
  display: block;
  margin-top: 15px;
  font-size: 13px;
}
body.self-service .self-product-dialog fieldset {
  margin: 18px 0;
  border: 1px solid var(--self-line);
  border-radius: 12px;
  padding: 10px 12px;
}
body.self-service .self-product-dialog legend {
  color: var(--self-muted);
  font-size: 12px;
  padding: 0 4px;
}
body.self-service .self-product-dialog .routine-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 13px;
}
body.self-service .self-product-dialog input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #b62d25;
}
body.self-service .self-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid var(--self-line);
  padding-top: 12px;
  margin-top: 16px;
  position: sticky;
  bottom: 0;
  background: var(--self-card);
  z-index: 1;
}
body.self-service .self-unavailable {
  max-width: 440px;
  text-align: center;
  margin: 10vh auto;
}
body.self-service .self-unavailable img {
  width: 130px;
}
body.self-service .self-unavailable h1 {
  font-size: 24px;
}
body.self-service .self-unavailable p {
  color: var(--self-muted);
  font-size: 14px;
}
body.self-service #toast {
  color: #fff;
  background: #242730;
  bottom: 24px;
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 13px;
  max-width: min(480px, calc(100vw - 32px));
}
@media (max-width: 900px) {
  body.self-service .self-menu-layout,
  body.self-service .self-account-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 18px;
  }
  body.self-service .self-menu-heading {
    display: block;
  }
  body.self-service .self-search {
    width: 100%;
    margin-top: 14px;
  }
  body.self-service .self-brand {
    gap: 15px;
  }
}
@media (max-width: 740px) {
  body.self-service .customer-menu {
    padding: 20px 16px 110px;
  }
  body.self-service .self-header {
    gap: 8px;
    align-items: start;
    padding-bottom: 18px;
  }
  body.self-service .self-brand {
    gap: 12px;
  }
  body.self-service .self-brand > img {
    width: 85px;
    height: 67px;
  }
  body.self-service .self-brand h1 {
    font-size: 21px;
  }
  body.self-service .self-brand p {
    font-size: 11px;
    max-width: 180px;
  }
  body.self-service .self-table {
    font-size: 10px;
  }
  body.self-service .self-header-tools {
    gap: 6px;
    flex-wrap: wrap;
    justify-content: end;
    max-width: 82px;
  }
  body.self-service #self-help {
    font-size: 12px;
    padding: 8px;
  }
  body.self-service #self-help > span {
    display: none;
  }
  body.self-service #self-theme {
    width: 44px;
    min-height: 44px;
    border: 0;
    background: transparent;
  }
  body.self-service .self-navigation {
    align-items: start;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0 23px;
  }
  body.self-service .self-navigation nav {
    width: 100%;
  }
  body.self-service .self-navigation nav button {
    flex: 1;
    padding: 10px 8px;
  }
  body.self-service .self-connection {
    font-size: 10px;
  }
  body.self-service .self-connection.self-offline {
    max-width: none;
  }
  body.self-service .self-menu-layout,
  body.self-service .self-account-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  body.self-service .self-order-aside,
  body.self-service .self-account-summary {
    position: static;
  }
  body.self-service .self-menu-heading h2 {
    font-size: 21px;
  }
  body.self-service .self-search input {
    font-size: 16px;
  }
  body.self-service .self-product-button {
    min-height: 112px;
    padding: 12px;
  }
  body.self-service .self-catalogue {
    gap: 10px;
  }
  body.self-service .self-cart-item button {
    min-width: 44px;
    min-height: 44px;
    padding: 6px;
  }
  body.self-service .self-cart-dock {
    display: flex;
    position: fixed;
    z-index: 30;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    align-items: center;
    gap: 15px;
    justify-content: space-between;
    padding: 12px 14px;
    background: var(--self-card);
    color: var(--self-text);
    border: 1px solid var(--self-line);
    border-radius: 18px;
    box-shadow: 0 5px 30px #10182825;
  }
  body.self-service .self-cart-dock > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
  }
  body.self-service .self-cart-dock span {
    color: var(--self-muted);
    font-size: 12px;
  }
  body.self-service .self-cart-dock button {
    font-size: 12px;
    min-height: 44px;
    padding: 10px 14px;
  }
  body.self-service:has(.self-cart-dock) #toast {
    bottom: calc(100px + env(safe-area-inset-bottom));
  }
}
@media (max-width: 430px) {
  body.self-service .self-catalogue {
    grid-template-columns: minmax(0, 1fr);
  }
  body.self-service .self-product-button {
    align-items: center;
    min-height: 108px;
    gap: 12px;
  }
  body.self-service .self-product-copy {
    min-width: 0;
  }
  body.self-service .self-product-bottom {
    width: 100%;
    flex-shrink: 0;
    gap: 8px;
  }
  body.self-service .self-product-bottom b {
    font-size: 13px;
  }
  body.self-service .self-product-copy > strong {
    font-size: 14px;
  }
  body.self-service .self-product-description {
    display: none;
  }
  body.self-service .self-dialog-actions button {
    padding-inline: 12px;
    font-size: 13px;
  }
  body.self-service #product-dialog.self-product-dialog {
    padding: 20px;
  }
}
body.self-service .self-product-ingredients {
  margin-block: 16px;
}
body.self-service .self-product-ingredients h3 {
  margin: 0 0 8px;
  font-size: 14px;
}
body.self-service .self-product-ingredients ul {
  margin: 0;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.6;
}
@media (max-height: 760px) {
  body.self-service .self-product-gallery img,
  body.self-service .self-product-gallery video {
    max-height: 144px;
  }
  body.self-service .self-product-dialog header p {
    margin-bottom: 14px;
  }
  body.self-service .self-product-ingredients {
    margin-block: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.self-service button {
    transition: none;
  }
  body.self-service button:active {
    transform: none;
  }
}
