@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --brand-red: #FF2020;
  --brand-red-hover: #E01818;
  --brand-blue: #A3D8E8;
  --brand-blue-soft: #E8F6FA;
  --brand-blue-border: #BCE4F0;
  --bg-main: #F7F8FA;
  --surface-card: #FFFFFF;
  --text-main: #111827;
  --text-secondary: #4B5563;
  --text-muted: #8E9BAE;
  --border-light: #EBEFF3;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
  --shadow-float: 0 12px 36px rgba(0,0,0,0.12);
  --font-mono: 'Space Mono', monospace;
  --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography matching the PDF menu (Supply font style) */
.font-mono, .badge-mono, .dish-title, .price-tag, .banner-mono {
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

/* ====================================================
   DESKTOP BLOCKER / QR CODE ONLY VIEW
   ==================================================== */
#desktop-screen {
  display: none;
  min-height: 100vh;
  width: 100vw;
  background: radial-gradient(circle at 50% 20%, #F0F9FC 0%, #FFFFFF 65%, #F4F6F9 100%);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.desktop-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border-radius: 32px;
  max-width: 540px;
  width: 100%;
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.desktop-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
}

.desktop-logo-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  border: 4px solid var(--brand-blue-border);
  box-shadow: 0 8px 24px rgba(163, 216, 232, 0.35);
  overflow: hidden;
  background: var(--brand-blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.desktop-logo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.desktop-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-blue-soft);
  color: #0E6885;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.desktop-title {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.desktop-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.qr-box-container {
  background: #FFFFFF;
  border: 2px dashed var(--brand-blue-border);
  padding: 1.25rem;
  border-radius: 24px;
  display: inline-block;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}

.qr-box-container svg {
  display: block;
  border-radius: 12px;
}

.desktop-instructions {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.desktop-address {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  font-family: var(--font-mono);
}

/* ====================================================
   MOBILE WEBAPP CONTAINER
   ==================================================== */
#mobile-app {
  max-width: 500px;
  margin: 0 auto;
  min-height: 100vh;
  background: #FFFFFF;
  position: relative;
  box-shadow: 0 0 40px rgba(0,0,0,0.05);
  padding-bottom: 100px; /* Space for bottom floating bar */
}

/* Top App Bar */
.top-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 1rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--brand-red);
  overflow: hidden;
  flex-shrink: 0;
}

.brand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text h1 {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-main);
}

.brand-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Order Mode Selector Pill */
.mode-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brand-blue-soft);
  border: 1px solid var(--brand-blue-border);
  color: #0B5870;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mode-toggle-btn:active {
  transform: scale(0.96);
}

/* Hero Banner */
.hero-banner-container {
  position: relative;
  margin: 0.75rem 1rem 1rem 1rem;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #000000;
}

.hero-banner-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  opacity: 0.9;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #FFFFFF;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.hero-title {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.hero-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* Category Icons Bar */
.category-nav-wrapper {
  position: sticky;
  top: 61px;
  z-index: 35;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.6rem 0.75rem;
}

.category-scroll-list {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0.2rem 0.25rem;
}

.category-scroll-list::-webkit-scrollbar {
  display: none;
}

.category-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 9999px;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.category-pill .cat-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.category-pill.active {
  background: var(--brand-red);
  color: #FFFFFF;
  border-color: var(--brand-red);
  box-shadow: 0 4px 14px rgba(255, 32, 32, 0.3);
  transform: translateY(-1px);
}

/* Quick Filter Bar (Favorites toggle & search) */
.quick-bar {
  display: flex;
  gap: 0.6rem;
  padding: 0.75rem 1rem 0.25rem 1rem;
}

.search-input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper input {
  width: 100%;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 0.6rem 0.85rem 0.6rem 2.25rem;
  font-size: 0.85rem;
  color: var(--text-main);
  outline: none;
  transition: border 0.2s;
  font-family: var(--font-sans);
}

.search-input-wrapper input:focus {
  border-color: var(--brand-red);
  background: #FFFFFF;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  color: var(--text-muted);
  pointer-events: none;
}

.fav-filter-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 0.6rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.fav-filter-btn.active {
  background: #FFF1F1;
  border-color: #FFA5A5;
  color: var(--brand-red);
}

/* ====================================================
   INTER-CATEGORY BANNERS
   ==================================================== */
.category-section-banner {
  margin: 1.75rem 1rem 1rem 1rem;
  background: linear-gradient(135deg, #F8FAFC 0%, var(--brand-blue-soft) 100%);
  border: 1px solid var(--brand-blue-border);
  border-radius: 20px;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.cat-banner-content {
  position: relative;
  z-index: 2;
  max-width: 78%;
}

.cat-banner-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--brand-red);
  color: #FFFFFF;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.cat-banner-title {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.cat-banner-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.cat-banner-icon {
  font-size: 2.4rem;
  line-height: 1;
  opacity: 0.9;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.06));
}

/* ====================================================
   DISH CARDS & CLEAN WHITE IMAGE FRAMING
   ==================================================== */
.dishes-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.5rem 1rem 1rem 1rem;
}

.dish-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 0.95rem;
  display: flex;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.dish-card:active {
  transform: scale(0.985);
}

/* Clean White Image Framing as requested: "las imagenes de cada plato deben quedar en fondo blanco limpio" */
.dish-img-box {
  width: 105px;
  height: 105px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.02);
  overflow: hidden;
}

.dish-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  background: #FFFFFF;
}

.dish-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.dish-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.dish-name {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.dish-fav-btn {
  background: none;
  border: none;
  color: #D1D5DB;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 0.2rem;
  line-height: 1;
  transition: color 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.dish-fav-btn.is-fav {
  color: var(--brand-red);
  transform: scale(1.1);
}

.dish-fav-btn:active {
  transform: scale(0.9);
}

.dish-description {
  font-size: 0.77rem;
  color: var(--text-secondary);
  line-height: 1.35;
  margin: 0.35rem 0 0.6rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dish-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.dish-price-group {
  display: flex;
  flex-direction: column;
}

.price-main {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.price-combo-hint {
  font-size: 0.68rem;
  color: #0E6885;
  font-weight: 600;
  font-family: var(--font-mono);
}

.btn-add-dish {
  background: var(--brand-red);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 0.45rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 4px 10px rgba(255, 32, 32, 0.25);
  transition: all 0.15s ease;
}

.btn-add-dish:active {
  transform: scale(0.92);
}

/* Card for dishes WITHOUT images */
.dish-card.no-image {
  border-left: 4px solid var(--brand-blue);
}

.dish-card.no-image .dish-info-col {
  width: 100%;
}

/* ====================================================
   BOTTOM APP MENU (APP STYLE WITH ROUNDED EDGES & ACTIVE CIRCLE)
   Requirement: "la barra de menu inferior debe tener bordes redondeados,
   a medida que voy seleccionando un item del menu debe encerrarse en un
   circulo del color de la marca"
   ==================================================== */
.bottom-nav-bar {
  position: fixed;
  bottom: 1.15rem;
  left: 1.15rem;
  right: 1.15rem;
  max-width: 440px;
  margin: 0 auto;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 32, 32, 0.15);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(255, 32, 32, 0.08);
  border-radius: 9999px; /* Rounded borders */
  padding: 0.45rem 0.6rem;
}

.bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
}

.nav-item-btn {
  background: none;
  border: none;
  outline: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  padding: 0.25rem 0.5rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* The Icon container that becomes an animated circle when selected */
.nav-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7280;
  background: transparent;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.nav-icon-circle svg {
  width: 22px;
  height: 22px;
  transition: transform 0.25s ease;
}

/* ACTIVE STATE: Enclosed in a brand red circle! */
.nav-item-btn.active .nav-icon-circle {
  background-color: var(--brand-red); /* Brand color circle */
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(255, 32, 32, 0.38);
  transform: translateY(-4px) scale(1.08);
}

.nav-item-btn.active .nav-icon-circle svg {
  transform: scale(1.05);
}

.nav-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #6B7280;
  margin-top: 0.15rem;
  transition: color 0.2s;
  font-family: var(--font-mono);
}

.nav-item-btn.active .nav-label {
  color: var(--brand-red);
}

/* Cart Badge inside bottom bar */
.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--brand-red);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.nav-item-btn.active .cart-badge {
  background: #111827;
  border-color: var(--brand-red);
}

/* ====================================================
   MODALS & BOTTOM SHEETS
   ==================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.bottom-sheet {
  background: #FFFFFF;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  border-radius: 32px 32px 0 0;
  padding: 1.5rem 1.25rem 2rem 1.25rem;
  overflow-y: auto;
  box-shadow: var(--shadow-float);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.sheet-handle {
  width: 44px;
  height: 5px;
  background: #E5E7EB;
  border-radius: 9999px;
  margin: 0 auto 1.25rem auto;
}

.sheet-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #F3F4F6;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4B5563;
  cursor: pointer;
  font-size: 1.1rem;
}

/* Customization Modal Styling */
.sheet-dish-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 20px;
  background: #FFFFFF;
  margin-bottom: 1rem;
  border: 1px solid var(--border-light);
}

.option-group-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  margin: 1.25rem 0 0.6rem 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.radio-pill-group {
  display: flex;
  gap: 0.6rem;
}

.radio-pill-label {
  flex: 1;
  background: var(--bg-main);
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.radio-pill-label.selected {
  background: #FFF1F1;
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.radio-pill-label .opt-name {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  display: block;
}

.radio-pill-label .opt-price {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.85;
}

.checkbox-addon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.checkbox-addon-row.checked {
  background: #F0F9FC;
  border-color: var(--brand-blue-border);
}

/* Quantity Selector */
.qty-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.btn-qty {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  background: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.btn-qty:active {
  background: var(--brand-red);
  color: #FFFFFF;
  border-color: var(--brand-red);
}

.qty-number {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  min-width: 28px;
  text-align: center;
}

/* Big Action Button */
.btn-cta-primary {
  width: 100%;
  background: var(--brand-red);
  color: #FFFFFF;
  border: none;
  border-radius: 18px;
  padding: 1rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 32, 32, 0.35);
  transition: all 0.2s;
}

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

.btn-whatsapp {
  background: #25D366;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:active {
  background: #20BA5A;
}

/* ====================================================
   ORDER MODE SWITCH (Mesa vs Domicilio)
   ==================================================== */
.order-mode-tabs {
  display: flex;
  background: var(--bg-main);
  padding: 0.3rem;
  border-radius: 16px;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-light);
}

.order-mode-tab {
  flex: 1;
  border: none;
  background: none;
  padding: 0.65rem 0.5rem;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.order-mode-tab.active {
  background: #FFFFFF;
  color: var(--brand-red);
  box-shadow: var(--shadow-sm);
}

/* Form Inputs */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg-main);
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--text-main);
  outline: none;
  font-family: var(--font-sans);
  transition: border 0.2s;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--brand-red);
  background: #FFFFFF;
}

/* Cart Item Rows */
.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-title {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.cart-item-subs {
  font-size: 0.73rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

/* Info & Location View */
.location-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 1.5rem;
  margin: 1rem;
  box-shadow: var(--shadow-sm);
}

.location-hero-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--brand-red);
  overflow: hidden;
  margin: 0 auto 1rem auto;
}

.location-hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-btn-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 0.9rem 1.1rem;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 0.75rem;
  transition: all 0.2s;
}

.location-btn-link:active {
  background: var(--brand-blue-soft);
  border-color: var(--brand-blue-border);
}

/* Toast message */
.toast-notice {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #18181B;
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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