.pisell-hdl-kiosk {
  .hdl-catalog-add-toast {
    display: flex;
    min-width: 180px;
    flex-direction: column;
    gap: 4px;
    text-align: left;
  }

  .hdl-catalog-add-toast strong {
    font-size: var(--hdl-font-control);
  }

  .hdl-catalog-add-toast span {
    font-size: var(--hdl-font-body);
    opacity: 0.78;
  }

  .hdl-catalog-screen {
    --hdl-catalog-sidebar-width: clamp(112px, 20vw, 210px);
    --hdl-catalog-menu-font-level-1: 24px;
    --hdl-catalog-menu-font-level-2: 20px;
    --hdl-catalog-menu-font-level-3: 18px;
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    background: #f7f8fa;
  }

  .hdl-catalog-layout {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .hdl-catalog-layout > .pisell-kiosk-category-sidebar {
    width: var(--hdl-catalog-sidebar-width);
    flex: 0 0 var(--hdl-catalog-sidebar-width);
    border-right-color: rgba(255, 255, 255, 0.1);
    background: #202735;
    --pisell-kiosk-cart-capsule-reserved-space: max(
      214px,
      calc(env(safe-area-inset-bottom) + 184px)
    );
  }

  // KioskCategorySidebar 保留旧 Kiosk 的交互逻辑；以下仅在 HDLKiosk
  // 内把引入前的深色菜单视觉重新映射到新 className。
  .hdl-catalog-layout .pisell-kiosk-category-sidebar__tabbar,
  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .pisell-tabbar__level--1,
  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .pisell-scroll-view {
    background: transparent;
  }

  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .pisell-basic-grid {
    gap: 13px !important;
  }

  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .text-card {
    box-sizing: border-box;
    min-height: 80px !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 14px !important;
    padding: 10px 16px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: var(--hdl-catalog-menu-font-level-1);
    font-weight: 850;
    line-height: 1.15;
    text-align: left;
  }

  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .text-card
    .text-card__content {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: var(--hdl-catalog-menu-font-level-1) !important;
    font-weight: 850 !important;
    line-height: 1.15;
    text-align: left !important;
  }

  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .text-card
    .pisell-icon,
  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .text-card
    .iconfont,
  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .text-card
    .anticon {
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: 24px !important;
  }

  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .text-card
    .text-card__icon
    img {
    width: 24px !important;
    height: 24px !important;
  }

  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .text-card
    .anticon
    svg {
    color: #fff !important;
    fill: currentColor !important;
  }

  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .text-card:hover:not(.text-card--active) {
    transform: translateX(3px);
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
  }

  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .text-card:hover
    .text-card__content {
    color: #fff !important;
  }

  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .text-card.text-card--active {
    border-color: rgba(245, 184, 75, 0.8) !important;
    background: linear-gradient(180deg, #b20d12, #8f080d) !important;
    color: #fff !important;
    box-shadow: none;
  }

  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .text-card.text-card--active
    .text-card__content {
    color: #fff !important;
  }

  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .pisell-tabbar__level--2
    .text-card {
    min-height: 68px !important;
    gap: 8px !important;
    border-radius: 12px !important;
    padding: 8px 14px !important;
    background: transparent !important;
    font-size: var(--hdl-catalog-menu-font-level-2);
    font-weight: 850;
    line-height: 1.15;
  }

  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .pisell-tabbar__level--2
    .text-card
    .text-card__content {
    font-size: var(--hdl-catalog-menu-font-level-2) !important;
    font-weight: 850 !important;
    line-height: 1.15;
  }

  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .pisell-tabbar__level--3
    .text-card {
    min-height: 60px !important;
    gap: 8px !important;
    border-radius: 10px !important;
    padding: 7px 12px !important;
    background: transparent !important;
    font-size: var(--hdl-catalog-menu-font-level-3);
    font-weight: 800;
    line-height: 1.15;
  }

  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .pisell-tabbar__level--3
    .text-card
    .text-card__content {
    font-size: var(--hdl-catalog-menu-font-level-3) !important;
    font-weight: 800 !important;
    line-height: 1.15;
  }

  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .pisell-tabbar__level--2
    .text-card
    :is(.pisell-icon, .iconfont, .anticon) {
    font-size: 20px !important;
  }

  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .pisell-tabbar__level--2
    .text-card
    .text-card__icon
    img {
    width: 20px !important;
    height: 20px !important;
  }

  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .pisell-tabbar__level--3
    .text-card
    :is(.pisell-icon, .iconfont, .anticon) {
    font-size: 18px !important;
  }

  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .pisell-tabbar__level--3
    .text-card
    .text-card__icon
    img {
    width: 18px !important;
    height: 18px !important;
  }

  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .pisell-tabbar__level--2
    .text-card.text-card--active,
  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .pisell-tabbar__level--3
    .text-card.text-card--active {
    border-color: rgba(245, 184, 75, 0.8) !important;
    background: linear-gradient(180deg, #b20d12, #8f080d) !important;
    color: #fff !important;
  }

  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .pisell-tabbar__level--2
    .text-card.text-card--active
    .text-card__content,
  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .pisell-tabbar__level--3
    .text-card.text-card--active
    .text-card__content {
    color: #fff !important;
  }

  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .pisell-tabbar__category-group--level1.multilevel-card--expanded,
  .hdl-catalog-layout
    .pisell-kiosk-category-sidebar__tabbar
    .pisell-tabbar__category-group--level2.multilevel-card--expanded {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .hdl-catalog-main {
    position: relative;
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
  }

  // 搜索弹层挂在 Catalog 主内容内；避开顶部标题区，让搜索框从商品区域顶部出现。
  .hdl-catalog-main .pisell-lookup-modal-custom-container {
    top: 128px !important;
  }

  .hdl-catalog-toolbar {
    display: block;
    flex: none;
    padding: 37px 38px 17px;
    border-bottom: 1px solid #eef0f3;
    background: #fff;
  }

  .hdl-catalog-toolbar p {
    margin: 0;
    color: #b20d12;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .hdl-catalog-toolbar h1 {
    margin: 6px 0 0;
    color: #111827;
    font-size: 48px;
    font-weight: 950;
    line-height: 0.98;
    letter-spacing: -0.035em;
  }

  .hdl-catalog-scroll {
    min-height: 0;
    flex: 1;
    overflow: auto;
    padding: 0 38px 214px;
    scroll-padding-bottom: 166px;
    background: #fff;
    scrollbar-width: thin;
  }

  .hdl-catalog-status {
    min-height: 130px;
    margin: 19px 0;
    border: 1px dashed #d0d5dd;
    border-radius: 19px;
    padding: 45px 26px;
    background: #f8fafc;
    color: #667085;
    font-size: 19px;
    font-weight: 750;
    text-align: center;
  }

  .hdl-catalog-scroll > .hdl-inline-error {
    width: 100%;
    margin: 19px 0;
  }

  .hdl-catalog-product-list {
    width: 100%;
    overflow: visible;
    border-radius: 0;
    background: transparent;

    > .list-content {
      overflow: visible;
      padding: 0;
    }

    .pisell-list-header,
    .scroll-loader {
      display: none;
    }

    .list-items {
      padding: 0;
    }

    .list-item {
      height: 100%;
    }

    .list-item:hover {
      box-shadow: none;
    }
  }

  .hdl-catalog-next {
    border: 0;
    background: linear-gradient(180deg, #20b8aa, #119184);
    color: #fff;
    box-shadow: 0 15px 32px rgba(17, 145, 132, 0.3);
  }
}
