/* V43 — compact featured picks on homepage only.
   Scope: index.html / #featuredSection.
   Does not touch header, drawer, store page, product page, cart, dashboard, or Firestore logic. */

.home-v41 #featuredSection .v43-featured-compact{
  grid-template-columns:minmax(250px,.78fr) minmax(0,1.22fr)!important;
  gap:18px!important;
  padding:18px!important;
  align-items:stretch!important;
}

.home-v41 #featuredSection .v43-featured-compact .v42-featured-copy{
  min-height:0!important;
  padding:32px 30px!important;
  border-radius:28px!important;
  justify-content:center!important;
}

.home-v41 #featuredSection .v43-featured-compact .v42-featured-copy h3{
  font-size:clamp(25px,2.35vw,35px)!important;
  line-height:1.28!important;
  margin-bottom:12px!important;
}

.home-v41 #featuredSection .v43-featured-compact .v42-featured-copy p{
  font-size:14.5px!important;
  line-height:1.85!important;
  max-width:29em!important;
}

.home-v41 #featuredSection .v43-featured-compact .v42-featured-copy a{
  margin-top:20px!important;
  min-height:40px!important;
  padding:0 18px!important;
  font-size:13px!important;
}

.home-v41 #featuredSection .v43-featured-products{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
}

.home-v41 #featuredSection .v43-pick-card,
.home-v41 #featuredSection .v42-pick-card--lead.v43-pick-card,
.home-v41 #featuredSection .v42-pick-card--support.v43-pick-card{
  margin-top:0!important;
  border-radius:26px!important;
  min-height:0!important;
  background:rgba(255,250,241,.86)!important;
  border:1px solid rgba(20,16,10,.105)!important;
  box-shadow:0 14px 34px rgba(34,24,10,.055)!important;
}

.home-v41 #featuredSection .v43-pick-card .v42-pick-card__image,
.home-v41 #featuredSection .v42-pick-card--lead.v43-pick-card .v42-pick-card__image,
.home-v41 #featuredSection .v42-pick-card--support.v43-pick-card .v42-pick-card__image{
  height:230px!important;
  min-height:0!important;
  border-radius:0!important;
  background-size:cover!important;
  background-position:center!important;
}

.home-v41 #featuredSection .v43-pick-card .v42-pick-card__body{
  padding:17px 18px 18px!important;
  gap:9px!important;
}

.home-v41 #featuredSection .v43-pick-card h3{
  font-size:clamp(20px,1.65vw,26px)!important;
  line-height:1.28!important;
  min-height:2.55em!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}

.home-v41 #featuredSection .v43-pick-card .v42-pick-card__meta{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  padding-top:8px!important;
  border-top:1px solid rgba(20,16,10,.08)!important;
}

.home-v41 #featuredSection .v43-pick-card .v42-pick-card__meta strong{
  font-size:16px!important;
  line-height:1.2!important;
}

.home-v41 #featuredSection .v43-pick-card .v42-pick-card__meta span{
  font-size:11px!important;
  color:rgba(20,16,10,.45)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

.home-v41 #featuredSection .v43-pick-card .v42-pick-card__actions{
  grid-template-columns:1fr!important;
  margin-top:8px!important;
}

.home-v41 #featuredSection .v43-pick-card .v42-pick-card__link{
  min-height:38px!important;
  font-size:12.5px!important;
  border-radius:999px!important;
}

@media (max-width:1080px){
  .home-v41 #featuredSection .v43-featured-compact{
    grid-template-columns:1fr!important;
  }

  .home-v41 #featuredSection .v43-featured-compact .v42-featured-copy{
    text-align:center!important;
    align-items:center!important;
    padding:26px 24px!important;
  }
}

@media (max-width:820px){
  .home-v41 #featuredSection{
    margin-bottom:48px!important;
  }

  .home-v41 #featuredSection .v43-featured-compact{
    width:calc(100vw - 30px)!important;
    padding:12px!important;
    gap:12px!important;
    border-radius:28px!important;
  }

  .home-v41 #featuredSection .v43-featured-compact .v42-featured-copy{
    padding:22px 18px!important;
    border-radius:22px!important;
  }

  .home-v41 #featuredSection .v43-featured-compact .v42-featured-copy h3{
    font-size:clamp(24px,6.5vw,31px)!important;
  }

  .home-v41 #featuredSection .v43-featured-compact .v42-featured-copy p{
    font-size:13.8px!important;
    line-height:1.78!important;
  }

  .home-v41 #featuredSection .v43-featured-products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }

  .home-v41 #featuredSection .v43-pick-card,
  .home-v41 #featuredSection .v42-pick-card--lead.v43-pick-card,
  .home-v41 #featuredSection .v42-pick-card--support.v43-pick-card{
    display:flex!important;
    flex-direction:column!important;
    border-radius:22px!important;
    min-height:0!important;
  }

  .home-v41 #featuredSection .v43-pick-card .v42-pick-card__image,
  .home-v41 #featuredSection .v42-pick-card--lead.v43-pick-card .v42-pick-card__image,
  .home-v41 #featuredSection .v42-pick-card--support.v43-pick-card .v42-pick-card__image{
    height:150px!important;
    min-height:0!important;
  }

  .home-v41 #featuredSection .v43-pick-card .v42-pick-card__body{
    padding:12px 11px 13px!important;
    gap:7px!important;
  }

  .home-v41 #featuredSection .v43-pick-card h3,
  .home-v41 #featuredSection .v42-pick-card--support.v43-pick-card h3{
    font-size:16px!important;
    line-height:1.28!important;
    min-height:2.55em!important;
  }

  .home-v41 #featuredSection .v43-pick-card .v42-pick-card__meta{
    display:grid!important;
    gap:2px!important;
    justify-items:start!important;
    padding-top:7px!important;
  }

  .home-v41 #featuredSection .v43-pick-card .v42-pick-card__meta strong{
    font-size:14px!important;
  }

  .home-v41 #featuredSection .v43-pick-card .v42-pick-card__meta span{
    max-width:100%!important;
    font-size:10px!important;
  }

  .home-v41 #featuredSection .v43-pick-card .v42-pick-card__link{
    min-height:34px!important;
    font-size:11.5px!important;
  }
}

@media (max-width:380px){
  .home-v41 #featuredSection .v43-featured-products{
    gap:8px!important;
  }

  .home-v41 #featuredSection .v43-pick-card .v42-pick-card__image,
  .home-v41 #featuredSection .v42-pick-card--lead.v43-pick-card .v42-pick-card__image,
  .home-v41 #featuredSection .v42-pick-card--support.v43-pick-card .v42-pick-card__image{
    height:132px!important;
  }

  .home-v41 #featuredSection .v43-pick-card .v42-pick-card__body{
    padding:11px 9px 12px!important;
  }

  .home-v41 #featuredSection .v43-pick-card h3,
  .home-v41 #featuredSection .v42-pick-card--support.v43-pick-card h3{
    font-size:14.5px!important;
  }
}
/* V43 — Center featured section with subtle tone */
@media (max-width:820px){
  .home-v41 #featuredSection{
    width:100%!important;
    max-width:none!important;
    margin-inline:auto!important;
    padding-inline:0px!important;
    box-sizing:border-box!important;
  }

  .home-v41 #featuredSection .v43-featured-compact{
    width:100%!important;
    max-width:760px!important;
    margin-inline:auto!important;
    box-sizing:border-box!important;
    background:
  linear-gradient(180deg, rgba(255,250,240,.68), rgba(241,229,207,.42))!important;
    border:1px solid rgba(155,122,78,.18)!important;
  }
}
/* V43 — unify featured section background */
.home-v41 #featuredSection .v43-featured-compact{
  background:
    radial-gradient(circle at 50% 0%, rgba(166,122,54,.16), transparent 34%),
    linear-gradient(180deg, #17120b 0%, #0f0c08 100%)!important;
}

/* V43 — product cards tone polish inside dark featured block */

/* الكرت نفسه: نخليه مدموج مع الخلفية السوداء بدون حواف حادة */
.home-v41 #featuredSection .v43-pick-card,
.home-v41 #featuredSection .v42-pick-card--lead.v43-pick-card,
.home-v41 #featuredSection .v42-pick-card--support.v43-pick-card{
  overflow:hidden!important;
  background:rgba(226,218,204,.96)!important;
  border:1px solid rgba(203,171,104,.36)!important;
  box-shadow:0 18px 38px rgba(0,0,0,.24)!important;
}

/* صورة المنتج: نترك المقاس مثل ما هو، بس نخلي الفصل بينها وبين النص أنظف */
.home-v41 #featuredSection .v43-pick-card .v42-pick-card__image,
.home-v41 #featuredSection .v42-pick-card--lead.v43-pick-card .v42-pick-card__image,
.home-v41 #featuredSection .v42-pick-card--support.v43-pick-card .v42-pick-card__image{
  border-bottom:1px solid rgba(203,171,104,.28)!important;
}

/* خلفية الاسم والسعر والكود */
.home-v41 #featuredSection .v43-pick-card .v42-pick-card__body{
  background:
    linear-gradient(180deg, #e8dfcf 0%, #d8cfbf 100%)!important;
  color:#120f0a!important;
}

/* اسم المنتج */
.home-v41 #featuredSection .v43-pick-card h3{
  color:#100d08!important;
}

/* خط الفصل فوق السعر */
.home-v41 #featuredSection .v43-pick-card .v42-pick-card__meta{
  border-top:1px solid rgba(92,70,35,.18)!important;
}

/* السعر */
.home-v41 #featuredSection .v43-pick-card .v42-pick-card__meta strong{
  color:#100d08!important;
}

/* كود المنتج */
.home-v41 #featuredSection .v43-pick-card .v42-pick-card__meta span{
  color:rgba(45,36,22,.52)!important;
}

/* زر عرض المنتج داخل الكرت */
.home-v41 #featuredSection .v43-pick-card .v42-pick-card__link{
  background:#050403!important;
  color:#fff8ec!important;
  box-shadow:none!important;
  border:1px solid rgba(255,255,255,.08)!important;
}

/* زر زيارة المتجر: ننزله تكة ونخليه أعرض */
.home-v41 #featuredSection .v43-featured-compact .v42-featured-copy a{
  margin-top:28px!important;
  min-width:190px!important;
  padding-inline:30px!important;
}

/* على الموبايل نخلي زر زيارة المتجر أعرض شوي بدون ما يكسر الشكل */
@media (max-width:820px){
  .home-v41 #featuredSection .v43-featured-compact .v42-featured-copy a{
    margin-top:26px!important;
    min-width:175px!important;
    padding-inline:26px!important;
  }
}
