.st-cart-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.st-cart-page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border: 1px solid rgba(191, 82, 200, 0.14);
    background: #fff;
    color: var(--st-soft);
}

.st-cart-page-badge--partner {
    background: rgba(191, 82, 200, 0.08);
    color: var(--st-primary-dark);
}

.st-cart-page-badge--public {
    background: rgba(15, 23, 42, 0.04);
    color: var(--st-soft);
}

.st-cart-item {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(111, 28, 122, 0.06);
}

.st-cart-item__media {
    background: linear-gradient(180deg, #faf7fb, #f3eef5);
}

.st-cart-item__body {
    gap: 16px;
}

.st-cart-item__top h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.25;
}

.st-cart-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.st-cart-item__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f7f1f8;
    color: var(--st-soft);
    font-size: 12px;
    font-weight: 700;
}

.st-cart-item__pricing {
    display: grid;
    gap: 6px;
}

.st-cart-item__price-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.st-cart-item__price-value {
    line-height: 1;
    font-family: var(--st-font-heading);
}

.st-cart-item__price-value--primary {
    font-size: 18px;
    font-weight: 900;
    color: var(--st-text);
}

.st-cart-item__price-value--secondary {
    font-size: 13px;
    font-weight: 800;
    color: var(--st-soft);
}

.st-cart-item__price-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.st-cart-item__price-label--partner {
    color: var(--st-primary-dark);
}

.st-cart-item__price-label--public {
    color: var(--st-soft);
}

.st-cart-item__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.st-cart-item__metric {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 221, 28, 0.1);
    color: #0e7f1c;
    font-size: 13px;
    font-weight: 800;
}

.st-cart-item__metric--soft {
    background: rgba(191, 82, 200, 0.08);
    color: var(--st-primary-dark);
}

.st-cart-item__bottom {
    align-items: flex-end;
}

.st-cart-item__line-total-block {
    display: grid;
    gap: 4px;
}

.st-cart-item__line-total-label {
    font-size: 12px;
    color: var(--st-soft);
    font-weight: 700;
}

.st-cart-item__line-total {
    font-size: 24px;
    font-family: var(--st-font-heading);
}

.st-cart-summary h3 {
    margin-top: 0;
    margin-bottom: 18px;
}

.st-cart-summary__note {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--st-border);
    background: #faf7fb;
    color: var(--st-soft);
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .st-cart-page-head {
        align-items: flex-start;
    }

    .st-cart-page-badge {
        width: 100%;
        justify-content: center;
    }

    .st-cart-item__top h3 {
        font-size: 16px;
    }

    .st-cart-item__price-value--primary {
        font-size: 19px;
    }

    .st-cart-item__price-value--secondary {
        font-size: 12px;
    }

    .st-cart-item__line-total {
        font-size: 20px;
    }
}

.st-cart-item__meta span strong {
    color: var(--st-text);
    font-weight: 900;
}

.st-cart-item__attribute-pill {
    background: rgba(191, 82, 200, 0.1) !important;
    color: var(--st-primary-dark) !important;
    border: 1px solid rgba(191, 82, 200, 0.16);
}

.st-cart-item__attribute-pill i {
    color: var(--st-primary-dark);
}
