/*
Theme Name: NC Home Market
Theme URI: https://ncwebstudio.it/
Author: NC Web Studio
Author URI: https://ncwebstudio.it/
Description: Tema e-commerce casa, living e Natale. Compatibile con WooCommerce, Elementor e NC Home Store, con ricerca live nativa.
Version: 2.6.70
Requires at least: 6.3
Requires PHP: 8.0
Text Domain: nc-home-market
*/


/* ==========================================================
   NC Home Market 2.1.7 - premium product cards
   ========================================================== */
.ncsm-catalog-products ul.products,
.ncss-home-products.is-carousel,
.ncss-home-products.is-grid,
.ncss-products.ncss-grid-view{align-items:stretch}

li.product.ncsm-catalog-card,
.ncss-home-product-card,
.ncss-el-product-card,
.ncss-product-card{
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  border:1px solid #e7ebf1!important;
  border-radius:18px!important;
  padding:10px!important;
  background:#fff!important;
  box-shadow:0 10px 24px rgba(17,24,39,.04)!important;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease!important;
}
li.product.ncsm-catalog-card:hover,
.ncss-home-product-card:hover,
.ncss-el-product-card:hover,
.ncss-product-card:hover{
  transform:translateY(-4px)!important;
  box-shadow:0 18px 34px rgba(17,24,39,.09)!important;
  border-color:#dde4ec!important;
}
.ncsm-catalog-image,
.ncss-home-product-image,
.ncss-el-product-image,
.ncss-card-image{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  aspect-ratio:1/1.02!important;
  border-radius:14px!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid #edf1f5!important;
}
.ncsm-catalog-image img,
.ncss-home-product-image img,
.ncss-el-product-image img,
.ncss-card-image img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  padding:8px!important;
  background:#fff!important;
}
.ncsm-catalog-body,
.ncss-home-product-body,
.ncss-el-product-body,
.ncss-card-body{
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  padding:14px 8px 8px!important;
}
.ncsm-catalog-meta,
.ncss-home-product-meta,
.ncss-el-product-meta,
.ncss-card-topline{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  min-height:18px!important;
  color:#94a0b1!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:500!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
}
.ncsm-catalog-meta em,
.ncss-home-product-meta em,
.ncss-el-product-meta em,
.ncss-card-topline em{
  color:#9aa5b4!important;
  font-style:normal!important;
  white-space:nowrap!important;
}
.ncsm-catalog-title,
.ncss-home-product-body h3,
.ncss-el-product-body h3,
.ncss-card-body h3{
  margin:10px 0 0!important;
  color:#152238!important;
  font-size:19px!important;
  line-height:1.34!important;
  font-weight:600!important;
  letter-spacing:-.018em!important;
}
.ncsm-catalog-title a,
.ncss-home-product-body h3 a,
.ncss-el-product-body h3 a,
.ncss-card-body h3 a{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  min-height:2.68em!important;
  color:inherit!important;
  text-decoration:none!important;
}
.ncss-home-product-body p,
.ncss-el-product-body p,
.ncss-card-body p{
  margin:10px 0 0!important;
  color:#728096!important;
  font-size:13px!important;
  line-height:1.52!important;
  min-height:0!important;
}
.ncsm-catalog-footer,
.ncss-home-product-foot,
.ncss-el-product-foot,
.ncss-card-footer{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-top:auto!important;
  padding-top:18px!important;
  border-top:1px solid #eef2f6!important;
  background:transparent!important;
}
.ncsm-catalog-price,
.ncss-home-product-foot strong,
.ncss-el-product-foot strong,
.ncss-card-footer strong{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:baseline!important;
  gap:6px!important;
  color:#152238!important;
  font-size:24px!important;
  line-height:1!important;
  font-weight:650!important;
}
.ncsm-catalog-price del,
.ncss-home-product-foot strong del,
.ncss-el-product-foot strong del,
.ncss-card-footer strong del{
  color:#90a0b4!important;
  font-size:.68em!important;
}
.ncsm-catalog-price ins,
.ncss-home-product-foot strong ins,
.ncss-el-product-foot strong ins,
.ncss-card-footer strong ins{
  color:#c1121f!important;
  text-decoration:none!important;
}
.ncsm-catalog-actions,
.ncss-home-product-actions{margin-left:auto!important}
.ncsm-product-more,
.ncss-home-product-foot a,
.ncss-el-product-foot a,
.ncss-card-footer a{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:42px!important;
  padding:0 16px!important;
  border:1px solid #e4e9ef!important;
  border-radius:999px!important;
  background:#f9fbfd!important;
  color:#152238!important;
  font-size:12.5px!important;
  font-weight:600!important;
  letter-spacing:.01em!important;
  text-decoration:none!important;
  transition:all .2s ease!important;
}
.ncsm-product-more:hover,
.ncss-home-product-foot a:hover,
.ncss-el-product-foot a:hover,
.ncss-card-footer a:hover{
  background:#c1121f!important;
  border-color:#c1121f!important;
  color:#fff!important;
}
.ncsm-product-more svg,
.ncss-home-product-foot a svg,
.ncss-el-product-foot a svg,
.ncss-card-footer a svg{
  width:15px!important;
  height:15px!important;
  stroke:currentColor!important;
  fill:none!important;
  stroke-width:1.9!important;
}

/* archive/list specific */
.ncss-list-view .ncss-product-card{
  grid-template-columns:210px minmax(0,1fr)!important;
  border-radius:18px!important;
  padding:10px!important;
}
.ncss-list-view .ncss-home-product-image{height:210px!important}
.ncss-list-view .ncss-home-product-body{padding:16px 18px!important}
.ncss-list-view .ncss-home-product-body h3{font-size:22px!important;line-height:1.3!important}
.ncss-list-view .ncss-home-product-foot strong{font-size:26px!important}

/* section headings more refined */
.ncss-home-section-head,
.ncss-product-archive-head{
  align-items:flex-end!important;
  gap:18px!important;
  margin-bottom:18px!important;
  padding-bottom:12px!important;
  border-bottom:1px solid #eef2f6!important;
}
.ncss-home-section-head h2,
.ncss-product-archive-head h2{
  margin:0!important;
  color:#152238!important;
  font-size:40px!important;
  line-height:1.08!important;
  font-weight:650!important;
  letter-spacing:-.035em!important;
}
.ncss-home-section-head p,
.ncss-product-archive-head p{
  margin:8px 0 0!important;
  color:#7f8ca0!important;
  font-size:14px!important;
  line-height:1.5!important;
}

@media(max-width:1200px){
  .ncsm-catalog-title,
  .ncss-home-product-body h3,
  .ncss-el-product-body h3,
  .ncss-card-body h3{font-size:17px!important}
  .ncsm-catalog-price,
  .ncss-home-product-foot strong,
  .ncss-el-product-foot strong,
  .ncss-card-footer strong{font-size:21px!important}
  .ncss-home-section-head h2,
  .ncss-product-archive-head h2{font-size:34px!important}
}
@media(max-width:760px){
  li.product.ncsm-catalog-card,
  .ncss-home-product-card,
  .ncss-el-product-card,
  .ncss-product-card{padding:8px!important;border-radius:16px!important}
  .ncsm-catalog-body,
  .ncss-home-product-body,
  .ncss-el-product-body,
  .ncss-card-body{padding:12px 6px 6px!important}
  .ncsm-catalog-title,
  .ncss-home-product-body h3,
  .ncss-el-product-body h3,
  .ncss-card-body h3{font-size:16px!important}
  .ncsm-catalog-title a,
  .ncss-home-product-body h3 a,
  .ncss-el-product-body h3 a,
  .ncss-card-body h3 a{min-height:2.55em!important}
  .ncsm-catalog-price,
  .ncss-home-product-foot strong,
  .ncss-el-product-foot strong,
  .ncss-card-footer strong{font-size:18px!important}
  .ncsm-product-more,
  .ncss-home-product-foot a,
  .ncss-el-product-foot a,
  .ncss-card-footer a{min-height:38px!important;padding:0 14px!important;font-size:11.5px!important}
  .ncss-home-section-head h2,
  .ncss-product-archive-head h2{font-size:29px!important}
  .ncss-list-view .ncss-product-card{grid-template-columns:130px minmax(0,1fr)!important}
  .ncss-list-view .ncss-home-product-image{height:130px!important}
  .ncss-list-view .ncss-home-product-body h3{font-size:17px!important}
}
