.footer-marketplaces {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 22px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-marketplaces__heading {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.footer-marketplaces__heading:hover {
    color: #40c0d8;
}

.footer-marketplaces__logos {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: repeat(6, minmax(86px, 1fr));
    gap: 9px;
    min-width: 0;
}

.footer-marketplace-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 44px;
    padding: 7px 11px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 6px;
    background: #fff;
}

a.footer-marketplace-logo {
    transition: border-color .2s ease, transform .2s ease;
}

a.footer-marketplace-logo:hover {
    border-color: #40c0d8;
    transform: translateY(-2px);
}

.footer-marketplace-logo img {
    width: 100%;
    height: 28px;
    object-fit: contain;
}

.footer-marketplace-logo img[src*="/trendyol.svg"] {
    width: 126px;
    max-width: 100%;
    height: 34px;
}

.footer-marketplace-logo img[src*="/pttavm.png"] {
    width: 142px;
    max-width: 100%;
    height: 34px;
}

.marketplaces-page {
    padding: 58px 0 76px;
    background: #f7fafc;
}

.marketplaces-page__header {
    max-width: 780px;
    margin-bottom: 34px;
}

.marketplaces-page__eyebrow {
    display: block;
    margin-bottom: 9px;
    color: #1097b8;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.marketplaces-page__title {
    margin: 0;
    color: #102a43;
    font-size: 42px;
    line-height: 1.16;
}

.marketplaces-page__description {
    margin: 14px 0 0;
    color: #526579;
    font-size: 17px;
    line-height: 1.7;
}

.marketplaces-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.marketplace-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 184px;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border: 1px solid #dfe8ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 42, 67, .07);
}

a.marketplace-card {
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

a.marketplace-card:hover {
    border-color: rgba(16, 151, 184, .48);
    box-shadow: 0 16px 34px rgba(15, 42, 67, .12);
    transform: translateY(-3px);
}

.marketplace-card__logo {
    display: flex;
    align-items: center;
    width: 100%;
    height: 72px;
    overflow: hidden;
}

.marketplace-card__logo img {
    width: 170px;
    max-width: 72%;
    height: 58px;
    object-fit: contain;
    object-position: left center;
}

.marketplace-card__logo img[src*="/trendyol.svg"] {
    width: 196px;
    max-width: 82%;
    height: 66px;
}

.marketplace-card__logo img[src*="/pttavm.png"] {
    width: 216px;
    max-width: 88%;
    height: 66px;
}

.marketplace-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid #edf2f6;
}

.marketplace-card__name {
    color: #17324d;
    font-size: 15px;
    font-weight: 700;
}

.marketplace-card__status {
    display: block;
    color: #637689;
    font-size: 12px;
    font-weight: 600;
}

.marketplace-card__external {
    color: #1097b8;
    font-size: 17px;
}

.marketplace-card--pending {
    box-shadow: none;
}

.marketplaces-parent-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #dfe8ef;
    color: #526579;
    font-size: 14px;
    line-height: 1.5;
}

.marketplaces-parent-brand:hover {
    color: #17324d;
}

.marketplaces-parent-brand img {
    flex: 0 0 auto;
    width: 150px;
    height: auto;
}

.marketplaces-parent-brand strong {
    color: #17324d;
    font-weight: 700;
}

@media (max-width: 991px) {
    .footer-marketplaces {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .footer-marketplaces__logos {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .marketplaces-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .footer-marketplaces__logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .marketplaces-page {
        padding: 38px 0 54px;
    }

    .marketplaces-page__header {
        margin-bottom: 24px;
    }

    .marketplaces-page__title {
        font-size: 30px;
    }

    .marketplaces-page__description {
        font-size: 15px;
        line-height: 1.65;
    }

    .marketplaces-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .marketplace-card {
        min-height: 154px;
        padding: 18px;
    }

    .marketplace-card__logo {
        height: 60px;
    }

    .marketplaces-parent-brand {
        justify-content: flex-start;
        gap: 12px;
        margin-top: 24px;
        padding-top: 18px;
        font-size: 13px;
    }

    .marketplaces-parent-brand img {
        width: 112px;
    }
}
