.two-line-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Container principal dos produtos */
#productsContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 10px;
}

/* Card do produto */
.product-container:hover {
    transform: translateY(-8px);
}

.product-container {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

#product-description {
    font-size: 12px;
}

.product-container:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    padding: 12px;
    position: relative;
}

/* Label de oferta */
.product-card-offer-label {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}

.offer-image img {
    width: 50px;
    height: auto;
}

.product-card-offer-label .label {
    position: absolute;
    right: 0px;
    font-weight: bold;
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 10px;
}

/* Código do produto */
#product-code {
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
    text-align: left;
}

/* Imagem do produto */
#product-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 140px;
    margin-bottom: 12px;
    background: #ffffff;
    border-radius: 4px;
}

#product-image-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Preços */
#product-pricing {
    /* margin-bottom: 8px; */
    text-align: left;
}

#product-price {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

#sale-price {
    font-size: 14px;
    font-weight: bold;
    color: #e74c3c;
}

#product-pricing small {
    font-size: 12px;
    color: #999;
}

/* Período de oferta */
#sale-period {
    /* margin-bottom: 8px; */
    text-align: left;
}

#sale-period small {
    font-size: 11px;
    font-weight: bold;
}

/* Ações do produto */
#product-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#product-status {
    text-align: left;
}

#product-status .label,
.product-status .label {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
}

.label-success {
    background-color: var(--bs-success-bg-subtle);
    color: var(--bs-success);
}

.label-warning {
    background-color: #ffc107;
    color: #212529;
}

.label-primary {
    background-color: #007bff;
    color: white;
}

.label-danger {
    background-color: #dc3545;
    color: white;
}

/* Botão WhatsApp */
.order-by-whatsapp {
    background-color: #25d366;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background-color 0.3s ease;
}

.order-by-whatsapp:hover {
    background-color: #128c7e;
    color: #ffffff;
}

.order-by-whatsapp img {
    width: 18px !important;
    height: 18px !important;
}

/* Responsividade */

/* Desktop - 5 colunas */
@media (min-width: 1200px) {
    .product-container {
        width: calc(20% - 12px);
        min-height: 380px;
    }

    /* Ajuste para carrossel em desktop */
    .section-container .product-container {
        width: 280px !important;
        min-width: 280px;
        flex-shrink: 0;
    }
}

/* Desktop médio - 4 colunas */
@media (min-width: 992px) and (max-width: 1199px) {
    .product-container {
        width: calc(25% - 11.25px);
        min-height: 360px;
    }

    /* Ajuste para carrossel em desktop médio */
    .section-container .product-container {
        width: 270px !important;
        min-width: 270px;
        flex-shrink: 0;
    }
}

/* Tablet - 3 colunas */
@media (min-width: 768px) and (max-width: 991px) {
    .product-container {
        width: calc(33.333% - 10px);
        min-height: 350px;
    }

    /* Ajuste para carrossel em tablet */
    .section-container .product-container {
        width: 260px !important;
        min-width: 260px;
        flex-shrink: 0;
    }
}

/* Mobile - scroll horizontal */
@media (max-width: 767px) {
    #productsContainer {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 15px;
        padding-bottom: 10px;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .product-container {
        min-width: 280px;
        width: 280px;
        flex-shrink: 0;
        min-height: 420px;
        transform: scale(0.95);
        transform-origin: center center;
    }

    #product-image {
        height: 160px;
    }

    #product-description {
        -webkit-line-clamp: 2;
        font-size: 14px;
    }

    .product-card {
        padding: 15px;
    }

    #product-code {
        font-size: 12px;
    }

    #product-price {
        font-size: 18px;
    }

    #sale-price {
        font-size: 16px;
    }

    #product-status .label {
        font-size: 12px;
        padding: 6px 12px;
    }

    .order-by-whatsapp {
        font-size: 14px;
        padding: 10px 15px;
    }

    .order-by-whatsapp img {
        width: 20px !important;
        height: 20px !important;
    }
}

/* Banner Mobile */
#bannersCarouselMobile {
    margin-bottom: 20px;
}

#bannersCarouselMobile .carousel-item {
    height: 180px;
    overflow: hidden;
}

#bannersCarouselMobile .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#bannersCarouselMobile .carousel-indicators {
    bottom: 10px;
}

#bannersCarouselMobile .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 3px;
}

/* Mobile pequeno */
@media (max-width: 480px) {
    .product-container {
        min-width: 250px;
        width: 250px;
        transform: scale(0.95);
        transform-origin: center center;
    }

    #product-image {
        height: 140px;
    }

    .product-card {
        padding: 12px;
    }

    #product-price {
        font-size: 16px;
    }

    #sale-price {
        font-size: 14px;
    }
}

/* Ajustes para melhor experiência */
.products-wrapper {
    width: 100%;
    overflow: hidden;
}

/* Animação suave para transições */
* {
    box-sizing: border-box;
}

/* Melhorias visuais adicionais */
.product-card:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Garantir que imagens não quebrem o layout */
img {
    max-width: 100%;
    height: auto;
}

.products-section-image {
    height: 1.5rem;
    width: 1.5rem;
    margin-right: 15px;
}

.products-section-title {
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
}

.vitrine-section-title {
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
}

.kits-section-title {
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
}

.products-section-content {
    margin-top: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

.section-actions {
    display: flex;
    gap: 10px;
}

.section-control {
    padding: 10px;
    background: #0088ff;
    color: #ffffff;
    border-radius: 100%;
    width: 2rem;
    font-size: 0.9rem;
    height: 2rem;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 15px !important;
    padding: 10px 2px !important;
    /* Adicionado padding lateral */
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    flex-shrink: 0;
    justify-content: flex-start !important;
    /* Voltando para flex-start para evitar cortes */
}

/* Ajuste no container wrapper para acomodar o padding */
@media (min-width: 1325px) {
    .section-container {
        width: 1325px;
    }

    .products-wrapper {
        width: 1325px;
        overflow: hidden;
    }
}


/* Ajuste específico para mobile */
@media (max-width: 767px) {}

/* Melhor dimensionamento para carrossel */
.section-container .product-container {
    width: 250px !important;
    min-width: 250px;
    flex-shrink: 0;
    min-height: 400px;
}

/* Ajustes para imagem no carrossel */
.section-container #product-image {
    height: 160px;
}

/* Ajustes para descrição no carrossel */
.section-container #product-description {
    font-size: 13px;
    line-height: 1.4;
}

/* Ajustes para preços no carrossel */
.section-container #product-price {
    font-size: 17px;
}

.section-container #sale-price {
    font-size: 15px;
}

#productsContainer::-webkit-scrollbar {
    height: 6px;
    display: none;
}

#productsContainer::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#productsContainer::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.vitrine {
    display: flex;
    align-content: center;
    justify-content: space-between;
    margin-bottom: 10px;
    width: 100%;
    align-items: center;
}

/* Cards de Depoimento Modernos */
.depoimentos-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

.depoimento {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    width: 280px;
    min-height: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.depoimento:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.depoimento-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
    font-family: inherit;
}

.depoimento-text {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    text-align: justify;
    flex-grow: 1;
    margin-bottom: 20px;
    font-weight: normal;
}

/* Estrelas de avaliação */
.depoimento::after {
    content: "★★★★★";
    color: #ffc107;
    font-size: 16px;
    text-align: center;
    display: block;
    margin-top: auto;
}

/* Responsividade para depoimentos */
@media (max-width: 767px) {
    .depoimentos-container {
        gap: 15px;
        padding: 15px 0;
    }
    
    .depoimento {
        width: 260px;
        padding: 20px;
        min-height: 180px;
        transform: scale(0.95);
        transform-origin: center center;
    }
    
    .depoimento-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .depoimento-text {
        font-size: 13px;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .depoimento {
        width: 240px;
        padding: 18px;
        min-height: 160px;
    }
}

a {
    text-decoration: none;
}