.reset {
  opacity: 0;
  margin-left: 50px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  padding: 0;
  position: absolute;
  left: 30%;
  left: -30px;
  top: 15px;
  top: 5px;
  padding: 20px;
}
.reset:hover {
  color: #03bfb5;
}
.dropdown:checked ~ .reset,
.dropdown-2:checked ~ .reset,
.dropdown-3:checked ~ .reset {
  opacity: 1;
  z-index: 250;
  /* position: relative; */
}
label.for-dropdown {
  margin: 0 20px;
}
.dropdown:checked + label,
.dropdown-2:checked + label,
.dropdown-3:checked + label {
  color: #03bfb5;
}
.dropdown:checked + label,
.dropdown-2:checked + label,
.dropdown-3:checked + label,
.dropdown:not(:checked) + label,
.dropdown-2:not(:checked) + label,
.dropdown-3:not(:checked) + label {
  font-family: "Tacticsans", sans-serif;
  position: relative;
  z-index: 200;
  font-weight: 500;
  font-size: 15px;
  /* line-height: 2; */
  /* height: 50px; */
  transition: all 200ms linear;
  /* border-radius: 4px; */
  /* width: 60px; */
  letter-spacing: 1px;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  align-items: center;
  border: none;
  cursor: pointer;
}
.dark-light:checked ~ .sec-center .for-dropdown {
  background-color: #102770;
  color: #ffeba7;
}

.section-dropdown,
.section-dropdown-2,
.section-dropdown-3 {
  position: absolute;
  background-color: #111111cf;
  top: 0;
  top: -20px;
  left: 0;
  width: 100%;
  /* width: 0; */
  height: 100vh;
  height: 0;
  /* border-radius: 4px; */
  display: flex;
  flex-direction: column;
  /* box-shadow: 0 14px 35px 0 rgba(9, 9, 12, 0.4); */
  z-index: 2;
  opacity: 0;
  /* pointer-events: none; */
  transform: translateY(20px);
  transition: all 200ms linear;
  content: none;
  overflow: hidden;
}
.dark-light:checked ~ .sec-center .section-dropdown {
  background-color: #fff;
  box-shadow: 0 14px 35px 0 rgba(9, 9, 12, 0.15);
}
/* .dropdown:checked ~ .section-dropdown,
.dropdown-2:checked ~ .section-dropdown,
.dropdown-3:checked ~ .section-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
} */
.section-dropdown:before {
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  content: "";
  display: block;
  z-index: 1;
}

.dark-light:checked ~ .sec-center .section-dropdown a {
  color: #102770;
}

.dark-light:checked ~ .sec-center .section-dropdown a:hover {
  color: #ffeba7;
  background-color: #102770;
}

.dropdown-sub:checked + label,
.dropdown-sub:not(:checked) + label {
  position: relative;
  color: #fff;
  transition: all 200ms linear;

  font-weight: 500;
  font-size: 15px;
  border-radius: 2px;
  padding: 5px 0;
  padding-left: 20px;
  padding-right: 15px;
  text-align: left;
  text-decoration: none;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  align-items: center;
  justify-content: space-between;
  -ms-flex-pack: distribute;
  cursor: pointer;
}

.dropdown-sub:checked + label:hover,
.dropdown-sub:not(:checked) + label:hover {
  color: #102770;
  background-color: #ffeba7;
}
.dark-light:checked ~ .sec-center .section-dropdown .for-dropdown-sub {
  color: #102770;
}
.dark-light:checked ~ .sec-center .section-dropdown .for-dropdown-sub:hover {
  color: #ffeba7;
  background-color: #102770;
}
.dropdown__img {
  width: 0%;
  height: 100vh;
  object-fit: cover;
}
#dropdown:checked ~ .section-dropdown,
#dropdown-2:checked ~ .section-dropdown-2,
#dropdown-3:checked ~ .section-dropdown-3 {
  opacity: 1;
  width: 100%;
  height: 100vh;
  content: "";
  z-index: 3;
  
}

#dropdown:checked ~ .dropdown-line__right,
#dropdown-2:checked ~ .dropdown-line__right,
#dropdown-3:checked ~ .dropdown-line__right {
  opacity: 1;
  height: 100vh;
}
#dropdown:checked ~ .dropdown-line__right .dropdown__img ,
#dropdown-2:checked ~ .dropdown-line__right .dropdown__img ,
#dropdown-3:checked ~ .dropdown-line__right .dropdown__img  {
  width: 100%;
}

.section-dropdown-sub {
  position: relative;
  display: block;
  width: 100%;
  /* pointer-events: none; */
  opacity: 0;

  max-height: 0;
  padding-left: 10px;
  padding-right: 3px;
  overflow: hidden;
  transition: all 200ms linear;
}
.dropdown-sub:checked ~ .section-dropdown-sub {
  pointer-events: auto;
  opacity: 1;
  max-height: 999px;
}
.section-dropdown-sub a {
  font-size: 14px;
}

.dropdown-line {
  width: 100%;
  /* height: 100%; */
}
.dropdown-line__left {
  width: 35%;
  padding: 60px;
  padding-top: 80px;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  /* overflow: hidden; */
  max-height: 1000px;
}
.dropdown-line__left .address {
  margin: 30px 0;
  justify-content: center;
}
.dropdown-line__left .top-panel {
  justify-content: center;
}

.dropdown-line__left a, .all-models-btn {
  margin: 10px;
  margin: 0 0 10px;
  position: relative;
  transition: all 1s;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  text-decoration: none;
  z-index: 250;  
  cursor: pointer;
  
}

.all-models-btn.instock{
  background: #03bfb5;
    border: 1px solid #03bfb5;
    padding: 5px;
    color: #fff;
}
.dropdown-line__left-links .dropdown__link-2.vertical{
  width: 150px;
  margin: 0;
}
#dropdown:checked + .dropdown__link,
#dropdown-2:checked +.dropdown__link-2,
#dropdown-3:checked + .dropdown__link-3 {
  display: block;
}
.dropdown-line__left a:hover, .all-models-btn:hover {
  text-decoration: none;
  border-radius: 20px;
  color: #fff;
}
 .all-models-btn.rotate{
  transform: rotate(-90deg);
    position: absolute;
    left: 0;
    top: 20vh;
}
.dropdown-line__left a:before {
  transition: width 1s;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
}
details > summary {
  list-style: none;
  display: flex;
  transition: all 1s;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
}
summary:before {
  content: "+";
  font-weight: bold;
  margin-right: 10px;
  margin-left: -22px;
  transition: all 1s;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
}
details[open] summary:before {
  content: "-";
}
/* .dropdown-line__left a:hover:before {
  content: "";
  position: absolute;
  top: 30px;
  top: 20px;
  left: -10px;
  border-bottom: 1px solid #03bfb5;
  width: 80%;
  transition: width 1s;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
} */
.dropdown-line__left-links {
  height: 100%;
  /* height: 500px;
  column-count: 2; */
}
.dropdown-line__left-links.models-header {
  overflow-y: scroll;
  overflow-y: scroll;
  position: sticky;
  display: flex;
  max-height: 500px;
  max-height: 50vh;
  max-height: 45vh;
  flex-wrap: nowrap;
}
@media (min-width: 1920px){
  .dropdown-line__left-links.models-header {
    max-height: 60vh;
  }
}
.dropdown-line__left a.dropdown__link:hover .dropdown-line__right img {
  content: url("/path/here/to/image.png");
}
.dropdown-line__right {
  width: 60%;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 250;
  opacity: 0;
  height: 0;
}

.header-box .header-box__item:nth-child(1) {
  justify-content: flex-start;
  margin: 10px 60px;
  margin: 30px 60px;
}

.header-box .header-box__item:nth-child(2) {
  margin-left: -60px;
}

/* burger */
input#burger-btn{
  display: none;
}
.burger {
  position: absolute;
  width: 20px;
  height: 15px;
  display: none;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  inset: 1rem 1rem;
  cursor: pointer;
}
input[type="checkbox"]:checked + .navbar-header span:nth-child(1){
  transform: rotate(45deg);
  position: absolute;
}

input#burger-btn:checked + label.for-burger-btn span:nth-child(1){
  transform: rotate(45deg);
  position: absolute;
}
input#burger-btn:checked + label.for-burger-btn span:nth-child(2) {
  width: 100%;
  display: none;
}
input#burger-btn:checked + label.for-burger-btn span:nth-child(3) {
  transform: rotate(-45deg);
  position: absolute;
}

.navbar-header .burger span {
  width: 100%;
  height: 0.25rem;
  height: 2px;
  background-color: #eee;
  border-radius: 0.5rem;
  transition-duration: 200ms;
}
.navbar-header .burger span:nth-child(2) {
  width: 70%;
  align-self: flex-start;
  transition-duration: 200ms;
}
.dropdown__line {
  display: flex;
  /* flex-direction: column; */
  justify-content: space-between;
  max-width: 400px;
  padding: 0 0 10px 0;
  position: relative;
}
.dropdown__sublinks{
  display: flex;
  flex-direction: column;
  height: 0;
  overflow: hidden;
  transition-duration: 200ms;
  position: absolute;
  left: 100px;
  left: 150px;
  top: 0;

}
.dropdown__sublinks .dropdown__link-2{
  margin: 0;
  padding-left: 10px;
  padding-bottom: 10px;
  width: 200px;
  width: 250px;
  font-size: 24px;
}
.dropdown__line:hover .dropdown__link-2.vertical{
  /* writing-mode: vertical-rl;
  text-orientation: upright; */
  color: #03bfb5;
  position: relative;
}
.dropdown__line:hover .dropdown__link-2.vertical:after{
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 1px;
  border-bottom: 1px solid #03bfb5;
}
.dropdown__line:hover .dropdown__sublinks{
  height: 100%;
  margin: 0 0 10px 0;
  z-index: 200;
  overflow: visible;
}
.dropdown__line:hover .dropdown__sublinks .dropdown__link-2{

  border-left: 1px solid #03bfb5;
}
/* .dropdown__line:hover .dropdown__sublinks .dropdown__link-2:last-child{
  border-bottom: 1px solid #03bfb5;
} */
.dropdown__line:hover .dropdown__sublinks .dropdown__link-2:hover{
  border-bottom: 1px solid #03bfb5;
}
@media (max-width: 767px) {
  details > summary{
    margin-left: 30px;
  }
  .address-menu {
    margin-left: -40px;
  }
  .dropdown__line{
    padding: 0 0 5px 0;
  }
  .section-dropdown,
  .section-dropdown-2,
  .section-dropdown-3{
    position: relative;
    margin-left: 20px;
    background: unset;
  }
  #dropdown:checked ~ .section-dropdown{
    height: 100%;
    max-height: 300px;
  }
  /* #dropdown-2:checked ~ .section-dropdown-2{
    height: 80%;
    max-height: 800px;
  } */
  #dropdown-3:checked ~ .section-dropdown-3{
    height: 100%;
    max-height: 300px;
  }
  #dropdown:checked ~ .section-dropdown, #dropdown-2:checked ~ .section-dropdown-2, #dropdown-3:checked ~ .section-dropdown-3{
    overflow-y: scroll;
  }
  .navbar-header{
    width: 100%;
  }
  .navbar-header .burger {
    z-index: 200;
    display: flex;
  }
  input#burger-btn {
    display: none;
  }
  .navbar-header .links-parent {
    /* background-color: #252525; */
    height: 0;
    overflow: hidden;
    flex-direction: column;
    width: 100%;
    transition: all 200ms ease 200ms;
    opacity: 0;
  }
  .navbar-header .links-parent:hover {
    height: 100vh;
  }
  /* .navbar-header .burger:hover ~ .links-parent {
    height: 100vh;
  } */
  .section-dropdown-2 .dropdown-line__left a{
    margin: 0%;
    margin-bottom: 3px;
  }
  .all-models-btn.rotate{
    transform: unset;
    position: relative;
    top: 0;
  }
  .dropdown-line__left-links.models-header{
    max-height: unset;
  }
  .navbar-header:has(.links-parent:hover) .burger span:nth-child(2), .navbar-header:has(.links-parent > li .links-child:hover) .burger span:nth-child(2) {
    width: 100%;
  }
  label.for-dropdown {
    top: 50px;
  }
  input#burger-btn:checked ~ .links-parent{
    height: 100vh;
    opacity: 1;
    padding: 60px 0 0 60px;
    padding: 60px 0 0 10px;
    background-color: #111111cf;
    display: flex;
  }
  input#burger-btn:checked ~ .dropdown-3 + label{
    color: #03bfb5;
  }
  input#burger-btn:checked  .section-dropdown{
    opacity: 1;
    width: 100%;
    content: "";
    z-index: 3;
  }
}
/* burger */
@media screen and (max-width: 991px) {
  .dropdown-line__left-links{
    /*height: 360px;*/
    /*height: 400px;*/
  }
  .dropdown-line__left a{
    margin: 5px;
  }
  .sec-center{
    margin-right: 0;
  }
  [type="radio"]:checked,
  [type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
    opacity: 0;
  }
  .reset {
    top: 100px;
    top: 80px;
    right: 10px;
    left: unset;
    display: none;
  }
  header.header .address{
    display: flex;
  }
  .header-box__item {
    width: 100%;
  }
  .header-box .header-box__item:nth-child(1) {
    margin: 0;
    justify-content: center;
    position: absolute;
    height: 100px;
    z-index: 200;
    top: 0;
    left: 0;
  }
  .header-box .header-box__item:nth-child(2){
    margin-left: 0;
    margin-left: 100px;
    margin-left: 130px;
    margin-top: 10px;
  }
  .header-box .header-box__item:nth-child(3){
    /* display: none; */
  }
  .header-box .top-panel-soc{
    width: unset;
    margin: unset;
  }
  .dropdown-line {
    flex-direction: column;
  }
  .dropdown-line__left {
    width: 100%;
    padding: 100px 10px;
    padding: 0;
  }
  .dropdown-line__right {
    display: none;
  }
  .dropdown__img {
    height: 100%;
  }
  .sec-center form {
    display: flex;
    flex-direction: column;
    margin: 10px;
  }
  label.for-dropdown {
    margin: 0 0 20px 20px;
    top: 0;
    position: relative;
  }
  label.for-dropdown:before{
    content: "+";
    position: absolute;
    left: -20px;
    top: -2px;
    transition: all 200ms linear;
  }
  .dropdown:checked + label:before,
  .dropdown-2:checked + label:before,
  .dropdown-3:checked + label:before{
    content: "-";
    position: absolute;
    transition: all 200ms linear;
  }
}
