/*
* Newsletter Section
*/
.newsletter-section {
    background: var(--bg-cream);
    padding: 50px 20px;
}

.newsletter-container {
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Footer Trust Grid */
.footer-trust-grid {
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-trust-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #885E3C;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.footer-trust-text {
    display: flex;
    flex-direction: column;
}

.footer-trust-text strong {
    color: #0F0F0F;
    font-size: 14px;
    font-weight: 600;
}

.footer-trust-text span {
    color: var(--dark);
    font-size: 12px;
}

/* Footer Newsletter */
.footer-newsletter {
    display: flex;
    align-items: center;
    gap: 20px;
}

.newsletter-text {
    flex: 1;
}

.newsletter-subtitle {
    display: block;
    color: #666;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.newsletter-title {
    color: #0F0F0F;
    font-size: 25px;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: 3px;
}

.newsletter-desc {
    color: #666;
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

.newsletter-desc strong {
    color: #885E3C;
    font-weight: 700;
}

.newsletter-form {
    flex: 1;
    max-width: 450px;
}

.newsletter-form form {
    display: flex;
    gap: 0;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 40px 0 0 40px;
    font-size: 15px;
    outline: none;
    background: #fff;
    color: #0F0F0F;
}

.newsletter-form input[type="email"]::placeholder {
    color: #999;
}

.newsletter-form button {
    padding: 16px 30px;
    background: var(--primary-dark);
    color: #fff;
    border: none;
    border-radius: 0 40px 40px 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #6B4A2F;
}

/*
* Footer New
*/
.footer-new {
    background: linear-gradient(135deg, #2b1e15 0%, #161616 70%);
    padding: 60px 20px 40px;
    color: #0F0F0F;
}

.footer-container {
    margin-left: auto !important;
    margin-right: auto !important;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
}

.footer-col {
    padding: 0;
}

/* Footer About Column */
.footer-about .footer-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: var(--white);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #F5F2EC;
    border-radius: 50%;
    color: #0F0F0F;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #885E3C;
    color: #fff;
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* Footer Headings */
.footer-heading {
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--white);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #885E3C;
    padding-left: 5px;
}

/* Footer Contact */
.footer-contact .contact-info {
    color: #var(--white);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
}

.contact-item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary);
}

.contact-item strong {
    display: block;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}

.contact-item a,
.contact-item span {
    color: var(--white);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #885E3C;
}

/*
* Copyright
*/
.copyright-new {
    background: linear-gradient(135deg, #2b1e15 0%, #161616 70%);
    padding: 20px;
    text-align: center;
    border-top: 0.2px solid var(--primary-dark);
}

.copyright-container {
    margin-left: auto !important;
    margin-right: auto !important;
}

.copyright-new p {
    color: var(--white);
    font-size: 14px;
    margin: 0;
}

.copyright-new a {
    color: var(--primary);
    text-decoration: none;
}

.copyright-new a:hover {
    color: #0F0F0F;
}

/*
* WhatsApp Button
*/
.whatsapp-btn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

/*
* Responsive Footer
*/
@media only screen and (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }

    .newsletter-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-trust-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }

    .footer-newsletter {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form {
        max-width: 100%;
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .footer-trust-grid {
        flex-direction: column;
        gap: 20px;
    }

    .footer-trust-item {
        justify-content: center;
    }
}

@media only screen and (max-width: 576px) {
    .newsletter-section {
        padding: 40px 15px;
    }

    .newsletter-title {
        font-size: 28px;
    }

    .newsletter-form form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input[type="email"] {
        border-radius: 40px;
    }

    .newsletter-form button {
        border-radius: 4px;
        width: 100%;
    }

    .footer-new {
        padding: 40px 15px 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-heading {
        margin-bottom: 20px;
    }

    .whatsapp-btn {
        bottom: 80px;
        right: 15px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-btn svg {
        width: 28px;
        height: 28px;
    }
}

/* Container max-width */
@media(min-width: 960px) {
    .newsletter-container, .footer-container, .paiement-container, .copyright-container {
        max-width: 900px;
    }
}

@media(min-width: 1264px) {
    .newsletter-container, .footer-container, .paiement-container, .copyright-container {
        max-width: 1185px;
    }
}

@media(min-width: 1904px) {
    .newsletter-container, .footer-container, .paiement-container, .copyright-container {
        max-width: 1785px;
    }
}

/*
* Legacy footer styles (keep for compatibility)
*/
footer.footer{
    padding: 50px;
    background-color: #0F0F0F;
    color: #fff;
    font-size: 14px;
}
footer.footer strong{color: #fff; font-size: 20px;}
footer.footer ul{padding: 0px;}
footer.footer ul li{
    list-style: none;
    font-size: 14px;
}
footer.footer a{color: #885E3C;}
footer a.btn-commande{color: #fff;}
footer.footer .col-md-3{padding: 0 15px;}

.copyright{
    padding: 15px 50px;
    background-color: #454545;
    color: #fff;
    font-size: 14px;
    text-align: center;
}
.copyright a{
    color: #885E3C;
}
.footer .horaires .green {
    color: #885E3C;
}
.footer .horaires p {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 10px;
}

/*
* Paiement Sécurisé - Style Carrefour
*/
.paiement-securise {
    background: linear-gradient(135deg, #2b1e15 0%, #161616 70%);
    padding: 25px 20px;
    border-top: 0.2px solid var(--primary-dark);
}

.paiement-container {
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.paiement-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 14px;
}

.paiement-item svg {
    color: var(--primary);
}

.paiement-methods {
    display: flex;
    align-items: center;
    gap: 20px;
}

.paiement-methods img {
    height: 30px;
    width: auto;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.paiement-methods img:hover {
    filter: grayscale(0%);
    opacity: 1;
}
/*.copyright-new, .paiement-securise, .footer-new {
    position: relative;
}
.copyright-new::before, .paiement-securise::before, .footer-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}*/

@media (max-width: 768px) {
    .paiement-container {
        flex-direction: column;
        gap: 20px;
    }

    .paiement-item {
        font-size: 13px;
    }

    .paiement-methods {
        gap: 15px;
    }

    .paiement-methods img {
        height: 25px;
    }
}
