/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

body {
    --e-global-typography-primary-font-family: "Poppins", sans-serif !important;
    --e-global-typography-secondary-font-family: "Poppins", sans-serif !important;
    --e-global-typography-text-font-family: "Lato", sans-serif !important;
}

.mb-pa-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.8em;
}
.mb-pa-value {
    white-space: nowrap;
}
.mb-price {
    white-space: nowrap;
    margin-bottom: 10px;
    font-weight: 700;
}
.woocommerce .amount {
    font-weight: 700 !important;
}
.pmeprice {
    line-height: 1.2em;
}
.pmeprice .amount {
    font-weight: normal !important;
}
.product-quantity {
    text-align: center;
}
.mb-equivalent,
.product-quantity > .stock {
    font-size: 0.8em;
    line-height: 1.3em;
    margin-top: 10px;
}
.product-format:before {
    float: none !important;
    display: block;
    text-align: left;
}

.uael-post__inner-wrap
{
    background-color: none !important;
}
/* Rahmen bei Öffnungszeiten im Footer ausblenden */
.opening-hours, .hours, .day-name {
    border: none !important;
}

/* 13/02/2023 Dropdown bei Standardsortierung ausmisten */
.orderby option[value="popularity"],
.orderby option[value="popularity-desc"], .orderby option[value="date"],
.orderby option[value="date-desc"]
{
    display: none;
}

/*
 * Quadradtmeter input
 */
#pl_package_qtty {
    max-width: 80px;
    padding: 0.3em;
    margin-left: 0.8em;
    margin-right: 0.3em;
}
.unit-price-calculation {
    margin: 0 1em 1em 0;
    border-top: 1px solid var(--ast-border-color);
    padding-top: .5em;
}
.after-price-single
{
    margin-bottom: 1em;
}
.paketanzahl-single-product {
    display: inline-flex;
    float: left;
    margin: 0 1em 1em 0;
}

/* Germanized inkl MWSt ausblenden
 * */
.tax-info
{
    display:none !important;
}


/* Im Cart Zwischensumme rechtsbündig */
.product-subtotal {
    text-align: right !important;
}
/*Cart PME Formatierung*/
.pmeprice {
    font-style: italic;
    font-size: small;
    white-space: nowrap;
}

/* Anzeigebug Filter */
.woocommerce input[type=number]
{
    max-width: 100% !important;
}

/* Anzeige Verfuegbarkeit nach Peter */
input[name="max_verfuegbarm2"]  {
    display: none !important;
}
.wpc-filters-range-values-wrapper {
    display: none !important;
}

/* Übesetzung nicht gefunden - doppelte Anzeige */
.wpc-posts-found {
    display: none !important;
}

/*Anzeige Attribute in Loop bei Türen*/
.tuerenloopinfos {
    font-size: .9em !important;
    line-height: 1.1em !important;
    margin-bottom: 10px;
    color: black !important;
}
.tuerenloopinfos > span {
    float: right;
}

/*durchgestrichener Preis bei Aktion*/
.woocommerce ul.products li.product .price del
{
    color: #cc0000
}

/* * Hinweis Ninja Form ausblenden */
.nf-form-fields-required {
    display: none;
}

/* Detail Verfügbarkeit */
.woocommerce-js div.product .stock
{
    color: #008441;
}

/* Statt Preis Kontrast erhöhen*/
.woocommerce-js ul.products li.product .price del
{
    opacity: .8;
}

/*
 * Kleinerer Hauptpreis, größerer Statt-Preis
 */
.single-product.woocommerce div.product .price {
    font-size: 1rem;
}
.single-product.woocommerce div.product .price del {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 1rem;
}

/* Checkout font size fix */
#ast-order-review-wrapper {
    font-size: 12px;
}

/* Onsale oberhalb Menü bug*/
.woocommerce-js span.onsale
{
    z-Index: 1;
}

/* facet wp */
.facetwp-display-value
{
    color: #008441;
}

/* FacetWP with Images radio and checkboxes */
.facetwp-facet.facetwp-type-checkboxes .facetwp-display-value img,
.facetwp-facet.facetwp-type-radio .facetwp-display-value img
{
    width: 1.3em;
    aspect-ratio: 1;
    margin-right: 5px;
    vertical-align: text-top;
}

/* FacetWP H3 Style */
.facet-wrap h3 {
    margin-bottom: 10px;
}
.elementor-widget elementor-widget-facetwp-facet {
    margin-bottom: 0px;
}

/* YITH Request a Quote */
#yith-ywraq-form input[type="submit"] {
    border: 2px solid var(--e-global-color-4b943b5d);
    transition: all 0.4s ease-in-out;
}
#yith-ywraq-default-form input[type="submit"] {
    background: var(--e-global-color-17aef4c7) !important;
    color: var(--e-global-color-6cc066a2) !important;
    transition: all 0.4s ease-in-out;
}
#yith-ywraq-default-form input[type="submit"]:hover {
    background: var(--e-global-color-4b943b5d) !important;
}
.woocommerce-js a.remove {
    line-height: 18px;
}
.raq-totals-row {
    border-top: 1px solid var(--ast-border-color) !important;
}
@media(max-width: 921px) {
    #yith-ywraq-form table.cart tr,
    #yith-ywraq-form table.cart tr > td {
        display: block !important;
    }
    #yith-ywraq-form table.cart tr {
        border-top: 3px solid var(--ast-border-color);
    }
    #yith-ywraq-form table.cart tr > td {
        border-top: 1px solid var(--ast-border-color);
        font-size: 1em;
        padding: .7em 1em !important;
    }
    #yith-ywraq-form table.cart tr > td:before {
        content: attr(data-title) ": ";
        font-weight: 700;
        float: left;
    }
    #yith-ywraq-form table.cart tr > .product-remove:before {
        content: none;
    }
    #yith-ywraq-form table.cart tr > .product-remove {
        border-top: 0;
        position: absolute;
        right: 5px;
        top: 5px;
        padding: 0 !important;
        width: auto;
    }
    #yith-ywraq-form table.cart tr .product-name {
        text-align: left;
        font-weight: 600;
        padding-right: 30px !important; /* space for remove */
        background: var(--ast-border-color);
    }
    #yith-ywraq-form table.cart tr .product-name:before {
        content: none;
    }
    #yith-ywraq-form table.cart tr .product-form {
        float: none !important;
        display: block;
        text-align: left;
    }
    #yith-ywraq-form table.cart tr .product-form:before {
        float: none !important;
        display: block;
    }
    #yith-ywraq-form table.cart tr .product-price {

    }
    .raq-totals-row,
    .raq-totals-label {
        display: none;
    }
    #yith-ywraq-form table.cart thead {
        display: none;
    }
    #yith-ywraq-form table.cart tr {
        position: relative;
    }
    #yith-ywraq-form table.cart tr > td.product-thumbnail {
        display: none !important;
    }
    .mb-pa-row {
        padding-left: 20px;
    }
}

#yith-ywraq-form .product-price del {
    display: none;
}

.woocommerce ul.products li.product a.add-request-quote-button.button,
.wp-block-post.product a.add-request-quote-button.button,
a.add-request-quote-button.button {
    padding: 10px !important;
    word-break: unset !important;
    margin-top: 0 !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}
.woocommerce ul.products li.product a.add-request-quote-button.button:hover,
.wp-block-post.product a.add-request-quote-button.button:hover,
a.add-request-quote-button.button:hover {
    background: #000 !important;
    border-color: #000 !important;
}

.site-footer {
    display: none !important;
}

.elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}

/**
 * Checkout Styling
 */
.woocommerce div.product form.cart .button.single_add_to_cart_button {
    width: auto;
}
.button.single_add_to_cart_button.mb-reserve {
    margin-left: 1em;
}
.woocommerce .payment_methods .payment_method_cheque:before {
    content: none !important;
}
.woocommerce #payment ul.payment_methods .payment_method_cheque {
    background: var(--e-global-color-17aef4c7);
}
.woocommerce #payment ul.payment_methods .payment_method_cheque label {
    color: var(--e-global-color-6cc066a2) !important;
}
.woocommerce #payment ul.payment_methods .payment_method_cheque label span {
    font-weight: 700;
}

/**
 * Lagernd in... styling
 */
.price.mb-stock {
    display: block;
    background: var(--e-global-color-6cc066a2);
    color: var(--e-global-color-6cc066a2);
    padding: 2px 8px;
    text-align: center;
    border-radius: 7px;
    border: 1px solid var(--e-global-color-17aef4c7);

    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;

    position: absolute;
    top: 0;
    left: -0.5em;
}
.ast-stock-detail .in-stock {
    background: var(--ast-global-color-0);
    color: var(--e-global-color-6cc066a2) !important;
    font-weight: 700;
    padding: 4px 10px 5px;
    margin-left: 5px;
    text-align: center;
    border-radius: 25px;

    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/**
 * Pickup info
 */
.mb-pickup-info {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: var(--e-global-color-6cc066a2);
    background: var(--ast-global-color-0);
    padding: 0 10px;
    border-radius: 16px;
    text-indent: 0;

    display: block;
    width: fit-content;

    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;

    margin: 10px 0 0 0;
}
/* cart page */
.woocommerce-shipping-methods .mb-pickup-info {
    margin-top: 0;
}
/* checkout page */
.woocommerce-checkout .woocommerce-shipping-totals .woocommerce-shipping-methods li {
    padding-left: 0 !important;
}

/* Better cart styling on mobile (WAF-Bug) */
@media(max-width: 768px) {
    .cart .added_to_cart,
    .cart button,
    .cart .quantity {
        float: none !important;
        width: 100% !important;
        margin-left: 0 !important;
    }
}

    /**
     * Request a Quote Button on Product Loop
     */
.products .add-request-quote-button {
    margin: 0 !important;
    /*padding: 5px 10px !important;
    font-size: 0.8em !important;*/
    width: 100% !important;
}
.products .yith_ywraq_add_item_response_message {
    display: none !important;
}
.products .yith_ywraq_add_item_browse_message {
    font-size: 0.8em;
    line-height: 1.4em;
    margin-top: 10px;
}
.woocommerce .add-request-quote-button.button:hover, .woocommerce .add-request-quote-button-addons.button:hover {
    /*background: var(--e-global-color-4b943b5d) !important;
    border-color: var(--e-global-color-4b943b5d) !important;*/
}

/**
 * Style the "Zum Warenkorb"
 */
body.woocommerce-js a.added_to_cart {
    padding: 10px 20px !important;
    border: 2px solid var(--ast-global-color-0);
    background: var(--ast-global-color-5);
    transition: all 0.4s ease;
    color: var(--ast-global-color-0);

    margin-bottom: 1em;

    font-family: 'Poppins';
    font-size: 100%;
    line-height: 1;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;

    text-align: center;

    float: left;
}
body.woocommerce-js a.added_to_cart:hover {
    background: var(--ast-global-color-0);
    color: var(--ast-global-color-5);
}
.added_to_cart + button[name=add-to-cart],
button[name=add-to-cart]:has(~ .added_to_cart) {
    display: none;
}
button.mb-reserve + a.added_to_cart {
    margin-left: 1em;
}

.product-name .variation {
    font-size: 80%;
}
.product-name .variation dd p {
    font-weight: 700 !important;
}

/**
 * WooCommerce Cart: hide shipping selector - done by CheckoutWC
 */
.woocommerce-cart .woocommerce-shipping-methods input {
    display: none !important;
}
.woocommerce-cart .woocommerce-shipping-methods li {
    text-indent: 0 !important;
    padding-left: 0 !important;
}

/**
 * Custom step list
 */
.mb-steps ol,
ol.mb-steps {
    counter-reset: mbsteps;
    list-style: none;
    margin-left: 0;
}
.mb-steps ol > li,
ol.mb-steps > li {
    counter-increment: mbsteps;
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    position: relative;
}
.mb-steps ol > li:before,
ol.mb-steps > li:before {
    content: counter(mbsteps);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    font-weight: 700;
    background: var(--ast-global-color-0);
    color: var(--ast-global-color-5);
    z-index: 10;
}
.mb-steps ol > li:not(:last-child):after,
ol.mb-steps > li:not(:last-child):after {
    content: '';
    background: var(--ast-global-color-0);
    display: block;
    width: 4px;
    height: 100%;
    position: absolute;
    left: 13px;
    top: 30px;
    z-index: 0;
}

/** CART page */
.woocommerce-cart .site-content {
    background-color: inherit !important;
}
.woocommerce-cart .ast-container {
    margin: 30px 0;
    background-color: var(--ast-global-color-5);
}
.woocommerce-cart .ast-container > #primary {
    margin: 40px 0;
}

/** Woo Pagination */
.woocommerce-pagination .page-numbers.current {
    color: var(--ast-global-color-5) !important;
}
.woocommerce-pagination ul li {
    margin: 0 3px 3px 0 !important;
}

/** Buttons
 *   - Astra defined first
 *   - does not cover everything
 *   - also see @ checkoutwc-styles
 */
body .cfw-modal #info_payment button,
body .cfw-modal .cfw-primary-btn,
body .checkoutwc #info_payment button,
body .checkoutwc .cfw-primary-btn,
body .woocommerce .checkout-button,
body .elementor .elementor-button {
    border-radius: 5px !important;
    background-color: var(--ast-global-color-0) !important;
    border: 2px solid var(--ast-global-color-0) !important;
    padding: 11px 40px !important;

    font-family: 'Lato', sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    line-height: 1em !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
}
/* secondary */
body #cfw-side-cart .cfw-secondary-btn,
body .added_to_cart,
body .elementor .elementor-widget-button.secondary .elementor-button,
body .cart button {
    border-radius: 5px !important;
    background-color: var(--ast-global-color-5) !important;
    border: 2px solid var(--ast-global-color-2) !important;
    color: var(--ast-global-color-2) !important;

    padding: 11px 40px !important;

    font-family: 'Lato', sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    line-height: 1em !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
}
body .cart button {
    padding: 11px 15px !important;  /* so both fit in one row */
}
.cfw-modal #info_payment button:hover,
.cfw-modal .cfw-primary-btn:hover,
.checkoutwc #info_payment button:hover,
.checkoutwc .cfw-primary-btn:hover,
body .cart button:hover,
body .woocommerce .checkout-button:hover,
body .added_to_cart:hover,
body #cfw-side-cart .cfw-secondary-btn:hover,
body .elementor-button:hover {
    color: var(--ast-global-color-5) !important;
    background-color: var(--ast-global-color-2) !important;
    border-color: var(--ast-global-color-2) !important;
}
body .elementor .elementor-button .elementor-button-icon {
    display: none !important;
}

/** Mobile menu */
@media(max-width: 1024px) {
    .elementor-location-header .e-n-menu-wrapper {
        border: none !important;
        border-top: 2px solid var(--ast-global-color-0) !important;
        border-bottom: 2px solid var(--ast-global-color-0) !important;
    }

    .elementor-location-header .e-n-menu-heading {
        background: var(--e-global-color-astglobalcolor4);
    }

    .elementor-location-header .e-n-menu .e-n-menu-content .elementor-widget-heading .elementor-heading-title {
        font-size: 16px;
        font-weight: 500;
        color: #000;
        text-align: left;
    }
    .elementor-location-header .e-n-menu .e-n-menu-content .e-con > .e-con-inner {
        gap: 10px;
    }
    .elementor-location-header .e-n-menu .e-n-menu-content .elementor-icon-list-icon > i {
        font-size: 18px;
    }
}

/* fix on product page */
label[for="length_needed"]::first-letter {
    text-transform: uppercase;
}