/* =========================================
   EFCOL - Modern Product Cards CSS
   ========================================= */

/* CSS Variables para paleta de cores EFCOL */
:root {
  --efcol-primary: #b21f2a;
  --efcol-primary-light: #d31f1f;
  --efcol-primary-dark: #741117;
  --efcol-secondary: #f6b964;
  --efcol-secondary-light: #ffe27c;
  --efcol-text-dark: #333;
  --efcol-text-light: #666;
  --efcol-white: #ffffff;
  --efcol-success: #28a745;
  --efcol-border: #e9ecef;
  --efcol-shadow: 0 4px 20px rgba(178, 31, 42, 0.2);
  --efcol-shadow-hover: 0 8px 30px rgba(178, 31, 42, 0.15);
  --efcol-section-bg-1: #f7f8fc;
  --efcol-section-bg-2: #f1f3f6;
}

/* ========== MODERN PRODUCT CARDS ========== */

/* Container principal dos produtos */
.container-produto {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Badge de promoção */
.promo-badge,
.modern-badge-shipping,
.modern-badge-event, .modern-badge-discount {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, var(--efcol-primary), var(--efcol-primary-light));
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(178, 31, 42, 0.3);
  z-index: 10;
  animation: pulse-badge 2s infinite;
}

.modern-badge-discount{
  right: 16px;
  left: auto;
}

.modern-badge-shipping, .modern-badge-discount {
  background: linear-gradient(135deg, var(--efcol-success), #20c997);
}

.modern-badge-event {
  background: linear-gradient(135deg, #741117, var(--efcol-primary-light));
  border: 1px solid #e9ecef;
}

.modern-products-section {
  padding: 60px 0;
  background-color: var(--efcol-section-bg-1);
}

/* Aplicar cores alternadas às seções com produtos */
/* Primeira seção - Livros (cor 1) */
.ftco-section.bg-light:has(.container .row .heading-section h3:contains("Livros")),
section:nth-child(2).ftco-section.bg-light {
  background-color: var(--efcol-section-bg-1) !important;
}

/* Segunda seção - Eventos (cor 2) */
.ftco-section.bg-light:has(.container .row .heading-section h3:contains("Eventos")),
section:nth-child(3).ftco-section.bg-light {
  background-color: var(--efcol-section-bg-2) !important;
}

/* Terceira seção - Bandeiras (cor 1) */
.ftco-section.bg-white:has(.container .row .heading-section h3:contains("Bandeiras")),
section:nth-child(4).ftco-section.bg-white {
  background-color: var(--efcol-section-bg-1) !important;
}

/* Seção específica do "Explore Mais" (cor 2) */
.ftco-section.ftco-choose.ftco-no-pb.pt-5 {
  background-color: var(--efcol-section-bg-2) !important;
}

/* Fallback para nth-child */
.ftco-section.bg-light:nth-of-type(odd),
.ftco-section.bg-white:nth-of-type(odd) {
  background-color: var(--efcol-section-bg-1) !important;
}

.ftco-section.bg-light:nth-of-type(even),
.ftco-section.bg-white:nth-of-type(even) {
  background-color: var(--efcol-section-bg-2) !important;
}

.modern-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 cards por linha no desktop */
  gap: 30px;
  margin-bottom: 40px;
}

/* Card moderno do produto */
.modern-product-card {
  background: var(--efcol-white);
  border-radius: 20px;
  box-shadow: var(--efcol-shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
  min-height: 400px;
  /* Altura mínima aumentada para acomodar botões empilhados */
  height: auto;
  /* Permitir altura dinâmica */
  display: flex;
  flex-direction: column;
}

.modern-product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--efcol-shadow-hover);
}

/* Container da imagem */
.modern-card-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  height: 250px;
  /* Reduzir altura da imagem para dar mais espaço ao conteúdo */
  background: linear-gradient(135deg, var(--efcol-secondary-light) 0%, var(--efcol-secondary) 100%);
  flex-shrink: 0;
  /* Não permitir que a imagem encolha */
}

.modern-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.modern-product-card:hover .modern-card-image img {
  transform: scale(1.05);
}

/* Overlay da imagem */
.modern-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modern-product-card:hover .modern-card-overlay {
  opacity: 1;
}

/* Badges */
.modern-product-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modern-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--efcol-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: absolute;
  z-index: 2;
}


/* Quando há discount e shipping juntos */
.modern-product-card:has(.modern-badge-discount) .modern-badge-shipping {
  bottom: 15px;
  top: auto;
  right: 15px;
  left: auto;
}

.modern-product-card:has(.promo-badge) .modern-badge-event{
  left: auto;
  right: 15px;
  top: auto;
  bottom: 15px;
}

/* Conteúdo do card */
.modern-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  /* Altura mínima para o conteúdo */
}

.modern-card-title {
  font-size: 16px;
  /* Reduzir tamanho da fonte */
  font-weight: 700;
  color: var(--efcol-text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  transition: color 0.3s ease;
  min-height: 42px;
  /* Altura mínima para 2 linhas */
}

.modern-card-title a {
  color: var(--efcol-text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.modern-card-title a:hover {
  color: var(--efcol-primary);
  text-decoration: none;
}

/* Preços modernos */
.modern-card-price {
  margin-bottom: 15px;
  /* Reduzir margem */
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 40px;
  /* Altura mínima para preços */
}

.modern-price-current {
  font-size: 20px;
  /* Reduzir tamanho da fonte */
  font-weight: 800;
  color: var(--efcol-success);
  line-height: 1;
}

.modern-price-old {
  font-size: 14px;
  /* Reduzir tamanho da fonte */
  color: var(--efcol-text-light);
  text-decoration: line-through;
  position: relative;
}

.modern-price-discount {
  background: linear-gradient(135deg, var(--efcol-primary) 0%, var(--efcol-primary-light) 100%);
  color: var(--efcol-white);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-left: auto;
}

/* Botões de ação */
.modern-card-footer {
  display: flex;
  flex-direction: column;
  /* Mudança para coluna no desktop */
  gap: 8px;
}

.modern-btn {
  width: 100%;
  /* Botões ocupam toda a largura disponível */
  padding: 10px 12px;
  /* Aumentar padding vertical */
  border-radius: 1.5em;
  border: none;
  font-weight: 600;
  font-size: 13px;
  /* Tamanho de fonte ligeiramente maior */
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  min-height: 40px;
  /* Altura mínima maior para melhor clique */
  white-space: nowrap;
  /* Evitar quebra de linha */
  box-sizing: border-box;
}

.modern-btn-primary {
  background: linear-gradient(135deg, var(--efcol-primary) 0%, var(--efcol-primary-light) 100%);
  color: var(--efcol-white);
  box-shadow: 0 4px 15px rgba(178, 31, 42, 0.3);
}

.modern-btn-primary:hover {
  background: var(--efcol-primary-dark);
  color: var(--efcol-white);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(178, 31, 42, 0.4);
}

.modern-btn-secondary {
  background: transparent;
  color: var(--efcol-primary);
  border: 2px solid var(--efcol-primary);
}

.modern-btn-secondary:hover {
  background: var(--efcol-primary);
  color: var(--efcol-white);
  text-decoration: none;
  transform: translateY(-2px);
}

.modern-btn.full-width {
  width: 100%;
  flex: none;
}

.modern-btn-cart {
  background: linear-gradient(135deg, var(--efcol-secondary) 0%, var(--efcol-secondary-light) 100%);
  color: var(--efcol-text-dark);
  min-width: 120px;
}

.modern-btn-cart:hover {
  background: #e6a94b;
  color: var(--efcol-text-dark);
  text-decoration: none;
  transform: translateY(-2px);
}

/* ========== MOBILE CAROUSEL ========== */

.mobile-products-carousel {
  display: none;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

/* Mostrar carousel no mobile */
@media (max-width: 768px) {
  .mobile-products-carousel {
    display: block !important;
  }

  /* Prevenir scroll horizontal na página */
  body {
    overflow-x: hidden;
  }

  /* Garantir que containers não excedam a largura */
  .container,
  .container-fluid {
    max-width: 100vw;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
}

.mobile-carousel-container {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  gap: 15px;
  padding: 15px;
  width: 100%;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */

  /* Suavidade nativa do browser otimizada */
  scroll-padding: 15px;
  overscroll-behavior-x: contain;
  scroll-snap-stop: normal;
  /* Mudado de 'always' para 'normal' para menos travamento */

  /* Importante: não interferir no scroll vertical da página */
  touch-action: pan-x pinch-zoom;
  /* Permitir apenas scroll horizontal */
}

/* Específico para o carrossel de lançamentos que tem estrutura diferente */
#carousel-lancamentos {
  display: flex !important;
  flex-direction: row !important;
}

.mobile-carousel-container::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.mobile-carousel-item {
  flex: 0 0 280px;
  /* Largura fixa para cada item */
  scroll-snap-align: center;
  position: relative;

  /* Transição suave e natural */
  transition: transform 0.2s ease-out;
}

/* Card mobile específico */
.mobile-carousel-item .modern-product-card {
  width: 100%;
  height: 400px;
  /* Altura fixa para consistência */
  margin: 0;
}

/* Específico para lançamentos - forçar layout correto */
#carousel-lancamentos .mobile-carousel-item {
  display: flex !important;
  flex-direction: column !important;
}

#carousel-lancamentos .mobile-carousel-item .modern-product-card {
  width: 100% !important;
  height: 400px !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

.mobile-carousel-item .modern-card-image {
  height: 180px;
  /* Altura menor para mobile */
}

.mobile-carousel-item .modern-card-content {
  padding: 15px;
  height: calc(400px - 180px);
  /* Altura restante */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* IMPORTANTE: Manter layout lado a lado no mobile carousel */
.mobile-carousel-item .modern-card-footer {
  display: flex;
  gap: 8px;
}

.mobile-carousel-item .modern-btn {
  flex: 1;
  /* Botões dividem espaço igualmente no mobile */
  padding: 6px 10px;
  font-size: 11px;
  min-height: 32px;
  width: auto;
  /* Resetar width para mobile */
}

.mobile-carousel-item .modern-card-title {
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 10px;
  min-height: 36px;
}

.mobile-carousel-item .modern-price-current {
  font-size: 18px;
}

.mobile-carousel-item .modern-btn {
  padding: 6px 10px;
  font-size: 11px;
  min-height: 32px;
}

/* Paginação do carousel */
.mobile-carousel-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
}

.mobile-pagination-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-pagination-dot.active {
  background: var(--efcol-primary);
  transform: scale(1.2);
}

/* Botão "Carregar Mais" no carousel */
.mobile-load-more-item {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

.mobile-load-more-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px dashed var(--efcol-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 20px;
}

.mobile-load-more-card:hover {
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  transform: translateY(-2px);
}

.mobile-load-more-content {
  text-align: center;
  padding: 20px;
}

.mobile-load-more-icon {
  font-size: 48px;
  color: var(--efcol-primary);
  margin-bottom: 15px;
}

.mobile-load-more-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--efcol-text-dark);
  margin-bottom: 8px;
}

.mobile-load-more-subtitle {
  font-size: 14px;
  color: var(--efcol-text-light);
  margin-bottom: 20px;
}

.mobile-load-more-button {
  background: var(--efcol-primary);
  color: var(--efcol-white);
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}

.mobile-load-more-button:hover {
  background: var(--efcol-primary-dark);
  transform: translateY(-2px);
}

.mobile-load-more-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Animações para items do carousel */
.mobile-carousel-item {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

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

/* Delays escalonados para animação */
.mobile-carousel-item:nth-child(1) {
  animation-delay: 0.1s;
}

.mobile-carousel-item:nth-child(2) {
  animation-delay: 0.2s;
}

.mobile-carousel-item:nth-child(3) {
  animation-delay: 0.3s;
}

.mobile-carousel-item:nth-child(4) {
  animation-delay: 0.4s;
}

.mobile-carousel-item:nth-child(5) {
  animation-delay: 0.5s;
}

/* Mobile pequeno - Carrossel ajustado */
@media (max-width: 480px) {
  .mobile-carousel-item {
    flex: 0 0 260px;
    /* Ligeiramente menor em telas muito pequenas */
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .mobile-carousel-container {
    padding: 10px;
    gap: 10px;
    scroll-padding: 10px;
    scroll-padding-left: 10px;
    scroll-padding-right: 10px;
  }

  .mobile-carousel-item .modern-product-card {
    height: 380px;
  }

  .mobile-carousel-item .modern-card-content {
    padding: 12px;
    height: calc(380px - 180px);
  }

  .mobile-load-more-item {
    flex: 0 0 260px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .mobile-load-more-card {
    height: 380px;
  }
}

.mobile-load-more-icon {
  font-size: 36px;
  color: var(--efcol-primary);
  margin-bottom: 15px;
  padding: 15px;
  background: rgba(178, 31, 42, 0.1);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-load-more-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--efcol-text-dark);
  margin-bottom: 8px;
  margin-top: 0;
}

.mobile-load-more-subtitle {
  font-size: 14px;
  color: var(--efcol-text-light);
  margin-bottom: 20px;
  margin-top: 0;
  line-height: 1.4;
}

.mobile-load-more-button {
  min-width: 140px;
}

/* ========== ANIMAÇÕES ========== */

.product-animate {
  opacity: 1;
  /* Começar visível */
  transform: translateY(0);
  /* Posição normal */
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Classe para ocultar antes da animação */
.product-animate.pre-animate {
  opacity: 0;
  transform: translateY(30px);
}

.product-animate.show {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback: garantir que elementos sejam visíveis após 3 segundos */
.product-animate {
  animation: ensureVisible 0.1s ease-in 3s forwards;
}

@keyframes ensureVisible {
  to {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

/* Staggered animation delays para grid */
.modern-products-grid .product-animate:nth-child(1) {
  transition-delay: 0.1s;
}

.modern-products-grid .product-animate:nth-child(2) {
  transition-delay: 0.2s;
}

.modern-products-grid .product-animate:nth-child(3) {
  transition-delay: 0.3s;
}

.modern-products-grid .product-animate:nth-child(4) {
  transition-delay: 0.4s;
}

.modern-products-grid .product-animate:nth-child(5) {
  transition-delay: 0.1s;
}

.modern-products-grid .product-animate:nth-child(6) {
  transition-delay: 0.2s;
}

.modern-products-grid .product-animate:nth-child(7) {
  transition-delay: 0.3s;
}

.modern-products-grid .product-animate:nth-child(8) {
  transition-delay: 0.4s;
}

/* Animações para carousel mobile */
.mobile-carousel-item.product-animate {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-carousel-item.product-animate.pre-animate {
  opacity: 0;
  transform: translateX(50px);
}

.mobile-carousel-item.product-animate.show {
  opacity: 1;
  transform: translateX(0);
}

/* Micro animações nos cards */
@keyframes pulse-badge {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.modern-badge.promocao {
  animation: pulse-badge 2s infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-5px);
  }
}

.modern-product-card:hover .modern-quick-actions {
  animation: float 3s ease-in-out infinite;
}

/* Loading states */
.modern-btn.loading {
  pointer-events: none;
  position: relative;
  color: transparent !important;
}

.modern-btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  color: var(--efcol-white);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Animação de entrada para novos produtos via AJAX */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

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

.product-animate.ajax-loaded {
  animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet */
@media (max-width: 992px) {
  .modern-products-grid {
    grid-template-columns: repeat(3, 1fr);
    /* 3 cards por linha no tablet */
    gap: 25px;
  }

  .modern-product-content {
    padding: 20px;
  }
}

/* Tablet pequeno e Mobile */
@media (max-width: 768px) {
  .modern-products-section {
    padding: 40px 0;
  }

  /* Esconder grid e mostrar carousel no mobile */
  .modern-products-grid {
    display: none !important;
  }

  .mobile-products-carousel {
    display: block !important;
  }

  /* Ocultar carregamento dinâmico no mobile quando há carousel */
  #mobile-products-carousel-dynamic+#product-container {
    display: none !important;
  }

  /* Ocultar botão "Carregar Mais" externo no mobile */
  .modern-load-more-btn {
    display: none !important;
  }
}

/* Mobile pequeno */
@media (max-width: 480px) {
  .modern-card-image {
    height: 250px;
  }

  .modern-card-content {
    padding: 18px;
  }

  .modern-card-title {
    font-size: 16px;
  }

  .modern-price-current {
    font-size: 20px;
  }

  .modern-btn {
    padding: 10px 12px;
    font-size: 13px;
  }

  .modern-quick-actions {
    display: none;
    /* Ocultar ações rápidas no mobile */
  }

  /* Ajustes do carousel mobile */
  .mobile-carousel-container {
    padding: 35px 15px;
    gap: 15px;
  }

  .mobile-carousel-item {
    flex: 0 0 calc(100vw - 80px);
    max-width: 280px;
  }
}

/* Mobile pequeno */
@media (max-width: 480px) {
  .mobile-carousel-item {
    flex: 0 0 calc(100vw - 60px);
    max-width: 260px;
  }

  .modern-card-footer {
    flex-direction: column;
    gap: 8px;
  }

  .modern-btn {
    width: 100%;
  }
}

/* ========== INTEGRATION WITH EXISTING STYLES ========== */

/* Manter compatibilidade com estilos existentes */
.modern-product-card .tarja-frete {
  display: none;
  /* Usar novo sistema de badges */
}

/* Override de estilos antigos quando usando classes modernas */
.modern-product-card.product {
  border-radius: 20px;
}

.modern-product-card .product .img-prod {
  background: none;
  border-radius: 0;
}

.modern-product-card .product .text {
  height: auto;
  background: none;
  border-radius: 0;
}

/* Garantir que ícones do Font Awesome sejam exibidos */
.modern-btn i,
.modern-quick-btn i,
.modern-badge i,
.mobile-load-more-icon i {
  font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome";
  font-weight: 900;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

/* Ajustes específicos para ícones */
.modern-btn i {
  margin-right: 6px;
  font-size: 14px;
}

.modern-quick-btn i {
  font-size: 16px;
}

.mobile-load-more-icon i {
  font-size: 48px;
}

/* Botão "Carregar Mais" moderno */
.modern-load-more-btn {
  background: linear-gradient(135deg, var(--efcol-primary) 0%, var(--efcol-primary-light) 100%);
  color: var(--efcol-white);
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(178, 31, 42, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
}

.modern-load-more-btn:hover {
  background: var(--efcol-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(178, 31, 42, 0.4);
  text-decoration: none;
  color: var(--efcol-white);
}

.modern-load-more-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ========== CORREÇÃO FTCO-ANIMATE ========== */
/* Correção para elementos ftco-animate que não estão sendo animados */
.ftco-animate {
  opacity: 1 !important;
  visibility: visible !important;
}

.ftco-animate.heading-section {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Animação suave para elementos ftco-animate quando necessário */
.ftco-animate:not(.ftco-animated) {
  opacity: 1 !important;
  visibility: visible !important;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* ========== MOBILE LOAD MORE BUTTON ========== */

.mobile-load-more-item {
  flex: 0 0 280px;
  scroll-snap-align: center;
}

.mobile-load-more-card {
  background: linear-gradient(135deg, var(--efcol-primary) 0%, var(--efcol-primary-dark) 100%);
  border: 2px dashed var(--efcol-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.mobile-load-more-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.mobile-load-more-content {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
}

.mobile-load-more-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--efcol-secondary);
}

.mobile-load-more-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: white;
}

.mobile-load-more-subtitle {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  color: white;
}

.mobile-load-more-button {
  background: var(--efcol-secondary);
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: bold;
  color: var(--efcol-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin: 0 auto;
}

.mobile-load-more-button:hover {
  background: var(--efcol-secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(246, 185, 100, 0.3);
}

.mobile-load-more-button:active {
  transform: translateY(0);
}

.mobile-load-more-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}