/* Header styles - Same as adattovabbitasi_nyilatkozat.css */
#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;
    position: absolute;
    top: 100%;
    left: 0;
}

/* 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;
}

/* Modern dropdown menu styles for navigation */
#navigation .main-nav .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: -200px;
    transform: none;
    background: rgba(255, 255, 255, 0.98);
    padding: 20px;
    border-radius: 0 15px 15px 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 800px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#navigation .main-nav .dropdown:hover .dropdown-content {
    display: flex;
    opacity: 1;
    visibility: visible;
    animation: fadeInDown 0.3s ease forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-column {
    flex: 1;
    padding: 0 15px;
    position: relative;
}

.menu-column:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10%;
    right: 0;
    height: 80%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.1), transparent);
}

.menu-header {
    font-size: 1em;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e6001a;
    display: block;
    transition: all 0.3s ease;
}

.menu-header:hover {
    color: #e6001a;
    transform: translateX(5px);
}

.sub-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sub-menu a {
    color: #555;
    text-decoration: none;
    padding: 6px 0;
    font-size: 0.9em;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.sub-menu a::before {
    content: "→";
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.sub-menu a:hover {
    color: #e6001a;
    transform: translateX(5px);
    padding-left: 20px;
}

.sub-menu a:hover::before {
    opacity: 1;
}

/* Responsive adjustments for navigation */
@media (max-width: 991px) {
    #navigation .main-nav .dropdown-content {
        min-width: 100%;
        left: 0;
        transform: none;
        padding: 15px;
    }

    .menu-column {
        padding: 8px;
    }

    .menu-column:not(:last-child)::after {
        display: none;
    }
}

/* Responsive cart visibility */
@media only screen and (min-width: 991px) {
    #responsive-nav .cart-menu-item {
        display: none !important;
    }
}

@media only screen and (max-width: 991px) {
    .header-ctn .fa-shopping-cart {
        display: none !important;
    }

    .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) {
    .header-ctn .fa-shopping-cart {
        display: none !important;
    }

    .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) {
    .header-ctn .fa-shopping-cart {
        display: none !important;
    }

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

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

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

/* 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%; }
}

/* Footer payments styles */
.footer-payments {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-payments li {
    margin: 0 10px;
}

.footer-payments li a img {
    width: 80px;
    height: 50px;
    object-fit: contain;
    display: block;
}

