/* SmartHealthTools premium photographic edition, October 2026.
   Product photographs are illustrative of category, not specific SKUs. */
.resource-goal-card,.tool-card,.product-card{overflow:hidden}
.resource-goal-card::before,.tool-card::before{content:"";display:block;background-image:var(--health-photo);background-size:cover;background-position:center;flex-shrink:0;border-bottom:3px solid rgba(14,168,130,.22)}
.resource-goal-card::before{height:128px;margin:-24px -24px 16px}
.tool-card::before{height:152px;margin:-20px -20px 18px}
.resource-goal-card[data-goal=bp]{--health-photo:url('health-heart.jpg')}
.resource-goal-card[data-goal=glucose]{--health-photo:url('health-metabolic.jpg')}
.resource-goal-card[data-goal=weight]{--health-photo:url('health-nutrition.jpg')}
.resource-goal-card[data-goal=sleep]{--health-photo:url('health-sleep.jpg')}
.resource-goal-card[data-goal=coverage]{--health-photo:url('health-coverage.jpg')}
.tool-card:nth-child(1){--health-photo:url('health-metabolic.jpg')}
.tool-card:nth-child(2){--health-photo:url('health-heart.jpg')}
.tool-card:nth-child(3){--health-photo:url('health-coverage.jpg')}
.tool-card:nth-child(4){--health-photo:url('health-heart.jpg')}
.tool-card:nth-child(5){--health-photo:url('health-nutrition.jpg')}
.tool-card:nth-child(6){--health-photo:url('health-coverage.jpg')}
.tool-card:nth-child(7){--health-photo:url('health-fitness.jpg')}
.product-card:nth-child(1){--health-photo:url('health-heart.jpg')}
.product-card:nth-child(2){--health-photo:url('health-metabolic.jpg')}
.product-card:nth-child(3){--health-photo:url('health-fitness.jpg')}
.product-card:nth-child(4){--health-photo:url('health-sleep.jpg')}
.product-card:nth-child(5){--health-photo:url('health-nutrition.jpg')}
.product-card:nth-child(6){--health-photo:url('health-fitness.jpg')}
.product-card:nth-child(7){--health-photo:url('health-air.jpg')}
.product-card:nth-child(8){--health-photo:url('health-travel.jpg')}
.products-grid .product-photo{height:180px;background-image:var(--health-photo)!important;background-size:cover!important;background-position:center!important}
.products-grid .product-photo::before,.products-grid .product-photo::after{display:none!important}
.products-grid .product-photo .sht-icon{position:absolute;right:12px;bottom:12px;z-index:2;width:36px;height:36px;padding:7px;border-radius:12px;color:white!important;background:rgba(5,52,48,.83);filter:none;box-shadow:0 4px 14px rgba(0,0,0,.16)}
.product-card .product-body{padding:21px}
.product-card .product-body h3{font-size:1.08rem}
.product-card .product-body .btn-sm{align-self:stretch;justify-content:center;text-align:center}
.product-card:hover,.tool-card:hover,.resource-goal-card:hover{box-shadow:0 20px 52px rgba(8,53,43,.16)}
.use-site-card{border-top:4px solid rgba(14,168,130,.25)}
.wellness-panel{box-shadow:0 25px 60px rgba(0,40,32,.18)}
/* The site's existing photographic hero is retained. Interior headers gain
   subject-relevant editorial photos while their copy stays fully readable. */
.page-hero{position:relative;background:linear-gradient(90deg,rgba(7,42,36,.95),rgba(7,42,36,.79)),url('health-heart.jpg') center/cover!important}
.premium-heart-hero{background:linear-gradient(90deg,rgba(7,42,36,.96),rgba(7,42,36,.83)),url('health-heart.jpg') center/cover!important}
.resource-page{background:linear-gradient(180deg,rgba(248,252,249,.95),rgba(248,252,249,.96)),url('health-nutrition.jpg') center top/cover no-repeat}
@media(max-width:720px){
  .resource-goal-card::before{height:112px}
  .tool-card::before{height:134px}
  .products-grid .product-photo{height:162px}
}
@media(prefers-reduced-motion:reduce){.resource-goal-card,.tool-card,.product-card{transition:none}}
