/* Inner-page rhythm. Homepages retain their existing spacing. */
@media(max-width:767px){
body.jd-fresh-page .jf-wrap{margin-top:28px}
body.jd-fresh-page .jf-wrap section{padding-block:20px}
body.jd-fresh-page .jf-wrap .jf-hero{padding-top:26px;gap:12px}
body.jd-fresh-page .jf-heading h1{margin-bottom:8px}
body.jd-fresh-page .jf-heading p{margin:0}
body.jd-fresh-page .jf-wrap h2{margin-bottom:12px}
body.jd-fresh-page .jf-intro h2{margin-bottom:8px}
body.jd-fresh-page .jf-intro p{margin:8px 0}
body.jd-fresh-page .jf-intro li{margin:7px 0}
body.jd-fresh-page .jf-actions{margin-bottom:14px}
body.jd-fresh-page .jf-center{margin:0 0 18px}
body.jd-fresh-page .jf-card h3{margin:0 0 6px}
body.jd-fresh-page .jf-card p{margin:0;line-height:1.55}
body.jd-fresh-page .jf-boost-card{gap:6px 14px;grid-template-rows:auto auto auto auto auto}
body.jd-fresh-page .jf-boost-card h3{margin:0}
body.jd-fresh-page .jf-boost-card .jf-pack-label{align-self:end}
body.jd-fresh-page .jf-boost-card .jf-button{margin-top:0}
body.jd-fresh-page .jf-why-grid{gap:10px}
body.jd-fresh-page .jf-why-grid h3{margin:0 0 6px}
body.jd-fresh-page .jf-why-grid p{margin:0}
body.jd-fresh-page .jf-why-grid li{margin-bottom:18px}
body.jd-fresh-page .jf-tagline{margin:16px auto}
body.jd-cleanse-page .juice-plan-page{padding-top:20px}
body.jd-cleanse-page .cleanse-heading{margin-bottom:14px}
body.jd-cleanse-page .cleanse-heading h1{margin-bottom:10px}
body.jd-cleanse-page .cleanse-hero{gap:18px;margin-bottom:20px}
body.jd-cleanse-page .cleanse-checks{margin:12px 0}
body.jd-cleanse-page .juice-plan-page .cleanse-section-heading{margin:22px auto 16px}
body.jd-cleanse-page .juice-plan-page .juice-plan-card .juice-plan-price{font-size:22px;line-height:1.25;margin-bottom:12px}
body.jd-cleanse-page .juice-plan-card .plan-card-description{margin-bottom:10px}
body.jd-cleanse-page .juice-plan-selection{margin-bottom:30px}
body.jd-store .jdo-wrap{margin-top:12px;margin-bottom:40px}
body.jd-store .jdo-product{margin-top:14px;gap:20px}
body.jd-store .jdo-product-info h1{margin:10px 0}
body.jd-store .jdo-description p{margin:10px 0}
body.jd-store fieldset{margin-top:18px}
body.jd-store .jdo-filters,body.jd-store .jdo-actions{margin-block:18px}
}
/* Keep tablet cards readable between the single-column and desktop layouts. */
@media(min-width:768px) and (max-width:1000px){
.jd-fresh-page .jf-products{grid-template-columns:repeat(2,minmax(0,1fr))}
.jd-fresh-page .jf-hero{column-gap:28px}
.jd-fresh-page .jf-why-grid{gap:28px}
.jd-fresh-page .jf-boost-card{column-gap:12px;padding:16px}
}

/* Product titles: responsive 32?40px, with consistent heading spacing. */
body.jd-store.single-jd_product .jdo-product-info h1{font-size:clamp(2rem,5vw,2.5rem);line-height:1.1;margin:18px 0}
/* Center text/image groups instead of stretching them across the full catalogue. */
@media(min-width:768px){
body.jd-fresh-page .jf-hero{max-width:1040px;margin-inline:auto;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);column-gap:28px}
body.jd-fresh-page .jf-why-grid{max-width:1000px;margin-inline:auto;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:30px}
body.jd-fresh-page .jf-why-grid>img{max-width:300px;justify-self:center}
body.jd-fresh-page .jf-why-grid ul{padding-left:20px;margin:0}
body.jd-fresh-page .jf-why-grid li{margin-bottom:18px}
body.jd-fresh-page .jf-why-grid h3{margin:0 0 8px}
body.jd-fresh-page .jf-why-grid p{margin:0}
body.jd-cleanse-page .cleanse-hero{max-width:1040px;margin-inline:auto;gap:28px}
}
.jf-mobile-pack-price{display:none}
@media(max-width:767px){
 body.jd-fresh-page .jf-boost-card{grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr);grid-template-rows:auto auto auto auto auto;gap:10px 16px;padding:20px 16px;align-items:start}
 body.jd-fresh-page .jf-boost-card>h3{grid-area:1/1/2/3;text-align:center;font-size:22px;line-height:1.25;margin:0}
 body.jd-fresh-page .jf-boost-card>.jf-ingredients{grid-area:2/1/3/3;text-align:center;font-size:13px;line-height:1.5;margin:0;font-weight:500}
 body.jd-fresh-page .jf-boost-card>.jf-product-description{grid-area:3/1/4/3;text-align:left;font-size:13px;line-height:1.65;margin:0 0 6px}
 body.jd-fresh-page .jf-boost-card>img{grid-area:4/1/6/2;width:100%;height:170px;object-fit:contain;align-self:center}
 body.jd-fresh-page .jf-boost-card>.jf-pack-label{grid-area:4/2/5/3;align-self:end;font-size:13px;line-height:1.5;margin:0;font-weight:500}
 body.jd-fresh-page .jf-boost-card .jf-mobile-pack-price{display:block;font-size:13px;line-height:1.5;font-weight:400;margin-top:6px}
 body.jd-fresh-page .jf-boost-card>.jf-button{grid-area:5/2/6/3;align-self:start;width:100%;min-height:48px;box-sizing:border-box;text-align:center;padding:10px 8px;margin:0;font-size:13px}
}
