/* ======================================================
   CARD – ESTRUTURA GERAL
====================================================== */
.featured__item {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.featured__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

/* ======================================================
   IMAGEM DO PRODUTO
====================================================== */
.featured__item__pic {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    height: 180px;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* ======================================================
   TEXTO DO CARD
====================================================== */
.featured__item__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 140px;
    text-align: center;
}

/* ======================================================
   NOME DO PRODUTO (2 LINHAS + …)
====================================================== */
.featured__item__text h6 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
    text-overflow: ellipsis;

    line-height: 1.4em;
    height: 2.8em;

    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

/* ======================================================
   BOTÃO
====================================================== */
.btn-produto {
    padding: 5px 25px;
    background: linear-gradient(135deg, #3470F3, #2458d6);
    color: #fff;
    border-radius: 9px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid #ccc;

    display: inline-block;
    margin-top: 10px;
    white-space: nowrap;
}

.btn-produto:hover {
   background: #1557f0;
    border-color: #7c7c7c;
}

#btn_ver_produto {
    position: relative;
    border-color: white;
    top: 2px;
    padding-top: 0px;
    height: 40px;
    width: 250px;
    color: white;
    background: linear-gradient(135deg, #3470F3, #2458d6);
    border-radius: 9px;
    border: solid 2px rgb(236, 236, 236);
	font-weight: bold;
	font-size: 20px;

}
#btn_ver_produto:hover {
    background: #1557f0;
	color: white; /* muda a cor do texto para amarelo claro */
    cursor: pointer; /* muda o cursor para apontar que é clicável */
	border: solid 3px #7c7c7c;
	border-radius: 9px;
}


/*---------------------------------------------------------------------------------------------------------*/


/* ===============================
   CONTAINER DO CARROSSEL
================================ */
.carousel-container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

.carousel-area {
    position: relative;
}

/* ===============================
   ÁREA VISÍVEL (viewport)
================================ */
.carousel-wrapper {
    width: 1120px;               /* 4 cards no desktop */
    overflow: hidden;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ===============================
   TRILHA DOS PRODUTOS
================================ */
.products-track {
    display: flex;
    gap: 25px;
    transition: transform 0.4s ease;
}

/* ===============================
   CARD DO PRODUTO
================================ */
.product-card {
    width: 260px;
    min-width: 260px;
    max-width: 260px;

    background: #fff;
    border-radius: 14px;
    padding: 20px 20px 40px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ===============================
   TÍTULO (2 LINHAS)
================================ */
.product-title {
    font-size: 14px;
    line-height: 1.2;
    height: 2.4em;
    margin-bottom: 12px;
    overflow: hidden;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
   
}

/* ===============================
   IMAGEM
================================ */
.product-image {
    position: relative;
}

.product-image img {
    width: 100%;
    height: 160px;
    object-fit: contain;
}

/* ===============================
   BADGE DESCONTO
================================ */
.price-badge {
    position: absolute;
    top: 10px;
    right: 10px;

    background: #ff4d4d;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
}

/* ===============================
   PREÇOS
================================ */
.old-price {
    display: block;
    margin-top: 10px;
    color: #999;
    text-decoration: line-through;
}

.promo-price {
    display: block;
    margin-bottom: 10px;
    color: #000;
    font-weight: bold;
}

/* ===============================
   BOTÃO
================================ */
.btn-comprar {
    padding: 5px 25px;
    background: linear-gradient(135deg, #3470F3, #2458d6);
    color: #fff;
    border-radius: 9px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid #ccc;

    display: inline-block;
    margin: 0 auto;
    white-space: nowrap;
}

.btn-comprar:hover {
    background: #1557f0;
    border-color: #7c7c7c;
}

/* ===============================
   SETAS
================================ */
.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;
    color: #666;
    cursor: pointer;
    transition: 0.2s;
}

.arrow-left  { left: -25px; }
.arrow-right { right: -25px; }

.arrow-btn:hover {
    background: #fff;
    color: #000;
}

.arrow-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/*-----------------------------------------------------------------------------------------------------------*/
.combo-box {
    background: #fff;
    padding: 20px;
}

.combo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.combo-header h4 {
    margin: 0;
     font-weight: bold;
}

.combo-nav button {
    border: 1px solid #ddd;
    background: #fff;
    width: 28px;
    height: 28px;
    cursor: pointer;
}

.combo-viewport {
    overflow: hidden;
   
}

.combo-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s ease;
     
}

.combo-item {
    min-width: 515px;
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;

}

.combo-img img {
    width: 80px;
    height: 80px;
    object-fit: contain;
  
      
}
.combo-text{
    padding-top: 8px;   

}

.combo-text h6 {
    font-size: 14px;
    margin-bottom: 4px;
    
}

.combo-text span {
    font-weight: bold;
}

/*-------------------------------------------------------------------------------------------------------------*/
/* área azul */
/* CONTAINER PRINCIPAL */
#slider_marcas {
    position: relative;
    background: #2f6df6;
    padding: 20px 60px;
    display: flex;
    align-items: center;

    max-width: 100%;
    margin: 0 auto;
}

/* ÁREA VISÍVEL */
.viewport {
    overflow: hidden;
    width: 100%;
}

/* TRILHA */
.track {
    display: flex;
    gap: 16px;
    transition: transform 0.4s ease;
    will-change: transform;
}

/* CARD */
.card-marca {
    min-width: calc(25% - 15px);
    flex-shrink: 0;
}

/* LINK DO CARD */
.card-marca a {
    background: #F3F6FA;
    border-radius: 14px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* IMAGEM */
.card-marca img {
    max-height: 70px;
    max-width: 90%;
    object-fit: contain;
}

/* SETAS */
.seta_esquerda {
    background: #ffffff;
    border: none;
    width: 42px;
    height: 42px;
    font-size: 26px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.seta_esquerda:hover {
    background: #eaeaea;
}
.seta_direita {
    background: #ffffff;
    border: none;
    width: 42px;
    height: 42px;
    font-size: 26px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.seta_direita:hover {
    background: #eaeaea;
}
.seta_esquerda,
.seta_direita {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.seta_esquerda { left: 10px; }
.seta_direita  { right: 10px; }

/*----------------------------------------------------*/
  .combo-item{
    display:flex;
    align-items:center;
    gap:12px;
    width:100%;
    padding:10px;
    text-decoration:none;
    color:#333;
    border-radius: 10px;
}

.combo-item:hover{
    background:#e1ebff;
    border-radius: 10px;
    color: #393a3a;
   
}
/*----------------------------------------------------*/


/* ======================================================
   RESPONSIVIDADE (BOOTSTRAP BREAKPOINTS)
====================================================== */

/* NOTEBOOK / TABLET GRANDE → 3 cards */
@media (max-width: 1200px) {
    .carousel-wrapper {
        width: 840px;
    }
    .arrow-left  { left: 5px; }
.arrow-right { right: 5px; }

/*------------------------------------------------------------*/
 #slider_marcas {
        padding: 20px 60px;
    }

    .card-marca {
        flex: 0 0 calc((100% - 30px) / 3);
    }
/*------------------------------------------------------------*/


}


/* TABLET → 2 cards */
@media (max-width: 992px) {
    /* card ocupa toda a coluna */
    .featured__item {
        padding: 12px;
    }

    /* imagem menor no mobile */
    .featured__item__pic {
        height: 150px;
        margin-bottom: 8px;
    }

    /* texto mais compacto */
    .featured__item__text {
        min-height:0;
    }

    /* nome do produto */
    .featured__item__text h6 {
        font-size: 13px;
        line-height: 1.3em;
        height: 2.6em; /* mantém 2 linhas */
    }

    /* botão não estoura */
    .btn-produto {
        font-size: 13px;
        padding: 6px 20px;
    }
    .carousel-wrapper {
        width: 560px;
    }

.combo-box {
    background: #fff;
    margin-top: 20px;
     width: 500px;
}

/*------------------------------------------------------------*/
 #slider_marcas {
        padding: 20px 60px;
    }

    .card-marca {
        flex: 0 0 calc((100% - 30px) / 3);
    }
/*------------------------------------------------------------*/


     
}

/* CELULAR → 1 card */
/* CELULAR → 1 CARD */
@media (max-width: 610px) {
/*----------------------------------------*/
/* card ocupa toda a coluna */
    .featured__item {
        padding: 12px;
         height: 300px;
    }

    /* imagem menor no mobile */
    .featured__item__pic {
        height: 150px;
        margin-bottom: 8px;
    }

    /* texto mais compacto */
    .featured__item__text {
        min-height:0;
    }

    /* nome do produto */
    .featured__item__text h6 {
        font-size: 13px;
        line-height: 1.3em;
        height: 2.6em; /* mantém 2 linhas */
    }

    /* botão não estoura */
    .btn-produto {
        font-size: 13px;
        padding: 6px 20px;
    }
/*---------------------------------------*/

    .carousel-wrapper {
        width: 100%;
        overflow: hidden;
        padding: 0;
    }

    .products-track {
        display: flex;
        gap: 0px;                 /* 🔥 SEM gap */
        transition: transform 0.4s ease;
    }

    .product-card {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        padding: 18px 18px 30px;
        margin: 0;
    }

    .arrow-btn {
        display: flex;
        z-index: 20;
    }

    .arrow-left  { left: 8px; }
    .arrow-right { right: 8px; }

.combo-box {
    background: #fff;
    margin-top: 20px;
 width: 100%;
}
/*----------------------------------------------*/

     #slider_marcas {
        padding: 20px 60px;
    }

    .card-marca {
        min-width: 100%;   /* 👈 1 card visível */
    }
    

    .card-marca a {
        height: 80px;      /* opcional */
    }

    /* setas menores no mobile */
    .seta_esquerda,
    .seta_direita {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }
/*----------------------------------------------*/


     

}




