main {
    background: var(--miracel-primary-white-color);
    min-height: 80vh;
    font-family: "YekanBakh", "IRANSans";
    font-weight: normal;
}

.cart-page {
    padding: 40px 0;
}

.show-cart {
    /* margin-top: 20px; */
}

.show-cart-title {
    padding-bottom: 10px;
    border-bottom: 1px solid #cacaca;
}

.show-cart-title h2 {
    font-size: 18px;
    font-weight: 700;
}

.show-cart-main {
    margin-top: 20px;
}

.show-cart-main-box-item {
    background: var(--miracel-primary-white-color);
    border: 1px solid #cacaca;
    border-radius: 6px;
    padding: 10px 10px 10px 20px;
    /* padding: 0 8px 0 20px; */
    margin-bottom: 8px;
    position: relative;
}
.show-cart-main-box-item a.cart-item-link {
    position: absolute;
    top: 0;
    right: 0;
    width: 93%;
    height: 100%;
}

.show-cart-main-box-item-content {
    display: flex;
    align-items: center;
}

.show-cart-main-box-item-content-right {
    display: flex;
    flex-basis: 75%;
}

.show-cart-main-box-item-content-left {
    flex-basis: 25%;
    margin-right: 10px;
}

.show-cart-main-box-item-img {
    width: 100%;
    height: 140px;
    overflow: hidden;
    flex-basis: 28%;
}

.show-cart-main-box-item-img img {
    width: 100%;
    border-radius: 5px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.show-cart-main-box-item-desc {
    padding-right: 20px;
    flex-basis: 78%;
    margin: 15px 0;
}

.show-cart-main-box-item-desc .show-cart-main-box-item-desc-title {
    /* margin: 10px 0; */
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.show-cart-main-box-item-desc .show-cart-main-box-item-desc-title h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
}

.show-cart-main-box-item-desc-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.show-cart-main-box-item-desc-intro ul li {
    font-size: 13px;
    font-weight: 700;
    color: #545454;
    /* margin-bottom: 6px; */
    margin-top: 7px;
}

.show-cart-main-box-item-price {
    display: inline-block;
    /* align-self: end; */
    margin-top: 10px;
    /* text-align: left; */
}

.show-cart-main-box-item-price p {
    /* font-size: 16px; */
    font-weight: 700;
    margin-bottom: 0;
}

.show-cart-main-box-item-delete {
    margin-right: 25px;
}

.show-cart-main-box-item-delete i {
    color: red;
    font-size: 18px;
}

/*factor */

.show-cart-main-factor-box {
    background: var(--miracel-primary-white-color);
    border: 1px solid #cacaca;
    border-radius: 6px;
    padding: 12px 15px;
    /* padding: 0 8px 0 20px; */
    margin-bottom: 10px;
}

.show-cart-main-factor-box-title {
    border-bottom: 1px solid #cacaca;
}

.show-cart-main-factor-box ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.factor-title {
    font-weight: 700;
    color: #313131;
}

.factor-value {
    font-weight: 700;
    color: #545454;
}

.factor-subvalue {
    font-size: 10px;
    font-weight: 700;
    font-weight: 300;
}

.factor-discount {
    color: red;
}

.show-cart-main-factor-box-btn {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    border-bottom: 1px solid #cacaca;
    padding-bottom: 12px;
}

.show-cart-main-factor-box-btn .account-btn {
    border: 1px solid var(--miracel-secondary-color);
    background: #ffe6d7;
    color: var(--miracel-secondary-color);
    border-radius: 5px;
    padding: 5px 8px;
    font-size: 12px;
    font-family: "YekanBakh", "IRANSans";
    font-weight: 700;
}

.show-cart-main-factor-box-btn .discount-btn {
    border: 1px solid var(--miracel-secondary-color);
    background: #ffe6d7;
    color: var(--miracel-secondary-color);
    border-radius: 5px;
    padding: 5px 8px;
    font-size: 12px;
    font-family: "YekanBakh", "IRANSans";
    font-weight: 700;
}


/* .show-cart-main-factor-box-btn-discount button {
    border: none;
    background: var(--miracel-primary-color);
    color: white;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 13px;
} */

.show-cart-main-factor-box-payment {
    margin-top: 12px;
    border-bottom: 1px solid #cacaca;
}

.show-cart-main-factor-box-payment-title h4 {
    font-size: 14px;
    font-weight: 700;
    color: #313131;
}

.show-cart-main-factor-box-payment-way {
    display: flex;
    margin-bottom: 15px;
}

.show-cart-main-factor-box-payment-way.spaced {
    align-items: center;
    justify-content: space-between;
}

/* redio */

.light::before,
.light::after {
    content: "";
    display: block;
    border-radius: 100%;
    position: absolute;
}

/* .light::before {
    width: 30px;
    height: 30px;
    background: var(--primary);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    top: 18px;
    left: 18px;
} */

/* .light::after {
    width: 42px;
    height: 42px;
    border: 1px solid var(--primary);
    top: 11px;
    left: 11px;
} */

.light {
    --primary: var(--miracel-primary-color);
    --other: hsl(0, 0%, 14%);
    /* background: hsl(0, 0%, 98%); */
}

/* h1 */

.light h1 {
    color: var(--other);
    padding: 8px 4px;
    border-bottom: 2px solid var(--other);
}

/* label */

.light label {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    margin: 8px 0;
    cursor: pointer;
    position: relative;
}

/* input */

/* .light input {
    opacity: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
} */

/* .design */

.design {
    width: 15px;
    height: 15px;
    border: 1px solid var(--other);
    border-radius: 100%;
    /* margin-right: 16px; */
    position: relative;
}

.design::before,
.design::after {
    content: "";
    display: block;
    width: inherit;
    height: inherit;
    border-radius: inherit;
    position: absolute;
    transform: scale(0);
    transform-origin: center center;
}

.design:before {
    /* background: var(--other); */
    opacity: 0;
    transition: 0.3s;
}

.design.ckecked:before {
    /* background: var(--other); */
    opacity: 0;
    transition: 0.3s;
}

.design::after {
    /* background: var(--primary); */
    opacity: 0.4;
    transition: 0.6s;
}

.design.checked::after {
    /* background: var(--primary); */
    opacity: 0.4;
    transition: 0.6s;
}

/* .text */

.text {
    /* color: var(--other); */
    font-weight: bold;
    position: relative;
    top: 2px;
    right: 4px;
}

/* checked state */

.light input:checked + .design::before {
    opacity: 1;
    transform: scale(0.6);
    position: relative;
    top: -1px;
    left: 1px;
}

.light input:checked + .design.checked::before {
    opacity: 1;
    transform: scale(0.6);
    position: relative;
    top: -1px;
    left: 1px;
}

/* other states */

.light input:hover + .design,
.light input:focus + .design {
    border: 1px solid var(--primary);
}

.light input:hover + .design:before {
    background: none;
}

.light input:focus + .design:before {
    background: var(--primary);
}

.light input:hover ~ .text {
    /* color: var(--primary); */
}

.light input:focus + .design::after,
.light input:active + .design::after {
    opacity: 0.1;
    transform: scale(2.6);
}

.abs-site-link {
    position: fixed;
    bottom: 20px;
    left: 20px;
    color: hsla(0, 0%, 0%, 0.6);
    background: hsla(0, 0%, 98%, 0.6);
    font-size: 16px;
}

/* end of redio */

.show-cart-main-factor-box-total {
    margin-top: 12px;
}

.show-cart-main-factor-box-total-btn {
    text-align: center;
    margin-top: 30px;
}

.show-cart-main-factor-box-total-btn button {
    border: none;
    background: #0dd17a;
    color: white;
    border-radius: 5px;
    padding: 10px 50px;
    font-size: 16px;
    font-family: "YekanBakh", "IRANSans";
    font-weight: 700;
}

/* modal */

.modal-title {
    font-size: 16px;
    font-weight: 700;
}

.modal-body {
    text-align: center;
}
.modal-body input.normal-txt {
    width: 60%;
    border: 1px solid #cacaca;
    border-radius: 5px;
    height: 30px;
    margin-top: 3px;
}
.modal-body input.radios {
    width: 14px;

    height: 14px;
    margin-top: 3px;
}

.modal-body input::placeholder {
    padding-right: 10px;
    font-size: 13px;
}

.modal-body .modal-input-text {
    font-size: 11px;
    font-weight: 700;
    margin-top: 5px;
}

.modal-body .text {
    top: 0;
}

.modal-body .light label {
    align-items: flex-start;
}

.modal-body .light label div {
    position: relative;
    top: -3px;
}

.modal-body .light label div p {
    font-size: 13px;
    margin-bottom: 5px;
}

.modal-footer {
    justify-content: center;
}

.modal-footer .btn {
    border: none;
    background: #0dd17a;
    color: white;
    border-radius: 5px;
    padding: 6px 30px;
    font-size: 14px;
    outline: none;
}

.modal-footer .btn.gray {
    background-color: #7e7e7e;
    /* color: var(--miracel-primary-color); */
}

.modal button {
    outline: none;
}

footer {
    margin-top: 0;
}

/* media */

@media (max-width: 767px) {
    .show-cart-main-box-item-img {
        width: 100%;
        height: 140px;
        overflow: hidden;
        flex-basis: 45%;
    }
    .show-cart-main-box-item-desc {
        flex-basis: 70%;
    }
}

@media (max-width: 550px) {
    .show-cart-main-box-item-desc .show-cart-main-box-item-desc-title h3 {
        font-size: 14px;
    }
    .show-cart-main-box-item-desc-intro ul li {
        font-size: 12px;
    }
    .show-cart-main-box-item-delete i {
        font-size: 16px;
    }
    .show-cart-main-box-item-price p {
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .show-cart-main-box-item {
        padding: 10px;
    }
    .show-cart-main-box-item-content {
        display: block;
    }
    .show-cart-main-box-item-img {
        width: 100%;
        height: 170px;
    }
}
