.page-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.ec-cartRole__progress {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    --size: 30px;
    padding: 20px;
}
.ec-cartRole__progress:has(strong) {
    display: block;
}

.ec-progress {
    width: 100%;
    max-width: 500px;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
}

.ec-progress__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: .5rem;
    position: relative;
}

.ec-progress__number {
    width: var(--size);
    height: var(--size);
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    background-color: var(--bs-gray-500);
    color: var(--bs-white);
    position: relative;
    z-index: 2;
}

.ec-progress__item.is-complete .ec-progress__number {
    background-color: var(--bs-gray-900);
    color: var(--bs-white);
}

.ec-progress__label {
    font-size: 12px;
    text-align: center;
}

.ec-progress__item:not(:last-child):after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--bs-gray-900);
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 15px;
}

.ec-cartRole__totalText {
    padding: 20px;
    text-align: center;
}

.ec-cartRole {
    width: 100%;
    display: flex;
    flex-direction: column;
    /* gap: .75rem; */
}
.ec-cartRole__actions {
    padding-top: 18px;
}

.shop {
    padding: 1rem;
    background-color: var(--bs-gray-200);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 1rem;
}

.shopName {
    font-size: 1.4rem;
    margin: 0;
}

.warehouse {
    padding: 1rem;
    background-color: var(--bs-white);
}
.warehouseName {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.ec-cartRole__actions {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
}
.ec-blockBtn--action,
.ec-blockBtn--cancel {
    width: 100%;
    max-width: 180px;
}
.cartFooter {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    padding-top: 1.5rem;
}
@media (min-width: 768px) {
    .warehouseName {
        text-align: center;
        padding: .5rem;
    }
    .cartFooter {
        padding: 0;
        padding-top: 1.5rem;
    }
    .shop {
        padding: 2rem;
    }
}






.ec-cartTable {
    display: table;
    width: 100%;
}

.ec-cartHeader {
    display: none;
    width: 100%;
    background: #F4F3F0;
}

.ec-cartHeader .ec-cartHeader__label {
    display: table-cell;
    padding: 16px;
    text-align: center;
    background: #F4F3F0;
    overflow-x: hidden;
    font-weight: bold;
}

.ec-cartCompleteRole {
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.4;
    color: #525263;
    -webkit-text-size-adjust: 100%;
    width: 100%;
    max-width: 1130px;
}

.ec-cartCompleteRole:after {
    content: " ";
    display: table;
}

.ec-cartCompleteRole:after {
    clear: both;
}

.ec-cartCompleteRole textarea {
    /* for chrome fontsize bug */
    font-family: sans-serif;
}

.ec-cartCompleteRole img {
    max-width: 100%;
}

.ec-cartCompleteRole html {
    box-sizing: border-box;
}

.ec-cartCompleteRole *,
.ec-cartCompleteRole *::before,
.ec-cartCompleteRole *::after {
    box-sizing: inherit;
}

.ec-cartCompleteRole img {
    width: 100%;
}

.ec-cartRow {
    display: table-row;
}

.ec-cartRow .ec-cartRow__delColumn {
    border-bottom: 1px dotted #ccc;
    text-align: center;
    display: table-cell;
    width: 14%;
    vertical-align: middle;
}

.ec-cartRow .ec-cartRow__delColumn .ec-icon img {
    width: 1.5em;
    height: 1.5em;
}

.ec-cartRow .ec-cartRow__contentColumn {
    border-bottom: 1px dotted #ccc;
    padding: 10px 0;
    display: table;
}

.ec-cartRow .ec-cartRow__img {
    display: table-cell;
    width: 40%;
    vertical-align: middle;
    padding-right: 10px;
}

.ec-cartRow .ec-cartRow__summary {
    display: table-cell;
    margin-left: 5px;
    font-weight: bold;
    vertical-align: middle;
    width: 46%;
}

.ec-cartRow .ec-cartRow__summary .ec-cartRow__name {
    margin-bottom: 5px;
}

.ec-cartRow .ec-cartRow__summary .ec-cartRow__sutbtotalSP {
    display: block;
    font-weight: normal;
}

.ec-cartRow .ec-cartRow__amountColumn {
    display: table-cell;
    border-bottom: 1px dotted #ccc;
    vertical-align: middle;
    text-align: center;
    width: 20%;
}

.ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amount {
    display: none;
    margin-bottom: 10px;
}

.ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountSP {
    display: block;
    margin-bottom: 10px;
}

.ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountUpDown {
    display: flex;
    justify-content: center;
}

.ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountUpButton {
    margin: 0 2px;
    display: inline-block;
    border: 2px solid #c9c9c9;
    border-radius: 50%;
    width: 30px;
    min-width: 30px;
    max-width: 30px;
    height: 30px;
    cursor: pointer;
    line-height: 40px;
    vertical-align: middle;
    position: relative;
    text-align: center;
    background: #fff;
}

.ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountUpButton .ec-cartRow__amountUpButton__icon img {
    display: block;
    margin-left: -0.4em;
    width: 0.8em;
    height: 0.8em;
    position: absolute;
    top: 28%;
    left: 50%;
}

.ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountDownButton,
.ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountDownButtonDisabled {
    margin: 0 2px;
    display: inline-block;
    border: 2px solid #c9c9c9;
    border-radius: 50%;
    width: 30px;
    min-width: 30px;
    max-width: 30px;
    height: 30px;
    cursor: pointer;
    line-height: 40px;
    vertical-align: middle;
    position: relative;
    text-align: center;
    background: #fff;
}

.ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountDownButton .ec-cartRow__amountDownButton__icon img,
.ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountDownButtonDisabled .ec-cartRow__amountDownButton__icon img {
    display: block;
    margin-left: -0.4em;
    width: 0.8em;
    height: 0.8em;
    position: absolute;
    top: 28%;
    left: 50%;
}

.ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountDownButtonDisabled {
    cursor: default;
}

.ec-cartRow .ec-cartRow__subtotalColumn {
    display: none;
    border-bottom: 1px dotted #ccc;
    text-align: right;
    width: 16.66666667%;
}

.ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountDownButtonDisabled {
    cursor: default;
}

.ec-alert-warning {
    width: 100%;
    padding: 6px;
    text-align: center;
    background-color: #f8d7da;
    margin-bottom: 6px;
    border: 1px solid #f5c2c7;
}

.ec-alert-warning .ec-alert-warning__icon {
    display: inline-block;
    margin-right: 14px;
    width: 20px;
    height: 20px;
    color: #842029;
    fill: #842029;
    vertical-align: top;
}

.ec-alert-warning .ec-alert-warning__text {
    display: inline-block;
    margin-right: 14px;
    color: #842029;
    position: relative;
}

.ec-alert-info {
    width: 100%;
    padding: 6px;
    text-align: center;
    background-color: #cfe2ff;
    margin-bottom: 6px;
    border: 1px solid #b6d4fe;
}

.ec-alert-info .ec-alert-info__icon {
    display: inline-block;
    margin-right: 14px;
    width: 20px;
    height: 20px;
    color: #084298;
    fill: #084298;
    vertical-align: top;
}

.ec-alert-info .ec-alert-info__text {
    display: inline-block;
    margin-right: 14px;
    color: #084298;
    position: relative;
}

.ec-shippingTerms {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 12px 0;
}
.ec-cardHeader {
    margin-top: 12px;
}   
.ec-cardHeader--start h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

@media (max-width: 767px) {
    .ec-cardHeader--start {
        padding: 0 20px;
    }
}

@media only screen and (min-width: 768px) {

    .ec-cartRole .ec-cartRole__totalText {
        margin-bottom: 30px;
        padding: 0;
    }

    .ec-cartRole .ec-cartRole__cart {
        margin: 0 1rem;
    }
    .ec-cartRole .ec-cartRole__totalAmount {
        font-size: 24px;
    }

    .ec-cartTable {
        border-top: none;
    }

    .ec-cartHeader {
        display: table-row;
    }

    .ec-cartRow .ec-cartRow__delColumn {
        width: 8.3333333%;
    }

    .ec-cartRow .ec-cartRow__delColumn .ec-icon img {
        width: 1em;
        height: 1em;
    }

    .ec-cartRow .ec-cartRow__contentColumn {
        display: table-cell;
    }

    .ec-cartRow .ec-cartRow__img {
        display: inline-block;
        min-width: 80px;
        max-width: 100px;
        padding-right: 0;
    }

    .ec-cartRow .ec-cartRow__summary {
        display: inline-block;
        width: calc(100% - 130px);
        margin-left: 20px;
        vertical-align: middle;
    }

    .ec-cartRow .ec-cartRow__summary .ec-cartRow__sutbtotalSP {
        display: none;
    }

    .ec-cartRow .ec-cartRow__amountColumn {
        width: 16.66666667%;
    }

    .ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amount {
        display: block;
    }

    .ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountSP {
        display: none;
    }

    .ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountUpDown {
        display: block;
    }

    .ec-cartRow .ec-cartRow__subtotalColumn {
        display: table-cell;
    }
}

@media only screen and (min-width: 992px) {

    .ec-cartRole .ec-cartRole__cart {
        margin: 0 10%;
    }
}