/* Site footer (Contents «پایین صفحه», ID 16) — package 31.
   Same design language as the product page (pdp-essence.css): forest green, gold accents, cream/paper,
   16px panel radius, small gold "eyebrow" labels with a short gold rule.
   Classes only (no inline style), so editing the content in CKEditor keeps the design. */
.eexir-footer {
    --ef-forest: #14231e;
    --ef-forest-2: #1f342c;
    --ef-gold: #c59145;
    --ef-gold-soft: #f1dfbf;
    --ef-paper: #fffdf9;
    --ef-text: #dfe6e1;
    --ef-muted: #9fb0a8;
    --ef-line: rgba(241, 223, 191, .14);
    direction: rtl;
    text-align: right;
    color: var(--ef-text);
    font-family: iransans, Tahoma, sans-serif;
    font-size: 14px;
    line-height: 1.95;
    background:
        radial-gradient(120% 140% at 100% 0, rgba(197, 145, 69, .10), transparent 55%),
        linear-gradient(160deg, var(--ef-forest-2), var(--ef-forest) 70%);
    border-radius: 16px 16px 0 0;
    margin-top: 28px;
    position: relative;
    overflow: hidden;
}
.eexir-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ef-gold) 20%, var(--ef-gold-soft) 50%, var(--ef-gold) 80%, transparent);
}
.eexir-footer *,
.eexir-footer *::before,
.eexir-footer *::after { box-sizing: border-box; }
.eexir-footer .ef-in {
    /* full width of the footer (no 1180px cap): columns spread to both edges on wide screens */
    padding: 40px clamp(24px, 4.5vw, 72px) 28px;
    display: grid;
    grid-template-columns: minmax(220px, 1.25fr) minmax(240px, 1.4fr) minmax(170px, 1fr) auto;
    gap: 32px clamp(28px, 4vw, 72px);
}
.eexir-footer .ef-col { min-width: 0; }

/* brand */
.eexir-footer .ef-logo { display: inline-block; margin: 2px 0 14px; }
/* images/logo-footer.png: the site logo recoloured for the dark footer (cream mark, gold letters) */
.eexir-footer .ef-logo img { display: block; width: 200px; max-width: 100%; height: auto; }
.eexir-footer .ef-brand p { margin: 0; color: var(--ef-muted); font-size: 13px; line-height: 2; }

/* eyebrow + title, like «معرفی محصول / معرفی و بررسی محصول» on the product page */
.eexir-footer .ef-eyebrow { color: var(--ef-gold); font-size: 11.5px; font-weight: 700; margin: 0 0 2px; }
.eexir-footer .ef-title { color: #fff; font-size: 16px; font-weight: 700; margin: 0 0 14px; line-height: 1.6; }
.eexir-footer .ef-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    margin-top: 10px;
    border-radius: 2px;
    background: var(--ef-gold);
}

/* lists */
.eexir-footer ul.ef-list { list-style: none; margin: 0; padding: 0; }
.eexir-footer ul.ef-list li { margin: 0 0 8px; padding: 0; border: 0; background: none; }
.eexir-footer ul.ef-list li:last-child { margin-bottom: 0; }
.eexir-footer a { color: var(--ef-text); text-decoration: none; transition: color .15s; }
.eexir-footer a:hover, .eexir-footer a:focus-visible { color: var(--ef-gold-soft); }
.eexir-footer ul.ef-links a { display: inline-flex; align-items: center; gap: 8px; }
.eexir-footer ul.ef-links a::before {
    content: "";
    width: 6px;
    height: 6px;
    border: 1.5px solid var(--ef-gold);
    border-radius: 50%;
    flex: 0 0 auto;
    transition: background-color .15s;
}
.eexir-footer ul.ef-links a:hover::before { background: var(--ef-gold); }

/* contact rows with gold line icons */
.eexir-footer ul.ef-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--ef-text); }
.eexir-footer ul.ef-contact li::before {
    content: "";
    flex: 0 0 18px;
    height: 18px;
    margin-top: 5px;
    background-color: var(--ef-gold);
    -webkit-mask: var(--ef-ico) center / contain no-repeat;
    mask: var(--ef-ico) center / contain no-repeat;
}
.eexir-footer ul.ef-contact li.ef-address {
    --ef-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
}
.eexir-footer ul.ef-contact li.ef-phone {
    --ef-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E");
}
.eexir-footer ul.ef-contact li.ef-whatsapp {
    --ef-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.3-.5 0-1 .2-3.2-.7-2.7-1.1-4.4-3.9-4.6-4.1-.1-.2-1.1-1.4-1.1-2.7s.7-1.9.9-2.2c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 1.9c.1.1.1.3 0 .5l-.3.5-.4.4c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.4 2.4 1.5.3.1.5.1.6-.1l.9-1c.2-.3.4-.2.6-.1l1.8.9c.3.1.5.2.5.3.1.2.1.7-.1 1.2z'/%3E%3C/svg%3E");
}
.eexir-footer ul.ef-contact li.ef-email {
    --ef-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm8 7.2L20 6H4l8 5.2zM4 8.3V18h16V8.3l-8 5.2-8-5.2z'/%3E%3C/svg%3E");
}
.eexir-footer .ef-ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.eexir-footer .ef-phones { display: flex; flex-direction: column; align-items: flex-start; }

/* trust badges on paper tiles */
.eexir-footer .ef-trust { display: flex; flex-wrap: wrap; gap: 12px; }
.eexir-footer .ef-trust a,
.eexir-footer .ef-trust span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: var(--ef-paper);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 6px 18px -12px rgba(0, 0, 0, .7);
}
.eexir-footer .ef-trust img { max-width: 100%; max-height: 100%; width: auto; height: auto; }

/* bottom bar */
.eexir-footer .ef-bottom { border-top: 1px solid var(--ef-line); background: rgba(0, 0, 0, .18); }
.eexir-footer .ef-bottom-in {
    padding: 12px clamp(24px, 4.5vw, 72px);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 16px;
    color: var(--ef-muted);
    font-size: 12.5px;
}
.eexir-footer .ef-bottom .ef-ltr { font-family: Inter, Roboto, Verdana, Arial, sans-serif; }

@media (max-width: 1100px) {
    .eexir-footer .ef-in { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
}
@media (max-width: 575px) {
    .eexir-footer { border-radius: 14px 14px 0 0; }
    .eexir-footer .ef-in { grid-template-columns: 1fr; padding: 30px 18px 22px; gap: 26px; }
    .eexir-footer .ef-logo img { margin: 0 auto; }
    .eexir-footer .ef-brand { text-align: center; }
    .eexir-footer .ef-trust a, .eexir-footer .ef-trust span { width: 92px; height: 92px; }
    .eexir-footer .ef-bottom-in { justify-content: center; text-align: center; padding: 12px 16px; }
}

/* The Content module wraps the footer in .container > .row > .vc_col-sm-12 (extra 30-60px of padding);
   let it use the same width as the other panels of the page. */
.container:has(> .row > .wpb_content_element .eexir-footer) { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.row:has(> .wpb_content_element .eexir-footer) { margin: 0 !important; }
.wpb_content_element:has(.eexir-footer) { padding: 0 !important; width: 100% !important; }
