#ordersModal.modal,
#couponsModal.modal {
    --bs-modal-header-padding: 0.75rem 0.75rem;
    --bs-modal-border-width: 0;
    --bs-modal-border-radius: 4px;
}

#ordersModal .modal-footer {
    justify-content: space-between;
    padding: .5rem;
}

#ordersModal .modal-body th {
    font-weight: normal;
    background: rgba(34, 34, 34, 0.075);
    color: #222222;
    padding: 10px;
    border-bottom: 1px solid var(--bs-border-color);
}

#ordersModal .modal-body th,
#ordersModal .modal-body td,
#ordersModal .modal-body tr {
    border-style: dashed;
    border-color: rgba(34, 34, 34, 0.15);
}

#ordersModal .modal-body tfoot tr,
#ordersModal .modal-body tfoot td {
    border-width: 0;
}

.order-item-info {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.order-item-info_photo {
    flex: 0 0 70px;
    max-width: 70px;
}

.order-item-info_photo span {
    display: block;
    border-radius: 5px;
    padding: 3px;
    border: 1px solid #eee;
}

.order-item-info_photo span img {
    border-radius: 3px;
}

.order-item-info_attr {
    flex: 0 0 calc(100% - 80px);
    max-width: calc(100% - 80px);
}

.order-item-sale-price {
    font-weight: 600;
    color: #ef4444;
    font-size: 13px;
}

.order-item-base-price {
    font-size: 12px;
    color: #aaa;
    margin: 0 3px;
    text-decoration: line-through;
}

.order-item-discount-price {
    font-style: italic;
    font-size: 11px;
    display: inline-block;
    background-color: #cc2c32;
    color: #fff;
    padding: 0 5px;
    border-radius: 5px;
}

.order-item-tmp-price {
    font-size: 14px;
    font-weight: 600;
    color: #ef4444;
}

.order-item-quantity_btn {
    width: 26px;
    height: 26px;
    background-color: #eee;
    padding: 0;
    font-size: 12px;
}

.order-item-quantity_input {
    width: 44px;
    height: 26px;
    border: 1px solid #eee !important;
    text-align: center;
}

.order-item-quantity {
    display: flex;
    justify-content: center;
}

.modal-orders-title {
    font-style: italic;
}

.modal-orders-title .count-item-orders {
    color: #ef4444;
    font-weight: 600;
}

.order-tmp-price,
.order-total-price,
.order-delivery-price,
.order-discount-price {
    font-size: 16px;
    font-weight: 600;
    color: #ef4444;
}

.order-item-info__property {
    color: #999;
    font-size: 13px;
}

.order-item-info__property span {
    margin: 0 3px;
}

.modal-orders-checkout-btn,
.modal-orders-view-btn {
    border-radius: 5px;
    padding: 6px 15px;
    border: 1px solid #222222;
    background: #222222;
    color: #fff;
    transition: .3s;
}

.modal-orders-checkout-btn:hover,
.modal-orders-view-btn:hover {
    background-color: #fff;
    color: #222222;
}

.modal-orders-payment-cancel {
    background: #eee;
    border-radius: 5px;
    padding: 6px 15px;
    transition: .3s;
}

.order-item-delete {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 24px;
    height: 24px;
    color: #cc2c32;
    background: transparent;
    font-size: 16px;
}

.empty-orders {
    text-align: center;
}

.empty-orders p {
    font-size: 14px;
    margin: 20px 0;
}

.orders-top {
    align-items: center;
    justify-content: space-between;
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.orders-top h3 {
    font-size: 18px;
    font-weight: 600;
}

.orders-top p span {
    font-weight: 600;
    color: #222222;
}

.order-products-item {
    display: flex;
    padding: 12px;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #eee;
}

.order-products-item-price {
    flex: 0 0 150px;
    max-width: 150px;
}

.order-products-item-price .order-item-tmp-price {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
    text-align: right;
}

.order-products-item-price .order-item-quantity {
    justify-content: flex-end;
}

.order-products-item-info {
    flex-grow: 1;
    padding-right: 10px;
}

.orders-products .order-products-item+.order-products-item {
    margin-top: 15px;
}

.orders-notes {
    background: #f3f4f4;
    padding: 15px;
    margin: 20px 0;
    border-radius: 10px;
}

.orders-notes label {
    display: block;
    margin: 0 0 10px;
    font-weight: 600;
    font-size: 14px;
}

.orders-summary {
    background: #fff;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
}

.orders-summary>h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.orders-summary-time-ship {
    background: #fcfcfc;
    border: 1px solid #F5f5f5;
    border-radius: 10px;
    font-size: 13px;
}

.orders-summary-time-ship-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 8px;
}

.orders-summary-time-ship-row.orders-summary-time-ship-row-picktime {
    border-top: 1px solid #F5f5f5;
}

.orders-submit-btn {
    background: red;
    display: block;
    color: #fff;
    text-transform: uppercase;
    padding: 10px 5px;
    border-radius: 10px;
    width: 100%;
    font-weight: 600;
    margin-top: 20px;
    text-align: center;
}

.orders-summary-money {
    font-size: 16px;
    padding-bottom: 10px;
    padding-top: 15px;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.orders-summary-money .order-tmp-price {
    font-size: 24px;
}

.orders-tutorial {
    margin: 0;
    padding: 0;
    list-style: inside;
}

.checkouts-title {
    font-size: 16px;
    font-weight: 600;
}

.checkouts-title.has-toggle {
    position: relative;
    cursor: pointer;
}

.checkouts-title.has-toggle::after {
    position: absolute;
    content: '\f107';
    font-family: 'Font Awesome 7 Pro';
    right: 0;
    top: 0;
}

.checkouts-block {
    padding: 17px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0px -1px 2px 0px rgba(0, 0, 0, 0.04), 0px 2px 4px 0px rgba(0, 0, 0, 0.08);
}

.checkouts-block_inner {
    margin-top: 15px;
}

.group-checkouts-payment {
    border: 1px solid #eee;
    border-radius: 10px;
}

.form-checkouts-payment {
    padding: 10px 20px 10px 40px;
    margin-bottom: 0;
}

.form-checkouts-payment input,
.form-checkouts-payment label {
    cursor: pointer;
}

.form-checkouts-payment.checked {
    background-color: #f4f4f4;
}

.form-checkouts-payment p:not(.checkouts-payment_method-desc) {
    font-weight: 500;
}

.form-checkouts-payment+.form-checkouts-payment {
    border-top: 1px solid #eee;
}

.form-checkouts-payment .checkouts-payment_method {
    margin-left: -25px;
}

.checkouts-payment_method-desc {
    display: none;
    margin-top: 10px;
    background-color: #ccc;
    padding: 10px 15px;
    border-radius: 7px;
}

.checkouts-deliveryTime {
    padding: 15px;
    background: #f2f2f2;
    border-radius: 10px;
}

.checkouts-summary-row {
    padding: 5px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkouts-summary-row:nth-of-type(1) {
    padding-top: 0;
    margin-top: 15px;
}

.checkouts-products-group .order-item-info:last-child {
    margin-bottom: 15px;
}

.checkouts-open-orders {
    font-size: 13px;
    background: transparent;
    padding: 0;
    margin-left: 5px;
    color: var(--bs-primary);
}

.checkouts-products-group .order-item-info .order-item-info_attr>p {
    font-size: 13px;
    line-height: 20px;
}

.checkouts-form-submit {
    margin-top: 15px;
    background: var(--bs-danger);
    color: #fff;
    font-weight: 600;
    border-radius: 7px;
    width: 100%;
    height: 35px;
    text-transform: uppercase;
}

.order-item-info-checkouts-qty {
    display: flex;
    justify-content: space-between;
}

.checkouts-products-group {
    margin-top: 15px;
}

.orders-complete-top {
    text-align: center;
    margin-bottom: 45px;
}

.orders-complete-top>img {
    max-width: 90px;
    margin-bottom: 10px;
}

.orders-complete-top>h4 {
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 600;
    color: #2aa515;
}

.orders-complete-top>p {
    margin-bottom: 8px;
}

.orders-complete-top-code {
    margin: 15px 0;
    font-size: 20px;
    font-weight: 600;
}

.orders-complete-top-code span {
    border-radius: 3px;
    color: #ec2d3f;
    background: #eee;
    display: inline-block;
    padding: 8px 15px;
    margin-left: 10px;
}

.orders-complete-card {
    background: #F5f5f5;
    box-shadow: var(--bs-box-shadow);
    border-radius: 7px;
}

.orders-complete-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--bs-secondary);
    padding: 15px;
    border-bottom: 1px solid #f2f2f2;
}

.orders-complete-card-body {
    padding: 15px;
}

.orders-complete-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}

.orders-complete-summary-row:last-child {
    padding-bottom: 0;
}

.orders-complete-summary-row:nth-of-type(1) {
    padding-top: 0;
}

.orders-complete-summary-row+.orders-complete-summary-row {
    border-top: 1px dashed #eee;
}

.orders-complete-summary-row h4 {
    font-size: 17px;
}

.orders-complete-info-row {
    padding: 6px 0;
    display: flex;
    align-items: center;
}

.orders-complete-info-row:first-child {
    padding-top: 0;
}

.orders-complete-info-row:last-child {
    padding-bottom: 0;
}

.orders-complete-info-row_icon {
    display: block;
    margin-right: 6px;
    width: 26px;
    height: 26px;
    font-size: 12px;
    background: #eee;
    border-radius: 50%;
    line-height: 26px;
    text-align: center;
}

.orders-complete-invoice ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.orders-complete-invoice ul li+li {
    margin-top: 10px;
}

.orders-complete-product-item {
    display: flex;
    align-items: center;
    padding: 6px 0;
}

.orders-complete-product-item:last-child {
    padding-bottom: 0;
}

.orders-complete-product-item:first-child {
    padding-top: 0;
}

.orders-complete-product-item:not(:last-child) {
    border-bottom: 1px dashed #eee;
}

.orders-complete-product-item_photo {
    flex: 0 0 60px;
    max-width: 60px;
}

.orders-complete-product-item_photo span {
    display: block;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 5px;
}

.orders-complete-product-item_price {
    flex: 0 0 100px;
    max-width: 100px;
}

.orders-complete-product-item_price strong {
    font-size: 15px;
    color: var(--bs-danger);
}

.orders-complete-product-item_quantity {
    flex: 0 0 50px;
    max-width: 50px;
}

.orders-complete-product-item_info {
    flex-grow: 1;
    padding: 0 6px;
}

.orders-complete-product-item_info h4 {
    font-size: 14px;
    font-weight: 600;
}

.orders-complete-product-item_info p {
    font-size: 13px;
}

.checkouts-select-coupon {
    padding: 8px 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #eee;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    margin-top: 15px;
}

.checkouts-select-coupon svg {
    margin-right: 3px;
    margin-bottom: 2px;
}

.checkouts-select-coupon i {
    font-size: 15px;
}

.checkouts-form-coupon {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.checkouts-form-coupon #checkouts-coupon {
    flex: 0 0 calc(100% - 90px);
    max-width: calc(100% - 90px);
    margin-right: 10px;
}

.checkouts-form-coupon .checkouts-coupon-submit {
    flex: 0 0 80px;
    max-width: 80px;
    height: 40px;
    background-color: #333;
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
}

#couponsModal.modal .couponsModaltitle {
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

.checkouts-coupons-item {
    display: flex;
    align-items: center;
    background: url(../images/shopping/bg-coupon.webp) left center/100% 100% no-repeat;
    width: 360px;
    margin-left: 20px;
    transition: .3s;
    cursor: pointer;
}

.checkouts-coupons-item:hover {
    transform: translateY(-5px);
}

.checkouts-coupons-item:not(:last-child) {
    margin-bottom: 20px;
}

.checkouts-coupons-item_icon {
    flex: 0 0 105px;
    max-width: 105px;
    padding: 10px 0 10px 20px;
    position: relative;
}

.checkouts-coupons-item_icon::after {
    position: absolute;
    content: '';
    top: 15px;
    bottom: 15px;
    right: 0;
    width: 2px;
    border-right: 2px dashed #eee;
}

.checkouts-coupons-item_icon img {
    max-width: 70px;
}

.checkouts-coupons-item_info {
    flex: 0 0 calc(100% - 105px);
    max-width: calc(100% - 105px);
    padding-left: 15px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.checkouts-coupons-item_info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 3px;
}

.checkouts-coupons-item_info p {
    font-size: 13px;
}

.checkouts-coupons-item_info span {
    font-weight: 600;
    margin-left: 3px;
}

.checkouts-coupons-item-copy {
    background-color: var(--bs-danger);
    color: #fff;
    margin-top: 3px;
    padding: 3px 12px;
    border-radius: 30px;
    font-size: 13px;
}

.checkouts-applied-coupon {
    padding-top: 15px;
}

.checkouts-coupon-used {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
}

.checkouts-coupon-used:not(:last-child) {
    border-bottom: 1px dashed #eee;
}

.checkouts-coupon-used button {
    background-color: transparent;
    color: var(--bs-danger);
}

.checkouts-coupon-used span {
    font-weight: 600;
}

.checkouts-coupon-used span i {
    color: var(--bs-orange);
}

@media (min-width: 1200px) {
    #ordersModal.modal .modal-xl {
        --bs-modal-width: 940px;
    }
}

@media screen and (max-width:769px) {
    #couponsModal.modal .couponsModaltitle {
        font-size: 14px
    }

    #ordersModal .modal-body th:nth-child(2),
    #ordersModal .modal-body tr td:nth-child(2) {
        display: none;
    }

    .order-item-info_photo {
        flex: 0 0 60px;
        max-width: 60px;
    }

    .order-item-info_attr {
        flex: 0 0 calc(100% - 70px);
        max-width: calc(100% - 70px);
    }

    .order-item-info__property {
        font-size: 12px;
    }

    #ordersModal .order-item-quantity {
        margin-top: 3px;
        justify-content: flex-start;
    }

    .orders-top {
        display: block;
    }

    .orders-top h3 {
        margin-bottom: 10px;
    }

    .order-products-item {
        padding: 0;
        border-radius: 0;
        border: none;
        overflow: visible;
    }

    .order-products-item-price {
        flex: 0 0 100px;
        max-width: 100px;
    }

    .checkouts-block:not(.checkouts-products) {
        padding: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .checkouts-title {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .order-item-info-checkouts-qty {
        flex-direction: column;
    }

    .order-item-info-checkouts-qty .order-item-info__price {
        margin: 5px 0;
    }

    .order-item-info-checkouts-qty .order-item-quantity {
        justify-content: flex-start;
    }

    .checkouts-products .checkouts-title {
        margin-bottom: 15px;
    }
}