/* =====================================
   PREMIUM HEADER DESIGN
   Parent Class: .Header
===================================== */

.Header {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(15px);
}

/* Main Wrapper */

.Header .top_headers_holder {
  background: #fffbf0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 6px 0px;
}

/* Middle Header */

.Header .all_divs_holder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

/* =====================
      LOGO
===================== */

.Header .logo_div {
  width: 160px !important;
  height: 70px !important;
  cursor: pointer;
}

.Header .logo_div .logo_img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* =====================
      NAVIGATION
===================== */

.Header .box1 {
  flex: 1;
}

.Header .box1 .navbar {
  padding: 0;
}

.Header .box1 .navbar .navbar-toggler {
  padding: 0px;
  font-size: 18px;
  border: none;
}

.Header .box1 .navbar-nav {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.Header .box1 .navbar-nav .nav-link {
  position: relative;
  color: #222 !important;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0 !important;
  transition: 0.3s;
}

.Header .box1 .navbar-nav .nav-link:hover {
  color: #820802 !important;
}

.Header .box1 .navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 20px;
  background: #820802;
}

/* =====================
      SEARCH
===================== */

.Header .search_input_div {
  flex: 1;
  max-width: 420px;
}

.Header .search_input_div .input-group {
  background: #f7f7f7;
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid #82080269;
  height: 100%;
  width: 100%;
}

.Header .search_input_div .form-control {
  border: none !important;
  background: transparent !important;
  padding-left: 20px;
  font-size: 14px;
  box-shadow: none !important;
}

.Header .search_input_div .input-group-text {
  width: 35px;
  height: 35px;
  aspect-ratio: 1/1;
  /* margin: 3px; */
  border-radius: 50% !important;
  background: #820802 !important;
  color: #fff;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.Header .search_input_div .search_icon {
  font-size: 17px;
}

/* =====================
      CALL / USER BOX
===================== */

.Header .box2 {
  display: flex;
  align-items: center;
  gap: 10px;

  background: #fafafa;
  border-radius: 50px;
}

.Header .common_icon_holder {
  width: 25px !important;
  height: 25px !important;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50% !important;

  background: #820802 !important;

  box-shadow: 0 8px 20px rgba(78, 14, 17, 0.25);

  cursor: pointer;
}

.Header .common_icon_holder .call_icon {
  color: #fff;
  font-size: 13px;
}

.Header .box2 .text_holder {
  margin-left: 5px !important;
}

.Header .box2 .first_text {
  margin: 0;
  font-size: 11px !important;
  color: #777 !important;
}

.Header .box2 .number_text {
  margin: 0;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #820802 !important;
}

/* =====================
      LOCATION CART
===================== */

.Header .three_box_div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.Header .three_box_div .box_div {
  border: none !important;
  cursor: pointer;
  color: #000;
  font-size: 15px;
  font-weight: 500;
  line-height: normal;
}

.Header .three_box_div .sub_text {
  margin: 0;
  font-size: 14px !important;
  font-weight: 600;
  color: #850a02 !important;
}

.Header .three_box_div .common_icon {
  color: #820802;
  margin-left: 0px;
  font-size: 20px;
}

/* ==========================
 MOBILE OFFCANVAS MENU
========================== */

.mobile_menu_btn {
  display: none;
}

.menu_btn {
  border: none;
  background: #820802;
  color: #fff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile_offcanvas {
  width: 280px !important;
}

.mobile_offcanvas .offcanvas-body {
  padding: 10px 0px;
}

.mobile_offcanvas .offcanvas-header {
  background: #fffbf0;
  border-bottom: 1px solid #eee;
}

.mobile_logo {
  width: 120px;
  height: 50px;
  object-fit: contain;
}


.mobile_offcanvas .mobile_nav .nav-link {
  color: #000 !important;
  font-size: 14px;
  font-weight: 500;
  padding: 15px 10px;
  border-bottom: 1px solid #ddd;
}

.mobile_offcanvas .accordion-button.collapsed {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 15px;
  background: #fff;
}

.mobile_offcanvas .accordion-button:focus{
  box-shadow: none !important;
}

.mobile_offcanvas .accordion-button {
    font-size: 14px;
    font-weight: 500;
    padding: 10px 15px;
    background: #fff4f4;
    color: #000;
}

.mobile_offcanvas .accordion-flush>.accordion-item {
  border-bottom: 1px solid #ddd;
  border-top: none;
}

.mobile_nav .nav-link:hover,
.mobile_nav .nav-link.active {
  color: #820802 !important;
}

.mobile_offcanvas .accordion-body {
  padding: 7px 10px;
}

.mobile_offcanvas .accordion-body .mobile_submenu a {
  color: #222;
  text-align: left;
  padding: 7px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .25s, color .25s, padding-left .25s;
  display: block;
}


/* Desktop */

.desktop_menu {
  display: block;
}

.desktop_menu .nav-link {
  color: #000;
  font-weight: 500;
}

.desktop_menu .nav-link.active {
  color: #851005;
  font-weight: 600;
  text-decoration: underline !important;
}


.nav_dropdown {
  position: relative;
}

.nav_dropdown_menu {
  position: absolute;
  top: calc(100% + -10px);
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border-radius: 0 0 8px 8px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  z-index: 9999;
}


.nav_dropdown_menu a {
  color: #222;
  text-align: left;
  padding: 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .25s, color .25s, padding-left .25s;
  display: block;
}

.nav_dropdown_menu a:hover {
  background: #fff2f1;
  color: #000;
  padding-left: 25px;
}

.nav_dropdown.dropdown_active .nav_dropdown_menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav_dropdown>.nav-link svg {
  font-size: 14px;
  transition: transform .3s;
}

.nav_dropdown:hover>.nav-link svg {
  transform: rotate(90deg);
}


.desktop_menu .nav-link {
    padding: 5px 15px;
    font-size: 15px;
}

@media (max-width: 991px) {
  .desktop_menu {
    display: none;
  }

  .mobile_menu_btn {
    display: block;
  }

  .Header .all_divs_holder {
    flex-wrap: wrap;
  }

  .Header .box1 {
    flex: 0;
    width: auto;
  }

  /* Show search on mobile */
  .Header .box2 {
    display: flex;
    order: 3;
    width: 100%;
    align-items: center;
  }

  .Header .search_input_div {
    width: 100%;
    max-width: 100%;
  }

  .Header .three_box_div {
    margin-left: auto;
  }
}

@media (max-width: 576px) {
  .Header .all_divs_holder {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .Header .logo_div {
    width: 110px !important;
    height: 55px !important;
  }

  .Header .three_box_div {
    gap: 8px;
  }

  .Header .common_icon_holder {
    width: 32px !important;
    height: 32px !important;
  }
}

/* =====================
      MOBILE
===================== */

@media (max-width: 991px) {
  .Header .all_divs_holder {
    flex-wrap: wrap;
  }

  .Header .logo_div {
    width: 110px !important;
    height: 55px !important;
  }

  .Header .search_input_div {
    order: 3;
    width: 100%;
    max-width: 100%;
  }

  .Header .box1 {
    order: 4;
    width: 100%;
  }

  .Header .box2 {
    order: 2;
  }

  .Header .three_box_div {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .Header .logo_div {
    width: 90px !important;
    height: 50px !important;
  }

  .Header .box2 .text_holder {
    display: none;
  }

  .Header .box1 .navbar-nav {
    gap: 12px;
  }
}


@media (min-width: 992px) and (max-width: 1199px) {
  .desktop_menu .nav-link {
    padding: 5px 11px;
    font-size: 13px;
  }

  .Header .search_input_div .input-group {
    width: 100%;
  }

  .Header .box2 {
    width: 197px;
  }

  .Header .logo_div {
    width: 120px !important;
    height: 60px !important;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .desktop_menu .nav-link {
    padding: 5px 11px;
    font-size: 14px;
  }

  .Header .logo_div {
    width: 160px !important;
    height: 60px !important;
  }
}