﻿/*
 * ============================================================
 * MIX FAST FOOD - MAIN STYLESHEET
 * Soft Neo-Minimalist & Glassmorphism UI
 * ============================================================
 */

:root {
  --primary-color: #ea1d2c;
  --primary-dark: #b81220;
  --primary-light: #ffebee;

  --text-main: #3e3e3e;
  --text-muted: #717171;
  --text-light: #a6a6a6;

  --bg-body: #f8f9fa;
  --bg-card: #ffffff;

  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 32px rgba(234, 29, 44, 0.15);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Outfit", sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.text-primary {
  color: var(--primary-color);
}

/* =========================================
   UTILITIES
   ========================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  border: none;
  outline: none;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Outfit", sans-serif;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 12px rgba(234, 29, 44, 0.2);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 16px rgba(234, 29, 44, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid #ddd;
}

/*
 * ============================================================
 * MIX FAST FOOD - MAIN STYLESHEET
 * Soft Neo-Minimalist & Glassmorphism UI
 * ============================================================
 */

:root {
  --primary-color: #ea1d2c;
  --primary-dark: #b81220;
  --primary-light: #ffebee;

  --text-main: #3e3e3e;
  --text-muted: #717171;
  --text-light: #a6a6a6;

  --bg-body: #f8f9fa;
  --bg-card: #ffffff;

  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 32px rgba(234, 29, 44, 0.15);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: "Outfit", sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.text-primary {
  color: var(--primary-color);
}

/* =========================================
   UTILITIES
   ========================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  border: none;
  outline: none;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Outfit", sans-serif;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 12px rgba(234, 29, 44, 0.2);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 16px rgba(234, 29, 44, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid #ddd;
}

.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Glassmorphism Panels */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
}

/* =========================================
   HEADER
   ========================================= */
.glass-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo h2 {
  font-weight: 700;
  font-size: 24px;
}

.endereco-box {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  min-width: 220px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.endereco-box:hover {
  background: var(--primary-light);
}

.endereco-box .end-label {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: 0.6px;
}

.endereco-box .end-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.auth-buttons {
  display: flex;
  gap: 12px;
}

.btn-install-pwa[hidden] {
  display: none !important;
}

/* =========================================
   HERO & SEARCH
   ========================================= */
.hero-search {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-search h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: -1px;
  color: #1a1a1a;
}

.search-bar {
  max-width: 650px;
  margin: 0 auto;
  padding: 8px 8px 8px 24px;
  display: flex;
  align-items: center;
  border-radius: var(--radius-pill);
  background: white;
}

.search-bar i {
  color: var(--primary-color);
  font-size: 20px;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 15px;
  font-size: 16px;
  font-family: inherit;
  background: transparent;
}

.search-bar .btn-search {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
}

.search-bar .btn-search:hover {
  background: var(--primary-dark);
}

/* Abstract Background Shapes */
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  opacity: 0.4;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: #ff7675;
  top: -100px;
  left: -100px;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: #fdcb6e;
  bottom: -50px;
  right: -50px;
}

/* =========================================
   CATEGORIES CAROUSEL
   ========================================= */
.categories-section {
  margin-bottom: 40px;
}

.category-nav-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-nav-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.category-nav-btn {
  width: 44px;
  height: 44px;
  border: 1px solid #ececec;
  border-radius: 12px;
  background: #fff;
  color: #4b4b4b;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.category-nav-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-1px);
}

.category-nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.category-carousel {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 5px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 90px;
  cursor: pointer;
  transition: var(--transition);
}

.category-item .cat-icon {
  width: 70px;
  height: 70px;
  background: var(--bg-card);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.category-item span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.category-item:hover .cat-icon {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  color: var(--primary-color);
}

.category-item.active .cat-icon {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 8px 20px rgba(234, 29, 44, 0.25);
}

.category-item.active span {
  color: var(--primary-color);
  font-weight: 600;
}

/* =========================================
   RESTAURANTS GRID
   ========================================= */
.section-title {
  margin-bottom: 30px;
}

.section-title h3 {
  font-size: 22px;
  font-weight: 700;
}

.restaurants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(370px, 1fr));
  gap: 24px;
}

/* Store Card Horizontal Redesign */
.store-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.03);
  cursor: pointer;
  display: flex;
  flex-direction: row;
  padding: 16px;
  gap: 16px;
  align-items: center;
}

.store-card.closed {
  opacity: 0.7;
  filter: grayscale(0.6) brightness(0.8);
  cursor: not-allowed;
}

.store-card.closed:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
  border-color: rgba(0, 0, 0, 0.03);
}

.store-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(234, 29, 44, 0.1);
}

.store-logo-hz {
  width: 116px;
  height: 116px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  background: #fff;
  border: 1px solid #eee;
}

.store-logo-hz img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.store-closed-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.store-details-hz {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  width: auto;
}

.store-top-hz {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 8px;
  gap: 6px;
}

.store-name-hz {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  white-space: normal;
  overflow: hidden;
  text-overflow: clip;
  flex: 1;
  min-width: 0;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  padding-right: 0;
}

.store-badge-hz {
  background: #ff5e3a;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 12px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.store-desc-hz {
  font-size: 13px;
  color: #888;
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-bottom-hz {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #999;
  font-weight: 500;
}

.store-time-hz {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.store-fee-hz {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #888;
  white-space: nowrap;
  flex: 0 0 auto;
}

.store-minimo-hz {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #888;
  font-size: 11px;
  white-space: nowrap;
  flex-shrink: 0;
  flex: 0 0 auto;
}

.text-success {
  color: #00b894 !important;
  font-weight: 600;
}

/* =========================================
   STATUS PILL â€” ABERTO / FECHADO
   ========================================= */
.store-status-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.store-status-pill.status-aberto {
  background: #e6f9f0;
  color: #00875a;
  border: 1px solid #b7ebd2;
}

.store-status-pill.status-fechado {
  background: #fff0f0;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.store-status-pill .status-dot {
  font-size: 7px;
}

.status-aberto .status-dot {
  animation: pulse-green 1.8s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

/* Badge fechado mais visÃ­vel sobre o logo */
.store-closed-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  text-align: center;
  padding: 4px 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 0 0 14px 14px;
}


/* =========================================
   LOADER & MODALS
   ========================================= */
.loader-container {
  text-align: center;
  padding: 60px 0;
  display: none;
}

.loader-container p {
  color: var(--text-muted);
  margin-top: 15px;
  font-weight: 500;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(234, 29, 44, 0.2);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

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

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-overlay:target {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: white;
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  padding: 30px;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-overlay:target .modal-content {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 700;
}

.close-modal {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-install-overlay {
  background: rgba(10, 10, 16, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
}

.modal-install-content {
  position: relative;
  overflow: hidden;
  max-width: 640px;
  padding: 0;
  background: linear-gradient(180deg, #fff 0%, #fff8f8 100%);
  box-shadow: 0 24px 80px rgba(17, 7, 10, 0.28);
}

.install-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.install-close-btn:hover {
  color: var(--primary-color);
  transform: translateY(-1px);
}

.pwa-install-hero {
  position: relative;
  padding: 28px 28px 24px;
  background: linear-gradient(145deg, #ea1d2c 0%, #be1425 100%);
  color: #fff;
  overflow: hidden;
}

.pwa-install-hero::after {
  content: "";
  position: absolute;
  inset: auto -40px -56px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(4px);
}

.pwa-install-icon {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  margin-bottom: 16px;
  z-index: 1;
}

.pwa-install-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
}

.pwa-install-hero h3 {
  position: relative;
  font-size: 28px;
  line-height: 1.12;
  font-weight: 800;
  color: #fff;
  max-width: 16ch;
  z-index: 1;
}

.pwa-install-lead {
  position: relative;
  margin-top: 12px;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  z-index: 1;
}

.pwa-install-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 22px 28px 0;
}

.pwa-install-benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #f0e1e3;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(234, 29, 44, 0.05);
}

.pwa-install-benefit i {
  width: 20px;
  margin-top: 2px;
  color: var(--primary-color);
  font-size: 16px;
  text-align: center;
}

.pwa-install-benefit span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.pwa-install-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 28px 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff5f6;
  border: 1px solid #ffd6db;
  color: #8d3b45;
  font-size: 14px;
}

.pwa-install-note i {
  margin-top: 2px;
  color: var(--primary-color);
}

.pwa-install-actions {
  display: flex;
  gap: 12px;
  padding: 22px 28px 28px;
}

.pwa-install-confirm,
.pwa-install-cancel {
  flex: 1;
  min-height: 48px;
  justify-content: center;
}

.pwa-install-cancel {
  background: #fff;
  border: 1px solid #ead9dd;
}

.pwa-install-cancel:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.location-search {
  background: #f1f3f5;
  border-radius: var(--radius-md);
  padding: 5px 5px 5px 20px;
  border: 1px solid transparent;
  transition: var(--transition);
}

.category-item .cat-icon i {
  font-size: 24px;
}

.category-item .cat-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.location-search:focus-within {
  border-color: var(--primary-color);
  background: white;
}

.location-search-wrap {
  position: relative;
}

.city-picker-title {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.btn-confirm-city {
  min-width: 120px;
  justify-content: center;
}

.city-suggestions {
  display: block;
  margin-top: 0;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  max-height: 280px;
  overflow-y: auto;
  padding: 4px;
}

.city-suggestions.active {
  display: block;
}

.city-suggestion-item {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.city-suggestion-item:hover {
  background: var(--primary-light);
}

.city-suggestion-item.selected {
  background: #fff4f4;
  color: var(--primary-color);
  font-weight: 600;
}

.city-empty-state {
  margin: 0;
  padding: 12px;
  color: var(--text-muted);
  font-size: 14px;
}

.modal-contact-content {
  max-width: 520px;
}

.contact-intro {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 500;
  transition: var(--transition);
}

.contact-item i {
  width: 22px;
  text-align: center;
  font-size: 18px;
}

.contact-whatsapp i {
  color: #25d366;
}

.contact-email i {
  color: var(--primary-color);
}

.contact-item:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.modal-register-content {
  max-width: 560px;
}

.register-form {
  display: grid;
  gap: 12px;
}

.register-field {
  display: grid;
  gap: 6px;
}

.register-field label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

.register-field input,
.register-field select {
  width: 100%;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  padding: 11px 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-main);
  background: #fff;
  outline: none;
  transition: var(--transition);
}

.document-type-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.document-type-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  background: #fff;
  cursor: pointer;
  transition: var(--transition);
}

.document-type-option input {
  margin: 0;
}

.document-type-option.is-selected {
  border-color: var(--primary-color);
  background: rgba(234, 29, 44, 0.08);
  color: var(--text-main);
}

.register-field input:focus,
.register-field select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(234, 29, 44, 0.12);
}

.register-submit-btn {
  margin-top: 4px;
  justify-content: center;
  width: 100%;
}

.modal-privacy-content {
  max-width: 720px;
}

.privacy-content-body {
  max-height: 62vh;
  overflow-y: auto;
  padding-right: 4px;
}

.privacy-content-body h4 {
  font-size: 15px;
  margin: 14px 0 6px;
  color: #333;
}

.privacy-content-body p {
  font-size: 14px;
  line-height: 1.6;
  color: #616161;
}

.privacy-content-body a {
  color: var(--primary-color);
  font-weight: 600;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  margin-top: 56px;
  background: linear-gradient(145deg, #171717 0%, #242424 100%);
  color: #e9e9e9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding: 42px 20px 30px;
}

.footer-brand h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.footer-brand h3 i {
  color: var(--primary-color);
  margin-right: 8px;
}

.footer-brand h3 span {
  color: var(--primary-color);
}

.footer-brand p {
  color: #c9c9c9;
  max-width: 420px;
  margin-bottom: 18px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  transition: var(--transition);
}

.footer-social a:hover {
  transform: translateY(-2px);
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.footer-menu h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.footer-menu ul {
  display: grid;
  gap: 8px;
}

.footer-menu a {
  color: #cfcfcf;
  font-size: 15px;
  transition: var(--transition);
}

.footer-menu a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom .container {
  padding: 14px 20px 18px;
}

.footer-bottom p {
  margin: 0;
  color: #b9b9b9;
  font-size: 13px;
}

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}

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

/* =========================================
   MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
  .container {
    padding: 0 16px;
  }

  .hero-search {
    padding: 130px 0 44px;
  }

  .hero-search h1 {
    font-size: 34px;
    line-height: 1.15;
    margin-bottom: 22px;
  }

  .shape-1 {
    width: 320px;
    height: 320px;
  }

  .shape-2 {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 768px) {
  .category-nav-wrap {
    display: block;
  }

  .category-nav-controls {
    display: none;
  }

  .category-nav-btn {
    display: none;
  }

  .glass-header {
    padding: 10px 0 10px;
  }

  .header-container {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .logo {
    min-width: 0;
    order: 1;
    display: flex;
    justify-content: center;
  }

  .logo h2 {
    font-size: 22px;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo h2 i {
    font-size: 1.15em;
  }

  .auth-buttons {
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .auth-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 10px 8px;
    font-size: 12px;
    min-height: 42px;
  }

  .btn-install-pwa {
    display: inline-flex;
  }

  .auth-buttons .btn-outline {
    display: none;
  }

  .auth-buttons #btnHeaderCadastroRestaurante {
    display: inline-flex;
    padding: 10px 8px;
  }

  .btn-install-pwa[hidden] ~ #btnHeaderCadastroRestaurante {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 320px);
  }

  .auth-buttons .btn i {
    margin-right: 0;
  }

  .endereco-box {
    order: 3;
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    margin-top: 4px;
  }

  .hero-search h1 {
    font-size: 28px;
    margin-bottom: 18px;
  }

  .hero-search {
    padding: 170px 0 30px;
  }

  .search-bar {
    max-width: 100%;
    padding: 6px 6px 6px 14px;
    border-radius: 16px;
    gap: 6px;
  }

  .search-bar i {
    font-size: 18px;
  }

  .search-bar input {
    font-size: 14px;
    padding: 11px 8px;
    min-width: 0;
  }

  .search-bar .btn-search {
    padding: 11px 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  .categories-section {
    margin-bottom: 26px;
  }

  .category-carousel {
    gap: 12px;
    padding: 8px 2px 4px;
    scroll-snap-type: x mandatory;
  }

  .category-item {
    min-width: 72px;
    gap: 6px;
    scroll-snap-align: start;
  }

  .category-item .cat-icon {
    width: 56px;
    height: 56px;
    font-size: 20px;
    border-radius: 16px;
  }

  .category-item span {
    font-size: 12px;
  }

  .restaurants-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .section-title {
    margin-bottom: 18px;
  }

  .store-card {
    padding: 12px;
    gap: 12px;
    border-radius: 14px;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .store-logo-hz {
    width: 100px;
    height: 100px;
    border-radius: 14px;
  }

  .store-details-hz {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .store-top-hz {
    align-items: flex-start;
    margin-bottom: 6px;
    width: 100%;
    gap: 4px;
  }

  .store-name-hz {
    font-size: 15px;
    line-height: 1.3;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    max-width: 100%;
    word-break: break-word;
  }

  .store-status-pill {
    font-size: 10px;
    padding: 3px 8px;
  }

  .store-desc-hz {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .store-bottom-hz {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 10px;
    align-items: center;
    font-size: 10px;
  }

  .store-time-hz {
    justify-self: center;
  }

  .store-minimo-hz {
    justify-self: center;
  }

  .store-fee-hz {
    justify-self: center;
  }

  .modal-content {
    max-width: none;
    margin: 14px;
    width: calc(100% - 28px);
    border-radius: 16px;
    padding: 18px;
  }

  .modal-header {
    margin-bottom: 16px;
  }

  .modal-header h3 {
    font-size: 18px;
  }

  .modal-install-content {
    padding: 0;
  }

  .pwa-install-hero {
    padding: 22px 18px 18px;
  }

  .pwa-install-hero h3 {
    font-size: 24px;
  }

  .pwa-install-benefits {
    grid-template-columns: 1fr;
    padding: 18px 18px 0;
  }

  .pwa-install-note {
    margin: 16px 18px 0;
  }

  .pwa-install-actions {
    flex-direction: column;
    padding: 18px 18px 20px;
  }

  .city-suggestions {
    max-height: 240px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 16px 24px;
  }

  .footer-menu a {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .header-container {
    row-gap: 8px;
  }

  .logo {
    min-width: 0;
    order: 1;
    display: flex;
    justify-content: center;
  }

  .logo h2 {
    font-size: 18px;
    line-height: 1.05;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo h2 i {
    font-size: 1.12em;
  }

  .auth-buttons {
    order: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .auth-buttons .btn {
    padding: 8px 6px;
    font-size: 10px;
    min-height: 40px;
  }

  .auth-buttons #btnHeaderCadastroRestaurante {
    padding: 8px 6px;
    white-space: normal;
    text-align: center;
    line-height: 1.08;
    max-width: none;
    word-break: break-word;
  }

  .btn-install-pwa[hidden] ~ #btnHeaderCadastroRestaurante {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 280px);
  }

  .endereco-box {
    order: 3;
    margin-top: 4px;
    padding: 8px 10px;
  }

  .hero-search {
    padding-top: 140px;
  }

  .hero-search h1 {
    font-size: 24px;
  }

  .hero-search .search-bar {
    display: grid;
    grid-template-columns: 18px 1fr;
    grid-template-areas:
      "icon input"
      "button button";
    row-gap: 8px;
    column-gap: 8px;
    border-radius: 14px;
    padding: 10px;
  }

  .hero-search .search-bar i {
    grid-area: icon;
    align-self: center;
  }

  .hero-search .search-bar input {
    grid-area: input;
    padding: 8px 0;
    font-size: 14px;
  }

  .hero-search .search-bar .btn-search {
    grid-area: button;
    width: 100%;
    justify-self: stretch;
  }

  .modal-install-content {
    padding: 0;
  }

  .pwa-install-hero {
    padding: 20px 16px 16px;
  }

  .pwa-install-hero h3 {
    font-size: 22px;
    max-width: 100%;
  }

  .pwa-install-lead {
    font-size: 14px;
  }

  .pwa-install-benefits {
    gap: 10px;
    padding: 16px 16px 0;
  }

  .pwa-install-benefit {
    padding: 12px 14px;
  }

  .pwa-install-note {
    margin: 14px 16px 0;
    padding: 12px 14px;
  }

  .pwa-install-actions {
    padding: 16px 16px 18px;
  }

  .store-card {
    gap: 10px;
  }

  .store-logo-hz {
    height: 110px;
  }

  .site-footer {
    margin-top: 40px;
  }

  .footer-brand h3 {
    font-size: 21px;
  }

  .footer-brand p {
    font-size: 14px;
  }

  .footer-bottom .container {
    padding: 12px;
  }
}

