.progress-wrapper {
    padding: 16px;
    display: flex;
    justify-content: space-around;
    position: relative;
}
.progress-wrapper > div {
    z-index: 1;
    flex: 1;
    text-align: center;
}
.progress-wrapper .step {
    display: flex;
    flex-shrink: 0;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    content: '';
    background: #fff;
    border: 1px solid #888;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 70%;
    margin-bottom: 3px;
    position: relative;
}
.progress-wrapper .step.active {
    border: 1px solid #D1008D;
    color: #D1008D;
}
.progress-wrapper .step.passed {
    border: 1px solid #D1008D;
    color: #fff;
    background-color: #D1008D;
}
.progress-wrapper .bar {
    height: 2px;
    position: absolute;
    top: calc(50% - 1.2rem);
    width: 73%;
    z-index: 0;
    display: flex;
}
.progress-wrapper .bar > div {
    height: 2px;
    background: #888;
    width: 100%;
    height: 100%;
}
.progress-wrapper .bar > div.active {
    background: #D1008D;
}
.progress-wrapper p {
    text-align: center;
    font-size: 70%;
    color: #888;
}
.progress-wrapper .step.active ~ p, .progress-wrapper .step.passed ~ p {
    color: #D1008D;
}

.card {
    border-radius: 0;
    border: 0;
    border-top: 1px solid #F0F4F5;
    display: flex;
    flex-direction: row;
    padding: 15px;
}
.card .product-img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}
.card .product-img img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}
.card .text-ellipsis {
    -webkit-line-clamp: 1;
}

.btn-outline-second, .btn-outline-second:hover {
    padding: 1px 12px;
}
.btn-outline-second.active {
    background: rgba(112, 34, 131, 1);
    color: #fff;
}
.bg-second {
    background-color: rgba(112, 34, 131, 1);
    color: #fff;
}
.bg-second-shallow {
    background-color: rgba(112, 34, 131, 0.1);
    color: #444;
}
.cta-wrapper {
    padding: 12px 15px;
    min-height: 52px;
    background: #fff;
    box-shadow: 0px -2px 2px rgb(0 0 0 / 10%);
    display: flex;
    justify-content: space-around;
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    z-index: 98;
    width: 100%;
    left: 0;
}
.bg-gradient {
    background: linear-gradient(270deg, #7803C4 -34.15%, #D1008D 100%);
}
.cta-wrapper button[class^="btn-"] {
    border-radius: 4px;
}
.h-76px {
    height: 76px;
    align-items: center;
}
.font-sm {
    font-size: 70%;
}
.bg-shallow {
    background: #f8f8f8;
}
/* collapse */
.accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f8f8;
    padding: 10px 15px;
    font-size: 18px;
    margin-bottom: 0;
}
.accordion-wrapper .radio-check ~ .accordion-title span, .radio-check ~ .radio-title > label > span {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: transparent;
}
.accordion-wrapper .radio-check:checked ~ .accordion-title span, .radio-check:checked ~ .radio-title > label > span {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(../images/cart/icon-check.svg) no-repeat center / contain;
}
.accordion-wrapper .radio-check {
    display: none;
}
.accordion-wrapper .radio-check ~ .accordion-body, .accordion-wrapper .radio-check ~ .accordion-body {
    display: none;
}
.accordion-wrapper .radio-check:checked ~ .accordion-body {
    display: block;
}
.accordion-wrapper .radio-check ~ .accordion-body .btn-icon {
    opacity: 1;
    display: inline-block;
    width: 20px;
}
.radio input ~ .bg-gray {
    background: #fff;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.radio input:checked ~ .bg-gray {
    background: #F0F4F5;
}
.accordion-body > .item {
    height: 78px;
    position: relative;
    padding: 15px;
}
.item > label * {
    z-index: 2;
}
.radio-check ~ .radio-title .active {
    height: 100%;
    width: 8px;
    position: absolute;
    background: transparent;
    left: 0;
}
.radio-check:checked ~ .radio-title .active {
    height: 100%;
    width: 6px;
    position: absolute;
    background: #D1008D;
    left: 0;
    top: 0;
}
.radio-title > label {
    position: relative;
}
.card-coupon {
    filter: drop-shadow(0 0 2px rgba(0,0,0,.2));
    display: flex;
    margin-bottom: 15px;
    height: 125px;
    border-radius: 4px;
    overflow: hidden;
    justify-content: space-between;
}
.card-coupon .coupon-deco {
    height: 100%;
    width: 20px;
    background: url(../images/cart/coupon-deco.png) no-repeat center / contain;
}
.card-coupon.passed .coupon-deco {
    background: url(../images/cart/coupon-deco-.png) no-repeat center / contain;
}
.card-coupon .coupon-btn {
    background: #D1008D;
    color: #fff;
    height: 100%;
    width: 50px;
    writing-mode: vertical-lr;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    /* letter-spacing: 8px; */
    padding-right: 8px;
    cursor: pointer;
}
.card-coupon.passed .coupon-btn {
    background: #888;
}
.card-coupon .product-img {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
}
.card-coupon .product-img img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}
.card-coupon .text-ellipsis {
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    .cta-wrapper {
        padding: 12px 15px;
        min-height: 52px;
        background: #fff;
        box-shadow: none;
        display: flex;
        justify-content: space-around;
        box-sizing: border-box;
        position: relative;
        bottom: 0;
        z-index: 98;
        width: 100%;
        left: 0;
    }
    .w-sm-168px {
        width: 168px !important;
    }
}