/* ========================================================
   MARITUBA SHOP — marituba.shop
   Design System Oficial: Vermelho (#dc2626) & Azul (#0284c7)
   Interface Moderna, Responsiva e Mobile-First
   ======================================================== */

:root {
  --primary-blue: #0284c7;
  --primary-blue-dark: #0369a1;
  --primary-blue-light: #e0f2fe;
  --accent-red: #dc2626;
  --accent-red-dark: #991b1b;
  --accent-red-light: #fee2e2;
  --bg-slate: #f8fafc;
  --card-bg: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-slate);
  color: var(--text-dark);
  line-height: 1.5;
  padding-bottom: 70px;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

img, svg, picture, video, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
  overflow-x: clip;
}

/* 1. TOP ANNOUNCEMENT BAR */
.top-announcement-bar {
  background: linear-gradient(90deg, #dc2626 0%, #0284c7 100%);
  color: #ffffff;
  font-size: 12px;
  padding: 6px 0;
  font-weight: 500;
}

@media (max-width: 768px) {
  .top-announcement-bar {
    display: none !important;
  }
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-login-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-full);
  padding: 3px 12px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s;
}

.top-bar-login-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

/* 2. MAIN HEADER (FIXO NO TOPO DO SITE E APLICATIVO) */
.fixed-top-wrapper {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9990 !important;
  background: #ffffff !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08) !important;
}

.main-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  width: 100% !important;
  z-index: 9990 !important;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  position: relative;
  min-height: 60px;
}

/* LOGO RIGOROSAMENTE CENTRALIZADA */
.header-logo-link.header-logo-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.header-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 640px) {
  .header-logo-img {
    height: 36px;
  }
}

.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  z-index: 5;
}

.hamburger-btn:hover {
  background: #f1f5f9;
}

.hamburger-btn span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 2px;
}

/* ÍCONE DE LOGIN MOBILE NA DIREITA */
.btn-mobile-login {
  background: var(--primary-blue-light);
  color: var(--primary-blue-dark);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 5;
}

.btn-mobile-login:hover {
  background: #bae6fd;
  transform: scale(1.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
}

@media (max-width: 768px) {
  .header-actions {
    display: none;
  }
}

@media (min-width: 769px) {
  .btn-mobile-login {
    display: none;
  }
}

.btn-anunciar-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-red);
  color: #ffffff;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.28);
}

.btn-anunciar-header:hover {
  background: var(--accent-red-dark);
  transform: translateY(-1px);
}

.btn-login-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-blue-light);
  color: var(--primary-blue-dark);
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-login-header:hover {
  background: #bae6fd;
}

/* 3. SEARCH WRAPPER */
.search-wrapper {
  padding-top: 4px;
  padding-bottom: 12px;
}

.search-form {
  width: 100%;
}

.search-input-box {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-full);
  padding: 4px 6px 4px 16px;
  transition: all 0.2s;
}

.search-input-box:focus-within {
  border-color: var(--primary-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.search-icon {
  color: var(--text-muted);
  margin-right: 8px;
  flex-shrink: 0;
}

.search-input-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text-dark);
  padding: 8px 0;
}

.search-bairro-select {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  margin: 0 6px;
  outline: none;
}

@media (max-width: 640px) {
  .search-bairro-select {
    display: none;
  }
}

.btn-buscar {
  background: var(--primary-blue);
  color: #ffffff;
  border: none;
  padding: 9px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-buscar:hover {
  background: var(--primary-blue-dark);
}

/* 4. CATEGORIES SLIDER HORIZONTAL */
.categories-wrapper {
  padding-bottom: 10px;
}

.categories-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.categories-scroll::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 7px 15px;
  border-radius: var(--radius-full);
  text-decoration: none;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
}

.cat-pill:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: #f0f9ff;
}

.cat-pill.active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
}

.cat-pill.cat-fav {
  border-color: #fde047;
  background: #fefce8;
  color: #854d0e;
}

.cat-pill.cat-fav.active {
  background: #eab308;
  color: #ffffff;
  border-color: #eab308;
}

/* ========================================================
   CRITICAL: MOBILE DRAWER (OFF-CANVAS)
   ======================================================== */
.mobile-drawer {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: -350px !important;
  width: 290px !important;
  max-width: 85vw !important;
  height: 100vh !important;
  background: #ffffff !important;
  box-shadow: 6px 0 30px rgba(0, 0, 0, 0.25) !important;
  z-index: 99999 !important;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow-y: auto !important;
}

.mobile-drawer.open {
  left: 0 !important;
}

.drawer-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(4px) !important;
  z-index: 99998 !important;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer-overlay.open {
  display: block !important;
  opacity: 1 !important;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.drawer-close-btn {
  background: #f1f5f9;
  border: none;
  font-size: 24px;
  color: #475569;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.btn-anunciar-drawer {
  width: 100%;
  background: var(--accent-red);
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.drawer-nav a:hover {
  background: #f1f5f9;
  color: var(--primary-blue);
}

.drawer-footer {
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-muted);
}

/* ========================================================
   5. TOP BANNER CAROUSEL
   ======================================================== */
.banner-carousel-section {
  padding: 16px 0 24px 0;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: #0f172a;
  min-height: 160px;
  aspect-ratio: 24/8;
  width: 100%;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  display: none;
}

.carousel-slide.active {
  display: block;
}

.banner-link-wrapper {
  display: block;
  text-decoration: none;
  width: 100%;
  height: 100%;
}

.banner-real-image-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  line-height: 0;
  background: #0f172a;
}

.banner-real-img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  max-height: 380px;
  aspect-ratio: 24/8;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  transition: transform 0.25s ease;
}

.banner-real-image-link:hover .banner-real-img {
  transform: scale(1.008);
}

@media (max-width: 768px) {
  .carousel-container {
    min-height: 140px;
    aspect-ratio: 16/7;
  }
  .banner-real-img {
    min-height: 140px;
    max-height: 240px;
    aspect-ratio: 16/7;
    object-fit: cover;
  }
}

.banner-dynamic-card {
  width: 100%;
  min-height: 220px;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

@media (max-width: 640px) {
  .banner-dynamic-card {
    min-height: 200px;
    padding: 20px;
  }
}

.banner-theme-1 { background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%); }
.banner-theme-2 { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); }
.banner-theme-3 { background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%); }
.banner-theme-4 { background: linear-gradient(135deg, #059669 0%, #047857 100%); }
.banner-theme-5 { background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%); }

.banner-card-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.banner-card-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 640px) {
  .banner-card-title {
    font-size: 22px;
  }
}

.banner-card-tagline {
  font-size: 18px;
  font-weight: 700;
  color: #fef08a;
  margin-top: 4px;
}

@media (max-width: 640px) {
  .banner-card-tagline {
    font-size: 14px;
  }
}

.banner-card-offer {
  font-size: 14px;
  color: #f1f5f9;
  margin-top: 6px;
  max-width: 650px;
}

.banner-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn-banner-cta {
  background: #ffffff;
  color: #0f172a;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.banner-card-phone {
  background: rgba(0, 0, 0, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
}

.banner-card-domain {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.carousel-arrow {
  display: none !important;
}

.carousel-indicators {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.carousel-indicators .indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.carousel-indicators .indicator.active {
  width: 24px;
  border-radius: 4px;
  background: var(--accent-red);
}

/* ========================================================
   6. ADS & MARKETPLACE GRID & CARDS (BLINDADOS CONTRA BLOQUEADORES)
   ======================================================== */
.marketplace-feed-section,
.content-feed-section,
.ads-section {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  padding-bottom: 40px;
  width: 100%;
  box-sizing: border-box;
}

.marketplace-header-row,
.ads-section-header {
  display: flex !important;
  visibility: visible !important;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.marketplace-count-badge,
.ads-count-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-blue-dark);
  background: var(--primary-blue-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.marketplace-grid,
.offers-grid,
.marketplace-catalog-grid,
.catalog-grid,
.product-grid,
.ads-grid {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .marketplace-grid,
  .offers-grid,
  .marketplace-catalog-grid,
  .catalog-grid,
  .product-grid,
  .ads-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px;
  }
}

@media (min-width: 1024px) {
  .marketplace-grid,
  .offers-grid,
  .marketplace-catalog-grid,
  .catalog-grid,
  .product-grid,
  .ads-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px;
  }
}

.marketplace-card,
.offer-card,
.product-item-card,
.ad-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  visibility: visible;
  opacity: 1;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.card-hidden-fav,
.infeed-hidden-fav {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.marketplace-card:hover,
.offer-card:hover,
.product-item-card:hover,
.ad-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.product-thumb-wrap,
.ad-card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #e2e8f0;
  overflow: hidden;
}

.product-thumb-img,
.ad-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.marketplace-card:hover .product-thumb-img,
.marketplace-card:hover .ad-img,
.product-item-card:hover .product-thumb-img,
.product-item-card:hover .ad-img,
.ad-card:hover .ad-img {
  transform: scale(1.05);
}

.product-badge-bairro,
.ad-badge-bairro {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.product-badge-vip,
.ad-badge-vip {
  position: absolute !important;
  top: auto !important;
  right: auto !important;
  bottom: 8px !important;
  left: 8px !important;
  width: auto !important;
  height: auto !important;
  max-width: fit-content !important;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  padding: 3px 9px !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.4) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  letter-spacing: 0.3px !important;
  z-index: 3 !important;
  pointer-events: none !important;
}

.ad-badge-destaque {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: var(--accent-red);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.btn-fav {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
  z-index: 3;
}

.btn-fav:hover {
  transform: scale(1.15);
}

.btn-fav.active {
  background: #fef08a;
}

.product-card-body,
.ad-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ad-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.ad-category {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary-blue);
  text-transform: uppercase;
}

.ai-verified-tag {
  font-size: 9px;
  font-weight: 800;
  color: #059669;
  background: #d1fae5;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.product-card-title,
.ad-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 4px;
}

.product-card-title a,
.ad-title a {
  color: inherit;
  text-decoration: none;
}

/* Descrição detalhada oculta na index: exibida somente ao clicar no anúncio */
.product-item-card .ad-desc,
.marketplace-card .ad-desc,
.ad-card .ad-desc,
.catalog-grid .ad-desc,
.ads-grid .ad-desc {
  display: none !important;
}

/* Campo de Senha com Olhinho */
.password-field-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-field-wrap input {
  padding-right: 44px !important;
  width: 100%;
}

.btn-toggle-password {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.btn-toggle-password:hover {
  color: var(--primary-blue);
  background: #f1f5f9;
}

.ad-card-footer {
  display: flex;
  align-items: center;
  margin-top: auto;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.ad-price-block {
  display: flex;
  flex-direction: column;
}

.ad-price-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.ad-price {
  font-size: 15px;
  font-weight: 900;
  color: var(--accent-red);
}

.btn-whatsapp-ad,
.btn-whatsapp-sm {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  background: #25d366 !important;
  color: #ffffff !important;
  padding: 6px 12px !important;
  border-radius: var(--radius-full) !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3) !important;
  transition: all 0.2s ease !important;
  line-height: 1 !important;
  cursor: pointer;
}

.btn-whatsapp-ad:hover,
.btn-whatsapp-sm:hover {
  background: #20ba59 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4) !important;
}

.btn-whatsapp-ad svg,
.btn-whatsapp-sm svg {
  flex-shrink: 0;
  fill: currentColor;
}

/* ========================================================
   ESTADO VAZIO / NENHUM ANÚNCIO ENCONTRADO (BOTÃO BONITO)
   ======================================================== */
.no-results-card {
  background: #ffffff;
  border: 1.5px dashed #cbd5e1;
  border-radius: 20px;
  padding: 44px 20px;
  text-align: center;
  margin: 24px auto 32px auto;
  max-width: 540px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.no-results-card .emoji-large {
  font-size: 52px;
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}

.no-results-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.3;
}

.no-results-card p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.btn-clear-search {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  font-size: 13.5px !important;
  padding: 12px 26px !important;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: none !important;
  cursor: pointer !important;
  letter-spacing: 0.2px;
}

.btn-clear-search:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45) !important;
  color: #ffffff !important;
}

.btn-clear-search:active {
  transform: translateY(0) !important;
}

.btn-clear-search svg {
  flex-shrink: 0;
}

/* ========================================================
   BANNERS ADS DO MEIO DO FEED (A CADA 5 LINHAS / 10 ANÚNCIOS)
   Ocupa toda a largura da tela no celular e desktop (full-width)
   ======================================================== */
.infeed-banner-slot {
  grid-column: 1 / -1;
  width: 100%;
  margin: 12px 0 16px 0;
}

.infeed-banner-card {
  display: block;
  width: 100%;
  text-decoration: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  background: #0f172a;
}

.infeed-banner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  border-color: #0284c7;
}

.infeed-banner-card.infeed-banner-real-card {
  line-height: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.infeed-real-banner-img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(2, 132, 199, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.infeed-banner-real-card:hover .infeed-real-banner-img {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  border-color: #0284c7;
}

@media (max-width: 640px) {
  .infeed-real-banner-img {
    max-height: 150px;
  }
}

.infeed-banner-inner {
  position: relative;
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  overflow: hidden;
}

.infeed-banner-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: blur(1px);
}

.infeed-banner-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
  padding-right: 12px;
}

.infeed-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(220, 38, 38, 0.95);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 5px;
  align-self: flex-start;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
}

.infeed-banner-title {
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 2px 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.infeed-banner-tagline {
  font-size: 12px;
  color: #fef08a;
  font-weight: 600;
  line-height: 1.3;
}

.infeed-banner-side {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.infeed-banner-cta {
  background: linear-gradient(135deg, #dc2626 0%, #0284c7 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s;
}

.infeed-banner-card:hover .infeed-banner-cta {
  transform: scale(1.04);
}

.infeed-banner-phone {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

@media (max-width: 640px) {
  .infeed-banner-inner {
    padding: 12px 14px;
    min-height: 86px;
  }
  .infeed-banner-title {
    font-size: 14.5px;
  }
  .infeed-banner-tagline {
    font-size: 11px;
  }
  .infeed-banner-cta {
    padding: 6px 12px;
    font-size: 11px;
  }
}

/* ========================================================
   MINI SITES IN-FEED (A CADA 3 LINHAS / 6 ANÚNCIOS)
   ======================================================== */
.infeed-minisite-slot {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 12px 0 16px 0;
}

.infeed-minisite-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.infeed-minisite-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14) !important;
  border-color: #0284c7 !important;
}

/* BADGE DISCRETO DE HORÁRIO EM TEMPO REAL ("Aberto Agora" / "Fechado") */
.badge-status-horario {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  padding: 2.5px 8.5px !important;
  border-radius: var(--radius-full) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.badge-status-horario.is-open {
  background: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
}

.badge-status-horario.is-open .status-dot {
  width: 6.5px !important;
  height: 6.5px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25) !important;
  display: inline-block !important;
  animation: pulseDotStatus 2s infinite ease-in-out !important;
}

.badge-status-horario.is-closed {
  background: #fef2f2 !important;
  color: #b91c1c !important;
  border: 1px solid #fecaca !important;
}

.badge-status-horario.is-closed .status-dot {
  width: 6.5px !important;
  height: 6.5px !important;
  border-radius: 50% !important;
  background: #ef4444 !important;
  display: inline-block !important;
}

@keyframes pulseDotStatus {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.75;
  }
}

/* ========================================================
   7. MINI SITES SHOWCASE (GUIA COMERCIAL)
   ======================================================== */
.minisites-section {
  background: #0f172a;
  color: #ffffff;
  padding: 48px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.minisites-section .section-header h2 {
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
}

.minisites-section .section-header p {
  color: #94a3b8;
  font-size: 14px;
  margin-top: 4px;
}

/* ========================================================
   CATÁLOGO DO MINI-SITE DO CLIENTE (marituba.shop/{slug})
   CORREÇÃO DE CONTRASTE: Título escuro legível em fundo claro
   ======================================================== */
.mini-site-catalog {
  padding: 24px 0 44px 0;
}

.mini-site-section-header,
.mini-site-catalog .section-header {
  margin-bottom: 24px;
}

.mini-site-catalog-title,
.mini-site-catalog .section-header h2,
.mini-site-catalog h2 {
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #0f172a !important; /* Cor escura de alto contraste */
  letter-spacing: -0.02em;
  margin: 0 0 6px 0 !important;
}

.mini-site-catalog-subtitle,
.mini-site-catalog .section-header p,
.mini-site-catalog p {
  font-size: 14px !important;
  color: #475569 !important;
  margin: 0 !important;
  line-height: 1.5;
}

.minisites-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .minisites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (min-width: 1024px) {
  .minisites-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

.minisite-card {
  background: #ffffff !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12) !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
  position: relative !important;
  text-decoration: none !important;
  color: #0f172a !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.minisite-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2) !important;
  border-color: #38bdf8 !important;
}

/* Banner de Capa do Mini Site */
.minisite-cover-wrap {
  position: relative;
  height: 96px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: linear-gradient(135deg, #0f172a 0%, #0369a1 100%);
  overflow: hidden;
  display: block;
}

.minisite-cover-img {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.35s ease;
  display: block !important;
}

.minisite-card:hover .minisite-cover-img {
  transform: scale(1.06);
}

.minisite-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.65) 100%);
  pointer-events: none;
}

.minisite-badge-bairro {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Corpo do Card */
.minisite-body {
  padding: 0 16px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

/* Avatar / Logo Flutuante */
.minisite-avatar-wrap {
  width: 58px;
  height: 58px;
  max-width: 58px;
  max-height: 58px;
  border-radius: 14px;
  background: #ffffff;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-top: -29px;
  margin-bottom: 10px;
  overflow: hidden;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  display: block;
}

.minisite-avatar-img {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.minisite-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.minisite-name {
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.25;
  margin: 0;
  flex: 1;
}

.minisite-name a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s;
}

.minisite-card:hover .minisite-name a {
  color: #0284c7;
}

.minisite-category-tag {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

.minisite-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.minisite-slug-tag {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11px;
  color: #475569;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.minisite-slug-tag strong {
  color: #0284c7;
}

.minisite-footer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.btn-minisite-visit {
  flex: 1;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
  transition: all 0.2s ease;
}

.btn-minisite-visit:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.btn-minisite-whatsapp {
  background: #25d366 !important;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-minisite-whatsapp:hover {
  background: #20ba59 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

/* ========================================================
   8. MINI SITE PAGE
   ======================================================== */
.mini-site-container {
  padding-top: 24px;
}

.mini-site-hero {
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 28px 24px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.mini-site-header-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .mini-site-header-content {
    flex-direction: row;
    text-align: left;
    align-items: center;
  }
}

.mini-site-logo {
  width: 84px;
  height: 84px;
  border-radius: 16px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  background: #ffffff;
  flex-shrink: 0;
}

.mini-site-title {
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.mini-site-desc {
  font-size: 13px;
  color: #e2e8f0;
  max-width: 650px;
  line-height: 1.5;
  margin: 0 0 10px 0;
}

.mini-site-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: #cbd5e1;
  margin: 0 0 14px 0;
}

.btn-whatsapp-empresa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #25d366;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
  transition: all 0.2s ease;
}

.btn-whatsapp-empresa:hover {
  background: #20ba59;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  color: #ffffff;
}

.mini-site-catalog {
  margin-top: 24px;
  margin-bottom: 40px;
  position: relative;
  z-index: 5;
}

.mini-site-section-header {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 18px !important;
  padding: 18px 22px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
  margin-bottom: 20px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.mini-site-catalog-title {
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  margin: 0 0 4px 0 !important;
  line-height: 1.25 !important;
}

.mini-site-catalog-subtitle {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #475569 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

/* ========================================================
   9. FOOTER & DIGITECH CREDIT
   ======================================================== */
.main-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding-top: 48px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-logo {
  height: 44px;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #94a3b8;
}

.legal-badge {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #fca5a5;
  font-size: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  line-height: 1.5;
}

.footer-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

/* ========================================================
   FALE CONOSCO — DESIGN MODERNO, ESPAÇOSO E ELEGANTE
   ======================================================== */
.footer-col-contact {
  display: flex;
  flex-direction: column;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  margin-bottom: 8px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(51, 65, 85, 0.8);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.contact-card:hover {
  background: rgba(51, 65, 85, 0.85);
  border-color: rgba(148, 163, 184, 0.5);
  transform: translateY(-1px);
}

.contact-card-whatsapp {
  border-color: rgba(37, 211, 102, 0.35);
  background: rgba(37, 211, 102, 0.08);
}

.contact-card-whatsapp:hover {
  border-color: #25d366;
  background: rgba(37, 211, 102, 0.16);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.contact-card-whatsapp .contact-value {
  color: #4ade80;
  font-weight: 800;
}

.contact-card-email:hover {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
}

.contact-card-email:hover .contact-value {
  color: #7dd3fc;
}

.contact-card-location {
  cursor: default;
}

.contact-icon {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(15, 23, 42, 0.7);
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
}

.contact-value {
  font-size: 12.5px;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.3;
  word-break: break-all;
}

.ai-guarantee-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(2, 132, 199, 0.15);
  border: 1px solid rgba(2, 132, 199, 0.35);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: #7dd3fc;
  font-size: 11.5px;
  font-weight: 600;
  margin-top: 8px;
  line-height: 1.4;
}

.ai-pulse-dot {
  width: 8px;
  height: 8px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 8px #38bdf8;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  margin-top: 40px;
  padding: 18px 0;
  font-size: 13px;
  color: #94a3b8;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-signature {
  color: #cbd5e1;
  font-size: 13px;
}

/* DESTAQUE DIGITECH COM LINK WHATSAPP */
.digitech-badge {
  color: #38bdf8 !important;
  font-weight: 900 !important;
  font-size: 14px;
  text-decoration: none;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 3px 10px;
  border-radius: 6px;
  transition: all 0.2s;
  display: inline-block;
  margin-left: 4px;
}

.digitech-badge:hover {
  background: #0284c7;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.4);
}

/* ========================================================
   10. MOBILE BOTTOM NAV
   ======================================================== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  z-index: 50;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .mobile-bottom-nav {
    display: none;
  }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
}

.bottom-nav-item.active {
  color: var(--primary-blue);
}

.bottom-nav-whatsapp .label {
  color: #15803d !important;
  font-weight: 800 !important;
}

.bottom-nav-anunciar {
  background: var(--accent-red);
  color: #ffffff;
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin-top: -24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
  cursor: pointer;
}

.bottom-nav-anunciar .plus { font-size: 18px; line-height: 1; }
.bottom-nav-anunciar .label { font-size: 9px; font-weight: 700; text-transform: uppercase; }

/* ========================================================
   11. MODAL SYSTEM, TUTORIAL & AUTH (CORREÇÃO DE BOTÕES)
   ======================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  padding: 16px;
}

.modal-dialog {
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-dialog.modal-lg {
  max-width: 680px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
}

.modal-close {
  background: #f1f5f9;
  border: none;
  font-size: 22px;
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: #e2e8f0;
  color: var(--text-dark);
}

.modal-content {
  padding: 24px;
}

/* TUTORIAL MODAL */
.tutorial-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-dark);
  text-align: center;
}

.tutorial-title span {
  color: var(--accent-red);
}

.tutorial-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin: 6px 0 20px 0;
}

.tutorial-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.step-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #ffffff;
  font-weight: 900;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-info h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dark);
}

.step-info p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

.tutorial-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-primary-block {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--primary-blue) 100%);
  color: #ffffff;
  border: none;
  padding: 13px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.btn-primary-block:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
}

.btn-secondary-block {
  width: 100%;
  background: #f1f5f9;
  color: #334155;
  border: 1.5px solid #cbd5e1;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-secondary-block:hover {
  background: #e2e8f0;
  color: var(--text-dark);
}

/* AUTH MODAL TABS & BUTTONS */
.auth-tabs {
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  gap: 4px;
  border: 1px solid #e2e8f0;
}

.auth-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  color: #64748b;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.auth-tab.active {
  background: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

.form-group {
  margin-bottom: 16px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-size: 14px;
  background: #ffffff;
  color: var(--text-dark);
  outline: none;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18);
}

.form-disclaimer {
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
  margin: 12px 0 16px 0;
  background: #f8fafc;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
}

.btn-submit-form {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--primary-blue) 100%);
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
  transition: transform 0.2s;
}

.btn-submit-form:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.4);
}

/* ========================================================
   12. ADMIN PANEL COMPLETO (admin/painel.php)
   ======================================================== */
.admin-body {
  background: #f1f5f9;
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: #0f172a;
}

.admin-wrapper {
  display: flex;
  min-height: 100vh;
}

@media (max-width: 768px) {
  .admin-wrapper {
    flex-direction: column;
  }
}

.admin-sidebar {
  width: 260px;
  background: #0f172a;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  border-right: 1px solid #1e293b;
}

@media (max-width: 768px) {
  .admin-sidebar {
    width: 100%;
  }
}

.sidebar-brand {
  padding: 20px;
  border-bottom: 1px solid #1e293b;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-tag {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #38bdf8;
}

.sidebar-nav {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: #1e293b;
  color: #ffffff;
  border-left: 4px solid var(--primary-blue);
}

.badge-count {
  background: var(--accent-red);
  color: #ffffff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 800;
}

.sidebar-user-footer {
  padding: 16px 20px;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.user-info strong {
  display: block;
  color: #ffffff;
}

.user-info small {
  color: #64748b;
}

.btn-logout {
  color: #f87171;
  text-decoration: none;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(248, 113, 113, 0.1);
}

.admin-main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
}

.admin-topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-topbar h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
}

.btn-ver-site {
  background: #f1f5f9;
  color: var(--primary-blue-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background 0.2s;
}

.btn-ver-site:hover {
  background: #e2e8f0;
}

.admin-content-inner {
  padding: 24px;
  flex: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.stat-icon {
  font-size: 28px;
}

.stat-data h3 {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-dark);
}

.stat-data p {
  font-size: 12px;
  color: var(--text-muted);
}

.admin-table-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 20px;
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.card-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.admin-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 800;
}

.badge-status {
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  display: inline-block;
}

.badge-status.ativo,
.badge-status.aprovado {
  background: #d1fae5;
  color: #065f46;
}

.badge-status.inativo,
.badge-status.reprovado {
  background: #fee2e2;
  color: #991b1b;
}

.badge-status.pendente {
  background: #fef3c7;
  color: #92400e;
}

.badge-posicao {
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 11px;
  color: #475569;
}

.btn-action-approve {
  background: #059669;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.btn-action-delete {
  background: #dc2626;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.cliques-badge {
  color: var(--primary-blue-dark);
  font-weight: 800;
  background: var(--primary-blue-light);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

/* SETUP DO PRIMEIRO ADMIN */
.setup-body {
  background: #0f172a;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.setup-card {
  background: #ffffff;
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.setup-header {
  text-align: center;
  margin-bottom: 24px;
}

.setup-header h2 {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
}

.setup-header p {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
}

.setup-security-notice {
  font-size: 11px;
  color: #64748b;
  text-align: center;
  margin-top: 14px;
}

/* ========================================================
   14. NOVO UPLOADER DE FOTOS EM SLOTS & MODAIS AMIGÁVEIS
   ======================================================== */
.photos-upload-card {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 20px;
  transition: border-color 0.2s, background 0.2s;
}

.photos-upload-card:hover {
  border-color: #0284c7;
  background: #f0f9ff;
}

.photos-header {
  margin-bottom: 14px;
}

.photos-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.photos-subtitle {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.upload-action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.btn-action-camera,
.btn-action-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-align: center;
}

.btn-action-camera {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.btn-action-camera:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.45);
}

.btn-action-gallery {
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.btn-action-gallery:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  transform: translateY(-2px);
}

.photo-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.photo-slot {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.2s ease;
}

.photo-slot.empty {
  background: #ffffff;
  border: 2px dashed #cbd5e1;
  cursor: pointer;
}

.photo-slot.empty:hover {
  border-color: #0284c7;
  background: #f0f9ff;
  transform: translateY(-2px);
}

.photo-slot.empty .slot-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.photo-slot.empty .slot-text {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-align: center;
  padding: 0 4px;
}

.photo-slot.filled {
  background: #0f172a;
  border: 2px solid #0284c7;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.photo-slot.filled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slot-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.photo-slot.primary-slot .slot-badge {
  background: #dc2626;
}

.btn-slot-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(220, 38, 38, 0.95);
  color: #ffffff;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: transform 0.15s, background 0.15s;
}

.btn-slot-remove:hover {
  transform: scale(1.15);
  background: #b91c1c;
}

.photo-upload-hint {
  font-size: 11px;
  color: #64748b;
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

.btn-submit-ad {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 900;
  width: 100%;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.35);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit-ad:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.45);
}

/* MODAIS AMIGÁVEIS (SUBSTITUINDO ALERT FEIO) */
.modal-dialog.modal-sm {
  max-width: 440px;
}

.friendly-content {
  text-align: center;
  padding: 32px 24px 28px 24px;
}

.friendly-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 16px auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.friendly-icon-circle.warning {
  background: #fef3c7;
  color: #d97706;
}

.friendly-icon-circle.success {
  background: #dcfce7;
  color: #16a34a;
}

.friendly-icon-circle.info {
  background: #e0f2fe;
  color: #0284c7;
}

.friendly-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.friendly-badge.warning {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.friendly-badge.success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.friendly-badge.info {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.friendly-title {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.friendly-text {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 20px 0;
}

.friendly-highlight-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 12px;
  font-size: 12px;
  color: #334155;
  margin-bottom: 20px;
  text-align: left;
}

.friendly-highlight-box strong {
  display: block;
  margin-bottom: 4px;
  color: #0f172a;
}

.friendly-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-friendly-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
  text-decoration: none;
  display: inline-block;
}

.btn-friendly-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.4);
  color: #ffffff;
}

.btn-friendly-secondary {
  background: #f1f5f9;
  color: #475569;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-friendly-secondary:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* ========================================================
   PWA INSTALL BANNER & MODAL (INSTALAÇÃO DO APP NATIVO)
   ======================================================== */
.pwa-install-banner {
  position: fixed;
  bottom: 80px;
  left: 16px;
  right: 16px;
  max-width: 480px;
  margin: 0 auto;
  background: #ffffff;
  border: 2px solid #0284c7;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(2, 132, 199, 0.25), 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 99999;
  animation: pwaSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  .pwa-install-banner {
    bottom: 24px;
    right: 24px;
    left: auto;
    margin: 0;
    width: 400px;
  }
}

@keyframes pwaSlideUp {
  from {
    transform: translateY(120%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.pwa-install-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.pwa-install-info {
  flex: 1;
  min-width: 0;
}

.pwa-install-title {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.pwa-install-subtitle {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
  line-height: 1.3;
}

.btn-pwa-install {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  animation: pulsePwaBtn 2.5s infinite;
}

@keyframes pulsePwaBtn {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.btn-pwa-install:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  transform: translateY(-1px);
}

.pwa-close-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pwa-close-btn:hover {
  color: #0f172a;
}

/* MODAL DE INSTRUÇÕES DE INSTALAÇÃO PWA */
.pwa-step-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  text-align: left;
}

.pwa-step-number {
  background: #0284c7;
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

.pwa-step-text {
  font-size: 12.5px;
  color: #334155;
  line-height: 1.4;
}

.pwa-step-text strong {
  color: #0f172a;
}

.btn-pwa-topbar {
  background: #ffffff;
  color: #0284c7;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  border: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  transition: all 0.2s;
}

.btn-pwa-topbar:hover {
  background: #f0f9ff;
  transform: translateY(-1px);
}

/* ========================================================
   BADGE DE STATUS EM TEMPO REAL: ABERTO AGORA (VERDE) vs FECHADO (VERMELHO)
   ======================================================== */
.badge-status-horario {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.badge-status-horario.is-open {
  background: #dcfce7 !important;
  color: #15803d !important;
  border: 1.5px solid #22c55e !important;
  box-shadow: 0 1px 4px rgba(34, 197, 94, 0.18) !important;
}

.badge-status-horario.is-closed {
  background: #fee2e2 !important;
  color: #b91c1c !important;
  border: 1.5px solid #ef4444 !important;
  box-shadow: 0 1px 4px rgba(239, 68, 68, 0.18) !important;
}

.badge-status-horario .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.badge-status-horario.is-open .status-dot {
  background: #16a34a;
  box-shadow: 0 0 0 2.5px rgba(34, 197, 94, 0.35);
  animation: pulseDotStatus 2s infinite ease-in-out;
}

.badge-status-horario.is-closed .status-dot {
  background: #dc2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.25);
}

@keyframes pulseDotStatus {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  }
  70% {
    transform: scale(1.08);
    box-shadow: 0 0 0 4.5px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* ========================================================
   SISTEMA DE PLANOS: GRÁTIS VS. ANÚNCIO TURBINADO VIP (R$ 9,90)
   ======================================================== */
.plan-selector-container {
  margin-bottom: 18px;
}

.plan-selector-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.plan-selector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 600px) {
  .plan-selector-grid {
    grid-template-columns: 1fr;
  }
}

.plan-card {
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.plan-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.plan-card.active {
  border-color: #0284c7;
  background: #f0f9ff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
}

.plan-card.plan-vip.active {
  border-color: #f59e0b;
  background: #fffbeb;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.18);
}

.plan-card-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 9999px;
  margin-bottom: 6px;
  width: fit-content;
}

.plan-card-badge.badge-free {
  background: #dcfce7;
  color: #166534;
}

.plan-card-badge.badge-vip {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
}

.plan-card-name {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.plan-card-price {
  font-size: 17px;
  font-weight: 900;
  color: #dc2626;
  margin: 4px 0 6px 0;
}

.plan-card-price.free {
  color: #16a34a;
}

.plan-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 11px;
  color: #475569;
  line-height: 1.5;
}

.plan-card-features li {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Selo Dourado de Destaque VIP nos Cards */
.ad-badge-vip {
  position: absolute !important;
  top: auto !important;
  right: auto !important;
  bottom: 8px !important;
  left: 8px !important;
  width: auto !important;
  height: auto !important;
  max-width: fit-content !important;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  padding: 3px 9px !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.4) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  letter-spacing: 0.3px !important;
  z-index: 3 !important;
  pointer-events: none !important;
}

.ad-card.is-vip {
  border: 2px solid #f59e0b !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15) !important;
}

/* Modal PIX VIP */
.modal-pix-vip-dialog {
  max-width: 480px;
}

.pix-bank-badge {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
}

.pix-bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 6px;
}

.pix-bank-row:last-child {
  margin-bottom: 0;
}

.pix-bank-label {
  color: #64748b;
  font-weight: 600;
}

.pix-bank-val {
  color: #0f172a;
  font-weight: 800;
}

.pix-key-box {
  background: #f8fafc;
  border: 1.5px dashed #0284c7;
  border-radius: 12px;
  padding: 14px;
  margin: 14px 0;
  text-align: center;
}

.pix-key-val {
  font-family: monospace;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  word-break: break-all;
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  margin-bottom: 10px;
  display: block;
}

.btn-copy-pix {
  background: #0284c7;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-copy-pix:hover {
  background: #0369a1;
}

.btn-send-pix-zap {
  background: #25d366;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.2s;
  margin-top: 10px;
}

.btn-send-pix-zap:hover {
  background: #20ba59;
  transform: translateY(-1px);
}

/* ==========================================
   Botões de WhatsApp Desativados (Loja Fechada)
   ========================================== */
.btn-whatsapp-desativado {
  background: #64748b !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  cursor: not-allowed !important;
  opacity: 0.85 !important;
  user-select: none !important;
  box-shadow: none !important;
  pointer-events: none !important;
  text-decoration: none !important;
}

.btn-whatsapp-disabled {
  background: #94a3b8 !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  cursor: not-allowed !important;
  opacity: 0.85 !important;
  user-select: none !important;
  box-shadow: none !important;
  pointer-events: none !important;
  text-decoration: none !important;
}

/* ========================================================
   MARITUBA SHOP — SPLASH SCREEN DE ENTRADA EXCLUSIVO (5s)
   Aparece apenas no 1º acesso da sessão ao entrar no app
   ======================================================== */
.marituba-splash {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: radial-gradient(circle at 50% 28%, #0f274a 0%, #071224 55%, #030814 100%);
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1), transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.55s ease;
  transform: scale(1);
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

.marituba-splash.fade-out {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: scale(1.05) !important;
  pointer-events: none !important;
}

.splash-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.splash-particles .particle {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  animation: particleFloat 6s ease-in-out infinite alternate;
}

.splash-particles .p1 {
  width: 280px;
  height: 280px;
  background: rgba(2, 132, 199, 0.45);
  top: -60px;
  left: -40px;
}

.splash-particles .p2 {
  width: 240px;
  height: 240px;
  background: rgba(220, 38, 38, 0.38);
  bottom: -40px;
  right: -30px;
  animation-duration: 7s;
  animation-delay: -2s;
}

.splash-particles .p3 {
  width: 180px;
  height: 180px;
  background: rgba(56, 189, 248, 0.28);
  top: 45%;
  right: 15%;
  animation-duration: 8s;
  animation-delay: -3.5s;
}

.splash-particles .p4 {
  width: 220px;
  height: 220px;
  background: rgba(245, 158, 11, 0.2);
  bottom: 10%;
  left: 10%;
  animation-duration: 9s;
  animation-delay: -1s;
}

@keyframes particleFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -30px) scale(1.12); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

.splash-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 420px;
  width: 100%;
}

.splash-skip-btn {
  position: absolute;
  top: -70px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e2e8f0;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.splash-skip-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: translateY(-1px);
}

.splash-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.splash-cart-glow {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.6) 0%, rgba(220, 38, 38, 0.3) 60%, transparent 80%);
  filter: blur(16px);
  animation: splashPulse 2.4s ease-in-out infinite;
}

.splash-cart-circle {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 28px;
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.25), inset 0 2px 4px rgba(255, 255, 255, 0.8);
  animation: splashCartBounce 4.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.splash-logo-img {
  width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

@keyframes splashCartBounce {
  0% { transform: scale(0.3) translateY(40px); opacity: 0; }
  18% { transform: scale(1.08) translateY(-6px); opacity: 1; }
  28% { transform: scale(0.97) translateY(2px); }
  36% { transform: scale(1) translateY(0); }
  60% { transform: translateY(-4px); }
  85% { transform: translateY(0); }
  100% { transform: scale(1); }
}

@keyframes splashPulse {
  0%, 100% { transform: scale(0.92); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

.splash-brand-info {
  margin-bottom: 26px;
  animation: splashTextIn 0.8s 0.25s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.splash-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin: 0 0 8px 0;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.title-marituba {
  color: #38bdf8;
  text-shadow: 0 2px 14px rgba(56, 189, 248, 0.4);
}

.title-dot {
  color: #ffffff;
  margin: 0 1px;
}

.title-shop {
  color: #f87171;
  text-shadow: 0 2px 14px rgba(248, 113, 113, 0.4);
}

.splash-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #7dd3fc;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 10px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.splash-tagline {
  font-size: 13.5px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.45;
  font-weight: 500;
  max-width: 330px;
}

@keyframes splashTextIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.splash-progress-box {
  width: 100%;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  animation: splashTextIn 0.8s 0.4s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.splash-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}

.splash-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #dc2626 0%, #f59e0b 35%, #0284c7 70%, #22c55e 100%);
  border-radius: 9999px;
  transition: width 0.15s linear;
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.6);
}

.splash-status-text {
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 700;
  min-height: 18px;
  transition: opacity 0.25s ease;
}

.splash-footer-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  animation: splashTextIn 0.8s 0.55s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.splash-chip {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
}

