.tab-header {
  display: flex;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
}

.tab-btn {
  flex: 1 1;
  padding: 14px 16px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active {
  color: #0095f6;
  border-bottom: 3px solid #0095f6;
  font-weight: 600;
}

.tab-btn:hover:not(.active) {
  background: #f0f2f5;
}

.empty-state {
  padding: 40px 20px;
  text-align: center;
  color: #777;
  font-size: 15px;
}

.d-flex {
  display: flex;
}
.justify-content-between {
  justify-content: space-between;
}
.cart-bell {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-icon {
  cursor: pointer;
  font-size: 22px;
  color: var(--letters);
  transition: color 0.3s;
}

.cart-icon:hover {
  color: var(--text-primary);
  transition: color 0.3s;
}

.cart-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #52a131;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 50%;
}

/* Overlay for dim background */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  z-index: 999;
}

/* Slide-in sheet */
.cart-sheet {
  position: fixed;
  top: 0;
  right: 0;
  width: 350px;
  height: 100%;
  background: #fff;
  box-shadow: 3px 0 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0%);
  }
}

/* Header */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #eee;
  background-color: #f8f9fa;
}

.cart-header h3 {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.close-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #555;
}

.close-btn:hover {
  color: #000;
}

/* Cart list */
.cart-list {
  flex: 1 1;
  overflow-y: auto;
  padding: 10px 5px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  background: #fff;
  margin-bottom: 5px;
  border-radius: 10px;
  padding: 5px;
  transition: background 0.3s;
  border: 1px solid #efefef;
  gap: 12px;
  position: relative;
}

.cart-item:hover {
  background: #f7f9fb;
}

.product-image {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  flex: 1 1;
}

.text-with-toggle {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 4px;
}

.product-name {
  color: #262626;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

.product-price {
  font-size: 13px;
  color: #262626;
  font-weight: 600;
}

.toggle-btn {
  background: none;
  border: none;
  color: #0095f6;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  padding: 0;
  margin: 0 0 0 4px;
}

.toggle-btn:hover {
  text-decoration: underline;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.quantity-control button {
  background: #eee;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-control button:hover {
  background: #ddd;
}

.quantity-control span {
  font-size: 14px;
  min-width: 20px;
  text-align: center;
}
.checkout-btn-cart {
  background-color: #4f46e5; /* primary blue */
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.checkout-btn-cart:hover {
  background-color: #4338ca;
}

.checkout-btn-cart:active {
  transform: scale(0.98);
}

.checkout-btn-cart:disabled {
  background-color: #c7c7c7;
  cursor: not-allowed;
}

.remove-btn {   
  /* position: absolute; */
  bottom: 0px;
  background: none;
  border: none;
  font-size: 13px;
  cursor: pointer;
  color: #555;
}

.remove-btn:hover {
  color: #000;
}

.no-items-text {
  display: flex;
  font-size: 14px;
  color: #000000;
  justify-content: center;
  background: #bdbdbd;
  padding: 2px 6px;
  border-radius: 5px;
}

.cart-time {
  display: block;
  font-size: 12px;
  color: #8e8e8e;
  margin-top: auto;
  align-self: flex-start;
}
/* Base styles for sidebar (Desktop Expanded) */
.business-filters-label {
  font-weight: 700;
  /* padding: 1rem 0rem; */
  font-size: 0.8em;
  margin-left: -5px;
  letter-spacing: 2px;
  transition: opacity 0.3s;
  opacity: 0.5;
  display: inline-block; /* ensures padding/margin apply properly */
}
.psb-sidebar {
  color: var(--button-text);
  overflow-x: hidden !important;
  position: fixed;
  /* top: 64px; */
  top: 57px;
  left: 0;
  width: 300px;
  height: 93vh;
  transition:
    width 0.5s ease,
    left 0.5s ease;
  box-shadow: 4px 0 8px var(--theme-shadow);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  z-index: 99;
  background-color: transparent;
}

.psb-sidebar::-webkit-scrollbar {
  display: none;
}

/* Desktop Collapsed State (>= 1000px) */
.psb-sidebar.psb-collapsed-desktop {
  width: 80px;
}

.psb-sidebar.psb-collapsed-desktop .psb-menu .psb-menu-header {
  opacity: 0;
}

.psb-sidebar.psb-collapsed-desktop .psb-menu .psb-menu-item a .psb-title {
  display: none;
}

.psb-sidebar.psb-collapsed-desktop .psb-menu .psb-menu-item {
  display: flex;
  justify-content: center;
  padding: 0 !important;
}

.psb-sidebar.psb-collapsed-desktop .psb-menu .psb-menu-item a {
  padding: 0 !important;
  justify-content: center;
}

.psb-sidebar.psb-collapsed-desktop
  .psb-menu
  > ul
  > .psb-menu-item
  > a
  .psb-suffix {
  opacity: 0;
}

/* Hide all text elements when collapsed on desktop */
.psb-sidebar.psb-collapsed-desktop .sidebar-title,
.psb-sidebar.psb-collapsed-desktop .submenu-title,
.psb-sidebar.psb-collapsed-desktop .submenu-list,
.psb-sidebar.psb-collapsed-desktop .sidebar-header-text,
.psb-sidebar.psb-collapsed-desktop .filter-label,
.psb-sidebar.psb-collapsed-desktop .radius-text,
.psb-sidebar.psb-collapsed-desktop .location-filter,
.psb-sidebar.psb-collapsed-desktop .show-more,
.psb-sidebar.psb-collapsed-desktop .Business-btn,
.psb-sidebar.psb-collapsed-desktop .location-filter input,
.psb-sidebar.psb-collapsed-desktop .location-filter input::placeholder {
  display: none !important;
}

/* Hide input placeholders when collapsed */
.psb-sidebar.psb-collapsed-desktop .location-filter input {
  opacity: 0;
  pointer-events: none;
}
.location-filter:hover {
  cursor: pointer;
}
.location-filter {
  margin: 15px 0px;
}
/* Main content margins for Desktop */
.main-content-desktop-expanded {
  margin-left: 300px;
}

.main-content-desktop-collapsed {
  margin-left: 80px;
}

/* Desktop Collapser Button */
.psb-collapser {
  transition:
    right,
    transform 0.3s;
  position: absolute;
  right: 7%;
  top: 20px;
  width: 25px;
  height: 25px;
  border-radius: 20%;
  background-color: var(--button-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  transform: translateX(50%);
  z-index: 111;
  cursor: pointer;
  color: var(--white);
  box-shadow: 1px 1px 4px var(--theme-shadow);
}

.psb-sidebar.psb-collapsed-desktop .psb-collapser {
  left: 20%;
  top: 1.5%;
  transform: translateX(50%) rotateY(180deg);
}

.psb-mobile-trigger {
  position: fixed;
  left: 12px;
  top: 75px;
  padding: 3px 8px 3px 3px;
  height: auto;
  border-radius: 5px;
  background-color: var(--theme-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 0.85em;
  font-weight: 500;
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 9;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}
.psb-mobile-trigger:hover .psb-mobile-close-btn:hover {
  color: var(--white);
}
/* .psb-mobile-trigger:hover {
  background-color: var(--theme-dark);  
  transform: scale(1.05);  
} */

.psb-mobile-close-btn {
  transition:
    right,
    transform 0.3s;
  position: absolute;
  right: 7%;
  top: 1.5%;
  width: 25px;
  height: 25px;
  border-radius: 20%;
  background-color: var(--theme-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  transform: translateX(50%);
  z-index: 1000;
  cursor: pointer;
  color: var(--white);
  box-shadow: 1px 1px 4px var(--theme-shadow);
}
.psb-menu-item:hover .psb-icon {
  animation: pro-swing ease-in-out 0.5s 1 alternate; /* Swing animation */
  transform: scale(1.1); /* Scale up */
  font-weight: 700; /* Bold text */
}
/* Overlay for mobile/tablet */
.psb-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9;
  display: none;
}

/* General rule to show overlay when sidebar is toggled */
.psb-toggled ~ .psb-overlay {
  display: block;
}

/* Tablet View (600px to 999px) */
@media (min-width: 600px) and (max-width: 999px) {
  .psb-sidebar {
    top: 57px;
    /* width: 80px; */
    display: none;
    left: 0;
  }

  .psb-sidebar.psb-toggled {
    display: block;
    width: 300px;
  }
  .psb-toggled ~ .psb-overlay {
    display: block;
  }
  .psb-sidebar.psb-collapsed-desktop .psb-menu .psb-menu-item {
    display: flex;
    justify-content: center;
    padding: 0 !important;
  }
  .psb-menu .psb-menu-item a .psb-badge-container {
    position: absolute;
    top: -25px;
    right: -5px;
  }
  .sidebar-item:hover {
    cursor: pointer;
  }
  .psb-menu-item:hover .psb-icon {
    animation: pro-swing ease-in-out 0.5s 1 alternate; /* Swing animation */
    transform: scale(1.1); /* Scale up */
    font-weight: 700; /* Bold text */
  }
  .sidebar-item:not(.sidebar-item-active):hover {
    cursor: pointer;
    background-color: var(--beige-bg); /* Add background color on hover */
    color: var(--button-text);
  }

  .sidebar-item:not(.sidebar-item-active):hover .sidebar-icon {
    animation: pro-swing ease-in-out 0.5s 1 alternate; /* Shake animation */
    transform: scale(1.1); /* Scale up */
    font-weight: 700; /* Bold text */
  }
  .psb-sidebar.psb-collapsed-desktop {
    width: 80px;
  }

  /* .psb-sidebar .psb-menu .psb-menu-header {
    opacity: 0;
  } */

  /* .psb-sidebar .psb-menu .psb-menu-item a .psb-title {
    display: none;
  } */

  /* .psb-sidebar.psb-collapsed-desktop .sidebar-title,
  .psb-sidebar.psb-collapsed-desktop .submenu-title,
  .psb-sidebar.psb-collapsed-desktop .submenu-list {
    display: none;
  } */

  /* .psb-sidebar:not(.psb-toggled) .sidebar-title,
  .psb-sidebar:not(.psb-toggled) .submenu-title,
  .psb-sidebar:not(.psb-toggled) .submenu-list,
  .psb-sidebar:not(.psb-toggled) .sidebar-header-text,
  .psb-sidebar:not(.psb-toggled) .filter-label,
  .psb-sidebar:not(.psb-toggled) .radius-text,
  .psb-sidebar:not(.psb-toggled) .location-filter,
  .psb-sidebar:not(.psb-toggled) .show-more,
  .psb-sidebar:not(.psb-toggled) .Business-btn,
  .psb-sidebar:not(.psb-toggled) .location-filter input {
    display: none !important;
  } */

  .psb-sidebar .psb-menu .psb-menu-item {
    display: flex;
    justify-content: center;
    padding: 0 !important;
  }

  .psb-sidebar .psb-menu .psb-menu-item a {
    padding: 0 !important;
    justify-content: center;
  }

  .psb-sidebar.psb-toggled .psb-menu .psb-menu-header {
    opacity: 1;
  }

  .psb-sidebar.psb-toggled .psb-menu .psb-menu-item a .psb-title {
    display: flex;
  }

  .psb-sidebar.psb-toggled .psb-menu .psb-menu-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-left: 1rem;
  }

  /* .main-content-tablet-collapsed {
    margin-left: 80px;
  } */

  .psb-sidebar.psb-toggled .psb-menu .psb-menu-item a {
    justify-content: left;
  }

  /* .psb-menu-item.psb-active a {
    display: none;
  } */

  /* .main-content-tablet-toggled {
    margin-left: 300px;
  } */

  /* .psb-sidebar.psb-collapsed-desktop .psb-menu .psb-menu-item a .psb-title {
    display: none;
  }

  .psb-sidebar.psb-collapsed-desktop .sidebar-link::after {
    display: none;
  }

  .psb-sidebar .psb-menu .psb-menu-item a .psb-title {
    display: none;
  } */

  .psb-mobile-trigger {
    z-index: 99;
    display: flex;
  }

  .psb-mobile-close-btn {
    z-index: 9;
    display: flex;
  }
}

/* Mobile View (max-width: 599px) */
@media (max-width: 599px) {
  .psb-sidebar {
    width: 310px;
    left: -310px;
  }
  /* .sidebar-item {
    display: contents;
  } */
  .psb-sidebar.psb-toggled {
    left: 0;
  }

  .psb-sidebar.psb-collapsed-desktop {
    width: 280px;
    left: -280px;
  }
  .sidebar-item:hover {
    cursor: pointer;
  }

  .sidebar-item:not(.sidebar-item-active):hover {
    cursor: pointer;
    background-color: var(--beige-bg); /* Add background color on hover */
    color: var(--button-text);
  }

  .sidebar-item:not(.sidebar-item-active):hover .sidebar-icon {
    animation: pro-swing ease-in-out 0.5s 1 alternate; /* Shake animation */
    transform: scale(1.1); /* Scale up */
    font-weight: 700; /* Bold text */
  }
  .psb-sidebar .psb-menu .psb-menu-header {
    opacity: 1;
  }

  .psb-sidebar .psb-menu .psb-menu-item a .psb-title {
    display: flex;
  }

  .psb-sidebar .psb-menu .psb-menu-item {
    justify-content: flex-start;
  }

  /* .home-after-login {
    padding-top: 8%;
  } */

  .main-content {
    margin-left: 0;
  }

  .psb-collapser {
    display: none;
  }

  .psb-mobile-trigger {
    z-index: 99;
    display: flex;
  }

  .psb-mobile-close-btn {
    z-index: 9;
    display: flex;
  }
}

/* Existing styles (not modified, but included for completeness) */
.psb-sidebar::-webkit-scrollbar-thumb {
  border-radius: 4px;
}

.psb-sidebar:hover::-webkit-scrollbar-thumb {
  background-color: var(--theme-deep);
}

.psb-sidebar::-webkit-scrollbar {
  width: 6px;
  background-color: var(--theme-deep);
}

.psb-sidebar .psb-image-wrapper {
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: none;
}

.psb-sidebar .psb-image-wrapper > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.psb-sidebar.psb-has-bg-image .psb-image-wrapper {
  display: block;
}

.psb-layout {
  height: auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--site-bg);
  box-shadow: 4px 0 8px var(--theme-shadow);
  z-index: 98;
}

.psb-header {
  height: 100px;
  min-height: 100px;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.psb-header > .psb-logo {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@keyframes psb-swing {
  0%,
  30%,
  50%,
  70%,
  100% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(10deg);
  }
  40% {
    transform: rotate(-10deg);
  }
  60% {
    transform: rotate(5deg);
  }
  80% {
    transform: rotate(-5deg);
  }
}

/* Styles for sidebar dropdown arrows and animations */
.sidebar-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Align to the right end */
}

.sidebar-link::after {
  content: "";
  position: absolute;
  right: 15px;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.psb-sidebar.psb-collapsed-desktop .sidebar-link::after {
  display: none;
}

.sidebar-item.sidebar-open .sidebar-link::after {
  transform: rotate(-135deg);
}

.submenu-list[style*="display: block"] {
  opacity: 1;
}

.submenu-list[style*="display: none"] {
  opacity: 0;
}

.submenu-item {
  transition:
    background-color 0.5s ease,
    color 0.5s ease,
    transform 0.5s ease;
  transition: transform 0.5s ease;
}

.submenu-item:hover {
  transform: scale(1.03);
}

.psb-menu ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.psb-menu .psb-menu-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 1rem 0;
  margin-left: -5px;
}

.psb-menu .sidebar-header-text,
.psb-menu .separator {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.5;
}

.psb-menu .psb-menu-item a {
  display: flex;
  align-items: center;
  height: 40px;
  text-decoration: none;
  position: relative;
}

.psb-menu .psb-menu-item a .psb-icon {
  font-size: 1.2rem;
  width: 35px;
  min-width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  display: inline-block;
  border-radius: 2px;
  transition: color 0.3s;
}

.psb-menu .psb-menu-item a .psb-icon i {
  display: inline-block;
}

.psb-menu .psb-menu-item a .psb-title-container {
  position: relative;
  display: inline-block;
}

.psb-menu .psb-menu-item a .psb-title {
  overflow: hidden;
  text-overflow: ellipsis;
  margin-left: 10px;
  white-space: nowrap;
}

.psb-menu .psb-menu-item a .psb-badge-container {
  position: absolute;
  top: -5px;
  right: -20px;
}

.psb-menu .psb-menu-item a .psb-suffix {
  display: inline-block;
  padding: 5px;
  opacity: 1;
  transition: opacity 0.3s;
}

.psb-menu .psb-menu-item a:hover .psb-icon i {
  animation: psb-swing ease-in-out 0.5s 1 alternate;
}

.psb-menu .psb-menu-item.psb-sub-menu > a::after {
  content: "";
  transition: transform 0.3s;
  border-right: 2px solid currentcolor;
  border-bottom: 2px solid currentcolor;
  width: 5px;
  height: 5px;
  transform: rotate(-45deg);
}

.psb-menu .psb-menu-item.psb-sub-menu > .psb-sub-menu-list {
  display: none;
  overflow: hidden;
  z-index: 999;
  background-color: var(--overly-bg);
}

.psb-menu .psb-menu-item.psb-sub-menu.psb-open > a {
  color: var(--theme-lighter);
}

.psb-menu .psb-menu-item.psb-sub-menu.psb-open > a::after {
  transform: rotate(45deg);
}

.psb-menu .psb-menu-item.psb-active > a .psb-icon {
  color: var(--theme-primary);
}
.psb-menu .psb-menu-item.psb-active > a .psb-title {
  color: var(--theme-primary);
  font-size: medium;
  font-weight: 700;
}

.psb-menu .psb-menu-item.psb-active {
  background-color: var(--theme-primary);
  color: var(--white) !important;
}

.psb-menu .psb-menu-item.psb-active > a::after {
  border-color: var(--theme-border);
}

.psb-menu-item.psb-active a,
.psb-menu-item.psb-active .psb-title,
.psb-menu-item.psb-active .psb-icon svg {
  color: white;
  font-weight: 700;
}

.psb-menu-item.psb-active a,
.psb-menu-item.psb-active a:hover,
.psb-menu-item.psb-active .psb-title,
.psb-menu-item.psb-active .psb-icon svg,
.psb-menu-item.psb-active .psb-icon svg:hover {
  font-weight: 700;
}

.psb-menu-item a,
.psb-menu-item .psb-title,
.psb-menu-item .psb-icon svg {
  color: rgb(83, 82, 82);
  font-weight: 700;
}

.psb-menu-item a .psb-title,
.psb-menu-item a .psb-icon {
  transition: transform 0.3s ease;
}

.psb-menu-item:not(.psb-active):hover .psb-title,
.psb-menu-item:not(.psb-active):hover .psb-icon {
  transform: scale(1.1);
  cursor: pointer;
  font-weight: 700;
}

.psb-menu-item {
  margin: 5px 0px;
  cursor: pointer;
}

.psb-menu-item:not(.psb-active):hover {
  background: var(--beige-bg);
  color: var(--white);
}
.sidebar-item:hover {
  cursor: pointer;
}

.sidebar-item:not(.sidebar-item-active):hover {
  cursor: pointer;
  background-color: var(--beige-bg); /* Add background color on hover */
  color: var(--button-text);
}

.sidebar-item:not(.sidebar-item-active):hover .sidebar-icon {
  animation: pro-swing ease-in-out 0.5s 1 alternate; /* Shake animation */
  transform: scale(1.1); /* Scale up */
  font-weight: 700; /* Bold text */
}
.psb-menu-item.psb-active:hover .psb-title,
.psb-menu-item.psb-active:hover .psb-icon {
  color: var(--white);
  animation: pro-swing ease-in-out 0.5s 1 alternate;
  transform: scale(1.1);
  font-weight: 700;
}
@keyframes pro-swing {
  0%,
  30%,
  50%,
  70%,
  100% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(10deg);
  }
  40% {
    transform: rotate(-10deg);
  }
  60% {
    transform: rotate(5deg);
  }
  80% {
    transform: rotate(-5deg);
  }
}

.psb-sidebar.psb-collapsed-desktop
  .psb-menu
  > ul
  > .psb-menu-item.psb-sub-menu
  > a::after {
  content: "";
  width: 5px;
  height: 5px;
  background-color: currentcolor;
  border-radius: 50%;
  display: inline-block;
  position: absolute;
  right: 10px;
  top: 50%;
  border: none;
  transform: translateY(-50%);
}

.psb-sidebar.psb-collapsed-desktop
  .psb-menu
  > ul
  > .psb-menu-item.psb-sub-menu
  > a:hover::after {
  background-color: var(--theme-lighter);
}

.psb-sidebar.psb-collapsed-desktop
  .psb-menu
  > ul
  > .psb-menu-item.psb-sub-menu
  > .psb-sub-menu-list {
  transition: none !important;
  width: 200px;
  margin-left: 3px !important;
  border-radius: 4px;
}

.psb-sidebar.psb-collapsed-desktop
  .psb-menu
  > ul
  > .psb-menu-item.psb-active
  > a::after {
  background-color: var(--theme-lighter);
}

.psb-sidebar.psb-has-bg-image:not(.psb-collapsed-desktop)
  .psb-menu
  > ul
  > .psb-sub-menu
  > .psb-sub-menu-list {
  background-color: var(--theme-lighter);
}

.psb-title-subcat {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
  padding: 8px 0px 1px 25px;
  display: inline-block;
  height: 35px !important;
  transition: color 0.3s ease;
}

.psb-menu-item-subcat .psb-active {
  background-color: cadetblue;
}

.psb-title-subcat:hover {
  color: var(--theme-letters);
}

.psb-logo {
  display: flex;
  align-items: center;
}

.psb-logo > div {
  width: 35px;
  min-width: 35px;
  height: 35px;
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  background-color: var(--theme-dark);
  margin-right: 10px;
}

.psb-logo > h5 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 20px;
  line-height: 30px;
  transition: opacity 0.3s;
  opacity: 1;
  color: var(--theme-lighter);
}

.psb-sidebar.psb-collapsed-desktop .psb-logo > h5 {
  opacity: 0;
}

.main-content {
  transition: margin-left 0.5s ease;
}
.side-heading-vendor-availability {
  font-weight: 700;
  /* padding: 1rem 0rem; */
  font-size: 0.8em;
  margin-left: -5px;
  letter-spacing: 2px;
  transition: opacity 0.3s;
  color: #333;
  opacity: 0.5;
  margin-bottom: 10px;
  display: inline-block;
}
/* ── Slide-in animation ─────────────────────────────────────────────────── */
@keyframes bwv-sidebar-slide-in {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.bwv-subcat-sidebar.bwv-sidebar-entering {
  animation: bwv-sidebar-slide-in 0.3s ease forwards;
}
.bwv-subcat-sidebar.bwv-sidebar-visible {
  transform: translateX(0);
  opacity: 1;
}

/* ── Subcategory row ────────────────────────────────────────────────────── */
.bwv-subcat-item {
  list-style: none;
  border-radius: 8px;
  margin: 2px 0;
  cursor: pointer;
  transition: background 0.2s ease;
}
.bwv-subcat-item:hover {
  background-color: var(--beige-bg);
}
.bwv-subcat-item--active {
  background-color: color-mix(in srgb, gray 8%, transparent);
}
.bwv-subcat-item--active:hover {
  background-color: color-mix(in srgb, gray 12%, transparent);
}

.bwv-subcat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  min-height: 40px;
  position: relative;
}

/* Coloured dot */
.bwv-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.bwv-subcat-item:hover .bwv-dot {
  transform: scale(1.25);
}
.bwv-subcat-item--active .bwv-dot {
  width: 6px;
  height: 6px;
}

/* Label */
.bwv-subcat-label {
  flex: 1 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bwv-subcat-item--active {
  color: var(--button-bg);
  font-weight: 700;
}
.bwv-subcat-label {
  color: #252a34;
  font-weight: 600;
}
/* Tiny chevron on the right */
.bwv-subcat-chevron {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--text-secondary);
  border-bottom: 2px solid var(--text-secondary);
  transform: rotate(-45deg);
  transition:
    transform 0.25s ease,
    border-color 0.2s ease;
  opacity: 0.5;
}
.bwv-subcat-item--active .bwv-subcat-chevron {
  opacity: 1;
  border-color: var(--button-bg);
}
.bwv-subcat-chevron--open {
  transform: rotate(45deg) !important;
  opacity: 1 !important;
}

/* ── Items list ─────────────────────────────────────────────────────────── */
.bwv-items-list {
  padding: 0 4px 6px 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.bwv-items-ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bwv-item-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 5px 6px 4px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
  min-height: 32px;
}
.bwv-item-row:hover {
  background-color: var(--beige-bg);
}
.bwv-item-row--active {
  background-color: white;
}

/* Short dash instead of bullet */
.bwv-item-dash {
  flex-shrink: 0;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  transition:
    width 0.2s ease,
    background-color 0.2s ease;
}
.bwv-item-row--active .bwv-item-dash {
  width: 10px;
}

.bwv-item-label {
  flex: 1 1;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bwv-item-row--active .bwv-item-label {
  color: var(--button-bg);
  font-weight: 700;
}

/* Checkmark badge for selected item */
.bwv-item-tick {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--button-bg);
  background: color-mix(in srgb, var(--button-bg) 15%, transparent);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── Loading skeleton dots ──────────────────────────────────────────────── */
.bwv-items-loading {
  display: flex;
  gap: 5px;
  padding: 10px 4px;
  align-items: center;
}
.bwv-items-loading span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--button-bg);
  opacity: 0.4;
  animation: bwv-bounce 1s infinite ease-in-out;
}
.bwv-items-loading span:nth-child(2) {
  animation-delay: 0.15s;
}
.bwv-items-loading span:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes bwv-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}
.bwv-items-empty-lca {
  margin-left: 20px;
  color: #7e7e7e; /* muted gray */
  font-size: 14px; /* small text */
  font-weight: 600;
}

/* Container styles */
.popup-container {
  background: white;
  padding: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Left section for social logins */
.popup-left {
  flex: 1 1;
  padding-right: 20px;
}

.popup-left button {
  width: 100%;
  /* padding: 10px; */
  border: none;
  border-radius: 5px;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.popup-left .popup-facebook {
  background-color: #3b5998 !important; /* Facebook Blue */
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.facebook-signin-button {
  display: flex !important;
  align-items: center !important;
  flex-direction: row !important;
  background-color: #3b5998; /* Facebook blue */
  color: white !important;
  border: 1px solid #d3d3d3 !important;
  border-radius: 4px !important;
  padding: 5px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  /* margin: 5px; */
}

.facebook-icon {
  background-color: white !important;
  color: #3b5998 !important;
  width: 35px !important;
  height: 35px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 8px !important;
  border-radius: 2px !important;
}

.facebook-icon svg {
  font-size: 18px !important; /* Adjust icon size */
}

.popup-left .popup-google {
  background-color: #db4437 !important; /* Google Red */
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

/* Right section for manual login */
.popup-right {
  flex: 1 1;
  padding-left: 20px;
}

.popup-right h2 {
  margin-bottom: 20px;
  font-family: sans-serif;
}

.popup-right input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.popup-right .popup-remember-me {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 20px;
}

.popup-right .popup-remember-me input {
  margin-right: 10px;
}

.popup-right .popup-login-btn {
  width: 35%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  color: white;
  background-color: #ff4b5c; /* Login Button Color */
  font-size: 16px;
  cursor: pointer;
}

/* Footer links */
.popup-footer-links {
  display: flex;
  justify-content: space-evenly;
}

.popup-footer-links p {
  color: #ff4b5c; /* Link Color */
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
}

.popup-footer-links p:hover {
  text-decoration: underline;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .vertical-line {
    display: none !important;
  }
  .horizontal-line {
    display: block !important;
  }
}

.popup-left .nsm7Bb-HzV7m-LgbsSe.pSzOP-SxQuSe {
  font-size: 16px !important;
  height: 45px !important;
  background-color: #db4437 !important;
}

.popup-left .nsm7Bb-HzV7m-LgbsSe-Bz112c {
  background-color: white !important;
  color: #3b5998 !important;
  width: 30px !important;
  height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 8px !important;
  border-radius: 2px !important;
}

.popup-left .nsm7Bb-HzV7m-LgbsSe-BPrWId {
  color: white !important;
  font-weight: 500 !important;
}

/* ── One Tap Loading Overlay ── */
.onetap-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  animation: overlayFadeIn 0.3s ease;
}

.onetap-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 48px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-width: 300px;
  animation: cardSlideUp 0.3s ease;
}

.onetap-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #f8f9fa;
  border-radius: 50%;
  padding: 10px;
}

.onetap-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f0f0f0;
  border-top: 3px solid #4285F4;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.onetap-text {
  text-align: center;
}

.onetap-text h4 {
  margin: 0 0 6px 0;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.3px;
}

.onetap-text p {
  margin: 0;
  font-size: 13px;
  color: #888;
  line-height: 1.5;
  /* max-width: 220px; */
}

/* Animated dots */
.onetap-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.onetap-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4285F4;
  animation: dotBounce 1.2s ease-in-out infinite;
}

.onetap-dots span:nth-child(2) {
  background: #EA4335;
  animation-delay: 0.2s;
}

.onetap-dots span:nth-child(3) {
  background: #34A853;
  animation-delay: 0.4s;
}
.onetap-text h4::after {
  color: #34A853;
}
@keyframes dotBounce {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
  40%           { transform: scale(1.1); opacity: 1; }
}

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

@keyframes overlayFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes cardSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
} 




.router-wrapper {
  flex: 1 1;
  padding-top: 80px;
}
@media (max-width: 599px) {
  .router-wrapper {
    padding-top: 65px;
  }
}
 
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 15px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  z-index: 99;
  opacity: 0.9;
  transition: all 0.3s ease;
  animation: softPulse 1s ease-in-out infinite;
}

.scroll-to-top:hover {
  background-color: #0056b3;
  transform: scale(1.12);
  opacity: 1;
}

/* Pure scale + opacity pulse (no box-shadow) */
@keyframes softPulse {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
}

.scroll-to-top[hidden] {
  display: none;
}
 
/* @media (max-width: 499px) {
  .router-wrapper {
    padding-top: 90px !important;
  }
} */
/* Entrance: Start from bottom, slide up */
.online-popup-enter {
  transform: translateX(-50%) translateY(100%) !important; /* Start from bottom */
  opacity: 0;
}
.online-popup-enter-active {
  transform: translateX(-50%) translateY(0) !important; /* Slide up to position */
  opacity: 1;
}

/* Exit: Slight slide up + fade */
.online-popup-exit {
  transform: translateX(-50%) translateY(-10px) !important; /* Slight up */
  opacity: 0;
}
@media (min-width: 600px) {
  .router-wrapper {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 599px) {
  .router-wrapper {
    padding-top: 65px;
    padding-left: 0;
    padding-right: 0;
  }
}
