/*
Theme Name: Lugosi Bernadett
Theme URI: https://olliewp.com
Description: Ollie custom child theme.
Author: dezsip
Author URI: https://olliewp.com
Template:     ollie
Version: 1.1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         blog, portfolio, entertainment, grid-layout, one-column, two-columns, three-columns, four-columns, block-patterns, block-styles, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, full-width-template, rtl-language-support, style-variations, template-editing, theme-options, translation-ready, wide-blocks
Text Domain: lugosibernadett
*/

:root {
    --bl-paper: #f5f0e8;
    --bl-paper-deep: #eee7dd;
    --bl-ink: #111522;
    --bl-indigo: #171b38;
    --bl-silver: #8f95a3;
    --bl-line: rgba(17, 21, 34, .14);

    --bl-section-space: clamp(2.5rem, 5vw, 5rem);
    --bl-column-gap: clamp(3rem, 8vw, 9rem);
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

@media (max-width: 782px) {
	html {
		scroll-padding-top: 72px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

.home .entry-content > .alignfull + .alignfull {
    margin-block-start: 0;
}

/* Sections */

.bl-section {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding-block: var(--bl-section-space);
}

.bl-section > * {
    position: relative;
    z-index: 1;
}

.bl-prose > .bl-lead {
    margin-block-end: 2.5rem;
}

.bl-section--paper {
    color: var(--bl-ink);
    background:
        linear-gradient(
            135deg,
            #f8f4ed,
            var(--bl-paper) 55%,
            var(--bl-paper-deep)
        );
}

.bl-section--dark {
    color: #fffaf2;
    background: var(--bl-indigo);
}

/* Layouts */

.bl-grid {
    display: grid;
    gap: var(--bl-column-gap);
    align-items: start;
}

.bl-grid--editorial {
    grid-template-columns:
        minmax(15rem, .8fr)
        minmax(20rem, 1.2fr);
}

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

/* Typography */

.bl-kicker {
    margin: 0 0 1.75rem;
    color: color-mix(in srgb, currentColor 58%, transparent);
    font-family: Cinzel, Georgia, serif;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.bl-lead {
    max-width: 34em;
    margin-block: 0 2.5rem;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.55rem, 2.2vw, 2.2rem);
    line-height: 1.42;
    text-wrap: balance;
}

.bl-prose {
    max-width: 43rem;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.15rem, 1.5vw, 1.35rem);
    line-height: 1.7;
}

.bl-prose > * {
    margin-block-start: 0;
    margin-block-end: 1.5rem;
}

/* CTA or status label */

.bl-action {
    display: flex;
    gap: 1.1rem;
    align-items: center;
    width: fit-content;
    margin-block-start: clamp(2.5rem, 5vw, 4.5rem);
    padding-block-start: 1rem;
    border-top: 1px solid var(--bl-line);
    font-family: Cinzel, Georgia, serif;
    font-size: .76rem;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.bl-action a {
    color: inherit;
    text-decoration: none;
}

.bl-action a span {
    display: inline-block;
    transition: transform .25s ease;
}

.bl-action a:hover span {
    transform: translateX(3px);
}


/* Gutenberg styles */
.wp-block-group.is-style-paper-section {
    position: relative;
    overflow: clip;
    padding-block: var(--bl-section-space);
    color: var(--bl-ink);
    background: var(--bl-paper);
}

.wp-block-heading.is-style-display-title {
    color: inherit;
    font-family: Cinzel, Georgia, serif;
    font-size: clamp(2rem, 3vw, 4rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: .06em;
    margin-block: 0;
    text-transform: uppercase;
    text-wrap: balance;
}

.wp-block-paragraph.is-style-lead {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.55rem, 2.2vw, 2.2rem);
    line-height: 1.42;
}

.wp-block-paragraph.is-style-action-label {
    font-family: Cinzel, Georgia, serif;
    font-size: .76rem;
    letter-spacing: .16em;
    text-transform: uppercase;
}

/* Author section */

.bl-section--author {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding-block: clamp(6rem, 10vw, 10rem);
    color: var(--bl-ink);
    background:
        linear-gradient(
            110deg,
            #f8f4ed 0%,
            var(--bl-paper) 55%,
            var(--bl-paper-deep) 100%
        );
}

.bl-author {
    width: 100%;
    max-width: 82rem;
    min-height: clamp(42rem, 58vw, 52rem);
    margin-inline: auto;
    grid-template-columns:
        minmax(22rem, .9fr)
        minmax(30rem, 1.1fr) !important;
    align-items: center;
}

/* Gutenberg alapértelmezett 8%-os paddingjének felülírása */

.bl-author > .wp-block-media-text__content {
    align-self: center;
    padding: 2rem clamp(2rem, 5vw, 5rem) 2rem 0;
}

/* Főcím: AZ ÍRÓ */

.bl-author__title {
    position: relative;
    width: fit-content;
    margin: 0 0 2.75rem;
    color: var(--bl-ink);
    font-family: Cinzel, Georgia, serif;
    font-size: clamp(2.8rem, 4.5vw, 5rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bl-author__title::after {
    content: "—  ✦  —";
    display: block;
    margin-top: 1.25rem;
    color: var(--bl-silver);
    font-family: Georgia, serif;
    font-size: .9rem;
    letter-spacing: .3em;
}

/* Név a főcím alatt */

.bl-author__name {
    margin: 0 0 .65rem;
    color: var(--bl-indigo);
    font-family: Cinzel, Georgia, serif;
    font-size: clamp(1.15rem, 1.7vw, 1.55rem);
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bl-author__identity {
    margin: 0 0 2.25rem;
    color: var(--bl-silver);
    font-family: Cinzel, Georgia, serif;
    font-size: clamp(.65rem, .85vw, .78rem);
    letter-spacing: .15em;
    text-transform: uppercase;
}

/* Törzsszöveg */

.bl-author .bl-prose {
    max-width: 38rem;
    font-size: clamp(1.08rem, 1.25vw, 1.25rem);
    line-height: 1.62;
}

.bl-author .bl-prose > p:not(
    .bl-author__name,
    .bl-author__identity,
    .bl-author__highlight,
    .is-style-action-label
) {
    max-width: 34rem;
}

/* Kézírásos hatás helyett egyelőre elegáns dőlt Cormorant */

.bl-author__highlight {
    max-width: 30rem;
    margin: 2rem 0;
    color: var(--bl-indigo);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.7rem, 2.5vw, 2.5rem);
    font-style: italic;
    line-height: 1.15;
}

/* Portré kompozíció */

.bl-author > .wp-block-media-text__media {
    position: relative;
    isolation: isolate;
    align-self: end;
    min-height: clamp(36rem, 48vw, 48rem);
    overflow: visible;
}

/* Külön ködréteg a portré mögött */

.bl-author > .wp-block-media-text__media::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 2% -15% -3% -12%;
    background:
        url("assets/images/author-mist.png")
        center / contain no-repeat;
    opacity: .82;
    pointer-events: none;
}

/* Finom csillag a kép felett */

.bl-author > .wp-block-media-text__media::after {
    content: "✦";
    position: absolute;
    z-index: 3;
    top: 8%;
    right: 5%;
    color: rgba(27, 31, 58, .35);
    font-size: 1.2rem;
    pointer-events: none;
}

/* A transzparens portré */

.bl-author > .wp-block-media-text__media img {
    position: absolute;
    z-index: 2;
    right: -3%;
    bottom: -1px;
    width: min(115%, 46rem);
    max-width: none;
    height: auto;
    object-fit: contain;
    filter: saturate(.9) contrast(.97);

    -webkit-mask-image: none;
    mask-image: none;
}

@media (max-width: 900px) {
    .bl-author {
        grid-template-columns: 1fr !important;
        min-height: auto;
    }

    .bl-author > .wp-block-media-text__content {
        grid-column: 1;
        grid-row: 1;
        padding: 0;
    }

    .bl-author > .wp-block-media-text__media {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        min-height: clamp(28rem, 110vw, 42rem);
        margin-top: 2rem;
    }

    .bl-author > .wp-block-media-text__media img {
        right: 50%;
        width: min(115%, 42rem);
        transform: translateX(50%);
    }

    .bl-author > .wp-block-media-text__media::before {
        inset: 0 -12% -2%;
    }
}

/* Story – Az Elfeledett Csillagrend */

.bl-story {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding-block: clamp(5rem, 7vw, 7.5rem);
}

.bl-story__inner {
    position: relative;
    isolation: isolate;

    display: grid !important;
    grid-template-columns:
        minmax(0, .95fr)
        minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(3rem, 5vw, 6rem);

    width: min(calc(100% - 3rem), 1280px);
    max-width: none !important;
    margin-inline: auto !important;
    padding-right: 0;
    box-sizing: border-box;

    background-repeat: no-repeat !important;
    background-position: right center !important;
    background-size: contain !important;
}

.bl-story__inner::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background: rgba(245, 240, 232, .85);
    pointer-events: none;
}

.bl-story__inner > * {
    position: relative;
    z-index: 1;
}


/* Bal oldali cím */

.bl-story__heading {
    padding-right: clamp(1rem, 2vw, 2.5rem);
}

.bl-story__heading .bl-kicker {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 clamp(2rem, 3vw, 3rem);
}

.bl-story__heading .bl-kicker::after {
    content: "";
    width: clamp(2.5rem, 4vw, 4.5rem);
    height: 1px;
    background: var(--bl-line);
}

.bl-story__heading .is-style-display-title {
    max-width: none;
    margin: 0;

    font-size: clamp(3rem, 3.4vw, 4.15rem);
    line-height: 1.08;
    letter-spacing: .045em;

    overflow-wrap: normal;
    word-break: normal;
}

/* Jobb oldali szöveg */

.bl-story__copy {
    max-width: 34rem;
    padding-left: clamp(2.5rem, 4vw, 4rem);
    border-left: 1px solid var(--bl-line);

    font-size: clamp(1.05rem, 1.05vw, 1.2rem);
    line-height: 1.55;
}

.bl-story__copy > p {
    width: 100%;
    max-width: 31rem;
    margin-block-start: 0;
    margin-block-end: 1.4rem;
}

.bl-story__copy .bl-action {
    margin-top: clamp(2.25rem, 3vw, 3.5rem);
}


@media (max-width: 1100px) {
    .bl-story__inner {
        grid-template-columns:
            minmax(0, .9fr)
            minmax(0, 1.1fr);

        padding-right: 0;
    }

}

@media (max-width: 782px) {
    .bl-story {
        padding-block: 5rem;
    }

    .bl-story__inner {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-right: 0;
    }

    .bl-story__heading {
        padding-right: 0;
    }

    .bl-story__heading .is-style-display-title {
        font-size: clamp(2.6rem, 11vw, 3.8rem);
    }

    .bl-story__copy {
        max-width: none;
        margin-top: 0;
        padding: 2.5rem 0 0;
        border-top: 1px solid var(--bl-line);
        border-left: 0;
    }

}

/*Footer*/

.bl-footer {
    position: relative;
    min-height: clamp(36rem, 65vw, 48rem);
    margin-block-start: 0;
    color: #e8e8ee;
}

.bl-footer__logo {
    width: clamp(15rem, 25vw, 20rem);
    margin: 0 auto clamp(1rem, 2vw, 1.75rem);
}

.bl-footer__logo img {
    display: block;
    width: 100%;
    height: auto;
}

.bl-footer .wp-block-cover__inner-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.bl-footer__inner {
    max-width: 54rem;
    margin-inline: auto;
    text-align: center;
}

.bl-footer__mark {
    margin: 0;
    color: #e8e8ee;
    font-size: 2rem;
}

.bl-footer__name {
    margin-block: 1.5rem .5rem;
    color: #fff;
    font-family: Cinzel, Georgia, serif;
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 400;
    letter-spacing: .1em;
    line-height: 1.05;
}

.bl-footer__role {
    margin: 0;
    color: #e8e8ee;
    font-family: Cinzel, Georgia, serif;
    font-size: .75rem;
    letter-spacing: .35em;
}

.bl-footer__tagline {
    max-width: 38rem;
    margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);

    color: #fff;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.1rem, 1.7vw, 1.45rem);
    line-height: 1.4;
    text-align: center;
}

.bl-footer a {
    color: inherit;
    text-decoration: none;
}

.bl-footer a:hover {
    color: #fff;
}

.bl-footer__legal {
    margin-block-start: clamp(3rem, 6vw, 5rem);
    padding-block-start: 1.5rem;
    border-top: 1px solid rgba(232, 232, 238, .25);
    font-size: .75rem;
    letter-spacing: .06em;
}

@media (max-width: 700px) {
    .bl-footer {
        min-height: 38rem;
    }

    .bl-footer__legal {
        flex-direction: column;
        gap: .75rem;
    }
}

/* Responsive */

@media (max-width: 782px) {
    .bl-section {
        padding-block: clamp(4.5rem, 15vw, 7rem);
    }

    .bl-grid--editorial,
    .bl-grid--balanced {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .wp-block-heading.is-style-display-title {
        font-size: clamp(2.5rem, 11vw, 4rem);
    }
}

/* --------------------------------------------------
   A KÖNYV / ORION KÖD
-------------------------------------------------- */

.bl-section--book {
    position: relative;
    overflow: hidden;
    padding-block: clamp(5rem, 7vw, 7rem);
}

/* A CSS-ből rajzolt körmotívum eltávolítása */
.bl-section--book::after {
    content: none;
}

/* Kétoszlopos elrendezés */
.bl-book {
    display: grid;
    grid-template-columns:
        minmax(17rem, 22rem)
        minmax(22rem, 32rem) !important;
    justify-content: center;
    align-items: center;
    gap: clamp(4rem, 7vw, 7rem);

    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    overflow: visible;
}

/* Ezt a korábbi téglalap alakú ködöt kapcsoljuk ki */
.bl-book > .wp-block-media-text__media::before,
.bl-book > .wp-block-media-text__media::after {
    content: none;
}

/* Álló könyvkép */
.bl-book > .wp-block-media-text__media {
    position: relative;
    justify-self: center;
    width: min(100%, 22rem);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    box-shadow: 0 1.2rem 3rem rgba(17, 21, 34, .10);
}

.bl-book > .wp-block-media-text__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

/* Szöveges oldal */
.bl-book > .wp-block-media-text__content {
    align-self: center;
    max-width: 32rem;
    padding: 0 !important;
}

.bl-book .bl-kicker {
    margin: 0 0 1.4rem;
}

.bl-book .is-style-display-title {
    margin: 0 0 2.2rem;
    font-size: clamp(3rem, 4vw, 4.25rem);
    line-height: 1.05;
    letter-spacing: .07em;
}

.bl-book .is-style-lead {
    max-width: 29rem;
    margin: 0;
    font-size: clamp(1.4rem, 1.75vw, 1.7rem);
    line-height: 1.42;
    text-wrap: pretty;
}

/* HAMAROSAN */
.bl-book .is-style-action-label {
    position: relative;
    width: min(100%, 23rem);
    margin: 3rem 0 0;
    padding-top: 1.4rem;
    text-align: center;
}

.bl-book .is-style-action-label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(17, 21, 34, .18);
}

.bl-book .is-style-action-label::after {
    content: "✦";
    position: absolute;
    top: 0;
    left: 50%;
    padding-inline: .8rem;
    color: var(--bl-ink);
    background: var(--bl-paper);
    line-height: 1;
    transform: translate(-50%, -50%);
}

@media (max-width: 700px) {
    .bl-book {
        grid-template-columns: 1fr !important;
        gap: 3.5rem;
    }

    .bl-book > .wp-block-media-text__media {
        grid-column: 1;
        grid-row: 1;
        width: min(76vw, 21rem);
    }

    .bl-book > .wp-block-media-text__content {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
    }

    .bl-book .is-style-display-title {
        font-size: clamp(2.6rem, 11vw, 3.7rem);
    }
}

.bl-footer__inner > .wp-block-image {
    display: flex;
    justify-content: center;
}


/* --------------------------------------------------
   A VILÁG
-------------------------------------------------- */

.bl-world {
    position: relative;
    overflow: hidden;
    padding-block: clamp(5rem, 8vw, 8rem);
    background: var(--bl-paper, #f4f0e8);
}

.bl-world__layout {
    position: relative;
    z-index: 1;
    display: grid !important;
    grid-template-columns:
        minmax(16rem, .65fr)
        minmax(38rem, 1.55fr);
    align-items: center !important;
    gap: clamp(3rem, 6vw, 7rem);
    width: min(calc(100% - 3rem), 1280px);
    max-width: none !important;
    margin-inline: auto !important;
}

.bl-world__copy {
    position: relative;
    z-index: 2;
}

.bl-world__copy h2 {
    margin: 0 0 1.8rem;
    font-size: clamp(3rem, 4.7vw, 5rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: .08em;
}

.bl-world__copy p {
    max-width: 25rem;
    margin: 0;
    font-size: clamp(1.15rem, 1.5vw, 1.4rem);
    line-height: 1.45;
}

/* A teljes csillagtérkép */
.bl-world__map {
    position: relative;
    isolation: isolate;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(9rem, 1fr));
    align-items: center !important;
    gap: clamp(1.5rem, 3vw, 3rem);
    min-height: 27rem;
    width: 100%;
}

/* Összekötő pályák és csillagok */
.bl-world__map::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: -5rem -8rem -5rem -8rem;
    background:
        url("/wp-content/themes/lugosibernadett/assets/images/world-orbits.svg")
        center / 100% 100% no-repeat;
    pointer-events: none;
}

/* Finom köd a diagram mögött */
.bl-world__map::after {
    content: "";
    position: absolute;
    z-index: -3;
    inset: -20% -15%;
    background:
        radial-gradient(
            ellipse at center,
            rgba(112, 122, 149, .08),
            transparent 65%
        );
    pointer-events: none;
}

/* A három szerkeszthető elem */
.bl-world__node {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: clamp(10.5rem, 14vw, 13.5rem);
    aspect-ratio: 1;
    margin-inline: auto;
    border: 1px solid rgba(69, 78, 96, .27);
    border-radius: 50%;
    background: rgba(244, 240, 232, .58);
    text-align: center;
}

/* Második koncentrikus kör */
.bl-world__node::before {
    content: "";
    position: absolute;
    inset: .75rem;
    border: 1px solid rgba(69, 78, 96, .18);
    border-radius: inherit;
}

/* Apró pályapont */
.bl-world__node::after {
    content: "";
    position: absolute;
    top: 18%;
    right: 2%;
    width: .36rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #626c7e;
    box-shadow:
        -1.1rem 8.6rem 0 -.06rem #626c7e,
        -8.7rem 5.8rem 0 -.08rem #626c7e;
}

/* A látványterv szabálytalan ritmusa */
.bl-world__node:nth-child(1) {
    transform: translateY(2.4rem);
}

.bl-world__node:nth-child(2) {
    transform: translateY(-.8rem) scale(1.04);
}

.bl-world__node:nth-child(3) {
    transform: translateY(1.7rem);
}

.bl-world__node p {
    position: relative;
    z-index: 1;
    margin: .65rem 0 0;
    font-family: Cinzel, Georgia, serif;
    font-size: clamp(.75rem, 1vw, .95rem);
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* A körökben lévő ikonok */
.bl-world__node .bl-world__icon {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #172039;
    font-size: clamp(1.5rem, 2vw, 2.15rem);
    line-height: 1;
}

@media (max-width: 900px) {
    .bl-world__layout {
        grid-template-columns: 1fr;
    }

    .bl-world__map {
        min-height: 22rem;
    }
}

@media (max-width: 650px) {
    .bl-world {
        padding-block: 4.5rem;
    }

    .bl-world__map {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
        padding-block: 2rem;
    }

    .bl-world__map::before {
        inset: -2rem -8rem;
        background-size: auto 100%;
        opacity: .55;
        transform: rotate(90deg);
    }

    .bl-world__node:nth-child(n) {
        transform: none;
    }
}

/* --------------------------------------------------
   CSILLAGPOSTA
-------------------------------------------------- */

.bl-newsletter {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0;
    padding-block: clamp(5rem, 8vw, 8rem);
    color: var(--bl-ink);
}

/* Akvarellátmenet */
.bl-newsletter::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -25% 25% -35% -15%;
    opacity: .48;
    pointer-events: none;
}

/* Hold és csillag a jobb oldalon */
.bl-newsletter::after {
    content: "☾  ✦";
    position: absolute;
    z-index: 0;
    top: clamp(2rem, 5vw, 4rem);
    right: clamp(2rem, 6vw, 7rem);
    color: rgba(242, 239, 232, .82);
    font-family: Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.7rem);
    letter-spacing: .75rem;
    text-shadow: 0 0 1.4rem rgba(255, 255, 255, .55);
    pointer-events: none;
}

.bl-newsletter__inner {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 3rem), 1280px);
    max-width: none !important;
    margin-inline: auto !important;
}

.bl-newsletter__layout {
    display: grid !important;
    grid-template-columns:
        minmax(20rem, .85fr)
        minmax(30rem, 1.15fr);
    align-items: end !important;
    gap: clamp(4rem, 8vw, 9rem);
}

/* Bal oldali szöveg */
.bl-newsletter__copy {
    max-width: 34rem;
}

.bl-newsletter__copy h2 {
    margin: 0;
    font-family: Cinzel, Georgia, serif;
    font-size: clamp(2.8rem, 4.2vw, 4.4rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.bl-newsletter__copy p {
    max-width: 28rem;
    margin: 1.6rem 0 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.25rem, 1.7vw, 1.55rem);
    line-height: 1.45;
}

/* Cím alatti csillagos díszvonal */
.bl-newsletter__divider {
    position: relative;
    width: min(100%, 22rem);
    height: 1.5rem;
    margin-top: 1.25rem;
}

.bl-newsletter__divider::before,
.bl-newsletter__divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% - 1.4rem);
    height: 1px;
    background: rgba(17, 21, 34, .24);
}

.bl-newsletter__divider::before {
    left: 0;
}

.bl-newsletter__divider::after {
    right: 0;
}

.bl-newsletter__divider {
    background:
        radial-gradient(
            circle at center,
            var(--bl-indigo) 0 .18rem,
            transparent .2rem
        );
}

.bl-newsletter__divider .bl-newsletter__star {
    position: absolute;
    top: 50%;
    left: 50%;
    color: var(--bl-indigo);
    font-size: 1rem;
    line-height: 1;
    transform: translate(-50%, -50%);
}

/* Jobb oldali űrlap */
.bl-newsletter__form {
    width: 100%;
    padding-bottom: .5rem;
    color: #f7f3ec;
}

.bl-newsletter__form form {
    display: grid;
    grid-template-columns: minmax(12rem, 1fr) auto;
    gap: .75rem;
    align-items: center;
    width: 100%;
}

.bl-newsletter__form input[type="email"] {
    width: 100%;
    min-height: 3.5rem;
    padding: .85rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 999px;
    outline: none;
    color: var(--bl-ink);
    background: rgba(250, 247, 240, .94);
    font: inherit;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.bl-newsletter__form input[type="email"]::placeholder {
    color: rgba(17, 21, 34, .58);
}

.bl-newsletter__form input[type="email"]:focus {
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .18);
}

.bl-newsletter__form button,
.bl-newsletter__form input[type="submit"],
.bl-newsletter__form .wp-block-button__link {
    min-height: 3.5rem;
    padding: .85rem 1.6rem;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 999px;
    color: #fff;
    background: rgba(12, 18, 43, .76);
    font-family: Cinzel, Georgia, serif;
    font-size: .72rem;
    letter-spacing: .12em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition:
        color .2s ease,
        background-color .2s ease,
        transform .2s ease;
}

.bl-newsletter__form button:hover,
.bl-newsletter__form input[type="submit"]:hover,
.bl-newsletter__form .wp-block-button__link:hover {
    color: var(--bl-indigo);
    background: #fff;
    transform: translateY(-1px);
}

/* Adatkezelési hozzájárulás */
.bl-newsletter__form .bl-newsletter__consent {
    grid-column: 1 / -1;
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    margin: .4rem 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: .72rem;
    line-height: 1.45;
}

.bl-newsletter__consent input {
    flex: 0 0 auto;
    margin-top: .2rem;
}

.bl-newsletter__consent a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: .18em;
}

/* Tablet */
@media (max-width: 900px) {
    .bl-newsletter {
        background:
            linear-gradient(
                180deg,
                rgba(245, 240, 232, 1) 0%,
                rgba(245, 240, 232, .96) 42%,
                rgba(23, 27, 56, .85) 72%,
                rgba(8, 14, 34, .98) 100%
            ),
            url("assets/images/cosmos-background.webp")
            center bottom / auto 65% no-repeat,
            var(--bl-paper);
    }

    .bl-newsletter__layout {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .bl-newsletter__copy {
        max-width: 38rem;
    }

    .bl-newsletter__form {
        max-width: 44rem;
        margin-inline: auto;
    }
}

/* Mobil */
@media (max-width: 600px) {
    .bl-newsletter {
        padding-block: 4.5rem;
    }

    .bl-newsletter::after {
        top: auto;
        right: 1.5rem;
        bottom: 2rem;
        opacity: .6;
    }

    .bl-newsletter__copy h2 {
        font-size: clamp(2.4rem, 11vw, 3.5rem);
    }

    .bl-newsletter__form form {
        grid-template-columns: 1fr;
    }

    .bl-newsletter__form button,
    .bl-newsletter__form input[type="submit"],
    .bl-newsletter__form .wp-block-button__link {
        width: 100%;
    }

    .bl-newsletter__form .bl-newsletter__consent {
        grid-column: 1;
    }
}

@media (max-width: 782px) {
	.bl-footer {
		margin-block-start: -7rem !important;

		-webkit-mask-image:
			linear-gradient(
				to bottom,
				transparent 0,
				#000 7rem
			);

		mask-image:
			linear-gradient(
				to bottom,
				transparent 0,
				#000 7rem
			);
	}
}

@media (max-width: 782px) {
	body.home header.wp-block-template-part
	.wp-block-navigation__responsive-container.is-menu-open {
		color: #090b19 !important;
		background-color: #f5f0e8 !important;
	}

	body.home header.wp-block-template-part
	.wp-block-navigation__responsive-container.is-menu-open
	.wp-block-navigation-item__content {
		color: #090b19 !important;
	}

	body.home header.wp-block-template-part
	.wp-block-navigation__responsive-container.is-menu-open
	.wp-block-navigation__responsive-container-close {
		color: #090b19 !important;
	}
}

.header-mark {
	width: 3.25rem;
	margin: 0;
}

.header-mark img {
	display: block;
	width: 100%;
	height: auto;
}

.header-mark--dark {
	display: none;
}

/* Fehér fejléc görgetés után */
header.wp-block-template-part.is-scrolled .header-mark--light {
	display: none;
}

header.wp-block-template-part.is-scrolled .header-mark--dark {
	display: block;
}

@media (max-width: 782px) {
	.header-mark {
		width: 2.75rem;
	}
}

.editor-styles-wrapper .editor-post-title__input{
	font-size: clamp(30px, 5vw, 60px) !important;
	line-height: 1.05 !important;
}

/* Default: inner pages use the dark header */
.site-header .logo-light {
	display: none;
}

.site-header .logo-dark {
	display: block;
}

/* Homepage before scrolling */
body.home .site-header:not(.is-scrolled) .logo-light {
	display: block;
}

body.home .site-header:not(.is-scrolled) .logo-dark {
	display: none;
}

/* Inner-page header appearance */
body:not(.home) .site-header {
	background-color: #f5f0e8;
	color: #171827;
}

body:not(.home) .site-header .wp-block-navigation-item__content {
	color: #171827;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
}

/* Bejelentkezett állapotban az admin sáv miatt */
body.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

/* ==================================================
   WOOCOMMERCE
================================================== */

/* --------------------------------------------------
   Egyedi termékoldal
-------------------------------------------------- */

.wc-block-product-gallery-large-image .book-gallery {
	box-sizing: border-box;
	width: min(100%, 470px) !important;
	max-width: 470px !important;
	height: auto !important;
	margin-inline: auto !important;
	padding: 28px 40px 55px !important;
	overflow: visible;
}

.wc-block-product-gallery-large-image .book-gallery img {
	display: block;
	width: 100% !important;
	height: auto !important;
	object-fit: contain !important;
	filter:
		drop-shadow(0 24px 21px rgba(19, 26, 46, .18))
		drop-shadow(0 6px 7px rgba(19, 26, 46, .12));
}


/* --------------------------------------------------
   Pénztár
-------------------------------------------------- */

body.woocommerce-checkout {
	background: var(--bl-paper);
}

.woocommerce-checkout .wc-block-checkout {
	max-width: 1400px;
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 4rem);
}

.woocommerce-checkout .wc-block-checkout__sidebar {
	align-self: start;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border: 1px solid rgba(23, 24, 39, .1);
	background: rgba(255, 255, 255, .45);
}

.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout
	.wc-block-components-combobox
	.components-combobox-control__input {
	min-height: 3.25rem;
	border-color: rgba(23, 24, 39, .18) !important;
	background: rgba(255, 255, 255, .7) !important;
}

.woocommerce-checkout .wc-block-checkout__main
	.wc-block-components-checkout-step {
	margin-block-end: clamp(2rem, 4vw, 3rem) !important;
}

.woocommerce-checkout
	.wc-block-components-checkout-place-order-button {
	min-height: 3.5rem;
	color: #fff !important;
	background: #080b19 !important;
	letter-spacing: .12em;
	text-transform: uppercase;
}

@media (min-width: 783px) {
	.woocommerce-checkout .wc-block-checkout__sidebar {
		position: sticky;
		top: 7rem;
	}
}


/* --------------------------------------------------
   Üzlet – fejléc
-------------------------------------------------- */

.shop-catalog-hero {
	padding-block: clamp(3rem, 5vw, 4.75rem) !important;
	border-bottom: 1px solid var(--bl-line);
	color: var(--bl-ink);
	background: var(--bl-paper);
}

.shop-catalog-kicker {
	margin: 0;
	color: var(--bl-silver);
	font-family: Cinzel, Georgia, serif;
	font-size: .7rem !important;
	font-weight: 500;
	line-height: 1;
	letter-spacing: .28em;
	text-transform: uppercase;
}

.shop-catalog-title {
	margin: 1rem 0 0;
	color: var(--bl-ink);
	font-family: Cinzel, Georgia, serif;
	font-size: clamp(2.75rem, 4.5vw, 4.5rem) !important;
	font-weight: 400;
	line-height: 1 !important;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-wrap: balance;
}

.shop-catalog-intro {
	max-width: 36rem;
	margin: 1.4rem auto 0;
	color: rgba(17, 21, 34, .75);
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(1.15rem, 1.6vw, 1.4rem);
	line-height: 1.5;
	text-wrap: balance;
}

.shop-catalog-divider {
	width: 3.5rem;
	margin: 1.75rem auto 0;
	border-color: rgba(23, 24, 39, .24);
}


/* --------------------------------------------------
   Üzlet – termékrács
-------------------------------------------------- */

.shop-catalog-products {
	padding-block: clamp(4rem, 7vw, 7rem) !important;
	background: #fbfaf7;
}

/*
 * Két könyvnél középre rendez.
 * További könyvek és merch esetén automatikusan bővül.
 */
.shop-product-collection .wc-block-product-template {
	display: grid !important;
	grid-template-columns:
		repeat(
			auto-fit,
			minmax(min(100%, 270px), 330px)
		) !important;
	justify-content: center;
	align-items: start;
	gap: clamp(4rem, 6vw, 6rem);
	width: 100%;
	max-width: 1080px;
	margin-inline: auto;
	padding: 0;
}

.shop-product-collection .wc-block-product {
	width: 100%;
	max-width: 330px;
	margin-inline: auto;
	text-align: center;
}


/* --------------------------------------------------
   Üzlet – termékkép
-------------------------------------------------- */

.shop-product-collection .wc-block-components-product-image,
.shop-product-collection .wp-block-woocommerce-product-image {
	width: 100%;
	height: auto !important;
	aspect-ratio: auto !important;
	margin: 0 !important;
	overflow: visible !important;
	background: transparent !important;
}

.shop-product-collection .wc-block-components-product-image > a,
.shop-product-collection .wp-block-woocommerce-product-image > a {
	display: block;
	width: 100%;
	height: auto !important;
	aspect-ratio: auto !important;
}

.shop-product-collection .wc-block-components-product-image img,
.shop-product-collection .wp-block-woocommerce-product-image img {
	display: block;
	width: min(100%, 310px) !important;
	max-width: 310px !important;
	height: auto !important;
	margin-inline: auto;
	border-radius: 0 !important;
	object-fit: contain !important;
	filter:
		drop-shadow(0 22px 20px rgba(19, 26, 46, .16))
		drop-shadow(0 5px 7px rgba(19, 26, 46, .09));
	transition:
		transform .3s ease,
		filter .3s ease;
}

.shop-product-collection .wc-block-product:hover
	.wc-block-components-product-image img,
.shop-product-collection .wc-block-product:hover
	.wp-block-woocommerce-product-image img {
	transform: translateY(-5px);
	filter:
		drop-shadow(0 28px 24px rgba(19, 26, 46, .19))
		drop-shadow(0 7px 9px rgba(19, 26, 46, .1));
}


/* --------------------------------------------------
   Üzlet – termékinformáció
-------------------------------------------------- */

.shop-product-collection .wp-block-post-title,
.shop-product-collection .wc-block-components-product-name {
	max-width: 20rem;
	margin: 2rem auto 0 !important;
	color: var(--bl-ink);
	font-family: Cinzel, Georgia, serif;
	font-size: clamp(1.15rem, 1.6vw, 1.45rem) !important;
	font-weight: 400;
	line-height: 1.25 !important;
	letter-spacing: .025em;
	text-align: center;
	text-wrap: balance;
}

.shop-product-collection .wp-block-post-title a,
.shop-product-collection .wc-block-components-product-name a {
	color: inherit;
	text-decoration: none;
}

.shop-product-collection .wp-block-woocommerce-product-price,
.shop-product-collection .wc-block-components-product-price {
	margin: .9rem auto 0 !important;
	color: var(--bl-ink);
	font-size: 1.05rem !important;
	text-align: center;
}


/* --------------------------------------------------
   Üzlet – kosárgomb
-------------------------------------------------- */

.shop-product-collection .wp-block-button,
.shop-product-collection .wp-block-woocommerce-product-button {
	margin: 1.4rem auto 0 !important;
	text-align: center;
}

.shop-product-collection .wp-block-button__link,
.shop-product-collection
	.wp-block-woocommerce-product-button
	.wp-element-button,
.shop-product-collection .add_to_cart_button {
	min-width: 220px;
	padding: .95rem 1.4rem;
	border: 1px solid var(--bl-ink);
	border-radius: 0 !important;
	color: #fff;
	background: var(--bl-ink);
	font-family: Cinzel, Georgia, serif;
	font-size: .7rem;
	letter-spacing: .13em;
    margin-top:0;
	text-transform: uppercase;
	transition:
		color .2s ease,
		background-color .2s ease;
}

.shop-product-collection .wp-block-button__link:hover,
.shop-product-collection
	.wp-block-woocommerce-product-button
	.wp-element-button:hover,
.shop-product-collection .add_to_cart_button:hover {
	color: var(--bl-ink);
	background: transparent;
}


/* --------------------------------------------------
   Üzlet – kiegészítők
-------------------------------------------------- */

/* Két könyvnél még nincs szükség rendezésre. */
.shop-results-bar {
	display: none !important;
}

.shop-pagination {
	margin-top: clamp(3rem, 6vw, 5rem);
	color: var(--bl-ink);
}

.shop-no-results {
	max-width: 640px;
	margin-inline: auto;
	padding: clamp(3rem, 6vw, 5rem);
	color: var(--bl-ink);
	background: var(--bl-paper);
}


/* --------------------------------------------------
   Üzlet – mobil
-------------------------------------------------- */

@media (max-width: 620px) {
	.shop-catalog-hero {
		padding-block: 3.25rem !important;
	}

	.shop-catalog-title {
		font-size: clamp(2.5rem, 12vw, 3.5rem) !important;
	}

	.shop-catalog-products {
		padding-block: 4rem 5rem !important;
	}

	.shop-product-collection .wc-block-product-template {
		grid-template-columns: minmax(0, 300px) !important;
		row-gap: 4.5rem;
	}

	.shop-product-collection .wc-block-components-product-image img,
	.shop-product-collection .wp-block-woocommerce-product-image img {
		width: min(100%, 285px) !important;
		max-width: 285px !important;
	}

	.shop-product-collection .wp-block-button__link,
	.shop-product-collection
		.wp-block-woocommerce-product-button
		.wp-element-button,
	.shop-product-collection .add_to_cart_button {
		width: 100%;
		min-width: 0;
	}
}


/* --------------------------------------------------
   Csökkentett mozgás
-------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.shop-product-collection .wc-block-components-product-image img,
	.shop-product-collection .wp-block-woocommerce-product-image img {
		transition: none;
	}

	.shop-product-collection .wc-block-product:hover
		.wc-block-components-product-image img,
	.shop-product-collection .wc-block-product:hover
		.wp-block-woocommerce-product-image img {
		transform: none;
	}
}

/* ========================================
   TERMÉKKÁRTYA – KOSÁR GOMB
   ======================================== */

.shop-product-collection .ollie-product-button-hover-image {
	position: relative;
	overflow: visible;
}

/* A szürke, lekerekített külső burkolat megszüntetése */
.shop-product-collection .ollie-product-button-hover-group {
	position: absolute;
	z-index: 3;
	right: 1rem;
	bottom: 1rem;
	left: 1rem;

	width: auto;
	margin: 0 !important;
	padding: 0 !important;

	background: transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;

	opacity: 0;
	transform: translateY(10px);
	transition:
		opacity .3s ease,
		transform .3s ease;
}

/* Megjelenés hoverre és billentyűzetes fókusznál */
.shop-product-collection .ollie-product-button-hover-image:hover
	.ollie-product-button-hover-group,
.shop-product-collection .ollie-product-button-hover-image:focus-within
	.ollie-product-button-hover-group {
	opacity: 1;
	transform: translateY(0);
}

/* Maga a WooCommerce gomb */
.shop-product-collection .wp-block-woocommerce-product-button {
	width: 100%;
	margin: 0 !important;
	text-align: center;
}

.shop-product-collection .wp-block-woocommerce-product-button .wp-block-button__link {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	min-height: 3.25rem;
	padding: .9rem 1.25rem !important;

	color: #fff !important;
	background: rgba(17, 21, 34, .94) !important;
	border: 1px solid rgba(255, 255, 255, .5) !important;
	border-radius: 0 !important;
	box-shadow: 0 8px 22px rgba(17, 21, 34, .24);

	font-size: .72rem !important;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: .14em;
	text-align: center;
	text-transform: uppercase;

	cursor: pointer;
	transition:
		background-color .25s ease,
		color .25s ease,
		border-color .25s ease,
		transform .25s ease;
}

.shop-product-collection .wp-block-woocommerce-product-button .wp-block-button__link:hover,
.shop-product-collection .wp-block-woocommerce-product-button .wp-block-button__link:focus-visible {
	color: #111522 !important;
	background: rgba(245, 240, 232, .97) !important;
	border-color: #f5f0e8 !important;
	transform: translateY(-2px);
}

/* Mobilon nincs valódi hover, ezért a gomb mindig látható */
@media (hover: none), (max-width: 782px) {
	.shop-product-collection .ollie-product-button-hover-group {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.shop-product-collection .ollie-product-button-hover-group,
	.shop-product-collection .wp-block-woocommerce-product-button .wp-block-button__link {
		transition: none;
		transform: none;
	}
}

/* Kosárgomb – szürke blur háttér teljes eltávolítása */
.shop-product-collection .ollie-product-button-hover-group {
	left: 50% !important;
	right: auto !important;

	width: min(calc(100% - 2rem), 220px) !important;
	margin: 0 !important;
	padding: 0 !important;

	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;

	transform: translate(-50%, 10px);
}

/* Az Ollie blur-stílus pszeudoeleme is eltűnik */
.shop-product-collection
.ollie-product-button-hover-group::before,
.shop-product-collection
.ollie-product-button-hover-group::after {
	display: none !important;
	content: none !important;
}

/* Hover állapot */
.shop-product-collection
.ollie-product-button-hover-image:hover
.ollie-product-button-hover-group,
.shop-product-collection
.ollie-product-button-hover-image:focus-within
.ollie-product-button-hover-group {
	transform: translate(-50%, 0);
}

/* Mobilon mindig látható */
@media (hover: none), (max-width: 782px) {
	.shop-product-collection .ollie-product-button-hover-group {
		transform: translate(-50%, 0);
	}
}
/* ========================================
   RENDELÉS VISSZAIGAZOLÁSA
   ======================================== */

/*
 * A woocommerce-order-received a body osztálya.
 * Ide ne kerüljön padding, mert az egész oldalt eltolja.
 */
body.woocommerce-order-received {
	color: var(--bl-ink, #111522);
	background: var(--bl-paper, #f5f0e8);
}

/* Felső, kétoszlopos visszaigazoló rész */
body.woocommerce-order-received
.wp-block-columns:has(.wp-block-woocommerce-order-confirmation-status) {
	align-items: center;
	gap: clamp(2rem, 6vw, 7rem);
	padding-top: clamp(3rem, 6vw, 6rem);
	padding-bottom: clamp(2rem, 4vw, 4rem);
}

/* Fő visszajelzés */
body.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-status {
	width: 100%;
	max-width: 52rem;
	margin: 0;
	text-align: left;
}

/* Köszönjük cím */
body.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-status > h1 {
	width: 100%;
	margin: 0 0 .75rem;
	font-size: clamp(1.5rem, 2vw, 2.5rem);
	font-weight: 400;
	line-height: 1.5 !important;
	text-wrap: wrap;
	text-transform: uppercase;
}

/* A cím alatti visszajelzés */
body.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-status > p {
	margin: 0;
	color: rgba(17, 21, 34, .72);
	font-size: .95rem;
	line-height: 1.6;
}

/* A gombot tartalmazó jobb oldali oszlop */
body.woocommerce-order-received
.wp-block-column:has(.wp-block-button) {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Vissza a termékekhez gomb */
body.woocommerce-order-received .wp-block-button {
	margin: 0;
	text-align: center;
}

body.woocommerce-order-received .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.25rem;
	padding: .9rem 2rem;

	color: #fff;
	background: var(--bl-ink, #111522);
	border: 1px solid var(--bl-ink, #111522);
	border-radius: 0;

	font-size: .75rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: .14em;
	text-transform: uppercase;

	transition:
		color .25s ease,
		background-color .25s ease,
		transform .25s ease;
}

body.woocommerce-order-received .wp-block-button__link:hover,
body.woocommerce-order-received .wp-block-button__link:focus-visible {
	color: var(--bl-ink, #111522);
	background: transparent;
	transform: translateY(-2px);
}

/* Rendelési alapadatok */
body.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-summary {
	margin-block: 0 clamp(3rem, 5vw, 5rem);
	padding: clamp(1.5rem, 3vw, 2.5rem);

	background: rgba(255, 255, 255, .45);
	border: 1px solid rgba(17, 21, 34, .14);
}

/* Részletek, számlázási és szállítási szekció */
body.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-totals-wrapper,
body.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-billing-wrapper,
body.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-shipping-wrapper {
	margin-top: clamp(3rem, 5vw, 5rem);
}

/* Szekciócímek */
body.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-totals-wrapper > h2,
body.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-billing-wrapper > h2,
body.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-shipping-wrapper > h2 {
	margin: 0 0 1.25rem;

	font-size: clamp(1.65rem, 2.5vw, 2.25rem);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -.01em;
	text-transform: uppercase;
}

/* Táblázat és címkártyák */
body.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-totals,
body.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-billing-address,
body.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-shipping-address {
	padding: clamp(1.25rem, 3vw, 2rem);

	background: rgba(255, 255, 255, .42);
	border: 1px solid rgba(17, 21, 34, .14);
	border-radius: 0;
}

/* Táblázat */
body.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-totals table {
	margin: 0;
	border-collapse: collapse;
}

body.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-totals th,
body.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-totals td {
	padding-block: 1.25rem;
}

/* Alsó térköz a footer előtt */
body.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-billing-wrapper:last-of-type,
body.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-shipping-wrapper:last-of-type {
	margin-bottom: clamp(3rem, 6vw, 6rem);
}

/* Mobil */
@media (max-width: 782px) {
	body.woocommerce-order-received
	.wp-block-columns:has(.wp-block-woocommerce-order-confirmation-status) {
		gap: 2rem;
		padding: 2.5rem 1.25rem;
	}

	body.woocommerce-order-received
	.wp-block-woocommerce-order-confirmation-status {
		text-align: center;
	}

	body.woocommerce-order-received
	.wp-block-woocommerce-order-confirmation-status > h1 {
		max-width: 15ch;
		margin-inline: auto;
		font-size: clamp(2.15rem, 10vw, 3.2rem);
		line-height: .98 !important;
		text-wrap: balance;
	}

	body.woocommerce-order-received
	.wp-block-woocommerce-order-confirmation-summary,
	body.woocommerce-order-received
	.wp-block-woocommerce-order-confirmation-totals-wrapper,
	body.woocommerce-order-received
	.wp-block-woocommerce-order-confirmation-billing-wrapper,
	body.woocommerce-order-received
	.wp-block-woocommerce-order-confirmation-shipping-wrapper {
		margin-inline: 1.25rem;
	}

	body.woocommerce-order-received
	.wp-block-woocommerce-order-confirmation-summary {
		padding: 1.25rem;
	}

	body.woocommerce-order-received table {
		font-size: .88rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.woocommerce-order-received .wp-block-button__link {
		transition: none;
	}
}

/* ========================================
   MOBIL LEBEGŐ VÁSÁRLÁSI CTA
   ======================================== */

/* Asztali gépen a fejléc CTA elegendő */
.book-purchase-bar {
	display: none;
}

@media (max-width: 782px) and (min-height: 500px) {
	.book-purchase-bar {
		position: fixed !important;
		z-index: 999;
		right: .75rem;
		bottom: calc(.75rem + env(safe-area-inset-bottom));
		left: .75rem;

		display: block;
		width: min(calc(100% - 1.5rem), 23rem);
		margin: 0 auto !important;
		padding: .35rem !important;

		background: rgba(245, 240, 232, .94) !important;
		border: 1px solid rgba(17, 21, 34, .16);
		border-radius: 0 !important;
		box-shadow: 0 10px 30px rgba(17, 21, 34, .22);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);

		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translate3d(0, calc(100% + 2rem), 0);

		transition:
			opacity .3s ease,
			transform .45s cubic-bezier(.22, 1, .36, 1),
			visibility 0s linear .45s;
	}

	.book-purchase-bar.is-visible {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translate3d(0, 0, 0);
		transition-delay: 0s;
	}

	/* Gutenberg Buttons blokk térközeinek megszüntetése */
	.book-purchase-bar > .wp-block-buttons {
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	/* A Gutenberg 25%-os gombszélességének felülírása */
	.book-purchase-bar .wp-block-button,
	.book-purchase-bar .wp-block-button__width-25 {
		--wp--block-button--width: 100;

		display: block !important;
		width: 100% !important;
		max-width: none !important;
		flex-basis: 100% !important;
		margin: 0 !important;
	}

	.book-purchase-bar .wp-block-button__link {
		display: flex;
		align-items: center;
		justify-content: center;

		width: 100% !important;
		min-height: 3.25rem;
		padding: .9rem 1.25rem !important;

		color: #fff;
		background: var(--bl-ink, #111522);
		border: 1px solid var(--bl-ink, #111522);
		border-radius: 0;

		font-size: .7rem;
		font-weight: 500;
		line-height: 1.2;
		letter-spacing: .14em;
		text-align: center;
		text-decoration: none;
		text-transform: uppercase;
		white-space: nowrap;
	}

	.book-purchase-bar .wp-block-button__link:hover,
	.book-purchase-bar .wp-block-button__link:focus-visible {
		color: var(--bl-ink, #111522);
		background: var(--bl-paper, #f5f0e8);
	}
}

/* WooCommerce-oldalakon mobilon sem jelenik meg */
body:is(
	.woocommerce-shop,
	.post-type-archive-product,
	.tax-product_cat,
	.tax-product_tag,
	.single-product,
	.woocommerce-cart,
	.woocommerce-checkout,
	.woocommerce-order-received,
	.woocommerce-account
) .book-purchase-bar {
	display: none !important;
}

body:is(
	.woocommerce-shop,
	.post-type-archive-product,
	.tax-product_cat,
	.tax-product_tag,
	.single-product,
	.woocommerce-cart,
	.woocommerce-checkout,
	.woocommerce-order-received,
	.woocommerce-account
) .header-buy-button{
	display: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.book-purchase-bar {
		transition: none;
	}

	.book-purchase-bar.is-visible {
		transform: none;
	}
}