/* ============================================================
   depop 风格头部覆盖（仅桌面端，>=751px）
   配合 themes/style/style.css 使用，不改原件，便于回滚
   ============================================================ */
@media (min-width: 751px) {

  /* 头部整体改白底 */
  header,
  #area_top { background: #fff; }

  /* 顶部工具条：白底深色字 */
  .shopTopNav {
    background: #fff;
    color: #111;
    border-bottom: 1px solid #ececec;
    height: 38px;
    line-height: 38px;
  }
  .shopTopNav a,
  .shopTopNav .desc { color: #111; }
  .shopTopNav a:hover { color: #ff2300; }

  /* 第一行：logo 左，搜索右 */
  #area_top { padding: 22px 0 0; }
  #area_top .block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  #area_top .logo {
    float: none;
    flex: 0 0 auto;
    margin: 0;
  }

  /* 搜索框：depop 的黑色圆角描边胶囊 */
  #area_top .searchbox {
    float: none;
    flex: 0 1 560px;
    width: auto;
    max-width: 560px;
    margin-left: auto;
    color: #111;
  }
  #area_top .searchbox form {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #000;
    border-radius: 999px;
    padding: 2px 6px 2px 18px;
  }
  #area_top .searchbox input#keyword {
    flex: 1 1 auto;
    height: 42px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111;
    font-size: 16px;
    padding: 0;
  }
  #area_top .searchbox input#keyword::placeholder { color: #767676; }
  #area_top .searchbox .bnt {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 15px;
    font-weight: 700;
    padding: 6px 10px;
    cursor: pointer;
  }
  #area_top .searchbox .bnt .icon-search { font-size: 20px; line-height: 1; }

  /* 第二行：横向导航 */
  .menu_main.user-menu-index {
    position: static;
    display: block;
    width: 100%;
    top: auto;
    left: auto;
    margin: 18px 0 0;
    padding: 0;
    background: #fff;
    box-shadow: none;
    border-top: 1px solid #ececec;
    transform: none;
  }
  .menu_main.user-menu-index:before { display: none; content: none; }

  .menu_main.user-menu-index > ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 34px;
    margin: 0;
    padding: 14px 0;
    list-style: none;
  }
  .menu_main.user-menu-index > ul > li {
    display: block;
    height: auto;
    margin: 0;
    padding: 0;
    position: relative;
    background: transparent;
  }
  .menu_main.user-menu-index > ul > li > i { display: none; }
  .menu_main.user-menu-index > ul > li:hover { background: transparent; }

  .menu_main.user-menu-index > ul > li > a {
    display: inline-block;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    padding: 8px 0;
    border: 0;
    text-decoration: none;
  }
  .menu_main.user-menu-index > ul > li > a:hover {
    color: #ff2300;
    text-decoration: none;
  }

  /* Sale / Clearance 红色强调 */
  .menu_main.user-menu-index > ul > li.nav-sale > a { color: #ff2300; }
  .menu_main.user-menu-index > ul > li.nav-sale > a:hover { color: #cc1c00; }

  /* 下拉面板：白底、圆角、投影 */
  .menu_main.user-menu-index > ul > li > .sub-cat {
    left: 0;
    top: 100%;
    margin-top: 4px;
    min-height: 0;
    min-width: 240px;
    max-width: 720px;
    padding: 10px 0;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  }
  .menu_main.user-menu-index .sub-cat > li { padding: 0 18px; }
  .menu_main.user-menu-index .sub-cat li a {
    color: #111;
    font-weight: 400;
    font-size: 14px;
    line-height: 28px;
    border: 0;
  }
  .menu_main.user-menu-index .sub-cat li a:hover { color: #ff2300; }
  .menu_main.user-menu-index .sub-cat li span {
    float: right;
    color: #999;
    margin-left: 12px;
  }
}

/* logo 里原本为深色底准备的白色笔画，白底上改为深色，避免不可见 */
@media (min-width: 751px) {
  .icon-logo .path9:before,
  .icon-logo .path10:before,
  .icon-logo .path11:before,
  .icon-logo .path12:before,
  .icon-logo .path13:before { color: #111; }
}

/* 桌面端隐藏汉堡按钮与遮罩，保持 depop 式干净头部 */
@media (min-width: 751px) {
  #area_top .mobile-menu,
  #area_top .mask { display: none; }
}


/* ===== 顶栏合并为 depop 式单行 + My Account 同行 ===== */
@media (min-width: 751px) {
  #area_top { margin-top: 0; padding-top: 18px; }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: 26px;
    flex: 0 0 auto;
  }
  .header-actions a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
  }
  .header-actions a:hover { color: #ff2300; }
  .header-actions .icon-user,
  .header-actions .icon-cart { font-size: 24px; line-height: 1; }

  .header-actions .cart { position: relative; padding: 0 !important; }
  .header-actions .cart .num {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #ee2d3a;
    color: #fff;
    border-radius: 999px;
    min-width: 19px;
    height: 19px;
    line-height: 19px;
    padding: 0 5px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
  }

  .menu_main.user-menu-index {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
  }
  .menu_main.user-menu-index > ul { gap: 30px; flex: 0 1 auto; }
  .menu_main.user-menu-index > ul.user-menu {
    margin-left: auto;
    gap: 18px;
    flex: 0 0 auto;
  }
  .menu_main.user-menu-index > ul.user-menu > li { display: block; }
  .menu_main.user-menu-index > ul.user-menu > li > a {
    font-size: 16px;
    gap: 8px;
    color: #000;
    border: 0;
    display: inline-flex;
    align-items: center;
  }
  .menu_main.user-menu-index > ul.user-menu .sub-cat { left: auto; right: 0; }

  .nav-hide { display: none !important; }
}

@media (max-width: 750px) {
  .header-actions { display: none; }
}

/* Help? 等占位项：所有视口都不显示 */
.nav-hide{display:none !important;}


/* ===== 第三版：搜索框内阴影去除 / My Account 换成 Sign in ===== */
@media (min-width: 751px) {
  /* 旧主题给 input 加了 inset 阴影，在新胶囊里显示成一条灰线 */
  #area_top .searchbox input#keyword {
    box-shadow: none !important;
    -webkit-appearance: none;
  }

  /* 导航里的 My Account 整块隐藏（原 .user-menu） */
  .menu_main.user-menu-index > ul.user-menu { display: none !important; }

  /* Sign in 链接靠右，与导航同一行 */
  .menu_main.user-menu-index > a.nav-signin {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 0;
    white-space: nowrap;
  }
  .menu_main.user-menu-index > a.nav-signin:hover { color: #ff2300; }
  .menu_main.user-menu-index > a.nav-signin .icon-user { font-size: 20px; line-height: 1; }

  /* 顶栏的 Login 与导航 Sign in 重复，桌面端隐藏顶部那个（保留购物车） */
}


/* ===== 搜索框：放大镜置于左侧、隐藏 Search 文字（旧样式 color:#fff!important 会导致文字不可见） ===== */
@media (min-width: 751px) {
  #area_top .searchbox form { position: relative; }
  #area_top .searchbox .bnt {
    position: absolute;
    left: 18px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: auto;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent !important;
    color: #111 !important;
    font-size: 0;
    line-height: 1;
    height: auto;
  }
  #area_top .searchbox .bnt .icon-search { font-size: 22px; color: #111; }
  #area_top .searchbox input#keyword { padding-left: 46px; }
}


/* ===== 商品卡片：depop 版式（品牌名 + 价格） ===== */
.list_goods { border-left: 0; color: #111; }
.list_goods li { border-bottom: 0; border-right: 0; background: #fff; }
.list_goods li:hover { background: #fff; opacity: 1; box-shadow: none; }

.list_goods .brand {
  display: block;
  position: static;
  left: auto;
  bottom: auto;
  background: none;
  padding: 0;
  margin: 12px 0 2px;
  color: #111;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.list_goods .price {
  margin-left: 0;
  color: #111;
  font-size: 15px;
  font-weight: 700;
}
.list_goods .title,
.list_goods .goods_sn,
.list_goods .purchases { display: none; }

@media (min-width: 751px) {
  .list_goods { font-size: 16px; }
  .list_goods li { width: 25%; padding: 0 12px 30px; }
  .list_goods .brand { font-size: 20px; }
  .list_goods .price { font-size: 20px; }
}

/* ===== 页脚：depop 的浅灰底 + 深色字 ===== */
footer { background: #f4f4f4; }
footer .footer,
footer .footer_nav,
footer .text,
footer .text a,
footer .footer_nav a,
footer .footer_nav span { color: #111; }
footer .text,
footer .text span { color: #585858; }
footer .footer_nav span:hover,
footer .footer_nav a:hover { color: #ff2300; }


/* ===== 顶栏图标：My Account / My Orders / Cart ===== */
@media (min-width: 751px) {
  .header-actions .hdr-icon {
    font-size: 24px;
    line-height: 1;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-decoration: none;
  }
  .header-actions .hdr-icon:hover { color: #ff2300; }
}


/* ===== 背景：depop 全白（原 #area_main 是 #eaeded 灰底） ===== */
#area_main { background: #fff; }

/* ===== 账号下拉：登录后显示用户名，悬停出现 My Account / My Orders / Log out ===== */
@media (min-width: 751px) {
  .header-actions .hdr-account-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
  }
  .header-actions .hdr-name {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin-left: 6px;
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-actions .hdr-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    padding: 8px 0;
    display: none;
    z-index: 100000;
  }
  .header-actions .hdr-account-wrap:hover .hdr-menu { display: block; }
  .header-actions .hdr-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    white-space: nowrap;
  }
  .header-actions .hdr-menu a:hover { background: #f7f7f7; color: #ff2300; }
}


/* ===== 导航条通栏 + 上下两条分隔线（内容仍对齐栅格） ===== */
@media (min-width: 751px) {
  .menu_main.user-menu-index {
    width: 100%;
    box-sizing: border-box;
    margin: 18px 0 0;
    padding-left: max(20px, calc((100% - 1180px) / 2));
    padding-right: max(20px, calc((100% - 1180px) / 2));
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    background: #fff;
  }
}


/* ===== 下拉子导航：整宽 mega menu（对齐 depop） ===== */
@media (min-width: 751px) {
  .menu_main.user-menu-index { position: relative; }
  .menu_main.user-menu-index > ul > li { position: static; }

  .menu_main.user-menu-index > ul > li > .sub-cat {
    left: 0;
    right: 0;
    top: 100%;
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 28px max(20px, calc((100% - 1180px) / 2));
    background: #fff;
    border: 0;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    border-radius: 0;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .08);
    column-count: auto;
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: row;
    column-gap: 24px;
    row-gap: 0;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
  }
  .menu_main.user-menu-index > ul > li > .sub-cat > li { break-inside: avoid; }

  /* 三级分类改成面板内展开，避免在整宽面板里跑到屏幕外 */
  .menu_main.user-menu-index .sub-cat .sub-cat-child {
    position: static;
    display: none;
    width: auto;
    min-height: 0;
    padding: 2px 0 8px 16px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .menu_main.user-menu-index .sub-cat > li:hover > .sub-cat-child {
    display: block;
    position: static;
  }
}


/* ===== 导航项：填满整行高度（消除 hover 空隙）+ 悬停黑底白字（depop 样式） ===== */
@media (min-width: 751px) {
  .menu_main.user-menu-index > ul:first-of-type { padding: 0; gap: 0; }

  .menu_main.user-menu-index > ul:first-of-type > li {
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0 18px;
    box-sizing: border-box;
  }
  .menu_main.user-menu-index > ul:first-of-type > li > a {
    padding: 0;
    line-height: 1;
  }

  .menu_main.user-menu-index > ul:first-of-type > li:hover { background: #1a1a1a; }
  .menu_main.user-menu-index > ul:first-of-type > li:hover > a { color: #fff; }
  .menu_main.user-menu-index > ul:first-of-type > li.nav-sale:hover > a { color: #fff; }
}


/* ===== 商品卡片字体：贴近 depop（无衬线、16px、近黑） ===== */
.list_goods {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.list_goods .brand {
  font-size: 16px;
  font-weight: 400;
  color: #111;
  line-height: 1.4;
  letter-spacing: 0;
}
.list_goods .price {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
  letter-spacing: 0;
}
@media (min-width: 751px) {
  .list_goods .brand { font-size: 16px; }
  .list_goods .price { font-size: 16px; }
}


/* ===== 三级分类：独立浮层（不再参与列布局，避免回流） ===== */
@media (min-width: 751px) {
  .menu_main.user-menu-index .sub-cat > li { position: relative; }

  .menu_main.user-menu-index .sub-cat .sub-cat-child {
    position: absolute;
    left: 0;
    top: 100%;
    display: none;
    width: min(1000px, 92vw);
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 0;
    min-height: 0;
    padding: 14px 0;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
    z-index: 30;
  }
  .menu_main.user-menu-index .sub-cat > li:hover > .sub-cat-child {
    display: grid;
    position: absolute;
  }
  .menu_main.user-menu-index .sub-cat-child > li {
    padding: 0 16px;
    border: 0;
  }
  .menu_main.user-menu-index .sub-cat-child > li > a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.3;
    color: #111;
    border: 0;
    white-space: normal;
    word-break: break-word;
  }
  .menu_main.user-menu-index .sub-cat-child > li > a:hover { color: #ff2300; }
}


/* grid 面板的显示/隐藏（覆盖 base 的 display:block） */
@media (min-width: 751px) {
  .menu_main.user-menu-index > ul > li:hover > .sub-cat { display: grid; }
}


/* 三级浮层内条目：名称与数量左右对齐 */
@media (min-width: 751px) {
  .menu_main.user-menu-index .sub-cat-child > li > a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }
  .menu_main.user-menu-index .sub-cat-child > li > a > span {
    float: none;
    margin-left: auto;
    color: #999;
    font-size: 13px;
    white-space: nowrap;
  }
}


/* ===== 分类名过长：单行省略，数量固定右侧 ===== */
@media (min-width: 751px) {
  .menu_main.user-menu-index .sub-cat li > a,
  .menu_main.user-menu-index .sub-cat-child li > a {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
  }
  .menu_main.user-menu-index .sub-cat li > a > .nm,
  .menu_main.user-menu-index .sub-cat-child li > a > .nm {
    flex: 1 1 auto;
    min-width: 0;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    word-break: break-word;
    display: block;
  }
  .menu_main.user-menu-index .sub-cat li > a > .cnt,
  .menu_main.user-menu-index .sub-cat-child li > a > .cnt {
    flex: 0 0 auto;
    float: none;
    margin-left: auto;
    color: #999;
    font-size: 13px;
    white-space: nowrap;
  }
}


/* 二级分类：名称单行（已由模板截断到 20 字符），数量固定宽度右对齐 */
@media (min-width: 751px) {
  .menu_main.user-menu-index .sub-cat > li > a > .nm {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal;
  }
  .menu_main.user-menu-index .sub-cat > li > a > .cnt {
    flex: 0 0 46px;
    width: 46px;
    text-align: right;
  }
}


/* 二级项：去掉链接左右内边距（li 已有 18px），避免挤压名称 */
@media (min-width: 751px) {
  .menu_main.user-menu-index .sub-cat > li > a {
    padding-left: 0;
    padding-right: 0;
  }
  .menu_main.user-menu-index .sub-cat > li > a > .cnt {
    flex: 0 0 auto;
    width: auto;
    min-width: 34px;
    margin-left: 0;
    text-align: right;
  }
  .menu_main.user-menu-index .sub-cat > li > a > .nm {
    flex: 1 1 auto;
  }
}


/* 三级项：名称单行 + 省略（模板已截断到 20 字符） */
@media (min-width: 751px) {
  .menu_main.user-menu-index .sub-cat-child > li > a > .nm {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal;
    flex: 1 1 auto;
    min-width: 0;
  }
  .menu_main.user-menu-index .sub-cat-child > li > a > .cnt {
    flex: 0 0 auto;
    margin-left: 0;
    min-width: 30px;
    text-align: right;
  }
}


/* ===== 商品列表自适应列数：宽屏 5 个/行，中屏 4 个/行 ===== */
@media (min-width: 1280px) {
  .list_goods li { width: 20%; }
}

/* ===== 首页 Hot New Arrivals ===== */
.hot_new_wrap { margin-top: 36px; clear: both; }
.hot_new_loading { text-align: center; padding: 28px 0; color: #999; font-size: 14px; }

/* ===== 卡片操作区：去掉购物车图标，收藏星标移到品牌名行右侧 ===== */
.list_goods li .add { display: none !important; }
.list_goods .brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.list_goods .brand-row .brand {
  margin: 12px 0 2px;
  flex: 1 1 auto;
  min-width: 0;
}
.list_goods .brand-row .wish {
  position: static;
  right: auto;
  bottom: auto;
  width: auto;
  font-size: 16px;
  line-height: 1;
  color: #b5b5b5;
  text-decoration: none;
}
.list_goods .brand-row .wish:hover { color: #ff2300; }

/* ===== 返回顶部浮动按钮 ===== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  text-decoration: none;
  font-size: 24px;
  line-height: 1;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background .2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: #ff2300; color: #fff; }

/* 移动端底部有固定导航，按钮上移避免遮挡 */
@media (max-width: 750px) {
  .back-to-top { right: 16px; bottom: 148px; width: 52px; height: 52px; font-size: 22px; }
}

/* ===== 移动端头部：与 PC 一致的白底固定条 ===== */
@media (max-width: 750px) {
  #area_top {
    margin-top: 0;
    padding: 10px 14px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 99990;
    border-bottom: 1px solid #ececec;
  }
  #area_top .block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }
  #area_top .mobile-menu {
    position: static;
    order: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    color: #111;
    font-size: 24px;
  }
  #area_top .logo {
    order: 2;
    float: none;
    width: 150px;
    height: 30px;
    font-size: 28px;
    margin: 0;
    overflow: hidden;
  }
  #area_top .header-actions {
    order: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 0 auto;   /* 基础样式 div{margin:0 auto} 会把图标区居中，这里强制靠右 */
  }
  #area_top .header-actions .hdr-icon,
  #area_top .header-actions .icon-user,
  #area_top .header-actions .icon-list,
  #area_top .header-actions .icon-cart { font-size: 22px; color: #111; }

  #area_top .searchbox {
    order: 4;
    flex: 1 1 100%;
    width: 100%;
    margin: 8px 0 0;
    color: #111;
  }
  #area_top .searchbox form {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #000;
    border-radius: 999px;
    padding: 2px 6px 2px 14px;
  }
  #area_top .searchbox input#keyword {
    flex: 1 1 auto;
    height: 38px;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 15px;
    padding: 0;
  }
  #area_top .searchbox .bnt {
    position: static;
    width: auto;
    border: 0;
    background: transparent !important;
    color: #111 !important;
    font-size: 0;
    padding: 0 6px;
  }
  #area_top .searchbox .bnt .icon-search { font-size: 20px; color: #111; }

  /* 抽屉菜单：白底深色字（原来粉色渐变） */
  .menu_main {
    background: #fff !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
  }
  .menu_main > ul > li {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
  }
  .menu_main > ul > li > a { color: #111; }
  .menu_main .sub-cat,
  .menu_main .sub-cat-child,
  .menu_main .user-menu { background: #fff; }
  .menu_main .sub-cat li a,
  .menu_main .user-menu a { color: #111; }
}


/* 移动端购物车角标 */
@media (max-width: 750px) {
  #area_top .header-actions .cart { position: relative; }
  #area_top .header-actions .cart .num {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #ee2d3a;
    color: #fff;
    border-radius: 999px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    padding: 0 4px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
  }
}

/* 面板被撑高时，多余高度只留在底部，不能拉伸 grid 行距 */
@media (min-width: 751px) {
  .menu_main.user-menu-index .sub-cat {
    align-content: start;
    grid-auto-rows: max-content;
  }
  .menu_main.user-menu-index .sub-cat > li { align-self: start; }
}

/* ===== 二/三级分类排版对齐 depop（body-sm-regular 规格） ===== */
@media (min-width: 751px) {
  .menu_main.user-menu-index .sub-cat li > a,
  .menu_main.user-menu-index .sub-cat-child li > a {
    font-family: "Aktiv Grotesk Ex Basic", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    color: #1a1a1a;
  }

  .menu_main.user-menu-index .sub-cat li > a > .nm,
  .menu_main.user-menu-index .sub-cat-child li > a > .nm {
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    color: #1a1a1a;
  }

  .menu_main.user-menu-index .sub-cat li > a > .cnt,
  .menu_main.user-menu-index .sub-cat-child li > a > .cnt {
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    color: #767676;
  }

  .menu_main.user-menu-index .sub-cat li > a:hover,
  .menu_main.user-menu-index .sub-cat-child li > a:hover,
  .menu_main.user-menu-index .sub-cat li > a:hover > .nm,
  .menu_main.user-menu-index .sub-cat-child li > a:hover > .nm {
    color: #ff2300;
  }
}

/* 移动端：搜索框幽灵内阴影、汉堡贴左 */
@media (max-width: 750px) {
  #area_top .searchbox input#keyword,
  #area_top .searchbox input {
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
  }
  #area_top { padding-left: 10px; padding-right: 10px; }
  #area_top .block { padding-left: 0; padding-right: 0; }
  #area_top .mobile-menu {
    margin-right: 2px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
}


/* 移动端：mask 不参与头部 flex 布局；抽屉打开时头部保持在遮罩之上 */
@media (max-width: 750px) {
  #area_top .block > .mask { display: none; }
  body.mobile-open .mask {
    display: block;
    position: fixed;
    z-index: 99995;
    left: 0; right: 0; top: 0; bottom: 0;
    background: rgba(0, 0, 0, .3);
  }
  body.mobile-open #area_top { z-index: 99996; }
}

/* 移动端抽屉改为覆盖式：不再把整页往右推（原来 body.mobile-open 会 margin-left:80%） */
@media (max-width: 750px) {
  body.mobile-open { margin-left: 0 !important; }
}

/* 抽屉打开时遮罩必须显示（覆盖上面 #area_top .block > .mask 的 display:none） */
@media (max-width: 750px) {
  body.mobile-open #area_top .block > .mask {
    display: block;
    position: fixed;
    z-index: 99995;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .3);
  }
}

/* 抽屉打开时保持头部本身不被遮罩压暗 */
@media (max-width: 750px) {
  #area_top .block > .logo,
  #area_top .block > .searchbox,
  #area_top .block > .header-actions,
  #area_top .block > .mobile-menu {
    position: relative;
    z-index: 99997;
  }
}

/* 移动端隐藏账号下拉与用户名，只保留图标 */
@media (max-width: 750px) {
  .header-actions .hdr-menu { display: none !important; }
  .header-actions .hdr-name { display: none !important; }
}

/* ===== 顶部整块（logo + 搜索 + 图标 + 导航）吸顶 ===== */
@media (min-width: 751px) {
  #area_top {
    position: sticky;
    top: 0;
    z-index: 9990;
    background: #fff;
  }
}

/* ===== Brands 下拉：商品数最多的 40 个品牌，4 列 ===== */
@media (min-width: 751px) {
  .menu_main.user-menu-index .brands-menu {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 24px;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
  }
  .menu_main.user-menu-index .brands-menu > li { padding: 0 18px; }
  .menu_main.user-menu-index .brands-menu > li > a { padding: 6px 0; }
}

/* ===== 移动端抽屉内的二级/三级列表：重置基础样式的绝对定位，排版与 PC 一致 ===== */
@media (max-width: 750px) {
  .menu_main .sub-cat {
    display: none;
    position: static;
    width: 100%;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: #fff;
    border: 0;
    box-shadow: none;
  }
  .menu_main .sub-cat > li,
  .menu_main .sub-cat-child > li {
    display: block;
    width: 100%;
    position: relative;
  }
  .menu_main .sub-cat > li { border-bottom: 1px solid #f2f2f2; }

  /* 基础样式把所有 span 绝对定位到右侧，导致名称与数量重叠 */
  .menu_main .sub-cat li > a > .nm,
  .menu_main .sub-cat li > a > .cnt,
  .menu_main .sub-cat-child li > a > .nm,
  .menu_main .sub-cat-child li > a > .cnt {
    position: static;
    right: auto;
    top: auto;
    float: none;
  }

  .menu_main .sub-cat li > a,
  .menu_main .sub-cat-child li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-left: 0;
    padding: 11px 14px 11px 26px;
    color: #1a1a1a;
    font-family: "Aktiv Grotesk Ex Basic", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: none;
  }
  .menu_main .sub-cat-child li > a { padding-left: 40px; }

  .menu_main .sub-cat li > a > .nm,
  .menu_main .sub-cat-child li > a > .nm {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #1a1a1a;
  }
  .menu_main .sub-cat li > a > .cnt,
  .menu_main .sub-cat-child li > a > .cnt {
    flex: 0 0 auto;
    margin-left: auto;
    color: #767676;
    font-size: 13px;
  }

  .menu_main .sub-cat > li > i {
    position: absolute;
    left: 8px;
    top: 13px;
    width: 12px;
    height: 12px;
  }
  .menu_main .sub-cat > li > i:before {
    position: static;
    top: auto;
    left: auto;
    font-size: 12px;
    color: #999;
  }
}

/* 抽屉内二级条目行距收紧一点，接近 PC 密度 */
@media (max-width: 750px) {
  .menu_main .sub-cat li > a,
  .menu_main .sub-cat-child li > a { padding-top: 9px; padding-bottom: 9px; }
  .menu_main .sub-cat > li > i { top: 11px; }
}

/* 抽屉底部有固定的 My Account 条，给列表留出空间避免最后一项被遮住 */
@media (max-width: 750px) {
  .menu_main > ul { padding-bottom: 64px; box-sizing: border-box; }
}

/* ===== 新 Logo：Yep! [yannatrade] .com（纯文字/HTML，随字体缩放） ===== */
#area_top .logo {
  width: auto;
  height: auto;
  overflow: visible;
  font-size: inherit;
}
#area_top .logo .logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
#area_top .logo .logo-yep {
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-style: italic;
  font-size: 30px;
  line-height: 1;
  color: #ff2d6b;
  letter-spacing: -.5px;
}
#area_top .logo .logo-pill {
  display: inline-block;
  background: #ff2d6b;
  color: #111;
  border-radius: 999px;
  padding: 3px 16px 5px;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-style: normal;
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: .2px;
}
#area_top .logo .logo-tld {
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 21px;
  color: #ff2d6b;
  margin-left: 1px;
}
#area_top .logo .logo-wrap:hover { text-decoration: none; }

/* 移动端缩小 */
@media (max-width: 750px) {
  #area_top .logo .logo-yep { font-size: 20px; }
  #area_top .logo .logo-pill { font-size: 18px; padding: 2px 10px 3px; }
  #area_top .logo .logo-tld { font-size: 14px; }
}

/* user-menu-index 现在全站都加，移动端抽屉需要保持可见（基础样式里有 display:none） */
@media (max-width: 750px) {
  .menu_main.user-menu-index { display: block; }
}

/* ===== Logo（depop 风格）：YannaTrade.com ===== */
#area_top .logo .logo-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
#area_top .logo .logo-main {
  font-family: "Helvetica Neue", Helvetica, "Arial Black", Arial, "PingFang SC", sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -1.4px;
  color: #e4002b;
}
#area_top .logo .logo-tld {
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -.4px;
  color: #9b9b9b;
  margin-left: 1px;
}

@media (max-width: 750px) {
  #area_top .logo .logo-main { font-size: 22px; letter-spacing: -1px; }
  #area_top .logo .logo-tld { font-size: 13px; }
}

/* ===== 分类页：左侧分类栏更窄、靠最左，给商品列表更多空间 ===== */
@media (min-width: 751px) {
  .page_left {
    width: 200px;
    margin-left: -28px;
  }
  .page_right {
    width: calc(100% - 210px);
  }
  /* 分类页商品 4 列（比首页 5 列更大） */
  .page_right .list_goods li { width: 25%; }
}

/* ===== 分类页：无限滚动加载提示 ===== */
.goods-loading { text-align: center; padding: 26px 0; color: #999; font-size: 14px; }

/* ===== 分类页：移动端分类抽屉 + 左下角浮动按钮 ===== */
@media (max-width: 750px) {
  .page_right { width: 100%; float: none; }

  .page_left {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 82%;
    max-width: 320px;
    height: 100% !important;
    padding: 16px 16px 80px;
    margin: 0;
    background: #fff;
    border-right: 1px solid #ececec;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
    overflow-y: auto;
    z-index: 99998;
    transform: translateX(-100%);
    transition: transform .25s ease;
    box-sizing: border-box;
  }
  body.cat-drawer-open .page_left { transform: translateX(0); }

  #catDrawerMask {
    display: none;
    position: fixed;
    left: 0; right: 0; top: 0; bottom: 0;
    background: rgba(0, 0, 0, .35);
    z-index: 99997;
  }
  body.cat-drawer-open #catDrawerMask { display: block; }

  #catDrawerBtn {
    position: fixed;
    left: 16px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 22px;
    line-height: 48px;
    text-align: center;
    padding: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
    z-index: 99996;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  #catDrawerBtn i { font-style: normal; }
}

/* 分类页移动端抽屉：基础样式在 ≤750 隐藏了 .pcat，这里强制显示 */
@media (max-width: 750px) {
  .page_left .ukcat,
  .page_left .ukcat.pcat { display: flex !important; }
  .page_left .ukcat li { width: 100%; }
  .page_left > span { display: block; margin: 14px 0 6px; }
}

/* 分类页：桌面端侧栏吸附在吸顶头部下方，避免被导航遮住 */
@media (min-width: 751px) {
  .page_left {
    position: sticky;
    top: 152px;
    max-height: calc(100vh - 172px);
    overflow-y: auto;
    align-self: flex-start;
  }
}

/* ===== 收藏按钮：depop 样式的心形，覆盖在图片右上角 ===== */
.list_goods li { position: relative; }
.list_goods li .wish {
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: auto;
  z-index: 3;
  width: 28px;
  height: 28px;
  display: block;
  color: #fff;
  line-height: 0;
  text-decoration: none;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .35));
}
.list_goods li .wish svg {
  width: 28px;
  height: 28px;
  display: block;
  transition: transform .15s ease;
}
.list_goods li .wish:hover svg { transform: scale(1.08); }

/* 收藏心形贴住图片右上角 */
.list_goods .thumb { position: relative; display: block; }
.list_goods .thumb .wish {
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: auto;
}

/* ===== 商品详情：PC 竖向展示全部图片 + 右侧信息吸顶 ===== */
@media (min-width: 751px) {
  .area_right { align-items: flex-start; }
  .goodsimg_main {
    width: 56%;
    display: block;
    position: static;
    height: auto;
    margin-right: 24px;
  }
  .goodsimg_main .gallery-top { width: 100%; }
  .goodsimg_main .gallery-top .swiper-wrapper {
    display: block !important;
    transform: none !important;
  }
  .goodsimg_main .gallery-top .swiper-slide {
    width: 100% !important;
    margin: 0 0 14px !important;
    height: auto !important;
  }
  .goodsimg_main .gallery-top .swiper-slide img { width: 100%; height: auto; display: block; }
  .goodsimg_main .gallery-top .swiper-button-next,
  .goodsimg_main .gallery-top .swiper-button-prev,
  .goodsimg_main .gallery-top .swiper-pagination,
  .goodsimg_main .gallery-thumbs { display: none !important; }

  .goodsInfo {
    width: calc(44% - 24px);
    float: none;
    position: sticky;
    top: 170px;
    align-self: flex-start;
    max-height: calc(100vh - 190px);
    overflow-y: auto;
    box-sizing: border-box;
  }
}

/* ===== 身高体重输入 ===== */
.goods-fit {
  margin: 14px 0;
  padding: 12px;
  border: 1px solid #ececec;
  border-radius: 10px;
  background: #fafafa;
}
.goods-fit .fit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.goods-fit .fit-head .field { font-weight: 700; color: #111; }
.goods-fit .fit-switch {
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  color: #111;
  cursor: pointer;
}
.goods-fit .fit-row { display: flex; align-items: center; gap: 8px; }
.goods-fit .fit-row input {
  width: 92px;
  height: 36px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0 8px;
  box-sizing: border-box;
  font-size: 14px;
}
.goods-fit .fit-sep { color: #999; }

/* 身高体重输入框加宽 */
.goods-fit .fit-row input { width: 104px; }

/* 分类/品牌页左侧栏：比页面底色深一点，做区分 */
@media (min-width: 751px) {
  .page_left { background: #f5f5f5; }
}
@media (max-width: 750px) {
  .page_left { background: #f5f5f5 !important; }
}

/* PC 下 Swiper 已销毁，隐藏遗留的懒加载蓝色圆环 */
@media (min-width: 751px) {
  .goodsimg_main .swiper-lazy-preloader { display: none !important; }
}

/* 身高体重说明文字 */
.goods-fit .fit-note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #888;
}

/* 品牌页底部遗留的虚线装饰 */
.bottom1 { display: none !important; }

/* 收藏爱心 hover 变粉 */
.list_goods li .wish:hover { color: #ff2d6b; }
.list_goods li .wish:hover svg path { fill: #ff2d6b; stroke: #ff2d6b; }

/* 尺码可选标记与牛仔裤尺码行 */
.goods-fit .fit-optional { font-weight: 400; font-size: 12px; color: #999; }
.goods-fit .fit-row-jeans { margin-top: 8px; }
.goods-fit .fit-row-jeans input { width: 210px; }
.goods-fit .fit-optional-note { color: #999; }

/* 相册懒加载占位圆环：各端统一隐藏（图片用原生 loading=lazy，不需要该占位） */
.goodsimg_main .swiper-lazy-preloader {
  display: none !important;
  pointer-events: none !important;
}

/* 购物车页：右侧结算区固定浮动并垂直居中 */
@media (min-width: 751px) {
  .cart_left { width: calc(100% - 420px); }
  .cart_right {
    position: fixed;
    top: 50%;   /* 由 cart-summary.js 按左侧列表区域居中覆盖 */
    right: max(24px, calc((100vw - 1180px) / 2));
    transform: translateY(-50%);
    width: 340px;
    box-sizing: border-box;
    padding: 16px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .10);
    z-index: 60;
  }
}

/* 购物车：属性 textarea 压缩高度，避免把价格挤错位 */
.item-list ul li.name textarea {
  display: block;
  width: 100%;
  max-width: 420px;
  height: 34px;
  min-height: 34px;
  max-height: 60px;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.4;
  box-sizing: border-box;
  resize: vertical;
  overflow: auto;
}
.item-list ul li.name { padding-bottom: 24px; }
.item-list ul li.name .cart-fit-size {
  display: block;
  font-size: 12px;
  color: #767676;
  margin-top: 4px;
}
@media (max-width: 750px) {
  .item-list .attr textarea { width: 100%; }
}

/* 购物车行：图片加大、属性一行、价格紧随内容、结算框与左侧留出间距 */
.item-list ul li.name {
  padding-bottom: 0;
}
.item-list ul li.name .img img {
  width: 110px;
  height: auto;
  max-width: none;
}
.item-list ul li.name textarea {
  width: 240px;
  max-width: 240px;
  height: 24px;
  min-height: 24px;
  max-height: 24px;
  padding: 2px 6px;
  font-size: 12px;
  line-height: 18px;
  resize: none;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
}
.item-list ul li.name .cart-fit-size {
  margin-left: 0;
}
.item-list ul .price {
  position: static;
  display: block;
  margin-top: 8px;
}
@media (min-width: 751px) {
  .cart_left { width: calc(100% - 470px); }
}

.goods-fit .fit-privacy-note { color: #999; }

/* 结算页：折叠商品 + 展开按钮 */
.cart-expand-wrap {
  display: flex;
  justify-content: center;
  padding: 14px 0 22px;
}
.cart-expand-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #111;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cart-expand-btn:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.cart-expand-btn svg { transition: transform .2s ease; }
.cart-expand-btn.is-open svg { transform: rotate(180deg); }

/* 账号下拉：hover 宽限期间保持展开 */
.header-actions .hdr-account-wrap.is-open .hdr-menu { display: block; }

/* ===== 中等宽度（751–1200）：首页头部单行不换行 ===== */
@media (min-width: 751px) and (max-width: 1200px) {
  #area_top { padding-top: 14px; }
  #area_top .block {
    flex-wrap: nowrap;
    gap: 12px;
  }
  #area_top .logo .logo-main { font-size: 24px; letter-spacing: -1px; }
  #area_top .logo .logo-tld { font-size: 14px; }
  #area_top .searchbox {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    margin-left: 8px;
  }
  #area_top .searchbox form { width: 100%; }
  .header-actions { flex: 0 0 auto; gap: 10px; }
  .header-actions .hdr-name { max-width: 90px; }
}

/* 中等宽度导航保持单行，放不下时横向滚动 */
@media (min-width: 751px) and (max-width: 1200px) {
  .menu_main.user-menu-index > ul:first-of-type {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
  }
  .menu_main.user-menu-index > ul:first-of-type::-webkit-scrollbar { display: none; }
  .menu_main.user-menu-index > ul:first-of-type > li { flex: 0 0 auto; }
}

/* 已收藏的红心固定粉色 */
.list_goods li .wish.is-liked { color: #ff2d6b; }
.list_goods li .wish.is-liked svg path { fill: #ff2d6b; stroke: #ff2d6b; }

/* 收货地址表单：显示字段名称 */
.consignee .form-row { display: block; margin-bottom: 10px; }
.consignee .form-row .field {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
  font-weight: 600;
}
.consignee .form-row select,
.consignee .form-row input[type="text"] { width: 100%; box-sizing: border-box; }

/* 订单详情：客户填写的身材信息 */
.order-fit-size { color: #666; font-size: 13px; margin-top: 2px; }

/* 订单详情：客户填写的身材信息 */
.order-fit-size { color: #666; font-size: 13px; margin-top: 2px; }

/* 收藏列表：品牌名 + 下架商品蒙灰 */
.list_goods li .wish-brand { font-size: 14px; font-weight: 700; color: #111; margin-top: 6px; }
.list_goods li.is-off { filter: grayscale(1); opacity: .55; }

/* 收藏列表：下架商品图片中间 SOLD OUT */
.list_goods li .wish-thumb { position: relative; display: block; }
.list_goods li .wish-thumb img { display: block; }
.list_goods li .sold-out {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, .72);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 8px 14px;
  white-space: nowrap;
  pointer-events: none;
}

/* 底部操作栏：去掉左侧 40px 留白，整条拉满 */
.checkout-mobile {
  padding-left: 0 !important;
  padding-right: 0 !important;
  left: 0 !important;
  width: 100% !important;
}

/* 商品配件（鞋盒）勾选 */
.goods-fittings { display: flex; gap: 14px; align-items: flex-start; margin: 8px 0 4px; }
.goods-fittings .field { min-width: 110px; color: #767676; }
.fitting-list { display: flex; flex-direction: column; gap: 6px; }
.fitting-item { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; }
.fitting-item input { width: 16px; height: 16px; accent-color: #ff2452; }
.fitting-price { color: #ff2452; font-weight: 700; }
.fitting-note { margin: 4px 0 8px; font-size: 12px; color: #999; }

/* ===== 右下角联系我们 ===== */
.contact-fab {
  position: fixed; right: 24px; bottom: 28px;
  width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: #111; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.28); z-index: 99990; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.contact-fab:hover { background: #000; transform: translateY(-1px); }
.contact-modal { position: fixed; inset: 0; z-index: 99995; display: none; }
.contact-float.is-open .contact-modal { display: block; }
.contact-float.is-open .contact-fab { display: none; }
.contact-mask { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.contact-card {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: min(92vw, 420px); background: #fff; border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.28); overflow: hidden; padding: 6px 0;
}
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-row { display: flex; align-items: center; gap: 16px; padding: 18px 22px; text-decoration: none; color: #111; }
.contact-list li + li .contact-row { border-top: 1px solid #eee; }
.contact-ico {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 18px; font-style: normal;
}
.contact-ico-whatsapp { background: #25d366; }
.contact-ico-email    { background: #5b6bf0; }
.contact-ico-telegram { background: #229ed9; }
.contact-ico-skype    { background: #00aff0; }
.contact-ico-yahoo    { background: #6001d2; }
.contact-ico-msn      { background: #0078d4; }
.contact-label { flex: 1; font-weight: 700; font-size: 17px; }
.contact-chevron { font-size: 26px; line-height: 1; color: #111; }
.contact-close {
  position: fixed; right: 24px; bottom: 28px;
  width: 58px; height: 58px; border-radius: 50%; border: 0;
  background: #111; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.28); cursor: pointer; z-index: 99996;
}
body.contact-open { overflow: hidden; }

/* 联系按钮占了右下角，返回顶部上移 */
.back-to-top { bottom: 100px; }
@media (max-width: 750px) {
  .contact-fab, .contact-close { right: 16px; bottom: 84px; width: 52px; height: 52px; }
  .back-to-top { bottom: 148px; }
}

/* 鞋盒等配件：与 SIZE 下拉左对齐 */
.goods-fittings { align-items: center; }
.goods-fittings .field { flex: 0 0 80px; width: 80px; min-width: 80px; }
.goods-fittings .fitting-list { margin: 0 !important; flex: 1 1 auto; align-items: flex-start; }
.goods-fittings .fitting-item { margin: 0 !important; justify-content: flex-start; }
.fitting-note { padding-left: 80px; }

/* 配件行与 SIZE 下拉严格左对齐（抵消全局 div{margin:0 auto} 与 flex gap） */
.goods-fittings { gap: 0 !important; }
.goods-fittings .fitting-list { margin: 0 !important; }
.goods-fittings .fitting-check { margin: 0 !important; }


/* 商品卡片：已售数量 + 收藏数量 */
.list_goods li .price { display: inline-block; }
.list_goods li .sold-count {
  display: inline-block;
  margin-left: 8px;
  color: #767676;
  font-size: 13px;
  font-weight: 400;
  vertical-align: middle;
  white-space: nowrap;
}
.list_goods li .wish .wish-count {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 2px;
  padding: 0 5px;
  background: rgba(0, 0, 0, .75);
  color: #fff;
  font-size: 10px;
  line-height: 14px;
  font-weight: 700;
  border-radius: 7px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
}


/* 商品详情：购买明细 */
.sales-records {
  margin-top: 24px;
  border: 1px solid #ececec;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.sales-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}
.sales-title { font-size: 15px; font-weight: 700; color: #111; }
.sales-sum { font-size: 13px; color: #767676; white-space: nowrap; }
.sales-list { max-height: 320px; overflow-y: auto; padding: 2px 16px 8px; }
.sales-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed #f0f0f0;
  font-size: 14px;
}
.sales-row:last-child { border-bottom: 0; }
.sales-country { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; }
.sales-flag { font-size: 18px; line-height: 1; }
.sales-buyer { color: #767676; font-size: 13px; }
.sales-qty { min-width: 34px; text-align: right; font-weight: 700; color: #111; }
@media (max-width: 750px) {
  .sales-list { max-height: 280px; }
}

.sales-date {
  min-width: 84px;
  text-align: right;
  color: #999;
  font-size: 12px;
  white-space: nowrap;
}
@media (max-width: 750px) {
  .sales-date { min-width: 72px; font-size: 11px; }
}


/* 分类页侧栏：Sub-Categories */
.page_left .cat-sub-head {
  display: block;
  margin: 10px 0 2px;
}
.page_left .cat-sub-head b {
  color: #767676;
  font-size: 16px;
  font-weight: 700;
}
.page_left .ukcat.subcat li a {
  color: #524e4e;
  font-size: 11px;
  font-weight: 550;
}
.page_left .ukcat.subcat li a:hover {
  color: #ff2300;
  background: #f7f7f7;
}

.page_left .ukcat.subcat li.is-current > a,
.page_left .ukcat.subcat li.is-current > a b {
  color: #ff2300;
}

/* 下拉菜单：商品数前 20 的分类，字号 +1、颜色加深 */
.menu_main.user-menu-index .sub-cat > li.top-cat > a,
.menu_main.user-menu-index .sub-cat > li.top-cat > a > .nm {
  color: #000;
  font-size: 15px;
  font-weight: 600;
}


/* 分类页分页：左右大箭头 + 当前页同步 */
.pagebar.cat-pager {
  position: relative;
  padding-left: 72px;
  padding-right: 156px;
}
.cat-page-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #111;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  z-index: 2;
}
.cat-page-arrow.cat-page-prev { left: 0; }
.cat-page-arrow.cat-page-next { right: 0; }
.cat-page-arrow:hover:not(:disabled) {
  background: #ff2300;
  border-color: #ff2300;
  color: #fff;
}
.cat-page-arrow:disabled {
  opacity: .35;
  cursor: default;
}
@media (max-width: 750px) {
  .pagebar.cat-pager { padding-left: 54px; padding-right: 120px; }
  .cat-page-arrow { width: 42px; height: 42px; font-size: 28px; }
}


/* 分类页分页：页码数字样式 */
.pagebar.cat-pager .cat-page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 8px 6px 0;
  vertical-align: middle;
  max-width: 100%;
}
.pagebar.cat-pager .cat-page-numbers a,
.pagebar.cat-pager .cat-page-numbers .page_now,
.pagebar.cat-pager .cat-page-numbers .cat-page-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 3px;
  background: #f3f3f3;
  color: #333;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  border-radius: 3px;
}
.pagebar.cat-pager .cat-page-numbers a:hover {
  background: #ffe8e3;
  color: #ff2300;
}
.pagebar.cat-pager .cat-page-numbers .page_now {
  background: #ff2300;
  color: #fff;
  font-weight: 700;
}
.pagebar.cat-pager .cat-page-numbers .cat-page-dots {
  background: transparent;
  color: #999;
}
.cat-page-arrow.is-disabled {
  opacity: .35;
  pointer-events: none;
  cursor: default;
}


/* 分类页分页：右侧箭头避开返回顶部/WhatsApp 浮动按钮 */
.pagebar.cat-pager .cat-page-arrow.cat-page-next { right: 76px; }
@media (max-width: 750px) {
  .pagebar.cat-pager .cat-page-arrow.cat-page-next { right: 70px; }
}

/* 分类页分页：隐藏跳页输入框，避免与右侧箭头重叠 */
.pagebar.cat-pager form { display: none; }


/* YOU MAY ALSO LIKE：换一批 */
#youMayAlsoLike .rec-refresh-item {
  background: #f7f7f7;
  border: 1px dashed #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  box-sizing: border-box;
}
#youMayAlsoLike .rec-refresh {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 300px;
  color: #767676;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .5px;
}
#youMayAlsoLike .rec-refresh:hover { color: #ff2300; }
#youMayAlsoLike .rec-refresh-icon { display: flex; }
#youMayAlsoLike .rec-refresh-icon svg { width: 54px; height: 54px; }
#youMayAlsoLike .rec-refresh-sub {
  font-size: 11px;
  color: #999;
  text-transform: none;
  letter-spacing: 0;
}
#youMayAlsoLike .rec-refresh.is-loading { opacity: .5; pointer-events: none; }
@media (max-width: 750px) {
  #youMayAlsoLike .rec-refresh-item,
  #youMayAlsoLike .rec-refresh { min-height: 200px; }
  #youMayAlsoLike .rec-refresh-icon svg { width: 42px; height: 42px; }
}
