/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

body {
    color: #696969;
    font-size: 16px;
    line-height: 26px;

}

#header .header-nav {
    background-color: #649740;
    border-bottom-color: #D4CFC8;
}

#header .header-top {
    background-color: #FAF9F6;
    ;
}

@media (min-width: 992px) {
    .mm_menus_ul {
        width: 750px;
    }
}

@media (min-width: 1200px) {
    .mm_menus_ul {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .layout_layout2 .ets_mm_megamenu_content {
        background: #649740;
    }
}

#footer {
    background-color: #FAF9F6;
    border-top: 1px solid #FAF9F6;
}

.footer_after {
    background-color: #649740;
    border-bottom-color: #649740;
    border-top-color: #649740;
}

.h1,
.h2,
.h3,
.h4 {
    color: #BC987E;
}

#index #slider_row {
    background-color: #FAF9F6;
}

.scroll_top {
    background-color: #649740;
}

.layout_layout2 .mm_menus_li>a {
    font-weight: bold;
    text-transform: uppercase;
}

@media (max-width: 991px) {

    .ybc-menu-toggle,
    .transition_floating .close_menu,
    .transition_full .close_menu {
        background-color: #649740;
    }
}

.ybc-widget-ybc-custom-4 .ybc-widget-description li a {
    backface-visibility: hidden;
    border-right: 1px solid #ffffff;
    display: inline-block;
    line-height: 14px;
    padding-right: 18px;
    perspective: 500px;
}

.ybc-widget-ybc-custom-4 .ybc-widget-description li a {
    color: #ffffff;
    font-size: 16px;
}

.ybc_myaccout a,
.toogle_nav_button {
    color: #ffffff;
}

.userinfor {
    font-weight: bold;
    color: #ffffff;
}

body.ybc-skin-custom .cart-preview .cart-products-count.cart-products-count-absolution {
    border-color: #BC987E !important;
    background-color: #BC987E !important;
}

body.ybc-skin-custom a:not(.btn):hover,
body.ybc-skin-custom #header .ybc-widget-ybc-custom-4 li a:hover {
    color: #d3d3d3 !important;
}


#ybc-nivo-slider-wrapper {
    display: none;
}

.home_widget_top_column {
    width: 100%;
}

.home_widget_top_column .ybc-widget-display-top-column .ybc-widget-item:nth-child(3) {
    width: auto;
}

ul.ybc-widget-display-top-column {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
    list-style-type: none;
    padding: 0;
    margin-bottom: 0;
}

.home_widget_top_column .ybc-widget-description-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding: 0;
    text-align: center;
}

.home_widget_top_column .ybc-widget-description-content h4 {
    font-size: 20px;
    line-height: 1.3;
    color: white;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.6),
        3px 3px 6px rgba(0, 0, 0, 0.5),
        4px 4px 8px rgba(0, 0, 0, 0.4),
        5px 5px 10px rgba(0, 0, 0, 0.3);
    white-space: collapse;
}

.ybc-widget-display-top-column li.ybc-widget-item {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

.home_widget_top_column li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.home_widget_top_column .ybc-widget-item-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.home_widget_top_column .ybc-widget-item-content {
    flex: 1;
}


.home_widget_top_column li img:hover {
    transform: scale(1.1);
}

ul.ybc-widget-display-top-column {
    grid-template-columns: repeat(2, 1fr);
}

/* 1. item */
.home_widget_top_column .ybc-widget-item:nth-child(1) {
    grid-column: span 2;
    aspect-ratio: 2.666 / 1;
    width: auto;
}

.home_widget_top_column .ybc-widget-item:nth-child(1) img {
    aspect-ratio: 4 / 2;
}

/* 2+. item */
.home_widget_top_column .ybc-widget-item:nth-child(n+2) {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 1.333 / 1;
    width: auto;
}

.home_widget_top_column .ybc-widget-item:nth-child(n+2) img {
    aspect-ratio: 1.333 / 1;
}

@media (min-width: 544px) {
    ul.ybc-widget-display-top-column {
        grid-template-columns: repeat(4, 1fr);
    }

    /* 1. item */
    .home_widget_top_column .ybc-widget-item:nth-child(1) {
        grid-column: span 4;
        aspect-ratio: 4 / 1;
        width: auto;
    }

    .home_widget_top_column .ybc-widget-item:nth-child(1) img {
        aspect-ratio: 4 / 2;
    }

    /* 2+. item */
    .home_widget_top_column .ybc-widget-item:nth-child(n+2) {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 1.333 / 1;
        width: auto;
    }

    .home_widget_top_column .ybc-widget-item:nth-child(n+2) img {
        aspect-ratio: 1.333 / 1;
    }

    .home_widget_top_column .ybc-widget-item:nth-child(n+2) .ybc-widget-description-content h4 {
        font-size: 17px;
    }
}

@media (min-width: 768px) {

    ul.ybc-widget-display-top-column {
        grid-template-columns: repeat(8, 1fr);
    }

    /* 1. item */
    .home_widget_top_column .ybc-widget-item:nth-child(1) {
        grid-column: span 6;
        grid-row: span 2;
        aspect-ratio: 6 / 3;
    }

    .home_widget_top_column .ybc-widget-item:nth-child(1) img {
        aspect-ratio: 6 / 3;
    }

    /* 2., 3. item */
    .home_widget_top_column .ybc-widget-item:nth-child(2),
    .home_widget_top_column .ybc-widget-item:nth-child(3) {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 1.333 / 1;
    }

    .home_widget_top_column .ybc-widget-item:nth-child(2) img,
    .home_widget_top_column .ybc-widget-item:nth-child(3) img {
        aspect-ratio: 1.333 / 1;
    }

    .home_widget_top_column .ybc-widget-item:nth-child(2) .ybc-widget-description-content h4,
    .home_widget_top_column .ybc-widget-item:nth-child(3) .ybc-widget-description-content h4 {
        font-size: 20px;
    }

    /* 4+. item */
    .home_widget_top_column .ybc-widget-item:nth-child(n+4) {
        grid-column: span 2;
        grid-row: span 2;
        aspect-ratio: 1.333 / 1;
    }

    .home_widget_top_column .ybc-widget-item:nth-child(n+4) img {
        aspect-ratio: 1.333 / 1;
    }

    .home_widget_top_column .ybc-widget-item:nth-child(n+4) .ybc-widget-description-content h4 {
        font-size: 20px;
    }
}

@media (min-width: 992px) {

    ul.ybc-widget-display-top-column {
        grid-template-columns: repeat(8, 1fr);
    }

    /* 1. item */
    .home_widget_top_column .ybc-widget-item:nth-child(1) {
        grid-column: span 6;
        grid-row: span 2;
        aspect-ratio: 6 / 3;
    }

    .home_widget_top_column .ybc-widget-item:nth-child(1) img {
        aspect-ratio: 6 / 3;
    }

    .home_widget_top_column .ybc-widget-item:nth-child(1) .ybc-widget-description-content h4 {
        font-size: 35px;
    }

    /* 2., 3. item */
    .home_widget_top_column .ybc-widget-item:nth-child(2),
    .home_widget_top_column .ybc-widget-item:nth-child(3) {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 1.333 / 1;
    }

    .home_widget_top_column .ybc-widget-item:nth-child(2) img,
    .home_widget_top_column .ybc-widget-item:nth-child(3) img {
        aspect-ratio: 1.333 / 1;
    }

    .home_widget_top_column .ybc-widget-item:nth-child(2) .ybc-widget-description-content h4,
    .home_widget_top_column .ybc-widget-item:nth-child(3) .ybc-widget-description-content h4 {
        font-size: 25px;
    }

    /* 4+. item */
    .home_widget_top_column .ybc-widget-item:nth-child(n+4) {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 1 / 1;
    }

    .home_widget_top_column .ybc-widget-item:nth-child(n+4) img {
        aspect-ratio: 1 / 1;
    }


    .home_widget_top_column .ybc-widget-item:nth-child(n+4) .ybc-widget-description-content h4 {
        font-size: 13px;
    }
}

@media (min-width: 1200px) {
    ul.ybc-widget-display-top-column {
        grid-template-columns: repeat(8, 1fr);
    }

    /* 1. item */
    .home_widget_top_column .ybc-widget-item:nth-child(1) {
        grid-column: span 6;
        grid-row: span 2;
        aspect-ratio: 6 / 3;
    }

    .home_widget_top_column .ybc-widget-item:nth-child(1) img {
        aspect-ratio: 6 / 3;
    }

    .home_widget_top_column .ybc-widget-item:nth-child(1) .ybc-widget-description-content h4 {
        font-size: 35px;
    }

    /* 2., 3. item */
    .home_widget_top_column .ybc-widget-item:nth-child(2),
    .home_widget_top_column .ybc-widget-item:nth-child(3) {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 1.333 / 1;
    }

    .home_widget_top_column .ybc-widget-item:nth-child(2) img,
    .home_widget_top_column .ybc-widget-item:nth-child(3) img {
        aspect-ratio: 1.333 / 1;
    }

    .home_widget_top_column .ybc-widget-item:nth-child(2) .ybc-widget-description-content h4,
    .home_widget_top_column .ybc-widget-item:nth-child(3) .ybc-widget-description-content h4 {
        font-size: 30px;
    }

    /* 4+. item */
    .home_widget_top_column .ybc-widget-item:nth-child(n+4) {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 1 / 1;
    }

    .home_widget_top_column .ybc-widget-item:nth-child(n+4) img {
        aspect-ratio: 1 / 1;
    }


    .home_widget_top_column .ybc-widget-item:nth-child(n+4) .ybc-widget-description-content h4 {
        font-size: 16px;
    }

}

@media (min-width: 992px) {

    #header .logo {
        width: 350px;
    }

    #_desktop_logo {
        float: left;
        margin-top: 30px;
        padding: 0 0 0 15px;
        width: 25%;
    }
}


.home_widget_top_column .ybc-widget-description-content h4 a {
    color: white;
    margin: 5px;
}

.home_widget_top_column .ybc-widget-description-content h4 a:hover {
    color: #FAF9F6 !important;
}

.home_widget_top_column .ybc-widget-title {
    margin: 0;
}

.shop_text_nav_config,
.shop_text_nav_config span {
    font-size: 17px;
    line-height: 18px;
}

.shop_text_nav_config div {
    padding-bottom: 10px;
}


.header-top>.container {
    padding-bottom: 20px;
    padding-top: 10px;
}