/*
Theme Name: Prozarium
Theme URI:
Author: Andrey Sushko
Description: Prozarium Theme
Version: 1.0
*/

html {
    margin-top: 0!important;
}

.header-wrapper.wpadmin-header {
    top: 32px;
}

#wpadminbar {
    z-index: 10000000!important;
    position: fixed!important;
}

.thank-text,
.wpcf7-response-output {
    display: none!important;
}

.wpcf7-form-control-wrap {
    position: static!important;
}

.product-cart-bts-block .added_to_cart {
    display: none!important;
}

.button .blockOverlay,
.loading-block > .blockOverlay,
.load-block > .blockOverlay,
.load-block > .woocommerce > .blockOverlay {
	background: var( --site-bg-color );
    z-index: 1000;
    border: none;
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    opacity: 0;
    cursor: default;
    transition: opacity 0.3s;
    position: absolute!important;
    cursor: wait;
    pointer-events: none;
}

.blockUI.blockOverlay {
	background: var( --site-bg-color )!important;
}

.button .blockOverlay {
    background: transparent;
}

.button.load .blockOverlay,
.loading-block.load > .blockOverlay,
.load-block.load > .blockOverlay,
.load-block.load > .woocommerce > .blockOverlay,
.load-block.processing > .blockOverlay {
    opacity: 0.6;
    pointer-events: auto;
}

.single_add_to_cart_button .blockUI.blockOverlay::before {
    width: 20px!important;
    height: 20px!important;
    top: calc( 50% - 10px )!important;
    left: 5px!important;
    margin-left: 0!important;
    margin-top: 0!important;
    position: absolute!important;
}

.button.load .blockOverlay::before {
    right: 22px!important;
    left: auto!important;
    position: absolute!important;
}

.single_add_to_cart_button i {
    transition: opacity 0.3s;
}

.single_add_to_cart_button.load i {
	opacity: 0;
}

.single_add_to_cart_button::after {
    content: ""!important;
    margin: 0!important;
}

.blockUI.blockOverlay::before {
    position: fixed!important;
}

/* woo notice Start */
.woocommerce-notices-wrapper *,
.woo-notice-wrapper * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    font-family: var( --font-2 );
}

.woocommerce-notices-wrapper i,
.woo-notice-wrapper i {
    font-family: var( --fa );
}

.woo-notice-wrapper .cart-product-item {
    border-radius: 0!important;
}

.woo-notice-wrapper,
.woocommerce-notices-wrapper,
.pop-wrapper .woocommerce-message,
.pop-wrapper .woocommerce-error {
    position: fixed; /* !important */
    top: 0!important;
    right: 0!important;
    max-width: 420px!important;
    width: 100%!important;
    z-index: 100000000!important;
    
    max-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.pop-wrapper ul.woocommerce-error,
.pop-wrapper .woocommerce-message {
    position: relative;
}

.woocommerce-notices-wrapper,
.woocommerce-checkout .woo-notice-wrapper {
    top: 80px!important;
    max-height: calc( 100vh - 80px );
}

.is-wpadmin-header .woocommerce-notices-wrapper,
.is-wpadmin-header .woocommerce-checkout .woo-notice-wrapper {
    top: 120px!important;
    max-height: calc( 100vh - 120px );
}

.woocommerce-notices-wrapper .woo-notice-wrapper {
    position: relative;
}

.woocommerce-message,
.woocommerce-error {
    box-shadow: 0px 0px 10px 1px rgba( 1, 1, 1, 0.2 );
    border-radius: 5px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.woocommerce > .woocommerce-message {
	position: fixed!important;
	top: 10px!important;
    right: 10px!important;
	width: 100%!important;
	max-width: 400px!important;
	z-index: 100000000!important;
}

.woo-notice-wrapper::-webkit-scrollbar,
.woocommerce-notices-wrapper::-webkit-scrollbar {
    width: 0;
}

.woo-notice-wrapper {
    padding: 10px 10px 0 10px;
    box-sizing: border-box;
    margin: 0!important;
}

.woocommerce-notices-wrapper > div {
    margin: 10px 10px 0 10px;
    box-sizing: border-box;
}

.woo-notice-wrapper > *,
.woocommerce-notices-wrapper > * {
    transition: opacity 0.4s, left 0.4s;
    animation: show-notice 0.4s 1; /* Указываем название анимации, её время и количество повторов*/
    animation-fill-mode: forwards; /* Чтобы элемент оставался в конечном состоянии анимации */
    /* animation-delay: 1s;  Задержка перед началом */
}

@keyframes show-notice {
    0%{
        opacity: 0;
        left: 50px;
    }
    100% {
        opacity: 1;
        left: 0px;
    }
}

.woocommerce-notices-wrapper .hide-notice,
.woo-notice-wrapper .hide-notice {
    animation: hide-notice-anim 0.4s 1; /* Указываем название анимации, её время и количество повторов*/
    animation-fill-mode: forwards;
}

@keyframes hide-notice-anim {
    0%{
        opacity: 1;
        left: 0px;
    }
    100% {
        left: 150%;
    }
}

.hide-notice-parent,
.woo-notice-wrapper.hide-notice-parent,
.woocommerce-notices-wrapper .woo-notice-wrapper.hide-notice-parent,
.woocommerce-notices-wrapper.hide-notice-parent {
    pointer-events: none!important;
    animation: hide-notice-parent-anim 0.8s 1; /* Указываем название анимации, её время и количество повторов*/
    animation-fill-mode: forwards;
}

@keyframes hide-notice-parent-anim {
    0%{
        pointer-events: auto;
    }
    100% {
        position: absolute;
        pointer-events: none;
    }
}

.woocommerce > .cart-empty.woocommerce-info,
#MiniCartPop .cart-empty.woocommerce-info {
    background: transparent!important;
    color: var( --site-text-color )!important;
    border-top: none!important;
    font-weight: bold!important;
}

.woocommerce > .cart-empty.woocommerce-info::before,
#MiniCartPop .cart-empty.woocommerce-info::before {
    color: var( --site-active-color )!important;
}

.woocommerce-notices-wrapper .woocommerce-error li:last-of-type,
.woo-notice-wrapper .woocommerce-error li:last-of-type {
    margin-bottom: 0;
}

.woocommerce-error {
    border-top-color: var( --error-color )!important;
}

.woocommerce-error::before {
    color: var( --error-color )!important;
}

.woocommerce-message {
    border-top-color: var( --success-color )!important;
}

.woocommerce-message::before {
    color: var( --success-color )!important;
}

.woocommerce-info {
    border-top-color: var( --notice-color )!important;
}

.woocommerce-info::before {
    color: var( --notice-color )!important;
}

.woocommerce-info a:hover {
    color: var( --site-hover-color )!important;
}

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error {
    margin-bottom: 15px!important;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message,
.mdwcpt-bg .mdwcpt-msg {
    padding: 1em 2em 1.3em 3.5em!important;
    border-top-width: 6px!important;
    transition: opacity 0.5s;
    opacity: 1!important;
    line-height: 1.2!important;
    font-size: 14px!important;
    box-sizing: border-box!important;
}

.woocommerce-error.active,
.woocommerce-info.active,
.woocommerce-message.active {
    opacity: 1!important;
}

.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
    top: 8px!important;
    left: 15px!important;
    font-size: 22px!important;
}

.woocommerce-message a {
    color: var( --site-hover-color )!important;
}

.message-bt-block {
    overflow: hidden;
    position: relative;
    padding-top: 0;
}

    .message-bt-block a {
        font-size: 12px;
    }

    .message-bt-block .open-cart-bt {
        margin-bottom: 0;
    }

    .message-bt-block .button {
        min-height: 30px !important;
        padding: 10px 15px !important;
        font-size: 10px !important;
        float: none!important;
        margin-bottom: 0!important;
        margin-top: 8px;
    }

.message-product-item {
    --img-w: 78px;
    border-bottom: none!important;
    padding: 8px 0 0 0!important;
}

.cart-product-item.message-product-item {
    margin-bottom: 0;
}

    .message-product-item .item-right {
        padding-bottom: 0!important;
        padding-left: 10px!important;
    }

    .message-product-item .item-right.table-block {
        min-height: 78px;
    }

        .message-product-item .cart-product-item-title-block {
            margin-bottom: 0!important;
            padding-right: 0!important;
        }

            .message-product-item .cart-product-item-title {
                display: inline-block;
                color: var(--site-text-color)!important;
                font-size: 12px!important;
                margin-bottom: 0!important;
            }

.close-notice {
    position: absolute;
    right: 8px;
    top: 6px;
    color: var(--site-hover-color);
    transition: transform 0.3s, color 0.3s;
    cursor: pointer;
    font-size: 20px;
}

.hystmodal__window .woo-notice-wrapper {
    max-width: none!important;
    padding: 0!important;
    position: static!important;
    overflow: visible!important;
}
/* woo notice End */



@media all and (max-width: 782px) { 
    .header-wrapper.wpadmin-header {
        top: 46px;
    }
}

@media all and (max-width: 370px) { 
    .message-product-item {
        --img-w: -9px;
    }

    .message-product-item .item-right.table-block {
        min-height: auto;
    }
}