/**
 * =========================================================
 * EMIT SPORTS — PRODUCT CATEGORY
 * =========================================================
 */

/* =========================================================
   LARGURA DA PÁGINA DE CATEGORIA
   ========================================================= */

.woocommerce.archive .site-content > .ast-container {
    max-width: 1320px !important;
    width: 100% !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 28px !important;
    padding-right: 28px !important;
}

.woocommerce.archive #primary,
.woocommerce.archive main.site-main {
    width: 100% !important;
    max-width: none !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* =========================================================
   INTRODUÇÃO
   ========================================================= */

.emit-category-intro {
    width: 100%;
    max-width: none;

    margin: 0 0 30px;
    padding: 0;
}



/* =========================================================
   TEXTO
   ========================================================= */

.emit-category-description {
    width: 100%;
    max-width: 1000px;
}


.emit-category-description p {
    margin: 0;

    color: #626262;

    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
}


.emit-category-description strong {
    color: #1C1C1A;
    font-weight: 600;
}


/* =========================================================
   BENEFÍCIOS
   ========================================================= */

.emit-category-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    width: 100%;
    max-width: none;

    gap: 40px;

    margin-top: 27px;
    padding-top: 22px;

    border-top: 1px solid #eeeeee;
}


.emit-category-benefit {
    display: grid;

    grid-template-columns: 30px 1fr;

    align-items: center;

    gap: 11px;

    min-width: 0;
}


/* =========================================================
   ÍCONES
   ========================================================= */

.emit-category-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 26px;
    height: 26px;

    color: #1C1C1A;
}


.emit-category-benefit-icon svg {
    display: block;

    width: 23px;
    height: 23px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   TEXTO DOS BENEFÍCIOS
   ========================================================= */

.emit-category-benefit > div {
    display: flex;
    flex-direction: column;

    gap: 2px;

    min-width: 0;
}


.emit-category-benefit strong {
    color: #1C1C1A;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}


.emit-category-benefit span:not(.emit-category-benefit-icon) {
    color: #8a8a8a;

    font-size: 11px;
    font-weight: 400;
    line-height: 1.35;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {

    .emit-category-description {
        max-width: 780px;
    }

    .emit-category-benefits {
        max-width: 100%;
        gap: 24px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .emit-category-intro {
        margin-bottom: 26px;
    }


    .emit-category-description {
        max-width: none;
    }


    .emit-category-description p {
        font-size: 13px;
        line-height: 1.6;
    }


    .emit-category-benefits {
        grid-template-columns: 1fr;

        max-width: none;

        gap: 14px;

        margin-top: 20px;
        padding-top: 18px;
    }


    .emit-category-benefit {
        grid-template-columns: 26px 1fr;

        gap: 10px;
    }


    .emit-category-benefit-icon {
        width: 23px;
        height: 23px;
    }


    .emit-category-benefit-icon svg {
        width: 21px;
        height: 21px;
    }


    .emit-category-benefit strong {
        font-size: 12px;
    }


    .emit-category-benefit span:not(.emit-category-benefit-icon) {
        font-size: 10px;
    }
    
.emit-category-benefit:nth-child(1),
.emit-category-benefit:nth-child(2),
.emit-category-benefit:nth-child(3) {
    justify-self: start;
}

}

body.tax-product_cat.term-raquetes-emit
.woocommerce-result-count {
    display: none !important;
}

/* =========================================================
   CATEGORIA — MOBILE
   ========================================================= */

@media (max-width: 767px) {

    /* Aproveita melhor a largura da tela */
    .woocommerce.archive .site-content > .ast-container {
    padding-left: 18px !important;
    padding-right: 18px !important;
    padding-top: 0 !important;
}


    /* Introdução */
    .emit-category-intro {
        width: 100%;
        margin-bottom: 18px;
    }


    /* Texto principal */
    .emit-category-description {
        width: 100%;
        max-width: none;
    }

    .emit-category-description p {
        margin: 0;

        font-size: 13px;
        line-height: 1.55;
    }


/* =========================================================
   BENEFÍCIOS — MOBILE
   1 BENEFÍCIO POR LINHA
   ========================================================= */

.emit-category-benefits {
    display: flex;
    flex-direction: column;

    width: 100%;

    gap: 12px;

    margin-top: 22px;
    margin-bottom: 26px;

    padding: 0;

    border-top: 0;
}


/* CADA LINHA */

.emit-category-benefit {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;

    width: 100%;

    gap: 12px;

    text-align: left;
}


/* ÍCONE */

.emit-category-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    flex: 0 0 22px;

    margin: 0;
}

.emit-category-benefit-icon svg {
    display: block;

    width: 20px;
    height: 20px;
}


/* CONTEÚDO */

.emit-category-benefit-content {
    display: flex;
    align-items: center;

    width: auto;
    min-width: 0;
}


/* TÍTULO — SEM QUEBRA */

.emit-category-benefit-title {
    margin: 0 !important;

    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;

    color: #1C1C1A;

    white-space: nowrap;
}


/* ESCONDE O TEXTO SECUNDÁRIO SOMENTE NO MOBILE */

.emit-category-benefit-text {
    display: none !important;
}


/* CANCELA POSICIONAMENTOS DO DESKTOP */

.emit-category-benefit:nth-child(1),
.emit-category-benefit:nth-child(2),
.emit-category-benefit:nth-child(3) {
    justify-self: auto;
}

/* =========================================================
   CATÁLOGOS — ESPAÇO ENTRE TÍTULO E PRODUTOS
   Exceto categoria Raquetes
   ========================================================= */

@media (max-width: 767px) {

    /* Loja + todas as categorias */
    body.woocommerce-shop ul.products,
    body.tax-product_cat ul.products {
        margin-top: 34px !important;
    }

    /* Raquetes já possui layout próprio */
    body.term-raquetes-emit ul.products {
        margin-top: 0 !important;
    }

}