*
Theme Name: Bono Child
Theme URI: https://wpshop.ru/themes/bono
Author: WPShop.ru
Author URI: http://wpshop.ru/
Template: bono
Version: 1.0.0
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */



/* Form authentication */

.bono-child-auth-form .site-logotype-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.bono-child-auth-form .site-logotype {
    margin-right: unset;
}

.bono-child-auth-form .woocommerce-form-row input {
    width: 100%;
}

.account-content .woocommerce {
    position: relative;
}

.bono-child-auth-form.quick-view-loading:before,
.account-content .woocommerce.quick-view-loading:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, .5);
    z-index: 5
}

.bono-child-auth-form .loader,
.account-content .woocommerce .loader {
    position: absolute;
    top: calc(50% - 16px);
    left: calc(50% - 16px);
    width: 32px;
    height: 32px;
    z-index: 10
}

.overflow-hidden {
    overflow: hidden;
}

.bono-child-auth-wrap {
    display: none;
    justify-content: center;
    position: fixed;
    width: 100%;
    z-index: 100009;
}

.bono-child-auth-bg {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    opacity: .7;
    z-index: 1000010;
}

.bono-child-auth-form {
    position: relative;
    overflow: hidden;
    margin-top: 30px;
    padding: 30px;
    background-color: #fff;
    z-index: 1000011;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .3);
}

.bono-child-auth-form .woocommerce-error {
    background: unset;
}

.bono-child-auth-form .bono-child-auth-close {
    position: absolute;
    top: 10px;
    right: 10px
}

.bono-child-auth-form .bono-child-auth-close:before {
    content: "╳";
    opacity: .5;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

.bono-child-auth-form .bono-child-auth-close:hover:before {
    opacity: 1
}

.bono-child-auth-wrap .bono-child-auth-form .woocommerce-form-row {
    display: flex;
    flex-direction: column;
}

.shop-item__image-inner {
    position: unset;
}

.shop-item__image img {
    max-height: 250px;
}

.woocommerce-product-gallery__wrapper {
    display: flex;
    justify-content: center;
}

.woocommerce-product-gallery__wrapper img {
    max-height: 500px;
    width: auto;
}



@media (min-width: 992px) {
    
    #header_menu {
        justify-content: flex-end;
    }

    .main-navigation ul {
        margin-left: unset;
    }

    .main-navigation ul li.menu-item-has-children>a:before {
        display: inline;
        position: absolute;
        left: 10px;
        opacity: .7;
        font-family: wpshop-core !important;
        speak: none;
        font-style: normal;
        font-weight: 400;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .main-navigation ul li .sub-menu {
        margin-right: -10px;
    }

    .main-navigation ul li .sub-menu li.menu-item-has-children>a:before {
        content: "↤";
    }
    
    .main-navigation ul li .sub-menu li.menu-item-has-children>a:after {
        content: "";
    }

    .main-navigation ul li .sub-menu .sub-menu {
        left: unset;
        right: 100%;
    }
}

.social-links .social-buttons {
    display: flex;
}



@media (max-width:575px) {
    .superblockslider__slide img {
        width: auto;
        height: 100%;
    }

    .superblockslider__slide_inner {
        width: calc(100% - 20px * 2 - 10px * 2);
        left: calc(20px + 10px);
    }

    .superblockslider__slide_inner mark {
        word-wrap: normal;
        word-break: normal;
    }
}



@media (min-width: 768px) {
    .wpcf7-form {
        width: 60%;
    }
    
    .wpcf7-form p>label {
        display: block;
    }

    .wpcf7-form span>input:not([type="hidden"], [type="submit"]),
    .wpcf7-form select,
    .wpcf7-form textarea {
        width: 100%;
    }  
}



.woocommerce .product.wcml-dropdown {
    margin: unset;
}

.product.wcml-dropdown {
    width: unset;
    max-width: unset;
    position: unset;
    display: flex;
    justify-content: center;
}

.product.wcml-dropdown>ul:before {
    display: none;
}

.product.wcml-dropdown,
.product.wcml-dropdown li,
.product.wcml-dropdown li li {
    border: unset;
    position: relative;
}

.product.wcml-dropdown .wcml-cs-submenu {
    top: unset;
    right: unset;
    border-top: unset;
}

.product.wcml-dropdown .wcml-cs-active-currency:hover>a,
.product.wcml-dropdown .wcml-cs-active-currency:focus>a,
.product.wcml-dropdown li:hover>a,
.product.wcml-dropdown li:focus>a {
    background-color: unset;
}

.product.wcml-dropdown .wcml-cs-active-currency a:hover {
    color: #f43c33;
}

.product.wcml-dropdown li:hover,
.product.wcml-dropdown li:focus {
    background-color: unset;
}