/* Footer Menu Collapsible Styles */
.footer-menu-toggle {
    border: none;
    background: transparent;
    transition: transform 0.3s ease;
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-menu-toggle:focus,
.footer-menu-toggle:hover {
    box-shadow: none;
    outline: none;
    text-decoration: none !important;
}

.footer-menu-toggle:after,
.footer-menu-toggle:hover:after,
.footer-menu-toggle:focus:after {
    content: none !important;
    display: none !important;
    width: 0 !important;
}

.footer-menu-toggle-icon {
    transition: transform 0.3s ease;
}

.footer-menu-toggle[aria-expanded="true"] .footer-menu-toggle-icon {
    transform: rotate(180deg);
}

/* Footer Menu Collapse Animation */
.footer-menu .collapse {
    transition: height 0.35s ease;
}

.footer-menu .collapse:not(.show) {
    display: none;
}

@media (min-width: 992px) {
    .footer-menu .collapse {
        display: block !important;
    }
}

/* Footer Bottom Styles */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.footer-bottom-content {
    min-height: 60px;
}

.footer-copyright {
    flex: 1;
    line-height: 1.5;
}

/* Footer Language Selector */
.footer-language-selector {
    flex-wrap: wrap;
}

.footer-language-select-wrapper {
    position: relative;
}


/* Footer Language Select - White background design */
.footer-language-select,
#footerSettingsLanguage,
.footer-bottom select,
.footer-language-select-wrapper select {
    display: block !important;
    width: 100% !important;
    min-width: 140px !important;
    padding: 0.5rem 2.5rem 0.5rem 0.75rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 6px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    -ms-appearance: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}

.footer-language-select:hover,
#footerSettingsLanguage:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #fff !important;
}

.footer-language-select:focus,
#footerSettingsLanguage:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    background-image: none !important;
    border-color: #fff !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    outline: none !important;
}

.footer-language-select option,
#footerSettingsLanguage option {
    background-color: #fff !important;
    color: #495057 !important;
    padding: 0.5rem !important;
}

/* Remove all default arrows */
.footer-language-select::-ms-expand,
#footerSettingsLanguage::-ms-expand {
    display: none !important;
}

.footer-language-select::-webkit-select-arrow,
#footerSettingsLanguage::-webkit-select-arrow {
    display: none !important;
}

/* Custom dropdown arrow - white */
.footer-language-select-wrapper::after {
    content: '';
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #fff;
    pointer-events: none;
    z-index: 10;
}

/* Mobile Responsive Adjustments */
@media (max-width: 767.98px) {
    .footer-bottom-content {
        padding: 1rem 0 !important;
    }

    .footer-copyright {
        font-size: 0.8125rem;
        line-height: 1.6;
    }

    .footer-language-selector {
        width: 100%;
        justify-content: center;
    }

    .footer-language-select {
        flex: 1;
        max-width: 200px;
    }

    .footer-menu .sub-menu__title {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 0 !important;
    }

    .footer-menu .sub-menu__list {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .footer-menu .sub-menu__item {
        padding: 0.5rem 0;
    }

    .footer-menu .sub-menu__item:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

@media (min-width: 768px) {
    .footer-bottom-content {
        padding: 1.25rem 0 !important;
    }
}

/* Smooth transitions */
.footer-menu .sub-menu__list {
    transition: opacity 0.3s ease;
}

.footer-menu .collapse.show .sub-menu__list {
    opacity: 1;
}

/* Footer Menu Title Clickable */
.footer-menu .sub-menu__title span[data-bs-toggle="collapse"] {
    cursor: pointer;
}

/* Footer Store Info */
.footer-store-info .logo__image {
    max-width: 180px;
    height: auto;
}

.footer-address {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}