

.alerta {
    background-color: #fa8e14;
    color: #FFF;
    padding: 15px;
    font-family: Arial;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 350px;
    opacity: 80%;
    z-index: 100;
  }

  .alerta.hide {
    display: none !important;
  }

  .link-alerta {
    color: #f2f2f2;
  }

  .link-alerta:hover {
    text-decoration: underline;
    color: #FFF;
  }

  .botao-aceitar {
    background-color: #e3e3e3;
    padding: 7px;
    margin-left: 15px;
    border-radius: 5px;
    border: none;
    margin-top: 3px;
  }

  .botao-aceitar:hover {
    background-color: #f7f7f7;
    text-decoration: none;

  }

  /* Estilos do Carrinho */
  #carrinho-contador {
    font-size: 0.7rem;
    padding: 2px 6px;
    min-width: 18px;
    height: 18px;
    line-height: 14px;
  }

  .btn-comprar-agora {
    background: var(--theme-color);
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    transition: all 0.3s;
    border: none;
    height: 36px;
    line-height: 20px;
    white-space: nowrap;
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
  }
  
  @media (max-width: 767px) {
    .btn-comprar-agora {
      font-size: 11px;
      padding: 8px 10px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    
    .d-flex.gap-2 {
      flex-wrap: nowrap !important;
      gap: 6px !important;
    }
  }

  .btn-comprar-agora:hover {
    background: var(--theme-color);
    opacity: 0.9;
    color: white;
    transform: translateY(-2px);
  }

  .btn-carrinho-icon {
    background: white;
    color: var(--theme-color);
    padding: 8px 16px;
    border-radius: 5px;
    border: 1px solid var(--theme-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s;
    height: 36px;
    width: 36px;
    min-width: 36px;
    cursor: pointer;
    margin-top: 10px;
  }

  .btn-carrinho-icon:hover {
    background: var(--theme-color);
    color: white;
    transform: translateY(-2px);
  }

  /* Estilos do Carrinho - Melhorias Visuais */
  .cart-item-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  }

  .cart-item-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-color: var(--theme-color);
  }

  .cart-item-image {
    width: 100%;
    max-width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }

  .cart-item-image-modal {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  .cart-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
  }

  .cart-item-title a {
    color: #333;
    transition: color 0.3s;
  }

  .cart-item-title a:hover {
    color: var(--theme-color);
  }

  .quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 8px;
    width: fit-content;
    margin: 0 auto;
  }

  .quantity-controls-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .btn-qty, .btn-qty-modal {
    width: 40px;
    height: 40px;
    border: 2px solid #dee2e6;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #495057;
    padding: 0;
  }

  .btn-qty-modal {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .btn-qty:hover, .btn-qty-modal:hover {
    background: var(--theme-color);
    border-color: var(--theme-color);
    color: white;
    transform: scale(1.05);
  }

  .btn-qty:active, .btn-qty-modal:active {
    transform: scale(0.95);
  }

  .quantity-value, .quantity-value-modal {
    min-width: 50px;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    color: #333;
    padding: 0 10px;
  }

  .quantity-value-modal {
    min-width: 35px;
    font-size: 16px;
    padding: 0 8px;
  }

  .cart-item-subtotal {
    font-size: 18px;
    font-weight: 700;
  }

  .btn-remove-item, .btn-remove-item-modal {
    width: 45px;
    height: 45px;
    background: #dc3545;
    border: none;
    border-radius: 10px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    padding: 0;
  }

  .btn-remove-item-modal {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .btn-remove-item:hover, .btn-remove-item-modal:hover {
    background: #c82333;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
  }

  .btn-remove-item:active, .btn-remove-item-modal:active {
    transform: scale(0.95);
  }

  .cart-item-row {
    transition: background-color 0.3s;
  }

  .cart-item-row:hover {
    background-color: #f8f9fa;
  }

  @media (max-width: 768px) {
    .cart-item-card {
      padding: 15px;
    }

    .cart-item-image {
      max-width: 80px;
      height: 80px;
    }

    .quantity-controls {
      gap: 8px;
      padding: 6px;
    }

    .btn-qty {
      width: 35px;
      height: 35px;
    }

    .quantity-value {
      font-size: 16px;
      min-width: 40px;
    }

    .cart-item-title {
      font-size: 14px;
    }

    .cart-item-subtotal {
      font-size: 16px;
    }

    .btn-remove-item {
      width: 40px;
      height: 40px;
      font-size: 14px;
    }
  }

  /* Animações suaves */
  .cart-item-card {
    animation: fadeIn 0.3s ease-in;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }


/* ============ ANIMAÇÕES DE SCROLL ============ */
.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate-delay-1 {
  transition-delay: 0.1s;
}

.scroll-animate-delay-2 {
  transition-delay: 0.2s;
}

.scroll-animate-delay-3 {
  transition-delay: 0.3s;
}

.scroll-animate-delay-4 {
  transition-delay: 0.4s;
}

.scroll-animate-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.scroll-animate-fade.animate-in {
  opacity: 1;
}

.scroll-animate-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate-scale.animate-in {
  opacity: 1;
  transform: scale(1);
}

.scroll-animate-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate-left.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate-right.animate-in {
  opacity: 1;
  transform: translateX(0);
}

/* Desabilitar animações em dispositivos com preferência reduzida de movimento */
@media (prefers-reduced-motion: reduce) {
  .scroll-animate,
  .scroll-animate-fade,
  .scroll-animate-scale,
  .scroll-animate-left,
  .scroll-animate-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* ============ FIM ANIMAÇÕES DE SCROLL ============ */

/* Remove fundo branco - regra mais específica */
@media (max-width: 991px) {
  .btn-mobile-sem-fundo {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: var(--theme-color) !important;
    box-shadow: none !important;
    --icon-bg: transparent !important;
  }
  
  .btn-mobile-sem-fundo i {
    color: var(--theme-color) !important;
  }
}

/* Ajuste dos botões no mobile - alinhar à esquerda */
@media (max-width: 991px) {
  .header-layout2 .menu-area {
    justify-content: flex-start !important;
    padding-left: 10px !important;
    background-color: transparent !important;
    --body-bg: transparent !important;
  }
  
  .header-layout2 .menu-area .main-menu {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .header-layout2 .header-button {
    gap: 12px !important;
    flex-wrap: nowrap !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  /* Espaçamento específico entre carrinho e menu hambúrguer */
  .header-layout2 .header-button .icon-btn.position-relative {
    margin-right: 12px !important;
  }
  
  .header-layout2 .header-button .th-menu-toggle {
    margin-left: 12px !important;
  }
  
  /* Todos os botões sem fundo e azuis - regra mais forte */
  .header-layout2 .header-button .icon-btn,
  .header-layout2 .header-search .icon-btn,
  .header-layout2 .header-button .th-menu-toggle,
  .header-layout2 .icon-btn,
  .header-layout2 .th-menu-toggle,
  .header-layout2 .btn-mobile-icon,
  .header-layout2 .header-button .btn-mobile-icon,
  .header-layout2 .header-search .btn-mobile-icon {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: var(--theme-color) !important;
    box-shadow: none !important;
    --icon-bg: transparent !important;
    padding: 0 !important;
  }
  
  .header-layout2 .btn-mobile-icon i,
  .header-layout2 .header-button .btn-mobile-icon i,
  .header-layout2 .header-search .btn-mobile-icon i {
    color: var(--theme-color) !important;
  }
  
  .header-layout2 .header-button .icon-btn:hover,
  .header-layout2 .header-search .icon-btn:hover,
  .header-layout2 .header-button .th-menu-toggle:hover {
    background-color: transparent !important;
    background: transparent !important;
    border-color: transparent !important;
    color: var(--theme-color) !important;
    opacity: 0.8;
  }
  
  .header-layout2 .header-button .icon-btn i,
  .header-layout2 .header-search .icon-btn i,
  .header-layout2 .header-button .th-menu-toggle i {
    color: var(--theme-color) !important;
  }
  
  .header-layout2 .th-menu-toggle {
    margin-left: 0 !important;
  }
}

