body {
  font-size: 14px;
  font-family: Arial, sans-serif;
}

a {
  text-decoration: none !important;
  color: unset !important;
}

button:focus {
  outline: none !important;
  box-shadow: none;
}

.primary_color {
  color: black;
}

.primary_textcolor {
  color: #ffb951 !important;
}

.primary_bgcolor {
  background-color: black;
}

.secondary_color {
  color: white;
}

.primaryNav_bgcolor {
  background-color: #ffffff;
}
.tertiary_bgcolor {
  background-color: #ffffff !important;
}

.no-scroll {
  overflow: hidden !important;
  height: 100vh !important;
}

/* Base container for mobile */
.container {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
}

/* SM — Small tablets (≥576px) */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

/* MD — Tablets (≥768px) */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

/* LG — Laptops (≥992px) */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

/* XL — Desktop Ecommerce Layout (≥1200px) */
@media (min-width: 1200px) {
  .container {
    max-width: 1320px;
  }
}

/* 4K Screens (Optional for premium ecommerce) */
@media (min-width: 1800px) {
  .container {
    max-width: 1680px;
  }
}
/* 
#navbar {
    position: sticky;
    top: 0;
    z-index: 9999;
    transition: transform 0.35s ease;
}

.navbar-hidden {
    transform: translateY(-100%);
}

.navbar-visible {
    transform: translateY(0);
} */

/* ===========================
   TOP NAV (YOUR STYLE)
=========================== */
.top-nav-header {
  width: 100%;
  padding: 15px 40px;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  flex-direction: column !important;
  position: absolute;
  z-index: 1001;
}

#filterToggle {
  background: none;
  border: none;
  display: none;
}

#filterToggle:focus {
  outline: none;
}

@media (max-width: 768px) {
  #filterToggle {
    display: block;

    padding: 0 !important;
  }

  /* .category_menu span,
    .category_menu i {
        display: none;
    } */

  .category_menu {
    padding: 8px !important;
  }

  .right-icons {
    gap: 10px !important;
  }

  .bottom-menu {
    justify-content: flex-start !important;
  }

  .scroll-btn {
    display: block !important;
  }
}

.center-logo img {
  height: 50px;
}

.right-icons {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

/* =============================
   TOP INFO STRIP
============================= */
.top-info-strip {
  /* overflow: hidden; */
  height: 58px;
  border-bottom: 1px solid #e0e0e0;
  padding: 0;
  position: relative;
  z-index: 1002;
}
/* .trop-strip-overflow-hidden{
    overflow: hidden;
} */
.slider-box {
  overflow: hidden;
  height: 58px;
}
.divider {
  position: absolute;
  left: 50%;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: radial-gradient(#ffffff, #000000);
  z-index: 10;
}

.slider-row {
  display: flex;
  justify-content: flex-start;
  padding: 10px 20px;
  gap: 50px;
  align-items: center;
  text-align: left;
}

.info-slider {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease-in-out;
}

.info-item {
  display: flex;
  flex-direction: column;
  text-align: center;
  min-width: 120px;
  align-items: flex-start;
}

.info-item strong {
  font-size: 12px;
  font-weight: 600;
}

.info-item span {
  font-size: 10px;
  color: #ccc;
}

.nav_icons {
  display: flex;
  gap: 2px;
  align-items: center;
  justify-content: flex-end;
  width: max-content;
  flex-direction: row;
}

.nav_icons a {
  display: flex;
  align-items: center;
  /* gap: 15px; */
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease;
  width: max-content;
  flex-direction: row;
  padding: 8px 8px;
}

.nav_icons a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0, 0, 0);
  border-radius: inherit;
  transform: scale(0);
  transition: transform 0.3s ease;
  z-index: -1;
  border-radius: 100px;
}

.nav_icons a:hover::before {
  transform: scale(1);
}

.nav_icons a:hover {
  transform: translateY(-2px);
  /* background: rgb(255, 255, 255); */
  color: white;
  border-radius: 100px;
}

@media (max-width: 768px) {
  .slider-row {
    gap: 2px;
  }

  .nav_icons {
    margin-top: 15px;
  }

  .slider-row {
    padding: 10px 0;
  }

  .top-info-strip {
    padding: 0 10px;
    position: relative;
    z-index: 1002;
  }
}

/* =============================
   MEGA MENU PANEL
============================= */
.category_menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  cursor: pointer;
  position: relative;
  padding: 8px 18px;
  border-radius: 100px;
  transition: transform 0.25s ease;
}

.category_menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0, 0, 0);
  border-radius: 100px;
  transform: scale(0);
  transition: transform 0.3s ease;
  z-index: -1;
}

.category_menu:hover::before {
  transform: scale(1);
}

.category_menu:hover {
  transform: translateY(-2px);
  background: rgb(255, 255, 255);
  color: white;
}

#megaOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  height: 100vh;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

#megaOverlay.active {
  opacity: 1;
  visibility: visible;
}

.arrow-icon {
  transition: transform 0.3s ease;
}

.category_menu.active .arrow-icon {
  transform: rotate(180deg);
}

.category_mega-menu {
  position: fixed;
  top: 143px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  max-width: 964px;
  width: 100%;
  background: white;

  max-height: 0;
  opacity: 0;
  visibility: hidden;

  overflow: hidden;
  z-index: 9999;
  border-top: 1px solid #ddd;

  transition: all 0.2s ease-in-out;
  border-radius: 11px;
}

.category_mega-menu.active {
  max-height: 600px;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.category_mega-menu.active {
    display: flex;
    justify-content: center;
}

.mega-menu-content {
  display: flex;
  width: 100%;
  padding: 20px;
  gap: 30px;
  max-height: 500px;
  overflow: hidden;
}

.mega-left {
  width: 250px;
  border-right: 1px solid #eee;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 465px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #cccccc00 transparent;
}

.mega-left ul {
  list-style: none;
  padding: 0;
}

.mega-left li {
  position: relative;
  padding: 12px;
  cursor: pointer;
  font-size: 14px;
  border-radius: 25px;
  overflow: hidden;
  z-index: 1;
  transition: color 0.25s ease;
  text-align: center;
}

.mega-left li::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #f3f3f3;
  border-radius: inherit;
  transform: scale(0);
  transition: transform 0.25s ease;
  z-index: -1;  
}

.mega-left li:hover::before {
  transform: scale(1);
}

.mega-left li.active {
  color: #fff !important;
}

.mega-left li.active::before {
  background: #000000;
  transform: scale(1) !important;
}

.mega-right {
  flex: 1;
  overflow-x: hidden;
  max-height: 465px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #cccccc00 transparent;
}

.menu-group {
  display: none;
}

.menu-group.active {
  display: flex;
}

.col-md-2-4 {
  flex: 0 0 20%;
  max-width: 20%;
}

.cat-item img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
}

.cat-item {
  text-align: center;
  margin-bottom: 15px;
}

.cat-item a {
  text-decoration: none;
  color: #000000;
}

@media (max-width: 992px) {
  .col-md-2-4 {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }
}

@media (max-width: 576px) {
  .col-md-2-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.cat-item span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
}

@media (max-width: 768px) {
  .mega-menu-content {
    flex-direction: row;
    gap :10px;
  }

  .mega-left {
    width: 100%;
    border-right: none;
  }

  .mega-right {
    grid-template-columns: repeat(3, 1fr);
  }

  .mega-left li {
    padding: 11px 2px;
    font-size: 11px;
    border-radius: 5px;
  }
}
/* user avatar */

.user-menu-wrapper {
  /* position: absolute; */
  position: relative;
  top: 25px;
  right: 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  font-size: 20px;
}

.user-avatar-circle {
  width: 25px;
  /* height: 40px; */
  border-radius: 50%;
  /* background: #9d7b3c; */
  background: #ffffff !important;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  margin-right: 10px;
  cursor: pointer;
}
.profile-page .user-avatar-circle {
  height: 30px;
}
.user-avatar-login {
  /* width: 76px;   */
  /* width: 100px; */
  /* height: 40px; */
  height: 30px;
  border-radius: 20px;
  /* border-radius: 100px; */
  /* background: #ffffff; */
  /* color: #9e7b3c; */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  /* border: 1px solid #9e7b3c; */
  border: 1px solid black;
  margin-right: 10px;
}

.user-dropdown {
  position: absolute;
  /* position: relative; */
  top: 50px;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  width: 140px;
  z-index: 100001;
  padding: 10px;
}

.user-dropdown a {
  /* padding: 10px 15px; */
  padding: 0;
  padding-bottom: 10px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: background 0.2s;
  gap: 10px;
}

.user-dropdown a:hover {
  /* background: #f5f5f5; */
}

.hidden {
  display: none;
}

.search-bar {
  display: flex;
  align-items: center;
  margin-left: 15px;
}

.search-bar input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 20px 0 0 20px;
  outline: none;
  font-size: 14px;
  width: 180px;
}

.search-bar button {
  padding: 2px 12px;
  border: none;
  /* background-color: #9d7b3c; */
  color: white;
  border-radius: 0 20px 20px 0;
  cursor: pointer;
}

.search-bar button i {
  font-size: 14px;
}

#homeIcon {
  margin-right: 12px;
}

.wishlist-count,
.cart-count {
  position: relative;
  top: -10px;
  right: 5px;
  background: transparent;

  font-size: 15px;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 6px;
  pointer-events: none;
}
@media (max-width: 768px) {
  .wishlist-count,
  .cart-count {
    top: -16px;
    right: 10px;
    display: block !important;
  }
}
/* --------------------------------------mega menu end------------- */
.deliver-location {
  position: relative;
  display: flex;
  padding: 5px 10px;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.25s ease;
  align-items: center;
  gap: 7px;
  width: 162px;
  overflow: hidden;
  border-radius: 100px;
  justify-content: center;
}

.deliver-location::before {
  content: "";
  position: absolute;
  inset: 0;
  background: black;
  border-radius: inherit;
  transform: scale(0);
  transition: transform 0.3s ease;
  z-index: -1;
}

.deliver-location:hover::before {
  transform: scale(1);
}

.deliver-location:hover {
  color: white;
  transform: translateY(-2px);
}

.flag-icon {
  width: 35px;
  height: 35px;
  object-fit: cover;
  border-radius: 3px;
}

@media (max-width: 999px) {
  .deliver-location span {
    display: none;
    width: 15%;
    padding: 0;
  }

  .deliver-location {
    padding: 0 !important;
  }

  .bottom-menu-wrapper {
    margin-top: 16px;
  }

  .flag-icon {
    width: 55px !important;
    object-fit: contain;
  }
}
/* @media (max-width:768px) {
    .deliver-location {
        display: none !important;
    }
} */
.location-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 9999;
}

.location-overlay.active {
  opacity: 1;
  visibility: visible;
}

.location-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 900px;
  height: 80%;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 10000;
  display: flex;
  flex-direction: column;
}

.location-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.popup-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.ship-to {
  font-size: 14px;
  font-weight: 600;
}

.ship-to span {
  color: #28a745;
}

.location-search {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 15px;
}

.big-map {
  flex: 1;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

.bottom-buttons button {
  flex: 1;
  padding: 12px;
  font-size: 15px;
  border-radius: 8px;
  border: solid 1px #ccc;
  cursor: pointer;
  font-weight: bold;
}

.go-back {
  background: #fff;
}

.confirm {
  background: #1b72e8;
  color: #fff;
  border: none;
}

/* ------------------------already in main css  searcbar-------------------------------- */

.search-bar {
  display: flex;
  align-items: center;
}

.search-bar input {
     padding: 10px 10px 10px 15px;
  border: 1px solid #fff;
  border-radius: 100px 0 0 100px;
  outline: none;
  font-size: 14px;
  width: 100%;
  background: #fff;
  margin: 0;
}

.search-bar button {
  padding: 12px;
  border: none;
  background-color: #000000;
  color: white;
  border-radius: 0 100px 100px 0;
  cursor: pointer;
}

.search-bar button i {
  font-size: 14px;
}

.search-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.fake-placeholder {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: #999;
  font-size: 14px;
  pointer-events: none;
  white-space: nowrap;
  display: flex;
  transition: opacity 0.2s ease;
}

.fake-placeholder .static {
  flex-shrink: 0;
}

.fake-placeholder.hidden {
  display: none !important;
}

.fake-placeholder.hidden {
  opacity: 0;
  pointer-events: none;
}

.fake-placeholder .animated {
  display: inline-block;
  overflow: hidden;
  height: 1.4em;
  line-height: 1.4em;
  margin-left: 5px;
}

.fake-placeholder .animated span {
  display: block;
  animation: nudgeSlide calc(var(--count) * 2s) infinite;
}

@keyframes slidePlaceholder {
  0% {
    transform: translateY(0);
  }

  25% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }

  75% {
    transform: translateY(-36px);
  }

  100% {
    transform: translateY(0);
  }
}

.suggestions {
  position: absolute;
  background: #fff;
  /* border: 1px solid #ccc; */
  border-radius: 4px;
  max-height: 200px;
  overflow-y: auto;
  width: 167px;
  top: 38px;
  left: 28px;
  z-index: 1000;
  display: none;
  font-size: 14px;
}

.suggestions div {
  padding: 6px 10px;
  cursor: pointer;
}

.suggestions div:hover {
  background: #f0f0f0;
}

@media (max-width: 900px) {
  .suggestions {
    left: unset;
  }
}

/* ----------------------------------------- already in main css searchbar end----------------------------- */

@media (max-width: 768px) {
  .left-tabs,
  .nav_icons a span {
    display: none;
  }
  .user-dropdown a span {
    display: block !important;
  }

  .nav_icons a {
    padding: 0px;
  }

  .center-logo img {
    height: 35px;
  }
  .search-bar input {
     padding: 5px 5px 5px 15px;
  }
  .search-bar button {
    padding: 6px;
  }
}

@media (max-width: 768px) {
  .mobile-logo-input {
    display: block;
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    height: 30px;
    width: auto;
    z-index: 5;
  }

  .search-wrapper {
    width: 100%;
  }

  .top-nav-header {
    justify-content: space-around !important;
    padding: 10px 10px !important;
  }
}
