/*
Theme Name: Benzakour Oud
Theme URI: https://benzakouroud.com/
Author: Benzakour Oud
Description: Theme WooCommerce RTL premium, porté depuis l'interface originale Benzoud/Tijaro. Palette ivoire, beige, marron et or.
Version: 2.1.5
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.2
Text Domain: benzakour-oud
Tags: e-commerce, rtl-language-support, custom-logo, custom-menu, featured-images, elementor
License: GPL-2.0-or-later
*/
/* ===== BENZAKOUR OUD — FOOTER FIX ===== */

.app-footer-v7 {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 38px max(32px, calc((100vw - 1180px) / 2)) 20px !important;

    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-areas:
        "contact brand social"
        "menu menu menu"
        "copyright copyright copyright" !important;

    gap: 24px 48px !important;
    align-items: start !important;
    align-content: start !important;
    direction: ltr;

    border: 0 !important;
    border-radius: 0 !important;
    background:
        radial-gradient(circle at 50% 0, rgba(225, 176, 82, .12), transparent 38%),
        linear-gradient(135deg, #481713 0%, #6e241f 52%, #4a1815 100%) !important;
    box-shadow: inset 0 1px rgba(241, 207, 130, .18);
}

.app-footer-v7::before,
.app-footer-v7::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    pointer-events: none;
    background: url("assets/images/ui/zellige-side-v6.svg") center / contain no-repeat;
    opacity: .08;
}

.app-footer-v7::before {
    top: -80px;
    right: -65px;
}

.app-footer-v7::after {
    left: -65px;
    bottom: -85px;
}

.footer-contact-v7 {
    grid-area: contact;
}

.footer-brand-v7 {
    grid-area: brand;
}

.footer-social-v7 {
    grid-area: social;
}

.footer-dynamic-menu {
    grid-area: menu;
}

.copyright-v7 {
    grid-area: copyright;
}

.footer-contact-v7,
.footer-brand-v7,
.footer-social-v7 {
    position: relative;
    z-index: 2;
    direction: rtl;
    text-align: center !important;
}

.footer-contact-v7 h4,
.footer-social-v7 h4 {
    margin: 0 0 14px !important;
    color: #f1cf82 !important;
    font-size: 17px !important;
}

.footer-contact-v7 a {
    width: max-content;
    max-width: 100%;
    margin: 9px auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    gap: 8px;
    direction: ltr;
    color: #fff4e1 !important;
    font-size: 13px !important;
}

.footer-contact-v7 .bo-icon {
    color: #e1b052 !important;
}

.footer-brand-v7 {
    gap: 7px !important;
}

.footer-brand-v7 img {
    width: 64px !important;
    height: 64px !important;
    object-fit: contain;
}

.footer-brand-v7 b {
    color: #f1cf82 !important;
    font-size: 24px !important;
    line-height: 1.25;
}

.footer-brand-v7 small {
    color: rgba(255, 244, 225, .8) !important;
    font-size: 12px !important;
}

.footer-social-v7 div {
    display: flex;
    justify-content: center !important;
    gap: 9px;
}

.footer-social-v7 a {
    width: 40px !important;
    height: 40px !important;
    display: grid;
    place-items: center;
    border: 1px solid rgba(241, 207, 130, .28) !important;
    border-radius: 50%;
    color: #f1cf82 !important;
    background: rgba(255, 255, 255, .06) !important;
    transition: .2s ease;
}

.footer-social-v7 a:hover {
    color: #5b1d19 !important;
    background: #f1cf82 !important;
    transform: translateY(-3px);
}

.footer-dynamic-menu {
    width: 100%;
    margin: 4px 0 0 !important;
    padding: 15px 0 0 !important;
    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 22px;
    direction: rtl;
    border-top: 1px solid rgba(241, 207, 130, .15) !important;
}

.footer-dynamic-menu li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.footer-dynamic-menu a {
    color: rgba(255, 244, 225, .85) !important;
    font-size: 12px !important;
}

.copyright-v7 {
    margin: 0 !important;
    padding-top: 2px;
    position: relative;
    z-index: 2;
    color: rgba(255, 244, 225, .55) !important;
    text-align: center;
    direction: rtl;
    font-size: 11px !important;
}

/* Mobile */
@media (max-width: 899px) {
    .app-footer-v7 {
        width: 100% !important;
        margin: 0 !important;
        padding: 30px 18px 26px !important;
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "brand"
            "contact"
            "social"
            "menu"
            "copyright" !important;
        gap: 22px !important;
    }

    .footer-brand-v7 img {
        width: 58px !important;
        height: 58px !important;
    }

    .footer-brand-v7 b {
        font-size: 21px !important;
    }

    .footer-contact-v7 h4,
    .footer-social-v7 h4 {
        font-size: 15px !important;
    }

    .footer-dynamic-menu {
        gap: 9px 16px;
    }
}
/* Les styles visuels sont chargés depuis assets/css pour garder ce fichier léger. */
