/* #angyalvagy – the few theme-level styles that are not block styles.
 * Every visible part (dialogs, messages, lists, pager) is Greenshift blocks with their own CSS;
 * h1–h5, body text and buttons come from the Greenshift Stylebook, colours/fonts from theme.json.
 * Here: focus ring, child portraits (relative image URLs) and the state helpers the scripts toggle. */

:focus-visible { outline: 3px solid var(--wp--preset--color--secondary); outline-offset: 3px; border-radius: 12px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Child portraits: <span class="av-pic"> inside an element with data-av-cat="baby|boy|girl|teenBoy|teenGirl". */
.av-pic { display: block; width: 100%; height: 100%; border-radius: 50%; background: #F9F6F4 url(../img/portrait-boy.jpg) center / cover no-repeat; }
[data-av-cat="baby"] .av-pic { background-image: url(../img/portrait-baby.jpg); }
[data-av-cat="girl"] .av-pic { background-image: url(../img/portrait-girl.jpg); }
[data-av-cat="teenBoy"] .av-pic { background-image: url(../img/portrait-teen-boy.jpg); }
[data-av-cat="teenGirl"] .av-pic { background-image: url(../img/portrait-teen-girl.jpg); }

/* "Fiú" / "Lány" label blocks: the one that does not match data-av-gender is hidden. */
[data-av-gender="lany"] .av-g-fiu, [data-av-gender="fiu"] .av-g-lany { display: none; }

/* Wish list paging (av.js hides the <li>s of other pages / categories). */
.av-grid > li[hidden] { display: none; }
.av-grid > li.av-in-anim { animation: av-li-rise .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes av-li-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.av-fchip[hidden] { display: none; }
.wp-element-button.is-busy, .av-linkbtn.is-busy { opacity: .6; cursor: progress; }
@media (prefers-reduced-motion: reduce) { .av-grid > li.av-in-anim { animation: none; } }
