/* ===== Desktop Footer - Left align links ===== */
.footer-links {
    text-align: left !important;
}

.footer-links li {
    text-align: left !important;
}

/* ===== Mobile Bottom Navigation ===== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 8px 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
}

@media (max-width: 767px) {
    .mobile-bottom-nav {
        display: flex !important;
        justify-content: space-around;
        align-items: center;
    }

    body {
        padding-bottom: 70px !important;
    }
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #8E8E93;
    font-size: 10px;
    font-weight: 500;
    padding: 4px 8px;
    position: relative;
    min-width: 60px;
}

.mobile-nav-item:hover,
.mobile-nav-item:focus {
    text-decoration: none;
    color: #8E8E93;
}

.mobile-nav-item .nav-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
}

.mobile-nav-item .nav-icon-active {
    display: none;
}

.mobile-nav-item .nav-icon-default {
    display: block;
}

.mobile-nav-item.active {
    color: #2150F5;
}

.mobile-nav-item.active .nav-icon-active {
    display: block;
}

.mobile-nav-item.active .nav-icon-default {
    display: none;
}

.mobile-nav-cart-count {
    position: absolute;
    top: 0;
    right: 5px;
    background: #E53935;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ===== Mobile Footer ===== */
.mobile-footer {
    display: none;
    background: #1C1C1E;
    padding: 40px 16px 100px 16px;
}

@media (max-width: 767px) {
    .mobile-footer {
        display: block !important;
    }
}

.mobile-footer-content {
    max-width: 100%;
}

.mobile-footer-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.mobile-footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.mobile-footer-col a {
    color: #F2F2F7;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    text-align: left;
}

.mobile-footer-col a:hover {
    color: #fff;
    text-decoration: none;
}

.mobile-footer-col .whatsapp-link {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.mobile-footer-col .whatsapp-link img {
    width: 16px;
    height: 16px;
}

.mobile-footer-social {
    margin: 20px 0;
}

.mobile-footer-social-title {
    color: #F2F2F7;
    font-size: 14px;
    margin-bottom: 12px;
    text-align: left;
}

.mobile-footer-instagram {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.mobile-footer-instagram a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #F2F2F7;
    font-size: 10px;
    text-decoration: none;
    text-align: left;
}

.mobile-footer-instagram a:hover {
    color: #fff;
}

.mobile-footer-instagram img {
    width: 16px;
    height: 16px;
}

.mobile-footer-instagram .instagram-city-only {
    margin-left: 24px;
}

.mobile-footer-other-social {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mobile-footer-other-social a {
    display: flex;
    align-items: center;
}

.mobile-footer-other-social img {
    width: 16px;
    height: 16px;
}

.mobile-footer-other-social img[alt="YouTube"] {
    width: 22px;
    height: 17px;
}

.mobile-footer-copyright {
    color: #8E8E93;
    font-size: 12px;
    text-align: center;
    margin-top: 20px;
}

.footer-align, .copyright-info {
    text-align: left;
}

/* Social icons under WhatsApp */
.mobile-footer-social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
}

.mobile-footer-social-icons a {
    display: flex;
    align-items: center;
}

.mobile-footer-social-icons img {
    width: 16px;
    height: 16px;
}

.mobile-footer-social-icons img[alt="YouTube"] {
    width: 22px;
    height: 17px;
}

/* ===== New Mobile Header ===== */
.mobile-header-new {
    display: none !important;
}

@media (max-width: 767px) {
    .mobile-header-new {
        display: flex !important;
        align-items: center;
        gap: 12px;
        background-color: #2150F5;
        height: 114px;
        padding: 0 16px;
        position: sticky;
        top: 0;
        z-index: 9998;
    }

    /* Hide old mobile header and contacts */
    .top-menu.visible-xs,
    .top-menu.visible-sm,
    .mobile_contacts,
    .header_top_line_wrapper.header-top {
        display: none !important;
    }

    .mobile-header-logo {
        flex-shrink: 0;
    }

    .mobile-header-logo img {
        width: 56px;
        height: 56px;
        border-radius: 50%;
    }

    .mobile-header-search {
        flex: 1;
        position: relative;
    }

    .mobile-header-search input {
        width: 100%;
        height: 44px;
        border: none;
        border-radius: 22px;
        padding: 0 20px;
        font-size: 15px;
        background-color: #fff;
        color: #1C1C1E;
    }

    .mobile-header-search input::placeholder {
        color: #8E8E93;
    }

    .mobile-header-search input:focus {
        outline: none;
    }

    .mobile-header-actions {
        display: flex;
        align-items: center;
        gap: 16px;
        flex-shrink: 0;
    }

    .mobile-header-actions a {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-header-actions img {
        width: 28px;
        height: 28px;
    }

    .mobile-header-actions img[alt="Wishlist"] {
        width: 30.8px;
    }

    /* Mobile currency wrapper and popup */
    .mobile-currency-wrapper {
        display: block;
    }

    .mobile-currency-wrapper .currency_current {
        position: static;
    }

    .mobile-currency-wrapper .currency_current > a {
        display: none;
    }

    .mobile-currency-wrapper .top_header_drop_down.custom-currency {
        display: none !important;
        position: fixed !important;
        top: 114px !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9997 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        border-radius: 0 0 12px 12px !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin-top: 0 !important;
    }

    .mobile-currency-wrapper .top_header_drop_down.custom-currency.mobile-currency-open {
        display: block !important;
    }

    .mobile-currency-wrapper {
        display: block !important;
    }
}

/* Hide mobile currency wrapper on desktop */
@media (min-width: 768px) {
    .mobile-currency-wrapper {
        display: none !important;
    }
}

/* VAT Modal should be on top of currency popup */
#vatModal {
    z-index: 999999 !important;
}

#vatModal + .modal-backdrop,
.modal-backdrop {
    z-index: 999998 !important;
}
