@import "category-menu.css";

/*#main ul {*/
/*    margin-left: 48px;*/
/*}*/

/* Order review styles start here */

#order_review .shop_table .product-name {
    display: block !important;
}

#order_review .shop_table .product-name img {
    padding-bottom: 1rem;
}
/* Order review styles end here */

/* Product configurator styles start here */

button.layer-item {
    width: 100% !important;
}

/* Product configurator styles ends here */

/* P5/4 styles start here */

@media (max-width: 544px) {
    .ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle {
        top: 25px !important;
    }
    .ast-header-break-point .ast-icon.icon-arrow svg {
        fill: white;
    }
}

/* P5/4 styles end here */

/* Styles for extra text under thank you message after order is received start */
.extra-text-wrapper {
    text-align: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.shop_table.woocommerce-checkout-review-order-table .cart_item .product-name .custom-name-quantity-wrapper {
    display: flex;
}

.shop_table.woocommerce-checkout-review-order-table .cart_item .product-name .custom-name-quantity-wrapper .custom-product-name {
    padding-left: 10px;
    font-size: 14px;
}

.order-received-extra-message {
    display: flex;
    justify-content: center;
}

/* Order of order review fields start */

#order_review {
    display: grid;
    grid-template-columns: 1fr;
    border: none;
    margin-top: -13px;
}

.shop_table.woocommerce-checkout-review-order-table {
    grid-row: 1;
}

.dhl-preferred-service-content {
    grid-row: 2;
    margin-top: 2em !important;
}

.woocommerce-page.woocommerce-checkout form #order_review {
    border-top: none !important;
    padding-top: 7px !important;
}

.wc-gzd-order-submit {
    top: 50px !important;
}

/* Order of order review fields end */

/* Styles for extra text under thank you message after order is received end */

/* Borlabs cookie styles start */

.brlbs-mt-4.brlbs-space-y-3 div button {
    width: 100% !important;
}

/* Borlabs cookie styles end */

/* Custom discount display styles */
.custom-gateway-label {
    color: red;
    position: relative;
    left: 3%;
}

/* Gtranslate styles */

.menu-item-gtranslate .menu-item.menu-item-gtranslate-child {
    padding: 5px;
}

.gt_switcher-popup span {
    color: black;
    font-size: 1rem;
}

@media (min-width: 922px) {
    .gtranslate_wrapper {
        display: none;
    }
}

.gt_switcher_wrapper {
    background-color: white;
    padding: 10px;
}

.gt_switcher_wrapper .gt_switcher-popup span {
    color: black;
    font-weight: 600;
    font-size: 1rem;
}

/* WP Forms styles */

.wpforms-field-gdpr-checkbox .wpforms-field-required {
    margin-left: 0 !important;
}

/* Custom add to cart loader start */

/* Add to Cart Button Animation */
.pulse-animation {
    animation: pulse 1s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
    }
    100% {
        transform: scale(1);
    }
}

/* Cart Header Animation */
.highlight-cart {
    animation: cart-bounce 1s ease-in-out;
}

@keyframes cart-bounce {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
    }
    100% {
        transform: scale(1);
    }
}

/* Custom add to cart loader end */


/* Customizing the Checkout blocks in Kasse page start */

ul.wc-block-components-express-payment__event-buttons {
    margin-left: 0 !important;
}

.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button {
    width: 100% !important;
}

/* Customizing the Checkout blocks in Kasse end */

/* Checkout Terms and conditions checkbox error message */
.checkbox-error-message {
    text-align: center;
    color: #cc1818;
    border: 2px #cc1818 solid;
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-top: 1rem;
}

/* Foreign Customers Aliexpress popup styles start */

#geo-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


#geo-popup {
    position: relative;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 800px;
    min-width: 300px;
}

.geo-popup-data {
    width: 66%;
    padding: 25px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

h4.geo-popup-data-text {
    font-weight: 800;
    font-size: 32px;
    width: 85%;
    font-family: 'Inter',sans-serif;
    padding-bottom: 10px;
}

.geo-popup-image {
    display: block;
    width: 35%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.geo-popup-image img {
    max-width: 100%;
    height: 100%;
    width: 100%;
    object-fit: cover;
    overflow: hidden;
}

#geo-popup-close {
    font-size: 40px !important;
    font-weight: 200;
    position: absolute;
    top: 10px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    font-family: unset;
}

span.geo-popup-data-text {
    width: 100%;
}

p.geo-popup-data-text {
    font-weight: 900;
    font-size: 32px;
}

@media (max-width: 768px) {

    #geo-popup {
        position: relative;
        background: #fff;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        width: 90%;
        max-width: 900px;
        min-width: 300px;
        height: 580px;
    }

    .geo-popup-image {
        display: block;
        width: 100%;
        height: 35%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .geo-popup-data {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 65%;
        width: 100%;
    }

    h4.geo-popup-data-text {
        text-align: center;
        font-size: 28px;
        width: 100%;
    }

    span.geo-popup-data-text, p.geo-popup-data-text {
        text-align: center;
    }

    .geo-popup-data a {
        width: 60%;
        height: 15%;
    }

    #open-popup {
        width: 100% !important;
        height: 100%;
        font-size: 1.125rem !important;
    }
}


/* Foreign Customers Aliexpress popup styles end */

/* Style PayPal button container start */

.paypal-button-wrapper {
    background-color :rgb(255, 196, 57);
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.paypal-button-container iframe {
    max-width: 100% !important;
    width: 100% !important;
    min-height: 45px;
}

.paypal-logo-clean a {
    display:block;
    width: 100% !important;
    height: 100%;
    min-height: 100%;
}

.paypal-logo-clean .paypal-logo {
    display: inline !important;
    vertical-align: middle !important;
    max-width: 100px !important;
    height: auto !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;

}

@media (max-width: 768px) {
    div.woocommerce.columns-4 ul.products {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
        max-width: 90%;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    div.woocommerce.columns-4 ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 1024px) and (max-width: 1440px) {
    div.woocommerce.columns-4 ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 1440px) {
    div.woocommerce.columns-4 ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

.woocommerce ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 3px 16px rgba(25,40,67,.08);
    position: relative;
    overflow: visible;
/*     min-height: 420px; */
    transition: box-shadow .18s;
    padding-bottom: 1rem !important;
    container-type: inline-size;
    container-name: main-listing-display;
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 8px 32px 0 rgba(23,36,55,.14);
}


.woocommerce ul.products li.product img {
    border-radius: 11px 11px 0 0;
    border: none;
    width: 100%;
    height: 370px;
    object-fit: cover;
    display: block;
    margin-bottom: 0;
    background: #fafbfc;
    transition: filter .2s;
}

.woocommerce ul.products li.product .astra-shop-summary-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
/*     height: 100%; */
    padding-top: 0;

}

.woocommerce ul.products li.product .button.add_to_cart_button {
    margin-top: auto;
    display: block;
}

.woocommerce ul.products li.product .button.product_type_variable.add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 1rem;
    text-align: center;
    margin-bottom: 0;
    margin-top: 0.5rem;
}

.woocommerce ul.products li.product .button.product_type_variable.add_to_cart_button::before {
    content: "";
    display: inline-block;
    margin-right: 10px;
    width: 20px;
    height: 20px;
    background: url('../images/svg/select-options.svg') no-repeat center;
    background-size: contain;
    flex-shrink: 0;
}

.woocommerce ul.products li.product .button.product_type_simple.add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 1rem;
    text-align: center;
    margin-bottom: 0;
    margin-top: 0.5rem;
}

.woocommerce ul.products li.product .button.product_type_simple.add_to_cart_button::before {
    content: "";
    display: inline-block;
    margin-right: 10px;
    width: 20px;
    height: 20px;
    background: url('../images/svg/select-options.svg') no-repeat center;
    background-size: contain;
    flex-shrink: 0;
}

.woocommerce ul.products li.product .paypal-button-wrapper {
    margin-top: 0.5rem;
    display: block;
    height: 50px !important;
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link.woocommerce-loop-product__link::after {
    content: "Mehr info";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
            0deg,
            rgba(36, 36, 44, 0.50) 55%,
            rgba(0, 0, 0, 0.20) 100%
    );

    opacity: 0;
    transition: opacity .18s ease-in-out;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    pointer-events: none;
    border-radius: 11px 11px 0 0;
    z-index: 2;
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link.woocommerce-loop-product__link:hover::after {
    opacity: 1;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    text-align: center;
}
.woocommerce ul.products li.product .price {
     text-align: center;
 }

.woocommerce ul.products li.product .price > del .woocommerce-Price-amount.amount {
    color: red;
}

.woocommerce ul.products li.product .ast-on-card-button {
     display: none;
 }
ul.products li.product .cart {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0;
}

ul.products li.product .cart .quantity input {
    width: 100%;
    box-sizing: border-box;
    border: none !important;
    background-color: #E8E8E8;
}

ul.products li.product .cart .quantity.buttons_added {
    display: inline-flex!important;
    height: 50px;
    margin: 0.45rem 0 0 0 !important;
    flex: 0 0 25%;
    max-width: 25%;

}

@media (max-width: 768px) {
    ul.products li.product .cart {
        flex-direction: column;
    }

    ul.products li.product .cart .quantity.buttons_added {
        max-width: 100%;
    }
}

@container main-listing-display (max-width: 268px) {
    ul.products li.product .cart {
        flex-direction: column;
    }

    ul.products li.product .cart .quantity.buttons_added {
        max-width: 100%;
    }
}

ul.products li.product .cart .quantity.buttons_added .plus,
ul.products li.product .cart .quantity.buttons_added .minus {
    border: none;
}

ul.products li.product .cart .button {
    width: 100%;
    height: 50px;
    margin-bottom: 0;
    line-height: 0.9;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

ul.products li.product .cart .button svg {
    width: 20px;
    height: 20px;
}

.loop-product-categories {
    padding: 1rem 1rem 0 1rem;
    line-height: 1rem;
}

.loop-product-categories,
.loop-product-categories a
{
    text-align: center;
    color: grey;
    font-size: 0.7rem;
}

ul.products li.product .loop-product-rating .review-rating .star-rating {
    margin: 0.5rem auto 0 auto;
}

ul.products li.product .woocommerce-loop-product__title {
    align-self: center;
}

.ast-article-single.desktop-align-left .astra-shop-thumbnail-wrap {
    position: relative;
}

.ast-article-single.sale .astra-shop-thumbnail-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 129px;
    height: 42px;
    background: url('../images/svg/bitro-offer.svg') no-repeat center center;
    background-size: contain;
    pointer-events: none;
    z-index: 10;
}

.ast-article-single.outofstock .astra-shop-thumbnail-wrap::before {
    content: '';
    position: absolute;
    top: -1px;
    right: 0;
    width: 154px;
    height: 42px;
    background: url('../images/svg/bitro-out-of-stock.svg') no-repeat center center;
    background-size: contain;
    pointer-events: none;
    z-index: 10;
}

.ast-article-single.outofstock .astra-shop-thumbnail-wrap .button {
    text-align: center;
}

.ast-article-single.outofstock .button,
.woocommerce ul.products li.product.outofstock .paypal-button-wrapper {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    opacity: 0.5;
    cursor: pointer;
    text-align: center;
    margin-bottom: 0 !important;
}

.woocommerce-loop-category__title {
    width: 100%;
    left: 0 !important;
    right: 0 !important;
}

ul.products li.product .woocommerce-LoopProduct-link.woocommerce-loop-product__link img {
    aspect-ratio: 4/3;
}

.woocommerce-js ul.products li.product-category.product {
    padding-bottom: 0 !important;
}

.woocommerce-js ul.products li.product-category.product a img{
    border-radius: 18px;
}

.content-area.primary {
    container-type: inline-size;
    container-name: archive-display;
}

/* display fixes for the products */
.woocommerce.columns-5 {
    margin: 40px 40px 0 40px;
}

.elementor-9492 .elementor-element.elementor-element-4c93c49 {
    display: block !important;
    margin-bottom: 40px;
}

/*.elementor-9492 .elementor-element.elementor-element-b2a1c8a {*/
/*    display: block !important;*/
/*}*/

@media (max-width: 388px) {
    .ast-builder-language-switcher a.ast-builder-language-switcher-item.ast-builder-language-switcher-item__active {
        display: none !important;
    }

    .ast-builder-layout-element.site-header-focus-item.ast-header-language-switcher-element.ast-header-language-switcher.ast-hb-language-switcher-layout-horizontal {
        padding: 0 !important;
    }

    .ast-builder-language-switcher-menu-item-header {
        margin: 0 !important;
    }

    .ast-builder-layout-element.site-header-focus-item.ast-header-woo-cart,
    .ast-builder-layout-element.ast-flex.site-header-focus-item {
        padding: 0 !important;
    }
}


