/* =============================
   Peri Base Footer Styles
   Used across all page types (main-store, product-pages)
   ============================= */

.site-footer {
    display: none !important;
}

.peri-custom-footer {
    background-color: var(--solera-jacarta);
    color: #fff;
}

.peri-footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.peri-footer-content a {
    color: #fff;
    text-decoration: none;
}

.peri-footer-content a:hover {
    color: #ddd;
}

.peri-footer-left,
.peri-footer-middle,
.peri-footer-right {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.peri-footer-left {
    align-items: center;
}

.peri-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.peri-footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.peri-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.peri-footer-social a:hover {
    opacity: 1;
}

.peri-footer-social svg {
    width: 20px;
    height: 20px;
}

.peri-footer-middle {
    align-items: flex-start;
}

.peri-footer-right {
    align-items: flex-start;
}

#peri-support-email {
    color: var(--solera-cobalt-500);
}

.peri-footer-right strong {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

@media (max-width: 900px) {
    .peri-footer-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .peri-footer-left,
    .peri-footer-middle,
    .peri-footer-right {
        flex: 1 1 200px;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .peri-footer-content {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        padding: 1.5rem 1rem;
    }

    .peri-footer-left,
    .peri-footer-middle,
    .peri-footer-right {
        flex: none;
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .peri-footer-left {
        padding: 0.875rem 0;
    }

    .peri-footer-middle {
        align-items: center;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding: 0.875rem 0;
        width: 100%;
    }

    .peri-footer-right {
        align-items: center;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding: 0.875rem 0;
        width: 100%;
    }

    .peri-footer-right strong {
        text-align: center;
    }
}
