/* =====================================================================
   R10.39.0 — HOME PRODUCT SHOWCASE
   Final authority for the public home-page product presentation.
   Goals: contained width, modern visual hierarchy, balanced card scale,
   consistent image crops, two-column phone layout and day/night support.
   ===================================================================== */

body.sf-home-page .faz-products-showcase{
  position:relative!important;
  padding:72px 0 82px!important;
  background:
    radial-gradient(circle at 8% 10%,rgba(211,49,47,.055),transparent 28%),
    linear-gradient(180deg,#fff 0%,#fffaf7 100%)!important;
  overflow:hidden!important;
}
body.sf-home-page .faz-products-showcase>.faz-container{
  width:min(1160px,calc(100% - 40px))!important;
  max-width:1160px!important;
  margin-inline:auto!important;
}
body.sf-home-page .faz-products-showcase .faz-section-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(300px,430px)!important;
  align-items:end!important;
  gap:42px!important;
  margin:0 0 30px!important;
}
body.sf-home-page .faz-products-showcase .faz-section-head>div:first-child{
  max-width:650px!important;
}
body.sf-home-page .faz-products-showcase .faz-section-head small{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0 0 7px!important;
  color:#cf332e!important;
  font-size:12px!important;
  font-weight:800!important;
  letter-spacing:.12em!important;
}
body.sf-home-page .faz-products-showcase .faz-section-head small:before{
  content:"";
  width:24px;
  height:2px;
  border-radius:999px;
  background:#cf332e;
}
body.sf-home-page .faz-products-showcase .faz-section-head h2{
  margin:0!important;
  max-width:700px!important;
  color:#202033!important;
  font-size:clamp(32px,3.4vw,48px)!important;
  line-height:.98!important;
  letter-spacing:-.025em!important;
}
body.sf-home-page .faz-product-head-actions{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:13px!important;
}
body.sf-home-page .faz-product-head-actions p{
  margin:0!important;
  color:#6f6c75!important;
  font-size:14px!important;
  line-height:1.65!important;
}
body.sf-home-page .faz-product-head-actions .faz-view-menu{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:0 17px!important;
  border:1px solid #e7ddd6!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#222238!important;
  text-decoration:none!important;
  font-size:12px!important;
  font-weight:800!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
  box-shadow:0 8px 24px rgba(31,25,22,.055)!important;
  transition:transform .2s ease,background .2s ease,color .2s ease,border-color .2s ease!important;
}
body.sf-home-page .faz-product-head-actions .faz-view-menu:hover,
body.sf-home-page .faz-product-head-actions .faz-view-menu:focus-visible{
  background:#cf332e!important;
  border-color:#cf332e!important;
  color:#fff!important;
  transform:translateY(-1px)!important;
}

/* The home page is deliberately more compact than catalogue pages. */
body.sf-home-page .faz-products-showcase .faz-product-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:18px!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}
body.sf-home-page .faz-products-showcase .faz-product-card{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  margin:0!important;
  overflow:hidden!important;
  border:1px solid #ece5df!important;
  border-radius:20px!important;
  background:#fff!important;
  color:#242333!important;
  box-shadow:0 8px 24px rgba(44,33,27,.065)!important;
  text-decoration:none!important;
  transform:none!important;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
}
body.sf-home-page .faz-products-showcase .faz-product-card:hover{
  transform:translateY(-4px)!important;
  border-color:#e1d3c9!important;
  box-shadow:0 17px 38px rgba(44,33,27,.12)!important;
}
body.sf-home-page .faz-products-showcase .faz-product-card:focus-visible{
  outline:3px solid rgba(207,51,46,.32)!important;
  outline-offset:3px!important;
}
body.sf-home-page .faz-products-showcase .faz-product-card .image{
  position:relative!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:4/3!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#f3efeb!important;
  border:0!important;
}
body.sf-home-page .faz-products-showcase .faz-product-card .image:after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:34%;
  pointer-events:none;
  background:linear-gradient(180deg,transparent,rgba(22,16,12,.13));
}
body.sf-home-page .faz-products-showcase .faz-product-card .image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center!important;
  transform:scale(1.001)!important;
  transition:transform .32s ease!important;
}
body.sf-home-page .faz-products-showcase .faz-product-card:hover .image img{
  transform:scale(1.045)!important;
}
body.sf-home-page .faz-product-badge{
  position:absolute!important;
  top:12px!important;
  left:12px!important;
  z-index:2!important;
  display:inline-flex!important;
  align-items:center!important;
  max-width:calc(100% - 24px)!important;
  min-height:26px!important;
  padding:5px 9px!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.72)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.9)!important;
  color:#5b554f!important;
  box-shadow:0 4px 14px rgba(0,0,0,.08)!important;
  backdrop-filter:blur(9px)!important;
  -webkit-backdrop-filter:blur(9px)!important;
  font-size:9px!important;
  font-weight:800!important;
  line-height:1!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
body.sf-home-page .faz-products-showcase .faz-product-card .copy{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  min-width:0!important;
  padding:15px 16px 16px!important;
  border:0!important;
  background:#fff!important;
}
body.sf-home-page .faz-products-showcase .faz-product-card h3{
  display:-webkit-box!important;
  min-height:2.45em!important;
  margin:0 0 7px!important;
  overflow:hidden!important;
  color:#242333!important;
  font-size:17px!important;
  font-weight:800!important;
  line-height:1.22!important;
  letter-spacing:-.015em!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
}
body.sf-home-page .faz-products-showcase .faz-product-card p{
  display:-webkit-box!important;
  min-height:3em!important;
  height:auto!important;
  margin:0 0 13px!important;
  overflow:hidden!important;
  color:#7b7672!important;
  font-size:12px!important;
  line-height:1.5!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
}
body.sf-home-page .faz-products-showcase .faz-product-card .bottom{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  min-width:0!important;
  margin-top:auto!important;
  padding-top:12px!important;
  border-top:1px solid #f1ece8!important;
}
body.sf-home-page .faz-products-showcase .faz-product-card .price{
  min-width:0!important;
  overflow:hidden!important;
  color:#cf332e!important;
  font-size:17px!important;
  font-weight:900!important;
  line-height:1.1!important;
  letter-spacing:-.015em!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
body.sf-home-page .faz-products-showcase .faz-product-card .add{
  display:grid!important;
  flex:0 0 36px!important;
  width:36px!important;
  min-width:36px!important;
  height:36px!important;
  place-items:center!important;
  border-radius:12px!important;
  background:#222238!important;
  color:#fff!important;
  font-size:20px!important;
  font-weight:500!important;
  line-height:1!important;
  box-shadow:none!important;
  transition:background .2s ease,transform .2s ease!important;
}
body.sf-home-page .faz-products-showcase .faz-product-card:hover .add{
  background:#cf332e!important;
  transform:rotate(90deg)!important;
}

/* Keep the promotional cards aligned with the product showcase instead of edge-to-edge. */
body.sf-home-page .faz-promo-row{
  width:min(1160px,calc(100% - 40px))!important;
  max-width:1160px!important;
  margin:30px auto!important;
  gap:16px!important;
}
body.sf-home-page .faz-promo-card{
  min-width:0!important;
  border-radius:20px!important;
  overflow:hidden!important;
  box-shadow:0 10px 30px rgba(37,28,22,.1)!important;
}

/* Night mode stays readable and intentionally premium rather than simply inverted. */
html[data-ubp-theme="dark"] body.sf-home-page .faz-products-showcase{
  background:linear-gradient(180deg,#12161b 0%,#171b20 100%)!important;
}
html[data-ubp-theme="dark"] body.sf-home-page .faz-products-showcase .faz-section-head h2,
html[data-ubp-theme="dark"] body.sf-home-page .faz-products-showcase .faz-product-card h3{
  color:#f8f5ef!important;
}
html[data-ubp-theme="dark"] body.sf-home-page .faz-product-head-actions p{
  color:#b9c0c7!important;
}
html[data-ubp-theme="dark"] body.sf-home-page .faz-product-head-actions .faz-view-menu{
  border-color:#353c44!important;
  background:#20262d!important;
  color:#f8f5ef!important;
}
html[data-ubp-theme="dark"] body.sf-home-page .faz-products-showcase .faz-product-card{
  border-color:#343b43!important;
  background:#1b2026!important;
  box-shadow:0 10px 28px rgba(0,0,0,.2)!important;
}
html[data-ubp-theme="dark"] body.sf-home-page .faz-products-showcase .faz-product-card .copy{
  background:#1b2026!important;
}
html[data-ubp-theme="dark"] body.sf-home-page .faz-products-showcase .faz-product-card p{
  color:#b8bec5!important;
}
html[data-ubp-theme="dark"] body.sf-home-page .faz-products-showcase .faz-product-card .bottom{
  border-top-color:#30373e!important;
}

@media(max-width:1040px){
  body.sf-home-page .faz-products-showcase>.faz-container{width:min(940px,calc(100% - 32px))!important}
  body.sf-home-page .faz-products-showcase .faz-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
  body.sf-home-page .faz-products-showcase .faz-section-head{grid-template-columns:minmax(0,1fr) minmax(260px,360px)!important;gap:28px!important}
  body.sf-home-page .faz-promo-row{width:calc(100% - 32px)!important}
}

@media(max-width:760px){
  body.sf-home-page .faz-products-showcase{padding:48px 0 58px!important}
  body.sf-home-page .faz-products-showcase>.faz-container{width:calc(100% - 24px)!important}
  body.sf-home-page .faz-products-showcase .faz-section-head{display:block!important;margin-bottom:20px!important}
  body.sf-home-page .faz-products-showcase .faz-section-head h2{font-size:clamp(29px,9vw,38px)!important}
  body.sf-home-page .faz-product-head-actions{margin-top:11px!important;gap:10px!important}
  body.sf-home-page .faz-product-head-actions p{font-size:13px!important;line-height:1.55!important}
  body.sf-home-page .faz-product-head-actions .faz-view-menu{min-height:39px!important;padding-inline:14px!important;font-size:10px!important}
  body.sf-home-page .faz-products-showcase .faz-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body.sf-home-page .faz-products-showcase .faz-product-card{border-radius:16px!important}
  body.sf-home-page .faz-products-showcase .faz-product-card .image{height:auto!important;min-height:0!important;aspect-ratio:1.08/1!important}
  body.sf-home-page .faz-product-badge{top:8px!important;left:8px!important;max-width:calc(100% - 16px)!important;min-height:22px!important;padding:4px 7px!important;font-size:7.5px!important}
  body.sf-home-page .faz-products-showcase .faz-product-card .copy{padding:10px 10px 11px!important}
  body.sf-home-page .faz-products-showcase .faz-product-card h3{min-height:2.4em!important;margin-bottom:5px!important;font-size:13px!important;line-height:1.2!important}
  body.sf-home-page .faz-products-showcase .faz-product-card p{min-height:0!important;margin-bottom:9px!important;font-size:9.5px!important;line-height:1.4!important;-webkit-line-clamp:2!important}
  body.sf-home-page .faz-products-showcase .faz-product-card .bottom{gap:6px!important;padding-top:9px!important}
  body.sf-home-page .faz-products-showcase .faz-product-card .price{font-size:13px!important}
  body.sf-home-page .faz-products-showcase .faz-product-card .add{flex-basis:30px!important;width:30px!important;min-width:30px!important;height:30px!important;border-radius:10px!important;font-size:17px!important}
  body.sf-home-page .faz-promo-row{width:calc(100% - 24px)!important;margin:18px auto 24px!important;gap:10px!important}
}

@media(max-width:390px){
  body.sf-home-page .faz-products-showcase>.faz-container{width:calc(100% - 20px)!important}
  body.sf-home-page .faz-products-showcase .faz-product-grid{gap:8px!important}
  body.sf-home-page .faz-products-showcase .faz-product-card .copy{padding:9px!important}
  body.sf-home-page .faz-products-showcase .faz-product-card h3{font-size:12.5px!important}
  body.sf-home-page .faz-products-showcase .faz-product-card p{font-size:9px!important}
  body.sf-home-page .faz-products-showcase .faz-product-card .price{font-size:12px!important}
  body.sf-home-page .faz-promo-row{width:calc(100% - 20px)!important}
}

@media(prefers-reduced-motion:reduce){
  body.sf-home-page .faz-products-showcase .faz-product-card,
  body.sf-home-page .faz-products-showcase .faz-product-card .image img,
  body.sf-home-page .faz-products-showcase .faz-product-card .add,
  body.sf-home-page .faz-product-head-actions .faz-view-menu{transition:none!important}
}
