body {
    overflow-x: hidden;
    margin: 0;
}

.products-container {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.products-container h3 {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.swiper-container-products {
    width: 100%;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.item-container {
    max-width: 300px;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.item-container:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.item-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-item img[alt="Imagem não disponível"] {
    background-color: #f0f0f0; /* Cor de fundo clara */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #555; /* Texto em cinza escuro */
    text-align: center;
    border: 2px dashed #ddd; /* Adiciona uma borda tracejada para indicar uma imagem ausente */
    padding: 20px; /* Adiciona um espaço ao redor do texto */
    min-height: 200px; /* Altura mínima para imagens ausentes */
}

.product-item {
    padding: 15px;
    text-align: center;
}

.product-item h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.product-item p {
    font-size: 16px;
    font-weight: bold;
    color: #007bff;
    margin: 0;
}

.product-item a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.product-item a:hover {
    color: #0056b3;
}