
/* =========================================================
   THINK ABOUT BOOKS — APPROVED GLOBAL FOOTER
   ========================================================= */

.tab-site-footer {
    width: 100%;
    margin: 70px 0 0;
    padding: 0;
    clear: both;
    background: #fff;
    color: #071B3D;
    font-family: inherit;
}

.tab-footer-container {
    width: 88%;
    max-width: 1600px;
    margin: 0 auto;
}


/* =========================================================
   NEWSLETTER
   ========================================================= */

.tab-newsletter {
    width: 100%;
    background: linear-gradient(
        90deg,
        #07516D 0%,
        #086B85 48%,
        #1687A3 100%
    );
    color: #fff;
}

.tab-newsletter__inner {
    min-height: 78px;
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(440px, .9fr);
    align-items: center;
    gap: 50px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.tab-newsletter__copy {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tab-newsletter__icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    font-size: 19px;
}

.tab-newsletter__copy strong {
    display: block;
    margin-bottom: 2px;
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
}

.tab-newsletter__copy small {
    display: block;
    color: rgba(255,255,255,.78);
    font-size: 12px;
    line-height: 1.45;
}

.tab-newsletter__form {
    display: grid;
    grid-template-columns: minmax(0,1fr) 150px;
    gap: 10px;
    margin: 0;
}

.tab-newsletter__form input[type="email"] {
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    outline: 0;
    background: #fff;
    color: #071B3D;
    font-size: 13px;
    box-sizing: border-box;
}

.tab-newsletter__form button {
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 20px;
    border: 0;
    border-radius: 6px;
    background: #1596B4;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase;
    cursor: pointer;
}

.tab-newsletter__form button:hover {
    background: #0E7892;
}


/* =========================================================
   MAIN FOOTER
   ========================================================= */

.tab-footer-main {
    width: 100%;
    padding: 38px 0 30px;
    background: #fff;
    border-top: 1px solid #E7EFF2;
}

.tab-footer-grid {
    display: grid;
    grid-template-columns:
        minmax(190px,1.35fr)
        repeat(4,minmax(120px,.85fr))
        minmax(180px,1fr);
    gap: 34px;
    align-items: start;
}


/* Brand */

.tab-footer-brand img {
    display: block;
    width: 175px !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 0 20px !important;
}

.tab-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.tab-footer-social a {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid #D9E6EA;
    border-radius: 50%;
    color: #607181;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.tab-footer-social a:hover {
    border-color: #1687A3;
    color: #1687A3;
}


/* Navigation columns */

.tab-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.tab-footer-column h3 {
    margin: 0 0 7px;
    color: #071B3D;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.tab-footer-column a {
    display: block;
    margin: 0;
    padding: 0;
    color: #526272;
    font-size: 12px;
    line-height: 1.45;
    text-decoration: none;
}

.tab-footer-column a:hover {
    color: #1687A3;
}


/* Meta */

.tab-footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.tab-footer-meta small {
    color: #7A8996;
    font-size: 10px;
    line-height: 1.55;
}

.tab-payment-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tab-payment-labels span {
    color: #1687A3;
    font-size: 10px;
    font-weight: 900;
}

.tab-footer-meta strong {
    color: #607181;
    font-size: 10px;
    line-height: 1.4;
}

.tab-footer-meta b {
    color: #E85A6A;
}


/* =========================================================
   PRODUCT PAGE
   Keep footer aligned with TAB canvas
   ========================================================= */

body.single-product .tab-site-footer {
    width: 100% !important;
    max-width: none !important;
}

body.single-product .tab-footer-container {
    width: 88% !important;
    max-width: 1600px !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .tab-footer-container {
        width: calc(100% - 50px);
    }

    .tab-newsletter__inner {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .tab-footer-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .tab-footer-brand,
    .tab-footer-meta {
        grid-column: auto;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .tab-site-footer {
        margin-top: 45px;
    }

    .tab-footer-container {
        width: calc(100% - 30px);
    }

    .tab-newsletter__form {
        grid-template-columns: 1fr;
    }

    .tab-newsletter__form button {
        width: 100%;
    }

    .tab-footer-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 30px 22px;
    }

    .tab-footer-brand {
        grid-column: 1 / -1;
    }

    .tab-footer-meta {
        grid-column: 1 / -1;
    }

    .tab-footer-brand img {
        width: 155px !important;
    }
}

