/* FOOTER STYLES */
.mbp-footer {
    background-color: #fdfaf5;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mbp-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 0;
}

.mbp-footer-col {
    padding: 30px 20px 60px;
    border-right: 1px solid #000;
}

.mbp-footer-col:first-child {
    padding-left: 0;
}

.mbp-footer-col:last-child {
    border-right: none;
    padding-right: 0;
}

/* Col 1: Logo & Newsletter */
.mbp-footer-logo img {
    width: 120px;
    max-width: 100%;
    height: auto;
    margin-bottom: 0px;
}

.mbp-footer-tagline {
    font-size: 14px;
    color: #000;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 280px;
    font-weight: 400;
    text-align: justify;
}

.mbp-footer-stay-updated .mbp-footer-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.mbp-footer-stay-updated p {
    font-size: 13px;
    color: #000;
    margin-bottom: 15px;
}

.mbp-footer-newsletter {
    display: flex;
    flex-direction: row;
    gap: 0;
    width: 100%;
    max-width: 360px;
    align-items: stretch;
    flex-wrap: nowrap !important;
}

.mbp-footer-newsletter.iq-form--inline-row {
    flex-direction: row;
}

.mbp-footer-newsletter input,
.mbp-footer-newsletter .iq-input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    height: 50px;
    min-height: 50px;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-size: 14px;
    outline: none;
    margin: 0;
}

.mbp-footer-newsletter button {
    flex: 0 0 auto;
    background-color: var(--primary-orange);
    color: #fff;
    border: none;
    height: 50px;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 0 10px 10px 0;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
    margin: 0;
}

.mbp-footer-newsletter button:hover {
    background-color: #e05420;
}

/* Common Links Col */
.mbp-footer-col .mbp-footer-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 25px;
    position: relative;
}

.mbp-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mbp-footer-links li {
    margin-bottom: 12px;
}

.mbp-footer-links a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
    transition: all 0.3s ease;
    font-weight: 400;
}

.mbp-footer-links a:hover {
    color: var(--primary-orange);
}

.mbp-footer-empty {
    color: #888;
    font-size: 13px;
    font-style: italic;
}

/* Col 5: Help & Social */
.mbp-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #000;
    text-decoration: none;
    font-weight: 400;
}

.mbp-footer-contact-item i {
    color: var(--primary-orange);
    font-size: 16px;
}

.mbp-footer-contact-item img {
    filter: invert(48%) sepia(93%) saturate(1915%) hue-rotate(342deg) brightness(97%) contrast(93%);
}

.mbp-footer-social {
    margin-top: 30px;
}

.mbp-footer-social .mbp-footer-social-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.mbp-social-icons {
    display: flex;
    gap: 15px;
}

.mbp-social-icons a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    text-decoration: none;
}

.mbp-social-icons a:hover {
    background: var(--primary-orange);
    color: #fff;
    border-color: var(--primary-orange);
}

/* Bottom Bar */
.mbp-footer-bottom {
    background: #f9f6f0;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mbp-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mbp-copyright {
    font-size: 13px;
    color: #666;
}

.mbp-payment-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.mbp-payment-icons img {
    height: 25px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.mbp-payment-icons img:hover {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .mbp-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .mbp-footer-col {
        border-right: none;
        padding: 0;
    }
}

@media (max-width: 768px) {

    .mbp-footer .mbp-container,
    .mbp-footer-grid,
    .mbp-footer-col {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .mbp-footer-col:first-child .mbp-footer-logo img {
        height: 115px;
        width: auto;
        max-width: 100%;
    }

    .mbp-footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mbp-footer-col {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding-bottom: 0;
    }

    .mbp-footer-col:first-child {
        border-bottom: none;
        padding-bottom: 30px;
        text-align: center;
    }

    .mbp-footer-col:first-child .mbp-footer-tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .mbp-footer-col:first-child .mbp-footer-newsletter {
        margin: 0 auto;
        width: 100%;
        min-width: 0;
        max-width: 380px;
        display: grid;
        grid-template-columns: minmax(0, 73fr) minmax(0, 27fr);
        gap: 0;
        align-items: stretch;
        overflow: hidden;
        box-sizing: border-box;
        border-radius: 10px;
    }

    .mbp-footer-col:first-child .mbp-footer-newsletter input,
    .mbp-footer-col:first-child .mbp-footer-newsletter .iq-input {
        flex: 1 1 73%;
        min-width: 0;
        width: auto !important;
        border-right: none;
        border-radius: 10px 0 0 10px;
        min-height: 50px;
        height: 50px;
        padding: 0 18px;
        margin: 0;
    }

    .mbp-footer-col:first-child .mbp-footer-newsletter button {
        flex: 0 0 27%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-height: 50px;
        height: 50px;
        border-radius: 0 10px 10px 0;
        min-width: 0;
        padding: 0 6px;
        font-size: 13px;
        margin: 0;
        overflow: hidden;
    }

    /* Accordion Styles */
    .mbp-footer-col:not(:first-child) .mbp-footer-title {
        padding: 20px 0;
        margin-bottom: 0;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 16px;
    }

    .mbp-footer-col:not(:first-child) .mbp-footer-title::after {
        content: '+';
        font-size: 20px;
        font-weight: 300;
        color: #000;
        transition: transform 0.3s ease;
    }

    .mbp-footer-col:not(:first-child).active .mbp-footer-title::after {
        content: '\2212';
        /* Minus sign */
        transform: rotate(180deg);
    }

    .mbp-footer-col:first-child .mbp-footer-title {
        padding-top: 30px;
        margin-bottom: 15px;
        font-size: 18px;
        text-align: center;
        cursor: default;
    }

    .mbp-footer-col:first-child .mbp-footer-title::after {
        display: none !important;
    }

    .mbp-footer-stay-updated {
        max-height: none !important;
        opacity: 1 !important;
        display: block !important;
    }

    .mbp-footer-links,
    .mbp-footer-contact,
    .mbp-footer-social {
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding-bottom: 0;
    }

    .mbp-footer-col.active .mbp-footer-links,
    .mbp-footer-col.active .mbp-footer-contact,
    .mbp-footer-col.active .mbp-footer-social {
        max-height: 1000px;
        /* Large enough to fit content */
        padding-bottom: 30px;
    }

    .mbp-footer-bottom-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .mbp-payment-icons {
        flex-wrap: wrap;
        justify-content: center;
    }
}