.header_top {
  text-align: center;
  padding: 5px;
  background-color: var(--primary-color);
  color: var(--primary-text-color);
}

.header_top .container {
  display: flex;
}

.header_top:has(.header_top_reseller) .container {
  justify-content: space-between;
}

.header_top a {
  color: var(--primary-text-color);
}

.header_top i:hover {
  font-size: 14px;
}

.header_top a:hover {
  font-weight: 600;
}

.header_top p {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

.header_top .header_top_reseller {
  text-align: start;
  width: 25%;
}

.header_top .header_top_social_medias {
  text-align: end;
  width: 25%;
}

.header_top .header_top_social_medias i {
  margin-left: 5px;
}

.header_top:not(:has(.header_top_social_medias, .header_top_sentence)) .header_top_reseller,
.header_top:not(:has(.header_top_reseller, .header_top_sentence)) .header_top_social_medias,
.header_top:not(:has(.header_top_social_medias, .header_top_reseller)) .header_top_sentence {
  width: 100%;
  text-align: center;
}

.header_top:has(.header_top_sentence) .header_top_reseller {
  border-right: 1px solid var(--primary-text-color);
}

.header_top:has(.header_top_sentence) .header_top_social_medias {
  border-left: 1px solid var(--primary-text-color);
}


/*
HEADER MOBILE - START
*/

.header_mobile .content {
  padding: 20px 0 0 0;
}

.header_mobile .j_menu_wishlist {
  width: 20px;
  height: 20px;
  position: absolute;
  font-style: normal;
  font-size: 0.75rem;
  left: 15px;
  line-height: 20px;
  color: var(--primary-text-color);
  background-color: var(--primary-color);
  opacity: 0.9;
  border-radius: 50%;
}

.header_mobile .cart_count {
  width: 20px;
  height: 20px;
  position: absolute;
  font-style: normal;
  font-size: 0.75rem;
  left: 15px;
  line-height: 20px;
  color: var(--primary-text-color);
  background-color: var(--primary-color);
  opacity: 0.9;
  border-radius: 50%;
}

.header_desktop .cart-drawer a.btn:hover {
  background-color: var(--color-background-grey);
}

.header-line {
  background-color: var(--secondary-background-color);
}

.first-menu {
  background-color: var(--primary-background-color);
  color: var(--primary-background-text-color);
}

.first-menu .input-group-append {
  display: flex;
}

.first-menu a {
  color: var(--primary-background-text-color);
}

.header_mobile_nav {
  text-align: center;
}

.header_mobile_nav a,
.header_mobile_nav button {
  background-color: transparent;
  border: none;
}

.header_mobile_nav a {
  color: var(--primary-color);
}

.header_mobile_nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.header_mobile_nav ul li a i,
.header_mobile_nav ul li button i {
  position: relative;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.header_mobile_nav ul li a img {
  height: auto;
  width: 115px;
}

.header_desktop_btn_menu a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header_desktop_btn_menu i {
  font-size: 20px;
  margin-right: 5px;
}

.header_desktop_btn_menu span {
  font-size: 16px;
}

.header_desktop_btn_menu span:hover {
  font-weight: 600;
}

.header_mobile_search {
  display: none;
}

.header_mobile_search .content {
  padding: 15px 0;
}

.header_mobile_search form input {
  height: 35px;
  border: none;
}

.header_mobile_search form button {
  height: 35px;
  background-color: white;
  border: none;
  padding: 0 10px;
}

.header_mobile_search form button:hover {
  background-color: #f1f1f1;
}

.header_mobile_search .realtime_search {
  border-radius: 0;
}

.header_mobile_search .realtime_search ul {
  background-color: white;
}

.j_cat_open_end_close .bi-chevron-down {
  transform: rotate(-90deg);
}

.j_cat_open_end_close .bi.active {
  transform: rotate(0deg);
}

/*
HEADER MOBILE - END
*/

/*
HEADER DESKTOP - START
*/

.header_desktop {
  display: none;
  background-color: white;
}

.header_desktop .cart_count {
  width: 20px;
  height: 20px;
  position: absolute;
  text-align: center;
  left: 20px;
  line-height: 20px;
  font-style: normal;
  background-color: var(--primary-color);
  color: var(--primary-text-color);
  border-radius: 50%;
  left: 30px;
  bottom: 5px;
}

.header_desktop .bi:hover span {
  background-color: #000000cc;
}

.header_desktop_logo {
  text-align: center;
  flex-basis: 25%;
}

.header_cart_mobile_logo img,
.header_cart_desktop_logo img {
    width: 100px;
}

.header_desktop_logo img {
  height: 50px;
}

.header_desktop_logo a span {
  position: absolute;
  top: -9999px;
  left: -9999px;
  text-indent: -9999px;
}

.header_desktop_search {
  position: relative;
  flex-basis: 50%;
}

.header_desktop_search #button-search {
  border-bottom: none;
}

.header_desktop_search .j_search {
  border: 1px solid var(--secondary-background-color);
}

.header_desktop_buttons {
  display: flex;
  flex-basis: 25%;
  justify-content: space-between;
  padding-left: 70px;
}

.header_desktop_buttons_account,
.header_desktop_buttons_wishlist,
.header_desktop_buttons_cart {
  position: relative;
  flex-basis: 50px;
  border-radius: 5px;
  transition: background-color 0.2s ease-in-out;
  padding: 20px 30px;
}

.header_desktop_buttons_account {
  background: url(images/user.png) no-repeat center;
}

.header_desktop_buttons_wishlist {
  background: url(images/heart.png) no-repeat center;
}

.header_desktop_buttons_cart {
  background: url(images/cart.png) no-repeat center;
}

.header_desktop_buttons_account.active,
.header_desktop_buttons_account:hover,
.header_desktop_buttons_wishlist.active,
.header_desktop_buttons_wishlist:hover,
.header_desktop_buttons_cart.active,
.header_desktop_buttons_cart:hover {
  background-color: #000000cc;
}

.header_desktop_buttons_wishlist span,
.header_desktop_buttons_cart span {
  display: none;
  width: 20px;
  height: 20px;
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 0.8rem;
  font-weight: bold;
  background-color: #000000cc;
  border-radius: 50%;
}

.header_desktop_buttons_wishlist span.active,
.header_desktop_buttons_cart span.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header_desktop_categories_ul {
  display: flex;
}

.header_desktop_categories_ul > li {
  position: relative;
  text-align: center;
  flex-grow: 1;
}

.header_desktop_categories_ul > li > a {
  display: flex;
  align-items: start;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--secondary-background-text-color);
  text-transform: uppercase;
  padding: 15px 0;
  text-align: center;
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.header_desktop_categories_ul > li > a:hover {
  font-weight: 600;
}

.header_desktop_categories_ul > li:hover > div {
  display: block;
}

.header_desktop_categories_ul > li > div {
  display: none;
  width: 250px;
  position: absolute;
  left: 0;
  max-height: 400px;
  height: initial;
  padding: 20px 10px;
  border-top: none;
  background-color: var(--secondary-background-color);
  z-index: 9999;
  overflow-y: auto;
}

.header_desktop_categories_ul > li > div div:first-child ul li {
  text-align: left;
}

.header_desktop .form-control {
  color: #000000;
  background-color: transparent;
  border-top: none;
  border-bottom: none;
  border-right: none;
  border-left: none;
  border-radius: 0;
  padding: 6px 12px 6px 20px;
}

.header_desktop .form-control:focus {
  background-color: transparent;
  box-shadow: none;
}

.header_desktop .form-control::placeholder {
  color: var(--primary-background-text-color);
}

.header_cart_mobile,
.header_cart_desktop {
  background-color: var(--primary-color);
  padding: 1rem 0;
}


.header_cart_mobile .header_cart_mobile_arrow,
.header_cart_desktop .header_cart_desktop_arrow {
  color: var(--primary-text-color);
}

.header_cart_mobile .header_cart_mobile_safe,
.header_cart_desktop .header_cart_desktop_safe {
  color: var(--primary-text-color);
}

.login-box {
  border: 1px solid black;
  border-radius: 5px;
}

.login-box p {
  font-size: 0.75rem !important;
}

.header_user_box {
  position: relative;
  display: inline-block;
}

.header_user_box_btn {
  border: none;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header_user_box_btn img {
  width: 25px;
  height: 25px;
}

.header_user_box_btn span {
  font-size: 1rem;
  color: var(--primary-background-text-color);
  font-weight: 500;
}

.header_user_box_btn .bi-person {
  font-size: 28px !important;
}

.header_user_box_btn .bi-chevron-down {
  font-size: 18px !important;
}

.header_user_box_content {
  display: none;
  position: absolute;
  min-width: 160px;
  background-color: var(--secondary-background-color);
  border-radius: 5px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.12);
  z-index: 999;
}

.header_user_box_content a {
  font-size: 0.875rem !important;
  color: var(--secondary-background-text-color);
  padding: 1rem 1rem 0;
  text-decoration: none;
  display: block;
  transition: 0.3s;
}

.header_user_box_content a:last-child {
  padding-bottom: 1rem;
}

.header_user_box_content a:hover {
  transition: 0.3s;
  transform: scale(1.05);
}

.header_user_box:hover .header_user_box_content {
  display: block;
}

.header_user_box:hover .header_user_box_content {
  display: block;
}

/*
HEADER DESKTOP - END
*/

/*
CATEGORIES - START
*/

.cat {
  padding: 0 0 5px 20px;
  text-align: start;
}

.sub {
  padding: 10px 0 10px 25px;
  text-align: start;
}

.box ul li a {
  color: var(--secondary-background-text-color);
  font-size: 1rem;
}

.box ul li a:hover {
  font-weight: 600;
}

/*
CATEGORIES - END
*/

/*
WIDGETS (REALTIME SEARCH) - START
*/

.realtime_search {
  display: none;
  width: 100%;
  position: absolute;
  top: 2.65rem;
  padding: 10px 5px 10px 10px;
  background-color: white;
  z-index: 999;
}

.realtime_search ul {
  max-height: 300px;
  overflow-y: auto;
}

.realtime_search ul::-webkit-scrollbar {
  width: 5px;
  background-color: white;
}

.realtime_search ul::-webkit-scrollbar-thumb {
  background-color: var(--color-background-black);
}

.realtime_search li a {
  display: flex;
  align-items: flex-start;
  padding: 10px;
  transition: background-color 0.2s ease-in-out;
}

.realtime_search li a:hover {
  background-color: #f6f6f6;
}

.realtime_search li a img {
  width: 50px;
  margin-right: 20px;
}

.realtime_search li a p {
  text-align: left;
  font-size: 0.75rem;
  color: var(--color-text-grey);
}

.realtime_search li a p .old_price {
  font-size: 0.75rem;
  text-decoration: line-through;
  float: left;
  margin: 0 10px 0 0;
}

.realtime_search li a p .new_price {
  color: var(--color-background-black);
  font-weight: bold;
  float: left;
}

/*
WIDGETS (REALTIME SEARCH) - END
*/

/*
MENU LINKS - START
*/

#menu-links {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

#menu-links i,
#menu-links a {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-background-text-color);
}

#menu-links button {
  font-size: 2rem;
  font-weight: bold;
  background-color: transparent;
  border: none;
}

#menu-links i:hover,
#menu-links a:hover,
#menu-links a:hover i,
#menu-links button:hover i {
  color: var(--primary-color);
}

#menu-links a p,
#menu-links a span,
#menu-links button span {
  font-size: 0.9rem;
}

#menu-links a p:hover {
  color: var(--color-header-text-opacity);
  font-weight: bold;
}

/*
MENU LINKS - END
*/

/*
992px
*/
@media (min-width: 62em) {
  .header_mobile {
    display: none;
  }

  .header_desktop {
    display: block;
  }
}

@media (max-width: 62em) {
  .header_top .container {
    flex-wrap: wrap;
  }

  .header_top .header_top_social_medias,
  .header_top .header_top_reseller {
    width: 50%;
    text-align: center;
  }

  .header_top:has(.header_top_sentence) .header_top_reseller,
  .header_top:has(.header_top_sentence) .header_top_social_medias {
    border: none;
  }

  .header_top:not(.header_top_reseller) .header_top_sentence {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }
}

/*
768px
*/
@media (max-width: 48em) {
  .header_mobile_nav {
    border-bottom: 1px solid var(--color-background-grey);
  }

  .heading h1 span {
    font-size: 1rem;
  }

  .heading h1 i {
    font-size: 1.5rem;
  }
}

/*
768px
*/
@media (max-width: 48em) {
  .first-block {
    justify-content: center;
  }

  .first-block a {
    font-size: 0.6rem;
  }

  .login_box header {
    padding: 20px !important;
  }
}
