/*
Theme Name: Jap-Papa Theme
Theme URI: https://jap-papa.ru
Author: Jap-Papa
Author URI: https://jap-papa.ru
Description: Тема для автосервиса Jap-Papa - ремонт японских автомобилей Toyota, Mitsubishi, Lexus
Version: 1.0.73
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jap-papa
Tags: custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

@charset "UTF-8";

.owl-carousel, .owl-carousel .owl-item {
  -webkit-tap-highlight-color: transparent;
  position: relative; }

.owl-carousel {
  display: none;
  width: 100%;
  z-index: 1; }

.owl-carousel .owl-stage {
  position: relative;
  -ms-touch-action: pan-Y; }

.owl-carousel .owl-stage:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0; }

.owl-carousel .owl-stage-outer {
  position: relative;
  overflow: hidden;
  -webkit-transform: translate3d(0, 0, 0); }

.owl-carousel .owl-item {
  min-height: 1px;
  float: left;
  -webkit-backface-visibility: hidden;
  -webkit-touch-callout: none; }

.owl-carousel .owl-item img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-transform-style: preserve-3d; }

@media only screen and (max-width: 767px) {
  .owl-carousel {
    display: block;
  }
  
  .owl-carousel .owl-item {
    min-height: auto;
  }
}

.owl-carousel .owl-dots.disabled, .owl-carousel .owl-nav.disabled {
  display: none; }

.no-js .owl-carousel, .owl-carousel.owl-loaded {
  display: block; }

.owl-carousel .owl-dot, .owl-carousel .owl-nav .owl-next, .owl-carousel .owl-nav .owl-prev {
  cursor: pointer;
  cursor: hand;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; }

.owl-carousel.owl-loading {
  opacity: 0;
  display: block; }

.owl-carousel.owl-hidden {
  opacity: 0; }

.owl-carousel.owl-refresh .owl-item {
  visibility: hidden; }

.owl-carousel.owl-drag .owl-item {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; }

.owl-carousel.owl-grab {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab; }

.owl-carousel.owl-rtl {
  direction: rtl; }

.owl-carousel.owl-rtl .owl-item {
  float: right; }

.owl-carousel .animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both; }

.owl-carousel .owl-animated-in {
  z-index: 0; }

.owl-carousel .owl-animated-out {
  z-index: 1; }

.owl-carousel .fadeOut {
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut; }

@-webkit-keyframes fadeOut {
  0% {
    opacity: 1; }
  100% {
    opacity: 0; } }

@keyframes fadeOut {
  0% {
    opacity: 1; }
  100% {
    opacity: 0; } }

.owl-height {
  -webkit-transition: height .5s ease-in-out;
  -o-transition: height .5s ease-in-out;
  transition: height .5s ease-in-out; }

.owl-carousel .owl-item .owl-lazy {
  opacity: 0;
  -webkit-transition: opacity .4s ease;
  -o-transition: opacity .4s ease;
  transition: opacity .4s ease; }

.owl-carousel .owl-item img.owl-lazy {
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d; }

.owl-carousel .owl-video-wrapper {
  position: relative;
  height: 100%;
  background: #000; }

.owl-carousel .owl-video-play-icon {
  position: absolute;
  height: 80px;
  width: 80px;
  left: 50%;
  top: 50%;
  margin-left: -40px;
  margin-top: -40px;
  background: url(owl.video.play.png) no-repeat;
  cursor: pointer;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  transition: -webkit-transform .1s ease;
  -webkit-transition: -webkit-transform .1s ease;
  -o-transition: transform .1s ease;
  transition: transform .1s ease;
  transition: transform .1s ease, -webkit-transform .1s ease; }

.owl-carousel .owl-video-play-icon:hover {
  -webkit-transform: scale(1.3, 1.3);
  -ms-transform: scale(1.3, 1.3);
  transform: scale(1.3, 1.3); }

.owl-carousel .owl-video-playing .owl-video-play-icon, .owl-carousel .owl-video-playing .owl-video-tn {
  display: none; }

.owl-carousel .owl-video-tn {
  opacity: 0;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-transition: opacity .4s ease;
  -o-transition: opacity .4s ease;
  transition: opacity .4s ease; }

.owl-carousel .owl-video-frame {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%; }

/* ==========================================================================
   Base styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "Oswald", "Roboto Condensed", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    background-color: #fff;
    min-width: 320px;
    overflow-x: hidden;
    position: relative;
    font-weight: 300;
    height: 100%;
}

a {
    color: #ED1C24;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #f14b52;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

p, strong, table, ul {
    font-size: 1rem;
    color: #444;
    margin: 0 0 16px;
    line-height: 1.56rem;
    letter-spacing: .011em;
}

input:focus {
    outline: none;
}

button:focus,
a:focus,
a:hover {
    text-decoration: none;
    outline: none;
    color: #ED1C24;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    line-height: 1;
}

h1 {
    font-size: 2.875rem;
    line-height: 1;
}

h2 {
    font-size: 2.375rem;
}

h3 {
    font-size: 1.75rem;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

/* Model intro block: breadcrumb + image(left) + text(right) */
.content_wrap > .container > .row > .breadcrumb {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}

.content_wrap > .container > .row > .breadcrumb + .col-sm-5 {
    flex: 0 0 41.66666667%;
    max-width: 41.66666667%;
}

.content_wrap > .container > .row > .breadcrumb + .col-sm-5 + .col-sm-7 {
    flex: 0 0 58.33333333%;
    max-width: 58.33333333%;
}

.col {
    flex: 1;
    padding: 0 15px;
}

.wrapp {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.content_wrap {
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: auto;
    min-height: 320px;
    margin-top: 10px;
}

.content_wrap > .page_top:first-child {
    margin-top: -10px;
}

body.home .content_wrap,
body.front-page .content_wrap {
    margin-top: 0;
}

/* ==========================================================================
   Bootstrap Utility Classes
   ========================================================================== */

.hidden-xs {
    display: block !important;
}

.visible-xs {
    display: none !important;
}

@media only screen and (max-width: 767px) {
    .hidden-xs {
        display: none !important;
    }
    
    .visible-xs {
        display: block !important;
    }
}

.header_top__wrap {
    background: #000 url(img/top-bg.png);
}

.header_top__btn {
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    background: #222;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .03em;
    transition: all .3s;
    border-right: solid 1px rgba(255, 255, 255, 0.2);
    border-left: solid 1px #000;
    font-size: .95em;
    font-weight: 300;
}

.header_top__btn:first-child {
    border-left: none;
}

.header_top__btn:last-child {
    border-right: none;
}

.header_top__btn:hover {
    background: #ED1C24;
    color: #fff;
}

.header_top__btn:hover .fas {
    color: #fff;
}

.header_top__btn .fas {
    font-size: 18px;
    padding-left: 10px;
    color: #ED1C24;
    transition: all .3s;
}

.header_top__btn span {
    margin-left: 10px;
}

.logo {
    font-size: 1.8em;
    line-height: 1.4;
    transition: all .3s;
    font-weight: 500;
    color: #fff;
    position: relative;
    padding-left: 28px;
    min-height: 70px;
    display: block;
    letter-spacing: .06em;
    margin: 20px 0 10px;
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.5);
}

.logo span {
    color: #ED1C24;
    padding-left: .1em;
    transition: all .3s;
    font-weight: 500;
}

.logo:hover span {
    color: #fff;
}

.logo .logo_subtitle {
    font-size: 14px;
    display: block;
    font-style: normal;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: .56em;
}

.header_top__right {
    display: flex;
    justify-content: flex-end;
    margin-right: 15px;
    margin-left: 15px;
}

.header_top__brendlogo {
    height: 50px;
    width: 50px;
    display: block;
    overflow: hidden;
    position: relative;
}

.header_top__brendlogo img {
    position: absolute;
    object-fit: cover;
    top: 0;
    left: 0;
    width: 100%;
}

.nav_top {
    display: flex;
    justify-content: space-between;
}

.header_nav {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 20px 0;
    padding: 0;
    text-transform: uppercase;
    font-size: 1em;
    letter-spacing: .08em;
    font-weight: 500;
}

.header_nav li:nth-child(3) {
    margin-left: 40px;
}

.header_nav li {
    margin: 0 8px;
}

.header_nav a {
    color: #fff;
    padding: 8px 12px;
    margin: 0;
    transition: all .3s;
    display: block;
}

.header_nav a:hover {
    color: #ED1C24;
}

.header_nav .active_nav {
    color: #ED1C24;
}

.w_time {
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: 300;
    letter-spacing: .05em;
}

.w_time i {
    color: #ED1C24;
    padding-right: 3px;
}



@media only screen and (min-width: 768px) {
    .nav_btn {
        display: none !important;
    }
    
    .header_nav {
        display: flex !important;
    }
    
    nav.nav_top {
        position: static !important;
        top: auto !important;
        opacity: 1 !important;
        z-index: auto !important;
        background: transparent !important;
        width: auto !important;
        left: auto !important;
        pointer-events: auto !important;
    }
}

@media only screen and (min-width: 992px) {
    .header_top__right {
        width: 100%;
        justify-content: flex-end !important;
        margin-left: auto;
        margin-right: 0;
    }

    .nav_top {
        justify-content: flex-end;
        align-items: center;
    }

    .header_nav {
        margin: 20px 12px 20px auto;
        padding: 0;
        display: flex;
        align-items: center;
        list-style: none;
    }

    .header_nav a {
        white-space: nowrap;
    }

    .w_time {
        margin-left: 6px;
        white-space: nowrap;
    }
}

.nav_btn {
    border: none !important;
    background: none !important;
    font-size: 14px;
    text-transform: uppercase;
    height: 28px;
    padding: 0 .11em;
    position: relative;
    transition: all .3s;
    cursor: pointer;
    color: #fff;
    letter-spacing: .04em;
    float: right;
    margin-top: 18px;
    display: none !important;
    font-weight: 500;
}

.nav_btn:before {
    content: '';
    position: absolute;
    width: 100%;
    top: 4px;
    left: 0;
    border: solid 1px #fff;
    transition: all .3s;
}

.nav_btn:after {
    content: '';
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    border: solid 1px #fff;
    transition: all .3s;
}

.nav_btn span {
    transition: all .3s;
    display: block;
}

.nav_btn__close:before {
    content: '';
    position: absolute;
    width: 36px;
    top: 14px;
    left: 0;
    border: solid 1px #fff;
    transform: rotate(-45deg);
}

.nav_btn__close:after {
    content: '';
    position: absolute;
    width: 36px;
    bottom: 12px;
    left: 0;
    border: solid 1px #fff;
    transform: rotate(45deg);
}

.nav_btn__close span {
    transform: scale(0);
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    width: 100%;
    margin-top: 40px;
    padding-top: 40px;
    background: #444;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    color: #fff;
}

footer h3 {
    font-size: 1.375em;
    font-weight: 300;
    letter-spacing: .03em;
}

.footer_block__nav {
    list-style: none;
    padding: 0;
    letter-spacing: .03em;
    font-weight: 300;
    margin-bottom: 40px;
    font-size: 1em;
}

.footer_block__nav a {
    color: rgba(255, 255, 255, 0.7);
    padding: 3px;
    display: inline-block;
    transition: all .3s;
    position: relative;
    padding-left: 10px;
}

.footer_block__nav a .fas {
    font-size: 8px;
    margin-right: 3px;
    color: #ED1C24;
    position: absolute;
    top: 50%;
    margin-top: -4px;
    margin-left: -10px;
    transition: all .5s;
}

.footer_block__nav a:hover {
    color: #ED1C24;
    padding-left: 8px;
}

.footer_block__nav a:hover .fas {
    margin-left: -6px;
    color: #fff;
}

.footer_contact li {
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: .3em;
}

.footer_contact i {
    color: #ED1C24;
}

.footer_contact a {
    margin-left: 0;
    padding-left: 20px;
}

.footer_contact a .fas {
    font-size: 15px;
    margin-top: -20px;
    margin-left: -20px;
}

.footer_contact a:hover {
    padding-left: 20px;
}

.footer_contact a:hover .fas {
    margin-left: -20px;
}

.footer_contact .f_phone .fas {
    transform: rotate(100deg);
    margin-top: -6px;
}

.footer_contact .f_phone a {
    padding-left: 3px;
}

.footer_contact .f_address {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
}

.footer_contact .f_address i {
    font-size: 18px;
    margin-top: 2px;
    margin-right: 6px;
    -ms-flex-negative: 0;
        flex-shrink: 0;
}

.footer_contact .f_address a {
    padding-left: 0;
}

.footer_contact .f_time .far {
    font-size: 18px;
    margin-left: -2px;
}

.footer_contact .social {
    display: flex;
    margin: 20px;
}

.footer_contact .social a {
    padding-left: 0;
    margin-right: 12px;
}

.footer_contact .social a i {
    color: #fff;
    transition: all 0.3s;
}

.footer_contact .social a:hover i {
    color: #ED1C24;
}

.footer_bot {
    background: #222;
    padding: 15px 0;
}

.footer_bot p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8125em;
    font-weight: 300;
    letter-spacing: .04em;
    line-height: 1;
    margin: 0;
}

.footer_bot p b {
    font-weight: 300;
}

/* ==========================================================================
   Mobile Bar
   ========================================================================== */

.mobile-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 60px;
    height: auto;
    background: #222;
    z-index: 100;
    box-sizing: border-box;
}

.btn-mob {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 33%;
    min-height: 60px;
    padding: 8px 5px;
    color: #fff;
    text-decoration: none;
}

.btn-mob span {
    font-size: .9em;
    letter-spacing: .04em;
}

.mobile-bar a.mgo-number-17418 {
    display: none;
    position: absolute;
    height: 100px;
    opacity: 0;
    pointer-events: none;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.white-popup {
    position: relative;
    background: #FFF;
    padding: 25px;
    width: auto;
    max-width: 640px;
    margin: 0 auto;
    border-top: solid 2px red;
}

.white-popup h2 {
    text-align: center;
    text-transform: uppercase;
    font-size: 22px;
    margin: 12px 0 24px;
}

.white-popup form {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.white-popup input {
    color: #333;
    border-width: 1px;
    border-color: #444;
    display: flex;
    padding: 12px 6px;
    margin-bottom: 20px;
    width: 100%;
    font-weight: 300;
}

.white-popup label {
    color: #444;
}

.white-popup .msg {
    width: 100%;
    height: 120px;
    padding: 8px;
    border: solid 2px;
    margin: 20px 0 0;
}

.white-popup p {
    text-align: center;
}

.white-popup input.btn {
    color: #fff;
    max-width: 230px;
    min-width: 200px;
    line-height: 1.3;
    font-weight: 400;
    border: none;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    border: none;
    font-size: 1.125rem;
    color: #fff;
    padding: 11.11111px 20px;
    min-width: 150px;
    letter-spacing: 1px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    text-decoration: none;
    color: #fff;
}

.btn_accent {
    background: #ED1C24;
    border: solid 1px #ED1C24;
    border-radius: 3px;
    transition: background .3s;
}

.btn_accent:hover {
    background: #f14b52;
}

.btn_dark {
    background: #444;
    border: solid 1px #4F4F4F;
    border-radius: 3px;
    transition: all .3s;
}

.btn_dark:hover {
    background: #5e5e5e;
}

/* ==========================================================================
   Page Templates
   ========================================================================== */

.page_top {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    margin-bottom: 40px;
    padding-top: 100px;
    min-height: 250px;
}

.page_top:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
}

.page_title {
    display: flex;
    flex-direction: column;
    color: #fff;
    justify-content: center;
    min-height: 280px;
    padding: 0 30px;
}

.page_title h1 {
    margin-bottom: 10px;
    letter-spacing: .02em;
    line-height: 1.2;
    max-width: 630px;
}

.page_title p {
    color: #fff;
    font-size: 1.125em;
    letter-spacing: .03em;
    padding-left: .1em;
}

.content_page {
    margin-top: 130px;
}

/* ==========================================================================
   Main Content
   ========================================================================== */

.main_content h2 {
    margin: 40px 0 20px;
}

.main_content ul {
    padding: 0 0 0 20px;
    line-height: 1.3em;
    list-style: none;
}

.main_content ul li {
    margin-bottom: .6em;
}

.main_content ul li:before {
    content: "\2022";
    color: #ED1C24;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.main_content ul li a b {
    color: #444;
    transition: all .3s;
}

.main_content ul li a:hover b {
    color: #ED1C24;
}

.main_content img {
    padding: 0 1em 1em;
}

/* ==========================================================================
   News Preview
   ========================================================================== */

.news_prev {
    margin-bottom: 40px;
}

.news_prev img {
    margin-bottom: 20px;
}

.news_prev h3 {
    margin-bottom: .4em;
}

.news_prev a {
    color: #ED1C24;
}

.news_prev li {
    margin-bottom: 5px;
}

.news_prev p {
    line-height: 1.6;
}

/* ==========================================================================
   Tables
   ========================================================================== */

.to_work,
.to_work_table {
    width: 100%;
    text-align: left;
    table-layout: fixed;
}

.to_work tr,
.to_work_table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    transition: all .3s;
}

.to_work tr:hover,
.to_work_table tr:hover {
    background: rgba(34, 34, 34, 0.15);
}

.to_work th,
.to_work_table th {
    padding: 20px;
    font-size: 21px;
    line-height: 1.1;
}

.to_work td,
.to_work_table td {
    padding: 18px 20px;
}

.to_work td:last-child,
.to_work_table td:last-child {
    width: 220px;
}

.to_work .to_price,
.to_work .to_price_table,
.to_work_table .to_price,
.to_work_table .to_price_table {
    text-align: right;
}

.to_work .to_price_title,
.to_work_table .to_price_title {
    text-align: right;
}

.to_work .total_price,
.to_work_table .total_price {
    text-align: right;
    min-width: 220px;
    white-space: nowrap;
    font-weight: 700;
}

.to_work tr.total td,
.to_work_table tr.total td {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    font-size: 1.125em;
    font-weight: 700;
}

.to_work tr.total:hover td,
.to_work_table tr.total:hover td {
    background: rgba(0, 0, 0, 0.62);
}

.calc_actions {
    text-align: right;
    margin-top: 28px;
    margin-bottom: 34px;
}

.calc_actions h4 {
    margin: 0 0 18px;
}

.calc_actions .btn {
    margin-top: 4px;
}

.service_list {
    margin-bottom: 40px;
}

.service_list h2 {
    font-size: 1.75em;
    margin-bottom: 18px;
}

.service_list ul {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    line-height: 1.3;
}

.service_list li {
    margin-bottom: 3px;
}

.calc_wrap {
    margin-bottom: 80px;
}

/* ==========================================================================
   Price Accordion
   ========================================================================== */

.price-accordion-frame {
    border: none;
    margin-top: 20px;
    margin-bottom: 28px;
    background: #fff;
}

.a_title {
    font-size: 1.45em;
    padding: 20px;
    background: #444 url(img/top-bg.png);
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all .3s;
}

.a_title:first-child {
    border-top: 0;
}

.a_title h3 {
    margin: 0;
    line-height: 1.2;
}

.a_title:hover {
    color: #ED1C24;
    cursor: pointer;
}

.a_title:before {
    content: "";
    width: 20px;
    height: 1px;
    background: #fff;
    position: absolute;
    right: 20px;
    top: 50%;
    transition: all .3s;
}

.a_title:after {
    content: "";
    width: 1px;
    height: 20px;
    background: #fff;
    position: absolute;
    right: 30px;
    top: 50%;
    margin-top: -10px;
    transition: all .3s;
}

.a_title.active {
    background-color: rgba(68, 68, 68, 0.85);
}

.a_title.active:before,
.a_title.active:after {
    transform: rotate(45deg);
}

.panel {
    padding: 0 20px;
    background-color: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height .24s ease-out;
}

.panel .to_work_table {
    margin-bottom: 12px;
}

.panel .to_work_table:last-child {
    margin-bottom: 22px;
}

.price-subsection {
    margin: 18px 0 10px;
    font-size: 1.2em;
}

/* ==========================================================================
   Cruiser Model Layout Spacing (Land Cruiser / Prado / Hilux / Tundra / Sequoia)
   ========================================================================== */

.model-layout-cruiser > .container > .row:first-of-type {
    margin-bottom: 42px;
}

.model-layout-cruiser > .container > .row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.model-layout-cruiser > .container > .row > .breadcrumb {
    flex: 0 0 100%;
    max-width: 100%;
}

.model-layout-cruiser > .container > .row > .col-sm-5 {
    flex: 0 0 41.66666667%;
    max-width: 41.66666667%;
}

.model-layout-cruiser > .container > .row > .col-sm-7 {
    flex: 0 0 58.33333333%;
    max-width: 58.33333333%;
}

.model-layout-cruiser .breadcrumb {
    margin: 0 0 28px;
}

.model-layout-cruiser .service_list {
    margin-bottom: 54px;
}

.model-layout-cruiser .service_list h2 {
    margin-bottom: 18px;
}

.model-layout-cruiser .service_list p {
    line-height: 1.7;
    margin-bottom: 0;
}

.model-layout-cruiser > .container > h2 {
    margin: 56px 0 26px;
    line-height: 1.25;
}

.model-layout-cruiser .calc_wrap {
    margin-top: 8px;
    margin-bottom: 96px;
}

.model-layout-cruiser .calc_actions {
    margin-top: 40px;
    margin-bottom: 52px;
}

.model-layout-cruiser .to_work_table {
    margin-top: 14px;
    margin-bottom: 46px;
}

.model-layout-cruiser > .container > p {
    margin: 0 0 32px;
    line-height: 1.72;
}

.model-layout-cruiser > .container > .btn_accent.popup-with-form {
    margin: 10px 0 44px;
}

.model-layout-cruiser > .container > .gallery.owl-carousel {
    margin-top: 24px;
    margin-bottom: 56px;
}

/* ==========================================================================
   All Brand Model Pages (Toyota / Mitsubishi / Lexus)
   ========================================================================== */

body:is([class*="page-template-template-toyota-"], [class*="page-template-template-mitsubishi-"], [class*="page-template-template-lexus-"]):not([class*="page-template-template-toyota-index-php"]):not([class*="page-template-template-mitsubishi-index-php"]):not([class*="page-template-template-lexus-index-php"]) .content_wrap {
    margin-top: 0;
}

body:is([class*="page-template-template-toyota-"], [class*="page-template-template-mitsubishi-"], [class*="page-template-template-lexus-"]):not([class*="page-template-template-toyota-index-php"]):not([class*="page-template-template-mitsubishi-index-php"]):not([class*="page-template-template-lexus-index-php"]) .content_wrap > .container > .row:first-of-type {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

body:is([class*="page-template-template-toyota-"], [class*="page-template-template-mitsubishi-"], [class*="page-template-template-lexus-"]):not([class*="page-template-template-toyota-index-php"]):not([class*="page-template-template-mitsubishi-index-php"]):not([class*="page-template-template-lexus-index-php"]) .content_wrap > .container > .row:first-of-type > .breadcrumb {
    flex: 0 0 100%;
    max-width: 100%;
}

body:is([class*="page-template-template-toyota-"], [class*="page-template-template-mitsubishi-"], [class*="page-template-template-lexus-"]):not([class*="page-template-template-toyota-index-php"]):not([class*="page-template-template-mitsubishi-index-php"]):not([class*="page-template-template-lexus-index-php"]) .content_wrap > .container > .row:first-of-type > .col-sm-5 {
    flex: 0 0 41.66666667%;
    max-width: 41.66666667%;
}

body:is([class*="page-template-template-toyota-"], [class*="page-template-template-mitsubishi-"], [class*="page-template-template-lexus-"]):not([class*="page-template-template-toyota-index-php"]):not([class*="page-template-template-mitsubishi-index-php"]):not([class*="page-template-template-lexus-index-php"]) .content_wrap > .container > .row:first-of-type > .col-sm-7 {
    flex: 0 0 58.33333333%;
    max-width: 58.33333333%;
}

body:is([class*="page-template-template-toyota-"], [class*="page-template-template-mitsubishi-"], [class*="page-template-template-lexus-"]):not([class*="page-template-template-toyota-index-php"]):not([class*="page-template-template-mitsubishi-index-php"]):not([class*="page-template-template-lexus-index-php"]) .content_wrap > .container > .row:first-of-type {
    margin-bottom: 42px;
}

body:is([class*="page-template-template-toyota-"], [class*="page-template-template-mitsubishi-"], [class*="page-template-template-lexus-"]):not([class*="page-template-template-toyota-index-php"]):not([class*="page-template-template-mitsubishi-index-php"]):not([class*="page-template-template-lexus-index-php"]) .breadcrumb {
    margin: 0 0 28px;
}

body:is([class*="page-template-template-toyota-"], [class*="page-template-template-mitsubishi-"], [class*="page-template-template-lexus-"]):not([class*="page-template-template-toyota-index-php"]):not([class*="page-template-template-mitsubishi-index-php"]):not([class*="page-template-template-lexus-index-php"]) .service_list {
    margin-bottom: 54px;
}

body:is([class*="page-template-template-toyota-"], [class*="page-template-template-mitsubishi-"], [class*="page-template-template-lexus-"]):not([class*="page-template-template-toyota-index-php"]):not([class*="page-template-template-mitsubishi-index-php"]):not([class*="page-template-template-lexus-index-php"]) .service_list h2 {
    margin-bottom: 18px;
}

body:is([class*="page-template-template-toyota-"], [class*="page-template-template-mitsubishi-"], [class*="page-template-template-lexus-"]):not([class*="page-template-template-toyota-index-php"]):not([class*="page-template-template-mitsubishi-index-php"]):not([class*="page-template-template-lexus-index-php"]) .service_list p {
    line-height: 1.7;
    margin-bottom: 0;
}

body:is([class*="page-template-template-toyota-"], [class*="page-template-template-mitsubishi-"], [class*="page-template-template-lexus-"]):not([class*="page-template-template-toyota-index-php"]):not([class*="page-template-template-mitsubishi-index-php"]):not([class*="page-template-template-lexus-index-php"]) .content_wrap > .container > h2 {
    margin: 56px 0 26px;
    line-height: 1.25;
}

body:is([class*="page-template-template-toyota-"], [class*="page-template-template-mitsubishi-"], [class*="page-template-template-lexus-"]):not([class*="page-template-template-toyota-index-php"]):not([class*="page-template-template-mitsubishi-index-php"]):not([class*="page-template-template-lexus-index-php"]) .calc_wrap {
    margin-top: 8px;
    margin-bottom: 96px;
}

body:is([class*="page-template-template-toyota-"], [class*="page-template-template-mitsubishi-"], [class*="page-template-template-lexus-"]):not([class*="page-template-template-toyota-index-php"]):not([class*="page-template-template-mitsubishi-index-php"]):not([class*="page-template-template-lexus-index-php"]) .to_work_table {
    margin-top: 14px;
    margin-bottom: 46px;
}

body:is([class*="page-template-template-toyota-"], [class*="page-template-template-mitsubishi-"], [class*="page-template-template-lexus-"]):not([class*="page-template-template-toyota-index-php"]):not([class*="page-template-template-mitsubishi-index-php"]):not([class*="page-template-template-lexus-index-php"]) .content_wrap > .container > p {
    margin: 0 0 32px;
    line-height: 1.72;
}

body:is([class*="page-template-template-toyota-"], [class*="page-template-template-mitsubishi-"], [class*="page-template-template-lexus-"]):not([class*="page-template-template-toyota-index-php"]):not([class*="page-template-template-mitsubishi-index-php"]):not([class*="page-template-template-lexus-index-php"]) .content_wrap > .container > .btn_accent.popup-with-form {
    margin: 10px 0 44px;
}

body:is([class*="page-template-template-toyota-"], [class*="page-template-template-mitsubishi-"], [class*="page-template-template-lexus-"]):not([class*="page-template-template-toyota-index-php"]):not([class*="page-template-template-mitsubishi-index-php"]):not([class*="page-template-template-lexus-index-php"]) .content_wrap > .container > .gallery.owl-carousel {
    margin-top: 24px;
    margin-bottom: 56px;
}

/* ==========================================================================
   Services
   ========================================================================== */

.services {
     padding-top: 0;
     padding-bottom: 40px; }

.block_service {
     display: -webkit-box;
     display: -ms-flexbox;
     display: flex;
     -webkit-box-orient: vertical;
     -webkit-box-direction: normal;
     -ms-flex-direction: column;
     flex-direction: column;
     -webkit-box-align: center;
     -ms-flex-align: center;
     align-items: center;
     color: #444;
     min-height: 180px;
     -webkit-box-pack: justify;
     -ms-flex-pack: justify;
     justify-content: space-between;
     border: solid 1px rgba(0, 0, 0, 0.1);
     text-shadow: 0 1px 1px #fff;
     background: rgba(255, 255, 255, 0.2);
     border-bottom: solid 2px #ED1C24;
     -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
     box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
     margin-bottom: 20px;
     -webkit-transition: all .3s;
     -o-transition: all .3s;
     transition: all .3s; }
   .block_service i {
     font-size: 4em;
     margin-top: 20px;
     -webkit-transition: all .3s;
     -o-transition: all .3s;
     transition: all .3s; }
   .block_service h3 {
     font-size: 1.625em;
     font-weight: 400;
     -webkit-transition: all .3s;
     -o-transition: all .3s;
     transition: all .3s; }
   .block_service:hover {
     -webkit-box-shadow: 0 3px 16px rgba(0, 0, 0, 0.3);
     box-shadow: 0 3px 16px rgba(0, 0, 0, 0.3); }
     .block_service:hover i {
       color: rgba(0, 0, 0, 0.8);
       font-size: 3.5em; }
     .block_service:hover h3 {
       margin-bottom: 30px; }

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery {
     margin-top: 120px;
}

.block_title {
  margin-bottom: 40px;
}
.block_title h1 {
  margin-bottom: .3em;
}
.block_title h2 {
  margin-bottom: .3em;
}
.block_title .subtitle {
  font-size: 1.3125em;
}
.block_title b {
  color: #ED1C24;
}

.gallery-item {
    margin-top: 15px;
    margin-bottom: 15px;
    display: block;
}

.main_content .gallery-item img {
    padding: 0;
}

/* ==========================================================================
   Maps
   ========================================================================== */

.maps {
    width: 100%;
    height: 400px;
    border: 0;
    margin-bottom: 30px;
}

.btn-navigation {
    margin-bottom: 30px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media only screen and (max-width: 991px) {
    .header_top__right {
        justify-content: flex-end;
    }
    
    .header_top__right a {
        display: inline-flex;
        justify-content: space-between;
    }
    
    header .row_flex {
        justify-content: space-between;
    }
    
    .logo {
        margin-left: auto;
        margin-right: auto;
        width: 200px;
    }
    
    .page_top {
        padding-top: 180px;
        min-height: 250px;
    }
    
    .content_page {
        margin-top: 220px;
    }
}

@media only screen and (max-width: 767px) {
    header {
        position: relative;
        overflow: visible;
    }
    
    body {
        padding-bottom: 70px;
        overflow-x: hidden;
    }
    
    .wrapp {
        overflow-x: hidden;
    }
    
    .container {
        overflow-x: hidden;
    }
    
    /* Show hamburger menu button */
    .nav_btn {
        display: block !important;
    }
    
    /* Hide horizontal menu on mobile */
    .header_nav {
        display: none !important;
    }
    
    .w_time {
        display: none !important;
    }
    
    /* Show mobile bar */
    .visible-xs {
        display: block !important;
    }
    
    .mobile-bar {
        display: flex !important;
        flex-wrap: nowrap;
        min-height: 60px !important;
    }
    
    .btn-mob {
        min-height: 60px !important;
    }
    
    /* Mobile model selector instead of accordion */
    .top-model-select {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px;
        padding: 10px 0;
    }
    
    .top-model-select a {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-radius: 6px;
        overflow: hidden;
        text-decoration: none;
        transition: all .3s;
        position: relative;
    }
    
    .top-model-select a img {
        width: 100%;
        height: 150px;
        object-fit: cover;
    }
    
    .top-model-select a h2 {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0,0,0,0.7);
        color: #fff;
        margin: 0;
        padding: 15px 10px;
        font-size: 1.1em;
    }
    
    .content_wrap > .container > .row > .breadcrumb + .col-sm-5,
    .content_wrap > .container > .row > .breadcrumb + .col-sm-5 + .col-sm-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    body:is([class*="page-template-template-toyota-"], [class*="page-template-template-mitsubishi-"], [class*="page-template-template-lexus-"]):not([class*="page-template-template-toyota-index-php"]):not([class*="page-template-template-mitsubishi-index-php"]):not([class*="page-template-template-lexus-index-php"]) .content_wrap > .container > .row:first-of-type > .col-sm-5,
    body:is([class*="page-template-template-toyota-"], [class*="page-template-template-mitsubishi-"], [class*="page-template-template-lexus-"]):not([class*="page-template-template-toyota-index-php"]):not([class*="page-template-template-mitsubishi-index-php"]):not([class*="page-template-template-lexus-index-php"]) .content_wrap > .container > .row:first-of-type > .col-sm-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .model-layout-cruiser > .container > .row > .col-sm-5,
    .model-layout-cruiser > .container > .row > .col-sm-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .logo {
        margin: 0;
        width: auto;
    }
    
    .w_time {
        display: none;
    }
    
    nav.nav_top {
        position: fixed !important;
        top: -500px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        opacity: 0 !important;
        visibility: hidden !important;
        z-index: 90 !important;
        background: #222 !important;
        pointer-events: none !important;
        transition: all .3s !important;
        padding: 20px 15px !important;
        overflow-y: auto !important;
        max-height: calc(100vh - 80px) !important;
    }
    
    nav.nav_top.nav_active {
        top: 80px !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 95 !important;
        pointer-events: auto !important;
    }
    
    /* Hide top accordion slider on mobile */
    .top_accordion {
        display: none !important;
        height: auto !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    .wk {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    .content_wrap {
        margin-top: 0;
    }
    
    .content_page {
        margin-top: 130px;
    }
}

@media only screen and (max-width: 480px) {
    .header_top__right .header_top__callback {
        display: none;
    }
    
    .header_top__right .header_top__contact {
        border-right: none;
        width: 140px;
    }
    
    .page_title h1 {
        font-size: 2.125em;
    }
    
    tbody {
        line-height: 1.2;
        font-size: .9em;
    }
    
    .to_work .total_price {
        min-width: 108px;
    }

    .to_work td:last-child,
    .to_work_table td:last-child {
        width: 140px;
    }

    .calc_actions {
        text-align: left;
    }
    
    .main_content img {
        margin: 0 auto 1.6em;
        padding: 0;
        display: block;
        width: 100%;
    }
}

@media only screen and (max-width: 420px) {
    .header_top__btn {
        padding: 10px 18px;
    }
}

@media only screen and (max-width: 320px) {
    .header_top__right .header_top__contact {
        width: 120px;
    }
    
    .header_top__right .header_top__phone {
        border-right: none;
    }
}

/* ==========================================================================
   Accordion Model Selector (Old Site Style)
   ========================================================================== */

.wk {
    margin-top: 10px;
}

.content_wrap > .wk:first-child {
    margin-top: -10px;
}

body.home .wk,
body.front-page .wk {
    margin-top: 0;
}

body.home .content_wrap > .wk:first-child,
body.front-page .content_wrap > .wk:first-child {
    margin-top: 0;
}

body.home .top_accordion,
body.front-page .top_accordion {
    margin-top: 0;
}

.top_accordion {
    width: 100%;
    max-width: 1920px;
    height: 500px;
    overflow: hidden;
    margin: 20px auto 60px;
    border-bottom: solid 1px rgba(68, 68, 68, 0.3);
    position: relative;
}

.content_wrap > .wk:first-child .top_accordion {
    margin-top: 0;
}

.top_accordion:before {
    content: '';
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    position: absolute;
    bottom: -6px;
    left: 0;
}

.top_accordion ul {
    list-style: none;
    width: 100%;
    display: table;
    table-layout: fixed;
    margin: 0;
    padding: 0;
}

.top_accordion ul:hover li {
    width: 30%;
}

.top_accordion ul li {
    display: table-cell;
    vertical-align: bottom;
    position: relative;
    background-repeat: no-repeat;
    background-position: center right;
    height: 500px;
    transition: all 500ms ease;
    width: 33.33333%;
    background-size: cover;
    border-right: solid 1px rgba(68, 68, 68, 0.3);
}

.top_accordion ul li:first-child {
    background-image: url(img/mitsubishi-front.jpg);
}

.top_accordion ul li:nth-child(2) {
    background-image: url(img/toyota-front.jpg);
}

.top_accordion ul li:nth-child(3) {
    background-image: url(img/lexus-front.jpg);
    border: none;
}

.top_accordion ul li:hover {
    width: 60%;
}

.top_accordion .a_item {
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
    padding: 20px;
    opacity: 0;
    margin: 0;
    font-size: 1.4em;
    text-overflow: ellipsis;
    position: relative;
    z-index: 5;
    white-space: nowrap;
    transform: translateX(-20px);
    transition: all 400ms ease;
    color: #fff;
    flex-direction: column;
}

.top_accordion .a_item:hover {
    opacity: 1;
    transform: translateX(0);
    background: rgba(0, 0, 0, 0.7);
}

.top_accordion .a_item a {
    color: #fff;
    display: block;
    padding: 10px;
    margin-bottom: 4px;
    transition: all .3s;
    max-width: 180px;
}

.top_accordion .a_item a .fa-chevron-right {
    font-size: 10px;
    transform: translateY(-1px);
    margin-left: 5px;
    color: #ED1C24;
}

.top_accordion .a_item a:hover {
    color: #ED1C24;
    margin-left: 2px;
}

.top_accordion h2 {
    text-overflow: clip;
    font-size: 2em;
    text-transform: uppercase;
    margin-bottom: 2px;
    line-height: 1.3;
    letter-spacing: .03em;
}

.top_accordion p {
    top: 160px;
    font-size: 13.5px;
}

/* ==========================================================================
   Legacy TO Calculator (model pages)
   ========================================================================== */

.calc_wrap h3 {
    font-size: 1.5em;
    margin-bottom: 16px;
}

.radio_group {
    margin-bottom: 32px;
    line-height: 1.6;
}

.radio_group label {
    margin: 0 30px 0 5px;
    line-height: 1.4;
}

.radio_group input {
    margin: 0 6px 0 0;
    transform: translateY(-1px);
}

.range_block {
    margin-bottom: 48px;
    line-height: 1.6;
}

.range_block .range_track {
    height: 10px;
    border-radius: 6px;
    background: linear-gradient(90deg, #ed1c24 0%, #ed1c24 50%, #d7d7d7 50%, #d7d7d7 100%);
    margin-top: 12px;
}

/* Responsive styles for accordion */
@media only screen and (max-width: 991px) {
    .top_accordion {
        margin-top: 40px;
    }
}

@media only screen and (max-width: 480px) {
    .top_accordion {
        display: none !important;
        height: auto !important;
    }
    
    .top_accordion ul li {
        height: 320px;
    }
    
    .top_accordion .a_item {
        padding: 10px;
    }
    
    .top_accordion .a_item a {
        padding-left: 0;
    }
    
    .top_accordion h2 {
        font-size: 1.25em;
    }
}

/* ==========================================================================
   JavaScript Responsive Handler Classes (v1.0.53)
   ========================================================================== */

/* JavaScript Responsive Handler Classes (v1.0.54)
   ========================================================================== */

/* These classes are applied via JavaScript when media queries don't trigger properly */
body.is-mobile {
    padding-bottom: 70px !important;
    overflow-x: hidden !important;
    width: 100vw !important;
    max-width: 100vw !important;
}

body.is-mobile .wk,
body.is-mobile .content_wrap,
body.is-mobile .site-main,
body.is-mobile .wrapp {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.is-mobile .nav_btn {
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

body.is-mobile .header_nav {
    display: none !important;
}

/* But show header_nav when it's inside the mobile menu (nav.nav_top) */
body.is-mobile nav.nav_top .header_nav {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
}

body.is-mobile nav.nav_top .header_nav li {
    padding: 0 !important;
    margin: 0 !important;
}

body.is-mobile .visible-xs {
    display: block !important;
    visibility: visible !important;
}

body.is-mobile .hidden-xs {
    display: none !important;
    visibility: hidden !important;
}

body.is-mobile .top_accordion {
    display: none !important;
    visibility: hidden !important;
}

body.is-mobile .top-model-select {
    display: flex !important;
    visibility: visible !important;
}

/* Fix mobile navigation positioning when is-mobile class applied */
body.is-mobile nav.nav_top {
    position: fixed !important;
    top: -500px !important;
    left: 15px !important;
    right: 15px !important;
    width: calc(100% - 30px) !important;
    max-width: calc(100% - 30px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: 90 !important;
    background: #222 !important;
    pointer-events: none !important;
    transition: all .3s !important;
    padding: 15px 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    max-height: calc(100vh - 80px) !important;
    box-sizing: border-box !important;
    border-radius: 4px !important;
}

body.is-mobile nav.nav_top .header_nav {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 20px !important;
    list-style: none !important;
    margin: 0 !important;
}

body.is-mobile nav.nav_top .header_nav a,
body.is-mobile nav.nav_top .header_nav li {
    padding: 12px 0 !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    margin: 0 !important;
}

body.is-mobile nav.nav_top .header_nav a {
    color: #fff !important;
    text-decoration: none !important;
    display: block !important;
}

body.is-mobile nav.nav_top .header_nav a:hover {
    color: #ED1C24 !important;
}

body.is-mobile nav.nav_top.nav_active {
    top: 80px !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 95 !important;
    pointer-events: auto !important;
}

/* Ensure service blocks are equal height on mobile */
body.is-mobile .block_service {
    min-height: 200px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 16px auto !important;
    padding: 15px 10px !important;
    box-sizing: border-box !important;
}

body.is-mobile .block_service i {
    font-size: 3.5em !important;
    margin-bottom: 10px !important;
}

body.is-mobile .block_service h3 {
    font-size: 1.1em !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    max-width: 100% !important;
}

body.is-mobile .services {
    padding: 0 !important;
}

body.is-mobile .services .row {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0 12px !important;
    margin: 0 !important;
    width: 100% !important;
}

body.is-mobile .services .row .col-md-3 {
    display: flex !important;
    flex: 0 0 calc(50% - 6px) !important;
    max-width: calc(50% - 6px) !important;
    width: calc(50% - 6px) !important;
    min-width: calc(50% - 6px) !important;
    padding: 0 !important;
    margin: 0 6px 16px 6px !important;
    box-sizing: border-box !important;
    border: none !important;
    background: transparent !important;
    justify-content: center !important;
}

body.is-mobile .top-model-select {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    margin-left: calc(-50vw + 50%) !important;
    overflow: hidden !important;
}

body.is-mobile .top-model-select a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 350px !important;
    margin: 0 !important;
    margin-bottom: 16px !important;
    padding: 20px 15px !important;
    background: #fff !important;
    border: none !important;
    border-bottom: 3px solid #ED1C24 !important;
    box-shadow: 0 3px 6px rgba(0,0,0,0.07) !important;
    text-align: center !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    color: #222 !important;
    transition: box-shadow .2s !important;
    flex: 0 0 100% !important;
}

body.is-mobile .top-model-select a img {
    width: 280px !important;
    height: 210px !important;
    margin: 0 0 20px 0 !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

body.is-mobile .top-model-select a h2 {
    font-size: 1.5em !important;
    font-weight: 600 !important;
    margin: 0 !important;
    color: #222 !important;
    line-height: 1.3 !important;
    word-wrap: break-word !important;
    margin-top: auto !important;
    background: #fff !important;
    padding: 10px 5px !important;
    border-radius: 3px !important;
}

body.is-mobile .top-model-select a h2 .emoji {
    width: 20px !important;
    height: 20px !important;
    margin: 0 4px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

body.is-mobile .top-model-select a:hover {
    box-shadow: 0 3px 16px rgba(0,0,0,0.18) !important;
}

/* Слайдер: ширина 100%, без отступов, фиксированная высота */
body.is-mobile .gallery,
body.is-mobile .owl-carousel,
body.is-mobile .smart-slider-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    height: 280px !important;
    max-height: 280px !important;
    min-height: 280px !important;
    margin: 0 !important;
    padding: 0 !important;
    left: auto !important;
    right: auto !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
}

body.is-mobile .gallery {
    height: 280px !important;
}

body.is-mobile .owl-carousel .owl-stage-outer,
body.is-mobile .owl-carousel .owl-stage {
    height: 280px !important;
    max-height: 280px !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
}

body.is-mobile .owl-carousel .owl-next,
body.is-mobile .owl-carousel .owl-prev {
    font-size: 14px !important;
    width: 30px !important;
    height: 30px !important;
    line-height: 30px !important;
}

/* SmartSlider3 arrows для мобильных */
body.is-mobile .nextend-arrow-previous,
body.is-mobile .nextend-arrow-next {
    width: 40px !important;
    height: 40px !important;
    font-size: 20px !important;
    line-height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
}

/* SmartSlider3 thumbnail buttons */
body.is-mobile .nextend-thumbnail-button {
    width: 40px !important;
    height: 40px !important;
}

/* Ограничим также SmartSlider внутренние контейнеры */
body.is-mobile .n2-section-smartslider,
body.is-mobile .n2-ss-align,
body.is-mobile .n2-padding,
body.is-mobile .n2-ss-slider {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 280px !important;
    max-height: 280px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body.is-mobile .owl-carousel .owl-item img,
body.is-mobile .smart-slider-wrapper img,
body.is-mobile .n2-ss-slider img {
    width: 100% !important;
    max-width: 100% !important;
    height: 280px !important;
    max-height: 280px !important;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

body.is-mobile .smart-slider-wrapper > * {
    width: 100% !important;
    max-width: 100% !important;
    height: 280px !important;
}

/* И ограничим col-md-6 содержащий слайдер */
body.is-mobile .content_wrap .col-md-6 {
    width: 100% !important;
    padding: 0 !important;
}

/* Добавим padding к контейнерам текста */
body.is-mobile .content_wrap > .container,
body.is-mobile .about .container,
body.is-mobile .services .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.is-mobile .wk,
body.is-mobile .site-main.site-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Heading и text padding */
body.is-mobile h1,
body.is-mobile h3,
body.is-mobile .section-title,
body.is-mobile p:not(.top-model-select a *) {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Desktop styles when JavaScript applied */
body.is-desktop .nav_btn {
    display: none !important;
}

body.is-desktop .header_nav {
    display: flex !important;
}

body.is-desktop .visible-xs {
    display: none !important;
}

body.is-desktop .top_accordion {
    display: block !important;
}

body.is-desktop .top-model-select {
    display: none !important;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mb-4 {
    margin-bottom: 40px;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mt-4 {
    margin-top: 40px;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: .05em;
}
/* Smart Slider 3 Fixes */
/* Fix Bootstrap grid layout */
section.about .row {
    display: flex !important;
    flex-wrap: wrap !important;
}
section.about .row > .col-md-6 {
    display: flex !important;
    flex-direction: column !important;
}
.gallery.smart-slider-wrapper {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    min-height: 350px;
    height: auto !important;
}
.smart-slider-wrapper {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    min-height: 350px;
    height: auto !important;
}
.smart-slider-wrapper > * {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
}
.smart-slider-wrapper .ss-slider,
.smart-slider-wrapper .ss-slider ul,
.smart-slider-wrapper .ss-slider li,
.smart-slider-wrapper .ss-slider img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    max-width: none !important;
}
.smart-slider-wrapper img {
    object-fit: cover !important;
}
@media (max-width: 768px) {
  .smart-slider-wrapper,
  .gallery.smart-slider-wrapper,
  .col-md-6 .smart-slider-wrapper {
    height: 250px !important;
    min-height: 200px;
  }
}
