/*!
Theme Name: safahall_2
Theme URI: http://underscores.me/
Author: kudanoff
Author URI: http://t.me/kudanoff
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: safahall
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

safahall is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/







html, body {
    height: 100%;
    font-family: "Libre Franklin", sans-serif;
    font-family: "PT Sans", sans-serif;
}


#wrap {
    /* display: flex; */
    /* flex-direction: column; */
    height: 100%;
}


.primary-content {
    flex: 1 0 auto;
}








.lqd-stickybar-wrap {
    width: 85px;
}






sup.lqd-filter-counter {
    display: none;
}


.menu-logo {
    width: 252px;
    /* margin: 34px 0 20px; */
}


.portion-desc {
    color: rgba(0, 0, 0, .55);
    font-weight: 400;
}

.position-wrp {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
}

.position-wrp > p {
    font-size: 15px;
}

p.price {
    font-size: 16px;
    /* font-weight: 600; */
    color: #1f1f1f;
    letter-spacing: -.5px;
}

p.portion-size {
    font-size: 14px;
}

.position-card {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
}
#section-bar .lqd-pf-item {
    margin-bottom: 0;
}
.position-card img {
    width: 100%;
    height: 262.5px;
    object-fit: cover;
    border-radius: 8px;
}
.position-card:hover .lqd-pf-img>figure {
    transform: scale(1);
}

.position-title {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.position-price_bar {
    font-size: 16px;
    font-weight: 500;
}

.position-price {
    font-size: 16px;
    white-space: nowrap;
    margin-left: 12px;
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .position-card {
        margin-bottom: 5px;
    }
    .position-card img {
        height: 155px;
    }
    .position-title {
        font-size: 14px;
    }
    .position-card .portion-desc {
        font-size: 13px;
        line-height: 1.2;
    }
    .position-price {
        font-size: 14px;
    }
}




.case-studies .filter-list li {
    color: #000000;
    font-family: 'TT Wellingtons', sans-serif;
    font-weight: 500;
}

.filter-list {
    gap: 12px 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
li.text-15 {
    margin: 0 !important;
}

@media (max-width: 768px) {
    ul#pf-filter-case-studies-works {
        display: none !important;
    }
}








.category-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 26px;
    font-family: 'SPACE GROTESK', sans-serif;
    letter-spacing: -1px;
}

.dishcat-wrp {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1000;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 0 15px 15px;
    /* margin-left: 15px; */
    /* border-bottom: 1px solid #ddd; */
    margin-bottom: 60px;
    box-shadow: 0 8px 20px -16px #00000078;
}

/* Общее оформление */
.dishcat-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dishcat-item {
    list-style: none;
}

.dishcat-link {
    display: block;
    padding: 10px 20px;
    background-color: #f2f2f2;
    border-radius: 5px;
    text-decoration: none;
    color: #000;
    transition: .2s;
}

.dishcat-link.active {
    background-color: #a0a0a0;
    color: #fff;
    transition: .2s;
}

.dishcat-link:hover {
    background-color: #ccc;
}

/* Для малых экранов */
@media (max-width: 879px) {
    body {
        overflow: initial;
    }
    
    .dishcat-link {
        padding: 8px 16px;
        font-size: 14px;
    }
}



.menu-block img {
    height: 320px;
    object-fit: cover;
}

@media (max-width: 576px) {
    .menu-block img {
        height: 170px;
    }
}





.site-footer {
    /* background-color: #ececec; */
    flex: 0 0 auto;
}


.site-footer:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    /* background: url(https://safahall.ru/wp-content/themes/safahall/assets/images/pattern-big.jpg); */
    background-size: contain;
    opacity: .5;
}



@media (max-width: 430px) {
    .position-card img {
        height: 190px;
    }
}

@media (max-width: 415px) {
    .container {
        max-width: var(--lqd-container-width-xs, 375px);
    }
    
    .position-card img {
        height: 162.5px;
    }
}

@media (max-width: 380px) {
    .container {
        max-width: var(--lqd-container-width-xs, 375px);
    }
    
    .position-card img {
        height: 155px;
    }
}

@media (max-width: 375px) {
    .container {
        max-width: var(--lqd-container-width-xs, 360px);
    }
}