/*
* author: Ants Creation (Pvt) Ltd
* email: info@ants.lk
* web: www.ants.lk
* description: footer styles
*/

/* floating whatsapp */
.floating-icon {
    z-index: 99;
    position: fixed;
    bottom: 40px;
    right: 20px;
}

.floating-icon .wtsapp i {
    color: green;
    font-size: 45px;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 4px;
}

@media only screen and (max-width: 1200px) {
    .floating-icon {
        bottom: 80px;
    }

    .floating-icon .wtsapp i {
        font-size: 35px;
        padding: 4px;
    }
}

@media only screen and (max-width: 768px) {
    .floating-icon {
        bottom: 147px;
    }
}

/* mobile bottom nav — Japan Korean Mart theme */
.aiz-mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    display: flex;
    align-items: stretch;
    background: var(--white);
    border-top: 1px solid rgba(var(--theme_rgba), 0.2);
    box-shadow: 0 -8px 24px rgba(229, 137, 137, 0.14);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    font-family: var(--theme-font);
}

.aiz-mobile-bottom-nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--theme1) 0%, var(--theme3) 100%);
}

.aiz-mobile-bottom-nav__item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    padding: 10px 4px 8px;
    color: var(--theme_black);
    text-decoration: none;
    background: transparent;
    transition: color 0.2s ease, background 0.2s ease;
}

.aiz-mobile-bottom-nav__item:hover,
.aiz-mobile-bottom-nav__item:focus {
    color: var(--theme3);
    text-decoration: none;
    outline: none;
}

.aiz-mobile-bottom-nav__item.is-active,
.aiz-mobile-bottom-nav__item.mobile-nav-active {
    color: var(--theme3);
    background: var(--theme9);
}

.aiz-mobile-bottom-nav__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    line-height: 1;
}

.aiz-mobile-bottom-nav__icon i {
    font-size: 22px;
    line-height: 1;
    color: inherit;
}

.aiz-mobile-bottom-nav__label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
    color: inherit;
}

.aiz-mobile-bottom-nav__badge {
    position: absolute;
    top: -4px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--theme3);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.aiz-mobile-bottom-nav__avatar {
    display: block;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid var(--theme3);
}

.aiz-mobile-bottom-nav__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1199.98px) {
    body {
        padding-bottom: 72px;
    }
}

/* Japan Korean Mart footer */
.jkm-footer {
    background-color: var(--theme9);
    color: var(--font-color);
    font-family: var(--theme-font);
}

.jkm-footer__brand {
    padding: 56px 0 60px;
    text-align: center;
}

.jkm-footer__brand-logo-link {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 16px;
}

.jkm-footer__brand-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: min(1000px, 100%);
    max-height: 120px;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
}

.jkm-footer__brand-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.jkm-footer__brand-word {
    display: inline-block;
}

.jkm-footer__brand-word--japan {
    color: var(--theme1);
}

.jkm-footer__brand-word--korean {
    color: var(--theme5);
}

.jkm-footer__brand-word--mart {
    color: var(--theme10);
}

.jkm-footer__brand-tagline {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
    line-height: 1.6;
    color: var(--txt-color-3);
}

.jkm-footer__links {
    padding-bottom: 48px;
}

.jkm-footer__columns {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 32px 24px;
}

.jkm-footer__col-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--theme_black);
    margin-bottom: 18px;
    text-transform: uppercase;
}

.jkm-footer__col-links li,
.jkm-footer__contact li {
    margin-bottom: 10px;
}

.jkm-footer__col-links a,
.jkm-footer__contact a,
.jkm-footer__contact span {
    color: var(--font-color);
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.jkm-footer__col-links a:hover,
.jkm-footer__contact a:hover {
    color: var(--theme3);
}

.jkm-footer__social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.jkm-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--theme_black);
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.jkm-footer__social-link:hover {
    color: var(--theme3);
    transform: translateY(-1px);
}

.jkm-footer__bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 18px 0 22px;
}

.jkm-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.jkm-footer__copyright {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: 13px;
    color: var(--txt-color-3);
    text-align: left;
}

.jkm-footer__copyright p,
.jkm-footer__copyright div {
    margin: 0;
    text-align: left !important;
}

.jkm-footer__copyright a {
    color: var(--txt-color-3);
    text-decoration: none;
}

.jkm-footer__copyright a:hover {
    color: var(--theme3);
}

.jkm-footer__payments {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.jkm-footer__payment-logo {
    height: 28px;
    width: auto;
    display: block;
}

@media (max-width: 1199.98px) {
    .jkm-footer__columns {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .jkm-footer__brand {
        padding: 40px 0 28px;
    }

    .jkm-footer__brand-logo {
        max-height: 72px;
        max-width: min(500px, 70vw);
    }

    .jkm-footer__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
    }

    .jkm-footer__links {
        padding-bottom: 36px;
    }

    .jkm-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .jkm-footer__payments {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .jkm-footer__columns {
        grid-template-columns: 1fr;
    }

    .jkm-footer__brand-logo {
        max-height: 56px;
        max-width: min(500px, 65vw);
    }

    .jkm-footer__brand-tagline {
        font-size: 13px;
    }
}
