@media only screen and (min-width: 320px) {
  nav#menu.main-menu {
    display: block !important;
  }

  header .btn_mobile {
    display: none !important;
  }

  /* Menu */
  .main-menu {
    position: relative;
    z-index: 9;
    width: auto;
    top: 12px;
    right: 15px;
    float: right;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    color: #fff;
  }

  .main-menu ul,
  .main-menu ul li {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
  }

  .main-menu ul a,
  .main-menu ul li a {
    position: relative;
    margin: 0;
    padding: 5px 10px;
    display: block;
    white-space: nowrap;
  }

  /*First level styles */
  .main-menu > ul > li span > a {
    color: #fff;
    padding: 0 8px 15px 20px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
  }

  header.sticky .main-menu > ul > li span > a {
    color: #444;
  }

  header.sticky .main-menu > ul > li span:hover > a {
    opacity: 1;
    color: #108482;
  }

  header.sticktohead .main-menu > ul > li span > a {
    color: #444;
  }

  header.sticktohead .main-menu > ul > li span:hover > a {
    opacity: 1;
    color: #108482;
  }

  /* Submenu*/
  .main-menu ul ul {
    position: absolute;
    z-index: 1;
    visibility: hidden;
    right: 0px;
    top: 100%;
    margin: 0;
    display: block;
    padding: 0;
    background: #fff;
    min-width: 200px;
    -webkit-box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.175);
    -moz-box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.175);
    box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.175);
    transform: scale(0.4);
    transform-origin: 10% top;
    transition: 0.15s linear, 0.1s opacity cubic-bezier(0.39, 0.575, 0.565, 1),
      0.15s transform cubic-bezier(0.1, 1.26, 0.83, 1);
    opacity: 0;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 15px;
  }

  .main-menu ul ul:before {
    bottom: 100%;
    right: 14px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #fff;
    border-width: 7px;
    margin-left: -7px;
  }

  .main-menu ul ul li {
    display: block;
    height: auto;
    padding: 0;
  }

  .main-menu ul ul li a {
    font-size: 16px;
    font-weight: 400;
    color: #555;
    display: block;
    padding: 15px 15px;
    line-height: 1;
    width: 100%;
  }

  .main-menu ul li:hover > ul {
    padding: 10px 0px;
    visibility: visible;
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
    -webkit-transition-duration: 0s, 0.2s, 0.2s;
    transition-duration: 0s, 0.2s, 0.2s;
  }

  .main-menu ul ul li:first-child a:hover {
    -webkit-border-radius: 3px 3px 0 0;
    -moz-border-radius: 3px 3px 0 0;
    -ms-border-radius: 3px 3px 0 0;
    border-radius: 3px 3px 0 0;
  }

  .main-menu ul ul li:last-child a {
    border-bottom: none;
  }

  .main-menu ul ul li:last-child a:hover {
    -webkit-border-radius: 0 0 3px 3px;
    -moz-border-radius: 0 0 3px 3px;
    -ms-border-radius: 0 0 3px 3px;
    border-radius: 0 0 3px 3px;
  }

  .main-menu ul ul li:hover > a {
    padding-left: 20px;
    background: #f2f4f7;
  }
} 

/* Overlay when menu opens */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.overlay.active {
  display: block;
}

.headerfixed {
  display: none;
}

.cart-wrapper img {
  width: 24px;
  height: 24px;
}

.second-head-container .second-header a {
  color: #ffffff;
}

.second-head-container .second-header svg path {
  fill: #ffffff;
}

.second-header a,
header.header.sticky .second-header a {
  color: #444;
}

.second-header a:hover {
  color: #108482 !important;
}

.second-header svg path,
header.header.sticky .second-header svg path {
  fill: #101828;
}

.second-header.dropdown .country-dropdown-toggle::after {
  display: none; /* Hide the default dropdown arrow */
}

.second-header.dropdown .dropdown-menu {
  width: auto;
  padding: 10px 0;
  inset: 10px auto auto 0px !important;
  z-index: 99;
}

.second-header.dropdown .dropdown-item {
  padding: 8px 16px;
  display: flex;
  align-items: center;
  color: #444;
}
.second-header.dropdown img {
  width: auto;
  height: 16px;
  object-fit: cover;
}

.second-header.dropdown .dropdown-item:hover {
  background-color: #f8f9fa;
}

.cart-count {
  font-size: 12px;
  padding: 4px 6px;
  min-width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-30%, -30%);
}

.cart-count {
  background: #108482;
}

.stickcart {
  display: none;
}
.nostickcart {
  display: inline;
}

/* When header has either .sticky OR .sticktohead */
header.menu_fixed.sticky .stickcart,
header.menu_fixed.sticktohead .stickcart {
  display: inline;
}
header.menu_fixed.sticky .nostickcart,
header.menu_fixed.sticktohead .nostickcart {
  display: none;
}

.menu-container {
  display: none;
}

.menu-items li:last-child {
  border-bottom: none; /* Removes the border for the last item */
}

header.header .logo_sticky {
  display: none;
}

header.header.sticky {
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  border-bottom: 1px solid #ededed !important;
  background: #fff !important;
  padding: 15px 20px;
}

header.header.sticktohead {
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  border-bottom: 1px solid #ededed;
  background: #fff;
  padding: 15px 20px;
}

header.header.sticky .logo_normal {
  display: none;
}

header.header.sticktohead .logo_normal {
  display: none;
}

header.header.sticky .logo_sticky {
  display: inline-block;
}

header.header.sticktohead .logo_sticky {
  display: inline-block;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  bottom: 0;
  background-color: #fff;
  z-index: 99999999999 !important;
}

[data-loader="circle-side"] {
  position: absolute;
  width: 50px;
  height: 50px;
  top: 50%;
  left: 50%;
  margin-left: -25px;
  margin-top: -25px;
  -webkit-animation: circle infinite 0.95s linear;
  -moz-animation: circle infinite 0.95s linear;
  -o-animation: circle infinite 0.95s linear;
  animation: circle infinite 0.95s linear;
  border: 2px solid #108482;
  border-top-color: rgba(0, 0, 0, 0.2);
  border-right-color: rgba(0, 0, 0, 0.2);
  border-bottom-color: rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  -ms-border-radius: 100%;
  border-radius: 100%;
}

@-webkit-keyframes circle {
  0% {
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-moz-keyframes circle {
  0% {
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-o-keyframes circle {
  0% {
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes circle {
  0% {
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* Submenu 2nd level right */
.main-menu ul ul.second_level_right {
  left: auto;
  right: 3px;
}

.main-menu ul ul.second_level_right:before {
  right: 15%;
  left: auto;
}

/* Submenu 3rd level */
.main-menu ul ul li span a {
  font-weight: 500 !important;
}

.main-menu ul ul li span a:hover {
  color: #475467;
  padding-left: 18px;
  opacity: 1;
}

.main-menu ul ul li span a:after {
  font-family: "ElegantIcons";
  content: "\35";
  float: right;
  font-size: 16px;
  font-size: 1rem;
  margin-top: -2px;
}

.main-menu ul ul ul {
  position: absolute;
  border-top: 0;
  z-index: 1;
  height: auto;
  left: 100%;
  top: 0;
  margin: 0;
  padding: 0;
  background: #fff;
  min-width: 190px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.main-menu ul ul ul.third_level_left {
  right: 100%;
  left: auto;
}

.main-menu ul ul ul li a {
  border-bottom: 1px solid #ededed !important;
}

.main-menu ul ul ul li:last-child a {
  border-bottom: none !important;
}

/* Arrows top 3rd level*/
.main-menu ul ul ul:before {
  border-width: 0;
  margin-left: 0;
}

.category-main-menu {
  display: flex;
  justify-content: center;
  z-index: 0;
}

.category-main-menu ul li ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-width: 800px;
  gap: 32px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-main-menu section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* .category-main-menu .menu-category {
    flex: 1 0 20%;
    min-width: 180px;
    padding: 10px 15px;
  } */

.category-main-menu > ul > li span > a {
  padding: 8px 16px;
}

.category-main-menu ul li {
  position: initial;
}

.category-title {
  font-family: "Be Vietnam Pro";
  font-size: 18px !important;
  font-style: normal;
  font-weight: 600 !important;
  line-height: 28px;
  color: var(--Primary-600, #0e7775) !important;
}

.category-main-menu p {
  margin-bottom: 0px;
}

.category-main-menu ul p a {
  color: #1d2939;
  font-family: "Be Vietnam Pro";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
  padding: 5px 10px 5px 0;
}

.category-main-menu ul li:hover > ul {
  padding: 10px 32px;
  overflow-y: auto;
  max-height: 80vh;
}

.category-main-menu hr {
  margin: 10px 0px;
}

.category-main-menu ul section p:hover > a {
  padding-left: 10px;
  background: #f2f4f7;
}

.flexarrow {
  display: flex !important;
  align-items: center;
}

.btn-theme {
  background: var(--Primary-500, #108482) !important;
  color: var(--White, var(--Grays-White, #fff)) !important;
  font-size: 16px !important;
  border-radius: 24px !important;
  padding: 10px 15px;
  font-weight: 600;
  margin-left: 33px;
}

.btn-theme-sm {
  height: 32px;
  padding: 10px 12px;

  gap: 10px;
  border-radius: 24px;
  background: var(--Primary-500, #108482);
  color: var(--White, var(--Grays-White, #fff)) !important;
  /* Text sm/Semibold */
  font-family: "Be Vietnam Pro";
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  /* 142.857% */
}

.btn-theme-sm:hover {
  background: var(--Primary-700, #0d6a68) !important;
}

.btn-theme-sm:focus {
  background: var(--Primary-600, #0e7775) !important;
  box-shadow: 2px 2px 2.3px 0px rgba(152, 162, 179, 0.5) !important;
}

.btn-theme:hover {
  background: var(--Primary-700, #0d6a68) !important;
}

.btn-theme:focus {
  background: var(--Primary-600, #0e7775) !important;
  box-shadow: 2px 2px 2.3px 0px rgba(152, 162, 179, 0.5) !important;
}

.change-country-modal .input-field,
.postal-code-modal .input-field {
  width: 100%;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid var(--Gray-300, #d0d5dd);
  background: var(--White, #fff);
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  outline: none;
}

.change-country-modal .dropdown-input,
.postal-code-modal .dropdown-input {
  display: flex;
  height: 50px;
  padding: 10px 14px;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 8px;
  border: 1px solid var(--Gray-300, #d0d5dd);
  background: var(--White, #fff);
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  color: var(--Gray-500, #667085);
  outline: none;
  color: var(--Gray-800, #1d2939);
  font-family: "Be Vietnam Pro";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.change-country-modal .dropdown-arrow,
.postal-code-modal .dropdown-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none; /* Prevents clicking */
}

.modal-main-container {
  background-color: #ffffff;
  border-radius: 16px;
  background: var(--Grays-White, #fff);
}

.modal-main-container .header {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  margin-bottom: 0;
}

.modal-main-container .header .title {
  color: var(--Gray-800, #1d2939);
  font-family: "Be Vietnam Pro";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 100% */
}

.modal-main-container .header .header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-main-container .header .header-top .header-top-left {
  display: flex;
  align-items: center;
  gap: 4px;
}

.modal-main-container .field-column {
  margin-top: 16px;
}

@media only screen and (min-width: 992px) {
  header.sticky .main-menu > ul > li span > a.loginpadding {
    color: #fff !important;
  }
}

@media only screen and (max-width: 991px) {
  .headerfixed.stickymobile {
    background: #fff;
  }

  .headerfixed.stickymobile .mobileiconmenu {
    fill: #636262;
  }

  .headerfixed.stickheadother .mobileiconmenu {
    fill: #636262;
  }

  .headerfixed.stickheadother {
    background: #fff;
  }

  .headerfixed {
    position: fixed;
    z-index: 9;
    display: flex;
    width: 100%;
  }
  .mobileheader.navibar {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    gap: 16px;
    width: 100%;
    justify-content: space-between;
  }

  .mobileheader .logo img {
    height: 40px;
    /* Adjust as needed */
    margin-right: 20px;
  }

  .mobileheader .search-bar {
    display: flex;
    align-items: center;
    flex: 1;
    /* Take up remaining space */
    background-color: #f5f5f5;
    border-radius: 25px;
    padding: 10px 14px;
    max-width: 500px;
  }

  .mobileheader .search-bar input {
    border: none;
    background: #fff;
    outline: none;

    flex: 1;
    font-size: 16px;
  }

  .mobileheader .search-bar .search-icon {
    color: #666;
    font-size: 18px;
  }

  .mobileheader .menu-icon {
    font-size: 24px;
    margin-left: 20px;
    cursor: pointer;
  }

  .mobileheader .cart-wrapper {
    background: #fff;
    border-radius: 50%;
    padding: 2px 5px 3px 5px;
  }

  .mobileheader .cart-wrapper img {
    width: 16px;
    height: 16px;
  }

  .mobileheader .cart-count {
    min-width: 19px;
    height: 19px;
  }

  .open-menu-btn.hidden {
    display: none;
  }

  .open-menu-btn {
    display: block;
  }

  .menu-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    /* Full width */
    height: 100%;
    background-color: #fff;
    transition: right 0.5s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
    display: block;
  }

  /* Menu active class */
  .menu-container.active {
    right: 0;
  }

  /* Close button */
  .menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
  }

  .menu-header img {
    height: 30px;
  }

  .close-btn {
    font-size: 24px;
    cursor: pointer;
  }

  /* Menu items */
  .menu-items {
    list-style-type: none;
    padding: 16px;
    margin-bottom: 32px;
  }

  .menu-items li {
    padding: 16px 0;
    border-bottom: 1px solid var(--Gray-200, #e4e7ec);
  }

  .menu-items li button {
    font-size: 18px;
    font-style: normal;
    color: var(--Gray-800, #1d2939);
    font-weight: 600;
    line-height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
  }
  .menu-items li.active .submenu {
    display: block;
  }

  .menu-items .profile-details-container {
    display: flex;
    height: 86px;
    padding: 0px 8px;
    align-items: center;
    gap: 16px;
    border-radius: 16px;
    background: var(--Gray-50, #f9fafb);
  }

  .menu-items .profile-details-container img {
    height: 68px;
    border-radius: 68px;
  }

  .menu-items .profile-details-container .profile-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--Gray-800, #1d2939);
    font-family: "Be Vietnam Pro";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
  }

  .submenu,
  .nested-submenu {
    display: none;
    padding-left: 20px;
    padding-top: 10px;
  }

  .submenu li.active .nested-submenu {
    display: block;
  }

  .submenu li {
    list-style: none;
    padding: 10px 0;
  }
  /* Buttons */
  .menu-footer {
    padding: 0 15px;
  }

  .menu-footer button {
    width: 100%;
    padding: 10px 24px;
    font-size: 20px;
    border: 1px solid #108482;
    background-color: #fff;
    color: #108482;
    border-radius: 25px;
    cursor: pointer;
    margin-bottom: 15px;
    font-weight: 600;
  }

  .menu-footer .continue-btn {
    background: var(--Primary-500, #108482);
    color: #fff;
    border: none;
  }

  header.header.sticky {
    padding: 15px 15px 5px 15px;
  }
}

@media (max-width: 567px) {
  .mobileheader .search-bar {
    display: none;
  }

  .mobileheader.navibar {
    width: 100%;
    justify-content: space-between;
  }

  .menu-container .menu-items button a {
    color: var(--Gray-800, #1d2939);
  }
}
