/*
Theme Name: Motors Child
Author: MT
Template: motors
Version: 1.0.0
*/

.stm-booking-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 15px;
  padding: 15px 30px;
}

.stm-booking-btn i {
  display: block;
  font-size: 23px;
  line-height: 23px;
  margin-right: 10px;
}

.site-rtl {
  direction: rtl;
}

.site-rtl .stm-booking-btn i {
  margin-left: 10px;
  margin-right: 0;
}

.motors-region-notice {
  left: 0;
  padding: 14px 18px 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 99;
}

.motors-region-notice__inner {
  align-items: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(19, 15, 15, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.18);
  color: #fff;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1240px;
  padding: 16px 18px;
  pointer-events: auto;
}

.motors-region-notice__copy {
  display: grid;
  gap: 4px;
}

.motors-region-notice__copy strong {
  font-size: 0.95rem;
  line-height: 1.2;
}

.motors-region-notice__copy span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  line-height: 1.5;
}

.motors-region-notice__action {
  align-items: center;
  background: linear-gradient(135deg, #ff6a52, #ff3f3f);
  border-radius: 999px;
  color: #fff !important;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 700;
  min-height: 42px;
  padding: 0 18px;
  text-decoration: none;
}

body #top-bar,
body .top-info-wrap,
body .header-help-bar-trigger,
body .header-help-bar {
  display: none !important;
}

@media (min-width: 1024px) {
  body .header-main .container {
    margin-bottom: 0 !important;
    padding-top: 0 !important;
  }

  body #header-nav-holder,
  body .header-nav {
    background: transparent !important;
    height: auto !important;
    min-height: 0 !important;
  }

  body:not(.home) #header-nav-holder {
    margin-top: 0 !important;
    position: relative;
    z-index: 25;
  }

  body:not(.home) .header-main .logo-main {
    margin-top: 0 !important;
  }

  body .header-nav .container {
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 0 !important;
    padding-left: 10px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-right: 10px !important;
  }

  .header-nav .main-menu {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: inline-flex;
    margin-inline: auto;
    padding: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .header-nav .main-menu .header-menu {
    align-items: center;
    display: flex;
    gap: 18px;
    margin: 0;
  }

  .header-nav .main-menu .header-menu > li {
    float: none;
    margin: 0;
  }

  .header-main .header-menu > li > a,
  .header-main .main-menu .header-menu > li > a,
  .header-main .bloglogo,
  .header-main .blogname h1 {
    color: #1d1711 !important;
  }

  .header-nav .main-menu .header-menu > li > a {
    align-items: center;
    display: inline-flex !important;
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1;
    min-height: 38px;
    opacity: 0.92;
    padding: 0;
    transition: color 180ms ease, opacity 180ms ease;
    white-space: nowrap;
  }

  .header-nav .main-menu .header-menu > li > a:hover,
  .header-nav .main-menu .header-menu > li > a:focus-visible {
    color: #df1d1d !important;
    text-decoration: none;
  }

  .header-nav .main-menu .header-menu > li > a::after {
    border-top-color: currentColor;
  }

  .header-main .bloglogo img {
    max-height: 40px;
  }

  .header-nav .main-menu .header-menu > li.mega-menu-enabled {
    position: relative;
    z-index: 3;
  }

  .header-nav .main-menu .header-menu > li.mega-menu-enabled > a::before {
    background: transparent;
    bottom: -18px;
    content: "";
    height: 24px;
    inset-inline: 0;
    position: absolute;
  }

  .header-nav .main-menu .header-menu > li.mega-menu-enabled > .sub-menu,
  .header-nav .main-menu .header-menu > li.mega-menu-enabled:hover > .sub-menu,
  .header-nav .main-menu .header-menu > li.mega-menu-enabled:focus-within > .sub-menu,
  .header-nav .main-menu .header-menu > li.mega-menu-enabled.is-mega-open > .sub-menu {
    display: none !important;
  }

  .header-nav .main-menu .header-menu > li.mega-menu-enabled:hover > a,
  .header-nav .main-menu .header-menu > li.mega-menu-enabled:focus-within > a,
  .header-nav .main-menu .header-menu > li.mega-menu-enabled.is-mega-open > a {
    color: #1d1711 !important;
  }

  .header-nav .main-menu .header-menu > li.mega-menu-enabled > a::after {
    opacity: 0.72;
  }

  .header-nav .main-menu .header-menu > li.mega-menu-enabled:hover > a::after,
  .header-nav .main-menu .header-menu > li.mega-menu-enabled:focus-within > a::after,
  .header-nav .main-menu .header-menu > li.mega-menu-enabled.is-mega-open > a::after {
    opacity: 1;
  }

  .yh-mega-menu--global {
    left: 0;
    opacity: 0;
    padding-bottom: 4px;
    padding-top: 10px;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: var(--motors-mega-menu-top, 154px);
    transform: translateY(10px);
    transition: opacity 220ms ease, transform 220ms ease;
    z-index: 88;
  }

  .yh-mega-menu--global.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .yh-mega-menu--global .yh-shell {
    margin: 0 auto;
    max-width: 1440px;
    padding: 0 4px;
  }

  .yh-mega-menu--global .yh-mega-menu__panel {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background: rgba(12, 9, 9, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    display: none;
    gap: 24px;
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
    overflow: hidden;
    padding: 24px;
    position: relative;
  }

  .yh-mega-menu--global .yh-mega-menu__panel.is-active {
    display: grid;
  }

  .yh-mega-menu--global .yh-mega-menu__intro {
    align-content: start;
    display: grid;
    gap: 10px;
    min-width: 0;
  }

  .yh-mega-menu--global .yh-mega-menu__intro span {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .yh-mega-menu--global .yh-mega-menu__intro h3 {
    color: #fff;
    font-family: "Sora", sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.02;
    margin: 0;
    text-wrap: balance;
  }

  .yh-mega-menu--global .yh-mega-menu__intro p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    margin: 0;
    max-width: 22rem;
  }

  .yh-mega-menu--global .yh-mega-menu__links {
    align-content: start;
    display: grid;
    gap: 10px;
    margin-top: 8px;
  }

  .yh-mega-menu--global .yh-mega-menu__links a {
    color: #fff;
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
    width: fit-content;
  }

  .yh-mega-menu--global .yh-mega-menu__links a:hover,
  .yh-mega-menu--global .yh-mega-menu__links a:focus-visible {
    color: rgba(255, 255, 255, 0.76);
    outline: none;
    text-decoration: none;
    transform: translateX(2px);
  }

  .yh-mega-menu--global .yh-mega-menu__cards {
    align-content: start;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .yh-mega-menu--global .yh-mega-menu__card {
    border-radius: 20px;
    color: #fff;
    display: block;
    min-height: 220px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
  }

  .yh-mega-menu--global .yh-mega-menu__card img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 320ms ease;
    width: 100%;
  }

  .yh-mega-menu--global .yh-mega-menu__card::after {
    background: linear-gradient(180deg, rgba(10, 7, 7, 0.04), rgba(10, 7, 7, 0.2) 42%, rgba(10, 7, 7, 0.92) 100%);
    content: "";
    inset: 0;
    position: absolute;
  }

  .yh-mega-menu--global .yh-mega-menu__card-copy {
    bottom: 0;
    display: grid;
    gap: 5px;
    inset-inline: 0;
    min-height: 84px;
    padding: 16px;
    position: absolute;
    z-index: 1;
  }

  .yh-mega-menu--global .yh-mega-menu__card-copy span {
    color: rgba(255, 255, 255, 0.68);
    display: block;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .yh-mega-menu--global .yh-mega-menu__card-copy strong {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
    max-width: 14ch;
    text-wrap: balance;
  }

  .yh-mega-menu--global .yh-mega-menu__card-copy small {
    color: rgba(255, 255, 255, 0.74);
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    max-width: 18ch;
  }

  .yh-mega-menu--global .yh-mega-menu__card:hover,
  .yh-mega-menu--global .yh-mega-menu__card:focus-visible {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
    color: #fff;
    outline: none;
    text-decoration: none;
    transform: translateY(-4px);
  }

  .yh-mega-menu--global .yh-mega-menu__card:hover img,
  .yh-mega-menu--global .yh-mega-menu__card:focus-visible img {
    transform: scale(1.04);
  }

  .site-rtl .yh-mega-menu--global .yh-mega-menu__panel {
    direction: rtl;
  }

  .site-rtl .yh-mega-menu--global .yh-mega-menu__intro,
  .site-rtl .yh-mega-menu--global .yh-mega-menu__card-copy {
    text-align: right;
  }

  .site-rtl .yh-mega-menu--global .yh-mega-menu__links a:hover,
  .site-rtl .yh-mega-menu--global .yh-mega-menu__links a:focus-visible {
    transform: translateX(-2px);
  }

  .site-rtl .yh-mega-menu--global .yh-mega-menu__card-copy strong,
  .site-rtl .yh-mega-menu--global .yh-mega-menu__card-copy small {
    max-width: none;
  }

  .site-rtl .yh-mega-menu--global .yh-mega-menu__card-copy span {
    letter-spacing: 0.1em;
  }
}

@media (max-width: 1023px) {
  .motors-region-notice {
    padding: 12px 12px 0;
  }

  .motors-region-notice__inner {
    align-items: start;
    border-radius: 18px;
    flex-direction: column;
  }

}

/* Rehlatac-aligned shared navigation chrome */
@media (min-width: 1024px) {
  .header-nav .main-menu {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
  }

  .header-nav .main-menu .header-menu {
    align-items: center !important;
    display: flex !important;
    gap: 18px !important;
    margin: 0 !important;
  }

  .header-nav .main-menu .header-menu > li {
    float: none !important;
    margin: 0 !important;
  }

  .header-main .header-menu > li > a,
  .header-main .main-menu .header-menu > li > a,
  .header-main .bloglogo,
  .header-main .blogname h1 {
    color: #1d1711 !important;
  }

  .header-nav .main-menu .header-menu > li > a {
    align-items: center;
    display: inline-flex !important;
    font-size: 0.94rem;
    font-weight: 600;
    gap: 6px;
    line-height: 1;
    min-height: 38px;
    opacity: 0.92;
    padding: 0;
    transition: color 180ms ease, opacity 180ms ease;
    white-space: nowrap;
  }

  .header-nav .main-menu .header-menu > li > a:hover,
  .header-nav .main-menu .header-menu > li > a:focus-visible {
    color: #df1d1d !important;
    opacity: 1 !important;
    text-decoration: none;
  }

  .header-nav .main-menu .header-menu > li > a::after {
    border-top-color: currentColor;
  }

  .header-main .bloglogo img {
    max-height: 40px;
  }

  .header-help-bar {
    display: none !important;
  }
}

@media (max-width: 1180px) {
  body .header-nav .main-menu {
    max-width: calc(100vw - 250px) !important;
  }
}

@media (max-width: 1023px) {
  body .header-main .pull-right,
  body .header-main .stm-header-right,
  body .header-main .header-right-controls {
    gap: 8px !important;
  }
}

@media (max-width: 900px) {
  body .header-nav .main-menu {
    max-width: calc(100vw - 180px) !important;
  }
}

@media (max-width: 767px) {
  body .header-nav .main-menu {
    max-width: 100% !important;
  }
}
