﻿.account-container {
    margin-top: 24px;
    margin-bottom: 24px;
}

.profile-menu .card, .dashboard .card, .my-order .card, .payments .card, .profile .card, .my-address .card {
    border-radius: 8px;
    background-color: var(--card-back);
    border: none;
}

.my-order-content, .order-list-count, .address-list, .my-address .profile-heading, .profile .profile-heading, .my-order .profile-heading, .dashboard-content {
    background-color: unset !important;
}

    .profile .profile-heading svg {
        display: none;
    }

.my-address .address-item {
    padding-top: 24px !important;
}

.my-address .profile-heading .card, .profile .profile-heading .card {
    padding: 0 !important;
}

.my-address .profile-heading .card-body, .profile .profile-heading .card-body {
    padding: 0 !important;
}

.profile-heading .h5, .profile-index-summary .h5, .profile-order .h5, .profile-product-likes .h5 {
    font-family: 'doran-bold' !important;
    color: var(--secondary);
    font-size: 20px;
}

.profile-index-summary .h5, .profile-order .h5, .profile-product-likes .h5 {
    font-size: 16px;
}

.profile-order {
    margin-bottom: 16px;
    margin-top: 16px;
}

    .profile-order .h5, .profile-product-likes .h5 {
        margin-bottom: 16px;
    }

.order-details-text {
    color: var(--secondary);
}

.profile-order-view {
    padding-top: 0;
}

.order-details-summary {
    border-radius: 8px !important;
    background-color: var(--card-back) !important;
    border: none !important;
}

    .order-details-summary .gap-2 {
        gap: 16px !important;
    }

.order-details-products {
    border: 1px solid var(--gray-7) !important;
    margin-top: 16px;
    border-radius: 8px;
    padding: 0;
}

.profile-menu .card-header {
    background-color: unset;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 24px;
    padding-bottom: 24px;
    color: var(--secondary);
}

    .profile-menu .card-header h6 {
        margin-bottom: 16px;
    }

    .profile-menu .card-header p {
        margin-bottom: 0;
    }


.profile-menu .card-body {
    padding: 24px 8px;
}

    .profile-menu .card-body a svg {
        margin-left: 8px;
        margin-right: 0;
        stroke: var(--secondary) !important;
    }

        .profile-menu .card-body a svg path, .profile-menu svg path {
            stroke: var(--secondary) !important;
        }

    .profile-menu .card-body a {
        font-size: 16px;
        font-weight: 400;
        color: var(--secondary);
        display: block;
        margin-bottom: 8px;
        padding: 12px 16px;
    }

        .profile-menu .card-body a.active {
            background-color: #033a351a;
            color: var(--secondary);
            border-radius: 8px;
        }

            .profile-menu .card-body a.active svg path {
                stroke: var(--secondary) !important;
            }

            .profile-menu .card-body a.active svg {
                stroke: var(--secondary) !important;
            }

.profile-product-offer {
    display: none;
}

.myOrder-status-item {
    padding: 8px 16px;
    border-radius: 8px;
    width: 150px;
    text-align: center;
}

    .myOrder-status-item .d-flex {
        justify-content: center;
    }

    .myOrder-status-item .order-icon {
        display: none;
    }

.pend {
    color: #3b82f6;
    background-color: #eff6ff;
}

.send {
    color: #22c55e;
    background-color: #ecfdf5;
}

.finish {
    color: #16a34a;
    background-color: #f0fdf4;
}

.refund {
    color: #f97316;
    background-color: #fff7ed;
}

.cancel {
    color: #ef4444;
    background-color: #fef2f2;
}

.myorder-search {
    display: none !important;
}

.card-fill {
    background-color: var(--gray-0);
}

    .card-fill .card-body {
        padding: 16px;
    }

    .card-fill h5 {
        color: var(--secondary);
        border-right: 4px solid var(--tertiary);
        border-radius: 4px;
        padding-right: 12px;
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 24px;
    }

.product-list a {
    color: var(--secondary);
}

.product-list svg {
    margin-right: 0;
}

.orders-sent, .orders-pend, .orders-refund, .orders-cancel {
    border-radius: var(--radius);
    padding: 8px 12px;
    margin-left: 16px;
}

    .orders-sent svg, .orders-pend svg, .orders-refund svg, .orders-cancel svg {
        margin-right: 0;
    }

.orders-sent {
    background-color: var(--s-success);
}

.orders-pend {
    background-color: var(--s-warning);
}

.orders-refund {
    background-color: var(--s-neutral50);
}

.orders-cancel {
    background-color: var(--s-error);
}

.shop-cart-0 {
    color: #f59e0b;
    background-color: #fffbeb;
}

.shop-cart-1 {
    color: #3b82f6;
    background-color: #eff6ff;
}

.shop-cart-2 {
    color: #22c55e;
    background-color: #ecfdf5;
}

.shop-cart-3 {
    color: #8b5cf6;
    background-color: #f5f3ff;
}

.shop-cart-4 {
    color: #16a34a;
    background-color: #f0fdf4;
}

.shop-cart-5 {
    color: #f97316;
    background-color: #fff7ed;
}

.shop-cart-6 {
    color: #dc2626;
    background-color: #fef2f2;
}

.shop-cart-7 {
    color: #ef4444;
    background-color: #fef2f2;
}

.shop-cart-8 {
    color: #0ea5e9;
    background-color: #e0f2fe;
}

.shop-cart-8 {
    color: #664D03;
    background-color: #FFF3CD;
}

.my-order .text-muted {
    font-size: 14px;
}

.empty-card {
    min-height: 300px;
}

.payments h5, .profile h5 {
    margin-left: 24px;
    font-size: 18px;
    display: inline-block;
}

.payments .card-body, .profile .card-body, .my-address .card-body {
    padding: 24px;
}

.payments .empty-card .card-body {
    margin: auto;
    text-align: center;
}

.payments .card-body svg {
    width: 108px;
    height: 108px;
    margin-top: 10%;
    margin-right: 0;
}

.profile .input-field-label {
    font-size: 16px;
    font-weight: 500;
}

.profile .orange-btn-outline {
    font-size: 16px;
    font-weight: 600;
    width: 30%;
    float: left;
    border-radius: 8px !important;
}

.my-address svg {
    margin-right: 0;
    margin-left: 8px;
}

.my-address .orange-btn-outline:hover {
    background-color: var(--s-error);
}

.my-address .orange-btn-outline {
    max-width: 156px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 8px;
    text-align: center;
}

.my-address svg path {
    stroke: var(--secondary);
}

.my-address .address-item .card-body {
    padding: 24px;
}

.address-details {
    margin-right: 32px;
    color: var(--gray-2);
}


.tab-container {
    padding: 0 50px;
    margin: 0 auto;
}

.profile-tab-img {
    width: 100%;
    max-height: 280px;
}

.profile-nav {
    cursor: pointer;
}

.profile-heading svg path {
    stroke: var(--s-secondary);
}

.orange-btn-outline svg path {
    stroke: var(--s-secondary);
}

.profile-tab-img img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    height: 100%;
}

.profile-tab-card {
    width: 100%;
    padding: 0 25px;
    margin-top: -90px;
}

.profile-tab-content {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    border: 3px solid #EAEAEA;
    padding: 30px;
}

.account-content-header h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

.profile-tab-body {
    width: 90%;
    margin: 0 auto;
}

/*------------address page------------------------------*/
.address-tab-content {
    padding: 25px 50px;
    background-color: #ECF0F1;
    border: 3px solid #EAEAEA;
    border-radius: 20px;
}

.address-item-container {
    padding-bottom: 15px;
    border-bottom: 2px solid #EAEAEA;
    display: flex;
    flex-direction: column;
}

.address-title {
    font-size: 23px;
    color: #2C3E50;
    font-weight: 600;
}

.loaction-icon {
    width: 21px;
    height: 25px;
}

.loaction-name {
    color: #636C75;
    font-size: 20px;
    font-weight: 600;
}

.user-icon {
    color: #636C75;
    font-size: 20px;
}

.postcode-icon {
    width: 25px;
    height: 25px;
}

.address-edit-btn-container {
    width: 120px;
}
/*-----------------order page----------------*/
.order-tab-container {
    padding: 0 30px;
    margin-top: -130px;
}

.order-tab-content {
    padding: 25px 50px;
    background-color: #ECF0F1;
    border: 3px solid #EAEAEA;
    border-radius: 20px;
    overflow: auto;
}

.order-itme-btn-container {
    width: 130px;
}

.table-header-item {
    font-size: 23px;
    font-weight: 600;
    color: #2C3E50;
    flex: 1;
}

.table-header {
    padding: 0px 24px;
}

.table-body-row {
    background-color: #FCFCFC;
    border: 2px solid #EAEAEA;
    border-radius: 12px;
    padding: 13px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.table-body-item {
    flex: 1;
    color: #2C3E50;
    font-size: 20px;
    font-weight: 400;
    padding: 0;
    margin: 0;
}

.order-card-mobile {
    background-color: #fff;
    border: 2px solid #EAEAEA;
    border-radius: 12px;
    padding: 16px;
}

.scrollable-orders {
    max-height: calc(100vh - 500px);
}

/*----------------------sidebar----------------------*/
.account-sidebar-conteiner {
    position: relative;
    height: 100vh;
}

.account-sidebar {
    z-index: 20;
    height: 100%;
    width: 25%;
    max-width: 400px;
    background-color: #2C3E50;
    margin-top: -120px;
    position: fixed;
    padding-top: 100px;
    box-sizing: border-box;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

.account-sidebar-item {
    color: #FCFCFC;
    font-size: 23px;
    font-weight: 600;
    margin-top: 50px;
    list-style: none;
}

.max-h-100vh {
    max-height: 100vh;
}

.scrollable-address {
    max-height: calc(100vh - 350px);
}

.account-tab-button-mobile {
    position: relative;
    z-index: 10;
    padding: 12px 25px;
    background-color: #EAEAEA;
    color: #2C3E50;
    font-size: 16px;
    font-weight: 600;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border: none;
    outline: none;
}

.account-tab-buttongroup-mobile {
    padding: 20px 25px;
    background-color: #EAEAEA;
    color: #2C3E50;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    outline: none;
    position: relative;
    z-index: 10;
}

.buttons-container {
    background-color: #EAEAEA;
    padding: 12px 25px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border: none;
    outline: none;
}


.outline-none {
    outline: none;
}

.tab-btn {
    border: none;
    outline: none;
    position: relative;
}

    .tab-btn:hover {
        background-color: transparent;
        cursor: pointer;
    }

.mt-minus-120 {
    margin-top: -120px;
}

.order-card {
    padding: 10px 25px;
    background-color: #FCFCFC;
    border-radius: 7px;
    margin-top: 20px;
}

.dashboard-title {
    color: #2C3E50 !important;
    font-size: 23px !important;
    font-weight: 600 !important;
    margin-top: 20px !important;
    margin-bottom: 35px !important;
}

.dashboard-content .product-list img {
    margin: auto !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}

.myOrder-status {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.shop-cart-item {
    padding: 24px 16px;
    background-color: var(--card-back);
    border-radius: 8px;
}

    .shop-cart-item img {
        border-radius: 8px;
        padding: 4px;
        border: 1px solid var(--primary);
    }

.shop-cart-status {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 16px;
}

.shopCart-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

    .shopCart-details .h5 {
        color: var(--secondary);
    }

.left-info {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
}

.product-image {
    border: 1px solid var(--s-secondary) !important;
    border-radius: 8px !important;
}

.input-field {
    padding: 16px 16px;
    border: none;
    outline: none;
    background-color: #FFFFFF;
    color: #033A35;
    font-size: 16px;
    font-weight: 500;
    border: 2px solid #EAEAEA;
    border-radius: 8px;
}

.my-order .myorder-search {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 16px;
    width: 338px;
    height: 40px;
    justify-content: flex-start;
    margin-right: auto;
}

.my-order .myorder-filter-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 0;
    gap: 8px;
    width: 114px;
    height: 40px;
    background: #E74C3C;
    border-radius: 8px;
    border: none;
}

.my-order .myorder-filter-icon img {
    width: 24px;
    height: 24px;
    display: block;
}

.my-order .myorder-filter-text {
    width: 29px;
    height: 22px;
    font-family: 'Yekan Bakh FaNum';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    display: flex;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
}

.my-order .myorder-search-input {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 8px;
    gap: 8px;
    width: 208px;
    height: 40px;
    border: 1px solid #C2C5C6;
    border-radius: 8px;
}

    .my-order .myorder-search-input input {
        border: none;
        outline: none;
        background: transparent;
        width: 100%;
        font-family: 'Yekan Bakh FaNum';
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 160%;
        text-align: right;
        color: #C2C5C6;
    }

        .my-order .myorder-search-input input::placeholder {
            color: #C2C5C6;
        }

.my-order .order-details-products {
    box-sizing: border-box;
}

.my-order .order-details-product-card {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.my-order .order-details-product-image-col {
}

.my-order .order-details-product-image {
    width: 70%;
}

.my-order .order-details-product-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}

.my-order .order-details-product-title,
.my-order .order-details-product-price {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    text-align: right;
}

.my-order .order-details-product-title {
    color: #23242E;
}

.my-order .order-details-product-price {
    color: #033A35;
}

.my-order .order-details-product-price-old {
    font-family: 'Kalameh(FaNum)', 'Kalameh', "anjoman", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 32px;
    text-align: right;
    color: #969696;
    position: relative;
}

    .my-order .order-details-product-price-old::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        height: 1.5px;
        background-color: #969696;
        transform: translateY(-50%);
    }

.my-order .order-details-product-price-row {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    height: 36px;
}

.my-order .order-details-product-meta {
    direction: rtl;
}

.my-order .order-details-product-attribute,
.my-order .order-details-product-guarantee {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 10px;
    gap: 4px;
    height: 24px;
    border-radius: 999px;
    font-family: 'IRANSansXFaNum', inherit;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}

.my-order .order-details-product-attribute {
    background: #F5F6F7;
    color: #434A54;
}

.my-order .order-details-product-guarantee {
    background: #FFF3E6;
    color: #FA541C;
}

.my-order .order-details-product-qty-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    z-index: 2;
    pointer-events: none;
}

.my-order .order-details-product-qty-badge {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 2px 16px;
    gap: 8px;
    width: 70px;
    height: 25px;
    background: var(--secondary);
    border-radius: 0 8px;
    pointer-events: auto;
}

.my-order .order-details-product-qty-text {
    width: 38px;
    height: 21px;
    font-family: 'IRANSansXFaNum', inherit;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 21px;
    display: flex;
    align-items: center;
    text-align: right;
    color: #FFFFFF;
}

.order-details-product-meta-desktop {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.order-details-product-meta-mobile {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    padding: 0 12px;
}

.profile-index-summary {
    display: flex;
    justify-content: space-between;
}

    .profile-index-summary div {
        text-align: center;
    }

.product-card:not(.landscape) .card-body {
    padding: 0px 8px !important;
    padding-bottom: 16px !important;
}

.product-card:not(.landscape) .price-action {
    max-width: 100% !important;
}

.product-card {
    background-color: white !important;
}
/* Phones */
@media (max-width: 1023px) {
    .account-container {
        padding-bottom: 108px;
    }

        .account-container .breadcrumb {
            margin-bottom: 24px;
        }

    .profile-menu .card {
        border-radius: 8px;
        border: none !important;
    }

    .profile-menu .card-header {
        padding: 16px !important;
    }

    .profile-menu .card-body {
        padding: 16px;
    }

    .orders-sent, .orders-pend, .orders-refund, .orders-cancel {
        display: none;
    }

    .orders-sent-title, .orders-pend-title, .orders-refund-title, .orders-cancel-title {
        font-size: 13px;
    }

        .orders-sent-title.active {
            color: var(--success);
        }

        .orders-pend-title.active {
            color: var(--warning);
        }

        .orders-refund-title.active {
            color: var(--neutral50);
        }

        .orders-cancel-title.active {
            color: var(--error);
        }

    .profile .orange-btn-outline {
        width: 60%;
    }

    .my-address .orange-btn-outline {
        max-width: 35%;
        padding: 4px;
    }

    .my-address .address-list {
        background-color: unset;
        border-radius: 0 !important;
        border: none !important;
    }

        .my-address .address-list .card-body {
            padding: 0;
        }

            .my-address .address-list .card-body .address-item {
                padding: 8px;
                background-color: var(--card-back);
                border-radius: 8px !important;
                border: none !important;
            }

    .address-details {
        margin-right: 0;
    }

    .profile-heading, .my-address .profile-heading, .profile .profile-heading, .my-order .profile-heading {
        border: none !important;
        background-color: var(--card-back)!important;
        border-radius: 8px !important;
    }

        .profile-heading .card-body {
            padding-left: 0 !important;
            padding-right: 0 !important; 
        }

    .dashboard-content {
        background-color: unset;
        border-radius: 0 !important;
        border: none !important;
    }

        .dashboard-content .card-body {
            padding: 12px;
        }
    .left-info {
        display: flex !important;
        justify-content: space-between!important;
    }
    .profile-index-summary .h5, .profile-order .h5, .profile-product-likes .h5 {
        font-size: 12px;
    }

    .dashboard-content .card-fill {
        background-color: unset;
        border-radius: 0 !important;
        border: none !important;
        padding-top: 24px !important;
        border-bottom: 1px solid var(--light-pink) !important;
    }
    .shopCart-details {
        grid-template-columns: repeat(1, 1fr);
    } 

    .profile-heading svg {
        width: 24px !important;
        height: 24px !important;
    }

    .profile .profile-heading svg path {
        stroke: var(--secondary)
    }

    .profile h5 {
        margin: auto;
    }

    .profile .card-body {
        padding: 16px;
    }

    .profile-heading .card-body, .my-address .profile-heading .card-body, .profile .profile-heading .card-body, .profile .card-body {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }
    .myOrder-status {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 16px;
    }
    .my-order-content .card-body {
        padding: 16px;
    }
    .profile-heading .h5{ margin: auto;}
}

@media only screen and (min-width: 1024px) and (max-width: 1299px) {
}
