/* Responsive, translated benefit sheets built from readable HTML. */
#benefits-dialog{width:min(1040px,calc(100% - 32px))}
#benefits-content{padding:26px}
.benefit-poster{--poster-accent:#b1944d;--poster-tint:#eaf2f4;color:#172b46;background:radial-gradient(ellipse at top,var(--poster-tint),#faf9f3 65%);border:1px solid #d9d9cf;border-radius:6px;padding:30px 24px 0;overflow:hidden}
.benefit-poster[data-category="sardines"]{--poster-tint:#f9e9de;--poster-accent:#ad6139}
.benefit-poster[data-category="tinapa"]{--poster-tint:#eeebf7;--poster-accent:#78668e}
.benefit-poster-header{text-align:center;margin-bottom:28px}
.benefit-poster-header .poster-brand{color:#172b46;font-weight:600;margin-bottom:10px;font-size:16px}
.benefit-poster-header h3{font-family:var(--heading);font-size:28px;line-height:1.3;max-width:740px;margin:0 auto 12px;letter-spacing:-.5px}
.benefit-poster-header>p:last-child{color:#866b28;font-size:18px}
.poster-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.9fr) minmax(0,1fr);gap:20px 18px;align-items:stretch}
.poster-product{grid-column:2;grid-row:1/span 2;align-self:center;margin:0;min-width:0}
.poster-product .product-image{background:transparent;aspect-ratio:1;overflow:visible}
.poster-product .product-fragment{width:100%;border-radius:5px;box-shadow:0 14px 28px #182b461a}
.poster-product .crop-tinapa-tomato-sauce .product-fragment,.poster-product .crop-tinapa-hot-tomato-sauce .product-fragment{width:64%}
.poster-product figcaption{font-size:16px;text-align:center;color:#576474;margin-top:12px}
.poster-benefits{display:contents;list-style:none;padding:0;margin:0}
.poster-benefit-card{background:#ffffffda;border:1px solid #c4cccb;border-radius:14px;padding:18px;min-width:0;text-align:center;box-shadow:0 4px 10px #172b4608}
.poster-benefit-card:nth-child(1){grid-area:1/1}
.poster-benefit-card:nth-child(2){grid-area:1/3}
.poster-benefit-card:nth-child(3){grid-area:2/1}
.poster-benefit-card:nth-child(4){grid-area:2/3}
.poster-benefit-card:nth-child(5){grid-column:1/-1;grid-row:3;justify-self:center;width:min(100%,440px)}
.poster-benefit-card h4{font:600 18px/1.35 var(--heading);color:#172b46;margin:12px 0 8px;overflow-wrap:anywhere}
.poster-benefit-card p{font-size:16px;color:#4e5c67;line-height:1.55;margin:0}
.benefit-icon{display:inline-grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--poster-tint);border:1px solid #172b4614;color:#284b62}
.benefit-icon svg{width:34px;height:34px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.benefit-poster-footer{margin:26px -24px 0;padding:16px 24px;background:#172b46;text-align:center;color:#faf9f3;display:flex;justify-content:center;gap:10px;flex-wrap:wrap;font-size:16px}
.benefit-poster-footer strong{font-weight:600;color:#ead18e;font-size:16px}
#benefits-content>.label-note{font-size:16px;line-height:1.6;margin:22px 0}
#benefits-content>.dialog-actions{margin-top:20px}
@media(max-width:760px){
 #benefits-content{padding:18px}
 .benefit-poster{padding:24px 18px 0}
 .benefit-poster-header h3{font-size:24px}
 .poster-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .poster-product{grid-column:1/-1;grid-row:1;width:min(100%,250px);justify-self:center;margin-bottom:4px}
 .poster-benefit-card:nth-child(n){grid-area:auto;width:auto;justify-self:stretch}
 .poster-benefit-card:nth-child(5){grid-column:1/-1;width:min(100%,440px);justify-self:center}
 .benefit-poster-footer{margin-inline:-18px;padding-inline:18px}
}
@media(max-width:480px){
 #benefits-dialog{width:calc(100% - 24px)}
 #benefits-content{padding:14px}
 .benefit-poster{padding:22px 14px 0}
 .benefit-poster-header h3{font-size:22px;letter-spacing:-.3px}
 .benefit-poster-header>p:last-child{font-size:16px}
 .poster-layout{grid-template-columns:minmax(0,1fr);gap:14px}
 .poster-product{width:min(100%,230px)}
 .poster-benefit-card:nth-child(n){grid-column:1;max-width:none;width:100%}
 .poster-benefit-card{display:grid;grid-template-columns:46px minmax(0,1fr);gap:0 12px;text-align:left;padding:16px 14px}
 .benefit-icon{width:46px;height:46px;grid-column:1;grid-row:1/span 2;align-self:start}
 .benefit-icon svg{width:28px;height:28px}
 .poster-benefit-card h4{grid-column:2;font-size:17px;margin:0 0 7px}
 .poster-benefit-card p{grid-column:2}
 .benefit-poster-footer{margin-inline:-14px;padding-inline:14px}
}
