/* Estilos específicos para os produtos - baseado em moletonia.com.br */

/* Seção de Produtos */
.products-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-header::before,
.section-header::after {
    content: '';
    flex: 1;
    height: 3px;
    background-color: #000;
    max-width: 120px;
}

.section-header::before {
    margin-right: 20px;
}

.section-header::after {
    margin-left: 20px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Estilos do Carrossel e Cards de Produto */
.products-carousel {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 10px 0;
}

.product-card {
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    max-width: 280px;
    text-align: left;
    padding: 0;
    transition: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: none;
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background-color: #f5f5f5;
    margin-bottom: 10px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.product-image img.main-image {
    transition: opacity 0.3s ease;
}

.product-image img.hover-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-image img.main-image,
.product-card.touch-active .product-image img.main-image {
    opacity: 0;
}

.product-card:hover .product-image img.hover-image,
.product-card.touch-active .product-image img.hover-image {
    opacity: 1;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #000;
    color: #fff;
    padding: 5px 12px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 2;
}

.wishlist-btn:hover {
    background-color: #fff;
}

.wishlist-btn i {
    font-size: 16px;
    color: #ccc;
}

.wishlist-btn i.fas {
    color: #ff4444;
}

.product-info {
    padding: 0 5px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 12px;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    color: #333;
}

.product-title a {
    color: #333;
    text-decoration: none;
}

.product-prices-wrapper {
    margin-bottom: 8px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
    display: block;
    margin-bottom: 4px;
}

.sale-price {
    color: #000;
    font-size: 22px;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.installment {
    font-size: 12px;
    color: #666;
    margin: 0 0 4px 0;
}

.pix-price {
    font-size: 14px;
    color: #000;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.buy-btn {
    display: block;
    width: 100%;
    background-color: #28a745; /* Cor verde do site de referência */
    color: #fff;
    text-align: center;
    padding: 12px 10px; /* Aumentado o padding vertical */
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700; /* Negrito */
    font-size: 16px; /* Tamanho da fonte aumentado */
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    margin-top: auto; /* Empurra o botão para o final do card */
}

.buy-btn:hover {
    background-color: #218838; /* Cor mais escura no hover */
}

.swiper-pagination {
    display: none !important;
}

/* Estilos para os botões de navegação (owl-like) */
.swiper-button-next, .swiper-button-prev {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.3s;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: #fff;
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-family: "Font Awesome 5 Free"; /* Certifique-se que Font Awesome está carregado */
    font-size: 18px;
    font-weight: 900;
    color: #333;
}

.swiper-button-prev::after {
    content: '\f104'; /* Ícone de seta para a esquerda (angle-left) */
}

.swiper-button-next::after {
    content: '\f105'; /* Ícone de seta para a direita (angle-right) */
}



.swiper-pagination {
    display: none !important;
}



.swiper-button-prev,
.swiper-button-next {
    display: none !important;
}

.owl-prev,
.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border: none;
    transition: background-color 0.3s;
}

.owl-prev:hover,
.owl-next:hover {
    background-color: #fff;
}

.owl-prev {
    left: 10px;
}

.owl-next {
    right: 10px;
}

.owl-prev i,
.owl-next i {
    font-size: 18px;
    color: #333;
}

.buy-btn {
    padding: 14px 10px; /* Aumentando o padding para aumentar o tamanho do botão */
    font-size: 18px; /* Aumentando o tamanho da fonte */
}



.swiper-pagination {
    display: none !important;
}



/* Ocultar paginação do Swiper */
.swiper-pagination {
    display: none !important;
}

/* Estilos para os botões de navegação owl-like */
.owl-prev,
.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border: none;
    transition: background-color 0.3s;
}

.owl-prev:hover,
.owl-next:hover {
    background-color: #fff;
}

.owl-prev {
    left: 10px;
}

.owl-next {
    right: 10px;
}

.owl-prev i,
.owl-next i {
    font-size: 18px;
    color: #333;
}

/* Aumentar o tamanho do botão 'Comprar' */
.buy-btn {
    padding: 14px 10px; /* Aumentando o padding para aumentar o tamanho do botão */
    font-size: 18px; /* Aumentando o tamanho da fonte */
}



.swiper-pagination {
    display: none !important;
}



.swiper-button-next, .swiper-button-prev {
    display: none !important;
}

.owl-prev,
.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border: none;
    transition: background-color 0.3s;
}

.owl-prev:hover,
.owl-next:hover {
    background-color: #fff;
}

.owl-prev {
    left: 10px;
}

.owl-next {
    right: 10px;
}

.owl-prev i,
.owl-next i {
    font-size: 18px;
    color: #333;
}

.buy-btn {
    padding: 14px 10px; /* Aumentando o padding para aumentar o tamanho do botão */
    font-size: 18px; /* Aumentando o tamanho da fonte */
}



.swiper-pagination {
    display: none !important;
}

