/* carousel */
#wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50vh;
    max-width: 964px;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    background: transparent;
}

#carousel {
    overflow: hidden;
    scroll-behavior: smooth;
    width: 100%;
    background: transparent;
}

#carousel::-webkit-scrollbar {
    height: 0;
}

#prev,
#next {
    display: flex;
    justify-content: center;
    align-content: center;
    background: #F7F5F4;
    border: none;
    padding: 8px;
    border-radius: 50%;
    outline: 0;
    cursor: pointer;
    position: absolute;
}

#prev {
    top: 50%;
    left: 0;
    transform: translate(50%, -50%);
    display: none;
}

#next {
    top: 50%;
    right: 0;
    transform: translate(-50%, -50%);
}

#content {
    display: grid;
    grid-gap: 8px;
    grid-auto-flow: column;
    margin: auto;
    box-sizing: border-box;
}

.item {
    width: 100%;
    height: auto;
    width: 300px;
    height: 200px;
    max-width: 300px;
    max-height: 300px;
    object-fit: contain;
}

.item-container {
    text-align: center;
}

.item-container p {
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    font-size: 14px;
    margin-top: 4px;
}

.details-link {
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    color: #3498db;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s, transform 0.3s;
}

.details-link .arrow {
    margin-left: 5px;
    font-size: 16px;
    transition: transform 0.3s;
}

.details-link:hover {
    color: #2980b9;
    transform: scale(1.1);
}

.details-link:hover .arrow {
    transform: translateX(5px);
}

/* Botões */
.btn {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 20px;
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    font-size: 14px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: #2980b9;
    color: #fff;
    transform: scale(1.1);
}

/* Produtos */
.card {
    margin-bottom: 50px;
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: white;
}

.card-title {
    font-weight: bold;
}

.custom-img {
    width: 50%;
    height: auto;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
}

/* Paginação */
.pagination-link {
    font-weight: bold;
    font-size: 1.1rem;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.pagination-link:hover {
    color: #007bff;
    text-decoration: underline;
}

.text-muted {
    font-size: 1.1rem;
}

/* Contatos */
.contact-btn,
.contact-btn-whatsapp {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-btn:hover,
.contact-btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 20px;
    }

    .contact-title {
        font-size: 2.2rem;
    }

    .contact-description {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .contact-btn,
    .contact-btn-whatsapp {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .sidebar {
        margin-top: 30px;
    }
}