.wc-block-mini-cart__button .wc-block-mini-cart__icon::before {
    content: '';
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url('data:image/svg+xml;utf8,<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 0C0.447715 0 0 0.447715 0 1C0 1.55228 0.447715 2 1 2H2.21922L2.52478 3.22224C2.52799 3.23637 2.5315 3.25039 2.5353 3.26429L3.89253 8.69321L2.99995 9.58578C1.74002 10.8457 2.63235 13 4.41416 13H13C13.5522 13 14 12.5523 14 12C14 11.4477 13.5522 11 13 11L4.41417 11L5.41416 10H12C12.3788 10 12.725 9.786 12.8944 9.44721L15.8944 3.44721C16.0494 3.13723 16.0329 2.76909 15.8507 2.47427C15.6684 2.17945 15.3466 2 15 2H4.28078L3.97014 0.757464C3.85885 0.312297 3.45887 0 3 0H1Z" fill="%23FFFCF9"/><path d="M14 15.5C14 16.3284 13.3284 17 12.5 17C11.6716 17 11 16.3284 11 15.5C11 14.6716 11.6716 14 12.5 14C13.3284 14 14 14.6716 14 15.5Z" fill="%23FFFCF9"/><path d="M4.5 17C5.32843 17 6 16.3284 6 15.5C6 14.6716 5.32843 14 4.5 14C3.67157 14 3 14.6716 3 15.5C3 16.3284 3.67157 17 4.5 17Z" fill="%23FFFCF9"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0;
}

.single_add_to_cart_button::before {
    content: "";
    display: inline-block;
    width: 1.2rem;
    height: 1.5rem;
    background-image: url('data:image/svg+xml;utf8,<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 0C0.447715 0 0 0.447715 0 1C0 1.55228 0.447715 2 1 2H2.21922L2.52478 3.22224C2.52799 3.23637 2.5315 3.25039 2.5353 3.26429L3.89253 8.69321L2.99995 9.58578C1.74002 10.8457 2.63235 13 4.41416 13H13C13.5522 13 14 12.5523 14 12C14 11.4477 13.5522 11 13 11L4.41417 11L5.41416 10H12C12.3788 10 12.725 9.786 12.8944 9.44721L15.8944 3.44721C16.0494 3.13723 16.0329 2.76909 15.8507 2.47427C15.6684 2.17945 15.3466 2 15 2H4.28078L3.97014 0.757464C3.85885 0.312297 3.45887 0 3 0H1Z" fill="%23FFFCF9"/><path d="M14 15.5C14 16.3284 13.3284 17 12.5 17C11.6716 17 11 16.3284 11 15.5C11 14.6716 11.6716 14 12.5 14C13.3284 14 14 14.6716 14 15.5Z" fill="%23FFFCF9"/><path d="M4.5 17C5.32843 17 6 16.3284 6 15.5C6 14.6716 5.32843 14 4.5 14C3.67157 14 3 14.6716 3 15.5C3 16.3284 3.67157 17 4.5 17Z" fill="%23FFFCF9"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 10px;
    vertical-align: text-top;
}

.single_add_to_cart_button {
    white-space: nowrap;
}

.single-product .termek-kurzusok-lista {
    margin-top: 1.5rem;
}

.add_to_cart_button::before {
    content: "";
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    background-image: url('data:image/svg+xml;utf8,<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 0C0.447715 0 0 0.447715 0 1C0 1.55228 0.447715 2 1 2H2.21922L2.52478 3.22224C2.52799 3.23637 2.5315 3.25039 2.5353 3.26429L3.89253 8.69321L2.99995 9.58578C1.74002 10.8457 2.63235 13 4.41416 13H13C13.5522 13 14 12.5523 14 12C14 11.4477 13.5522 11 13 11L4.41417 11L5.41416 10H12C12.3788 10 12.725 9.786 12.8944 9.44721L15.8944 3.44721C16.0494 3.13723 16.0329 2.76909 15.8507 2.47427C15.6684 2.17945 15.3466 2 15 2H4.28078L3.97014 0.757464C3.85885 0.312297 3.45887 0 3 0H1Z" fill="%23FFFCF9"/><path d="M14 15.5C14 16.3284 13.3284 17 12.5 17C11.6716 17 11 16.3284 11 15.5C11 14.6716 11.6716 14 12.5 14C13.3284 14 14 14.6716 14 15.5Z" fill="%23FFFCF9"/><path d="M4.5 17C5.32843 17 6 16.3284 6 15.5C6 14.6716 5.32843 14 4.5 14C3.67157 14 3 14.6716 3 15.5C3 16.3284 3.67157 17 4.5 17Z" fill="%23FFFCF9"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
    vertical-align: baseline;
}

.kurzus-hossz {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 300;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 0.5rem;
}

.termek-ld-kurzus,
.termek-ld-kurzus a {
    color: var(--wp--preset--color--dark-walnut);
}

.kurzus-extra {
    margin-top: var(--wp--preset--spacing--m, 1rem);
}

.kurzus-elvalaszto {
    padding-left: 12px;
    padding-right: 12px;
}

.woocommerce-breadcrumb{
    margin-bottom: 0 !important
}
.woocommerce-breadcrumb a{
    font-weight: 400;
    text-decoration: underline
}


.wp-block-query-pagination.wp-block-query-pagination-is-layout-flex {
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 3vw, 3rem);
}

.wp-block-query-pagination-numbers {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.wp-block-query-pagination-numbers .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    height: 2.75rem;
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 1rem;
    line-height: 24px;
    font-weight: 400;
    color: var(--wp--preset--color--dark-teal);
    text-decoration: none !important;
}

.wp-block-query-pagination-numbers .page-numbers.current {
    background: #10717A;
    color: #fff;
    aspect-ratio: 1 / 1;
}

.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    font-size: 0;
    text-decoration: none !important;
}

.wp-block-query-pagination-previous::before,
.wp-block-query-pagination-next::before,
.wp-block-query-pagination:not(:has(.wp-block-query-pagination-previous))::before {
    content: "";
    display: block;
    width: 30px;
    height: 15px;
    background-image: url('data:image/svg+xml;utf8,<svg width="30" height="15" viewBox="0 0 30 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M27.5957 6.08398V8.08398H0L0 6.08398L27.5957 6.08398Z" fill="%2310717A"/><path d="M29.1982 6.98828L20.2031 14.3936L18.9316 12.8496L25.9941 7.03516L18.9551 1.58008L20.1797 0L29.1982 6.98828Z" fill="%2310717A"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

.wp-block-query-pagination-previous::before {
    transform: scaleX(-1);
}

.wp-block-query-pagination-previous[aria-disabled="true"]::before {
    opacity: 0.35;
}

.lapozo-szamok--mobil {
    display: none;
}

@media (max-width: 48.8125rem) {
    .lapozo-szamok--desktop {
        display: none;
    }

    .lapozo-szamok--mobil {
        display: flex;
    }

    .wp-block-query-pagination.wp-block-query-pagination-is-layout-flex {
        gap: 0.75rem;
    }

    .wp-block-query-pagination-numbers {
        gap: 0.5rem;
    }
}

.wp-block-query-pagination-next[aria-disabled="true"]::before {
    opacity: 0.35;
}

.wp-block-query-pagination:not(:has(.wp-block-query-pagination-previous))::before {
    order: -1;
    opacity: 0.35;
    transform: scaleX(-1);
}

@media (width <= 480px) {
    .short-desc {
        height: auto !important;
        min-height: auto !important;
    }
}

@media (max-width: 700px) {
    .wc-block-product-template__responsive {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .wc-block-product-template__responsive > .wc-block-product {
        width: 100% !important;
        max-width: none !important;
        min-width: 0;
    }
}




.single-product .course-product-content > .wp-block-woocommerce-product-sale-badge .wc-block-components-product-sale-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content !important;
    min-width: 0;
    margin-left: 0 !important;
    margin-top: 0 !important;
}

.wc-block-product .wc-block-components-product-sale-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content !important;
    min-width: 0;
}

.wc-block-components-product-sale-badge__text {
    white-space: nowrap;
}

/* A WooCommerce dinamikusan generált belső badge-komponense nem örökli minden esetben
   a Product Sale Badge blokk FSE-stílusait, ezért a vizuális alapértékeket itt rögzítjük. */
.wc-block-components-product-sale-badge {
    display: inline-flex !important;
    align-items: center;
    width: fit-content !important;
    min-width: 0 !important;
    padding: var(--wp--preset--spacing--s, 0.5rem) var(--wp--preset--spacing--sm, 0.75rem) !important;
    border: 0 !important;
    border-radius: 0.375rem !important;
    background: #ffcc00 !important;
    box-shadow: none !important;
    color: #000 !important;
    font-size: var(--wp--preset--font-size--caption, clamp(0.75rem, max(0.75rem, calc(0.42vw + 0.38rem)), 0.875rem)) !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-transform: none !important;
    white-space: nowrap;
}

.wc-block-components-product-sale-badge *,
.wc-block-components-product-sale-badge__text {
    color: inherit !important;
    font: inherit;
    text-transform: inherit !important;
}

/* A babahordozó archívumon a badge a termékkép bal alsó sarkában ül. */
.term-lamatriarcha-babahordozok
    .wc-block-components-product-image
    .wc-block-components-product-sale-badge {
    position: absolute !important;
    inset: auto auto 1.5rem 1.25rem !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
}

@media (max-width: 780px) {
    .term-lamatriarcha-babahordozok .wc-block-product > .wp-block-group {
        padding: 0 !important;
    }

    .term-lamatriarcha-babahordozok .wc-block-product .wc-block-components-product-image {
        width: 100% !important;
        max-width: none !important;
        height: min(28.125rem, calc((100vw - 2rem) * 4 / 3));
        max-height: 28.125rem;
        margin-inline: 0 !important;
        align-self: stretch;
        aspect-ratio: auto !important;
        overflow: hidden;
    }

    .term-lamatriarcha-babahordozok .wc-block-product .wc-block-components-product-image > a {
        display: block;
        height: 100%;
    }

    .term-lamatriarcha-babahordozok .wc-block-product .wc-block-components-product-image img {
        display: block;
        width: 100% !important;
        max-width: none !important;
        height: 100% !important;
        max-height: 28.125rem;
        object-fit: cover !important;
    }
}

@media (min-width: 781px) {
    .wc-block-product .wc-block-components-product-sale-badge {
        min-width: 55% !important;
    }

    .term-lamatriarcha-babahordozok .wc-block-product .wc-block-components-product-sale-badge {
        min-width: 0 !important;
    }
}

del {
    text-decoration: none;
}

del .woocommerce-Price-amount bdi{
    position: relative;
    display: inline-block;
    font-size: 1.125rem !important;
    margin-right: 0.75rem !important;
    color:#815B4A !important;
    text-decoration: none;
   
}

/* Akciós kártya eredeti ára: mobilon 16 px, nagy képernyőn 18 px. */
.wc-block-product del .woocommerce-Price-amount bdi {
    font-size: var(--wp--preset--font-size--16-18, clamp(1rem, calc(0.1389vw + 0.9583rem), 1.125rem)) !important;
}

del .woocommerce-Price-amount bdi::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    background: currentColor;
    transform: translateY(-50%);
}

ins .woocommerce-Price-amount bdi{
   
 color:var(--wp--preset--color--deep-crimson) !important;
   
}

li:not(.pa_kurzus-tipus-csomag) .short-description{
    display: none
}

.has-video .wp-block-woocommerce-product-gallery{
    display: none
}

li:not(.on-discord) .discord-icon{
    display:none
}


.profil-cta {
    box-shadow: none;
    align-content: center;
    box-sizing: border-box;
    height: 100%;
    text-align: center;
    word-break: break-word;
    border: 2px solid;
    cursor: pointer;
    font-family: inherit;
    font-size: var(--wp--preset--font-size--h5);
    font-style: inherit;
    font-weight: 400;
    letter-spacing: inherit;
    line-height: 1.5;
    text-decoration: none;
    text-transform: inherit;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent none;
    background-color: transparent;
    border-radius: 6px;
    border-color: var(--wp--preset--color--teal);
    border-width: 2px;
    border-style: solid;
    color: var(--wp--preset--color--teal);
    padding-top: 6px;
    padding-right: 10px;
    padding-bottom: 6px;
    padding-left: 10px;
}

.profil-discord-gomb,
.profil-discord-gomb span {
    color: #633521 !important;
}

.profil-discord-gomb {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #FFFCF9;
    border-radius: 8px;
    font-size: clamp(16px, 1.2vw, 20px);
    font-weight: 400;
    padding: 10px 12px;
}

.kurzus-cimke {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFCF9;
    color: #AE5529;
    font-size: 14px;
    font-weight: 400;
    padding: 6px 14px;
    border-radius: 999px;
}

.kurzus-cimke::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.wc-block-customer-account__dropdown{
    color:#633521 !important
}

/* A Fiókom oldal saját navigációs sávja (woocommerce-MyAccount-navigation) teljesen
   elrejtve – a navigációt a saját fejléc-menü adja, ez csak duplikálná azt. A tartalom
   (woocommerce-MyAccount-content) emiatt 100% szélességet kap, hogy ne maradjon üres hely
   ott, ahol a navigáció állt. */
.woocommerce-MyAccount-navigation {
    display: none;
}

.woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
}

/* A címkezelő oldalon a két címtípus az oldal H1-e alatti szint: szemantikailag H2,
   vizuálisan a theme.json H3 tipográfiai presetjét használja. */
.woocommerce-MyAccount-content .woocommerce-Address-title h2 {
    color: var(--wp--preset--color--dark-walnut);
    font-size: var(--wp--preset--font-size--h3);
    line-height: 1.3;
}

.woocommerce-EditAccountForm p:has(#save-account-details-nonce) {
    margin-top: 1.5rem;
}

.kurzusaim-lista {
    padding: 0;
}

.kurzusaim .card-grid.kurzusaim-lista {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 700px) {
    .kurzusaim .card-grid.kurzusaim-lista {
        grid-template-columns: 1fr;
    }
}

.kurzusaim-szuro {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 2.75rem;
}

.kurzusaim-szuro label {
    flex: 1 1 15rem;
    margin: 0;
}

.kurzusaim-szuro button {
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .kurzusaim-szuro {
        align-items: stretch;
        flex-direction: column;
    }

}



/* [kozelgo_esemenyek] – a kozelgo-esemenyek.html minta alapján (banner-szerű, bal oldalt
   a cím + gomb(ok), jobb oldalt a lista, köztük egy függőleges elválasztóval). A minta
   színeivel PONTOSAN egyező theme.json preset-eket használjuk (burnt-rose, parchment,
   dark-walnut); a --banner-divider (#F7E5D8) nem egyezik pontosan egyik preset-tel sem,
   ezért szándékosan megmaradt a minta saját, konkrét értéke. */
.profil-udvozles {
    color: var(--wp--preset--color--dark-walnut, #633521) !important;
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 1.5rem;
}

.blokk-tagsag-elso .wp-block-cb-faqs .faq-label {
    border-bottom: 0;
}

.blokk-csak-kurzus > p {
    margin: 0;
    color: var(--wp--preset--color--dark-walnut, #633521);
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.875rem;
}

.blokk-csak-kurzus .profil-legutobb,
.blokk-tagsag-aktiv .profil-legutobb {
    margin-top: 2.875rem;
}

.profil-kozelgo-esemenyek {
    --esemeny-banner-osztott: #F7E5D8;
    --esemeny-banner-fluid-cim: clamp(16px, 14.56px + 0.38vw, 20px);
    background: var(--wp--preset--color--burnt-rose, #833742);
    color: var(--wp--preset--color--parchment, #FFFCF9);
    border-radius: 10px;
    padding: clamp(12px, 6px + 0.9375vw, 24px);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
}

.profil-kozelgo-esemenyek-bal {
    width: 267px;
    flex: 0 0 auto;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 3rem;
}

.profil-kozelgo-esemenyek-cim {
    align-self: stretch;
    color: inherit;
    text-transform: uppercase;
    font-size: var(--esemeny-banner-fluid-cim);
    font-weight: 300;
    line-height: 1.45;
    margin: 0;
}

@media (min-width: 641px) {
    .profil-kozelgo-esemenyek-cim {
        font-weight: 400;
    }

    .profil-kozelgo-esemenyek-bal > .profil-kozelgo-esemenyek-gomb-csoport {
        margin-top: auto;
    }

    .profil-kozelgo-esemenyek-lista {
        margin-left: 28px;
    }

}

.profil-kozelgo-esemenyek-divider {
    flex: 0 0 auto;
    width: 1px;
    align-self: stretch;
    background: var(--esemeny-banner-osztott);
}

.profil-kozelgo-esemenyek-lista {
    flex: 1 1 auto;
}

.profil-kozelgo-esemenyek-gomb-csoport {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
}

@media (max-width: 640px) {
    .profil-kozelgo-esemenyek {
        flex-direction: column;
        align-items: flex-start;
        min-height: 0;
        gap: 12px;
    }

    .profil-kozelgo-esemenyek-bal {
        display: contents;
    }

    .profil-kozelgo-esemenyek-cim {
        order: 1;
    }

    .profil-kozelgo-esemenyek-divider {
        display: none;
    }

    .profil-kozelgo-esemenyek-lista {
        order: 2;
        width: auto;
        align-self: stretch;
    }

    .profil-kozelgo-esemenyek-lista li:first-child {
        padding-top: 12px;
        border-top: 1px solid var(--esemeny-banner-osztott);
    }

    .profil-kozelgo-esemenyek-gomb-csoport {
        order: 3;
        align-self: stretch;
        align-items: stretch;
    }

    .profil-kozelgo-esemenyek-gomb {
        width: 100%;
    }
}

/* [esemenyek_listaja] – a zoom-talalkozok.html minta alapján. A theme.json palettájával
   PONTOSAN egyező színeknél a preset-változót használjuk; ahol a minta színe nem egyezik
   pontosan egyik preset-tel sem (pl. --heading-color, --page-bg), ott szándékosan a minta
   saját, konkrét értékét tartjuk meg, nem kerekítjük egy "közeli" préset-színre. */
.esemenyek-oldal {
    --esemeny-brown-text: var(--wp--preset--color--coffee-bean, #815B4A);
    --esemeny-heading-color: #5C3A2E;
    --esemeny-teal: var(--wp--preset--color--teal, #10717A);
    --esemeny-teal-bg: #10717A14;
    --esemeny-live-badge-bg: #E1F0F0;
    --esemeny-card-bg: var(--wp--preset--color--white, #FFFFFF);
    --esemeny-border-default: #2C2C2A1A;
    --esemeny-border-navy: #0F172A;
    --esemeny-date-bg-past: var(--wp--preset--color--linen, #F9F1EB);
    --esemeny-done-badge-bg: #5C3A2E;
    font-family: var(--wp--preset--font-family--body, "Merriweather Sans", sans-serif);
}

.esemenyek-szekcio {
    margin-bottom: 2rem;
}

.esemenyek-szekcio-cim {
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: var(--esemeny-brown-text);
    margin: 0 0 0.75rem;
}

.esemeny-kartya {
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    background: var(--esemeny-card-bg);
    border: 0.0625rem solid var(--esemeny-border-default);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.esemeny-kartya.is-live {
    border: 0.125rem solid var(--esemeny-teal);
}

.esemeny-kartya.is-upcoming,
.esemeny-kartya.is-past {
    border: 0.0625rem solid var(--esemeny-border-navy);
}

.esemeny-kartya.is-live .esemeny-datum-blokk {
    background: var(--esemeny-teal-bg);
}

.esemeny-kartya.is-upcoming .esemeny-datum-blokk,
.esemeny-kartya.is-past .esemeny-datum-blokk {
    background: var(--esemeny-date-bg-past);
}

.esemeny-kartya-felso {
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    flex: 1 1 auto;
    min-width: 0;
}

.esemeny-datum-blokk {
    flex: 0 0 auto;
    width: 4rem;
    align-self: stretch;
    border-radius: 0.625rem;
    background: var(--esemeny-card-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--esemeny-heading-color);
}

.esemeny-datum-blokk .honap,
.esemeny-datum-blokk .nap {
    text-align: center;
    letter-spacing: 0;
}

.esemeny-datum-blokk .honap {
    font-weight: 300;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.esemeny-datum-blokk .nap {
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.esemeny-kartya-tartalom {
    flex: 1 1 auto;
    min-width: 0;
}

.esemeny-cim-sor {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.375rem;
}

.esemeny-cim {
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.75rem;
    letter-spacing: 0;
    color: var(--esemeny-heading-color);
    margin: 0;
}

.esemeny-cimke {
    flex: 0 0 auto;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.1875rem 0.625rem;
    border-radius: 6.25rem;
}

.esemeny-cimke.elo {
    background: var(--esemeny-teal-bg);
    color: var(--esemeny-teal);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5rem;
}

.esemeny-cimke.elo::before {
    content: "";
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: var(--esemeny-teal);
    display: inline-block;
}

.esemeny-cimke.lezajlott {
    background: var(--esemeny-done-badge-bg);
    color: var(--esemeny-card-bg);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5rem;
}

.esemeny-meta-sor {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.25rem 0 0;
}

.esemeny-meta-sor svg {
    flex: 0 0 auto;
    margin-top: 0.125rem;
}

.esemeny-meta-szoveg {
    font-weight: 300;
    font-size: 0.875rem;
    line-height: 1.25rem;
    letter-spacing: 0;
    color: var(--esemeny-brown-text);
    overflow-wrap: break-word;
}

.esemeny-kartya-akciok {
    flex: 0 0 auto;
    align-self: center;
}

.esemeny-gomb {
    display: inline-block;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5rem;
    letter-spacing: 0;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}

.esemeny-gomb.elsodleges {
    background: var(--esemeny-teal);
    color: var(--esemeny-card-bg);
}

.esemeny-gomb.korvonalas {
    background: transparent;
    color: var(--esemeny-teal);
    border: 0.0625rem solid var(--esemeny-teal);
}

@media (min-width: 1920px) {
    .esemeny-datum-blokk .honap {
        font-weight: 300;
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .esemeny-datum-blokk .nap,
    .esemeny-cim {
        font-weight: 400;
        font-size: 1.25rem;
        line-height: 150%;
    }

    .esemeny-gomb {
        font-weight: 400;
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
}

@media (max-width: 640px) {
    .esemeny-kartya {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }

    .esemeny-kartya-felso {
        gap: 0.75rem;
    }

    .esemeny-cim-sor {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.375rem;
    }

    .esemeny-cim-sor .esemeny-cimke {
        order: -1;
    }

    .esemeny-kartya-akciok {
        align-self: stretch;
        margin-top: 0.25rem;
    }

    .esemeny-gomb {
        display: block;
        text-align: center;
    }

    .esemeny-cimke.elo,
    .esemeny-cimke.lezajlott {
        font-weight: 400;
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
}

.profil-kozelgo-esemenyek ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profil-kozelgo-esemenyek li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profil-kozelgo-esemenyek .esemeny-datum {
    flex: 0 0 auto;
    min-width: 2.5rem;
    padding: 8px 12px;
    background: var(--wp--preset--color--parchment, #FFFCF9);
    color: var(--wp--preset--color--dark-walnut, #633521);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.profil-kozelgo-esemenyek .esemeny-honap {
    display: block;
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    text-align: center;
}

.profil-kozelgo-esemenyek .esemeny-nap {
    display: block;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0;
    text-align: center;
}

.profil-kozelgo-esemenyek .esemeny-cim {
    flex: 1 1 auto;
    margin: 0;
    color: inherit;
    font-weight: 300;
    font-size: var(--esemeny-banner-fluid-cim);
    line-height: 1.5;
}

.profil-kozelgo-esemenyek .esemeny-csalad {
    display: block;
    font-size: var(--wp--preset--font-size--14-16, clamp(0.875rem, calc(0.1389vw + 0.8333rem), 1rem));
    opacity: 0.8;
    font-style: normal;
}

.profil-kozelgo-esemenyek-gomb {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--wp--preset--color--parchment, #FFFCF9);
    color: inherit;
    border-radius: 8px;
    padding: 12px 16px 12px 8px;
    text-decoration: none;
    font-weight: 400;
    font-style: normal;
    font-size: var(--wp--preset--font-size--16-18, clamp(1rem, calc(0.1389vw + 0.9583rem), 1.125rem));
    line-height: 1.5;
    cursor: pointer;
}

.profil-kozelgo-esemenyek-gomb span {
    min-width: 0;
    white-space: normal;
}

.profil-kozelgo-esemenyek-gomb svg {
    flex: 0 0 auto;
}

/* [list_course_subcategories parent_id="..."] – kurzus-alkategóriák kártyás rácsa */
.course-subcategories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
}

.course-subcategory-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    box-sizing: border-box;
    width: 100%;
    background: #FFFCF9;
    border-radius: 10px;
    padding: 0.75rem 1.125rem 0.75rem 0.875rem;
    color: #633521;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.course-subcategory-info {
    min-width: 0;
}

.course-subcategory-cim {
    display: block;
    font-size: 1.125rem;
    font-weight: 400;
}

.course-subcategory-szam {
    display: block;
    font-size: 1rem;
    font-weight: 300;
}

.course-subcategory-nyil {
    display: flex;
    flex-shrink: 0;
}

.course-subcategory-item:hover {
    background: #AE5529;
    color: #FFFCF9;
}

.profil-legutobb {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.profil-legutobb__cim {
    margin: 0;
    color: var(--wp--preset--color--dark-walnut, #633521);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.3;
    text-transform: uppercase;
}

.profil-legutobb__cim::after {
    display: block;
    width: 3rem;
    height: 0.0625rem;
    margin-top: 0.5rem;
    content: "";
    background: currentColor;
}

.profil-legutobb__racs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 700px) {
    .profil-udvozles {
        font-size: 1.875rem;
        margin-bottom: 1.5rem;
    }

    .blokk-csak-kurzus > p {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }

    .blokk-csak-kurzus .profil-legutobb {
        margin-top: 2.25rem;
    }

    .blokk-tagsag-aktiv .profil-legutobb {
        margin-top: 1.5rem;
    }

    .profil-legutobb__cim {
        font-size: 1.25rem;
    }

    .profil-legutobb__racs {
        grid-template-columns: 1fr;
    }
}

/* Különálló kurzusok lenyíló termékleírása */
.wc-block-product-description .wp-block-cb-faq {
    margin-bottom: 0.5rem !important;
    border: 1px solid transparent;
    border-radius: 10px;
}

.wc-block-product-description .faq-label {
    padding: 1.3rem 1rem !important;
    border-radius: 10px !important;
    background: var(--wp--preset--color--dark-linen, #EFE6E0) !important;
    font-weight: 700 !important;
}

.wc-block-product-description .faq-content {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.wc-block-product-description .wp-block-cb-faq:has(> .faq-label.active) {
    border-color: var(--wp--preset--color--dark-walnut, #633521);
}

.wc-block-product-description .wp-block-cb-faq:has(> .faq-label.active) > .faq-label {
    background: transparent !important;
}

.kurzus-promo-video {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-top: 0;
    background: var(--wp--preset--color--dark-walnut, #633521);
}

.kurzus-promo-video > .wp-block-video.presto-block-video.presto-provider-self-hosted {
    width: 100%;
    height: 100%;
    margin: 0;
}

.kurzus-promo-video presto-player {
    display: block;
    width: 100%;
    height: 100%;
}

.kurzus-promo-video__overlay {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 1.15vw, 1.375rem);
    width: 100%;
    height: 100%;
    padding: var(--wp--preset--spacing--m, 1rem);
    border: 0;
    border-radius: 0;
    background: #26140C;
    color: var(--wp--preset--color--parchment, #FFFCF9);
    font: inherit;
    font-size: clamp(1rem, 0.9375vw, 1.125rem);
    font-weight: 400;
    cursor: pointer;
    transition: background-color 400ms ease, opacity 250ms ease, visibility 250ms ease;
}

.kurzus-promo-video.is-ready .kurzus-promo-video__overlay {
    background: #26140C91;
}

.kurzus-promo-video__play {
    display: block;
    width: 58px;
    line-height: 0;
    border-radius: 50%;
    background: rgba(255, 252, 249, 0.60);
}

.kurzus-promo-video__play svg {
    display: block;
    width: 100%;
    height: auto;
}

.kurzus-promo-video.is-playing .kurzus-promo-video__overlay {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.kurzus-promo-video:not(.is-playing) .plyr__controls,
.kurzus-promo-video:not(.is-playing) .plyr__control--overlaid {
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Kurzusterméknél vagy promóvideó, vagy – videó hiányában – a kiemelt kép látszik. */
.single-product.product-type-course
    .course-product-columns
    > .wp-block-column:first-child:has(.kurzus-promo-video)
    > .kurzus-termek-kiemelt-kep {
    display: none;
}

.single-product.product-type-course .kurzus-termek-kiemelt-kep,
.single-product.product-type-course .kurzus-termek-kiemelt-kep a,
.single-product.product-type-course .kurzus-termek-kiemelt-kep img {
    display: block;
    width: 100%;
}

.single-product.product-type-course .kurzus-termek-kiemelt-kep {
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.single-product.product-type-course .kurzus-termek-kiemelt-kep img {
    height: 100%;
    object-fit: cover;
}

.single-product .kurzus-termek-info {
    display: none;
}

.single-product.product-type-course .kurzus-termek-info {
    display: flex;
    row-gap: 0.5rem;
}

.woocommerce div.product form.cart {
    margin-bottom: 0;
}

div.wc-block-add-to-cart-form.wc-block-add-to-cart-form--stepper form.cart div.wc-block-components-quantity-selector.quantity {
    align-items: center;
}

.single-product .course-instant-access {
    display: none;
}

.single-product.product-type-course .course-instant-access {
    display: block;
}

.carrier-only {
    display: none !important;
}

.single-product.product_cat-lamatriarcha-babahordozok .carrier-only {
    display: flex !important;
}

/* A közös terméksablon related blokkjai terméktípus szerint jelennek meg. */
.kurzus-related,
.single-product.product-type-course .termek-related {
    display: none !important;
}

.single-product.product-type-course .kurzus-related {
    display: block !important;
}

.carrier-shipping-info {
    gap: 0.5rem;
    margin-block: var(--wp--preset--spacing--m, 1rem);
}

.carrier-shipping-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.carrier-shipping-info p::before {
    content: "";
    display: block;
    flex: 0 0 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.carrier-return-info::before {
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='16' viewBox='0 0 14 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 3C4.44772 3 4 3.44771 4 4C4 4.55228 4.44772 5 5 5L10.5858 5L9.29289 6.29289C8.90237 6.68342 8.90237 7.31658 9.29289 7.70711C9.68342 8.09763 10.3166 8.09763 10.7071 7.70711L13.7071 4.70711C13.8946 4.51957 14 4.26522 14 4C14 3.73478 13.8946 3.48043 13.7071 3.29289L10.7071 0.292893C10.3166 -0.0976311 9.68342 -0.0976311 9.29289 0.292893C8.90237 0.683417 8.90237 1.31658 9.29289 1.70711L10.5858 3L5 3Z' fill='%23633521'/%3E%3Cpath d='M9 13C9.55228 13 10 12.5523 10 12C10 11.4477 9.55228 11 9 11L3.41421 11L4.70711 9.70711C5.09763 9.31658 5.09763 8.68342 4.70711 8.29289C4.31658 7.90237 3.68342 7.90237 3.29289 8.29289L0.292892 11.2929C0.105356 11.4804 0 11.7348 0 12C0 12.2652 0.105356 12.5196 0.292892 12.7071L3.29289 15.7071C3.68342 16.0976 4.31658 16.0976 4.70711 15.7071C5.09763 15.3166 5.09763 14.6834 4.70711 14.2929L3.41421 13L9 13Z' fill='%23633521'/%3E%3C/svg%3E");
}

.carrier-delivery-info::before {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='14' viewBox='0 0 16 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 12.5C6 13.3284 5.32843 14 4.5 14C3.67157 14 3 13.3284 3 12.5C3 11.6716 3.67157 11 4.5 11C5.32843 11 6 11.6716 6 12.5Z' fill='%23633521'/%3E%3Cpath d='M13 12.5C13 13.3284 12.3284 14 11.5 14C10.6716 14 10 13.3284 10 12.5C10 11.6716 10.6716 11 11.5 11C12.3284 11 13 11.6716 13 12.5Z' fill='%23633521'/%3E%3Cpath d='M1 0C0.447715 0 0 0.447715 0 1V11C0 11.5523 0.447715 12 1 12H2.05001C2.28164 10.8589 3.29052 10 4.5 10C5.70948 10 6.71836 10.8589 6.94999 12H8C8.55228 12 9 11.5523 9 11V1C9 0.447715 8.55228 0 8 0H1Z' fill='%23633521'/%3E%3Cpath d='M12 3C11.4477 3 11 3.44772 11 4V10.05C11.1616 10.0172 11.3288 10 11.5 10C12.7095 10 13.7184 10.8589 13.95 12H15C15.5523 12 16 11.5523 16 11V6C16 5.73478 15.8946 5.48043 15.7071 5.29289L13.7071 3.29289C13.5196 3.10536 13.2652 3 13 3H12Z' fill='%23633521'/%3E%3C/svg%3E");
}

.single-product.product_cat-lamatriarcha-babahordozok .woocommerce-variation-availability .stock {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: var(--wp--preset--spacing--m, 1rem) 0;
    color: var(--wp--preset--color--dark-walnut, #633521);
    font-size: var(--wp--preset--font-size--16-18, 1.125rem);
    font-weight: 400;
}

.single-product.product_cat-lamatriarcha-babahordozok .woocommerce-variation-availability .stock::before {
    content: "";
    width: 1rem;
    height: 1rem;
    flex: 0 0 1rem;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM11.7071 6.70711C12.0976 6.31658 12.0976 5.68342 11.7071 5.29289C11.3166 4.90237 10.6834 4.90237 10.2929 5.29289L7 8.58579L5.70711 7.29289C5.31658 6.90237 4.68342 6.90237 4.29289 7.29289C3.90237 7.68342 3.90237 8.31658 4.29289 8.70711L6.29289 10.7071C6.68342 11.0976 7.31658 11.0976 7.70711 10.7071L11.7071 6.70711Z' fill='%237A9069'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.single-product.product_cat-lamatriarcha-babahordozok .woocommerce-variation-availability .stock.out-of-stock::before {
    content: "×";
    width: auto;
    height: auto;
    flex-basis: auto;
    background-image: none;
    color: var(--wp--preset--color--deep-crimson, #910015);
}

@media (hover: hover) and (pointer: fine) {
    .wc-block-product:not(.product-type-course) > .wp-block-group:hover,
    .wc-block-product:not(.product-type-course) > .wp-block-group:focus-within {
        box-shadow: 0 4px 30px 0 rgba(99, 53, 33, .18);
    }
}

/* Egyedi termékoldal: a fő ár a UI Kit termékoldali méretét használja. */
.single-product:not(.product-type-course) .course-product-content > .wp-block-woocommerce-product-price,
.single-product:not(.product-type-course) .course-product-content > .wp-block-woocommerce-product-price .woocommerce-Price-amount,
.single-product:not(.product-type-course) .course-product-content > .wp-block-woocommerce-product-price .woocommerce-Price-amount bdi {
    font-size: 1.25rem !important;
    line-height: 1.5 !important;
}

.termek-kartya-szinvaltozatok {
    display: flex;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--sm, .75rem);
    margin: 0;
}

.termek-kartya-szin {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 0;
    border-radius: 50%;
    background: transparent;
    transition: box-shadow .2s ease-in-out, transform .2s ease-in-out;
}

.single_add_to_cart_button:is(:disabled, .disabled, [aria-disabled="true"]) {
    width: auto !important;
    height: auto !important;
    min-width: 5.625rem !important;
    min-height: 3.125rem !important;
    padding: 0.5rem 0.75rem !important;
    white-space: nowrap !important;
}

.termek-kartya-szin::before {
    content: "";
    width: 1.25rem;
    height: 1.25rem;
    box-sizing: border-box;
    border: 1px solid var(--wp--preset--color--dark-walnut, #633521);
    border-radius: 50%;
    background: var(--termek-szin);
}

.termek-kartya-szin:hover {
    transform: scale(1.05);
}

.termek-kartya-szin:focus-visible {
    outline: 2px solid var(--wp--preset--color--dark-walnut, #633521);
    outline-offset: 3px;
}

.single-product.product_cat-lamatriarcha-babahordozok form.variations_form .variations,
.single-product.product_cat-lamatriarcha-babahordozok form.variations_form .variations tbody {
    display: block;
    width: 100%;
}

.single-product.product_cat-lamatriarcha-babahordozok form.variations_form .variations tr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--wp--preset--spacing--xs, 0.25rem);
    margin-bottom: var(--wp--preset--spacing--m, 1rem);
}

.single-product.product_cat-lamatriarcha-babahordozok form.variations_form .variations th,
.single-product.product_cat-lamatriarcha-babahordozok form.variations_form .variations td {
    display: block;
    width: 100%;
    padding: 0;
    text-align: left;
}

.single-product.product_cat-lamatriarcha-babahordozok form.variations_form .variations label {
    color: var(--wp--preset--color--coffee-bean, #815B4A);
    font-family: var(--wp--preset--font-family--body);
    font-size: var(--wp--preset--font-size--18-20, clamp(1.125rem, 1.06rem + 0.2vw, 1.25rem));
    font-weight: 400;
    line-height: 1.5;
}

.single-product.product_cat-lamatriarcha-babahordozok .variable-items-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--xs, 0.25rem);
}

.single-product.product_cat-lamatriarcha-babahordozok .variable-items-wrapper .variable-item {
    margin: 0 !important;
    background-color: var(--wp--preset--color--white, #fff) !important;
    border: 1px solid var(--wp--preset--color--coffee-bean, #815B4A) !important;
    border-radius: 0.5rem !important;
    box-shadow: none !important;
    color: var(--wp--preset--color--coffee-bean, #815B4A);
}

.single-product.product_cat-lamatriarcha-babahordozok .variable-items-wrapper .variable-item.selected {
    border-color: #000 !important;
    box-shadow: 0 0 0 2px #000 !important;
    color: var(--wp--preset--color--dark-walnut, #633521);
}

.single-product.product_cat-lamatriarcha-babahordozok ul[data-attribute_name="attribute_pa_szin"] .variable-item {
    position: relative;
    width: 5rem !important;
    height: 5rem !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    overflow: hidden;
    background-image: var(--termek-variacio-kep) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.single-product.product_cat-lamatriarcha-babahordozok ul[data-attribute_name="attribute_pa_szin"] {
    gap: 8px;
}

.single-product.product_cat-lamatriarcha-babahordozok ul[data-attribute_name="attribute_pa_szin"] .variable-item-contents {
    display: block !important;
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.single-product.product_cat-lamatriarcha-babahordozok ul[data-attribute_name="attribute_pa_meret"] {
    gap: var(--wp--preset--spacing--sm, 0.5rem);
}

.single-product.product_cat-lamatriarcha-babahordozok ul[data-attribute_name="attribute_pa_meret"] .variable-item {
    width: auto !important;
    min-width: 4.375rem !important;
    height: 2.75rem !important;
    padding: 0.625rem 0.5rem !important;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

.single-product.product_cat-lamatriarcha-babahordozok form.variations_form .reset_variations {
    display: none !important;
}

.single-product.product_cat-lamatriarcha-babahordozok .wc-block-components-quantity-selector {
    gap: 0.5rem;
    border: 0;
    width: auto;
}

.single-product.product_cat-lamatriarcha-babahordozok .wc-block-components-quantity-selector__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50% !important;
    background: var(--wp--preset--color--dark-linen, #EFE6E0) !important;
    color: var(--wp--preset--color--dark-walnut, #633521) !important;
    font-size: 0;
    opacity: 1;
}

.single-product.product_cat-lamatriarcha-babahordozok .wc-block-components-quantity-selector__button::before {
    display: block;
    width: 14px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
}

.single-product.product_cat-lamatriarcha-babahordozok .wc-block-components-quantity-selector__button--plus::before {
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 0C7.55228 0 8 0.447715 8 1V6H13C13.5523 6 14 6.44772 14 7C14 7.55228 13.5523 8 13 8H8V13C8 13.5523 7.55228 14 7 14C6.44771 14 6 13.5523 6 13V8L1 8C0.447715 8 0 7.55228 0 7C5.96046e-08 6.44771 0.447715 6 1 6L6 6V1C6 0.447715 6.44771 0 7 0Z' fill='%23633521'/%3E%3C/svg%3E");
}

.single-product.product_cat-lamatriarcha-babahordozok .wc-block-components-quantity-selector__button--minus::before {
    height: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='2' viewBox='0 0 14 2' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 1C0 0.447715 0.447715 0 1 0H13C13.5523 0 14 0.447715 14 1C14 1.55228 13.5523 2 13 2H1C0.447715 2 0 1.55228 0 1Z' fill='%23633521'/%3E%3C/svg%3E");
}

.single-product.product_cat-lamatriarcha-babahordozok .wc-block-components-quantity-selector__input {
    width: 3.5rem;
    min-width: 3.5rem !important;
    height: 3.5rem;
    padding: 0 !important;
    border: 1px solid var(--wp--preset--color--dark-walnut, #633521) !important;
    border-radius: 0.5rem;
}

.single-product.product_cat-lamatriarcha-babahordozok .wc-block-product-description .wp-block-cb-faqs {
    gap: 0.5rem;
}

/* A Woo bélyegképsorán belül 2% a képek közötti gap; a nagy kép és a
   bélyegképsor között is pontosan ugyanezt használjuk. */
body.single-product.product_cat-lamatriarcha-babahordozok .wc-block-product-gallery {
    gap: 0 !important;
}

body.single-product.product_cat-lamatriarcha-babahordozok
    .wc-block-product-gallery-large-image
    + .wc-block-product-gallery-thumbnails {
    margin-top: 2% !important;
}

body.single-product.product_cat-lamatriarcha-babahordozok
    :is(
        .wc-block-product-gallery-large-image,
        .wc-block-product-gallery-large-image__container,
        .wc-block-product-gallery-large-image__wrapper,
        .wc-block-product-gallery-large-image__wrapper .wc-block-components-product-image,
        .wc-block-product-gallery-large-image__wrapper .wc-block-components-product-image > a
    ) {
    width: 100% !important;
    max-width: none !important;
}

body.single-product.product_cat-lamatriarcha-babahordozok
    .wc-block-woocommerce-product-gallery-large-image__image {
    display: block;
    width: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
}

.single-product.product-type-course .wp-block-woocommerce-product-gallery img,
.single-product.product-type-course .wc-block-woocommerce-product-gallery-large-image__image {
    object-fit: cover !important;
}

/* A termékgaléria fő képe. */
.single-product .wc-block-woocommerce-product-gallery-large-image__image {
    width: 100%;
    max-height: 850px;
}

/* A termékadatok görgetése közben a bal oldali galéria, illetve kurzusvideó
   asztali nézetben látható marad. */
@media (min-width: 781px) {
    .single-product
        .course-product-columns
        > .wp-block-column:first-child {
        position: sticky;
        top: var(--wp--preset--spacing--l, 1.5rem);
        align-self: flex-start;
    }

    .admin-bar.single-product
        .course-product-columns
        > .wp-block-column:first-child {
        top: calc(32px + var(--wp--preset--spacing--l, 1.5rem));
    }
}

@media (max-width: 780px) {
    .single-product:not(.product-type-course) .course-product-content > .wp-block-woocommerce-product-price,
    .single-product:not(.product-type-course) .course-product-content > .wp-block-woocommerce-product-price .woocommerce-Price-amount,
    .single-product:not(.product-type-course) .course-product-content > .wp-block-woocommerce-product-price .woocommerce-Price-amount bdi {
        font-size: 1.125rem !important;
        line-height: 1.5 !important;
    }

    .single-product.product_cat-lamatriarcha-babahordozok .wc-block-components-quantity-selector__button {
        width: 44px;
        min-width: 44px !important;
        height: 44px;
    }

    .single-product .wc-block-woocommerce-product-gallery-large-image__image {
        max-height: 500px;
    }

    /* Fizikai termék: cím és értékelés a galéria fölött. */
    .single-product:not(.product-type-course) .course-product-columns {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        margin-top: var(--wp--preset--spacing--l-plus, 1.75rem) !important;
    }

    .single-product:not(.product-type-course) .course-product-columns > .wp-block-column {
        display: contents;
    }

    .single-product:not(.product-type-course) .course-product-content > * {
        order: 4;
        margin-block-start: 0 !important;
    }

    .single-product:not(.product-type-course) .course-product-content > .wp-block-post-title {
        order: 1;
        margin-top: 0 !important;
        margin-bottom: var(--wp--preset--spacing--l, 1.5rem) !important;
    }

    .single-product:not(.product-type-course) .course-product-content > :is(
        .wp-block-woocommerce-product-rating,
        .wc-block-components-product-rating,
        .woocommerce-product-rating
    ) {
        order: 2;
        margin-top: 0;
        margin-bottom: var(--wp--preset--spacing--l, 1.5rem);
    }

    .single-product:not(.product-type-course) .course-product-columns > .wp-block-column:first-child > .wp-block-woocommerce-product-gallery {
        order: 3;
        width: 100%;
        margin-bottom: var(--wp--preset--spacing--l-plus, 1.75rem);
    }

    .single-product.product_cat-lamatriarcha-babahordozok .course-product-columns > .wp-block-column:first-child > .wp-block-woocommerce-product-gallery,
    .single-product.product_cat-lamatriarcha-babahordozok .course-product-content > .wp-block-woocommerce-product-sale-badge {
        grid-row: 3;
        grid-column: 1;
    }

    .single-product.product_cat-lamatriarcha-babahordozok .course-product-content > .wp-block-woocommerce-product-sale-badge {
        z-index: 4;
        align-self: start;
        justify-self: start;
        margin: 1rem !important;
    }

    .single-product.product_cat-lamatriarcha-babahordozok .course-product-content > .wp-block-woocommerce-product-sale-badge .wc-block-components-product-sale-badge {
        width: auto !important;
        min-width: 0;
        margin: 0 !important;
    }

    .single-product.product_cat-lamatriarcha-babahordozok .course-product-content > .wp-block-woocommerce-product-summary {
        grid-row: 4;
        grid-column: 1;
    }

    .single-product.product_cat-lamatriarcha-babahordozok .course-product-content > .wp-block-woocommerce-product-price {
        grid-row: 5;
        grid-column: 1;
    }

    .single-product.product_cat-lamatriarcha-babahordozok .course-product-content > .wp-block-woocommerce-add-to-cart-form {
        grid-row: 6;
        grid-column: 1;
    }

    .single-product.product_cat-lamatriarcha-babahordozok .course-product-content > .carrier-shipping-info {
        grid-row: 7;
        grid-column: 1;
    }

    .single-product.product_cat-lamatriarcha-babahordozok .course-product-content > .wp-block-woocommerce-product-description {
        grid-row: 8;
        grid-column: 1;
    }

    .single-product.product_cat-lamatriarcha-babahordozok form.variations_form .variations tr {
        gap: var(--wp--preset--spacing--xs, 0.25rem);
        margin-bottom: var(--wp--preset--spacing--l-plus, 1.75rem);
    }

    .single-product.product_cat-lamatriarcha-babahordozok form.variations_form .variations tr:last-child {
        margin-bottom: 0;
    }

    .single-product.product_cat-lamatriarcha-babahordozok .woocommerce-variation-availability {
        margin-top: var(--wp--preset--spacing--l-plus, 1.75rem);
        margin-bottom: var(--wp--preset--spacing--l-plus, 1.75rem);
    }

    .single-product.product_cat-lamatriarcha-babahordozok .carrier-shipping-info {
        margin-top: var(--wp--preset--spacing--l-plus, 1.75rem) !important;
        margin-bottom: var(--wp--preset--spacing--l-plus, 1.75rem) !important;
        gap: var(--wp--preset--spacing--s, 0.5rem);
    }

    .single-product .course-product-content > .wp-block-woocommerce-product-sale-badge .product-sale-badge-label {
        display: none;
    }

    .single-product.product-type-course .course-product-box {
        padding: 0;
    }

    .single-product.product-type-course .course-product-columns {
        margin-top: 0 !important;
        position: relative;
        overflow: visible;
        background: var(--wp--preset--color--white, #fff);
    }

    .single-product.product-type-course .course-product-columns > .wp-block-column:first-child {
        flex-basis: 100% !important;
        width: 100vw !important;
        max-width: 100vw !important;
        margin-right: calc(50% - 50vw) !important;
        margin-left: calc(50% - 50vw) !important;
    }

    .single-product.product-type-course .kurzus-termek-kiemelt-kep,
    .single-product.product-type-course .wp-block-woocommerce-product-gallery,
    .single-product.product-type-course .wc-block-product-gallery-large-image__inner-blocks,
    .single-product.product-type-course .kurzus-promo-video {
        flex-basis: 100% !important;
        width: 100%;
        max-width: none;
        aspect-ratio: 16 / 9;
        margin: 0;
        overflow: hidden;
    }

    .single-product.product-type-course .kurzus-termek-kiemelt-kep,
    .single-product.product-type-course .wp-block-woocommerce-product-gallery,
    .single-product.product-type-course .wc-block-product-gallery-large-image__inner-blocks {
        height: min(56.25vw, 15.3125rem);
        max-height: 15.3125rem;
    }

    .single-product.product-type-course .kurzus-promo-video {
        height: auto;
        max-height: none;
    }

    .single-product.product-type-course .kurzus-promo-video > figure,
    .single-product.product-type-course .kurzus-promo-video presto-player {
        width: 100% !important;
        max-width: none !important;
    }

    .single-product.product-type-course .wp-block-woocommerce-product-gallery-thumbnails,
    .single-product.product-type-course .wc-block-product-gallery-thumbnails {
        display: none;
    }

    .single-product.product-type-course .kurzus-termek-kiemelt-kep img,
    .single-product.product-type-course .wp-block-woocommerce-product-gallery img,
    .single-product.product-type-course .wc-block-woocommerce-product-gallery-large-image__image {
        width: 100%;
        height: 100%;
        object-fit: cover !important;
        aspect-ratio: auto !important;
        transform: none !important;
    }

    .single-product.product-type-course .kurzus-promo-video :is(
        figure,
        presto-player,
        .plyr,
        .plyr__video-wrapper,
        video
    ) {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .single-product.product-type-course .course-product-content > .wp-block-woocommerce-product-sale-badge .wc-block-components-product-sale-badge {
        position: absolute;
        z-index: 4;
        top: var(--wp--preset--spacing--m, 1rem);
        left: var(--wp--preset--spacing--m, 1rem);
        width: auto !important;
        min-width: 0;
        margin: 0 !important;
    }

    .course-subcategories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 480px) {
    .course-subcategories-grid {
        grid-template-columns: 1fr;
    }
}

/* Termékgaléria lapozógombjai minden termékoldalon. */
.wp-block-woocommerce-product-gallery .wc-block-next-previous-buttons__button,
.wp-block-woocommerce-product-gallery .wc-block-next-previous-buttons__button:hover,
.wp-block-woocommerce-product-gallery .wc-block-next-previous-buttons__button:focus {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    padding: 0;
    border-radius: 8px;
    background: var(--Parchment, var(--wp--preset--color--parchment, #fffcf9)) !important;
}

.wp-block-woocommerce-product-gallery .wc-block-next-previous-buttons__icon {
    display: none;
}

.wp-block-woocommerce-product-gallery .wc-block-next-previous-buttons__button::before {
    display: block;
    flex: 0 0 9px;
    width: 9px;
    height: 14px;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='14' viewBox='0 0 9 14' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.410051 13.5899C-0.136683 13.0432 -0.136684 12.1568 0.41005 11.6101L5.0201 7L0.41005 2.38995C-0.136684 1.84322 -0.136684 0.956784 0.41005 0.410051C0.956784 -0.136684 1.84321 -0.136684 2.38995 0.410051L7.98995 6.01005C8.53668 6.55678 8.53668 7.44321 7.98995 7.98995L2.38995 13.5899C1.84322 14.1367 0.956785 14.1367 0.410051 13.5899Z' fill='%23633521'/%3E%3C/svg%3E");
    content: "";
}

.wp-block-woocommerce-product-gallery .wc-block-next-previous-buttons__button:first-child::before {
    transform: scaleX(-1);
}

.wp-block-woocommerce-product-gallery .wc-block-next-previous-buttons__button[aria-disabled="true"]::before {
    opacity: 0.3;
}

/* Egyedi termékoldal: az akció előtti, áthúzott fő ár minden terméktípusnál 16–18 px. */
body.single-product .course-product-content .wp-block-woocommerce-product-price del,
body.single-product .course-product-content .wp-block-woocommerce-product-price del * {
    font-size: var(--wp--preset--font-size--16-18, clamp(1rem, calc(0.1389vw + 0.9583rem), 1.125rem)) !important;
}

/* A Stripe BNPL promóciós üzenete ne foglaljon külön helyet a termékkártyákban
   (az önálló kurzusoknál és a csoportos/csomagtermékeknél sem). */
:is(.wc-block-product, ul.products > li.product) [id^="wc-stripe-bnpl-shop-msg-"] {
    display: none !important;
}

/* A blokkos kosár és pénztár natív kuponűrlapja mindig nyitva, statikus címmel jelenik meg. */
.woocommerce-cart .wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-totals-coupon.is-always-open > .wc-block-components-panel__button,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon.is-always-open > .wc-block-components-panel__button {
    cursor: default;
    margin-bottom: 0.5rem;
    pointer-events: none;
}

.woocommerce-cart .wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-totals-coupon.is-always-open > .wc-block-components-panel__button .wc-block-components-panel__button-icon,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon.is-always-open > .wc-block-components-panel__button .wc-block-components-panel__button-icon {
    display: none;
}

.woocommerce-checkout .wc-block-components-chip .wc-block-components-chip__remove {
    min-height: 16px;
}

/* Kosárba helyezés visszajelzése – a kedvencek zöld üzenetével azonos formázás. */
.woocommerce-notices-wrapper > .wc-block-components-notice-banner.is-success {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    max-width: 100%;
    min-height: 0;
    margin: 0 auto !important;
    padding: 0.5rem 0.75rem !important;
    border: 2px solid var(--wp--preset--color--success, #7A9069) !important;
    border-radius: 0.5rem;
    background: #E3EADC !important;
    box-shadow: 0 0.5rem 1.5rem rgba(56, 66, 50, 0.2);
    color: var(--wp--preset--color--dark-green, #384232) !important;
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 400 !important;
    line-height: 1.25rem;
}

.woocommerce-notices-wrapper > .wc-block-components-notice-banner.is-success > svg {
    flex: 0 0 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
    padding: 0;
    background: transparent;
    fill: currentColor;
}

.woocommerce-notices-wrapper > .wc-block-components-notice-banner.is-success .wc-block-components-notice-banner__content {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    font-weight: 400 !important;
}

.woocommerce-notices-wrapper > .wc-block-components-notice-banner.is-success .wc-block-components-notice-banner__content :is(strong, b) {
    font-weight: 400 !important;
}

.woocommerce-notices-wrapper > .wc-block-components-notice-banner.is-success .wc-forward {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin: 0 0 0 auto !important;
    min-height: 0 !important;
    padding: 0.375rem 0.625rem !important;
    border: 1px solid currentColor !important;
    border-radius: 0.5rem;
    background: rgba(255, 252, 249, 0.15) !important;
    color: inherit !important;
    font: inherit;
    font-weight: 400 !important;
    line-height: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.woocommerce-notices-wrapper > .wc-block-components-notice-banner.is-success .wc-forward:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (max-width: 781px) {
    .woocommerce-notices-wrapper > .wc-block-components-notice-banner.is-success {
        width: 100%;
    }

    .woocommerce-notices-wrapper > .wc-block-components-notice-banner.is-success .wc-block-components-notice-banner__content {
        flex-wrap: wrap;
    }
}
