.port-main-img {
    max-height: 600px;
    width: auto;
}

.port-item .port-img-overlay:after,
.lightbox-item .port-img-overlay:after {
    max-height: 600px;
    width: auto;
}
.port-filter a {
    z-index: 9;
    position: relative;
}
@media (min-width: 1200px) {
    .main-menu-container #main-menu .navbar .nav>li>a {
        margin: 0 10px 17px !important;
    }
}

@media (min-width: 992px) {
    #footer6 .col-md-3 {
        width: 33% !important;
    }

    .navigation {
        left: 10%;
    }
}

@media (min-width: 768px) {
    #footer6 .col-md-3 {
        width: 33% !important;
    }

    .navigation {
        left: 10%;
    }
}

.cbk-window {
    width: 100% !important;
}

div.cbk-window.cbk-background {
    background-color: rgba(255, 255, 255, 0.7) !important;
}

/* бампер Alexey */
.bamper_mobi {
    display: none;

}

@media (max-width: 991px) {
    .bamper_mobi {
        display: inline;
        position: fixed;
        left: 0;
        bottom: -18px;
        width: 100%;
        height: 80px;
        background-color: #044222;
        text-align: center;
        font-size: 14px;
        line-height: 1;
        font-weight: 700;
        z-index: 1000;
        border-width: 2px 0 0 0;
    }

    .port-item .product-info .dimension {
        opacity: 1 !important;

    }

}

.cases .heading {
    font-size: 59px !important;
}

@media (min-width: 767px) {
    .popular_li {
        margin-left: 15px;
    }

    .lightness {
        font-size: 50px;
        line-height: 50px;
    }


}

@media (max-width: 480px) {
    .cases .heading {
        font-size: 40px !important;
    }


}


popular_li .row_bamper {
    display: flex;
    justify-content: space-between;
}

.bamper_icon {
    border: none;
    width: 100%;
    height: 80px;
    margin: 0;
    border-right: 1px solid #fff;
    margin-top: 13px;
    border-radius: 0;
}


@media (max-width: 991px) {
    #back-top {
        bottom: 150px;
    }

    jdiv {
        margin-bottom: 55px !important;
        bottom: 55px;
    }

    .callbackkiller {
        display: none !important;
    }

}

.logo--white {
    height: 72px !important;
}

.logo--black {
    height: 65px !important;
}

@media (max-width: 1024px) {
    .header {
        margin-bottom: -110px;
    }
}

.button--bigTopiari {
    background: #C70039 !important;
    color: #fff;
    border: 0 !important;
}



@media (min-width: 992px) and (max-width: 1517px) {
    .header-wrapper .container {
        width: 100%;
    }
}

@media (min-width: 1518px) {
    .container {
        width: 1350px;
    }
}

.affix #main-menu {

    display: flex;
    justify-content: flex-end;
    gap: 5px;

}

@media(max-width:1024px) {
    .lang_wrapper {
        display: none !important;
    }

    .transparent-fix .lang_wrapper {
        display: block !important;
        margin-left: 10px;
    }

}

@media(max-width:1410px) {

    .header-1 #main-menu .navbar .nav>li>a {
        padding: 20px 0 5px 0 !important;
        font-size: 13px !important;
    }
}

@media(max-width:1410px) {
    .affix.header-1 #main-menu .navbar .nav>li>a {
        margin-left: 4px !important;
        margin-right: 4px !important;
    }
}

#submit_form[disabled] {
    cursor: no-drop;
}


.flex-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.flex-item {
    flex: 0 0 30%;
    background: #fff;
    padding: 15px;
    text-align: center;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.flex-item img {
    max-width: 100%;
    height: auto;
    display: block;
}

.flex-item p {
    font-size: 14px;
    color: #333;
    margin: 0;
    line-height: 1.5;
}

@media(max-width:767px) {
    .flex-item {
        flex: 0 0 100%;
    }
}








#cookie-banner {
    position: fixed;
    width: 100%;
    background-color: #f8f9fa;
    padding: 30px;
    z-index: 99999999999999999999999;
    display: none;
    align-items: center;
    justify-content: space-between;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    height: fit-content;
    box-shadow: 2px 1px 6px 4px black;
}

#accept-cookies {
    margin-right: 10px;
    padding: 10px 20px;
    background-color: #C70039;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

@media (max-width: 650px) {
    #cookie-banner {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        padding-bottom: 7px;
    }

    #cookie-banner p {
        font-size: 13px !important;
    }

    #cookie-banner #accept-cookies {
        font-size: 13px !important;
    }
}




.row_bamper {
    display: flex;
}

.bamper_icon {
    justify-content: center;
    display: inline-flex;
}


.logo-footer {
    width: 140px !important;
    max-height: 80px !important;
}

.footer2-black a:after {
    bottom: -4px !important;
}

.owl-main-slider-auto-nav .item {
    margin: 0;
}

.owl-main-slider-auto-nav .center-0-478 {
    margin-top: 25px;
}

.owl-main-slider-auto-nav .button {
    font-size: 18px;
}

.owl-main-slider-auto-nav .owl-prev,
.owl-main-slider-auto-nav .owl-next {
    color: #fff;
    font-size: 30px;
    padding: 10px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.owl-main-slider-auto-nav .owl-prev {
    left: 10px;
}

.owl-main-slider-auto-nav .owl-next {
    right: 10px;
}

.owl-main-slider-auto-nav:hover .owl-prev {
    left: 0;
}

.owl-main-slider-auto-nav:hover .owl-next {
    right: 0;
}

.sub-heading {
    font-size: 40px;
}

/* catalog */
.bx-catalog-2#items-grid {
    height: auto !important;
    display: grid;
}

.bx-catalog-2#items-grid::before {
    display: none;
}

.catalog-layout .port-item {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.port-item .product-info .dimension {
    height: 0;
}

.port-item:hover .product-info .dimension {
    height: auto;
}

.flex-block {
    display: flex;
    align-items: center;
    gap: 10px;
}

.left-part {
    display: grid;
}

@media(min-width:768px) {
    #items-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

@media(max-width:991px) {
    .port-item .product-info .dimension {
        height: auto !important;
    }
}

@media(max-width:767px) {

    .port-item .product-info__left,
    .port-item .product-info__right {
        float: none;
        width: 100%;
    }

    .port-item .product-info .dimension {
        text-align: start;
    }

    .dimension br:nth-child(1) {
        display: none;
    }

    .sm-content-cont .light-72-wide {
        font-size: 35px;
    }

    .sub-heading {
        font-size: 28px;
        margin-top: 20px;
    }

    .flex-block {
        gap: 3px;
    }

    .left-part {
        flex: 0 0 65%;
    }

    .right-part {
        flex: 0 0 36%;
    }
}

@media(max-width:767px) {
    .catalogUl#items-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

    .catalogUl .port-item .product-info {
        padding: 0px;
        padding-top: 10px;
    }

    .catalogUl .port-item .product-info .title {
        font-size: 16px;
        line-height: 16px;
    }

    .catalogUl .port-item .product-info .price {
        display: none;
    }

    .catalogUl .product-info__right {
        display: none;
    }

    .catalogUl .port-item {
        padding: 0 5px 30px !important;
    }
}

@media(max-width:435px) {
    .catalogUl#items-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media(max-width:495px) {

    .eskiz_carousel .owl-prev,
    .eskiz_carousel .owl-next {
        opacity: 1;
        top: 34% !important;
        font-size: 77px !important;
        color: #000 !important;
    }

    .eskiz_carousel .owl-prev {
        left: -15px !important;
    }

    .eskiz_carousel .owl-next {
        right: 15px !important;
    }

    .eskiz_carousel [class^="icon-"]:before,
    .eskiz_carousel [class*=" icon-"]:before {
        font-weight: 900 !important;
    }
}





#modalMayBanner {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 9999;
    top: 0;
    left: 0;
    background-color: rgba(50, 50, 50, 0.68);
}

#modalMayBanner img {
    max-width: 100%;
    width: auto;
    height: auto;
}

.modalMayBanner__container {
    position: relative;
    margin: auto;
    max-width: 70%;
}

.modalMayBanner__close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 32px;
    height: 32px;
    border: 2px solid #900C27;
    cursor: pointer;
    transition: .5s;
}

.modalMayBanner__close:hover {
    opacity: 1;
}

.modalMayBanner__close:before,
.modalMayBanner__close:after {
    position: absolute;
    left: 13px;
    content: ' ';
    height: 29px;
    width: 2px;
    background-color: #900C27;
}

.modalMayBanner__close:before {
    transform: rotate(45deg);
}

.modalMayBanner__close:after {
    transform: rotate(-45deg);
}

.mobile-img {
    display: none;
}

@media (max-width: 720px) {

    .modalMayBanner__container {
        max-width: 95%;
    }


    .modalMayBanner__close {
        width: 25px;
        height: 25px;
    }

    .modalMayBanner__close:before,
    .modalMayBanner__close:after {
        left: 10px;
        height: 22px;
    }

    .desctop-img {
        display: none;
    }

    .mobile-img {
        display: block;
    }
    
    #product_form {
        max-width: 560px;
        width: 100% !important;
    }
}

.switchers-wrapper {
    display: flex;
    justify-content: end;
    gap: 10px;    
}

.city-switcher-wrapper {
    display: flex;
    justify-content: end;
}

.custom-select {
    position: relative;
    width: 170px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    overflow: visible;
    height: 36px;
}

.custom-select__control {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: transparent;
    cursor: pointer;
    user-select: none;
    font-size: 15px;
    letter-spacing: 0.2px;
}

.custom-select__panel {
  position: absolute;
  left: -1px; 
  right: -1px;
  top: calc(100% + 4px);
  background: rgba(0,0,0,0.65); 
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: none;
  border-radius: 2px;
  max-height: 260px;
  overflow-y: auto;
  padding: 0;
  display: none;
  z-index: 9999;
}

.custom-select__panel.open { display: block; }

.custom-select__option {
  display: block;
  text-align: center;
  padding: 4px 0;
  color: #ffffff;
  font-size: 15px;
  cursor: pointer;
  border-radius: 3px;
}

.custom-select__option:hover,
.custom-select__option:focus {
  outline: none;
  background: rgba(255,255,255,0.03);
}

.custom-select__option.selected {
    background: #c70b3c;
    color: #fff;
    margin-top: -2px;
    box-shadow: none;
}

.affix .city-switcher-wrapper {
    display: none;
}

.header--inner .custom-select {
    border-color: #464646;
}

.header--inner .custom-select__control {
    color: #464646;
}

.page-title-large2-cont {
    padding-top: 85px !important;
}

.transparent-fix .city-switcher-wrapper {
    display: none;
}

@media(width<1024px) {
    .city-switcher-wrapper {
        display: block;
        position: absolute;
        right: 0;
        bottom: -27px;
        width: 100%;
    }
    .custom-select {
         width: auto;
    }
    .header--inner .city-switcher-wrapper {
        bottom: -47px;
    }
}

@media(width<425px) {
    .page-title-large5-cont .container {
        height: 350px !important;
    }
}

/* .affix .lang_phone {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.affix .header-wrapper .container {
    width: 1750px;
} */

@media(width < 1605px) and (width > 1024px) {
    .callbackkiller.cbk-phone.cbk-phone-fixed.cbk-phone-sm.cbk-phone-pulse {
        inset: 20% 3% auto auto !important;
    }   
}


#modalMayBanner:not(.default-modal) {
    display: none !important;
}

.col-md-12 .video-block {
    padding: 170px 0 41px;
}
@media(width < 768px) {
    .col-md-12 .video-block {
        padding: 70px 0 41px;
    }
}

.eskiz_slide img,
.eskiz_list img {
    height: 317px;
    object-fit: cover;
}