/* Header layout styles */
#top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.header-links li {
    padding: 0 10px;
}

.pull-left {
    justify-content: flex-start;
}

.pull-right {
    justify-content: flex-end;
}

@media only screen and (max-width: 1201px) {
    .container {
        width: auto !important;
    }
}

@media only screen and (min-width: 1170px) {
    .header-ctn>div>a {
        display: block !important;
        position: relative !important;
        width: 91px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1170px) {
    .header-ctn>div>a {
        display: block !important;
        position: relative !important;
        width: 90px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1158px) {
    .header-ctn>div>a {
        display: block !important;
        position: relative !important;
        width: 88px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1146px) {
    .header-ctn>div>a {
        display: block !important;
        position: relative !important;
        width: 87px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1134px) {
    .header-ctn>div>a {
        display: block !important;
        position: relative !important;
        width: 86px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1122px) {
    .header-ctn>div>a {
        display: block !important;
        position: relative !important;
        width: 85px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1110px) {
    .header-ctn>div>a {
        display: block !important;
        position: relative !important;
        width: 84px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1098px) {
    .header-ctn>div>a {
        display: block !important;
        position: relative !important;
        width: 83px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1086px) {
    .header-ctn>div>a {
        display: block !important;
        position: relative !important;
        width: 82px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1074px) {
    .header-ctn>div>a {
        display: block !important;
        position: relative !important;
        width: 81px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1062px) {
    .header-ctn>div>a {
        display: block !important;
        position: relative !important;
        width: 80px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1050px) {
    .header-ctn>div>a {
        display: block !important;
        position: relative !important;
        width: 79px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1038px) {
    .header-ctn>div>a {
        display: block !important;
        position: relative !important;
        width: 78px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1026px) {
    .header-ctn>div>a {
        display: block !important;
        position: relative !important;
        width: 77px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1014px) {
    .header-ctn>div>a {
        display: block !important;
        position: relative !important;
        width: 76px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 1002px) {
    .header-ctn>div>a {
        display: block !important;
        position: relative !important;
        width: 75px !important;
        text-align: center !important;
        color: #FFF !important;
    }
}

@media only screen and (max-width: 991px) {
    .header-ctn {
        padding: 15px 0px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .header-ctn>div+div {
        margin-left: -15px !important;
        margin-right: -20px !important;
    }
}

/* Logo styles */
.header-logo {
    text-align: center;
}

.header-logo .logo {
    display: inline-block;
}

.responsive-logo {
    width: 250px;
    height: 75px;
    border-radius: 15px;
    max-width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .responsive-logo {
        width: 500px;
        height: auto;
    }
}

@media (max-width: 767px) {
    .responsive-logo {
        width: 300px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .responsive-logo {
        width: 300px;
        height: auto;
    }
}

/* Search bar styles */
#search-bar .header-search form {
    display: flex;
    width: 100%;
}

#search-bar .input {
    flex-grow: 1;
    max-width: 450px;
    width: 100%;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
}

.search-btn {
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
}

@media (max-width: 991px) {
    #search-bar .input {
        max-width: 100%;
    }
}

#search-results {
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 5px;
    max-height: 450px;
    overflow-y: auto;
    z-index: 1000;
}

/* Dropdown menu styles */
.dropdown-menu {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px;
    border: none;
}

.dropdown-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-menu li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu .dropdown-item {
    display: block;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f8f8f8;
}

.balance {
    font-weight: bold;
}

/* Rainbow text animation */
.rainbow-text a {
    background: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet, red);
    background-size: 400%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbow-animation 10s linear infinite;
}

@keyframes rainbow-animation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Kosár menüpont elrejtése - desktop és mobil */
@media only screen and (min-width: 991px) {
    #responsive-nav .cart-menu-item {
        display: none !important;
    }
}

@media only screen and (max-width: 991px) {
    /* Eltünteti a Kosár ikont */
    .header-ctn .fa-shopping-cart {
        display: none !important;
    }

    /* Eltünteti a Kosár szöveget */
    .header-ctn .dropdown .qty {
        display: none !important;
    }

    .header-ctn .dropdown .fa-shopping-cart+span {
        display: none !important;
    }

    .header-ctn .cart-dropdown {
        display: none !important;
    }
}

@media only screen and (max-width: 768px) {
    /* Eltünteti a Kosár ikont */
    .header-ctn .fa-shopping-cart {
        display: none !important;
    }

    /* Eltünteti a Kosár szöveget */
    .header-ctn .dropdown .qty {
        display: none !important;
    }

    .header-ctn .dropdown .fa-shopping-cart+span {
        display: none !important;
    }

    .header-ctn .cart-dropdown {
        display: none !important;
    }
}

@media only screen and (max-width: 480px) {
    /* Eltünteti a Kosár ikont */
    .header-ctn .fa-shopping-cart {
        display: none !important;
    }

    /* Eltünteti a Kosár szöveget */
    .header-ctn .dropdown .qty {
        display: none !important;
    }

    .header-ctn .dropdown .fa-shopping-cart+span {
        display: none !important;
    }

    .header-ctn .cart-dropdown {
        display: none !important;
    }
}

/* Footer fizetési módok logók méretezése */
.footer-payments {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-payments li {
    margin: 0 10px; /* A logók közötti távolság */
}

.footer-payments li a img {
    width: 80px;   /* Fix szélesség */
    height: 50px;  /* Fix magasság */
    object-fit: contain; /* A kép arányainak megtartása */
    display: block;
}

