.embroidery-page .emb-process,
.embroidery-page .emb-process * {
    box-sizing: border-box;
}

.embroidery-page .emb-process {
    margin: 60px 0;
    background: linear-gradient(243.287deg, #230137 43.881%, #380d6b 100.01%);
    color: #fff;
    font-family: Roboto, Arial, sans-serif;
}

.embroidery-page .emb-process__inner {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 50px 0 70px;
}

.embroidery-page .emb-process h2 {
    margin: 0;
    color: #fff;
    font-size: 39px;
    font-weight: 300;
    line-height: 40px;
    text-align: center;
}

.embroidery-page .emb-process__list {
    display: flex;
    gap: 56px;
    margin: 0;
    padding: 48px 0 0;
    list-style: none;
}

.embroidery-page .emb-process__list li {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
}

.embroidery-page .emb-process__list li:not(:last-child)::after {
    position: absolute;
    top: 0;
    right: -40px;
    width: 24px;
    height: 24px;
    background: url('../img/catalog/embroidery-process/arrow.svg') center / contain no-repeat;
    content: '';
}

.embroidery-page .emb-process__top {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.embroidery-page .emb-process__number {
    display: flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: #fff;
    color: #49389a;
    font-size: 16px;
    font-weight: 700;
    line-height: 21px;
}

.embroidery-page .emb-process__icon {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: .8px solid #9a3921;
    border-radius: 4px;
}

.embroidery-page:has(#emb-hero-title) .emb-process__icon,
.embroidery-page:has(#catalog-hero-title) .emb-process__icon {
    border-color: #f895ff;
}

.embroidery-page .emb-process__icon img {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.embroidery-page .emb-process__copy {
    margin-top: 16px;
}

.embroidery-page .emb-process h3 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
}

.embroidery-page .emb-process h3::after {
    display: block;
    width: 120px;
    height: 1px;
    margin: 8px auto 0;
    background: url('../img/catalog/embroidery-process/line.svg') center / contain no-repeat;
    content: '';
}

.embroidery-page .emb-process p {
    margin: 8px 0 0;
    color: #ccc;
    font-size: 13px;
    font-weight: 400;
    line-height: 17px;
    text-align: center;
}

@media (max-width: 1000px) and (min-width: 769px) {
    .embroidery-page .emb-process__list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 56px;
        row-gap: 44px;
    }
    .embroidery-page .emb-process__list li:nth-child(3)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .embroidery-page .emb-process {
        margin: 40px 0;
        background: linear-gradient(267.597deg, #230137 43.881%, #380d6b 100.01%);
    }
    .embroidery-page .emb-process__inner {
        width: 100%;
        padding: 40px 15px;
    }
    .embroidery-page .emb-process h2 {
        font-size: 28px;
        line-height: 32px;
    }
    .embroidery-page .emb-process__list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 40px 20px 0;
    }
    .embroidery-page .emb-process__list li {
        flex: none;
        width: 100%;
    }
    .embroidery-page .emb-process__list li:not(:last-child)::after {
        position: static;
        display: block;
        width: 24px;
        height: 24px;
        margin: 12px auto;
        transform: rotate(90deg);
    }
    .embroidery-page .emb-process h3::after {
        display: none;
    }
    .embroidery-page .emb-process p {
        font-size: 14px;
        line-height: 20px;
    }
}
