/********************************
********** Table List ***********
*********************************/
.shopping-list-container {
    margin-bottom: 32px;
}
.shopping-list-container .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.shopping-list-container h2 {
    margin: 0;
}
.shopping-list-container ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}
.shopping-list-container ul li {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--c-whitish);
    padding: 12px 0;
}
.shopping-list-container ul li:last-child {
    border-bottom: none;
}
.shopping-list-container ul li .thumbnail {
    position: relative;
}
.shopping-list-container ul li > div {
    padding: 16px 0;
    flex: 1;
}

.shopping-list-container ul li .thumbnail,
.shopping-list-container ul li .title {
    padding: 0;
}
.shopping-list-container ul li .thumbnail img {
    width: 91px;
    height: 91px;
    object-fit: cover;
    border-radius: var(--radius-xs);
}
.shopping-list-container ul li .title {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    align-content: center;
    flex: 3;
}
.shopping-list-container ul li .title strong {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: #1d1d1d;
    display: block;
}

.shopping-list-container ul li .unit-price {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #000000;
    white-space: nowrap;
    text-align: center;
}
.shopping-list-container ul li .btn {
    width: auto;
}

.shopping-list-container ul li .space > div {
    display: flex;
    align-items: center;
    gap: 9px;
    justify-content: flex-end;
}
.shopping-list-container ul li .space .hidden {
    display: none;
}
.shopping-list-container ul li .space .edit input {
    width: 57px;
    height: 24px;
    border-radius: var(--radius-xs);
    background: var(--c-whitish);
    box-shadow: 0px 1px 1px 0px #00000026 inset;
    border: none;
    text-align: center;
}
.shopping-list-container ul li .space .read {
    gap: 20px;
}
.shopping-list-container ul li .space .read span {
    white-space: nowrap;
}

.shopping-list-container ul li .total-price {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: #000000;
    white-space: nowrap;
    text-align: center;
}
.shopping-list-container ul li .delete button {
    margin: auto;
}

.list-sm {
    border: 1px solid #b9b8b6;
    border-radius: var(--radius-sm);
    padding: 15px 25px 37px;
}
.list-sm ul li {
    align-items: center;
    border-bottom: 1px solid #b9b8b6;
}
/* .list-sm ul li:last-child {
    border-bottom: 1px dashed #b9b8b6;
} */
.list-sm ul li .title strong {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

@media (max-width: 991px) {
    .list-sm {
        padding-left: 12px;
        padding-right: 12px;
    }
    .product-page .list-sm {
        border: none;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }
    .product-page .list-sm .list-total-price {
        display: none;
    }
    .shopping-list-container .header h2 {
        font-size: 20px;
        line-height: 24px;
    }
    .list-sm ul {
        padding: 0 13px;
    }
    .list-sm ul li {
        align-items: flex-start;
    }
}

/********************************
********** Total Price **********
*********************************/
.cart-total-container {
}
.cart-total-container .title {
    color: #000;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
}
.cart-total-container ul {
    list-style: none;
    padding: 0;
    margin: 24px 0 37px;
}
.cart-total-container ul li {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 10px;
}
.cart-total-container ul li:last-child {
    margin-bottom: 0;
}
.cart-total-container ul li .star {
    width: 16px;
}
.cart-total-container ul li img:last-child {
    margin-right: 8px;
}

.cart-total-container .submit {
    margin: 52px auto 0;
    width: fit-content;
}

@media (max-width: 991px) {
    .cart-total-container .submit {
        margin: 37px 0 52px;
        width: 100%;
        height: 48px;
    }
}

/********************************
******** LIST TOTAL PRICE *******
*********************************/

.list-total-price {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
}
.list-sm .list-total-price {
    border-top: 1px dashed #b9b8b6;
    padding: 18px 13px 0;
    font-size: 20px;
    /* margin: 18px 0 0; */
}
.list-total-price > div:first {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}
.list-total-price strong {
    font-weight: 700;
    display: block;
}
.list-total-price .green {
    color: #16823e;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

@media (max-width: 991px) {
    .shopping-list-container ul li .title,
    .shopping-list-container ul li .total-price,
    .shopping-list-container ul li .unit-price {
        padding: 3px 0;
    }
    .shopping-list-container ul li .total-price,
    .shopping-list-container ul li .unit-price {
        text-align: right;
        font-size: 16px;
        line-height: 20px;
    }
}

/********************************
************* Form **************
*********************************/
.cart-page label {
    margin-bottom: 16px;
}
.cart-page label:last-child {
    margin-bottom: 0;
}
.cart-page .form-splitter {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.cart-page .form-splitter label {
    flex: 1;
}
.cart-page .form-splitter label:first-child {
    flex: 1.5;
}
.cart-page .checkbox {
    position: relative;
    display: inline-block;
    margin-top: 9px;
}
.cart-page .checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0;
}
.cart-page .checkbox div {
    display: flex;
    align-items: center;
}
.cart-page .checkbox button {
    margin-right: 8px;
    display: inline-block;
}
.cart-page .checkbox button img {
    display: none;
}

.cart-page .checkbox input[type="checkbox"]:checked + div button img {
    display: block;
}

.cart-page button[type="submit"] {
    margin-top: 50px;
}
.cart-page.space-bottom {
    margin-bottom: 134px;
}

@media (max-width: 991px) {
    .cart-page.space-bottom {
        margin-bottom: 55px;
    }
    .cart-page button[type="submit"] {
        margin-left: auto;
        margin-right: auto;
    }
}

/********************************
*********** Delivery ************
*********************************/
.delivery-container {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}
.delivery-container li {
    border: 1px solid #b9b8b6;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    padding: 16px;
}
.delivery-container li:last-child {
    margin-bottom: 0;
}
.delivery-container li .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.delivery-container li .header .title {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #6d6c6a;
    display: flex;
    align-items: center;
}
.delivery-container li .header .title img {
    margin-right: 8px;
}
.delivery-container li h4 {
    font-size: 20px;
    margin: 10px 0;
    color: #1f1f1f;
}
.delivery-container li p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}
.delivery-container li p:last-child {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .cart-page .mobile-space .shopping-list-container {
        margin-top: 55px;
    }
}

/********************************
******** Payments Methods *******
*********************************/
.payments-container {
}
.payments-container h4 {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}
.payments-container ul {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.payments-container ul li {
    position: relative;
}
.payments-container ul li input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    cursor: pointer;
}
.payments-container ul li > div {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    border-radius: var(--radius-sm);
    border: 1px solid #b9b8b6;
    padding: 16px;
    height: 92px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(0deg, #f8f8f8 0%, #ffffff 100%);
}
.payments-container ul li span {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--c-green);
}
.payments-container ul li input:checked + div {
    font-weight: 700;
    border: 2px solid var(--c-green);
    box-shadow: 0px 2px 4px 0px #00000026 inset;
}

.payment-method-submit {
    display: table;
    margin: 74px auto 67px;
}
.payment-method-submit button {
    width: fit-content;
    margin: 0 auto 12px !important;
}
.payment-method-submit .caption {
    font-family: var(--f-looped);
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    color: #6d6c6a;
    max-width: 362px;
}

@media (max-width: 991px) {
    .gegevens-row {
        flex-direction: column-reverse;
    }
    .gegevens-row h3 {
        font-size: 20px;
        font-weight: 700;
        line-height: 24px;
    }
}

@media (max-width: 768px) {
    .payments-container ul {
        grid-template-columns: repeat(2, 1fr);
    }
    .payment-method-submit {
        margin: 50px auto 50px;
    }
}

@media (max-width: 576px) {
    .payments-container ul {
        grid-template-columns: repeat(1, 1fr);
    }
}
