/* Buyer frontend — mobile/web footer only (< xl / 1200px). PC layout unchanged. */

@media (max-width: 1199.98px) {
    .fw-mobile-footer {
        margin-top: auto;
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }

    /* Policy quick links — card grid */
    .fw-mobile-footer__policies {
        background: #f5f6f8;
        padding: 14px 12px;
    }

    .fw-mobile-footer__policy-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .fw-mobile-footer__policy-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 96px;
        padding: 14px 10px;
        color: inherit;
        text-decoration: none;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(0, 0, 0, 0.04);
        transition: transform 0.15s ease, box-shadow 0.15s ease;
    }

    .fw-mobile-footer__policy-item:active {
        transform: scale(0.98);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    }

    .fw-mobile-footer__policy-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        margin-bottom: 8px;
        border-radius: 12px;
        background: var(--soft-primary, rgba(230, 45, 4, 0.12));
    }

    .fw-mobile-footer__policy-icon i {
        font-size: 1.35rem;
        color: var(--primary, #e62d04);
        line-height: 1;
    }

    .fw-mobile-footer__policy-label {
        font-size: 12px;
        font-weight: 600;
        line-height: 1.35;
        text-align: center;
        color: #333;
    }

    /* Main widget area */
    .fw-mobile-footer__main {
        background: #1a1a2e;
        color: #e8e8e8;
        padding: 24px 16px 16px;
    }

    .fw-mobile-footer__brand {
        text-align: center;
        margin-bottom: 16px;
    }

    .fw-mobile-footer__brand img {
        height: 36px;
        width: auto;
    }

    .fw-mobile-footer__about {
        font-size: 12px;
        line-height: 1.6;
        opacity: 0.75;
        text-align: center;
        margin-bottom: 16px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .fw-mobile-footer__subscribe .form-control {
        border-radius: 8px 0 0 8px;
        font-size: 13px;
        height: 40px;
        border: none;
    }

    .fw-mobile-footer__subscribe .btn {
        border-radius: 0 8px 8px 0;
        font-size: 13px;
        height: 40px;
        padding: 0 14px;
        white-space: nowrap;
    }

    .fw-mobile-footer__apps {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 14px;
    }

    .fw-mobile-footer__apps img {
        height: 36px;
        width: auto;
    }

    /* Accordion sections */
    .fw-mobile-footer__accordion {
        margin-top: 8px;
    }

    .fw-mobile-footer__accordion .card {
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
    }

    .fw-mobile-footer__accordion .card-header {
        background: transparent;
        border: none;
        padding: 0;
    }

    .fw-mobile-footer__accordion .btn-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 0;
        color: #fff;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        text-decoration: none;
    }

    .fw-mobile-footer__accordion .btn-link:hover,
    .fw-mobile-footer__accordion .btn-link:focus {
        color: #fff;
        text-decoration: none;
    }

    .fw-mobile-footer__accordion .btn-link i {
        font-size: 14px;
        opacity: 0.5;
        transition: transform 0.2s ease;
    }

    .fw-mobile-footer__accordion .btn-link[aria-expanded="true"] i {
        transform: rotate(180deg);
    }

    .fw-mobile-footer__accordion .card-body {
        padding: 0 0 14px;
    }

    .fw-mobile-footer__accordion ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .fw-mobile-footer__accordion li {
        margin-bottom: 8px;
    }

    .fw-mobile-footer__accordion li:last-child {
        margin-bottom: 0;
    }

    .fw-mobile-footer__accordion a {
        color: rgba(255, 255, 255, 0.65);
        font-size: 13px;
        text-decoration: none;
    }

    .fw-mobile-footer__accordion a:hover {
        color: #fff;
    }

    .fw-mobile-footer__contact li {
        font-size: 13px;
    }

    .fw-mobile-footer__contact .label {
        display: block;
        font-size: 11px;
        opacity: 0.5;
        margin-bottom: 2px;
    }

    .fw-mobile-footer__seller {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .fw-mobile-footer__seller .btn {
        font-size: 12px;
        padding: 6px 16px;
        border-radius: 6px;
    }

    /* Copyright bar */
    .fw-mobile-footer__bar {
        background: #0d0d1a;
        padding: 16px;
        text-align: center;
    }

    .fw-mobile-footer__copyright {
        font-size: 11px;
        opacity: 0.6;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .fw-mobile-footer__social {
        margin-bottom: 12px;
    }

    .fw-mobile-footer__social .list-inline-item {
        margin: 0 4px;
    }

    .fw-mobile-footer__social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        font-size: 16px;
    }

    .fw-mobile-footer__payments img {
        height: 24px;
        width: auto;
        margin: 0 3px;
        opacity: 0.85;
    }

    /* Fixed bottom nav — safe area & spacing */
    .aiz-mobile-bottom-nav {
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
}
