/*========================================================================
    Site Footer Styles (Xperts Jewellery)
    ------------------------------------------------------------------------
    Project: Ruby - Jewelry Store e-Commerce
    Shared footer styles. Loaded by the pages that render the
    <footer class="xj-footer"> block.
========================================================================*/
/* =========================================
   XPERTS JEWELLERY FOOTER
========================================= */

.xj-footer {
    position: relative;

    background: #0c1112;

    color: #ffffff;

    overflow: hidden;
}


/* =========================================
   CONTAINER
========================================= */

.xj-footer-container {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;
}


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

.xj-footer-main {
    display: grid;

    grid-template-columns:
        1.35fr
        .75fr
        .9fr
        .7fr
        1.35fr;

    gap: 38px;

    padding: 55px 0 42px;
}


/* =========================================
   BRAND
========================================= */

.xj-footer-brand {
    padding-right: 25px;
}


.xj-footer-logo {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #ffffff;

    text-decoration: none;
}


/* X */

.xj-logo-x {
    position: relative;

    color: #d7a14b;

    font-family: Georgia,
        "Times New Roman",
        serif;

    font-size: 48px;

    font-weight: 400;

    line-height: .8;
}


/* Logo Text */

.xj-logo-text {
    display: flex;

    flex-direction: column;

    line-height: 1;
}


.xj-logo-text strong {
    color: #f4f1ea;

    font-family: Georgia,
        "Times New Roman",
        serif;

    font-size: 20px;

    font-weight: 400;

    letter-spacing: 3.5px;
}


.xj-logo-text small {
    margin-top: 5px;

    color: #b68a4b;

    font-family: Arial,
        sans-serif;

    font-size: 8px;

    letter-spacing: 4.5px;

    text-align: center;
}


/* Tagline */

.xj-footer-tagline {
    margin: 20px 0 0;

    color: #e5e0d8;

    font-family: Georgia,
        "Times New Roman",
        serif;

    font-size: 15px;

    line-height: 1.5;

    font-weight: 400;
}


/* =========================================
   FOOTER COLUMNS
========================================= */

.xj-footer-column {
    padding-left: 28px;

    border-left: 1px solid rgba(255,255,255,.13);
}


.xj-footer-column h4,
.xj-footer-newsletter h4 {
    margin: 2px 0 18px;

    color: #f5f1e9;

    font-family: Arial,
        Helvetica,
        sans-serif;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: .4px;
}


.xj-footer-column ul {
    list-style: none;

    margin: 0;
    padding: 0;
}


.xj-footer-column li {
    margin-bottom: 11px;
}


.xj-footer-column li a {
    color: #a9a7a1;

    font-family: Arial,
        Helvetica,
        sans-serif;

    font-size: 9px;

    text-decoration: none;

    transition:
        color .3s ease,
        padding-left .3s ease;
}


.xj-footer-column li a:hover {
    color: #d3a158;

    padding-left: 4px;
}


/* =========================================
   SOCIAL ICONS
========================================= */

.xj-social-icons {
    display: flex;

    align-items: center;

    gap: 17px;
}


.xj-social-icons a {
    width: 28px;
    height: 28px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #d2d0ca;

    border: 1px solid rgba(255,255,255,.18);

    border-radius: 50%;

    font-size: 11px;

    text-decoration: none;

    transition:
        background .3s ease,
        border-color .3s ease,
        color .3s ease,
        transform .3s ease;
}


.xj-social-icons a:hover {
    background: #b78332;

    border-color: #b78332;

    color: #fff;

    transform: translateY(-3px);
}


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

.xj-footer-newsletter {
    padding-left: 28px;

    border-left: 1px solid rgba(255,255,255,.13);
}


.xj-footer-newsletter p {
    margin: -7px 0 16px;

    color: #888984;

    font-family: Arial,
        Helvetica,
        sans-serif;

    font-size: 8px;

    line-height: 1.6;
}


/* Form */

.xj-newsletter-form {
    display: flex;

    width: 100%;

    height: 35px;
}


.xj-newsletter-form input {
    width: 100%;

    min-width: 0;

    padding: 0 12px;

    background: #f5f1e9;

    border: 0;

    outline: none;

    color: #332b23;

    font-family: Arial,
        Helvetica,
        sans-serif;

    font-size: 9px;
}


.xj-newsletter-form input::placeholder {
    color: #88837a;
}


.xj-newsletter-form button {
    width: 38px;

    flex-shrink: 0;

    border: 0;

    background: #d1a05a;

    color: #fff;

    font-size: 17px;

    cursor: pointer;

    transition:
        background .3s ease;
}


.xj-newsletter-form button:hover {
    background: #a9782f;
}


/* =========================================
   DIVIDER
========================================= */

.xj-footer-divider {
    height: 1px;

    background: rgba(255,255,255,.12);
}


/* =========================================
   BOTTOM
========================================= */

.xj-footer-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    min-height: 55px;
}


.xj-footer-bottom p {
    margin: 0;

    color: #777873;

    font-family: Arial,
        Helvetica,
        sans-serif;

    font-size: 8px;
}


.xj-footer-legal {
    display: flex;

    align-items: center;

    gap: 13px;
}


.xj-footer-legal a {
    color: #85857f;

    font-family: Arial,
        Helvetica,
        sans-serif;

    font-size: 8px;

    text-decoration: none;

    transition: color .3s ease;
}


.xj-footer-legal a:hover {
    color: #d3a158;
}


.xj-footer-legal span {
    width: 1px;
    height: 10px;

    background: rgba(255,255,255,.2);
}


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

@media (max-width: 950px) {

    .xj-footer-main {
        grid-template-columns:
            1fr 1fr 1fr;

        gap: 35px;
    }

    .xj-footer-brand {
        grid-column: span 3;

        padding-bottom: 10px;
    }

    .xj-footer-newsletter {
        padding-left: 0;

        border-left: 0;
    }

}


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

@media (max-width: 600px) {

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


    .xj-footer-main {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 30px 20px;

        padding: 42px 0 30px;
    }


    .xj-footer-brand {
        grid-column: span 2;

        padding: 0 0 10px;
    }


    .xj-footer-column {
        padding-left: 15px;
    }


    .xj-social-column {
        padding-left: 15px;
    }


    .xj-footer-newsletter {
        grid-column: span 2;

        padding: 25px 0 0;

        border-top: 1px solid rgba(255,255,255,.13);
    }


    .xj-footer-bottom {
        display: block;

        padding: 18px 0 20px;
    }


    .xj-footer-bottom p {
        margin-bottom: 12px;
    }


    .xj-footer-legal {
        gap: 10px;
    }

}
