/* =========================================================
   WooManager — Global Footer
   Enamad inside navigation / Centered copyright
   ========================================================= */

/* Base */

.wm-footer-v1 {
    --wm-purple: #7c16e8;
    --wm-ink: #17213a;
    --wm-copy: #667085;

    --display: flex;
    --flex-direction: column;
    --gap: 0px;
    --width: 100%;

    position: relative;
    isolation: isolate;
    direction: rtl;

    display: flex;
    flex-direction: column;
    gap: 0;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;

    margin: 0 !important;
    padding: 36px 24px !important;

    color: var(--wm-ink);
    font-family: inherit;

    background:
        radial-gradient(
            ellipse at 88% 15%,
            #7c16e817,
            transparent 40%
        ),
        radial-gradient(
            ellipse at 10% 72%,
            #489deb0b,
            transparent 40%
        ),
        linear-gradient(
            180deg,
            #fdfcfe,
            #f7f5fa 52%,
            #fcfbfd
        );
}

.wm-footer-v1,
.wm-footer-v1 *,
.wm-footer-v1 *::before,
.wm-footer-v1 *::after {
    box-sizing: border-box;
}

.wm-footer-v1 .e-con {
    --width: 100%;
    --container-widget-width: 100%;
    --container-widget-flex-grow: 0;
    --gap: 0px;

    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: none;
}

.wm-footer-v1 .elementor-widget {
    --container-widget-width: 100%;
    --container-widget-flex-grow: 0;

    min-width: 0;
    max-width: 100%;
    width: 100%;
    margin: 0 !important;
}

.wm-footer-v1 .elementor-widget-container {
    width: 100%;
}

.wm-footer-v1 :where(h2, h3, p, ul) {
    margin: 0;
}

.wm-footer-v1 a {
    text-decoration: none;
}

.wm-footer-v1 .wm-footer-v1__shell {
    width: 100% !important;
    max-width: 1280px !important;
    margin-inline: auto !important;
}

/* CTA */

.wm-footer-v1 .wm-footer-v1__cta {
    display: block !important;
    width: 100%;
    margin: 0 0 24px !important;
}

.wm-footer-v1 .wm-footer-v1__cta-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px !important;

    padding: 38px 44px !important;
    border: 1px solid #ffffff1a;
    border-radius: 22px;

    color: #fff;
    background: #1b1735;
    box-shadow: 0 24px 60px -22px #11182b4d;
}

.wm-footer-v1 .wm-footer-v1__cta-copy {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 10px !important;
    width: 100%;
}

.wm-footer-v1 .wm-footer-v1__cta-title .elementor-heading-title {
    color: #fff;
    font-family: inherit;
    font-size: clamp(24px, 2.1vw, 34px);
    font-weight: 800;
    line-height: 1.65;
    letter-spacing: -.4px;
    text-align: right;
}

.wm-footer-v1 .wm-footer-v1__cta-text,
.wm-footer-v1 .wm-footer-v1__cta-text p {
    color: #c8c1db;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.95;
    text-align: right;
}

.wm-footer-v1 .wm-footer-v1__cta-actions {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 10px !important;
    width: auto !important;
}

.wm-footer-v1 .wm-footer-v1__button {
    width: auto !important;
}

.wm-footer-v1 .wm-footer-v1__button .elementor-button {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 148px;
    min-height: 48px;
    padding: 12px 20px;

    border: 1px solid #ffffff40;
    border-radius: 11px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    white-space: normal;

    box-shadow: none;
    transition: background-color .18s, color .18s;
}

.wm-footer-v1 .wm-footer-v1__button--primary .elementor-button {
    color: #1b1735;
    background: #fff;
    border-color: #fff;
}

.wm-footer-v1 .wm-footer-v1__button--primary .elementor-button:hover {
    background: #eee6ff;
    border-color: #eee6ff;
}

.wm-footer-v1 .wm-footer-v1__button--secondary .elementor-button {
    color: #ece5fa;
    background: transparent;
}

.wm-footer-v1 .wm-footer-v1__button--secondary .elementor-button:hover {
    background: #ffffff12;
    color: #fff;
}

/* Main panel */

.wm-footer-v1 .wm-footer-v1__main {
    display: flex !important;
    flex-direction: column;
    gap: 0 !important;

    overflow: hidden;
    margin-block: 0 !important;
    padding: 0 !important;

    border: 1px solid #7c16e817;
    border-radius: 22px;

    background: #ffffffc7;
    box-shadow: 0 18px 46px -18px #17213a24;

    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.wm-footer-v1 .wm-footer-v1__grid {
    display: grid !important;
    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(0, 2fr)
        142px;

    align-items: start;
    gap: 36px !important;
    width: 100%;
    padding: 42px 40px 36px !important;
}

/* Brand */

.wm-footer-v1 .wm-footer-v1__brand {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 18px !important;
    width: 100%;
}

.wm-footer-v1 .wm-footer-v1__logo {
    width: 178px !important;
    max-width: 100%;
}

.wm-footer-v1 .wm-footer-v1__logo :is(.elementor-widget-container, a) {
    display: flex;
    justify-content: flex-start;
}

.wm-footer-v1 .wm-footer-v1__logo img {
    display: block;
    width: 178px;
    max-width: 100%;
    height: auto !important;
}

.wm-footer-v1 .wm-footer-v1__brand-text,
.wm-footer-v1 .wm-footer-v1__brand-text p {
    color: var(--wm-copy);
    font-family: inherit;
    font-size: 13px;
    line-height: 2;
    text-align: right;
}

/* Shared icon lists */

.wm-footer-v1 :is(
    .wm-footer-v1__trust-points,
    .wm-footer-v1__links
) .elementor-icon-list-items {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.wm-footer-v1 :is(
    .wm-footer-v1__trust-points,
    .wm-footer-v1__links
) .elementor-icon-list-item {
    display: block;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.wm-footer-v1 :is(
    .wm-footer-v1__trust-points,
    .wm-footer-v1__links
) .elementor-icon-list-icon {
    display: none;
}

/* Trust points */

.wm-footer-v1 .wm-footer-v1__trust-points .elementor-icon-list-item {
    position: relative;
    padding-inline-start: 16px;
}

.wm-footer-v1 .wm-footer-v1__trust-points .elementor-icon-list-item::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: .8em;

    width: 6px;
    height: 6px;
    border-radius: 50%;

    background: var(--wm-purple);
    box-shadow: 0 0 0 3px #7c16e814;
}

.wm-footer-v1 .wm-footer-v1__trust-points .elementor-icon-list-text {
    color: #51495f;
    font-size: 12px;
    line-height: 1.9;
}

/* Navigation — three link groups and Enamad */

.wm-footer-v1 .wm-footer-v1__nav {
    display: grid !important;
    grid-column: 2 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 154px;
    gap: 24px !important;
    width: 100%;
}

.wm-footer-v1 .wm-footer-v1__nav-group,
.wm-footer-v1 .wm-footer-v1__enamad {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 18px !important;
    width: 100%;
}

.wm-footer-v1 :is(
    .wm-footer-v1__nav-title,
    .wm-footer-v1__enamad-title
) .elementor-heading-title {
    color: var(--wm-ink);
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.8;
    text-align: right;
}

.wm-footer-v1 .wm-footer-v1__links .elementor-icon-list-item > a {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    padding: 2px 0;
}

.wm-footer-v1 .wm-footer-v1__links .elementor-icon-list-text {
    color: var(--wm-copy);
    font-family: inherit;
    font-size: 12.5px;
    line-height: 1.9;
    overflow-wrap: anywhere;
    transition: color .16s;
}

.wm-footer-v1 .wm-footer-v1__links a:hover .elementor-icon-list-text {
    color: var(--wm-purple);
}

/* Enamad */

.wm-footer-v1 .wm-footer-v1__nav > .wm-footer-v1__enamad {
    width: 142px;
    margin-inline-start: 12px;
}

.wm-footer-v1 .wm-footer-v1__enamad-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;

    width: 100%;
    max-width: 142px;
    min-height: 142px;
    padding: 14px;

    border: 1px solid #7c16e81c;
    border-radius: 16px;

    background: #ffffffa6;
    text-align: center;
}

.wm-footer-v1 .wm-footer-v1__enamad-slot strong {
    color: var(--wm-ink);
    font-size: 12px;
    line-height: 1.8;
}

.wm-footer-v1 .wm-footer-v1__enamad-slot span {
    color: var(--wm-copy);
    font-size: 11px;
    line-height: 1.8;
}

.wm-footer-v1 .wm-footer-v1__enamad-slot img {
    max-width: 100%;
    height: auto;
}

/* Bottom — centered on all devices */

.wm-footer-v1 .wm-footer-v1__bottom {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px !important;

    width: 100%;
    padding: 18px 40px !important;
    border-top: 1px solid #e4e7ec;
}

.wm-footer-v1 .wm-footer-v1__copyright {
    width: 100% !important;
    max-width: 100%;
    align-self: center;

    color: #667085;
    font-size: 11px;
    line-height: 1.9;
}

.wm-footer-v1 .wm-footer-v1__copyright,
.wm-footer-v1 .wm-footer-v1__copyright .elementor-widget-container,
.wm-footer-v1 .wm-footer-v1__copyright .elementor-text-editor,
.wm-footer-v1 .wm-footer-v1__copyright p {
    text-align: center !important;
}

/* Tablet */

@media (max-width: 1100px) {
    .wm-footer-v1 .wm-footer-v1__grid {
        grid-template-columns: minmax(0, 1fr) 142px;
        gap: 32px !important;
        padding: 32px !important;
    }

    .wm-footer-v1 .wm-footer-v1__brand {
        grid-column: 1 / -1;
        max-width: 600px;
    }

    .wm-footer-v1 .wm-footer-v1__nav {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr)) 150px;
    }

    .wm-footer-v1 .wm-footer-v1__nav > .wm-footer-v1__enamad {
        margin-inline-start: 8px;
    }

    .wm-footer-v1 .wm-footer-v1__cta-inner {
        padding: 32px !important;
        gap: 24px !important;
    }

    .wm-footer-v1 .wm-footer-v1__cta-title .elementor-heading-title {
        font-size: 28px;
    }

    .wm-footer-v1 .wm-footer-v1__bottom {
        padding-inline: 32px !important;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .wm-footer-v1 {
        padding: 24px 16px !important;
    }

    .wm-footer-v1 .wm-footer-v1__cta-inner {
        grid-template-columns: minmax(0, 1fr);
        padding: 28px 22px !important;
        gap: 22px !important;
        border-radius: 18px;
    }

    .wm-footer-v1 .wm-footer-v1__cta-title .elementor-heading-title {
        font-size: 24px;
        text-align: center;
    }

    .wm-footer-v1 .wm-footer-v1__cta-text,
    .wm-footer-v1 .wm-footer-v1__cta-text p {
        text-align: center;
        font-size: 13px;
    }

    .wm-footer-v1 .wm-footer-v1__cta-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100% !important;
        gap: 10px !important;
    }

    .wm-footer-v1 .wm-footer-v1__button {
        width: 100% !important;
    }

    .wm-footer-v1 .wm-footer-v1__button .elementor-button {
        min-width: 0;
        width: 100%;
        font-size: 13px;
        padding-inline: 10px;
    }

    .wm-footer-v1 .wm-footer-v1__main {
        border-radius: 18px;
    }

    .wm-footer-v1 .wm-footer-v1__grid {
        grid-template-columns: minmax(0, 1fr);
        padding: 28px 22px !important;
        gap: 30px !important;
    }

    .wm-footer-v1 .wm-footer-v1__brand {
        grid-column: auto;
    }

    .wm-footer-v1 .wm-footer-v1__nav {
        grid-column: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 18px !important;
    }

    .wm-footer-v1 .wm-footer-v1__nav > .wm-footer-v1__nav-group,
    .wm-footer-v1 .wm-footer-v1__nav > .wm-footer-v1__enamad {
        grid-column: auto;
    }

    .wm-footer-v1 .wm-footer-v1__nav > .wm-footer-v1__enamad {
        width: 100%;
        margin-inline-start: 0;
        align-items: center;
    }

    .wm-footer-v1 .wm-footer-v1__enamad-title .elementor-heading-title {
        text-align: center;
    }

    .wm-footer-v1 .wm-footer-v1__enamad-code {
        width: 142px;
    }

    .wm-footer-v1 .wm-footer-v1__bottom {
        flex-direction: column;
        padding: 18px 22px !important;
        gap: 10px !important;
    }
}

/* Narrow mobile — retain existing single-column layout */

@media (max-width: 359px) {
    .wm-footer-v1 .wm-footer-v1__cta-actions,
    .wm-footer-v1 .wm-footer-v1__nav {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Accessibility */

.wm-footer-v1 :focus-visible {
    outline: 2px solid var(--wm-purple);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .wm-footer-v1 * {
        transition: none !important;
        animation: none !important;
    }
}

/* Woodmart stretched container — RTL offset */

.wm-footer-v1.wd-section-stretch {
    width: calc(
        100vw - var(--wd-scroll-w, 0px) - var(--wd-sticky-nav-w, 0px)
    ) !important;

    max-width: none !important;
    min-width: 0 !important;

    left: calc(
        -50% + 50vw - var(--wd-scroll-w, 0px) / 2 - var(--wd-sticky-nav-w, 0px) / 2
    ) !important;

    right: auto !important;
    margin-inline: 0 !important;
}