.ah-cmp{position:relative;overflow:hidden;border-radius:20px;aspect-ratio:var(--ah-cmp-ratio,3/4);background:#fff;box-shadow:0 6px 0 var(--ink);user-select:none;touch-action:pan-y;direction:ltr}
.ah-cmp__img{position:absolute;inset:0;width:100%;height:100%}
.ah-cmp__img img,.ah-cmp__img .ah-cmp__ph{width:100%;height:100%;object-fit:cover;display:block}
.ah-cmp__ph{display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--ink);font-size:15px}
.ah-cmp__img--before .ah-cmp__ph{background:#FFE1D1}
.ah-cmp__img--after{clip-path:inset(0 calc(100% - var(--ah-cmp-pos,50%)) 0 0)}
.ah-cmp__img--after .ah-cmp__ph{background:#FFE7A3}
.ah-cmp__line{position:absolute;top:0;bottom:0;left:var(--ah-cmp-pos,50%);width:4px;margin-left:-2px;background:#fff;box-shadow:0 0 0 1px rgba(42,30,74,.15);pointer-events:none}
.ah-cmp__knob{position:absolute;top:50%;left:50%;width:48px;height:48px;margin:-24px 0 0 -24px;border-radius:50%;background:var(--grape);border:4px solid #fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(42,30,74,.3)}
.ah-cmp__tag{position:absolute;top:14px;padding:4px 14px;border-radius:999px;font-weight:700;font-size:14px;line-height:1.5;pointer-events:none;direction:rtl}
.ah-cmp__tag--after{left:14px;background:var(--sun);color:var(--ink)}
.ah-cmp__tag--before{right:14px;background:#fff;color:var(--ink)}
.ah-cmp__range{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;-webkit-appearance:none;appearance:none}
.ah-cmp__range:focus-visible{opacity:0}
.ah-cmp:has(.ah-cmp__range:focus-visible) .ah-cmp__knob{outline:3px solid var(--sun);outline-offset:3px}
.ah-cmp-grid{display:grid;gap:28px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.ah-cmp-hint{text-align:center;font-weight:700;color:var(--muted);font-size:15px}
.ah-ba__grid{display:grid;gap:40px;align-items:center;grid-template-columns:1fr 1fr}
.ah-ba__media{max-width:480px;width:100%;margin-inline:auto}
@media (max-width:749px){.ah-ba__grid{grid-template-columns:1fr;gap:24px}}
