/* 

GLOBAL CSS AS A WHOLE

 */

@import '/css/fontawesome.css';
@import url(./product-details-styles.css);
@import url(./seller-info-styles.css);
@import url(./legal-styles.css);
@import url(./error-styles.css);
@import url(./sellers-directory.css);
@import url(./trending-sellers-carousel.css);

:root {
  --accent-color: #007bff;
  --border-color: #555;
  --input-register-color: #4e4e4e;
  --input-icon-color: #126ccc;
  --main-color: #0056b3;
  --main-description-color: #002a46;
  --text-color: #333;
  --nav-background: #6e6e6e;
  --link-hover: #ddd;
  --text-mix-color: #fff;
  --random-color: #ddd;
  --footer-random: #fdfddf;
  --price-color: #834343
    /*#834343  old tricky reish color was an awesome ride bruh*/
  ;
  --fades: background-color 0.3s ease;
  --success-color: #008000;
  --error-color: #6d2b2b;
  --fades-link: background-color 0.1s ease-in-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0 0 0 0;
  font-family: sans-serif;
  color: var(--text-color);
}

a {
  text-decoration: none;
  color: var(--text-color);
}

/**********************************
***********************************
      Start  Temporary Header
***********************************
***********************************/

.navbar {
  background: var(--nav-background);
  color: var(--text-mix-color);
  display: flex;
  justify-content: space-between;
  padding: 16px;
  box-shadow: 0 1px 3px -2px black;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 60px;
  z-index: 1400;
}

.nav-logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.beta-tag {
  position: absolute;
  top: 1px;
  right: -35px;
  background: #0f3a74;
  color: white;
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: bold;
  /*transform: rotate(20deg);*/
  text-transform: uppercase;
}

.searchIn {
  cursor: pointer;
}

.searchIn:hover {
  color: #222;
  cursor: pointer;
}

.fa-user-circle {
  /* color: var(--main-color); */
  font-size: 2rem;
}

.fa-user-circle:hover {
  color: var(--random-color);
}

.nav-logo p {
  color: var(--main-color);
  font-size: 20px;
  text-transform: capitalize;
  font-weight: 600;
}

/* Logo switching on search active */
.navbar.search-active .dambwe {
  display: none;
}

.navbar.search-active .logo-navlogo-nav {
  display: block !important;
}

.navbar.search-active .beta-tag {
  display: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 50px;
  color: var(--text-color);
  font-size: 20px;
  font-weight: 500;
}

.nav-menu li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
}

/*
input[type="search"] {
  width: 500px;
}
*/

/*******/


/******** Search shit *********/

.search-trigger {
  border: none;
  background: transparent;
  color: var(--text-mix-color);
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.search-trigger:hover,
.search-trigger.active {
  background: rgba(255, 255, 255, 0.16);
}

.search-trigger:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

.search-trigger .search-icon {
  font-size: 18px;
  color: inherit;
}

.search-overlay {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 1200;
  transform-origin: top center;
  transform: perspective(900px) rotateX(-90deg) translateY(-6px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.2s ease;
}

.search-overlay.open {
  transform: perspective(900px) rotateX(0deg) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.search-modal {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: var(--nav-background);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
  padding: 8px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
}

.search-modal-input {
  min-width: 0;
  width: 100%;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--text-color);
  font-size: 14px;
  outline: none;
}

.search-modal-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.18);
}

@media (max-width: 820px) {
  .search-modal {
    gap: 6px;
    padding: 8px 12px;
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .search-modal-filter-btn,
  .search-modal-close {
    width: 30px;
    height: 30px;
  }
}

.search-modal-filter-btn,
.search-modal-close {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mix-color);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.search-modal-filter-btn:hover,
.search-modal-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.search-suggestions {
  margin: 12px auto 0;
  width: min(100%, 760px);
  max-height: 360px;
  overflow-y: auto;
  background: var(--nav-background);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.16);
  padding: 10px 0;
}

.search-suggestions-group {
  padding: 0 14px 8px;
}

.search-suggestions-title {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.search-suggestions-list,
.search-seller-suggestions-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-suggestion-item,
.search-seller-suggestion-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-suggestion-item:hover,
.search-seller-suggestion-item:hover,
.search-suggestion-item:focus,
.search-seller-suggestion-item:focus {
  background: rgba(255, 255, 255, 0.08);
}

.search-suggestion-item + .search-suggestion-item,
.search-seller-suggestion-item + .search-seller-suggestion-item {
  margin-top: 6px;
}

.search-suggestion-text,
.search-seller-suggestion-text {
  color: var(--text-color);
  font-size: 14px;
  font-weight: 600;
}

.search-suggestion-meta,
.search-seller-suggestion-meta {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.search-suggestion-badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.search-suggestions-empty {
  padding: 16px 14px 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  text-align: center;
}

.search-suggestions[hidden] {
  display: none;
}

.search-modal-filter-btn.active {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.search-modal-filter-btn:focus-visible,
.search-modal-close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

.search-filter-panel {
  margin: 0 auto;
  background: var(--nav-background);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
  padding: 0 14px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition: max-height 0.25s ease, opacity 0.2s ease, transform 0.2s ease, padding 0.2s ease;
}

.search-filter-panel.open {
  max-height: 360px;
  opacity: 1;
  transform: translateY(0);
  padding: 10px 14px 12px;
}

.search-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.search-filter-tab {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-mix-color);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.search-filter-tab.active {
  background: #fff;
  border-color: #fff;
  color: var(--main-color);
}

.search-filter-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.search-filter-group p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  margin-bottom: 6px;
}

.search-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.search-filter-tag {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-mix-color);
  border-radius: 999px;
  font-size: 12px;
  padding: 4px 10px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.search-filter-tag.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

.search-filter-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.search-filter-reset {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-mix-color);
  border-radius: 999px;
  font-size: 12px;
  padding: 4px 12px;
  cursor: pointer;
}

.search-filter-empty {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

@media (max-width: 900px) {
  .search-filter-groups {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .search-modal {
    padding: 8px 10px;
    gap: 6px;
  }

  .search-modal-input {
    font-size: 13px;
    height: 34px;
  }

  .search-modal-filter-btn,
  .search-modal-close {
    width: 28px;
    height: 28px;
  }

  .search-filter-panel {
    padding-left: 10px;
    padding-right: 10px;
  }

  .search-filter-panel.open {
    padding: 9px 10px 10px;
    max-height: 68vh;
    overflow-y: auto;
  }
}

@media (max-width: 480px) {
  .search-modal-input {
    height: 32px;
    padding: 7px 10px;
  }

  .search-filter-tab,
  .search-filter-tag,
  .search-filter-reset {
    font-size: 11px;
    padding: 4px 8px;
  }
}

/**************   general button style ***********************/


.btn {
  display: inline-block;
  width: fit-content;
  padding: 0.6rem 1.2rem;
  background: var(--color-primary);
  border-radius: var (--card-boder-radius-2);
  cursor: pointer;
  transition: var(--transition);
  color: var(--color-white);
}

/*******/

::placeholder {
  color: var(--accent-color);
  font-family: Roboto, Arial;
  font-weight: 500;
}

/* input {
  /* Removed global input styling to prevent conflicts with custom inputs like search *
}
  
  normal comented out code ... by now we must have over 3000+ lines of code and am pretty sure this commetn was first written when there was only at east 500+ lines o code */

.nav-menu hr {
  border: none;
  width: 80%;
  height: 3px;
  border-radius: 10px;
  background: #ff4141;
}

.nav-left,
.nav-center,
.nav-right {
  display: flex;
  align-items: center;
}

.nav-left {
  flex: 0 0 auto;
}

.nav-center {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.nav-right {
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 24px;
}

.nav-login-cart {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-search-desktop {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 760px;
  min-width: 0;
}

.desktop-search-field {
  position: relative;
  width: 100%;
  min-width: 0;
}

.desktop-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  color: rgba(51, 51, 51, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.desktop-search-icon:hover {
  background: rgba(0, 0, 0, 0.08);
}

.desktop-search-input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 16px 0 46px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #ffffff;
  color: var(--text-color);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.desktop-search-input::placeholder {
  color: rgba(51, 51, 51, 0.55);
}

.desktop-search-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.12);
}

.desktop-search-suggestions {
  position: absolute;
  z-index: 1300;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
  max-height: 360px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.16);
}

.desktop-search-suggestions .search-suggestions-group {
  padding: 0 14px 8px;
}

.desktop-search-suggestions .search-suggestions-title {
  color: rgba(0, 0, 0, 0.55);
}

.desktop-search-suggestions .search-suggestion-text,
.desktop-search-suggestions .search-seller-suggestion-text {
  color: #1d1d1d;
}

.desktop-search-suggestions .search-suggestion-meta,
.desktop-search-suggestions .search-seller-suggestion-meta {
  color: rgba(0, 0, 0, 0.5);
}

.desktop-search-suggestions .search-suggestions-empty {
  color: rgba(0, 0, 0, 0.55);
}

@media (max-width: 1024px) {
  .header-search-desktop {
    max-width: 580px;
  }
}

@media (max-width: 900px) {
  .header-search-desktop {
    max-width: 460px;
  }
}

@media (max-width: 820px) {
  .nav-center {
    display: none;
  }
}

@media (min-width: 821px) {
  .search-trigger {
    display: none;
  }
}

.nav-login-cart>*:last-child {
  margin-right: 0 !important;
  gap: 0 !important;
    font-size: 1.2rem !important;
}

.nav-login-cart a {
  color: var(--text-mix-color);
}

.nav-login-cart a:hover {
  color: var(--text-color);
}

.nav-login-cart button:not(.search-trigger):not(.notification-bell-btn):not(.notification-dropdown__mark-all) {
  width: 157px;
  height: 58px;
  outline: none;
  border: 1px solid #7a7a7a;
  border-radius: 75px;
  color: #515151;
  font-size: 20px;
  font-weight: 500;
  background: white;
  cursor: pointer;
}

.nav-login-cart button:active {
  background: #f3f3f3;
}

.nav-cart-count {
  width: 22px;
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -35px;
  margin-left: -50px;
  border-radius: 11px;
  font-size: 14px;
  background: var(--main-color);
  color: white;
}

@media (max-width: 575px) {
  .nav-logo {
    width: auto;
  }

  p.dambwe {
    display: none;
    height: 35px;
    margin-top: 5px;
  }
}

@media (max-width: 1000px) {
  .nav-menu {
    font-size: 20px;
    margin-right: 60px;
  }
}

@media (max-width: 575px) {
  .nav-menu {
    margin-right: 5px;
  }
}

/* .nav-login-cart {
  text-align: right;
  width: 150px; 
} */

.nav-login-cart {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: flex-end;
}

.js-nav-auth-slot {
  display: flex;
  align-items: center;
}

.nav-profile-cluster,
.header-profile-cluster {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}


/* at this point i dont know why a commentin out code koma i just know kut somethings gona brea if itsleft free .. so whatever you do .. dont come in here blindly i beg of you */
.nav-profile-link {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: rgba(173, 173, 173, 0.18);
  border: 1px solid rgba(0, 86, 179, 0.18); 
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(232, 242, 255, 0.96));
  box-shadow: 0 12px 24px rgba(0, 47, 102, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
/*  experimental
.fa-user-circle {
  color: red;
} */

.nav-profile-link:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 86, 179, 0.36);
  box-shadow: 0 18px 28px rgba(0, 47, 102, 0.16);
}

.nav-profile-link .fa-solid {
  font-size: 1rem;
}

.nav-chat-link,
.header-chat-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--main-color);
  border: 1px solid rgba(0, 86, 179, 0.18);
  background: rgba(255, 255, 255, 0.96);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nav-chat-link {
  width: 46px;
  height: 46px;
}

.header-chat-link {
  width: 44px;
  height: 44px;
}

.nav-chat-link:hover,
.header-chat-link:hover {
  border-color: rgba(0, 86, 179, 0.38);
  background: #fff;
}

.nav-chat-link .fa-solid,
.header-chat-link .fa-solid {
  font-size: 0.96rem;
  color: var(--main-color);
}

.chat-launcher__badge {
  position: absolute;
  top: -4px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 8px 14px rgba(15, 58, 116, 0.15);
}

/* ─── Unified Notification Bell ─── */
.notification-bell-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
}

.notification-bell-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(0, 86, 179, 0.18) !important;
  /* background: rgba(255, 255, 255, 0.96) !important; */
  color: var(--main-color);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
  outline: none;
  font-size: 0.96rem !important;
  width: 46px !important;
  height: 46px !important;
}

.notification-bell-btn:hover {
  border-color: rgba(0, 86, 179, 0.38) !important;
  background: #fff !important;
  transform: translateY(-1px);
}

.notification-bell-btn:focus-visible {
  outline: 3px solid rgba(0, 86, 179, 0.32);
  outline-offset: 2px;
}

.notification-bell-btn .fa-bell {
  color: var(--main-color);
  font-size: 0.96rem;
}

.notification-bell-badge {
  position: absolute;
  top: -3px;
  right: -2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.35);
  line-height: 1;
  pointer-events: none;
}

.notification-bell-badge[hidden] {
  display: none !important;
}

/* Marketplace Notification Dropdown */
.marketplace-notification-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 300px;
  max-height: 400px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: none;
  z-index: 1000;
}
.marketplace-notification-dropdown.is-open {
  display: block;
}

/* ─── Notification Dropdown Panel ─── */
.notification-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 340px;
  max-height: 480px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 1200;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: notif-slide-in 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: top right;
}

.notification-dropdown[hidden] {
  display: none !important;
}

@keyframes notif-slide-in {
  from { opacity: 0; transform: scale(0.94) translateY(-6px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ─── Dropdown Header ─── */
.notification-dropdown__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.notification-dropdown__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a2233;
  letter-spacing: -0.01em;
}

.notification-dropdown__quick-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.notification-quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #6b7280;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.notification-quick-link i {
  color: var(--input-icon-color);
}

.notification-quick-link:hover {
  background: rgba(0, 86, 179, 0.08);
  color: var(--main-color);
}

/* ─── Dropdown Items List ─── */
.notification-dropdown__items {
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 80px;
  max-height: 320px;
}

.notification-dropdown__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  gap: 10px;
  color: #9ca3af;
  text-align: center;
}

.notification-dropdown__empty i {
  font-size: 1.6rem;
  opacity: 0.6;
}

.notification-dropdown__empty p {
  margin: 0;
  font-size: 0.84rem;
}

/* ─── Notification Item ─── */
.notification-dropdown__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background 0.15s ease;
  position: relative;
  outline: none;
}

.notification-dropdown__item:last-child {
  border-bottom: none;
}

.notification-dropdown__item:hover,
.notification-dropdown__item:focus-visible {
  background: rgba(0, 86, 179, 0.04);
}

.notification-dropdown__item.is-unread {
  background: rgba(24, 119, 242, 0.05);
}

.notification-dropdown__item.is-unread::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--main-color);
  border-radius: 0 2px 2px 0;
}

.notification-dropdown__item-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 86, 179, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--main-color);
  font-size: 0.8rem;
  margin-top: 1px;
}

.notification-dropdown__item-body {
  flex: 1;
  min-width: 0;
}

.notification-dropdown__item-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notification-dropdown__item-msg {
  font-size: 0.78rem;
  color: #6b7280;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notification-dropdown__item-time {
  font-size: 0.72rem;
  color: #9ca3af;
  margin-top: 4px;
}

.notification-dropdown__item-close {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.72rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
  padding: 0 !important;
  width: 24px !important;
  height: 24px !important;
}

.notification-dropdown__item:hover .notification-dropdown__item-close,
.notification-dropdown__item:focus-within .notification-dropdown__item-close {
  opacity: 1;
}

.notification-dropdown__item-close:hover {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

/* ─── Dropdown Footer ─── */
.notification-dropdown__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  flex-shrink: 0;
  gap: 8px;
}

.notification-dropdown__view-all {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--main-color);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.notification-dropdown__view-all:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.notification-dropdown__mark-all {
  font-size: 0.78rem;
  color: #6b7280;
  background: none;
  border: none !important;
  padding: 4px 8px !important;
  width: auto !important;
  height: auto !important;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
  font-weight: 500;
}

.notification-dropdown__mark-all:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #374151;
}

@media (max-width: 400px) {
  .notification-dropdown {
    width: calc(100vw - 24px);
    right: -12px;
  }
}

/* Profile Avatar Styles */
.profile-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #0d4c92, #1877f2);
  font-weight: 700;
  color: #fff;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-avatar-initials {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  color: #fff;
  pointer-events: none;
}

.profile-avatar.is-fallback {
  background: linear-gradient(135deg, #0d4c92, #1877f2);
}

.profile-avatar.is-fallback .profile-avatar-initials {
  display: inline;
}

.nav-auth-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-auth-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-auth-link:hover {
  transform: translateY(-1px);
}

.nav-auth-link-primary {
  color: #fff;
  border: 1px solid rgba(0, 86, 179, 0.24);
  background: linear-gradient(135deg, #0d4c92, #1877f2);
  box-shadow: 0 14px 28px rgba(13, 76, 146, 0.22);
}

.nav-auth-link-primary:hover {
  color: #fff;
  box-shadow: 0 18px 32px rgba(13, 76, 146, 0.28);
}

.nav-auth-link-secondary {
  color: var(--main-color);
  border: 1px solid rgba(0, 86, 179, 0.22);
  background: rgba(255, 255, 255, 0.96);
}

.nav-auth-link-secondary:hover {
  color: var(--main-color);
  border-color: rgba(0, 86, 179, 0.4);
  background: #fff;
}

@media (max-width: 1000px) {
  /* .nav-login-cart {
    width: auto;
  } */
}

@media (max-width: 575px) {
  .nav-menu {
    margin-right: 5px;
  }
}

/* Duplicated rule removed */
/* .nav-login-cart {
  text-align: right;
  width: 150px;
} */

.user-profile {
  border: var(--text-color) solid 2px;
  border-radius: 50px;
  padding: 2px;
  width: 45px;
  height: 45px;
  margin: 3px;
}

.user-profile:hover {
  background: var(--text-mix-color);
  cursor: pointer;
}

.user-profile img:hover {
  border: var(--text-mix-color) solid 2px;
  border-radius: 50px;
  padding: 2px;
}

.user-profile img {
  width: 100%;
  height: 100%;
  border-radius: 50px;
}

.guest-auth-banner {
  margin: 76px 18px 0;
  padding: 28px 30px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(4, 37, 78, 0.98), rgba(13, 76, 146, 0.94) 58%, rgba(24, 119, 242, 0.9));
  color: #fff;
  box-shadow: 0 28px 56px rgba(4, 37, 78, 0.2);
  overflow: hidden;
}

.guest-auth-banner-copy {
  max-width: 760px;
}

.guest-auth-banner-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guest-auth-banner h2 {
  margin: 14px 0 10px;
  max-width: 22ch;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  line-height: 1.08;
}

.guest-auth-banner p {
  margin: 0;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
}

.guest-auth-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Only the visible panel is flex; [hidden] alone loses to a bare display:flex, so use :not([hidden]). */
.guest-auth-banner .js-guest-auth-banner-guest:not([hidden]),
.guest-auth-banner .js-guest-auth-banner-seller:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.guest-auth-banner-actions--single {
  flex-shrink: 0;
}

.guest-auth-banner-link {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.guest-auth-banner-link:hover {
  transform: translateY(-1px);
}

.guest-auth-banner-link-primary {
  color: #08305c;
  background: #fff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.guest-auth-banner-link-primary:hover {
  color: #08305c;
}

.guest-auth-banner-link-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.guest-auth-banner-link-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.guest-auth-banner:not([hidden]) + .hero {
  margin-top: 12px;
}

/**********************************
***********************************
     End  Temporary Header
***********************************
***********************************/

.hero {
  position: relative;
  width: 100%;
  height: clamp(280px, 34vw, 420px);
  min-height: 280px;
  margin-top: 60px;
  /* margin-bottom: 12px; */
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}

@media (max-width:780px) {
  .hero {
    min-height: 250px;
  }
  
  .hero-slide {
    padding: 40px 20px 30px;
  }
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 96px 34px 54px;
  background-color: rgba(13, 76, 146, 0.12);
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
  overflow: hidden;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.2) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  pointer-events: auto;
}

/* CTA Overlay Button Styles */
.hero-cta-overlay {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: transparent;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  z-index: 5;
  touch-action: manipulation;
}

.hero-cta-overlay:hover {
  background: rgba(13, 76, 146, 0.12);
  border-color: rgba(255, 255, 255, 0.9);
}

.hero-cta-overlay:focus-visible {
  outline: none;
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 3px rgba(13, 76, 146, 0.22);
}

.hero-cta-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .hero {
    display: none;
  }

   .trending-sellers-section .trending-sellers-container {
    padding: 76px 16px 24px !important;
    /* background: var(--main-description-color); */

     background:
    /* radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 36%), */
   /* linear-gradient(135deg, rgba(4, 37, 78, 0.98),*/ rgba(13, 76, 146, 0.94) 58%/* rgba(24, 119, 242, 0.9))*/;
  }

  .category.sticky,
  .category.unstick {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    box-shadow: none;
    transform: none;
    opacity: 1;
    animation: none;
  }
  
/* 
  .hero-slide {
    background-size: cover;
    background-position: var(--hero-mobile-position-x, 50%) 50%;
    padding: 0;
  }

  .hero-nav {
    width: 34px;
    height: 34px;
  }

  .hero-nav-prev {
    left: 10px;
  }

  .hero-nav-next {
    right: 10px;
  } */
}

/* @media (max-width: 640px) { */
  /* .hero {
    height: clamp(220px, 62vw, 290px);
    min-height: 220px;
  }

  .hero-nav {
    width: 30px;
    height: 30px;
  }

  .hero-nav-prev {
    left: 8px;
  }

  .hero-nav-next {
    right: 8px;
  }

  .hero-dots {
    gap: 6px;
    bottom: 12px;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
  }
} */

@media (max-width: 767px) {
  .hero {
    display: none;
  }

  .trending-sellers-section .trending-sellers-container {
    padding: 76px 16px 24px !important;
  }

  .category.sticky,
  .category.unstick {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    box-shadow: none;
    transform: none;
    opacity: 1;
    animation: none;
  }
}

.hero2 {
  display: flex;
  align-items: center;
  width: 100%;
  background-image: url('../assets/bacola-banner-01.jpg');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.hero-text {
  width: min(680px, 100%);
  padding: 22px;
  /* border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.12)); */
  color: #fff;
  /* box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22); */
  /* z-index: 3; */
}

.hero-attention {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}

.hero-text h1 {
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-text p {
  font-size: clamp(0.95rem, 1.45vw, 1.12rem);
  line-height: 1.5;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.95);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 18px;
  background: #fff;
  color: #0f3a74;
  border: 1px solid #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.hero-cta:hover {
  background: var(--main-color);
  color: #fff;
  transform: translateY(-1px);
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-nav:hover {
  background: rgba(0, 0, 0, 0.55);
}

.hero-nav-prev {
  left: 14px;
}

.hero-nav-next {
  right: 14px;
}

.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 4;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-dot.active {
  background: #fff;
  transform: scale(1.2);
}

.trending-sellers-section {
  background: var(--nav-background);
}

/******** products */
.products {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 60vh;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.products-toolbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .products {
    padding: 16px 12px;
  }

  .products-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .sort-control {
    width: 100%;
    justify-content: flex-start;
  }

  .sort-control select {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .product-grid {
    gap: 16px;
  }
}

.products-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--main-color);
}

.products-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.marketplace-home-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #d5e4ff;
  background: #eff5ff;
  color: var(--main-color);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.marketplace-home-chip:hover {
  background: var(--main-color);
  border-color: var(--main-color);
  color: #fff;
}

.products-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.marketplace-home-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #d5e4ff;
  background: #eff5ff;
  color: var(--main-color);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.marketplace-home-chip:hover {
  background: var(--main-color);
  border-color: var(--main-color);
  color: #fff;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--main-description-color);
}

.sort-control select {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--random-color);
}

.home-feed {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feed-loading {
  padding: 18px;
  border: 1px dashed var(--random-color);
  border-radius: 12px;
  text-align: center;
  color: var(--main-description-color);
  background: #f7f9fb;
}

.feed-section {
  border: 1px solid var(--random-color);
  border-radius: 14px;
  padding: 14px 16px;
  background: #fff;
}

.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 12px;
}

.feed-header h2 {
  color: var(--main-color);
  font-size: 1.1rem;
}

.feed-header .feed-subtitle {
  font-size: 0.85rem;
  color: var(--main-description-color);
}

.feed-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 240px; /* Fixed width for items in scrollable row */
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 12px;
  scroll-snap-type: x proximity;
}

.feed-row::-webkit-scrollbar {
  height: 6px;
}

.feed-row::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 999px;
}

.product-card.compact {
  padding: 0;
  min-width: 0;
  scroll-snap-align: start;
}

.product-card.compact .product-image {
  height: 140px;
  object-fit: cover;
}

.spotlight {
  padding: 10px 20px 0;
}

.spotlight-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spotlight-chip {
  border: 1px solid var(--random-color);
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--main-color);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.spotlight-chip:hover {
  background: var(--main-color);
  color: #fff;
}

.spotlight-chip .count {
  margin-left: 6px;
  color: var(--main-description-color);
  font-weight: 600;
}

.seo-discovery,
.seo-faq {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 20px;
}

.seo-copy {
  max-width: 780px;
  margin-bottom: 18px;
}

.seo-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 86, 179, 0.1);
  color: var(--main-color);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-copy h2 {
  margin: 14px 0 10px;
  color: var(--main-color);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.14;
}

.seo-copy p {
  color: var(--main-description-color);
  line-height: 1.7;
  font-size: 0.98rem;
}

.seo-discovery-grid,
.seo-faq-grid {
  display: grid;
  gap: 18px;
}

.seo-discovery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-card,
.seo-faq-item {
  border: 1px solid rgba(0, 86, 179, 0.12);
  border-radius: 20px;
  padding: 20px;
  background:
    radial-gradient(circle at top right, rgba(24, 119, 242, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.98));
  box-shadow: 0 14px 32px rgba(6, 43, 84, 0.08);
}

.seo-card h3,
.seo-faq-item h3 {
  color: var(--main-color);
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.seo-card p,
.seo-faq-item p {
  color: var(--main-description-color);
  line-height: 1.7;
  font-size: 0.95rem;
}

.seo-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.seo-link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 86, 179, 0.16);
  background: #fff;
  color: var(--main-color);
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.seo-link-pill:hover {
  color: #fff;
  background: var(--main-color);
  border-color: var(--main-color);
  box-shadow: 0 14px 28px rgba(13, 76, 146, 0.18);
  transform: translateY(-1px);
}

.seo-faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.products h2 {
  text-align: center;
  margin: 6px;
  padding: 6px;
  color: var(--main-color);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  width: 100%;
}

.pagination {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.pagination.is-infinite .page-btn {
  display: none;
}

.pagination.is-infinite .page-info {
  display: none;
}

.page-btn {
  padding: 8px 14px;
  border: 1px solid var(--random-color);
  background: #fff;
  border-radius: 8px;
  color: var(--main-color);
  cursor: pointer;
  font-weight: 600;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-info {
  font-size: 0.9rem;
  color: var(--main-description-color);
}

.infinite-sentinel {
  width: 100%;
  height: 24px;
}

.home-legal-strip {
  width: min(100%, 1120px);
  margin: 0 auto 0px;
  padding: 18px 20px 24px;
  border-top: 1px solid var(--random-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.home-legal-copy {
  margin: 0;
  max-width: 720px;
  color: var(--main-description-color);
  font-size: 0.92rem;
  line-height: 1.6;
}

.home-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.home-legal-link {
  color: #3f5368;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.home-legal-separator {
  color: var(--main-description-color);
  font-size: 0.84rem;
  line-height: 1;
}

.home-legal-link:hover {
  color: #2f455a;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .seo-discovery,
  .seo-faq {
    padding: 18px 20px;
  }

  .seo-discovery-grid,
  .seo-faq-grid {
    grid-template-columns: 1fr;
  }

  .home-legal-strip {
    padding: 16px 20px 22px;
    align-items: flex-start;
  }

  .home-legal-links {
    width: 100%;
  }
}

.infinite-sentinel.loading::after {
  content: 'Loading more...';
  display: block;
  text-align: center;
  color: var(--main-description-color);
  font-size: 0.9rem;
  padding-top: 6px;
}

/* home categories */

.category {
  position: relative;
  z-index: 99;
  background: var(--text-mix-color);
  transition: all 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(0);
  opacity: 1;
  padding: 10px;
}

.category.sticky {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-20px);
  opacity: 0;
  animation: slideDown 0.3s ease forwards;
}

.category.unstick {
  animation: slideUp 0.3s ease forwards;
}

@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(0);
    opacity: 0;
  }

  to {
    transform: translateY(-20px);
    opacity: 1;
  }
}

#sticky-trigger {
  height: 1px;
}

/*
.category h2 {
  text-align: center;
  margin: 6px;
  padding: 6px;
  color: var(--main-color);
}*/

.category-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 12px;
  padding-bottom: 8px;
  justify-content: flex-start;
  align-items: stretch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) var(--text-mix-color);
}

.category-grid::-webkit-scrollbar {
  height: 6px;
}

.category-grid::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 6px;
}

.category-grid::-webkit-scrollbar-track {
  background: var(--text-mix-color);
}

.category-card {
  border: 1.5px solid var(--random-color);
  border-radius: 10px;
  padding: 5px 16px;
  min-width: 60px;
  width: auto;
  text-align: center;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s,
    opacity 0.2s,
    background 0.2s,
    color 0.2s,
    border 0.2s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background-color: var(--accent-color);
  color: var(--text-mix-color);
  font-size: 1rem;
  gap: 6px;
  flex: 0 0 auto;
  height: auto;
  box-sizing: border-box;
  white-space: normal;
  word-break: break-word;
}

.category-card.active {
  background: var(--footer-random);
  color: var(--main-color);
  border: 2px solid var(--accent-color);
  box-shadow: 0 2px 8px 0 rgba(0, 123, 255, 0.08);
}

.category-card.active h3 {
  color: var(--input-icon-color);
}

.category-card .category-icon {
  display: block;
  font-size: 1.5em;
  margin-bottom: 2px;
  transition: color 0.2s;
}

.category-card h3 {
  color: var(--text-mix-color);
  font-size: 1rem;
  margin: 0;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: font-size 0.2s;
  line-height: 1.2;
  word-break: break-word;
  max-width: 100%;
}

@media (max-width: 900px) {
  .category-card {
    min-width: 70px;
    max-width: 120px;
    padding: 6px 8px;
    font-size: 0.95rem;
  }

  .category-card h3 {
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .category-card {
    min-width: 60px;
    max-width: 100px;
    padding: 5px 6px;
    font-size: 0.85rem;
    gap: 2px;
  }

  .category-card .category-icon {
    font-size: 1.2em;
  }

  .category-card h3 {
    font-size: 0.8rem;
    max-width: 90px;
  }
}

@media (max-width: 400px) {
  .category-card {
    min-width: 48px;
    max-width: 70px;
    padding: 4px 2px;
  }

  .category-card h3 {
    display: none;
  }

  .category-card .category-icon {
    font-size: 1.3em;
  }
}

/* end of home category */

#back-to-top {
  background-color: var(--accent-color);
  color: var(--random-color);
  border-radius: 40%;
  font-family: "Font Awesome 5 Free";
  font-size: 24px;
  content: "\f0aa";
  padding: 10px;
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  transition: var(--fades);
}

#back-to-top:hover {
  background-color: var(--main-color);
}



/****  CHECKOUT PAGE STYLES *****/

.main {
  max-width: 1100px;
  padding-left: 30px;
  padding-right: 30px;
  margin-top: 80px;
  margin-bottom: 100px;
  margin-left: auto;
  margin-right: auto;
}

.page-title {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 18px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  column-gap: 12px;
  align-items: start;
}

.quantity-input {
  width: 30px;
  display: none;
}

.save-quantity-link {
  display: none;
}

.is-editing-quantity .quantity-input {
  display: initial;
}

.is-editing-quantity .save-quantity-link {
  display: initial;
}

.is-editing-quantity .quantity-label {
  display: none;
}

.is-editing-quantity .update-quantity-link {
  display: none;
}

@media (max-width: 1000px) {
  .main {
    max-width: 500px;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

.cart-item-container,
.payment-summary {
  border: 1px solid var(--random-color);
  border-radius: 4px;
  padding: 18px;
}

.cart-item-container {
  margin-bottom: 12px;
}

.payment-summary {
  padding-bottom: 5px;

}

@media (max-width: 1000px) {
  .payment-summary {
    grid-row: 1;
    margin-bottom: 12px;
  }
}

.delivery-date {
  color: var(--main-color);
  font-weight: 700;
  font-size: 19px;
  margin-top: 5px;
  margin-bottom: 22px;
}

.cart-item-details-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 15px;
}

.cart-item-details-grid .product-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
}

@media (max-width: 1000px) {
  .cart-item-details-grid {
    grid-template-columns: 100px 1fr;
    row-gap: 30px;
  }
}

/* Scoped to cart item grid to prevent global image restriction */
.cart-item-details-grid .product-image {
  max-width: 100%;
  max-height: 120px;
  margin-left: auto;
  margin-right: auto;
}

.product-name {
  font-weight: 700;
  margin-bottom: 8px;
}

.product-price {
  color: var(--price-color);
  font-weight: 700;
  margin-bottom: 20px;
}

.product-quantity .link-primary {
  margin-left: 3px;
}

@media (max-width: 1000px) {
  .delivery-options {
    grid-column: 1 / span 2;
  }
}

.delivery-options-title {
  font-weight: 700;
  margin-bottom: 10px;
}

.delivery-option {
  display: grid;
  grid-template-columns: 24px 1fr;
  margin-bottom: 12px;
  cursor: pointer;
}

.delivery-option-input {
  margin-left: 0px;
  cursor: pointer;
}

.delivery-option-date {
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 3px;
}

.delivery-option-price {
  color: var(--text-color);
  font-size: 15px;
}

.payment-summary-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--main-color);
}

.payment-summary-row {
  display: grid;
  grid-template-columns: 1fr auto;
  font-size: 15px;
  margin-bottom: 9px;
}

.payment-summary-money {
  text-align: right;
}

.subtotal-row .payment-summary-money {
  border-top: 1px solid var(--text-mix-main);
}

.subtotal-row div {
  padding-top: 9px;
}

.total-row {
  color: var(--price-color);
  font-weight: 700;
  font-size: 18px;
  border-top: 1px solid var(--text-mix-main);
  padding-top: 18px;
}

.place-order-button {
  width: 100%;
  padding-top: 12px;
  padding-bottom: 12px;
  border-radius: 8px;
  margin-top: 11px;
  margin-bottom: 15px;
}

/**********   checkout total / processing styles ***********/
.place-order-button {
  cursor: pointer;
}

select {
  cursor: pointer;
}

.button-primary {
  color: var(--text-color);
  background-color: var(--main-color);
  border: 1px solid var(--accent-color);
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 5px var(--link-hover);
}

.button-primary:hover {
  background-color: var(--accent-color);
  border: 1px solid var(--main-color);
}

.button-primary:active {
  background: var(--main-color);
  border-color: var(--accent-color);
  box-shadow: none;
}

.button-secondary {
  color: var(--text-color);
  background: var(--text-mix-color);
  border: 1px solid var(--link-hover);
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 5px var(--footer-random);
}

.button-secondary:hover {
  background-color: var(--link-hover);
}

.button-secondary:active {
  background-color: var(--link-hover);
  box-shadow: none;
}

.limit-text-to-2-lines {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.link-primary {
  color: var(--accent-color);
  cursor: pointer;
}

.link-primary:hover {
  color: var(--main-description-color);
}

/* Styles for dropdown selectors. */
select {
  color: var(--text-color);
  background-color: var(--text-mix-color);
  border: 1px solid var(--random-color);
  border-radius: 8px;
  padding: 3px 5px;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 2px 5px var(--border-color);
}

select:focus {
  outline: 2px solid var(--main-color);
}

/****  checkout header styles ********/
.checkout-header {
  height: 60px;
  padding-left: 30px;
  padding-right: 30px;
  background-color: var(--nav-background);
  display: flex;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.checkout-header-left-section {
  width: auto;
}

.checkout-header-right-section .fa {
  color: var(--main-color);
  cursor: pointer;
}

.checkout-header-right-section .fa:hover {
  color: var(--text-color);
  cursor: pointer;
}

.dambwe-logo {
  width: 50px;
  margin-top: 12px;
}

.dambwe-mobile-logo {
  display: none;
}

@media (max-width: 575px) {
  .checkout-header-left-section {
    width: auto;
  }

  .dambwe-logo {
    display: none;
  }

  .dambwe-mobile-logo {
    display: inline-block;
    height: 35px;
    margin-top: 5px;
  }
}

.checkout-header-middle-section {
  flex: 1;
  flex-shrink: 0;
  text-align: center;
  font-size: 25px;
  font-weight: 500;
  display: flex;
  justify-content: center;
}

.return-to-home-link {
  color: var(--main-color);
  font-size: 23px;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 1000px) {
  .checkout-header-middle-section {
    font-size: 20px;
    margin-right: 60px;
  }

  .return-to-home-link {
    font-size: 18px;
  }
}

@media (max-width: 575px) {
  .checkout-header-middle-section {
    margin-right: 5px;
  }
}

.checkout-header-right-section {
  text-align: right;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 1000px) {
  .checkout-header-right-section {
    width: auto;
  }
}


/* ──  Product Card ── */
.product-card {
  background: #fff;
  border: 1px solid var(--random-color);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.1, 0, 0.3, 1), box-shadow 0.25s ease;
  height: 100%;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  opacity: 1; 
}

/* Media section (image + overlays) */
.product-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; 
  background: #f8f9fa;
  overflow: hidden;
}

.product-card-media .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none; /* Override any restrictive global max-height */
  transition: transform 0.5s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-card-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, background 0.2s, color 0.2s;
  z-index: 2;
}

.product-card-fav:hover {
  transform: scale(1.1);
  background: #fff;
  color: #e74c3c;
}

.product-card-fav i {
  font-size: 16px;
}

.product-card-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Card Body */
.product-card-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: left;
}

.product-card-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #163b63;
  margin: 0 0 5px;
  line-height: 1.38;
  min-height: 2.8em; 
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-card-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--price-color, #834343);
  margin-bottom: 6px;
}

.product-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #666;
  margin-bottom: 6px;
}

.product-card-location {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-seller {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--main-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.product-card-seller-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  color: var(--main-color);
  font-size: 11px;
}

.product-card-seller-label {
  color: #667085;
  font-weight: 500;
}

.product-card-seller-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 86, 179, 0.35);
}

.product-card-seller-link:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.product-card-seller-verified {
  color: #1677ff;
  font-size: 0.82rem;
}

.product-card-status-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(131, 67, 67, 0.92);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  z-index: 3;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.product-card-status-badge.is-sold {
  background: rgba(131, 67, 67, 0.92);
}

.product-card-price.is-sold {
  text-decoration: line-through;
  opacity: 0.65;
}

/* Card Footer */
.product-card-footer {
  padding: 0 14px 14px;
}

.product-card-btn {
  display: block;
  width: 100%;
  background: #f0f4fa;
  color: var(--main-color);
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.product-card-btn:hover {
  background: var(--main-color);
  color: #fff;
}

/* Compact specific tweaks */
.product-card.compact {
  /* No max-width here to allow grid filling */
}

.product-card.compact .product-card-title {
  font-size: 0.9rem;
}


.product-details .product-image-details {
  border-radius: 25px;
  margin-left: auto;
  margin-right: auto;
}

/*
.quick-nav {
    height: 40px;
    background-color: var(--accent-color);
    display: flex;
    justify-content: space-around;
    box-shadow: 0 1px 3px -2px black;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.quick-nav ul {
    display: flex;
    gap: 20px;
    text-align: center;
    align-items: center;
    justify-content: center;
    
}

.quick-nav ul li {
    list-style: none;
    cursor: pointer;
}

.quick-nav ul li a {
 text-decoration: none;
 color: var(--text-color);
 font-weight: 700;
}

.quick-nav ul li a:hover {
  color: var(--link-hover);
}

.fa-syle {
  color: var(--nav-background);
}

.fa-syle:hover {
  color: var(--border-color);
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  padding: 4px;
}

.icon-circle i {
  color: var(--text-color);
}
*/
/* Toast notification styles */
.toast {
  visibility: hidden;
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  background: var(--accent-color);
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 1001;
}

.toast.show {
  visibility: visible;
  animation: fade-in 0.3s, fade-out 0.3s 2.7s;
}

.ns-page-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at top, rgba(0, 123, 255, 0.14), transparent 42%),
    rgba(245, 248, 252, 0.92);
  backdrop-filter: blur(10px);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.ns-page-loader.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.ns-page-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.ns-page-loader__panel {
  width: min(100%, 380px);
  border-radius: 24px;
  padding: 28px 24px 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 86, 179, 0.14);
  box-shadow: 0 20px 48px rgba(2, 28, 55, 0.16);
  text-align: center;
}

.ns-page-loader__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 86, 179, 0.08);
  color: var(--main-color);
  font-weight: 700;
  margin-bottom: 18px;
}

.ns-page-loader__logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.ns-page-loader__brand-text {
  letter-spacing: 0.02em;
}

.ns-page-loader__spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 18px;
  border: 4px solid rgba(0, 86, 179, 0.12);
  border-top-color: var(--accent-color);
  border-right-color: var(--main-color);
  animation: ns-loader-spin 0.9s linear infinite;
}

.ns-page-loader__title {
  color: var(--main-color);
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.ns-page-loader__message {
  color: var(--main-description-color);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  to {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
}

@keyframes ns-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

.details-page {
  background: var(--text-mix-color);
  min-height: 100vh;
  padding-top: 80px;
}

.quick-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--nav-background);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem;
}

.quick-nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.quick-nav a {
  text-decoration: none;
}

.nav-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: var(--fades);
  color: var(--text-mix-color);
  cursor: pointer;

}

.nav-icon:hover {
  transform: translateY(-2px);
  color: var(--accent-color);
}

.nav-icon i {
  font-size: 1.2rem;
}

.tooltip {
  position: absolute;
  bottom: -30px;
  font-size: 0.75rem;
  background: var(--nav-background);
  color: var(--text-mix-color);
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0;
  transition: var(--fades);
  pointer-events: none;
  white-space: nowrap;
}

.nav-icon:hover .tooltip {
  opacity: 1;
}

.product-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--text-mix-color);
  border-radius: 16px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-image-details {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-info h1 {
  font-size: 2rem;
  color: var(--text-color);
  margin: 0;
}

.view-details-price {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--price-color);
}

.p-desc {
  background: var(--link-hover);
  padding: 1.5rem;
  border-radius: 8px;
}

.description {
  color: var(--text-color);
  line-height: 1.6;
  font-size: 1rem;
}

.product-actions .btn1.js-add-to-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent-color);
  color: var(--text-mix-color);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--fades);
  width: auto;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

.product-actions .btn1.js-add-to-cart:hover {
  background: var(--main-color);
  transform: translateY(-2px);
}

.product-actions .btn1.js-add-to-cart i {
  font-size: 1.2rem;
}

.saved-list-descriptionH3 {
  color: var(--text-color);
  font-size: 1rem;
  margin-bottom: 8px;
}

p.saved-list-descriptionP {
  color: var(--main-description-color);
  font-size: 0.9rem;
  margin: 0;
}

.top {
  margin-top: 15px;
  color: var(--main-description-color);
}

.top i {
  color: var(--main-description-color);
}

.top i:hover {
  color: var(--main-description-color);
}

.saved-item-status-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  background: rgba(131, 67, 67, 0.92);
  color: #fff;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.saved-item-price--sold {
  text-decoration: line-through;
  opacity: 0.65;
}

.saved-item-seller-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 42, 70, 0.35);
}

.saved-item-seller-link:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.no-products-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  background: var(--text-mix-color);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  margin: auto;
  padding: 32px 16px;
  max-width: 400px;
  animation: fadeIn 0.7s;
  /* Center horizontally and vertically */
  position: relative;
  left: unset;
  top: unset;
  transform: unset;
}

.no-products-svg {
  margin-bottom: 16px;
  animation: floatY 2s infinite ease-in-out;
}

.no-products-text h3 {
  color: var(--text-color);
  font-size: 1.5rem;
  margin-bottom: 8px;
  font-weight: 600;
  text-align: center;
}

.no-products-text p {
  color: var(--accent-color);
  font-size: 1rem;
  text-align: center;
  margin: 0;
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.message {
  color: var(--text-color);
  font-weight: 700;
}

/* Modal styles */
.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: none;
  /* Changed from flex to maintain current show/hide functionality */
}

/* Show modal with flex when visible */
.modal[style*="display: block"] {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.modal-content {
  /* Remove any margin/position properties that might interfere with centering */
  margin: 0;
  position: relative;
  background: var(--random-color);
  border-radius: 8px;
  padding: 2rem 2rem 1.5rem 2rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
  min-width: 320px;
  max-width: 90vw;
  text-align: center;
}

.modal-body {
  text-align: center;
}

.modal-body i {
  font-size: 2rem;
  color: #e74c3c;
}

.modal-body h3 {
  margin: 1rem 0 0.5rem 0;
  color: #e74c3c;
}

.modal-body p {
  margin-bottom: 1.5rem;
}

.modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.modal-confirm-btn {
  background: #e74c3c;
  color: #fff;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
}

.modal-confirm-btn:hover {
  background: var(--error-color);
  color: var(--main-color);
  border: none;
  cursor: pointer;
}

.modal-cancel-btn {
  background: #fff;
  color: #222;
  border: 1px solid #ccc;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
}


.modal-cancel-btn:hover {
  background: var(--main-color);
  color: var(--text-mix-color);
  cursor: pointer;
}


.modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--error-color);
}

.clear-cart-btn {
  margin-left: 15px;
  padding: 8px 16px;
  background-color: var(--input-icon-color);
  color: var(--error-color);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.clear-cart-btn:hover {
  background-color: #c82333;
}

/* 
// Expandable header search - icon sits inside the input when expanded 
.search-wrapper {
  display: inline-block;
  position: relative;
  padding: 4px 8px;
  /* ensure some room for the icon *
  border-radius: 6px;
  z-index: 50;
  /* don't hide overflow so the input can expand left 
  overflow: visible;
}

.search-icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-mix-color);
  font-size: 18px;
  cursor: pointer;
  z-index: 52;
  transition: color 0.18s ease;
}

/* collapsed input - sits behind the icon at the right edge of wrapper
.search-input {
  position: absolute;
  top: 50%;
  right: 8px;
  /* align with icon 
  transform: translateY(-50%);
  width: 0;
  opacity: 0;
  padding: 0;
  padding-right: 36px;
  border: none;
  outline: none;
  background: var(--random-color);
  color: var(--text-mix-color);
  border-radius: 6px;
  transition: width 0.22s ease, opacity 0.18s ease, padding 0.18s ease;
  font-size: 14px;
  box-shadow: none;
  white-space: nowrap;
  overflow: hidden;
}

/* expand input to the LEFT; icon remains visually inside at the right 
.search-wrapper:hover .search-input,
.search-wrapper:focus-within .search-input {
  width: 220px;
  opacity: 1;
  padding: 6px 10px 6px 10px;
}

/* icon color when active 
.search-wrapper:hover .search-icon,
.search-wrapper:focus-within .search-icon {
  color: var(--accent-color);
  background-color: var(--nav-background);
  padding: 10px;
  border-radius: 50%;
  margin-right: -15px;
}

/* small screens: reduced width 
@media (max-width: 600px) {

  .search-wrapper:hover .search-input,
  .search-wrapper:focus-within .search-input {
    width: 140px;
  }
}
 */

.profile-nudge {
  position: relative;
  margin: 18px 20px 0;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--random-color);
  border-radius: 16px;
  display: flex;
  gap: 18px;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.profile-nudge.is-hidden {
  display: none;
}

.profile-nudge-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: conic-gradient(var(--accent-color) calc(var(--progress) * 1%), #e6edf5 0);
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
}

.profile-nudge-ring::after {
  content: '';
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
}

.profile-nudge-value {
  position: relative;
  font-weight: 700;
  color: var(--main-color);
  z-index: 1;
}

.profile-nudge-title {
  margin: 0 0 4px;
  color: var(--main-color);
  font-size: 1.1rem;
}

.profile-nudge-subtitle {
  margin: 0;
  color: var(--main-description-color);
  font-size: 0.9rem;
}

.profile-nudge-missing {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.profile-nudge-chip {
  background: #eef4ff;
  color: var(--main-color);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.profile-nudge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.profile-nudge-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--main-color);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.profile-nudge-btn:hover {
  background: var(--accent-color);
}

.profile-nudge-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: #8a9ab5;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.profile-nudge-close:hover {
  background: rgba(0,0,0,0.06);
  color: #333;
}

.profile-nudge-later {
  display: inline-flex;
  align-items: center;
  background: none;
  border: 1.5px solid #dde3ed;
  color: var(--main-color);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.profile-nudge-later:hover {
  background: #f0f4fa;
  border-color: var(--main-color);
}


@media (max-width: 900px) {
  .profile-nudge {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-nudge-ring {
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .profile-nudge {
    margin: 14px 16px 0;
  }
}

/* if its owner card styling */
.product-card-owner-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--main-color);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card-seller-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.product-card-btn.seller-edit {
  background: #eef4ff;
  border: 1px solid #d0e1ff;
}

.product-card-btn.seller-edit:hover {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

/* Dev environment badge variant */
.beta-tag.env-tag--dev {
  background: #92400e;
  color: #fef3c7;
}

/* Verified seller badge popover */
.ns-verified-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.ns-verified-badge::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 14px;
}

.ns-verified-badge__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  line-height: 1;
  text-align: left;
  cursor: pointer;
}

.ns-verified-badge__trigger:focus-visible {
  outline: 2px solid rgba(13, 110, 253, 0.35);
  outline-offset: 3px;
}

.ns-verified-badge__trigger--icon {
  justify-content: center;
}

.ns-verified-badge__card {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  width: min(320px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid #dbe7f5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(2, 28, 55, 0.16);
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 40;
}

.ns-verified-badge__card::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 1px solid #dbe7f5;
  border-left: 1px solid #dbe7f5;
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}

.ns-verified-badge:hover .ns-verified-badge__card,
.ns-verified-badge:focus-within .ns-verified-badge__card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.ns-verified-badge__eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0d6efd;
}

.ns-verified-badge__title {
  display: block;
  color: #0e2f52;
  font-size: 1rem;
  line-height: 1.25;
}

.ns-verified-badge__meta {
  display: grid;
  gap: 8px;
}

.ns-verified-badge__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ns-verified-badge__label {
  color: #6b7f99;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ns-verified-badge__value {
  color: #163b63;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: right;
}

.ns-verified-badge__copy,
.ns-verified-badge__requirements {
  display: block;
  margin: 0;
  color: #34506d;
  font-size: 0.82rem;
  line-height: 1.55;
}

.ns-verified-badge__requirements strong {
  color: #0e2f52;
}

.ns-verified-badge__link {
  display: inline-flex;
  color: #0056b3;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

.ns-verified-badge__link:hover {
  color: #0d6efd;
}

@media (max-width: 480px) {
  .ns-verified-badge__card {
    left: auto;
    right: 0;
    width: min(300px, calc(100vw - 24px));
    transform: translateY(8px);
  }

  .ns-verified-badge__card::before {
    left: auto;
    right: 18px;
    transform: rotate(45deg);
  }

  .ns-verified-badge:hover .ns-verified-badge__card,
  .ns-verified-badge:focus-within .ns-verified-badge__card {
    transform: translateY(0);
  }
}

/* Auth chrome */
.auth-link__icon {
  font-size: 0.92rem;
  margin-right: 8px;
}

.auth-link__label {
  line-height: 1;
}

.js-nav-auth-slot,
.header-auth-actions {
  display: flex;
  align-items: center;
}

.js-nav-auth-slot {
  flex-shrink: 0;
}

.nav-login-cart {
  flex-wrap: nowrap;
}

.search-trigger,
.nav-saved-link-wrap,
.nav-auth-actions,
.header-auth-actions {
  flex-shrink: 0;
}

.nav-saved-link-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-saved-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-cart-count {
  position: absolute;
  top: -10px;
  left: -14px;
  margin: 0;
  width: 20px;
  height: 20px;
  font-size: 12px;
}

.nav-profile-link,
.header-profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* background: #ffffff;
  border: 1px solid #b8d2ec;
  box-shadow: none; */
}

/* .nav-profile-link {
  width: 46px;
  height: 46px;
  border-radius: 50%;
} */

.header-profile-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.nav-profile-link:hover,
.header-profile-link:hover,
.nav-auth-link:hover,
.header-auth-link:hover,
.guest-auth-banner-link:hover {
  transform: none;
  box-shadow: none;
}

.nav-profile-link .fa-solid,
.header-profile-link .fa-solid {
  color: var(--main-color);
}

.nav-chat-link,
.header-chat-link {
  box-shadow: none;
}

.nav-auth-link,
.header-auth-link,
.guest-auth-banner-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  border-width: 1px;
  border-style: solid;
}

.header-auth-link {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-auth-link-primary,
.header-auth-link-primary,
.guest-auth-banner-link-primary {
  background: #0d4c92;
  border-color: #0d4c92;
  color: #ffffff;
}

.nav-auth-link-primary .auth-link__icon,
.header-auth-link-primary .auth-link__icon,
.guest-auth-banner-link-primary .auth-link__icon {
  color: #ffffff !important;
}

.nav-auth-link-primary:hover,
.header-auth-link-primary:hover,
.guest-auth-banner-link-primary:hover {
  background: #0b417d;
  border-color: #0b417d;
  color: #ffffff;
}

.nav-auth-link-secondary,
.header-auth-link-secondary,
.guest-auth-banner-link-secondary {
  background: #ffffff;
  border-color: #b8d2ec;
  color: #0d4c92;
}

.nav-auth-link-secondary .auth-link__icon,
.header-auth-link-secondary .auth-link__icon,
.guest-auth-banner-link-secondary .auth-link__icon {
  color: #0d4c92 !important;
}

.nav-auth-link-secondary:hover,
.header-auth-link-secondary:hover,
.guest-auth-banner-link-secondary:hover {
  background: #f4f8fc;
  border-color: #8fb7df;
  color: var(--price-color, #834343);
}

.nav-auth-link-secondary:hover .auth-link__icon,
.header-auth-link-secondary:hover .auth-link__icon,
.guest-auth-banner-link-secondary:hover .auth-link__icon {
  color: var(--price-color, #834343) !important;
}

.guest-auth-banner {
  margin: 18px 20px 0;
  padding: 16px 20px;
  border-radius: 16px;
  gap: 18px;
  background: #eef5fc;
  border: 1px solid #c9dff6;
  box-shadow: none;
  color: #0e2f52;
}

.guest-auth-banner-copy {
  max-width: none;
}

.guest-auth-banner-kicker {
  background: #0d4c92;
  color: #ffffff;
  margin-bottom: 8px;
  font-size: 0.74rem;
}

.guest-auth-banner h2 {
  margin: 0 0 4px;
  max-width: none;
  font-size: 1.08rem;
  line-height: 1.35;
}

.guest-auth-banner p {
  font-size: 0.9rem;
  color: #34506d;
}

.guest-auth-banner-actions {
  justify-content: flex-start;
  margin-left: auto;
}

.checkout-header-right-section {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header-auth-actions {
  gap: 10px;
}

@media (max-width: 900px) {
  .guest-auth-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .guest-auth-banner .js-guest-auth-banner-guest:not([hidden]),
  .guest-auth-banner .js-guest-auth-banner-seller:not([hidden]) {
    flex-direction: column;
    align-items: flex-start;
  }

  .guest-auth-banner-actions {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .nav-login-cart {
    gap: 10px;
    flex-wrap: nowrap;
  }

  .nav-auth-actions,
  .header-auth-actions {
    gap: 8px;
  }

  .nav-profile-cluster,
  .header-profile-cluster {
    gap: 8px;
  }

  .nav-chat-link,
  .nav-profile-link,
  .notification-bell-btn {
    width: 42px;
    height: 42px;
  }

  .nav-auth-link,
  .header-auth-link {
    width: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    border-radius: 999px;
  }

  .nav-auth-link .auth-link__icon,
  .header-auth-link .auth-link__icon {
    margin-right: 0;
    font-size: 0.95rem;
  }

  .nav-auth-link .auth-link__label,
  .header-auth-link .auth-link__label {
    display: none;
  }

    .auth-link__icon_word {
    display: none;
  }

  .guest-auth-banner {
    margin: 14px 16px 0;
    padding: 16px;
    border-radius: 16px;
  }

  .guest-auth-banner-actions {
    flex-wrap: wrap;
  }

  .guest-auth-banner-link {
    flex: 1 1 140px;
  }

  .nav-cart-count {
    top: -8px;
    right: -12px;
  }
}



/* new test styles for the dropdown thing on the profile icon*/

.nk-profile-reset-trigger {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 40px !important; 
  height: 40px !important;
  flex-shrink: 0 !important;
  
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important;
}

.nk-profile-reset-trigger .profile-avatar {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  flex-shrink: 0 !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 !important;
  border-radius: 50% !important;
}

.nk-profile-reset-trigger .profile-avatar-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}

.nk-dropdown-arrow-icon {
  position: absolute !important;
  right: -2px;
  bottom: 0px;
  font-size: 0.7rem !important;
  color: #ffffff !important; 
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); 
  
  pointer-events: none;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 5;
}

.nk-profile-reset-trigger[aria-expanded="true"] .nk-dropdown-arrow-icon {
  transform: rotate(180deg);
}

.nk-dropdown-card {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 2500; 
  width: 240px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 30, 60, 0.15);
  padding: 6px 0;
  text-align: left; 
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  pointer-events: none;
}

.nk-dropdown-card.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nk-dropdown-identity {
  padding: 10px 16px;
  background-color: #f8fafc;
  margin-top: -6px;
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;
  border-bottom: 1px solid #edf2f7;
}

.nk-identity-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nk-identity-role {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #0284c7;
}

.nk-dropdown-divider {
  height: 1px;
  background-color: #edf2f7;
  margin: 6px 0;
}

.nk-dropdown-links-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.nk-dropdown-section-title {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.06em;
  padding: 8px 16px 4px 16px;
}

.nk-dropdown-links-list li a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 16px !important;
  color: #334155 !important;
  font-size: 0.85rem !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: background-color 0.15s, color 0.15s;
}

.nk-dropdown-links-list li a i {
  width: 16px;
  text-align: center;
  color: #64748b;
  transition: color 0.15s;
}

.nk-dropdown-links-list li a:hover {
  background-color: #f1f5f9 !important;
  color: #0284c7 !important;
}

.nk-dropdown-links-list li a:hover i {
  color: #0284c7 !important;
}

.nk-dropdown-links-list li a.nk-admin-menu-link:hover {
  background-color: #fff5f5 !important;
  color: #e53e3e !important;
}
.nk-dropdown-links-list li a.nk-admin-menu-link:hover i {
  color: #e53e3e !important;
}

.nk-dropdown-links-list li a.nk-dropdown-logout {
  color: #dc2626 !important;
}
.nk-dropdown-links-list li a.nk-dropdown-logout:hover {
  background-color: #fef2f2 !important;
}
.nk-dropdown-links-list li a.nk-dropdown-logout i {
  color: #fca5a5;
}
.nk-dropdown-links-list li a.nk-dropdown-logout:hover i {
  color: #dc2626 !important;
}

@media (max-width: 575px) {
  .nk-dropdown-card {
    position: fixed;
    top: 72px;
    right: 12px;
    left: 12px;
    width: auto;
  }
}
