@import url("https://use.typekit.net/oai5brr.css");
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&display=swap");

:root {
  --elm-green: #2fa188;
  --elm-green-hover: #258572;
  --stone-900: #1c1917;
  --cream: #fefbf7;
  --sand: #f0e0c1;
  --muted: #78716c;
  --border: #e7e5e4;
  --white: #ffffff;
  --sunset: #e54e2b;
  --citrus: #ef8a3e;
  --sunshine: #efac37;
  --font-display: "sofia-pro-soft", "DM Sans", sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --shadow-sm: 0 2px 8px rgba(28, 25, 23, 0.06), 0 1px 2px rgba(28, 25, 23, 0.04);
  --shadow-md: 0 8px 24px rgba(28, 25, 23, 0.1), 0 2px 6px rgba(28, 25, 23, 0.06);
  --shadow-lg: 0 16px 40px rgba(28, 25, 23, 0.12), 0 4px 12px rgba(28, 25, 23, 0.08);
  --shadow-header: 0 4px 20px rgba(28, 25, 23, 0.08);
  --shadow-footer: 0 -6px 24px rgba(28, 25, 23, 0.1);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  background: var(--cream);
  color: var(--stone-900);
}

.order-hidden {
  display: none !important;
}

.order-app {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  font-family: var(--font-body);
}

.order-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--white);
  box-shadow: var(--shadow-header);
}

.order-header__center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.order-header__back {
  margin: 0;
  padding: 0.5rem 0.65rem;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--stone-900);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.order-header__back:hover {
  background: var(--cream);
  color: var(--elm-green);
}

.order-header__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-900);
  text-align: center;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-header__location {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  padding: 0.4rem 0.85rem 0.4rem 1rem;
  border: 1.5px solid var(--elm-green);
  border-radius: 999px;
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--stone-900);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.order-header__location:hover {
  border-color: var(--elm-green-hover);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.order-header__location::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--elm-green);
  opacity: 0.85;
  flex-shrink: 0;
}

.order-header__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.order-header__right button {
  position: relative;
  margin: 0;
  padding: 0.45rem 0.65rem;
  border: none;
  border-radius: 12px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--stone-900);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.order-header__right button:hover {
  background: var(--cream);
  color: var(--elm-green);
}

.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  padding: 0;
  border-radius: 50%;
  background: var(--elm-green);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  font-family: var(--font-body);
  line-height: 18px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(28, 25, 23, 0.2);
}

.order-content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.view {
  display: none;
}

.view.view-active {
  display: block;
}

.store-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 320px;
  padding: 1.5rem;
  background-image: url("/order/store-public-square.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
}

.store-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.55);
  pointer-events: none;
}

.store-hero > * {
  position: relative;
  z-index: 1;
}

.store-hero img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(28, 25, 23, 0.35));
}

.store-hero h1,
.store-hero .store-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
}

.store-hero p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

.store-select-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 1.75rem) 3rem;
  text-align: center;
}

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

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  text-align: left;
}

.store-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  margin: 0;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.store-card:hover {
  border-color: var(--elm-green);
  box-shadow: var(--shadow-md);
}

.store-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--stone-900);
}

.store-card__address {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
}

.store-card__hours {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--elm-green);
}

.menu-store-banner {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.menu-store-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.menu-store-banner__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 1000px;
  padding: 0 2rem;
}

.menu-store-banner__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 4px;
}

.menu-store-banner__name {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.menu-store-banner__address {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.menu-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 2rem 3rem;
}

.category-nav {
  position: sticky;
  top: 64px;
  z-index: 50;
  display: flex;
  gap: 8px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-nav-btn {
  flex-shrink: 0;
  margin: 0;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone-900);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.category-nav-btn:hover {
  border-color: var(--elm-green);
  color: var(--elm-green);
}

.category-nav-btn.active {
  background: var(--elm-green);
  border-color: var(--elm-green);
  color: var(--white);
}

.category-section {
  margin-bottom: 2rem;
  scroll-margin-top: 140px;
}

.category-title {
  margin: 0 0 1rem;
  padding-top: 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.menu-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.menu-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.menu-card-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: #f0ece6;
}

.menu-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.875rem 1rem;
}

.menu-card__name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--stone-900);
}

.menu-card__desc {
  display: -webkit-box;
  margin: 3px 0 0;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
}

.menu-card__price {
  display: block;
  margin-top: 6px;
  padding: 0 1rem 0.875rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--elm-green);
}

.item-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.5rem 2rem 6rem;
}

.item-hero {
  display: block;
  width: 100%;
  height: 280px;
  margin-bottom: 0;
  object-fit: cover;
  border-radius: 14px;
  background: #f0ece6;
}

.item-info__name {
  margin: 1rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--stone-900);
  line-height: 1.2;
}

.item-info__desc {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--muted);
}

.modifier-section {
  margin-bottom: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}

.modifier-label {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone-900);
}

.modifier-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modifier-pill {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--stone-900);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.modifier-pill:hover {
  border-color: var(--elm-green);
}

.modifier-pill.selected {
  background: var(--stone-900);
  border-color: var(--stone-900);
  color: var(--white);
}

.variant-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--stone-900);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.variant-pill:hover {
  border-color: var(--elm-green);
}

.variant-pill.selected {
  background: var(--elm-green);
  border-color: var(--elm-green);
  color: var(--white);
}

.variant-pill__price {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.7;
}

.variant-pill.selected .variant-pill__price {
  opacity: 0.85;
  color: var(--white);
}

.item-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1rem 2rem;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-footer);
}

.item-footer__price {
  text-align: right;
}

.item-footer__price-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.item-footer__price-value {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--elm-green);
}

.cart-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.5rem 2rem 3rem;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  padding: 4rem 1.25rem;
  text-align: center;
}

.cart-line {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-line__main {
  flex: 1;
  min-width: 0;
}

.cart-line__name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--stone-900);
}

.cart-line__mods {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}

.cart-line__price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--stone-900);
  white-space: nowrap;
}

.cart-line__qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-line__qty-value {
  min-width: 24px;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  color: var(--stone-900);
}

.quantity-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  color: var(--stone-900);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.quantity-btn:hover {
  border-color: var(--elm-green);
  background: var(--cream);
  color: var(--elm-green);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 1rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--stone-900);
}

.checkout-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.5rem 2rem 3rem;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
}

.slot-pill {
  margin: 0;
  padding: 0.6rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--stone-900);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.slot-pill:hover {
  border-color: var(--elm-green);
}

.slot-pill.selected {
  background: var(--elm-green);
  border-color: var(--elm-green);
  color: var(--white);
}

.checkout-summary {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}

.checkout-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.4rem 0;
  font-size: 0.94rem;
  font-weight: 500;
}

.checkout-summary__row--muted {
  color: var(--muted);
  font-size: 0.88rem;
}

.checkout-summary__row--total {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--stone-900);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  min-width: 160px;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 12px;
  background: var(--elm-green);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover:not(:disabled) {
  background: var(--elm-green-hover);
  box-shadow: var(--shadow-md);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  min-width: 160px;
  padding: 0.85rem 2rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--stone-900);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--elm-green);
  background: var(--cream);
  color: var(--elm-green);
}

.account-wrap {
  max-width: 440px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 1.5rem);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-input {
  width: 100%;
  height: 50px;
  padding: 0 1rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--stone-900);
  transition: border-color 0.2s ease;
}

.auth-input::placeholder {
  color: rgba(120, 113, 108, 0.65);
}

.auth-input:focus {
  outline: none;
  border-color: var(--elm-green);
}

.auth-msg {
  font-size: 0.85rem;
  font-weight: 500;
}

.auth-msg--error {
  color: var(--sunset);
}

.auth-msg--success {
  color: var(--elm-green);
  font-weight: 600;
}

.complete-wrap {
  max-width: 440px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 4vw, 1.5rem);
  text-align: center;
}

.complete-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--elm-green);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  box-shadow: var(--shadow-md);
}

.complete-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--stone-900);
}

.complete-details {
  margin-top: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  text-align: left;
}

.loading-spinner {
  width: 28px;
  height: 28px;
  margin: 2.5rem auto;
  border: 3px solid var(--border);
  border-top-color: var(--elm-green);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ─── Gift Card Visual ──────────────────────────────────────────────── */

.gc-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1.586;
  border-radius: 16px;
  overflow: hidden;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.gc-visual__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gc-visual__swoop {
  position: absolute;
  border-radius: 999px;
}

.gc-visual__swoop--1 {
  width: 500px;
  height: 160px;
  background: var(--citrus);
  opacity: 0.18;
  top: -60px;
  right: -180px;
  transform: rotate(-12deg);
}

.gc-visual__swoop--2 {
  width: 400px;
  height: 120px;
  background: var(--sunshine);
  opacity: 0.14;
  bottom: -40px;
  left: -120px;
  transform: rotate(8deg);
}

.gc-visual__swoop--3 {
  width: 300px;
  height: 100px;
  background: var(--sand);
  opacity: 0.1;
  top: 60px;
  left: -60px;
  transform: rotate(-5deg);
}

.gc-visual__top {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.gc-visual__logo-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gc-visual__logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.gc-visual__brand {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
}

.gc-visual__type {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin-top: 1px;
}

.gc-visual__balance {
  position: relative;
  z-index: 1;
  margin-top: 4px;
}

.gc-visual__balance-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

.gc-visual__balance-amount {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: white;
  margin-top: 2px;
}

.gc-visual__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.gc-visual__number {
  font-size: 14px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.65);
}

.gc-visual__from {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 3px;
}

.gc-visual__label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  max-width: 100px;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gc-visual__theme-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.gc-visual__theme-emoji {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 48px;
  opacity: 0.15;
  pointer-events: none;
}

/* ─── Compact card in wallet ─────────────────────────────────────── */

.gc-compact {
  position: relative;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  cursor: default;
}

.gc-compact__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gc-compact__logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.gc-compact__info {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.gc-compact__label {
  font-weight: 700;
  font-size: 14px;
  color: white;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gc-compact__number {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
  letter-spacing: 1px;
}

.gc-compact__balance {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.3px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* ─── Theme picker ───────────────────────────────────────────────── */

.gc-themes {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 0 4px;
  scrollbar-width: none;
}

.gc-themes::-webkit-scrollbar {
  display: none;
}

.gc-theme-pill {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gc-theme-pill:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.gc-theme-pill--active {
  border-color: white;
  border-width: 2.5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.gc-theme-pill__emoji {
  font-size: 24px;
  position: relative;
  z-index: 1;
}

.gc-theme-pill__name {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 3px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.gc-theme-pill--active .gc-theme-pill__name {
  color: white;
}

.gc-theme-pill__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

/* ─── Preset amount buttons ──────────────────────────────────────── */

.gc-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.gc-amount-btn {
  flex: 1;
  min-width: 80px;
  margin: 0;
  padding: 0.65rem 0.5rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--stone-900);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.gc-amount-btn:hover {
  border-color: var(--elm-green);
}

.gc-amount-btn--active {
  background: var(--elm-green);
  border-color: var(--elm-green);
  color: white;
}

/* ─── Send-to toggle ─────────────────────────────────────────────── */

.gc-toggle-row {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 12px;
}

.gc-toggle-btn {
  flex: 1;
  margin: 0;
  padding: 0.75rem 0.5rem;
  border: none;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.gc-toggle-btn:first-child {
  border-right: 1px solid var(--border);
}

.gc-toggle-btn--active {
  background: var(--stone-900);
  color: white;
}

/* ─── Gift card buy form section ─────────────────────────────────── */

.gc-section {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}

.gc-section__title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone-900);
  margin: 0 0 4px;
}

.gc-section__subtitle {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.gc-field-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--stone-900);
  margin-bottom: 6px;
}

.gc-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.gc-summary__label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gc-summary__amount {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--elm-green);
}

/* ─── Wallet reload options ──────────────────────────────────────── */

.gc-reload-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.gc-reload-btn {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--elm-green);
  border-radius: 8px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--elm-green);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.gc-reload-btn:hover {
  background: var(--elm-green);
  color: white;
}

/* ── Favorites section (menu top) ── */

.favorites-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 2rem 0;
}

.favorites-section__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--elm-green);
  margin-bottom: 0.75rem;
}

.favorites-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.favorites-scroll::-webkit-scrollbar {
  display: none;
}

.favorite-card {
  flex-shrink: 0;
  width: 140px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.favorite-card:hover {
  border-color: var(--elm-green);
  box-shadow: 0 2px 8px rgba(47, 161, 136, 0.12);
}

.favorite-card__img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  display: block;
}

.favorite-card__img--empty {
  background: var(--border);
}

.favorite-card__body {
  padding: 0.5rem 0.65rem;
}

.favorite-card__name {
  font-weight: 700;
  font-size: 0.8rem;
  display: block;
  line-height: 1.2;
}

.favorite-card__price {
  font-size: 0.75rem;
  color: var(--elm-green);
  font-weight: 700;
  display: block;
  margin-top: 2px;
}

/* ── Reorder button (past orders) ── */

.reorder-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.4rem 1rem;
  border: 1.5px solid var(--elm-green);
  border-radius: 8px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--elm-green);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.reorder-btn:hover {
  background: var(--elm-green);
  color: white;
}

@media (max-width: 640px) {
  .store-hero {
    height: 240px;
  }

  .store-hero h1,
  .store-hero .store-hero__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .order-header {
    padding: 0 1rem;
  }

  .menu-wrap {
    padding: 0 1rem 2.5rem;
  }

  .menu-store-banner {
    height: 140px;
  }

  .menu-store-banner__logo {
    width: 36px;
    height: 36px;
  }

  .menu-store-banner__name {
    font-size: 1rem;
  }

  .category-nav {
    padding: 0.75rem 1rem;
  }

  .item-wrap,
  .cart-wrap,
  .checkout-wrap {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .item-footer {
    padding: 1rem;
  }

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

  .item-hero {
    height: 200px;
  }

  .category-section {
    scroll-margin-top: 120px;
  }

  .gc-visual__balance-amount {
    font-size: 28px;
  }

  .gc-visual {
    padding: 16px;
  }

  .gc-theme-pill {
    width: 68px;
    height: 68px;
  }

  .gc-theme-pill__emoji {
    font-size: 20px;
  }

  .favorites-section {
    padding: 0.75rem 1rem 0;
  }
}
