/*.firstgroup_box,*/
/*.secondgroup_box {*/
/*  min-height: 30px;*/
/*  padding: 10px 20px;*/
/*  background-color: #fff;*/
/*  -webkit-box-shadow: 0px 0px 40px rgb(29 58 83 / 10%) !important;*/
/*  box-shadow: 0px 0px 40px rgb(29 58 83 / 10%) !important;*/
/*  border-radius: var(--bs-btn-border-radius);*/
/*}*/

/*.firstgroup_box .firstgroup_box_prov,*/
/*.secondgroup_box .secondgroup_box_area {*/
/*  color: #b074d1;*/
/*  display: inline-block;*/
/*  min-width: 60px;*/
/*}*/

/*.firstgroup_box .firstgroup_box_group,*/
/*.secondgroup_box .secondgroup_box_group {*/
/*  width: 100%;*/
  /* display: grid;
    grid-template-columns: repeat(auto-fit, 110px);
    gap: 10px 0; */
/*}*/

/*.firstgroup_box .firstgroup_item,*/
/*.secondgroup_box .secondgroup_item,*/
/*.pro_box .pro_item {*/
/*  height: 70px;*/
/*  box-shadow: 0px 4px 15px 1px rgba(6, 75, 179, 0.06);*/
/*  border-radius: 1px;*/
/*  border: solid 2px var(--bs-global-o-2);*/
/*  margin-left: -1px;*/
/*  float: left;*/
/*  margin-bottom: 3px;*/
/*}*/

/*.firstgroup_box .firstgroup_item.active,*/
/*.firstgroup_box .firstgroup_item:hover,*/
/*.secondgroup_box .secondgroup_item.active,*/
/*.secondgroup_box .secondgroup_item:hover,*/
/*.pro_box .pro_item.active,*/
/*.pro_box .pro_item:hover {*/
/*  background-color: #b074d121;*/
/*  border-color: var(--white);*/
/*  box-shadow: 0 4px 15px 1px rgba(6, 75, 179, 0.06);*/
/*  border-radius: 1px;*/
/*  color: var(--primary);*/
/*}*/
/*.firstgroup_box a,*/
/*.secondgroup_box a,*/
/*.pro_box a,*/
/*.firstgroup_box .firstgroup_item,*/
/*.secondgroup_box .secondgroup_item,*/
/*.pro_box .pro_item {*/
/*  color: #495057;*/
  /*min-width: 120px;*/
/*  padding: 0 12px;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
  /*overflow: hidden;*/
/*  white-space: nowrap;*/
/*  text-overflow: ellipsis;*/
/*  font-size: 12px;*/
/*}*/
/*.firstgroup_box a:hover,*/
/*.secondgroup_box a:hover,*/
/*.pro_box a:hover,*/
/*.firstgroup_box .firstgroup_item:hover a,*/
/*.secondgroup_box .secondgroup_item:hover a,*/
/*.pro_box .pro_item:hover a {*/
/*  color: var(--primary);*/
/*}*/


.firstgroup_box a, .secondgroup_box a, .pro_box a, .firstgroup_box .firstgroup_item, .secondgroup_box .secondgroup_item, .pro_box .pro_item {
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-radius: var(--bs-btn-border-radius);
    margin: 0.2em 0.3em;
    /*color: inherit;*/
    /*font-size: 14px;*/
    /*width: 100%;*/
}

.firstgroup_box .firstgroup_item.active, .firstgroup_box .firstgroup_item:hover, .secondgroup_box .secondgroup_item.active, .secondgroup_box .secondgroup_item:hover, .pro_box .pro_item.active, .pro_box .pro_item:hover {
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-radius: var(--bs-btn-border-radius);
    margin: 0.2em 0.3em;
}

.yy-stellar{
    right: 4px;
    top: -18px;
    width: 0;
    height: 0;
    color: var(--yellow);
    position: relative;
    transform-origin: 6px 6px;
} 

.yy-img-w{
    height: 48px;
}
.yy-img-w-2{
    height: 72px;
}

.yy-border-l-2{
    border-left:solid 2px;
}

.yy-bth-text-a{
}

.yy-bth-text-b{
    margin: -6px 0 6px 0 !important;
}

.yy-bth-text{
    font-family: 'DingTalk JinBuTi';
}

.yy-bth{
    width: 306px;
}

.yy-bl{
    background-color: var(--primary);
    border-radius: 1em;
    margin-right: 0.5rem;
    padding-left: 0.25rem;
}

.unfold {
    color: #999 !important;
    font-size: 90% !important;
}

.unfold:hover {
    color: var(--bs-btn-active-border-color) !important;
}

.cart-num {
    font-family: DINCondensed-Bold;
    font-size: 22px;
}

@media (max-width: 576px) {
.firstgroup_item,.secondgroup_item{
    min-width:auto!important;
    padding:0;
    }
}

.w-0 {
    width: 0 !important;
}

.fs-24 {
    font-size: 24px !important;
}

.fs-32 {
    font-size: 32px !important;
}

@media (min-width: 1600px) {
  .col-xxl {
      
  }
}

@media (min-width: 1600px) {
  .col-xxl {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
  }
  .row-cols-xxl-1 > * {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .row-cols-xxl-2 > * {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .row-cols-xxl-3 > * {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.33333%;
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
  }
  .row-cols-xxl-4 > * {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
  .row-cols-xxl-5 > * {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
  .row-cols-xxl-6 > * {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 16.66667%;
    flex: 0 0 16.66667%;
    max-width: 16.66667%;
  }
  .col-xxl-auto {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }
  .col-xxl-1 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 8.33333%;
    flex: 0 0 8.33333%;
    max-width: 8.33333%;
  }
  .col-xxl-2 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 16.66667%;
    flex: 0 0 16.66667%;
    max-width: 16.66667%;
  }
  .col-xxl-3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-xxl-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.33333%;
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
  }
  .col-xxl-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 41.66667%;
    flex: 0 0 41.66667%;
    max-width: 41.66667%;
  }
  .col-xxl-6 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-xxl-7 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 58.33333%;
    flex: 0 0 58.33333%;
    max-width: 58.33333%;
  }
  .col-xxl-8 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 66.66667%;
    flex: 0 0 66.66667%;
    max-width: 66.66667%;
  }
  .col-xxl-9 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-xxl-10 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 83.33333%;
    flex: 0 0 83.33333%;
    max-width: 83.33333%;
  }
  .col-xxl-11 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 91.66667%;
    flex: 0 0 91.66667%;
    max-width: 91.66667%;
  }
  .col-xxl-12 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .order-xxl-first {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
  }
  .order-xxl-last {
    -webkit-box-ordinal-group: 14;
    -ms-flex-order: 13;
    order: 13;
  }
  .order-xxl-0 {
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 0;
    order: 0;
  }
  .order-xxl-1 {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }
  .order-xxl-2 {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }
  .order-xxl-3 {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
  }
  .order-xxl-4 {
    -webkit-box-ordinal-group: 5;
    -ms-flex-order: 4;
    order: 4;
  }
  .order-xxl-5 {
    -webkit-box-ordinal-group: 6;
    -ms-flex-order: 5;
    order: 5;
  }
  .order-xxl-6 {
    -webkit-box-ordinal-group: 7;
    -ms-flex-order: 6;
    order: 6;
  }
  .order-xxl-7 {
    -webkit-box-ordinal-group: 8;
    -ms-flex-order: 7;
    order: 7;
  }
  .order-xxl-8 {
    -webkit-box-ordinal-group: 9;
    -ms-flex-order: 8;
    order: 8;
  }
  .order-xxl-9 {
    -webkit-box-ordinal-group: 10;
    -ms-flex-order: 9;
    order: 9;
  }
  .order-xxl-10 {
    -webkit-box-ordinal-group: 11;
    -ms-flex-order: 10;
    order: 10;
  }
  .order-xxl-11 {
    -webkit-box-ordinal-group: 12;
    -ms-flex-order: 11;
    order: 11;
  }
  .order-xxl-12 {
    -webkit-box-ordinal-group: 13;
    -ms-flex-order: 12;
    order: 12;
  }
  .offset-xxl-0 {
    margin-left: 0;
  }
  .offset-xxl-1 {
    margin-left: 8.33333%;
  }
  .offset-xxl-2 {
    margin-left: 16.66667%;
  }
  .offset-xxl-3 {
    margin-left: 25%;
  }
  .offset-xxl-4 {
    margin-left: 33.33333%;
  }
  .offset-xxl-5 {
    margin-left: 41.66667%;
  }
  .offset-xxl-6 {
    margin-left: 50%;
  }
  .offset-xxl-7 {
    margin-left: 58.33333%;
  }
  .offset-xxl-8 {
    margin-left: 66.66667%;
  }
  .offset-xxl-9 {
    margin-left: 75%;
  }
  .offset-xxl-10 {
    margin-left: 83.33333%;
  }
  .offset-xxl-11 {
    margin-left: 91.66667%;
  }
}

.visible {
  visibility: visible !important;
}
.invisible {
  visibility: hidden !important;
}

/* 全局布局和边距优化 */
.card {
    margin-bottom: 20px;
    border-radius: 4px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    background-color: transparent;
    border: none;
}

.card-body {
    padding: 15px;
}

.row {
    margin-left: -10px;
    margin-right: -10px;
}

.row > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

/* 表单元素间距优化 */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    margin-bottom: 10px;
}

/* 按钮间距优化 */
.btn {
    /*margin: 5px;*/
   /*cursor: pointer;*/
}

.btn:first-child {
    margin-left: 0;
}

.btn:last-child {
    margin-right: 0;
}

/* 分页器居中对齐 */
.table-footer {
    text-align: center;
    padding: 20px 0;
}

.pagination {
    justify-content: center;
    margin: 0;
}

/* 响应式布局优化 */
@media (max-width: 768px) {
    .card-body {
        padding: 15px;
    }
    
    .row {
        margin-left: -5px;
        margin-right: -5px;
    }
    
    .row > [class*="col-"] {
        padding-left: 5px;
        padding-right: 5px;
        margin-bottom: 15px;
    }
    
    .btn {
       /* width: 100%;*/
        margin: 5px 0;
    }
}

/* 产品页面样式优化 */
.product-sold-out {
    position: absolute;
    top: -40px;
    right: 20px;
    width: 50px;
}

.product-price {
    color: #0D65D8 !important;
    font-weight: 600;
    font-size: 20px;
    font-family: inherit;
}

.product-trial-price {
    color: #000 !important;
    font-size: 12px !important;
    font-family: inherit !important;
    margin-top: 2px !important;
}

/* 价格布局：主价格左对齐，试用价别右对齐 */
.price-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.price-info-row .product-trial-price {
  text-align: right;
  margin-top: 0 !important;
}

.product-original-price {
    color: #999 !important;
    font-size: 14px;
    font-family: inherit;
}

/* 商品卡片标题样式 */
.cartitem h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #0D65D8 !important;
}

.product-footer {
    border: none !important;
    padding: 0px 18px 12px 18px !important;
    background-color: #FFFFFF !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-sold-out-link {
    display: block;
    width: 100%;
    padding: 12px 20px;
    cursor: not-allowed !important;
    color: #FFFFFF !important;
    text-decoration: none;
    background-color: #999999 !important;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    border: none;
    box-sizing: border-box;
}

.product-sold-out-link:hover {
    color: #FFFFFF !important;
    text-decoration: none;
    background-color: #999999 !important;
    cursor: not-allowed !important;
}

.cartitem {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.cartitem:hover,
.cartitem.active {
    border-color: #0D65D8;
    box-shadow: 0 8px 25px rgba(13, 101, 216, 0.15);
    transform: translateY(-2px);
}

.cartitem .card-footer a {
    display: block;
    padding: 12px 20px;
    color: #0D65D8;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cartitem .card-footer a:hover {
    background: linear-gradient(135deg, #0D65D8 0%, #219FFA 100%);
    color: white;
    text-decoration: none;
}

/* 订单摘要页面样式优化 */
.order-summary-actions {
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    margin-top: 20px;
}

.order-summary-actions .btn {
    min-width: 150px;
    padding: 10px 20px;
    font-weight: 500;
}

.ordersummary {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.ordersummary td {
    padding: 12px 15px !important;
    vertical-align: middle;
}

.ordersummary tr:nth-child(even) {
    background-color: #f8f9fa;
}

.mobile-bottom-total {
    background: linear-gradient(135deg, #0D65D8 0%, #219FFA 100%) !important;
    box-shadow: 0 -2px 10px rgba(13, 101, 216, 0.2);
}

.mobile-bottom-total .btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}

.mobile-bottom-total .btn:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
}

/* 购物车项目样式优化 */
.cart-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.cart-item:hover {
    box-shadow: 0 4px 12px rgba(13, 101, 216, 0.1);
    border-color: #0D65D8;
}

.cart-item .goods_info {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 10px;
    margin: 10px 0;
}

.cart-item .goods_info .title {
    color: #0D65D8;
    font-weight: 500;
}

.cart-item .goods_info .info {
    font-size: 13px;
    color: #666;
    margin: 5px 0;
}

.cart-item .goods_info .info font {
    color: #219FFA;
    font-weight: 500;
}

.cart_qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart_qty input[type="number"] {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 8px;
    text-align: center;
}

.cart_qty input[type="number"]:focus {
    border-color: #0D65D8;
    outline: none;
    box-shadow: 0 0 0 2px rgba(13, 101, 216, 0.1);
}

/* 价格显示优化 */
.font-size-16 {
    /* border-bottom: 1px solid #f0f0f0; */
    /* padding-bottom: 8px; */
    /* margin-bottom: 8px !important; */
}

.font-size-16:last-child {
    border-bottom: none;
    margin-bottom: 0 !important;
}

/* 总计区域样式 */
.mobile-hide {
    background: linear-gradient(135deg, #0D65D8 0%, #219FFA 100%) !important;
    color: white !important;
    border-radius: 8px;
    padding: 15px 20px !important;
    margin: 15px 20px;
}

.mobile-hide span {
    color: white !important;
}

.mobile-hide .text-primary {
    color: white !important;
}

/* 主题变量（统一蓝色与圆角） */
:root {
  --primary: #0D65D8;
  --primary-hover: #0B56B3;
  --primary-active: #094A99;
  --primary-light: #EAF2FF;
  --surface: #F7F9FC;
  --radius-xl: 18px;
  --radius-lg: 0px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(13, 101, 216, 0.08);
  --shadow-md: 0 8px 24px rgba(13, 101, 216, 0.12);
  --box-shadow: var(--shadow-sm);
}

/* 统一风格覆盖：蓝色主题与更大圆角 */
.card {
  /* border-radius: var(--radius-lg); */
   /*box-shadow: var(--shadow-sm);*/
  background-color: #ffffff;
  /*border: none;*/
}

.ordersummary,
.cart-summary,
.mobile-hide {
  border-radius: var(--radius-lg);
}

.cartitem {
  border-radius: var(--radius-lg);
}

.cartitem:hover,
.cartitem.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.product-price {
    color: #000 !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
}

/* 俆覆优先级，确保价格新字体 */
.product-price .cart-num,
.product-price span.DINCondensed-Bold {
  font-family: inherit !important;
  font-size: 24px !important;
}

/* 丨期字体比金额小 */
.price-cycle {
  font-size: 14px !important;
  color: #666 !important;
}

.cartitem .card-footer a {
  color: var(--primary);
}

.cartitem .card-footer a:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #fff;
}

.btn-primary,
.mobile-bottom-total {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%) !important;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(13, 101, 216, 0.3);
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline-primary:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #fff;
}

.card-header,
.bg-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.border-primary {
  border-color: var(--primary) !important;
}

.progress-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
}

.cart-item {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.cart-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.addfunds-payment:hover,
.addfunds-payment.active {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(13, 101, 216, 0.12);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(13, 101, 216, 0.25);
}

/* 产品购买按钮样式 */
.product-buy-btn {
    display: block;
    width: 100%;
    padding: 14px 22px;
    background: linear-gradient(135deg, #0D65D8 0%, #219FFA 100%) !important;
    color: white !important;
    text-decoration: none !important;
   /* border-radius: 6px;*/
    font-weight: 500;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
    box-sizing: border-box;
}

.product-buy-btn:hover {
    background: white !important;
    box-shadow: inset 0 0 0 1px #0D65D8 !important;
    color: #0D65D8 !important;
    text-decoration: none !important;
}

.product-buy-btn:active {
    transform: translateY(0);
    box-shadow: none !important;
}

/* 购物车页面按钮优化 */
.btn-primary {
    background: linear-gradient(135deg, #007bfc 0%, #0056b3 100%);
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 123, 252, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 252, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 123, 252, 0.2);
}

.btn-outline-primary {
    border: 2px solid #007bfc;
    color: #007bfc;
    background: transparent;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #007bfc;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 123, 252, 0.2);
}

.btn-sm {
    /* padding: 6px 12px; */
    /* font-size: 0.875rem; */
    /* border-radius: 4px; */
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c82333 0%, #a71e2a 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    border: none;
    border-radius: 6px;
    color: #212529;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.2);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e0a800 0%, #d39e00 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
    color: #212529;
}

/* 购物车数量更新按钮 */
.cart_qty .btn {
    margin-left: 8px;
    padding: 4px 12px;
    font-size: 0.8rem;
}

/* 支付方式选择优化 */
.addfunds-payment {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    background: white;
}

.addfunds-payment:hover {
    border-color: #007bfc;
    box-shadow: 0 2px 8px rgba(0, 123, 252, 0.1);
    transform: translateY(-1px);
}

.addfunds-payment.active {
    border-color: #007bfc;
    background: linear-gradient(135deg, rgba(0, 123, 252, 0.1) 0%, rgba(0, 86, 179, 0.1) 100%);
    box-shadow: 0 2px 8px rgba(0, 123, 252, 0.2);
}

.addfunds-payment img {
    max-width: 60px;
    max-height: 40px;
    object-fit: contain;
}
/* 仅在产品页顶部保留一级分类条 */
.topbar-only-first .firstgroup_box { margin-bottom: 0; }
.topbar-only-first .secondgroup_box { display: none; }