/* HC Single Product Replica (RTL) - theme scoped */
:root{
  --hc_sp_bg:#fff;
  --hc_sp_border:rgba(0,0,0,.10);
  --hc_sp_shadow:0 10px 30px rgba(0,0,0,.08);
  --hc_sp_radius:16px;
  --hc_sp_gap:18px;
}

.hc_sp_wrap{
  max-width:1200px;
  margin:18px auto;
  padding:0 14px;
}

.hc_sp_card{
  background:var(--hc_sp_bg);
  border:1px solid var(--hc_sp_border);
  border-radius:var(--hc_sp_radius);
  box-shadow:var(--hc_sp_shadow);
  padding:18px;
}

.hc_sp_grid{ display:block; }

.hc_sp_gallery{
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--hc_sp_border);
  background:#fafafa;
}

.hc_sp_gallery .woocommerce-product-gallery,
.hc_sp_gallery img{
  border-radius:14px;
}

.hc_sp_summary .product_title{
  font-size:20px;
  line-height:1.9;
  margin:0 0 10px;
}

.hc_sp_summary .price{
  font-size:18px;
  font-weight:700;
  margin:6px 0 12px;
}

.hc_sp_summary .woocommerce-product-details__short-description{
  color:rgba(0,0,0,.75);
  line-height:2;
  margin:0 0 14px;
}

.hc_sp_summary form.cart{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  margin:12px 0 0;
}

.hc_sp_summary .quantity{
  border:1px solid var(--hc_sp_border);
  border-radius:12px;
  padding:6px 8px;
  background:#fff;
}

.hc_sp_summary button.single_add_to_cart_button{
  border-radius:12px;
  padding:10px 16px;
}

.hc_sp_tabs{
  margin-top:18px;
  border-top:1px solid var(--hc_sp_border);
  padding-top:16px;
}

.hc_sp_tabs .wc-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  list-style:none;
  padding:0;
  margin:0 0 14px;
}

.hc_sp_tabs .wc-tabs li{ margin:0; }

.hc_sp_tabs .wc-tabs a{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--hc_sp_border);
  background:#fff;
  color:rgba(0,0,0,.78);
  text-decoration:none;
}

.hc_sp_tabs .wc-tabs li.active a{
  font-weight:700;
  background:rgba(0,0,0,.04);
}

.hc_sp_tabs .woocommerce-Tabs-panel{
  line-height:2;
  color:rgba(0,0,0,.78);
}

.hc_sp_tabs table.shop_attributes{
  width:100%;
  border-collapse:collapse;
}
.hc_sp_tabs table.shop_attributes th,
.hc_sp_tabs table.shop_attributes td{
  padding:10px 12px;
  border:1px solid var(--hc_sp_border);
  font-size:13px;
}

.hc_sp_tabs .related > h2,
.hc_sp_tabs .up-sells > h2{
  font-size:16px;
  margin:18px 0 12px;
}

.hc_sp_tabs ul.products{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:12px;
  margin:0;
  padding:0;
  list-style:none;
}

@media (max-width:992px){
  .hc_sp_tabs ul.products{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width:420px){
  .hc_sp_tabs ul.products{ grid-template-columns:1fr; }
}

.hc_sp_tabs ul.products li.product{
  border:1px solid var(--hc_sp_border);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  padding:10px;
}

.hc_sp_tabs ul.products li.product .woocommerce-loop-product__title{
  font-size:13px;
  line-height:1.8;
}
