/* Charly custom CSS - restored 2026-04-08 (safe version) */

/* Kill preloader */
#preloader, #preloader * { display:none!important; opacity:0!important; visibility:hidden!important; }

/* Elementor invisible nuclear fix */
.elementor-invisible, .elementor-hidden, .elementor-widget.elementor-invisible {
    visibility: visible !important; opacity: 1 !important;
    animation: none !important; transition: none !important;
}

/* Botón WhatsApp */
.matu-wsp-btn {
    display: inline-flex !important; align-items: center; gap: 6px;
    background-color: #25D366 !important; color: #fff !important;
    border: none !important; padding: 0 16px !important; height: 44px !important;
    border-radius: 3px !important; font-size: 13px !important; font-weight: 600 !important;
    cursor: pointer; text-decoration: none !important; white-space: nowrap;
    margin-left: 6px; box-shadow: none !important;
}
.matu-wsp-btn:hover { background-color: #1ebe5d !important; color: #fff !important; }
.woocommerce ul.products li.product .matu-wsp-btn { width: 100%; margin: 6px 0 0 0; justify-content: center; }

/* Ocultar sección Compartir en producto (selectores específicos, NO wildcard) */
.woocommerce-share, .sharedaddy, .sd-sharing-enabled,
.sd-block.sd-social, .entry-share, .post-share, .product-share { display: none !important; }

/* Fix Elementor invisible */
.elementor-invisible { visibility: visible !important; }
.elementor-motion-effects-container, .e-con, .e-con-inner, .elementor-section { visibility: visible !important; opacity: 1 !important; }

/* Ocultar bloque Pago 100% Seguro */
[data-id="2d1dfeb"] { display: none !important; }
.payment-logo { display: none !important; }

/* Ocultar Twitter y Pinterest del footer */
footer .fa-x-twitter, footer .fa-pinterest-p { display: none !important; }

/* Ocultar barra superior (selectores específicos, NO wildcard) */
.header-top-section, .zilly-top-bar, .top-header-area, .site-top-bar { display: none !important; }

/* Fix br mobile */
@media(max-width:991px) { .rt-hero-banner .entry-title br, .rt-hero-banner .product-label br { display:block!important; } }

/* Fix overflow horizontal mobile */
@media(max-width:767px) {
    .rt-hero-banner, .rt-hero-banner .rt-content, .rt-hero-banner .rt-bg { min-width:unset!important; width:100%!important; }
    img, video, iframe { max-width:100%!important; }
}

/* Desktop benefits fix */
@media(min-width:768px) {
    .elementor-element-d21e1b5 { flex-wrap: nowrap !important; justify-content: space-between !important; }
    .elementor-element-d21e1b5 > .elementor-element { flex: 1 1 0% !important; width: auto !important; max-width: 20% !important; }
}

/* Bottom banners fix */
@media(min-width:768px) {
    .elementor-element-f0c1463 > .e-con-inner { flex-wrap: nowrap !important; flex-direction: row !important; }
    .elementor-element-033d876, .elementor-element-35f382c, .elementor-element-56db0b4 { width: 33.333% !important; flex: 0 0 33.333% !important; max-width: 33.333% !important; }
}
.elementor-element-033d876 .entry-title, .elementor-element-35f382c .entry-title, .elementor-element-56db0b4 .entry-title { color: #000 !important; }

/* Categorías tienda — horizontal grid (matu-shop custom) */
.matu-shop-cats-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    justify-content: center !important;
}
.matu-cat-item {
    flex: 0 0 auto !important;
    text-align: center !important;
    cursor: pointer;
}
.matu-cat-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}
.matu-cat-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.matu-cat-item.active .matu-cat-circle {
    border: 2px solid #c6242f;
}

/* Categorías círculos */
.product-category .thumbnail img,
.woocommerce ul.products li.product-category a img {
    min-width: 130px;
    width: 130px !important;
    height: 130px !important;
    border-radius: 50%;
    object-fit: cover;
}

/* Tienda: productos grid */
.woocommerce ul.products, .woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 12px !important;
}
.woocommerce ul.products li.product {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
}
@media (max-width: 767px) {
    .woocommerce ul.products, .woocommerce-page ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Sin sidebar en tienda */
.woocommerce .rtsb-product-catalog-area .rtsb-sidebar,
.rtsb-product-catalog-area aside.widget-area {
    display: none !important;
}
.woocommerce .rtsb-product-catalog-area .rtsb-products-area {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}
