/*
//=============================================================================
// ** VARIABLES
//=============================================================================
*/

:root {

    --activecolor: #c62828;
    --accentbg: #f3f3f4;
    --maincolor: #212121;
    --mainbordercolor: #ebeced;
    --topbarheigt: 300px;
    --whiteitem: white;
    --spanfontfamily: "Roboto", Sans-serif;
    --titlefontfamily: "Oswald", Sans-serif;
    --menufont: "Roboto", Sans-serif;
    --buttonfontsize: 15px;
    --smalllabel: 13px;
    --smalllabellfontfam: "Roboto", Sans-serif;
    --monogrambg: #f3f3f4;
    --monogramfontsize: clamp(2rem, 1.55rem + 2.25vw, 4.25rem);
    --monogramfontfamily: "Oswald", Sans-serif;

}


/*
//=============================================================================
// ** BASIC SETUP
//=============================================================================
*/

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    line-height: 1.4em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--titlefontfamily);
    font-weight: 600;
}

p {
    font-size: clamp(0.9rem, 0.8924rem + 0.038vw, 0.938rem);
    font-family: var(--spanfontfamily);
}

h4 {
    font-size: clamp(1.1rem, 1.08rem + 0.1vw, 1.2rem);
}

.woocommerce-MyAccount-navigation:not(.custom-myaccount-navigation) {
    display: none;
}

.custom-myaccount-navigation .woocommerce-MyAccount-navigation-link a {
    font-family: var(--menufont);
}

.woocommerce button.button {
    background-color: var(--activecolor);
    color: var(--whiteitem);
    margin-top: 10px;
    font-size: var(--buttonfontsize);
    font-family: var(--titlefontfamily);
    text-transform: uppercase;
    font-weight: 600;
}

.woocommerce button.button:hover {
    background-color: var(--maincolor);
    color: var(--whiteitem);
}


.woocommerce a.button {
    background-color: var(--activecolor);
    color: var(--whiteitem);
    font-size: var(--buttonfontsize);
    font-family: var(--titlefontfamily);
    text-transform: uppercase;
    font-weight: 600;
}

.woocommerce a.button:hover {
    background-color: var(--maincolor);
    color: var(--whiteitem);
}

.woocommerce table.my_account_orders .button {
    white-space: nowrap;
    font-size: 13px;
}


/*
//=============================================================================
// ** LOGIN LAYOUT
//=============================================================================
*/

.hw-myaccount-login {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch;
    background: var(--whiteitem);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.hw-login-media {
    flex: 1 1 320px;
    min-height: 320px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--accentbg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hw-login-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hw-login-media--empty {
    display: none;
}

.hw-login-content {
    flex: 1 1 360px;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hw-login-title {
    font-size: clamp(2rem, 1.7rem + 0.75vw, 2.5rem);
}

.hw-login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: var(--accentbg);
    padding: 30px;
    border-radius: 12px;
}

.hw-login-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.hw-login-form label {
    font-family: var(--menufont);
    font-size: 0.95rem;
    color: var(--maincolor);
}

.hw-login-form input.input-text {
    border-radius: 10px;
    border: 1px solid var(--mainbordercolor);
    padding: 12px 14px;
    font-size: 1rem;
}

.hw-login-form .woocommerce-LostPassword {
    margin: 0;
}

.hw-login-form .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.hw-register-block {
    background: var(--accentbg);
    padding: 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hw-register-block h3 {
    font-size: clamp(1.4rem, 1.25rem + 0.5vw, 1.8rem);
}

.hw-register-block form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hw-register-block .form-row {
    margin: 0;
}

.hw-register-block .form-row input.input-text {
    border-radius: 10px;
    border: 1px solid var(--mainbordercolor);
    padding: 12px 14px;
    font-size: 1rem;
}

@media (max-width: 992px) {
    .hw-myaccount-login {
        gap: 24px;
        padding: 30px;
    }

    .hw-login-content {
        max-width: 100%;
    }
}

@media (max-width: 680px) {
    .hw-myaccount-login {
        padding: 24px;
    }

    .hw-login-media {
        display: none;
    }
}


/*
//=============================================================================
// ** WOOCOMMERCE MEMBERSHIP MYACCOUNT
//=============================================================================
*/


nav.woocommerce-MyAccount-navigation.wc-memberships-members-area-navigation {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    float: none;
}

nav.woocommerce-MyAccount-navigation.wc-memberships-members-area-navigation ul {
    display: flex;
    width: 100%;
    list-style: none;
    padding: 0;
    gap: 15px;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    padding-inline-start: 0;
}

nav.woocommerce-MyAccount-navigation.wc-memberships-members-area-navigation li {
    flex: 0 0 auto;
}

nav.woocommerce-MyAccount-navigation.wc-memberships-members-area-navigation a {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    color: var(--maincolor);
    text-decoration: none;
    font-size: clamp(0.85rem, 0.795rem + 0.275vw, 1.125rem);
}

nav.woocommerce-MyAccount-navigation.wc-memberships-members-area-navigation .is-active a {
    color: var(--activecolor);
}


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

.woocommerce-account .custom-myaccount-navigation {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    padding: 0 30px;
    float: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.woocommerce-account .custom-myaccount-navigation::-webkit-scrollbar {
    display: none;
}

.custom-myaccount-navigation li {
    flex: 0 0 auto;
}

.custom-myaccount-navigation ul {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    gap: 25px;
    margin: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-inline-start: 0;
}

.custom-myaccount-navigation ul::-webkit-scrollbar {
    display: none;
}

.custom-myaccount-navigation .woocommerce-MyAccount-navigation-link a {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    color: var(--maincolor);
    text-decoration: none;
    font-size: clamp(0.85rem, 0.795rem + 0.275vw, 1.05rem);
}

/*
//=============================================================================
// ** WOOCOMMERCE MYACCOUNT CUSTOM NAVIGATION
//=============================================================================
*/

.navigation-arrows {
    display: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: var(--maincolor);
    /* Háttérszín */
    border-radius: 50%;
    /* Kerekített szélek */
    width: 30px;
    height: 30px;
}

.navigation-arrows i {
    display: flex;
}

.navigation-arrows.left {
    left: 0;
    color: white;
    z-index: 1;
}

.navigation-arrows.right {
    right: 0;
    color: white;
    z-index: 1;
}


.woocommerce-MyAccount-navigation.custom-myaccount-navigation {
    overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
}



.custom-myaccount-navigation .is-active a {
    color: var(--activecolor);
}

.custom-myaccount-navigation .is-active i {
    color: var(--activecolor);
}

.custom-myaccount-navigation {
    border-bottom: solid 1px var(--mainbordercolor);
    margin-bottom: 40px;
    margin-top: 00px;
}

@media screen and (max-width: 1024px) {
    .custom-myaccount-navigation {
        margin-top: 0px;
    }
}



/*
//=============================================================================
// ** WOOCOMMERCE MYACCOUNT TOPBAR
//=============================================================================
*/


.myaccount-topbar {
    position: relative;
    background-size: cover;
    text-align: center;
    padding: 20px;
    background-position: center;
    height: var(--topbarheigt);
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 1024px) {
    .myaccount-topbar {
        height: 200px;
    }
}


.myaccount-topbar-wrapper {
    position: relative;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.myaccount-title {
    color: #fff;
    z-index: 1;
}

/*
//=============================================================================
// ** WOOCOMMERCE MYACCOUNT TOPBAR PROFILE SECTION
//=============================================================================
*/


.profile-info-section {
    z-index: 1;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    background: transparent;
    padding: 25px 0;
    margin-top: -50px;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .profile-info-section {
        position: relative;
        margin-top: -30px;
        margin-bottom: 25px;
        padding: 0;
        left: 0;
        transform: none;
    }
}

@media screen and (max-width: 767px) {
    .profile-info-section {
        position: relative;
        margin-top: 0px;
        padding: 0;
        left: 0;
        transform: none;
        margin-bottom: 30px;
    }
}

.profile-info {
    display: flex;
    align-items: center;
    width: 100%;
}

.avatar img.rounded-circle {
    border-radius: 50%;
    border: 3px solid white;
    /* A háttér színével megegyező szegély a kiemeléshez */
}

.monogram-avatar {
    width: 155px;
    height: 155px;
    border-radius: 50%;
    background-color: var(--monogrambg);
    color: var(--maincolor);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--monogramfontsize);
    font-weight: bold;
    margin-left: 20px;
    font-family: var(--monogramfontfamily);
    text-transform: uppercase;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .monogram-avatar {
        height: 125px;
        width: 125px;
    }
}

@media screen and (max-width: 767px) {
    .monogram-avatar {
        height: 95px;
        width: 95px;
        margin-left: 0;
    }
}

@media screen and (max-width: 320px) {
    .monogram-avatar {
        height: 70px;
        width: 70px;
        margin-left: 0;
    }
}

.usercol {
    padding-top: 0px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.username {
    margin-left: 15px;
    font-weight: bold;
}

.user-email {
    margin-left: 15px;
    font-size: 14px;
    font-style: italic;
}

.registration-date {
    margin-left: 15px;
    font-size: 14px;
}

.avatar img {
    height: 155px;
    width: 155px;
    max-width: 100%;
    margin-left: 20px;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .avatar img {
        height: 125px;
        width: 125px;
    }
}

@media screen and (max-width: 767px) {
    .avatar img {
        height: 95px;
        width: 95px;
        margin-left: 0;
    }
}

@media screen and (max-width: 320px) {
    .avatar img {
        height: 70px;
        width: 70px;
        margin-left: 0;
    }
}



.membership-col {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 5px;
    margin-top: 3px;
}

.membership-info {
    position: relative;
    margin-left: 15px;
    background-color: var(--activecolor);
    border-radius: 5px;
    color: var(--whiteitem);
    width: auto;
    font-size: var(--smalllabel);
    font-family: var(--smalllabellfontfam);
    font-weight: 500;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 5px;
    padding-right: 5px;
}

.additional-memberships-count {
    position: relative;
    width: fit-content;
    top: 0;
    right: 0;
    background-color: var(--activecolor);
    color: var(--whiteitem);
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 5px;
    font-weight: 500;
    font-size: var(--smalllabel);
    font-family: var(--smalllabellfontfam);
}

/*
//=============================================================================
// ** WOOCOMMERCE MYACCOUNT EXTEND DASHBOARD 
//=============================================================================
*/

.extrainform {
    padding: 25px;
    margin-top: 20px;
    background-color: var(--accentbg);
}

.extrainform h2 {
    margin-bottom: 10px;
}

.extrainform h3 {
    margin-bottom: 10px;
}

.extrainform h4 {
    margin-bottom: 10px;
}

.extrainform h5 {
    margin-bottom: 10px;
}

.dashboard-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}

.dashboard-column {
    width: calc(50% - 10px);
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.dashboard-column-left,
.dashboard-column-right {
    padding: 10px;
    background-color: var(--accentbg);
    border-radius: 5px;
}

.dashboard-column.dashboard-column-right {
    display: flex;
    align-items: center;
}

.dashboard-column.dashboard-column-left {
    display: flex;
    align-items: center;
}

.dashboard-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--activecolor);
    /* Vajszínű háttér */
    color: var(--whiteitem);
    /* Fehér ikon szín */
    border-radius: 50%;
    /* Kör alak */
    width: 50px;
    /* Egységes szélesség */
    height: 50px;
    /* Egységes magasság */
    margin-right: 15px;
    /* Jobb oldali margó a szövegtől való elválasztáshoz */
}

.dashboard-icon i {
    color: var(--whiteitem);
    font-size: 22px;
}

/* Kis képernyőn egy oszlopban jelenjenek meg */
@media (max-width: 768px) {
    .dashboard-column {
        width: 100%;
        margin-bottom: 20px;
    }
}



/*
//=============================================================================
// ** WOOCOMMERCE MYACCOUNT ADDRESSES
//=============================================================================
*/


.woocommerce-account .woocommerce-Addresses {
    display: none;
}


.hw-addresses {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.hw-address {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    background: var(--whiteitem);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0;
    border-radius: 4px;
}

.hw-address-inner {
    padding: 20px;
}

.hw-address-inner i {
    margin-right: 6px;
}


.hw-address h2 {
    padding-left: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 0;
    margin-bottom: 10px;
    ;
    color: var(--maincolor);
    border-bottom: 1px solid var(--mainbordercolor);
}

.hw-address-details {
    margin-bottom: 20px;
    font-size: 14px;
    flex-grow: 1;
}


.hw-address-details div {
    margin-bottom: 15px;
}

.hw-address-details strong {
    font-weight: bold;
}


.hw-button {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    align-self: flex-start;
    margin: 20px;
    background-color: var(--activecolor);
    color: var(--whiteitem);
    margin-top: 10px;
    font-size: var(--buttonfontsize);
    font-family: var(--titlefontfamily);
    text-transform: uppercase;
    font-weight: 600;
}

a.hw-button {
    transition: background-color .3s ease;
    text-decoration: none !important;
}

.hw-button:hover {
    background-color: var(--maincolor);
    color: var(--whiteitem);
}



/*
//=============================================================================
// ** ENCHANTED TABLE 
//=============================================================================
*/


table {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: inherit;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

table span {

    font-family: var(--spanfontfamily);
    font-weight: 500;

}

.woocommerce thead th a {
    color: white;
}

.woocommerce tfoot th a {
    color: white;
}

.woocommerce-account .wc-memberships-members-area-pagination a span {
    opacity: 1;
}

.woocommerce-table--order-details thead tr th {
    background-color: var(--activecolor);
    color: var(--whiteitem);
}

.woocommerce-table--order-details tfoot>tr:nth-child(odd)>td {
    background-color: hsla(0, 0%, 50.2%, .0705882353);
}

.woocommerce-table--order-details thead tr {
    color: var(--maincolor);
}

.woocommerce-table--order-details tfoot th {
    background-color: hsla(0, 0%, 50.2%, .0705882353);
    color: var(--maincolor);
}

.woocommerce-table--order-details tfoot td {
    background-color: hsla(0, 0%, 50.2%, .0705882353);
    color: var(--maincolor);
}

.order_details tfoot tr th {
    background-color: hsla(0, 0%, 50.2%, .0705882353);
    color: var(--maincolor);
}

th,
td {
    padding: 12px 15px !important;
    text-align: left;
    border-bottom: 1px solid var(--mainbordercolor);
}

td {
    border-top: 1px solid var(--mainbordercolor);
    color: #222222;
}

.woocommerce table.shop_table td {
    border-top: none;
}

table td {
    border: 1px solid var(--mainbordercolor);
}

table th {
    border: 0;
}

th {
    background-color: var(--activecolor);
    color: var(--whiteitem);
    font-weight: normal;
}

thead tr {
    background-color: var(--whiteitem);
    color: #222222;
    text-align: left;
}

thead th {
    text-transform: uppercase;
    font-weight: 700;
}


tbody tr:nth-child(even) {
    background-color: #f3f3f3;
}


tbody tr:hover {
    background-color: #f5f5f5;
}


table a {
    color: var(--activecolor);
    text-decoration: none !important;
    transition: color 0.3s ease;
}

table a:hover {
    color: #222222;
}

tfoot td {
    padding: 10px;
}


table {
    border-radius: 5px;
    overflow: hidden;
}


thead tr:first-child th:first-child {
    border-top-left-radius: 5px;
}

thead tr:first-child th:last-child {
    border-top-right-radius: 5px;
}


tfoot tr:last-child td:first-child {
    border-bottom-left-radius: 5px;
}

tfoot tr:last-child td:last-child {
    border-bottom-right-radius: 5px;
}

/* progressbar.css */

/* progressbar.css */

/* A teljes progress bar konténer */
.progress-bar-container {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

/* Fejléc: százalékos érték megjelenítése a sáv felett */
.progress-bar-header {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 8px;
    color: #333;
}

/* A progress bar "külső" sávja (háttér) */
.progress-bar-outer {
    position: relative;
    height: 30px;
    background: #e0e0e0;
    border-radius: 15px;
    /* Nem használunk overflow:hidden, hogy az ikon kiloghasson */
}

/* A belső, kitöltő sáv, egy színnel (#D3BBA3) */
.progress-bar-inner {
    height: 100%;
    width: 0; /* JS animáció kezdetben 0 */
    background: #D3BBA3;
    border-radius: 15px 0 0 15px;
    transition: width 1s ease-in-out;
}

/* Cipő SVG ikon, abszolút pozícionálva a progress bar-outer-ban */
.progress-bar-icon {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%); /* Középre igazítja az ikon magasságát és vízszintesen is */
    height: 48px !important;
    width: auto;
    /* Az alap pozíciót a JS számolja ki, de alapból a 0%-hoz igazítjuk */
    left: 0%;
    color: #D3BBA3;
    fill: #D3BBA3;
}

/* Skála: a sáv alatt megjelenő 0 és a célérték */
.progress-bar-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 0.9em;
    color: #555;
}



.btn-detail {
    background-color: #d3bba3 !important;          
    color: #222222 !important;
    display: inline-block;
    padding: 10px 20px;
    margin: 20px;
    text-decoration: none;
    box-shadow: 4px 4px 0px 0px #222222;
    transition: background-color 0.3s ease;
    font-family: "Poppins", Helvetica;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.3em;
}

.btn-detail:hover {
    background-color: #D5D5D5 !important;
    color: #222222 !important;
}

.progress-bar-intro,
.progress-bar-container {
    text-align: center;
    max-width: 600px;
    margin: 20px auto;
}

.progress-bar-intro h2 {
    font-weight: 500;
    font-size: 24px !important;
    font-family: var(--titlefontfamily);
	line-height: 1.4em;
}

.gens-refer-a-friend.gens-raf-modern-template{
    margin:50px;
}

.woocommerce img, .woocommerce-page img {
    height: auto;
    max-width: 50%;
}

#customer_login .account-hero {
    margin: 0; 
    min-height: 100%; 
    background: none !important; 
    border-radius: 0px !important; 
}

form.woocommerce-form.woocommerce-form-login.login p.form-row{
    display: flex;
    flex-direction: column;
    flex-wrap: none;
}

#customer_login .form-row-submit{
    display: flex !important;
    text-align: left;
    margin: .25rem 0 1rem 0;
    align-items: center !important;
}

#customer_login .woocommerce-form-login__submit{
    padding: .9rem 1rem !important; 
}

.woocommerce form.login{
    border: none !important;
}

@media (max-width: 768px) {
    .woocommerce-button.button.woocommerce-form-login__submit {
        width: 25% !important;
    }
}

@media (max-width: 480px) {
    .woocommerce-button.button.woocommerce-form-login__submit {
        width: 40% !important;
    }
}

.woocommerce form.register{
    border: none !important;
}

.woocommerce-button.button.woocommerce-form-login__submit {
        width: 40% !important;
    }