/* MAS-CONTENT-P02 – price-only overlay, no remote assets. All business values from DB. */
body.mas-home-ui .mas-cp02-prices .mas-cp02-intro{max-width:860px;margin:0 auto 19px;padding:14px 18px;border:1px solid var(--mas-p05-border,#ede5d9);background:color-mix(in srgb,var(--mas-p05-card,#fff) 92%,transparent);border-radius:12px;text-align:center;color:var(--mas-p05-text,#19382d)}
body.mas-home-ui .mas-cp02-prices .mas-cp02-intro strong{display:block;font-size:clamp(16px,1.7vw,20px);line-height:1.3;margin-bottom:4px}
body.mas-home-ui .mas-cp02-prices .mas-cp02-intro p{margin:0;font-size:13px;line-height:1.65;color:var(--mas-p05-text,#19382d);opacity:.86}
/* The Admin PC setting is a maximum; with three public packages, use three balanced columns, not an empty fourth slot. */
body.mas-home-ui .mas-cp02-prices .mas-cp02-grid{grid-template-columns:repeat(min(var(--mas-p05-pc-cols,4),var(--cp02-count,3)),minmax(0,1fr));max-width:1050px;margin-inline:auto;gap:clamp(11px,1.5vw,18px)}
body.mas-home-ui .mas-cp02-prices .mas-cp02-card{display:flex;flex-direction:column;min-width:0;min-height:255px;padding:19px 16px 16px;text-align:center}
body.mas-home-ui .mas-cp02-card .mas-cp02-service{display:block;font-size:12px;font-weight:600;line-height:1.4;color:var(--mas-p05-text,#19382d);opacity:.78}
body.mas-home-ui .mas-cp02-card .mas-cp02-card-head h3{font-size:clamp(17px,1.5vw,20px);margin:6px 0 12px;line-height:1.35;overflow-wrap:anywhere}
body.mas-home-ui .mas-cp02-card .mas-cp02-card-main{display:flex;align-items:center;flex-direction:column;justify-content:center;flex:1;gap:7px}
body.mas-home-ui .mas-cp02-card .mas-cp02-duration{display:block;border-radius:99px;background:#f7efd9;color:var(--mas-p05-text,#19382d);padding:6px 13px;font-size:14px;font-weight:700;line-height:1.4;opacity:1}
body.mas-home-ui .mas-cp02-card .mas-cp02-amount{display:block;font-size:clamp(23px,2.5vw,34px);font-weight:800;line-height:1.26;margin:5px 0 9px;letter-spacing:-.02em;white-space:nowrap;color:var(--mas-p05-amount,#b6292e)}
body.mas-home-ui .mas-cp02-card .mas-cp02-amount span{font-size:.67em;margin-left:1px}
body.mas-home-ui .mas-cp02-card .mas-cp02-card-note{font-size:12px;line-height:1.6;overflow-wrap:anywhere;text-align:left;margin:0 0 12px;color:var(--mas-p05-text,#19382d)}
body.mas-home-ui .mas-cp02-card .mas-cp02-card-action{margin-top:auto;padding-top:7px;width:100%}
body.mas-home-ui .mas-cp02-card .mas-cp02-card-action .btn{min-height:42px;font-size:12px;font-weight:700}
body.mas-home-ui .mas-cp02-prices .mas-cp02-notice{display:flex;align-items:flex-start;gap:13px;max-width:1050px;margin:15px auto 0;padding:15px 18px;border:1px solid var(--mas-p05-border,#ede5d9);background:#fffdf7;border-radius:12px;color:var(--mas-p05-text,#19382d);text-align:left}
body.mas-home-ui .mas-cp02-notice .mas-cp02-notice-icon{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border:1px solid var(--mas-p05-border,#ede5d9);background:#f4e8c9;color:var(--mas-p05-text,#19382d);border-radius:50%;font-weight:800;font-size:15px}
body.mas-home-ui .mas-cp02-notice h3{font-size:16px;line-height:1.4;margin:0 0 4px}
body.mas-home-ui .mas-cp02-notice p{font-size:13px;line-height:1.65;margin:0;color:var(--mas-p05-text,#19382d);overflow-wrap:anywhere}
@media(max-width:950px){body.mas-home-ui .mas-cp02-prices .mas-cp02-grid{grid-template-columns:repeat(min(2,var(--cp02-count,3)),minmax(0,1fr))}}
@media(max-width:640px){
 body.mas-home-ui .mas-cp02-prices .mas-cp02-intro{padding:12px;margin-bottom:12px}
 body.mas-home-ui .mas-cp02-prices .mas-cp02-intro strong{font-size:15px}
 body.mas-home-ui .mas-cp02-prices .mas-cp02-intro p{font-size:12px;line-height:1.6}
 body.mas-home-ui .mas-cp02-prices .mas-cp02-grid{grid-template-columns:repeat(min(var(--mas-p05-mobile-cols,2),var(--cp02-count,3)),minmax(0,1fr));gap:10px}
 body.mas-home-ui .mas-cp02-prices .mas-cp02-card{padding:13px 9px 11px;min-height:235px}
 body.mas-home-ui .mas-cp02-card .mas-cp02-service{font-size:11px}
 body.mas-home-ui .mas-cp02-card .mas-cp02-card-head h3{font-size:14px;line-height:1.4;margin:5px 0 9px}
 body.mas-home-ui .mas-cp02-card .mas-cp02-duration{font-size:12px;padding:5px 8px}
 body.mas-home-ui .mas-cp02-card .mas-cp02-amount{font-size:clamp(18px,5.15vw,24px);margin:3px 0 8px}
 body.mas-home-ui .mas-cp02-card .mas-cp02-card-action .btn{font-size:11.5px;min-height:42px;line-height:1.4;padding:8px 5px}
 body.mas-home-ui .mas-cp02-prices .mas-cp02-notice{gap:10px;padding:13px 12px;margin-top:12px}
 body.mas-home-ui .mas-cp02-notice h3{font-size:14px}
 body.mas-home-ui .mas-cp02-notice p{font-size:12px;line-height:1.65}
 /* Center a lone last item on 2-column mobile layouts without making its width inconsistent. */
 body.mas-home-ui .mas-cp02-prices .mas-cp02-grid.mas-cp02-mobile-two:has(> .mas-cp02-card:nth-child(odd):last-child):not(:has(> .mas-cp02-card:nth-child(1):last-child)) > .mas-cp02-card:last-child{grid-column:1/-1;width:calc(50% - 5px);justify-self:center}
}
@media(max-width:360px){body.mas-home-ui .mas-cp02-card .mas-cp02-amount{font-size:18px;letter-spacing:-.04em}body.mas-home-ui .mas-cp02-card .mas-cp02-card-head h3{font-size:13px}body.mas-home-ui .mas-cp02-prices .mas-cp02-grid{gap:8px}}
