/* 列表页 — 暖石通栏，区别于青绿左右栏 */
.at-list {
  padding: 18px 0 56px;
  color: var(--ink, #2a2420);
}
.at-list a { text-decoration: none; }
.at-list img { max-width: 100%; height: auto; vertical-align: top; }
.at-list ul { margin: 0; padding: 0; list-style: none; }

.at-crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--muted, #7a6f66);
}
.at-crumb > a { color: var(--muted, #7a6f66) !important; }
.at-crumb > a:hover { color: var(--wood, #5c3d2e) !important; }
.at-crumb .search-path { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.at-crumb .litt-xyb {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 1px solid #b6a99c;
  border-right: 1px solid #b6a99c;
  transform: rotate(45deg);
}
.at-crumb .havedox { position: relative; }
.at-crumb .disenk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line, #e0d5c8);
  border-radius: 8px;
  background: #fff;
  color: var(--ink, #2a2420);
  cursor: pointer;
}
.at-crumb .disenk a { color: inherit !important; }
.at-crumb .litt-xxd {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #b6a99c;
}
.at-crumb .hovshz {
  display: none;
  position: absolute;
  left: 0;
  top: 32px;
  z-index: 20;
  min-width: 160px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line, #e0d5c8);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(42, 36, 32, 0.08);
}
.at-crumb .havedox:hover .hovshz { display: block; }
.at-crumb .hovshz a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink, #2a2420) !important;
  font-size: 13px;
}
.at-crumb .hovshz a:hover { background: var(--sand, #efe6da); color: var(--wood, #5c3d2e) !important; }
.at-crumb .u-av-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--sand, #efe6da);
  color: var(--wood, #5c3d2e) !important;
  font-size: 12px;
}
.at-crumb .u-av-label i { font-style: normal; font-weight: 700; }
.at-crumb .search-clear a { color: var(--copper, #c17a4a) !important; font-size: 13px; }

.at-filter {
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid var(--line, #e0d5c8);
  border-radius: 12px;
  overflow: hidden;
}
.at-filter .opt-list { padding: 4px 0; }
.at-filter .brand-section {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
  padding: 12px 20px;
  border-bottom: 1px solid #f3ece4;
}
.at-filter .brand-section:last-of-type { border-bottom: 0; }
.at-filter .brand-section dt {
  flex: 0 0 72px;
  padding-top: 6px;
  color: var(--muted, #7a6f66);
  font-size: 13px;
  font-weight: 700;
}
.at-filter .ri-section {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.at-filter .lf-list { flex: 1; max-height: 40px; overflow: hidden; }
.at-filter .lf-list.ov-inh,
.at-filter .ov-inh { max-height: none; overflow: visible; }
.at-filter .clearfix { display: flex; flex-wrap: wrap; gap: 8px; }
.at-filter .clearfix:after { content: none; }
.at-filter .brand-list a,
.at-filter .brand-box a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line, #e0d5c8);
  border-radius: 8px;
  background: #fff;
  color: var(--ink, #2a2420) !important;
  font-size: 13px;
  line-height: 30px;
}
.at-filter .brand-box a img { width: 48px; height: 20px; object-fit: contain; }
.at-filter .brand-list a:hover,
.at-filter .brand-box a:hover,
.at-filter .red_hov_cli,
.at-filter .addhover-js {
  border-color: var(--wood, #5c3d2e) !important;
  background: var(--sand, #efe6da);
  color: var(--wood, #5c3d2e) !important;
}
.at-filter .litt-zd {
  display: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper, #c17a4a);
}
.at-filter .addhover-js .litt-zd { display: inline-block; }
.at-filter .lr-more {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
  white-space: nowrap;
}
.at-filter .lr-more a,
.at-filter .moreamore a { color: var(--wood, #5c3d2e) !important; font-size: 13px; }
.at-filter .lr-more i,
.at-filter .litt-tcr,
.at-filter .litt-pluscr { display: none; }
.at-filter .surclofix { display: none; width: 100%; margin-top: 10px; gap: 8px; }
.at-filter .sum_ov_inh .lf-list { max-height: none; overflow: visible; }
.at-filter .sum_ov_inh .surclofix { display: flex; }
.at-filter .u-confirm,
.at-filter .u-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13px;
}
.at-filter .u-confirm {
  background: #e8ddd0;
  color: #9a8c80 !important;
  pointer-events: none;
}
.at-filter .u-confirm01 {
  background: var(--wood, #5c3d2e);
  color: #fff !important;
  pointer-events: auto;
}
.at-filter .u-cancel {
  border: 1px solid var(--line, #e0d5c8);
  background: #fff;
  color: var(--muted, #7a6f66) !important;
}
.at-filter .moreamore {
  margin: 0;
  padding: 10px 20px 14px;
  text-align: center;
  border-top: 1px solid #f3ece4;
}
.at-filter .lr-more form {
  display: flex;
  align-items: center;
  gap: 6px;
}
.at-filter .lr-more input[type="text"] {
  width: 64px;
  height: 30px;
  border: 1px solid var(--line, #e0d5c8);
  border-radius: 8px;
  text-align: center;
  outline: none;
}
.at-filter .lr-more input[type="submit"] {
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: var(--wood, #5c3d2e);
  color: #fff;
  cursor: pointer;
}

.at-hotbar {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: var(--sand, #efe6da);
  border-radius: 12px;
}
.at-hotbar h3 {
  flex: 0 0 28px;
  margin: 0;
  writing-mode: vertical-rl;
  letter-spacing: 0.2em;
  font-size: 13px;
  color: var(--wood, #5c3d2e);
}
.at-hotbar-list {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.at-hotbar-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  background: #fff;
  border-radius: 8px;
}
.at-hotbar-item .xs_img {
  width: 72px;
  height: 72px;
  background: #faf7f2;
  border-radius: 8px;
  overflow: hidden;
}
.at-hotbar-item .xs_img a { display: block; width: 100%; height: 100%; }
.at-hotbar-item .xs_img img { width: 100%; height: 100%; object-fit: contain; }
.at-hotbar-item .shop_name2 {
  height: auto;
  white-space: normal;
}
.at-hotbar-item .shop_name2 a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink, #2a2420) !important;
}
.at-hotbar-item .price-tag { margin-top: 6px; color: var(--copper, #c17a4a); font-weight: 700; }
.at-hotbar-item .old { display: none; }

.at-sort {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 8px 10px 8px 8px;
  background: var(--wood, #5c3d2e);
  border-radius: 12px;
  color: #fff;
}
.at-sort .f-sort ul { display: flex; gap: 4px; }
.at-sort .f-sort a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 13px;
}
.at-sort .f-sort li.red a,
.at-sort .f-sort a:hover {
  background: #fff;
  color: var(--wood, #5c3d2e) !important;
}
.at-sort .f-total {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}
.at-sort .all-sec span { color: #fff; font-weight: 700; margin: 0 2px; }
.at-sort .all-fy { display: flex; align-items: center; gap: 8px; }
.at-sort .all-fy a { color: #fff !important; }
.at-sort .fy-y { margin: 0; }
.at-sort .litt-zzx1,
.at-sort .litt-zzx2,
.at-sort .litt-zzx3 {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 5px solid currentColor;
}
.at-sort .litt-zzx2 { transform: none; }
.at-sort .litt-zzx3 { transform: rotate(180deg); }

.at-goods {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  clear: both;
  float: none;
}
.at-goods::before,
.at-goods::after {
  content: none !important;
  display: none !important;
}
.at-goods > *:not(.at-goods-item) {
  display: none !important;
}
.at-goods-item {
  flex: 0 0 calc((100% - 48px) / 4);
  width: calc((100% - 48px) / 4);
  max-width: calc((100% - 48px) / 4);
  min-width: 0;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line, #e0d5c8);
  border-radius: 12px;
}
.at-goods .s_xsall {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px;
}
.at-goods .xs_img {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  background: #faf7f2;
  border-radius: 8px;
  overflow: hidden;
}
.at-goods .xs_img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  position: static;
}
.at-goods .xs_slide { margin: 8px 0 0; }
.at-goods .xs_slide:not(:has(li)) { display: none; }
.at-goods .small-xs-shop { overflow: hidden; }
.at-goods .small-xs-shop ul {
  display: flex;
  gap: 6px;
  overflow: auto;
  margin: 0;
  padding: 0;
}
.at-goods .small-xs-shop li {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line, #e0d5c8);
  border-radius: 6px;
  overflow: hidden;
  float: none;
}
.at-goods .small-xs-shop li.bored { border-color: var(--wood, #5c3d2e); }
.at-goods .small-xs-shop img { width: 100%; height: 100%; object-fit: cover; }
.at-goods .price-tag { margin: 10px 0 4px; color: var(--copper, #c17a4a); font-size: 20px; font-weight: 700; }
.at-goods .price-tag .li_xfo { font-size: 12px; }
.at-goods .shop_name2 {
  height: auto;
  white-space: normal;
}
.at-goods .shop_name2 a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink, #2a2420) !important;
}
.at-goods .J_btn_statu {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  overflow: visible;
}
.at-goods .p-num {
  display: flex;
  align-items: stretch;
  float: none;
  width: 112px;
  height: 34px;
  margin: 0;
  border: 1px solid var(--line, #e0d5c8);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.at-goods .J_input_val {
  display: block;
  float: none;
  flex: 1;
  width: 48px;
  min-width: 0;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  outline: none;
  font-size: 13px;
  line-height: 34px;
  box-sizing: border-box;
}
.at-goods .p-num .litt-zzyl1,
.at-goods .p-num .litt-zzyl2 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 34px;
  margin: 0;
  overflow: hidden;
  color: var(--wood, #5c3d2e) !important;
  font-size: 16px;
  line-height: 34px;
  text-indent: 0;
  background: var(--ivory, #f7f3ee) !important;
  background-image: none !important;
}
.at-goods .p-num .litt-zzyl2 { border-right: 1px solid var(--line, #e0d5c8); }
.at-goods .p-num .litt-zzyl1 { border-left: 1px solid var(--line, #e0d5c8); }
.at-goods .litt-zzyl1:before { content: "+"; }
.at-goods .litt-zzyl2:before { content: "−"; }
.at-goods .litt-zzyl1:after,
.at-goods .litt-zzyl2:after { content: none; }
.at-goods .p-btn {
  flex: 1;
  float: none;
  width: auto;
  height: auto;
  min-width: 0;
}
.at-goods .p-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 32px;
  background: var(--wood, #5c3d2e);
  color: #fff !important;
  border-radius: 8px;
  font-size: 13px;
}
.at-goods .p-btn a:hover { background: var(--copper, #c17a4a); }
.at-empty {
  grid-column: 1 / -1;
  padding: 48px 16px;
  text-align: center;
  color: var(--muted, #7a6f66);
  border: 1px dashed var(--line, #e0d5c8);
  border-radius: 12px;
  background: #fff;
}

.at-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  font-size: 13px;
}
.at-pager-info { color: var(--muted, #7a6f66); }
.at-pager .pagination { display: flex; gap: 6px; flex-wrap: wrap; }
.at-pager .pagination a,
.at-pager .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--line, #e0d5c8);
  border-radius: 8px;
  background: #fff;
  color: var(--ink, #2a2420) !important;
}
.at-pager .pagination .current,
.at-pager .pagination a:hover {
  background: var(--wood, #5c3d2e);
  border-color: var(--wood, #5c3d2e);
  color: #fff !important;
}

.at-like { margin-top: 40px; }
.at-like-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line, #e0d5c8);
  font-size: 18px;
  font-weight: 600;
}
.at-like-head .update_h {
  font-size: 13px;
  font-weight: 400;
  color: var(--copper, #c17a4a);
  cursor: pointer;
}
.at-like .ul-li-column {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.at-like .ul-li-column li {
  background: #fff;
  border: 1px solid var(--line, #e0d5c8);
  border-radius: 12px;
  overflow: hidden;
}
.at-like .pad { padding: 10px; }
.at-like .pad img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #faf7f2;
  border-radius: 8px;
}
.at-like .shop_name2 { margin: 8px 0 4px; }
.at-like .shop_name2 a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
  font-size: 13px;
  color: var(--ink, #2a2420) !important;
}
.at-like .price-tag { color: var(--copper, #c17a4a); font-weight: 700; }

@media (max-width: 1199px) {
  .at-goods-item {
    flex-basis: calc((100% - 32px) / 3);
    width: calc((100% - 32px) / 3);
    max-width: calc((100% - 32px) / 3);
  }
}
@media (max-width: 991px) {
  .at-hotbar { flex-direction: column; }
  .at-hotbar h3 { writing-mode: horizontal-tb; letter-spacing: 0.1em; }
  .at-hotbar-list { grid-template-columns: 1fr; }
  .at-sort { flex-wrap: wrap; }
  .at-goods-item {
    flex-basis: calc((100% - 16px) / 2);
    width: calc((100% - 16px) / 2);
    max-width: calc((100% - 16px) / 2);
  }
  .at-like .ul-li-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .at-goods-item {
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
  }
  .at-like .ul-li-column { grid-template-columns: 1fr; }
}
