/* ================================================
   ESPRESSIMO FOOTER WIDGET Proto V1
   ================================================ */

.elementor-widget-espressimo_footer_proto_v1 {
    width: 100%;
}

.elementor-widget-espressimo_footer_proto_v1 .elementor-widget-container {
    padding: 0 !important;
    margin: 0 !important;
}

/* ------------------------------------------------
   FOOTER
   ------------------------------------------------ */
.esp-footer {
    background: #ede0d4;
    padding: 32px;
    scroll-margin-top: 90px; /* offset for the sticky header when jumping to #contact */
}

.esp-footer__card {
    border: 1px solid #d4c4bc;
    border-radius: 16px;
    overflow: hidden;
}

.esp-footer__inner {
    display: flex;
}

/* Columns */
.esp-footer__contact,
.esp-footer__links,
.esp-footer__brands,
.esp-footer__form-col {
    flex: 1;
    padding: 32px;
}

/* Dividers between columns (RTL — border on left side) */
.esp-footer__links,
.esp-footer__brands,
.esp-footer__form-col {
    border-right: 1px solid #d4c4bc;
}

/* Column heading */
.esp-footer__col-heading {
    font-family: 'Dialect PM', sans-serif;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #75605a;
    margin: 0 0 16px 0;
    font-weight: 400;
}

/* ------------------------------------------------
   CONTACT COLUMN
   ------------------------------------------------ */
.esp-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.esp-footer__contact .esp-footer__col-heading {
    margin: 0;
}

.esp-footer__logo {
    max-height: 48px;
    width: auto;
    object-fit: contain;
    object-position: right;
    display: block;
    margin-bottom: 4px;
}

.esp-footer__contact-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 16px;
    font-family: 'Dialect PM', sans-serif;
    color: #522c25;
}

.esp-footer__contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #75605a;
}
/* client Case 9: contact rows are now links (tel/wa.me/mailto) — keep the text look */
a.esp-footer__contact-item {
    text-decoration: none;
    transition: color 0.15s;
}
a.esp-footer__contact-item:hover,
a.esp-footer__contact-item:hover span {
    color: #8b3a00;
}

.esp-footer__contact-item svg {
    flex-shrink: 0;
}

.esp-footer__contact-item--bold span {
    font-weight: bold;
    color: rgba(82, 44, 37, 0.8);
}

/* ------------------------------------------------
   LINKS COLUMN
   ------------------------------------------------ */
.esp-footer__links-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.esp-footer__links-list a {
    font-family: 'Dialect PM', sans-serif;
    font-size: 17px;
    color: #75605a;
    text-decoration: none;
    transition: color 0.2s;
}

.esp-footer__links-list a:hover {
    color: #8b3a00;
}

/* ------------------------------------------------
   BRANDS COLUMN
   ------------------------------------------------ */
.esp-footer__brands-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.esp-footer__brands-list a {
    font-family: 'Dialect PM', sans-serif;
    font-size: 17px;
    font-weight: 600 !important;   /* bolder per client (beats the Style-tab weight) */
    color: #75605a;
    text-decoration: none;
    transition: color 0.2s;
}

.esp-footer__brands-list a:hover {
    color: #8b3a00;
}

/* ------------------------------------------------
   FORM COLUMN
   ------------------------------------------------ */
.esp-footer__form-col {
    display: flex;
    flex-direction: column;
}

.esp-footer__form-col .esp-footer__col-heading {
    margin: 0 0 8px 0;
}

.esp-footer__form-subtitle {
    font-family: 'Dialect PM', sans-serif;
    font-size: 16px;
    color: #75605a;
    line-height: 1.625;
    margin: 0 0 16px 0;
}

.esp-footer__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.esp-footer__form input[type="text"],
.esp-footer__form textarea {
    background: #f6ede3 !important;
    border: 1px solid #d4c4bc !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    color: #522c25 !important;
    font-size: 16px !important;
    font-family: 'Dialect PM', sans-serif !important;
    outline: none !important;
    resize: none;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s;
    box-shadow: none !important;
    -webkit-appearance: none;
}

.esp-footer__form input[type="text"]::placeholder,
.esp-footer__form textarea::placeholder {
    color: rgba(82, 44, 37, 0.35);
}

.esp-footer__form input[type="text"]:focus,
.esp-footer__form textarea:focus {
    border-color: #c46500;
}

.esp-footer__form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.esp-footer__form-checkbox input[type="checkbox"] {
    margin-top: 2px;
    accent-color: #8b3a00;
    flex-shrink: 0;
}

.esp-footer__form-checkbox span {
    font-family: 'Dialect PM', sans-serif;
    font-size: 14px;
    color: #75605a;
    line-height: 1.4;
}

.esp-footer__form-checkbox span a {
    color: #75605a;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.2s;
}

.esp-footer__form-checkbox span a:hover {
    opacity: 1;
    color: #8b3a00;
}

.esp-footer__form-submit,
.esp-footer__form-submit:visited,
.esp-footer__form-submit:focus {
    background: #8b3a00 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-size: 16px !important;
    font-family: 'Dialect PM', sans-serif !important;
    width: fit-content !important;
    max-width: fit-content !important;
    display: inline-block !important;
    cursor: pointer;
    transition: background 0.2s;
    outline: none;
    box-shadow: none !important;
    text-decoration: none !important;
}

.esp-footer__form-submit:hover {
    background: #a34500 !important;
    color: #fff !important;
}

/* client Case 10: enlarge the expert form ("דברו עם המומחה") fonts for readability */
.esp-footer__form-col .esp-footer__col-heading { font-size: 17px !important; }
.esp-footer__form-col .esp-footer__form-subtitle { font-size: 18px !important; }
.esp-footer__form-col .esp-footer__form input[type="text"],
.esp-footer__form-col .esp-footer__form textarea { font-size: 18px !important; }
.esp-footer__form-col .esp-footer__form-checkbox span { font-size: 16px !important; }
.esp-footer__form-col .esp-footer__form-submit { font-size: 18px !important; }

/* ------------------------------------------------
   BOTTOM BAR
   ------------------------------------------------ */
.esp-footer__bottom {
    border-top: 1px solid #d4c4bc;
    background: #e0d0c4;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.esp-footer__copyright {
    font-family: 'Dialect PM', sans-serif;
    font-size: 16px;
    color: #75605a;
    white-space: nowrap;
}

.esp-footer__bottom-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.esp-footer__bottom-links a {
    font-family: 'Dialect PM', sans-serif;
    font-size: 16px;
    color: #75605a;
    text-decoration: none;
    transition: opacity 0.2s;
}

.esp-footer__bottom-links a:hover {
    opacity: 0.9;
    color: #8b3a00;
}

.esp-footer__bottom-sep {
    font-family: 'Dialect PM', sans-serif;
    font-size: 16px;
    color: rgba(82, 44, 37, 0.25);
}

.esp-footer__attribution {
    font-family: 'Dialect PM', sans-serif;
    font-size: 16px;
    color: #75605a;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.esp-footer__attribution:hover {
    opacity: 0.8;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .esp-footer {
        padding: 20px;
    }
    .esp-footer__inner {
        flex-wrap: wrap;
    }
    /* 2-column layout: each takes half width */
    .esp-footer__contact,
    .esp-footer__links,
    .esp-footer__brands,
    .esp-footer__form-col {
        flex: 1 1 50%;
        box-sizing: border-box;
        padding: 24px;
    }
    /* When wrapping, RTL dividers between adjacent columns look awkward;
       reset all then re-apply only to the left item of each pair */
    .esp-footer__links,
    .esp-footer__brands,
    .esp-footer__form-col {
        border-right: none;
    }
    .esp-footer__contact,
    .esp-footer__brands {
        border-left: 1px solid #d4c4bc;
    }
}

@media (max-width: 560px) {
    .esp-footer {
        padding: 16px;
    }
    /* Keep the row wrapping so links + brands can sit side by side (item 14). */
    .esp-footer__inner {
        flex-wrap: wrap;
    }
    .esp-footer__contact,
    .esp-footer__links,
    .esp-footer__brands,
    .esp-footer__form-col {
        padding: 20px 18px;
        border-left: none !important;
        border-right: none !important;
        border-top: 1px solid #d4c4bc;
        box-sizing: border-box;
    }
    /* Item 13/15 — contact block full width and centred. */
    .esp-footer__contact,
    .esp-footer__form-col {
        flex: 1 1 100%;
    }
    .esp-footer__contact {
        border-top: none;
        text-align: center;
    }
    .esp-footer__contact .esp-footer__logo {
        margin: 0 auto;
    }
    .esp-footer__contact-items {
        align-items: center;
    }
    .esp-footer__contact-item {
        justify-content: center;
    }
    /* Item 14/15 — links + brands as two centred columns. */
    .esp-footer__links,
    .esp-footer__brands {
        flex: 1 1 50%;
        text-align: center;
    }
    .esp-footer__links-list,
    .esp-footer__brands-list {
        align-items: center;
    }
    .esp-footer__logo {
        max-width: 100%;
    }
    /* Centre the bottom / copyright row too. */
    .esp-footer__bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        padding: 18px;
    }
    .esp-footer__bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .esp-footer__copyright {
        white-space: normal;
    }
}

/* ------------------------------------------------
   FOOTER FORMS — Elementor Pro Form templates rendered in the form column
   ("דברו עם מומחה" + "הצטרפו למועדון"). Skinned to match the footer.
   ------------------------------------------------ */
.esp-footer__eform { width: 100%; }
.esp-footer__eform .e-con,
.esp-footer__eform .e-con-inner { padding: 0 !important; }
.esp-footer__club-heading { margin-top: 28px !important; }

.esp-footer__eform .elementor-field-textual {
    background: #f6ede3 !important;
    border: 1px solid #d4c4bc !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    min-height: 0 !important;
    color: #522c25 !important;
    font-size: 18px !important;
    font-family: 'Dialect PM', sans-serif !important;
    box-shadow: none !important;
}
.esp-footer__eform .elementor-field-textual::placeholder { color: rgba(82, 44, 37, 0.35); }
.esp-footer__eform .elementor-field-textual:focus { border-color: #c46500 !important; outline: none !important; }

.esp-footer__eform .elementor-field-type-acceptance .elementor-field-subgroup,
.esp-footer__eform .elementor-field-type-acceptance label {
    font-family: 'Dialect PM', sans-serif !important;
    font-size: 16px !important;
    color: #75605a !important;
    line-height: 1.4;
}
.esp-footer__eform .elementor-field-type-acceptance input[type="checkbox"] { accent-color: #8b3a00; }
.esp-footer__eform .elementor-field-type-acceptance a { color: inherit !important; text-decoration: underline; }

.esp-footer__eform .elementor-button {
    background: #8b3a00 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-size: 18px !important;
    font-family: 'Dialect PM', sans-serif !important;
    box-shadow: none !important;
    transition: background 0.2s;
}
.esp-footer__eform .elementor-button:hover { background: #a34500 !important; }
.esp-footer__eform .e-form__buttons { justify-content: flex-start !important; }

.esp-footer__eform .elementor-message { font-family: 'Dialect PM', sans-serif; font-size: 16px; }
.esp-footer__eform .elementor-message-success { color: #2e7d32; }
.esp-footer__eform .elementor-message-danger,
.esp-footer__eform .elementor-error .elementor-field-textual { color: #cc1818 !important; border-color: #cc1818 !important; }

/* === Footer fonts x1.3 (client 2026-10-07: x2, then 35% smaller) === */
/* Generated: every footer font-size from this file and from the widget's Elementor typography, doubled. */
html body .esp-footer__attribution { font-size: 20.8px !important; }
html body .esp-footer__bottom-links a { font-size: 20.8px !important; }
html body .esp-footer__copyright { font-size: 20.8px !important; }
html body .esp-footer__eform .elementor-button { font-size: 20.8px !important; }
html body .esp-footer__form-subtitle { font-size: 20.8px !important; }
html body .esp-footer__contact-item { font-size: 20.8px !important; }
html body .esp-footer__brands-list a { font-size: 22.1px !important; }
html body .esp-footer__links-list a { font-size: 22.1px !important; }
html body .esp-footer__col-heading { font-size: 18.2px !important; }
html body .esp-footer__col-heading { font-size: 18.2px !important; }
html body .esp-footer__contact-items { font-size: 20.8px !important; }
html body .esp-footer__links-list a { font-size: 22.1px !important; }
html body .esp-footer__brands-list a { font-size: 22.1px !important; }
html body .esp-footer__form-subtitle { font-size: 20.8px !important; }
html body .esp-footer__form input[type="text"], html body .esp-footer__form textarea { font-size: 20.8px !important; }
html body .esp-footer__form-checkbox span { font-size: 18.2px !important; }
html body .esp-footer__form-submit, html body .esp-footer__form-submit:visited, html body .esp-footer__form-submit:focus { font-size: 20.8px !important; }
html body .esp-footer__form-col .esp-footer__col-heading { font-size: 22.1px !important; }
html body .esp-footer__form-col .esp-footer__form-subtitle { font-size: 23.4px !important; }
html body .esp-footer__form-col .esp-footer__form input[type="text"], html body .esp-footer__form-col .esp-footer__form textarea { font-size: 23.4px !important; }
html body .esp-footer__form-col .esp-footer__form-checkbox span { font-size: 20.8px !important; }
html body .esp-footer__form-col .esp-footer__form-submit { font-size: 23.4px !important; }
html body .esp-footer__copyright { font-size: 20.8px !important; }
html body .esp-footer__bottom-links a { font-size: 20.8px !important; }
html body .esp-footer__bottom-sep { font-size: 20.8px !important; }
html body .esp-footer__attribution { font-size: 20.8px !important; }
html body .esp-footer__eform .elementor-field-textual { font-size: 23.4px !important; }
html body .esp-footer__eform .elementor-field-type-acceptance .elementor-field-subgroup, html body .esp-footer__eform .elementor-field-type-acceptance label { font-size: 20.8px !important; }
html body .esp-footer__eform .elementor-button { font-size: 23.4px !important; }
html body .esp-footer__eform .elementor-message { font-size: 20.8px !important; }

/* Expert contact buttons (replaced the expert form) */
.esp-footer__talk { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.esp-footer__talk-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 22px; border-radius: 8px;
    font-family: 'Dialect PM', sans-serif; font-size: 20.8px; line-height: 1.1;
    text-decoration: none !important; direction: ltr; transition: background 0.2s;
}
.esp-footer__talk-btn svg { width: 1.1em; height: 1.1em; flex: none; }
.esp-footer__talk-btn--wa { background: #25d366; color: #fff !important; }
.esp-footer__talk-btn--wa:hover { background: #1ebe5a; }
.esp-footer__talk-btn--tel { background: #8b3a00; color: #fff !important; }
.esp-footer__talk-btn--tel:hover { background: #a34500; }
@media (max-width: 560px) { .esp-footer__talk-btn { font-size: 16.9px; padding: 10px 16px; } }

/* Contact lines on a phone: same x1.3, and wrap instead of clipping if a line is still too long. */
@media (max-width: 560px) {
    html body .esp-footer__contact-item, html body .esp-footer__contact-items { font-size: 20.8px !important; }
    html body .esp-footer__contact-item { flex-wrap: wrap; overflow-wrap: anywhere; min-width: 0; }
}

/* Client 2026-10-07: 30% less space between rows (line-height 1.5 -> 1.35, list gaps x0.7)
   and the English brand names 25% smaller. */
html body .esp-footer__links-list a,
html body .esp-footer__brands-list a,
html body .esp-footer__contact-item,
html body .esp-footer__contact-items { line-height: 1.35 !important; }
html body .esp-footer__links-list,
html body .esp-footer__brands-list { row-gap: 4.2px !important; }
html body .esp-footer__contact-items { row-gap: 7px !important; }
html body .esp-footer__brands-list a { font-size: 16.6px !important; }

/* Client 2026-10-07: one look for every contact line (no bold phone; the e-mail falls back to a
   wider Latin font, so it is scaled to the same visual height), and every line reads as a link. */
html body .esp-footer__contact-item,
html body .esp-footer__contact-item span { font-weight: 400 !important; color: #75605a !important; }
html body .esp-footer__contact-item--latin span { font-size: 1em; letter-spacing: 0.01em; } /* was 0.82em; the site-wide Latin scaling (2026-10-19) covers it */
html body a.esp-footer__contact-item:hover span { color: #8b3a00 !important; text-decoration: underline; text-underline-offset: 3px; }

/* Client 2026-10-07: both expert buttons on one row, and smaller club-form fields. */
html body .esp-footer__talk { flex-wrap: nowrap; gap: 8px; }
html body .esp-footer__talk-btn {
    flex: 1 1 0; min-width: 0; justify-content: center; white-space: nowrap;
    padding: 9px 12px; gap: 8px; font-size: 17px !important;
}
html body .esp-footer__eform .elementor-field-textual {
    font-size: 17px !important;
    padding: 6px 12px !important;
}

/* Client 2026-10-07: brand names in regular weight. */
html body .esp-footer__brands-list a { font-weight: 400 !important; }

/* Bottom bar text: #68534d on #e0d0c4 = 4.77:1 (was #75605a = 3.9:1), 2026-10-20 */
.esp-footer__bottom .esp-footer__copyright,
.esp-footer__bottom .esp-footer__bottom-links a,
.esp-footer__bottom .esp-footer__attribution { color: #68534d; }
.esp-footer__bottom .esp-footer__bottom-links a:hover { color: #8b3a00; }
