/* ========================================
   MOOVTUR - SISTEMA DE DESIGN PREMIUM
   Unificando Estilo e Responsividade
======================================== */

:root {
  --primary: #00BACE;
  --primary-dark: #008fa3;
  --secondary: #00ceac;
  --text-main: #1e293b;
  --text-sec: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --error: #ef4444;
  --success: #00ceac;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-premium: 0 10px 40px -10px rgba(0, 186, 206, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
}

/* ========== HEADER MODERNO ========== */
header {
  position: sticky;
  top: 0;
  height: 70px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.logo h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -1.5px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
  cursor: pointer;
}

/* ========== HEADER ========== */
header {
  height: 80px;
}

.left-action {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mochila-noti {
  display: flex;
  gap: 8px;
}

.user-account {
  position: relative;
}

#burgue-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px !important;
  width: auto !important;
  border-radius: 30px !important;
}

#burgue-menu i:first-child {
  font-size: 14px;
}

#burgue-menu i:last-child {
  font-size: 26px;
  color: var(--text-sec);
}

/* ========== POPUPS DE FILTRO (MOBILE & DESKTOP) ========== */
.filter-popup,
.datefilter,
.pessoas-filter {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 24px;
  display: none;
  z-index: 1001;
  border: 1px solid #f0f0f0;
  animation: modalIn 0.3s ease;
}

.filter-popup.active,
.datefilter.active,
.pessoas-filter.active {
  display: block;
}

.filter-popup {
  width: 400px;
}

.datefilter {
  width: 450px;
}

.pessoas-filter {
  width: 320px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f7f7f7;
  padding: 12px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 16px;
  width: 100%;
}

.destination-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  cursor: pointer;
  border-radius: 12px;
  transition: 0.2s;
}

.destination-item:hover {
  background: #f7f7f7;
}

.destination-icon {
  width: 40px;
  height: 40px;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--primary);
}

/* Calendário */
.dateday {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.dia {
  padding: 10px 5px;
  text-align: center;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
  border: 1px solid transparent;
}

.dia:hover {
  background: #f0fbfc;
  color: var(--primary);
}

.dia.selecionado {
  background: var(--primary);
  color: white;
}

.dia-semana {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.6;
}

.numero-dia {
  font-size: 16px;
  font-weight: 800;
}

.mes {
  font-size: 10px;
  font-weight: 700;
}

/* Contador de Pessoas */
.contador-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.contador-info span {
  display: block;
}

.contador-titulo {
  font-weight: 700;
  color: var(--text-main);
}

.contador-desc {
  font-size: 12px;
  color: var(--text-sec);
}

.contador-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contador-controls button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: white;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.contador-controls button:hover:not(:disabled) {
  border-color: var(--text-main);
}

.contador-valor {
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.btn-aplicar {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  background: var(--text-main);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}


/* FILTRO DE BUSCA (HEADER) - SMART SEARCH */
.filtro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}
.smart-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 4px 0 18px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(226,232,240,0.8);
  border-radius: 56px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.02);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  min-width: 420px;
}
.smart-search:focus-within {
  border-color: var(--primary);
  background: rgba(255,255,255,1);
  box-shadow: 0 4px 24px rgba(0,186,206,0.18), 0 0 0 1px rgba(0,186,206,0.08);
}
.smart-search-icon {
  color: var(--text-muted);
  font-size: 15px;
  flex-shrink: 0;
  transition: color 0.25s ease;
}
.smart-search:focus-within .smart-search-icon {
  color: var(--primary);
}
.smart-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 14px;
  font-size: 14.5px;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  background: transparent;
  min-width: 0;
  letter-spacing: 0.2px;
}
.smart-search input::placeholder {
  color: #94a3b8;
  font-weight: 400;
  letter-spacing: 0;
}
.smart-search-clear {
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-right: 2px;
}
.smart-search-clear:hover {
  background: #f1f5f9;
  color: var(--text-main);
}

/* Dropdown de sugestões */
.smart-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.04);
  max-height: 380px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
  z-index: 200;
}
.smart-dropdown.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.smart-dropdown::-webkit-scrollbar { width: 4px; }
.smart-dropdown::-webkit-scrollbar-track { background: transparent; }
.smart-dropdown::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 4px; }

/* Items do dropdown */
.sd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid #f1f5f9;
}
.sd-item:last-child { border-bottom: none; }
.sd-item:hover { background: #f8fafc; }
.sd-item:first-child { border-radius: 20px 20px 0 0; }
.sd-item:last-child { border-radius: 0 0 20px 20px; }

.sd-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  color: var(--text-muted);
  background: #f1f5f9;
}
.sd-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #e2e8f0;
}
.sd-img.tour-thumb {
  border-radius: 10px;
  width: 48px;
  height: 48px;
}
.sd-info {
  flex: 1;
  min-width: 0;
}
.sd-info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sd-info span {
  display: block;
  font-size: 12px;
  color: #94a3b8;
}
.sd-info .sd-location {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 1px;
}
.sd-info .sd-location i { font-size: 9px; color: var(--primary); }
.sd-meta {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.sd-meta i { color: #f59e0b; }
.sd-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}
.sd-badge.profile { background: #e0f7fa; color: #008fa3; }
.sd-badge.tour { background: #fef3c7; color: #b45309; }

.sd-empty {
  padding: 24px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.sd-see-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  border-top: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}
.sd-see-all:hover { background: #f8fafc; }

.smart-hint {
  display: flex;
  gap: 16px;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}
.smart-hint.visible {
  opacity: 1;
  height: auto;
  pointer-events: auto;
}
.smart-hint span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.smart-hint i {
  font-size: 10px;
  color: var(--primary);
}
.smart-hint strong {
  color: var(--primary);
}

/* AÇÕES DO USUÁRIO */
.left-action {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mochila-noti button,
.user-account button {
  background: var(--bg-light);
  border: 1px solid #e2e8f0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #475569;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.mochila-noti button:hover,
.user-account button:hover {
  background: var(--white);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* BADGES */
.backpack-count,
.notification-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--error);
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

/* ========== BANNERS PROMOCIONAIS (carrossel) ========== */
.banner-wrap {
  background: var(--white);
  padding-top: 10px;
}

.banner-carousel {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.banner-viewport {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.banner-track {
  position: relative;
  display: flex;
  aspect-ratio: 21 / 6;
  background: var(--bg-light);
  transition: transform 0.55s cubic-bezier(.65, 0, .35, 1);
}

.banner-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  padding: 0 50px;
}

.banner-slide.has-text::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.15) 55%, rgba(15, 23, 42, 0) 80%);
  z-index: 1;
}

.banner-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

@media (max-width: 720px) {
  .banner-slide { padding: 0 22px; }
}

@media (max-width: 720px) {
  .banner-content { padding: 14px 20px; }
}

.banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.banner-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
  text-wrap: balance;
}

@media (max-width: 720px) {
  .banner-title { font-size: 18px; line-height: 1.25; }
}

.banner-sub {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.92;
  line-height: 1.5;
  max-width: 440px;
  margin: 0 0 16px;
}

.banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--text-main);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

@media (max-width: 720px) {
  .banner-eyebrow, .banner-sub, .banner-cta { display: none; }
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background 0.2s;
}

.banner-arrow:hover {
  background: #fff;
}

.banner-arrow-prev {
  left: 34px;
}

.banner-arrow-next {
  right: 34px;
}

@media (max-width: 720px) {
  .banner-arrow { width: 32px; height: 32px; font-size: 12px; }
  .banner-arrow-prev { left: 26px; }
  .banner-arrow-next { right: 26px; }
}

.banner-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 3;
}

.banner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all 0.25s;
}

.banner-dot.active {
  background: #fff;
  width: 20px;
  border-radius: 4px;
}

/* ========== CATEGORIAS MODERNO ========== */
.category-all {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px 60px 12px;
  background: var(--bg-light);
  gap: 56px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: sticky;
  top: 70px;
  z-index: 999;
}

@media (min-width: 769px) {
  .category-all {
    justify-content: space-between;
  }
}

.category-all::-webkit-scrollbar {
  display: none;
}

.category-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--text-sec);
  cursor: pointer;
  transition: var(--transition);
  min-width: 64px;
  position: relative;
  padding-bottom: 8px;
}

.category-btn i {
  font-size: 17px;
  transition: var(--transition);
}

.category-btn span {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.category-btn:hover {
  color: var(--primary);
}

.category-btn:hover i {
  transform: translateY(-3px);
}

.category-btn.active {
  color: var(--primary);
}

.category-btn.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: var(--primary);
  border-radius: 10px;
}

/* ========== VITRINE E GRID ========== */
.vitrine {
  padding: 30px 60px;
  max-width: 1600px;
  margin: 0 auto;
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

/* TOUR CARD REESTILIZADO (Estilo Premium) */
.tour-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(0, 186, 206, 0.1);
}

.tour-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.tour-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tour-card:hover .tour-image-container img {
  transform: scale(1.1);
}

/* Badge de desconto ou categoria no card */
.tour-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.tour-info {
  padding: 20px;
}

.tour-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.tour-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.tour-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--text-sec);
  margin-bottom: 15px;
}

.tour-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 15px;
  border-top: 1px solid #f1f5f9;
}

.tour-price {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 11px;
  color: var(--text-sec);
  text-transform: uppercase;
  font-weight: 600;
}

.price-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}

/* ========== MODAIS E CHECKOUT PREMIUM ========== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--white);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  position: relative;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.modal-header {
  padding: 30px 40px;
  border-bottom: 1px solid #f1f5f9;
}

.modal-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
}

.checkout-form {
  padding: 40px;
}

.checkout-summary {
  padding: 40px;
  background: #f8fafc;
  border-left: 1px solid #f1f5f9;
  max-height: 100%;
  overflow-y: auto;
}

.summary-item {
  display: flex !important;
  gap: 15px !important;
  margin-bottom: 20px !important;
  align-items: center !important;
  padding: 10px !important;
  background: white !important;
  border-radius: 12px !important;
  border: 1px solid #f1f5f9 !important;
}

.summary-item img {
  width: 70px !important;
  height: 70px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  flex-shrink: 0 !important;
}

.summary-item h4 {
  font-size: 14px !important;
  font-weight: 700 !important;
  margin: 0 0 4px 0 !important;
  color: var(--text-main) !important;
}

.summary-item p {
  font-size: 12px !important;
  color: var(--text-sec) !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.input-group-modal {
  margin-bottom: 20px;
}

.input-group-modal label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.modal-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-size: 15px;
  transition: var(--transition);
}

.modal-input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 186, 206, 0.1);
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-row .input-group-modal {
  flex: 1;
}

.price-breakdown {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px dashed #e2e8f0;
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-weight: 600;
}

.btn-pay {
  width: 100%;
  padding: 18px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 30px;
}

.btn-pay:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-premium);
}

.coupon-section {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.coupon-section .input-group-modal {
  margin-bottom: 0;
}

.btn-check {
  padding: 0 20px !important;
  font-weight: 700;
  font-size: 13px;
  transition: var(--transition);
}

.btn-check:hover {
  filter: brightness(0.9);
}

.checkout-terms {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 15px;
  font-size: 13px;
  color: var(--text-sec);
  cursor: pointer;
}

.checkout-terms input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.btn-check {
  transition: var(--transition);
}

.btn-check:hover {
  filter: brightness(0.9);
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    border-left: none;
    border-top: 1px solid #f1f5f9;
  }

  .modal-content {
    max-width: 100%;
    border-radius: var(--radius-md);
  }
}


/* ========== SKELETON LOADING PREMIUM ========== */
.skeleton-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
}

.skeleton-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ========== RESPONSIVIDADE (MOBILE) ========== */
@media (max-width: 1024px) {
  header {
    padding: 12px 30px;
  }

  .category-all {
    padding: 2px 30px 14px;
  }

  .vitrine {
    padding: 20px 30px;
  }
}

@media (max-width: 768px) {
  .logo h1 {
    font-size: 22px;
  }

  .logo img {
    height: 32px;
  }

  header {
    height: auto;
    padding: 12px 16px !important;
  }

  /* Botão lupa mobile */
  .mobile-search-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-sec);
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
  }
  .mobile-search-btn:active {
    background: rgba(0,0,0,0.05);
    color: var(--primary);
  }

  /* Filtro vira overlay em tela cheia no mobile */
  .filtro {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    padding: 12px 16px;
    margin: 0;
    z-index: 2000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    display: none;
  }
  .filtro.open {
    display: block;
    animation: slideDown 0.25s cubic-bezier(0.4,0,0.2,1);
  }
  .filtro-inner {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .filtro-inner .smart-search {
    flex: 1;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Botão fechar dentro da busca mobile */
  .mobile-search-close {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-sec);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: background 0.2s;
  }
  .mobile-search-close:active {
    background: rgba(0,0,0,0.05);
  }
  .smart-search {
    min-width: 0;
    width: 100%;
    padding: 0 2px 0 14px;
    border-radius: 40px;
    background: #f1f5f9;
    border-color: transparent;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  }
  .smart-search:focus-within {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(0,186,206,0.2);
  }
  .smart-search input {
    font-size: 15px;
    padding: 10px 10px;
  }
  .smart-search-icon {
    color: #94a3b8;
  }
  .smart-hint {
    display: none;
  }
  .smart-dropdown {
    left: -12px;
    right: -12px;
    top: calc(100% + 6px);
    border-radius: 16px;
    max-height: 300px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border: none;
  }
  .sd-item {
    padding: 14px 16px;
  }
  .sd-see-all {
    padding: 14px;
  }

  .category-all {
    padding: 2px 15px 10px;
    gap: 20px;
    justify-content: flex-start;
  }

  .category-btn {
    min-width: 70px;
  }

  .vitrine {
    padding: 20px 15px;
    padding-bottom: 100px;
  }

  .dropdown-menu,
  .mochila-dropdown,
  .notification-dropdown {
    right: 15px !important;
    width: 280px !important;
  }
}

/* =========================================
   RODAPÉ PREMIUM — MOOVTUR
   ========================================= */
footer {
  background: linear-gradient(135deg, #0b1120 0%, #0f172a 50%, #111c33 100%);
  padding: 100px 80px 0;
  color: #94a3b8;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
  background-size: 200% 100%;
  animation: footerGradient 4s ease-in-out infinite;
}

@keyframes footerGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 60px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

/* Brand */
.footer-brand .logo {
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: 15px;
  line-height: 1.7;
  max-width: 340px;
  margin-bottom: 28px;
  color: #64748b;
}

/* Social */
.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #94a3b8;
  font-size: 18px;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 186, 206, 0.3);
}

/* Links */
.footer-links span {
  font-size: 14px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 24px;
  display: block;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
}

.footer-links span::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin-top: 10px;
  border-radius: 2px;
}

.footer-links a {
  display: block;
  color: #64748b;
  text-decoration: none;
  margin-bottom: 14px;
  font-size: 14px;
  transition: all 0.25s ease;
  position: relative;
  padding-left: 0;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 8px;
}

/* Newsletter */
.footer-newsletter span {
  font-size: 14px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 16px;
  display: block;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
}

.footer-newsletter span::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin-top: 10px;
  border-radius: 2px;
}

.footer-newsletter p {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  color: #1e293b;
  font-size: 14px;
  font-family: 'Outfit', sans-serif;
  outline: none;
  transition: var(--transition);
}

.newsletter-form input::placeholder {
  color: #94a3b8;
}

.newsletter-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 186, 206, 0.15);
}

.newsletter-form button {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.newsletter-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 186, 206, 0.35);
}

.newsletter-form button:active {
  transform: scale(0.95);
}

/* Badges */
.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-badges span {
  all: unset;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
}

.footer-badges span i {
  color: var(--primary);
  font-size: 14px;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  position: relative;
  z-index: 1;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 13px;
  color: #475569;
  white-space: nowrap;
}

/* Payment icons */
.footer-payments {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-payments i {
  font-size: 24px;
  color: #475569;
  transition: var(--transition);
  cursor: default;
}

.footer-payments i:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

/* Privacy links */
.privacy-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.privacy-links a {
  color: #475569;
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
}

.privacy-links a:hover {
  color: var(--primary);
}

.privacy-links .dot {
  color: #334155;
  font-size: 10px;
}

/* Responsivo */
@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 70px 24px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-copy {
    white-space: normal;
  }

  .newsletter-form input {
    font-size: 16px;
  }
}

/* ========== POPUPS E DROPDOWNS REESTILIZADOS (LATÊNCIA ZERO) ========== */
.dropdown-menu,
.mochila-dropdown,
.notification-dropdown {
  position: absolute;
  top: calc(100% + 15px);
  right: 15px;
  background: var(--white);
  width: 360px;
  max-height: 80vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.25);
  padding: 0;
  display: none;
  flex-direction: column;
  z-index: 2000;
  border: 1px solid rgba(0, 186, 206, 0.1);
  animation: dropdownIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

@keyframes dropdownIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mochila-dropdown.active,
.notification-dropdown.active,
.dropdown-menu.active {
  display: flex !important;
}

/* MENU DE USUÁRIO (PERFIL) - ESPECÍFICO */
.dropdown-menu {
  padding: 10px !important;
  /* Menu de perfil prefere padding interno direto */
}

.user-header {
  padding: 15px 12px 10px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 8px;
}

.user-header h4 {
  color: var(--primary);
  font-size: 16px;
  font-weight: 800;
  margin: 0;
}

.user-header p {
  font-size: 11px;
  color: var(--text-sec);
  margin-top: 2px;
}

.dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  text-decoration: none !important;
  /* REMOVE UNDERLINE DEFINITIVAMENTE */
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.dropdown-item i {
  font-size: 16px;
  color: var(--primary);
  width: 20px;
  text-align: center;
}

.dropdown-item:hover {
  background: #f8fafc;
  color: var(--primary);
  text-decoration: none !important;
}

.dropdown-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 8px 0;
}

.mochila-header,
.notification-header {
  padding: 14px 18px;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  gap: 10px;
}

.mochila-header h4,
.notification-header h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 170px;
}

.limpar-btn,
.mark-read-btn {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  color: var(--text-sec) !important;
  font-size: 14px !important;
  cursor: pointer !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
  padding: 0 !important;
}

.limpar-btn:hover,
.mark-read-btn:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  background: rgba(0, 186, 206, 0.05) !important;
  transform: translateY(-1px);
}

/* LISTAS INTERNAS (LIMPAS) */
.mochila-items,
.notification-list {
  padding: 15px;
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  list-style: none !important;
  margin: 0 !important;
}

.notification-list {
  padding: 0 !important;
}

/* ITEM DA MOCHILA */
.mochila-item-container {
  margin-bottom: 15px;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-md);
  padding: 12px;
  background: white;
}

.mochila-item {
  display: flex;
  gap: 12px;
  align-items: center;
  position: relative;
  margin-bottom: 12px;
}

.mochila-item img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.mochila-item-info {
  flex: 1;
}

.mochila-item-info h5 {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  color: var(--text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}

.mochila-item-info p {
  font-size: 10px;
  color: var(--text-sec);
  margin: 2px 0;
}

.mochila-price {
  font-weight: 800;
  color: var(--primary);
  font-size: 13px;
}

.remover-btn {
  width: 30px;
  height: 30px;
  background: #f8fafc;
  border: none;
  border-radius: 50%;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.remover-btn:hover {
  background: #fee2e2;
  color: var(--error);
}

/* CONFIGURAÇÃO INTERNA */
.mochila-config {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dotted #f1f5f9;
}

.config-group label {
  font-size: 9px;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}

.backpack-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 11px;
}

/* NOTIFICAÇÕES (STYLING) */
.notification-item {
  display: flex;
  gap: 15px;
  padding: 18px 25px;
  border-bottom: 1px solid #f1f5f9;
  transition: 0.2s;
  list-style-type: none !important;
}

.notification-item:hover {
  background: #f8fafc;
}

.notification-item.unread {
  background: rgba(0, 186, 206, 0.03);
  border-left: 4px solid var(--primary);
}

.notification-icon {
  width: 38px;
  height: 38px;
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.notification-content h5 {
  font-size: 14px;
  margin-bottom: 4px;
  font-weight: 700;
}

.notification-content p {
  font-size: 12px;
  color: var(--text-sec);
  line-height: 1.5;
  margin: 0;
}

.notification-time {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 6px;
  display: block;
}

.notif-follow-back {
  margin-top: 10px;
  padding: 6px 14px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.notif-follow-back:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 186, 206, 0.3);
}

.notif-follow-back:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.notification-follow {
  cursor: default;
}

.notification-follow .notification-content {
  cursor: default;
}

/* FOOTER MOCHILA */
.mochila-footer {
  padding: 20px 24px;
  background: white;
  border-top: 1px solid #f1f5f9;
  z-index: 10;
}

.mochila-footer .total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.mochila-footer .total span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sec);
}

.mochila-footer .total strong {
  font-size: 18px;
  color: var(--text-main);
  font-weight: 900;
}

.finalizar-btn {
  width: 100% !important;
  display: block !important;
  padding: 14px !important;
  background: var(--primary) !important;
  color: white !important;
  border: none !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  text-align: center !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 8px 20px rgba(0, 186, 206, 0.3) !important;
}

.finalizar-btn:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 25px rgba(0, 186, 206, 0.4) !important;
}




.premium-clear-btn {
  background: var(--white);
  border: 1.5px solid #e2e8f0;
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  color: var(--text-sec);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.premium-clear-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0, 186, 206, 0.05);
}

/* Smart Search - Profile Result */
.profile-results { display: block !important; }
.profile-result-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 500px;
  margin: 0 auto;
}
.profile-result-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,186,206,0.15);
  transform: translateY(-2px);
}
.profile-result-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1.5px #e2e8f0;
}
.profile-result-info {
  flex: 1;
  min-width: 0;
}
.profile-result-info strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}
.profile-result-info span {
  display: block;
  font-size: 13px;
  color: var(--text-sec);
}
.profile-result-loc {
  font-size: 12px !important;
  color: var(--text-muted) !important;
  display: flex !important;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
.profile-result-loc i { font-size: 10px; color: var(--primary); }
.profile-result-action { flex-shrink: 0; }

.empty-msg {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-msg i {
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
}
.empty-msg p { font-size: 15px; font-weight: 500; }

/* Responsividade Mobile Extra (Hero) */
@media (max-width: 768px) {


  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ========================================
   BOTÃO DE MOCHILA NOS CARDS DE TOUR
   Complementa o inline style do JS — não usa !important em background/color
   para não conflitar com o state gerenciado pelo JS.
======================================== */
.backpack-btn {
  transition: all 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.tour-card:hover .backpack-btn {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.backpack-btn:hover {
  transform: scale(1.12) translateY(0) !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18) !important;
}

/* Estado ativo: mochilinha azul — !important para vencer o inline style base */
.backpack-btn.active {
  background: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(0, 186, 206, 0.4) !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.backpack-btn.active:hover {
  background: var(--primary-dark) !important;
  transform: scale(1.1) !important;
}

/* Mobile: botão sempre visível */
@media (max-width: 768px) {
  .backpack-btn {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

/* ========================================
   BACKPACK DROPDOWN — DESIGN PREMIUM
======================================== */

/* Override: mochila-dropdown agora fica centralizada (Modal Premium) */
.mochila-dropdown {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  width: 400px !important;
  max-width: 90vw !important;
  height: auto !important;
  max-height: 85vh !important;
  min-height: 0 !important; /* Fix para scroll em flexbox */
  border-radius: 20px !important;
  background-color: #ffffff !important;
  box-shadow: 0 24px 80px -10px rgba(0,0,0,0.3) !important;
  overflow: hidden !important;
  display: none;
  flex-direction: column;
  z-index: 999999 !important;
  animation: popCenter 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

@keyframes popCenter {
  from {
    opacity: 0;
    transform: translate(-50%, -45%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.mochila-dropdown.active {
  display: flex !important;
}

/* ── Cabeçalho ── */
.bp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 16px;
  background: linear-gradient(135deg, #00BACE 0%, #008fa3 100%);
  flex-shrink: 0;
}

.bp-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bp-header-icon {
  font-size: 18px;
  color: #fff;
  opacity: 0.9;
}

.bp-header-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2px;
}

.bp-header-count {
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
  min-width: 22px;
  text-align: center;
}

.bp-clear-btn {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.bp-clear-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

.bp-close-btn {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.bp-close-btn:hover {
  background: #f43f5e; /* Tom avermelhado suave para fechar */
  transform: rotate(90deg);
}

/* ── Lista scrollável ── */
.bp-list {
  flex: 1 1 auto;
  min-height: 0; /* Crucial para permitir o scroll em flex-item */
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: #e2e8f0 transparent;
}

.bp-list::-webkit-scrollbar { width: 4px; }
.bp-list::-webkit-scrollbar-track { background: transparent; }
.bp-list::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 4px; }

/* ── Item da mochila ── */
.bp-item {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.bp-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.bp-item-main {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 10px;
}

/* Checkbox customizado */
.bp-check-wrap {
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.bp-check-wrap input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.bp-checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #cbd5e1;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.bp-check-wrap input:checked ~ .bp-checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

.bp-check-wrap input:checked ~ .bp-checkmark::after {
  content: '';
  display: block;
  width: 4px;
  height: 8px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

/* Thumbnail */
.bp-item-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f1f5f9;
}

/* Info do item */
.bp-item-info {
  flex: 1;
  min-width: 0;
}

.bp-item-name {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-item-loc {
  font-size: 11px;
  color: #94a3b8;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.bp-item-loc i { color: var(--primary); font-size: 10px; }

.bp-item-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
}

.bp-item-price span {
  font-size: 10px;
  font-weight: 500;
  color: #94a3b8;
}

/* Duration tag */
.bp-duration-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: #00bace;
  padding: 1px 8px;
  border-radius: 20px;
  margin-left: 6px;
  vertical-align: middle;
}

.bp-duration-display {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  padding: 8px 12px;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: 8px;
  display: block;
  text-align: center;
}

/* Botão remover */
.bp-remove-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: #f8fafc;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.bp-remove-btn:hover {
  background: #fee2e2;
  color: #ef4444;
  transform: scale(1.1);
}

/* ── Linha de configuração ── */
.bp-item-config {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px 12px 12px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
}

.bp-config-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bp-config-field label {
  font-size: 9px;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.bp-config-field label i { font-size: 9px; color: var(--primary); }

.bp-config-input {
  width: 100%;
  padding: 6px 8px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
  background: #fff;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.bp-config-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,186,206,0.1);
}

/* Subtotal do item */
.bp-item-subtotal {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 0;
  border-top: 1px dashed #e2e8f0;
  margin-top: 2px;
}

.bp-item-subtotal span {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
}

.bp-item-subtotal strong {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

/* ── Estado vazio ── */
.bp-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 24px;
  text-align: center;
}

.bp-empty-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(0,186,206,0.1), rgba(0,186,206,0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--primary);
  opacity: 0.7;
}

.bp-empty-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.bp-empty-sub {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

/* ── Rodapé ── */
.bp-footer {
  padding: 14px 16px 16px;
  background: #fff;
  border-top: 1px solid #f1f5f9;
  flex-shrink: 0;
}

.bp-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.bp-total span {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.bp-total strong {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
}

.bp-checkout-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #00BACE 0%, #008fa3 100%) !important;
  color: #fff !important;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(0,186,206,0.35);
  letter-spacing: 0.2px;
}

.bp-checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,186,206,0.45);
}

.bp-checkout-btn:active {
  transform: translateY(0);
}

/* ── Responsivo mobile ── */
@media (max-width: 768px) {
  .mochila-dropdown {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    transform: translateY(0) !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 85vh !important;
    border-radius: 24px 24px 0 0 !important;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.2) !important;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  }

  @keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);   opacity: 1; }
  }

  .bp-item-config {
    grid-template-columns: 1fr 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════
   FILTRO POR ESTADO (DROPDOWN)
═══════════════════════════════════════════════════════════ */
.state-filter-wrap {
  position: relative;
  width: 100%;
  padding: 10px 60px;
  background: var(--bg-light);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
@media (max-width: 768px) {
  .state-filter-wrap { padding: 8px 20px; }
}

.state-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1.5px solid #e2e8f0;
  border-radius: 50px;
  background: #fff;
  color: #1e293b;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Segoe UI', Roboto, sans-serif;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.state-filter-btn:hover {
  border-color: #00BACE;
  box-shadow: 0 2px 8px rgba(0, 186, 206, 0.12);
}
.state-filter-btn i:first-child {
  color: #00BACE;
  font-size: 14px;
}
.state-filter-btn i:last-child {
  font-size: 11px;
  color: #94a3b8;
  transition: transform 0.25s ease;
}
.state-filter-btn.open i:last-child {
  transform: rotate(180deg);
}

.state-filter-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 60px;
  width: 240px;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  z-index: 1001;
  padding: 6px;
  animation: dropIn 0.18s ease;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.state-filter-dropdown::-webkit-scrollbar {
  width: 4px;
}
.state-filter-dropdown::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 2px;
}
@media (max-width: 768px) {
  .state-filter-dropdown {
    left: 16px;
    width: 220px;
  }
}

.state-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  color: #334155;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Segoe UI', Roboto, sans-serif;
  transition: all 0.15s ease;
}
.state-dropdown-item:hover {
  background: #f1f5f9;
  color: #00BACE;
}
.state-dropdown-item.active {
  background: rgba(0, 186, 206, 0.08);
  color: #00BACE;
  font-weight: 700;
}
.state-dropdown-item i {
  width: 18px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}
.state-dropdown-item.active i {
  color: #00BACE;
}
.state-dropdown-item .count {
  margin-left: auto;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}