/* CUSTOM CLASSES */

/* added manualy in Gutenberg */
.wp-block-group.inline > * {
    display: inline;
}
body:not(.funel-welcome) .show-welcome,
body.funel-welcome .show-default {
    display: none;
}

/* LAYOUT */
    /* clubs category page */
form.clubs_filters input[type=number] {
    width: 100%;
    border: var(--wp--preset--color--foreground) solid 1px;
    box-sizing: border-box;
    padding: 1rem var(--wp--custom--spacing--small);
    font-size: var(--wp--preset--font-size--large);
    font-weight: 200;
    text-align: center;
}
    /* product & cart page */
.welcome-multipass-info, 
body.funel-welcome .wc-block-components-product-details span[class=''] .wc-block-components-product-details__value {
    color: red;
}
    /* product page */
body.funel-welcome .woocommerce div.product form.cart {
    display: block !important;
    margin-bottom: 0 !important;
}
body.funel-welcome .woocommerce div.product form.cart.is-hidden {
    display: none !important;
}
    /* extra step before add to cart */
body.funel-welcome.single-product .wp-block-details summary {
    /* simili button */
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--background);
    border-radius: 5rem;
    display: inline-block;
    width: auto;
    padding-top: calc(0.667em + 2px);
    padding-right: calc(1.333em + 2px);
    padding-bottom: calc(0.667em + 2px);
    padding-left: calc(1.333em + 2px);
}
body.funel-welcome.single-product .wp-block-details summary svg {
    display: none;
}
body.funel-welcome.single-product .wp-block-details[open] summary {
    display: none;
}
body.funel-welcome.single-product .wp-block-add-to-cart-with-options:not(.is-hidden) + p.is-hidden {
    display: block !important;
}
body.funel-welcome .wc-block-add-to-cart-with-options-variation-selector-attribute-options__pills {
    flex-direction: column;
}

    /* cart page */
body.funel-welcome .wc-block-cart .wc-block-components-product-metadata__description,
body.funel-welcome .wc-block-cart .wc-block-cart-item__prices,
body.funel-welcome .wc-block-cart-item__total {
    display: none !important;
}
body.funel-welcome .wc-block-cart-item__quantity:before {
    content : 'Nombre de Pass ';
}
    /* checkout */
.wc-block-checkout__actions .wp-block-woocommerce-checkout-order-summary-block /* extra order summary */,
.wc-block-components-address-form__country, /* country */
.wp-block-woocommerce-checkout-order-summary-totals-block, /* order summary subtotals */
.wc-block-components-order-summary-item__total-price, /* order summary price  */
.wc-block-components-order-summary-item__individual-prices, /* order summary price  */
.wc-block-components-checkout-order-summary__title, /* order summary header */
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-metadata {
    display: none !important;
}
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__content {
    display: block !important;
}
.wc-block-components-order-summary-item__image {
    margin: 0 !important;
    width: auto !important;
}
.wc-block-components-order-summary-item__quantity:before {
    content: '(x';
    display: inline;
}
.wc-block-components-order-summary-item__quantity:after {
    content: 'pass)';
    display: inline;
    margin: 0 .6em 0 .3em;
}
.wp-block-woocommerce-checkout-order-summary-block img {
    display: none;
}
.wc-block-components-order-summary-item__quantity {
    position: relative !important;
    transform: none !important;
    border: none !important;
    padding: 0 !important;
    min-height: auto !important;
    min-width: auto !important;
    background-color: transparent !important;
    line-height: inherit !important;
    box-shadow: none !important;
    display: inline !important;
}
.wc-block-components-order-summary .wc-block-components-order-summary-item__description {
    padding: 0 !important;
}
.wc-block-components-totals-item__description {
    display: none;
}
.wc-block-components-totals-wrapper {
    border: none !important;
    padding: 0 !important;
}
.wc-block-checkout__terms {
    margin-top: 1em;
}
    /* accordion step system */
.wc-block-components-checkout-step {
    border: var(--wp--preset--color--borders) solid 1px !important;
    background-color: var(--wp--preset--color--light) !important;
    padding: var(--wp--custom--spacing--medium) !important;
}
.wc-block-components-checkout-step h2.wc-block-components-checkout-step__title {
    text-transform: none;
}
.wc-block-components-checkout-step.is-closed {
    max-height: 1em !important;
    overflow: hidden !important; 
    padding-block: 1.3rem !important; 
}
.wc-block-components-checkout-step.fake {
    padding-block: 1.3rem !important; 
}

.wc-block-components-checkout-step.is-past {
    background-color: #e5f5e5 !important;
}
input.wc-block-components-checkout-place-order-button /* JS dom */ {
    margin-top: 1em;
}

/* participants */
.wc-block-components-address-form h3 /* JS dom */ {
    flex-basis: 100%;
}
.wc-block-components-address-form h3 + div {
    margin-top: 12px !important;
}

/* order confirmation */
.afgolf_welcome26_order_summary ul,
.afgolf_welcome26_order_summary ul li {
    display: block;
    padding: 0;
}

/* SPECIALS */
    /* Offering versus stanbard buying */
body.funel-offrir .wp-block-read-more.has-background-color,
body.funel-offrir .single_add_to_cart_button,
body.funel-offrir .wc-block-cart__submit-button,
body.funel-offrir .wc-block-components-checkout-place-order-button,
body.funel-offrir.single-product .wp-block-details summary {
    background-color: var(--wp--preset--color--secondary) !important;
    color: var(--wp--preset--color--foreground) !important;
}
    /* homepage */
.wp-block-cover.snake img.wp-block-cover__image-background {
    object-fit: contain;
}
@media screen and (min-width:600px) {
    .wp-block-cover.snake img.wp-block-cover__image-background {
        object-fit: cover;
        object-position: 50% 70% !important;
    }    
}

/* iframe */
body.is-iframe header.wp-block-template-part {
    display: none;
}