/*!
Template: xtocky
Theme Name: Xtocky Child
Version: 2.77
Theme URI: http://themepiko.com/demo/stock/
Author: themepiko
Author URI: http://themepiko.com/
Description: Child theme for Xtocky

License:
Text Domain: xtocky
Domain Path: /languages/
*/


/* Add your own styles here */

/*@font-face {
 font-family: "Open Sans";
 src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
        url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
}*/
/*@font-face {
 font-family: "texgyreschola-regular";
 src: url("/fonts/texgyreschola-regular.otf") format("opentype"),
        url("/fonts/texgyreschola-regular.otf") format("opentype");
}

@font-face {
 font-family: "Besley-Book";
 src: url("/fonts/Besley-Book.otf") format("opentype"),
        url("/fonts/Besley-Book.otf") format("opentype");
}*/


@font-face {
  font-weight: 400;
  font-family: PlayfairDisplay-Regular;
  src: url("/fonts/PlayfairDisplay-Regular.ttf");
}

/**
 ** Root
 **/
:root {
    --main-color: #eb7400;
    --second-color: #382e2d;
}

/*
# Header
- Header top
- Header main
- Navigation
# Main
- Breadcrumb
- Slick slider
- Sidebar
- Home page
- Barista school 
# Woocommerce
# Footer
# Media screen
*/

/*------------------------------------
# Header
-------------------------------------*/
.header-layout-7 .header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 82%;
}

.not-just-wraper  .just-wraper {display: none;}

/**
** Header Top line
**/

.site-header .header-top {
    background-color: #f9f9f9;
}

.top-dropdowns {
    display: flex;
    align-items: center;
    /*justify-content: space-between;*/
    flex-direction: row-reverse;
}
/*GVP*/
@media screen and (max-width:575px){
.top-dropdowns {
   justify-content: space-between;
}
    } 



.top-dropdowns ul>li>a {
    font-size: 14px;
    color: var(--second-color);
}

.top-dropdowns ul>li>a:hover {
/*    font-weight: 600;*/
    color: #eb7400;
    text-decoration: underline;
}

.header-layout-7 .top-social li i {
    display: flex;
    background-color: var(--second-color);
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
    font-size: 14px !important;
    border-radius: 50%;
    transition: .3s;
}

.header-layout-7 .top-social li i:hover {
    background-color: var(--main-color);
}

.header-layout-7 .top-social li a {
    padding: 5px 10px;
}

.lng-button-header {
    float: right;
    margin: 5px 0 5px 20px;
    border: 1px solid #e6e6e6;
    padding: 0 5px;
    border-radius: 20px;
    overflow: hidden;
}

.lng-button-header select {
    border: none;
    background: none;
    font-size: 12px;
    padding: 0 5px;
    height: 30px;
    cursor: pointer;
}

/**
** Header main
**/

.header-layout-7 .header-main>.container {
    display: flex;
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
}

.header-layout-7 .header-main .dropdowns-container {
    width: 8%;
    display: flex;
    justify-content: flex-end;
}

.header-layout-7 .logo {
    width: 18%;
}

.header-contacts {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 5px;
    flex-direction: column;
    width: 33%;
}

.area-contacts-header {
    display: flex;
    width: 90%; /*GVP было 80%*/
}

.header-contacts h3 {
    position: relative;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--second-color);
}


.header-contacts div:first-child {
    font-size: 16px;
    font-weight: 700;
    color: var(--second-color);
    /*padding-left: 20px;*/
}

/*GVP*/
@media screen and (max-width:575px){
.header-contacts div:first-child {
    padding-left: 20px;
}
    } 


.header-contacts ul {
    display: flex;
    list-style: none;
    font-size: 13px;
    padding: 0;
    margin: 0;
}

.header-contacts ul>li {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 160px; /*GVP было 120 px*/
    margin-right: 5px;
}

.header-contacts h3:before {
    content: "";
    position: absolute;
    width: 2px;
    height: 85px;   /*GVP*/
    background-color: var(--main-color);
    top: 3px;
    left: -15px;    /*GVP*/
}

.header-contacts:first-child h3:before {
    display: none;
}

.header-bottom-mob {
    display: none;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 60px;
    padding: 0 15px;
    background-color: var(--second-color);
}

.header-contacts-mob {
    display: none;
}

.header-contacts-mob ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    color: #c1c1c1;
    font-size: 12px;
    flex-direction: column;
    min-width: 235px;
}

.header-contacts-mob ul ul {
    flex-direction: row;
}

.header-contacts-mob ul ul li {
    width: 50%;
    line-height: 1;
}
.header-contacts-mob ul a {
    color: white;
}
.btn-mob-menu {
    display: none;
    width: 39px;
    height: 39px;
    background-color: var(--second-color);
    border-radius: 3px;
}

.btn-mob-menu span {
    display: block;
    position: relative;
    width: 25px;
    height: 1px;
    top: 19px;
    margin: 0 auto;
    background-color: white;
}

.btn-mob-menu span:before,
.btn-mob-menu span:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: white;
}

.btn-mob-menu span:before {
    bottom: 7px;
}

.btn-mob-menu span:after {
    top: 7px;
}

/**
** Navigation
**/

.sticky-menu-header.menu4.hidden-sm.hidden-xs {
    padding-top: 0 !important;
    background-color: var(--second-color) !important;
    background-image: none !important;
    margin-top: 0;
}

.header-layout-4 .mega-menu:not(.menu-category-menu)>li>a {
    padding-left: 12px !important;
    padding-right: 12px !important;
    font-size: 15px;
}

.header-layout-4.category-menu .secondary-menu-wrapper .secondary-title {
    background-color: var(--main-color);
    text-transform: uppercase;
}

.header-layout-4.category-menu .secondary-menu-wrapper .secondary-title:hover {
    /* background-size: 1px 70px; */
    /* transition: all .3s; */
}

.header-dropdown.cart-dropdown>a .badge-number {
    background-color: var(--main-color);
}

.category-menu .secondary-menu-wrapper .secondary-menu .main-menu a {
    padding: 12px;
    border-radius: 0;
}

.category-menu .secondary-menu .mega-menu>li.menu-item>a,
.mega-menu .narrow .popup>.inner ul.sub-menu li a {
    font-size: 16px;
    color: #0c0c0c;
    font-weight: 500;
    transition: .3s;
}

.category-menu .secondary-menu .mega-menu>li.menu-item>a:hover,
.mega-menu .narrow .popup>.inner ul.sub-menu li a:hover {
    color: white;
    text-decoration: underline;
    background-color: #382e2d !important;
    /*font-size:16px;*/
    /*font-weight:500;*/
}

.category-menu .secondary-menu-wrapper .secondary-menu .main-menu li:last-child a {
    border: none;
}

.category-menu .menu-category-menu.main-menu.mega-menu>li.menu-item.narrow>.popup {
    margin-top: -48px;
}

.mega-menu>li>a {
    border-radius: 0;
}

/*
# Main
*/

/**
** Breadcrumb
**/

.breadcrumb {
    font-size: 12px;
}

.breadcrumb a {
    color: #767676;
}

.breadcrumb i {
    font-size: 10px;
}

/**
** Slick slider
**/
.wpsisac-slick-carousal .slick-arrow:before {
	display: none;
}

/**
** Sidebar
**/

.sidebar .widget:not(:first-child) {
    margin-top: 25px;
}

.widget_block .wp-block-group__inner-container>h2,
aside .widget-title {
    margin-bottom: 10px;
    padding-bottom: 10px;
    font-weight: 700;
    color: #423a39;
    line-height: 1.3;
    font-size: 16px;
}

.widget_block .wp-block-group__inner-container>h2::after,
aside .widget-title:after {
    width: 140px;
    background-color: #e7e7e7;
    bottom: 0px;
    height: 0;
}

.delivery {
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--main-color);
}

.delivery_header {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 2px solid var(--main-color);
    background-color: var(--main-color);
}

.delivery_header i {
    font-size: 18px;
    margin-right: 15px;
    color: white;
}

/*.delivery_header h2 {*/
.delivery_header p {            /*GVP SEO*/
    margin: 0;
    line-height: 1;
    font-size: 16px;
    color: white;
    font-weight: 700;
}

.delivery_inner {
    padding: 15px 9px;
    background-color: #f7f7f7;
}

.delivery_inner p {
    color: #606060;
    line-height: 1.4;
    margin: 0 0 8px 0;
    font-size: 12px;
}

.delivery_inner span {
    font-weight: 600;
}

/**
** Home page
**/
.home-product-cat-title {
    font-size: 15px;
    margin: 0 0 35px 0;
}

/**
** Barista school
**/
.button-white a {
    border: 1px solid white !important;
    margin: 15px 0;
    font-size: 18px !important;
    line-height: 1 !important;
}
.button-white a:hover {
    color: black !important;
    background-color: white !important;
}

/*
# Woocommerce
*/
.term-description {
    padding: 0;
}

/**Header cart**/
.dropdown.header-dropdown.btn-checkout {
    display: none;
}

/**Product image cat**/
.product-top figure img {
    height: 300px;
    object-fit: contain;
    padding: 10px;
    overflow: hidden;
    transition: .3s;
}

.product-top figure img:hover {
    transform: scale(1.1);
}

/**Widget shopping cart**/
.widget_shopping_cart_content p.total {
    float: none;
}

.widget_shopping_cart_content p.buttons {
    float: none;
    width: auto;
}

.woocommerce-products-header {
    margin-bottom: 35px;
}

.woocommerce-products-header__title.page-title {
    font-weight: 700;
    color: var(--second-color);
}

.product-column.product-category.product img {
/*    padding: 15px;*/
    object-fit: contain;
}

.yith-woocommerce-ajax-product-filter,
.widget_price_filter {
    position: relative;
    background-color: #f4f4f4;
    border: 1px solid #e7e7e7;
    padding: 20px 10px;
    border-radius: 5px;
}

.yith-wcan-pro.woocommerce .widget_price_filter .price_slider_amount button {
    float: left;
    margin-bottom: 15px;
    border-color: #e7e7e7;
    border-radius: 6px;
	min-width: 50%;
}

.filter-sidebar .yith-woocommerce-ajax-product-filter {
    margin: 25px 0;
}

.filter-sidebar .widget_price_filter {
    margin-top: 25px;
}

.widget ul li:not(.cat-img) .count {
    color: #5a5a5a;
    padding-left: 4px;
    background-color: white;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: 5px;
}

.woocommerce-loop-category__title {
    font-size: 14px;
}

.woocommerce-loop-category__title .count {
    background-color: #f4f4f4;
/*  padding: 3px 9px;*/
    padding: 0px 0px;  /*----GVP*/
    border-radius: 15px;
/*    margin-left: 7px;*/
    margin-left: 3px; /*----GVP*/
    font-size: 12px;
}

.filter-sidebar h2,
.filter-sidebar h3 {
    text-transform: none;
    font-weight: 700;
}

.product-details .product_title.entry-title {
    font-weight: 700;
    color: var(--second-color);
    letter-spacing: 0;
}

.entry-summary .shear-brand .price {
    margin: 15px 0 25px 0;
    color: var(--main-color);
    font-weight: 900;
}

.entry-summary .product_meta {
    color: #a7a7a7;
    font-size: 13px;
}

.product-meta .title-wrap .product-title {
    max-height: 115px;
    min-height: 65px;
}
/*GVP высота описания продукта для мобильных*/
@media screen and (max-width:414px){
 .product-meta .title-wrap .product-title {
    max-height: 110px;
    min-height: 110px;
}
}


.woocommerce-toolbar .woocommerce-result-count {font-size: 13px;}

.product-price-container .price {
    display: flex;
}
.product-price-container del {
    font-size: 14px;
}

/*
# Footer
*/

.footer-magistr {
    padding: 50px 20px;
/*  background-image: url('https://magistr-coffee.com.ua/wp-content/uploads/2024/05/bg-coffee.webp');*/
    background-image: none !important;
}

.header-wrapper .site-header, .header-layout-7 .site-header .header-main .menu4 {
    background-color: #f4f4f4;
    background-image: none !important;
}

.footer-magistr .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /*GVP */
}

.footer-magistr .social-icons {
    margin-left: 0px !important; /*GVP */
    margin-right: 0px !important; /*GVP */
    text-align: center;/*GVP */


}

.footer-magistr .social-icons .social-icon {
    margin: 6px 6px; /*GVP */

}

ul.yith-wcan-list li.chosen a::before {
    content: "\f00d";
    font: normal normal normal 14px/1 FontAwesome;
}

.footer-contacts,
.footer-adress {
    color: #a7a7a7;
}

.footer-contacts div:first-child,
.footer-adress div:first-child {
    color: white !important;
    margin: 12px 0 2px; /*GVP */
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.footer-contacts p,
.footer-adress p {
    display: inline-block;
    margin: 0;
    max-width: 180px; /*GVP было 150 px*/
}

.footer-contacts span,
.footer-adress span {
/*    margin-left: 5px;*/ /*GVP */
    color: #cfcfcf;
}

.area-footer-payment {
    text-align: center;
}

.area-footer-payment img {
    max-width: 235px; /*GVP */
    margin: 0 auto;
}
@media screen and (min-width:414px){
	.area-footer-payment img {
	padding-top: 100px;    /*GVP */
}
}

/*
# Media screen
*/

@media (max-width: 1300px) {
    .header-layout-7 .header-boxes-container li:first-child {
        display: block;
    }

    .area-contacts-header {
        width: 92%;
    }

    .header-contacts ul>li {
        min-width: 110px;
        margin-right: 3px;
    }
}

@media (max-width: 1199px) {
    .header-layout-7 .header-checkout-btn {
        margin-left: 0;
    }

    .header-layout-7 .header-main .container {
        width: 100%;
    }
}


@media (min-width: 1600px) {
    .header-boxes-container li {
        margin-right: 15px;
    }
}

@media (min-width: 992px) {

    .header-layout-7 .header-boxes-container li {
        color: black;
    }

    .header-layout-7 .dropdowns-container .dropdowns-wrapper {
        margin-top: -20px;
    }

    .header-layout-4 .logo {
        margin-top: 0;
        display: flex;
        align-items: center;
    }

    /*
# Woocommerce
*/

    /**Header cart**/
    .header-layout-7 .header-checkout-btn {
        padding: 25px 25px 15px 10px;
    }

    .header-layout-7 .header-dropdown.cart-dropdown>a .badge-number {
        color: white;
        background-color: var(--main-color);
        width: 18px;
        height: 18px;
        top: -10px;
        left: 20px;
        border-radius: 50%;
        font-size: 12px;
        line-height: 17px;
        text-align: center;
    }

}

@media (max-width: 991px) {
    .breadcrumb {
        overflow-x: auto;
        white-space: nowrap;
        width: 100%;
        line-height: 1;
    }

    .breadcrumb i.icon-arrow-long-right {
        font-size: 8px;
        line-height: 1;
        margin: 0 7px;
    }
    .header-layout-4 .site-header .header-main {
        border: none;
    }

    .header-bottom-mob {
        display: flex;
    }

    .header .header-contacts {
        display: none;
    }

    .header-contacts-mob {
        display: flex;
        align-items: center;
    }

    .header-contacts-mob>div>ul {
        height: 36px;
        justify-content: space-between;
    }

    .header-layout-7 .logo {
        margin: 10px 0 0 0;
        width: 40%;
        text-align: left;
    }

    .header-layout-7 .header {
        width: 60%;
    }

    /**Mobile munu**/
    #sfm-sidebar .sfm-nav {
        height: auto;
    }

    .btn-mob-menu {
        display: block;
    }

    .top-dropdowns ul>li>a {
        padding: 0 7px !important; /*GVP*/
        font-size: 11px;
    }

    .lng-button-header {
        margin: 5px 0 5px 5px;
    }

    .home-product-cat-title {
        font-size: 14px;
    }

    .footer-magistr .row .col-md-3 {
        width: 50%;
        flex: 0 0 auto;
    }

    .area-footer-social {
        order: 3;
        text-align: center;
        margin: 25px 0;
    }

    .area-footer-contacts {
        order: 1;
    }

    .area-footer-adress {
        order: 2;
    }

    .area-footer-payment {
        order: 4;
    }
}

@media (max-width: 767px) {

    #secondary .widget_price_filter,
    #secondary .yith-woocommerce-ajax-product-filter {
        display: none;
    }
    .product-meta .ratings-container {
    display: none;
    }
}

@media (max-width: 575px) {
    .header-layout-7 .header-main>.container {
    padding-top: 0;
    padding-bottom: 0;
}
    .logo img {
        max-width: 100px;
    }

    .product-top figure img {
        height: 200px;
    }

    .product-column.product-category.product img {
        height: 125px;
    }

    .woocommerce-loop-category__title {
        text-align: center !important; /*GVP был left */
        min-height: 40px;
        padding: 0 5px;
        line-height: 1.3;
        font-size: 14px;
    }

    .product-meta-container {
    min-height: 60px;
}

    .footer-magistr .row {
        flex-direction: column;
    }

    .footer-magistr .row .col-md-3 {
        width: 100%;
    }

    .footer-adress div {
        margin-bottom: 10px;
    }

  /*  .footer-adress span {
        display: block;
    }*/
}
/*GVP SEO   Описание товара в табах*/
h2.tab-content{
    font-family: "Open Sans";
    font-style: normal;
    color: #2d2d2d;
    font-size: 15px;
    font-weight:400;
}

/*GVP Размер звезд отзывов*/
.star-rating {
    font-size: 12px;
}