/* ============================= */
/* Alap beállítások              */
/* ============================= */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background: #f4f4f4;
    border-bottom: 1px solid #ddd;
}

/* ============================= */
/* Felső fejléc sor elrendezése  */
/* ============================= */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #f1f1f1;
    gap: 20px;
    flex-wrap: nowrap; /* Ne törjön új sorba a tartalom */
}

/* Bal oldali logó */
.top-header .logo {
    flex: 0 1 auto;
    max-width: 300px; /* A logónak fix szélesség */
    width: 100%;
}

.top-header .logo img {
    max-width: 200px;  /* A logó maximális szélessége */
    height: auto;      /* Magasság automatikusan igazodik */
    display: block;
    margin: 0 auto;    /* Középre igazítás */
}

/* ============================= */
/* középső kereső  */
/* ============================= */
.top-header .header-search {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    min-width: 200px;
    max-width: 500px;
}

.woocommerce-product-search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    position: relative;
}

.woocommerce-product-search input.search-field {
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding-right: 45px;
}

.woocommerce-product-search input.search-field:focus {
    border-color: #999;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.woocommerce-product-search button[type="submit"] {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #555;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.woocommerce-product-search button[type="submit"]:hover {
    color: #000;
}

.woocommerce-product-search button i {
    pointer-events: none;
}
/* Alapstílus: ikon + szöveg */
.header-actions a {
    display: flex;
    align-items: center;
    gap: 6px; /* ikon és szöveg közti távolság */
    font-size: 16px;
    padding: 8px 12px;
}
/* Mobilnézet: csak ikonok */
@media (max-width: 768px) {
    .header-actions .button-text {
        display: none;
    }

    .header-actions a {
        font-size: 20px; /* csak az ikon marad, lehet kicsit növelni */
        padding: 8px;
        justify-content: center;
    }
}
/* Jobb oldali akciók */
.top-header .header-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px; /* Növelt gap a gombok közötti távolságért */
    padding-left: 20px; /* Bal oldali margó a szép elrendezéshez */
    padding-right: 20px; /* Jobb oldali margó a szép elrendezéshez */
    box-sizing: border-box; /* A padding ne változtassa meg a szélességet */
}

/* Kosár és bejelentkezés/kijelentkezés gombok közötti távolság */
.header-actions .login-section {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.header-actions .cart {
    display: inline-flex;
    align-items: center;
}

/* ============================= */
/* Bejelentkezés/Kijelentkezés gomb */
/* ============================= */

.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    background-color: #e74c3c;  /* piros szín - kijelentkezés */
    border-radius: 30px;
    padding: 12px 20px;  /* Egységesített padding */
    font-size: 1rem;
    transition: background-color 0.3s ease;
    position: relative;
    margin-right: 10px;
    height: 18px;  /* Egységesített magasság */
}

.login-btn:hover {
    background-color: #c0392b;  /* sötétebb piros */
}

.login-btn i {
    font-size: 1.2rem;
    margin-right: 5px;
}

/* Ha nincs bejelentkezve, a gomb legyen zöld */
.login-btn.not-logged-in {
    background-color: #2ecc71;  /* zöld szín - bejelentkezés */
}

.login-btn.not-logged-in:hover {
    background-color: #27ae60;  /* sötétebb zöld */
}

/* ============================= */
/* Kosár és gombok elrendezése */
/* ============================= */
.cart {
    position: relative;
}

.cart .cart-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;  /* Egységesített padding */
    font-weight: bold;
    color: #fff;  /* Fehér szín a szövegre és ikonra */
    background-color: #f39c12; /* halvány narancssárga */
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 1rem;
    margin-right: 10px;
    height: 18px;  /* Egységesített magasság */
    position: relative;  /* A pozicionáláshoz */
}

.cart .cart-link:hover {
    background-color: #e67e22; /* sötétebb narancs árnyalat */
}

.cart .cart-link i {
    font-size: 1.2rem;
    margin-right: 8px;
}

.cart .cart-count {
    background: red;
    color: white;
    border-radius: 50%;
    padding: 4px 8px; /* Kisebb padding a körhöz */
    position: absolute;
    top: -5px;
    right: -10px;
    font-size: 0.8rem;
    font-weight: bold;
    width: 10px; /* Fix méret */
    height: 16px; /* Fix méret */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fiókom gomb */
.account-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;  /* Egységesített padding */
    font-weight: bold;
    color: #333;
    background-color: #a3c9e2; /* halványkék szín */
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 1rem;
    margin-right: 10px;
    height: 18px;  /* Egységesített magasság */
}

.account-btn:hover {
    background-color: #7fb8d3; /* sötétebb kék árnyalat */
}

.account-btn i {
    font-size: 1.2rem;
    margin-right: 8px;
}
/* Csak a navigációs lista szépítése, layout untouched */
/* Navigációs lista stílusa */
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;  /* A gombok balra igazítása */
    width: 150px;             /* Szélesség, hogy megegyezzen a gombokkal */
    max-width: 150px;         /* Maximum szélesség biztosítása */
}

/* Listaelemek (gombok) */
.woocommerce-MyAccount-navigation li {
    width: 100%;  /* 100%-ban kitölti az ul szélességét */
    margin-bottom: 12px;
}

.woocommerce-MyAccount-navigation a {
    display: block;
    padding: 5px 10px;
    border-radius: 6px;
    background: #ffcc00;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;  /* 100%-os szélesség biztosítása */
    text-align: center;
}
/* A 'woocommerce-MyAccount-navigation' osztály stílusa */
.woocommerce-account .woocommerce-MyAccount-navigation {
    height: 275px;
    width: 170px;
    /* Esetleg más stílusok hozzáadhatók itt */
}
.woocommerce-MyAccount-navigation a:hover {
    background: #e74c3c;
    color: #fff;
}
/* Menü */
.main-navigation {
    background: #555;
    height: 48px; /* vagy ahány px a konténered magassága valójában */
}

.main-navigation .menu {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* biztosítjuk, hogy örökölje a magasságot */
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.main-navigation .menu li a {
    background-color: #555;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Csak a háttérszín és a transform animáció */
    border-radius: 0;
    box-sizing: border-box;
    transform-origin: center;
}

.main-navigation .menu li a:hover {
    background-color: #e74c3c;
    transform: scale(1.05); /* A zoom animáció */
    color: #fff;
}

/* Menü legördülő (dropdown) stílusok */
.main-navigation .menu li {
    position: relative; /* Ahhoz kell, hogy a legördülő menü pozicionálása jól működjön */
}

.main-navigation .menu li ul {
    display: none; /* Alapértelmezés szerint ne jelenjenek meg az alkategóriák */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #555;
    border-radius: 5px;
    padding: 0;
    list-style: none;
    min-width: 200px; /* Minimum szélesség az alkategóriáknak */
    z-index: 10;
}

.main-navigation .menu li:hover > ul {
    display: block; /* Hover esetén jelenjenek meg az alkategóriák */
}

.main-navigation .menu li ul li a {
    padding: 10px 20px; /* Alkategóriák belső paddingja */
    background-color: #555;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: background-color 0.3s ease;
}

.main-navigation .menu li ul li a:hover {
    background-color: #e74c3c; /* Alkategória hover színe */
    transform: scale(1.05); /* Zoom hatás a hoverre */
}

/* Menü linkek hover hatásának finomítása */
.main-navigation .menu li a:hover {
    background-color: #e74c3c;
    transform: scale(1.05);
    color: #fff;
}
/* Kategóriák listája */
.category-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.category-list li {
    background-color: #f1f1f1;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.category-list a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.category-list a:hover {
    color: #0073aa;
}
/* A tartalom köré helyezett konténer, amely csak oldalt ad margót */
/* Külső tartalomkonténer, szürke háttérrel */
.content-wrapper {
    display: flex;
    justify-content: center;
    padding: 0 10px; /* Kisebb belső margó, így közelebb kerül a széléhez */
    background-color: #f1f1f1;
}

/* Belső fehér doboz, ahol a tartalom van */
#primary {
    width: 100%;
    max-width: 1600px; /* Növelt max szélesség — az előző 1000px volt */
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 5px rgba(0,0,0,0.05);
}
.entry-header {
    display: flex;
    align-items: center;     /* Vertikális középre igazítás */
    height: 50px;           /* Állítsd be tetszés szerint */
    padding-left: 45px;      /* Kis behúzás balról */
}
.entry-content {
    margin-top: 20px;
}
/* ============================= */
/* Regisztráció gomb stílusa     */
/* ============================= */
.register-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    background-color: #ffea02; /* sötét citromsárga */
    border-radius: 30px;
    padding: 12px 20px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    margin-right: 10px;
    height: 18px;
}

.register-btn:hover {
    background-color: #e0cf0f; /* sötétebb árnyalat */
}

.register-btn i {
    font-size: 1.2rem;
    margin-right: 5px;
}
/* Tovább a pénztárhoz gomb */
.wc-block-components-button__text {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-transform: uppercase;
    padding: 12px 24px;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: inline-block;
    transition: background 0.3s ease, transform 0.2s ease;
}

/* Hover effect */
.wc-block-components-button__text:hover {
    background: linear-gradient(135deg, #66bb6a, #388e3c);
    transform: translateY(-2px);
    cursor: pointer;
}
/* Tétel törlése gomb */
.wc-block-cart-item__remove-link {
    font-weight: 500 !important;
    font-size: 14px !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #ff5252, #f44336) !important; /* Piros átmenet */
    padding: 6px 12px !important;
    border: none !important;
    border-radius: 30px !important;
    text-transform: none !important; /* Ne legyen automatikus nagybetűs */
    cursor: pointer !important;
    display: inline-block !important;
    transition: background 0.5s ease !important; /* Lassú átmenet */
    text-decoration: none !important;
}

/* Hover állapot: gomb sötétedése */
.wc-block-cart-item__remove-link:hover {
    background: linear-gradient(135deg, #e53935, #c62828) !important; /* Sötétebb piros */
    color: #ffffff !important; /* Biztosítja, hogy a szöveg ne váljon fehérré */
}

/* Focus effekt, ha rákattintanak */
.wc-block-cart-item__remove-link:focus {
    outline: none !important;
    box-shadow: 0 0 5px rgba(255, 99, 71, 0.7) !important; /* Fókusz effekt */
}
/* Termék név stílus a kosárban */
.wc-block-components-product-name {
    font-family: 'Arial', sans-serif !important; /* Változtatható a betűtípusra, amit szeretnél */
    font-weight: 600 !important; /* Félkövér */
    font-size: 16px !important; /* Megfelelő méret */
    color: #333333 !important; /* Sötétszürke szín, hogy jól látszódjon */
    text-decoration: none !important; /* Nincs aláhúzva */
    transition: color 0.3s ease !important; /* Színváltozás hatás */
}

/* Hover állapot: színváltozás */
.wc-block-components-product-name:hover {
    color: #ff5252 !important; /* Piros árnyalat a hover állapotra */
}
/* Rendezés legördülő menü */
/* Legördülő menü stílus */
select.orderby {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 25px; /* Lekerekített sarkok */
    padding: 8px 16px;
    appearance: none; /* Az alap böngésző stílusok eltüntetése */
    -webkit-appearance: none; /* Safari és Chrome */
    -moz-appearance: none; /* Firefox */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%; /* 100%-os szélesség, ha rugalmasan kell */
    max-width: 300px; /* Maximum szélesség */
}

/* Gomb körüli nyíl ikon */
select.orderby::-ms-expand {
    display: none;
}

select.orderby:focus {
    border-color: #4caf50; /* Zöld szegély a fókuszban */
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.4); /* Finom zöld árnyék */
}

/* Hover effekt */
select.orderby:hover {
    border-color: #66bb6a; /* Zöld szegély hover állapotban */
}

/* Legördülő nyíl stílusa */
select.orderby:after {
    content: ' ▼'; /* Nyíl */
    font-size: 12px;
    position: absolute;
    right: 10px;
    top: 10px;
    pointer-events: none; /* Ne blokkolja az interakciót */
}

/* Alapértelmezett háttérszín a legördülő lista számára */
option {
    padding: 8px 10px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
}

/* Hover effekt a legördülő menüben */
option:hover {
    background-color: #f0f0f0;
    color: #333;
}
/* Fiókom menüben az alap leírás */
/* Betűtípus és stílus a fiókoldal szövegeihez */
.woocommerce-MyAccount-content p {
    font-family: 'Arial', sans-serif; /* Betűtípus beállítása */
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6; /* Jobb olvashatóság érdekében */
    color: #333; /* Sötétszürke szöveg szín */
    margin-bottom: 20px; /* További térköz a szövegek között */
}

/* Linkek színe és stílusa */
.woocommerce-MyAccount-content a {
    color: #4caf50; /* Zöld szín a linkeknek */
    text-decoration: none; /* Nincs aláhúzás */
    transition: color 0.3s ease;
}

/* Linkek hover állapota */
.woocommerce-MyAccount-content a:hover {
    color: #388e3c; /* Sötétebb zöld, ha rákattintanak */
}

/* Kijelentkezés link */
.woocommerce-MyAccount-content .customize-unpreviewable {
    font-weight: 600; /* Félkövér link */
    color: #e53935; /* Piros szín */
    padding: 2px 5px; /* Kicsit nagyobb kattintási terület */
    border-radius: 4px; /* Lekerekített sarkok */
    transition: background 0.3s ease;
}

/* Kijelentkezés hover állapota */
.woocommerce-MyAccount-content .customize-unpreviewable:hover {
    background: #f44336; /* Piros háttér hover állapotban */
    color: white; /* Fehér szín hover-nál */
}

/* A fiókoldal szövege és gombok közötti távolság csökkentése */
.woocommerce-MyAccount-content p + p {
    margin-top: 10px; /* Csökkenti a távolságot a szövegek között */
}

/* Címek menüpont a Fiókomon belül */
/* Alap szöveg formázás */
.woocommerce-MyAccount-content p {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

/* Címtartó konténerek */
.woocommerce-Addresses {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

/* Egyes cím blokkok */
.woocommerce-Address {
    background: #f9f9f9; /* Világos háttér */
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    flex: 1 1 calc(50% - 10px); /* Pontos kétoszlopos elrendezés */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effekt cím blokkokra */
.woocommerce-Address:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Címek fejléc formázása */
.woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.woocommerce-Address-title h2 {
    font-size: 20px;
    font-weight: 600;
    color: #2e7d32;
    margin: 0;
}

/* Szerkesztés link */
.woocommerce-Address-title .edit {
    font-size: 14px;
    font-weight: 500;
    color: #4caf50;
    text-decoration: none;
    padding: 6px 12px;
    background: #e8f5e9;
    border-radius: 20px;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Hover effekt szerkesztés linkre */
.woocommerce-Address-title .edit:hover {
    background: #c8e6c9;
    color: #2e7d32;
}

/* Cím tartalom */
.woocommerce-Address address {
    font-style: normal; /* Ne legyen döntött */
    color: #666;
    font-size: 15px;
    line-height: 1.5;
}

/* Reszponzív – Mobilon egymás alá */
@media (max-width: 768px) {
    .woocommerce-Address {
        flex: 1 1 100%;
    }
}

/* Bejelentkezés és Regisztráció oldal */
/* Konténer: két hasáb */
#customer_login {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

/* Egyes oszlopok – belépés & regisztráció */
#customer_login .u-column1,
#customer_login .u-column2 {
    flex: 1 1 48%;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Fejlécek */
#customer_login h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #2e7d32;
}

/* Input mezők formázása */
.woocommerce-form input[type="text"],
.woocommerce-form input[type="email"],
.woocommerce-form input[type="password"] {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    box-sizing: border-box;
    outline: none;
    margin-top: 5px;
}

/* Label stílus */
.woocommerce-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

/* Checkbox (Emlékezz rám) */
.woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin: 15px 0;
}

/* Gombok */
.woocommerce-button,
.woocommerce-Button {
    background: #4caf50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.woocommerce-button:hover,
.woocommerce-Button:hover {
    background: #388e3c;
}

/* Elfelejtett jelszó link */
.woocommerce-LostPassword a {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    color: #4caf50;
    text-decoration: none;
}

.woocommerce-LostPassword a:hover {
    text-decoration: underline;
}

/* Adatkezelési infó */
.woocommerce-privacy-policy-text p {
    font-size: 13px;
    color: #555;
    margin-top: 20px;
}

/* Reszponzív – Mobil nézet */
@media (max-width: 768px) {
    #customer_login {
        flex-direction: column;
    }

    #customer_login .u-column1,
    #customer_login .u-column2 {
        flex: 1 1 100%;
    }
}
