/* GigaSmak.pl — zalogowany użytkownik */

#panel .upper .gs-member-welcome {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    color: #fff !important;
}

#panel .upper .gs-welcome-text {
    color: #fff !important;
    font-weight: 600 !important;
}

#panel .upper a.gs-logout-btn {
    display: inline-block !important;
    padding: 8px 14px !important;
    color: #274c32 !important;
    background: #fff !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: background .2s ease !important;
}

#panel .upper a.gs-logout-btn:hover {
    color: #fff !important;
    background: #e87935 !important;
}

/* Dolna nawigacja konta */

#panel .lower.gs-member-lower {
    padding: 10px 0 !important;
    background: #f5f7f1 !important;
    border-bottom: 1px solid #e0e7da !important;
}

#panel .gs-member-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

#panel .gs-panel-links,
#panel .gs-user-links {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#panel .gs-panel-links li,
#panel .gs-user-links li {
    margin: 0 !important;
    padding: 0 !important;
}

#panel .gs-panel-links li a,
#panel .gs-user-links li a {
    display: inline-block !important;
    padding: 8px 11px !important;
    color: #344536 !important;
    background: transparent !important;
    border-radius: 7px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease !important;
}

#panel .gs-panel-links li a:hover,
#panel .gs-user-links li a:hover {
    color: #274c32 !important;
    background: #e5eddf !important;
    text-decoration: none !important;
}

@media (max-width: 650px) {
    #panel .gs-member-wrapper {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    #panel .gs-panel-links,
    #panel .gs-user-links {
        justify-content: flex-start !important;
    }

    #panel .gs-panel-links li a,
    #panel .gs-user-links li a {
        padding: 7px 9px !important;
        font-size: 12px !important;
    }
}


.gs-guest-welcome {
display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    color: #fff !important;
}

.gs-welcome-text {
    color: #fff !important;
    font-weight: 500 !important;
}

.gs-guest-welcome a.gs-login-btn,
.gs-guest-welcome a.gs-register-btn {
    display: inline-block !important;
    padding: 9px 15px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: .2s ease !important;
}

.gs-guest-welcome a.gs-login-btn {
    color: #274c32 !important;
    background: #fff !important;
}

.gs-guest-welcome a.gs-login-btn:hover {
    background: #eaf2e6 !important;
}

.gs-guest-welcome a.gs-register-btn {
    color: #fff !important;
    background: #e87935 !important;
}

.gs-guest-welcome a.gs-register-btn:hover {
    background: #cf6425 !important;
}

#quick_login .gs-login-table {
    overflow: hidden !important;
    border: 1px solid #dfe7da !important;
    border-radius: 10px !important;
    background: #fff !important;
}

#quick_login .gs-login-title {
    padding: 14px !important;
    color: #fff !important;
    background: #274c32 !important;
}

@media (max-width: 600px) {
    .gs-guest-welcome {
        gap: 6px !important;
    }

    .gs-guest-welcome a.gs-login-btn,
    .gs-guest-welcome a.gs-register-btn {
        padding: 8px 10px !important;
    }
}


/* =========================================
   GigaSmak.pl — nowy nagłówek
   ========================================= */

#header #logo {
    padding: 20px 0 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e7dc !important;
}

#header .gs-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
}

#header .gs-brand {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    min-width: 0 !important;
}

#header .gs-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

#header .gs-logo-link img {
    display: block !important;
    max-width: 220px !important;
    max-height: 90px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

#header .gs-brand-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

#header .gs-brand-name {
    color: #274c32 !important;
    font-size: 25px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.5px !important;
}

#header .gs-brand-tagline {
    color: #737b6f !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

#header .gs-top-nav {
    flex-shrink: 0 !important;
}

#header ul.menu.top_links {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#header ul.menu.top_links li {
    display: inline-block !important;
    margin: 0 !important;
}

#header ul.menu.top_links li a {
    display: inline-block !important;
    padding: 9px 12px 9px 30px !important;
    border-radius: 7px !important;
    color: #344536 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    background-color: transparent !important;
}

#header ul.menu.top_links li a:hover {
    color: #386641 !important;
    background-color: #edf3e8 !important;
    text-decoration: none !important;
}

/* Pasek użytkownika */

#header #panel .upper {
    padding: 11px 0 !important;
    background: #274c32 !important;
    color: #ffffff !important;
    border: 0 !important;
}

#header .gs-userbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 15px !important;
}

#header .gs-userbar-welcome {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    color: #ffffff !important;
}

#header .gs-userbar-welcome a,
#header .gs-userbar-welcome a:link,
#header .gs-userbar-welcome a:visited,
#header .gs-userbar-welcome a:hover {
    color: #ffffff !important;
}

#header .gs-userbar-search {
    flex: 0 1 auto !important;
    max-width: 320px !important;
}

#header .gs-userbar-search #search {
    display: flex !important;
    float: none !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 !important;
}

#header .gs-userbar-search input.textbox {
    width: 180px !important;
    max-width: 100% !important;
    padding: 7px 10px !important;
    border: 1px solid #dce6d8 !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    color: #303830 !important;
}

#header .gs-userbar-search input.button {
    padding: 7px 11px !important;
    border: 1px solid #e87935 !important;
    border-radius: 6px !important;
    background: #e87935 !important;
    color: #ffffff !important;
}

#header .gs-userbar-search input.button:hover {
    background: #cf5d25 !important;
}

/* Responsywność */

@media (max-width: 900px) {
    #header .gs-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 14px !important;
    }

    #header .gs-top-nav {
        width: 100% !important;
    }

    #header ul.menu.top_links {
        justify-content: flex-start !important;
    }
}

@media (max-width: 600px) {
    #header #logo {
        padding: 15px 0 !important;
    }

    #header .gs-brand {
        gap: 10px !important;
    }

    #header .gs-logo-link img {
        max-width: 130px !important;
        max-height: 65px !important;
    }

    #header .gs-brand-name {
        font-size: 20px !important;
    }

    #header .gs-brand-tagline {
        font-size: 11px !important;
    }

    #header ul.menu.top_links {
        gap: 3px !important;
    }

    #header ul.menu.top_links li a {
        padding: 7px 9px !important;
        background-image: none !important;
        font-size: 12px !important;
    }

    #header .gs-userbar {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    #header .gs-userbar-search {
        max-width: none !important;
        width: 100% !important;
    }

    #header .gs-userbar-search #search {
        width: 100% !important;
    }

    #header .gs-userbar-search input.textbox {
        width: 100% !important;
        min-width: 0 !important;
    }
}
