/* ---- bc-card styles appended for archive-product bc-body ---- */
.products-grid .bc-card{ 
  background:#fff; 
  border:1px solid #ececec; 
  border-radius:12px; 
  overflow:hidden; 
  display:flex; 
  flex-direction:column; 
  box-shadow:0 6px 18px rgba(0,0,0,.04); 
  position:relative; 
}

/* 分类页：复用 shop 页产品卡片布局 */
body.tax-product_cat .bc-card{
  background:#fff;
  border:1px solid #ececec;
  border-radius:12px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  box-shadow:0 6px 18px rgba(0,0,0,.04);
  position:relative;
}
body.tax-product_cat .bc-body{
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
body.tax-product_cat .bc-name{
  margin:0;
  font-size:14px;
  line-height:1.35;
  height:48px;
  flex:0 0 48px;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:3;
  line-clamp:3;
  -webkit-box-orient:vertical;
}
body.tax-product_cat .bc-price{
  font-weight:400;
  color:#111;
}
body.tax-product_cat .bc-price .woocommerce-Price-amount.amount{ color:#111; }
body.tax-product_cat .bc-price del{ color:#000; }
body.tax-product_cat .bc-price ins,
body.tax-product_cat .bc-price ins .woocommerce-Price-amount.amount{ color:var(--ow-orange,#ff4b0c); }

/* Price HTML sometimes contains stock/availability; hide it (stock is shown separately). */
.bc-price .stock,
.bc-price .woocommerce-availability{
  display:none !important;
}
body.tax-product_cat .bc-actions{
  display:flex;
  gap:8px;
  align-items:center;
  margin-top:0 !important;
}
body.tax-product_cat .bc-btn{
  flex:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  padding:8px 10px;
  text-decoration:none;
  border:1px solid var(--ow-orange,#ff4b0c);
  color:var(--ow-orange,#ff4b0c);
  font-weight:700;
  font-size:13px;
}
body.tax-product_cat .bc-btn:hover{
  background:var(--ow-orange,#ff4b0c);
  border-color:var(--ow-orange,#ff4b0c);
  color:#fff;
}
body.tax-product_cat .bc-btn--select{
  background:#fff;
  border-color:var(--ow-orange,#ff4b0c);
  color:var(--ow-orange,#ff4b0c);
  gap:8px;
}
body.tax-product_cat .bc-btn--select[data-has-variants="1"]:hover{
  border-color:#e55a00;
  color:#e55a00;
}
body.tax-product_cat .bc-btn--select[data-has-variants="0"]{
  background:var(--ow-orange,#ff4b0c);
  border-color:var(--ow-orange,#ff4b0c);
  color:#fff;
}
body.tax-product_cat .bc-btn--select[data-has-variants="0"]:hover{
  background:#e55a00;
  border-color:#e55a00;
  color:#fff;
}
body.tax-product_cat .bc-btn--add{
  background:var(--ow-orange,#ff4b0c);
  border-color:var(--ow-orange,#ff4b0c);
  color:#fff;
}
body.tax-product_cat .bc-btn--add:hover{
  background:#e55a00;
  border-color:#e55a00;
}

/* 图片容器与 shop 一致 */
.products-grid .bc-body{ 
  padding:12px; 
  display:flex; 
  flex-direction:column; 
  gap:8px; 
}

.products-grid .bc-name{ 
  margin:0; 
  font-size:14px; 
  line-height:1.35; 
  min-height: 75px;
  height:75px; 
  flex:0 0 75px; 
  overflow:hidden; 
  display:-webkit-box; 
  -webkit-line-clamp:3; 
  line-clamp:3; 
  -webkit-box-orient:vertical; 
}

.products-grid .bc-price{
  font-weight:400;
  color:#111;
}
.products-grid .bc-price .woocommerce-Price-amount.amount{ color:#111; }
.products-grid .bc-price del{ color:#000 !important; }
.products-grid .bc-price ins,
.products-grid .bc-price ins .woocommerce-Price-amount.amount{ color:var(--ow-orange,#ff4b0c); }

.products-grid .bc-actions{ 
  display:flex; 
  gap:8px; 
  align-items:center; 
  margin-top:0 !important; 
}

.products-grid .bc-btn{ 
  flex:1; 
  display:inline-flex; 
  align-items:center; 
  justify-content:center; 
  border-radius:8px; 
  padding:8px 10px; 
  text-decoration:none; 
  border:1px solid var(--ow-orange,#ff4b0c); 
  color:var(--ow-orange,#ff4b0c); 
  font-weight:700; 
  font-size:13px; 
}
.products-grid .bc-btn:hover{
  background:var(--ow-orange,#ff4b0c); 
  border-color:var(--ow-orange,#ff4b0c); 
  color:#fff; 
}
.products-grid .bc-btn--select{
  background:#fff;
  border-color:var(--ow-orange,#ff4b0c);
  color:var(--ow-orange,#ff4b0c);
  gap:8px;
}
.products-grid .bc-btn--select[data-has-variants="1"]:hover{
  border-color:#e55a00;
  color:#e55a00;
}
.products-grid .bc-btn--select[data-has-variants="0"]{
  background:var(--ow-orange,#ff4b0c); 
  border-color:var(--ow-orange,#ff4b0c); 
  color:#fff; 
}
.products-grid .bc-btn--select[data-has-variants="0"]:hover{
  background:#e55a00; 
  border-color:#e55a00; 
  color:#fff; 
}

.products-grid .bc-btn--add{ 
  background:var(--ow-orange,#ff4b0c); 
  border-color:var(--ow-orange,#ff4b0c); 
  color:#fff; 
}
.products-grid .bc-btn--add:hover{ 
  background:#e55a00; 
  border-color:#e55a00; 
}

/* 库存：去掉圆点，改为符号（√ / × / ⚠）+ 对应颜色 */
.products-grid .bc-stock{
  font-size:12px !important;
  margin-top:6px !important;
  font-weight:900 !important;
  letter-spacing:.2px !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:6px !important;
  align-self:flex-start !important;
  position:relative !important;
  padding-left:18px !important;
}
.products-grid .bc-stock .dot{
  width:0;
  height:0;
  border-radius:50%;
  display:none;
}

/* In stock: √ 绿色 */
.products-grid .bc-stock.is-in{
  color:#10b981 !important;
}
.products-grid .bc-stock.is-in::before{
  content:"\2713" !important;
  position:absolute !important;
  left:0 !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  font-size:12px !important;
  font-weight:900 !important;
  color:#10b981 !important;
}

/* Out of stock: × 红色 */
.products-grid .bc-stock.is-out{
  color:#ef4444 !important;
}
.products-grid .bc-stock.is-out::before{
  content:"\00D7" !important;
  position:absolute !important;
  left:0 !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  font-size:12px !important;
  font-weight:900 !important;
  color:#ef4444 !important;
}

/* Pre-sale: ⚠ 橙色 */
.products-grid .bc-stock.is-pre{
  color:var(--ow-orange,#ff4b0c) !important;
}
.products-grid .bc-stock.is-pre::before{
  content:"\26A0" !important;
  position:absolute !important;
  left:0 !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  font-size:12px !important;
  font-weight:900 !important;
  color:var(--ow-orange,#ff4b0c) !important;
}
.products-grid .bc-qty{ display:inline-flex; align-items:center; gap:1px; border:1px solid #ddd; border-radius:8px; padding:0 6px; height:38px; }
.products-grid .bc-qty{ position:relative; z-index:2; pointer-events:auto; }
.products-grid .bc-qty__btn{ width:28px; height:28px; border:0; border-radius:6px; font-weight:900; cursor:pointer; pointer-events:auto !important; position:relative; z-index:3; }
.products-grid .bc-qty *{ pointer-events:auto; }
/* Hide any auto-added +/- controls so only bc-qty__btn is visible */
.products-grid .bc-qty button:not(.bc-qty__btn),
.products-grid .bc-qty .qty-btn,
.products-grid .bc-qty .quantity-button{ display:none !important; }
.products-grid .bc-qty__input{ width:44px; height:28px; text-align:center; border:0; outline:none; background:transparent; font-weight:700; }
.products-grid .bc-qty__input::-webkit-inner-spin-button,
.products-grid .bc-qty__input::-webkit-outer-spin-button{ -webkit-appearance:none; margin:0; }
.products-grid .bc-qty__input[type=number]{ -moz-appearance:textfield; }
.products-grid .bc-img img{ width:100%; height:auto; display:block; object-fit:cover; }

/* ---- 固定每个产品图片高度为 216.750px（桌面） ---- */
@media (min-width: 992px) {
    .products-grid .bc-img,
    .products-grid .bc-card .bc-img {
        height: 216.75px !important;
        min-height: 216.75px !important;
        max-height: 216.75px !important;
        aspect-ratio: auto !important;
        overflow: hidden;
    }
    .products-grid .bc-img > img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }
}

@media (max-width: 991.98px) {
    /* 移动端使用自适应高度，避免过高 */
    .products-grid .bc-img,
    .products-grid .bc-card .bc-img {
        height: auto !important;
        aspect-ratio: 1/1;
    }
    /* iOS/移动端避免图片被裁切 */
    .products-grid .bc-img > img,
    .products-grid .bc-card .bc-img > img {
        height: 100% !important;
        object-fit: contain !important;
        background: #fff;
    }
}

/* 统一 bc-img 容器的高度/比例，避免卡片参差不齐 */
.products-grid .bc-img{ position:relative; display:block; background:#fafafa; aspect-ratio: 1/1; }
.products-grid .bc-img .bc-wish{ pointer-events:auto; }
@supports not (aspect-ratio: 4/3){
    /* 兼容旧浏览器：用占位的 padding-top 方法近似 4:3 */
    .products-grid .bc-img::before{ content:""; display:block; padding-top:75%; }
    .products-grid .bc-img > img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
}

/* 固定模块区域高度，保证标题/价格/按钮行对齐 —— 统一用于分类与 shop */
.products-grid .bc-body{ 
  gap:10px; 
  display:flex; 
  flex-direction:column;
  box-sizing:border-box;
  padding:12px;
}
/* 图片区域固定为卡高度的 60%，下半部为内容区域 40%（配合自动高度） */
.products-grid .bc-img{
  position:relative;
  display:block;
  background:#fafafa;
  aspect-ratio: 1/1;
}
.products-grid .bc-name{
  flex:0 0 75px !important;
  height:75px !important;
  
  min-height: 75px !important;
  overflow:hidden;
  display:-webkit-box !important;
  -webkit-line-clamp:2;
  line-clamp:2;
  -webkit-box-orient:vertical;
}
.products-grid .bc-price{
  flex:0 0 28px !important;
  height:28px !important;
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  white-space:nowrap !important;
}
.products-grid .bc-actions{
  flex:0 0 46px !important;
  height:46px !important;
  margin-top:0 !important;
  display:flex !important;
  gap:8px !important;
  align-items:center !important;
}
.products-grid .bc-btn{
  height:38px !important;
}

/* ===== bc-quick overlay 小眼睛（复制 Our Best Sellers 行为） ===== */
.bc-img .bc-quick{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,0.0);
  opacity:0;
  transition:opacity .25s ease, background .25s ease, transform .25s ease;
  pointer-events:none;
  z-index:3;
}
.bc-img:hover .bc-quick{
  opacity:1;
  background:rgba(0,0,0,0.25);
  pointer-events:auto;
}
/* 透明小眼睛图标 */
.bc-img .bc-quick::before{
  content:"";
  width:40px;
  height:40px;
  border-radius:999px;
  background:rgba(0,0,0,0.45);
  box-shadow:0 4px 12px rgba(0,0,0,0.35);
  display:block;
  position:relative;
}
.bc-img .bc-quick::after{
  content:"";
  position:absolute;
  width:20px;
  height:20px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 5c-7.633 0-11 7-11 7s3.367 7 11 7 11-7 11-7-3.367-7-11-7zm0 12a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-8a3 3 0 1 0 .001 6.001A3 3 0 0 0 12 9z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 5c-7.633 0-11 7-11 7s3.367 7 11 7 11-7 11-7-3.367-7-11-7zm0 12a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-8a3 3 0 1 0 .001 6.001A3 3 0 0 0 12 9z'/%3E%3C/svg%3E") center / contain no-repeat;
  background:rgba(255,255,255,0.9);
}
.bc-img .bc-quick:hover{
  background:rgba(0,0,0,0.32);
}

/* Remove bc-quick eye icon completely on shop/archive */
.bc-img .bc-quick::before,
.bc-img .bc-quick::after{
  content:none !important;
}
.bc-img .bc-quick svg{
  display:none !important;
}

/*** 
===============================
    Product Style1 Css    
===============================
***/
.products-style1 {
    background-color: var(--thm-white);
    padding: 140px 0px 140px;
}

.products-style1__sidebar {
    position: relative;
    display: block;
    margin-right: 20px;
}



.products-style1__accordion {
    position: relative;
    display: block;
    margin-top: 30px;
}

.accordion-box-style1.accordion-box-style1-shop .accordion {
    margin-bottom: 10px;
}

.accordion-box-style1.accordion-box-style1-shop .accordion .accord-btn {
    background-color: var(--thm-gray-bg);
    border: 1px solid #e3e3e3;
    padding: 15px 30px 15px;
    padding-right: 0px;
    border-radius: 0px;
    transition: all 200ms linear;
    transition-delay: 0.1s;
    z-index: 3;
}

.accordion-box-style1.accordion-box-style1-shop .accordion .accord-btn h4 {
    color: var(--thm-black);
    font-size: 18px;
    line-height: 28px;
    text-transform: uppercase;
}

.accordion-box-style1.accordion-box-style1-shop .accordion .accord-btn.active h4 {
    color: var(--thm-black);
}

.accordion-box-style1.accordion-box-style1-shop .accordion .accord-btn::after {
    display: none;
}

.accordion-box-style1.accordion-box-style1-shop .accordion .accord-btn.active::after {
    display: none;
}

.accordion-box-style1.accordion-box-style1-shop .accordion .accord-content {
    background-color: transparent;
    border: 1px solid #e3e3e3;
    border-top: none;
    box-shadow: none;
    padding: 24px 30px 24px;
}

.accordion-box-style1.accordion-box-style1-shop .accordion .accord-content ul {
    position: relative;
    display: block;
}

.accordion-box-style1.accordion-box-style1-shop .accordion .accord-content ul li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accordion-box-style1.accordion-box-style1-shop .accordion .accord-content ul li+li {
    margin-top: 18px;
}

.accordion-box-style1.accordion-box-style1-shop .accordion .accord-content ul li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--thm-body-font-color);
    font-size: 17px;
    line-height: 26px;
    font-family: var(--thm-font);
    font-weight: 400;
    transition: all 200ms linear;
    transition-delay: 0.1s;
}

.accordion-box-style1.accordion-box-style1-shop .accordion .accord-content ul li.active a,
.accordion-box-style1.accordion-box-style1-shop .accordion .accord-content ul li a:hover {
    color: var(--thm-primary-color);
}

.accordion-box-style1.accordion-box-style1-shop .accordion .accord-content ul li a .icon {
    position: relative;
    display: block;
    color: #a9a7a6;
    font-size: 14px;
    line-height: 0;
    margin-right: 15px;
    transition: all 200ms linear;
    transition-delay: 0.1s;
}

.accordion-box-style1.accordion-box-style1-shop .accordion .accord-content ul li.active a .icon,
.accordion-box-style1.accordion-box-style1-shop .accordion .accord-content ul li a:hover .icon {
    color: var(--thm-primary-color);
}
    
.accordion-box-style1.accordion-box-style1-shop .accordion .accord-content ul li .box {
    position: relative;
    display: block;
    width: 14px;
    height: 14px;
    background-color: transparent;
    border: 1px solid #e3e3e3;
}

/* Override bc-quick overlay to match Our Best Sellers icon style */
.bc-img .bc-quick {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.0);
  opacity: 0;
  transition: opacity .25s ease, background .25s ease;
  pointer-events: none;
  z-index: 3;
}
.bc-img:hover .bc-quick {
  opacity: 1;
  background: rgba(0,0,0,0.25);
  pointer-events: auto;
}
.bc-img .bc-quick::before,
.bc-img .bc-quick::after {
  content: none !important;
}
.bc-img .bc-quick i,
.bc-img .bc-quick .icon-eye {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: #ff4b0c;
  font-size: 18px;
  transition: all .3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.bc-img:hover .bc-quick i,
.bc-img:hover .bc-quick .icon-eye {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255,75,12,0.3);
}




.sidebar-price-range {
    position: relative;
    display: block;
    border: 1px solid #e3e3e3;
    background-color: transparent;
    padding: 22px 30px 30px;
    margin-top: 30px;
}

.sidebar-price-range .title {
    position: relative;
    display: block;
}

.sidebar-price-range .title h3 {
    font-size: 18px;
    line-height: 28px;
    text-transform: uppercase;
}

.price-ranger {
    position: relative;
    display: block;
    margin-top: 21px;
}

.price-ranger .ui-widget-content {
    background: #dddbdb;
    border: none;
    height: 4px;
    border-radius: 0px;
}

.price-ranger #slider-range {
    margin-left: 5px;
    margin-right: 0px;
    margin-top: 0;
}

.price-ranger .ui-widget-header {
    border: 0px solid #e0dfdf;
    background: var(--thm-primary-color);
}

.price-ranger .ui-slider-handle {
    position: absolute;
    top: -3px;
    width: 10px !important;
    height: 10px;
    border: none;
    background: var(--thm-primary-color);
    border-radius: 0%;
    margin-left: -5px;
    outline: medium none;
    cursor: pointer;
    z-index: 2;
}

.price-ranger .ranger-min-max-block {
    position: relative;
    display: block;
    overflow: hidden;
    margin-top: 0px;
}

.price-ranger .ranger-min-max-block .left {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
}

.price-ranger .ranger-min-max-block input {
    display: inline-block;
}

.price-ranger .ranger-min-max-block input[type="text"] {
    position: relative;
    width: 60px;
    float: left;
    color: var(--thm-body-font-color);
    font-size: 17px;
    font-weight: 500;
    line-height: 26px;
    border: none;
    padding: 0;
    font-family: var(--thm-font);
    background-color: transparent;
}

.price-ranger .ranger-min-max-block input[type="text"]+input[type="text"] {
    width: 50px;
}

.price-ranger .ranger-min-max-block .right {
    position: relative;
    display: inline-block;
    margin: 7px 0 0;
}

.price-ranger .ranger-min-max-block input[type="submit"] {
    position: relative;
    display: inline-block;
    padding: 0px 0px 4px;
    border: none;
    border-radius: 0px;
    border-bottom: 2px solid #dddbdb;
    color: var(--thm-black);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    font-family: var(--thm-font-2);
    background-color: transparent;
}



.sidebar-rating-box {
    position: relative;
    display: block;
    border: 1px solid #e3e3e3;
    background-color: transparent;
    padding: 22px 30px 12px;
    margin-top: 30px;
}

.sidebar-rating-box .title {
    position: relative;
    display: block;
    padding-bottom: 14px;
}

.sidebar-rating-box .title h3 {
    font-size: 18px;
    line-height: 28px;
    text-transform: uppercase;
}

.sidebar-rating-box ul {
    position: relative;
    display: block;
    overflow: hidden;
    margin-left: -15px;
    margin-right: -15px;
}

.sidebar-rating-box ul li {
    position: relative;
    display: block;
    float: left;
    padding: 0 15px 10px;
}

.sidebar-rating-box ul li input[type=radio] {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.sidebar-rating-box ul li label {
    position: relative;
    display: block;
    padding-left: 30px;
    color: #ffc009;
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    cursor: pointer;
    transition: all 200ms linear;
    transition-delay: 0.1s;
}

.sidebar-rating-box ul li label span.gray {
    color: #dddbdb;
}

.sidebar-rating-box ul li input[type=radio]+label i {
    position: absolute;
    top: 4px;
    left: 0;
    width: 14px;
    height: 14px;
    border: 1px solid #e3e3e3;
    border-radius: 0%;
    transition: all 200ms linear;
    transition-delay: 0.1s;
}

.sidebar-rating-box ul li label i::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    bottom: -1px;
    right: -1px;
    transform: scale(0);
    background-color: var(--thm-primary-color);
    border-radius: 0%;
    transition: all 200ms linear;
    transition-delay: 0.1s;
}

.sidebar-rating-box ul li input[type=radio]:checked+label {}

.sidebar-rating-box ul li input[type=radio]:checked+label i {
    border-color: var(--thm-primary-color);
}

.sidebar-rating-box ul li input[type=radio]:checked+label i::before {
    transform: scale(1.0);
}







.products-content-box {
    position: relative;
    display: block;
}

.single-products-style1 {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid #e3e3e3;
    margin-bottom: 30px;
}

.single-products-style1 .img-box {
    position: relative;
    display: block;
}

.single-products-style1 .img-box img {
    width: 100%;
    -webkit-transition: all 0.90s ease;
    -o-transition: all 0.90s ease;
    transition: all 0.90s ease;
}

.single-products-style1:hover .img-box img {
    transform: scale(1.02) translateX(10px);
}

.single-products-style1 .img-box .overlay-icon {
    position: absolute;
    top: 19px;
    left: 19px;
    z-index: 5;
}

.single-products-style1 .img-box .overlay-icon a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--thm-white);
    border: 1px solid #e3e3e3;
    color: #a9a7a6;
    font-size: 20px;
    line-height: 0;
    opacity: 0;
    transform: translateX(-70px);
    -webkit-transition: all 0.7s ease;
    -o-transition: all 0.7s ease;
    transition: all 0.7s ease;
}

.single-products-style1 .img-box .overlay-icon a:hover {
    color: var(--thm-white);
    border-color: var(--thm-primary-color);
    background-color: var(--thm-primary-color);
}

.single-products-style1 .img-box .overlay-icon a+a {
    margin-top: 10px;
}

.single-products-style1:hover .img-box .overlay-icon a {
    opacity: 1;
    transform: translateX(0px);
}

.single-products-style1 .img-box .discount {
    position: absolute;
    top: 0;
    right: 0;
    transform: rotate(180deg);
    writing-mode: vertical-lr;
    background-color: var(--thm-primary-color);
    clip-path: polygon(0% 0%, 100% 20%, 100% 100%, 0% 100%);
    padding: 30px 0px 20px;
    z-index: 5;
}

.single-products-style1 .img-box .discount h6 {
    color: var(--thm-white);
    font-size: 14px;
    line-height: 25px;
    text-transform: uppercase;
}

.single-products-style1 .img-box .pice-box {
    position: absolute;
    right: 19px;
    bottom: 14px;
    z-index: 5;
}

.single-products-style1 .img-box .pice-box h4 {
    color: var(--thm-body-font-color);
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    text-transform: uppercase;
}

.single-products-style1 .img-box .pice-box h4 del {
    color: #a9a7a6;
    font-weight: 500;
}

.single-products-style1 .content-box {
    position: relative;
    display: block;
    padding: 0px 19px 0px;
}

.single-products-style1 .content-box .title-box {
    position: relative;
    display: block;
    background-color: #f9f7f6;
    padding: 17px 25px 18px;
}

.single-products-style1 .content-box .title-box h4 {
    font-size: 18px;
    line-height: 28px;
    text-transform: uppercase;
}

.single-products-style1 .content-box .title-box h4 a {
    color: var(--thm-black);
    transition: all 200ms linear;
    transition-delay: 0.1s;
}

.single-products-style1 .content-box .title-box h4 a:hover {
    color: var(--thm-primary-color);
}

.single-products-style1 .content-box .title-box h5 {
    color: #a9a7a7;
    font-size: 16px;
    line-height: 26px;
    text-transform: uppercase;
}

.single-products-style1 .content-box .bottom-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0px 13px;
}

.single-products-style1 .content-box .bottom-box .review {
    position: relative;
    display: flex;
    align-items: center;
}

.single-products-style1 .content-box .bottom-box .review .rating {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 5px;
}

.single-products-style1 .content-box .bottom-box .review .rating li {
    position: relative;
    display: block;
    color: #ffc009;
    font-size: 14px;
    line-height: 0;
}

.single-products-style1 .content-box .bottom-box .review .rating li.color {
    color: #dddbdb;
}

.single-products-style1 .content-box .bottom-box .review .rating li+li {
    margin-left: 5px;
}

.single-products-style1 .content-box .bottom-box .review p {
    font-size: 15px;
    line-height: 24px;
}

.single-products-style1 .content-box .bottom-box .cart-box {
    position: relative;
    display: block;
}

.single-products-style1 .content-box .bottom-box .cart-box a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--thm-black);
    font-size: 16px;
    line-height: 26px;
    font-family: var(--thm-font-2);
    font-weight: 700;
    text-transform: uppercase;
    transition: all 200ms linear;
    transition-delay: 0.1s;
}

.single-products-style1 .content-box .bottom-box .cart-box a i {
    margin-right: 10px;
}

.single-products-style1 .content-box .bottom-box .cart-box a:hover {
    color: var(--thm-primary-color);
}

/*** 
==========================
    Account Style1 Css 
===============================
***/
.account-style1 {
    background-color: var(--thm-white);
    padding: 140px 0 140px;
}

.login-form {
    position: relative;
    display: block;
    margin-top: -11px;
}

.login-form .inner-title {
    position: relative;
    display: block;
    padding-bottom: 40px;
}

.login-form .inner-title h3 {
    font-size: 30px;
    line-height: 40px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.login-form .inner-title .border-box {
    position: relative;
    display: block;
    width: 70px;
    height: 4px;
    background-color: var(--thm-primary-color);
    clip-path: polygon(0% 0%, 100% 0, 95% 100%, 0% 100%);
}

.login-form__inner {
    position: relative;
    display: block;
    background-color: var(--thm-gray-bg);
    padding: 37px 40px 60px;
}

.login-form .input-field {
    position: relative;
    display: block;
    margin-bottom: 22px;
}

.login-form .input-field label {
    position: relative;
    display: block;
    color: var(--thm-black);
    font-size: 16px;
    line-height: 26px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: var(--thm-font-2);
    margin-bottom: 13px;
}

.login-form .input-field input[type="text"] {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
    border-radius: 0px;
    background-color: var(--thm-white);
    border: none;
    color: var(--thm-body-font-color);
    font-size: 16px;
    padding-left: 20px;
    padding-right: 20px;
    text-transform: uppercase;
    font-weight: 500;
    font-family: var(--thm-font-2);
    transition: all 500ms ease 0s;
}

.login-form__inner .checked-box1 {
    padding-top: 3px;
}

.login-form__inner .checked-box1 label {
    color: var(--thm-body-font-color);
    font-size: 17px;
    line-height: 26px;
}

.login-form__inner .checked-box1 input[type="checkbox"]+label span {
    width: 16px;
    height: 16px;
    border-radius: 0px;
    border: 1px solid #e3e3e3;
    background-color: var(--thm-white);
}

.login-form__inner .checked-box1 label span:before {
    border-radius: 0px;
    margin: 3px auto 0px;
}

.login-form__inner .checked-box1 input[type="checkbox"]:checked+label span {
    border-color: var(--thm-primary-color);
}

.login-form__inner .checked-box1 input[type="checkbox"]:checked+label span:before {
    transform: scale(1.0);
}

.login-form .btn-box {
    position: relative;
    display: block;
    line-height: 0;
    margin-top: 15px;
}

.login-form .btn-box .btn-one {
    width: 100%;
    justify-content: center;
}

.login-form .forgot-password {
    position: relative;
    display: block;
    margin-top: 37px;
}

.login-form .forgot-password a {
    position: relative;
    display: inline-block;
    color: #070f64;
    font-size: 16px;
    line-height: 26px;
    font-family: var(--thm-font-2);
    font-weight: 700;
    text-transform: uppercase;
    transition: all 200ms linear;
    transition-delay: 0.1s;
}

.login-form .forgot-password a:hover {
    color: var(--thm-primary-color);
}

.login-form .forgot-password a::before {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    right: 0;
    height: 2px;
    background-color: #dddddd;
}

.register-form {
    position: relative;
    display: block;
    margin-top: -11px;
}

.register-form .inner-title {
    position: relative;
    display: block;
    padding-bottom: 40px;
}

.register-form .inner-title h2 {
    font-size: 30px;
    line-height: 40px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.register-form .inner-title .border-box {
    position: relative;
    display: block;
    width: 70px;
    height: 4px;
    background-color: var(--thm-primary-color);
    clip-path: polygon(0% 0%, 100% 0, 95% 100%, 0% 100%);
}

.register-form__inner {
    position: relative;
    display: block;
    background-color: transparent;
    border: 1px solid #e3e3e3;
    padding: 32px 40px 40px;
}

.register-form__inner-content {
    position: relative;
    display: block;
}

.register-form__inner-content .input-field {
    position: relative;
    display: block;
    margin-bottom: 22px;
}

.register-form__inner-content .input-field label {
    position: relative;
    display: block;
    color: var(--thm-black);
    font-size: 16px;
    line-height: 26px;
    font-weight: 700;
    font-family: var(--thm-font-2);
    text-transform: uppercase;
    margin-bottom: 13px;
}

.register-form__inner-content .input-field input[type="text"] {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
    border: none;
    background-color: var(--thm-gray-bg);
    font-size: 16px;
    font-weight: 500;
    padding-left: 20px;
    padding-right: 20px;
    font-family: var(--thm-font-2);
    border-radius: 0px;
    transition: all 700ms ease 0s;
}

.register-form__inner-content .btn-box {
    position: relative;
    display: block;
    line-height: 0;
    margin-top: 30px;
}

.register-form__inner-content .btn-box .btn-one {
    width: 100%;
    justify-content: center;
}

.register-form__inner-content .btn-box .btn-one::before {
    background-color: var(--thm-primary-color);
}

.register-form__inner-content .btn-box .btn-one::after {
    background-color: var(--thm-black-bg);
}

.register-form__inner-content .checked-box2 {
    margin-top: 30px;
}

.register-form__inner-content .checked-box2 label {
    color: var(--thm-body-font-color);
    font-size: 17px;
    line-height: 26px;
}

.register-form__inner-content .checked-box2 input[type="checkbox"]+label span {
    top: 7px;
    width: 15px;
    height: 17px;
    border-radius: 0px;
    border: 1px solid #e3e3e3;
    background-color: var(--thm-white);
}

.register-form__inner-content .checked-box2 label span:before {
    border-radius: 0px;
    margin: 1px auto 0px;
}

.register-form__inner-content .checked-box2 input[type="checkbox"]:checked+label span {
    border-color: var(--thm-primary-color);
}

.register-form__inner-content .checked-box2 input[type="checkbox"]:checked+label span:before {
    transform: scale(1.0);
}

/*** 
=============================================
    Checkout Area Css
=============================================
***/
.checkout-area {
    position: relative;
    display: block;
    background: var(--thm-white);
    padding: 140px 0px 140px;
}

.checkout_inner-box {
    position: relative;
    display: block;
}

.checkout-form {
    position: relative;
    display: block;
    padding: 60px 60px 54px;
    background: var(--thm-white);
    border: 1px solid #e3e3e3;
}

.checkout-form-box1 {
    position: relative;
    display: block;
    padding-bottom: 44px;
}

.shop-page-title {
    position: relative;
    display: block;
    margin-top: -11px;
    padding-bottom: 40px;
}

.shop-page-title h2 {
    font-size: 30px;
    line-height: 40px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.shop-page-title .border-box {
    position: relative;
    display: block;
    width: 70px;
    height: 4px;
    background-color: var(--thm-primary-color);
    clip-path: polygon(0% 0%, 100% 0, 95% 100%, 0% 100%);
}

.checkout-form .field-input {
    position: relative;
    display: block;
    margin: 0px 0px 20px;
}

.checkout-form .field-input input[type="text"],
.checkout-form .field-input input[type="email"],
.checkout-form .field-input input[type="tel"] {
    position: relative;
    display: block;
    background: var(--thm-gray-bg);
    border: none;
    width: 100%;
    height: 60px;
    border-radius: 0px;
    color: #a9a7a6;
    font-size: 17px;
    font-weight: 400;
    padding: 0 20px 0px;
    font-family: var(--thm-font);
    transition: all 500ms ease;
}

.checkout-form-box1 .checked-box2 {
    margin-top: 0;
}

.checkout-form-box1 .checked-box2 input[type="checkbox"]+label span {
    top: 4px;
    width: 18px;
    height: 18px;
    border: 1px solid #e3e3e3;
    background-color: var(--thm-gray-bg);
    border-radius: 0px;
}

.checkout-form-box1 .checked-box2 label span:before {
    width: 10px;
    height: 10px;
    border-radius: 0%;
}

.checked-box2 input[type="checkbox"]:checked+label span {
    border-color: var(--thm-primary-color);
}

.checked-box2 input[type="checkbox"]:checked+label span:before {
    transform: scale(1.0);
}

.form-box2 .checked-box2 {
    margin-top: 0;
}

.form-box2 .checked-box2 input[type="checkbox"]+label span {
    top: 4px;
    width: 18px;
    height: 18px;
    border: 1px solid #e3e3e3;
    background-color: var(--thm-gray-bg);
    border-radius: 0px;
}

.form-box2 .checked-box2 label span:before {
    width: 10px;
    height: 10px;
    border-radius: 0%;
}

.form-box2 input[type="checkbox"]:checked+label span {
    border-color: var(--thm-primary-color);
}

.form-box2 input[type="checkbox"]:checked+label span:before {
    transform: scale(1.0);
}

.checkout-form .field-input .nice-select {
    position: relative;
    display: block;
    background: var(--thm-gray-bg);
    width: 100%;
    height: 60px;
    border: none;
    border-radius: 4px;
    color: #a9a7a6;
    font-size: 16px;
    font-weight: 400;
    line-height: 60px;
    font-family: var(--thm-font);
    padding-left: 20px;
    padding-right: 30px;
    transition: all 500ms ease;
}

.checkout-form .field-input .nice-select:after {
    width: 8px;
    height: 8px;
    border-bottom: 2px solid #a5a6b1;
    border-right: 2px solid #a5a6b1;
    right: 28px;
    margin-top: 0px;
    top: 25px;
    z-index: 10;
}

.checkout-form .field-input .nice-select .list {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgb(0 0 0 / 10%);
    padding: 0px 0 0px;
    margin-top: 10px;
    -webkit-transform-origin: 100% 0;
    -ms-transform-origin: 100% 0;
    transform-origin: 100% 0;
    -webkit-transform: scale(1.0) translateY(30px);
    -ms-transform: scale(1.0) translateY(30px);
    transform: scale(1.0) translateY(30px);
    -webkit-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    transition: all 0.4s linear;
    height: 0;
    width: 100%;
    right: 0 !important;
    left: auto !important;
    z-index: 100;
}

.checkout-form .field-input .nice-select.open .list {
    opacity: 1;
    pointer-events: auto;
    -webkit-transform: scale(1) translateY(0);
    -ms-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
    height: auto;
}

.checkout-form .field-input .nice-select .option {
    color: var(--thm-black);
    padding-left: 20px;
    padding-right: 20px;
    font-size: 15px;
    line-height: 40px;
    min-height: 40px;
    transition: background-color 0.5s ease;
    transition: all 0.5s ease;
}

.checkout-form .field-input .nice-select .option+.option {
    border-top: 1px solid rgba(0, 0, 0, 0.10);
}

.checkout-form .field-input .nice-select .option:hover,
.checkout-form .field-input .nice-select .option.focus,
.checkout-form .field-input .nice-select .option.selected.focus {
    color: var(--thm-white) !important;
    background-color: var(--thm-primary-color);
}



.payment-info {
    position: relative;
    display: block;
    padding-top: 70px;
}

.payment-info .accordion-box .block {
    background: var(--thm-white);
    box-shadow: none;
    margin-bottom: 20px;
}

.payment-info .accordion-box .block .acc-btn {
    border-radius: 0px;
    border: 1px solid #e3e3e3;
    background: var(--thm-white);
    padding: 16px 30px 18px;
}

.payment-info .accordion-box .block .acc-btn.active {
    border-color: var(--thm-gray-bg);
    background-color: var(--thm-gray-bg);
}

.payment-info .accordion-box .block .acc-btn h3 {
    color: var(--thm-black);
    font-size: 18px;
    line-height: 28px;
    font-family: var(--thm-font-2);
    font-weight: 700;
    text-transform: uppercase;
}

.payment-info .accordion-box .block .acc-btn.active h3 {
    color: var(--thm-black);
}

.payment-info .accordion-box .block .acc-btn::after {
    font-family: 'icomoon' !important;
    position: absolute;
    content: "\e924";
    top: 50%;
    right: 45px;
    margin-top: 0px;
    width: 0px;
    height: 0px;
    background-color: transparent;
    border-radius: 50%;
    color: var(--thm-black);
    font-size: 15px;
    line-height: 0px;
    font-weight: 400;
    transform: translateY(-50%);
    transition: all 500ms ease 0s;
}

.payment-info .accordion-box .block .acc-btn.active {
    -webkit-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    transition: all 0.4s linear;
}

.payment-info .accordion-box .block .acc-btn.active:after {
    color: var(--thm-primary-color);
    content: "\e924";
    background-color: transparent;
    transform: translateY(-50%) rotate(0deg);
}

.payment-info .accordion-box .block .acc-content {
    padding: 4px 30px 30px;
    border: 1px solid var(--thm-gray-bg);
    background-color: var(--thm-gray-bg);
    border-top: none;
}

.payment-input-box {
    position: relative;
    display: block;
    border-radius: 0;
    background: var(--thm-white);
    padding: 30px 30px 10px;
}

.payment-input-box .row {
    margin-left: -10px;
    margin-right: -10px;
}

.payment-input-box .row [class*=col-] {
    padding-left: 10px;
    padding-right: 10px;
}

.payment-input-box .input-box {
    position: relative;
    display: block;
    margin-bottom: 20px;
}

.payment-input-box .input-box input[type="text"],
.payment-input-box .input-box input[type="email"],
.payment-input-box .input-box input[type="tel"] {
    position: relative;
    display: block;
    background: var(--thm-white);
    width: 100%;
    height: 60px;
    border: 1px solid #e3e3e3;
    border-radius: 0px;
    color: #a9a7a6;
    font-size: 17px;
    font-weight: 400;
    font-family: var(--thm-font);
    margin-bottom: 20px;
    padding: 0 20px 0px;
    transition: all 500ms ease;
}

.payment-input-box .button-box {
    position: relative;
    display: block;
}

.payment-input-box .button-box button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.payment-input-box .button-box button {
    color: #ffffff;
}

.payment-input-box .button-box button::after {
    background-color: var(--thm-primary-color);
}

/** Product Details Info Box **/
.product-details-info-box {
    position: relative;
    display: block;
    padding: 33px 30px 40px;
    border: 1px solid #e3e3e3;
}

.product-details-info-box__inner {
    position: relative;
    display: block;
}

.product-details-info-box .product-name {
    position: relative;
    display: block;
}

.product-name .product-name_list {
    position: relative;
    display: block;
    border-bottom: 1px solid #e3e3e3;
    margin-bottom: 23px;
    padding-bottom: 25px;
}

.product-name .product-name_list h4 {
    font-size: 18px;
    line-height: 26px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-name .product-name_list p {
    color: #696767;
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
    font-family: var(--thm-font-2);
}

.product-name .product-name_list p span {
    color: var(--thm-primary-color);
}



.product-details-info-box .value-info {
    position: relative;
    display: block;
    margin-bottom: 18px;
    padding-bottom: 23px;
}

.product-details-info-box .value-info::before {
    content: "";
    position: absolute;
    right: 0px;
    bottom: -1px;
    height: 1px;
    background-color: #e2e2e2;
    left: 0;
}

.product-details-info-box .value-info li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-details-info-box .value-info li+li {
    margin-top: 10px;
}

.product-details-info-box .value-info li h5 {
    color: var(--thm-black);
    font-size: 16px;
    line-height: 26px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--thm-font-2);
}

.product-details-info-box .value-info li p {
    color: #696767;
    font-size: 18px;
    font-weight: 600;
    font-family: var(--thm-font-2);
}

.product-details-info-box .value-info li p span {
    color: var(--thm-primary-color);
}



.product-details-info-box .total-value-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e3e3e3;
    padding-bottom: 18px;
}

.product-details-info-box .total-value-box h3 {
    font-size: 18px;
    line-height: 28px;
    text-transform: uppercase;
    font-weight: 700;
}

.product-details-info-box .total-value-box h4 {
    color: var(--thm-primary-color);
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
}

.product-details-info-box .button-box {
    position: relative;
    display: inline-block;
    margin-top: 24px;
}

.product-details-info-box .button-box .btn-one {
    padding: 0px 30px;
    line-height: 55px;
}

.product-details-info-box .button-box .btn-one::after {
    background-color: var(--thm-primary-color);
}



/*** 
==========================
    Cart Page One Css
==========================
***/
.cart-area {
    background-color: var(--thm-white);
    /* padding: 132px 0px 140px; */
}

.cart-table-box {
    position: relative;
    display: block;
}

.cart-info {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 23px;
}

.cart-info .left {
    position: relative;
    display: block;
}

.cart-info .left h4 {
    font-size: 16px;
    line-height: 26px;
    text-transform: uppercase;
}

.cart-info .left h4 span {
    color: #a9a7a6;
}

.cart-info .right {
    position: relative;
    display: block;
}

.cart-info .right h4 {
    font-size: 16px;
    line-height: 26px;
    text-transform: uppercase;
}

.cart-info .right h4 span {
    color: var(--thm-primary-color);
}




.cart-table-box .table-outer {
    position: relative;
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e3e3e3;
    border-bottom: none;
    border-right: none;
}

.cart-table-box .cart-table {
    min-width: 1024px;
    width: 100%;
}

.cart-table-box .cart-table .cart-header {
    position: relative;
    width: 100%;
    background: var(--thm-gray-bg);
    border-bottom: 1px solid #e3e3e3;
}

.cart-table-box .cart-table tbody {
    position: relative;
}

.cart-table-box .cart-table thead tr {}

.cart-table-box .cart-table thead tr th {
    color: var(--thm-black);
    font-size: 16px;
    line-height: 26px;
    font-weight: 700;
    text-transform: uppercase;
    min-width: 160px;
    padding: 22px 30px 22px;
    font-family: var(--thm-font-2);
    border-right: 1px solid #e3e3e3;
}

.cart-table-box .cart-table thead tr th.hide-me {
    display: table-column;
}

.cart-table-box .cart-table tbody tr {
    border-bottom: 1px solid #e3e3e3;
}



.cart-table-box .cart-table tbody tr td {
    min-width: 160px;
    /* padding: 30px 30px 30px; */
    border-right: 1px solid #e3e3e3;
}

.cart-table-box .cart-table thead tr th.prod-column {
    position: relative;
}

.cart-table-box .cart-table tbody tr .prod-column .column-box {
    position: relative;
    min-height: 80px;
}

.cart-table-box .cart-table tbody tr .prod-column .column-box .prod-thumb {
    position: relative;
    width: 80px;
}

.cart-table-box .cart-table tbody tr .prod-column .column-box .prod-thumb::before {
    content: "";
    position: absolute;
    top: -30px;
    right: -40px;
    bottom: -30px;
    width: 1px;
    background-color: #e3e3e3;
}

.cart-table-box .cart-table tbody tr .prod-column .column-box .prod-thumb a {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid #e3e3e3;
}

.cart-table-box .cart-table tbody tr .prod-column .column-box .prod-thumb a img {
    width: 100%;
}

.cart-table-box .cart-table tbody tr .prod-column .column-box .prod-thumb,
.cart-table-box .cart-table tbody tr .prod-column .column-box .title {
    display: table-cell;
    vertical-align: middle;
}

.cart-table-box .cart-table tbody tr .prod-column .column-box .title {
    padding-left: 30px;
}

.cart-table-box .cart-table tbody tr .prod-column .column-box .title h3 {
    color: var(--thm-black);
    font-size: 18px;
    line-height: 28px;
    text-transform: uppercase;
}


.cart-table-box .cart-table tbody tr .qty {}

.cart-table-box .cart-table tbody tr .qty .input-group.bootstrap-touchspin {
    position: relative;
    width: 90px;
    height: 50px;
    margin: 0;
}

.cart-table-box .cart-table tbody tr .qty input.quantity-spinner.form-control {
    position: relative;
    display: block;
    padding: 0;
    width: 90px;
    height: 50px;
    flex: none;
    color: var(--thm-black);
    font-size: 18px;
    font-family: var(--thm-font-2);
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid #e6e7ef;
    text-align: center;
    border-radius: 0;
    outline: none;
    margin: 0 auto;
    box-shadow: none;
    margin-left: 0 !important;
}

.cart-table-box .cart-table tbody tr .qty .bootstrap-touchspin .input-group-btn-vertical {
    display: none !important;
}

.cart-table-box .cart-table tbody tr td.price {
    color: var(--thm-body-font-color);
    font-size: 18px;
    font-weight: 600;
    font-family: var(--thm-font-2);
}

.cart-table-box .cart-table tbody tr .sub-total {
    color: var(--thm-body-font-color);
    font-size: 18px;
    font-weight: 600;
    font-family: var(--thm-font-2);
}

.cart-table-box .cart-table tbody tr td .remove {
    position: relative;
    display: block;
    margin: 0 auto;
    width: 35px;
    height: 35px;
}

.cart-table-box .cart-table tbody tr td .remove span {
    position: relative;
    display: inline-block;
    width: 35px;
    height: 35px;
    background: transparent;
    border: 1px solid #b3b1b0;
    border-radius: 0;
    color: #bab8b7;
    font-size: 16px;
    line-height: 35px;
    text-align: center;
    cursor: pointer;
    transition: all 200ms linear;
    transition-delay: 0.1s;
    z-index: 1;
}

.cart-table-box .cart-table tbody tr td .remove:hover span {
    color: var(--thm-white);
}

.cart-table-box .cart-table tbody tr td .remove span::after {
    position: absolute;
    top: -1px;
    left: -1px;
    bottom: -1px;
    right: -1px;
    content: "";
    border-radius: 0;
    z-index: -1;
    transform: scale(0.0);
    transform-origin: center;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.62, 0.21, 0.45, 1.52);
    background: var(--thm-primary-color);
}

.cart-table-box .cart-table tbody tr td .remove:hover span::after {
    transform: scaleX(1.0);
}



.cart-button-box {
    position: relative;
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cart-button-box .apply-coupon {
    position: relative;
    display: block;
}

.cart-button-box .apply-coupon .inner {
    position: relative;
    display: block;
    padding-left: 250px;
}

.cart-button-box .apply-coupon input[type="text"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 250px;
    height: 40px;
    border: 1px solid #e3e3e3;
    color: #a9a7a7;
    font-size: 17px;
    font-weight: 400;
    padding: 0px 20px 0px;
    text-transform: capitalize;
    transition: all 500ms ease 0s;
    border-radius: 0;
    font-family: var(--thm-font);
}

.cart-button-box .apply-coupon .apply-coupon-button {
    position: relative;
    display: block;
    margin-left: 10px;
}

.cart-button-box .apply-coupon .apply-coupon-button button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--thm-black);
}

.cart-button-box .apply-coupon .apply-coupon-button button:hover {
    color: #ffffff;
}

.cart-button-box .apply-coupon .apply-coupon-button button:after {
    background-color: var(--thm-gray-bg);
}


.update-cart-btn-box {
    position: relative;
    display: flex;
    align-items: center;
}

.update-cart-btn-box button+button {
    margin-left: 10px;
}

.update-cart-btn-box button.black {
    color: var(--thm-black);
}

.update-cart-btn-box button.black:hover {
    color: var(--thm-white);
}

.update-cart-btn-box button.black:after {
    background-color: transparent;
    border: 2px solid var(--thm-primary-color);
}


.update-cart-btn-box button.black:before {
    background-color: var(--thm-black-bg);
}

.update-cart-btn-box button::after {
    background-color: var(--thm-primary-color);
}

/*** 
=============================
    Product Details Css
=============================
***/
.product-details {
    position: relative;
    display: block;
    padding: 120px 0 0px;
    z-index: 10;
}

.product-details__img {
    position: relative;
    display: block;
    margin-right: 30px;
}

.product-details__img-inner {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid var(--thm-border-color);
}

.product-details__img-inner img {
    width: 100%;
}

.product-details__img-inner .overlay-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
}

.product-details__img-inner .overlay-icon a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--thm-black);
    width: 50px;
    height: 50px;
    background: var(--thm-gray-bg);
    border-radius: var(--thm-border-radius);
}

.product-details__img-inner .overlay-icon a:hover {
    background: var(--thm-primary-color);
    color: var(--thm-white);
}

.product-details__img-inner .overlay-icon a span {
    position: relative;
    display: inline-block;
    font-size: 25px;
    line-height: 25px;
}



.product-details__content {
    position: relative;
    display: block;
}

.product-details__title {
    position: relative;
    display: block;
    margin-top: -6px;
    margin-bottom: 14px;
}

.product-details__title p {
    font-weight: 500;
}

.product-details__title h2 {
    font-size: 17px;
    line-height: 36px;
    text-transform: uppercase;
    margin-top: 5px;
}

.product-details__value {
    position: relative;
    display: block;
    margin-bottom: 22px;
}

.product-details__value h3 {
    color: var(--thm-primary-color);
    font-size: 24px;
    line-height: 34px;
    font-weight: 600;
}



.product-details__text {
    position: relative;
    display: block;
}

.product-details__text p {
    margin: 0;
}

.product-details__product-info {
    position: relative;
    display: block;
    margin-top: 26px;
    padding-bottom: 33px;
    border-bottom: 1px solid #e3e4ea;
}

.product-details__product-info ul {
    position: relative;
    display: block;
}

.product-details__product-info ul li {
    position: relative;
    display: block;
    padding-left: 150px;
    margin-bottom: 11px;
}

.product-details__product-info ul li:last-child {
    margin-bottom: 0;
}

.product-details__product-info ul li .title {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 120px;
}

.product-details__product-info ul li .title h5 {
    color: var(--thm-black);
    font-size: 16px;
    line-height: 26px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-details__product-info ul li span {
    position: relative;
    display: inline-block;
    color: var(--thm-black);
    font-weight: 700;
}

.product-details__product-info ul li p {
    margin: 0px;
}


.product-quantity-box-outer {
    width: 100%;
}

.product-quantity-box-outer .product-quantity-box {
  max-width: var(--container-max-width, 1140px);
  margin: 0 auto;
}

/* 默认一行（桌面） */
.product-quantity-box-outer .cart {
  display: flex;
  /* align-items: center; */
  /* gap: 12px; */
  /* flex-wrap: wrap;  */
  flex-direction: column;
}

.product-quantity-box-outer .cart .quantity {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 8px;
  overflow: hidden;
  height: 42px;
  background: #fff;
}

/* 数量输入与按钮 */
.product-quantity-box-outer .cart .qty {
  width: 72px;
  min-width: 64px;
  border: 0;
  text-align: center;
  font-size: 16px;
  padding: 0 6px;
  outline: none;
}
.product-quantity-box-outer .cart .qty-btn {
  appearance: none;
  border: 0;
  width: 44px;
  font-size: 20px;
  line-height: 42px;
  background: transparent;
  cursor: pointer;
  color: #333;
}

/* 两个按钮 */
.product-quantity-box-outer .cart .single_add_to_cart_button,
.product-quantity-box-outer .cart button[name="buy_now"] {
  height: 42px;
  line-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  white-space: nowrap;
}

/* Buy Now 主色（可按主题主色覆盖） */
.product-quantity-box-outer .cart button[name="buy_now"] {
  background: var(--thm-primary-color, #ff4b0c);
  border-color: var(--thm-primary-color, #ff4b0c);
  color: #fff;
}

/* —— 关键：移动端布局 —— */
@media (max-width: 640px) {
  .product-quantity-box-outer .cart {
    display: grid !important;                
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  .product-quantity-box-outer .cart .quantity {
    grid-column: 1 / -1 !important;           
    width: 100% !important;
    justify-self: stretch !important;
  }
  .product-quantity-box-outer .cart .single_add_to_cart_button,
  .product-quantity-box-outer .cart button[name="buy_now"] {
    width: 100% !important;                   
    justify-self: stretch !important;
    text-align: center;
  }
}

/* 极小屏（≤360px）：必要时将两个按钮堆叠，避免挤压 */
@media (max-width: 360px) {
  .product-quantity-box-outer .cart {
    grid-template-columns: 1fr !important;
  }
  .product-quantity-box-outer .cart .single_add_to_cart_button,
  .product-quantity-box-outer .cart button[name="buy_now"] {
    grid-column: 1 / -1 !important;
  }
}

/* 视觉细节 */
.product-quantity-box-outer .cart .single_add_to_cart_button:hover {
  filter: brightness(0.96);
}
.product-quantity-box-outer .cart button[disabled],
.product-quantity-box-outer .cart .single_add_to_cart_button[disabled] {
  opacity: .6;
  cursor: not-allowed;
}
/* 视觉细节 */
.product-quantity-box-outer .cart .qty:focus {
  box-shadow: 0 0 0 2px rgba(255, 75, 12, .3);
  border-color: var(--thm-primary-color, #ff4b0c);
}

.xjm-tabs {
  max-width: var(--xjm-maxw, 1140px);
  margin-left: auto;
  margin-right: auto;
}

.xjm-tabs__nav {
  display: flex !important;
  justify-content: center !important;   
  align-items: center;
  gap: 28px;                             
  padding: 10px 8px;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
  margin: 0 0 14px;
  /* 固定 Tabs 导航内文字字号为 22px */
  font-size: 22px !important;
}

.xjm-tabs__btn {
  position: relative;
  appearance: none;
  background: none;
  border: 0;
  padding: 10px 2px;
  /* 继承自 .xjm-tabs__nav 的 22px */
  font-size: inherit !important;
  line-height: 1.3;
  color: #111;
  cursor: pointer;
  font-weight: 500;
  transition: color .18s ease;
  /* 固定下边距 12px */
  margin-bottom: 12px !important;
}

.xjm-tabs__btn:hover { color:#000; }

.xjm-tabs__btn::after {
  content:"";
  position:absolute;
  left:50%;
  bottom:-11px;
  height:2px;
  width: 100%;
  max-width: 140px;                      
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  background: var(--xjm-accent, #ff5a1f);
  transition: transform .22s ease;
}

.xjm-tabs__nav-item.is-active .xjm-tabs__btn {
  color:#000;
  font-weight: 600;
}
.xjm-tabs__nav-item.is-active .xjm-tabs__btn::after {
  transform: translateX(-50%) scaleX(1);
}

.xjm-tabs__panel {
  animation: xjm-fade .18s ease;
}
@keyframes xjm-fade {
  from{ opacity:.75; transform: translateY(2px); }
  to{ opacity:1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .xjm-tabs__nav {
    gap: 8px;
    border-bottom: 0;
    flex-wrap: nowrap;
    justify-content: flex-start !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    font-size: 14px !important;
  }
  .xjm-tabs__nav::-webkit-scrollbar { display: none; }
  .xjm-tabs__nav-item { flex: 0 0 auto; }
  .xjm-tabs__btn {
    padding: 8px 10px;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 999px;
    /* 移动端同样继承 22px */
    font-size: inherit !important;
    margin-bottom: 0 !important;
    white-space: nowrap;
  }
  .xjm-tabs__btn::after { display:none; }     
.xjm-tabs__nav-item.is-active .xjm-tabs__btn {
  border-color: var(--xjm-accent, #ff5a1f);
}
}

/* === Shipping & Delivery 面板：标题下边距修正 === */
#tab-shipping .xjm-panel-inner h1,
#tab-shipping .xjm-panel-inner h2,
#tab-shipping .xjm-panel-inner h3,
#tab-shipping .xjm-panel-inner h4,
#tab-shipping .xjm-panel-inner .section-title,
#tab-shipping .xjm-panel-inner .summary__title{ margin-bottom:12px !important; }
.product-description-box p {
    margin: 0;
}

.product-description-box p+p {
    margin-top: 16px;
}

.product-description-box ul {
    position: relative;
    display: block;
    margin-top: 26px;
}

.product-description-box ul li {
    position: relative;
    display: block;
    padding-left: 20px;
    margin-bottom: 11px;
}

.product-description-box ul li::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--thm-black);
}

.product-description-box ul li:last-child {
    margin-bottom: 0;
}


.product-reviews-box {
    position: relative;
    display: block;
    margin-top: 63px;
}

.product-reviews-box .title-box {
    position: relative;
    display: block;
    margin-bottom: 40px;
}

.product-reviews-box .title-box .border-box {
    position: relative;
    display: block;
    width: 70px;
    height: 4px;
    background-color: var(--thm-primary-color);
    clip-path: polygon(0% 0%, 100% 0, 95% 100%, 0% 100%);
}

.product-reviews-box .title-box h2 {
    font-size: 25px;
    line-height: 40px;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.product-reviews-box ul {
    position: relative;
    display: block;
}

.product-reviews-box ul li {
    position: relative;
    display: block;
}

.product-reviews-box>ul>li+li {
    margin-top: 33px;
}

.product-reviews-box ul li .inner {
    position: relative;
    display: block;
    padding-left: 100px;
}

.product-reviews-box ul li .inner .img-box {
    position: absolute;
    top: 0px;
    left: 0;
    width: 70px;
    height: 70px;
    overflow: hidden;
}

.product-reviews-box ul li .inner .img-box img {
    width: 100%;
}

.product-reviews-box ul li .inner .content-box {
    position: relative;
    display: block;
}

.product-reviews-box>ul>li .inner .content-box .rating-icon {
      
      

       position: relative;
    display: block;
    margin-bottom: 7px;
}

.product-reviews-box>ul>li .inner .content-box .rating-icon li {
    position: relative;
    display: flex;
    align-items: center;
    line-height: 0;
}

.product-reviews-box ul li .inner .content-box .rating-icon li i+i {
    margin-left: 5px;
}

.product-reviews-box ul li .inner .content-box .rating-icon li i {
    color: #ffc009;
    font-size: 16px;
}

.product-reviews-box ul li .inner .content-box h3 {
    font-size: 18px;
    line-height: 28px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.product-reviews-box ul li .inner .content-box h3 span {
    color: #a9a7a6;
    font-size: 16px;
}

.product-reviews-box ul li .inner .content-box p {
    margin: 0;
}




.product-form-box {
    position: relative;
    display: block;
    margin-top: 52px;
}

.product-form-box .title-box {
    position: relative;
    display: block;
    margin-bottom: 33px;
}

.product-form-box .title-box h2 {
    font-size: 30px;
    line-height: 40px;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.product-form-box .title-box .border-box {
    position: relative;
    display: block;
    width: 70px;
    height: 4px;
    background-color: var(--thm-primary-color);
    clip-path: polygon(0% 0%, 100% 0, 95% 100%, 0% 100%);
}

.product-form-box .text {
    position: relative;
    display: block;
}

.product-form-box .text p {
    margin: 0;
}

.product-form-box form {
    position: relative;
    display: block;
    padding-top: 33px;
}

.product-form-box form .input-box {
    position: relative;
    display: block;
    margin-bottom: 30px;
}

.product-form-box form .input-box input[type="text"],
.product-form-box form .input-box input[type="email"],
.product-form-box form .input-box textarea {
    position: relative;
    display: block;
    background: transparent;
    border: 1px solid #e3e3e3;
    width: 100%;
    height: 60px;
    color: #a9a7a6;
    font-size: 17px;
    font-weight: 400;
    font-style: normal;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 0px;
    transition: all 500ms ease;
    font-family: var(--thm-font);
}

.product-form-box form .input-box input[type="text"]:focus,
.product-form-box form .input-box input[type="email"]:focus,
.product-form-box form .input-box textarea:focus {
    outline: none;
}

.product-form-box form .input-box textarea {
    height: 120px;
    padding: 13px 20px 10px;
}

.product-form-box form .input-box input[type="text"]::-webkit-input-placeholder {
    color: #a9a7a6;
}

.product-form-box form .input-box input[type="text"]:-moz-placeholder {
    color: #a9a7a6;
}

.product-form-box form .input-box input[type="text"]::-moz-placeholder {
    color: #a9a7a6;
}

.product-form-box form .input-box input[type="text"]:-ms-input-placeholder {
    color: #a9a7a6;
}

.product-form-box form .input-box input[type="email"]::-webkit-input-placeholder {
    color: #a9a7a6;
}

.product-form-box form .input-box input[type="email"]:-moz-placeholder {
    color: #a9a7a6;
}

.product-form-box form .input-box input[type="email"]::-moz-placeholder {
    color: #a9a7a6;
}

.product-form-box form .input-box input[type="email"]:-ms-input-placeholder {
    color: #a9a7a6;
}

.product-form-box form .input-box textarea::-webkit-input-placeholder {
    color: #a9a7a6;
}

.product-form-box form .input-box textarea:-moz-placeholder {
    color: #a9a7a6;
}

.product-form-box form .input-box textarea::-moz-placeholder {
    color: #a9a7a6;
}

.product-form-box form .input-box textarea:-ms-input-placeholder {
    color: #a9a7a6;
}

.product-form-box-checkbox {
    position: relative;
    display: block;
    margin-top: -9px;
}

.product-form-box-checkbox .inner {
    position: relative;
    display: block;
}

.product-form-box-checkbox .inner label {
    position: relative;
    display: inline-block;
    padding-left: 25px;
    margin-right: 0px;
    margin-bottom: 0;
    color: var(--thm-body-font-color);
    font-size: 17px;
    line-height: 30px;
    font-weight: 400;
    font-family: var(--thm-font);
    cursor: pointer;
    top: -3px;
}

.product-form-box-checkbox .inner input[type="checkbox"] {
    display: none;
}

.product-form-box-checkbox .inner input[type="checkbox"]+label span {
    position: absolute;
    display: block;
    top: 7px;
    left: 0;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    border: 1px solid #e3e3e3;
    background-color: var(--thm-gray-bg);
    cursor: pointer;
    border-radius: 0px;
    transition: all 300ms ease;
}

.product-form-box-checkbox .inner label span:before {
    position: absolute;
    top: 3px;
    left: 3px;
    bottom: 3px;
    right: 3px;
    content: "";
    background: var(--thm-primary-color);
    border-radius: 0px;
    transform: scale(0);
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.product-form-box-checkbox .inner input[type="checkbox"]:checked+label span {
    border-color: var(--thm-primary-color);
}

.product-form-box-checkbox .inner input[type="checkbox"]:checked+label span:before {
    transform: scale(1.0);
}

.product-form-box .button-box {
    position: relative;
    display: block;
    margin-top: 20px;
}

.product-form-box .button-box .btn-one {
    padding-left: 30px;
    padding-right: 30px;
}

/* 仅单品页：数量+加车按钮的 Grid 布局（避免影响首页 Loop 按钮） */
.single-product form.cart .woocommerce-variation-add-to-cart,
.single-product form.cart .variations_button,
.single-product form.cart .woocommerce-variation-add-to-cart.woocommerce-variation-add-to-cart-enabled{
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: 140px 1fr !important;
  grid-template-rows: auto auto !important;
  gap: 12px !important;
  align-items: stretch !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}
.single-product form.cart .woocommerce-variation-add-to-cart > .quantity,
.single-product form.cart .variations_button > .quantity{
  grid-column: 1 / 2 !important;
  grid-row: 1 / 2 !important;
}
.single-product form.cart .woocommerce-variation-add-to-cart > .single_add_to_cart_button,
.single-product form.cart .variations_button > .single_add_to_cart_button{
  grid-column: 2 / 3 !important;
  grid-row: 1 / 2 !important;
  margin-left: 0 !important;
}
.single-product form.cart .woocommerce-variation-add-to-cart > .wc-stripe-product-checkout-container,
.single-product form.cart .variations_button > .wc-stripe-product-checkout-container{
  grid-column: 1 / -1 !important;
  grid-row: 2 / 3 !important;
  width: 100% !important;
}

/* 仅单品页：Elementor 容器左右并列 - 超强化固定版 */
.single-product .product-details .e-con,
.single-product .product-details .e-con-inner{
  display: flex !important;
  flex-wrap: nowrap !important; /* 禁止换行 */
  align-items: flex-start !important;
  gap: 20px !important;
  overflow: hidden !important;
}

@media (min-width: 992px){
  .single-product .product-details .e-con-inner > .e-con-child{
    flex: 0 0 calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    min-width: calc(50% - 10px) !important;
    width: calc(50% - 10px) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  
  /* 防止内部内容撑破 */
  .single-product .product-details .e-con-inner > .e-con-child > *{
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
  }
}

@media (max-width: 991.98px){
  .single-product .product-details .e-con-inner{
    flex-direction: column !important;
    flex-wrap: wrap !important;
  }
  .single-product .product-details .e-con-inner > .e-con-child{
    flex: 0 0 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    width: 100% !important;
  }
}

/* 强制 Shop 列表使用统一库存样式（防止被后续样式覆盖） */
.products-grid .bc-stock{
  font-size:12px !important;
  margin-top:6px !important;
  font-weight:900 !important;
  letter-spacing:.2px !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:6px !important;
  align-self:flex-start !important;
  position:relative !important;
  padding-left:18px !important;
}
.products-grid .bc-stock .dot{
  width:0 !important;
  height:0 !important;
  border-radius:50% !important;
  display:none !important;
}

/* In stock: √ 绿色 */
.products-grid .bc-stock.is-in{
  color:#10b981 !important;
}
.products-grid .bc-stock.is-in::before{
  content:"\2713" !important;
  position:absolute !important;
  left:0 !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  font-size:12px !important;
  font-weight:900 !important;
  color:#10b981 !important;
}

/* Out of stock: × 红色 */
.products-grid .bc-stock.is-out{
  color:#ef4444 !important;
}
.products-grid .bc-stock.is-out::before{
  content:"\00D7" !important;
  position:absolute !important;
  left:0 !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  font-size:12px !important;
  font-weight:900 !important;
  color:#ef4444 !important;
}

/* Pre-sale: ⚠ 橙色 */
.products-grid .bc-stock.is-pre{
  color:var(--ow-orange,#ff4b0c) !important;
}
.products-grid .bc-stock.is-pre::before{
  content:"\26A0" !important;
  position:absolute !important;
  left:0 !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  font-size:12px !important;
  font-weight:900 !important;
  color:var(--ow-orange,#ff4b0c) !important;
}

/* === 全局产品网格布局 (Products Grid) - 强制修复 === */
.products-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 响应式网格 */
@media (max-width: 1199px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* === bc-card 样式 (确保与首页一致) === */
.products-grid .bc-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
  position: relative;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.products-grid .bc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,.08);
}

.products-grid .bc-img {
  position: relative;
  display: block;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f9f9f9;
}

.products-grid .bc-img img {
  /* Override global 800x800 WooCommerce image rule so grid cards can shrink per column */
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover;
  display: block;
}

.products-grid .bc-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.products-grid .bc-name {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  
  min-height: 75px; /* 固定两行高度 */
  height: 75px; /* 限制两行高度 */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.products-grid .bc-name a {
  color: #111;
  text-decoration: none;
  font-weight: 600;
}

.products-grid .bc-price {
  font-weight: 800;
  color: #111;
  font-size: 15px;
  margin-top: auto; /* 推到底部 */
}
.products-grid .bc-price .woocommerce-Price-amount.amount{ color:#111; }
.products-grid .bc-price del{ color:#000 !important; }
.products-grid .bc-price ins,
.products-grid .bc-price ins .woocommerce-Price-amount.amount{ color:var(--ow-orange,#ff4b0c); }

.products-grid .bc-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.products-grid .bc-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.2s;
}

.products-grid .bc-btn--select {
  background: var(--ow-orange,#ff4b0c);
  border: 1.5px solid var(--ow-orange,#ff4b0c);
  color: #fff;
}
.products-grid .bc-btn--select:hover {
  background: #e55a00;
  border-color: #e55a00;
  color: #fff;
}

.products-grid .bc-btn--add {
  background: var(--ow-orange, #ff4b0c);
  border: 1px solid var(--ow-orange, #ff4b0c);
  color: #fff;
}
.products-grid .bc-btn--add:hover {
  background: #e0400a;
}
.products-grid .bc-btn--select[data-has-variants="1"]{
  background:#fff !important;
  border:1.5px solid var(--ow-orange,#ff4b0c) !important;
  color:var(--ow-orange,#ff4b0c) !important;
}
.products-grid .bc-btn--select[data-has-variants="1"]:hover{
  background:#fff !important;
  border-color:#e55a00 !important;
  color:#e55a00 !important;
}

/* 强制统一按钮内部间距 */
.bc-btn,
.bc-btn.bc-btn--add,
.bc-btn.bc-btn--select,
.related-card .rp-cart-wrapper .bc-btn,
.related-card .rp-cart-wrapper .bc-btn--select{
  gap:1px !important;
}

/* Raise bc-name height on shop & category grids for longer titles */
.products-grid .bc-name,
body.tax-product_cat .bc-name,
body.post-type-archive-product .bc-name{
  min-height: 75px !important;
  max-height: 75px !important;
  flex: 0 0 75px !important;
  line-height: 1.4 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* 修复：分类描述样式 */
.term-description {
    max-width: 800px;
    margin: 0 auto;
}

/* 强制原价颜色为黑色 */
.bc-price del, 
.bc-price del .amount, 
.bc-price-fit del, 
.bc-price-fit del .amount, 
.price del, 
.price del .amount {
    color: #000000 !important;
    opacity: 1 !important;
}

/* 统一商店/分类页卡片价格排版 */
.products-grid .bc-price,
body.tax-product_cat .bc-price{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:16px;
  line-height:1.25;
  font-weight:400;
}
.products-grid .bc-price .woocommerce-Price-amount.amount,
body.tax-product_cat .bc-price .woocommerce-Price-amount.amount{
  font-size:inherit;
  font-weight:inherit;
}
.products-grid .bc-price del,
body.tax-product_cat .bc-price del{
  font-weight:400;
}
.products-grid .bc-price ins,
body.tax-product_cat .bc-price ins{
  font-weight:400;
}
.products-grid .bc-price ins .woocommerce-Price-amount.amount,
body.tax-product_cat .bc-price ins .woocommerce-Price-amount.amount{
  color: var(--ow-orange,#ff4b0c) !important;
}
.products-grid .bc-price .woocommerce-Price-amount.amount,
body.tax-product_cat .bc-price .woocommerce-Price-amount.amount{
  font-size:16px !important;
  line-height:1.25 !important;
  font-weight:400 !important;
}

/* Shop page: keep sale price orange without changing the regular price color */
body.post-type-archive-product .bc-price ins,
body.post-type-archive-product .bc-price ins .woocommerce-Price-amount.amount,
body.post-type-archive-product .bc-price ins .amount{
  color: var(--ow-orange,#ff4b0c) !important;
}
body.post-type-archive-product .bc-price ins *,
body.post-type-archive-product .bc-price ins{
  color: var(--ow-orange,#ff4b0c) !important;
}
body.post-type-archive-product .bc-price del,
body.post-type-archive-product .bc-price del .amount{
  color:#000 !important;
}
body.post-type-archive-product .bc-price del *,
body.post-type-archive-product .bc-price del{
  color:#000 !important;
}

/* Category page: mirror shop sale/original colors and force descendants */
body.tax-product_cat .bc-price ins,
body.tax-product_cat .bc-price ins .woocommerce-Price-amount.amount,
body.tax-product_cat .bc-price ins .amount{
  color: var(--ow-orange,#ff4b0c) !important;
}
body.tax-product_cat .bc-price ins *,
body.tax-product_cat .bc-price ins{
  color: var(--ow-orange,#ff4b0c) !important;
}
body.tax-product_cat .bc-price del,
body.tax-product_cat .bc-price del .amount{
  color:#000 !important;
}
body.tax-product_cat .bc-price del *,
body.tax-product_cat .bc-price del{
  color:#000 !important;
}

/* Force hide stock label inside quantity box */
.product-quantity-box-outer .product-quantity-box .stock.in-stock.in_stock_color.woo-custom-stock-status{
  display:none !important;
}
