#root {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
}
:root {
    --green-perim: #00a78a;
    --blue-perim: #00327d;
    --blue-perim-hover-color: #ffffff;
    --blue-perim-hover-bg: #013f9b;
    --blue-perim-hover-border-color: #002a68;
}

#wrapper {
    min-height: 100vh; /* 100% da altura da tela */
    display: flex;
    flex-direction: column
  }

#content {
    flex: 1; /* Faz o main crescer para ocupar o espaço restante */
    /* padding: 20px; */
}

main {
    background:#fdfcfc;
}

.w-carousel-home{
    width: 1920px;
    max-height: 400px;
    margin: 0 auto;
}

.bg-green-perim {
    background-color: var(--green-perim);
    color: white;
}

.bg-blue-perim {
    background-color: var(--blue-perim) !important;
    border: var(--blue-perim) solid var(--bs-btn-border-color);
    color: white;
}
.bg-blue-perim:hover {
  color: var(--blue-perim-hover-color);
  background-color: var(--blue-perim-hover-bg);
  border-color: var(--blue-perim-hover-border-color);
}
.color-blue-perim {
    color: var(--blue-perim);
}

.nav-blue-perim .nav-link {
    border-radius: 0.375rem;
}

.nav-blue-perim .nav-link.active,
.nav-blue-perim .show > .nav-link {
    color: #fff;
    background-color: var(--blue-perim);
}

.border-blue-perim {
    border-color: var(--blue-perim) !important;
}

.hover-effect-target img {
  transition: transform 0.3s ease-in-out; /* Aplica a transição na imagem */
  display: block; /* Garante que a imagem se comporte como um bloco para o transform */
  width: 100%; /* Garante que a imagem preencha o espaço disponível */
  height: 100%; /* Garante que a imagem preencha o espaço disponível */
  object-fit: cover; /* Mantém a imagem cobrindo o espaço */
}

.hover-effect-target:hover img {
  transform: scale(1.05); /* Aplica o zoom na imagem ao passar o mouse */
}
/* Opcional: Define uma altura fixa para o card-img-top para uniformidade extra se o ratio não for suficiente */
.card-img-container {
    height: 200px; /* Exemplo de altura fixa, ajuste conforme necessário */
    overflow: hidden;
}

.shadow-card-item {
    /* box-shadow: 0.15rem 0.250rem 0.125rem rgba(0, 0, 0, 0.075) !important; */
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.075) !important;
}
/*-----------------------------------------AQUI--------------------------------------*/
/* Estilos gerais */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Card do produto */
.product-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Imagem do produto */
.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Overlay da imagem */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

/* Badge do produto */
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #28a745;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

.product-badge.sale {
    background: #dc3545;
}

.product-badge.hot {
    background: #fd7e14;
}

.product-badge.new {
    background: #6f42c1;
}

/* Corpo do card */
.card-body {
    padding: 1.5rem;
}

.card-title {
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.card-text {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Avaliação */
.product-rating {
    font-size: 0.9rem;
}

/* Preços */
.price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.price .text-decoration-line-through {
    font-size: 0.8rem;
}

/* Botões */
/* .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}
*/
/* .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
} */

/* Responsividade adicional */
@media (max-width: 768px) {
    .product-card {
        margin-bottom: 2rem;
    }

    .card-body {
        padding: 1rem;
    }
}

/* Animações suaves */
* {
    transition: all 0.3s ease;
}

/* Estilo para o título da seção */
.display-5 {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background-color: var(--blue-perim);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 25px;
    font-weight: 600;
}

/** INICIO Estilo para os botões de navegação do carrossel **/
.carousel-section {
    position: relative;
    /* background: #f5f5f5; */
    padding: 5px 0;
}

.carousel-wrapper {
    position: relative;
    max-width: 1320px;
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 50px;
    border-radius: 15px;
    background: #ffffff8f;
}

.carousel-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    flex: 0 0 180px;
    min-width: 180px;
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s;
}

.carousel-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card-header {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
}

.card-header span {
    color: #3483fa;
}

.card-image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-title {
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.card-price {
    font-size: 18px;
    font-weight: 400;
    color: #333;
}

.card-price sup {
    font-size: 12px;
    vertical-align: super;
}

.card-btn {
    display: block;
    width: 100%;
    padding: 8px 16px;
    margin-top: 12px;
    background: transparent;
    border: 1px solid #3483fa;
    color: #3483fa;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.card-btn:hover {
    background: rgba(52, 131, 250, 0.1);
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 10;
    transition: box-shadow 0.2s;
}

.nav-btn:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.nav-btn.prev { left: 5px; }
.nav-btn.next { right: 5px; }

.nav-btn svg {
    width: 20px;
    height: 20px;
    color: #3483fa;
}
/*-----------------------------------------FIM--------------------------------------*/

.product-card .product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}

.text-justify {
    text-align: justify !important;
}

.icon-jaltest {
    width: 15px;
    height: 14px;
    background-image: url('../images/jaltest.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
}

.icon-premium-shop {
    width: 15px;
    height: 14px;
    background-image: url('../images/dt/premium-dt.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
}