.ns-csub {
    display: block;
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    clear: both;
    box-sizing: border-box;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background: #fff;
}

.summary .ns-csub,
.product .summary .ns-csub,
.single-product .summary .ns-csub {
    align-self: stretch;
}

.ns-csub *,
.ns-csub *::before,
.ns-csub *::after {
    box-sizing: border-box;
}

.ns-csub__title {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.25;
}

.ns-csub__grid {
    display: grid;
    gap: 12px;
    width: 100%;
}

.ns-csub__card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 10px 12px;
    width: 100%;
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    background: #fff;
}

.ns-csub__image {
    display: block;
    width: 64px;
}

.ns-csub__image img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
}

.ns-csub__content {
    min-width: 0;
}

.ns-csub__name {
    display: block;
    max-width: 100%;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.ns-csub__price {
    display: block;
    margin-top: 4px;
    font-weight: 600;
}

.ns-csub__action {
    grid-column: 1 / -1;
    width: 100%;
}

.ns-csub__action .button,
.ns-csub__action a.button,
.ns-csub__action button {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    text-align: center;
    white-space: normal;
    line-height: 1.2;
}

@media (min-width: 900px) {
    .ns-csub__card {
        grid-template-columns: 72px minmax(0, 1fr) minmax(160px, auto);
    }

    .ns-csub__image {
        width: 72px;
    }

    .ns-csub__image img {
        width: 72px;
        height: 72px;
    }

    .ns-csub__action {
        grid-column: auto;
        width: auto;
    }

    .ns-csub__action .button,
    .ns-csub__action a.button,
    .ns-csub__action button {
        width: auto;
        min-width: 160px;
        white-space: nowrap;
    }
}
