﻿:root {
    --BackgroundColor: #4F6B57;
    --BackgroundColorSecound: #f6bc13;
    --BackgroundProductListColor: #737373;
    --RedStoreColor:#ef4056;
    --SiteFont: iranyekan;
    --btn-success-main-style: #006c0c;
    --HomeSliderHeight: 64vh;
    --AncherTextColor: #404040;
    --AncherTextAARateColor: #707070;
    --BackgroundColorWhite: #ffffff;
}
.hidden {
    display: none;
    visibility: hidden
}


@keyframes input-animate {
    0% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.3, 0.7);
        color: green;
    }
    55% {
        transform: scale(1);
    }
    70% {
        transform: scale(1.2, 0.8);
    }
    80% {
        transform: scale(1);
    }
    90% {
        transform: scale(1.1, 0.9);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes input-check {
    0% {
        transform: scale(0) rotate(-45deg);
    }
    100% {
        transform: scale(1) rotate(-45deg);
    }
}

.Continue-process {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.checkout-to-shipping-sticky .selenium-next-step-shipping {
    width: 30%;
    pointer-events: none;
}

.lblReadText {
    font-size: 12px;
}

.details-Continue-process {
    padding: 10px;
    box-shadow: 0 0 2px 1px #c1c1c159;
    border-radius: 3px;
    background: #dfdfdf59;
    color: #5e5e5e;
    font-size: 12px;
    width: auto;
    text-align: center;
    margin-bottom: 15px;
}


#tikReadText {
    display: inline;
}

.cart-tab-main .page-content-cart .checkout-body {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

/* ======================
   Stable Basket Layout
   ====================== */

.cart-tab-main .page-content-cart .checkout-body{

    display:flex;
    align-items:flex-start;
    gap:24px;

    width:100%;
    padding:20px;

    box-sizing:border-box;
}


/* تصویر */

.sectionPictureProduct{

    flex:0 0 180px;

    display:flex;
    justify-content:center;
    align-items:flex-start;
}


.sectionPictureProduct .col-thumb{

    width:100%;
    display:block;
}


.sectionPictureProduct img{

    width:100%;
    max-width:180px;

    height:auto;

    object-fit:contain;
}


/* وسط (عنوان + ویژگی ها) */

.contentCenter{

    flex:1 1 auto;

    min-width:0;

    display:flex;
    flex-direction:column;

    align-items:flex-start;
}


/* سمت چپ (قیمت و quantity) */

.leftContent{
    flex:0 1 300px;
    min-width:300px;

    display:flex;
    flex-direction:column;

    justify-content:flex-end;
    align-items:stretch;
}


/* عنوان */

.nameProductBuyParent{

    width:100%;
    margin-bottom:18px;
}


.nameProductBuy{

    margin:0;

    text-align:right;

    line-height:1.9;

    font-size:16px!important;
}


/* table ویژگی ها */

.item-detailes-dropDown-basket{

    width:100%;
}


.table-detailes-dropDown-basket{

    width:100%;
}


.tr-row-detailes-basket{

    display:flex;

    gap:8px;

    margin-bottom:10px;

    align-items:center;
}


/* قیمت */

.basket-exists-box{

    width:100%;
}


/* جلوگیری از کشیدگی */

.checkout-col-desc{

    display:flex;
    width:100%;

    gap:24px;

    align-items:flex-start;
}

.table-detailes-dropDown-basket {
    width: 100%;
}

.item-detailes-dropDown-basket {
    width: 100%;
}

.add-to-sfl {
    width: 100%;
    text-align: center;
}

.cart-item-product-price {
    width: 100%;
    text-align: center;
}

.nameProductBuy {
    text-align: center;
}

.dot-center-basket {
    /*width: 60%;*/
    border-bottom: 1px dashed;
    margin-bottom: 10px;
}


.nameProductBuy {
    width: 100%;
    color:black;
    font-size: 16px !important;
    font-weight: 800 !important;
}

.tr-row-detailes-basket {
    display: flex;
    justify-content: flex-start;
}

.nameProductBuyParent {
    display: flex;
    /*border-bottom: 1px solid;*/
    width: 100%;
    margin: 0 auto 15px;
    /*border-image: linear-gradient(to right, #fff0, #0028ff, #fff0) 1;*/
}


.leftContent .checkout-variant-color .checkout-guarantee i {
    color: #1c7430;
}


.cart-tab-main .page-content-cart .checkout-body .checkout-col-desc .checkout-variant-color {
    /*width: 100%;*/
    /*height: auto;*/
    text-align: right;
    float: right;
    line-height: 30px;
    position: relative;
    font-size: 12px;
    padding-left: 25px;
}


.quantity-button.quantity-up {
    color: #1c7430;
}

.quantity-button.quantity-down {
    color: #c46666;
}

.singlePriceBuy {

    pointer-events: all !important;
    background-color: var(--btn-success-main-style) !important;
    color: #fff !important
}

.fa-trash{
    color:var(--RedStoreColor)
}


/*basket quantity plus mines start*/

.product-action-container {
    width: 100%;
}

.add-to-basket-btn:hover {
    opacity: .9;
}

.basket-exists-box {
    width: 100%;
    padding: 14px;
    border: 1px solid #e5e7eb66;
    border-radius: 12px;
    background: white;
}

.basket-row {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.basket-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.basket-title {
    color: #000;
    font-size: 17px;
    font-weight: 800;

    display: flex;
    align-items: center;
    gap: 6px;
}

.basket-link {
    color: var(--RedStoreColor) !important;
    font-size: 11px;
    text-decoration: none;
}

.basket-link:hover {
    text-decoration: underline;
}

.basket-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    /*background: #f3f4f6;*/
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color:transparent
}

.fa-plus , .fa-minus, .fa-trash , .qty-value{
    color:var(--RedStoreColor)
}
.qty-btn:hover {
    /*background: #e5e7eb;*/
}

.qty-value {
    min-width: 4px;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
}

.qty-delete {
    color: var(--RedStoreColor);
}

.d-none {
    display: none !important;
}
/*basket quantity plus mines end*/

.checkout-summary-summary li{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sum-discount span{
    color: #2e7b32;
}

.shipping-payment-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width:100%;
    height:56px;
    margin-top:28px;
    border:3px solid var(--RedStoreColor);
    border-radius:9px;
    color:var(--RedStoreColor) !important;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:.2s;
    background: transparent;
}

.shipping-payment-btn.ready {
    background:var(--RedStoreColor);
    color:#fff !important;
    border:none;
}

.add-cart-btn:hover{
    opacity:.92;
    transform:translateY(-1px);
}

.shipping-cost{
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}




/*shopping payment page start*/
.payment-methods , .shipping-methods {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 20px;
    border: 1px solid #ccc;
    padding: 14px;
    border-radius: 12px;
    box-shadow: 0 1px 5px rgba(69, 69, 69, 0.2);
}

.payment-card , .shipping-card {
    flex: 1;
    min-height: 130px;
    border: 2px solid #4f6b5769;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s;
    background: #fff;
}

.payment-card:hover , .shipping-card:hover {
    border-color: #ef4056;
}

.payment-card.active, .checkout-card.active, .shipping-card.active  {
    border-color: #ef4056;
    background: #4f6b5736;
    box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.15);
}

.payment-card input , .shipping-card input{
    display: none;
}

.shipping-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.shipping-title {
    font-size: 14px;
    font-weight: 700;
}

.payment-card {
    flex: 1 1 220px;
}

@media (max-width: 768px) {

    .cart-tab-main .page-content-cart .checkout-body .checkout-col-desc {
        border-bottom: none;
    }
    .payment-card {
        flex-basis: 100%;
    }
    
    .shipping-card {
        flex-basis: 100%;
    }
}

.checkout-paymethod-item {
    display: flex;
    align-content: center;
    align-items: center;
    padding-right: 30px;
}

.payment ul.checkout-paymethod .wallet-container .checkout-paymethod-item > span {
    font-size: 30px;
    color: #c6c6c6;
    position: absolute;
    right: 85px;
    top: 28px;
}

.payment ul.checkout-paymethod .wallet-container .checkout-paymethod-item .radio-primary {
    /*float: right;*/
    display: none;
    position: absolute;
    /*top: 41px;*/
    /*right: 40px;*/
    width: 19px;
    height: 19px;
}

.payment ul.checkout-paymethod .wallet-container .checkout-paymethod-item .radio-primary span.ui-radio-check {
    cursor: pointer;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ccc;
}

.payment ul.checkout-paymethod .wallet-container .checkout-paymethod-item .radio-primary input[type=radio] {
    position: absolute;
    z-index: 9999999;
    width: 19px;
    height: 19px;
    opacity: 0;
    cursor: pointer;
}

.payment ul.checkout-paymethod .wallet-container .checkout-paymethod-item .radio-primary input[type=radio]:checked + .ui-radio-check:before {


    content: "";
    position: absolute;
    left: 1px;
    top: 1px;
    width: 15px;
    height: 15px;
    background: #00bfd6;
    border-radius: inherit;
}

.payment ul.checkout-paymethod .wallet-container .checkout-paymethod-item h4.checkout-paymethod-title {
    font: 14px var(--SiteFont);
    font-weight: 700;
    display: inline-block;
    /*margin-top: 5px;*/
    /*margin-right: 39px;*/
}

.payment ul.checkout-paymethod .wallet-container .checkout-paymethod-item h4.checkout-paymethod-title p.checkout-paymethod-title-label {
    font-size: 13px;
    font-weight: bold;
    color: #5b5b5b;
}

.payment ul.checkout-paymethod .wallet-container .checkout-paymethod-item h4.checkout-paymethod-title .paymethod-wallet-amount {
    font-size: 11px;
    color: #a0a0a0;
    display: inline-block;
    margin-bottom: 20px;
}

.payment ul.checkout-paymethod .wallet-container .checkout-paymethod-item .wallet-extra-info {
    font: 12px var(--SiteFont);
    color: #a0a0a0;
    margin-bottom: 20px;
}

.payment ul.checkout-paymethod .wallet-container .checkout-paymethod-item .checkout-paymethod-by-digipay {
    position: absolute;
    width: 120px;
    height: 20px;
    left: 30px;
    bottom: 40px;
}

.payment ul.checkout-paymethod .wallet-container .checkout-paymethod-item .checkout-paymethod-by-digipay img {
    width: 120px;
}


.checkout-card {
    border: 2px solid #4f6b5769;
    border-radius: 12px;
    display: flex;
    align-content: center;
    width: 100%;
    height: 90px;
    align-items: center;
    margin-bottom: 15px ;
}

.checkout-card:hover {
    border-color: #ef4056;
}
.checkout-paymethod-title-label{
    margin: 0;
}
/*shopping payment page end*/




/*unpayment orders start*/
.order-banner__info{
    display: grid;
    gap: 23px;
}
.order-banner {
    width: 100%;
    padding: 12px 16px;
    box-sizing: border-box;
    font-family: sans-serif;
}

.order-banner__content {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 12px 16px;
    border-radius: 10px;

    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 0 2px 1px #c1c1c159;
}

/* سمت راست (اطلاعات) */
.order-banner__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-banner__img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

.order-banner__title {
    font: 20px var(--SiteFont);
    font-weight: 700;
    color: var(--RedStoreColor);
}

.order-banner__number {
    font: 14px var(--SiteFont);
    color: #666;
    margin-top: 2px;
}

.order-banner__message {
    font: 12px var(--SiteFont);
    color: #d93025;
    margin-top: 4px;
}

/* دکمه */
.order-banner__btn {
    background: var(--RedStoreColor);
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font: 14px var(--SiteFont);
    font-weight: 600;
    transition: 0.2s;
}

.order-banner__btn:hover {
    background: #b3261e;
}

.order-banner--failed .order-banner__message {
    color: #d93025;
}

.order-banner--failed .order-banner__btn {
    background: #d93025;
}

@media (max-width: 768px) {
    .order-banner__content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .order-banner__left {
        width: 100%;
    }

    .order-banner__btn {
        width: 100%;
    }
}
.checkout-back-btn{
    background-color: transparent;
    border: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
/*unpayment orders end*/


@media (max-width: 768px) {
.
    .page-content .checkout-tab .checkout-tab-pill {
        float: left;
    }
    
    .headline-checkout-shopping {
        font: 14px var(--SiteFont);
    }

    .payment ul.checkout-paymethod .wallet-container .checkout-paymethod-item h4.checkout-paymethod-title p.checkout-paymethod-title-label {
        font-size: 11px;
    }
    .checkout-paymethod-item {
        padding: 5px;
    }

    .shipping-title {
        font-size: 10px;
    }

    .payment-card, .shipping-card {
        min-height: 97px;
    }
    
    footer{
        display: none;
    }
    .leftContent {
        flex: 0 ;
    }
    
    .payment-title{
        font-size: 11px;
    }

    .headline-checkout-shopping {
        margin-bottom: 0;
        margin-top: 0;
    }


    .sectionPictureProduct {
        width: 100% !important;
    }

    .contentCenter {
        width: 100% !important;
    }

    .tikReadText {
        display: block !important;
        animation: input-animate 1.5s linear;
    }


    .lblReadText {
        margin: 0;
        padding-left: 10px;
        /*animation: input-animate 1.5s linear;*/

    }

    .iamReadText {
        display: flex;
        margin-top: 10px;

    }


    .checkout-to-shipping-sticky .selenium-next-step-shipping {
        padding: 12px 70px;
        pointer-events: none;
        background-color: #ccc;
        float: right;
        border-radius: 5px;
        text-align: center;
        font-weight: 700;
        color: #000;
        font: 14px var(--SiteFont);
        line-height: 1.571;
        border: none;
        margin-top: 13px;
        transition: all 200ms ease;
    }

    .checkout-to-shipping-sticky .selenium-next-step-shipping.not {
        background-color: var(--btn-success-main-style);
        color: #fff;
        pointer-events: auto;
    }


    .cart-tab-main .page-content-cart .checkout-body .remove-from-cart {
        position: absolute;
        margin: 0 !important;
        left: 0;
        top: 0;

        display: flex;
        justify-content: center;
        align-items: center;
    }

    .cart-tab-main .page-content-cart .checkout-body .col-thumb {
        float: unset;
        width: 100%;
        display: block;
        margin: 0 !important;
        height: 200px;
        object-fit: cover;
    }

    .cart-tab-main .page-content-cart .checkout-body .col-thumb img {
        width: 100%;
        height: 100%;
    }

    .cart-tab-main .page-content-cart .checkout-body .checkout-col-desc {
        width: 100% !important;
        margin: 0 !important;
    }

    .nameProductBuy {
        width: 100%;
    }

    .cart-tab-main .page-content-cart .checkout-body .checkout-col-desc a {
        margin: 0 !important;
        padding: 0 !important;
    }

    .cart-tab-main .page-content-cart .checkout-body .checkout-col-desc .checkout-variant-color {
        width: 100%;
    }


    .item-detailes-dropDown-basket {
        width: 100%;
    }

    .table-detailes-dropDown-basket {
        width: 100%;
    }


    .tr-row-detailes-basket {
        display: flex;
        /*justify-content: space-between;*/
        padding: 0 20px;
    }


    .dot-center-basket {
        width: 60%;
        border-bottom: 1px dashed;
        margin-bottom: 10px;
    }


    .cart-item-product-price {
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }


    .checkout-col-desc .quantity input {
        background: #f6bb42;
    }


    .cart-tab-main {
        margin: 0 auto 20px;
    }


    .page-content .checkout-tab .checkout-tab-pill {
        width: 50%;
    }


    .cart-tab-main .page-content-cart {
        margin-bottom: 0;
        border-bottom: 1px solid #ccc;
    }


    .details-Continue-process {
        font-size: 11px;
    }


    .lblReadText {
        font-size: 11px;
    }


    .selenium-next-step-shipping {
        /*margin: 0;*/
        margin-top: 0;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }


    .page-aside {
        margin-top: 0 !important;
    }


    .checkout-to-shipping-price-report {
        display: flex;
        width: 100%;
        align-items: center;
    }


    .checkout-to-shipping-price-report p {
        width: 50%;
        margin-bottom: 0;
    }


    .cart-tab-main .page-content-cart .checkout-body {
        position: relative;
    }


}


