#submit_place_order {
    margin-right: 10px;
    padding: 10px 20px;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    flex: 0.23 1 0;
    z-index: 2;
}


@media only screen and (max-width: 680px) {
    #submit_place_order {
        margin-right: 0px;
        padding: 10px 20px;
        background: #28a745;
        color: #fff;
        border: none;
        border-radius: 6px;
        font-size: 16px;
        cursor: pointer;
        flex: auto;
        z-index: 2;
    }

    form.cart :where(.single_add_to_cart_button, .wd-buy-now-btn, .quantity) {
        flex: auto !important;
    }
}

.flex-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

body,
input,
textarea,
button {
    line-height: 1;
}

.payment-methods {
    margin-top: 15px;
}

.payment-methods__guide-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.payment-methods__guide-text h3 {
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}

.payment-methods__guide-text a {
    color: #1890ff;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.payment-methods__box {
    border-radius: 12px;
    background-color: #f0f0f0;
    overflow: hidden;
    position: relative;
}

.payment-methods__box .payment-methods__box__options {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    height: 38px;
}

.active-option {
    height: 38px;
    width: 24.5%;
    top: 0;
    right: 0;
    position: absolute;
    background-color: #f0f0f0;
    transition: right 400ms;
}

.active-option span {
    display: block;
    z-index: 1;
    background-color: var(--primary);
    border: 1px solid var(--primary);
    color: #fff;
    height: 100%;
    width: 100%;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
    transition: right 300ms;
}

.active-option svg:first-child {
    position: absolute;
    left: -8px;
    top: 31px;
}

.active-option svg:last-child {
    position: absolute;
    right: -8px;
    top: 31px;
    transform: rotate(90deg);
}

.payment-methods__box .payment-methods__box__options li.payment-methods__box__options--active span {
    position: relative;
    z-index: 2;
    color: #fff;
}

.payment-methods__box .payment-methods__box__options li {
    flex: 1;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    color: var(--primary);
    margin-bottom: 0;
    padding: 12px 0 3px;
}

.payment-methods__box .payment-methods__box__options li:not(:first-child) {
    border-right: 1px solid #d3d3d3;
}

.payment-methods__box__content {
    background-color: var(--primary);
}

.payment-methods__box__content {
    display: none;
    padding: 12px;
}

.payment-methods__installments {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.payment-methods__installments>li {
    justify-content: space-around;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 6px;
    height: 48px;
    overflow: hidden;
    margin: 0;
    transition: height 300ms;
}

.payment-methods__installment__header {
    display: flex;
    justify-content: space-between;
    padding: 14px 12px;
}

.payment-methods__installment__header>div {
    display: flex;
    align-items: center;
    gap: 6px;
}

.payment-methods__installment__header__checkbox {
    width: 18px;
    height: 18px;
    position: relative;
    background-color: #fff;
    border-radius: 50px;
    border: 2px solid #d9d9d9;
    margin-left: 3px;
    cursor: pointer;
    transition: all 300ms;
}

.payment-methods__installment--active {
    height: 177px !important;
    transition: height 300ms;
}

.not-collapse-able .payment-methods__installment--active {
    height: 48px !important;
}

.not-collapse-able .payment-methods__installment__header {
    padding: 6px 12px;
    /* justify-content: ; */
}

.payment-methods__installment__header__price_discount-container {
    gap: 0 !important;
}

.payment-methods__installment__header__price--discount {
    width: 100%;
    margin-bottom: 3px;
}

.payment-methods__installment__header__price--discount p {
    font-size: 16px !important;
}

.payment-methods__installment--active .payment-methods__installment__header__checkbox {
    border: 2px solid var(--success);
    position: relative;
    box-shadow: 0px 0px 0px 3px #30b24b10;
    transition: all 300ms;
}

/* .payment-methods__installment__header--active */

.payment-methods__installment--active .payment-methods__installment__header__checkbox::before {
    content: "";
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50px;
    background-color: var(--success);
    transition: all 300ms;
}

.payment-methods__installment__header>div .payment-methods__installment__value {
    color: #8c8c8c;
    margin: 0;
}

.payment-methods__installment--active .payment-methods__installment__header>div:is(.payment-methods__installment__value, .payment-methods__installment__header__price p, .payment-methods__installment__header__price span, .payment-methods__installment__header__price__toman-icon path) {
    color: var(--success);
    fill: var(--success);
}

.payment-methods__installment__header>div .payment-methods__installment__value span:first-child {
    font-size: 16px;
    font-weight: 600;
}

.payment-methods__installment__header>div .payment-methods__installment__value span:last-child {
    font-size: 14px;
    font-weight: 400;
}

.payment-methods__installment__header__price {
    display: flex;
    gap: 6px;
    width: 100%;
    align-items: center;
    justify-content: flex-end;
}

.payment-methods__installment__header__price p {
    font-size: 20px;
    color: #8c8c8c;
    font-weight: 600;
    margin: 0;
    line-height: 1;
    /* margin-top: 2px; */
}

.payment-methods__installment__header__price--discount p {
    text-decoration: line-through;
    text-decoration-color: #ff4d4f;
}

.payment-methods__installment__header__price--discount span {
    display: block;
    padding: 3px 10px;
    line-height: 1;
    background-color: #ff4d4f;
    border-radius: 50px;
    font-size: 10px !important;
    color: #fff !important;
}

.payment-methods__installment__header__price span {
    font-size: 14px;
    color: #b0b0b0;
    font-weight: 400;
}

.payment-methods__installment__header__arrow {
    margin-right: 7px;
}

.payment-methods__installment__header__arrow--open {
    transform: rotate(180deg);
}

.payment-methods__installment__items {
    padding: 0;
    margin: 0;
}

.payment-methods__installment__items li {
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #e7e7e7;
    margin: 0;
}

.payment-methods__installment__items li p {
    display: flex;
    align-items: center;
    gap: 5px;
}

.payment-methods__installment__items li p {
    padding: 0;
    margin: 0;
}

.payment-methods__installment__items li p:first-child {
    font-size: 14px;
    color: #b0b0b0;
}

.payment-methods__installment__items__total-price {
    font-size: 23px;
    font-weight: 800;
}

.payment-methods__installment__items__pre-payment,
.payment-methods__installment__items__pre-payment div {
    display: flex;
    align-items: center;
}

.payment-methods__installment__items__pre-payment div {
    gap: 4px;
}

.payment-methods__installment__items__pre-payment {
    gap: 8px;
}

.payment-methods__installment__items__pre-payment div span {
    display: block;
    width: 20px;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 5px;
    display: grid;
    place-items: center;
    cursor: pointer;
    user-select: none;
}

.payment-methods__installment__items__price {
    color: #8c8c8c;
    font-weight: 600;
}

.payment-methods__description-message {
    text-align: center;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    margin-top: 12px;
    margin-bottom: 0;
}

.submit-btn {
    padding: 7px 15px;
    background-color: var(--primary);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    height: 40px;
    width: 100%;
    margin-top: 16px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 150ms;
}

.payment-methods__submit-btn {
    width: 100%;
}

.payment-methods__submit-btn:hover {
    transition: all 300ms;
    filter: brightness(0.85);
}

.payment-methods__submit-btn--disabled {
    background-color: #f0f0f0;
    color: #8c8c8c;
    cursor: not-allowed;
}

.payment-methods__submit-btn--disabled:hover {
    filter: brightness(1);
}

.due-info {
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.due-info__btn {
    all: unset;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.due-info-fixed-wrapper {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 80%;
    z-index: 999;
    transform: translate(0px, 100%);
    transition: all 0.4s;
}

.due-info-fixed-wrapper--open {
    transform: translate(0px, 0%);
    transition: all 0.4s;
}

.due-info-drawer-box {
    height: 100%;
    border-radius: 16px 16px 0px 0px;
    border: 1px solid #f0f0f0;
    background: #fff;
    padding-bottom: 50px;
}

.due-info-drawer__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
}

.due-info-drawer__header-box {
    border-bottom: 2px solid #eeeeee;
    padding: 12px 12px 16px 12px;
}

.due-info-drawer__header-box__top {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.due-info-drawer__header-box__info {
    margin-top: 14px;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    padding: 0;
}

.due-info-drawer__header-box__info {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 100%;
}

.due-info-drawer__header-box__info li {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.due-info-drawer__header-box__info__type p {
    padding: 1px 8px;
    color: rgba(0, 0, 0, 0.45);
    border-radius: 6px;
    margin: 0;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.1);
}

.due-info-drawer__header-box__info__type h4 {
    font-size: 18px;
    font-weight: 600;
}

.due-info-drawer__header-box__info__price p {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    gap: 5px;
    margin: 0;
}

.due-info-drawer__header-box__info__price h4 {
    font-size: 14px;
}

.due-info-drawer__header h4 {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    margin: 0;
}

.due-info-default {
    max-height: 0;
    overflow: hidden;
    transition: all 0.2s ease-out;
}

.due-info-default--open {
    max-height: 1000px;
    transition: all 0.5s ease-in;
}

.due-info-drawer__installments ul {
    display: flex;
    flex-direction: column;
    padding: 8px 24px;
    margin: 0;
    list-style: none;
    height: 60vh;
    overflow: scroll;
    transition: all 300ms;
}

.due-info-drawer__installments>div {
    display: flex;
    justify-content: center;
}

.due-info-drawer__installments>div .due-info-drawer__installments__show-more-btn {
    align-items: center;
    justify-content: center;
    color: #1890ff;
    gap: 5px;
    font-size: 14px;
    cursor: pointer;
}

.due-info-drawer__installments>div .due-info-drawer__installments__show-more-btn svg {
    margin-right: 5px;
}

.due-info-drawer__installments--show-more ul {
    height: 65%;
    overflow: scroll;
    transition: all 300ms;
}

.due-info-drawer__installments ul li {
    padding: 10px 0;
    display: flex;
}

.due-info-drawer__installments ul li:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.due-info-drawer__installments ul li p {
    width: 33.33%;
    margin: 0;
}

.due-info-drawer__installments ul li p:nth-child(1) {
    font-size: 14px;
    color: #8c8c8c;
}

.due-info-drawer__installments ul li p:nth-child(2) {
    text-align: center;
    font-size: 14px;
    color: #8c8c8c;
}

.due-info-drawer__installments ul li p:nth-child(3) {
    text-align: left;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.section-loading {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 99;
    background-color: #00000073;
    display: grid;
    place-content: center;
}

.section-loading img {
    width: 50px;
    height: 50px;
}

.fixed-footer-container {
    padding: 12px 16px;
    background-color: #fff;
    box-shadow: 0px 2px 30px 0px rgba(0, 0, 0, 0.08);
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    transform: translate(0px, 100%);
    transition: all 300ms;
}

.fixed-footer-container--open {
    transform: translate(0, 0);
    transition: all 300ms;
}

.fixed-footer__submit-btn {
    width: 92%;
}

.fixed-footer__submit-btn--open {
    transform: translate(0px, -2%);
}

.product-info__price {
    display: flex;
    align-items: center;
    color: var(--primary);
    gap: 5px;
    font-family: Yekanbakh, serif !important;
}

.main__price {
    font-family: 'Yekanbakh', serif !important;
}

.product-info__price :is(h3, span:last-child) {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.product-info__price span:first-child {
    font-size: 14px;
    font-weight: 600;
}

.product-info__has-no-price__text {
    color: #ff4d4f;
    font-weight: 600;
    margin: 30px 0;
}

.product-info__has-no-price__btn {
    background-color: #ff4d4f;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    gap: 8px;
    font-weight: 600;
    color: #fff;
    border-radius: 8px;
    padding: 10px 14px;
    width: 100%;
}

.modal-dialog {
    display: none;
    width: 100%;
    height: 100vh;
    position: fixed;
    background: rgba(0, 0, 0, 0.274);
    top: 0;
    right: 0;
    /* display: flex; */
    z-index: 103;
    justify-content: center;
    place-items: center;
}

.modal-dialog--open {
    display: flex;
}

.modal-dialog__form__count-down {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 300;
    gap: 5px;
    justify-content: center;
    width: 100%;
    margin: 0;
}

.modal-dialog__body__title {
    text-align: center;
    font-size: 19px;
    font-weight: 600;
}

.modal-dialog__body__description {
    text-align: center;
    font-size: 16px;
    font-weight: 300;
    margin-top: 20px;
}

.modal-dialog__form {
    margin-top: 32px;
    margin-bottom: 0;
    gap: 8px;
}

.modal-dialog__field {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.modal-dialog__field:not(:last-child) {
    margin-bottom: 14px;
}

.modal-dialog__field label {
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 6px;
    padding-right: 6px;
    width: 100%;
    text-align: right;
}

.modal-dialog__field input {
    border-radius: 10px;
    border: 1px solid #d9d9d9;
    padding: 8px 16px;
    outline: none;
    width: 100%;
}

.modal-dialog__field input::placeholder {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.418);
    font-weight: 400;
}

.modal-dialog__field--ltr input {
    direction: ltr;
    text-align: left;
}

.modal-dialog__field--ltr input::placeholder {
    text-align: right;
}

.modal-dialog__submit-button {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--primary);
    background: var(--primary);
    font-weight: 600;
    margin-top: 8px;
    padding: 12px 16px;
    color: #fff;
    cursor: pointer;
}

.modal-dialog-box {
    width: 700px;
    background-color: #fff;
    border-radius: 20px;
    transform: scale(0);
    padding: 18px;
}

.modal-dialog-box--open {
    transform: scale(1);
    animation: request-modal-animation 300ms;
}

@keyframes request-modal-animation {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.modal-dialog-box header {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.modal-dialog__body {
    width: 100%;
}

@media only screen and (max-width: 768px) {
    .modal-dialog {}

    .modal-dialog-box {
        width: 83%;
        /* flex-direction: column-reverse; */
    }

    .modal-dialog__right,
    .modal-dialog__left {
        width: auto;
    }

    .modal-dialog__image-cover--mobile {
        display: block;
    }

    .modal-dialog__image-cover--desktop {
        display: none;
    }
}

[class*="wd-swatches"].wd-dis-style-1 .wd-swatch.wd-disabled {
    display: none !important;
}