/* Shared site shell for app, shop, auth, and membership pages. */
body.page-id-145,
body.page-id-19,
body.page-id-187,
body.page-id-188,
body.page-id-189,
body.page-id-190,
body.page-id-68,
body.page-id-25,
body.woocommerce-page,
body.post-type-archive-product,
body.single-product {
    --tpl1-bg: #f6f7f9;
    --tpl1-surface: #fff;
    --tpl1-ink: #000;
    --tpl1-muted: #667085;
    --tpl1-line: #d9dee6;
    --tpl1-teal: #56c8c7;
    background: var(--tpl1-bg) !important;
    color: var(--tpl1-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.page-id-145 *,
body.page-id-19 *,
body.page-id-187 *,
body.page-id-188 *,
body.page-id-189 *,
body.page-id-190 *,
body.page-id-68 *,
body.page-id-25 *,
body.woocommerce-page *,
body.post-type-archive-product *,
body.single-product * {
    box-sizing: border-box;
}

body.page-id-145 .site-content .ast-container,
body.page-id-19 .site-content .ast-container,
body.page-id-187 .site-content .ast-container,
body.page-id-188 .site-content .ast-container,
body.page-id-189 .site-content .ast-container,
body.page-id-190 .site-content .ast-container,
body.page-id-68 .site-content .ast-container,
body.page-id-25 .site-content .ast-container,
body.woocommerce-page .site-content .ast-container,
body.post-type-archive-product .site-content .ast-container,
body.single-product .site-content .ast-container {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
}

body.page-id-145 .entry-header,
body.page-id-19 .entry-header,
body.page-id-187 .entry-header,
body.page-id-188 .entry-header,
body.page-id-189 .entry-header,
body.page-id-190 .entry-header,
body.page-id-68 .entry-header,
body.page-id-25 .entry-header,
body.woocommerce-page .entry-header,
body.post-type-archive-product .woocommerce-products-header,
body.single-product .entry-header {
    display: none !important;
}

body.page-id-145 .site-main,
body.page-id-145 .ast-article-single,
body.page-id-145 .entry-content,
body.page-id-19 .site-main,
body.page-id-19 .ast-article-single,
body.page-id-19 .entry-content,
body.page-id-187 .site-main,
body.page-id-187 .ast-article-single,
body.page-id-187 .entry-content,
body.page-id-188 .site-main,
body.page-id-188 .ast-article-single,
body.page-id-188 .entry-content,
body.page-id-189 .site-main,
body.page-id-189 .ast-article-single,
body.page-id-189 .entry-content,
body.page-id-190 .site-main,
body.page-id-190 .ast-article-single,
body.page-id-190 .entry-content,
body.page-id-68 .site-main,
body.page-id-68 .ast-article-single,
body.page-id-68 .entry-content,
body.page-id-25 .site-main,
body.page-id-25 .ast-article-single,
body.page-id-25 .entry-content,
body.woocommerce-page .site-main,
body.woocommerce-page .ast-article-single,
body.woocommerce-page .entry-content,
body.post-type-archive-product .site-main,
body.single-product .site-main {
    margin: 0;
    background: transparent !important;
}

body.page-id-145 .elementor,
body.page-id-19 .elementor,
body.page-id-187 .elementor,
body.page-id-188 .elementor,
body.page-id-189 .elementor,
body.page-id-190 .elementor,
body.page-id-68 .elementor,
body.page-id-25 .elementor {
    background: var(--tpl1-bg);
}

body.post-type-archive-product ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px !important;
    align-items: stretch;
}

body.post-type-archive-product ul.products li.product {
    display: flex !important;
    width: auto !important;
    min-width: 0;
    height: 100%;
    float: none !important;
    flex-direction: column;
    margin: 0 !important;
}

body.post-type-archive-product ul.products li.product .astra-shop-thumbnail-wrap,
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__link {
    display: block;
}

body.post-type-archive-product ul.products li.product a img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title {
    min-height: 44px;
}

body.post-type-archive-product ul.products li.product .price {
    display: block;
    margin-top: 0;
}

body.post-type-archive-product ul.products li.product .button,
body.post-type-archive-product ul.products li.product .add_to_cart_button {
    width: 100%;
    margin-top: auto !important;
}

@media (max-width: 860px) {
    body.post-type-archive-product ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    body.post-type-archive-product ul.products {
        grid-template-columns: minmax(0, 1fr);
    }
}

#masthead {
    background: #fff !important;
    border-bottom: 1px solid var(--tpl1-line, #d9dee6) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

#masthead .ast-container,
#masthead .site-primary-header-wrap {
    width: min(100% - 48px, 1368px) !important;
    max-width: 1368px !important;
    min-height: 80px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
}

#masthead .site-title a,
#masthead .ast-site-title-wrap a {
    color: #294f4b !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
}

#masthead .main-header-menu,
#masthead .ast-builder-menu-1 .main-header-menu {
    gap: 28px !important;
}

#masthead .main-header-menu > .menu-item > .menu-link,
#masthead .ast-builder-menu-1 .menu-item > .menu-link {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 80px !important;
    padding: 0 2px !important;
    border: 0 !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    font-size: 16px !important;
    font-weight: 650 !important;
    line-height: 1 !important;
}

#masthead .main-header-menu > .current-menu-item > .menu-link,
#masthead .main-header-menu > .current_page_item > .menu-link,
#masthead .ast-builder-menu-1 .current-menu-item > .menu-link,
#masthead .ast-builder-menu-1 .current_page_item > .menu-link,
#masthead .menu-link[aria-current="page"] {
    border-bottom-color: #56c8c7 !important;
    color: #56c8c7 !important;
}

#masthead a[href*="/ver-planes"].menu-link,
#masthead .main-header-menu > .menu-item > a[href*="/ver-planes"],
#masthead .ast-builder-menu-1 .menu-item > a[href*="/ver-planes"] {
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 25px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: #56c8c7 !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 750 !important;
}

#masthead a[href*="/iniciar-sesion"].menu-link,
#masthead a[href*="/mi-cuenta"].menu-link,
#masthead .main-header-menu > .menu-item > a[href*="/iniciar-sesion"],
#masthead .main-header-menu > .menu-item > a[href*="/mi-cuenta"],
#masthead .ast-builder-menu-1 .menu-item > a[href*="/iniciar-sesion"],
#masthead .ast-builder-menu-1 .menu-item > a[href*="/mi-cuenta"] {
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 25px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: #f2f4f7 !important;
    color: #000 !important;
    box-shadow: none !important;
    font-size: 18px !important;
    font-weight: 750 !important;
}

@media (max-width: 921px) {
    #masthead .ast-container,
    #masthead .site-primary-header-wrap {
        width: min(100% - 28px, 1368px) !important;
        min-height: 68px !important;
    }

    #masthead .main-header-menu > .menu-item > .menu-link,
    #masthead .ast-builder-menu-1 .menu-item > .menu-link {
        min-height: 48px !important;
        padding: 0 16px !important;
        border-bottom: 1px solid #eef2f7 !important;
    }
}
