/* Octane.club header — paths adapted for local assets */

.header-white {
  position: fixed;
  width: 100%;
  z-index: 99;
  font-family: "Montserrat", sans-serif;
  background-color: #fff;
  box-shadow: 1px -7px 14px grey;
  top: 0;
}

.header-white .navbar {
  padding: 1.4rem 1rem;
}

.favorite-head {
  margin-left: auto;
  position: relative;
  padding-left: 48px;
  height: 35px;
  line-height: 35px;
  white-space: nowrap;
  cursor: pointer;
  background: url("../assets/home/favorite.svg") left center no-repeat;
  text-decoration: none;
  color: black;
  display: block;
}

.favorite-head.active {
  color: white;
  background: url("../assets/home/favorite-active.svg") left center no-repeat;
}

.favorite-head .icon {
  position: absolute;
  font-size: 11px;
  width: 35px;
  left: 0;
  text-align: center;
}

.header-search-wrap {
  position: relative;
  width: 220px;
  height: 30px;
  background: transparent;
  margin-left: 25px;
}

.header-search-wrap input {
  font-size: 14px;
  padding-left: 10px;
  padding-right: 40px;
  width: 100%;
  box-sizing: border-box;
  border: 0;
  height: 25px;
  position: relative;
  z-index: 11;
  color: black;
  display: block;
  background: transparent;
  border-bottom: 1px solid #ec661d;
  outline: none;
}

.header-search-wrap input::placeholder {
  color: black;
}

.header-search-wrap .search-icon {
  position: absolute;
  width: 17px;
  height: 100%;
  cursor: pointer;
  top: -4px;
  right: 15px;
  z-index: 12;
  outline: none;
  border: 0;
  background: transparent;
}

.header-search-wrap .search-icon img {
  width: 17px;
  height: 100%;
  display: block;
}

.header-search-wrap .recommended-links {
  position: absolute;
  top: -8px;
  left: -25px;
  width: 100%;
  min-width: 270px;
  z-index: 10;
  overflow: hidden;
  background: white;
  display: none;
  padding: 55px 25px 25px;
  box-shadow: 0 5px 50px rgba(0, 0, 0, 0.2);
}

.header-search-wrap.is-open .recommended-links {
  display: block;
}

.header-search-wrap .recommended-links .block-l:last-child {
  margin-top: 20px;
}

.header-search-wrap .recommended-links .str {
  font-size: 16px;
  font-weight: 700;
  color: #ec661d;
  line-height: initial;
}

.header-search-wrap .recommended-links .links a {
  font-size: 16px;
  line-height: initial;
  font-weight: 400;
  text-decoration: none;
  color: black;
  display: block;
  margin-top: 9px;
  cursor: pointer;
}

.header-search-mobile,
.header-search-container-mobile {
  display: none;
}

.nav-page {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1470px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: center;
  box-sizing: border-box;
}

.logo-nav a img {
  width: 230px !important;
  max-width: none !important;
  height: 29px !important;
  display: block;
}

.logo-nav a {
  text-decoration: none;
  display: block;
  width: 230px;
  flex-shrink: 0;
}

.logo-nav .brand-wordmark--header {
  display: none;
}

/* Titane Club — only for inline text mentions, not header logo */
.brand-wordmark {
  display: inline;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: inherit;
  transform: none;
  white-space: normal;
}

.brand-wordmark__accent,
.brand-wordmark__club {
  color: #fd6c1e;
}

.brand-wordmark__tagline {
  display: block;
  margin-top: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #666;
}

.about-page__list--black .about-page__name {
  color: #fff;
}

.navbar-light .navbar-toggler-icon {
  background-image: url("../assets/home/icons/menu.png") !important;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.navbar-light .navbar-toggler {
  border-color: transparent !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

.navbar-toggler-icon {
  width: 1.2em !important;
  height: 1.1em !important;
}

.phone-nav .phone-block a {
  color: #fd6c1e;
  text-decoration: none;
  font-weight: 600;
}

.phone-nav .phone-block {
  text-align: end;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 600;
}

.navbar-expand-lg .navbar-collapse {
  justify-content: flex-end;
}

.navbar-expand-lg .navbar-nav {
  width: 83%;
  justify-content: space-around;
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .show > .nav-link {
  color: #fd6c1e;
}

.navbar-light .navbar-nav .nav-link {
  color: black !important;
  font-size: 22px;
  font-weight: 500;
  text-transform: lowercase;
}

.navbar-light .navbar-nav .nav-link.dropdown-toggle {
  position: relative;
  padding-right: 2.1rem;
}

.dropdown-toggle::after {
  display: none !important;
}

.dropdown-toggle::before {
  display: inline-block;
  content: "";
  width: 8px;
  height: 8px;
  position: absolute;
  border-top: 1px solid black;
  border-right: 1px solid black;
  transform: rotate(135deg);
  top: 50%;
  margin-top: -6px;
  right: 0.45rem;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: white;
  color: black;
}

.dropdown-menu .first-brand {
  margin-top: 7px;
  padding-top: 7px;
  position: relative;
}

.dropdown-menu .first-brand .line {
  position: absolute;
  top: 0;
  left: 0;
  width: 300%;
  height: 1px;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.dropdown-menu .first-brand .line .line-border {
  width: 100%;
  height: 100%;
  background: #fd6c1e;
}

.dropdown-menu .brands-wrap {
  display: flex;
  flex-direction: column;
  max-height: 305px;
  flex-wrap: wrap;
  margin-right: 25px;
  min-width: 400px;
  overflow: hidden;
}

/* 14 brands → 7 left column, 7 right column */
.dropdown-menu .brands-wrap li:nth-child(8) {
  margin-top: 15px;
}

.main,
main {
  padding-top: 90px;
}

/* Full-bleed heroes sit under fixed header; titles get extra top padding in page CSS */
body.about-page {
  padding-top: 0;
}

/* Checkout / form pages have no hero — clear the fixed header */
body.checkout-ru-page {
  padding-top: 90px;
}

body.home-page {
  padding-top: 90px;
}

body.home-page .main,
body.home-page main {
  padding-top: 0;
}

@media (max-width: 1565px) {
  body.home-page {
    padding-top: 87px;
  }
}

@media (max-width: 1440px) {
  body.home-page {
    padding-top: 84px;
  }
}

@media (max-width: 1342px) {
  body.home-page {
    padding-top: 82px;
  }
}

@media (max-width: 768px) {
  body.home-page {
    padding-top: 58px;
  }
}

@media (max-width: 576px) {
  body.home-page {
    padding-top: 56px;
  }
}

@media (max-width: 480px) {
  body.home-page {
    padding-top: 54px;
  }
}

@media (min-width: 769px) {
  li.nav-item.dropdown:hover .dropdown-menu {
    display: block;
  }

  li.nav-item.dropdown .dropdown-menu {
    margin-top: 0;
  }
}

@media (max-width: 1900px) and (min-width: 1565px) {
  .navbar-light .navbar-nav .nav-link {
    font-size: 19px;
  }
}

@media (max-width: 1680px) {
  .nav-page {
    padding: 0 18px;
  }
}

@media (max-width: 1565px) {
  .main,
  main,
  body.checkout-ru-page {
    padding-top: 87px;
  }
}

@media (max-width: 1564px) {
  .navbar-light .navbar-nav .nav-link {
    font-size: 17px;
  }

  .phone-nav .phone-block {
    font-size: 16px;
  }

  .dropdown-toggle::before {
    width: 7px;
    height: 7px;
    right: 0.4rem;
  }
}

@media (max-width: 1440px) {
  .main,
  main,
  body.checkout-ru-page {
    padding-top: 84px;
  }

  .navbar-light .navbar-nav .nav-link {
    font-size: 16px;
  }
}

@media (max-width: 1342px) {
  .nav-page .logo-nav a img {
    width: 230px !important;
  }
}

@media (max-width: 1252px) {
  .main,
  main,
  body.checkout-ru-page {
    padding-top: 82px;
  }

  .navbar-light .navbar-nav .nav-link {
    font-size: 15px;
  }

  .nav-page .logo-nav a img {
    width: 230px !important;
  }

  .phone-nav .phone-block {
    font-size: 14px;
  }

  .header-search-wrap {
    width: 148px;
  }

  .header-search-wrap .recommended-links {
    min-width: 195px;
  }
}

@media (max-width: 1208px) {
  .dropdown-toggle::before {
    width: 5px;
    height: 5px;
    margin-top: -4px;
    right: 0.35rem;
  }
}

@media (max-width: 1200px) {
  .header-white .navbar {
    padding: 0.75rem 1rem;
  }

  .main,
  main,
  body.checkout-ru-page {
    padding-top: 54px;
  }

  .nav-page {
    padding: 0 16px;
  }
}

@media (max-width: 1129px) {
  .main,
  main,
  body.checkout-ru-page {
    padding-top: 51px;
  }

  .navbar-light .navbar-nav .nav-link {
    font-size: 14px;
    letter-spacing: -0.3px;
    padding: 7px 3px;
  }

  .phone-nav .phone-block {
    font-size: 14px;
  }
}

@media (max-width: 992px) {
  .main,
  main,
  body.checkout-ru-page {
    padding-top: 58px;
  }

  .header-white .navbar {
    padding: 0.85rem 1rem;
  }

  .nav-page {
    justify-content: flex-end;
    padding: 0 16px;
    min-height: 48px;
  }

  .favorite-head {
    margin-top: 10px;
  }

  .nav-page .logo-nav {
    position: absolute;
    top: 14px;
    left: 37%;
    transform: none;
  }

  .nav-page .logo-nav a img {
    width: 200px !important;
    height: auto !important;
  }

  .navbar-light .navbar-nav .nav-link {
    font-size: 18px;
  }

  .dropdown-toggle::before {
    width: 5px;
    height: 5px;
    left: 108px;
    right: auto;
    top: 15px;
    margin-top: 0;
  }

  .phone-nav .phone-block {
    text-align: start;
    font-size: 15px;
  }

  .header-search-wrap {
    margin-left: 0;
    display: none;
  }

  .header-search-mobile {
    height: 30px;
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 2px 10px;
    border-bottom: 1px solid #ec661d;
    margin-bottom: 10px;
  }

  .header-search-mobile .search-q {
    margin-right: 10px;
    height: 100%;
    color: black;
    font-size: 14px;
    line-height: 25px;
    display: block;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .header-search-mobile .search-icon {
    width: 15px;
    height: 100%;
    background-size: contain;
    cursor: pointer;
    margin-top: 0;
    border: 0;
    background: transparent;
  }

  .header-search-mobile .search-icon img {
    width: 15px;
    height: 100%;
    display: block;
  }

  .header-search-container-mobile {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    z-index: 102;
    left: 0;
    background: white;
    padding: 30px 40px 90px 40px;
    box-sizing: border-box;
    display: none;
  }

  .header-search-container-mobile.is-open {
    display: block;
  }

  .header-search-container-mobile .input-search {
    padding-left: 10px;
    padding-right: 35px;
    width: 100%;
    box-sizing: border-box;
    height: 45px;
    position: relative;
    background: white;
    margin-top: 0;
    border-bottom: 1px solid #ec661d;
    display: flex;
    align-items: center;
  }

  .header-search-container-mobile .input-search input {
    border: 0;
    width: 100%;
    height: 100%;
    outline: none;
    font-size: 16px;
  }

  .header-search-container-mobile .search-icon {
    position: absolute;
    width: 50px;
    height: 45px;
    cursor: pointer;
    top: 30px;
    right: 30px;
    z-index: 12;
    border: 0;
    outline: none;
    background: transparent;
  }

  .header-search-container-mobile .search-icon img {
    width: 21px;
    display: block;
  }

  .header-search-container-mobile .close-s {
    font-size: 18px;
    line-height: 18px;
    font-weight: 700;
    color: #ec661d;
    z-index: 1;
    margin-top: 40px;
    text-align: right;
    cursor: pointer;
  }

  .header-search-container-mobile .recommended-links .block-l {
    margin-top: 15px;
  }

  .header-search-container-mobile .recommended-links .str {
    font-size: 18px;
    line-height: 20px;
    font-weight: 700;
    color: #ec661d;
  }

  .header-search-container-mobile .recommended-links .links a {
    font-size: 18px;
    line-height: initial;
    font-weight: 400;
    text-decoration: none;
    color: black;
    display: block;
    margin-top: 10px;
  }

  .navbar-expand-lg .navbar-collapse {
    position: absolute;
    padding: 20px 40px;
    top: 48px;
    width: 100%;
    right: 0;
    background-color: #f8f9fa;
    overflow-y: auto;
    position: fixed;
    height: 100%;
    padding-bottom: 160px;
  }

  .dropdown-menu .brands-wrap {
    display: block;
    max-height: none;
    min-width: auto;
  }

  .dropdown-menu .brands-wrap li:nth-child(10) {
    margin-top: 0;
  }

  .nav-link {
    padding: 0.2rem 1rem;
  }
}

@media (max-width: 768px) {
  .nav-page .logo-nav {
    left: 33%;
  }
}

@media (max-width: 564px) {
  .nav-page .logo-nav {
    left: 30%;
  }
}

@media (max-width: 472px) {
  .nav-page .logo-nav {
    left: 25%;
  }
}

@media (max-width: 370px) {
  .nav-page .logo-nav a img {
    width: 230px !important;
  }
}

@media (max-width: 792px) {
  .nav-page {
    padding: 0 15px;
  }
}

/* Language switcher — dropdown column */
.lang-switcher-item {
  display: flex;
  align-items: center;
  margin-left: 10px;
  position: relative;
  list-style: none;
}
.lang-switcher {
  position: relative;
  z-index: 50;
}
.lang-switcher__toggle {
  appearance: none;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #111;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 8px 28px 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  min-width: 52px;
}
.lang-switcher__chevron {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #333;
  transform: translateY(-40%);
}
.lang-switcher.is-open .lang-switcher__chevron {
  border-top: 0;
  border-bottom: 5px solid #333;
  transform: translateY(-60%);
}
.lang-switcher__list {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  min-width: 140px;
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 100;
}
.lang-switcher.is-open .lang-switcher__list {
  display: block;
}
.lang-switcher__list li {
  margin: 0;
  padding: 0;
}
.lang-switcher__option {
  appearance: none;
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #222;
  padding: 10px 14px;
  cursor: pointer;
  line-height: 1.2;
}
.lang-switcher__option:hover,
.lang-switcher__option.is-active {
  background: #fd6c1e;
  color: #fff;
}
@media (max-width: 991px) {
  .lang-switcher-item {
    margin: 12px 0 4px;
    width: 100%;
  }
  .lang-switcher,
  .lang-switcher__toggle {
    width: 100%;
  }
  .lang-switcher__list {
    left: 0;
    right: 0;
    min-width: 0;
  }
}
