
/* Importação da fonte do Google - Inter (moderna e legível) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Estilo Geral */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #e9e1e1; /* Marrom quase branco */
    color: #333;
}
.header {
    background-color: #0073e6;
    padding: 10px;
    color: white;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    max-height: 75px;
    width: auto;
}
.nav .btn-home {
    background-color: #ffffff;
    color: #0073e6;
    padding: 4px 20px;
    font-size: 25px;
    margin-right: 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}
.nav .btn-home:hover {
    background-color: #e6f0ff;
}

/* Carrossel de Imagens */
.carousel-section {
    padding: 20px 0;
    width: 100%;
    overflow: hidden;
}
.carousel-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
}
.carousel {
    display: flex;
    width: 100%;
    position: relative;
}
.carousel-inner {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease;
}
.carousel-item {
    min-width: 100%;
    flex-shrink: 0;
    height: 250px; /* Altura ajustável conforme necessidade */
}
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Setas nas extremidades com estilo melhorado */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}
.carousel-control:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}
.carousel-control.prev {
    left: 20px;
}
.carousel-control.next {
    right: 20px;
}
/* Pausa a animação quando o mouse está sobre o carrossel */
.carousel:hover .carousel-auto-scroll {
    animation-play-state: paused;
}

/* ARIA DAS LOGOS DOS PRODUTOS*/
.product-logo {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 20;
    width: 60px; /* Ajuste conforme necessário */
    height: 60px; /* Ajuste conforme necessário */
    padding: 3px; /* Espaçamento interno */
}
.product-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Garante que a imagem fique inteira dentro do espaço */
}

/* Área de Produtos */
.products-section {
    padding: 20px;
    max-width: 1250px;
    margin: 0 auto;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin: 0 auto;
}
.product {
    background-color: rgb(255, 255, 255);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}
.product-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}
.product-carousel {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.product-carousel-inner {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}
.product-carousel-item {
    min-width: 100%;
    height: 100%;
}
.product-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-carousel-prev,
.product-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.product-carousel-prev {
    left: 10px;
}
.product-carousel-next {
    right: 10px;
}
.product:hover .product-carousel-prev,
.product:hover .product-carousel-next {
    opacity: 1;
}
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}
.discount-badge {
    background-color: #ff0000f8;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
}

.recomendado {
    background-color: #000000f8;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 8px;
    margin-left: -135px;
}

.wishlist-btn {
    background: none;
    border: none;
    font-size: 30px;
    color: #ff0000f8;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: transform 0.2s ease;
}
.wishlist-btn:hover {
    transform: scale(1.1);
}
.wishlist-btn.active {
    color: #ff0000f8;
}
.product-info {
    padding: 15px;
}
.product-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px;
    color: #333;
    line-height: 1.4;
}
.prices {
    margin: 15px 0;
}
.old-price {
    text-decoration: line-through;
    color: #f71717;
    font-weight: bold;
    font-size: 14px;
    display: block;
}
.new-price {
    font-size: 22px;
    color: #06aa0e;
    font-weight: 700;
    display: block;
    letter-spacing: -0.5px;
}
.parcela {
    font-size: 11px;
    color: #363836;
    font-family: Arial, Helvetica, sans-serif;
}
.btn-comprar {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #33f50c, #0077ff);
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 22px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}
.btn-comprar:hover {
    background: linear-gradient(135deg, #07cc00, #32cc03);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 115, 230, 0.2);
}

/* Footer */
.footer {
    text-align: center;
    padding: 10px 0;
    background-color: #333;
    color: white;
    margin-top: 30px;
}


@media (min-width: 780px) and (max-width: 900px) {
    .carousel-item {
        height: 180px; /* Altura ajustável conforme necessidade */
    }

}

@media screen and (max-width: 768px) {
    .logo img {
        max-height: 63px;
    }
    .nav .btn-home {
        padding: 4px 10px;
        font-size: 17px;
        border-radius: 5px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 produtos por linha em telas menores */
    }
    .footer {
        font-size: 14px;
    }
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    .product-image-container {
        height: 200px;
    }
    .carousel-item {
        height: 170px; /* Altura ajustável conforme necessidade */
    }


}

@media screen and (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr; /* 1 produto por linha em telas muito pequenas */
    }
    .logo img {
        max-height: 49px;
    }
    .nav .btn-home {
        padding: 4px 10px;
        font-size: 15px;
        border-radius: 5px;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .products-section h2 {
        font-size: 24px;
    }
    .carousel-section {
        display: none;
    }
    .footer {
        font-size: 10px;
    }

}


