
:root {
  --cream: #fff9e9;
  --cream-dark: #fff0bf;
  --orange: #ef6b0b;
  --orange-dark: #c94b04;
  --green: #377b0b;
  --ink: #421d12;
  --muted: #755846;
  --line: #efd9a8;
  --shadow: 0 7px 22px #80531b18;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff9e9;
  font-family: system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #e87c0a;
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.app {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  margin: 0;
  padding-bottom: 110px;
  background:
    linear-gradient(
      180deg,
      #fff8dc 0%,
      #fffdf7 43%,
      #fff9e9 100%
    );
}

/* HEADER */

.brand {
  height: 130px;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 15px 25px 24px;
  background:
    linear-gradient(
      115deg,
      #ffedaa,
      #fffbea 55%,
      #dff6fb
    );
  border-bottom: 2px solid #d4e99d;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.chef {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(
    145deg, #ff9318, #e85600
  );
  color: white;
  font-size: 42px;
  display: grid;
  place-items: center;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name strong {
  font-size: clamp(29px, 4vw, 52px);
  font-weight: 950;
  letter-spacing: -2px;
}

.brand-name small {
  align-self: flex-end;
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 950;
  color: var(--orange);
  margin-top: 5px;
}

.header-tagline {
  position: absolute;
  bottom: 11px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 2px;
  z-index: 2;
}

.sunshine {
  position: absolute;
  left: 2%;
  top: -50px;
  font-size: 150px;
  color: #ffbd00;
  text-shadow: 0 0 35px #ffe16a;
  animation: sunPulse 6s ease-in-out infinite;
  pointer-events: none;
}

.hills {
  position: absolute;
  bottom: -24px;
  left: 0;
  width: 100%;
  height: 70px;
  z-index: -1;
  background:
    radial-gradient(
      ellipse at 10% 90%,
      #87c64e 0 34%, transparent 35%
    ),
    radial-gradient(
      ellipse at 82% 90%,
      #a4d75c 0 35%, transparent 36%
    ),
    radial-gradient(
      ellipse at 48% 95%,
      #c6e78e 0 36%, transparent 37%
    );
}

/* FLYING BEES */

.bee-flight-area {
  position: absolute;
  inset: 0 0 auto;
  height: 580px;
  overflow: hidden;
  pointer-events: none;
  z-index: 4;
}

.flying-bee {
  position: absolute;
  display: block;
  font-size: 30px;
  filter: drop-shadow(0 3px 3px #70420044);
  will-change: transform;
}

.bee-one {
  top: 65px;
  left: 70%;
  animation: beeToMenuOne 11s ease-in-out infinite;
}

.bee-two {
  top: 80px;
  left: 28%;
  font-size: 23px;
  animation: beeToMenuTwo 13s ease-in-out infinite;
  animation-delay: -4s;
}

.bee-three {
  top: 120px;
  left: 86%;
  font-size: 20px;
  animation: beeToMenuThree 15s ease-in-out infinite;
  animation-delay: -8s;
}

@keyframes beeToMenuOne {
  0%, 100% {
    transform: translate(0,0) rotate(-10deg);
  }
  25% {
    transform: translate(-70px,95px) rotate(12deg);
  }
  50% {
    transform: translate(-125px,240px) rotate(-8deg);
  }
  75% {
    transform: translate(-35px,370px) rotate(10deg);
  }
}

@keyframes beeToMenuTwo {
  0%, 100% {
    transform: translate(0,0) rotate(5deg);
  }
  30% {
    transform: translate(100px,110px) rotate(-12deg);
  }
  60% {
    transform: translate(170px,300px) rotate(15deg);
  }
  85% {
    transform: translate(60px,400px) rotate(-8deg);
  }
}

@keyframes beeToMenuThree {
  0%, 100% {
    transform: translate(0,0);
  }
  35% {
    transform: translate(-80px,140px) rotate(12deg);
  }
  70% {
    transform: translate(-180px,320px) rotate(-12deg);
  }
}

@keyframes sunPulse {
  50% {
    transform: scale(1.04);
    filter: brightness(1.08);
  }
}

/* SCREENS */

.screen {
  display: none;
  width: 100%;
  padding: 30px clamp(14px, 3vw, 56px) 55px;
}

.screen.active {
  display: block;
}

.marketing {
  text-align: center;
  padding: 18px 0 20px;
  margin: 0 auto 15px;
  max-width: 1100px;
}

.eyebrow {
  color: #b75b0c;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
}

.marketing h1 {
  font-size: clamp(30px, 4.5vw, 60px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 12px 0;
}

.marketing h1 span {
  color: var(--orange);
}

.marketing p {
  color: var(--muted);
  font-size: clamp(14px, 1.6vw, 19px);
  margin: 0;
}

.menu-heading {
  text-align: center;
  margin-top: 12px;
}

.section-title {
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 4px;
}

.sub {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 15px;
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 700px);
  margin: 16px auto 25px;
  padding: 0 15px;
  height: 49px;
  background: white;
  border: 1px solid #e4c993;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.search span {
  font-size: 27px;
  color: var(--orange);
}

.search input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  min-width: 0;
  font-size: 15px;
  color: var(--ink);
}

/* FOOD CATEGORIES */

.food-grid {
  display: grid;
  grid-template-columns:
    repeat(6, minmax(0, 1fr));
  gap: clamp(9px, 1.4vw, 18px);
  width: 100%;
  margin: 0 auto;
}

.food-tile {
  min-width: 0;
  border: 2px solid #efd9b1;
  border-radius: 18px;
  padding: 6px 6px 12px;
  background: white;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .18s, border-color .18s;
}

.food-tile:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
}

.food-tile img {
  width: 100%;
  height: clamp(95px, 12vw, 195px);
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.food-tile span {
  display: block;
  overflow-wrap: anywhere;
}

.menu-hint {
  text-align: center;
  font-size: 13px;
  color: #80664d;
  margin: 20px 0 35px;
}

/* FEATURED DEMOS */

.featured-demos {
  margin-top: 32px;
}

.featured-heading {
  text-align: center;
  margin-bottom: 20px;
}

.featured-heading h2 {
  font-size: clamp(24px, 2.7vw, 34px);
  margin: 0 0 5px;
}

.featured-heading p {
  color: var(--muted);
  margin: 0;
}

.featured-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.featured-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: white;
  padding: 12px;
  box-shadow: var(--shadow);
}

.featured-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 13px;
}

.featured-card h3 {
  margin: 12px 0 4px;
  font-size: 20px;
}

.featured-card p {
  color: var(--muted);
  margin: 0 0 12px;
  font-size: 13px;
}

.demo-label {
  display: inline-block;
  background: #fff1c5;
  color: #8d4800;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 850;
  padding: 5px 9px;
}

.demo-link {
  display: inline-block;
  padding: 11px 18px;
  background: linear-gradient(
    #ff951d, #e45504
  );
  color: white;
  text-decoration: none;
  border-radius: 11px;
  font-weight: 850;
  text-align: center;
}

.demo-link:hover {
  filter: brightness(.95);
}

/* DISCOVERY */

.listing-heading {
  text-align: center;
  margin: 0 auto 25px;
}

.listing-heading h1 {
  font-size: clamp(29px, 3.8vw, 48px);
  margin: 10px 0;
}

.listing-sub {
  color: var(--muted);
  margin: 0;
}

.zip-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 auto 20px;
}

.zip-row label {
  font-weight: 850;
}

.zip-row input {
  width: 135px;
  min-width: 0;
  border: 1px solid #d6b67c;
  border-radius: 10px;
  padding: 12px;
  background: white;
  color: var(--ink);
}

.zip-row button {
  border: 0;
  border-radius: 11px;
  background: linear-gradient(
    #ff9d22, #e75a06
  );
  color: white;
  padding: 12px 20px;
  font-weight: 850;
}

.filter-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 auto;
}

.filter-row button {
  border: 1px solid #e4c995;
  background: white;
  color: var(--ink);
  padding: 10px 17px;
  border-radius: 30px;
  font-weight: 800;
}

.filter-row button.selected {
  background: #ffdb76;
  border-color: #edb740;
}

.restaurant-search {
  margin-top: 20px;
  margin-bottom: 20px;
}


/* ==========================================
   QRESTA MENU CHOICE
   Compact image + title + clear button
========================================== */

.selected-category {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  height: auto;
  min-height: 40px;
  margin: 12px auto 20px;
  padding: 0 10px;
  position: relative;
  font-size: 13px;
  line-height: 1.4;
}

.selected-category .menu-choice-label {
  font-size: 13px;
  font-weight: 800;
  color: #421d12;
}

.selected-category .menu-choice-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid #ef6b0b;
  border-radius: 30px;
  background: #fff;
  color: #ef6b0b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.selected-category .menu-choice-pill img {
  display: block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 7px;
}

.selected-category button {
  border: 0;
  background: #fbe5bc;
  border-radius: 20px;
  padding: 7px 12px;
  color: #421d12;
  font-size: 12px;
  cursor: pointer;
}

/* Keep explanatory text below the selection */

.selected-category + .filter-notice {
  margin-top: 12px;
  clear: both;
}

@media (max-width: 480px) {
  .selected-category {
    gap: 6px;
    margin-bottom: 18px;
  }

  .selected-category .menu-choice-label,
  .selected-category .menu-choice-pill {
    font-size: 12px;
  }

  .selected-category .menu-choice-pill img {
    width: 26px;
    height: 26px;
  }
}


.filter-notice {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0 20px;
}

.restaurant-list {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 17px;
  width: 100%;
}

.restaurant-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.restaurant-card .food {
  flex: 0 0 105px;
  width: 105px;
  height: 105px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff1d5;
}

.restaurant-card .food img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.restaurant-card .details {
  flex: 1;
  min-width: 0;
}

.restaurant-card h3 {
  font-size: 17px;
  margin: 0 0 6px;
  overflow-wrap: anywhere;
}

.restaurant-card p {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 6px;
}

.restaurant-card small {
  display: block;
  font-size: 12px;
  color: #8b570f;
  margin-bottom: 6px;
}

.restaurant-card .order {
  flex-shrink: 0;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(
    #ff9222, #e35506
  );
  color: white;
  font-size: 12px;
  font-weight: 850;
  padding: 12px 10px;
  text-decoration: none;
  text-align: center;
}

.restaurant-card .order:hover {
  filter: brightness(.95);
}

.empty {
  text-align: center;
  padding: 30px 15px;
  color: var(--muted);
}

.disclaimer {
  text-align: center;
  color: #806954;
  font-size: 12px;
  line-height: 1.5;
  margin: 24px auto;
}

/* BOTTOM NAVIGATION */

.tabs {
  position: fixed;
  z-index: 30;
  bottom: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding:
    8px clamp(8px, 3vw, 35px)
    max(9px, env(safe-area-inset-bottom));
  background: #fff1c6;
  border-top: 2px solid #eccc7b;
  box-shadow: 0 -5px 20px #86580f1c;
}

.tabs button,
.tabs a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  min-height: 58px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #542a17;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  text-align: center;
}

.tabs span {
  display: block;
  font-size: 26px;
  line-height: 1.1;
}

.tabs button.active {
  background: #ffda70;
}

.tabs button:hover,
.tabs a:hover {
  background: #ffe4a0;
}

/* POPUP */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: #30190bc9;
  padding: 16px;
}

.dialog {
  position: relative;
  width: min(420px, 100%);
  background: linear-gradient(
    #fffef8, #fff0c5
  );
  border: 2px solid #f4b43e;
  border-radius: 22px;
  padding: 32px 25px;
  text-align: center;
  box-shadow: 0 20px 50px #0004;
}

.dialog-symbol {
  font-size: 60px;
  color: var(--orange);
}

.dialog h2 {
  margin: 12px 0;
}

.dialog p {
  color: var(--muted);
  line-height: 1.5;
}

.close {
  position: absolute;
  top: 8px;
  right: 13px;
  border: 0;
  background: none;
  font-size: 30px;
  color: var(--ink);
}

.yellow {
  border: 0;
  border-radius: 12px;
  background: #ffcf55;
  color: var(--ink);
  font-weight: 850;
  padding: 13px 20px;
}

/* TABLET */

@media (max-width: 1100px) {
  .food-grid {
    grid-template-columns:
      repeat(4, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .brand {
    height: 108px;
  }

  .sunshine {
    font-size: 110px;
    top: -35px;
    left: -30px;
  }

  .brand-name strong {
    font-size: 35px;
  }

  .chef {
    width: 50px;
    height: 50px;
    font-size: 33px;
  }

  .screen {
    padding: 22px 14px 45px;
  }

  .marketing {
    padding-top: 12px;
  }

  .marketing h1 {
    font-size: clamp(29px, 7vw, 42px);
  }

  .food-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .food-tile img {
    height: clamp(85px, 25vw, 150px);
  }

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

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

  .bee-flight-area {
    height: 480px;
  }

  .flying-bee {
    font-size: 22px;
  }
}

/* SMALL PHONES */

@media (max-width: 480px) {
  .brand-name strong {
    font-size: 30px;
  }

  .brand-name small {
    font-size: 16px;
  }

  .header-tagline {
    font-size: 8px;
  }

  .food-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .food-tile {
    font-size: 12px;
    padding: 5px 5px 9px;
    border-radius: 13px;
  }

  .food-tile img {
    height: clamp(72px, 24vw, 115px);
    border-radius: 9px;
  }

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

  .featured-card img {
    height: 190px;
  }

  .restaurant-card {
    gap: 9px;
    padding: 9px;
  }

  .restaurant-card .food {
    flex-basis: 75px;
    width: 75px;
    height: 82px;
  }

  .restaurant-card h3 {
    font-size: 15px;
  }

  .restaurant-card .order {
    padding: 10px 7px;
    font-size: 11px;
  }

  .tabs {
    gap: 3px;
    padding-inline: 5px;
  }

  .tabs button,
  .tabs a {
    font-size: 11px;
  }

  .tabs span {
    font-size: 23px;
  }

  .filter-row button {
    font-size: 12px;
    padding: 9px 12px;
  }
}

@media (max-width: 350px) {
  .food-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .brand-name strong {
    font-size: 26px;
  }

  .restaurant-card {
    flex-wrap: wrap;
  }

  .restaurant-card .order {
    margin-left: auto;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .flying-bee,
  .sunshine {
    animation: none !important;
  }
}

/* ==========================================
   QRESTA DEALS FEATURED CARD
   Matches Discovery restaurant cards
========================================== */

.discovery-deals {
  width:100%;
  margin:14px 0 18px;
}

.discovery-deals-card {
  display:flex;
  align-items:center;
  gap:12px;

  width:100%;
  min-height:70px;

  padding:7px;

  background:#fff;
  border:1px solid #efd7b0;
  border-radius:12px;

  box-shadow:0 4px 14px rgba(65,37,15,.06);

  color:#381b10;
  text-decoration:none;

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.discovery-deals-card:hover {
  transform:translateY(-2px);
  box-shadow:0 7px 18px rgba(65,37,15,.12);
}

.discovery-deals-card img {
  width:58px;
  height:58px;

  flex-shrink:0;
  object-fit:cover;

  border-radius:9px;
}

.discovery-deals-info {
  display:flex;
  flex:1;
  flex-direction:column;
  gap:3px;
  min-width:0;
}

.discovery-deals-info strong {
  font-size:13px;
  font-weight:800;
  line-height:1.25;
}

.discovery-deals-info small {
  font-size:10px;
  color:#7c6558;
  line-height:1.35;
}

.discovery-deals-label {
  font-size:9px;
  font-weight:700;
  color:#078451;
}

.discovery-deals-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;

  flex-shrink:0;

  padding:9px 13px;

  border-radius:8px;

  background:#f47720;
  color:#fff;

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

@media(max-width:600px) {
  .discovery-deals-card {
    gap:9px;
    padding:7px;
  }

  .discovery-deals-card img {
    width:54px;
    height:54px;
  }

  .discovery-deals-info strong {
    font-size:12px;
  }

  .discovery-deals-info small {
    font-size:9px;
  }

  .discovery-deals-button {
    padding:8px 10px;
    font-size:10px;
  }
}

/* ==========================================
   QRESTA DEALS & REWARDS
   LARGER FEATURED CARD
========================================== */

.discovery-deals {
  width:100%;
  margin:22px 0 26px;
}

.discovery-deals-card {
  display:flex;
  align-items:center;
  gap:22px;

  width:100%;
  min-height:145px;
  padding:16px 22px;

  background:#fff;
  border:2px solid #f2c783;
  border-radius:18px;

  box-shadow:0 8px 24px rgba(65,37,15,.10);
  text-decoration:none;
}

.discovery-deals-card img {
  width:130px;
  height:110px;
  flex-shrink:0;
  object-fit:cover;
  border-radius:14px;
}

.discovery-deals-info {
  display:flex;
  flex:1;
  flex-direction:column;
  gap:9px;
  min-width:0;
}

.discovery-deals-info strong {
  font-size:22px;
  font-weight:900;
  line-height:1.2;
  color:#381b10;
}

.discovery-deals-info small {
  font-size:14px;
  line-height:1.5;
  color:#80634c;
}

.discovery-deals-label {
  font-size:12px;
  font-weight:800;
  color:#078451;
}

.discovery-deals-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;

  padding:15px 25px;
  border-radius:11px;

  background:#f47720;
  color:#fff;

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

@media(max-width:600px) {
  .discovery-deals-card {
    gap:12px;
    min-height:115px;
    padding:12px;
  }

  .discovery-deals-card img {
    width:88px;
    height:88px;
  }

  .discovery-deals-info {
    gap:5px;
  }

  .discovery-deals-info strong {
    font-size:15px;
  }

  .discovery-deals-info small {
    font-size:11px;
  }

  .discovery-deals-label {
    font-size:10px;
  }

  .discovery-deals-button {
    padding:10px 12px;
    font-size:11px;
  }
}

/* COMPACT QRESTA LAUNCH COUNTDOWN */

.launch-countdown {
  max-width: 1100px;
  margin: 12px auto 20px;
  padding: 12px 16px;
  background: #1b2230;
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.launch-info strong {
  display: block;
  color: #ffd16a;
  font-size: 16px;
}

.launch-info small {
  display: block;
  color: #d6dce6;
  font-size: 11px;
}

.countdown-timer {
  display: flex;
  gap: 6px;
  margin: 0;
}

.countdown-timer > div {
  background: rgba(255,255,255,.1);
  border-radius: 7px;
  padding: 6px 9px;
  text-align: center;
  min-width: 48px;
}

.countdown-timer strong {
  display: block;
  color: #ffd16a;
  font-size: 21px;
  line-height: 1.2;
}

.countdown-timer span {
  font-size: 9px;
  text-transform: uppercase;
}

@media (max-width: 480px) {
  .launch-countdown {
    padding: 9px 7px;
    gap: 5px;
  }

  .launch-info strong {
    font-size: 12px;
  }

  .launch-info small {
    font-size: 9px;
  }

  .countdown-timer {
    gap: 3px;
    flex-shrink: 0;
  }

  .countdown-timer > div {
    min-width: 32px;
    padding: 5px 3px;
  }

  .countdown-timer strong {
    font-size: 15px;
  }

  .countdown-timer span {
    font-size: 8px;
  }
}

/* ==========================================
   QRESTA CURRENT LOCATION
========================================== */

.current-location-row {
  display: flex;
  justify-content: center;
  margin: 12px auto 8px;
  width: 100%;
}

.current-location-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 25px;
  border: 2px solid #ff7515;
  border-radius: 14px;
  background: #fff;
  color: #32170e;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}

.current-location-btn:hover {
  background: #fff2dc;
  transform: translateY(-1px);
}

.current-location-btn span {
  color: #ff7515;
  font-size: 23px;
}

.location-status {
  text-align: center;
  font-size: 13px;
  color: #68452e;
}

.location-status:empty {
  display: none;
}

/* EMAIL POPUP */

.location-overlay[hidden] {
  display: none !important;
}

.location-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(28, 15, 7, .58);
}

.location-dialog {
  position: relative;
  width: 100%;
  max-width: 390px;
  padding: 30px 24px;
  background: #fff;
  border: 1px solid #ffcf8b;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
  text-align: center;
}

.location-close {
  position: absolute;
  right: 15px;
  top: 12px;
  border: 0;
  background: transparent;
  font-size: 27px;
  cursor: pointer;
}

.location-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: linear-gradient(135deg,#ffad20,#ff6900);
  color: #fff;
  font-size: 30px;
}

.location-dialog h2 {
  margin: 0 0 10px;
  color: #32170e;
  font-size: 23px;
}

.location-dialog p {
  color: #66534a;
  font-size: 14px;
  line-height: 1.5;
}

#locationEmailForm {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

#locationEmail {
  width: 100%;
  padding: 15px;
  border: 1px solid #e8d2b8;
  border-radius: 12px;
  font-size: 15px;
}

#locationEmailForm button {
  padding: 15px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg,#ff9d18,#ff6500);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.location-divider {
  margin: 18px 0;
  color: #999;
}

.location-guest {
  width: 100%;
  padding: 13px;
  border: 2px solid #ff7515;
  border-radius: 12px;
  background: #fff;
  color: #32170e;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 600px) {
  .current-location-btn {
    width: 100%;
    min-height: 49px;
  }

  .current-location-row {
    padding: 0 12px;
  }

  .location-dialog {
    padding: 28px 20px;
  }
}


/* QRESTA LOCATION SEARCH ALIGNMENT */

#restaurants .discovery-location-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin: 0 auto 18px;
}

#restaurants .discovery-location-controls .zip-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  margin: 0;
  padding: 0;
  transform: none;
}

#restaurants .discovery-location-controls .current-location-row {
  display: flex;
  align-items: center;
  position: static;
  width: auto;
  margin: 0;
  padding: 0;
  transform: none;
}

#restaurants .discovery-location-controls .zip-row input {
  width: 100px;
}

#restaurants .discovery-location-controls .zip-row button,
#restaurants .discovery-location-controls .current-location-btn {
  min-height: 44px;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 600px) {
  #restaurants .discovery-location-controls {
    flex-direction: column;
    align-items: stretch;
  }

  #restaurants .discovery-location-controls .zip-row {
    width: 100%;
    flex-wrap: wrap;
  }

  #restaurants .discovery-location-controls .current-location-row,
  #restaurants .discovery-location-controls .current-location-btn {
    width: 100%;
  }
}

/* QRESTA SEARCH MESSAGE */

.qresta-search-message {
  text-align: center;
  background: #fffaf0;
  border: 1px solid #f0dfbd;
  border-radius: 20px;
  padding: 28px 20px;
  margin: 20px 0;
  color: #26352b;
}

.qresta-search-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.qresta-search-message small {
  color: #527548;
  font-weight: 800;
  letter-spacing: 1px;
}

.qresta-search-message h3 {
  font-size: 24px;
  margin: 12px 0;
}

.qresta-search-message p {
  max-width: 460px;
  margin: 10px auto;
  line-height: 1.6;
}

.qresta-search-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.qresta-search-actions button {
  background: #267346;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 13px 20px;
  font-weight: 700;
  cursor: pointer;
}

#suggestQresta {
  background: white;
  color: #267346;
  border: 2px solid #267346;
}

@media (max-width: 600px) {
  .qresta-search-actions {
    flex-direction: column;
  }

  .qresta-search-actions button {
    width: 100%;
  }
}
