.sister-products-with-seranking-section {
    padding: var(--spacing-v2) 0;
    background-color: var(--accent-colors-pale-cyan);
}

.sister-products-with-seranking-section__container {
    display: grid;
    grid-gap: 16px;
}

.sister-products-with-seranking-section__container > .se-title-text {
    max-width: none;
    margin: 0;
    justify-items: start;
    margin-bottom: 8px;
}

.sister-products-with-seranking-section__container > .se-title-text .se-title,
.sister-products-with-seranking-section__container > .se-title-text .se-text {
    text-align: left;
}

.sister-products-with-seranking-section__product-cards,
.sister-products-with-seranking-section__footer {
    display: grid;
    grid-gap: var(--spacing-v3);
}

.sister-products-with-seranking-section__product-card {
    --card-padding: var(--spacing-v3);
    display: grid;
    overflow: hidden;
    padding: var(--card-padding);
    background-color: var(--main-colors-white);
    border-radius: 20px;
}

.sister-products-with-seranking-section__product-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: var(--spacing-v4);
}

.sister-products-with-seranking-section__product-logo {
    --logo-width: auto;
    --logo-height: 24px;
    display: flex;
    align-items: center;
    min-height: 24px;
}

.sister-products-with-seranking-section__product-logo svg,
.sister-products-with-seranking-section__product-logo img {
    display: block;
    width: var(--logo-width);
    height: var(--logo-height);
}

.sister-products-with-seranking-section__product-logo--se-ranking {
    --logo-width: 95px;
    --logo-height: 23px;
}

.sister-products-with-seranking-section__product-logo--se-visible {
    --logo-width: 101px;
    --logo-height: 17px;
}

.sister-products-with-seranking-section__product-logo--planable {
    --logo-width: 96px;
    --logo-height: 21px;
}

.sister-products-with-seranking-section__product-badge {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 4px 8px;
    border-radius: 8px;
    background-color: var(--background-color);
    white-space: nowrap;
}

.sister-products-with-seranking-section__product-text {
    margin-bottom: var(--spacing-v3);
}

.sister-products-with-seranking-section__product-image-wrapper {
    position: relative;
    margin-right: calc(-1 * var(--card-padding));
    border-radius: 12px 0 0 12px;
    box-shadow: -4px -4px 8px rgba(37, 46, 61, 0.05);
    margin-bottom: var(--spacing-v3);
}

.sister-products-with-seranking-section__product-image-wrapper::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 32px;
    background: linear-gradient(0deg, var(--main-colors-white) 0%, rgba(255, 255, 255, 0) 100%);
    border-bottom-left-radius: 12px;
    pointer-events: none;
}

.sister-products-with-seranking-section__product-image {
    display: block;
    width: 100%;
    border-radius: 12px 0 0 12px;
}

.sister-products-with-seranking-section__product-card .se-btn,
.sister-products-with-seranking-section__product-card .se-btn_text {
    justify-self: start;
    width: max-content;
    margin-top: 4px;
}

.sister-products-with-seranking-section__footer {
    padding: var(--spacing-v3);
    background-color: var(--main-colors-white);
    border-radius: 20px;
}

.sister-products-with-seranking-section__footer .se-content-item {
    grid-template-columns: 32px minmax(0, 1fr);
    grid-gap: var(--spacing-h3);
}

@media screen and (min-width: 768px) {
    .sister-products-with-seranking-section__container {
        grid-gap: var(--spacing-v3);
    }

    .sister-products-with-seranking-section__container > .se-title-text {
        justify-items: center;
    }

    .sister-products-with-seranking-section__container > .se-title-text .se-title,
    .sister-products-with-seranking-section__container > .se-title-text .se-text {
        text-align: center;
    }

    .sister-products-with-seranking-section__product-image-wrapper::after {
        height: 56px;
    }
}

@media screen and (min-width: 1024px) {
    .sister-products-with-seranking-section {
        padding: var(--spacing-half-of-v1) 0;
    }

    .sister-products-with-seranking-section__container > .se-title-text {
        max-width: var(--spacing-grid-10);
        justify-self: center;
    }

    .sister-products-with-seranking-section__product-cards,
    .sister-products-with-seranking-section__footer {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sister-products-with-seranking-section__product-cards {
        grid-gap: var(--spacing-h3);
    }

    .sister-products-with-seranking-section__product-badge {
        border-radius: 6px;
    }
}

@media screen and (min-width: 1280px) {
    .sister-products-with-seranking-section__container > .se-title-text {
        margin-bottom: 16px;
    }

    .sister-products-with-seranking-section__product-card-content {
        grid-gap: var(--spacing-v3);
    }

    .sister-products-with-seranking-section__product-logo--se-ranking {
        --logo-width: 142px;
        --logo-height: 36px;
    }

    .sister-products-with-seranking-section__product-logo--se-visible {
        --logo-width: 151px;
        --logo-height: 27px;
    }

    .sister-products-with-seranking-section__product-logo--planable {
        --logo-width: 144px;
        --logo-height: 32px;
    }
}

@media screen and (min-width: 1536px) {
    .sister-products-with-seranking-section__product-image-wrapper {
        margin-bottom: var(--spacing-v4);
    }

    .sister-products-with-seranking-section__footer .se-content-item {
        grid-template-columns: 48px minmax(0, 1fr);
    }
}

@media screen and (min-width: 1920px) {
    .sister-products-with-seranking-section__container {
        grid-gap: var(--spacing-v4);
    }

    .sister-products-with-seranking-section__container > .se-title-text {
        margin-bottom: 40px;
    }

    .sister-products-with-seranking-section__product-cards {
        margin-bottom: 8px;
    }
}
