/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

@media (max-width: 768px) {
    .site-content {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* Philosopher - Címsorokhoz */
@font-face {
  font-family: 'Philosopher';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Philosopher-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Philosopher';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Philosopher-Bold.woff2') format('woff2');
}

/* PT Sans - Törzsszöveghez */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/PTSans-Regular.woff2') format('woff2');
}

/* PT Sans - Törzsszöveg (Dőlt) */
@font-face {
  font-family: 'PT Sans';
  font-style: italic; /* Itt jelezzük a böngészőnek, hogy ez a dőlt verzió */
  font-weight: 400;
  font-display: swap;
  src: url('fonts/PTSans-Italic.woff2') format('woff2');
}

/* PT Sans - Félkövér (700) */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/PTSans-Bold.woff2') format('woff2');
}

/* --- 1. ÁLTALÁNOS ÉS DESKTOP BEÁLLÍTÁSOK --- */


.site-logo {
    position: relative;
    z-index: 999 !important;
}

.site-header {
    position: relative;
    z-index: 1000 !important;
}

/* Menüpontok közötti távolság */
.main-navigation .main-nav ul li a {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.main-navigation .main-nav ul li:last-child a {
    padding-right: 0;
}

/* Logó pozíciója */
.navigation-branding img, 
.site-logo img {
    vertical-align: middle;
    margin-top: 5px; 
}



/* --- 2. EGYEDI OVERLAY MENÜ (Alaphelyzetben rejtve) --- */
.mobile-overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(100%);
}

.mobile-overlay-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.mobile-menu-wrapper { width: 100%; }

.mobile-menu-items {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mobile-menu-items li a {
    font-size: 16px;
    display: block;
    padding: 12px 0;
    color: #211e25;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #f2f2f2;
}

/* Bezáró gomb (X) */
.menu-close, .menu-close:hover, .menu-close:focus, .menu-close:active {
    position: absolute;
    top: 0px;
    right: 25px;
    font-size: 45px;
    background-color: #ffffff !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    color: #211e25 !important;
    font-weight: 200;
    padding: 10px;
    transition: none !important;
}

/* --- 3. RESPONSIVE SZABÁLYOK (TABLET ÉS MOBIL 1024px-ig) --- */

@media (max-width: 1024px) {
    /* 1. TELJESEN elrejtjük a gyári Elsődleges menüt, ami duplázódik */
    nav#site-navigation {
        display: none !important;
        visibility: hidden !important;
    }

    /* 2. MEGJELENÍTJÜK a Mobile kapcsolót (ami a tiéd) */
    nav#mobile-menu-control-wrapper {
        display: flex !important;
        justify-content: flex-end; /* Jobbra tolja a hamburgert a logó mellől */
        align-items: center;
        padding: 0px 0px;
    }

    /* 3. A gomb és ikonok kényszerítése */
    #mobile-menu-control-wrapper .menu-toggle {
        display: block !important;
    }

    /* 4. Minden felesleges szöveg (Menü, screen-reader) elrejtése a gombból */
    .menu-toggle .mobile-menu,
    .menu-toggle .screen-reader-text,
    .menu-toggle .screen-reader-text + .gp-icon { /* Ha maradna szellem szöveg */
        display: none !important;
    }

    /* 5. Az egyedi overlay menüd méretezése tabletre */
    .mobile-overlay-menu {
        padding: 120px 60px;
    }

    .mobile-menu-items li a {
        font-size: 20px;
        padding: 15px 0;
    }
}

@media (max-width: 768px) {
    .inside-header {
        padding-right: 5px!important;
        padding-left: 30px; */
    }
}

.gp-icon svg {
    top: .0!important;
}

/* --- 4. ASZTALI JAVÍTÁS (1025px felett) --- */

@media (min-width: 1025px) {
    /* 1. Desktopon a gyári navigáció kell */
    nav#site-navigation {
        display: block !important;
        visibility: visible !important;
    }

    /* 2. Desktopon a mobil kapcsolówrapper TILOS */
    nav#mobile-menu-control-wrapper {
        display: none !important;
    }

    /* 3. Visszaállítjuk a vízszintes elrendezést a főmenünek */
    .main-navigation .main-nav ul {
        display: flex !important;
        flex-direction: row !important;
    }

    /* 4. Hamburger és overlay tiltása desktopon */
    .menu-toggle, 
    .mobile-overlay-menu {

        display: none !important;
        padding-right: 0px!important;
        padding-left: 0px!important;
    }
}

/* --- HÁTTÉRSZÍN ELTÁVOLÍTÁSA A HAMBURGER GOMBRÓL --- */

.mobile-menu-control-wrapper .menu-toggle, 
.mobile-menu-control-wrapper .menu-toggle:hover, 
.mobile-menu-control-wrapper .menu-toggle:focus, 
.mobile-menu-control-wrapper .menu-toggle:active,
#site-navigation.toggled .menu-toggle {
    background-color: transparent !important; /* Teljesen átlátszó */
    box-shadow: none !important; /* Bármilyen árnyék tiltása */
    font-size: 18px!important;
    color: #211e25;
}

/* Ha a gomb belső ikonja körül is lenne egy kör: */
.gp-icon.icon-menu-bars {
    background: transparent !important;
}

/* --- 5. EXTRA TISZTÍTÁS --- */
/* Görgetés tiltása aktív menünél */
body.mobile-menu-active {
    overflow: hidden !important;
    touch-action: none;
}

/* 1. Fő tároló: A háttérkép helye */
.dynamic-hero-wrapper {
    position: relative;
    background-size: cover;
    background-position: center center;
    min-height: 500px; /* Biztosítjuk a magasságot */
    overflow: hidden;
    z-index: 1;
    margin: 0 !important;
    line-height: 1.5;
}

.site-content {
    padding-top: 0px!important;
}

/* Amikor NINCS egyedi háttérkép (Gyűjtőoldal és sima oldalak) */
.dynamic-hero-wrapper.generic-wrapper {
    min-height: 250px; /* Itt állítsd be a neked tetsző kisebb magasságot */
    
}

/* Opcionális: Vegyük lejjebb a paddingot is a belső tárolónál a gyűjtőoldalon */
.generic-wrapper .hero-content-area {
    align-items: flex-start; /* Közép helyett balra igazítás */
    text-align: left;        /* A szöveg is balra zárt legyen */
    margin-left: auto;       /* Megtartja a középre igazítást a konténernek, de... */
    margin-right: auto;      
    padding-bottom: 40px;    /* A 140px itt túl sok, vegyük lejjebb */
    padding-top: 0px;
}


/* 2. Fejléc átlátszósága */
.site-header, 
.main-navigation {
    background-color: transparent !important;
}

/* 3. Tartalmi rész (Szöveg, Kép, Szegélyek) */
.hero-content-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10; /* A hullámok felett kell legyen */
    max-width: 1170px;
    margin: 0px auto 0 auto;
    padding: 0 20px 140px 20px; /* Alul nagy padding a hullámoknak */
}

/* Belső flex elrendezés (Cím és Szimbólum egymás mellett) */
.hero-inner-flex {
    display: flex;
    width: 100%;
    max-width: 900px; /* Hogy közelebb legyenek egymáshoz */
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

/* Szegélyek (Border top/bottom) */
.hero-border-top, 
.hero-border-bottom {
    width: 100%;
    text-align: center;
}

.hero-border-top img, 
.hero-border-bottom img {
    width: 100%;
    height: auto;
    display: block;
}

/* SZÖVEG FORMÁZÁSA */
.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-family: 'Philosopher', sans-serif;
    font-size: clamp(32px, 5vw, 56px);
    margin: 0;
    line-height: 1.1;
}

.generic-hero-text h1 {
    font-family: 'Philosopher', sans-serif;
    font-size: 40px;
    margin: 0;
    line-height: 1.1;
}

.horoszkop-datum {
    display: block;
    font-size: 18px;
    color: #211e25;
    font-weight: 700;
    margin-top: 5px;
    font-family: 'PT Sans', sans-serif;
}

.horoszkop-datum {
    display: block;
    font-size: 18px;
    color: #211e25;
    font-weight: normal;
    margin-top: 5px;
    font-family: 'PT Sans', sans-serif;
}

/* SZIMBÓLUM KÉP */
.hero-image img {
    max-width: 280px;
    height: auto;
}

/* --- HULLÁMOK (CLIP-PATH MEGOLDÁS) --- */

/* Közös alap a két rétegnek */
.wave-layer-back, 
.wave-layer-front {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
}

/* Hátsó, halványabb hullám (Pimpelt réteg) */
.wave-layer-back {
    height: 150px;
    opacity: 0.3; /* Halványítás */
    z-index: 2;
    /* Hullámosra vágás */
    clip-path: polygon(0 25%, 15% 15%, 35% 35%, 50% 15%, 70% 40%, 85% 20%, 100% 30%, 100% 100%, 0% 100%);
}

/* Első, tiszta fehér hullám */
.wave-layer-front {
    height: 110px;
    z-index: 3;
    /* Eltérő vágás, hogy kilátszódjon az alsó */
    clip-path: polygon(0 35%, 25% 10%, 45% 45%, 70% 20%, 90% 40%, 100% 25%, 100% 100%, 0% 100%);
}

/* --- MOBIL NÉZET --- */
@media (max-width: 768px) {
    .hero-inner-flex {
        flex-direction: column;
        text-align: left;
        gap: 20px;
    }
    
    .hero-image {
        order: -1; /* Szimbólum felülre */
    }

    .hero-image img {
        max-width: 200px;
    }

    .hero-content-area {
        margin-top: 20px;
    }
}


/* Csak mobil kijelzőn (768px alatt) és csak az éves horoszkóp oldalakon */
@media (max-width: 768px) {
    .hero-inner-flex.annual-horoscope-center {
        text-align: center;
        justify-content: center; /* Flexbox esetén középre húzza a tartalmat */
        flex-direction: column;  /* Biztosítjuk, hogy az elemek egymás alá kerüljenek */
    }

    .hero-inner-flex.annual-horoscope-center .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    /* Ha van kép (szimbólum) is a hero-ban, azt is érdemes középre tenni mobilon */
    .hero-inner-flex.annual-horoscope-center .custom-hero-symbol {
        margin-left: auto;
        margin-right: auto;
        margin-top: 15px;
    }

}


.zodiac-arrow-divider {
    width: 75px;          /* Kicsit szélesebb, hogy jobban mutasson a nagy gombóccal */
    margin-bottom: 5px;
    margin-top: 0px;    /* Egy hajszálnyival több hely alul-felül */
    color: #000000;
    display: block;
}

.zodiac-arrow-divider svg {
    display: block;
    width: 100%;
    height: auto;
}

/* --- footer --- */
.custom-footer {
    position: relative;
    background-color: #fff5f7; /* Ez a halvány pink alap */
    padding: 0px 0 40px 0;
    overflow: hidden;
    text-align: center;
}

/* A DIVI-szerű háttér maszkolás szimulálása */
.footer-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background-image: radial-gradient(circle at 90% 10%, rgba(255,255,255,0.8) 0%, transparent 40%);
}

.footer-container {
    position: relative;
    z-index: 2;
}

.footer-planets img {
    max-width: 600px;
    height: auto;
    margin-bottom: 30px;
}

.footer-title {
    font-family: 'Philosopher', sans-serif;
    font-size: 32px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    
    .footer-planets img {
        
        max-width: 90% !important; 
        width: auto; 
        height: auto; 
        
        
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* 2. Padding hozzáadása a konténerhez a szép kétoldali helyért */
    .footer-planets {
        padding-left: 20px !important; 
        padding-right: 20px !important; 
        
        margin-bottom: 20px !important; 
    }
}


/* Social Ikonok stílusa (GeneratePress-ben nincsenek beépítve, így CSS-sel rajzolunk köröket) */
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    color: white;
    text-decoration: none;
}

.social-icon:hover {
    transform: scale(1.1);
}


/* Mobil nézet: a rács oszlopai töltsék ki a teljes szélességet */
@media (max-width: 768px) {
    .wp-block-columns, 
    .wp-block-group.is-layout-grid {
        display: block !important; /* Megszünteti a rácsot és egymás alá teszi az elemeket */
    }

    .wp-block-column, 
    .wp-block-group.is-layout-grid > * {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 20px; /* Távolság az egymás alá került kártyák között */
    }
}

/* Mobil nézet finomhangolása */
@media (max-width: 768px) {
    /* Engedjük a linkeket több sorba, és középre rendezzük őket */
    .gb-element-5990f599 p {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px; /* Pálcikák helyett tiszta távolság */
        line-height: 2 !important; /* Hogy a sorok ne érjenek össze */
    }

    /* Mobilon rejtsük el a pálcikákat, mert csak bezavarnak a tördelésbe */
    .gb-element-5990f599 p a:after {
        display: none !important;
    }
    
    /* A linkek legyenek picit nagyobbak mobilon, hogy könnyebb legyen rányomni */
    .gb-element-5990f599 p a {
        background: #f0f0f0; /* Opcionális: kis szürke gomb hatás */
        padding: 5px 15px !important;
        border-radius: 5px;
        font-size: 14px;
    }
}


/* Eltüntetjük a margót a linkeket tartalmazó bekezdésről */
.gb-element-5990f599 p {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    line-height: 1; /* Hogy a szöveg belső magassága ne tolja el */
}

/* Biztosítjuk a szülő konténer magasságát és igazítását */
.gb-element-5990f599 {
    display: flex !important;
    align-items: center !important; /* Vertikális középre */
    justify-content: center !important; /* Horizontális középre */
    min-height: 50px; /* Állíts be egy fix magasságot, hogy legyen mihez képest középre állni */
}

/* Az anchor linkek tárolójának osztálya a képed alapján */
.gb-element-5990f599 p a {
    text-decoration: none;
    padding: 0 10px; /* Távolság a pálcika és a szöveg között */
    display: inline-block;
    color: #0073aa; /* Állítsd be a kívánt kék színt */
    font-family: 'PT Sans', sans-serif;
}

/* Pálcika beszúrása a linkek után */
.gb-element-5990f599 p a:not(:last-child)::after {
    content: "|";
    margin-left: 20px; /* Távolság a pálcika előtt */
    color: #ccc;      /* A pálcika színe legyen halványabb szürke */
    pointer-events: none; /* Ne legyen kattintható a pálcika */
}

/* Hover effekt a linkekre */
.gb-element-5990f599 p a:hover {
    text-decoration: underline;
}

/* Eltüntetjük a margót 2. linkeket tartalmazó bekezdésről */
.gb-element-a60b9ad6 p {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    line-height: 1; /* Hogy a szöveg belső magassága ne tolja el */
}

/* Biztosítjuk a szülő konténer magasságát és igazítását */
.gb-element-a60b9ad6 {
    display: flex !important;
    align-items: center !important; /* Vertikális középre */
    justify-content: center !important; /* Horizontális középre */
    min-height: 50px; /* Állíts be egy fix magasságot, hogy legyen mihez képest középre állni */
}

/* Az anchor linkek tárolójának osztálya a képed alapján */
.gb-element-a60b9ad6 p a {
    text-decoration: none;
    padding: 0 10px; /* Távolság a pálcika és a szöveg között */
    display: inline-block;
    color: #0073aa; /* Állítsd be a kívánt kék színt */
    font-family: 'PT Sans', sans-serif;
}

/* Pálcika beszúrása a linkek után */
.gb-element-a60b9ad6 p a:not(:last-child)::after {
    content: "|";
    margin-left: 20px; /* Távolság a pálcika előtt */
    color: #ccc;      /* A pálcika színe legyen halványabb szürke */
    pointer-events: none; /* Ne legyen kattintható a pálcika */
}

/* Hover effekt a linkekre */
.gb-element-a60b9ad6 p a:hover {
    text-decoration: underline;
}


/* Mobil nézet finomhangolása */
@media (max-width: 768px) {
    /* Engedjük a linkeket több sorba, és középre rendezzük őket */
    .gb-element-a60b9ad6 p {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px; /* Pálcikák helyett tiszta távolság */
        line-height: 2 !important; /* Hogy a sorok ne érjenek össze */
    }

    /* Mobilon rejtsük el a pálcikákat, mert csak bezavarnak a tördelésbe */
    .gb-element-a60b9ad6 p a:after {
        display: none !important;
    }
    
    /* A linkek legyenek picit nagyobbak mobilon, hogy könnyebb legyen rányomni */
    .gb-element-a60b9ad6 p a {
        background: #f0f0f0; /* Opcionális: kis szürke gomb hatás */
        padding: 5px 15px !important;
        border-radius: 5px;
        font-size: 14px;
    }
}



/* A horoszkóp blokk stílusai */
.horoscope-block h2 {
    font-family: 'Philosopher', sans-serif !important;
    font-size: 26px !important;
    line-height: 1.2 !important;
    color: #211e25 !important;
    margin-bottom: 15px; /* egy kis távolság a cím alatt */
}

.horoscope-block p, 
.horoscope-block ul li {
    font-family: 'PT Sans', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
    color: #211e25 !important;
}

/* Felsorolás igazítása */
.horoscope-block ul {
    list-style-type: none !important; /* disc (pötty) eltávolítása */
    padding-left: 0 !important;      /* behúzás megszüntetése */
    margin-left: 0 !important;
}

.horoscope-block ul li {
    margin-bottom: 8px; /* pontok közötti kis távolság */
}




/* Oszlopok elrendezése */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
    gap: 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 40px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-family: 'Philosopher', sans-serif;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 5px;
}

.footer-col a {
    text-decoration: none;
    color: #1e50c2;
    font-size: 16px;
}

.footer-bottom {
    margin-top: 60px;
    font-size: 14px;
    color: #211e25;
    width: 80%;
    
    /* Középre igazítás */
    text-align: center;      /* A szöveget középre teszi a blokkon belül */
    margin-left: auto;       /* A blokkot magát középre tolja a konténerben */
    margin-right: auto;      /* A blokkot magát középre tolja a konténerben */
}

@media (max-width: 768px) {
    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }
}


/* Yoast Breadcrumb teljes igazítása balra */
.yoast-breadcrumbs {
    padding-left: 0 !important;
    margin-left: 0 !important;
    display: block; /* Biztosítja, hogy a konténer kitöltse a helyet */
}

/* Az első elem (Kezdőlap) belső margójának nullázása */
.yoast-breadcrumbs span:first-child {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* A morzsamenü szövege és linkjei */
.yoast-breadcrumbs, 
.yoast-breadcrumbs a, 
.yoast-breadcrumbs span {
    font-family: 'PT Sans', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
}

/* Színek beállítása */
.yoast-breadcrumbs a {
    color: #0073aa !important;
}

.yoast-breadcrumbs span.breadcrumb_last,
.yoast-breadcrumbs {
    color: #211e25 !important;
}

.h-list {
    list-style-type: none; /* Eltünteti a pontokat (disc) */
    padding-left: 0;       /* Megszünteti a bal oldali behúzást */
    margin-left: 0;        /* Biztonsági okokból a margót is nullázzuk */
}

.h-list li {
    /* Opcionális: Ha a lista elemei között szeretnél egy kis távolságot */
    margin-bottom: 5px; 
}

/* Az info blokk konténerének alapbeállításai */
.af-info-block {
    padding: 20px;
    line-height: 1.8; /* Kicsit több hely a sorok között a jobb olvashatóságért */
}

/* A blokkon belüli linkek stílusa */
.af-info-block a {
    text-decoration: none !important; /* Aláhúzás eltüntetése */
    display: inline-block;
    color: #217ec0; /* Itt add meg a kívánt színt */
    transition: color 0.3s ease;
}

/* Hover effekt (ha ráviszed az egeret) */
.af-info-block a:hover {
    color: #0073aa; /* A link színe, ha rámutatsz */
}

/* A | karakter hozzáadása a linkek után */
.af-info-block a:not(:last-child):after {
    content: "|";
    margin-left: 10px;  /* Hely a link és a vonal között */
    margin-right: 10px; /* Hely a vonal és a következő link között */
    color: #ccc;        /* A választóvonal legyen kicsit halványabb */
    pointer-events: none; /* A vonal ne legyen kattintható */
}

/* A chart külső kerete */
.af-compat-chart {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin: 10px 0;
    height: 20px;
    position: relative;
    overflow: hidden;
}

/* A töltött sáv */
.af-compat-bar {
    height: 100%;
    background-color: #9b2a8c; /* A képen látható lila szín */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    transition: width 1s ease-in-out;
}

/* A párhoroszkóp konténer relatív pozícióba tétele */
/* 1. A konténer alapbeállítása */
.kattinthato-doboz {
    position: relative;
    transition: all 0.3s ease;
}

/* 2. A láthatatlan réteg kiterjesztése az EGÉSZ konténerre */
/* Itt a módosítás: a fokusz-link-en BELÜLI a:after-re célzunk */
.fokusz-link a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 100; /* Legyen elég magas, hogy minden felett legyen */
    display: block;
}

/* 3. Hover effekt a doboznak (hogy érezze a felhasználó) */
.kattinthato-doboz:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}

/* Blog és Kategória lista elrendezése - Véglegesített Grid és Cikk-cakk */
@media (min-width: 768px) {
    .blog article .inside-article, 
    .archive article .inside-article {
        display: grid;
        grid-template-columns: 45% 55%; 
        column-gap: 60px;
        align-items: start; 
        grid-template-rows: auto auto auto auto;
        margin-bottom: 120px;
    }

    /* KÉP: Az egyik oszlop teljes magasságát kitölti */
    .blog .post-image, 
    .archive .post-image {
        grid-column: 1;
        grid-row: 1 / span 10; 
        margin: 0 !important;
    }

    /* SZÖVEGEK: Cím, Kivonat és az új Meta sor */
    .blog .entry-header, .archive .entry-header,
    .blog .entry-summary, .archive .entry-summary,
    .custom-blog-meta {
        grid-column: 2;
        margin-left: 0 !important;
        margin-bottom: 15px !important;
        text-align: left;
    }

    /* Az új meta sor egyedi stílusa */
    .custom-blog-meta {
        font-size: 15px;
        font-weight: bold;
        color: #211e25;
        margin-top: 5px;
        letter-spacing: 0.5px;
    }

    .custom-blog-meta a {
        color: inherit;
        text-decoration: none;
    }

    /* --- CIKK-CAKK EFFEKTUS (Blog és Archívum) --- */
    .blog article:nth-of-type(even) .inside-article,
    .archive article:nth-of-type(even) .inside-article {
        grid-template-columns: 55% 45%;
    }

    .blog article:nth-of-type(even) .post-image,
    .archive article:nth-of-type(even) .post-image {
        grid-column: 2;
    }

    .blog article:nth-of-type(even) .entry-header,
    .archive article:nth-of-type(even) .entry-header,
    .blog article:nth-of-type(even) .entry-summary,
    .archive article:nth-of-type(even) .entry-summary,
    .blog article:nth-of-type(even) .custom-blog-meta,
    .archive article:nth-of-type(even) .custom-blog-meta {
        grid-column: 1;
    }

    /* Kép formázása */
    .blog .post-image img, .archive .post-image img {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 4;
        object-fit: cover;
        display: block;
    }
}

/* Mobil nézet optimalizálása (Blog és Archívum) */
@media (max-width: 767px) {
    .blog article .inside-article,
    .archive article .inside-article {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 60px;
    }
    .blog .post-image,
    .archive .post-image {
        margin: 0 !important;
    }
    .custom-blog-meta {
        font-size: 13px;
        order: 3;
    }
}

/* Az SVG nyíl pozícionálása */
.blog .zodiac-arrow-divider, 
.archive .zodiac-arrow-divider {
    grid-column: 2;
    width: 100px;
    margin-top: 25px;
    margin-bottom: 0px;
    color: #000000;
}

/* CIKK-CAKK fix: páros posztoknál a bal oszlopba kerüljön a nyíl is */
.blog article:nth-of-type(even) .zodiac-arrow-divider,
.archive article:nth-of-type(even) .zodiac-arrow-divider {
    grid-column: 1;
    margin-top: 25px !important;
    margin-bottom: 0px !important;
}

/* Felesleges elemek eltüntetése */
.blog .entry-title::after, .archive .entry-title::after {
    display: none !important;
}

.blog .sidebar .widget, .archive .sidebar .widget {
    display: none !important;
}

.blog .sidebar .inside-right-sidebar, .archive .sidebar .inside-right-sidebar {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ======================================================
   STELLARIUM HEADER - 1200PX + 90% TARTALOMHOZ IGAZÍTVA
   ====================================================== */

.custom-post-header {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center center;
    color: #ffffff;
    text-align: left;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    min-height: 65vh;
}

.custom-post-header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

/* A KONÉNER FINOMHANGOLÁSA */
.custom-post-header .grid-container {
    position: relative;
    z-index: 1;
    max-width: 1200px; 
    margin: 0 auto;    
    width: 100%;
    
    /* 90%-os tartalom igazítása: 
       Mivel a tartalom a 1200px 90%-a, a maradék 10% kétoldalt 5-5%.
       Ezt adjuk meg paddingként, hogy a szöveg beljebb kezdődjön. */
    padding-left: 3%; 
    padding-right: 5%;
    box-sizing: border-box;
}

/* Kategória és a Stellarium vonal */
.custom-post-header .post-category {
    display: block;
    margin-bottom: 10px;
}

.custom-post-header .post-category a {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 13px;
    color: #ffffff !important;
    text-decoration: none;
}

.custom-post-header .post-category::after {
    content: "";
    display: block;
    width: 45px;
    height: 1px;
    background: #ffffff;
    margin-top: 15px;
}

/* Cím */
.custom-post-header h1.entry-title {
    font-size: clamp(30px, 5vw, 50px);
    font-family: "Playfair Display", serif;
    line-height: 1.1;
    margin: 25px 0 15px 0;
    max-width: 1200px; /* Kicsit szűkítettük, hogy ne legyen túl széles a 90%-on belül */
    font-weight: 400;
}

/* Meta adatok */
.custom-post-header .entry-meta {
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
    opacity: 0.8;
}

/* Meta adatok */
.custom-post-header .entry-meta a {
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
    opacity: 0.8;
    text-decoration: none;
}

/* --- MOBIL NÉZET --- */
@media (max-width: 767px) {
    .custom-post-header .grid-container {
        padding-left: 20px; /* Mobilon marad a fix biztonsági margó */
        padding-right: 20px;
    }
}

/* --- DESKTOP MENÜ ALÁ CSÚSZTATÁS --- */
@media (min-width: 768px) {
    .single-post .site-header,
    .single-post .main-navigation {
        background: transparent !important;
        position: relative;
        z-index: 10;
    }

    .custom-post-header {
        margin-top: -120px; 
        padding-top: 160px; 
        z-index: 1;
    }
}

/* --- AUTHOR PAGE HERO DESIGN --- */

/* Alap elrendezés: Flexbox a kép és szöveg mellé rakásához */
.author-profile-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
    text-align: left;
    max-width: 1000px; /* Hogy ne nyúljon túl szélesre */
}

/* Profilkép formázása */
.author-hero-avatar img {
    border-radius: 50%;
    border: 8px solid rgba(255, 255, 255, 0.5); /* Világos, áttetsző keret */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    width: 200px;
    height: 200px;
    object-fit: cover;
}

/* Szövegek stílusa */
.author-hero-details {
    flex: 1;
}

.author-hero-details h1.author-name {
    font-family: "Playfair Display", serif;
    font-size: 38px;
    margin: 0 0 5px 0;
    color: #211e25;
}

.author-hero-details .author-job-title {
    display: block;
    text-transform: lowercase; /* asztrológus - kisbetűvel, ahogy kérted */
    font-size: 16px;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 20px;
}

.author-hero-details .author-bio {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

.author-hero-details .author-bio p {
    margin-bottom: 0; /* Ne legyen felesleges rés a bio alatt */
}

/* --- MOBIL NÉZET --- */
@media (max-width: 767px) {
    .author-profile-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .author-hero-avatar img {
        width: 150px;
        height: 150px;
    }

    .author-hero-details h1.author-name {
        font-size: 28px;
    }
}

/* A 404-es kereső és az eredeti cím elrejtése */
.error404 .entry-header,
.error404 .search-form {
    display: none !important;
}

/* Tartalom középre igazítása és térközök */
.error404 .site-main {
    text-align: center;
    padding: 60px 20px;
}

.custom-404-content h2 {
    margin-top: 30px;
    font-size: 1.8em;
    color: #333; /* Vagy az Astroflow színe */
}

.custom-404-content p {
    font-size: 1.1em;
    max-width: 600px;
    margin: 20px auto;
}

/* Sticky Bar alapváz */
.sticky-cta-bar {
    position: fixed;
    bottom: -250px; /* Mélyebbről indítjuk a Safari miatt */
    left: 0;
    width: 100%;
    z-index: 99999;
    transition: bottom 0.5s ease-out; /* Simább átmenet a Safarinak */
    background: transparent;

    /* Safari GPU kényszerítés és rétegkezelés */
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    will-change: bottom;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    contain: layout style;
}

.sticky-cta-bar.is-visible {
    /* Safari Fix: A dinamikus eszköztár felett tartja a sávot */
    bottom: 0 !important;
    bottom: env(safe-area-inset-bottom, 0) !important;
    
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

/* Biztosítjuk, hogy a hullám ne legyen külön réteg a Safari szemében */
.wave-container, .cta-content {
    -webkit-transform: inherit;
    transform: inherit;
}

/* Hullám konténer */
.wave-container {
    position: relative;
    width: 100%;
    height: 50px;
    line-height: 0;
    margin-bottom: -1px; /* Átfedés a rés ellen */
}

.wave-container svg {
    width: 100%;
    height: 50px;
    display: block;
}

/* Tartalom háttér - Gradiens szinkronban az SVG-vel */
.cta-content {
    background: linear-gradient(90deg, #312b3b 0%, #50243e 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 25px 25px 25px;
    position: relative;
    margin-top: -1px;
}

/* Gomb és Szöveg stílusok */
.cta-text {
    font-weight: bold;
    color: #ffffff;
    font-size: 18px;
   /* text-shadow: 1px 1px 2px rgba(0,0,0,0.5); */
    z-index: 5;
}

.breathing-button {
    background-color: #93278f;
    color: white !important;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    box-shadow: 0 0 0 0 rgba(147, 39, 143, 0.7);
    animation: breathing 2s infinite;
}

@keyframes breathing {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(147, 39, 143, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(147, 39, 143, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(147, 39, 143, 0); }
}

/* iPhone safe area és Mobil nézet optimalizálás */
@media (max-width: 768px) {
    .cta-content { 
        /* Extra padding alulra, hogy az eszköztár ne takarja ki a szöveget sem */
        padding-bottom: calc(25px + env(safe-area-inset-bottom, 0)) !important; 
    }

    .wave-container {
        height: 35px !important; /* Kicsit növeltem a 30-ról a biztosabb átfedésért */
        margin-bottom: -1px;
    }

    .wave-container svg {
        height: 35px !important;
    }

    .cta-text {
        font-size: 15px;
    }
}

.gradient-word {
  background: linear-gradient(90deg, #8c52ff, #ff2e97, #ffb236);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  
}

/* CSAK DESKTOP: Itt hozzuk be a tartalom vonalába */
@media (min-width: 1201px) {
    .cta-content {
        /* A tartalom belső elrendezését korlátozzuk */
        padding-left: calc((100% - 1200px) / 2 + 25px);
        padding-right: calc((100% - 1200px) / 2 + 25px);
    }
}

/* Opcionális: Ha a DIVI/GeneratePress 1200px-nél kisebb ablakban is tartja a margót */
@media (max-width: 1200px) and (min-width: 769px) {
    .cta-content {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* Csillagtükör landing finomhangolás */

.csillagtukor-hero-section .grid-container {
    display: flex;
    justify-content: flex-start; /* Asztalon balra tolja a logóhoz */
    margin-top:0px;
    padding-top: 0px!important;
}

.hero-text-box {
    min-width: 650px;
    max-width: 700px;
    text-align: left;
}



.cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center; /* Ez központosítja a szöveget a gombhoz képest */
    width: fit-content; /* Csak akkora, mint a gomb */
}

.postid-36915 .entry-summary .product_title,
.postid-36915 .entry-summary .price,
.postid-36915 .entry-summary .woocommerce-product-rating,
.postid-36915 .woocommerce-breadcrumb {
    display: none !important;
}

.postid-36915 .site-header, 
.postid-36915 .main-navigation {
    background: transparent !important;
    position: relative;
    z-index: 10; /* Hogy a menü maradjon felül */
}

/* A korábbi zavaró fejléc teljes eltüntetése a csillagtukor termekoldalon*/
.postid-36915 .custom-post-header {
    display: none !important;
}

/* A korábbi zavaró fejléc teljes eltüntetése a szinasztria termekoldalon*/
.postid-37030 .custom-post-header {
    display: none !important;
}

/* A korábbi zavaró fejléc teljes eltüntetése a sors terkepe termekoldalon*/
.postid-37118 .custom-post-header {
    display: none !important;
}

/* A korábbi zavaró fejléc teljes eltüntetése a rektifikacio termekoldalon*/
.postid-37135 .custom-post-header {
    display: none !important;
}

/* A korábbi zavaró fejléc teljes eltüntetése a rektifikacio termekoldalon*/
.postid-37171 .custom-post-header {
    display: none !important;
}

/* A lila top bar maradjon felül */
.top-announcement-bar {
    position: relative;
    z-index: 11;
}

/* A tartalom ne legyen túl közel a hullámhoz */
.postid-36915 #content {
    padding-top: 50px;
}

/* Gomb lüktetés, hogy vonzza a szemet */
.cta-button-main {
    animation: breathing 3s ease-in-out infinite;
}

@keyframes breathing {
    0% { transform: scale(1); box-shadow: 0 10px 20px rgba(147, 39, 143, 0.3); }
    50% { transform: scale(1.03); box-shadow: 0 15px 30px rgba(147, 39, 143, 0.5); }
    100% { transform: scale(1); box-shadow: 0 10px 20px rgba(147, 39, 143, 0.3); }
}

/* Star rating stílus a hero-ban */
.star-rating-custom .star-rating {
    float: none;
    display: inline-block;
    color: #93278f;
    font-size: 1.2rem;
}

/* 2. MOBIL PADDING (15px kétoldalt) */
@media (max-width: 768px) {
    .postid-36915 .hero-text-box,
    .postid-37171 .hero-text-box,
    .postid-37135 .hero-text-box,
    .postid-37118 .hero-text-box,
    .postid-37030 .hero-text-box {
        min-width: 0 !important;
        max-width: 100% !important;
        padding-left: 25px !important;
        padding-right: 25px !important;
    }

    
    
    .postid-36915 .csillagtukor-hero-section {
        padding-top: 140px!important; /* Mobilon picit kevesebb hely kell felül */
    }

    .postid-36915 .hero-text-box h1,
    .postid-37171 .hero-text-box h1,
    .postid-37135 .hero-text-box h1,
    .postid-37135 .hero-text-box h1,
    .postid-37118 .hero-text-box h1 {
        font-size: 40px !important; /* Ne lógjon ki a cím mobilon */
    }
}

/* 3. Stílusok a szöveghez */
.hero-text-box h1 { color: #312b3b; margin-bottom: 15px; font-weight: normal; }
.hero-desc { font-size: 1.1rem; color: #312b3b; margin-bottom: 25px; line-height: 1.4; }
.price-big { font-size: 2.2rem; font-weight: 800; color: #312b3b; }
.rating-row { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.review-text { font-size: 0.85rem; color: #93278f; font-weight: 600; }
.star-rating-custom { color: #93278f; }

/* 4. Egyéb takarítás */
.postid-36915 .custom-post-header,
.postid-36915 .woocommerce-breadcrumb,
.postid-36915 .entry-summary .product_title,
.postid-36915 .entry-summary .price {
    display: none !important;
}

/* Gomb alatti segédszöveg stílusa */
.cta-subtext {
    display: block;
    text-align: left; /* Alapértelmezett balra zárt, mint a címed */
    /* margin-left: 10px; Egy pici eltolás, hogy szépen igazodjon a gomb ívéhez */
}

@media (max-width: 768px) {
    .cta-subtext {
        text-align: center; /* Mobilon, ha a gomb is középre kerül, ez is legyen középen */
        /* margin-left: 0; */
    }
}

.woocommerce div.product div.summary {
    margin-bottom: 0em!important;
}

#csillagtukor-form h3 {
    display: none;
}

#csillagtukor-form input[type="text"],
#csillagtukor-form input[type="date"],
#csillagtukor-form input[type="time"],
#csillagtukor-form input[list],
#csillagtukor-form select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-top: 6px;
    margin-bottom: 16px;
    box-sizing: border-box;
    background: #fff;
    transition: border-color 0.3s ease;
}

#csillagtukor-form input:focus,
#csillagtukor-form select:focus {
    border-color: #5c6ac4;
    outline: none;
}

#csillagtukor-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23999' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 8px;
    padding-right: 36px; /* hogy ne takarja ki a szöveget a nyíl */
}

#csillagtukor-form {
    background: #f8f8fc;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

#csillagtukor-form label {
  display: block;
    font-family: 'IBM Plex Sans', sans-serif;
  font-weight: bold;
  margin-bottom: 6px;
}

.csillagtukor-p {
  display: block;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    line-height:1.2em;
  font-weight: normal;
  margin-bottom: 20px;
}

.csillagtukor-pp {
  display: block;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    line-height:1.2em;
  font-weight: normal;
  margin-top: 0px;
    padding-top: 0px;
}

a.csillagtukor-link {
    font-family: 'IBM Plex Sans', sans-serif;
    color: #1b86d1;
    font-size: 14px;
    line-height:1.2em;
  font-weight: normal;
  margin-bottom: 20px;
}

form.cart {
    padding-bottom: 15px!important;
}

/* Termékoldal - Megakadályozzuk, hogy a tartalom benyomuljon a kép és a gombok közé */
.custom-product-content {
    clear: both;
    display: block;
    width: 100%;
    padding-top: 0px; /* Egy kis távolság a felső résztől */
}

/* Egyedi Megrendelem gomb stílus */

/* 1. Az eredeti szöveg eltüntetése minden körülmények között */
.postid-36915 button.single_add_to_cart_button {
    font-size: 0 !important;
}

/* 2. Az új szöveg beillesztése */
.postid-36915 button.single_add_to_cart_button::before {
    content: "Megrendelem ✨";
    font-size: 16px !important; /* Csak itt lesz betűméret */
    color: white !important;
    visibility: visible;
    display: block; /* Biztosítja, hogy jól mutasson */
}

/* 3. A gomb stílusa */
.single-product.postid-36915 button.single_add_to_cart_button.button {
    background-color: #93278f !important;
    padding: 18px 60px !important;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    line-height: 1; /* Megakadályozza a szöveg elcsúszását */
}

/* 4. Hover állapot */
.single-product.postid-36915 button.single_add_to_cart_button.button:hover {
    background-color: #7a1f76 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(147, 39, 143, 0.3);
}

/* Eltünteti a cikkszámot és a kategóriát a termékoldalról */
.single-product span.sku_wrapper,
.single-product span.posted_in,
.single-product .product_meta {
    display: none !important;
}

/* Mailpoet */
.mailpoet_submit {
    border-radius: 5px;
}

/* Fő termékkép lekerekítése */
.woocommerce-product-gallery .flex-viewport, 
.woocommerce-product-gallery img {
    border-radius: 5px !important;
}

/* A galéria kis képei közötti távolság és lekerekítés */
.woocommerce-product-gallery .flex-control-thumbs li {
    padding: 10px !important; /* Itt állíthatod a távolságot */
    box-sizing: border-box;
}

.woocommerce-product-gallery .flex-control-thumbs img {
    border-radius: 5px !important;
    border: 1px solid #f0f0f0; /* Opcionális: egy halvány keret a kis képeknek */
    transition: 0.3s;
}

/* Kiemelés, ha rákattintanak a kis képre */
.woocommerce-product-gallery .flex-control-thumbs img.flex-active {
    border-color: #93278f;
    opacity: 1;
}

/* FAQ Harmonika - H4 stílus és válasz padding */
.gb-element-5262742e details.wp-block-details {
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background-color: #f9f9f9;
    margin-bottom: 12px;
    overflow: hidden;
}

/* A kérdés rész - H4 kinézet */
.gb-element-5262742e details.wp-block-details summary {
    padding: 18px 25px;
    /* Itt állítjuk be a H4 tulajdonságait */
    font-size: 1.25rem; /* H4 méret kb. */
    font-weight: 700;
    line-height: 1.3;
    color: #333;
    
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* A válasz szöveg belső távolsága (Bal-Jobb padding) */

/* A válasz belső tartalmi elemeinek (p, ul, ol) paddingja */
.gb-element-5262742e details.wp-block-details p,
.gb-element-5262742e details.wp-block-details ul,
.gb-element-5262742e details.wp-block-details ol {
    padding-left: 25px !important;
    padding-right: 25px !important;
    margin-bottom: 15px; /* Térköz a bekezdések között */
}

/* Maga a fehér tartály háttérszíne */
.gb-element-5262742e details.wp-block-details div.wp-block-details-content {
    background-color: #ffffff;
    border-top: 1px solid #eee;
    padding-top: 20px;
    padding-bottom: 10px;
}


.gb-element-5262742e details.wp-block-details div.wp-block-details-content {
    padding: 10px 40px 25px 40px; /* Megemelt bal-jobb padding (40px) */
    background-color: #ffffff;
    border-top: 1px solid #eee;
    line-height: 1.6;
}

/* Lila körös ikon (+) */
.gb-element-5262742e details.wp-block-details summary::after {
    content: "\002b";
    font-size: 18px;
    color: white;
    background-color: #93278f;
    min-width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

/* Nyitott állapot ikonja (-) */
.gb-element-5262742e details[open].wp-block-details summary::after {
    content: "\2212";
}

/* Safari fix */
.gb-element-5262742e details.wp-block-details summary::-webkit-details-marker {
    display: none;
}

/* TELJES TÖRLÉS ÉS CSERE - Kosár és Pénztár */

/* Brutál szelektor minden WooCommerce kosár variációra */
[class*="wc-block"] .csillagtukor-p,
.woocommerce-cart-form .csillagtukor-p,
.cart_item .csillagtukor-p {
    font-size: 0 !important;
    line-height: 0 !important;
    display: block !important;
}

[class*="wc-block"] .csillagtukor-p::before,
.woocommerce-cart-form .csillagtukor-p::before,
.cart_item .csillagtukor-p::before {
    content: "Személyes asztrológiai elemzés ✨" !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    visibility: visible !important;
    display: block !important;
    color: #333 !important;
}

/* sürgősségi felár */
.af-rush-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  margin-bottom: 10px;
  background-color: #ccfefd;
  border-radius: 5px;
  border: 1px solid #75938f;
  font-family: 'PT Sans', sans-serif;
  font-size: 14px;
  line-height: 1.6em;
  color: #211e25;
}

.af-rush-checkbox input[type="checkbox"] {
  margin: 4px 0 0 0;
  flex: 0 0 auto;
}

.af-rush-checkbox label {
  margin: 0;
  flex: 1;
}

@media (max-width: 768px) {
  .af-rush-checkbox label {
    display: block;
    position: relative;
    padding-left: 20px;
    margin: 0;
  }

  .af-rush-checkbox input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 5px;
    width: auto !important;
    max-width: none !important;
    margin: 0;
  }
}

/* Megye mező elrejtése a pénztár blokkban */
.wc-block-components-address-form__state {
    display: none !important;
}
/* Pénztár oldali Megrendelés gomb lekerekítése */
button.wc-block-components-checkout-place-order-button {
    border-radius: 5px !important;
}

/* Biztonsági játék: a belső szöveges konténerre is, ha a keret ott látszódna */
button.wc-block-components-checkout-place-order-button .wc-block-components-button__text {
    border-radius: 5px !important;
}

/* WooCommerce Checkout Blokk Teljes Mobil Javítás */
@media (max-width: 768px) {
    /* 1. Megszüntetjük a vízszintes görgetést a törzsnél */
    html, body {
        overflow-x: hidden !important;
        position: relative;
    }

    /* 2. Kényszerítjük a fő konténert, hogy ne legyen szélesebb a képernyőnél */
    .entry-content, 
    .wc-block-checkout,
    .wc-block-components-sidebar-layout {
        width: 100% !important;
        max-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0px !important; /* Itt a kért oldalsó padding */
        padding-right: 5px !important;
        box-sizing: border-box !important;
        display: block !important; /* Kikapcsoljuk a Flex-et, ami a kilógást okozza */
    }

    /* 3. A belső oszlopokat (fő rész és sidebar) 100%-ra állítjuk */
    .wc-block-checkout__main, 
    .wc-block-checkout__sidebar,
    .wc-block-components-main,
    .wc-block-components-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        flex-basis: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }


    /* =========================================================
   MINI SZINASZTRIA (37171) + BLOKKOS CHECKOUT MOBIL JAVÍTÁS
   ========================================================= */

@media (max-width: 768px) {

    /* -----------------------------------------
       1) "Később adom meg az adatokat" blokk
       ----------------------------------------- */
    .msz-later-option label {
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .msz-later-option label input[type="checkbox"],
    .msz-later-option label #msz_fill_later,
    #af-mini-checkout-form-wrap .msz-later-option input[type="checkbox"] {
        width: 20px !important;
        min-width: 20px !important;
        max-width: 20px !important;
        height: 20px !important;
        flex: 0 0 20px !important;
        margin: 0 !important;
    }

    .msz-later-option label span {
        flex: 1 1 auto !important;
    }

    /* -----------------------------------------
       2) Fizetési módok blokk mobil javítás
       ----------------------------------------- */
    .wc-block-checkout__payment-method,
    .wc-block-components-checkout-step,
    .wc-block-checkout__payment-methods,
    .wc-block-components-radio-control {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .wc-block-components-radio-control__option,
    .wc-block-components-radio-control-accordion-option {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .wc-block-components-radio-control__option-layout,
    .wc-block-components-radio-control-accordion-option__label-group {
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        flex-wrap: wrap !important;
        box-sizing: border-box !important;
    }

    .wc-block-components-radio-control__input,
    .wc-block-components-radio-control__option input[type="radio"],
    .wc-block-components-radio-control-accordion-option input[type="radio"] {
        width: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;
        height: 18px !important;
        flex: 0 0 18px !important;
        margin: 2px 0 0 0 !important;
    }

    .wc-block-components-radio-control__label-group,
    .wc-block-components-radio-control__description-group,
    .wc-block-components-radio-control-accordion-option__content {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__description,
    .wc-block-components-radio-control__description,
    .wc-block-components-payment-method-label,
    .wc-block-components-payment-method-description {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        box-sizing: border-box !important;
    }

    .wc-block-components-payment-method-icons,
    .wc-block-components-payment-method-icons img,
    .wc-block-components-payment-method-label__icon {
        max-width: 100% !important;
        height: auto !important;
    }

    .wc-block-components-radio-control-accordion-content,
    .wc-block-components-radio-control__secondary-description,
    .wc-block-components-payment-method-description {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* -----------------------------------------
       3) "Adj egy megjegyzést a rendelésedhez"
       checkbox javítás
       ----------------------------------------- */
    .wc-block-components-checkbox,
    .wc-block-components-checkbox__label,
    .wc-block-checkout__add-note,
    .wc-block-checkout__add-note label {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .wc-block-checkout__add-note label,
    .wc-block-components-checkbox label,
    .wc-block-components-checkbox__label {
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .wc-block-checkout__add-note input[type="checkbox"],
    .wc-block-components-checkbox input[type="checkbox"] {
        width: 20px !important;
        min-width: 20px !important;
        max-width: 20px !important;
        height: 20px !important;
        flex: 0 0 20px !important;
        margin: 2px 0 0 0 !important;
    }

    .wc-block-checkout__add-note .wc-block-components-checkbox__label,
    .wc-block-components-checkbox__label {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

   

    /* -----------------------------------------
       4) Rendelésösszesítő - Mini Szinasztria
       ----------------------------------------- */
    .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item {
        align-items: flex-start !important;
    }

    .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__description {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        gap: 4px !important;
    }

    .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__image {
        display: block !important;
        position: relative !important;
        flex: 0 0 auto !important;
        margin-right: 12px !important;
    }

    .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__image img {
        width: 64px !important;
        height: 64px !important;
        object-fit: cover !important;
        border-radius: 6px !important;
        display: block !important;
    }

    .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__quantity {
        position: absolute !important;
        top: -8px !important;
        left: -8px !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 0 !important;
        min-width: 22px !important;
        height: 22px !important;
        padding: 0 6px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 999px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        background: #ffffff !important;
        border: 1px solid #cfcfcf !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
        z-index: 3 !important;
    }

    .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-name,
    .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-name * {
        display: inline !important;
        font-size: 15px !important;
        line-height: 1.35 !important;
        font-weight: 500 !important;
        margin: 0 !important;
        padding: 0 !important;
        text-transform: none !important;
        letter-spacing: normal !important;
    }

    .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-metadata,
    .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-details,
    .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__total-price-label,
    .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__individual-prices {
        display: none !important;
    }

    .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__total-price,
    .wp-block-woocommerce-checkout-order-summary-block .wc-block-formatted-money-amount {
        font-size: 16px !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
    }
}


    /* 4. A táblázatok és beviteli mezők ne feszítsék ki az oldalt */
    input, select, textarea, .wc-block-components-text-input {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 5. A kupon kód és egyéb gombok javítása */
    .wc-block-components-totals-coupon-link {
        word-break: break-all !important;
    }
}

/* Szinasztria űrlap – egységes stílus a Csillagtükörhöz */
#szinasztria-form {
    background: #fff;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 20px;
        margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-family: inherit;
}

#szinasztria-form h3 {
    font-size: 1.2rem;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #333;
}

#szinasztria-form p.szinasztria-p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.2em;
    line-height: 1.5;
}

#szinasztria-form label {
    display: block;
    margin-bottom: 15px;
    font-weight: 500;
    color: #222;
}

#szinasztria-form input[type="text"],
#szinasztria-form input[type="date"],
#szinasztria-form input[type="time"],
#szinasztria-form select {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background 0.2s ease;
}

#szinasztria-form input:focus,
#szinasztria-form select:focus {
    border-color: #9b6bcc;
    background: #fff;
    outline: none;
}

#szinasztria-form hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 1.5em 0;
}

#szinasztria-form a.szinasztria-link {
    color: #c00;
    font-size: 0.85rem;
    margin-left: 6px;
    text-decoration: none;
}

#szinasztria-form a.szinasztria-link:hover {
    text-decoration: underline;
}

/* egységes magasság a selectre is – data URI és appearance nélkül */
#szinasztria-form select {
  height: 48px;
  padding: 12px 14px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fafafa;
  box-sizing: border-box;
}

/* opció: minden mező egységes "belső" magassága */
#szinasztria-form input[type="text"],
#szinasztria-form input[type="date"],
#szinasztria-form input[type="time"],
#szinasztria-form select {
  line-height: 22px; /* finomhangolás: 20–24 között próbáld ki */
}

/* Szinasztria termekoldal */

.gradient-icon-circle {
    /* Ez hozza létre a lila-narancs átmenetet */
    background: linear-gradient(135deg, #A839CC 0%, #FF8552 100%) !important;
    
    /* Megszüntetjük az esetleges alapértelmezett háttérszínt */
    border: none !important;
}

/* Opcionális: Ha szeretnél egy kis ragyogást (shadow) neki */
.gradient-icon-circle {
    box-shadow: 0 4px 15px rgba(168, 57, 204, 0.3);
}

/* --- ALAPÁLLAPOT: A KÉP ELMOSÓDOTT --- */
.blur-hover-image-container img {
    /* Az elmosódás mértéke (5px-10px közt javasolt) */
    filter: blur(8px);
    
    /* Az átmenet sebessége (0.4 másodperc, lágy) */
    transition: filter 0.4s ease-in-out, transform 0.4s ease-in-out;
    
    /* Biztosítjuk, hogy a kép kitöltse a helyet */
    width: 100%;
    height: auto;
    display: block;
}

/* --- HOVER ÁLLAPOT: AZ EGÉR FÖLÉÉR --- */
.blur-hover-image-container:hover img {
    /* Eltüntetjük az elmosódást */
    filter: blur(0);
    
    /* Opcionális: Egy picit ráközelítünk (kiemeli a képet) */
    transform: scale(1.03); 
}

/* Opcionális: Ha a Containernek van háttérszíne vagy árnyéka, 
   biztosítjuk, hogy a kép ne lógjon ki az élesedéskor */
.blur-hover-image-container {
    overflow: hidden;
    border-radius: 12px; /* Ha a képed sarka le van kerekítve */
}

.highlight {
  color: #211e25;
  background-color: #fff59d; /* halvány sárga */
  padding: 0 2px;
}

/* Szinasztria egyedi kosárba tesz gomb stílusa */
.postid-37030 .single_add_to_cart_button.button.alt {
    background-color: #93278f !important; /* A képen látható sötétebb lila */
    color: #ffffff !important;           /* Fehér szöveg */
    border-radius: 8px !important;       /* Lekerekített sarkok */
    padding: 15px 30px !important;       /* Megfelelő méret */
    font-weight: bold !important;        /* Vastagabb betűk */
    border: none !important;             /* Keret eltávolítása */
    transition: background-color 0.3s ease;
    cursor: pointer;
    opacity: 1 !important;               /* Hogy ne legyen halvány, ha aktív */
}

/* Hover állapot (amikor fölé viszed az egeret) */
.postid-37030 .single_add_to_cart_button.button.alt:hover {
    background-color: #7a1f76 !important; /* Kicsit sötétebb lila hoverre */
    color: #ffffff !important;
}

/* Ha a gomb le van tiltva (disabled), maradjon látható, de ne változzon a színe */
.postid-37030 .single_add_to_cart_button.button:disabled {
    background-color: #93278f !important;
    opacity: 0.7 !important;
}


/* A kuponkód kiemelése a MailPoet üzenetben */
.m-coupon {
    background-color: #93278f; /* Az akciós sávod lila színe */
    color: #ffffff !important;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    border: 2px dashed #ffffff; /* Ettől igazi kupon kinézete lesz */
    margin: 0 4px;
    letter-spacing: 1px;
}

/* Tranzit kosár gomb */
.postid-37118 .single_add_to_cart_button.button.alt {
    background-color: #93278f !important; /* A képen látható sötétebb lila */
    color: #ffffff !important;           /* Fehér szöveg */
    border-radius: 8px !important;       /* Lekerekített sarkok */
    padding: 15px 30px !important;       /* Megfelelő méret */
    font-weight: bold !important;        /* Vastagabb betűk */
    border: none !important;             /* Keret eltávolítása */
    transition: background-color 0.3s ease;
    cursor: pointer;
    opacity: 1 !important;               /* Hogy ne legyen halvány, ha aktív */
}

/* Hover állapot (amikor fölé viszed az egeret) */
.postid-37118 .single_add_to_cart_button.button.alt:hover {
    background-color: #7a1f76 !important; /* Kicsit sötétebb lila hoverre */
    color: #ffffff !important;
}

/* Ha a gomb le van tiltva (disabled), maradjon látható, de ne változzon a színe */
.postid-37118 .single_add_to_cart_button.button:disabled {
    background-color: #93278f !important;
    opacity: 0.7 !important;
}

/* Rektifikacio termekoldal */

/* header normal ar szurke */
body.postid-37135 .csillagtukor-hero-section .price-big del,
body.postid-37135 .csillagtukor-hero-section .price-big del .woocommerce-Price-amount,
body.postid-37135 .csillagtukor-hero-section .price-big del bdi {
    color: #b8b8b8 !important;
    opacity: 1 !important;
}

/* akcios cimke eltuntetese */
.single-product .onsale {
    display: none !important;
}


/* 3. A gomb stílusa */
.single-product.postid-37135 button.single_add_to_cart_button.button {
    margin-top: 20px;
    background-color: #93278f !important;
    padding: 18px 60px !important;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    line-height: 1; /* Megakadályozza a szöveg elcsúszását */
}

/* 4. Hover állapot */
.single-product.postid-37135 button.single_add_to_cart_button.button:hover {
    background-color: #7a1f76 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(147, 39, 143, 0.3);
}

/* 2. MOBIL PADDING (15px kétoldalt) */
@media (max-width: 768px) {
    .postid-37135 .hero-text-box {
        min-width: 500px;
        max-width: 500px;
        padding-left: 25px !important;
        padding-right: 25px !important;
    }

    
    
    .postid-37135 .csillagtukor-hero-section {
        padding-top: 140px!important; /* Mobilon picit kevesebb hely kell felül */
    }

    .postid-37135 .hero-text-box h1
     {
        font-size: 40px !important; /* Ne lógjon ki a cím mobilon */
    }
}

/* =========================================================
   SHOP OLDAL – HERO + GRID + ALSÓ TARTALOM
   ========================================================= */

/* Hero wrapper */
.shop-hero-wrapper {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center top;
    min-height: 0;
    margin-bottom: 0;
}

/* Hero tartalom */
.shop-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px 140px 20px;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}

.shop-hero-inner {
    width: 100%;
    max-width: 100%;
    display: block;
    padding: 0;
}

.shop-hero-text {
    max-width: 980px;
}

.shop-hero-text h1 {
    font-family: 'Philosopher', sans-serif;
    font-size: clamp(32px, 5vw, 40px);
    line-height: 1.1;
    margin: 0 0 14px 0;
    color: #211e25;
    text-align: left;
}

.shop-hero-excerpt {
    display: block;
    max-width: 1000px;
    font-family: 'PT Sans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #211e25;
    margin-top: 0;
    text-align: left;
}

/* Breadcrumb */
.shop-yoast-breadcrumbs {
    margin-top: 18px;
    text-align: left;
}

.shop-yoast-breadcrumbs p {
    margin: 0;
}

.shop-yoast-breadcrumbs,
.shop-yoast-breadcrumbs a,
.shop-yoast-breadcrumbs span {
    font-family: 'PT Sans', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
}

.shop-yoast-breadcrumbs a {
    color: #7a7a7a !important;
    text-decoration: none !important;
}

.shop-yoast-breadcrumbs a:hover {
    text-decoration: underline !important;
}

.shop-yoast-breadcrumbs .breadcrumb_last {
    color: #211e25 !important;
}

/* Quote */
.shop-quote-block {
    margin-top: 38px;
    max-width: 860px;
}

.shop-quote {
    margin: 0;
    padding: 0 0 22px 22px;
    border-left: 10px solid #2f80ed;
}

.shop-quote p {
    margin: 0 0 6px 0;
    font-family: 'PT Sans', sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    color: #211e25;
}

.shop-quote cite {
    display: block;
    font-family: 'PT Sans', sans-serif;
    font-size: 20px;
    font-style: normal;
    color: #211e25;
}

/* Hullámok shopon */
.shop-hero-wrapper .wave-layer-back,
.shop-hero-wrapper .wave-layer-front {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.shop-hero-wrapper .wave-layer-back {
    bottom: 0;
    z-index: 2;
}

.shop-hero-wrapper .wave-layer-front {
    bottom: 0;
    z-index: 3;
}

/* =========================================================
   SHOP TARTALMI WRAPPEREK
   ========================================================= */

/* A terméklista és az alsó content ugyanarra a szélességre igazodjon,
   mint a hero/header */
.woocommerce-shop .woocommerce-archive-wrapper,
.post-type-archive-product .woocommerce-archive-wrapper,
.woocommerce-shop .shop-editor-content,
.post-type-archive-product .shop-editor-content {
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* A belső wrapok ne szűkítsenek tovább */
.woocommerce-shop #primary,
.post-type-archive-product #primary,
.woocommerce-shop #main,
.post-type-archive-product #main,
.woocommerce-shop .site-main,
.post-type-archive-product .site-main,
.woocommerce-shop .woocommerce,
.post-type-archive-product .woocommerce,
.woocommerce-shop .inside-article,
.post-type-archive-product .inside-article,
.woocommerce-shop .entry-content,
.post-type-archive-product .entry-content {
    width: 100%;
    max-width: 100%;
}

.woocommerce-shop .woocommerce-archive-wrapper,
.post-type-archive-product .woocommerce-archive-wrapper {
    margin-top: 0;
}

.woocommerce-shop .inside-article,
.post-type-archive-product .inside-article {
    padding-top: 0;
}

/* =========================================================
   TERMÉKRÁCS
   ========================================================= */

.woocommerce-shop ul.products,
.post-type-archive-product ul.products,
.woocommerce ul.products.columns-4,
.woocommerce-page ul.products.columns-4 {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 34px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: border-box !important;
}

.woocommerce-shop ul.products li.product,
.post-type-archive-product ul.products li.product,
.woocommerce ul.products.columns-4 li.product,
.woocommerce-page ul.products.columns-4 li.product,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products li.first,
.woocommerce ul.products li.last {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* A WooCommerce clearfix pszeudoelemek ne legyenek grid itemek */
.woocommerce-shop ul.products::before,
.woocommerce-shop ul.products::after,
.post-type-archive-product ul.products::before,
.post-type-archive-product ul.products::after,
.woocommerce ul.products.columns-4::before,
.woocommerce ul.products.columns-4::after,
.woocommerce-page ul.products.columns-4::before,
.woocommerce-page ul.products.columns-4::after {
    content: none !important;
    display: none !important;
}

.woocommerce-shop ul.products li.product:nth-child(n),
.post-type-archive-product ul.products li.product:nth-child(n),
.woocommerce ul.products li.product:nth-child(n),
.woocommerce-page ul.products li.product:nth-child(n) {
    clear: none !important;
    margin-right: 0 !important;
}

/* Képek */
.woocommerce-shop ul.products li.product a img,
.post-type-archive-product ul.products li.product a img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 0 16px 0 !important;
    border-radius: 5px;
}

/* Cím */
.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
.post-type-archive-product ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Philosopher', sans-serif;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
    color: #211e25;
    margin: 0 0 10px 0;
    padding: 0;
}

/* Ár */
.woocommerce-shop ul.products li.product .price,
.post-type-archive-product ul.products li.product .price {
    display: block;
    font-family: 'PT Sans', sans-serif;
    font-size: 17px;
    line-height: 1.5;
    color: #211e25;
    margin: 0 0 14px 0;
}

/* Csillagok */
.woocommerce-shop ul.products li.product .star-rating,
.post-type-archive-product ul.products li.product .star-rating {
    margin: 0 0 12px 0;
}

/* Gomb */
.woocommerce-shop ul.products li.product .button,
.post-type-archive-product ul.products li.product .button {
    display: inline-block;
    margin-top: 6px;
    font-size: 14px;
    padding: 10px 14px;
}

/* =========================================================
   ALSÓ SZERKESZTHETŐ TARTALOM
   ========================================================= */

.shop-editor-content {
    margin-top: 70px;
    margin-bottom: 70px;
}

.shop-editor-content h2,
.shop-editor-content h3,
.shop-editor-content h4 {
    font-family: 'Philosopher', sans-serif;
    color: #211e25;
}

.shop-editor-content,
.shop-editor-content p,
.shop-editor-content li {
    font-family: 'PT Sans', sans-serif;
    color: #211e25;
    line-height: 1.8;
    font-size: 18px;
}

.shop-editor-content .wp-block-image img {
    border-radius: 0;
    height: auto;
}

/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 768px) {
    .shop-hero-content {
        padding: 0 20px 120px 20px;
    }

    .shop-hero-text h1 {
        font-size: 38px;
    }

    .shop-hero-excerpt {
        font-size: 17px;
        line-height: 1.7;
    }

    .shop-quote-block {
        margin-top: 28px;
    }

    .shop-quote {
        padding-left: 16px;
    }

    .shop-quote p {
        font-size: 18px;
    }

    .shop-quote cite {
        font-size: 16px;
    }

    .woocommerce-shop .woocommerce-archive-wrapper,
    .post-type-archive-product .woocommerce-archive-wrapper,
    .woocommerce-shop .shop-editor-content,
    .post-type-archive-product .shop-editor-content {
        padding-left: 0px;
        padding-right: 0px;
    }

    .woocommerce-shop ul.products,
    .post-type-archive-product ul.products,
    .woocommerce ul.products.columns-4,
    .woocommerce-page ul.products.columns-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }

    .woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
    .post-type-archive-product ul.products li.product .woocommerce-loop-product__title {
        font-size: 18px;
    }

    .woocommerce-shop ul.products li.product .price,
    .post-type-archive-product ul.products li.product .price {
        font-size: 16px;
    }

    .shop-editor-content {
        margin-top: 45px;
        margin-bottom: 45px;
    }
}

/* --- JAVÍTOTT WOOCOMMERCE GOMBOK – iOS ÉS MOBIL FIX --- */

/* Alap gomb stílusok – minden kijelzőre */
.woocommerce-shop ul.products li.product .button,
.post-type-archive-product ul.products li.product .button,
.tax-product_cat ul.products li.product .button,
.tax-product_tag ul.products li.product .button {
    background-color: #93278f !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 5px;
    text-decoration: none !important;
    font-weight: 600; /* Kicsit félkövérebb */
    
    /* -- MODIFIKÁCIÓ 1: MODERN LAYOUT FIZ --- */
    /* Használjunk inline-flex-et az inline-block helyett */
    display: inline-flex !important; 
    justify-content: center !important; /* Középre igazítás vízszintesen */
    align-items: center !important; /* Középre igazítás függőlegesen – EZ A FIX! */
    vertical-align: middle; /* Alapértelmezett sorba igazítás fix */
    
    /* A sor magasságot 1-re állítjuk, hogy a flexbox középre tegye a szöveget és emojit */
    line-height: 1 !important; 
    
    /* -- MODIFIKÁCIÓ 2: JAVÍTOTT PADDING ASZTALIRA -- */
    /* Megtartjuk a függőleges padding-ot, ami meghatározza a magasságot */
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    /* A 40px oldal padding asztalira jó, mobilon igazítjuk */
    padding-left: 40px !important;
    padding-right: 40px !important;
}

/* Hover állapot módosítása: */
.woocommerce-shop ul.products li.product .button:hover,
.post-type-archive-product ul.products li.product .button:hover,
.tax-product_cat ul.products li.product .button:hover,
.tax-product_tag ul.products li.product .button:hover {
    background-color: #93278f !important;
    color: #ffffff !important;
    opacity: 0.92;
}

/* -- MODIFIKÁCIÓ 3: MOBIL-SPECIFIKUS JAVÍTÁS -- */
@media (max-width: 768px) {
    .woocommerce-shop ul.products li.product .button,
    .post-type-archive-product ul.products li.product .button,
    .tax-product_cat ul.products li.product .button,
    .tax-product_tag ul.products li.product .button {
        /* On small screens, the 40px padding is too wide, reduces the text area.
           Using a smaller padding here ensure it looks good and fits well. */
        padding-left: 15px !important;
        padding-right: 15px !important;
        
        /* Optional: on very small screens, make the button full width within its column */
        /* display: flex !important;
           width: 100% !important; */
    }
}

/* -- MINISZINASZTRIA -- */

/* Az "egyedi-gradiens" osztályú blokk háttere */
.gradiens-blokk {
    background: linear-gradient(135deg, #92278e 0%, #404841 100%) !important;
}

.gradient-quote {
    font-style: normal!important;
    line-height: 1.2px;
    border-left: 10px solid #F2F3F2 !important;
}

/* Pénztár H1 balra igazítása mobilon */
@media (max-width: 768px) {
    body.woocommerce-checkout .hero-content-area,
    body.woocommerce-checkout .hero-inner-flex,
    body.woocommerce-checkout .hero-text,
    body.woocommerce-checkout .generic-hero-text,
    body.woocommerce-checkout .generic-hero-text h1 {
        text-align: left !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }
}