/*=============================================
    Desktop Grande
=============================================*/
/* Acima de 1400px */


@media (max-width:3800px) {

    .logo-active {

        display: none;
    }

    .products-list-section {

        display: grid;


    }

    .products-list {



        grid-template-columns: repeat(4, 1fr);



    }


}

/*=============================================
    Notebook
=============================================*/
@media (max-width:1200px) {


    .products-list-section {

        display: grid;

    }


    .products-list {


        grid-template-columns: repeat(3, 1fr);


    }


}


/*=============================================
    Tablet Horizontal
=============================================*/
@media (max-width:992px) {


    .container {

        padding: 0 25px;

    }

    .hero-content h2 {

        font-size: 42px;

        line-height: 50px;

    }

    .navbar__menu {

        position: fixed;

        top: 0;

        left: -320px;

        width: 300px;

        height: 100vh;

        background: #FFF;

        display: flex;

        flex-direction: column;

        padding: 100px 30px;

        gap: 30px;

        transition: .35s;

        box-shadow: 0 0 30px rgba(0, 0, 0, .15);

    }

    .navbar__menu.active {

        left: 0;

    }



    .navbar__menu a {

        font-size: 20px;

    }


    .footer-grid {

        grid-template-columns: repeat(2, 1fr);

    }




    .navbar__toggle {

        display: block;

    }

    .navbar__nav {

        position: fixed;

        top: 0;

        left: -320px;

        width: 300px;

        height: 100vh;

        background: #FFF;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        padding: 9px 15px;

        box-shadow: 0 0 30px rgba(0, 0, 0, .15);

        transition: .35s;

        z-index: 999;

    }

    .navbar__nav.active {

        left: 0;

    }

    .navbar__list {

        width: 100%;

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

    }

    .navbar__item {

        width: 100%;

    }

    .navbar__link {

        width: 100%;

        padding: 16px 0;

        justify-content: space-between;

        color: #252525;

    }

    .submenu {

        position: static;

        width: 100%;

        opacity: 1;

        visibility: visible;

        transform: none;

        box-shadow: none;

        border-radius: 0;

        max-height: 0;

        overflow: hidden;

        padding: 0;

    }

    .has-submenu.active .submenu {

        max-height: 500px;

        padding-bottom: 10px;

    }

    .submenu a {

        padding: 10px 18px;

        font-size: 14px;

    }




    .promo-banners {

        grid-template-columns: 1fr;

        display: flex;

        width: 95%;

    }





    /*=====================================================
    LOGO
     ======================================================*/

    .navbar-log-active {

        display: flex;

        align-items: center;

    }

    .navbar-log-active img {

        height: 80px;

        display: block;

    }

    .logo-active {

        display: flex;

        align-items: center;


    }

    .logo-active h2 {

        font-size: 20px;

        color: #252525;

        font-family: 'Nunito', serif;

        line-height: 35px;

        font-weight: 800;
        letter-spacing: -0.5px;
        /* Deixa as letras levemente mais juntas e elegantes */
        transition: all 0.3s ease;
        /* Suaviza qualquer mudança de estado */
        text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
        /* Sombra suave para profundidade */





    }



    .quick-access {

        padding: 45px 0;

        background: #FFF;

    }

    .quick-card {

        background: #FFF;

        box-shadow: var(--shadow);

        border-radius: var(--radius);

        padding: 9px;

        text-align: center;

        transition: var(--transition);

        font-size: 14px;

    }


    /*=====================================================
       HERO
    ======================================================*/

    .hero-content h2 {

        display: none;
    }



    .hero-content p {

        display: none;
    }

    .hero-content {

        display: none;

    }

    .hero-next,
    .hero-prev {

        background: transparent;
        color: #ffffff;

    }

    .hero-prev:hover,
    .hero-next:hover {
        background: transparent;
        color: #FFF;
    }


    .products-list-section {

        display: grid;

    }


    .products-list {


        grid-template-columns: repeat(2, 1fr);


    }


    /*=====================================================
    SEARCH RESULT
    ======================================================*/


    #searchResults {

        display: grid;

        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));

        gap: 10px;

        grid-template-columns: repeat(2, 1fr);


    }

    .search-header h2 {

        font-size: 1.35rem;

        margin-bottom: 10px;

    }



    









}

/*=====================================================
    DESKTOP MINIMO
======================================================*/

@media(min-width:769px) {

    .mobile-search {

        display: none;

    }

}





/*=============================================
    Tablet Vertical
=============================================*/
@media (max-width:768px) {



    .container {

        padding: 0 5px;

    }

    .hero {

        height: 380px;

    }


    .quick-access .container {

        display: grid;

        grid-template-columns: repeat(3, 1fr);

        gap: 20px;

    }


    .quick-access {

        padding: 45px 0;

        background: #FFF;

    }

    .quick-card {

        background: #FFF;

        box-shadow: var(--shadow);

        border-radius: var(--radius);

        padding: 10px;

        text-align: center;

        transition: var(--transition);

        font-size: 15px;

    }



    /*=====================================================
    MOBILE - PRODUCT CARD
    ======================================================*/


    .carousel {

        gap: 6px;

        padding-inline: 10px;

    }

    .product-card {

        flex: 0 0 46%;

        min-width: 46%;

    }

    /* Imagem */

    .product-image {

        height: 160px;

    }

    .product-image img {

        max-height: 145px;

        object-fit: contain;

    }

    /* Desconto */

    .product-discount {

        top: 8px;

        left: 8px;

        padding: 4px 8px;

        font-size: 10px;

        border-radius: 6px;

    }

    /* Área das informações */

    .product-info {

        padding: 10px;

    }

    /* Nome do produto */

    .product-info h3 {

        font-size: 14px;

        line-height: 1.35;

        min-height: 36px;

        margin-bottom: 6px;

    }

    .product-info h3 {

        display: -webkit-box;

        -webkit-line-clamp: 2;

        -webkit-box-orient: vertical;

        overflow: hidden;

    }

    /* Descrição do produto */


    .product-info p {


        font-size: 12px;

        line-height: 1.35;

        min-height: 36px;

        margin-bottom: 6px;


    }

    .product-card-category {


        font-size: 12px;

        line-height: 1.35;

        min-height: 36px;

        align-items: center;

        display: inline-flex;

    }



    /* Avaliação */

    .product-rating {

        font-size: 11px;

        margin-bottom: 6px;

    }

    .product-rating span {

        font-size: 10px;

    }

    /* Preço antigo */

    .product-old-price {

        font-size: 11px;

        margin-bottom: 2px;

    }

    /* Preço */

    .product-price {

        font-size: 16px;

        font-weight: 700;

        margin-bottom: 4px;

    }

    /* Parcelamento */

    .product-installments {

        font-size: 11px;

        line-height: 1.3;

        min-height: 28px;

        margin-bottom: 10px;

    }

    /* Botão */

    .product-button {

        width: 100%;

        padding: 9px;

        font-size: 13px;

        border-radius: 8px;

    }

    .carousel-wrapper {

        position: relative;
        padding: 6px;
        background: #fff;
        border-radius: 8px;

    }





    /*=============================================
    Informações do card products-list
    =============================================*/


    .products-list {


        grid-template-columns: repeat(2, 1fr);


    }

    .products-list-section {

        display: block;

        margin: 40px 0;

    }


    .products-list .product-card {

        flex: 0 0 46%;

        min-width: 46%;

    }

    /* Imagem */

    .products-list .product-image {

        width: 100%;
        height: 120px;
        /* Defina uma altura fixa ideal para o mobile */
        display: block;

    }

    .products-list .product-image img {

        width: 100%;
        height: 118px;
        object-fit: contain;
        background-color: #f9f9f9;
        margin-top: -19px;

    }

    /* Avaliação */

    .products-list .product-rating {

        display: none;
    }

    .products-list .product-rating span {

        display: none;

    }

    /* Preço antigo */

    .products-list .product-old-price {

        display: none;
    }


    /* Parcelamento */

    .products-list .product-installments {

        display: none;
    }

    /* Botão */

    .product-button {

        display: none;
    }


    /*=====================================================
    RESPONSIVO - APPS E CURSOS
    ======================================================*/


    /* Card */

    .card {

        min-width: 220px;

        border-radius: 14px;
        min-width: 48%;

        flex: 0 0 48%;

    }

    /* Imagem */

    .card-image {


        height: 140px;


    }

    .card-image img {

        padding: 10px;


    }

    /* Conteúdo */

    .card-body {

        padding: 16px;

    }

    /* Categoria */

    .card-category {

        font-size: 11px;

        padding: 5px 10px;

    }

    /* Título */

    .card-body h3 {

        margin-top: 12px;

        margin-bottom: 10px;

        font-size: 18px;

        line-height: 1.35;

        display: -webkit-box;

        -webkit-line-clamp: 2;

        -webkit-box-orient: vertical;

        overflow: hidden;

    }

    /* Descrição */

    .card-body p {

        font-size: 13px;

        line-height: 22px;

        margin-bottom: 16px;

        color: #666;

        display: -webkit-box;

        -webkit-line-clamp: 3;

        -webkit-box-orient: vertical;

        overflow: hidden;

    }

    /* Botão */

    .card-button {

        display: block;

        width: 100%;

        text-align: center;

        padding: 10px;

        font-size: 13px;

        border-radius: 8px;

    }


    /*=============================================
        Search do desktop
    =============================================*/



    .search-box {

        width: 50px;
        height: 48px;
        background: transparent;

    }


    .search-box input {

        display: none;

    }

    .search-box .search-close {

        display: none;

    }

    .search-box input {

        display: none;

    }


    .search-results {

        position: fixed;

        top: 0;

        left: 0;

        width: 100%;

        height: 100%;

        max-height: none;

        border-radius: 0;

        padding: 20px;

        transform: none;

    }

    /*=============================================
       Titulo das sections
    =============================================*/

    .section-title a {
        color: var(--primary);

        font-weight: 600;

        font-size: 13px;

    }

    .section-title h2 {

        font-size: 15px;

        font-family: 'Nunito', serif;
    }



    /*=====================================================
         CATEGORIAS DE OFERTAS
    ======================================================*/
    .category-list {

        gap: 32px;
    }

    .category-list a {
        font-size: 13px;

        gap: 6px;
    }

    .category-list i {
        width: 50px;

        height: 50px;

        font-size: 20px;
    }


    /*=====================================================
      TÍTULO PRINCIPAL DA PÁGINA
    ======================================================*/
    .title-pag {
        font-size: 1.85rem;
        margin-bottom: 2.5rem;
    }
}


/*=============================================
    Celular
=============================================*/
@media (max-width:576px) {



    .hero {

        height: 175px;
        width: 100%;

    }

    .slide img {

        width: 100%;

        height: 100%;

        object-fit: cover;

    }

    .hero-content h2 {

        font-size: 15px;

        line-height: 35px;

        max-width: 216px;

    }

    .hero-content p {

        display: none;

    }

    .hero-buttons {

        flex-direction: column;

        align-items: flex-start;



    }

    .hero-prev {

        left: 3px;

    }

    .hero-next {

        right: 3px;

    }



    .section-header {

        flex-direction: column;

        align-items: flex-start;

        gap: 10px;

    }

    .carousel-arrow {

        display: none;

    }



    .footer-grid {

        grid-template-columns: 1fr;

        gap: 35px;

    }

    .footer {

        text-align: center;

    }

    .footer-social {

        justify-content: center;

    }





    .btn-primary {

        font-size: 10px;

        padding: 5px 11px;

        border-radius: 50px;


    }

    .logo h2 {

        display: none;

    }

    .navbar__logo img {
        height: 60px;

    }



    .quick-access .container {

        display: grid;

        grid-template-columns: repeat(3, 1fr);

        gap: 20px;

    }


    .quick-access {

        padding: 35px 0;

        background: #FFF;

    }

    .quick-card {

        background: #FFF;

        box-shadow: var(--shadow);

        border-radius: var(--radius);

        padding: 14px;

        text-align: center;

        transition: var(--transition);

        font-size: 13px;

    }


    /*=====================================================
      TÍTULO PRINCIPAL DA PÁGINA
    ======================================================*/
    .title-pag {
        font-size: 1.25rem;
        margin-bottom: 2rem;
        letter-spacing: normal;
    }

}