/*
 * The site's shared footer (layouts/partials/footer.blade.php) is only
 * actually styled by style3.css, which every legacy page loads but these
 * ecommerce pages don't. Loading style3.css wholesale isn't safe here since
 * it redefines Bootstrap's .container/.row (flex, space-between) which these
 * pages rely on — so only the footer-relevant rules are copied here instead.
 */

.footer {
    background-color: #000;
    color: #fff;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left {
    flex: 0 0 auto;
}

.footer-left .logo {
    width: 250px;
    height: auto;
}

.footer-middle {
    flex: 0 0 auto;
    position: relative;
    padding-right: 50px;
}

.footer-middle i {
    background: linear-gradient(90deg, #de0e0e, #fc8823);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 24px;
    margin-right: 10px;
    vertical-align: middle;
}

.footer-middle::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(0deg, #de0e0e, #fc8823);
    height: 200px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.footer-links {
    flex: 0 0 auto;
    padding-left: 50px;
}

.footer-links h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
}

.footer-social {
    flex: 0 0 auto;
}

.footer-social h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-social .social-icons {
    display: flex;
    gap: 15px;
}

.footer-social i {
    background: linear-gradient(90deg, #de0e0e, #fc8823);
    color: black;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: 23px;
    padding-top: 15px;
    margin-bottom: 37px;
    border-top: 1px solid #444;
    font-size: 14px;
}

/* Generic .logo rule from style3.css — needed because the footer's Google
   review image uses class="logo" but sits in .footer-right, which has no
   dedicated sizing rule anywhere; only this bare selector constrains it. */
.logo {
    display: block;
    margin: 0 auto 20px;
    width: 200px;
}

@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-left,
    .footer-middle,
    .footer-links,
    .footer-social {
        width: 100%;
        padding: 0;
    }

    .footer-middle::after {
        display: none;
    }

    .footer-middle {
        padding: 20px 0;
    }

    .footer-links {
        padding: 20px 0;
    }

    .footer-links ul {
        text-align: center;
    }

    .footer-social .social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 30px 15px;
    }

    .footer-left .logo {
        width: 180px;
    }

    .footer-middle i {
        font-size: 20px;
    }

    .footer-links h3,
    .footer-social h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .footer-links ul {
        text-align: left;
    }

    .footer-links ul li {
        margin-bottom: 8px;
    }

    .footer-links ul li a {
        font-size: 14px;
    }

    .footer-social i {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

@media (max-width: 375px) {
    .footer {
        padding: 25px 10px;
    }

    .footer-left .logo {
        width: 150px;
    }

    .footer-middle i {
        font-size: 18px;
    }

    .footer-links h3,
    .footer-social h3 {
        font-size: 16px;
    }

    .footer-links ul li a {
        font-size: 13px;
    }

    .footer-social i {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}
