/**
Theme Name: Padre
Author: Alexander Leonhartsberger-Schrott
Author URI: https://www.web-crossing.com
Description: Theme for the Padre Azul 2023 Website
Version: 1.4.9
Text Domain: padre
Template: astra
*/

/* scroll padding of 10% */
html {
    scroll-padding-top: 10%;
}

.sticky-image {
    position: sticky;
    top: 170px;
}

.megatron {
    transform: translate3d(0, 0, 0);
}

.z-index-10 {
    position: relative;
    z-index: 10 !important;
}

.footer-widget-area a {
    color: white !important;
}

.astra-cart-drawer {
    border-left: 1px solid white !important;
}

li.shoplink {
    background-image: url(assets/img/shop-bg.png);
    background-size: 50% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

@media screen and (min-width: 922px) {
    li.shoplink {
        background-size: 100% 100%;
        margin-left: 20px;
    }
}

.ast-icon.icon-cart {
    display: block;
    width: 0px;
    height: 0px;
}

.ast-icon.icon-cart svg {
    visibility: hidden;
    width: 0px;
    height: 0px;
    display: block;
}

.astra-icon.ast-icon-shopping-cart {
    display: block;
    height: 35px;
}

.astra-icon.ast-icon-shopping-cart::after {
    display: none;
}

.astra-icon.ast-icon-shopping-cart::before {
    display: block;
    color: black;
    text-align: center;
    font-size: 12px;
    line-height: 40px;
    background-image: url(assets/img/shopping-cart.svg);
    content: attr(data-cart-total);
    width: 20px;
    height: 30px;
    margin-top: -3px;
    background-repeat: no-repeat;
}

.ast-mobile-popup-header {
    margin-left: 15px;
    justify-content: flex-start !important;
}

.ast-mobile-popup-header #menu-toggle-close:focus {
    outline: none !important;
    border: none !important;
}

.ast-mobile-popup-header svg {
    width: 40px;
    height: 40px;
}

li.shoplink a:hover {
    color: white;
}

.woocommerce-product-details__short-description {
    font-size: 16px;
}

/* if blog post, use the fon IM Fell DW Pica */
body.single-post .entry-content {
    font-family: "IM Fell DW Pica", serif;
    font-size: 16px;
}

@media screen and (min-width: 768px) {
    body.single-post .entry-content {
        font-family: "IM Fell DW Pica", serif;
        font-size: 22px;
    }
}

/* register font from assets/fonts/folder */
@font-face {
    font-family: "IM Fell DW Pica";
    src: url("assets/fonts/IMFellDWPica-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

.ast-site-title-wrap .site-description {
    margin-top: 15px;
}

/* TODO: get this right */
.uagb-block-6cb5443d {
    background-size: 100% 100% !important;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    background-color: black;
}

.woocommerce-checkout .shop_table {
    padding: 0 !important;
    margin-top: 30px;
    background-color: black !important;
}

.woocommerce-js .select2-results__option,
.woocommerce-js .select2-search--dropdown .select2-search__field {
    padding: 6px 0.75em;
    border-radius: 0;
    color: black;
}

[data-section="sidebar-widgets-header-widget-1"] .search-icon-container,
p {
    margin-block-start: 4px !important;
    margin-bottom: 0 !important;
}

.search-icon-container {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.search-title {
    padding: 1rem 3rem 3rem 3rem;
}
.padre-modal {
    visibility: hidden;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(0px) opacity(0);
    /* safari background filter */
    -webkit-backdrop-filter: blur(0px) opacity(0);
    transition: backdrop-filter 0.5s;
}
.padre-modal-content {
    padding: 20px;
    width: 80%;
    max-width: 459px;
    filter: blur(0);
}
.padre-modal-content input {
    max-width: 66%;
    background-color: black;
}
.padre-modal-content button {
    margin-left: 5px;
    width: 33%;
}
.padre-modal-content form {
    display: flex;
}
.show-modal {
    visibility: visible;
}
.blur {
    backdrop-filter: blur(15px) opacity();
    /* safari background filter */
    -webkit-backdrop-filter: blur(15px) opacity(1);
}
.wc-gzd-total-mini-cart {
    padding: 0.3em 2em !important;
    border: 0 !important;
    font-size: 13px;
}

.woocommerce ul.products li.product.astra-woo-hover-zoom:hover img,
.woocommerce-page ul.products li.product.astra-woo-hover-zoom:hover img {
    transform: scale(1.05);
}

.astra-shop-summary-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.astra-shop-summary-wrap .price {
    flex-grow: 1;
}

.astra-shop-summary-wrap .button {
    margin-top: auto !important;
    padding-top: 10px;
    align-self: center;
    max-height: 40px;
    justify-content: flex-end;
    width: fit-content;
    font-size: 13px !important;
}
.astra-shop-summary-wrap > .price-unit,
.astra-shop-summary-wrap > .price {
    margin-bottom: 15px !important;
}

.ast-shop-product-out-of-stock {
    padding: 0.3em 1em 0.3em 1em !important;
    font-size: 13px;
    background-color: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid #7a7979;
    backdrop-filter: blur(5px);
    color: #fff;
    width: fit-content;
    margin: 0 auto;
}

@media screen and (min-width: 768px) {
    .astra-shop-summary-wrap .button {
        font-size: 16px !important;
    }
}

.age-gate__heading img {
    width: 200px;
}

.shop_table thead {
    background-color: black !important;
}

.cart-collaterals h2,
.cart_totals h2 {
    background-color: black !important;
}

#BorlabsCookieBoxWidget svg {
    max-width: 30px;
    max-height: 30px;
}

._brlbs-btn {
    border: 1px solid white !important;
}

.age-gate__submit {
    background-color: black !important;
    color: white !important;
    border-radius: 0 !important;
    border: 1px solid white !important;
    transition: all 0.3s ease-in-out;
}

.age-gate__submit:hover {
    background-color: white !important;
    color: black !important;
}

.age-gate__buttons {
    margin-top: 1rem;
}

.z-transform {
    /* transform 1 up on the z axis to fix iphone behavior*/
    transform: translate3d(0, 0, 1px);
}
.checkout.woocommerce-checkout {
    font-size: 14px !important;
}

fieldset:has(.woocommerce-SavedPaymentMethods-saveNew) {
    display: none !important;
}

.woocommerce-order-details .woocommerce-order-details__title,
.woocommerce-column--billing-address .woocommerce-column__title,
.woocommerce-column--shipping-address .woocommerce-column__title {
    background: black !important;
}

.add_to_cart_button,
.button.product_type_simple,
.single_add_to_cart_button {
    background-color: white !important;
    color: black !important;
    border-radius: 0.5rem !important;
    transition: all 0.3s ease-in-out;
    font-size: 12px !important;
    display: flex !important;
    align-items: center;
}

.add_to_cart_button:hover,
.button.product_type_simple:hover,
.single_add_to_cart_button:hover {
    background-color: black !important;
    color: white !important;
    border-radius: 0.5rem !important;
    transition: all 0.3s ease-in-out;
}

.add_to_cart_button::before,
.single_add_to_cart_button::before {
    content: "";
    background-image: url("assets/svg/cart_azul.svg");
    background-size: 1rem 1.2rem;
    flex-shrink: 0;
    display: block;
    position: relative;
    margin-right: 0.5rem;
    width: 1rem;
    height: 1.2rem;
    transition: all 0.3s ease-in-out;
}

.add_to_cart_button:hover:before,
.single_add_to_cart_button:hover:before {
    background-image: url("assets/svg/cart_azul_white.svg");
}

.woocommerce-product-details__short-description {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.quantity.buttons_added #minus_qty,
.quantity.buttons_added #plus_qty {
    height: 46px;
    font-size: 25px !important;
}

.quantity.buttons_added #minus_qty {
    border-radius: 0.5rem 0 0 0.5rem !important;
}
.quantity.buttons_added #plus_qty {
    border-radius: 0 0.5rem 0.5rem 0 !important;
}

.store-toggle {
    width: 25px;
    margin-left: 30px;
    cursor: pointer;
}
@media screen and (max-width: 768px) {
    .store-toggle {
        width: 100%;
        margin-left: 0;
    }
    .store-toggle img {
        width: 35px;
    }
}

.padre-flag-selection {
    display: flex;
    align-items: center;
    justify-content: center;
}
.padre-flag-selection img {
    width: 75px;
    margin-right: 10px;
}
.onsale {
    color: white !important;
    background-color: #bf1719;
    padding: 0 15px !important;
}
