@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap);
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Darumadrop+One&display=swap");

:root {
  --mzansi-orange: #e67e22;
  --mzansi-orange-dark: #c0641a;
  --mzansi-orange-light: #f39c12;
  --hover-color: #cf792d;

  /*   --dark: #1a1208;
  --text: #2c2010; */
  --white: white;
  --black: black;

  --btn_blue: #2b92af;
  --red: #f13333;
  --green: #2baf64;
  --blue: #3b82f6;
  --yellow: #f5c231;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;

  --ink: #0d0d0d;
  --paper: #f7f5f0;
  --cream: #f0ece3;
  --accent: #ff4d1c;
  --accent2: #1a3fff;
  --gold: #e8c84a;
  --muted: #8a8880;
  --card: #ffffff;
  --border: #eff3f7;
  --nav-h: 56px;
  --bottom-h: 62px;

  --card-bg: #ffffff;
  --accent-color: #6b7280;

  --nav-top-h: 110px;
  --nav-bot-h: 48px;

  --ink: #0d1117;
  --ink-mid: #3d4a5c;
  --ink-soft: #7a8898;
  --surface: #ffffff;
  --surface-2: #f4f5f7;
  --surface-3: #eaecf0;
  --accent: #e84c3c;
  --shadow-sm: 0 2px 8px rgba(13, 17, 23, 0.06);
  --shadow-lg: 0 24px 64px rgba(13, 17, 23, 0.18);
  --radius: 18px;
}

* {
  margin: 0;
  padding: 0;
  font-family: 'Cormorant Garamond', serif;
  font-family: 'Outfit', sans-serif;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-family: 'DM Sans', sans-serif;
  font-family: 'Nunito', sans-serif;
  font-family: 'Montserrat', sans-serif;
  font-family: 'Poppins', sans-serif;
}

a {
  text-decoration: none !important;
}

body {
  line-height: 1.6;
  color: var(--text-color);
  /* background: #f9f9f9;
  background-color: #f5f5f5; */
  min-height: 100vh;
}

body::-webkit-scrollbar {
  /*  display: none; */
}

.p_col.one::-webkit-scrollbar,
.mybody::-webkit-scrollbar {
  display: none;
}

p {
  color: var(--text-color);
}



input {
  border: none;
  outline: none;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  display: flex;
  align-items: center;
  padding: 5px;

  img {
    cursor: pointer;
    height: 30px;
    width: auto;
    background-color: white;

  }

  h1 {
    font-size: 0.9rem;
    color: black;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 5px;
    z-index: 0;
  }
}

.store-logo {
  position: absolute;
  left: 100%;
  top: 10px;
  margin-left: 0px;
  cursor: pointer;
  height: 40px;
  width: auto;
  padding: 4px;
  border-radius: 8px;
}

/* ********************* */
.nested_list {
  list-style: none;
  padding-left: 20px;
  font-size: 14px;
  margin-top: 10px;
  display: block;
}

.current-menu {
  background-color: #000000;
}

.moveup {
  position: fixed;
  left: auto;
  right: 20px;
  top: auto;
  bottom: 20px;
  z-index: 50;
  background-color: var(--mzansi-orange);
  height: 45px;
  width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid var(--white);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  transition: all 0.1s ease;
  display: none;

  i {
    font-size: 25px;
    color: white;
  }
}

.moveup:active {
  transform: scale(0.95);
}

/* Loader styles */
.loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #292929;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1000;
  display: none;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
  display: none;
}

/* ******************* Button Loader ****************** */
.btn-loader {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  display: inline-block;
  animation: spin 1s linear infinite;
  margin-left: 8px;
  padding: 8px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.i-btn.loading i {
  display: none;
}

.i-btn.loading {
  cursor: not-allowed;
  opacity: 0.7;
}

.empty-bag-message {
  width: fit-content;
  margin: auto;
  text-align: center;

  img {
    opacity: 0.5;
    /* 10% opacity */
    box-shadow: none;
    width: auto;
    margin: auto;
    height: 12vw;
  }

  p {
    font-weight: 500;
    font-size: 0.8rem;
  }

  a {
    font-weight: 500;
    font-size: 0.8rem;
    text-decoration: none;
    color: #2563eb;
    cursor: pointer;
  }

  span {
    opacity: 0.5;
  }
}

/* Empty List */
.empty-message-container {
  text-align: center;
  padding: 2rem;
  margin: auto;
  max-width: 850px;
}

.empty-image {
  margin: auto;
  max-width: 110px;
}

.empty-mssg {
  font-size: 0.8rem;
  font-weight: 500;
}

.empty-subtext {
  font-size: 0.6rem;
  color: #666;
}

.empty-btn {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8rem;
  padding: 0.5rem 1.1rem;
  background-color: var(--mzansi-orange);
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.empty-btn:active {
  transform: scale(0.95);
}

/* Empty List */

/* Adding new styles for checkbox and login link */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  width: max-content;
  accent-color: var(--mzansi-orange);
  color: white;
  /* modern browsers */
  cursor: pointer;
  transition: transform 0.15s ease;
}

.checkbox-group label {
  font-size: 0.7rem;
  color: var(--blue);
  cursor: pointer;
  font-weight: 500;
  width: 100%;
}

::-webkit-scrollbar {
  width: 6px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: gray;
  border-radius: 4px;
}

/* .search-container {
  position: relative;
} */

/* OVERLAY */
.search-overlay {
  background: rgba(0, 0, 0, 0.45);
  background-color: red;
  backdrop-filter: blur(3px);
  display: none;
  z-index: 50;
  justify-content: center;
  height: fit-content;
}

.search-results {
  position: absolute;
  left: 0;
  width: 100%;
  background: white;
  border-radius: 4px;
  padding: 20px;
  max-height: 70vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  box-sizing: border-box;
  scrollbar-gutter: stable;
}

.result-item {
  padding: 10px;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 15px;
  align-items: center;
}

.result-item:hover {
  background-color: #f9f9f9;
}

.result-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
}

.result-item:last-child {
  border-bottom: none;
}

.result-item h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.result-item p {
  font-size: 13px;
  color: #888;
}

/* Close button */
/* .close-btn {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 20px;
  background: white;
  padding: 10px 16px;
  
  cursor: pointer;
  border: none;
} */


/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {

  body::-webkit-scrollbar {
     display: none;
  }

  /* OVERLAY */
  .search-overlay {
    width: 100%;
    position: absolute;
    bottom: 0px;
    left: 0px;
  }
}

/* Mobile Styles */
@media (max-width: 769px) {
  .search-overlay {
    width: 100%;
    position: absolute;
    bottom: 0px;
    left: 0px;
  }

}

/* Decorative circles */
.category-ad::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.253);
  border-radius: 50%;
  top: -150px;
  right: -50px;
  z-index: 1;
}

.category-ad::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  bottom: -80px;
  left: -50px;
  z-index: 1;
}

/* Additional circles for more decoration */
.hero-circle-1,
.hero-circle-2,
.hero-circle-3 {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.151);
  z-index: 1;
}

.hero-circle-1 {
  width: 150px;
  height: 150px;
  top: 20%;
  left: 10%;
}

.hero-circle-2 {
  width: 100px;
  height: 100px;
  bottom: 30%;
  right: 15%;
}

.hero-circle-3 {
  width: 80px;
  height: 80px;
  top: 60%;
  left: 20%;
}