@font-face {
  font-family: "Korolev";
  src: url("../fonts/Korolev Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "Korolev";
  src: url("../fonts/Korolev Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Korolev";
  src: url("../fonts/Korolev Light Italic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: "Korolev";
  src: url("../fonts/Korolev Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Korolev";
  src: url("../fonts/Korolev Medium Italic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: "Korolev";
  src: url("../fonts/Korolev Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Korolev";
  src: url("../fonts/Korolev Bold Italic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "Korolev";
  src: url("../fonts/Korolev Heavy.woff") format("woff");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Korolev";
  src: url("../fonts/Korolev Heavy Italic.woff") format("woff");
  font-weight: 900;
  font-style: italic;
}

.new-css * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Korolev", sans-serif;
  border: none;
  outline: none;
  text-decoration: none;
  color: var(--primary-text);
}

.new-css {
  --primary: #00a478;
  --secoundary: #003d22;
  --primary-text: #1d1813;
  --sub-text: #1d1813;
  --border: 1px solid #00000024;
  --lite-border: 1px solid #0000000b;
}

.new-css [class*="grid"] {
  display: grid;
}

.new-css .align-center {
  align-items: center;
}

.new-css header .container {
  max-width: 1440px;
  padding: 0 20px;
  margin: auto;
  width: 100%;
}

.new-css button {
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 10px;
  background: var(--primary);
  color: white;
  border: 1px solid var(--primary);
  text-transform: capitalize;
  line-height: 1;
  transition: 0.3s;
}

.new-css button:hover {
  background: var(--primary) !important;
  color: white !important;
  border-color: var(--primary) !important;
}

.new-css button i svg path {
  stroke: var(--primary) !important;
}

.new-css button i svg {
  height: 16px !important;
  width: unset !important;
}

.new-css button.empty:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.new-css main button.empty:hover {
  background: var(--primary) !important;
}

.new-css button.empty:hover {
  background: var(--primary);
  color: white;
}

.new-css button:hover svg path {
  stroke: white !important;
}

.new-css button.learn {
  transition: 0.1s;
}

.new-css button.learn:hover {
  padding-bottom: 5px;
}

.new-css button.empty {
  background: transparent;
  color: var(--primary-text);
}

.new-css button.learn {
  border: none;
  border-bottom: 3px solid var(--primary);
  background: none;
  padding: 0;
  border-radius: 0;
  color: var(--primary-text);
}

/* header */
.new-css header.existing-page {
  background: var(--primary-text);
}

.new-css header {
  height: 80px;
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 9999;
  transition: 0.3s;
  border-bottom: 1px solid #dddddd8b;
}

.new-css header.sticky {
  background: var(--primary-text);
  border-color: transparent;
}

.new-css header .container {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 100%;
  padding: 0 50px;
}

.new-css header .links {
  position: fixed;
  max-width: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 50px;
  padding-top: 0;
  height: 100dvh;
  top: 0;
  left: 0;
  z-index: 9999;
  gap: 15px;
  background: white;
  backdrop-filter: blur(20px);
  transform: translateX(-100%);
  transition: 0.3s;
  box-shadow: #959da533 0px 8px 24px;
}

.new-css header .links h3 {
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 80px;
  border-bottom: var(--border);
  margin-bottom: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.new-css .expanded-menu .expend-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 5px;
  padding: 15px 0;
}

.new-css .expanded-menu .expend-items a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.new-css .expanded-menu .expend-items img {
  width: 30px;
}

.new-css .expanded-menu p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 500;
  padding-bottom: 10px;
  border-bottom: var(--border);
  width: 100%;
  justify-content: space-between;
  cursor: pointer;
}

.new-css .links h3:hover {
  gap: 5px;
}

.new-css header .links a {
  color: var(--primary-text);
  font-size: 20px;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.new-css header .links a:hover {
  transform: translateX(5px);
  color: var(--primary);
}

.new-css header button {
  width: fit-content;
  position: relative;
  margin-left: auto;
  border-color: white;
  color: white !important;
}

.new-css header .logo img {
  height: 50px;
}

.new-css header .bars span {
  width: 35px;
  height: 2px;
  background: white;
  display: block;
  border-radius: 10px;
  transition: 0.3s;
}

.new-css header .menu {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  width: fit-content;
}

.new-css header .menu p {
  color: white;
  font-weight: 300;
}

.new-css header .bars span:nth-child(2) {
  width: 25px;
}

.new-css header .bars span:nth-child(3) {
  width: 30px;
}

.new-css header .bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.new-css header.active .menu .bars span {
  width: 35px;
  transition: 0.3s;
}

.new-css header.active .links {
  transform: translateX(0);
}

.new-css .expanded-menu .expend-items {
  height: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.new-css .expanded-menu .expend-items.active {
  animation: open 0.3s linear forwards;
  margin: 15px 0;
}

@keyframes open {
  100% {
    height: 100%;
  }
}

.new-css .login-state {
  display: flex;
  align-items: center;
  gap: 15px;
  width: fit-content;
  margin-left: auto;
}

.new-css .login-state :is(p, i) {
  color: white;
}

.new-css .login-state :is(.cart, .avatar) {
  display: flex;
  align-items: center;
  gap: 5px;
}

.new-css .login-state i {
  font-size: 20px;
  width: 40px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--lite-border);
  border-color: #ffffff39;
  border-radius: 50px;
}

.new-css .login-state .avatar p {
  font-size: 18px;
  margin: 0;
  line-height: 1;
}

.new-css .cart {
  position: relative;
}

.new-css .cart p.tag {
  position: absolute;
  top: -5px;
  right: -5px;
  line-height: 1;
  padding: 5px;
  margin: 0;
  background: var(--primary);
  color: white;
  font-size: 10px;
  border-radius: 10px;
}

.new-css .cart {
  cursor: pointer;
}

.new-css .cart .cart-details {
  position: absolute;
  top: 40px;
  right: -50px;
  width: 200px;
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: white;
  border-radius: 10px;
  opacity: 0;
  transition: 0.3s;
  scale: 0;
}

.new-css .cart:hover .cart-details {
  opacity: 1;
  scale: 1;
}

.new-css .cart .cart-details :is(p, a) {
  color: var(--primary-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.new-css .cart .cart-details i {
  color: var(--primary);
}

.new-css .cart .cart-details span {
  font-weight: 700;
}

@media (max-width: 660px) {
  html.new-css {
    font-size: 62%;
  }

  .new-css .fix {
    grid-area: 1 / 1 / 2 / 2;
  }

  .new-css p {
    line-height: 1.6;
  }

  .new-css .menu p {
    display: none;
  }

  .new-css header .logo img {
    height: 30px;
  }

  .new-css header .container {
    gap: 10px;
    grid-template-columns: 1fr 1fr auto;
    padding: 0 20px;
    gap: 15px;
  }

  .new-css header button {
    padding: 10px;
    text-wrap: nowrap;
  }

  .new-css .list-url {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 50px;
    gap: 10px;
  }

  .new-css .logo {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .new-css .list-url::before {
    display: none;
  }

  .new-css .list-url a {
    padding: 0;
  }

  .new-css .list-url a::before {
    display: none;
  }

  .new-css header .links {
    overflow-y: scroll;
  }

  .new-css header .links h3 {
    height: unset;
    padding: 15px 0;
  }

  .new-css header .links a {
    font-size: 16px;
  }

  .new-css .expanded-menu p {
    font-size: 16px;
  }

  .new-css .expanded-menu i {
    transition: 0.3s;
  }

  .new-css .expanded-menu i.rotated {
    transform: rotate(180deg);
    transition: 0.3s;
  }

  .new-css header .links {
    width: 100%;
    padding: 20px;
    padding-top: 15px;
  }

  .new-css .login-state {
    gap: 10px;
  }

  .new-css .login-state i {
    width: unset;
    height: unset;
    border: unset;
    font-size: 25px;
  }

  .new-css .login-state .avatar p {
    font-size: 14px;
    display: none;
  }

  .new-css .cart p.tag {
    top: -10px;
  }

  .new-css .cart .cart-details {
    right: 0;
  }
}


/* Make the slide-out menu scroll when content exceeds viewport height */
.new-css header .links {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch; /* smoother iOS scrolling */
    overscroll-behavior: contain; /* prevents background scroll chaining */
    padding-bottom: 40px; /* optional: breathing room at bottom */
}