/* ---- GLOBAL STYLES ---- */

html{
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

html, body {
    height: 100%; /* Garantir que o body ocupe toda a altura da tela */
    margin: 0;
    font-family: 'Poppins', sans-serif; /* Fonte padrão */
    font-size: 12pt;
    min-height: 100vh; /* Garante que o conteúdo ocupe pelo menos 100% da tela */
    display: flex;
    flex-direction: column;
}

body {
    /*background-color: #f8f9fa; /* Tons de cinza claros */
    background-color: #fff;
    color: #333; /* Cinza escuro */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Garantir que a altura mínima da página seja a altura da janela */
    padding-right: 0px !important;
}

.conteudo-principal {
    flex-grow: 1; /* Faz o conteúdo ocupar o espaço restante */
    margin-top: 60px; /* Ajuste conforme o tamanho do seu navbar */
}

/* ---- HEADER ---- */
header {
    border-bottom: 2px solid #ddd; /* Linha divisória minimalista */
}

.navbar {
    margin-bottom: 20px;
    z-index: 99999999; /* Valor do z-index do footer */
    min-height: 100px; /* Ajuste conforme necessário */
    padding-right: var(--bs-gutter-x, 0px) !important; /* Mantém alinhado */
}

.navbar .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}


.logo {
    height: 80px;
}

/* ---- FOOTER ---- */
footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    margin-top: auto;
}

.footer {
    background-color: #e0e0e0; /* Cinza claro */
    color: #555; /* Cinza médio */
}

.footer a, .links {
    color: #d9534f; /* Vermelho */
    text-decoration: none;
}

.footer a:hover, .links:hover {
    text-decoration: underline;
}

/* ---- LOGIN FORM ---- */
.login-form {
    max-width: 400px;
    background: #fff; /* Fundo branco */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
}

.btn-login-form{
	color: #31343d;
	border-radius: 0;
	font-size: 11px;
	text-transform: uppercase;
	font-weight: bold;
	background: #fff;
	border: 1px solid #ccc;
	padding: 5px 10px;
	margin-top: 5px;
	line-height: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-login-form:hover, .btn-login-form:focus {
	color: #fff;
	background: #31343d;
	border-color: #31343d;
	box-shadow: none;
}

.login-text{
    color: #b80958;
    font-size: x-large;
}

input:focus, textarea:focus, select:focus {
    border-color: #b80958 !important; /* Força a cor da borda */
    box-shadow: 0 0 0 0.25rem rgba(217, 83, 79, 0.2) !important; /* Força a cor do box-shadow */
}

/* ---- SOCIAL ICONS ---- */
.social-icons a {
    margin: 0 15px;
    text-decoration: none;
}

/* ---- SIDEBAR ---- */
.sidebar .btn-primary {
	color: #31343d;
	border-radius: 0;
	font-size: 11px;
	text-transform: uppercase;
	font-weight: bold;
	background: #fff;
	/*border: 1px solid #ccc;*/
	padding: 5px 10px;
	margin-top: 5px;
	line-height: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-item {
    position: relative;
    border: none;              
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
    color: inherit;
    background-color: transparent;
    transition: color 0.3s ease;
    text-decoration: none;
    overflow: hidden;
}

.dropdown-item::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 1px; /* linha mais fina que no menu principal */
    background-color: #b80958;
    transition: width 0.3s ease;
}

.dropdown-item:hover {
    color: #b80958;
}

.dropdown-item:hover::after {
    width: 100%;
}


/* .dropdown-toggle{
    color: #b80958;
}

.dropdown-toggle:hover{
    color: #990849;
}

.dropdown-toggle.active {
    color: #990849;
} */


/* Efeito Hover no botão da Sidebar */
/*.sidebar .btn-primary:hover, .btn-primary:focus {
	color: #fff;
	background: #31343d;
	border-color: #31343d;
	box-shadow: none;
}*/
.sidebar .btn i {
	font-size: 14px;
	font-weight: bold;
	margin-left: 5px;
}

.login-menu{
    width: 100%;
}

.login-item-menu{
    width: 100%;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .sidebar {
        width: 200px; /* Largura reduzida em telas pequenas */
    }
}

/* ---- UTILS ---- */
* {
    box-sizing: border-box;
}

/* ---- CAROUSSEL ---- */

h2 {
	color: #000;
	font-size: 22px;
	font-weight: 300;
	text-align: center;
	text-transform: uppercase;
	position: relative;
	margin: 30px 0 0;
}
h2 b {
	color: #b80958;
}
.home-produtos {
	margin: 30px auto;
	padding: 0 10px;
}
.home-produtos .home-produtos-item {
	min-height: 330px;
	text-align: center;
	overflow: hidden;
}
.home-produtos .home-produtos-item .img-box {
	height: 160px;
	width: 100%;
	position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.img-box img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}
.home-produtos .home-produtos-item img {	
	max-width: 100%;
	max-height: 100%;
	display: inline-block;
	position: absolute;
	bottom: 0;
	margin: 0 auto;
	left: 0;
	right: 0;
}
.img-proporcional {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background-color: #fff;
    padding: 10px;
    /*border-radius: 8px;
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); /* sombra muito leve */
}




.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5); /* ajuste a cor do fundo se quiser */
    border-radius: 50%;
    background-size: 50%, 50%;
}

.home-produtos .home-produtos-item h4 {
	font-size: 18px;
	margin: 10px 0;
}
.home-produtos .home-produtos-item .btn {
	color: #333;
	border-radius: 0;
	font-size: 11px;
	text-transform: uppercase;
	font-weight: bold;
	background: none;
	border: 1px solid #ccc;
	padding: 5px 10px;
	margin-top: 5px;
	line-height: 16px;
}
.home-produtos .home-produtos-item .btn:hover, .home-produtos .home-produtos-item .btn:focus {
	color: #fff;
	background: #31343d;
	border-color: #31343d;
	box-shadow: none;
}
.home-produtos .home-produtos-item .btn i {
	font-size: 14px;
	font-weight: bold;
	margin-left: 5px;
}
.home-produtos .thumb-wrapper {
	text-align: center;
    height: 100%; /* altura total fixa */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 10px;
}
.home-produtos .thumb-content {
	padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 10px;
}
.home-produtos .item-price {
	padding: 2px 0;
    font-size: 14px;
    margin-bottom: 0.5rem;
}
.home-produtos .item-price strike {
	color: #999;
	margin-right: 5px;
}
.home-produtos .item-price span {
	color: #86bd57;
	font-size: 110%;
}	
/* .home-produtos-indicators li {	
	background: rgba(0, 0, 0, 0.2);
}
.home-produtos-indicators li.active {	
	background: rgba(0, 0, 0, 0.6);
}
.star-rating li {
	padding: 0;
}
.star-rating i {
	font-size: 14px;
	color: #ffc000;
} */

.titulo-item-caroussel {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3; /* Standard property for compatibility */
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    color: #141414;
    white-space: normal;
    min-height: 3.6em; /* força espaço de 3 linhas */
    margin-bottom: 0.5rem;
}

.thumb-content a{
    text-decoration: none; /* Remove o underline */
}

/* ---- PRODUTOS ---- */

/* Título do produto */
.produto-titulo {
    color: #141414;
    font-weight: bold;
    font-size: 1.5rem;
}

/* Preço destacado */
.produto-preco {
    color: #ba115d;
    font-weight: bold;
    font-size: 2rem;
    text-align: center;
    margin-top: 20px;
}

/* Subtítulos (Descrição, Especificações) */
.produto-subtitulo {
    color: #141414;
    font-weight: bold;
    font-size: 1.3rem;
}

/* Texto do produto */
.produto-texto {
    color: #6c757d; /* Cinza escuro para suavizar */
    font-size: 1rem;
}

/* Estoque */
.produto-estoque {
    color: #141414;
    font-size: 1.1rem;
    text-align: center;
}

.remove-decorations{
    text-decoration: none;
    color: #141414;
}

/* Botão de compra */
.botao-comprar {
    display: inline-block;
    color: #333;
    border-radius: 0;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: bold;
    padding: 15px 40px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid #ccc;
}

/* Efeito hover do botão de compra */
.botao-comprar:hover {
    color: #fff;
	background: #31343d;
	border-color: #31343d;
	box-shadow: none;
}

.produto-titulo {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 4.5em; /* Aproximadamente 3 linhas */
}

.detalhes-produto {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 350px;
}

.botao-comprar {
    min-width: 45%; /* ou qualquer largura mínima desejada */
    width: 45%;      /* garante largura fixa */
    text-align: center;
    white-space: nowrap;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.titulo-comprar {
    text-align: center;
    font-size: 1.25rem;
    margin-top: 2rem;
}

.botoes-centro {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

#produtoCarrossel img {
    object-fit: cover;  /* Garante que as imagens se ajustem ao espaço do carrossel */
    max-width: 100%;  /* Garante que a imagem não ultrapasse 100% da largura da coluna */
    height: auto;     /* Mantém a proporção da imagem */
}

.carousel-item {
    height: 400px; /* Ou a altura que você quiser */
    width: 100%;;
    object-fit: cover;
    object-position: center;
}

.img-thumb-fixed {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.nav-link {
    position: relative;
    display: inline-block;
    text-decoration: none;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #b80958;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #b80958;
}

/* Animação de sublinhado do centro para as bordas */
.nav-login {
    position: relative;
    display: inline-block;
    text-decoration: none;
    overflow: hidden;
    border: none;
}

.nav-login::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #b80958; /* Cor do sublinhado */
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-login:hover::after {
    width: 100%;
    left: 0;
}

.nav-login:hover {
    color: #b80958;
}

/* ---- SEARCH BAR ---- */
.search-bar {
    width: 100%;
    max-width: 400px; /* padrão para desktop grande */
    margin-left: auto;
}

.search-input {
    border: 1px solid #ced4da;
    border-right: none;
    border-radius: 6px 0 0 6px;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    background-color: #fff;
    flex-grow: 1;
}

.search-input:focus {
    outline: none !important;
    box-shadow: none !important;
    border: 1px solid #ced4da !important;
    border-right: none !important;
    border-radius: 6px 0 0 6px !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.95rem !important;
    background-color: #fff !important;
    flex-grow: 1 !important;
}

.search-button {
    border: 1px solid #ced4da;
    border-left: none;
    border-radius: 0 6px 6px 0;
    background-color: #fff;
    color: gray;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    border: 1px solid #ced4da;
    border-left: none;
    border-radius: 0 6px 6px 0;
    background-color: #fff;
    color: #b80958;
    padding: 0.5rem 1rem;
    transition: color 0.5s ease;
}

.search-button i {
    font-size: 1rem;
}

@media (max-width: 1199.98px) {
    .search-bar {
        max-width: 300px;
    }
}

@media (max-width: 991.98px) {
    .search-bar {
        max-width: 200px;
    }
}

@media (max-width: 767.98px) {
    .search-bar {
        display: none !important;
    }
}

.texto-quem-somos{
    color: #b80958;
}

