.veloyshop-carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Distribui os produtos de forma uniforme */
    gap: 20px; /* Espaçamento entre os produtos */
    padding-top: 10px;
    padding-bottom: 10px;
}

.veloyshop-carousel .product-item {
    width: calc(25% - 20px); /* 25% da largura menos o gap para garantir 4 por linha */
    box-sizing: border-box;
    background: #fff;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 460px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.veloyshop-carousel .product-item:nth-last-child(-n+3):nth-child(1) {
    margin-left: auto; /* Empurra o primeiro item à esquerda para centralizar */
}

.veloyshop-carousel .product-item:nth-last-child(-n+3):nth-child(3) {
    margin-right: auto; /* Empurra o último item à direita para centralizar */
}

.veloyshop-carousel .product-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.veloyshop-carousel .product-item img {
    width: 306.25px;
    height: 339.38px;
    object-fit: contain;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease;
}

.veloyshop-carousel .product-item img:hover {
    transform: scale(1.05);
}

.veloyshop-carousel-container {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

.veloyshop-carousel-title {
    font-size: 28px; /* Ajuste o tamanho da fonte para corresponder ao estilo */
    font-family: "Roboto", sans-serif; /* Use a fonte "Roboto" para um estilo semelhante */
    font-weight: 400; /* Mantenha o peso da fonte leve */
    color: #4b4b4b; /* Altere a cor para um cinza mais suave */
    text-align: center; /* Centralize o texto */
    margin-bottom: 5px; /* Ajuste a margem inferior */
}

.veloyshop-carousel .title {
    font-size: 16px;
    font-family: poppins;
    color: #2c2d33;
    line-height: 1.2em;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 1.2em; /* Mantém uma altura uniforme para o título, ocupando uma linha */
}

/* Ajuste para garantir que a área do preço e botão sejam sempre alinhadas ao fundo */
.veloyshop-carousel .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.veloyshop-carousel .price {
    font-size: 24px;
    color: hsl(120, 100%, 33%);
    font-weight: bold;
    margin-bottom: 1px;
    text-align: center;
}

.veloyshop-carousel .buy-button {
    background-color: #3bb54a;
    color: #fff;
    padding: 12px;
    text-decoration: none;
    font-weight: bold;
    width: 100%;
    text-align: center;
    border-radius: 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.veloyshop-carousel .buy-button:hover {
    background-color: #009245;
    transform: scale(1.05);
}

.pix-info {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.pix-info img {
    width: 14px;
    height: 14px;
    margin-right: 3px;
    vertical-align: middle;
}

.pix-info small {
    font-size: 0.9em; /* Reduz o tamanho do texto */
    color: #000; /* Ajusta a cor do preço */
}



@media (max-width: 768px) {
    .veloyshop-carousel .product-item {
        padding: 2px;
        min-width: calc(100% / 2 - 20px);
        min-height: 220px;
    }

    .veloyshop-carousel .product-item img {
        width: 265.25px;
        height: 306.25px;
        object-fit: contain;
        margin-bottom: 2px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        transition: transform 0.3s ease;
    }

    .veloyshop-carousel .title {
        min-height: 1.2em; /* Ajuste a altura mínima para uma linha de texto */
        font-size: 14px; /* Reduza o tamanho da fonte para melhor ajuste em uma linha */
        white-space: nowrap; /* Garante que o texto não quebre para a próxima linha */
        overflow: hidden; /* Oculta o texto que ultrapassa a largura do contêiner */
        text-overflow: ellipsis; /* Adiciona "..." ao final do texto truncado */
        display: block;
        text-align: center;
    }

    .veloyshop-carousel .price {
        font-size: 18px;
    }

    .veloyshop-product-carousel {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .veloyshop-product-carousel .product {
        width: 19%; /* Ajuste o valor conforme necessário para caber 5 produtos por linha */
        margin-bottom: 20px;
    }
    
    #veloyshop-load-more {
        display: block;
        width: 100%;
        padding: 10px;
        background-color: #0073aa;
        color: #fff;
        text-align: center;
        cursor: pointer;
        margin-top: 20px;
        border: none;
    }
    
    #veloyshop-load-more:hover {
        background-color: #005177;
    }
    
}


