/* Musafir Cafe guest menu. */
body.guest-theme {
  --paper: #f4f0e7;
  --card: #fffdf8;
  --ink: #242d26;
  --muted: #51564c;
  --line: #d1cbbe;
  --accent: #8b4128;
  --green: #35483b;
  --pale: #eae3d6;
  color: var(--ink);
  background: var(--paper);
}

.guest-theme header {
  background: var(--ink);
  color: var(--card);
  border-bottom: 4px solid var(--accent);
}

.guest-theme .guest-home-link {
  border-left: 4px solid var(--accent);
  color: var(--card);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 8px 0 8px 12px;
  text-decoration: none;
  text-transform: uppercase;
}

.guest-theme header .tag {
  border-color: #66645f;
  border-radius: 2px;
  background: #2c2b29;
}

.guest-theme .hero {
  align-items: start;
  max-width: 1120px;
  margin-inline: auto;
  padding: 28px 0 38px;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
}

.guest-theme .hero-copy {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  padding: clamp(24px, 5vw, 54px);
  min-width: 0;
}

.guest-theme .hero-copy > .eyebrow {
  color: #7d3824;
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0 0 10px;
}

.guest-theme .hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.guest-theme .hero h1 span {
  color: var(--accent);
  font-style: italic;
  display: inline-block;
  position: relative;
  padding-right: 0.08em;
}

.guest-theme .hero-guidance {
  color: #33332e;
  font-size: 14px;
  line-height: 1.55;
  padding: 0;
  margin-top: 16px;
}

.guest-theme .table-card {
  background: var(--ink);
  color: var(--card);
  border: 1px solid var(--ink);
  box-shadow: 7px 7px 0 var(--accent);
}

.guest-theme .table-card h2 {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 32px;
  font-weight: 400;
}

.guest-theme .table-card > p {
  color: #e2dfd7;
}

.guest-theme .table-card > .eyebrow {
  font-family: "Courier New", monospace;
  font-size: 11px;
  color: #e2dfd7;
}

.guest-theme .table-card .error-panel {
  background: #fff1eb;
  border-color: #cf8177;
  color: #30201c;
  margin-bottom: 0;
}

.guest-theme .table-card .error-panel p {
  color: inherit;
}

.guest-theme .menu-tools {
  background: var(--card);
  padding: 20px 18px;
  border: 1px solid var(--ink);
  margin-bottom: 16px;
}

.guest-theme .menu-tools h2,
.guest-theme .section-title {
  font-family: "Archivo Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.guest-theme .pill {
  background: var(--card);
  border-color: #aaa69d;
  border-radius: 2px;
  min-height: 40px;
}

.guest-theme .pill[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.guest-theme .dish {
  border-color: #aaa69d;
  border-radius: 1px;
  box-shadow: 3px 3px 0 #d6d2c9;
}

.guest-theme .dish-category {
  font-family: "Courier New", monospace;
  color: #7d3824;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.guest-theme .dish h3 {
  font-family: "Archivo Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.guest-theme .add {
  background: var(--ink);
  color: var(--card);
  border-color: var(--ink);
  border-radius: 2px;
  min-height: 40px;
}

.guest-theme .add:hover,
.guest-theme .button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.guest-theme .basket {
  border-radius: 1px;
  box-shadow: 5px 5px 0 #d6d2c9;
}

.guest-theme .basket-head {
  background: var(--ink);
  color: var(--card);
}

.guest-theme .basket-head h2 {
  font-family: "Archivo Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.guest-theme .basket-head .tag {
  border-color: #77736b;
  border-radius: 2px;
}

.guest-theme .button {
  border-radius: 2px;
}

.guest-theme .orders-section {
  background: var(--card);
  border: 1px solid #aaa69d;
  margin-bottom: 45px;
  padding: 25px;
}

.guest-theme footer {
  background: var(--ink);
  color: #d4d1c9;
  border-top: 4px solid var(--accent);
}

@media (max-width: 760px) {
  .guest-theme .hero {
    grid-template-columns: 1fr;
    padding: 21px 0 30px;
    gap: 21px;
  }

  .guest-theme .hero h1 {
    font-size: clamp(38px, 10vw, 54px);
  }

  .guest-theme .table-card {
    padding: 22px;
    box-shadow: 5px 5px 0 var(--accent);
  }

  .guest-theme .menu-tools {
    padding: 16px 13px;
  }

  .guest-theme .menu-tools h2 {
    font-size: 20px;
  }

  .guest-theme .dish h3 {
    font-size: 18px;
  }

  .guest-theme .dish {
    padding: 16px;
  }

  .guest-theme .orders-section {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .guest-theme .menu-tools {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .guest-theme .menu-tools label,
  .guest-theme .menu-tools .search {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .guest-theme .categories {
    flex-wrap: wrap;
    overflow: visible;
    gap: 8px;
  }
  .guest-theme .pill {
    padding-inline: 12px;
  }
}

@media (pointer: coarse) {
  .guest-theme .add,
  .guest-theme .pill {
    min-height: 44px;
  }
}

@media print {
  body.guest-theme {
    background: white;
  }
}

.guest-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  gap: 4px;
  padding: 0;
}
.guest-progress li {
  border-top: 4px solid var(--line);
  padding-top: 5px;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.guest-progress .done { border-color: var(--green); }
.guest-progress [aria-current="step"] { font-weight: 700; }

.checkout-review {
  margin: 16px 0 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.checkout-review .total {
  gap: 8px;
  padding: 4px 0;
  margin: 0;
}
.checkout-review .checkout-location {
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--line);
  margin: 8px 0 0;
  padding-top: 8px;
  overflow-wrap: anywhere;
}
.checkout-location span { font-size: 12px; }

.guest-theme:has(.basket:target) .mobile-cart,
.guest-theme:has(.basket:focus-within) .mobile-cart {
  display: none;
}
