@media (max-width: 1024px) {
  /* ---------- Drawer base ---------- */

  .mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 4000;
    pointer-events: none;
  }

  .mobile-drawer__backdrop {
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: auto;
  }

  .mobile-drawer__panel {
    position: fixed;
    inset: 0;
    background: #fafafa;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    padding: 16px 14px calc(16px + env(safe-area-inset-bottom));
    overflow-y: auto;
  }

  .mobile-open #mobile-drawer .mobile-drawer__backdrop {
    opacity: 1;
  }

  .mobile-open #mobile-drawer .mobile-drawer__panel {
    transform: translateX(0);
  }

  /* ---------- Header ---------- */

  .mobile-drawer__header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 8px;
    background: #fafafa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .mobile-logo img,
  .mobile-drawer .custom-logo {
    max-height: 52px;
    height: auto;
    width: auto;
  }

  .drawer-close {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    position: relative;
    cursor: pointer;
  }

  .drawer-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: #222;
  }

  .drawer-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .drawer-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  /* ---------- Main mobile nav ---------- */

  .mobile-nav {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .mobile-nav > li > a {
    display: block;
    padding: 14px 48px 14px 14px;
    font-size: 17px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    border-radius: 10px;
    background: transparent;
  }

  .mobile-nav > li > a:hover,
  .mobile-nav > li > a:focus-visible {
    background: rgba(0, 0, 0, 0.04);
    outline: none;
  }

  /* ---------- Accordion ---------- */

  .mobile-nav .menu-item-has-children {
    position: relative;
  }

  .mobile-nav .menu-item-has-children > a .sub-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .mobile-nav .menu-item-has-children > a .sub-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
  }

  .mobile-nav .menu-item-has-children > a .sub-toggle .chev {
    width: 20px;
    height: 20px;
    display: block;
    margin: auto;
    transition: transform 0.2s ease;
  }

  .mobile-nav .menu-item-has-children.is-open > a .sub-toggle .chev {
    transform: rotate(180deg);
  }

  /* ---------- Sub menu ---------- */

  .mobile-nav .sub-menu {
    list-style: none;
    padding: 0 0 0 6px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .mobile-nav .menu-item-has-children.is-open > .sub-menu {
    max-height: 600px;
    margin-bottom: 6px;
  }

  .mobile-nav .sub-menu > li > a {
    display: block;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
  }

  .mobile-nav .sub-menu > li > a:hover {
    background: rgba(0, 0, 0, 0.04);
  }

  /* ---------- Account actions ---------- */

  .mobile-accounts {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .mobile-accounts .btn {
    flex: 1 1 auto;
    height: 42px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
  }

  .mobile-accounts .btn[href*="logout"] {
    background: #e9f3ec;
    color: #0d3c2a;
  }
}
@media (max-width: 1024px) {
  .mobile-cart-header {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
  }

  .mobile-cart-header .xoo-wsc-cart-trigger,
  .mobile-cart-header .xoo-wsc-basket {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: transparent;
    border: 2px solid var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .mobile-cart-header .xoo-wsc-bki {
    font-size: 20px;
    color: var(--brand);
  }

  .mobile-cart-header .xoo-wsc-items-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
  }
}
@media (max-width: 1024px) {
  .xoo-wsc-cart-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 14px auto 18px;
    width: 100%;
  }

  .xoo-wsc-sc-bkcont {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 14px;
  }

  .xoo-wsc-sc-bki {
    font-size: 22px;
    line-height: 1;
  }

  .xoo-wsc-sc-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
  }
}
