/* Generated from the real Header/SearchableSelect classes and src/styles.css + styles.rest.css. Do not edit. */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  color: #fff;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 54px;
  padding: 5px 15px;
  background: rgba(0, 130, 82, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.top-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.top-row-mobile {
  display: none;
}

.bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 12px 30px;
  background: rgba(0, 204, 129, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled-down {
  transform: translateY(-54px);
}

.site-header.scrolled-down .bottom-row {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.header-placeholder {
  height: 122px;
}

.header-placeholder.social-placeholder {
  height: 68px;
  background: #f8fafc;
}



.header-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  flex: 0 0 auto;
}

.logo-container {
  display: flex;
  align-items: center;
  border: 0;
  background: transparent;
  margin-left: 30px;
  margin-right: 12px;
  padding: 0;
}

.logo-container img {
  height: 40px;
  width: auto;
  max-width: none;
}

.option-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.category-trigger {
  padding: 10px 0;
}

.search-container {
  position: relative;
  flex: 1;
  max-width: 600px;
  min-width: 260px;
  margin: 0 20px;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 45px;
  padding: 5px 10px 5px 18px;
  border-radius: 30px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-bar input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
}

.search-bar button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 34px;
  border: 0;
  border-radius: 25px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 0 18px;
}

.search-icon-mobile {
  display: none;
}

.suggestions-list {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  z-index: 80;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  border-radius: 5px;
  background: #fff;
  color: var(--text);
  list-style: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.suggestions-list li {
  padding: 10px;
  font-size: 14px;
  cursor: pointer;
}

.suggestions-list li:hover {
  background: #f0f0f0;
}

.header-options {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex: 0 0 auto;
}

.location-wrap {
  position: relative;
}

.location-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1000;
  width: 270px;
  max-width: 90vw;
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #333;
}
.location-menu::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 20px;
  width: 10px;
  height: 10px;
  background: #ffffff;
  transform: rotate(45deg);
  border-top: 1px solid rgba(0,0,0,0.05);
  border-left: 1px solid rgba(0,0,0,0.05);
}

.location-menu h4 {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  text-align: center;
}

.location-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.location-menu .searchable-trigger {
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13px;
}

.location-menu .searchable-trigger .value-text {
  gap: 6px;
}

.location-menu .btn-apply {
  margin-top: 4px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: var(--blue, #05aff2);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-menu .btn-apply:hover {
  background: #049be6;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(5, 175, 242, 0.25);
}

.location-backdrop {
  display: none;
}

@media (max-width: 767px) {
  .location-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    backdrop-filter: blur(4px);
  }

  .location-menu {
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 20px 16px max(20px, env(safe-area-inset-bottom));
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
    animation: slideUpSheet 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .location-menu::before {
    display: none;
  }
}
.searchable-select {
  position: relative;
  width: 100%;
}

.searchable-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fdfdfd;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  color: #333;
}

.searchable-trigger:hover {
  background: #fff;
  border-color: #bbb;
}

.searchable-trigger.active {
  border-color: var(--blue, #05aff2);
  box-shadow: 0 0 0 3px rgba(5, 175, 242, 0.15);
  background: #fff;
}

.searchable-trigger .value-text {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.searchable-trigger .trigger-icon {
  display: flex;
  align-items: center;
  color: #888;
}

.searchable-trigger .flag {
  font-size: 16px;
}

.searchable-trigger .subtext {
  color: #888;
  font-size: 13px;
}

.searchable-trigger .currency-code {
  font-weight: 600;
  color: #444;
}

.searchable-trigger .chevron {
  color: #888;
  transition: transform 0.2s ease;
}

.searchable-trigger .chevron.up {
  transform: rotate(180deg);
}

.searchable-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 1001;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 1px solid #eee;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.searchable-search-wrapper {
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
}

.searchable-search {
  padding: 14px 0;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  width: 100%;
}

.searchable-options {
  max-height: 180px;
  overflow-y: auto;
  padding: 6px 0;
  scrollbar-width: thin;
}

.searchable-options::-webkit-scrollbar {
  width: 6px;
}
.searchable-options::-webkit-scrollbar-track {
  background: transparent;
}
.searchable-options::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 10px;
}
.searchable-options::-webkit-scrollbar-thumb:hover {
  background: #ccc;
}

.searchable-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  color: #444;
  transition: background 0.15s;
}

.searchable-option .flag {
  font-size: 16px;
}

.searchable-option .subtext {
  color: #888;
  font-size: 13px;
}

.searchable-option .currency-code {
  font-weight: 600;
  color: #444;
}

.searchable-option:hover {
  background: #f4f4f4;
  color: #111;
}

.searchable-option.empty {
  color: #64748b;
  justify-content: center;
  padding: 16px;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overscroll-behavior: contain;
}

.categories-modal {
  display: flex;
  flex-direction: column;
  width: min(920px, calc(100vw - 40px));
  height: min(640px, calc(100vh - 60px));
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06);
  overscroll-behavior: contain;
}

.categories-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

.categories-modal-back {
  display: none;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: #00a862;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.categories-modal-back:hover {
  background: #f0fdf4;
}

.categories-modal-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.categories-modal-close {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.categories-modal-close:hover {
  background: #fee2e2;
  border-color: #fecaca;
  color: #ef4444;
}

.categories-modal-body {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.categories-list {
  width: 280px;
  min-width: 250px;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px;
  border-right: 1px solid #f1f5f9;
  background: #fbfcfc;
  box-sizing: border-box;
}

.categories-list .category-nav-btn {
  display: flex;
  width: 100%;
  height: auto;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: #475569;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 2px;
}

.categories-list .category-nav-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.categories-list .category-nav-btn.active {
  background: #e6f7f0;
  color: #00875a;
  font-weight: 600;
}

.categories-list .category-nav-btn svg {
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.15s ease, color 0.15s ease;
}

.categories-list .category-nav-btn.active svg {
  color: #00875a;
  transform: translateX(2px);
}

.brands-grid-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  background: #ffffff;
  overflow: hidden;
}

.brands-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px 8px;
  flex-shrink: 0;
  border-bottom: 1px solid #f8fafc;
}

.brands-grid-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.view-all-category-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  color: #00875a;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.view-all-category-btn:hover {
  background: #e6f7f0;
}

.brands-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
  grid-auto-rows: max-content;
  gap: 12px;
  padding: 18px 24px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  align-content: flex-start;
}

.brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  background: #ffffff;
  padding: 14px 10px;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.brand-item:hover {
  border-color: #a7f3d0;
  background: #f7fdfa;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 135, 90, 0.08);
}

.brand-item-img-wrapper {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  background: #f8fafc;
  border-radius: 10px;
  padding: 6px;
  box-sizing: border-box;
}

.brand-item-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-item-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.brand-item:hover .brand-item-name {
  color: #00875a;
}

.no-subcategories-view {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.single-category-card {
  width: 220px;
  padding: 24px 16px;
}

.brand-item-subtext {
  margin: 6px 0 0;
  font-size: 11.5px;
  color: #00875a;
  font-weight: 500;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.4);
}

.drawer {
  position: relative;
  display: flex;
  width: min(340px, 100%);
  flex-direction: column;
  gap: 10px;
  background: #fff;
  padding: 20px;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef2f1;
}

.drawer-header img {
  height: 28px;
}

.drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: -12px -12px -12px 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.drawer-close:hover {
  background: #f1f5f9;
}

.drawer button,
.drawer a {
  border: 0;
  border-radius: 8px;
  background: #f4f6f5;
  color: var(--text);
  padding: 14px;
  text-align: left;
}

.drawer .drawer-logout-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fef2f2 !important;
  color: #ef4444 !important;
  border: 1px solid #fecaca !important;
  font-weight: 600 !important;
  margin-top: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drawer .drawer-logout-btn:hover {
  background: #fee2e2 !important;
  color: #dc2626 !important;
}

@media (max-width: 1200px) {

  .header-options {
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .desktop-only,
.header-options,
.category-trigger {
    display: none;
  }

  .top-row-mobile {
    display: block;
    background: #008454;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .site-header.scrolled-down {
    transform: translateY(-60px);
  }

  .header-placeholder {
    height: 183px;
  }

  .header-placeholder.social-placeholder {
    height: 118px !important;
  }

  .top-row-mobile a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 14px;
  }

  .top-row-mobile img {
    width: 44px;
    height: 44px;
  }

  .top-row-mobile span {
    display: grid;
    flex: 1;
    color: #fff;
    font-size: 14px;
  }

  .top-row-mobile b {
    height: 30px;
    border-radius: 32px;
    background: #0475d9;
    color: #fff;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1;
  }

  .bottom-row {
    display: flex;
    flex-wrap: wrap !important;
    align-items: center;
    justify-content: space-between !important;
    padding: 8px 14px 10px !important;
    min-height: auto !important;
    gap: 8px !important;
    background: rgba(0, 204, 129, 0.95) !important;
  }

  .header-left {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    gap: 8px !important;
  }

  .logo-container {
    margin-left: 0;
  }

  .logo-container img {
    height: 28px !important;
  }

  .menu-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto;
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }

  .search-container {
    order: 3 !important;
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .search-bar {
    width: 100% !important;
    height: 46px !important;
    margin-top: 2px !important;
    padding: 0 4px 0 12px !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  }

  .search-bar input {
    font-size: 16px !important;
    color: #1e293b !important;
    flex: 1 !important;
    min-width: 0 !important;
  }

  .search-bar button {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #4cd080 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: none !important;
  }

  .search-word {
    display: none;
  }

  .search-icon-mobile {
    display: block;
  }

  .header-placeholder {
    height: 183px !important;
  }

  .header-placeholder.social-placeholder {
    height: 118px !important;
  }

  .modal-backdrop:has(.categories-modal) {
    padding: 0 !important;
    background: rgba(15, 23, 42, 0.6) !important;
  }

  .categories-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    z-index: 99999 !important;
    box-shadow: none !important;
  }

  .categories-modal-header {
    padding: 14px 18px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    height: 56px !important;
  }

  .categories-modal-back {
    display: inline-flex !important;
  }

  .categories-modal-title {
    font-size: 16px !important;
    text-align: center;
    flex: 1;
  }

  .categories-modal-body {
    flex-direction: column !important;
  }

  .categories-list.mobile-hidden,
.brands-grid-container.mobile-hidden {
    display: none !important;
  }

  .categories-list {
    width: 100% !important;
    min-width: 100% !important;
    border-right: none !important;
    padding: 10px 14px 40px !important;
    background: #ffffff !important;
  }

  .categories-list .category-nav-btn {
    padding: 13px 16px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    margin-bottom: 6px !important;
    border: 1px solid #f1f5f9 !important;
  }

  .brands-grid-container {
    width: 100% !important;
    padding-bottom: 40px;
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
    padding: 14px 14px !important;
  }

  .brand-item {
    padding: 12px 6px !important;
  }

  .brand-item-img-wrapper {
    width: 48px !important;
    height: 48px !important;
  }
}
.option-button.active {
  color: #ffde59; /* Bright gold color for active highlight */
  border-bottom: 2px solid #ffde59;
  padding-bottom: 2px;
}
.drawer button.active {
  color: var(--green, #4cd080) !important;
  font-weight: 700 !important;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 480px) {
  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }
}
.searchable-select {
  position: relative;
  width: 100%;
}

.searchable-trigger {
  min-height: var(--touch-target-min);
}

.searchable-dropdown {
  max-width: calc(100vw - 32px);
  max-height: 280px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 250;
}

@media (max-width: 480px) {
  .searchable-dropdown {
    width: 100%;
    left: 0;
    right: 0;
  }
}
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    min-height: 64px !important;
    height: auto !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
    z-index: 9999 !important;
    padding-top: 6px !important;
    padding-bottom: max(6px, env(safe-area-inset-bottom)) !important;
    align-items: flex-end !important;
    justify-content: space-around !important;
  }

  .mobile-nav-tab {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    background: transparent !important;
    border: none !important;
    padding: 2px 2px !important;
    flex: 1 !important;
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    gap: 3px !important;
    cursor: pointer !important;
    transition: color 0.15s ease !important;
    text-decoration: none !important;
    height: 100% !important;
    box-sizing: border-box !important;
  }

  .mobile-nav-tab.active {
    color: #008454 !important;
    font-weight: 700 !important;
  }

  .mobile-nav-tab.active svg {
    color: #008454 !important;
  }

  .mobile-nav-tab.sell-tab {
    position: relative !important;
    top: -12px !important;
    justify-content: flex-end !important;
  }

  .sell-tab-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #4cd080, #009b62) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 204, 129, 0.45) !important;
    transition: transform 0.2s ease !important;
    flex-shrink: 0 !important;
  }

  .sell-tab-icon:active {
    transform: scale(0.92) !important;
  }

  .mobile-nav-tab.sell-tab span {
    margin-top: 2px !important;
    color: #008453 !important;
    font-weight: 700 !important;
  }
}
@media (max-width: 768px) {
  .search-bar input {
    font-size: 16px !important;
  }
}
@media (min-width: 769px) {
  .categories-modal-back {
    display: none !important;
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  color: #fff;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.logo-container img {
  height: 40px;
  width: auto;
  max-width: none;
}

.search-bar input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
}

.search-bar button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 34px;
  border: 0;
  border-radius: 25px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 0 18px;
}

.suggestions-list {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  z-index: 80;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  border-radius: 5px;
  background: #fff;
  color: var(--text);
  list-style: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.suggestions-list li:hover {
  background: #f0f0f0;
}
.location-menu::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 20px;
  width: 10px;
  height: 10px;
  background: #ffffff;
  transform: rotate(45deg);
  border-top: 1px solid rgba(0,0,0,0.05);
  border-left: 1px solid rgba(0,0,0,0.05);
}

@media (max-width: 767px) {

  .location-menu {
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 20px 16px max(20px, env(safe-area-inset-bottom));
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
    animation: slideUpSheet 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

.searchable-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fdfdfd;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  color: #333;
}

.searchable-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 1001;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 1px solid #eee;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.searchable-search-wrapper {
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
}

.searchable-search {
  padding: 14px 0;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  width: 100%;
}

.searchable-options {
  max-height: 180px;
  overflow-y: auto;
  padding: 6px 0;
  scrollbar-width: thin;
}

.searchable-options::-webkit-scrollbar {
  width: 6px;
}
.searchable-options::-webkit-scrollbar-track {
  background: transparent;
}
.searchable-options::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 10px;
}
.searchable-options::-webkit-scrollbar-thumb:hover {
  background: #ccc;
}

.searchable-option .subtext {
  color: #888;
  font-size: 13px;
}

.searchable-option .currency-code {
  font-weight: 600;
  color: #444;
}

.searchable-option:hover {
  background: #f4f4f4;
  color: #111;
}

.searchable-option.empty {
  color: #64748b;
  justify-content: center;
  padding: 16px;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overscroll-behavior: contain;
}

.categories-modal {
  display: flex;
  flex-direction: column;
  width: min(920px, calc(100vw - 40px));
  height: min(640px, calc(100vh - 60px));
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06);
  overscroll-behavior: contain;
}

.categories-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

.categories-modal-back {
  display: none;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: #00a862;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.categories-modal-back:hover {
  background: #f0fdf4;
}

.categories-modal-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.categories-modal-close {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.categories-modal-close:hover {
  background: #fee2e2;
  border-color: #fecaca;
  color: #ef4444;
}

.categories-modal-body {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.categories-list {
  width: 280px;
  min-width: 250px;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px;
  border-right: 1px solid #f1f5f9;
  background: #fbfcfc;
  box-sizing: border-box;
}

.categories-list .category-nav-btn {
  display: flex;
  width: 100%;
  height: auto;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: #475569;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 2px;
}

.brands-grid-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  background: #ffffff;
  overflow: hidden;
}

.brands-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px 8px;
  flex-shrink: 0;
  border-bottom: 1px solid #f8fafc;
}

.view-all-category-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  color: #00875a;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.view-all-category-btn:hover {
  background: #e6f7f0;
}

.brands-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
  grid-auto-rows: max-content;
  gap: 12px;
  padding: 18px 24px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  align-content: flex-start;
}

.brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  background: #ffffff;
  padding: 14px 10px;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.brand-item:hover {
  border-color: #a7f3d0;
  background: #f7fdfa;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 135, 90, 0.08);
}

.brand-item-img-wrapper {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  background: #f8fafc;
  border-radius: 10px;
  padding: 6px;
  box-sizing: border-box;
}

.brand-item-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.no-subcategories-view {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.single-category-card {
  width: 220px;
  padding: 24px 16px;
}

.brand-item-subtext {
  margin: 6px 0 0;
  font-size: 11.5px;
  color: #00875a;
  font-weight: 500;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.4);
}

.drawer {
  position: relative;
  display: flex;
  width: min(340px, 100%);
  flex-direction: column;
  gap: 10px;
  background: #fff;
  padding: 20px;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef2f1;
}

.drawer-header img {
  height: 28px;
}

.drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: -12px -12px -12px 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.drawer-close:hover {
  background: #f1f5f9;
}

.drawer button,
.drawer a {
  border: 0;
  border-radius: 8px;
  background: #f4f6f5;
  color: var(--text);
  padding: 14px;
  text-align: left;
}

.drawer .drawer-logout-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fef2f2 !important;
  color: #ef4444 !important;
  border: 1px solid #fecaca !important;
  font-weight: 600 !important;
  margin-top: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

@media (max-width: 1200px) {

  .header-options {
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .desktop-only,
.header-options,
.category-trigger {
    display: none;
  }

  .top-row-mobile {
    display: block;
    background: #008454;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .site-header.scrolled-down {
    transform: translateY(-60px);
  }

  .header-placeholder {
    height: 183px;
  }

  .top-row-mobile a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 14px;
  }

  .top-row-mobile img {
    width: 44px;
    height: 44px;
  }

  .top-row-mobile span {
    display: grid;
    flex: 1;
    color: #fff;
    font-size: 14px;
  }

  .top-row-mobile b {
    height: 30px;
    border-radius: 32px;
    background: #0475d9;
    color: #fff;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1;
  }

  .bottom-row {
    display: flex;
    flex-wrap: wrap !important;
    align-items: center;
    justify-content: space-between !important;
    padding: 8px 14px 10px !important;
    min-height: auto !important;
    gap: 8px !important;
    background: rgba(0, 204, 129, 0.95) !important;
  }

  .header-left {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    gap: 8px !important;
  }

  .logo-container {
    margin-left: 0;
  }

  .menu-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto;
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }

  .search-container {
    order: 3 !important;
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .search-bar {
    width: 100% !important;
    height: 46px !important;
    margin-top: 2px !important;
    padding: 0 4px 0 12px !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  }

  .search-bar button {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #4cd080 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: none !important;
  }

  .search-word {
    display: none;
  }

  .search-icon-mobile {
    display: block;
  }

  .categories-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    z-index: 99999 !important;
    box-shadow: none !important;
  }

  .categories-modal-title {
    font-size: 16px !important;
    text-align: center;
    flex: 1;
  }

  .brands-grid-container {
    width: 100% !important;
    padding-bottom: 40px;
  }
}
.option-button.active {
  color: #ffde59; /* Bright gold color for active highlight */
  border-bottom: 2px solid #ffde59;
  padding-bottom: 2px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 480px) {
  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }
}
.searchable-select {
  position: relative;
  width: 100%;
}

.searchable-trigger {
  min-height: var(--touch-target-min);
}

.searchable-dropdown {
  max-width: calc(100vw - 32px);
  max-height: 280px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 250;
}

@media (max-width: 480px) {
  .searchable-dropdown {
    width: 100%;
    left: 0;
    right: 0;
  }
}
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    min-height: 64px !important;
    height: auto !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
    z-index: 9999 !important;
    padding-top: 6px !important;
    padding-bottom: max(6px, env(safe-area-inset-bottom)) !important;
    align-items: flex-end !important;
    justify-content: space-around !important;
  }

  .mobile-nav-tab {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    background: transparent !important;
    border: none !important;
    padding: 2px 2px !important;
    flex: 1 !important;
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    gap: 3px !important;
    cursor: pointer !important;
    transition: color 0.15s ease !important;
    text-decoration: none !important;
    height: 100% !important;
    box-sizing: border-box !important;
  }

  .mobile-nav-tab.active {
    color: #008454 !important;
    font-weight: 700 !important;
  }

  .mobile-nav-tab.active svg {
    color: #008454 !important;
  }

  .sell-tab-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #4cd080, #009b62) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 204, 129, 0.45) !important;
    transition: transform 0.2s ease !important;
    flex-shrink: 0 !important;
  }

  .mobile-nav-tab.sell-tab span {
    margin-top: 2px !important;
    color: #008453 !important;
    font-weight: 700 !important;
  }
}
@media (max-width: 768px) {
  .search-bar input {
    font-size: 16px !important;
  }
}
@media (min-width: 769px) {
  .categories-modal-back {
    display: none !important;
  }
}

@keyframes slideUpSheet {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUpSheet {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}
