﻿
.breadcrumbs {
    margin-bottom: 48px;
}

.canvas-container {
    display: none;
}

.cart-ctn {
    max-width: 800px;
    margin: 0 auto 180px auto;
}

.cart-preview {
    margin-bottom: 76px;
}

.cart-preview-header {
    background-color: #B0A38B;
    color: #ffffff;
    padding: 5px 0;
}

.cart-preview-header .inner-ctn {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 14px;
    line-height: 160%;
    padding: 3.5px 0;
}

.cart-preview-header .inner-ctn > :first-child {
    width: 100%;
    text-align: center;
}

.cart-preview-header .inner-ctn > :last-child {
    min-width: 230px;
    text-align: center;
    border-left: 1px solid #ffffff;
}

.cart-preview-header .inner-ctn :last-child .small {
    font-size: 12px;
}

.cart-footer :first-child {
    display: inline-block;
    margin-bottom: 30px;
}

.cart-footer :last-child {
    display: block;
    color: var(--text-second-color) !important;
}

.cart-section-title {
    font-size: 16px;
    font-weight: 500;
}

/*#region cart item*/
.cart-items.cart {
    margin-bottom: 276px;
}

.cart-items .item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-weight: 500;
    line-height: 160%;
    border-bottom: 1px solid #DEDEDE;
    padding: 40px 0 40px 20px;
}

    .cart-items .item .item-btn {
        position: absolute;
        right: 20px;
        bottom: 18px;
        font-size: 14px;
    }

    .cart-items .item .cart-item-quantity {
        position: absolute;
        bottom: 15px;
        right: 100px;
    }

    .cart-items .item .item-detail {
        display: flex;
        gap: 20px;
    }

        .cart-items .item .item-detail .item-info {
            max-width: 310px;
        }

    .cart-items .item .item-thumbs {
        display: flex;
        gap: 10px;
    }

.cart-items .item-image {
    max-width: 100px;
    min-width: 50px;
    max-height: 100px;
    aspect-ratio: 1/1;
    position: relative;
}

    .cart-items .item-image .icon-container {
        position: absolute;
        top: 0px;
        right: 0px;
        height: 20px;
        background: #fff;
    }

        .cart-items .item-image .icon-container i {
            font-size: 20px;
        }

.cart-items .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.cart-items .item .item-name {
    font-size: 20px;
    margin-bottom: 10px;
    width: 100%;
    max-width: 310px;
}

.cart-items .item .item-desc {
    font-size: 12px;
}

.cart-items .item .badge {
    margin-bottom: 20px;
}

.cart-items .item .item-price {
    font-size: 20px;
    text-align: center;
    min-width: 230px;
    display: flex;
    justify-content: space-evenly;
}

.cart-items .cart-summary {
    padding: 30px 20px 10px 20px;
}

    .cart-items .cart-summary .cart-summary-price,
    .cart-items .cart-summary .cart-summary-fee,
    .cart-items .cart-summary .cart-summary-coupon,
    .cart-items .cart-summary .cart-summary-cool-delivery {
        display: flex;
        align-items: center;
        justify-content: right;
    }

        .cart-items .cart-summary .cart-summary-fee span:first-child,
        .cart-items .cart-summary .cart-summary-coupon span:first-child,
        .cart-items .cart-summary .cart-summary-cool-delivery span:first-child {
            margin-right: 16px;
        }

        .cart-items .cart-summary .cart-summary-fee span:last-child,
        .cart-items .cart-summary .cart-summary-coupon span:last-child,
        .cart-items .cart-summary .cart-summary-cool-delivery span:last-child {
            font-size: 22px;
            min-width: 65px
        }

        .cart-items .cart-summary .cart-summary-price span:first-child {
            font-size: 20px;
            margin-right: 64px;
            margin-top: 6px;
        }

        .cart-items .cart-summary .cart-summary-price span:nth-child(2) {
            font-size: 46px;
            margin-right: 10px;
        }

        .cart-items .cart-summary .cart-summary-price span:last-child {
            font-size: 16px;
        }

/*#endregion*/

/*#region cart payment*/
.cart-payment {
    margin-bottom: 80px;
}

    .cart-payment .cart-payment-options .option {
        padding: 30px 20px;
        border: 2px solid #dedede;
        border-radius: 20px;
        margin-bottom: 30px;
        line-height: 160%;
    }

        .cart-payment .cart-payment-options .option.active {
            border-color: var(--text-second-color)
        }

        .cart-payment .cart-payment-options .option:last-child {
            margin-bottom: 0;
        }

        .cart-payment .cart-payment-options .option label {
            font-weight: 500;
            font-size: 16px;
            margin-left: 6px;
            margin-bottom: 16px;
        }

        .cart-payment .cart-payment-options .option .option-note p {
            font-size: 14px;
            margin-bottom: 10px;
        }

.img-payment-wrapper img {
    width: 100%;
    height: auto;
}

/*#endregion*/

/*#region cart survey*/
.cart-survey {
    margin-bottom: 60px;
}

    .cart-survey .question {
        margin-bottom: 60px;
        font-weight: 500;
    }

        .cart-survey .question:last-child {
            margin-bottom: 0;
        }

        .cart-survey .question .title {
            font-size: 20px;
            margin-bottom: 28px;
        }

        .cart-survey .question input[type=radio] {
            margin-right: 8px;
        }

        .cart-survey .question label:first-child {
            margin-bottom: 20px;
        }

        .cart-survey .question textarea {
            min-height: 226px;
        }
/*#endregion*/

/*#region cart preview*/
.cart-ctn .order-preview {
    margin-bottom: 80px;
}

.cart-ctn .preview {
    border-bottom: 1px solid var(--border-main-color);
    padding: 40px 0;
}

.cart-ctn .order-preview .preview .section-title {
    font-size: 20px;
    font-weight: 500;
}
/*#endregion*/


@media only screen and (max-width: 800px) {
    .cat-label {
        margin-bottom: 0;
    }

    .cart-preview-header {
        display: none;
    }

    .cart-preview {
        margin-bottom: 0;
    }

    .cart-ctn {
        margin-bottom: 0;
    }

    .cart-items,
    .cart-items.cart {
        margin-bottom: 43px;
    }

    .cart-items, .cart-payment, .cart-survey {
        padding: 0 20px;
    }

    .cart-payment {
        margin-bottom: 60px;
    }

    .cart-items .item .item-btn {
        font-size: 14px;
        bottom: 18px;
        width: fit-content;
    }

    .cart-items .item .cart-item-quantity {
        left: 18px;
    }

    .cart-items .item {
        padding: 30px 10px 18px 10px;
    }

        .cart-items .item:first-child {
            padding-top: 20px;
        }

    .cart-items .item-image {
        width: 50px;
        height: 50px;
        aspect-ratio: 1/1;
    }

    .cart-items .item img {
        border-radius: 6px;
    }

    .cart-items .item .item-name {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .cart-items .item .badge {
        margin-bottom: 10px;
    }

    .cart-items .item .item-desc {
        font-size: 10px;
    }

    .cart-items .item .item-price {
        width: 100%;
        text-align: right;
        padding-top: 18px;
        font-size: 16px;
    }

    .cart-items .cart-summary .cart-summary-price span:first-child {
        font-size: 14px;
        margin-right: 4px;
        margin-top: 6px;
    }

    .cart-items .cart-summary .cart-summary-price span:nth-child(2) {
        font-size: 36px;
        margin-right: 8px;
    }

    .cart-items .cart-summary {
        padding: 30px 0 10px 20px;
    }

    .cart-summary-fee, .cart-summary-coupon {
        font-size: 14px;
    }

    .cart-payment .cart-payment-options .option {
        margin-bottom: 20px;
        padding: 20px;
    }

        .cart-payment .cart-payment-options .option label {
            font-size: 14px;
            margin-bottom: 8px;
        }

        .cart-payment .cart-payment-options .option .option-note p {
            font-size: 12px;
            margin-bottom: 7px;
        }

    .cart-survey .question .title {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .cart-survey .question label {
        font-size: 14px;
    }

    .img-payment-wrapper {
        max-width: 300px;
    }

    .order-preview {
        padding: 0 20px;
    }

    .cart-ctn .order-preview .preview .section-title {
        font-size: 18px;
    }

    .cart-ctn .preview {
        padding: 20px 0;
    }
}

.coupon-apply-btn {
    padding: 3px 0px;
    width: 80px;
    min-width: unset;
    font-size: 14px;
    height: 30px;
}

.coupon-code-input {
    border-radius: 0.6125rem !important;
    width: 36%;
    height: 45px;
    min-width: 210px;
}

.coupon-apply-area {
    height: 50px;
    padding: 2.5px;
}

#confirm-card-loader {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(0, 0, 0, .2);
    top: 0;
    left: 0;
}

@media only screen and (max-width: 800px) {
    .coupon-code-input::placeholder {
        font-size: 10px;
    }
}
