/* ============================================================
   QuickShop Common Footer
   No Bootstrap
   No jQuery
============================================================ */

.qs-footer {
    width: 100%;
    margin-top: 0px;

    background: #ffffff;
    color: #172033;

    border-top: 1px solid #e8ebef;

    font-family:
        "Segoe UI",
        Roboto,
        Arial,
        Helvetica,
        sans-serif;
}

.qs-footer,
.qs-footer * {
    font-family:
        "Segoe UI",
        Roboto,
        Arial,
        Helvetica,
        sans-serif;
}


/* ============================================================
   FOOTER MAIN
============================================================ */

.qs-footer-main {
    background: antiquewhite;
}

.qs-footer-container {
    width: min(1400px, calc(100% - 40px));
    margin: 0 auto;
}

.qs-footer-main .qs-footer-container {
    display: grid;
    grid-template-columns:
        minmax(280px, 1.8fr)
        repeat(3, minmax(150px, 1fr));

    gap: 55px;

    padding: 52px 0 48px;
}


/* ============================================================
   BRAND
============================================================ */

.qs-footer-logo {
    display: inline-flex;
    align-items: center;

    text-decoration: none;
}

.qs-footer-logo img {
    display: block;

    width: auto;
    max-width: 210px;
    height: 58px;

    object-fit: contain;
}

.qs-footer-description {
    max-width: 360px;

    margin: 18px 0 25px;

    color: #697386;

    font-size: 16px;
    line-height: 1.7;
}


/* ============================================================
   CONTACT
============================================================ */

.qs-footer-contact {
    display: grid;
    gap: 14px;
}

.qs-footer-contact-item {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    color: #536070;

    font-size: 14px;
    line-height: 1.55;
}

.qs-footer-contact-item strong {
    color: #172033;
    font-weight: 600;
}

.qs-footer-contact-item a {
    color: #536070;
    text-decoration: none;

    transition: color 0.2s ease;
}

.qs-footer-contact-item a:hover {
    color: var(--qs-orange, #ff6500);
}

.qs-footer-contact-icon {
    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #e9f7f0;
    color: var(--qs-green, #159447);
}

.qs-footer-contact-icon svg {
    width: 18px;
    height: 18px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ============================================================
   COLUMNS
============================================================ */

.qs-footer-column {
    padding-top: 5px;
}

.qs-footer-column h3 {
    margin: 0 0 20px;

    color: #172033;

    font-size: 15px;
    font-weight: 700;
}

.qs-footer-column h3::after {
    content: "";

    display: block;

    width: 28px;
    height: 2px;

    margin-top: 9px;

    background: var(--qs-green, #159447);
    border-radius: 10px;
}

.qs-footer-column ul {
    display: grid;
    gap: 11px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.qs-footer-column li {
    margin: 0;
    padding: 0;
}

.qs-footer-column a {
    color: #697386;

    font-size: 15px;
    line-height: 1.5;

    text-decoration: none;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.qs-footer-column a:hover {
    color: var(--qs-green, #159447);
    padding-left: 4px;
}


/* ============================================================
   FOOTER BOTTOM
============================================================ */

.qs-footer-bottom {
    background: #ffffff;
    border-top: 1px solid #e5e8ec;
}

.qs-footer-bottom-inner {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.qs-footer-bottom p {
    margin: 0;

    color: #7a8493;

    font-size: 15px;
    line-height: 1.5;
}

.qs-footer-bottom p strong {
    color: #172033;
}


/* ============================================================
   SOCIAL
============================================================ */

.qs-footer-bottom-right {
    display: flex;
    align-items: center;

    gap: 12px;
}

.qs-footer-bottom-right > span {
    color: #697386;

    font-size: 12px;
    font-weight: 600;
}

.qs-footer-social {
    display: flex;
    align-items: center;

    gap: 7px;
}

.qs-footer-social a {
    width: 31px;
    height: 31px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f1f4f2;
    color: #536070;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.qs-footer-social a:hover {
    background: var(--qs-green, #159447);
    color: #ffffff;
    transform: translateY(-2px);
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1000px) {

    .qs-footer-main .qs-footer-container {
        grid-template-columns:
            1.5fr 1fr 1fr;

        gap: 35px;
    }

    .qs-footer-brand {
        grid-column: 1 / -1;
    }

    .qs-footer-description {
        max-width: 600px;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 700px) {

    .qs-footer {
        margin-top: 40px;
    }

    .qs-footer-container {
        width: min(100% - 30px, 560px);
    }

    .qs-footer-main .qs-footer-container {
        grid-template-columns: 1fr;

        gap: 30px;

        padding: 38px 0 35px;
    }

    .qs-footer-brand {
        grid-column: auto;
    }

    .qs-footer-logo img {
        max-width: 185px;
        height: 52px;
    }

    .qs-footer-description {
        margin-top: 15px;
        margin-bottom: 22px;

        font-size: 13px;
    }

    .qs-footer-column {
        padding-top: 0;
    }

    .qs-footer-column h3 {
        margin-bottom: 15px;
    }

    .qs-footer-column ul {
        gap: 9px;
    }

    .qs-footer-bottom-inner {
        min-height: auto;

        flex-direction: column;
        justify-content: center;

        padding: 20px 0;

        text-align: center;
    }

    .qs-footer-bottom-right {
        justify-content: center;
    }

}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 420px) {

    .qs-footer-container {
        width: min(100% - 24px, 560px);
    }

    .qs-footer-contact-item {
        font-size: 12px;
    }

    .qs-footer-bottom-right {
        flex-direction: column;
        gap: 9px;
    }

}
