/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Astra Theme Child Theme
Author: Valentin Magaña
Author URI: https://clovercode.com.mx
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/
@font-face {
    font-family: 'Caesar';
    src: url(./fonts/CAESAR.TTF) format('truetype');
}
@font-face {
    font-family: 'Delugional';
    src: url(./fonts/Delugional-Regular.ttf) format('truetype');
}
@font-face {
    font-family: 'FontAwesome';
    src: url('./fonts/fontawesome-webfont.eot?v=4.7.0');
    src: url('./fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('./fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('./fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('./fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('./fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}


/* Paid Memberships Pro */
#pmpro_account-profile .pmpro_card_actions {
    display: none !important;
}

/*
*
* Custom CSS
* Card Style
* .card-columns .card, .card-columns .card-body, .card-columns .card-title, .card-columns .card-text
*/
/* Card-columns .card *3*/
.card-columns {
    display: flex;
    grid-gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}
.card-columns .card {
    background: #fff;
    border: none;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 370px;
    width: 100%;
}
.card-columns .card[level-id="1"] h3, .card-columns .card[level-id="3"] h3, .card-columns .card[level-id="7"] h3{
    color: #fff;
}
.card-columns .card[level-id="1"]{
    background: #59925a;
    color: #fff;
}
.card-columns .card[level-id="2"]{
    background: #ece1d8;
}
.card-columns .card[level-id="3"]{
    background: #7e7e7e;
    color: #fff;
}
.card-columns .card[level-id="6"]{
    background: #bcbcbc;
}
.card-columns .card[level-id="6"] a{
    color: #59925a;
}
.card-columns .card[level-id="7"]{
    background: #988b4e;
    color: #fff;
}


.card-columns .card .card-title {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 0;
}
.card-columns .card .card-text {
    font-size: 14px;
    margin-bottom: 0;
}
.card-columns .card .card-body {
    padding: 50px 40px 10px 40px;
    height: calc(100% - 90px);
}
.card-columns .card .card-body h3 .sacab-word {
    font-weight: 400;
}
.card-columns .card .card-body ul{
    font-size: 15px;
    line-height: 20px;
}
.card-columns .card .card-footer {
    text-align: center;
    padding: 20px 5px;
}  
.card-columns .card .card-footer button.pmpro_btn {
    background-color: #1c1c1c;
    border: solid 1px #1c1c1c;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
    text-align: center;
    padding: 15px 10px;
    max-width: 215px;
    width: 100%;
    overflow: visible;
    position: relative;
}
.card-columns .card .card-footer button.pmpro_btn .tooltiptext {
    visibility: hidden;
    width: 100%;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Posición arriba del botón */
    left: 0;
    opacity: 0;
    transition: opacity 0.3s;
    font-weight: 400;
    font-size: 12px;
}
  
.card-columns .card .card-footer button.pmpro_btn .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
  }
  
  .card-columns .card .card-footer button.pmpro_btn:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }
.card-columns .card .card-footer button.pmpro_btn:hover, .card-columns .card .card-footer button.pmpro_btn:focus  {
    background-color: #fff;
    color: #1c1c1c;
}
/* Diables button */
.card-columns .card .card-footer button.pmpro_btn:disabled {
    background-color: #525252;
    border: solid 1px #525252;
    color: #a9a9a9;
    cursor: not-allowed;
}

/* Sticky Header */
.ast-theme-transparent-header #masthead,
.ast-woo-shop-archive #masthead,
#masthead {
    position: fixed;
    z-index: 999;
    width: 100%;
}
.ast-theme-transparent-header #masthead.sticky-active,
.ast-woo-shop-archive #masthead.sticky-active,
#masthead.sticky-active {
    background: rgba(236, 225, 216, 0.9);
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
}
.main-header-bar {
    background-color: transparent;
}
body:not(.home) div#content {
    margin-top: 85px;
}
#primary,
.ast-plain-container.ast-no-sidebar #primary {
    margin: 3em 0;
}
body.home #primary {
    margin: 0 !important;
}
.ast-theme-transparent-header.woocommerce-page:not(.home) .site-content{
    margin: 50px 0;
}

/* Custom CSS */
body {
    font-family: 'Montserrat', sans-serif;
}
/* h1, h2, h3, h4, h5, h6 {
    font-family: 'Caesar', Sans-serif
} */
a.menu-link, .ast-custom-button {
    text-transform: uppercase;
}
.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link{
    font-weight: 700;
}
.sacab-word{
    font-family: 'Delugional' !important;
}

.ast-custom-button:hover {
    color: var(--ast-global-color-0);
}

header .site-title {
    display: none;
}

.spinner.d-none {
    display: none;
}
.spinner::after {
    display: inline-block; font-family: "FontAwesome";
    content: "\f110";
    animation: spin 2s linear infinite;
    position: absolute;
    margin-left: 5px;
}

#wc-bookings-booking-form .wc-bookings-booking-cost {
    display: none !important;
}

.site-below-footer-wrap {
    padding-top: 5px;
    padding-bottom: 5px;
}
.ast-footer-copyright p {
    color: #fff;
}
#astra-footer-menu > .menu-item::after {
    content: "";
    display: block;
    width: 1px;
    height: 17px;
    background-color: #fff;
    position: absolute;
}
#astra-footer-menu > .menu-item:first-child::after {
    display: none;
}

#astra-footer-menu > .menu-item > .menu-link {
	text-transform: none;
}

.footer-widget-area[data-section="section-footer-menu"] .astra-footer-horizontal-menu {
    justify-content: right;
}
.ast-footer-copyright {
    text-align: left;
}

/* WooCommerce */
form.woocommerce-filter {
    float: right;
    margin: 0 10px;
}

form.woocommerce-filter select {
    border: none;
}
.woocommerce-js div.product div.summary .single-product-category, .ast-woo-product-category {
    display: none !important;
}
.woocommerce-variation-price .woocommerce-price-suffix {
    display: none !important;
}
fieldset.wc-bookings-date-picker.wc_bookings_field_start_date {
    padding: 15px 0;
    border: none;
}
ul.block-picker {
    font-size: 14px;
    color: #b2b2b2;
}
div#wc-bookings-booking-form {
    padding: 0;
    border: none;
}
button.wc-bookings-booking-form-button.single_add_to_cart_button.button.alt.disabled {
    background-color: var(--ast-global-color-1);
    border-radius: 5px;
}
.ast-on-card-button{
    display: none !important;
}

#coaches-slider .e-link-in-bio__ctas.has-type-link {
    display: block;
}
#coaches-slider .e-link-in-bio__ctas.has-type-link a {
    display: inline-block;
    padding: 5px 5px 2px 2px;
    border-right: solid 1px #4a4a4a;
}
#coaches-slider h2.e-link-in-bio__heading {
    font-weight: 400;
    font-size: 27px;
}
#coaches-slider .e-link-in-bio__icons{
    margin-top: 0px;
}
#coaches-slider p.e-link-in-bio__description {
    min-height: 75px;
}
#coaches-slider .e-link-in-bio__ctas.has-type-link a:last-child {
    border-right: none;
}
.hide-cta .e-link-in-bio__ctas.has-type-link {
    display: none !important;
}

.coach-card {
    /* min-height: 600px; */
}
.coach-card .elementor-widget-image{
    margin-block-end: 0px;
}
.coach-card > div .coach-info{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}
.coach-card:hover > div .coach-info{
    max-height: 500px;
    transition: max-height 0.3s ease-in-out;
}

/* Woocommerce */
.woocommerce-checkout #checkout,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message,
.woocommerce form#order_review,
form.woocommerce-form.woocommerce-form-login.login{
    font-family: 'Montserrat', sans-serif;
}
.woocommerce-checkout #checkout h3{
    font-weight: 400;
    font-size: 25px;
}
/* .woocommerce-checkout .entry-content table:not(.woocommerce-checkout-review-order-table)  tr  td { */
.woocommerce-checkout .entry-content table:not(.woocommerce-checkout-review-order-table),
.woocommerce-checkout .entry-content table:not(.woocommerce-checkout-review-order-table) > tbody > tr > td{
    border: none !important;
}

.pmpro-level-required .pmpro {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}
.pmpro-level-required .pmpro .pmpro_card_actions {
    display: none !important;
}

/* Widget social */
#widget-social-area {
    position: fixed;
    bottom: 80px;
    right: 0;
}
#widget-social-area ul.wp-block-social-links {
    margin: 10px 30px 10px 10px;
    list-style: none;
}
#widget-social-area ul.wp-block-social-links li.wp-social-link-whatsapp a {
    display: block;
    background-color: #25D366;
    border-radius: 50%;
    text-align: center;
    width: 55px;
    height: 55px;
    padding: 12px 0;
}
#widget-social-area ul.wp-block-social-links li.wp-social-link-whatsapp a:hover {
    background-color: #128C7E;
    transition: all 0.3s ease-in-out;
}
#widget-social-area ul.wp-block-social-links li.wp-social-link-whatsapp a svg {
    width: 30px;
    height: 30px;
    margin: 0 auto;
    fill: #fff;
    transition: all 0.3s ease-in-out;
}
ul.list-pages {
    list-style: none;
    padding: 0;
}
ul.list-pages li {
    margin: 0 0 10px 0;
    width: 100%;
    max-width: 250px;
}
ul.list-pages li a {
    padding: 5px 15px;
    font-size: 18px;
    display: list-item;
    color: var(--ast-global-color-0);
    text-decoration: none !important;
}
ul.list-pages li a:hover, ul.list-pages li a.active {
    background: var(--ast-global-color-1);
    color: #fff;
}

/* Responsive */
@media (min-width: 922px) and (max-width: 1071px) {
    header .custom-logo-link img {
        width: 170px;
    }
    .ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item {
        font-size: 15px;
    }
    .ast-header-button-1 .ast-custom-button {
        font-size: 14px;
        text-align: center;
    }
    .ast-header-button-1[data-section*="section-hb-button-"] .ast-builder-button-wrap .ast-custom-button{
        padding: 15px;
    }
}
@media (max-width: 921px) {
    .ast-builder-menu-mobile .main-navigation .menu-item > .menu-link {
        text-align: center !important;
        font-size: 20px;
    }
    .ast-header-break-point .ast-header-button-1[data-section="section-hb-button-1"] {
        justify-content: center;
        margin-top: 30px;
    }
    .ast-header-button-1[data-section*="section-hb-button-"] .ast-builder-button-wrap .ast-custom-button{
        font-size: 20px;
    }
    #primary, .ast-plain-container.ast-no-sidebar #primary{
        margin: 0;
    }
    #astra-footer-menu > .menu-item::after{
        display: none;
    }
    .ast-builder-menu-mobile .main-navigation .main-header-menu,
    .ast-builder-menu-mobile .main-navigation .main-header-menu,
    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-link,
    .ast-builder-menu-mobile .main-navigation .main-header-menu .sub-menu,
    .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-item > .menu-link{
        background-color: transparent;
    }
    
}

@media (max-width: 768px) {
    .ast-header-break-point .site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
        padding: 15px 0;
    }
    .ast-footer-copyright {
        text-align: center;
    }
    ul#astra-footer-menu{
        justify-content: center;
    }
    form #order_review:not(.elementor-widget-woocommerce-checkout-page #order_review) {
        padding: 0 10px;
    }
    .card-columns .card .card-footer button.pmpro_btn .tooltiptext {
        background: none;
        bottom: 100%;
        color: #000;
        opacity: 1;
        visibility: visible;
    }
    .card-columns .card .card-body {
        padding: 50px 40px 30px 40px;
    }
}