/* Full advertising artwork, shared by the storefront and admin preview. */
#main .rf-hero.rf-ad-hero{height:auto;aspect-ratio:3/1}
#main .rf-hero{touch-action:pan-y pinch-zoom;isolation:isolate}
#main .rf-hero .rf-image-ad{background-image:none;background-color:var(--theme-soft,#fff5fa)}
#main .rf-hero .rf-image-ad>.rf-banner-art{display:block;position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;transform:none;pointer-events:none}
#main .rf-banner-art>img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;user-select:none;-webkit-user-drag:none}
/* Plain artwork until a keyboard user focuses the accessible controls. */
#main .rf-a11y-controls{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#main .rf-a11y-controls:focus-within{width:auto;height:auto;clip-path:none;left:8px;bottom:8px;margin:0;display:flex;gap:6px;z-index:5;padding:6px;border-radius:14px;background:white;white-space:normal}
#main .rf-a11y-controls button{padding:6px 10px;border:1px solid var(--theme-line,#dfc7ed);border-radius:9px;background:white;color:var(--theme-strong,#5f2397)}
#main .rf-hero:focus-visible{outline:3px solid var(--theme-accent,#852ad2);outline-offset:-3px}
.banner-effect-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}
.banner-effect-options button{padding:12px;text-align:left;border:1px solid var(--theme-line,#dfc7ed);border-radius:14px;background:var(--theme-soft,#fbf6ff);color:var(--text,#30233d);font:inherit}
.banner-effect-options b,.banner-effect-options small{display:block}
.banner-effect-options small{margin-top:5px;font-size:12px;line-height:1.5}
.banner-effect-options [aria-pressed="true"]{border-color:var(--theme-accent,#852ad2);box-shadow:inset 0 0 0 1px var(--theme-accent,#852ad2)}
#main .banner-preview{width:100%;border-radius:16px;border:1px solid var(--theme-line,#dfc7ed)}
.banner-editor h3{margin:0}.banner-editor input[type="number"]{max-width:100%}
@media(prefers-reduced-motion:reduce){#main .rf-hero .rf-slide{animation:none!important}}

/* Keep each supplied compact artwork whole; mirror the picture source media exactly. */
@media(max-width:1100px),(max-width:1366px) and (hover:none) and (pointer:coarse){
 #main .rf-hero.rf-ad-hero{aspect-ratio:1672/941}
}
