/* === Ecstasy Custom Footer Styles === */

.ec_custom_footer_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1em 2em;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: inherit;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/*.ec_custom_footer_wrapper {
    all: unset;
    display: block;
    width: 100%;
    clear: both;
    box-sizing: border-box;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}*/

/* Left and Right Blocks */
.ec_custom_footer_left,
.ec_custom_footer_right {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1em;
}

/* Left Logo */
.ec_custom_footer_logo img {
    max-width: 50px;
    max-height: 50px;
    margin-bottom: 0.5em;
    object-fit: contain;
}

/* Left Text */
.ec_custom_footer_left_text {
    display: flex;
    flex-direction: column;
    gap: 0.3em;
}

.ec_custom_footer_left_upper {
    font-size: 0.9em;
    font-weight: bold;
}

.ec_custom_footer_left_lower {
    font-size: 0.85em;
    font-weight: bold;
    font-style: italic;
    color: var(--ec-footer-link-color, #0073aa);
    cursor: pointer;
}

/* Right Upper Text */
.ec_custom_footer_right_upper {
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 0.5em;
    color: inherit;
}

/* Icons Row */
.ec_custom_footer_icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5em;
}

.ec_custom_footer_icon {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
    object-fit: contain;
}

.ec_custom_footer_icon:hover {
    transform: scale(1.1);
}

/* === Responsive Layout === */
@media(min-width: 768px) {
    .ec_custom_footer_wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
        width: 100%;
        box-sizing: border-box;
        flex-wrap: wrap;
        gap: 20px;
    }

    .ec_custom_footer_left {
        flex: 1;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        min-width: 300px;
    }

    .ec_custom_footer_left_text {
        margin-left: 0.75em;
        align-items: flex-start;
    }


    .ec_custom_footer_right {
        flex-direction: column !important;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0.5em;
    }

    .ec_custom_footer_right_upper {
        margin-bottom: 0.5em;
    }

    .ec_custom_footer_icons {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}