/*
    Cor 1 #ee5123 - Laranja
    Cor 2 #feca0a - Amarelo
*/
html {
    scroll-behavior: smooth;
}
::selection {
    background-color: #feca0a;
    color: #212529
}

body {
    font-family: 'Montserrat', sans-serif;
}

/* Cabeçalho */
header a{
    color: #ee5123 !important;
    text-decoration: none;
}
header a:hover{
    color: #feca0a !important;
}
.navbar-nav .nav-link {
    font-weight: 500;
    color: #ee5123 !important;
    text-transform: uppercase;
    padding-left: 1rem;
    padding-right: 1rem;
}
.navbar-nav .nav-link:hover {
    color: #feca0a !important;
}

.navbar .dropdown-menu {
  left: 0;
  right: 0;
  background-color: #fff;
}
.navbar .dropdown-menu a.dropdown-item {
  font-size: 0.9rem;
  padding: 4px 8px;
  color: #333;
}
.navbar .dropdown-menu a.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #d11e0e; /* cor do tema, se desejar */
}
.navbar .dropdown-menu h6 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* Body */
.text-danger{
    color: #ee5123 !important;
}

/* Banners */
#bannerCarrossel {
    max-height: 75vh;
    overflow: hidden;
}

#bannerCarrossel img {
    width: 100%;
    object-fit: cover;
    background-color: #000; /* cor de fundo caso sobrem espaços */
}

@media (max-width: 768px) {
    #bannerCarrossel {
        max-height: 200px;
    }

    #bannerCarrossel img {
        height: 200px;
    }
}

/* Produtos em Destaques */
.card-body{
    color: white;
}
.position-relative {
    overflow: visible !important;
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card-body {
    flex: 1;
}
.card-img-top {
    height: 200px;
    object-fit: contain; 
    background-color: white
}
.truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.3em;
}
.truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.3em;
}

/* Setas personalizadas */
.swiper-button-prev-custom,
.swiper-button-next-custom {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #212529;
    border-radius: 50%;
    color: #ee5123;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
/* Posicionamento fora do carrossel */
.swiper-button-prev-custom {
    left: -60px;
}
.swiper-button-next-custom {
    right: -60px;
}

.form-select, .form-control, .form-check-input{
    border-color: #ee5123 !important;    
}
.form-control:focus, .form-select:focus, .form-check-input:focus{
    border-color: rgb(238, 81, 35) !important;
    box-shadow: 0 0 0 0.2rem rgba(238, 81, 35, 0.50) !important;
}
.form-check-input:checked{
    background-color: #ee5123 !important;
}

.btn-danger{
    background-color: #ee5123 !important;
    color: #212529 !important;
    border: none !important;
}
.btn-danger:hover{
    background-color: #feca0a !important;
    color:#212529 !important;
    border: none !important;
}

/* Paginação */
.page-link {
    background-color: #ee5123 !important; /* Vermelho btn-danger */
    color: #212529 !important;
    border: none !important;
    transition: background-color 0.2s ease;
}
.page-link:hover {
    background-color: #feca0a !important; /* Amarelo */
    color: #212529 !important;
}
.page-item.active .page-link {
    background-color: #feca0a !important; /* Amarelo */
    color: #212529 !important;
    border: none !important;
}
.page-link:focus {
    box-shadow: none !important;
}

/* Sobre */
#sobre {
    height: 75vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('../img/fundo.png') center/contain;
    background-position: center;
    background-repeat: repeat-x;
    background-size: auto 100%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Rodapé */
footer a, footer p, footer h5, footer address{
    color: #ee5123 !important;
    text-decoration: none;
}
footer a:hover{
    color: #feca0a !important;
}
footer hr{
    color: #feca0a;
}

/* Botão WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4FCE5D;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 999;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.whatsapp-btn:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Selo GBRDEV */
.selo{
    color: white;
    font-size: x-small;
}
.selo a:hover{
    color: #e50914 !important;
}

/* ADMIN */
.badges-produto .badge {
  margin-right: 5px;
  opacity: 0.9;
}

/* Feedback */
.feedback-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feedback-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
