/* 商品详情页样式 - 大型商店模板风格 */

/* 购物车悬停菜单样式 */
.cart-hover-menu {
  position: relative;
}

.cart-btn {
  position: relative;
  display: inline-block;
  padding: 10px;
  color: #333;
  font-size: 18px;
  transition: all 500ms ease;
}
.cart-item-info h5 {
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto; /* 支持英文单词断字 */
}
.cart-item-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
}

.cart-item-title {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 1.4;
    grid-column: 2;
}

.cart-action{
    text-align: right;
}
.hover-warp-shops a {
    color: #ffffff!important;
}
.hover-warp{
    display: block;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    overflow: hidden;
    z-index: 1000;
    top: 100%;
    right: 0;
    font-size: .875rem;
    background-color: #fff;
    color: #595d69;
    width: 340px;
    -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, .15);
    box-shadow: 0 0 30px rgba(0, 0, 0, .15);
    border-radius: .3rem;
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
    -webkit-transition: all .3s cubic-bezier(.77,0,.175,1);
    transition: all .3s cubic-bezier(.77,0,.175,1);
}



.cart-btn:hover {
  color: var(--button-color);
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  font-size: 12px;
  border-radius: 50%;
}

.cart-hover-content {
  position: absolute;
  top: 100%;
  right: 0;
  width: 320px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  margin-top: 10px;
  display: none;
}


.cart-item {
  transition: all 500ms ease;
}

.cart-item:hover {
  background-color: #f9f9f9;
}

.cart-item-image img {
  border-radius: 4px;
  object-fit: cover;
}

.cart-item-info h5 {
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  margin: 0;
}

.cart-item-price {
  font-size: 13px;
  color: #666;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-item-price .price {
  font-weight: bold;
  color: #FF2D2D;
}

.cart-item-price .quantity {
  color: #999;
}

.cart-action {
  background-color: #f9f9f9;
  border-top: 1px solid #e5e5e5;
}

.cart-action .btn {
  border-radius: 4px;
  transition: all 500ms ease;
}

.cart-action .btn-primary {
  background-color: var(--button-color);
  border-color: var(--button-color);
}

.cart-action .btn-primary:hover {
  background-color: #e59800;
  border-color: #e59800;
}

/* 响应式调整 */
@media only screen and (max-width: 768px) {
  .cart-hover-content {
    width: 280px;
  }
  
  .cart-item-image img {
    width: 50px;
    height: 50px;
  }
  
  .cart-item-info h5 {
    font-size: 13px;
  }
}

@media only screen and (max-width: 576px) {
  .cart-hover-content {
    width: 240px;
  }
  
  .cart-item-image img {
    width: 40px;
    height: 40px;
  }
  
  .cart-item-info h5 {
    font-size: 12px;
  }
  
  .cart-item-price {
    font-size: 11px;
  }
}
.thumb-box{
    padding: 0;
    margin: 0;
}
.thumb-box li a img{
    width: 100%;
    height: 100%;
}
.shop-details{
  position: relative;
}

.product-details-content{
  position: relative;
  display: block;
  margin-bottom: 25px;
}

.product-details-content .image-inner{
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.product-details-content .image-box{
    position: relative;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.product-details-content .image-box img{
    width: 100%;
    border-radius: 10px;
    max-width: 100%;
    max-height: 100%;
    height: 100%;
}

.product-details-content .slider-content .slider-pager{
  position: absolute;
  left: 0px;
  top: 0px;

}

.product-details-content .slider-content .thumb-box li{
  position: relative;
  display: block;
  margin-bottom: 10px;
}

.product-details-content .slider-content .thumb-box li:last-child{
  margin-bottom: 0px;
}

.product-details-content .slider-content .thumb-box li a{
  position: relative;
  display: inline-block;
  width: 60px;
  height: 60px;
  border: 1px solid #E5E5E5;
  cursor: pointer;
  transition: all 500ms ease;
  padding: 5px;
  border-radius: 5px;
}

.product-details-content .slider-content .thumb-box li a.active{
  border-color: var(--button-color);
  box-shadow: 0 0 10px rgba(255, 172, 0, 0.3);
}

.product-details-content .slider-content .thumb-box li a:hover{
  border-color: var(--button-color);
}

/* 缩略图滚动功能 */
.product-details-content .slider-content .slider-pager{
  position: relative;
  width: 60px;
  height: 340px; /* 5个缩略图的高度（60px * 5 + 10px * 4间距） */
  overflow: hidden;
  flex-shrink: 0;
}

.product-details-content .slider-content .thumb-box{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: top 0.3s ease;
}

/* 上下滚动按钮 */
.product-details-content .slider-content .scroll-btn{
  position: absolute;
    left: 0;
    width: 60px;
    height: 30px;
    background: rgb(255 255 255 / 78%);
    border: 1px solid #E5E5E5;
    border-radius: 5px;
    font-size: 16px;
    color: #8a8b8b;
    cursor: pointer;
    z-index: 10;
    transition: all 500ms ease;
}

.product-details-content .slider-content .scroll-btn:hover{
  background: var(--button-color);
  color: #fff;
  border-color: var(--button-color);
}

.product-details-content .slider-content .scroll-up{
  top: 0;
}

.product-details-content .slider-content .scroll-down{
  bottom: 0;
}

/* 响应式调整 */
@media only screen and (max-width: 599px){
  .product-details-content .slider-content .slider-pager{
    height: 380px; /* 5个小缩略图的高度（65px * 5 + 10px * 4间距） */
    width: 80px;
  }
  
  .product-details-content .slider-content .scroll-btn{
    width: 80px;
  }
}

.product-details-content .content-box{
  position: relative;
  display: block;
  margin-top: -8px;
}

.product-details-content .content-box .upper-text{
  position: relative;
  display: block;
  font-size: 16px;
  line-height: 28px;
  color: #333;
  margin-bottom: 7px;
}

.product-details-content .content-box h2{
position: relative;
    display: block;
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 12px;
    font-weight: bold;
    color: #0f1111;
}

.product-details-content .content-box h3{
  position: relative;
  display: block;
  font-size: 36px;
  line-height: 41px;
  color: #E92530;
  margin-bottom: 14px;
  font-weight: 700;
}

.product-details-content .content-box .text-box p{
  margin-bottom: 25px;
}

.product-details-content .content-box .text-box p:last-child{
  margin-bottom: 0px;
}

.product-details-content .content-box .discription-box li{
  position: relative;
  display: block;
  color: #333;
  margin-bottom: 2px;
}

.product-details-content .content-box .discription-box li:last-child{
  margin-bottom: 0px;
}

.product-details-content .content-box .discription-box li strong{
  position: relative;
  display: inline-block;
  width: 160px;
  color: #333;
}

/* 可变商品属性样式 */
.product-details-content .attribute-box{
  position: relative;
  display: flex;
  align-items: center; /* 垂直居中 */
  gap: 15px; /* 标题和选项之间的间距 */
  margin-bottom: 10px;
}


.product-details-content .attribute-box h6 span{
  color: #FF2D2D;
}

.product-details-content .attribute-option-wrapper label .attribute-price{
  font-size: 12px;
  color: #E92530;
  margin-left: 5px;
  font-weight: bold;
}

.product-details-content .attribute-list{
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-details-content .attribute-list li{
  position: relative;
  display: inline-block;
  margin: 0;
}

.product-details-content .attribute-list .check-box{
  position: relative;
  display: inline-block;
}

.product-details-content .attribute-list .check-box input[type="radio"]{
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.product-details-content .attribute-list .check-box label{
  position: relative;
  display: inline-block;
  padding: 4px 15px;
  border: 1px solid #E5E5E5;
  border-radius: 5px;
  font-size: 14px;
 color: #454545;
  cursor: pointer;
  transition: all 500ms ease;
}
.other-option ul{
    margin: 0;
    padding: 0;
    margin-bottom: 20px;
}
.product-details-content .attribute-list .check-box input[type="radio"]:checked + label{
  border-color: var(--button-color);
  background: var(--button-color);
  color: #fff;
}

.product-details-content .attribute-list .check-box label:hover{
  border-color: var(--button-color);
  color: var(--button-color);
}

.product-details-content .content-box h6{
  position: relative;
  display: block;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.product-details-content .content-box h6 span{
  color: #FF2D2D;
}

.product-details-content .other-option li{
  position: relative;
  display: block;
  color: #333;
  margin-bottom: 8px;
}

.product-details-content .other-option li:last-child{
  margin-bottom: 0px;
}

.product-details-content .other-option li strong{
  display: inline-block;
  margin-right: 10px;
}
.addto-cart-box ul{
    padding: 0;
    margin-bottom: 20px;
}
.product-details-content .addto-cart-box ul li{
  position: relative;
  display: inline-block;
  float: left;
  margin-right: 15px;
}

.product-details-content .addto-cart-box ul li:last-child{
  margin-right: 0px;
}

.product-details-content .addto-cart-box ul li button{
  position: relative;
  display: inline-block;
  padding: 12px 30px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 700;
  transition: all 500ms ease;
  cursor: pointer;
}

.product-details-content .addto-cart-box ul li .btn-one{
  background: var(--button-color);
  color: #fff;
  border: 1px solid var(--button-color);
}

.product-details-content .addto-cart-box ul li .btn-one:hover{
  background: transparent;
  color: var(--button-color);
}

.product-details-content .addto-cart-box ul li .btn-two{
  background: transparent;
  color: var(--button-color);
  border: 1px solid var(--button-color);
}

.product-details-content .addto-cart-box ul li .btn-two:hover{
  background: var(--button-color);
  color: #fff;
}

/* 数量选择样式 */
.product-details-content .addto-cart-box ul li.item-quantity{
  position: relative;
  display: inline-block;
  float: left;
  margin-right: 30px;
}

.product-details-content .addto-cart-box ul li.item-quantity .quantity-spinner{
  position: relative;
  display: inline-block;
  width: 80px;
  height: 50px;
  border: 1px solid #E5E5E5;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  color: #101010;
  background: #fff;
  padding: 0 15px;
  text-align: center;
  box-shadow: none;
  outline: none;
  transition: all 500ms ease;
}
.bootstrap-touchspin input{
margin-left: 0; 
}
.product-details-content .addto-cart-box ul li.item-quantity .quantity-spinner:focus{
  border-color: var(--button-color);
  box-shadow: 0 0 0 2px rgba(255, 172, 0, 0.1);
}

/* Bootstrap Touchspin样式 */
.product-details-content .bootstrap-touchspin{
  position: relative;
    display: inline-block;
    max-width: 100%;
    width: 100%;
    float: left;
    padding: 0px 5px;
    margin-left: 0px;
    border-radius: 30px;
    height: 50px;
    z-index: 1;
}

.product-details-content .bootstrap-touchspin .input-group-btn-vertical > .btn.bootstrap-touchspin-up,
.product-details-content .bootstrap-touchspin .input-group-btn-vertical > .btn.bootstrap-touchspin-down{
  border: none ;
}

.product-details-content .bootstrap-touchspin .input-group-btn-vertical i{
  left: 12px;
}

.product-details-content .bootstrap-touchspin input.quantity-spinner {
  line-height: 48px;
    height: 30px;
    width: 50px;
    padding: 0px;
    box-shadow: none;
    border: none;
    text-align: center;
    font-size: 16px;
    color: #101010;
    background: transparent;
        margin-left: 5px;
    margin-right: 5px;
}

.product-details-content .bootstrap-touchspin .input-group-btn-vertical > .btn.bootstrap-touchspin-down{
  position: absolute;
  height: 50px;
  background: transparent;
  padding: 0px 0px;
  left: -50px;
  top: 0px;
  border-radius: 0px;
  border: none ;
  border-right: 1px solid #E5E5E5 ;
}

.product-details-content .bootstrap-touchspin .btn.bootstrap-touchspin-up:before,
.product-details-content .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down:before{
  color: var(--title-color) ;
}

.product-details-content .bootstrap-touchspin .input-group-btn-vertical > .btn.bootstrap-touchspin-up{
  position: absolute;
  height: 50px;
  background: transparent;
  padding: 0px 0px;
  top: 0px;
  margin-top: 0px;
  border-radius: 0px;
  border: none ;
}

.product-details-content .bootstrap-touchspin .glyphicon-chevron-up:before {
  content: "\f067";
  font-size: 16px;
  font-style: normal;
  color: var(--title-color);
  font-family: 'Font Awesome 5 Pro';
}

.product-details-content .bootstrap-touchspin .glyphicon-chevron-down:before {
  content: "\f068";
  font-size: 16px;
  font-style: normal;
  color: var(--title-color);
  font-family: 'Font Awesome 5 Pro';
}

.product-details-content .bootstrap-touchspin .input-group-btn-vertical{
  position: absolute;
}

.product-details-content .bootstrap-touchspin .input-group-btn-vertical i{
  top: 15px;
}

.product-details-content .bootstrap-touchspin .input-group-btn-vertical > .btn.bootstrap-touchspin-down{
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.product-details-content .bootstrap-touchspin{
  border-radius: 5px;
}

.product-details-content .bootstrap-touchspin .input-group-btn-vertical > .btn.bootstrap-touchspin-down{
  width: 50px;
}

.product-details-content .bootstrap-touchspin .input-group-btn-vertical > .btn.bootstrap-touchspin-up{
  width: 50px;
}

.product-details-content .bootstrap-touchspin .input-group-btn-vertical > .btn.bootstrap-touchspin-up:hover,
.product-details-content .bootstrap-touchspin .input-group-btn-vertical > .btn.bootstrap-touchspin-down:hover{
  color: var(--button-color);
}

.product-details-content .bootstrap-touchspin .input-group-btn-vertical > .btn.bootstrap-touchspin-up:hover i,
.product-details-content .bootstrap-touchspin .input-group-btn-vertical > .btn.bootstrap-touchspin-down:hover i{
  color: var(--button-color);
}

.shop-details .product-discription{
  margin-top: 50px;
}

.shop-details .product-discription .tab-btns{
  position: relative;
  display: block;
  margin-bottom: 10px;
}
/* 类似表单的样式 */
.specification-content {
    margin: 20px 0;
}

.specification-content .table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.specification-content .table th {
    background-color: #f8f9fa;
    font-weight: 600;
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    color: #495057;
}

.specification-content .table td {
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    color: #212529;
}

/* 让第二列（参数值）看起来更像输入框 */
.specification-content .table td:last-child {
    background-color: #fdfdfd;
    font-family: monospace;
}

/* 悬停效果，类似表单聚焦 */
.specification-content .table tr:hover td {
    background-color: #f1f8ff;
    transition: background-color 0.2s ease;
}
.shop-details .product-discription .tab-btns li{
  position: relative;
    display: inline-block;
    margin-bottom: 10px;
    margin-right: 10px;
}
#productTab{
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #e5e7eb;
}
.nav-itemsa a {
  padding: 6px 18px;
  color: #7C7C7C;
    font-size: 18px;
  line-height: 26px;

  cursor: pointer;

  border-radius: 40px;
  transition: all 500ms ease;
}
.nav-itemsa a.active{
  color: #fff;
  background: var(--button-color);
}

.shop-details .product-discription .tab-btns li:hover{
  color: var(--button-color);
}

.shop-details .product-discription .discription-content p{
  color: #333;
  margin-bottom: 26px;
}

.shop-details .product-discription .specification-content .specification-list{
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid #E5E5E5;
}

.shop-details .product-discription .specification-content .specification-list li{
  position: relative;
  display: block;
  font-size: 16px;
  line-height: 26px;
  color: #333;
}

.shop-details .product-discription .specification-content .specification-list li:last-child{
  border-bottom: none;
}

/* 评论标签页样式 */
.shop-details .product-discription .comments-content{
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  margin-top: 20px;
}

.shop-details .product-discription .no-comments{
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.shop-details .product-discription .no-comments h4{
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

/* 评论列表样式 */
.shop-details .product-discription .comment-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.shop-details .product-discription .comment-list li{
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

.shop-details .product-discription .comment-list li:last-child{
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.shop-details .product-discription .comment-author{
  font-weight: bold;
  margin-bottom: 5px;
}

.shop-details .product-discription .comment-metadata{
  font-size: 14px;
  color: #999;
  margin-bottom: 10px;
}

.shop-details .product-discription .comment-content{
  line-height: 1.6;
}

/* 评论表单样式 */
.shop-details .product-discription .comment-form{
  margin-top: 30px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
}

.shop-details .product-discription .comment-form label{
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}



.shop-details .product-discription .comment-form textarea{
  resize: vertical;
  min-height: 120px;
}


.shop-details .product-discription .comment-form input[type="submit"]:hover{
  background: #e59800;
}

/* 购物车页面样式 */
.cart-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.cart-section .sec-title h2 {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.cart-table {
  width: 100%;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cart-header {
  background-color: #f8f8f8;
  border-bottom: 1px solid #e5e5e5;
}

.cart-header th {
  padding: 15px 20px;
  font-weight: bold;
  color: #333;
  text-align: left;
}

.cart-table tbody tr {
  border-bottom: 1px solid #e5e5e5;
  transition: all 500ms ease;
}

.cart-table tbody tr:hover {
  background-color: #f9f9f9;
}

.cart-table tbody td {
  padding: 20px;
  vertical-align: middle;
}

.product-box {
  display: flex;
  align-items: center;
}

.product-box .image-box {
  margin-right: 15px;
  flex-shrink: 0;
}

.product-box .image-box img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

.product-box h6 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.product-box h6 a {
  color: #333;
  transition: all 500ms ease;
}

.product-box h6 a:hover {
  color: var(--button-color);
  text-decoration: none;
}

.item-quantity .quantity-spinner {
  width: 80px;
  height: 40px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 0 10px;
  text-align: center;
}

.cancel-btn {
  background: none;
  border: none;
  color: #999;
  font-size: 16px;
  cursor: pointer;
  transition: all 500ms ease;
  padding: 5px;
}

.cancel-btn:hover {
  color: #FF2D2D;
}

.empty-cart {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.total-cart {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.total-cart .title-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.total-cart .title-box h4 {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.total-cart .title-box h5 {
  font-size: 18px;
  font-weight: bold;
  color: #FF2D2D;
  margin: 0;
}

.shipping-cost {
  margin-bottom: 30px;
}

.shipping-cost h4 {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.cost-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cost-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cost-list li .check-box {
  display: flex;
  align-items: center;
}

.cost-list li .price {
  font-size: 14px;
  color: #666;
}

.shipping-calculator {
  margin-bottom: 30px;
}

.shipping-calculator h4 {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.total-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-top: 15px;
  border-top: 1px solid #e5e5e5;
}

.total-box h4 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.total-box h5 {
  font-size: 20px;
  font-weight: bold;
  color: #FF2D2D;
  margin: 0;
}

.btn-box {
  margin-top: 20px;
}

.coupon-box {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.coupon-box .form-group {
  margin-bottom: 0;
}

.coupon-box input[type="text"] {
  height: 50px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 0 20px;
}

.coupon-box button {
  height: 50px;
  padding: 0 30px;
  background-color: var(--button-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  transition: all 500ms ease;
}

.coupon-box button:hover {
  background-color: #e59800;
}


.stock-info span:first-child {
    font-weight: 600;
    margin-right: 5px;
}

.quantity-row {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.quantity-row span:first-child {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-right: 15px;
}

.quantity-row .bootstrap-touchspin {
        width: 100%;
    display: flex;
    align-items: center;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-row .bootstrap-touchspin button {
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


/* 属性选项样式 */
.attribute-option-wrapper {
    position: relative;
    display: inline-block;
}

.attribute-option-wrapper input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.attribute-option-wrapper label {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.attribute-option-wrapper input[type="radio"]:checked + label {
    background-color: var(--button-color);
    color: #fff;
    border-color: var(--button-color);
    box-shadow: 0 2px 4px rgba(255, 172, 0, 0.3);
}

.attribute-option-wrapper label:hover {
    border-color: var(--button-color);
    box-shadow: 0 1px 3px rgba(255, 172, 0, 0.2);
}

/* 库存信息样式调整 */
.stock-info {
    font-size: 14px;
    color: #666;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;  /* 防止被挤压 */
}

.stock-info span:first-child {
    font-weight: 600;
    margin-right: 5px;
}

/* 库存预警样式 */
.stock-low {
    color: #ff4d4f !important;
    font-weight: 600;
}

/* 加入购物车提示样式 */
.add-to-cart-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.add-to-cart-toast.success {
    background-color: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #389e0d;
}

.add-to-cart-toast.error {
    background-color: #fff2f0;
    border: 1px solid #ffccc7;
    color: #cf1322;
}

.add-to-cart-toast .toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.add-to-cart-toast i {
    font-size: 18px;
}

.add-to-cart-toast.success i {
    color: #52c41a;
}

.add-to-cart-toast.error i {
    color: #ff4d4f;
}

/* 按钮加载状态 */
button.add-to-cart.loading {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

button.add-to-cart.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 按钮成功状态 */
button.add-to-cart.success {
    background-color: #52c41a !important;
    border-color: #52c41a !important;
    animation: pulse 1s ease;
}

/* 按钮错误状态 */
button.add-to-cart.error {
    background-color: #ff4d4f !important;
    border-color: #ff4d4f !important;
    animation: shake 0.5s ease;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}








/* 响应式调整 */
@media only screen and (max-width: 991px) {
  .cart-section {
    padding: 40px 0;
  }
  
  .cart-table tbody td {
    padding: 15px;
  }
  .pgs-0{
      padding: 0;
  }
  .addto-cart-box ul {
    text-align: center;
}
  .product-box .image-box img {
    width: 60px;
    height: 60px;
  }
  .product-details-content .addto-cart-box ul li {

    float: none;
}
  .product-box h6 {
    font-size: 14px;
  }
  
  .total-cart {
    padding: 20px;
  }
}

@media only screen and (max-width: 767px) {
  .cart-header {
    display: none;
  }
  
  .cart-table tbody tr {
    display: block;
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
  }
  
  .cart-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border: none;
  }
  
  .cart-table tbody td:before {
    content: attr(data-label);
    font-weight: bold;
    color: #666;
  }
  
  .product-column {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .product-column .product-box {
    flex-direction: row;
    align-items: center;
    width: 100%;
  }
  
  .coupon-box {
    padding: 20px;
  }
}

@media only screen and (max-width: 576px) {
  .cart-section {
    padding: 30px 0;
  }
  
  .cart-section .sec-title h2 {
    font-size: 24px;
  }
  
  .cart-table tbody tr {
    padding: 15px;
  }
  
  .product-box .image-box img {
    width: 50px;
    height: 50px;
  }
  
  .product-box h6 {
    font-size: 13px;
  }
  
  .item-quantity .quantity-spinner {
    width: 60px;
    height: 35px;
  }
  
  .total-cart {
    padding: 15px;
  }
  
  .total-box h4,
  .total-box h5 {
    font-size: 16px;
  }
}


.shop-details .product-discription .specification-content .specification-list li strong{
  position: relative;
  display: inline-block;
  width: 300px;
  padding: 12px 0px;
  padding-left: 30px;
  margin-right: 40px;
}

.shop-details .product-discription .specification-content .specification-list li:nth-child(odd){
  background: #F7F7F7;
}

/* 响应式设计 */
@media only screen and (max-width: 1200px){
  .product-details-content .content-box{
    margin: 0px;
  }
}

@media only screen and (max-width: 991px){
  .product-details-content .content-box{
    margin-top: 30px;
  }
}

@media only screen and (max-width: 767px){
  .product-details-content .content-box h2{
    font-size: 30px;
    line-height: 40px;
  }
  .stock-info{
      display: none;
  }
  
  /* 移动端布局调整：图片显示在上面，切换内容显示在下面 */
  .product-details-content .row{
    flex-direction: column;
  }
  
  .product-details-content .col-lg-6.col-md-6.col-sm-12:first-child{
    order: 1;
  }
  
  .product-details-content .col-lg-6.col-md-6.col-sm-12:last-child{
    order: 2;
  }
  
  .shop-details .product-discription{
    order: 3;
    margin-top: 30px;
  }
}

@media only screen and (max-width: 599px){
  .product-details-content .addto-cart-box ul li{
    margin-bottom: 15px;
  }

  .product-details-content .slider-content .thumb-box li a{
    width: 65px;
    height: 65px;
  }

  .product-details-content .other-option li strong,
  .product-details-content .content-box .discription-box li strong{
    width: auto;
    margin-right: 20px;
  }
  
  /* 移动端图片布局调整：主图在上，缩略图在下 */
  .product-details-content .image-inner{
    flex-direction: column;
    padding-left: 0;
    align-items: center;
    gap: 0;
  }
  
  .product-details-content .slider-content .slider-pager{
    position: relative;
    width: 100%;
    height: auto;
    max-height: 100px;
    overflow: hidden;
    order: 2;
    margin-top: 15px;
  }
  
  .product-details-content .slider-content .thumb-box{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: hidden;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 10px;
  }
  
  /* 隐藏滚动条 */
  .product-details-content .slider-content .thumb-box::-webkit-scrollbar {
    display: none;
  }
  
  .product-details-content .slider-content .thumb-box {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  
  .product-details-content .slider-content .thumb-box li{
    margin-right: 10px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  
  .product-details-content .slider-content .thumb-box li:last-child{
    margin-right: 0;
  }
  
  .product-details-content .image-box{
    order: 1;
    height: 300px;
    width: 100%;
  }
  
  /* 显示滚动按钮并左右分布 */
  .product-details-content .slider-content .scroll-btn{
    display: block !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #E5E5E5;
    border-radius: 50%;
  }
  
  .product-details-content .slider-content .scroll-up{
    left: 15px;
  }
  
  .product-details-content .slider-content .scroll-down{
    right: 15px ;
    left: auto;
  }
  
  /* 调整图标方向 */
  .product-details-content .slider-content .scroll-up i{
    transform: rotate(-90deg) !important;
  }
  
  .product-details-content .slider-content .scroll-down i{
    transform: rotate(-90deg);
  }
  
}

@media only screen and (max-width: 499px){
  .product-details-content .content-box .size-list li{
    margin-right: 5px;
  }
}

/* 清除浮动 */
.product-details-content .addto-cart-box ul::after{
  content: '';
  display: table;
  clear: both;
}

.shop-details .product-discription .tab-btns::after{
  content: '';
  display: table;
  clear: both;
}

/* 流程模块样式 */
.product-process-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.product-process-section .section-header {
    margin-bottom: 60px;
}

.product-process-section .section-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.product-process-section .section-description {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.process-cards {
    margin-bottom: 60px;
}

.process-card {
    margin-bottom: 30px;
}

.process-card-inner {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: left;
}

.process-card-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.process-icon {
    margin-bottom: 20px;
}

.process-icon img {
    max-width: 60px;
    height: auto;
}

.process-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.process-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 流程图片滑动样式 */
.process-images-section {
    margin-top: 60px;
}

.images-section-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.process-images-slider {
    position: relative;
    overflow: hidden;
}

.slider-container {
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    cursor: grab;
}

.slider-wrapper:active {
    cursor: grabbing;
}

.slider-item {
    flex: 0 0 33.333%;
    padding: 0 10px;
}

.slider-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* CTA模块样式 */
.product-cta-section {
    padding: 80px 0;
    background-color: #f0f0f0;
    text-align: center;
}

.cta-icon {
    margin-bottom: 30px;
}

.cta-icon img {
    max-width: 80px;
    height: auto;
}

.cta-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-color);
    color: #fff;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #e59800;
    color: #fff;
}

.cta-small-text {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

/* 响应式调整 */
@media only screen and (max-width: 991px) {
    .product-process-section {
        padding: 60px 0;
    }
    
    .product-cta-section {
        padding: 60px 0;
    }
    
    .slider-item {
        flex: 0 0 50%;
    }
}

@media only screen and (max-width: 767px) {
    .product-process-section .section-title {
        font-size: 24px;
    }
    
    .product-cta-section .cta-title {
        font-size: 24px;
    }
    
    .slider-item {
        flex: 0 0 100%;
    }
    
    .process-card {
        margin-bottom: 20px;
    }
    
    .process-card-inner {
        padding: 20px;
    }
}

/* 规格参数样式 */
.product-specs-preview {
    margin: 20px 0;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #e5e5e5;
    text-align: center;
    border-radius: 5px;
}

.specs-list li {
    margin-bottom: 0;
    flex: 1 1 calc(25% - 15px);
    min-width: 150px;
}

.specs-list li strong {
    display: block;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    border: 1px solid #e5e5e5;
    padding: 5px;
}

.specs-list li span {
    display: block;
    font-size: 14px;
    color: #333;
    border: 1px solid #e5e5e5;
    padding: 5px;
}
.mt-20{
    
    margin-top: 20px;

}
/* 标签页内容样式 */
.tab-content {
    padding: 30px 0;
}

.tab-pane {
    display: none;
}

.tab-pane.show.active {
    display: block;
}

/* 模态框样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    max-width: 600px;
    width: 90%;
    margin: 6.75rem auto;
}
.phosda{
    margin-bottom: 20px;
}
.modal-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    overflow: hidden;
}

.modal-header {
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.close:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-secondary {
    background: #6c757d;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #5a6268;
}

.product-info {
    margin-bottom: 15px;
}

.product-info h6 {
    margin: 0;
    font-weight: 600;
}

/* 表单样式 */
.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-control:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

.btn-primary {
    background:var(--button-color);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
}

.btn-primary:hover {
    background: #004085;
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification.success {
    background-color: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #389e0d;
}

.notification.error {
    background-color: #fff2f0;
    border: 1px solid #ffccc7;
    color: #cf1322;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification i {
    font-size: 20px;
}