/* ==========================================================================
   GESTORFLUXPRO - CABEÇALHO ELEGANTE EQUILIBRADO + FIX STICKY + BOTÕES
   ========================================================================== */

body {
  background-color: #ffffff !important;
}

/* ── 1. CABEÇALHO CLEAN & SOFISTICADO (100% BRANCO) ── */
.header-layout2 .header-top,
.header-top {
  display: none !important;
}

.th-header.header-layout2 {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  min-height: auto !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.05) !important;
  border: none !important;
  border-bottom: 1px solid #eef2f6 !important;
  z-index: 999 !important;
}

.header-layout2 .sticky-wrapper {
  padding-top: 15px !important;
  padding-bottom: 15px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  transition: all 0.25s ease !important;
}

/* ==========================================================================
   >>> ALTERAÇÃO AQUI: BANNER 100% TELA TODA (ENCAIXE NATURAL ABAIXO DO CABEÇALHO) <<<
   ========================================================================== */
#hero,
.th-hero-wrapper.hero-1 {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 35px 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

#hero .swiper,
#hero .swiper-slide,
#hero .hero-inner {
  border-radius: 0 !important;
  overflow: hidden !important;
}

/* 1. Altura Equilibrada com Encaixe Superior Natural */
.hero-inner {
  height: 580px !important;
  min-height: 520px !important;
  max-height: 640px !important;
  background-position: center top !important;
  background-size: cover !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding-top: 25px !important;
}

@media (max-width: 991px) {
  .th-header.header-layout2 .sticky-wrapper {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  #hero,
  .th-hero-wrapper.hero-1 {
    margin: 0 0 25px 0 !important;
  }
  .hero-inner {
    height: auto !important;
    min-height: 440px !important;
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }
}

.hero-inner > div {
  width: 100% !important;
}

/* 2. Centralização Vertical e Horizontal Perfeita do Texto e Botões */
.hero-style5 {
  padding: 0 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin: 0 auto !important;
}

.hero-style5 .hero-title {
  margin-top: 0 !important;
  margin-bottom: 14px !important;
  text-align: center !important;
}

.hero-style5 .hero-title .text-theme {
  display: inline-block !important;
  text-align: center !important;
}

.hero-style5 .hero-text01 {
  max-width: 820px !important;
  margin: 0 auto 22px auto !important;
  text-align: center !important;
  line-height: 1.6 !important;
}

.hero-style5 .hero-buttons {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin: 0 auto !important;
}

/* 3. Setas de Navegação Perfeitamente Centralizadas na Altura do Banner */
#hero .slider-arrow,
#hero .slider-arrow2 {
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin-top: 0 !important;
  z-index: 10 !important;
}

#hero .slider-prev {
  left: 20px !important;
}

#hero .slider-next {
  right: 20px !important;
}

/* ==========================================================================
   >>> ALTERAÇÃO AQUI: BANNER MOBILE COMPACTO E ELIMINAÇÃO DO ESPAÇO EM BRANCO <<<
   ========================================================================== */
@media (max-width: 991px) {
  #hero,
  .th-hero-wrapper.hero-1 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 75px 0 15px 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }

  #hero .swiper,
  #hero .swiper-slide,
  #hero .hero-inner {
    border-radius: 0 !important;
  }

  .hero-inner {
    height: 440px !important;
    min-height: 440px !important;
    padding-top: 0 !important;
  }

  .hero-style5 .hero-text01 {
    font-size: 13.5px !important;
    max-width: 95% !important;
  }

  /* Reduz o vão branco abaixo do banner em tablets */
  #hero + section.space,
  #hero + .space,
  section.space:first-of-type {
    padding-top: 25px !important;
  }
}

@media (max-width: 767px) {
  #hero,
  .th-hero-wrapper.hero-1 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 68px 0 10px 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }

  #hero .swiper,
  #hero .swiper-slide,
  #hero .hero-inner {
    border-radius: 0 !important;
  }

  /* Altura proporcional e moderna para celular */
  .hero-inner {
    height: 380px !important;
    min-height: 380px !important;
    max-height: 400px !important;
    padding-top: 0 !important;
  }

  /* Remove o vão branco excessivo no celular */
  #hero + section,
  #hero + section.space,
  #hero + .space,
  section.space:first-of-type {
    padding-top: 15px !important;
  }

  .space,
  .space-top {
    padding-top: 35px !important;
  }

  .space,
  .space-bottom {
    padding-bottom: 35px !important;
  }

  /* Tipografia e Estrutura do Banner no Celular com Recuo Seguro para as Setas */
  .hero-style5 {
    padding: 0 48px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .hero-style5 .hero-title {
    font-size: 22px !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
    padding: 0 !important;
    max-width: 100% !important;
  }

  .hero-style5 .hero-title .text-theme {
    font-size: 22px !important;
  }

  .hero-style5 .hero-text01 {
    font-size: 12.5px !important;
    line-height: 1.35 !important;
    margin-bottom: 14px !important;
    padding: 0 !important;
    max-width: 100% !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Botões de Ação no Banner Mobile ("Veja Mais" e "Teste Grátis") */
  .hero-style5 .hero-buttons,
  .hero-buttons {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-style5 .hero-buttons .th-btn,
  .hero-buttons .th-btn {
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 0 13px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    min-width: auto !important;
    width: auto !important;
    border-radius: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    line-height: 1 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
  }

  .hero-style5 .hero-buttons .th-btn i,
  .hero-buttons .th-btn i {
    font-size: 11px !important;
    margin: 0 !important;
  }

  /* Setas de Navegação no Mobile - Visíveis, Elegantes e Sem Invadir o Texto */
  #hero .slider-arrow,
  #hero .slider-arrow2,
  #hero .slider-prev,
  #hero .slider-next {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    font-size: 12px !important;
    background-color: rgba(0, 0, 0, 0.6) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.7) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    margin-top: 0 !important;
    line-height: 1 !important;
    z-index: 25 !important;
    padding: 0 !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45) !important;
    transition: all 0.2s ease !important;
  }

  #hero .slider-arrow i,
  #hero .slider-arrow2 i,
  #hero .slider-prev i,
  #hero .slider-next i {
    color: #ffffff !important;
    font-size: 12px !important;
    margin: 0 !important;
    line-height: 1 !important;
  }

  #hero .slider-arrow:hover,
  #hero .slider-arrow2:hover,
  #hero .slider-arrow:active,
  #hero .slider-arrow2:active,
  #hero .slider-prev:active,
  #hero .slider-next:active {
    background-color: var(--theme-color) !important;
    border-color: var(--theme-color) !important;
    color: #ffffff !important;
  }

  #hero .slider-prev {
    left: 6px !important;
    right: auto !important;
  }

  #hero .slider-next {
    right: 6px !important;
    left: auto !important;
  }
}

@media (max-width: 480px) {
  .hero-inner {
    height: 360px !important;
    min-height: 360px !important;
    max-height: 380px !important;
  }

  .hero-style5 {
    padding: 0 48px !important;
  }

  .hero-style5 .hero-title,
  .hero-style5 .hero-title .text-theme {
    font-size: 20px !important;
  }

  .hero-style5 .hero-text01 {
    font-size: 12px !important;
  }

  .hero-style5 .hero-buttons .th-btn,
  .hero-buttons .th-btn {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 11px !important;
    font-size: 11.5px !important;
  }
}

/* >>> ALTERAÇÃO AQUI: BOTÃO CANCEL PRELOADER REMOVIDO/OCULTO ATRÁS DA LOGO <<< */
.preloaderCls,
.preloader .th-btn {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ── 2. LOGO INTEGRADA (SEM CÁPSULA ARTIFICIAL) ────────────────────────── */
.header-layout2:not(.landing-header-mode) .header-logo {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.header-layout2 .header-logo img {
  max-height: 38px !important;
  width: auto !important;
  max-width: 160px !important;
  object-fit: contain !important;
  margin: 0 !important;
}

/* ── 3. MENU INTEGRADO (SEM CÁPSULA ARTIFICIAL) ──────────────── */
.header-layout2:not(.landing-header-mode) .menu-area {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Links do Menu Desktop */
.header-layout2 .main-menu {
  margin-left: 0 !important;
}

.header-layout2 .main-menu > ul > li {
  margin: 0 4px !important;
}

.header-layout2 .main-menu > ul > li > a {
  padding: 12px 14px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  color: #1e293b !important;
  border-radius: 9999px !important;
  transition: color 0.18s ease, background-color 0.18s ease !important;
}

.header-layout2 .main-menu > ul > li > a:before {
  display: none !important;
}

.header-layout2 .main-menu > ul > li:hover > a {
  color: var(--theme-color, #0284c7) !important;
  background: rgba(2, 132, 199, 0.07) !important;
}

/* Submenu Dropdown com Ícone Perfeitamente Alinhado e Centralizado */
.header-layout2 .main-menu .sub-menu,
.main-menu ul.sub-menu {
  top: calc(100% + 8px) !important;
  border-radius: 16px !important;
  padding: 8px 0 !important;
  background-color: #ffffff !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12) !important;
  border: 1px solid rgba(0, 0, 0, 0.07) !important;
  min-width: 210px !important;
}

.header-layout2 .main-menu .sub-menu li,
.main-menu ul.sub-menu li {
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
}

.header-layout2 .main-menu .sub-menu li a,
.main-menu ul.sub-menu li a {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  padding: 10px 20px 10px 38px !important;
  color: #334155 !important;
  line-height: 1.3 !important;
  transition: color 0.18s ease, background-color 0.18s ease !important;
}

.header-layout2 .main-menu .sub-menu li a:before,
.main-menu ul.sub-menu li a:before {
  content: "\f7d9" !important;
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 16px !important;
  height: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free", "FontAwesome" !important;
  font-weight: 900 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  color: var(--theme-color, #0284c7) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
  margin: 0 !important;
}

.header-layout2 .main-menu .sub-menu li:hover > a,
.main-menu ul.sub-menu li:hover > a {
  color: var(--theme-color, #0284c7) !important;
  padding-left: 38px !important;
  background-color: rgba(2, 132, 199, 0.08) !important;
}

.header-layout2 .main-menu .sub-menu li:hover > a:before,
.main-menu ul.sub-menu li:hover > a:before {
  opacity: 1 !important;
  visibility: visible !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) scale(1.1) !important;
}

/* ── 4. CAMPO DE BUSCA E BOTÕES NO CABEÇALHO ──────────────────────────────── */
.header-layout2 .header-button {
  gap: 10px !important;
  align-items: center !important;
  display: flex !important;
}

/* Campo de Busca Proporcional (36px) */
.header-layout2 .header-search {
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
}

@media (max-width: 991px) {
  .header-layout2 .header-search {
    display: none !important;
  }
}

.header-layout2 .header-search input {
  height: 36px !important;
  border-radius: 9999px !important;
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  font-size: 13px !important;
  padding: 0 38px 0 16px !important;
  max-width: 175px !important;
  margin-right: -36px !important;
  transition: all 0.22s ease !important;
}

.header-layout2 .header-search input::placeholder {
  color: #94a3b8 !important;
  font-size: 12.5px !important;
}

.header-layout2 .header-search input:focus {
  max-width: 210px !important;
  border-color: var(--theme-color, #0284c7) !important;
  background-color: #ffffff !important;
  outline: none !important;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.2) !important;
}

.header-layout2 .header-search .icon-btn {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  font-size: 12px !important;
  background-color: #0f172a !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  cursor: pointer !important;
  z-index: 2;
}

/* Botão Carrinho Proporcional (38px) */
.header-layout2 .icon-btn {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border-radius: 50% !important;
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
  font-size: 13.5px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  padding: 0 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.header-layout2 .icon-btn:hover {
  background-color: var(--theme-color, #0284c7) !important;
  color: #ffffff !important;
  transform: scale(1.05);
}

/* Oculta o botão de pesquisa circular no Desktop para não duplicar com o campo de busca */
@media (min-width: 992px) {
  .header-layout2 .searchBoxToggler,
  .header-layout2 .header-button .searchBoxToggler,
  button.searchBoxToggler {
    display: none !important;
  }
}

/* Botão Painel no Cabeçalho (42px) */
.header-layout2 .th-btn.style3 {
  height: 42px !important;
  min-height: 42px !important;
  line-height: 42px !important;
  padding: 0 20px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28) !important;
}

/* ── 5. FIX DEFINITIVO DO STICKY (AO ROLAR PARA BAIXO) ────────────────────── */
.header-layout2 .sticky-wrapper.sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: rgba(255, 255, 255, 0.98) !important;
  background-color: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  z-index: 1000 !important;
}

.header-layout2:not(.landing-header-mode) .sticky-wrapper.sticky .header-logo {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.header-layout2:not(.landing-header-mode) .sticky-wrapper.sticky .menu-area {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.header-layout2 .sticky-wrapper.sticky .th-btn.style3 {
  height: 40px !important;
  min-height: 40px !important;
  line-height: 40px !important;
}

/* ── 6. BOTÃO MOBILE: NUNCA NO DESKTOP ─────────────────────────────────────── */
@media (min-width: 992px) {
  .header-layout2 .th-menu-toggle {
    display: none !important;
  }
}

/* ── 7. BOTÕES COM TAMANHO IDEAL E EQUILIBRADO NO SITE TODO ────────────────── */

/* Botão Base (.th-btn) */
.th-btn,
a.th-btn,
button.th-btn {
  padding: 12px 26px !important;
  min-width: auto !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease !important;
}

.th-btn i,
a.th-btn i,
button.th-btn i {
  font-size: 0.95em !important;
  margin-left: 4px;
}

.th-btn:hover,
a.th-btn:hover,
button.th-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15) !important;
}

/* Todas as Variações de Estilo */
.th-btn.style2,
.th-btn.style3,
.th-btn.style4,
.th-btn.style5,
.th-btn.style6,
.th-btn.btn-sm,
a.th-btn.style3,
a.th-btn.style4 {
  padding: 12px 26px !important;
  min-width: auto !important;
  font-size: 14px !important;
  height: auto !important;
}

/* Botões do Hero/Banner Base & Desktop ("Veja Mais >" e "Teste Grátis 🎁") */
@media (min-width: 768px) {
  .hero-buttons .th-btn,
  .hero-style5 .hero-buttons .th-btn {
    padding: 12px 28px !important;
    min-width: 140px !important;
    height: 46px !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 !important;
  }
}

.hero-buttons .th-btn.style4,
.hero-style5 .hero-buttons .th-btn.style4 {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  backdrop-filter: blur(6px) !important;
}

.hero-buttons .th-btn.style4:hover,
.hero-style5 .hero-buttons .th-btn.style4:hover {
  background: var(--theme-color) !important;
  border-color: var(--theme-color) !important;
  color: #ffffff !important;
}

/* Botões de Cabeçalhos de Seções ("Todos Nossos Sistemas ➔", "Ver Todas as Promoções") */
.sec-btn .th-btn,
.title-area .th-btn {
  padding: 10px 22px !important;
  min-width: auto !important;
  height: 40px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  border-radius: 9999px !important;
}

/* ── 8. CORREÇÃO SUPREMA DE VISIBILIDADE (.ocultar NUNCA DEVE SER SOBRESCRITO) ── */
.ocultar,
.card-promocoes.ocultar,
.text-color-valor.ocultar,
.blog-card .ocultar,
div.blog-card .ocultar {
  display: none !important;
}

/* ── LARGURA DO CONTAINER PADRONIZADA COM CATEGORIAS (1620px) ─────────────── */
.container.th-container,
.th-container {
  max-width: 1620px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* ── 9. GRID UNIFORME E ALINHAMENTO FLEX (SEM SALTOS DE LINHA OU FLUTUAÇÕES) ── */
#blog-sec .row:not(.filter-active),
#blog-sec-pacotes .row:not(.filter-active),
#blog-sec-lancamentos .row:not(.filter-active) {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
}

/* Apenas nos carrosséis de produtos/cards (NUNCA afetar o banner hero ou outros sliders do site) */
.slider-wrap .swiper-wrapper,
.has-shadow .swiper-wrapper {
  display: flex !important;
  align-items: stretch !important;
}

#blog-sec [class*="col-"]:not(.filter-item),
#blog-sec-pacotes [class*="col-"]:not(.filter-item),
#blog-sec-lancamentos [class*="col-"]:not(.filter-item),
.slider-wrap .swiper-slide,
.has-shadow .swiper-slide {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  float: none !important;
  clear: none !important;
  margin-bottom: 24px !important;
}

/* Badge de Promoção Moderno (Tag Compacta e Elegante) */
.card-promocoes:not(.ocultar),
.blog-card .card-promocoes:not(.ocultar),
.swiper-slide .card-promocoes:not(.ocultar) {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  z-index: 10 !important;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: #ffffff !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
  line-height: 14px !important;
  margin: 0 !important;
  width: auto !important;
}

/* Grid Flexível de Colunas para Cards: Garante Altura Exatamente Igual para Todos os Cards na Linha */
#blog-sec .row,
#blog-sec-pacotes .row,
#blog-sec-lancamentos .row,
.th-container .row,
#listar-produtos .row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
}

#blog-sec .row > [class*="col-"],
#blog-sec-pacotes .row > [class*="col-"],
#blog-sec-lancamentos .row > [class*="col-"],
.th-container .row > [class*="col-"],
#listar-produtos .row > [class*="col-"] {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

/* ── 10. CARDS DE PRODUTOS PREMIUM (IMAGEM QUADRADA 500x500, SEM LINHA NO HOVER & BOTÕES REFINADOS) ── */

/* Container Principal do Card */
div.blog-card,
.blog-card {
  position: relative !important;
  border-radius: 14px !important;
  background-color: #ffffff !important;
  border: 1px solid #eef2f6 !important;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  width: 100% !important;
  margin-bottom: 0 !important;
  text-decoration: none !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.28s ease !important;
}

/* Hover no Card: Elevação Suave SEM linhas, barras ou anéis coloridos */
div.blog-card:hover,
.blog-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12) !important;
  border-color: #cbd5e1 !important;
  text-decoration: none !important;
}

/* ELIMINA QUALQUER LINHA, BARRA OU SUBLINHADO AO PASSAR O MOUSE NO CARD */
div.blog-card,
div.blog-card:hover,
div.blog-card *,
div.blog-card *:hover,
div.blog-card a,
div.blog-card a:hover,
div.blog-card a:focus,
div.blog-card a::before,
div.blog-card a::after,
.blog-card,
.blog-card:hover,
.blog-card *,
.blog-card *:hover,
.blog-card a,
.blog-card a:hover {
  text-decoration: none !important;
  outline: none !important;
}

div.blog-card a,
div.blog-card a:hover,
div.blog-card .box-title a,
div.blog-card .box-title a:hover,
div.blog-card .portfolio-content a,
div.blog-card .portfolio-content a:hover,
.blog-card .box-title a,
.blog-card .box-title a:hover {
  background-image: none !important;
  background-size: 0 0 !important;
  text-decoration: none !important;
}

/* Neutraliza o link filho aninhado <a class="blog-card"> */
a.blog-card,
div.blog-card > a.blog-card,
div.blog-card > a.blog-card:hover,
div.blog-card > a.blog-card:focus {
  all: unset !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  height: 100% !important;
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  transform: none !important;
}

/* Imagem do Produto: Totalmente natural, limpa, sem zoom, sem brilho e sem alterações no hover */
div.blog-card .blog-img,
div.blog-card .blog-img2,
.blog-card .blog-img,
.blog-card .blog-img2 {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1200 / 800 !important; /* Proporção de banner 1200x800 (3:2) */
  height: auto !important;
  max-height: none !important;
  overflow: hidden !important;
  isolation: isolate !important;
  background-color: transparent !important;
  border-radius: 16px 16px 0 0 !important;
  border-bottom: none !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

div.blog-card .blog-img::before,
div.blog-card .blog-img::after,
div.blog-card .blog-img2::before,
div.blog-card .blog-img2::after,
.blog-card .blog-img::before,
.blog-card .blog-img::after,
.blog-card .blog-img2::before,
.blog-card .blog-img2::after,
div.blog-card::before,
div.blog-card::after,
.blog-card::before,
.blog-card::after {
  display: none !important;
  content: none !important;
  background: none !important;
  box-shadow: none !important;
}

div.blog-card .blog-img img,
div.blog-card .blog-img2 img,
.blog-card .blog-img img,
.blog-card .blog-img2 img,
.blog-card img,
div.blog-card img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1200 / 800 !important; /* Proporção de banner 1200x800 (3:2) */
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  max-height: none !important;
  min-height: 0 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
  -webkit-transform: translate3d(0, 0, 0) scale(1) !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  will-change: transform !important;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
  filter: none !important;
  -webkit-filter: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

/* Animação suave de zoom ao passar o mouse SEM alterar cores, brilho ou nitidez da imagem original */
div.blog-card:hover .blog-img img,
div.blog-card:hover .blog-img2 img,
.blog-card:hover .blog-img img,
.blog-card:hover .blog-img2 img,
div.blog-card:hover img,
.blog-card:hover img {
  transform: translate3d(0, 0, 0) scale(1.06) !important;
  -webkit-transform: translate3d(0, 0, 0) scale(1.06) !important;
  filter: none !important;
  -webkit-filter: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

/* Conteúdo de Texto do Card (Preenchimento Flexível Uniforme) */
div.blog-card .blog-content,
.blog-card .blog-content {
  padding: 12px 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  justify-content: space-between !important;
  background-color: #ffffff !important;
  margin: 0 !important;
  border-radius: 0 0 16px 16px !important;
  overflow: hidden !important;
}

div.blog-card .portfolio-content,
.blog-card .portfolio-content {
  margin-top: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  text-align: center !important;
  height: 100% !important;
  padding: 0 !important;
  border-radius: 0 0 16px 16px !important;
}

/* Título do Produto (Altura Padronizada de 36px: Alinha Perfeitamente Cards de 1 e 2 Linhas) */
div.blog-card .card-product-title,
.blog-card .card-product-title,
div.blog-card .portfolio-content p.card-product-title,
.blog-card .portfolio-content p.card-product-title,
div.blog-card .portfolio-content p.mb-2,
.blog-card .portfolio-content p.mb-2 {
  min-height: 36px !important;
  max-height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 2px !important;
  margin-top: 0 !important;
  text-align: center !important;
}

div.blog-card .portfolio-content p b,
.blog-card .portfolio-content p b {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  height: auto !important;
  max-height: 36px !important;
  text-decoration: none !important;
  transition: color 0.18s ease !important;
  margin: 0 !important;
}

div.blog-card .portfolio-content p,
.blog-card .portfolio-content p {
  margin-bottom: 2px !important;
}

div.blog-card:hover .portfolio-content p b,
.blog-card:hover .portfolio-content p b {
  color: var(--theme-color, #0284c7) !important;
  text-decoration: none !important;
}

/* Subtítulo / Descrição Rápida (1 Linha Limpa com 16px Padronizados) */
div.blog-card .text-desc,
.blog-card .text-desc {
  font-size: 11px !important;
  color: #64748b !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  height: 16px !important;
  min-height: 16px !important;
  margin-top: 0 !important;
  margin-bottom: 4px !important;
  line-height: 1.4 !important;
  display: block !important;
}

/* Espaçador Invisível para Produtos sem Subtítulo (Mantém Todos os Cards com Altura 100% Idêntica) */
div.blog-card .text-desc.invisible-placeholder,
.blog-card .text-desc.invisible-placeholder {
  visibility: hidden !important;
  pointer-events: none !important;
  user-select: none !important;
}

div.blog-card hr,
.blog-card hr {
  margin: 6px 0 8px !important;
  margin-top: auto !important; /* Empurra o rodapé (preço e botões) para a base exata do card */
  border: 0 !important;
  border-top: 1px solid #f1f5f9 !important;
  opacity: 1 !important;
  width: 100% !important;
}

/* Preço do Produto (Centralizado e com Alto Destaque Visual) */
div.blog-card .text-color-valor:not(.ocultar),
.blog-card .text-color-valor:not(.ocultar) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 24px !important;
  margin: 2px 0 8px !important;
  line-height: 1 !important;
}

div.blog-card .text-color-valor:not(.ocultar) > span,
.blog-card .text-color-valor:not(.ocultar) > span {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #ea580c !important;
}

div.blog-card .text-color-valor:not(.ocultar) small del,
.blog-card .text-color-valor:not(.ocultar) small del {
  font-size: 11.5px !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
  text-decoration: line-through !important;
}

/* Botões de Ação do Rodapé (Comprar em Destaque + Ícone Carrinho) */
div.blog-card .d-flex.gap-2,
.blog-card .d-flex.gap-2 {
  gap: 8px !important;
  margin-top: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

/* 1. Botão Comprar (Principal Destaque Azul - Slim / Fino e Elegante) */
div.blog-card .btn-success,
.blog-card .btn-success,
.swiper-slide .blog-card .btn-success,
div.blog-card .btn.btn-sm.btn-success,
.blog-card .btn.btn-sm.btn-success,
.swiper-slide .blog-card .btn.btn-sm.btn-success {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 0 8px !important;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  background-color: #0284c7 !important;
  border: none !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  margin: 0 !important;
  line-height: normal !important;
}

div.blog-card .btn-success:hover,
.blog-card .btn-success:hover,
.swiper-slide .blog-card .btn-success:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.45) !important;
  transform: translateY(-1px) !important;
}

div.blog-card .btn-success i,
.blog-card .btn-success i,
.swiper-slide .blog-card .btn-success i,
div.blog-card .btn.btn-sm.btn-success i,
.blog-card .btn.btn-sm.btn-success i,
.swiper-slide .blog-card .btn.btn-sm.btn-success i {
  font-size: 12.5px !important;
  margin: 0 !important;
  color: #ffffff !important;
}

/* 2. Botão Carrinho (Ícone Proporcional e Elegante em Azul - Slim) */
div.blog-card .btn-primary:not(.btn-card-detalhes):not(.w-100),
.blog-card .btn-primary:not(.btn-card-detalhes):not(.w-100),
.swiper-slide .blog-card .btn-primary:not(.btn-card-detalhes):not(.w-100),
div.blog-card .btn.btn-sm.btn-primary:not(.btn-card-detalhes):not(.w-100),
.blog-card .btn.btn-sm.btn-primary:not(.btn-card-detalhes):not(.w-100),
.swiper-slide .blog-card .btn.btn-sm.btn-primary:not(.btn-card-detalhes):not(.w-100) {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  flex: 0 0 32px !important;
  border-radius: 8px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f0f9ff !important;
  border: 1px solid #bae6fd !important;
  color: #0284c7 !important;
  font-size: 12.5px !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
  cursor: pointer !important;
  margin: 0 !important;
  line-height: normal !important;
}

div.blog-card .btn-primary:not(.btn-card-detalhes):not(.w-100):hover,
.blog-card .btn-primary:not(.btn-card-detalhes):not(.w-100):hover {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
  transform: translateY(-1px) !important;
}

div.blog-card .btn-primary:not(.btn-card-detalhes):not(.w-100) i,
.blog-card .btn-primary:not(.btn-card-detalhes):not(.w-100) i {
  font-size: 13.5px !important;
  margin: 0 !important;
}

/* 3. Botão de Ação / Detalhes do Sistema (Largura Total, Elegante e com Alto Destaque) */
div.blog-card .btn-card-detalhes,
.blog-card .btn-card-detalhes,
div.blog-card .btn-primary.w-100,
.blog-card .btn-primary.w-100,
div.blog-card .btn-card-detalhes.w-100 {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
  height: 38px !important;
  border-radius: 9px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 0 14px !important;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  border: none !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.28) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  text-decoration: none !important;
  margin: 0 !important;
}

div.blog-card .btn-card-detalhes:hover,
.blog-card .btn-card-detalhes:hover,
div.blog-card .btn-primary.w-100:hover,
.blog-card .btn-primary.w-100:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.45) !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

div.blog-card .btn-card-detalhes i,
.blog-card .btn-card-detalhes i,
div.blog-card .btn-primary.w-100 i,
.blog-card .btn-primary.w-100 i {
  font-size: 14px !important;
  color: #ffffff !important;
  margin: 0 !important;
  transition: transform 0.2s ease !important;
}

div.blog-card .btn-card-detalhes:hover i,
.blog-card .btn-card-detalhes:hover i {
  transform: scale(1.15) !important;
}

/* Container do Botão de Ação dos Cards */
div.blog-card .card-action-box,
.blog-card .card-action-box {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: auto !important;
  padding-top: 2px !important;
}

/* 4. Fallback para Detalhes se existir */
div.blog-card .btn-outline-primary,
.blog-card .btn-outline-primary {
  display: none !important;
}

/* ── 8. RESPONSIVIDADE MOBILE DO CABEÇALHO E ELEMENTOS ────────────────────── */
@media (max-width: 991px) {
  .header-layout2 .sticky-wrapper {
    padding-top: 12px !important;
  }

  .header-layout2 .sticky-area .row {
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .header-layout2:not(.landing-header-mode) .header-logo {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    padding: 4px 14px !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #ffffff !important;
  }

  .header-layout2 .header-logo img {
    max-height: 24px !important;
    max-width: 110px !important;
    width: auto !important;
  }

  .header-layout2:not(.landing-header-mode) .menu-area {
    width: auto !important;
    max-width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding: 0 !important;
    margin: 0 0 0 auto !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .header-layout2 .header-button {
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
  }

  .header-layout2 .header-search {
    display: none !important;
  }

  .icon-buscar {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Estilos específicos para modo escuro */
  body.dark-theme .header-layout2 .header-button .icon-btn,
  body.dark-theme .header-layout2 .header-button .th-menu-toggle {
    background-color: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  }

  body.dark-theme .header-layout2 .header-button .icon-btn i,
  body.dark-theme .header-layout2 .header-button .th-menu-toggle i {
    color: #ffffff !important;
  }
}

@media (max-width: 480px) {
  .hero-style5 .hero-buttons .th-btn,
  .hero-buttons .th-btn {
    height: 35px !important;
    min-height: 35px !important;
    max-height: 35px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    gap: 5px !important;
  }

  .hero-style5 .hero-buttons .th-btn i,
  .hero-buttons .th-btn i {
    font-size: 11px !important;
  }

  .header-layout2:not(.landing-header-mode) .header-logo {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 3px 10px !important;
  }

  .header-layout2 .header-logo img {
    max-height: 20px !important;
    max-width: 90px !important;
  }

  .header-layout2 .header-button {
    gap: 6px !important;
  }

  body.dark-theme .header-layout2 .header-button .icon-btn,
  body.dark-theme .header-layout2 .header-button .th-menu-toggle {
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    max-width: 35px !important;
    font-size: 13px !important;
  }

  body.dark-theme .header-layout2 .header-button .icon-btn i,
  body.dark-theme .header-layout2 .header-button .th-menu-toggle i {
    font-size: 13px !important;
  }
}

/* ==========================================================================
   >>> BOTÕES FLUTUANTES (WHATSAPP EM BAIXO, SCROLL TO TOP EM CIMA - SEGUROS NO MOBILE) <<<
   ========================================================================== */
.whatsapp-button {
  position: fixed !important;
  right: 20px !important;
  bottom: 25px !important;
  z-index: 9999 !important;
}

.scroll-top {
  position: fixed !important;
  right: 20px !important;
  bottom: 95px !important;
  z-index: 9998 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease !important;
  transform: translateY(15px) !important;
}

.scroll-top.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

@media (max-width: 767px) {
  .whatsapp-button {
    right: 15px !important;
    bottom: 20px !important;
  }

  .whatsapp-button .call-btn .play-btn {
    width: 50px !important;
    height: 50px !important;
    line-height: 50px !important;
    font-size: 24px !important;
  }

  .scroll-top {
    right: 15px !important;
    bottom: 82px !important;
    width: 48px !important;
    height: 48px !important;
  }

  .scroll-top:after {
    width: 48px !important;
    height: 48px !important;
    line-height: 48px !important;
    font-size: 18px !important;
    border-radius: 50% !important;
  }
}

/* ==========================================================================
   >>> RESPONSIVIDADE ULTRA-REFINADA PARA CARDS DE PRODUTOS NO MOBILE <<<
   ========================================================================== */
@media (max-width: 575px) {
  /* Gutter otimizado: 10px entre colunas no mobile para dar mais largura aos cards */
  #blog-sec .row,
  #blog-sec-pacotes .row,
  #blog-sec-lancamentos .row,
  .th-container .row,
  #listar-produtos .row {
    --bs-gutter-x: 10px !important;
    --bs-gutter-y: 12px !important;
  }

  #blog-sec .row > [class*="col-"],
  #blog-sec-pacotes .row > [class*="col-"],
  #blog-sec-lancamentos .row > [class*="col-"],
  .th-container .row > [class*="col-"],
  #listar-produtos .row > [class*="col-"] {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  /* Padding interno mais compacto e ergonômico no mobile */
  div.blog-card .blog-content,
  .blog-card .blog-content {
    padding: 8px 8px 10px !important;
  }

  /* Título 2 linhas no mobile com altura padronizada de 34px */
  div.blog-card .card-product-title,
  .blog-card .card-product-title {
    min-height: 34px !important;
    max-height: 34px !important;
    height: 34px !important;
  }

  div.blog-card .card-product-title b,
  .blog-card .card-product-title b {
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  div.blog-card .text-desc,
  .blog-card .text-desc,
  div.blog-card .text-desc.invisible-placeholder,
  .blog-card .text-desc.invisible-placeholder {
    font-size: 10px !important;
    height: 14px !important;
    min-height: 14px !important;
    max-height: 14px !important;
    line-height: 14px !important;
    margin-bottom: 2px !important;
  }

  /* Preços no mobile */
  div.blog-card .text-color-valor:not(.ocultar) > span,
  .blog-card .text-color-valor:not(.ocultar) > span {
    font-size: 14px !important;
  }

  div.blog-card .text-color-valor:not(.ocultar) small del,
  .blog-card .text-color-valor:not(.ocultar) small del {
    font-size: 10px !important;
  }

  /* Botão Comprar no mobile: slim e confortável */
  div.blog-card .btn-success,
  .blog-card .btn-success,
  .swiper-slide .blog-card .btn-success,
  div.blog-card .btn.btn-sm.btn-success,
  .blog-card .btn.btn-sm.btn-success,
  .swiper-slide .blog-card .btn.btn-sm.btn-success {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    gap: 5px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  div.blog-card .btn-success i,
  .blog-card .btn-success i,
  .swiper-slide .blog-card .btn-success i,
  div.blog-card .btn.btn-sm.btn-success i,
  .blog-card .btn.btn-sm.btn-success i,
  .swiper-slide .blog-card .btn.btn-sm.btn-success i {
    font-size: 12.5px !important;
    margin: 0 !important;
  }

  /* Botão Carrinho no mobile */
  div.blog-card .btn-primary:not(.btn-card-detalhes):not(.w-100),
  .blog-card .btn-primary:not(.btn-card-detalhes):not(.w-100),
  .swiper-slide .blog-card .btn-primary:not(.btn-card-detalhes):not(.w-100),
  div.blog-card .btn.btn-sm.btn-primary:not(.btn-card-detalhes):not(.w-100),
  .blog-card .btn.btn-sm.btn-primary:not(.btn-card-detalhes):not(.w-100),
  .swiper-slide .blog-card .btn.btn-sm.btn-primary:not(.btn-card-detalhes):not(.w-100) {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    flex: 0 0 32px !important;
    border-radius: 8px !important;
    font-size: 12.5px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    color: #0284c7 !important;
  }

  div.blog-card .btn-primary:not(.btn-card-detalhes):not(.w-100) i,
  .blog-card .btn-primary:not(.btn-card-detalhes):not(.w-100) i,
  .swiper-slide .blog-card .btn-primary:not(.btn-card-detalhes):not(.w-100) i {
    font-size: 13.5px !important;
    margin: 0 !important;
  }

  div.blog-card .d-flex.gap-2,
  .blog-card .d-flex.gap-2,
  .swiper-slide .blog-card .d-flex.gap-2 {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    align-items: center !important;
    width: 100% !important;
  }

  /* Botão Detalhes em cards que usam botão único */
  div.blog-card .btn-card-detalhes,
  .blog-card .btn-card-detalhes,
  div.blog-card .btn-primary.w-100,
  .blog-card .btn-primary.w-100 {
    height: 38px !important;
    font-size: 12.5px !important;
    border-radius: 10px !important;
  }
  /* Espaçamento de segurança no final da página para NUNCA sobrepor com botões flutuantes */
  #blog-sec,
  #blog-sec-pacotes,
  #blog-sec-lancamentos,
  .th-container,
  #listar-produtos {
    padding-bottom: 90px !important;
  }
}

/* ==========================================================================
   >>> ALTERAÇÃO AQUI: CHECKBOX DOS TERMOS VISÍVEL E MODERNO NO MODAL <<<
   ========================================================================== */
.auth-termos-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.auth-termos-wrap input[type="checkbox"],
#termos_carrinho {
  visibility: visible !important;
  opacity: 1 !important;
  display: inline-block !important;
  -webkit-appearance: checkbox !important;
  appearance: auto !important;
  width: 19px !important;
  height: 19px !important;
  min-width: 19px !important;
  min-height: 19px !important;
  cursor: pointer !important;
  accent-color: #2563eb !important;
  margin: 0 !important;
}

.auth-termos-wrap input[type="checkbox"] ~ label:before,
#termos_carrinho ~ label:before {
  display: none !important;
  content: none !important;
}



/* ==========================================================================
   >>> MODAL DO CARRINHO MODERNO & RESPONSIVO (PADRÃO CARRINHO.PHP) <<<
   ========================================================================== */
.modal-carrinho-content {
  border-radius: 20px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.15) !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

.modal-carrinho-header {
  background: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding: 16px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.modal-carrinho-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.modal-carrinho-text-dark {
  color: #0f172a !important;
}

.modal-carrinho-footer-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 20px;
}

/* Responsividade Mobile do Modal Carrinho */
@media (max-width: 576px) {
  #modalCarrinho .modal-dialog {
    margin: 0.5rem !important;
    max-width: calc(100% - 1rem) !important;
  }

  .modal-carrinho-content {
    border-radius: 16px !important;
  }

  .modal-carrinho-header {
    padding: 12px 16px !important;
  }

  #carrinho-itens {
    padding: 12px !important;
  }

  #modalCarrinho .cart-item-card {
    padding: 12px !important;
    border-radius: 14px !important;
  }

  #modalCarrinho .cart-item-img-wrap {
    width: 54px !important;
    height: 54px !important;
    border-radius: 10px !important;
  }

  #modalCarrinho .cart-item-title a {
    font-size: 13.5px !important;
  }

  #modalCarrinho .cart-item-actions {
    width: 100% !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding-top: 8px !important;
    border-top: 1px solid #f1f5f9 !important;
  }

  #modalCarrinho .quantity-controls {
    height: 34px !important;
    padding: 2px !important;
  }

  #modalCarrinho .quantity-controls .btn-qty {
    width: 28px !important;
    height: 28px !important;
    font-size: 10px !important;
  }

  #modalCarrinho .quantity-controls .quantity-value {
    min-width: 24px !important;
    font-size: 13.5px !important;
  }

  #modalCarrinho .cart-item-subtotal strong {
    font-size: 1rem !important;
  }

  #modalCarrinho .btn-remove-item {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
  }

  .modal-carrinho-footer-box {
    padding: 14px 16px !important;
  }

  .modal-carrinho-footer-box .order-total-price {
    font-size: 1.45rem !important;
  }

  .modal-carrinho-footer-box .btn-checkout-primary {
    height: 46px !important;
    font-size: 14.5px !important;
  }

  .modal-carrinho-footer-actions {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
  }

  .modal-btn-action,
  .modal-carrinho-footer-actions button,
  .modal-carrinho-footer-actions a {
    white-space: nowrap !important;
    font-size: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
  }

  @media (max-width: 380px) {
    .modal-btn-action,
    .modal-carrinho-footer-actions button,
    .modal-carrinho-footer-actions a {
      font-size: 11px !important;
      gap: 2px !important;
    }
  }
}

/* Tema Escuro para Modal do Carrinho */
body.dark-theme .modal-carrinho-content {
  background: #151824 !important;
  border-color: #2b3046 !important;
}

body.dark-theme .modal-carrinho-header {
  background: #1a1e30 !important;
  border-bottom-color: #2b3046 !important;
}

body.dark-theme .modal-carrinho-icon {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
}

body.dark-theme .modal-carrinho-text-dark {
  color: #f1f5f9 !important;
}

body.dark-theme .modal-carrinho-content #carrinho-itens .cart-item-card {
  background: #1a1e30 !important;
  border-color: #2b3046 !important;
}

body.dark-theme .modal-carrinho-content #carrinho-itens .cart-item-card:hover {
  border-color: #3b82f6 !important;
}

body.dark-theme .modal-carrinho-content #carrinho-itens .cart-item-img-wrap {
  background: #151824 !important;
  border-color: #2b3046 !important;
}

body.dark-theme .modal-carrinho-content #carrinho-itens .cart-item-title a {
  color: #f1f5f9 !important;
}

body.dark-theme .modal-carrinho-content #carrinho-itens .cart-item-title a:hover {
  color: #60a5fa !important;
}

body.dark-theme .modal-carrinho-content #carrinho-itens .cart-type-badge {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
}

body.dark-theme .modal-carrinho-content #carrinho-itens .quantity-controls {
  background: #151824 !important;
}

body.dark-theme .modal-carrinho-content #carrinho-itens .quantity-controls .btn-qty {
  background: #22273c !important;
  color: #cbd5e1 !important;
}

body.dark-theme .modal-carrinho-content #carrinho-itens .quantity-controls .quantity-value {
  color: #f1f5f9 !important;
}

body.dark-theme .modal-carrinho-content #carrinho-itens .cart-item-subtotal strong {
  color: #60a5fa !important;
}

body.dark-theme .modal-carrinho-footer-box {
  background: #1a1e30 !important;
  border-color: #2b3046 !important;
}

body.dark-theme .modal-carrinho-footer-box .order-total-price {
  color: #38bdf8 !important;
}

/* Botão Fechar Modal Carrinho */
.btn-close-modal-carrinho,
#btn-fechar-carrinho {
  position: relative !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  border-radius: 50% !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #64748b !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  padding: 0 !important;
  line-height: 1 !important;
  outline: none !important;
  box-shadow: none !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
  opacity: 1 !important;
  z-index: 5 !important;
}

.btn-close-modal-carrinho:hover,
#btn-fechar-carrinho:hover {
  background: #fee2e2 !important;
  border-color: #fecaca !important;
  color: #ef4444 !important;
  transform: rotate(90deg) scale(1.05) !important;
}

.btn-close-modal-carrinho i,
#btn-fechar-carrinho i {
  font-size: 15px !important;
  color: inherit !important;
  line-height: 1 !important;
  display: inline-block !important;
  pointer-events: none !important;
}

body.dark-theme .btn-close-modal-carrinho,
body.dark-theme #btn-fechar-carrinho {
  background: #22273c !important;
  border-color: #2b3046 !important;
  color: #cbd5e1 !important;
}

body.dark-theme .btn-close-modal-carrinho:hover,
body.dark-theme #btn-fechar-carrinho:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: #ef4444 !important;
  color: #f87171 !important;
}

body.dark-theme .modal-carrinho-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%) !important;
}
