/* Isolated section. Persistent overrides: uploads/perfect/custom.css. */
.pvm-section{--pvm-ink:#35263f;--pvm-muted:#706779;padding:clamp(32px,5vw,64px) clamp(16px,3vw,32px);background:linear-gradient(90deg,#f7f3fc99,transparent 22%,transparent 78%,#f7f3fc99),#fff;max-width:100%;font-family:inherit;color:var(--pvm-ink);box-sizing:border-box}
.pvm-section *, .pvm-preview *{box-sizing:border-box}
.pvm-section .pvm-heading{text-align:center;margin:0 auto 30px;max-width:850px}
.pvm-section .pvm-heading h2{font-size:clamp(36px,3vw,44px);font-weight:700;line-height:1.4;color:var(--pvm-ink);margin:0;overflow-wrap:anywhere}
.pvm-section .pvm-heading p{color:var(--pvm-muted);font-size:17px;line-height:1.8;font-weight:400;margin:10px 0 0}
.pvm-grid{display:flex;gap:20px;max-width:1240px;margin:auto;align-items:stretch;justify-content:center}
.pvm-slot{flex:1 1 0;min-width:0;display:flex}
.pvm-card{--pvm-start:#FAF7FF;--pvm-end:#EEE7FF;--pvm-border:#dcd0ed;--pvm-shadow:#62437e12;position:relative;isolation:isolate;overflow:hidden;border-radius:24px;border:1px solid var(--pvm-border);background:linear-gradient(125deg,var(--pvm-start),var(--pvm-end));box-shadow:0 7px 22px var(--pvm-shadow);padding:24px;width:100%;text-align:start;cursor:default;color:var(--pvm-ink,#35263f)}
.pvm-card[data-palette=rose]{--pvm-start:#FFF8FB;--pvm-end:#F5E7F0;--pvm-border:#ead3e3;--pvm-shadow:#884a7412}
.pvm-card[data-palette=blue]{--pvm-start:#F7FAFF;--pvm-end:#E7EEFF;--pvm-border:#d6def3;--pvm-shadow:#41578412}
.pvm-card::before{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:4px;background:var(--pvm-accent,#8b69b4);pointer-events:none}
.pvm-top{display:flex;align-items:center;gap:16px;position:relative;z-index:1}
.pvm-icon{width:68px;height:68px;flex:0 0 68px;display:grid;place-items:center;border:1px solid #ffffffb3;background:#ffffff70;border-radius:18px;box-shadow:0 4px 12px #35233f0a;color:var(--pvm-icon,#574069)}
.pvm-icon svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.65}
.pvm-icon img{width:80%;height:80%;object-fit:contain}
.pvm-card h3{font-size:clamp(22px,2vw,26px);line-height:1.5;font-weight:700;margin:0;color:inherit;overflow-wrap:anywhere;min-width:0}
.pvm-card .pvm-description{position:relative;z-index:1;font-size:16px;font-weight:400;line-height:1.85;color:var(--pvm-muted,#706779);margin:18px 0 0;white-space:normal;overflow-wrap:anywhere}
.pvm-card>.pvm-description:first-child{margin-top:0}
.pvm-watermark{position:absolute;inset-inline-end:-12px;bottom:8px;width:148px;height:148px;opacity:.055;color:var(--pvm-icon,#574069);pointer-events:none;z-index:0}
.pvm-watermark svg{height:100%;width:100%;fill:none;stroke:currentColor;stroke-width:1}
[data-decorations="0"] .pvm-watermark{display:none}
.pvm-card.pvm-featured{border-color:var(--pvm-accent,#8b69b4)}
.pvm-preview{grid-column:1/-1;min-width:0;direction:rtl}.pvm-preview .pvm-card{max-width:560px;margin:auto}.pvm-preview:empty{display:none}
html[data-theme=dark] .pvm-section{--pvm-ink:#f3edf8;--pvm-muted:#d0c6da;background:linear-gradient(90deg,#29233155,transparent 25%,transparent 75%,#29233155),#18161d}
html[data-theme=dark] .pvm-card{--pvm-start:#27222f!important;--pvm-end:#332a40!important;--pvm-border:#51435f;--pvm-shadow:transparent;--pvm-ink:#f3edf8;--pvm-muted:#d0c6da}
html[data-theme=dark] .pvm-card[data-palette=rose]{--pvm-start:#2b232b!important;--pvm-end:#3a2936!important;--pvm-border:#5d4358}
html[data-theme=dark] .pvm-card[data-palette=blue]{--pvm-start:#232734!important;--pvm-end:#2b3345!important;--pvm-border:#45516c}
html[data-theme=dark] .pvm-icon{color:#e2d4f4;background:#ffffff08;border-color:#ffffff20;box-shadow:none}
html[data-theme=dark] .pvm-watermark{color:#dfd1ef;opacity:.04}
@media(max-width:959px){.pvm-grid{flex-direction:column;max-width:700px}.pvm-slot{flex:auto}.pvm-card{padding:24px}}
@media(max-width:600px){.pvm-section .pvm-heading h2{font-size:clamp(28px,7vw,32px)}.pvm-section .pvm-heading p{font-size:15px}.pvm-grid{gap:18px}.pvm-card{padding:20px}.pvm-card h3{font-size:22px}.pvm-icon{width:60px;height:60px;flex-basis:60px}.pvm-top{gap:14px}.pvm-card .pvm-description{font-size:15px}}
@media(max-width:360px){.pvm-top{gap:10px}.pvm-icon{width:52px;height:52px;flex-basis:52px}.pvm-card h3{font-size:20px}}
@media(prefers-reduced-motion:no-preference){.pvm-card{transition:transform .23s ease,box-shadow .23s ease}.pvm-icon{transition:transform .23s ease}.pvm-entered .pvm-heading{animation:pvm-rise .52s ease both}.pvm-entered .pvm-slot{animation:pvm-rise .52s ease both;animation-delay:var(--pvm-delay,150ms)}@keyframes pvm-rise{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.pvm-section[data-motion="1"] .pvm-card:hover{transform:translateY(-4px);box-shadow:0 12px 26px var(--pvm-shadow)}.pvm-section[data-motion="1"] .pvm-card:hover .pvm-icon{transform:scale(1.03)}}
@media(prefers-reduced-motion:reduce){.pvm-section *{animation:none!important;transition:none!important}}

/* v0.8.13: extend only the background paint, never the content box.
   A clipped spread shadow does not add scrollable layout width. */
.perfect-home .pvm-section{position:relative;isolation:isolate;overflow:visible}
.perfect-home .pvm-section::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:inherit;box-shadow:0 0 0 100vmax #faf8fd;clip-path:inset(0 -100vmax)}
html[data-theme=dark] .perfect-home .pvm-section::before{box-shadow:0 0 0 100vmax #1e1a24}
