/* =========================
   RESET + BASE
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #d94040;
  --red-dark: #a72c2c;
  --red-soft: #fdecec;

  --green: #2f8f46;
  --green-soft: #eef9f0;

  --yellow-soft: #fff7dc;

  --bg: #f6f2ec;
  --card: #ffffff;
  --card-soft: #fffaf3;

  --text: #191919;
  --text-soft: #68615b;
  --text-muted: #9a938c;

  --border: #e7ded4;
  --border-strong: #d9cfc3;

  --shadow-sm: 0 2px 8px rgba(45, 32, 20, 0.06);
  --shadow-md: 0 10px 30px rgba(45, 32, 20, 0.12);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --bottom-height: 86px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(217, 64, 64, 0.08), transparent 34%),
    var(--bg);
  color: var(--text);
  font-family: "Be Vietnam Pro", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font-family: inherit;
}

button {
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

/* =========================
   HEADER
========================= */

.app-header {
  position: sticky;
  top: 0;
  z-index: 30;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 12px 14px;
  background: rgba(217, 64, 64, 0.96);
  color: #fff;

  box-shadow: 0 4px 18px rgba(167, 44, 44, 0.28);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.2);
  font-size: 22px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.4px;
  white-space: nowrap;
}

.brand-sub {
  margin-top: 1px;
  font-size: 11px;
  opacity: 0.82;
  white-space: nowrap;
}

.header-cart-btn {
  position: relative;

  display: flex;
  align-items: center;
  gap: 6px;

  padding: 9px 11px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.18);
  color: #fff;

  font-size: 13px;
  font-weight: 700;
}

.header-cart-btn:active {
  transform: scale(0.97);
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;

  min-width: 20px;
  height: 20px;
  padding: 0 5px;

  display: none;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  background: #fff;
  color: var(--red-dark);

  font-size: 11px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.cart-badge.show {
  display: flex;
}

/* =========================
   PAGE
========================= */

.page {
  display: none;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 14px 12px calc(var(--bottom-height) + 18px);
}

.page.active {
  display: block;
}

/* =========================
   HERO
========================= */

.hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  margin-bottom: 12px;
  padding: 16px;

  border: 1px solid rgba(217, 64, 64, 0.18);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 239, 0.94)),
    var(--card);

  box-shadow: var(--shadow-sm);
}

.hero-label {
  font-size: 12px;
  color: var(--text-soft);
  font-weight: 600;
}

.hero-date {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 800;
  color: var(--red-dark);
}

.shop-status {
  flex-shrink: 0;

  padding: 8px 10px;
  border-radius: 999px;

  background: var(--green-soft);
  color: var(--green);

  font-size: 12px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

/* =========================
   SECTION CARD
========================= */

.section-card {
  margin-bottom: 12px;
  padding: 15px;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);

  box-shadow: var(--shadow-sm);
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;

  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.section-head p {
  margin-top: 3px;
  font-size: 12px;
  color: var(--text-soft);
}

.section-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--red-soft);
  font-size: 20px;
  flex-shrink: 0;
}

/* =========================
   PRICE
========================= */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.price-card {
  min-height: 72px;
  padding: 10px 6px;

  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: #fff;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  transition: 0.16s ease;
}

.price-card.active,
.price-card:has(input:checked) {
  border-color: var(--red);
  background: var(--red-soft);
  box-shadow: inset 0 0 0 1px rgba(217, 64, 64, 0.08);
}

.price-card:active {
  transform: scale(0.98);
}

.price-main {
  font-size: 19px;
  font-weight: 900;
  color: var(--text);
}

.price-card.active .price-main {
  color: var(--red-dark);
}

.price-sub {
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

/* =========================
   DISH COMMON
========================= */

.loading-dish {
  padding: 10px 4px;
  color: var(--text-muted);
  font-size: 13px;
}

.dish-grid,
.dish-list,
.extra-grid,
.drink-grid {
  display: grid;
  gap: 8px;
}

.dish-item {
  position: relative;

  display: flex;
  align-items: center;
  gap: 10px;

  width: 100%;
  min-height: 62px;
  padding: 9px 10px;

  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: #fff;

  transition: 0.15s ease;
}

.dish-item:hover {
  border-color: var(--border-strong);
}

.dish-item:active {
  transform: scale(0.99);
}

.dish-item:has(input:checked) {
  border-color: var(--red);
  background: var(--red-soft);
  box-shadow: inset 0 0 0 1px rgba(217, 64, 64, 0.08);
}

.dish-item input[type="checkbox"],
.dish-item input[type="radio"] {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: var(--red);
}

.dish-thumb {
  width: 58px;
  height: 58px;

  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;

  border: 1px solid var(--border);
  background: #f1ece6;
}

.dish-text {
  flex: 1;
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dish-name {
  font-size: 14px;
  font-weight: 750;
  color: var(--text);
  line-height: 1.28;
}

.dish-price {
  font-size: 12px;
  font-weight: 800;
  color: var(--red-dark);
}

.sold-out-badge {
  margin-left: auto;
  padding: 4px 8px;

  border-radius: 999px;
  background: #f2eeee;
  color: #9b2f2f;

  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.dish-item.disabled {
  opacity: 0.58;
  background: #f1f0ef;
  cursor: not-allowed;
}

.dish-item.disabled input {
  cursor: not-allowed;
}

.dish-item.disabled .dish-thumb {
  filter: grayscale(1);
}

/* =========================
   MAIN DISH
========================= */

.main-grid {
  grid-template-columns: 1fr 1fr;
}

.main-grid .dish-item {
  min-height: 160px;
  padding: 0;

  flex-direction: column;
  align-items: stretch;
  gap: 0;

  overflow: hidden;
}

.main-grid .dish-item input {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;

  width: 20px;
  height: 20px;
  background: #fff;
}

.main-grid .dish-thumb {
  width: 100%;
  height: 105px;

  border: none;
  border-radius: 0;
}

.main-grid .dish-text {
  padding: 9px 10px 11px;
}

.main-grid .dish-name {
  font-size: 13px;
}

.main-grid .sold-out-badge {
  position: absolute;
  top: 9px;
  right: 9px;
  margin: 0;
  background: rgba(255, 255, 255, 0.92);
}

/* =========================
   COMBO / COMPACT LIST
========================= */

.combo-block {
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}

.combo-block:first-of-type {
  padding-top: 0;
  border-top: none;
}

.combo-block+.combo-block {
  margin-top: 12px;
}

.combo-title {
  margin-bottom: 7px;

  display: flex;
  align-items: center;
  gap: 6px;

  font-size: 13px;
  font-weight: 850;
  color: var(--text);
}

.combo-title span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.compact-list {
  grid-template-columns: 1fr;
}

.compact-list .dish-item {
  min-height: 54px;
}

.compact-list .dish-thumb {
  width: 46px;
  height: 46px;
}

.compact-list .dish-name {
  font-size: 13px;
}

/* =========================
   EXTRA / DRINK
========================= */

.extra-grid,
.drink-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 8px;
}

.extra-grid .dish-item,
.drink-grid .dish-item {
  min-height: 56px;
  padding: 8px;
  gap: 7px;
}

.extra-grid .dish-thumb,
.drink-grid .dish-thumb {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;

  border-radius: 10px;
}

.extra-grid .dish-name,
.drink-grid .dish-name {
  font-size: 12px;
}

.extra-grid b,
.extra-grid .dish-price,
.drink-grid b,
.drink-grid .dish-price {
  display: block;

  margin-top: 1px;

  color: var(--red-dark);

  font-size: 11px;
  font-weight: 850;
}

.extra-grid .sold-out-badge,
.drink-grid .sold-out-badge {
  padding: 3px 6px;

  font-size: 10px;
}

/* =========================
   BOTTOM BAR
========================= */

.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;

  min-height: var(--bottom-height);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));

  display: flex;
  align-items: center;
  gap: 10px;

  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(45, 32, 20, 0.1);
  backdrop-filter: blur(14px);
}

.bottom-info {
  flex: 1;
  min-width: 0;
}

.bottom-title {
  font-size: 13px;
  font-weight: 850;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bottom-sub {
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-soft);
  line-height: 1.3;
}

.btn-primary {
  min-width: 124px;
  min-height: 50px;
  padding: 10px 14px;

  border-radius: 16px;
  background: var(--red);
  color: #fff;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;

  box-shadow: 0 8px 18px rgba(217, 64, 64, 0.26);
}

.btn-primary span {
  font-size: 12px;
  opacity: 0.88;
  font-weight: 700;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary:disabled {
  background: #c8c1b9;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-primary.wide {
  width: 100%;
}

.btn-light {
  min-height: 44px;
  padding: 10px 12px;

  border-radius: 14px;
  background: #fff;
  color: var(--red-dark);
  border: 1.5px solid var(--border);

  font-size: 14px;
  font-weight: 800;
}

/* =========================
   CART
========================= */

.cart-top-actions {
  position: sticky;
  top: 72px;
  z-index: 15;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;

  margin-bottom: 12px;
}

.empty-cart {
  padding: 42px 18px;

  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.empty-icon {
  font-size: 46px;
  margin-bottom: 10px;
}

.empty-cart h2 {
  font-size: 19px;
  font-weight: 850;
}

.empty-cart p {
  margin: 6px 0 18px;
  color: var(--text-soft);
  font-size: 14px;
}

.cart-item {
  margin-bottom: 10px;
  padding: 13px;

  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card-soft);
}

.cart-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  margin-bottom: 10px;
}

.cart-item-num {
  font-size: 13px;
  font-weight: 850;
  color: var(--text);
}

.cart-item-price {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 1px;

  padding: 5px 9px;
  border-radius: 999px;

  background: var(--red-soft);
  color: var(--red-dark);

  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.cart-item-price strong {
  color: inherit;
  font-size: inherit;
}

.cart-item-old-price {
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: line-through;
}

.cart-item-dishes {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.65;
}

.drink-discount-detail {
  display: block;
  margin-top: 2px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.45;
}

.cart-item-dishes span {
  color: var(--text);
  font-weight: 650;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  margin-top: 12px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-control button {
  width: 34px;
  height: 34px;
  border-radius: 10px;

  background: var(--red-soft);
  color: var(--red-dark);

  font-size: 20px;
  font-weight: 900;
}

.qty-control span {
  min-width: 28px;
  text-align: center;
  font-size: 15px;
  font-weight: 850;
}

.btn-remove {
  min-height: 34px;
  padding: 7px 10px;

  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-soft);

  font-size: 12px;
  font-weight: 750;
}

.required-mark {
  color: #d94a43;
  font-weight: 800;
}

/* =========================
   PORTION NOTES
========================= */

.portion-notes {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}

.portion-note-row+.portion-note-row {
  margin-top: 8px;
}

.portion-note-label {
  display: block;
  margin-bottom: 4px;

  font-size: 12px;
  color: var(--text-soft);
  font-weight: 750;
}

.portion-note-input {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;

  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #fff;

  color: var(--text);
  font-size: 13px;
  outline: none;
}

.portion-note-input:focus {
  border-color: var(--red);
}

/* =========================
   FORM
========================= */

.form-group+.form-group {
  margin-top: 12px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;

  font-size: 12px;
  color: var(--text-soft);
  font-weight: 750;
}

.form-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;

  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;

  color: var(--text);
  font-size: 14px;
  outline: none;
}

.form-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(217, 64, 64, 0.08);
}

.form-textarea {
  min-height: 78px;
  resize: vertical;
}

.pay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pay-option {
  min-height: 58px;
  padding: 10px;

  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text-soft);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;

  font-size: 13px;
  font-weight: 800;
}

.pay-option span {
  font-size: 18px;
}

.pay-option.active {
  border-color: var(--red);
  background: var(--red-soft);
  color: var(--red-dark);
}

/* =========================
   SUMMARY
========================= */

.summary-card {
  background: #fff;
}

.summary-row,
.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.summary-row {
  color: var(--text-soft);
  font-size: 14px;
}

.summary-row strong {
  color: var(--text);
}

.promotion-summary-row {
  margin-top: 8px;
  color: var(--green);
}

.promotion-summary-row[hidden] {
  display: none;
}

.promotion-summary-row strong {
  color: var(--green);
}

.promotion-status {
  margin-top: 10px;
  padding: 9px 11px;

  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  background: var(--surface-soft);

  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}

.promotion-status.is-active {
  border-color: #b8ddc1;
  background: var(--green-soft);
  color: var(--green);
}

.delivery-note {
  margin: 12px 0;
  padding: 11px 12px;

  border-radius: 13px;
  border: 1px solid #cfe7d2;
  background: var(--green-soft);

  color: #2d7b3d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.summary-total {
  padding-top: 12px;
  border-top: 1px solid var(--border);

  font-size: 16px;
  font-weight: 850;
}

.summary-total strong {
  color: var(--red-dark);
  font-size: 18px;
}

/* =========================
   TOAST + OVERLAY
========================= */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottom-height) + 12px);
  z-index: 60;

  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  pointer-events: none;

  max-width: calc(100vw - 28px);
  padding: 10px 14px;

  border-radius: 999px;
  background: #1d1d1d;
  color: #fff;

  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;

  transition: 0.22s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 70;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 18px;
  background: rgba(20, 16, 14, 0.55);
  backdrop-filter: blur(5px);
}

.overlay.show {
  display: flex;
}

.overlay-box {
  width: 100%;
  max-width: 340px;

  padding: 24px 18px;

  border-radius: 22px;
  background: #fff;
  text-align: center;

  box-shadow: var(--shadow-md);
}

.overlay-icon {
  font-size: 54px;
  margin-bottom: 10px;
}

.overlay-box h2 {
  font-size: 20px;
  font-weight: 900;
}

.overlay-box p {
  margin: 8px 0 18px;

  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

/* =========================
   RESPONSIVE
========================= */

@media (min-width: 560px) {
  .app-header {
    justify-content: center;
  }

  .app-header .brand {
    width: 520px;
  }

  .header-cart-btn {
    position: absolute;
    right: calc((100vw - 520px) / 2 + 10px);
  }

  .main-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .extra-grid,
  .drink-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bottom-bar {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 520px;

    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-radius: 20px 20px 0 0;
  }
}

/* =========================
   CUSTOMER MENU — MODERN UI
========================= */

:root {
  --red: #e45c3a;
  --red-dark: #a63a25;
  --red-soft: #fff0ea;

  --green: #247552;
  --green-soft: #edf8f1;

  --bg: #f3f1eb;
  --card-soft: #fbfaf6;

  --text: #19201c;
  --text-soft: #626b65;
  --text-muted: #929b95;

  --border: #e4e5df;
  --border-strong: #cfd4ce;

  --shadow-sm: 0 6px 22px rgba(31, 39, 34, 0.06);
  --shadow-md: 0 18px 50px rgba(23, 31, 26, 0.14);

  --bottom-height: 94px;
  --header-height: 64px;
}

body {
  background:
    radial-gradient(circle at 10% 0%, rgba(228, 92, 58, 0.1), transparent 28rem),
    radial-gradient(circle at 100% 18%, rgba(36, 117, 82, 0.08), transparent 24rem),
    var(--bg);
}

.app-header {
  min-height: var(--header-height);
  padding: 10px 14px;
  background: rgba(25, 32, 28, 0.96);
  box-shadow: 0 8px 30px rgba(18, 25, 21, 0.18);
}

.brand-logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-name {
  font-size: 15px;
  letter-spacing: -0.25px;
}

.brand-sub {
  opacity: 0.68;
}

.header-cart-btn {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.1);
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.header-cart-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.header-cart-icon {
  font-size: 16px;
}

.cart-badge {
  background: var(--red);
  color: #fff;
  border: 2px solid #19201c;
  box-shadow: none;
}

.page {
  max-width: 760px;
  padding: 16px 12px calc(var(--bottom-height) + 24px);
}

.hero-card {
  position: relative;
  min-height: 258px;
  padding: 24px 22px;
  overflow: hidden;
  align-items: stretch;

  border: none;
  border-radius: 26px;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.16), transparent 9rem),
    linear-gradient(135deg, #1b2922 0%, #263e32 100%);
  color: #fff;
  box-shadow: 0 18px 42px rgba(24, 42, 32, 0.18);
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -78px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.hero-label-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f3c969;
  box-shadow: 0 0 0 4px rgba(243, 201, 105, 0.12);
}

.hero-card h1 {
  max-width: 350px;
  margin-top: 14px;
  font-size: clamp(24px, 7vw, 34px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -1.2px;
}

.hero-card h1 span {
  display: block;
  color: #f3c969;
}

.hero-promotion {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 9px;

  width: min(390px, calc(100% - 100px));
  margin-top: 14px;
  padding: 9px 11px;

  border: 1px solid rgba(243, 201, 105, 0.28);
  border-radius: 14px;
  background: rgba(243, 201, 105, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-promotion-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;

  border-radius: 10px;
  background: #f3c969;

  font-size: 16px;
  line-height: 1;
}

.hero-promotion-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.hero-promotion-copy strong {
  color: #fff4d5;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.hero-promotion-copy small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.35;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 20px;
}

.hero-date {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 650;
}

.shop-status {
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.1);
  color: #bde8ca;
  border: 1px solid rgba(189, 232, 202, 0.18);
  font-size: 10px;
  backdrop-filter: blur(8px);
}

.hero-visual {
  position: absolute;
  top: 58px;
  right: 12px;
  bottom: auto;
  z-index: 1;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.24), transparent 34%),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: rotate(5deg);
}

.hero-visual span {
  font-size: 62px;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.25));
}

.section-card {
  border: 1px solid rgba(220, 222, 216, 0.88);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.price-section {
  padding: 17px;
}

.step-label {
  margin-bottom: 4px;
  color: var(--red);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.15px;
  text-transform: uppercase;
}

.price-section .section-head {
  margin-bottom: 13px;
}

.price-section .section-head h2 {
  font-size: 18px;
}

.price-grid {
  gap: 9px;
}

.price-card {
  position: relative;
  min-height: 84px;
  padding: 12px 8px;
  border: 1.5px solid var(--border);
  border-radius: 17px;
  background: #fafaf7;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.price-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.price-card.active {
  border-color: var(--red);
  background: linear-gradient(145deg, #fff8f4, var(--red-soft));
  box-shadow: 0 8px 20px rgba(228, 92, 58, 0.12);
}

.price-main {
  font-size: 20px;
  letter-spacing: -0.5px;
}

.price-sub {
  margin-top: 3px;
  font-size: 10px;
}

.price-check {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  opacity: 0;
  transform: scale(0.7);
  transition: 0.18s ease;
}

.price-card.active .price-check {
  opacity: 1;
  transform: scale(1);
}

.menu-builder {
  padding: 14px;
}

.builder-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 3px 3px 14px;
}

.builder-head h2 {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.45px;
}

.builder-head p {
  max-width: 430px;
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 11px;
}

.builder-progress {
  flex: 0 0 auto;
  min-width: 72px;
  padding: 8px 9px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green);
  text-align: center;
}

.builder-progress strong,
.builder-progress span {
  display: block;
}

.builder-progress strong {
  font-size: 17px;
  line-height: 1.1;
}

.builder-progress span {
  margin-top: 2px;
  font-size: 8px;
  font-weight: 750;
  white-space: nowrap;
}

.menu-tabs {
  position: sticky;
  top: calc(var(--header-height) + 8px);
  z-index: 20;

  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 -2px;
  padding: 8px 2px 10px;

  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(228, 229, 223, 0.85);
  backdrop-filter: blur(16px);
  scrollbar-width: none;
}

.menu-tabs::-webkit-scrollbar {
  display: none;
}

.menu-tab {
  flex: 0 0 auto;
  min-width: 116px;
  min-height: 52px;
  padding: 8px 10px;

  display: flex;
  align-items: center;
  gap: 8px;

  border: 1.5px solid var(--border);
  border-radius: 15px;
  background: #fafaf7;
  color: var(--text-soft);
  text-align: left;

  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.menu-tab:hover {
  border-color: var(--border-strong);
}

.menu-tab:active {
  transform: scale(0.98);
}

.menu-tab.active {
  border-color: #22382d;
  background: #22382d;
  color: #fff;
  box-shadow: 0 8px 20px rgba(34, 56, 45, 0.16);
}

.menu-tab.complete:not(.active) {
  border-color: #bcdac8;
  background: var(--green-soft);
  color: var(--green);
}

.tab-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #fff;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(25, 32, 28, 0.07);
}

.menu-tab.active .tab-icon {
  background: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

.tab-copy {
  display: block;
  min-width: 0;
}

.tab-copy b,
.tab-copy small {
  display: block;
  white-space: nowrap;
}

.tab-copy b {
  font-size: 11px;
  font-weight: 800;
}

.tab-copy small {
  margin-top: 1px;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 650;
}

.menu-tab.active .tab-copy small {
  color: rgba(255, 255, 255, 0.66);
}

.menu-tab.complete:not(.active) .tab-copy small {
  color: var(--green);
}

.menu-panels {
  padding-top: 15px;
}

.menu-panel[hidden] {
  display: none;
}

.menu-panel {
  scroll-margin-top: calc(var(--header-height) + 84px);
}

.menu-panel.active {
  animation: panel-in 0.2s ease;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
  padding: 1px 2px;
}

.panel-kicker {
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.panel-head h2 {
  margin-top: 2px;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: -0.65px;
}

.panel-head p {
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 11px;
}

.panel-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--red-soft);
  font-size: 21px;
}

.upsell-prompt {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -1px 0 13px;
  padding: 10px 11px;
  border: 1px solid #f0d6ad;
  border-radius: 14px;
  background: linear-gradient(135deg, #fffaf0, #fff5e3);
  color: #6b4515;
}

.upsell-prompt-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
  font-size: 16px;
}

.upsell-prompt > span:last-child,
.upsell-prompt b,
.upsell-prompt small {
  display: block;
}

.upsell-prompt b {
  font-size: 11px;
  line-height: 1.35;
}

.upsell-prompt small {
  margin-top: 2px;
  color: #876438;
  font-size: 9px;
  line-height: 1.4;
}

.drink-prompt {
  border-color: #cfe3dc;
  background: linear-gradient(135deg, #f4fbf8, #eaf7f2);
  color: #245a46;
}

.drink-prompt small {
  color: #517667;
}

.category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.menu-panel .dish-item {
  min-height: 174px;
  padding: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  overflow: hidden;

  border: 1.5px solid var(--border);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(29, 36, 31, 0.04);

  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease,
    background 0.18s ease;
}

.menu-panel .dish-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(29, 36, 31, 0.08);
}

.menu-panel .dish-item:has(input:checked) {
  border-color: var(--red);
  background: #fff;
  box-shadow:
    0 10px 24px rgba(228, 92, 58, 0.11),
    inset 0 0 0 1px rgba(228, 92, 58, 0.12);
}

.menu-panel .dish-item input[type="checkbox"],
.menu-panel .dish-item input[type="radio"] {
  position: absolute;
  top: 9px;
  right: 9px;
  left: auto;
  z-index: 3;

  width: 25px;
  height: 25px;
  margin: 0;
  accent-color: var(--red);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 3px 10px rgba(21, 30, 24, 0.18);
}

.menu-panel .dish-thumb {
  width: 100%;
  height: 112px;
  flex: 0 0 112px;
  border: none;
  border-radius: 0;
  object-fit: cover;
  background: #eceee9;
}

.menu-panel .dish-item:not(:has(.dish-thumb))::before {
  content: "🍽️";
  width: 100%;
  height: 112px;
  flex: 0 0 112px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.8), transparent 34%),
    linear-gradient(145deg, #f1eee6, #e8ece6);
  font-size: 36px;
}

.drink-grid .dish-item:first-child::before {
  content: "—";
  color: var(--text-muted);
  font-size: 28px;
  font-weight: 500;
}

.menu-panel .dish-text {
  min-height: 58px;
  padding: 10px 11px 12px;
  justify-content: center;
}

.menu-panel .dish-name {
  font-size: 12px;
  line-height: 1.35;
  font-weight: 750;
}

.menu-panel .dish-price {
  margin-top: 2px;
  color: var(--red-dark);
  font-size: 10px;
}

.menu-panel .drink-price-display {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.menu-panel .drink-original-price {
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 700;
  text-decoration: line-through;
}

.menu-panel .drink-promotion-price {
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
}

.menu-panel .drink-price-display small {
  width: 100%;
  color: var(--text-soft);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.3;
}

.menu-panel .sold-out-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  right: auto;
  z-index: 3;
  margin: 0;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 8px rgba(21, 30, 24, 0.1);
}

.menu-panel .suggested-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 3;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 248, 228, 0.94);
  color: #8a5713;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(79, 51, 15, 0.11);
}

.menu-panel .dish-item.suggested:not(:has(input:checked)) {
  border-color: #edd6ae;
  background: #fffdf8;
}

.menu-panel .dish-item.disabled {
  opacity: 0.62;
}

.menu-panel .loading-dish {
  grid-column: 1 / -1;
  min-height: 150px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--border-strong);
  border-radius: 17px;
  background: #fafaf7;
}

.upsell-next {
  width: 100%;
  margin-top: 12px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #cfe3dc;
  border-radius: 14px;
  background: #f4fbf8;
  color: #245a46;
  font-size: 10px;
  font-weight: 700;
  text-align: left;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.upsell-next span {
  color: var(--green);
  font-weight: 850;
  white-space: nowrap;
}

.upsell-next:hover {
  border-color: #a9cfc0;
  background: #eaf7f2;
}

.upsell-next:active {
  transform: scale(0.99);
}

.bottom-bar {
  min-height: var(--bottom-height);
  padding: 11px 12px calc(11px + env(safe-area-inset-bottom));
  border-color: rgba(214, 217, 211, 0.92);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -12px 36px rgba(25, 32, 28, 0.11);
}

.bottom-title {
  font-size: 13px;
  letter-spacing: -0.15px;
}

.bottom-sub {
  color: var(--text-muted);
  font-size: 10px;
}

.btn-primary {
  min-width: 130px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eb6846, var(--red));
  box-shadow: 0 9px 22px rgba(228, 92, 58, 0.25);
}

.btn-primary:disabled {
  background: #c7cbc6;
  color: rgba(255, 255, 255, 0.85);
}

.toast {
  background: #19201c;
  box-shadow: 0 10px 30px rgba(19, 27, 22, 0.22);
}

@media (max-width: 390px) {
  .brand-sub,
  .header-cart-btn > span:nth-child(2) {
    display: none;
  }

  .header-cart-btn {
    width: 42px;
    justify-content: center;
    padding: 8px;
  }

  .hero-card {
    min-height: 244px;
    padding: 21px 18px;
  }

  .hero-visual {
    top: 52px;
    right: -2px;
    width: 104px;
    height: 104px;
  }

  .hero-visual span {
    font-size: 54px;
  }

  .hero-card h1 {
    max-width: 230px;
    font-size: 24px;
  }

  .hero-promotion {
    width: calc(100% - 78px);
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    padding: 8px 9px;
  }

  .hero-promotion-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    font-size: 15px;
  }

  .hero-meta {
    max-width: 210px;
  }

  .builder-head {
    gap: 8px;
  }

  .builder-head p {
    max-width: 210px;
  }

  .menu-tab {
    min-width: 108px;
  }
}

@media (min-width: 560px) {
  .app-header .brand {
    width: 760px;
  }

  .header-cart-btn {
    right: calc((100vw - 760px) / 2 + 10px);
  }

  .main-grid,
  .category-grid,
  .extra-grid,
  .drink-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bottom-bar {
    width: 760px;
  }
}

@media (min-width: 720px) {
  .page {
    padding-right: 0;
    padding-left: 0;
  }

  .hero-card {
    min-height: 278px;
    padding: 30px;
  }

  .hero-card h1 {
    max-width: 350px;
    margin-top: 18px;
    font-size: 36px;
  }

  .hero-promotion {
    width: 390px;
    margin-top: 16px;
    padding: 10px 12px;
  }

  .hero-promotion-copy strong {
    font-size: 12px;
  }

  .hero-promotion-copy small {
    font-size: 10px;
  }

  .hero-visual {
    top: auto;
    right: 50px;
    bottom: 26px;
    width: 146px;
    height: 146px;
  }

  .hero-visual span {
    font-size: 76px;
  }

  .price-section,
  .menu-builder {
    padding: 20px;
  }

  .menu-tab {
    min-width: 124px;
  }

  .menu-panel .dish-thumb,
  .menu-panel .dish-item:not(:has(.dish-thumb))::before {
    height: 128px;
    flex-basis: 128px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================
   MAINTENANCE MODE
========================= */

.maintenance-view {
  display: none;
}

html.maintenance-mode body {
  min-height: 100svh;
  background:
    radial-gradient(
      circle at 16% 12%,
      rgba(198, 162, 91, 0.12),
      transparent 24%
    ),
    radial-gradient(
      circle at 84% 88%,
      rgba(24, 75, 56, 0.1),
      transparent 28%
    ),
    #f7f3e9;
}

html.maintenance-mode .app-header,
html.maintenance-mode .page,
html.maintenance-mode .toast,
html.maintenance-mode .overlay {
  display: none !important;
}

html.maintenance-mode .maintenance-view {
  min-height: 100svh;
  padding: 18px;

  display: grid;
  place-items: center;
}

.maintenance-card {
  position: relative;
  isolation: isolate;

  width: min(100%, 700px);
  min-height: min(860px, calc(100svh - 36px));
  padding: clamp(62px, 9vw, 92px) clamp(24px, 8vw, 74px) 54px;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(177, 137, 62, 0.78);
  outline: 1px solid rgba(177, 137, 62, 0.34);
  outline-offset: -9px;

  background:
    linear-gradient(
      rgba(255, 253, 246, 0.94),
      rgba(255, 253, 246, 0.94)
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 4px,
      rgba(33, 73, 57, 0.025) 5px
    );

  color: #234c3b;
  text-align: center;

  box-shadow: 0 24px 70px rgba(45, 54, 39, 0.14);
}

.maintenance-card::before,
.maintenance-card::after {
  content: "";
  position: absolute;
  z-index: -1;

  width: 210px;
  height: 210px;

  border: 1px solid rgba(191, 151, 74, 0.16);
  border-radius: 50%;
}

.maintenance-card::before {
  top: -116px;
  left: -94px;
}

.maintenance-card::after {
  right: -94px;
  bottom: -116px;
}

.maintenance-brand-mark {
  width: 58px;
  height: 58px;
  margin-bottom: 10px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(183, 140, 57, 0.52);
  border-radius: 50%;

  background: #fffdf7;
  font-size: 29px;

  box-shadow: 0 8px 25px rgba(49, 74, 61, 0.1);
}

.maintenance-brand {
  color: #96702d;

  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.maintenance-kicker {
  margin-top: 26px;

  color: #b18437;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.maintenance-card h1 {
  max-width: 560px;
  margin-top: 8px;

  color: #1d4e3a;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(35px, 7vw, 58px);
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1.08;
  text-transform: uppercase;
}

.maintenance-divider {
  width: min(250px, 70%);
  margin: 22px auto 25px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;

  color: #bd9142;
  font-size: 9px;
}

.maintenance-divider span {
  height: 1px;
  background: linear-gradient(90deg, transparent, #bd9142);
}

.maintenance-divider span:last-child {
  background: linear-gradient(90deg, #bd9142, transparent);
}

.maintenance-intro,
.maintenance-copy,
.maintenance-thanks {
  max-width: 525px;

  color: #54625a;

  font-size: clamp(14px, 2.8vw, 17px);
  line-height: 1.75;
}

.maintenance-date {
  margin: 14px 0 17px;
  padding: 10px 24px;

  border-top: 1px solid rgba(183, 140, 57, 0.35);
  border-bottom: 1px solid rgba(183, 140, 57, 0.35);

  color: #986f29;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 5vw, 31px);
  font-weight: 700;
  letter-spacing: 0.035em;
}

.maintenance-thanks {
  margin-top: 18px;
  color: #314f42;
  font-weight: 600;
}

.maintenance-signature {
  margin-top: 25px;

  display: flex;
  flex-direction: column;

  color: #7a6a4b;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-style: italic;
}

.maintenance-signature strong {
  margin-top: 2px;

  color: #1f503c;

  font-size: 20px;
  font-style: normal;
}

.maintenance-contact {
  margin-top: 22px;
  padding: 9px 16px;

  border-radius: 999px;

  background: rgba(31, 80, 60, 0.08);
  color: #1f503c;

  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.maintenance-branch {
  position: absolute;
  z-index: -1;

  width: 175px;
  height: 115px;

  opacity: 0.38;
  transform: rotate(-24deg);
}

.maintenance-branch::before {
  content: "";
  position: absolute;
  top: 57px;
  left: 3px;

  width: 165px;
  height: 1px;

  background: #66806e;
  transform: rotate(-12deg);
  transform-origin: left;
}

.maintenance-branch i {
  position: absolute;

  width: 41px;
  height: 19px;

  border: 1px solid #66806e;
  border-radius: 100% 0 100% 0;

  transform: rotate(28deg);
}

.maintenance-branch i:nth-child(1) {
  left: 22px;
  top: 27px;
}

.maintenance-branch i:nth-child(2) {
  left: 48px;
  top: 62px;
  transform: scaleX(-1) rotate(30deg);
}

.maintenance-branch i:nth-child(3) {
  left: 78px;
  top: 18px;
}

.maintenance-branch i:nth-child(4) {
  left: 104px;
  top: 49px;
  transform: scaleX(-1) rotate(30deg);
}

.maintenance-branch i:nth-child(5) {
  left: 132px;
  top: 5px;
}

.maintenance-branch-top {
  top: -6px;
  left: -24px;
}

.maintenance-branch-bottom {
  right: -25px;
  bottom: -7px;
  transform: rotate(156deg);
}

@media (max-width: 520px) {
  html.maintenance-mode .maintenance-view {
    padding: 0;
  }

  .maintenance-card {
    width: 100%;
    min-height: 100svh;
    padding: 62px 27px 42px;

    border-right: 0;
    border-left: 0;

    outline-offset: -7px;
    box-shadow: none;
  }

  .maintenance-brand-mark {
    width: 52px;
    height: 52px;
    font-size: 26px;
  }

  .maintenance-kicker {
    margin-top: 21px;
  }

  .maintenance-divider {
    margin-top: 18px;
    margin-bottom: 20px;
  }

  .maintenance-date {
    padding-right: 16px;
    padding-left: 16px;
  }

  .maintenance-branch {
    transform: scale(0.82) rotate(-24deg);
  }

  .maintenance-branch-bottom {
    transform: scale(0.82) rotate(156deg);
  }
}