/*
Theme Name: Галерея недвижимости Крыма
Author: <a href="https://sheer82.ru">Roman Mihailovich</a>
Description: base wp theme
Version: 1.0
*/

.object_manager {
    border-top: 1px solid #471e34;
    padding-top: 10px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}

.object_manager .left_{
    width: 80px;
}

.object_manager .left_ img{
    width: 100%;
    height: auto;
    display: block;
}

.object_manager .right_{
    width: calc(100% - 80px);
    box-sizing: border-box;
    padding-left: 20px;
}

.object_manager .right_ a{
    font-size: 20px;
}

/*
    Theme Name: Галерея недвижимости Крыма
    Author: <a href="https://sheer82.ru">Roman Lab</a>
    Description: base wp theme
    Version: 1.1
*/
.s-catalog-grid {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 39px;

    max-width: 100%;
    width: auto;
    margin: 10px 0 30px !important;
}

.s-catalog-grid__item {
    position: relative;
    display: flex;
    background: #fff;
    box-shadow: 0 0 20px hsl(10deg 6% 42% / 20%);
    border: 1px solid transparent;
    border-radius: 6px;

    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;

    /* height: 255px; */
    height: 270px;
    overflow: hidden;
}

.s-catalog-grid__item_sold::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .5);
    z-index: 2;
    pointer-events: none;
}

.s-catalog-grid__item_sold::after {
    position: absolute;
    content: "ПРОДАНО";
    width: 150px;
    background: #81536c;
    padding: 2px 0;
    font-size: 18px;
    color: #fff;
    z-index: 3;
    transform: rotate(45deg);
    top: 26px;
    right: -33px;
    text-align: center;
}

.s-catalog-grid__item_sold .circle-icon__wrap {
    display: none;
} 
.s-catalog-grid__item_sold .s-catalog-grid__item-btns-price ul:not(.s-catalog-grid__price-wrap) {
    display: none;
}

.s-catalog-grid__item:hover {
    -webkit-box-shadow: 0 0 10px 0 rgb(103 61 83 / 52%);
    box-shadow: 0 0 10px 0 rgb(103 61 83 / 52%);
    border: 1px solid #471e34;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.s-catalog-grid__item-img {
    display: flex;
    max-width: 270px;
    width: 100%;
}
.s-catalog-grid__item-img:hover img {
    /* transform: scale(-0.9); */
    border-radius: 25px;
    padding: 10px;
}
.s-catalog-grid__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px 0 0 5px;
    transition: all .3s;
}

.circle-icon__wrap {
    position: absolute;
    top: 13px;
    left: 20px;
}
.circle-icon__wrap .circle-icon {
    margin: 0;
}
.s-catalog-grid__item .circle-icon__wrap {
    width: 40px;
    left: initial;
    right: 20px;
}

.s-catalog-grid__item-desc {
    padding: 24px;
    position: relative;
}

.item-desc__title {
    font-size: 18px;
    color: #000;
    transition: all .3s;
    display: flex;
    padding-right: 40px;
}
.item-desc__title:hover {
    color: #81536c;
}

.item-desc__address {
    display: flex;
    margin: 10px 0;
    font-size: 14px;
    color: #666666;
}

.item-desc__desc {
    font-size: 14px; 
    margin: 5px 0 40px;
    max-height: 70px;
    overflow: hidden;
}
.item-desc__desc p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; 
}

.s-catalog-grid__item-btns-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 100%;
    padding: 0 40px 0px 0px;
    bottom: 0;
}

.s-catalog-grid__item-btns-price ul {
    display: flex;
    gap: 40px;
    padding: 0;
    list-style: none;
}
.s-catalog-grid__item-btns-price ul li a {
    position: relative;
    color: #81536c;
    width: max-content;
    font-size: 14px;
}

.s-catalog-grid__item-btns-price ul li a::before {
    position: absolute;
    content: "";
    width: 100%;
    border: 1px dashed #81536c;
    bottom: -3px;
    transition: all .3s;
}
.s-catalog-grid__item-btns-price ul li a:hover::before {
    opacity: .3;
}
.s-catalog-grid__item-btns-price p {
    font-size: 18px;
}

.s-catalog-grid__price-wrap {
    gap: 20px !important;
    color: #000;
    font-size: 18px;
}
.s-catalog-grid__price-wrap li span{
    color: #c3c3c3;
    text-decoration: line-through;
}
.s-catalog-grid__price-wrap_discount {
    color: #81536c;
}

.filter-btn_custom {
    position: relative;
    color: #81536c;
    width: max-content;
    font-size: 14px;
}
.filter-btn_custom::before {
    position: absolute;
    content: "";
    width: 100%;
    border: 1px dashed #81536c;
    bottom: -3px;
    transition: all .3s;
}
.filter-btn_custom:hover::before {
    opacity: .3;
}


.fotorama__stage {
    box-shadow: 0 3px 10px 5px hsl(10deg 6% 42% / 30%);
    border-radius: 6px;
}
.fotorama__stage__frame img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    left: 0 !important;
    top: 0 !important;
}
.fotorama__thumb,
.fotorama__thumb-border {
    border-radius: 6px;
}



.contact__form_callback {

}
.cart__description .contact__form_callback {
    border-radius: 6px;
}
.cart__description .contact__form_callback form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.m-tab__content_new {
    padding: 0 !important;
    border: 0 !important;
}
.m-tab__content_new p span {
    font-size: 18px;
}

.m-tab__content_new ul li {
    list-style: disc;
    list-style-position: inside;
}

.singel-page__map {
    max-width: 750px;
    height: 310px;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid #e2e2e1;
}

.also-sells-wrap {
    padding-bottom: 50px;
}
.also-sells-wrap .title {
    font-size: 36px;
    margin: 20px 0;
}

.also-sells {
    position: relative;
    display: flex;
}

/* .also-sells .slick-slider {
} */

.also-sells .slick-list,
.also-sells .slick-track{
    align-items: center;
    display: flex;
}
.also-sells .slick-track {
    padding: 20px 0;
}

.also-sells__card-item {
    display: flex;
    max-width: 263px;
    width: 100%;
    min-height: 322px !important;
    box-shadow: 0 0px 10px 5px hsl(10deg 6% 42% / 5%);
    border-radius: 6px;
    margin: 0 15px;
    overflow: hidden;
    border: 1px solid transparent;   
    transition: .5s;
}
.also-sells__card-item img {
    width: 100%;
    max-height: 160px;
    min-height: 160px;

    object-fit: cover;
}
.also-sells__text-box {
    padding: 0px 30px;
}
.text-box__desc,
.text-box__price,
.also-sells__text-box strong {
    font-size: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.text-box__address {
    font-size: 14px;
    color: #666666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.text-box__jk-name {
    font-size: 14px;
    color: #000;
}
.also-sells__card-item:hover {
    -webkit-box-shadow: 0 0 10px 0 rgb(103 61 83 / 52%);
    box-shadow: 0 0 10px 0 rgb(103 61 83 / 52%);
    border: 1px solid #471e34;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.also-sells .slick-arrow {
    position: absolute;
    top: 50%;
    /* transform: translateY(-50%); */
    z-index: 10;
    font-size: 0;
    border: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
  
    margin: -15px -5px 0 -5px;
    cursor: pointer;
    transition: all 0.3s;

    box-shadow: 0px 0px 5px 1px rgba(103, 60, 84, 0.502);
}

.also-sells .slick-arrow.slick-prev {
    left: 0px;
}
.also-sells .slick-arrow.slick-next {
    right: 0px;
}

.also-sells .slick-arrow.slick-prev::before,
.also-sells .slick-arrow.slick-next::before,
.also-sells .slick-arrow.slick-prev::after,
.also-sells .slick-arrow.slick-next::after   {
    position: absolute;
    content: "";
    width: 10px;
    height: 3px;
    background: #673c54;
    border-radius: 50px;
}

.also-sells .slick-arrow.slick-prev::before{
    transform: rotate(-45deg);
    top: 16px;
    left: 35%;
}

.also-sells .slick-arrow.slick-prev::after{
    transform: rotate(45deg);
    bottom: 16px;
    left: 35%;
}

.also-sells .slick-arrow.slick-next::before {
    transform: rotate(-45deg);
    bottom: 16px;
    right: 35%;
}
.also-sells .slick-arrow.slick-next::after {
    transform: rotate(45deg);
    top: 16px;
    right: 35%;
}

@media screen and ( max-width: 1100px ) {
    .s-catalog-grid__price-wrap_discount {
        flex-direction: column;
        gap: 0 !important;
    }
    .item-desc__desc {
        margin: 5px 0 60px;
    }
}

@media screen and ( max-width: 991px ) {
    .also-sells__card-item {
        max-width: 100%;
        width: auto;
    }
    .s-catalog-grid__item {
        height: auto;
    }
    .s-catalog-grid__item-img {
        height: 300px;
    }
}

@media screen and ( max-width: 600px ) {
    .s-catalog-grid__item {
        flex-direction: column;

    }
    .s-catalog-grid__item-img {
        max-width: 100%;
        height: 200px;
    }
    .s-catalog-grid__item-btns-price {
        position: relative;
        padding: 0;

    }
    .item-desc__desc {
        margin: 5px 0;
    }
    .s-catalog-grid__item-img img {
        border-radius: 5px 5px 0 0px;
    }
    .also-sells-wrap .title {
        font-size: 20px;
        margin: 20px 0 0;
        line-height: 25px;
    }
}
@media screen and ( max-width: 500px ) {
    .s-catalog-grid__item-btns-price ul {
        gap: 10px;
        flex-direction: column;
    }
}
@media screen and ( max-width: 320px ) {
    .s-catalog-grid__item-btns-price {
        flex-direction: column;
    }
}

.slide-to-up {
    position: fixed;
    bottom: 20px;
    /* right: 20px; */
    right: 5%;

    width: 50px;
    height: 50px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: all .3s;
}

.slide-to-up:hover {
    transform: translateY(-10px);
    box-shadow: 0px 0px 5px 1px rgba(103, 60, 84, 0.502);
}

.click-fraud-detection img {
    display: none;
}

.circle-icon {
    margin: 0 10px !important;
}

@media screen and (max-width: 500px) {
    .circle-icon {
        margin: 0 5px !important;
    }  
    .logo {
        background-repeat: no-repeat !important;
    }
}
.wrap { position: relative; }

.single-realty__sold {
    position: relative;
    overflow: hidden;
}

.single-realty__sold::after {
    position: absolute;
    content: "ПРОДАНО";
    width: 150px;
    background: #81536c;
    padding: 2px 0;
    font-size: 18px;
    color: #fff;
    z-index: 3;
    transform: rotate(
45deg);
    top: 26px;
    right: -33px;
    text-align: center;
}

.price__box_discount {
    color: #6666 !important;
    font-size: 25px !important;
    text-decoration: line-through;
}

.gallery  .circle-icon__wrap {
    left: 30px;
}

.item__cart picture {
    position: relative;
}
.item__cart div {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    border: 1px solid transparent;

}
.item__cart:hover > div{
    -webkit-box-shadow: 0 0 10px 0 rgb(103 61 83 / 52%);
    box-shadow: 0 0 10px 0 rgb(103 61 83 / 52%);
    border: 1px solid #471e34;
}

.favorites h1 {
    margin-top: 30px;
}


.btn-like a {
    background-color: transparent;
    -webkit-box-shadow: 0 0 10px rgb(103 61 84 / 53%);
    box-shadow: 0 0 10px rgb(103 61 84 / 53%);
}

@media (max-width: 1200px) {
.menu__catalog {
    max-width: 235px;
}
}
@media (max-width: 992px) {
.menu__catalog {
    max-width: 185px;
}
.s-catalog-grid__price-wrap {
    white-space: nowrap;
}
}
@media (max-width: 768px) {
.menu__catalog {
    position: relative !important;
    top: 0 !important;
}

body .catalog-page .menu__catalog li {
    max-width: 100%;
    margin: 0;
}
.catalog-page .menu__catalog li {
    max-width: 100% !important;
}
body .catalog-title {
    margin-bottom: 35px;
}
.menu__catalog {
    max-width: 100%;
}
.catalog-page .filter-toggle {
    margin-bottom: 0;
}
}
@media (max-width: 576px) {
   body .header .main-menu {
        z-index: 700;
    }
}

/* сам кружок */
.social__item{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  width:36px;          /* как у остальных */
  height:36px;
  border-radius:50%;
  background: rgba(255,255,255,.12); /* ваш фон */
  color:#fff;          /* цвет иконки берётся отсюда */
  text-decoration:none;
}

/* шрифтовые иконки */
.social__item i{
  font-size:18px;
  line-height:1;
}

/* SVG-иконка Telegram */
.social__item .icon-telegram{
  width:18px;          /* подгоняем под шрифтовые */
  height:18px;
  display:block;
}

/* чтобы SVG принимал цвет от .social__item { color } */
.social__item .icon-telegram,
.social__item .icon-telegram *{
  fill: currentColor;
  stroke: currentColor; /* на случай, если иконка со stroke */
  stroke-width: inherit;
}

/* ховер — по желанию */
.social__item:hover{
  background: rgba(255,255,255,.2);
}
