@font-face {
  font-family: "Supermaks Commissioner";
  font-style: normal;
  font-weight: 500;
  src: url("/legacy-content/themes/supermaks/fonts/Commissioner-Medium.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Supermaks Commissioner";
  font-style: normal;
  font-weight: 900;
  src: url("/legacy-content/themes/supermaks/fonts/Commissioner-Black.ttf") format("truetype");
  font-display: swap;
}

.mark-copy,
.supermaks-only,
.supermaks-lane-title {
  display: none;
}

.theme-supermaks {
  --supermaks-red: #e52a18;
  --supermaks-gold: #ffc746;
  --supermaks-cream: #ffedb7;
  --supermaks-panel: rgba(41, 38, 34, 0.88);
  --supermaks-row: rgba(58, 54, 49, 0.82);
  --cooking: var(--supermaks-gold);
  --ready: var(--supermaks-red);
  --ready-soft: var(--supermaks-cream);
  --danger: var(--supermaks-red);
}

.theme-supermaks .queue-screen {
  color: var(--supermaks-cream);
  background: #121211;
  font-family: "Supermaks Commissioner", Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.theme-supermaks .screen-shell {
  padding: 28px 58px 34px;
  background:
    radial-gradient(circle at 86% 19%, rgba(255, 199, 70, 0.075), transparent 31%),
    radial-gradient(circle at 18% 82%, rgba(229, 42, 24, 0.05), transparent 34%),
    linear-gradient(135deg, #151513 0%, #111210 55%, #171511 100%);
}

.theme-supermaks .screen-shell::before {
  opacity: 0.42;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.013) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 52px 52px;
}

.theme-supermaks .topbar {
  height: 88px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  margin-bottom: 20px;
}

.theme-supermaks .place-mark {
  display: flex;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
}

.theme-supermaks .brand-logo {
  width: 80px;
  max-width: 80px;
  max-height: 80px;
  flex: 0 0 80px;
  object-fit: contain;
  filter: drop-shadow(0 9px 22px rgba(0, 0, 0, 0.34));
}

.theme-supermaks .mark-copy {
  display: block;
  min-width: 0;
  margin-left: 22px;
}

.theme-supermaks .brand-primary-row {
  display: flex;
  align-items: center;
  min-width: 0;
}

.theme-supermaks .brand-name {
  color: var(--supermaks-cream);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.theme-supermaks .supermaks-only {
  display: block;
}

.theme-supermaks .brand-divider {
  width: 3px;
  height: 46px;
  margin: 0 28px;
  flex: 0 0 3px;
  border-radius: 2px;
  background: var(--supermaks-red);
}

.theme-supermaks .brand-location {
  max-width: 42vw;
  overflow: hidden;
  color: #e8e1d6;
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  text-overflow: ellipsis;
}

.theme-supermaks .brand-line,
.theme-supermaks .service-state {
  display: none !important;
}

.theme-supermaks .clock {
  position: relative;
  grid-column: 2 !important;
  padding-left: 47px;
  color: var(--supermaks-cream);
  font-size: 56px;
  font-weight: 900;
  letter-spacing: 1px;
}

.theme-supermaks .clock::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--supermaks-red);
  transform: translateY(-50%);
  box-shadow: 0 0 24px rgba(229, 42, 24, 0.26);
}

.theme-supermaks .board {
  height: calc(100% - 108px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.theme-supermaks .lane {
  position: relative;
  border: 0;
  border-radius: 30px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.035), transparent 44%),
    var(--supermaks-panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.028), 0 22px 56px rgba(0, 0, 0, 0.24);
}

.theme-supermaks .lane-head {
  height: 112px;
  justify-content: flex-start;
  padding: 26px 42px 15px;
  border-bottom: 0;
}

.theme-supermaks .lane-heading {
  display: flex;
  align-items: center;
  min-width: 0;
}

.theme-supermaks .lane-icon {
  width: 60px;
  height: 60px;
  margin-right: 24px;
  flex: 0 0 60px;
  overflow: visible;
  color: var(--supermaks-red);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4.5;
}

.theme-supermaks .lane-kicker,
.theme-supermaks .lane-count,
.theme-supermaks .default-lane-title {
  display: none;
}

.theme-supermaks .supermaks-lane-title {
  display: inline;
}

.theme-supermaks .lane-head h1,
.theme-supermaks .lane-cooking .lane-head h1,
.theme-supermaks .lane-ready .lane-head h1 {
  margin: 0;
  color: var(--supermaks-cream);
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.theme-supermaks .orders-list {
  overflow: hidden;
}

.theme-supermaks .supermaks-preparing-list {
  height: calc(100% - 112px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(6, minmax(0, 1fr));
  gap: 11px;
  padding: 9px 30px 28px;
}

.theme-supermaks .supermaks-preparing-row {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  margin: 0;
  border: 0;
  border-radius: 17px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 68%),
    var(--supermaks-row);
  animation: none;
}

.theme-supermaks .supermaks-preparing-row .order-number {
  height: 100%;
  justify-content: flex-start;
  padding-left: 34px;
  color: var(--supermaks-cream);
  background: transparent;
  font-family: "Supermaks Commissioner", Arial, Helvetica, sans-serif;
  font-size: 72px;
  font-weight: 900;
}

.theme-supermaks .supermaks-preparing-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 0 34px 0 14px;
}

.theme-supermaks .supermaks-preparing-name,
.theme-supermaks .supermaks-ready-name {
  min-width: 0;
  display: block;
  overflow: hidden;
  padding: 0;
  font-family: "Supermaks Commissioner", Arial, Helvetica, sans-serif;
  font-weight: 500;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-supermaks .supermaks-preparing-name {
  color: rgba(255, 237, 183, 0.9);
  font-size: 28px;
}

.theme-supermaks .supermaks-progress-track {
  position: relative;
  height: 8px;
  width: 100%;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 15, 14, 0.68);
}

.theme-supermaks .supermaks-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  min-width: 8px;
  border-radius: inherit;
  background: linear-gradient(90deg, #f5b935, #ffd666);
  box-shadow: 0 0 14px rgba(255, 199, 70, 0.16);
  transition: width 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-supermaks .supermaks-ready-list {
  height: calc(100% - 112px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1.35fr) minmax(0, 0.82fr);
  gap: 18px;
  padding: 9px 24px 28px;
}

.theme-supermaks .lane.has-pages .supermaks-preparing-list,
.theme-supermaks .lane.has-pages .supermaks-ready-list {
  padding-bottom: 44px;
}

.theme-supermaks .supermaks-ready-card {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 2px solid var(--supermaks-gold);
  border-radius: 22px;
  color: var(--supermaks-cream);
  background: rgba(43, 40, 36, 0.82);
  animation: none;
}

.theme-supermaks .supermaks-ready-card.is-featured {
  grid-column: 1 / -1;
  color: #241d18;
  border: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 239, 184, 0.55), transparent 54%),
    linear-gradient(125deg, #f7bc3c, #ffd56f 48%, #ffc247);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 14px 38px rgba(255, 187, 49, 0.08);
}

.theme-supermaks .supermaks-ready-card .order-number {
  display: block;
  color: inherit;
  background: transparent;
  font-family: "Supermaks Commissioner", Arial, Helvetica, sans-serif;
  font-size: 92px;
  font-weight: 900;
  line-height: 0.92;
}

.theme-supermaks .supermaks-ready-card.is-featured .order-number {
  font-size: 164px;
  letter-spacing: -3px;
}

.theme-supermaks .supermaks-ready-name {
  max-width: 84%;
  margin-top: 11px;
  color: rgba(255, 237, 183, 0.82);
  font-size: 27px;
  text-align: center;
}

.theme-supermaks .supermaks-ready-card.is-featured .supermaks-ready-name {
  margin-top: 12px;
  color: rgba(36, 29, 24, 0.78);
  font-size: 31px;
}

.theme-supermaks .supermaks-ready-label {
  margin-top: 10px;
  padding: 7px 22px 8px;
  border-radius: 999px;
  color: #fff7e2;
  background: var(--supermaks-red);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.theme-supermaks .supermaks-ready-check {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-top: 14px;
  border: 4px solid currentColor;
  border-radius: 50%;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.theme-supermaks .supermaks-ready-card:not(.is-featured) .supermaks-ready-check {
  width: 42px;
  height: 42px;
  margin-top: 12px;
  border-width: 3px;
  color: var(--supermaks-gold);
  font-size: 25px;
}

.theme-supermaks .supermaks-ready-list.order-count-1 .supermaks-ready-card.is-featured {
  grid-row: 1 / -1;
}

.theme-supermaks .supermaks-ready-list.order-count-2 .supermaks-ready-card:last-child {
  grid-column: 1 / -1;
}

.theme-supermaks .supermaks-preparing-list > .empty-state,
.theme-supermaks .supermaks-ready-list > .empty-state {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
}

.theme-supermaks .empty-state {
  color: rgba(255, 237, 183, 0.38);
  font-size: 27px;
  font-weight: 500;
}

.theme-supermaks .supermaks-pager {
  position: absolute;
  right: 0;
  bottom: 13px;
  left: 0;
  z-index: 2;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.theme-supermaks .supermaks-page-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 237, 183, 0.28);
  transition: width 220ms ease, border-radius 220ms ease, background 220ms ease;
}

.theme-supermaks .supermaks-page-dot.active {
  width: 28px;
  border-radius: 5px;
  background: var(--supermaks-gold);
}

.theme-supermaks .orders-list.is-changing {
  animation: supermaks-evening-slide-in 430ms ease-out both;
}

.theme-supermaks .popup-container {
  background: rgba(15, 14, 13, 0.82);
}

.theme-supermaks .popup {
  min-width: 430px;
  padding: 38px 62px 44px;
  border: 0;
  border-radius: 28px;
  color: #241d18;
  background: linear-gradient(125deg, #f7bc3c, #ffd56f 52%, #ffc247);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.62);
}

.theme-supermaks .popup-label {
  color: #fff7e2;
  padding: 8px 24px;
  border-radius: 999px;
  background: var(--supermaks-red);
  font-size: 28px;
  font-weight: 500;
  text-transform: none;
}

.theme-supermaks .popup-number {
  color: #241d18;
  font-size: 164px;
  font-weight: 900;
}

@keyframes supermaks-evening-slide-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 1400px), (max-height: 820px) {
  .theme-supermaks .screen-shell {
    padding: 18px 30px 22px;
  }

  .theme-supermaks .topbar {
    height: 62px;
    gap: 20px;
    margin-bottom: 14px;
  }

  .theme-supermaks .brand-logo {
    width: 58px;
    max-width: 58px;
    max-height: 58px;
    flex-basis: 58px;
  }

  .theme-supermaks .mark-copy {
    margin-left: 16px;
  }

  .theme-supermaks .brand-name {
    font-size: 28px;
  }

  .theme-supermaks .brand-divider {
    height: 34px;
    margin: 0 20px;
  }

  .theme-supermaks .brand-location {
    font-size: 20px;
  }

  .theme-supermaks .clock {
    padding-left: 37px;
    font-size: 43px;
  }

  .theme-supermaks .clock::before {
    left: 5px;
    width: 14px;
    height: 14px;
  }

  .theme-supermaks .board {
    height: calc(100% - 76px);
    gap: 18px;
  }

  .theme-supermaks .lane {
    border-radius: 22px;
  }

  .theme-supermaks .lane-head {
    height: 80px;
    padding: 17px 28px 10px;
  }

  .theme-supermaks .lane-icon {
    width: 46px;
    height: 46px;
    margin-right: 17px;
    flex-basis: 46px;
    stroke-width: 4.5;
  }

  .theme-supermaks .lane-head h1,
  .theme-supermaks .lane-cooking .lane-head h1,
  .theme-supermaks .lane-ready .lane-head h1 {
    font-size: 35px;
  }

  .theme-supermaks .supermaks-preparing-list {
    height: calc(100% - 80px);
    gap: 7px;
    padding: 7px 20px 20px;
  }

  .theme-supermaks .supermaks-preparing-row {
    grid-template-columns: 132px minmax(0, 1fr);
    border-radius: 12px;
  }

  .theme-supermaks .supermaks-preparing-row .order-number {
    padding-left: 24px;
    font-size: 54px;
  }

  .theme-supermaks .supermaks-preparing-info {
    gap: 8px;
    padding: 0 22px 0 8px;
  }

  .theme-supermaks .supermaks-preparing-name {
    font-size: 21px;
  }

  .theme-supermaks .supermaks-progress-track {
    height: 6px;
  }

  .theme-supermaks .supermaks-ready-list {
    height: calc(100% - 80px);
    gap: 12px;
    padding: 7px 17px 20px;
  }

  .theme-supermaks .supermaks-ready-card {
    border-radius: 15px;
  }

  .theme-supermaks .supermaks-ready-card .order-number {
    font-size: 68px;
  }

  .theme-supermaks .supermaks-ready-card.is-featured .order-number {
    font-size: 116px;
  }

  .theme-supermaks .supermaks-ready-name {
    margin-top: 7px;
    font-size: 20px;
  }

  .theme-supermaks .supermaks-ready-card.is-featured .supermaks-ready-name {
    margin-top: 8px;
    font-size: 24px;
  }

  .theme-supermaks .supermaks-ready-label {
    margin-top: 7px;
    padding: 6px 17px 7px;
    font-size: 17px;
  }

  .theme-supermaks .supermaks-ready-check {
    width: 37px;
    height: 37px;
    margin-top: 9px;
    border-width: 3px;
    font-size: 23px;
  }

  .theme-supermaks .supermaks-ready-card:not(.is-featured) .supermaks-ready-check {
    width: 32px;
    height: 32px;
    margin-top: 7px;
    font-size: 20px;
  }

  .theme-supermaks .empty-state {
    font-size: 21px;
  }

  .theme-supermaks .lane.has-pages .supermaks-preparing-list,
  .theme-supermaks .lane.has-pages .supermaks-ready-list {
    padding-bottom: 34px;
  }

  .theme-supermaks .supermaks-pager {
    bottom: 8px;
  }
}

@media (orientation: portrait) {
  .theme-supermaks .screen-shell {
    padding-right: 34px;
    padding-left: 34px;
  }

  .theme-supermaks .brand-location {
    max-width: 28vw;
  }

  .theme-supermaks .board {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 900px), (max-height: 560px) {
  .theme-supermaks .screen-shell {
    padding: 12px 20px 14px;
  }

  .theme-supermaks .topbar {
    height: 48px;
    margin-bottom: 9px;
  }

  .theme-supermaks .brand-logo {
    width: 44px;
    max-width: 44px;
    max-height: 44px;
    flex-basis: 44px;
  }

  .theme-supermaks .mark-copy {
    margin-left: 11px;
  }

  .theme-supermaks .brand-name {
    font-size: 21px;
  }

  .theme-supermaks .brand-divider {
    width: 2px;
    height: 27px;
    margin: 0 13px;
    flex-basis: 2px;
  }

  .theme-supermaks .brand-location {
    font-size: 15px;
  }

  .theme-supermaks .clock {
    padding-left: 27px;
    font-size: 31px;
  }

  .theme-supermaks .clock::before {
    width: 10px;
    height: 10px;
  }

  .theme-supermaks .board {
    height: calc(100% - 57px);
    gap: 11px;
  }

  .theme-supermaks .lane {
    border-radius: 15px;
  }

  .theme-supermaks .lane-head {
    height: 59px;
    padding: 11px 18px 7px;
  }

  .theme-supermaks .lane-icon {
    width: 35px;
    height: 35px;
    margin-right: 12px;
    flex-basis: 35px;
  }

  .theme-supermaks .lane-head h1,
  .theme-supermaks .lane-cooking .lane-head h1,
  .theme-supermaks .lane-ready .lane-head h1 {
    font-size: 25px;
  }

  .theme-supermaks .supermaks-preparing-list,
  .theme-supermaks .supermaks-ready-list {
    height: calc(100% - 59px);
  }

  .theme-supermaks .supermaks-preparing-list {
    gap: 5px;
    padding: 5px 13px 13px;
  }

  .theme-supermaks .supermaks-preparing-row {
    grid-template-columns: 96px minmax(0, 1fr);
    border-radius: 9px;
  }

  .theme-supermaks .supermaks-preparing-row .order-number {
    padding-left: 17px;
    font-size: 39px;
  }

  .theme-supermaks .supermaks-preparing-info {
    gap: 5px;
    padding: 0 15px 0 8px;
  }

  .theme-supermaks .supermaks-preparing-name {
    font-size: 15px;
  }

  .theme-supermaks .supermaks-progress-track {
    height: 5px;
  }

  .theme-supermaks .supermaks-ready-list {
    gap: 8px;
    padding: 5px 11px 13px;
  }

  .theme-supermaks .supermaks-ready-card {
    border-width: 1px;
    border-radius: 10px;
  }

  .theme-supermaks .supermaks-ready-card .order-number {
    font-size: 48px;
  }

  .theme-supermaks .supermaks-ready-card.is-featured .order-number {
    font-size: 82px;
  }

  .theme-supermaks .supermaks-ready-name {
    margin-top: 4px;
    font-size: 14px;
  }

  .theme-supermaks .supermaks-ready-card.is-featured .supermaks-ready-name {
    margin-top: 4px;
    font-size: 17px;
  }

  .theme-supermaks .supermaks-ready-label {
    margin-top: 4px;
    padding: 4px 12px 5px;
    font-size: 12px;
  }

  .theme-supermaks .supermaks-ready-check,
  .theme-supermaks .supermaks-ready-card:not(.is-featured) .supermaks-ready-check {
    width: 25px;
    height: 25px;
    margin-top: 5px;
    border-width: 2px;
    font-size: 16px;
  }

  .theme-supermaks .empty-state {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-supermaks .orders-list.is-changing,
  .theme-supermaks .supermaks-progress-fill {
    animation: none;
    transition: none;
  }
}
