.main-layout {
  max-width: 1400px;
  margin: 0 auto 80px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #ddcdae;
}
.left-main-column {
  width: 100%;
}
/* 主卡片 - 关键：不裁剪下拉菜单 */
.column-card {
  background: #fffef5;

  overflow: visible !important;

}
.calculator-header {
  padding: 2rem 2rem 1.6rem;
  text-align: center;
  border-bottom: 5px solid #e7b874;
}
.calculator-header h1 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #e87a6f;
  margin-bottom: 20px;
}
.calculator-desc {
  font-size: 0.9rem;
  color: #e87a6f;
  padding: 0.3rem 1rem;
  border-radius: 40px;
}
.tab-bar {
  display: flex;
  gap: 0.8rem;
  padding: 1.6rem 2rem 0 2rem;
  background: #fffaf0;
}
.tab-btn {
  font-size: 1.1rem;
  font-weight: 800;
  padding: 0.7rem 1.8rem;
  border: none;
  background: #e8dec8;
  border-radius: 60px 60px 30px 30px;
  cursor: pointer;
  transition: 0.25s;
  color: #5c432c;
}
/* 激活状态样式 */
.tab-pet-active {
  background: linear-gradient(135deg, #e48a6f, #f2c48d);
  color: #fff;
  box-shadow: 0 6px 12px rgba(200, 100, 70, 0.3);
  transform: translateY(-2px);
}
/* 非激活状态样式（保持默认） */
.tab-item-active {
  background: #e8dec8;
  color: #5c432c;
  transform: none;
  box-shadow: none;
}
.global-search {
  padding: 1.2rem 2rem 0.6rem 2rem;
}
.search-input {
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  background: #fffef7;
  border: 2px solid #e8d9be;
  border-radius: 80px;
  outline: none;
  transition: all 0.2s ease;
}
/* 搜索框聚焦样式增强 */
.search-input:focus {
  border-color: #df9f7a;
  box-shadow: 0 0 0 4px rgba(223, 159, 122, 0.3);
  background-color: #ffffff;
  transform: scale(1.01);
}
.filter-container {
  padding: 0.5rem 2rem 0.2rem 2rem;
  background: #fef8ec;
  border-bottom: 1px solid #eedfc4;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}
.filter-label {
  flex: 0 0 80px;
  font-weight: 800;
  font-size: 0.8rem;
  background: #e9ddc7;
  border-radius: 40px;
  text-align: center;
  padding: 6px 0;
  color: #4d341b;
}
.btn-group {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-btn {
  background: #f3ecdb;
  border: none;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6e543a;
  cursor: pointer;
  transition: 0.15s;
  min-width: 64px;
}
.filter-btn-active {
  background: linear-gradient(115deg, #df8f6b, #eeaf7a) !important;
  color: #fff !important;
  font-weight: 800;
}
/* 排序栏 */
.sort-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 0.9rem 2rem;
  background: #fff7ea;
  border-bottom: 1px solid #eedfc4;
}
.sort-label {
  font-weight: 800;
  font-size: 0.8rem;
  color: #694e2c;
  background: #e9ddc7;
  padding: 4px 12px;
  border-radius: 30px;
}
.reset-sort {
  background: #dac08a;
  border: none;
  padding: 6px 18px;
  border-radius: 30px;
  font-weight: 800;
  color: #2f2416;
  cursor: pointer;
  margin-left: auto;
}
/* 模拟下拉菜单 - 修复遮挡 */
.custom-select {
  position: relative;
  display: inline-block;
  width: 160px;
  font-size: 0.8rem;
  font-weight: 600;
}
.custom-select-trigger {
  background: #ffffff;
  border: 1px solid #dac9a8;
  border-radius: 40px;
  padding: 5px 24px 5px 16px;
  color: #694e2c;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.custom-select-trigger::after {
  content: "▼";
  font-size: 0.7rem;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #8b6a48;
}
.custom-select-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fffef5;
  border: 1px solid #dac9a8;
  border-radius: 16px;
  max-height: 250px;
  overflow-y: auto;
  z-index: 10000;
  display: none;
  margin-top: 2px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.custom-select-options div {
  padding: 8px 16px;
  cursor: pointer;
  color: #6e543a;
}
.custom-select-options div:hover {
  background: #e7d7bb;
}
.custom-select-options div.selected {
  background: #df8f6b;
  color: white;
  font-weight: bold;
}
.custom-select.disabled .custom-select-trigger {
  background: #e0d5c0;
  color: #9b8264;
  cursor: not-allowed;
}
.filter-group,
.sort-attr-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
/* 卡片网格 */
.card-wrap {
  padding: 2rem;
  background: rgba(253, 248, 235, 0.6);
  overflow: hidden;
}
.data-card {
  width: 31.33333333%;
  background: #fffff7;
  border-radius: 32px;
  box-shadow: 0 18px 32px -12px rgba(55, 35, 15, 0.2);
  border: 1px solid #ede0c6;
  float: left;
  margin:0 1%;
  margin-bottom: 28px;
}
.card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.2rem 0.6rem;
  border-bottom: 2px solid #f2e6d2;
}
.card-img {
  width: 64px;
  height: 64px;
  background: radial-gradient(circle at 30% 25%, #f1e5d0, #e2cfaf);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}
.card-img img{
  max-height:60px;
}
.card-name {
  font-size: 1.35rem;
  font-weight: 800;
  background: linear-gradient(135deg, #bd6e4b, #d6905e);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  color:#e87a6f;
}
.card-shop {
  font-size:14px;
  color: #b79564;
  margin-top: 5px;
  background: #f9efdf;
  padding: 0.1rem 0.7rem;
  border-radius: 30px;
  display: inline-block;
}
.card-price {
  background: #f9efdf;
  margin: 0.8rem 1.2rem 0.4rem;
  padding: 0.5rem 0.8rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.2rem;
  color: #ca6a45;
  text-align: center;
}
.card-price::before {
  content: "🪙 ";
}
.card-attrs {
  font-size: 14px;
  line-height: 1.65;
  padding: 0 1.2rem;
  background: #fefbf2;
  color: #5c4832;
  height:95px;
  overflow: hidden;
}
.card-time {
  font-size: 12px;
  color: #b69462;
  text-align: right;
  padding: 0.5rem 1.2rem 1rem;
  border-top: 1px dashed #ece0ca;
}
@media (max-width: 820px) {
  .data-card {
    width: 100%;
    margin-right: 0;
  }
  .tab-bar,
  .global-search,
  .filter-container,
  .sort-group {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
/* 滚动条整体宽度 */
.custom-select-options::-webkit-scrollbar {
    width: 6px;          /* 垂直滚动条宽度 */
    height: 6px;         /* 水平滚动条高度 */
}

/* 滚动条轨道 */
.custom-select-options::-webkit-scrollbar-track {
    background: #f0e7d8;   /* 轨道背景色（与网站色调搭配） */
    border-radius: 10px;
}

/* 滚动条滑块（可拖动的部分） */
.custom-select-options::-webkit-scrollbar-thumb {
    background: #c2a36b;   /* 滑块颜色（棕色系） */
    border-radius: 10px;
}

/* 滑块 hover 效果 */
.custom-select-options::-webkit-scrollbar-thumb:hover {
    background: #a8824a;
}

/* 可选：滚动条角落（两个滚动条交汇处） */
.custom-select-options::-webkit-scrollbar-corner {
    background: #f0e7d8;
}

.card-img .no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #e2cfaf;
    color: #8b6a48;
    font-size:22px;
    border-radius: 50%;
    text-align: center;
}

.pagination-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.page-btn {
    background: #f3ecdb;
    border: 1px solid #dac9a8;
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #694e2c;
    cursor: pointer;
    transition: 0.2s;
}
.page-btn.active {
    background: linear-gradient(115deg, #df8f6b, #eeaf7a);
    color: white;
    border-color: #bf784e;
}
.page-btn:hover:not(:disabled) {
    background: #e7d7bb;
    transform: translateY(-1px);
}
.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-jump {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}
.page-jump input {
    width: 60px;
    padding: 4px 6px;
    border: 1px solid #dac9a8;
    border-radius: 20px;
    text-align: center;
    font-size: 0.8rem;
}
.page-ellipsis {
    padding: 0 4px;
    color: #694e2c;
}

.card-attrs span{
  display:inline-block;
  width:24%;
}
.card-attrs span i{
  font-style: normal;
}

.card-attrs-con{
  width:100%;
  overflow: hidden;
}
.card-attrs-con-left{
  float:left;
  width:50%;
}
.card-attrs-con-right{
  float:left;
  width:50%;
}
.card-attrs-con span{
  width:100%;
}
.card-attrs.active{
  height:170px;
}


