/* =====================================
   PRINTINDA FOOTER - ISOLATED CSS
===================================== */

#pi-footer,
#pi-footer *,
#pi-footer *::before,
#pi-footer *::after {
    box-sizing: border-box;
}

#pi-footer.pi-footer-wrap {
    background: linear-gradient(135deg, #fff7fb 0%, #f7f4ff 48%, #eefcff 100%);
    color: #1f1f2b;
    padding: 78px 24px 34px;
    position: relative;
    border-top: 1px solid rgba(255, 111, 174, 0.18);
}

#pi-footer .pi-footer-top {
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr 1.5fr;
    gap: 38px;
}

#pi-footer .pi-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#pi-footer .pi-footer-logo-link {
    display: block;
    line-height: 0;
    margin: 0 0 10px;
}

#pi-footer .pi-footer-logo-img {
    width: 190px;
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.25s ease;
}

#pi-footer .pi-footer-logo-img:hover {
    transform: scale(1.03);
}

#pi-footer .pi-footer-tagline {
    margin: 0 0 22px;
    padding: 0;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
    color: #55515f;
}

#pi-footer .pi-footer-title,
#pi-footer .pi-footer-toggle {
    font-size: 16px;
    font-weight: 900;
    color: #111018;
    margin: 0 0 14px;
}

#pi-footer p {
    color: #55515f;
    line-height: 1.65;
    margin: 0 0 14px;
}

#pi-footer .pi-footer-links a {
    display: block;
    color: #55515f;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 9px;
    transition: 0.22s ease;
}

#pi-footer .pi-footer-links a:hover {
    color: #ff4f9d;
    transform: translateX(4px);
}

#pi-footer .pi-footer-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: default;
    text-align: left;
    font-family: inherit;
}

#pi-footer .pi-footer-newsletter-form {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin: 14px 0 10px;
    width: 100%;
}

#pi-footer .pi-footer-newsletter-form input {
    width: 100%;
    height: 54px !important;
    min-height: 54px;
    max-height: 54px;
    padding: 0 20px !important;
    line-height: 54px !important;
    border: 1px solid #e5d7df;
    border-radius: 999px;
    font-size: 15px;
    background: #fff;
    color: #1f1f2b;
    appearance: none;
    -webkit-appearance: none;
}

#pi-footer .pi-footer-newsletter-form input:focus {
    border-color: #ff6fae;
    outline: none;
}

#pi-footer .pi-footer-newsletter-form button {
    flex: 0 0 auto;
    height: 54px;
    padding: 0 28px;
    border: none;
    border-radius: 999px;
    background: #ff6fae;
    color: #fff;
    font-weight: 900;
    font-size: 16px;
    line-height: 54px;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 10px 22px rgba(255,111,174,0.3);
}

#pi-footer .pi-footer-newsletter-form button:hover {
    transform: translateY(-2px);
    background: #ff4f9d;
}

#pi-footer .pi-footer-newsletter-message {
    font-size: 13px;
    color: #d93682 !important;
    min-height: 18px;
    margin-bottom: 14px !important;
}

#pi-footer .pi-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#pi-footer .pi-footer-socials a {
    display: inline-flex;
    align-items: center;
    margin: 0;
    color: #55515f;
    text-decoration: none;
    font-size: 14px;
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 111, 174, 0.16);
    box-shadow: 0 8px 18px rgba(0,0,0,0.04);
    font-weight: 700;
    transition: 0.22s ease;
}

#pi-footer .pi-footer-socials a:hover {
    color: #ff4f9d;
    transform: translateY(-2px);
}

#pi-footer .pi-footer-socials i {
    color: #ff6fae;
    margin-right: 5px;
}

#pi-footer .pi-footer-trust {
    max-width: 1360px;
    margin: 42px auto 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 18px;
    text-align: center;
}

#pi-footer .pi-footer-trust-item {
    background: transparent;
    color: #44404f;
    border: none;
    padding: 0;
    font-size: 15px;
    font-weight: 900;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

#pi-footer .pi-footer-trust-item i {
    color: #ff6fae;
    font-size: 21px;
}

#pi-footer .pi-footer-trust .pi-footer-trust-item:not(:last-child)::after {
    content: "|";
    margin-left: 18px;
    color: rgba(255, 111, 174, 0.45);
    font-weight: 700;
}

#pi-footer .pi-footer-trust-divider {
    display: none;
}

#pi-footer .pi-footer-payment-methods {
    max-width: 1360px;
    margin: 0 auto;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 111, 174, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

#pi-footer .pi-footer-payment-methods span {
    width: 100%;
    text-align: center;
    font-weight: 900;
    color: #33313d;
    font-size: 15px;
}

#pi-footer .pi-footer-payment-image {
    width: 380px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 12px auto 0;
    transition: transform 0.25s ease;
}

#pi-footer .pi-footer-bottom {
    max-width: 1360px;
    margin: 28px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 111, 174, 0.2);
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

#pi-footer .pi-footer-bottom p {
    font-size: 13px;
    margin: 0;
    color: #6a6574;
}

/* Hide mobile floating nav by default: desktop + tablet */
#pi-footer .pi-mobile-floating-nav {
    display: none !important;
}

/* Back to top */
#pi-footer .pi-footer-back-top {
    position: fixed;
    right: 22px;
    bottom: 92px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: #ff6fae;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.25s ease;
    z-index: 9998;
    box-shadow: 0 12px 25px rgba(255, 111, 174, 0.35);
}

#pi-footer .pi-footer-back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Tablet */
@media (max-width: 1100px) {
    #pi-footer .pi-footer-top {
        grid-template-columns: repeat(2, 1fr);
    }

    #pi-footer .pi-footer-trust {
        flex-wrap: wrap;
    }

    #pi-footer .pi-mobile-floating-nav {
        display: none !important;
    }
}

/* Phone only */
@media (max-width: 640px) {
    #pi-footer.pi-footer-wrap {
        padding: 42px 15px 125px;
    }

    #pi-footer .pi-footer-top {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #pi-footer .pi-footer-brand {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    #pi-footer .pi-footer-logo-link {
        margin-left: auto;
        margin-right: auto;
    }

    #pi-footer .pi-footer-logo-img {
        width: 160px;
        margin: 0 auto;
    }

    #pi-footer .pi-footer-tagline {
        text-align: center;
        margin: 0 0 20px;
        font-size: 15px;
        line-height: 1.45;
    }

    #pi-footer .pi-footer-col {
        margin: 0;
    }

    #pi-footer .pi-footer-toggle {
        width: 100%;
        padding: 10px 0;
        margin: 0;
        border-bottom: 1px solid rgba(255, 111, 174, 0.2);
        cursor: pointer;
        position: relative;
        font-size: 16px;
        line-height: 1.2;
    }

    #pi-footer .pi-footer-toggle::after {
        content: "+";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        color: #ff6fae;
    }

    #pi-footer .pi-footer-col.active .pi-footer-toggle::after {
        content: "−";
    }

    #pi-footer .pi-footer-links {
        display: none;
        padding: 8px 0 2px;
    }

    #pi-footer .pi-footer-col.active .pi-footer-links {
        display: block;
    }

    #pi-footer .pi-footer-newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    #pi-footer .pi-footer-newsletter-form input,
    #pi-footer .pi-footer-newsletter-form button {
        width: 100%;
        height: 54px;
    }

    #pi-footer .pi-footer-trust {
        flex-direction: column;
        gap: 12px;
        margin: 32px auto 22px;
    }

    #pi-footer .pi-footer-trust .pi-footer-trust-item:not(:last-child)::after {
        display: none;
    }

    #pi-footer .pi-footer-payment-image {
        width: 330px;
        max-width: 100%;
    }

    #pi-footer .pi-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    #pi-footer .pi-footer-back-top {
        right: 18px;
        bottom: 88px;
    }

    #pi-footer .pi-mobile-floating-nav {
        position: fixed !important;
        left: 50% !important;
        bottom: 8px !important;
        transform: translateX(-50%) !important;
        width: calc(100vw - 28px) !important;
        max-width: 520px !important;
        height: 62px !important;
        background: #ffffff !important;
        border-radius: 999px !important;
        box-shadow: 0 14px 38px rgba(0,0,0,0.15) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-around !important;
        padding: 6px 10px !important;
        z-index: 999999 !important;
    }

    #pi-footer .pi-mobile-floating-item {
        flex: 1 1 0 !important;
        height: 52px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        color: #ff5fa8 !important;
        text-decoration: none !important;
        font-size: 11px !important;
        font-weight: 500 !important;
        line-height: 1.1 !important;
        text-align: center !important;
        border-radius: 20px !important;
        transition: 0.22s ease !important;
    }

    #pi-footer .pi-mobile-floating-item i {
        display: block !important;
        font-size: 26px !important;
        line-height: 1 !important;
        margin: 0 0 3px !important;
        color: #ff5fa8 !important;
    }

    #pi-footer .pi-mobile-floating-item span {
        display: block !important;
        font-size: 11px !important;
        font-weight: 500 !important;
        color: #7a7a7a !important;
    }

    #pi-footer .pi-mobile-floating-item:hover {
        background: #fff1f7 !important;
    }

    #pi-footer .pi-mobile-floating-item:hover i,
    #pi-footer .pi-mobile-floating-item:hover span {
        color: #ff3f99 !important;
    }
}