/* V28: only editor behavior and optional content; V26 visual stylesheet remains the base. */
.pmp-legacy [data-fe-root] [hidden],.pmp-legacy [data-fe-header] [hidden]{display:none!important}
.pmp-legacy [data-fe-root]{scroll-margin-top:80px}
.pmp-legacy .v28-placeholder{padding:40px;background:#f2f4f1;color:#51665d;text-align:center}
.pmp-legacy .v28-dialog{border:0;padding:0;border-radius:6px;width:min(820px,94vw);max-height:90dvh;overflow:auto;background:#fff;color:var(--ink);font-family:var(--body)}.pmp-legacy .v28-dialog::backdrop{background:#142b2780;backdrop-filter:blur(5px)}.pmp-legacy .v28-dialog .dialog-body{padding:28px}.pmp-legacy .v28-dialog .dialog-body video,.pmp-legacy .v28-dialog .dialog-body iframe{display:block;width:100%;max-height:70dvh;border:0}.pmp-legacy .v28-dialog-tools{display:flex;gap:12px;align-items:center}
.pmp-legacy .purchase-details+.purchase-details{margin-top:0;border-top:0}.pmp-legacy .v28-variant select{min-height:46px;width:100%;font:16px var(--body);margin-bottom:20px}.pmp-legacy .purchase-info> [data-fe-block]:has(.purchase-help){display:contents}
.pmp-legacy .phase-photo.v28-full-image img,.pmp-legacy .setup-crop.v28-full-image img{position:static!important;left:auto!important;top:auto!important;width:100%!important;height:100%!important;transform:none!important;object-fit:contain!important}.pmp-legacy .v28-content-image img{display:block;width:100%;height:auto}.pmp-legacy .v28-rte p{font-size:17px;line-height:1.65;color:var(--muted)}

.pmp-legacy .v28-individual-cycle::before{display:none!important}.pmp-legacy .realistic-cycle .v28-individual-cycle .phase-photo img{opacity:1}.pmp-legacy .realistic-cycle .v28-individual-cycle .phase-photo{mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent),linear-gradient(180deg,transparent,#000 7%,#000 85%,transparent);mask-composite:intersect}

.pmp-legacy .product-purchase:has(>.purchase-gallery[hidden]){grid-template-columns:1fr}

/* Mobile hero: one warm composition with the photo extending under the controls. Desktop V26 stays unchanged. */
@media(max-width:800px){
.template-index .pmp-legacy .hero{position:relative;isolation:isolate;display:block;height:auto;min-height:690px;padding:0;background:#f5f0e8;overflow:hidden}
.template-index .pmp-legacy .hero .hero-background{display:block;position:absolute;inset:auto;left:auto;right:-18%;bottom:0;top:auto;width:260%;height:auto;max-width:none;margin:0;transform:none;object-fit:initial;object-position:initial;mask-image:none;-webkit-mask-image:none;z-index:0}
.template-index .pmp-legacy .hero .hero-shade{display:block;position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#f5f0e8 0%,#f5f0e8 33%,rgba(245,240,232,.94) 40%,rgba(245,240,232,.22) 56%,rgba(245,240,232,0) 66%)}
.template-index .pmp-legacy .hero .hero-content{position:relative;z-index:2;padding-top:100px;padding-bottom:340px}
.template-index .pmp-legacy .hero h1{font-size:clamp(34px,7vw,48px);line-height:1.08;letter-spacing:-.035em;max-width:560px;margin:0 0 18px}
.template-index .pmp-legacy .hero .hero-description{font-size:17px;line-height:1.55;max-width:340px;color:#3f574c;margin:0}
.template-index .pmp-legacy .hero .hero-buttons{margin-top:22px;gap:10px;max-width:350px}
.template-index .pmp-legacy .hero .hero-buttons .button{font-size:14px;min-height:48px;padding:12px 16px}
}
@media(min-width:521px) and (max-width:800px){.template-index .pmp-legacy .hero{min-height:760px}.template-index .pmp-legacy .hero .hero-background{width:190%;right:-10%}.template-index .pmp-legacy .hero .hero-shade{background:linear-gradient(180deg,#f5f0e8 0%,rgba(245,240,232,.97) 31%,rgba(245,240,232,.12) 59%,transparent 70%)}.template-index .pmp-legacy .hero .hero-content{padding-bottom:400px}}
@media(max-width:520px){.template-index .pmp-legacy .hero{min-height:680px}.template-index .pmp-legacy .hero .hero-content{padding-top:94px;padding-bottom:330px}.template-index .pmp-legacy .hero h1{font-size:clamp(32px,9.5vw,40px);max-width:100%}.template-index .pmp-legacy .hero .hero-buttons{grid-template-columns:1.1fr 1fr}.template-index .pmp-legacy .hero .hero-buttons .button{font-size:14px;white-space:nowrap;padding-inline:10px;gap:8px}}
@media(max-width:360px){.template-index .pmp-legacy .hero{min-height:650px}.template-index .pmp-legacy .hero .hero-content{padding-top:88px;padding-bottom:315px}.template-index .pmp-legacy .hero .hero-background{width:275%;right:-22%}.template-index .pmp-legacy .hero .hero-buttons .button{font-size:12.5px;padding-inline:8px;gap:6px}}

.pmp-legacy .pmp-icon-arrow{display:inline-block;width:1em;height:1em;flex-shrink:0;vertical-align:-.125em}
