/* MOROSOUQ — B2-inspired featured product cards */
.yc-featured-products.container{
  width:94% !important;
  max-width:1400px !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

.yc-featured-products > .yc-section-title{
  margin:0 0 32px;
  font-size:30px;
  line-height:1.25;
  font-weight:700;
  color:#111 !important;
}

.yc-featured-products .counter-wrapper{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-bottom:24px;
}

.yc-featured-products .counter-wrapper .yc-section-title{
  margin:0;
  font-size:30px;
  line-height:1.25;
  font-weight:700;
  text-align:start;
}

.yc-featured-products .product-list{
  display:grid;
  grid-gap:24px;
  gap:24px;
  justify-content:center;
  align-items:stretch;
  overflow:visible;
  margin-left:auto;
  margin-right:auto;
}

/* Keep three products substantial today, and four-product rows balanced later. */
.yc-featured-products--count-1 .product-list{max-width:360px;}
.yc-featured-products--count-2 .product-list{max-width:720px;}
.yc-featured-products--count-3 .product-list{max-width:1080px;}
.yc-featured-products--count-4 .product-list{max-width:1360px;}

.yc-featured-products .product-list > div{
  min-width:0;
  overflow:hidden;
  background:#fff;
  border:1px solid #ececec !important;
  border-radius:18px !important;
  box-shadow:0 8px 24px rgba(0,0,0,.07);
  transition:transform .22s ease, box-shadow .22s ease;
}

@media (hover:hover) and (pointer:fine){
  .yc-featured-products .product-list > div:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 30px rgba(0,0,0,.11);
  }
}

.yc-featured-products .product-list .product-block{
  height:100%;
  text-align:center;
  color:var(--yc-neutral-color);
  display:flex;
  flex-direction:column;
  position:relative;
  cursor:pointer;
  background:#fff;
}

.yc-featured-products .product-list .product-block .product-thumbnail{
  border:0;
  border-radius:0;
  position:relative;
  overflow:hidden;
  padding:0 0 100%;
  height:0;
  background:#fff;
}

.yc-featured-products .product-list .product-block .product-thumbnail img,
.yc-featured-products .product-list .product-block .product-thumbnail svg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  padding:10px;
  box-sizing:border-box;
  object-fit:contain;
  transform:none;
  transition:transform .25s ease;
}

@media (hover:hover) and (pointer:fine){
  .yc-featured-products .product-list .product-block .product-thumbnail img:hover,
  .yc-featured-products .product-list .product-block .product-thumbnail svg:hover{
    transform:scale(1.035);
  }
}

.yc-featured-products .product-list .product-block .product-details{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  min-height:58px;
  margin-top:0;
  padding:14px 18px 4px;
  text-align:center;
}

.yc-featured-products .product-list .product-block .product-details .product-title{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  font-weight:600;
  font-size:17px;
  line-height:1.45;
  color:#222 !important;
}

.yc-featured-products .product-list .product-block .prices{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
  margin:auto 0 0;
  padding:8px 16px 20px;
  min-height:62px;
}

.yc-featured-products .product-list .product-block .prices .product-price{
  order:1;
  font-weight:800;
  color:#2f7d32 !important;
  font-size:22px;
  line-height:1.2;
  white-space:nowrap;
}

.yc-featured-products .product-list .product-block .prices .compare-at-price{
  order:2;
  text-decoration:line-through;
  text-decoration-thickness:1.5px;
  color:#b42318 !important;
  opacity:1;
  font-size:16px;
  font-weight:500;
  line-height:1.2;
  white-space:nowrap;
}

/* Keep Aura's hidden hover button out of the clean B2-style card. */
.yc-featured-products .product-list .product-block .yc-btn{
  display:none !important;
}

.yc-featured-products .product-list .featured-product-placeholder{
  cursor:not-allowed;
}

.yc-featured-products .button-container{
  max-width:max-content;
  margin-left:auto;
  margin-right:auto;
  margin-top:50px;
}

@media (max-width:1024px){
  .yc-featured-products.container{
    width:94% !important;
  }
  .yc-featured-products .product-list{
    gap:18px;
  }
}

@media (max-width:767px){
  .yc-featured-products.container{
    width:94% !important;
  }
  .yc-featured-products > .yc-section-title,
  .yc-featured-products .counter-wrapper .yc-section-title{
    margin-bottom:22px;
    font-size:23px;
  }
  .yc-featured-products .product-list{
    gap:12px;
    max-width:none !important;
  }
  .yc-featured-products .product-list > div{
    border-radius:14px !important;
    box-shadow:0 5px 16px rgba(0,0,0,.06);
  }
  .yc-featured-products:not(.yc-featured-products--count-1) .product-list > div:last-child:nth-child(odd){
    grid-column:1 / -1;
    width:calc((100% - 12px) / 2);
    justify-self:center;
  }
  .yc-featured-products .product-list .product-block .product-thumbnail img,
  .yc-featured-products .product-list .product-block .product-thumbnail svg{
    padding:6px;
  }
  .yc-featured-products .product-list .product-block .product-details{
    min-height:52px;
    padding:10px 8px 2px;
  }
  .yc-featured-products .product-list .product-block .product-details .product-title{
    font-size:14px;
    line-height:1.4;
  }
  .yc-featured-products .product-list .product-block .prices{
    flex-direction:column;
    gap:4px;
    min-height:60px;
    padding:6px 6px 14px;
  }
  .yc-featured-products .product-list .product-block .prices .product-price{
    order:1;
    font-size:17px;
  }
  .yc-featured-products .product-list .product-block .prices .compare-at-price{
    order:2;
    font-size:13px;
  }
}
