.ps-panel--sidebar {
  background-color: #fff;
  height: 100vh;
  height: 100dvh;
  left: 0;
  overflow-y: auto;
  position: fixed;
  top: 0;
  transform: translateX(-100%);
  transition: none;
  width: 100%;
  z-index: 10001;
}

.ps-panel--sidebar.active {
  transform: translateX(0);
}

.ps-panel--sidebar .ps-panel__header {
  /* background-color: var(--primary-color); */
  padding: 10px 20px;
  text-align: center;
  text-transform: uppercase;
  color: white;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.ps-panel--sidebar .ps-panel__content {
  padding-bottom: 70px;
  padding-top: 10px;
  background-color: var(--body-background);
}

.mobile-account-screen {
  background: #ffffff;
  color: #111111;
}

.mobile-account-screen h1 {
  margin: 45px 0 26px;
  color: #111111;
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.mobile_header {
  display: none;
}

.mobile-account-hello {
  margin: 0 0 24px;
  color: #111111;
  font-size: 30px;
  line-height: 1.25;
}

.mobile-account-screen-nav {
  display: flex;
  flex-direction: column;
}

.mobile-account-screen-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  color: #111111;
  border-bottom: 1px solid #e5e5e5;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}

.mobile-account-screen-link span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.mobile-account-screen-link i {
  color: #111111;
  font-size: 20px;
  line-height: 1;
}

.mobile-account-screen-link .bi-chevron-right {
  font-size: 18px;
}

.mobile-account-screen-link:hover {
  color: #111111;
}

#side-account .mobile-account-screen h1 {
  display: none;
}

#side-account .mobile-account-hello {
  margin-bottom: 14px;
  font-size: 15px;
}

#side-account .mobile-account-screen-link {
  min-height: 42px;
  font-size: 13px;
}

#side-account .mobile-account-screen-link span {
  gap: 10px;
}

#side-account .mobile-account-screen-link i {
  font-size: 14px;
}

.mobile-account-menu {
  background: #ffffff;
  color: #111111;
}

.mobile-account-greeting {
  padding: 8px 0 14px;
  font-size: 13px;
  line-height: 1.4;
}

.mobile-account-greeting span,
.mobile-account-greeting strong {
  display: inline;
}

.mobile-account-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  color: #111111;
  border-bottom: 1px solid #eeeeee;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.mobile-account-menu-link span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mobile-account-menu-link i {
  color: #111111;
  font-size: 14px;
}

.mobile-account-menu-link:hover {
  color: #111111;
}

.ps-panel--sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: bold;
}

.menu--mobile>li {
  border-bottom: 1px solid #dedede;
}

.menu--desktop>li {
  border-bottom: none;
}

.menu--mobile>li.menu-item-has-children {
  position: relative;
}

.menu--mobile>li.menu-item-has-children .sub-toggle {
  height: 40px;
  position: absolute;
  right: 0;
  top: 5px;
  width: 40px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu--desktop>li.menu-item-has-children .sub-toggle {
  top: 0px;
}

.menu--desktop>li>a:hover {
  color: #000;
  padding-left: 5px;
}

.menu--mobile>li>a {
  display: block;
  font-size: 15px;
  line-height: 20px;
  padding: 15px 20px;
  position: relative;
  z-index: 10;
}

.sub-toggle {
  cursor: pointer;
  display: inline-block;
  display: none;
  height: 36px;
  position: relative;
  transform-style: preserve-3d;
  width: 36px;
}

.menu--mobile .sub-menu {
  border: none;
  display: none;
  position: relative;
  transform: translate(0);
  transition: all 0s ease;
}

.menu--mobile .sub-menu>li>a {
  border: none;
  padding: 10px 30px;
}

.menu--mobile .mega-menu {
  display: none;
  flex-flow: row wrap;
  max-width: 100%;
  padding-left: 15px;
  transition: all 0s ease;
}

.menu--mobile .mega-menu h4 {
  display: block;
  line-height: 20px;
  margin-bottom: 0;
  padding: 10px 0;
  position: relative;
  width: 100%;
}

.menu--mobile .mega-menu .mega-menu__column {
  padding: 0;
}

.menu--mobile .mega-menu .mega-menu__list {
  display: none;
  padding-left: 15px;
}

.menu--mobile .mega-menu .mega-menu__list li a {
  border: none;
  color: #666;
}

.menu--mobile .mega-menu .mega-menu__list li a:hover {
  color: #000;
}

.sub-toggle i {
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.sub-toggle.active i {
  transform: rotate(180deg);
}

.sub-toggle:before {
  transform: translateX(-50%);
}

.sub-toggle:after {
  transform: translateX(-50%) rotate(90deg);
}

.sub-toggle.active:after {
  display: none;
}

.sub-menu {
  background-color: #fff;
  border: 1px solid #ccc;
  left: 0;
  min-width: 240px;
  opacity: 0;
  position: absolute;
  top: 100%;
  transition: all 0.4s ease;
  visibility: hidden;
  z-index: 100;
}

.sub-menu:before {
  border-bottom: 6px solid #fff;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  bottom: 100%;
  content: "";
  display: none;
  height: 0;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 0;
}

.sub-menu>li {
  display: block;
}

.sub-menu>li>a {
  color: #000;
  display: inline-block;
  font-size: 14px;
  padding: 6px 20px;
  text-transform: capitalize;
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  width: -webkit-fill-available;
}

.sub-menu>li>a:hover {
  color: var(--color-1st);
}

.sub-menu>li:last-child {
  border-bottom: none;
}

.sub-menu>li:last-child a {
  border-bottom: 1px solid #eee;
}

.menu--desktop .sub-menu>li:last-child a {
  border-bottom: none;
}

.sub-menu>li.menu-item-has-children {
  position: relative;
}

.sub-menu>li.menu-item-has-children>.sub-toggle {
  display: none;
}

.sub-menu>li.menu-item-has-children>.sub-menu {
  left: 100%;
  opacity: 0;
  position: absolute;
  top: 0;
  transform: translateY(30px);
  visibility: hidden;
}

.sub-menu>li.menu-item-has-children>.sub-menu:before {
  display: none;
}

.sub-menu>li.menu-item-has-children:hover>.sub-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.menu--dropdown>li:hover.has-mega-menu .mega-menu,
.menu--mobile .sub-menu {
  opacity: 1;
  visibility: visible;
}

.menu--mobile .sub-menu {
  padding-left: 15px;
}

.mob-cart-row {
  display: flex;
  padding: 10px 15px !important;
  cursor: pointer;
  margin: 0;
}

.mob-cart-row:hover {
  background-color: antiquewhite;
}

.mobile-cart-img {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 0.25rem;
  height: 76px;
}

.mob-cart-amount-container {
  margin: 20px 0;
}

.cart-pdt-desc-cont {
  margin: 0 15px;
}

.cart-pdt-desc {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0;
}

.mobile-cart-amount {
  display: flex;
  margin: 10px 15px;
  justify-content: space-between;
}

.addtocart-button {
  background-color: var(--secondary-color);
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.first-line {
  font-weight: bold;
}

.delete-icon {
  display: flex;
  justify-content: end;
}

.sidelist-icon {
  margin-right: 10px;
}

.search-result-hidden {
  display: none;
}

@media (max-width: 500px) {
  .side-cart-buttons {
    flex-direction: column;
    gap: 5px;
  }

  .side-cart-buttons button {
    width: 100%;
  }
}

@media (min-width: 1306px) {

  .ps-panel--sidebar,
  .site-overlay {
    display: none !important;
  }
}

/* ===== SIDELIST SPLIT PANEL ===== */

.sidelist-split-panel {
  display: flex !important;
  height: calc(100vh - 58px);
  height: calc(100dvh - 58px);
  overflow: hidden;
  padding: 0 !important;
  padding-bottom: 0 !important;
  background-color: #fff;
}

/* Left: Category Nav */
.sidelist-category-nav {
  width: 84px;
  min-width: 84px;
  background-color: #f2f2f2;
  overflow-y: auto;
  overflow-x: hidden;
  border-right: 1px solid #ddd;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.sidelist-category-nav::-webkit-scrollbar {
  display: none;
}

.sidelist-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 14px 6px 10px;
  cursor: pointer;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
  background-color: #f2f2f2;
  transition: background-color 0.2s;
  min-height: 72px;
}

.sidelist-nav-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background-color: transparent;
}

.sidelist-nav-item.sidelist-nav-item--active {
  background-color: #fff;
}

.sidelist-nav-item.sidelist-nav-item--active::before {
  background-color: #ffc107;
}

.sidelist-nav-icon {
  font-size: 22px;
  margin-bottom: 5px;
  display: block;
  color: #444;
}

.sidelist-nav-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 5px;
  display: block;
}

.sidelist-nav-item span {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: #333;
  display: block;
  word-break: break-word;
}

/* Right: Content Panel */
.sidelist-content-panel {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #fff;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.sidelist-content-panel::-webkit-scrollbar {
  display: none;
}

.sidelist-panel {
  display: none;
  padding: 12px;
}

.sidelist-panel.sidelist-panel--active {
  display: block;
}

/* Subcategory card grid */
.sidelist-subcategory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 0;
  row-gap: 5px;
  margin-bottom: 16px;
}

.sidelist-subcategory-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  /* background-color: #fff; */
  border-radius: 8px;
  padding: 8px 4px 8px;
  gap: 6px;
}

.sidelist-subcategory-card:hover {
  background-color: #f9f9f9;
  color: #111;
  text-decoration: none;
}

/* Text-only variant — yellow cards for Setup Your Space */
.sidelist-subcategory-card--text {
  justify-content: center;
  min-height: 68px;
  gap: 0;
}

.sidelist-subcategory-card--text:hover {
  background-color: #fff9c4;
}

.sidelist-subcategory-img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.sidelist-subcategory-icon {
  font-size: 28px;
  color: #bbb;
  display: block;
  height: 60px;
  line-height: 60px;
  flex-shrink: 0;
}

.sidelist-subcategory-label {
  font-size: 10px;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
  word-break: break-word;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  text-align: center;
}

/* Popular In Store section */
.sidelist-popular-section {
  margin-top: 8px;
}

.sidelist-popular-title {
  font-size: 13px;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.sidelist-popular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0px;
}

.sidelist-popular-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 12px 6px;
  text-align: center;
  text-decoration: none;
  min-height: 72px;
  transition: opacity 0.2s;
  gap: 4px;
}

.sidelist-popular-card:hover {
  opacity: 0.85;
  text-decoration: none;
}

.sidelist-popular-card strong {
  font-size: 11px;
  font-weight: 800;
  display: block;
  text-transform: uppercase;
  line-height: 1.2;
}

.sidelist-popular-card span {
  font-size: 9px;
  font-weight: 500;
  display: block;
  line-height: 1.3;
}

.sidelist-popular-card--sale {
  background-color: #f5a623;
  color: #fff;
}

.sidelist-popular-card--brand {
  background-color: #f0f0f0;
  color: #222;
}

.sidelist-popular-card--delivery {
  background-color: #d93025;
  color: #fff;
}

/* "Other Links" pill list — flattened children of each subcategory */
.sidelist-other-links-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  clear: both;
}

.sidelist-other-links-title {
  font-size: 14px;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.sidelist-other-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidelist-other-link-pill {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  background-color: #fff;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s;
}

.sidelist-other-link-pill:hover {
  background-color: #f9f9f9;
  border-color: #ccc;
  color: #111;
  text-decoration: none;
}

/* Promo banner (below Popular In Store) */
.sidelist-promo-banner-link {
  display: block;
  margin-top: 14px;
  border-radius: 10px;
  overflow: hidden;
}

.sidelist-promo-banner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Summer Sale panel banner */
.sidelist-sale-banner {
  display: block;
  padding: 24px 16px;
  background-color: var(--secondary-color-new, #f5a623);
  color: #fff;
  text-align: center;
  font-size: 14px;
  border-radius: 12px;
  text-decoration: none;
  line-height: 1.5;
}

.sidelist-sale-banner:hover {
  opacity: 0.9;
  text-decoration: none;
  color: #fff;
}

/* Direct link (no subcategories) */
.sidelist-direct-link-wrap {
  padding: 10px 0;
}

.sidelist-direct-link {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
}

.sidelist-direct-link:hover {
  color: var(--primary-color);
}

/* ── Mobile menu search header (replaces "Menu" title bar) ────────── */

.mobile-menu-search-header {
  background-color: #fff;
  padding: 12px 16px;
  justify-content: center;
  border-bottom: 1px solid #eee;
  gap: 10px;
}

.mobile-menu-search-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  /* border-radius: 24px; */
  padding: 0 16px;
  height: 44px;
  cursor: pointer;
  margin: 0;
}

.mobile-menu-search-input {
  border: none !important;
  outline: none;
  background: transparent !important;
  font-size: 14px;
  color: #555;
  width: 100%;
  height: 100% !important;
  cursor: pointer;
  text-transform: none;
  padding: 0 !important;
}

.mobile-menu-search-input::placeholder {
  color: #999;
}

.mobile-menu-search-box i.bi-search {
  color: #333;
  font-size: 16px;
  margin-left: 8px;
  flex-shrink: 0;
}

.mobile-menu-search-submit {
  background: transparent !important;
  border: none;
  padding: 0;
  margin-left: 8px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.mobile-menu-search-submit i.bi-search {
  margin-left: 0;
}

.mobile-menu-search-close {
  font-size: 22px;
  color: #333;
  flex-shrink: 0;
  cursor: pointer;
}

#side-search .mobile-menu-search-box {
  cursor: text;
}

#side-search .mobile-menu-search-input {
  cursor: text;
}

/* ── Category / Brand tab toggle ──────────────────────────────────── */

/* Make the panel a flex column so the tab bar pins just above the nav bar.
   !important needed to override the inline style="display: block;" on the element. */
#side-categories {
  display: flex !important;
  flex-direction: column !important;
  overflow-y: hidden !important;
  /* Nav bar is fixed at bottom, ~60px tall (z-index 10002 sits on top of panel).
     Shrink panel height so the tab bar appears just above the nav bar.
     Use dvh (dynamic viewport height) so the layout reacts to the mobile
     browser's address/toolbar showing or hiding — 100vh alone is based on
     the largest possible viewport and leaves the tab bar hidden behind the
     fixed footer nav once the toolbar collapses back in. */
  height: calc(100vh - 60px) !important;
  height: calc(100dvh - 60px) !important;
}

/* Content panes fill remaining space and scroll independently */
#side-categories .side-tab-pane {
  flex: 1;
  overflow-y: auto;
  display: none;
  flex-direction: column;
}

#side-categories .side-tab-pane.active {
  display: flex;
}

.side-tab-bar {
  display: flex;
  flex-shrink: 0;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  z-index: 999;
  padding: 15px 15px 18px 15px;
  gap: 10px;
}

.side-tab-btn {
  flex: 1;
  padding: 14px 0;
  border: none;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  color: #333;
  transition: background 0.2s, color 0.2s;
  border: 1px solid #e0e0e0;
}

.side-tab-btn.active {
  background: #111;
  color: #fff;
}

.side-tab-pane {
  display: none;
}

.side-tab-pane.active {
  display: block;
}

/* ── Mobile brand pane ──────────────────────────────────────────── */

/* Search row */
.mob-brand-search-wrap {
  padding: 12px 16px 8px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.mob-brand-search-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #333;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.mob-brand-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 36px 9px 12px;
  border: 1px solid #ddd;
  background: #f6f6f6 url("https://res.cloudinary.com/duclio064/image/upload/v1765796663/icons/search_lxllow.png") no-repeat right 12px center;
  background-size: 16px;
  font-size: 14px;
  color: #555;
  outline: none;
}

.mob-brand-search-input::placeholder {
  color: #aaa;
}

/* Alphabet buttons strip */
.mob-alphabet-wrap {
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

/* Override desktop .alphabet-buttons grid for mobile (6 cols wide) */
#mob-alphabet-buttons.alphabet-buttons {
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  width: 100%;
}

/* Sorted brand list — full width, no max-width constraint from desktop */
.mob-sorted-brand-list {
  padding: 0;
  background: #fff;
}

.mob-sorted-brand-list .brand-letter-group {
  padding: 8px 16px;
}

.mob-sorted-brand-list .brand-letter-header {
  font-size: 16px;
}

.mob-sorted-brand-list .brand-item-sorted a {
  font-size: 15px;
  padding: 5px 0;
}