/* css for b2b by Seele*/

html {
    box-sizing: border-box;
    font-family: Open Sans, Arial, Verdana;
}
@font-face {
    font-family: Open Sans;
    src: url(../custom/fonts/OpenSans-Regular.woff) format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

#container_sl_samo {
	background: white;
    min-height: 100%;
    min-width: 1000px;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 20px;
    padding-bottom: 20px;
    min-height: calc(100vh - 80px);
}
.topcontent-header-wrap {
	min-height: var(--topbg-minheight, auto);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    display: flex;
    flex-direction: column;
	max-width: 1200px;
    margin: 0 auto;
}
.topcontent-header-inner {
    background: rgba(255, 255, 255, .85);
}
.topcontent-header {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--page-width);
    display: grid;
    grid-gap: 1.25rem;
    grid-template-columns: 4.25rem auto;
    align-items: center;
    font-size: .875rem;
    border-bottom: 1px solid #EBEBEB;
    position: relative;
}
.topcontent-header__mobtop {
    padding-top: .75rem;
    padding-bottom: .75rem;
}
.topcontent-header__inner {
    display: grid;
    grid-gap: 1.25rem;
    grid-template-columns: auto auto 1fr auto auto;
    align-items: center;
}
.topcontent-header__location-link {
    display: flex;
    align-items: center;
    grid-gap: .25rem;
    width: fit-content;
    cursor: pointer;
}
.topcontent-header__location-link:hover {
      text-decoration: underline;
    color: #777;
}
.topcontent-header__nav-menu-link:hover {
      text-decoration: underline;
    color: #777;
}

.topcontent-header-wrap :where(a:visited) {
    color: #707070;
    text-decoration: none;
}

.topcontent-header-wrap :where(a) {
    color: #333;
    text-decoration: none;
}
.topcontent-header__location-img {
    width: .9375rem;
    height: .9375rem;
}
.topcontent-header__nav-menu {
    display: grid;
    grid-gap: 1.25rem;
    grid-template-columns: auto auto auto;
}
.topcontent-header-wrap ol, ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.topcontent-header__nav-menu-link_icon {
    display: flex;
    grid-gap: .25rem;
}
.topcontent-header__nav-menu-link {
    cursor: pointer;
	padding: 36px 0 35px 0;

}
a.topcontent-header__nav-menu-link {
    cursor: pointer;
	display:block;
}
.topcontent-header__nav-submenu-item {
        white-space: nowrap;
        flex-basis: 33%;
        padding: .5rem;
        font-size: inherit;
    }
.topcontent-header__phone-link {
    white-space: nowrap;
}
span.topcontent-header__currencies-names {
    color: #aeaeae;
    border-bottom: 1px dashed #AEAEAE;
    cursor: pointer;
}



/************ footer ************/


.footer-all-wrap {
        margin-top: 1.25rem;
		color: #333;
		max-width: 100%;
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }
.footer-all-wrap	:where(a:visited) {
    color: #707070;
    text-decoration: none;
}
.footer-all-wrap :where(a) {
    color: #333;
    text-decoration: none;
}
.cmn-l-block-wrap_full {
        max-width: 100%;
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }
.cmn-l-block-wrap_full {
    width: 100%;

}
.cmn-l-block-wrap_bg2 {
    background: #D4D4D4;
}
.cmn-l-block-wrap {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.cmn-l-block-wrap {
        max-width: var(--page-width);
		min-width: 1000px;
    }
.footer-block {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
.footer-block a:hover {
	cursor: pointer;
	    text-decoration: underline;
}
.footer-block__item-title {
        cursor: text;
        pointer-events: none;
    }
.footer-block__item-title {
    color: #adadad;
    margin-bottom: .9375rem;
}
.footer-block__item-inner {
    display: flex;
    flex-direction: column;
    row-gap: .9375rem;
}
.cmn-l-block-wrap_nobg {
	max-width: 1280px;
}
.footer-block {		
    display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 1.25rem;
    }
.footer-contact__contact+.footer-contact__contact {
    margin-top: .4125rem;
}
.footer-contact__item+.footer-contact__item {
    margin-top: .625rem;
}
.footer-contact__item-title {
    color: #adadad;
    margin-bottom: .9375rem;
}
.footer-contact__social {
    display: flex;
    grid-gap: .4375rem;
}
.subfooter {
        grid-template-columns: auto 1fr;
    }
.subfooter {
    display: grid;
        grid-gap: 1.25rem;
    color: #333;
    padding: 1.25rem 0;
    border-top: 1px solid #333;
    margin-top: 1.25rem;
    align-items: center;
}
.subfooter__reestr {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-gap: .3125rem;
    align-items: center;
    font-size: .625rem;
}
    .subfooter__info-text {
        text-align: left;
    }
	.subfooter__info-text {
    font-size: .625rem;
    margin: 0 auto;
    line-height: 1.3;
}

/*********** samo container *********/
#header a, .samo_container a, .samo_container .link {
    color: #346217;
    cursor: pointer;
}

.samo_container table.res thead th, .samo_container table.res .thead th, .samo_container table.res thead td {
    background-color: #346217;
    border-color: #346217;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
}
.samo_container .searchmodes {
    font-weight: bold;
}
.samo_container .searchmodes .searchmode, .samo_container .searchmodes .searchmode-custom {
    border-radius: 0 !important;
    border-right: 0 !important;
}
.samo_container .searchmodes .searchmode_selected {
    padding: 11px 15px;
    font-size: 15px;
}
.samo_container .panel, #modalContainer div.modalTitle, #logonContainer div.modalTitle {
    background-color: #EDEDED;
}
.samo_container .panel {
    margin-bottom: 15px;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.samo_container .panel, #modalContainer div.modalTitle, #logonContainer div.modalTitle {
    background-color: #EDEDED;
    border-radius: 0 !important;
}
.price-legend-container {
    background-color: white;
}
.samo_container .searchmodes .searchmode_button {
    display: block;
    font-size: 15px;
    padding: 10px 15px;
    -ms-border-radius: 0;
    border-radius: 0;
    box-shadow: none;    
    text-decoration: none;
    margin-top: 0;
    -moz-transition: .5s;
    -o-transition: .5s;
    -webkit-transition: .5s;
    -ms-transition: .5s;
    transition: .5s;
	background-color: white;
    color: #429410;
    
}

button.load {
    color: white !important;
    font-weight: bold;
    text-decoration: none;
    padding: .7em 2em;
    outline: none;
    border-width: 0;
    border-style: solid none;
    background: #429410;
    transition: 0.2s;
    height: 33px;
    border-radius: 0 !important;
}
button.load:hover {
	background: #e95b0b;
}
.samo_container .price_button {
    color: white !important;
    font-weight: bold;
    text-decoration: none;
    padding: .7em 1em;
    outline: none;
    border-width: 0;
    border-style: solid none;
    background: #429410;
    transition: 0.2s;
    /*height: 33px;*/
    border-radius: 0 !important;
}
.samo_container .price_button:hover {
	background: #e95b0b;
}
.samo_container table td, .samo_container table th {
    font-size: 14px;
}
.samo_container .searchmodes .searchmode_selected {
padding: 11px 15px;
    font-size: 15px;
}
#header { font-size: .875rem;}
.samo_container select, .samo_container textarea, .samo_container .textinput, .samo_container input.frm-value, .samo_container input.frm-input {
    border-radius: 0px;
    border: 1px solid #aaa;
}
.chosen-container-single .chosen-single {
border-radius: 0px;
background: white;
}
.samo_container table.res .even td, .samo_container .even {
	background-color: #fff;
border-color: #c8c8c8;}

.samo_container table.res thead th, .samo_container table.res .thead th, .samo_container table.res thead td {
    background-color: #EDEDED;
border-color: #346217;
padding-top: 15px;
    padding-bottom: 15px;}
.samo_container table.res thead th, .samo_container table.res .thead th, .samo_container table.res thead td {
color: #346217;}
.samo_container table.res .odd td, .samo_container .odd, .samo_container table.res tbody.freightTable td {
    background-color: #f5f5f5;
border-color: #c8c8c8;}
.samo_container table.res tr.price_info:hover {
	background-color: #F6F9FB;}	
	
.resultset .res tbody tr.white_row:hover td {
    background-color: #EDEDED !important;
}

.samo_container .searchmode_selected {
    background-color: white !important;
border: 1px solid #429410 !important;
color:#429410;}
.samo_container .searchmodes .searchmode.searchmode_selected{
border-right: 1px solid #429410 !important;}

.samo_container .searchmodes a.searchmode_button:hover {
color:#e95b0b}



#search_tour div.transport span.name {
	display: none !important;
}
.type_price_sl {
	display: none !important;
}

.samo_container .tour a {
text-decoration: none;}


.samo_container .icon.pt {display: block !important;}
#search_tour .prgt, #search_stat .prgt {
width: 99px !important;
height: 20px !important;
margin-top: 5px;
}
#search_tour table td.tour {
	padding: 10px;
}

#search_tour table td span.text-kurort {
    display: block;
    color: #737373;
    font-weight: 100;
}
#search_tour table td.link-hotel {
	font-weight: 600;
    color: #429410;
	min-width: 300px;
}
#search_tour table td span.room-type-sl {
	display: block;
    color: #737373;
    font-weight: 100;
}
#search_tour table td.tour {
   /* max-width: 180px;*/
}

#search_tour div.transport, #search_tour th.transport {
   	}
#search_tour td.transport{
    padding-left: 30px;
}
.samo_container .Zebra_DatePicker .dp_daypicker th {
    background-color: #429410;}
	
.samo_container table.res tr.green_row td {
	background: #b4ddac96 !important;
}
.samo_container table.res tr.red_row td {
	background: #f1afaf6b;
}
.resultset .tour br {
	display:none;
}

/*****выпадающее меню***/
.topcontent-header__nav-submenu {
    display: flex;
    z-index: 10;
    flex-direction: column;
    padding: 1rem .5rem 1rem 1.25rem;
    border-bottom: 1px solid #ccc;
    grid-gap: .6rem;
	border: 1px solid #ccc;
        border-radius: 0 0 8px 8px;
        flex-direction: row;
        flex-wrap: wrap;
        grid-gap: inherit;
        position: absolute;
        left: 0;
        padding: 1.25rem;
        top: 5.4375rem;
		        width: 1160px;
        background: #f9f9f9;
        box-shadow: 1px 1px 4px -1px #bbb;
}
.topcontent-header__nav-menu li > div.navsub-sl{
 display: none;
} 

.topcontent-header__nav-menu li:hover > div.navsub-sl{
 display: block;
}    
.topcontent-header__nav-menu-link_icon:after {
    display: block;
    content: url(https://onetouch.travel/site/img/svg/menu-arrow.svg);
    width: .375rem;
    height: .625rem;
    transition: all .3s ease;
}

.topcontent-header__nav-submenu_active {
    display: flex;
    flex-direction: column;
    padding: 1rem .5rem 1rem 1.25rem;
    border-bottom: 1px solid #ccc;
    grid-gap: .6rem;
}
.topcontent-header__nav-submenu_currencies {
    padding: .825rem 1.25rem;
    border: 1px solid #ccc;
    border-radius: 0 0 8px 8px;
    z-index: 2;
}
@media (max-width: 767px) {
    .topcontent-header__nav-submenu_currencies {
    font-size: .875rem;
    border: none;
    flex-direction: row;
    align-items: center;
    padding-left: 1.25rem;
    padding-right: 0;
}
}
.topcontent-header__nav-submenu-item {
    width: 100%;
    font-size: .875rem;
}
.topcontent-header__nav-submenu-item-link {
    cursor: pointer;
}
.topcontent-header__nav-submenu-item-link:hover {
    text-decoration: underline;
    color: #707070;
}
.topcontent-header__nav-submenu-item-link_disabled {
    cursor: text;
    color: #999;
}
.topcontent-header__nav-submenu-item-link_disabled:hover {
    text-decoration: none;
    color: #999;
}
@media (min-width: 768px) {
    .topcontent-header__nav-submenu_active {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    grid-gap: inherit;
    position: absolute;
    left: 0;
    padding: 1.25rem;
    top: 5.4375rem;
    background: #fff;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    width: 100%;
    background: #f9f9f9;
    box-shadow: 1px 1px 4px -1px #bbb;
}
.topcontent-header__nav-submenu_currencies {
    width: 10rem;
    top: 1.5625rem;
    left: -3rem;
    padding: .825rem .8rem;
    border: 1px solid #ccc;
    border-radius: 0 0 8px 8px;
}
.topcontent-header__nav-submenu-item {
    white-space: nowrap;
    flex-basis: 31%;
    padding: .5rem;
    font-size: inherit;
}
}
@media (min-width: 1140px) {
    .topcontent-header__nav-submenu_active {
    border: 1px solid #ccc;
    border-radius: 0 0 8px 8px;
}
.topcontent-header__nav-submenu-item {
    width: 100%;
    font-size: .875rem;
}
.topcontent-header__nav-submenu-item-link {
    cursor: pointer;
}
.topcontent-header__nav-submenu-item-link:hover {
    text-decoration: underline;
    color: #707070;
}
.topcontent-header__nav-submenu-item-link_disabled {
    cursor: text;
    color: #999;
}
.topcontent-header__nav-submenu-item-link_disabled:hover {
    text-decoration: none;
    color: #999;
}}
@media (min-width: 768px) {
    .topcontent-header__nav-submenu_active {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    grid-gap: inherit;
    position: absolute;
    left: 0;
    padding: 1.25rem;
    top: 5.4375rem;
    background: #fff;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    width: 100%;
    background: #f9f9f9;
    box-shadow: 1px 1px 4px -1px #bbb;
}
.topcontent-header__nav-submenu_currencies {
    width: 10rem;
    top: 1.5625rem;
    left: -3rem;
    padding: .825rem .8rem;
    border: 1px solid #ccc;
    border-radius: 0 0 8px 8px;
}}
@media (min-width: 1140px) {
    .topcontent-header__nav-submenu_active {
    border: 1px solid #ccc;
    border-radius: 0 0 8px 8px;
}}
@media (max-width: 767px) {
    .topcontent-header__nav {
    order: 1;
}}
@media (min-width: 768px) and (max-width: 850px) {
    .topcontent-header__nav {
    order: 4;
    grid-column: 1/3;
}}
@media (max-width: 767px) {
    .topcontent-header.topcontent-header_mobile-menu-active .topcontent-header__nav-menu {
    grid-template-columns: 1fr;
    grid-gap: 1rem;
}}
@media (max-width: 767px) {
    .topcontent-header.topcontent-header_mobile-menu-active .topcontent-header__mobile-item {
    border-bottom: 1px solid #dddada;
    padding-bottom: .625rem;
    width: 100%}}
@media (min-width: 768px) {
    .topcontent-header__nav-submenu-item {
        white-space: nowrap;
        flex-basis: 30%;
        padding: .5rem;
        font-size: inherit;
    }}
/****** note *******/
#search_tour .note_container {
    color: #444;
	padding-right: 30px !important;
    background-color: white;
    border: 10px solid #EDEDED;
}
#search_tour .note_container li {list-style: circle !important; }


#search_tour .filters-panel.no-ufilter .checklistbox {
height: 35px !important;}


/******** курсы валют***/

header .currency td, header .currency th {
    padding: 2px 10px;
	color: #555;
}

/*****/

#header {
margin-bottom: 0px !important;}

.samo_container button, .samo_container input[type='submit'], .samo_container input[type='button'], .samo_container .link.button {
    background: #429410;
    border-radius: 0px;
}
.samo_container button:hover, .samo_container input[type='submit']:hover, .samo_container input[type='button']:hover {
    background: #e95b0b;
}
#bron_info .additional_services, #bron_info .additional_insures, #bron_info .calc, #bron_info .bron, #bron_info #btnTownsFreight {
	background: #429410;
}
/**** sl dopy****/
.samo_container .subpanel {
background-color:#EDEDED !important;}

.fa-cart-plus:before {
    content: "+добавить" !important;
    font-family: tahoma;
    font-size: 12px;
    font-weight: normal;
    color: #ffffff;
    display: block;
    padding: 5px;
    background-color: #429410;
    margin-right: 3px;
    line-height: normal !important;
}
.fa-circle-xmark:before {
    content: "удалить" !important;
    font-family: tahoma;
    font-size: 12px;
    font-weight: normal;
    color: #ffffff;
    display: block;
    padding: 5px;
    background-color: #ff0000;
    margin-right: 3px;
    line-height: normal !important;
}
td.iconsServicesTransport i.fa-lg {
    line-height:1 !important;
}
#cl_refer .claim {
    color: black !important;
}

.subfooter__reestr-title {
    color: #888;
    margin-bottom: .3125rem;
}
/****mobile menu none***/
#header .bottom-menu {
    display: initial;
}
/**/
#modalContainer td.service-name {
    white-space: normal;
}
#header {
    background-color: var(--menu-bgcolor);
}
#modalContainer:has(#payqr_form) { height: auto; }
#bonus_manager_currency td { border-left: 1px solid #c8c8c8; text-align: center; }
#bonus_manager_currency tr td:first-child { border-left: none; text-align: left; } 
.samo_container table.bonus_manager_detail td.active { background-color: #b4ddac !important; }


/* =========================================================
   НОВАЯ АДАПТИВНАЯ ШАПКА И ФУТЕР — ПЕРЕОПРЕДЕЛЕНИЯ
   Исходный customer_34.css выше сохранён без удаления строк.
   ========================================================= */

/* css for B2B OneTouch, customer 34 */

@font-face {
    font-family: "Open Sans";
    src: url(../custom/fonts/OpenSans-Regular.woff) format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --ot-page-width: 1400px;
    --ot-header-width: 1200px;
    --ot-footer-width: 1280px;
    --ot-green: #429410;
    --ot-text: #252525;
    --ot-muted: #aaa;
    --ot-footer-bg: #d4d4d4;
}

html {
    box-sizing: border-box;
    min-width: 0;
    font-family: "Open Sans", Arial, Verdana, sans-serif;
}

body {
    min-width: 0;
    margin: 0;
    background: #fff;
}

#container_sl_samo {
    width: 100%;
    max-width: var(--ot-page-width);
    min-width: 0;
    min-height: calc(100vh - 80px);
    margin: 0 auto;
    padding-bottom: 20px;
    background: #fff;
}

.topcontent-header-wrap,
.footer-all-wrap,
.topcontent-header-wrap *,
.topcontent-header-wrap *::before,
.topcontent-header-wrap *::after,
.footer-all-wrap *,
.footer-all-wrap *::before,
.footer-all-wrap *::after {
    box-sizing: border-box;
}

.topcontent-header-wrap a,
.footer-all-wrap a {
    color: inherit;
    text-decoration: none;
}

.topcontent-header-wrap a:hover,
.footer-all-wrap a:hover {
    text-decoration: underline;
}

.topcontent-header-wrap img,
.footer-all-wrap img {
    display: block;
    max-width: 100%;
}

.topcontent-header-wrap summary,
.footer-all-wrap summary {
    list-style: none;
}

.topcontent-header-wrap summary::-webkit-details-marker,
.footer-all-wrap summary::-webkit-details-marker {
    display: none;
}

.topcontent-header-wrap ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* =========================================================
   ШАПКА
   ========================================================= */

.topcontent-header-wrap {
    width: 100%;
    background: #fff;
    border: 0;
}

.topcontent-header-inner {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #ebebeb;
}

.topcontent-header__logo img,
.ot-mobile-header__logo img {
    width: 68px;
    height: 58px;
}

.topcontent-header__location-link,
.ot-account-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.topcontent-header__location-img {
    width: 15px;
    height: 15px;
}

.ot-account-link {
    color: var(--ot-green) !important;
    text-decoration: underline !important;
    text-decoration-style: dotted !important;
    text-underline-offset: 4px;
}

.ot-account-link img {
    width: 15px;
    height: 16px;
}

.ot-header-mobile {
    display: none;
}


/* Десктопная шапка */

.ot-desktop-header {
    position: relative;
    width: 100%;
    max-width: var(--ot-header-width);
    min-height: 84px;
    margin: 0 auto;
    padding: 0 18px;
    display: grid;
    align-items: center;
    column-gap: 14px;
    color: var(--ot-text);
    font-size: 15px;
}

.ot-desktop-header__logo {
    width: 68px;
    height: 58px;
}

.topcontent-header__nav-menu {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topcontent-header__nav-menu-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    cursor: pointer;
}

.topcontent-header__nav-menu-link_icon::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-right: 2px solid var(--ot-green);
    border-bottom: 2px solid var(--ot-green);
    transform: rotate(45deg);
}

.ot-desktop-submenu {
    position: static;
}

.ot-desktop-submenu > .navsub-sl {
    display: none;
}

.ot-desktop-submenu:hover > .navsub-sl,
.ot-desktop-submenu[open] > .navsub-sl {
    display: block;
}

.topcontent-header__nav-submenu {
    position: absolute;
    z-index: 20;
    top: 84px;
    left: 18px;
    width: calc(100% - 36px);
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px 22px;
    background: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 0 0 8px 8px;
    box-shadow: 1px 1px 4px -1px #bbb;
}

.topcontent-header__nav-submenu-item {
    min-width: 0;
    padding: 7px;
}

.topcontent-header__nav-submenu-item a {
    color: #333;
}

.disabled-link {
    color: #999;
    cursor: default;
}

.ot-account-links {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
}


/* Информер курсов валют: исходная HTML/Smarty-разметка САМО */

.topcontent-header__currencies {
    min-width: 0;
}

.topcontent-header-wrap .currency-header {
    margin: 0;
}

.topcontent-header-wrap .currency.res.panel {
    width: auto;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    background: transparent;
    box-shadow: none;
}

.topcontent-header-wrap .currency td,
.topcontent-header-wrap .currency th {
    padding: 2px 8px;
    color: #555;
    background: transparent;
    border: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
}

.topcontent-header-wrap .currency th {
    font-weight: 600;
}

.ot-mobile-currency-info .currency-header {
    min-height: 46px;
    padding: 10px 0;
    overflow-x: auto;
    border-top: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
}

.ot-mobile-currency-info .currency td,
.ot-mobile-currency-info .currency th {
    padding: 2px 7px;
    font-size: 14px;
}


/* Широкий десктоп: одна строка */

@media (min-width: 991px) {
    .ot-desktop-header {
        grid-template-columns:
            68px
            max-content
            minmax(250px, 1fr)
            max-content
            max-content
            max-content;
    }

    .ot-desktop-header__logo {
        grid-column: 1;
        grid-row: 1;
    }

    .ot-desktop-header__location {
        grid-column: 2;
        grid-row: 1;
    }

    .ot-desktop-header__nav {
        grid-column: 3;
        grid-row: 1;
    }

    .ot-desktop-header__phone {
        grid-column: 4;
        grid-row: 1;
        white-space: nowrap;
    }

    .ot-desktop-header__currency {
        grid-column: 5;
        grid-row: 1;
    }

    .ot-desktop-header__accounts {
        grid-column: 6;
        grid-row: 1;
        justify-self: end;
    }
}


/* Узкий десктоп: две строки, без бургера */

@media (min-width: 771px) and (max-width: 990px) {
    .ot-desktop-header {
        min-height: 84px;
        grid-template-columns: 68px minmax(210px, auto) minmax(120px, 1fr) auto;
        grid-template-rows: 42px 42px;
        column-gap: 18px;
    }

    .ot-desktop-header__logo {
        grid-column: 1;
        grid-row: 1 / 3;
        align-self: center;
    }

    .ot-desktop-header__location {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        padding-bottom: 5px;
    }

    .ot-desktop-header__phone {
        grid-column: 3;
        grid-row: 1;
        align-self: end;
        justify-self: center;
        padding-bottom: 5px;
        white-space: nowrap;
    }

    .ot-desktop-header__accounts {
        grid-column: 4;
        grid-row: 1;
        align-self: end;
        justify-self: end;
        padding-bottom: 5px;
    }

    .ot-desktop-header__nav {
        grid-column: 2 / 4;
        grid-row: 2;
        align-self: start;
        padding-top: 5px;
    }

    .ot-desktop-header__currency {
        grid-column: 4;
        grid-row: 2;
        align-self: start;
        justify-self: start;
        padding-top: 3px;
    }

    .topcontent-header__nav-menu {
        gap: 18px;
    }
}


/* Мобильная шапка */

@media (max-width: 770px) {
    #container_sl_samo {
        width: 100%;
        min-width: 0;
        max-width: none;
        margin: 0;
    }

    .ot-header-desktop {
        display: none;
    }

    .ot-header-mobile {
        display: block;
    }

    .ot-mobile-header {
        position: relative;
        width: 100%;
        min-height: 84px;
        padding: 0 18px;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) 68px;
        gap: 8px;
        align-items: center;
        color: var(--ot-text);
    }

    .ot-mobile-menu {
        grid-column: 1;
        grid-row: 1;
    }

    .ot-mobile-menu__toggle {
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .ot-mobile-menu__burger,
    .ot-mobile-menu__burger::before,
    .ot-mobile-menu__burger::after {
        display: block;
        width: 25px;
        height: 3px;
        border-radius: 2px;
        background: #979797;
    }

    .ot-mobile-menu__burger {
        position: relative;
        transition: background .15s ease;
    }

    .ot-mobile-menu__burger::before,
    .ot-mobile-menu__burger::after {
        content: "";
        position: absolute;
        left: 0;
        transition: transform .15s ease, top .15s ease;
    }

    .ot-mobile-menu__burger::before {
        top: -8px;
    }

    .ot-mobile-menu__burger::after {
        top: 8px;
    }

    .ot-mobile-menu[open] .ot-mobile-menu__burger {
        background: transparent;
    }

    .ot-mobile-menu[open] .ot-mobile-menu__burger::before {
        top: 0;
        transform: rotate(45deg);
    }

    .ot-mobile-menu[open] .ot-mobile-menu__burger::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .ot-mobile-header__phone {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        color: var(--ot-text);
        white-space: nowrap;
        font-size: 16px;
    }

    .ot-mobile-header__logo {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        width: 68px;
        height: 58px;
    }

    .ot-mobile-menu__panel {
        position: absolute;
        z-index: 50;
        top: 84px;
        left: 0;
        width: 100%;
        min-height: calc(100vh - 84px);
        padding: 8px 10px 24px;
        background: #f7f7f7;
        border-top: 1px solid #eee;
        box-shadow: 0 6px 12px rgba(0, 0, 0, .08);
    }

    .ot-mobile-menu__row {
        position: relative;
        width: 100%;
        min-height: 40px;
        padding: 9px 0;
        display: flex;
        align-items: center;
        gap: 5px;
        color: #222;
        font-size: 17px;
        border-bottom: 1px solid #dedede;
    }

    .ot-mobile-menu__row_muted {
        color: #777;
    }

    .ot-mobile-menu__row_green {
        color: var(--ot-green) !important;
        text-decoration: underline !important;
        text-decoration-style: dotted !important;
        text-underline-offset: 4px;
    }

    .ot-mobile-menu__row img {
        width: 15px;
        flex: 0 0 15px;
    }

    .ot-mobile-menu__row_submenu {
        border-bottom: 0;
        cursor: pointer;
    }

    .ot-mobile-menu__row_submenu::after {
        content: "";
        width: 6px;
        height: 6px;
        margin-left: 4px;
        margin-top: -4px;
        border-right: 2px solid var(--ot-green);
        border-bottom: 2px solid var(--ot-green);
        transform: rotate(45deg);
    }

    .ot-mobile-submenu[open] > .ot-mobile-menu__row_submenu::after {
        margin-top: 4px;
        transform: rotate(225deg);
    }

    .ot-mobile-submenu__content {
        padding: 0 0 8px 14px;
        display: flex;
        flex-direction: column;
    }

    .ot-mobile-submenu__content a,
    .ot-mobile-submenu__content span {
        padding: 7px 0;
        color: #555;
        font-size: 16px;
    }

    .ot-mobile-submenu__content span {
        color: #aaa;
    }

}


/* =========================================================
   ФУТЕР
   ========================================================= */

.footer-all-wrap {
    width: 100%;
    max-width: none;
    margin: 20px 0 0;
    padding: 20px 28px;
    color: var(--ot-text);
    background-color: #d4d4d4;
}

.footer-inner {
    width: calc(100% - 56px);
    max-width: var(--ot-footer-width);
    margin: 0 auto;
}

.footer-navigation_desktop {
    display: grid;
    gap: 20px;
}

.footer-navigation_mobile {
    display: none;
}

.footer-column__title {
    margin: 0 0 14px;
    color: var(--ot-muted);
    font-size: 17px;
    font-weight: 400;
}

.footer-column__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column__links a {
    font-size: 16px;
}

.footer-column__links_compact {
    gap: 6px;
}

.footer-column__title_social {
    margin-top: 10px;
    margin-bottom: 8px;
}

.footer-social {
    display: flex;
    gap: 6px;
}

.footer-social img {
    width: 26px;
    height: 26px;
}


/* 4 колонки на широком десктопе */

@media (min-width: 1024px) {
    .footer-navigation_desktop {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}


/* 2 колонки на узком десктопе и планшете */

@media (min-width: 601px) and (max-width: 1023px) {
    .footer-navigation_desktop {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 44px;
    }
}


/* Мобильный футер */

@media (max-width: 600px) {
    .footer-all-wrap {
        margin-top: 0;
        padding: 10px 10px 14px;
    }

    .footer-inner {
        width: 100%;
    }

    .footer-navigation_desktop {
        display: none;
    }

    .footer-navigation_mobile {
        display: block;
    }

    .footer-accordion summary {
        position: relative;
        min-height: 37px;
        padding: 9px 24px 9px 0;
        display: flex;
        align-items: center;
        font-size: 16px;
        cursor: pointer;
    }

    .footer-accordion summary::after {
        content: "";
        position: absolute;
        right: 3px;
        top: 50%;
        width: 6px;
        height: 6px;
        border-right: 2px solid var(--ot-green);
        border-bottom: 2px solid var(--ot-green);
        transform: translateY(-70%) rotate(45deg);
    }

    .footer-accordion[open] summary::after {
        transform: translateY(-30%) rotate(225deg);
    }

    .footer-accordion__content {
        padding: 2px 0 12px 14px;
        display: flex;
        flex-direction: column;
        gap: 9px;
    }

    .footer-accordion__content a {
        font-size: 16px;
    }

    .footer-mobile-contact {
        margin-top: 7px;
        padding: 19px 0;
        display: flex;
        flex-direction: column;
        gap: 5px;
        border-top: 1px solid #4b4b4b;
        border-bottom: 1px solid #4b4b4b;
    }

    .footer-mobile-contact h2 {
        margin: 0 0 2px;
        color: var(--ot-muted);
        font-size: 16px;
        font-weight: 400;
    }

    .footer-mobile-contact a {
        font-size: 16px;
    }

    .footer-mobile-contact__social-title {
        margin-top: 8px !important;
    }
}


/* Нижняя часть футера */

.subfooter {
    margin-top: 20px;
    padding-top: 18px;
    display: grid;
    grid-template-columns: 195px minmax(0, 1fr);
    gap: 12px 16px;
    align-items: start;
    border-top: 1px solid #555;
}

.subfooter__registry {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    font-size: 13px;
    line-height: 1.35;
}

.subfooter__registry img {
    width: 38px;
    height: auto;
}

.subfooter__registry a {
    display: block;
}

.subfooter__muted {
    margin-bottom: 2px;
    color: #999;
}

.subfooter__legal {
    font-size: 13px;
    line-height: 1.35;
}

@media (max-width: 600px) {
    .subfooter {
        margin-top: 0;
        padding-top: 18px;
        display: flex;
        flex-direction: column;
        gap: 0;
        border-top: 0;
    }

    .subfooter__registry {
        width: 100%;
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 8px;
        font-size: 13px;
    }

    .subfooter__registry img {
        width: 34px;
    }

    .subfooter__registry_operator {
        order: 1;
    }

    .subfooter__registry_rst {
        order: 2;
        margin-top: 10px;
    }

    .subfooter__legal_offer {
        order: 3;
        margin-top: 15px;
    }

    .subfooter__legal_copyright {
        order: 4;
        margin-top: 12px;
    }
}
