/* NatureFood Premium 3-up cards v1.5.0. Scoped ONLY to the homepage featured section. */
.nf-home-featured[data-nf-card-redesign="1.5.0"] {
  --nf12-gold:#d9af6d;
  --nf12-ivory:#f4ece2;
  background:radial-gradient(ellipse at 50% 3%,#24201b 0%,#0c0a08 63%)!important;
  color:var(--nf12-ivory)!important;
  padding-top:10px!important;
  margin-top:0!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .shell{
  max-width:1100px!important;width:min(calc(100% - 50px),1100px)!important;margin-inline:auto!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-featured-header{
  display:none!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .heading-kicker{
  color:#e7dece!important;display:flex!important;align-items:center!important;gap:23px!important;
  font-family:Arial,sans-serif!important;font-size:12px!important;font-weight:600!important;letter-spacing:.32em!important;
  margin:0 0 20px!important;text-transform:uppercase!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .heading-kicker:before,
.nf-home-featured[data-nf-card-redesign="1.5.0"] .heading-kicker:after{
  content:"";height:1px;width:60px;background:var(--nf12-gold);display:block;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-featured-header h2{
  font:400 clamp(36px,5vw,62px)/1.07 Georgia,'Times New Roman',serif!important;
  margin:0 0 16px!important;color:#f8f1e9!important;text-align:center!important;max-width:1000px!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-featured-header p{
  margin:0!important;color:#c9c3bd!important;font:400 clamp(15px,1.6vw,20px)/1.45 Arial,sans-serif!important;
  max-width:720px!important;text-align:center!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-view-all{
  margin:35px auto 0!important;display:flex!important;width:max-content!important;max-width:100%!important;align-items:center!important;justify-content:center!important;
  border:1px solid #c49b5f!important;border-radius:3px!important;padding:15px 29px!important;
  color:#eac283!important;background:transparent!important;text-decoration:none!important;
  font:700 12px/1.2 Arial,sans-serif!important;letter-spacing:.19em!important;transition:background .2s,color .2s;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-view-all:hover{background:#cfa462!important;color:#140f09!important;}
/* Three across on desktop; keep all existing products, not just the first three. */
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-products-grid{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;
  padding:0!important;margin:0!important;width:100%!important;align-items:stretch!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-card{
  display:flex!important;flex-direction:column!important;min-width:0!important;width:100%!important;max-width:none!important;
  padding:0!important;margin:0!important;height:auto!important;overflow:hidden!important;border-radius:5px!important;
  background:linear-gradient(#1a1612,#100d0b 70%)!important;border:1px solid rgba(207,161,91,.62)!important;
  box-shadow:0 8px 24px #0003!important;transition:border-color .2s,transform .2s!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-card:hover{
  border-color:#f5cc83!important;transform:translateY(-2px)!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-image{
  position:relative!important;display:flex!important;justify-content:center!important;align-items:center!important;
  width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1.22 / 1!important;
  padding:16px!important;margin:0!important;max-height:none!important;overflow:hidden!important;
  background:radial-gradient(ellipse at 53% 40%,#4b3f32 1%,#282119 61%,#16120e 100%)!important;
  border:0!important;border-bottom:1px solid #483c2f!important;border-radius:0!important;
  text-decoration:none!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-image img,
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-image .nf-home-original-photo{
  display:block!important;position:relative!important;width:100%!important;max-width:100%!important;
  height:100%!important;max-height:100%!important;min-width:0!important;object-fit:contain!important;
  object-position:center!important;margin:0!important;transform:none!important;filter:none!important;
  transition:transform .24s!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-card:hover .nf-home-original-photo{transform:scale(1.025)!important;}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-number{display:none!important;}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-v12-image-category{
  position:absolute;top:18px;left:18px;z-index:2;max-width:calc(100% - 36px);
  color:#13100c;background:linear-gradient(120deg,#f6d398,#d9a65c);padding:9px 13px;
  border-radius:3px;text-transform:uppercase;font:700 11px/1.2 Arial,sans-serif;letter-spacing:.13em;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-v12-sale-badge{
  position:absolute;top:18px;left:18px;z-index:2;color:#fff6e9;background:#ab4934;
  border-radius:2px;padding:7px 11px;line-height:1.2;font-weight:700;font-size:11px;letter-spacing:.06em;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-info{
  display:flex!important;flex:1 1 auto!important;flex-direction:column!important;min-height:0!important;
  padding:16px 18px 18px!important;gap:0!important;background:transparent!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-info > .nf-home-product-category{
  display:block!important;margin:0 0 13px!important;color:#d5ac67!important;
  font:700 11px/1.25 Arial,sans-serif!important;text-transform:uppercase!important;letter-spacing:.18em!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-info h3{
  margin:0 0 14px!important;padding:0!important;min-height:0!important;max-height:none!important;
  font:400 clamp(18px,1.9vw,24px)/1.18 Georgia,'Times New Roman',serif!important;
  color:#faf3e9!important;letter-spacing:0!important;overflow:visible!important;text-align:left!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-info h3 a{
  font:inherit!important;color:inherit!important;text-decoration:none!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-v12-description{
  margin:0 0 14px!important;min-height:40px;color:#c9c2b8!important;font:400 13px/1.45 Arial,sans-serif!important;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-bottom.nf-v12-price-actions{
  display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;
  flex-wrap:nowrap!important;gap:13px!important;border-top:1px solid rgba(215,179,121,.28)!important;
  margin:auto 0 0!important;padding:17px 0 0!important;min-height:60px!important;width:100%!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-bottom .nf-home-price{
  display:flex!important;flex:1 1 auto;align-items:baseline!important;justify-content:flex-start!important;
  gap:10px!important;flex-wrap:wrap!important;margin:0!important;padding:0!important;
  min-width:0;color:#f3c47c!important;
  font:700 clamp(22px,2.2vw,30px)/1.1 Georgia,'Times New Roman',serif!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-price .woocommerce-Price-amount,
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-price .woocommerce-Price-amount bdi{
  color:inherit!important;font:inherit!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-price ins{background:transparent!important;text-decoration:none!important;color:inherit!important}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-price del,
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-price del .woocommerce-Price-amount{
  color:#938c83!important;font-size:16px!important;line-height:1.3!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-more.nf-v12-view-product{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;
  min-width:132px!important;max-width:46%!important;min-height:42px!important;margin:0!important;
  padding:8px 12px!important;border:1px solid #e6c487!important;border-radius:3px!important;
  color:#130e09!important;background:linear-gradient(180deg,#f5cf8e,#d4a254)!important;
  box-shadow:none!important;text-align:center!important;text-decoration:none!important;
  font:700 10px/1.2 Arial,sans-serif!important;letter-spacing:.12em!important;text-transform:uppercase!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-more.nf-v12-view-product:before{content:none!important;}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-more.nf-v12-view-product span{display:none!important;}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-more.nf-v12-view-product:hover{
  background:linear-gradient(180deg,#ffdea3,#e6b673)!important;color:#15100a!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-note,
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-stock{display:none!important;}

.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-view-all{
  margin:18px auto 0!important;
  padding:12px 22px!important;
  font-size:11px!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-card:hover{
  transform:none!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-image{
  aspect-ratio:1.08/1!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-info > .nf-home-product-category{
  margin:0 0 9px!important;
  font-size:10px!important;
}
@media(max-width:1120px){
  .nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-products-grid{gap:14px!important;}
  .nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-info{padding:18px!important;}
  .nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-more.nf-v12-view-product{min-width:115px!important;}
}
@media(max-width:900px){
  .nf-home-featured[data-nf-card-redesign="1.5.0"] .shell{width:min(calc(100% - 30px),1100px)!important;}
  .nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
}
@media(max-width:580px){
  .nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-featured-header{padding:22px 0 24px!important;}
  .nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-featured-header h2{font-size:36px!important;}
  .nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-featured-header p{font-size:15px!important;}
  .nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
  .nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-info{padding:12px!important;}
  .nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-image{aspect-ratio:1/1!important;padding:12px!important;}
  .nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-v12-image-category{top:8px;left:8px;font-size:8px;padding:5px 7px;letter-spacing:.06em;}
  .nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-v12-sale-badge{top:8px;left:8px;font-size:9px;padding:5px 7px;}
  .nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-info>.nf-home-product-category{font-size:9px!important;margin-bottom:7px!important;letter-spacing:.09em!important;}
  .nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-info h3{font-size:18px!important;line-height:1.2!important;margin-bottom:8px!important;}
  .nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-v12-description{font-size:11px!important;line-height:1.4!important;min-height:35px;margin-bottom:8px!important;}
  .nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-bottom.nf-v12-price-actions{flex-wrap:wrap!important;gap:8px!important;min-height:0!important;padding-top:10px!important;}
  .nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-price{width:100%!important;font-size:25px!important;}
  .nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-more.nf-v12-view-product{width:100%!important;max-width:100%!important;min-height:42px!important;font-size:10px!important;}
}

/* v1.5: installed golden-background product photos fill the image stage as one artwork. */
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-image:has(img.nfbg-premium-photo) {
  padding:0!important;background:#caa77f!important;
}
.nf-home-featured[data-nf-card-redesign="1.5.0"] .nf-home-product-image img.nfbg-premium-photo {
  display:block!important;position:relative!important;width:100%!important;max-width:100%!important;
  height:100%!important;max-height:100%!important;object-fit:cover!important;
  object-position:center!important;filter:none!important;border:0!important;
}
