.Header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: #fff;
}

.Header .header_main_wrapper {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 14px rgba(59, 37, 37, 0.08);
}

.Header .top_header {
  width: 100%;
  height: 38px;
  overflow: hidden;
  background: #d9424f;
  transition:
    height 0.35s ease,
    opacity 0.25s ease;
}

/* .Header.header-scrolled .top_header {
  height: 0;
  opacity: 0;
} */

.Header .top_header_inner {
  width: 100%;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.Header .top_welcome {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.Header .top_header_right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.Header .top_contact {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
}

.Header .top_contact svg {
  color: #fff;
  font-size: 11px;
}

.Header .social_icon {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.Header .social_icon li {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  overflow: hidden;
}

.Header .social_img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.Header .main_header {
  width: 100%;
  background: #fffaf8;
  border-bottom: 1px solid #eadede;
}

.Header .desktop_header {
  min-height: 70px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 6px 0;
}

.Header .logo_div {
  width: 145px;
  flex: 0 0 145px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.Header .logo_img {
  width: 100%;
  height: auto;
  display: block;
}

.Header .desktop_navbar {
  padding: 0;
  flex: 1;
}

.Header .main_nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.Header .main_nav .nav-link {
  position: relative;
  padding: 25px 0 !important;
  margin: 0;
  color: #3b2525;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.Header .main_nav .nav-link:hover {
  color: #dc3545;
}

.Header .main_nav .nav-link.active {
  color: #dc3545;
}
.Header .main_nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 13px;
  width: 100%;
  height: 2px;
  border-radius: 5px;
  background: #c9a45c;
}

.Header .header_right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 17px;
  flex-shrink: 0;
}

.Header .search_input_div {
  width: 340px;
}

.Header .search_input_div .input-group {
  width: 100%;
  height: 40px;
  background: #fff;
  border: 1px solid #cfc4c0;
  border-radius: 30px;
  overflow: hidden;
}

.Header .search_input_div .form-control {
  height: 38px;
  padding: 0 0 0 14px;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #3b2525;
  font-size: 13px !important;
}

.Header .search_input_div .form-control::placeholder {
  color: #806f6a;
}

.Header .search_input_div .input-group-text {
  width: 38px;
  height: 38px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #3b2525;
}

.Header .search_button {
  cursor: pointer;
}

.Header .search_button:hover {
  color: #8f4b55;
}

.Header .clear_icon_btn {
  cursor: pointer;
}

.Header .header_action_icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.Header .header_action {
  position: relative;
  width: 34px;
  height: 42px;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  color: #3b2525;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.Header .header_action:hover {
  color: #8f4b55;
  transform: translateY(-1px);
}

.Header .header_action > svg {
  width: 27px;
  height: 25px;
}

.Header .login_action {
  width: auto;
  min-width: 62px;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
}

.Header .login_action svg {
  color: #8f4b55;
}

.Header .count_div {
  position: absolute;
  top: 4px;
  right: -1px;
  min-width: 16px;
  width: 16px;
  height: 16px;
  padding: 0;
  border-radius: 50%;
  background: #dc3545;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  font-size: 9px;
  line-height: 1;
  font-weight: 600;
}

.Header .mobile_header {
  display: none;
}

.bloom_mobile_offcanvas {
  width: 290px !important;
  background: #fffaf8;
}

.bloom_mobile_offcanvas .offcanvas-header {
  padding: 10px 20px;
  border-bottom: 1px solid #eadede;
}

.bloom_mobile_offcanvas .btn-close {
  opacity: 1;
  box-shadow: none !important;
}
.offcanvas_logo {
  width: 84px;
  height: auto;
  display: block;
}

.bloom_mobile_offcanvas .offcanvas-body {
  padding: 0;
}

.mobile_offcanvas_nav {
  width: 100%;
  padding: 10px 20px;
}

.mobile_nav_link {
  width: 100%;
  min-height: 52px;
  padding: 0;
  border: none;
  border-bottom: 1px solid #eadede;
  outline: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #3b2525;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
}

.mobile_nav_link.active {
  color: #d9434f;
}

.nav_arrow {
  color: #c9a45c;
  font-size: 18px;
}

.mobile_offcanvas_contact {
  margin: 20px;
  padding: 15px;
  border-radius: 10px;
  background: #f6e9e8;
}

.mobile_offcanvas_contact p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #3b2525;
  font-size: 12px;
}

.mobile_offcanvas_contact svg {
  color: #8f4b55;
}

@media (max-width: 1399px) {
  .Header .desktop_header {
    gap: 22px;
  }

  .Header .main_nav {
    gap: 23px;
  }

  .Header .search_input_div {
    width: 300px;
  }
}

@media (max-width: 1199px) {
  .Header .desktop_header {
    gap: 15px;
  }

  .Header .logo_div {
    width: 125px;
    flex-basis: 125px;
  }

  .Header .main_nav {
    gap: 16px;
  }

  .Header .main_nav .nav-link {
    font-size: 11px;
  }

  .Header .search_input_div {
    width: 270px;
  }

  .Header .header_right {
    gap: 8px;
  }
}

@media (max-width: 991px) {
  .Header .desktop_header {
    display: none;
  }

  .Header .mobile_header {
    display: block;
  }

  .Header .mobile_header_top {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .Header .mobile_menu_btn {
    width: 38px;
    height: 38px;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    color: #3b2525;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 19px;
  }

  .Header .mobile_menu_btn:hover {
    color: #d9434f;
  }

  .Header .mobile_header_top .logo_div {
    width: 125px;
    flex: 0 0 125px;
  }

  .Header .mobile_actions {
    display: flex;
    align-items: center;
    gap: 1px;
  }

  .Header .mobile_actions .header_action {
    width: 34px;
    height: 38px;
  }

  .Header .mobile_actions .header_action > svg {
    width: 18px;
    height: 18px;
  }

  .Header .mobile_actions .count_div {
    top: 2px;
    right: -1px;
  }

  .Header .mobile_search {
    display: block;
    width: 100%;
    padding-bottom: 10px;
    animation: bloomSearchOpen 0.25s ease;
  }

  .Header .mobile_search .search_input_div {
    width: 100%;
  }

  .Header .mobile_search .search_input_div .input-group {
    margin-top: 6px;
  }

  .Header .mobile_search_toggle {
    transition:
      color 0.2s ease,
      transform 0.2s ease,
      background 0.2s ease;
  }

  .Header .mobile_search_toggle.active {
    color: #d9434f;
  }

  .Header .mobile_search_toggle.active svg {
    transform: scale(1.08);
  }
}

@keyframes bloomSearchOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 575px) {
  .Header .top_header {
    height: 28px;
  }

  .Header .top_header_inner {
    height: 28px;
    justify-content: space-between;
  }

  .Header .top_header_right {
    gap: 10px;
  }
  .Header .top_welcome,
  .Header .top_contact {
    font-size: 10px;
  }

  .Header .top_contact svg {
    font-size: 9px;
  }

  .Header .social_icon {
    display: none;
  }

  .Header .mobile_header_top {
    min-height: 48px;
    padding: 4px 0;
  }

  .Header .mobile_header_top .logo_div {
    width: 105px;
    flex-basis: 105px;
  }

  .Header .mobile_menu_btn {
    width: 18px;
    height: 18px;
    font-size: 20px;
  }

  .Header .mobile_actions {
    gap: 0;
  }

  .Header .mobile_actions .header_action {
    width: 31px;
    height: 36px;
  }

  .Header .mobile_actions .header_action > svg {
    width: 20px;
    height: 20px;
  }

  .Header .mobile_actions .count_div {
    min-width: 15px;
    width: 15px;
    height: 15px;
    font-size: 8px;
  }

  .Header .mobile_search {
    padding-bottom: 8px;
  }

  .Header .mobile_search .search_input_div .input-group {
    height: 36px;
    margin-top: 5px;
  }

  .Header .mobile_search .search_input_div .form-control {
    height: 34px;
    font-size: 12px !important;
  }

  .Header .mobile_search .search_input_div .input-group-text {
    width: 35px;
    height: 34px;
  }

  .bloom_mobile_offcanvas {
    width: 82% !important;
    max-width: 310px;
  }
}
