/* ==========================================================
   NIGHT WINGS TAROT
   CSS PRINCIPAL
   ========================================================== */


/* ==========================================================
   1. FUNDO PRETO EM TODO O SITE
   ========================================================== */

html,
body,
#page,
.site,
.site-content,
.content-area,
.entry-content,
.wp-site-blocks {
    background-color: #000000 !important;
}


/* ==========================================================
   2. BOTÕES
   ========================================================== */

button,
.wp-block-button__link,
.elementor-button,
input[type="button"],
input[type="submit"],
a[class*="button"] {
    background: #000000 !important;
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}


/* ==========================================================
   3. RODAPÉ E ZONAS INFERIORES
   ========================================================== */

footer,
.site-footer,
#colophon,
.widget-area {
    background-color: #000000 !important;
}


/* ==========================================================
   4. REDES SOCIAIS
   ========================================================== */

.wp-block-social-links,
.wp-block-social-links .wp-social-link,
.social-icons,
.social-icons a,
.elementor-social-icons-wrapper,
.elementor-social-icon {
    background: #000000 !important;
    background-color: #000000 !important;
}


/* ==========================================================
   5. PÁGINA INICIAL
   Centrar a frase e colocar a branco
   ========================================================== */

.home .entry-content p {
    color: #ffffff !important;
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.home footer,
.home .site-footer,
.home .widget-area,
.home .wp-block-group:has(.wp-block-social-links) {
    background: #000000 !important;
}


/* ==========================================================
   6. PRODUTOS
   REMOVER O TEXTO/EXCERTO AO LADO DIREITO DA IMAGEM
   ========================================================== */

/* Bloco de excerto do tema / WooCommerce Blocks */
body.single-product .wp-block-post-excerpt,
body.single-product .wp-block-post-excerpt__excerpt,
body.single-product p.wp-block-post-excerpt__excerpt {
    display: none !important;
}

/* Caso o tema não coloque a classe single-product no body */
body .wp-block-post-excerpt__excerpt {
    display: none !important;
}

/* Descrição curta tradicional do WooCommerce */
body.single-product .woocommerce-product-details__short-description,
body.single-product .summary .woocommerce-product-details__short-description {
    display: none !important;
}


/* ==========================================================
   7. LOJA NO TELEMÓVEL
   UMA CONSULTA POR LINHA
   ========================================================== */

@media only screen and (max-width: 800px) {

    /* ---------- WooCommerce clássico ---------- */

    body.woocommerce ul.products,
    body.woocommerce-page ul.products,
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .woocommerce ul.products[class*="columns-"],
    .woocommerce-page ul.products[class*="columns-"] {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
        column-gap: 0 !important;
        row-gap: 35px !important;
    }


    body.woocommerce ul.products li.product,
    body.woocommerce-page ul.products li.product,
    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product,
    .woocommerce ul.products[class*="columns-"] li.product,
    .woocommerce-page ul.products[class*="columns-"] li.product {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        float: none !important;
        clear: both !important;

        display: block !important;

        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 35px !important;
    }


    /* ---------- WooCommerce Blocks ---------- */

    .wc-block-product-template,
    ul.wc-block-product-template,
    .wc-block-grid__products {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 35px 0 !important;
    }


    .wc-block-product-template .wc-block-product,
    .wc-block-grid__products .wc-block-grid__product,
    li.wc-block-product {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        flex: 0 0 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;
    }


    /* ---------- Imagens dos produtos ---------- */

    .woocommerce ul.products li.product img,
    .woocommerce-page ul.products li.product img,
    .wc-block-product-template .wc-block-product img,
    .wc-block-grid__product img {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }


    /* ---------- Título ---------- */

    .woocommerce ul.products li.product
    .woocommerce-loop-product__title {
        text-align: center !important;
    }


    /* ---------- Preço ---------- */

    .woocommerce ul.products li.product .price {
        display: block !important;
        text-align: center !important;
    }


    /* ---------- Botão Adicionar ---------- */

    .woocommerce ul.products li.product .button {
        display: table !important;
        margin: 18px auto 0 auto !important;
    }

}