:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  background: #2d2016;
  color: #fff;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.menuboard-layout {
  display: flex;
  width: 100vw;
  height: 100vh;
  background: #2d2016;
}

.display-status {
  position: fixed;
  z-index: 1;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: #2d2016;
  color: #fff;
  font-size: clamp(2rem, 3vw, 4rem);
  text-align: center;
}

.display-status[hidden] {
  display: none;
}

.menuboard-layout__main-column {
  display: flex;
  flex: 0 0 68%;
  min-width: 0;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vh, 1.5rem);
  padding: 2.5vh 2.5vw;
}

.menuboard-slot--main {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.menuboard-slot--qr {
  display: flex;
  flex: 0 0 14vh;
  min-height: 0;
  align-items: center;
  justify-content: center;
  border-top: 2px solid #f4d4a0;
  overflow: hidden;
}

.menuboard-slot--side {
  display: flex;
  flex: 0 0 32%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2.5vw;
  background: #1f140d;
}

.closure-card {
  width: 100%;
  padding: clamp(2rem, 4vw, 5rem) clamp(1.5rem, 3vw, 4rem);
  border-left: 0.4rem solid #f4d4a0;
  border-radius: 1rem;
  background: rgb(255 255 255 / 8%);
  text-align: center;
}

.closure-card__title {
  margin: 0 0 1.6rem;
  color: #f4d4a0;
  font-size: clamp(2.5rem, 3.2vw, 4.5rem);
  line-height: 1.1;
}

.closure-card__period {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 2.2vw, 3.2rem);
  line-height: 1.3;
}

.photo-slide__image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  object-fit: cover;
}

.qr-code-card {
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  padding: 0.8vh 0;
  gap: clamp(1rem, 2vw, 2.5rem);
}

.qr-code-card__copy {
  min-width: 0;
  text-align: right;
}

.qr-code-card__title,
.qr-code-card__instruction {
  margin: 0;
}

.qr-code-card__title {
  color: #f4d4a0;
  font-size: clamp(1.4rem, 2vw, 2.6rem);
  line-height: 1.05;
}

.qr-code-card__instruction {
  margin-top: 0.35rem;
  color: #fff;
  font-size: clamp(1rem, 1.25vw, 1.6rem);
  line-height: 1.15;
}

.qr-code-card__image {
  display: block;
  width: 11vh;
  height: 11vh;
  flex: 0 0 11vh;
  padding: 0.4vh;
  border-radius: 0.4rem;
  background: #fff;
  object-fit: contain;
}

.menu-card {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  padding: clamp(1.5rem, 2.4vw, 3rem);
  border: 2px solid rgb(244 212 160 / 45%);
  border-radius: 1rem;
  overflow: hidden;
  background: rgb(255 255 255 / 6%);
}

.menu-card__title {
  flex: 0 0 auto;
  margin: 0 0 clamp(1rem, 2vh, 2rem);
  color: #f4d4a0;
  font-size: clamp(2.4rem, 3.5vw, 4.8rem);
  line-height: 1.05;
  text-align: center;
}

.menu-card__items-viewport {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.menu-card__items {
  display: grid;
  align-content: start;
  margin: 0;
  padding: 0;
  gap: clamp(0.45rem, 0.8vh, 0.9rem);
  list-style: none;
}

.menu-card__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  padding: 0 0 clamp(0.45rem, 0.8vh, 0.9rem);
  gap: clamp(1rem, 2vw, 2.5rem);
  border-bottom: 1px solid rgb(244 212 160 / 28%);
}

.menu-card__item-details {
  min-width: 0;
}

.menu-card__item-name,
.menu-card__item-description,
.menu-card__item-price,
.menu-card__footer {
  margin: 0;
}

.menu-card__item-name {
  color: #fff;
  font-size: clamp(1.65rem, 2.2vw, 3rem);
  line-height: 1.12;
}

.menu-card__item-description {
  margin-top: 0.2rem;
  color: rgb(255 255 255 / 72%);
  font-size: clamp(1.05rem, 1.25vw, 1.65rem);
  line-height: 1.25;
}

.menu-card__item-price {
  color: #f4d4a0;
  font-size: clamp(1.5rem, 1.9vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  white-space: nowrap;
}

.menu-card__footer {
  flex: 0 0 auto;
  margin-top: 0;
  padding-top: clamp(0.8rem, 1.5vh, 1.5rem);
  color: rgb(255 255 255 / 65%);
  font-size: clamp(1rem, 1.2vw, 1.5rem);
  text-align: center;
}
