/* HINOX final commerce polish */
.tp-shop-main-wrapper{position:relative}
.tp-shop-main-wrapper.hx-is-loading{min-height:420px;opacity:.58;pointer-events:none}
.tp-shop-main-wrapper.hx-is-loading:after{
  content:"";
  position:absolute;
  top:110px;
  left:50%;
  width:38px;
  height:38px;
  margin-left:-19px;
  border:3px solid #e4e9f0;
  border-top-color:#84bd00;
  border-radius:50%;
  animation:hxAjaxSpin .7s linear infinite;
  z-index:5;
}
@keyframes hxAjaxSpin{to{transform:rotate(360deg)}}
.hx-ajax-shop-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:48px;
  padding:0 0 18px;
  margin-bottom:18px;
  border-bottom:1px solid #e8edf2;
}
.hx-ajax-shop-count{
  color:#667085;
  font-size:13px;
  font-weight:700;
}
.hx-ajax-product-grid{margin-top:0}
.hx-ajax-pagination{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
  margin-top:26px;
}
.hx-ajax-page{
  min-width:40px;
  height:40px;
  border:1px solid #dfe6ed;
  border-radius:10px;
  background:#fff;
  color:#0f2742;
  font-size:13px;
  font-weight:800;
}
.hx-ajax-page:hover,
.hx-ajax-page.is-current{
  background:#0f2742;
  border-color:#0f2742;
  color:#fff;
}
.hx-ajax-empty{
  padding:40px 20px;
  background:#fff;
  border:1px solid #e4e9f0;
  border-radius:16px;
  color:#667085;
  text-align:center;
  font-weight:700;
}


/* Equal product columns */
.tp-product-grid-item-wrapper{
  display:flex!important;
  height:100%!important;
  padding-bottom:22px!important;
}
.tp-product-grid-item-wrapper > *{width:100%}

/* Product card */
.hx-shop-card{
  width:100%!important;
  min-width:0;
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  background:#fff!important;
  border:1px solid #dde5ee!important;
  border-radius:18px!important;
  overflow:hidden!important;
  box-shadow:0 2px 8px rgba(15,39,66,.025);
}
.hx-shop-card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 34px rgba(15,39,66,.08);
}

.hx-shop-card-media{
  position:relative;
  display:flex!important;
  align-items:center;
  justify-content:center;
  width:100%;
  aspect-ratio:1/1;
  background:#fff!important;
  border-bottom:1px solid #edf1f5;
  overflow:hidden;
}
.hx-shop-card-media img{
  display:block;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  padding:22px!important;
  border-radius:0!important;
}
.hx-shop-sale{
  position:absolute;
  top:12px;
  inset-inline-start:12px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:27px;
  padding:0 10px;
  border-radius:999px;
  background:#0f2742!important;
  color:#fff!important;
  font-size:11px;
  font-weight:800;
}

.hx-shop-card-body{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  padding:17px 18px 18px!important;
  min-height:245px;
}
.hx-shop-category{
  margin:0 0 7px!important;
  color:#7b8794!important;
  font-size:12px!important;
  line-height:1.4!important;
  font-weight:650!important;
}
.hx-shop-title{
  display:-webkit-box!important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden!important;
  min-height:56px!important;
  max-height:56px!important;
  margin:0 0 10px!important;
  font-size:18px!important;
  line-height:1.55!important;
  font-weight:800!important;
  letter-spacing:0!important;
}
.hx-shop-title a{
  color:#0f2742!important;
  text-decoration:none!important;
}
.hx-shop-sku{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  margin:0 0 12px!important;
  color:#7b8794!important;
  font-size:12px!important;
  line-height:1.45!important;
}
.hx-shop-sku span{
  color:#344054!important;
  font-weight:700!important;
}

/* Price block */
.hx-shop-info{
  margin-top:auto!important;
  padding-top:8px;
}
.hx-shop-price{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:baseline!important;
  gap:7px!important;
  min-height:34px;
  margin:0 0 9px!important;
  font-weight:900!important;
  line-height:1.2!important;
}
.hx-shop-price > .woocommerce-Price-amount,
.hx-shop-price ins .woocommerce-Price-amount{
  color:#0f2742!important;
  font-size:21px!important;
  font-weight:900!important;
}
.hx-shop-price ins{
  text-decoration:none!important;
}
.hx-shop-price del{
  color:#98a2b3!important;
  opacity:1!important;
  font-size:13px!important;
  font-weight:600!important;
}
.hx-shop-price del .woocommerce-Price-amount{
  color:#98a2b3!important;
  font-size:13px!important;
  font-weight:600!important;
}
.hx-shop-price .woocommerce-Price-currencySymbol{
  margin-inline-end:3px;
  font-size:.78em!important;
}

.hx-stock{
  display:inline-flex!important;
  align-items:center;
  width:max-content;
  min-height:25px;
  padding:4px 9px!important;
  border-radius:999px!important;
  font-size:11px!important;
  font-weight:800!important;
}
.hx-in-stock{background:#edf8f1!important;color:#197044!important}
.hx-out-stock{background:#fff0f0!important;color:#a53e3e!important}

/* Actions */
.hx-shop-actions{
  display:grid!important;
  grid-template-columns:1fr 1.25fr!important;
  gap:8px!important;
  margin-top:15px!important;
}
.hx-view-product,
.hx-cart-btn{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:0 10px!important;
  border-radius:10px!important;
  font-size:12px!important;
  font-weight:800!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
.hx-view-product{
  border:1px solid #dce4ec!important;
  background:#fff!important;
  color:#0f2742!important;
}
.hx-view-product:hover{background:#f5f8fb!important}
.hx-cart-btn{
  border:1px solid #84bd00!important;
  background:#84bd00!important;
  color:#102238!important;
}
.hx-cart-btn:hover{
  background:#94cc10!important;
  border-color:#94cc10!important;
  color:#102238!important;
}

/* Category sidebar as clear blocks */
.hx-category-sidebar{
  overflow:hidden!important;
  padding:0!important;
  background:#fff!important;
  border:1px solid #dde5ee!important;
  border-radius:18px!important;
  box-shadow:0 4px 16px rgba(15,39,66,.035)!important;
}
.hx-category-sidebar h3{
  margin:0!important;
  padding:18px 20px!important;
  border-bottom:1px solid #e9eef4!important;
  background:#fff!important;
  color:#0f2742!important;
  font-size:20px!important;
  line-height:1.3!important;
  font-weight:850!important;
}
.hx-category-sidebar-list{
  margin:0!important;
  padding:12px!important;
  list-style:none!important;
}
.hx-category-sidebar-list>li{
  margin:0 0 8px!important;
  padding:0!important;
}
.hx-category-sidebar-list>li:last-child{margin-bottom:0!important}
.hx-category-sidebar-list>li>a{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  min-height:46px!important;
  padding:10px 13px!important;
  border:1px solid #e7edf3!important;
  border-radius:12px!important;
  background:#f8fafc!important;
  color:#344054!important;
  text-decoration:none!important;
  font-size:14px!important;
  line-height:1.4!important;
  font-weight:750!important;
}
.hx-category-sidebar-list>li>a:hover{
  background:#f1f5f9!important;
  border-color:#dbe4ec!important;
  color:#0f2742!important;
}
.hx-category-sidebar-list>li.is-active>a,
.hx-category-sidebar-list>li>a.is-current{
  background:#0f2742!important;
  border-color:#0f2742!important;
  color:#fff!important;
}
.hx-category-sidebar-list>li.is-parent-active>a:not(.is-current){
  background:#eef4f8!important;
  border-color:#dce6ee!important;
  color:#0f2742!important;
}
.hx-category-sidebar-list small{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:30px!important;
  min-height:24px!important;
  padding:2px 7px!important;
  border-radius:999px!important;
  background:#e9eef4!important;
  color:#667085!important;
  font-size:11px!important;
  font-weight:800!important;
}
.hx-category-sidebar-list>li.is-active>a small,
.hx-category-sidebar-list>li>a.is-current small{
  background:rgba(255,255,255,.16)!important;
  color:#fff!important;
}

.hx-category-sidebar-children{
  margin:7px 0 2px!important;
  padding:0 10px 0 0!important;
  border:0!important;
  list-style:none!important;
}
html[dir=ltr] .hx-category-sidebar-children{padding:0 0 0 10px!important}
.hx-category-sidebar-children li{margin:0 0 5px!important}
.hx-category-sidebar-children a{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  min-height:38px!important;
  padding:7px 11px!important;
  border:1px solid #edf1f5!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#667085!important;
  text-decoration:none!important;
  font-size:12px!important;
  font-weight:650!important;
}
.hx-category-sidebar-children a:hover{
  background:#f8fafc!important;
  color:#0f2742!important;
}
.hx-category-sidebar-children a.is-current{
  background:#0f2742!important;
  border-color:#0f2742!important;
  color:#fff!important;
}

/* Responsive */
@media(max-width:991px){
  .hx-shop-card-body{min-height:230px}
  .hx-shop-title{font-size:17px!important}
}
@media(max-width:767px){
  .hx-shop-card-body{min-height:auto}
  .hx-shop-title{min-height:52px!important;max-height:52px!important;font-size:16px!important}
  .hx-shop-price > .woocommerce-Price-amount,
  .hx-shop-price ins .woocommerce-Price-amount{font-size:19px!important}
  .hx-shop-actions{grid-template-columns:1fr!important}
}
