.top-page {
  background-color: var(--bg-1);
  padding: 15px 0;
}
.main-top-page {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sub-top-page {
  position: relative;
}
.sub-top-page > ul {
  display: flex;
  align-items: center;
  gap: 50px;
}

.sub-top-page ul li {
  position: relative;
  display: block;
}
.sub-top-page > ul > li::after {
  position: absolute;
  content: "";
  width: 1px;
  top: 50%;
  transform: translateY(-50%);
  right: -25px;
  height: 35px;
  background-color: var(--color-white);
}

.sub-top-page > ul > li:nth-of-type(1):after {
  display: none;
}
.sub-top-page > ul > li > a {
  color: var(--color-white);
}
.sub-top-page ul li a i {
  font-size: 20px;
}

i.bi.bi-key {
  transform: rotate(309deg) scale(-1);
  display: inline-block;
}

.sub-top-page > ul > li > a {
  color: var(--color-white);
  display: flex;
  align-items: center;
  font-size: 17px;
  gap: 9px;
}

.language img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 50%;
}
.text-top-page p {
  text-align: center;
  color: var(--color-white);
}

.top-bar {
  padding: 25px 0;
}

.search-top-bar {
  position: relative;
}

.search-top-bar input {
  height: 50px;
  border: 1px solid var(--color-border);
  color: #cbcbcb;
  padding-right: 50px;
  padding-left: 95px;
  border-radius: 5px;
}
.search-top-bar::after {
  content: "";
  width: 25px;
  height: 30px;
  background-image: url(../images/search.png);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  right: 14px;
}

.search-top-bar input:focus {
  box-shadow: 0 0 5px 0px #d8282e5d;
  border: 1px solid var(--color-white);
}
.search-top-bar button {
  padding: 0 20px;
  border: none;
  border-radius: 5px 0 0 5px;
  top: 0;
  color: var(--color-white);
  left: 0;
  font-size: 20px;
  font-family: "font_medium";
  position: absolute;
  height: 50px;
  background-image: linear-gradient(
    to top,
    var(--color-btn1),
    var(--color-btn3)
  );
}

.sub-top-bar ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}

.sub-top-bar ul li {
  display: block;
}

.sub-top-bar ul li a {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--color-p);
}
.sub-top-bar ul li a i {
  font-size: 24px;
  color: var(--color-btn2);
}
.btn-categories-header {
  height: 60px;
  width: 100%;
  position: relative;
}

#btn-categories {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-1);
  height: 100%;
  width: 75%;
  font-size: 17px;
  gap: 10px;
  color: var(--color-white);
}

.btn-categories-header a i {
  font-size: 26px;
  display: flex;
}

.element-header {
  border-top: 1px solid #f0f0f0;
}

.element ul {
  display: flex;
  gap: 40px;
}
.element ul li {
  display: block;
}
.element ul li a {
  font-size: 18px;
  font-family: "font_medium";
  transition: all 0.3s linear;
  color: var(--color-black);
}
.element ul li a:hover {
  color: var(--color-btn2);
}

.sub-header {
  background-image: radial-gradient(#fff 5%, #ffe5e0 60%);
  min-height: 550px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  position: relative;
}
.sub-header .main-container {
  margin: 0 auto;
}

.sub-header::after {
  content: "";
  background-image: url(../images/bg.png);
  background-repeat: repeat;
  background-size: contain;
  width: 100%;
  position: absolute;
  pointer-events: none;
  z-index: -1;
  top: 0;
  height: 100%;
}
.text-slider-header {
  height: 100%;
  overflow-x: hidden;
  gap: 25px;
  display: flex;
  align-content: center;
  padding-bottom: 60px;
  flex-wrap: wrap;
  align-items: center;
}
.text-slider-header h2 {
  font-size: 34px;
  width: 72%;
  line-height: 50px;
  font-weight: 100;
  transition: all 1.95s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition-delay: 0.6s;
  transform: translateX(100%);
  opacity: 0;

  color: var(--color-btn2);
}

.text-slider-header p {
  width: 90%;
  font-size: 22px;
  transition: all 1.95s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition-delay: 1s;
  line-height: 34px;
  opacity: 0;

  transform: translateX(100%);
}
.text-slider-header span {
  font-family: "font_bold";

  color: var(--color-btn2);
}

.ctm-btn {
  background-image: linear-gradient(
    to top,
    var(--color-btn1),
    var(--color-btn3)
  );
  display: inline-block;
  padding: 9px 40px;
  height: 50px;
  border-radius: 5px;
  transition: all 0.3s linear;
  border: none;
  text-align: center;
  position: relative;
  z-index: 1;
  color: var(--color-white);
}
.ctm-btn::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transition: all 0.3s linear;
  z-index: -1;
  background: #fff;
  opacity: 0;
  border: 1px solid var(--color-btn3);
}
.ctm-btn:hover::after {
  opacity: 1;
  border-radius: 5px ;
}
.ctm-btn:hover {
  color: var(--color-btn3) !important;
}
.text-slider-header .btn-slider-header {
  opacity: 0;
  transform: translateY(-100%);
  transition: all 1.95s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition-delay: 1.4s;
}

.img-slider {
  width: 100%;
  height: 423px;
  display: flex;
  align-items: flex-end;
}

.img-slider img {
  width: 100%;
  display: block;
  height: 100%;
  transition: all 1.85s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: translateY(100%);

  object-fit: contain;
  object-position: bottom;
}

.owl-dots {
  position: absolute;
  bottom: 10px;
  width: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  transition: all 0.4s linear;
  background: var(--color-btn2);
  width: 45px;
}

.owl-theme .owl-dots .owl-dot span {
  width: 10px;
  height: 8px;
  width: 8px;
  transition: all 0.4s linear;
  margin: 5px 4px;
  background: #d6d6d6;
}

.owl-item.active .text-slider-header h2,
.owl-item.active .text-slider-header p {
  transform: translateX(0);
  opacity: 1;
}

.owl-item.active .text-slider-header .btn-slider-header {
  opacity: 1;
  transform: translateY(0%);
}

.owl-item.active .img-slider img {
  transform: translateY(0%);
}

.slider-header {
  width: 99%;
  margin: auto;
}

.product-full .img-products-index img {
  max-width: 100%;
  max-height: 100%;
  height: 100%;
  width: 100% !important;
  object-fit: cover;
}

.top-bar {
  transition: all linear 0.3s;
  opacity: 0;
  background-color: var(--color-white);
  z-index: 999;
  width: 100%;
}

.header.active .top-bar {
  transform: translateY(0);
  opacity: 1;
}

.top-bar.active {
  position: fixed;
  opacity: 1;
  top: 0;
  box-shadow: 0 0 3px #00000025;
  transform: translateY(0);
}

.dropdown-profile {
  background: var(--color-white);
  padding: 20px;
  width: 225px;
  display: none;
  border-radius: 20px;
  top: 115%;
  position: absolute;
  z-index: 77;
  box-shadow: 0 9px 7px #0000003b;
}

.dropdown-profile ul {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.dropdown-profile ul li {
  width: 100%;
}

.dropdown-profile ul li a {
  display: flex;
  gap: 10px;
  color: var(--color-d);
  align-items: center;
  font-family: "font_medium";
}

.cart-index {
  background-color: var(--color-white);
  height: 100vh;
  width: 400px;
  align-content: space-between;
  padding: 30px 0;
  position: fixed;
  display: flex;
  align-items: center;
  box-shadow: 0 0 8px #00000025;
  flex-wrap: wrap;
  top: 0;
  transition: all 0.3s linear;
  transform: translateX(105%);
  z-index: 9999999;
}
.cart-index.active {
  transform: translateX(0%);
}

.title-page {
  margin: 30px 0;
  text-align: center;
}
.navigation-header {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.navigation-header a {
  font-size: 18px;
  font-family: "font_medium";
  color: var(--color-p);
}
.navigation-header span {
  color: var(--color-btn3);
  font-size: 18px;
  font-family: "font_medium";
}

.title-cart-index {
  text-align: center;
  position: relative;
  width: 100%;
}

.title-cart-index h2 {
  font-family: "font_bold";
  color: var(--color-p);
}
.close-cart-index {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 25px;
  font-size: 24px;
  color: var(--color-p);
}
.product-cart-index {
  height: 70%;
  width: 100%;
  overflow: auto;
}
.product-cart-index ul li {
  display: block;
}
.product-cart-index ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 10px;
}

.img-product-cart-index {
  background-color: var(--bg-3);
  width: 40%;
  border-radius: 5px;
  display: flex;
  align-items: center;
  height: 120px;
  justify-content: center;
}
.img-product-cart-index img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.btns-cart-index {
  display: flex;
  height: 20%;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
  align-items: end;
  gap: 5px;
  align-content: end;
}
.btns-cart-index a {
  width: 60%;
}
.btns-cart-index a:last-of-type {
  border: 1px solid var(--color-btn2);
  background-color: var(--color-white);
  background-image: none;
  color: var(--color-btn1);
}
.text-product-cart-index {
  width: 65%;
  padding-left: 40px;
  position: relative;
}
.text-product-cart-index h2 {
  font-size: 16px;
  line-height: 25px;
  height: 55px;
  overflow: hidden;
}

.text-product-cart-index p {
  color: var(--color-btn3);
  font-family: "font_bold";
}

.delete-product-cart-index {
  position: absolute;
  width: 25px;
  top: 50%;
  text-align: center;
  font-size: 22px;
  left: 5px;
  transform: translateY(-50%);
}

.sub-product-cart-index {
  border-bottom: 1px solid #c9c9c988;
}

.product-cart-index {
  scrollbar-width: thin;
  scrollbar-color: var(--color-btn2) var(--bg-3);
}

.product-cart-index::-webkit-scrollbar-track {
  background: var(--bg-3);
}

.product-cart-index::-webkit-scrollbar-thumb {
  background-color: var(--color-btn3);
  border-radius: 0;
  border: 0 solid var(--color-btn1);
}

.product-cart-index::-webkit-scrollbar {
  width: 6px;
}

.cart-index {
  gap: 30px;
}

/* drop -mune catogerse  */

.categories-header {
  position: absolute;
  top: 100%;
  width: 220px;
  display: none;
}

.categories-header {
  position: absolute;
  top: 100%;
  width: 270px;
  background: #fff;
  z-index: 2;
  padding: 20px;
  box-shadow: 4px 4px 3px #0000001f;
}

.categories-header ul {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.categories-header ul li {
  display: block;

  width: 100%;
}

.categories-header ul li > a {
  color: var(--color-p2);
  font-family: "font_medium";
}

.sub-categories-header:hover {
  overflow-y: auto !important;
  transition: all 0.3s linear;
}

.sub-categories-header {
  scrollbar-width: thin;
  transition: all 0.3s linear;
  scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}

.sub-categories-header::-webkit-scrollbar-track {
  background: var(--scrollbarBG);
  transition: all 0.3s linear;
  border-radius: 100px;
  cursor: pointer;
}

.sub-categories-header::-webkit-scrollbar-thumb {
  background-color: var(--thumbBG);
  transition: all 0.3s linear;
  cursor: pointer;
  border-radius: 100px;

  border: 0 solid var(--scrollbarBG);
}

.sub-categories-header::-webkit-scrollbar {
  width: 7px;
  cursor: pointer;
  transition: all 0.3s linear;
}

.sub-categories-header {
  position: absolute;
  width: 450px;
  height: 100%;
  overflow: hidden;
  background: #fff;
  padding: 20px;
  left: -165%;
  display: none;
  top: 0;
}

.sub-categories-header h2 {
  padding-bottom: 16px;
  border-bottom: 1px solid #00000014;
  margin-bottom: 20px;
}

a.btn-sub-categories.active {
  color: var(--color-main);
}
