.myaccount-dashboard {
    display: flex;
    gap: 0 15px;
}

/* Full width for orders when no products */
.myaccount-dashboard.full-width {
    display: block;
    gap: 0;
}

.myaccount-dashboard.full-width .dashboard-order , .entry-content table {
    width: 100% !important;
    margin-bottom: 0;
    max-width:100% !important;
}

.dashboard-order {
    width: 60%;
}

.dashboard-products {
    width: 40%;
}

.custom-product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 25px;
}

.my-account__nav ul, 
.my-account__nav .entry-content li {
    border: none !important;
}

.custom-product-item {
    width: calc(50% - 7px);
}

.custom-product-item img {
    max-height: 118px;
    object-fit: cover;
}

.custom-product-item a:hover h3 {
    color: #ab7a6b;
}

.custom-product-item a {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    justify-content: space-between;
}

nav.woocommerce-MyAccount-navigation.my-account__nav {
    background: #fff !important;
    padding-top: 30px;
    border-right: 2px solid #e9e9e9;
}

.my-account__content {
    background: #f6f7fb;
}

.dashboard-order, 
.dashboard-products {
    background: #fff;
    padding: 15px;
    border-radius: 7px;
    box-shadow: 0px 1px 4px #ebebeb;
}

.woocommerce-welcome-message {
    font-size: 30px !important;
    margin-bottom: 30px !important;
}

.dashboard-order-count {
    padding-left: 30px;
    font-size: 20px;
    font-weight: 500;
    background: url('images/orderA.png') no-repeat;
}

.dashboard-product-count {
    padding-left: 36px;
    font-size: 20px;
    font-weight: 500;
    background: url('images/orderB.png') no-repeat;
}

.dashboard-order-count span, 
.dashboard-product-count span {
    color: #ab7a6b;
    font-weight: 600;
    font-size: 18px;
    font-family: 'Silk Serif Italic';
}

a.all-order-link {
    font-weight: 600 !important;
}

.woocommerce-MyAccount-navigation .entry-content li.is-active a {
    color: #ab7a6b;
    font-weight: 600;
}

.order-total .woocommerce-Price-amount {
    display: block !important;
}

.my-account__content-txt .order-total .woocommerce-Price-amount {
    font-size: 15px !important;
    margin: 0;
    font-family: "BrandonText", Arial, Helvetica, sans-serif;
}

table.my_account_orders td, 
table.my_account_orders td span, 
table.my_account_orders td a {
    font-size: 15px !important;
    font-weight: 500 !important;
}

.woocommerce-MyAccount-navigation a {
    padding-left: 45px !important;
    display: inline-block;
    background-position: 10px center !important;
}

.woocommerce-MyAccount-navigation-link--dashboard a {
    background: url('images/ac-icon1.png') no-repeat;
}

.woocommerce-MyAccount-navigation-link--my-custom-products a {
    background: url('images/ac-icon2.png') no-repeat;
}

.woocommerce-MyAccount-navigation-link--orders a {
    background: url('images/ac-icon3.png') no-repeat;
}

.woocommerce-MyAccount-navigation-link--edit-address a {
    background: url('images/ac-icon4.png') no-repeat;
}

.woocommerce-MyAccount-navigation-link--payment-methods a {
    background: url('images/ac-icon5.png') no-repeat;
}

.woocommerce-MyAccount-navigation-link--edit-account a {
    background: url('images/ac-icon6.png') no-repeat;
}

.woocommerce-MyAccount-navigation-link--customer-logout a {
    background: url('images/ac-icon8.png') no-repeat;
}

.woocommerce-MyAccount-navigation-link--user-switching-switch-back a {
    background: url('images/back.png') no-repeat;
}

.woocommerce-orders-table__content-wrapper {
    background: #fff;
    padding: 15px;
    border-radius: 7px;
}

table.woocommerce-orders-table__content {
    max-width: 100% !important;
    margin-top: 0 !important;
}

.custom-product-wrapper {
    background: #fff;
    padding: 1px 0;
    border-radius: 7px;
}

.woocommerce-MyAccount-content .entry-content {
    margin-bottom: 25px;
}

.woocommerce-MyAccount-content .edit-account {
    background: #fff;
    padding: 15px;
    border-radius: 7px;
}

.custom-product-title {
    font-size: 15px !important;
    margin: 10px 0;
    color: #000;
}

.woocommerce-orders-table__content tbody .woocommerce-button {
    min-width: initial !important;
    padding: initial !important;
    transform: initial !important;
}

.my-account .my-account__content-txt .woocommerce-orders-table {
    table-layout: initial !important;
}

.my-account__content .dsabafw_table_custom {
    background: #fff;
    padding: 15px;
    border-radius: 7px;
}

/*---------------Css NRD----------------*/
.hide {
    display: none;
}

.entry-content h2 {
    font-weight: 500;
}

table.my_account_orders td {
    padding: 10px 0 !important;
    vertical-align: middle;
    border-bottom: 1px solid #f7f7f7;
}

.woocommerce-account .woocommerce {
    padding: 0 !important;
}

.my-account .my-account__title {
    display: none;
}

.my-account .my-account__content-txt {
    margin-top: 0 !important;
}

.my-account .woocommerce-MyAccount-content {
    width: 78% !important;
    padding-right: 10px !important;
}

.my-account__content {
    align-items: initial !important;
}

.my-account .woocommerce-MyAccount-content a {
    color: #38353e !important;
}

.my-account .woocommerce-MyAccount-content a:hover::after {
    display: none !important;
}

.my_account_orders .order-total {
    display: table-cell !important;
    padding: 0;
}

table.my_account_orders td, 
table.my_account_orders td span, 
table.my_account_orders td a {
    font-size: 14px;
}

.dashboard-order-header, 
.dashboard-product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.entry-content th {
    text-align: left !important;
    border-bottom: 1px solid #ebebeb !important;
    font-weight: 600 !important;
}

.dashboard-order-header a, 
.dashboard-product-header a {
    background: #e7e9f1;
    font-size: 12px;
    color: #000 !important;
    padding: 5px 15px;
    border-radius: 5px;
}

.dashboard-order-header a:hover, 
.dashboard-product-header a:hover {
    background-color: #efe0d0;
}

.dashboard-order-list td.order-actions .pay, 
.dashboard-order-list td.order-actions .cancel {
    display: none;
}

td.order-actions .view, 
td.order-actions .reorder, 
td.order-actions .pay, 
td.order-actions .cancel,
td.order-actions .edit-shipping
 {
    margin: 0 2px 0;
    width: 25px !important;
    display: inline-block;
}

td.order-actions .view:hover, 
td.order-actions .reorder:hover, 
td.order-actions .pay:hover, 
td.order-actions .cancel:hover,
td.order-actions .edit-shipping:hover
 {
    background-color: #ab7a6b;
}

td.order-actions .view:hover span:before, 
td.order-actions .reorder:hover span:before, 
td.order-actions .pay:hover span:before, 
td.order-actions .cancel:hover span:before,
td.order-actions .edit-shipping span:hover
 {
    mix-blend-mode: screen;
}

td.order-actions .view span, 
td.order-actions .reorder span, 
td.order-actions .pay span, 
td.order-actions .cancel span,
td.order-actions .edit-shipping span
 {
    font-size: 0px !important;
    display: block;
}

td.order-actions .view span:before {
    content: url('images/view.png');
}

td.order-actions .reorder span:before {
    content: url('images/re-order.png');
}

td.order-actions .pay span:before {
    content: url('images/ac-icon5.png');
}

td.order-actions .cancel span:before {
    content: url('images/close.png');
}

td.order-actions .edit-shipping span:before{
	content: url('images/edit.png');
}

.dashboard-product-header {
    margin-bottom: 20px;
}

tr.order td.order-total {
    font-size: 12px !important;
}

a[data-tooltip] {
    position: relative;
}

a[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    top: -24px;
    opacity: 0;
    transform: translate(-50%, 10px);
    transition: opacity .2s, transform .2s;
    background: #000;
    color: #fff;
    padding: 3px 6px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    font-size: 12px;
}

a[data-tooltip]:hover::before {
    opacity: 1;
    transform: translate(-50%, 0);
}

a.reorder[href="#"] {
    pointer-events: none;
}

a.ast_track {
    display: none !important;
}


/*--------------------==============   Css for order details page  ==========----------------------------------*/
.webship-tracking-section {
    margin-top: 15px;
    background: #fff;
    padding: 20px;
}
.webship-tracking-section .my_account_tracking {
    margin-bottom: 0;
}
.webship-tracking-section .my_account_tracking .tracking td {
    border-bottom: none;
    vertical-align: middle;
    padding-top: 10px;
}
.advance-shipment-tracking-section {
    background: #fff;
    padding: 20px;
    margin-bottom: 15px;
}



.my-account__customer-details .addresses {
    width: auto;
    gap: 15px;
    overflow: hidden;
}
.my-account .woocommerce-customer-details {
	margin-top: 15px;
}
.my-account .woocommerce-customer-details .woocommerce-column{
	background: #fff;
    padding: 10px 20px;
	border-bottom: 2px solid #ebeef9;
}
h2.woocommerce-column__title {
    font-size: 20px!important;
    font-weight: 600;
    text-transform: capitalize;
}
.woocommerce-column--billing-address address, .woocommerce-column--shipping-address address {
    font-style: inherit;
    font-size: 15px;
    font-weight: 500;
	line-height: 1.4rem;
}
.woocommerce-column--billing-address address:first-line, .woocommerce-column--shipping-address address:first-line {
    font-weight: bold;
    font-size: 16px;
}


.woocommerce-order-details {
	padding: 20px;
    background: #fff;
    border-bottom: 2px solid #ebeef9;
}
.account-order-details-section {
    display: flex;
	font-size: 14px;
    justify-content: space-between;
}
span.account-order-details-value {
    font-weight: 600;
}
.my-account .backto_OL a {
    color: #ab7b7f!important;
    background: #EEE0D0;
    font-size: 13px;
    padding: 5px 10px;
    display: inline-block;
}
.my-account .backto_OL a:hover {
    color: #000!important;
}
h2.o-detail-title {margin: 5px 0;}

span.account-order-details-status-label {
    font-size: 16px;
    margin-right: 10px;
}
.account-order-details-status span.account-order-details-status-value{
    background: #e4e9f1;
    padding: 3px 10px;
    font-size: 13px;
    color: #000;
}
.order-details__table thead th, .order-details__table thead tr{border-width:0px!important; }
.order-details__table thead th, .order-details__table tbody td{padding-left:0!important; padding-right:0!important;}
.woocommerce-table__product-info {font-size: 15px;}
ul.wc-item-meta{margin:0!important; margin-left:0px!important;margin-top:3px!important;}
ul.wc-item-meta li {display: flex;margin-bottom: 0px;}
ul.wc-item-meta li p {margin: 0 0 0 5px;}

.woocommerce-order-details .order-details__table tbody td.product-name1 {padding-left: 0!important;}
.product-name1 .woocommerce-table__product-title >div {display: inline-block;vertical-align: middle;}
.woocommerce-table__product-image {max-width: 90px; margin-right: 10px;}
table.woocommerce-table.order-details__table {margin: 0px;}

.order-details__table tbody tr {border-bottom: 1px solid #ebefff!important;}
.order-details__table tfoot tr {border-bottom: none!important;}

table.woocommerce-table.order-details__table tfoot td, table.woocommerce-table.order-details__table tfoot th, .woocommerce-order-details .order-details__table tfoot tr:first-child td {
    padding: 2px 0px !important; 
}


.woocommerce-order-details .order-details__table tfoot tr:first-child th, .woocommerce-order-details .order-details__table tfoot tr:first-child td {
    padding-top: 15px!important;
}



p.order-again a {
    font-size: 0px!important;
	    padding: 5px 2px 5px 15px !important;
    min-width: initial !important;
    border-radius: 4px !important;
}
p.order-again a:before {
    content: 'Re-Order';
    font-size: 12px;
    color: #fff;
    text-transform: capitalize;
    text-align: center;
}
p.order-again a:hover:before{color:#ab7a6b;}

.woocommerce-order-details-heading {
    display: flex;
    justify-content: space-between;
}

.woocommerce-order-details p.order-again {
    display: none;
}
.woocommerce-order-details .woocommerce-order-details-heading p.order-again {
    display: block;
}



.advance-shipment-tracking-section .button{color:#fff!important;}
.my-account .woocommerce-MyAccount-content .button {
    color: #fff!important;
    background: #ab7a6b;
}
.my-account .woocommerce-MyAccount-content .button:hover{color: #ab7a6b!important;}

section.woocommerce-order-details:after {
    clear: both;
    content: "";
    display: block;
}


.woocommerce-table--order-totals-wrap{
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
	gap: 20px;
}

ul.woocommerce-table--order-notes {
    flex: 0 1 64%;
    margin:0 !important;
    align-self: flex-end;
}
.woocommerce-table--order-notes li {
    display: flex;gap: 5px;    align-items: baseline;
}
ul.woocommerce-table--order-notes .order-totals-value {
    width: initial;
    float: none;
    font-size: 14px;
    display: inline-block;
	text-align:left;
}
ul.woocommerce-table--order-totals {
    margin: 20px 50px 0 0!important;
    flex:0 1 36%;
}

ul.woocommerce-table--order-totals li:last-child {
    border-top: 1px solid #ebefff;
    margin-top: 20px;
    padding-top: 20px;
	
}
ul.woocommerce-table--order-totals li{margin-bottom:10px;}
.order-totals-heading{font-weight:700;}
.order-totals-value, .order-totals-value span {font-weight: 500!important;}
ul.woocommerce-table--order-totals li:last-child .order-totals-value{color:#aa7b6b;}

ul.woocommerce-table--order-totals li {
    list-style: none;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.order-totals-value {width: 45%;text-align: right;}
.order-totals-value small.shipped_via{display: block;}

section .order-details__table tbody td:first-child { padding: 20px 12px !important;}




/***********************************RESPONSIVE CODE********************************/
@media screen and (min-width: 991px) {
table.account-orders-table td[data-title="Order"] {width: 180px;}
}

@media screen and (min-width: 768px) {

}


@media screen and (max-width: 1200px) {
	.myaccount-dashboard {flex-direction: column;}
	.myaccount-dashboard>div {width: 100%;margin-bottom: 10px;}
}

@media screen and (max-width: 991px) {
ul.woocommerce-table--order-totals {margin: 20px 10px 0 0 !important;}	
.woocommerce-MyAccount-navigation a{font-size:13px;}
body.woocommerce-account main .container {max-width: 95%;}
table.account-orders-table td[data-title="Order"] {width: 100px;}
.woocommerce-orders-table__content-wrapper{overflow-x: auto;}


}



@media screen and (max-width: 768px) {
	
    .myaccount-dashboard {
        flex-direction: column;
    }
    
    .myaccount-dashboard.full-width {
        display: flex;
        flex-direction: column;
    }
    
    .my-account .woocommerce-MyAccount-content {
        width: 100% !important;
        padding-right: 0px !important;
    }
    
    .dashboard-order,
    .dashboard-products {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .myaccount-dashboard.full-width .dashboard-order {
        margin-bottom: 0;
    }
    
    .myaccount-dashboard th span {
        font-size: 12px !important;
    }
    
    table.my_account_orders td,
    table.my_account_orders td span,
    table.my_account_orders td a {
        font-size: 12px !important;
    }
	
	.fluid_container>div {width: 100%!important;display: block;text-align: left;}
	
	
	
	/*--------------------==============   Css for order details page  ==========----------------------------------*/
	.account-order-details-section {flex-direction: column;gap: 20px;}
	.woocommerce-order-details, .advance-shipment-tracking-section{padding:10px 5px;}
	ul.woocommerce-table--order-totals {margin: 10px 0 0 0!important;width: auto;float: none;}
   
	th.woocommerce-table__product-quantity.product-quantity, .woocommerce-table__product-quantity.product-quantity {text-align: center !important;}
	th.woocommerce-table__product-table.product-total, td.woocommerce-table__product-total.product-total{text-align: right !important;}
	.order-details__table thead th.product-name1 {width: 50%!important;}
	.order-details__table tbody td, .order-details__table tbody td span, .order-totals-value, .order-totals-value span {font-size: 12px;}
	.woocommerce-table__product-price .woocommerce-Price-amount, .woocommerce-table__product-total.product-total .woocommerce-Price-amount{margin-left: 0 !important}
	tr.tracking td {font-size: 12px;word-wrap: break-word;text-align:center!important;}
	.webship-tracking-section .my_account_tracking .tracking td a.button {min-width: inherit;padding: 5px 8px;color: #fff!important;    font-size: 12px;}
	.my_account_tracking th {font-size: 12px;text-align: center!important;}
	td.date-shipped{white-space: initial!important;}
	
	.woocommerce-table--order-totals-wrap {flex-direction: column;}
	
	.dashboard-order-list {overflow-x: auto;}
	.dashboard-order table{min-width:500px; overflow-x:auto;position:relative;}
	.my-account .my-account__content-txt .woocommerce-orders-table::after{visibility:hidden!important;}
	.dashboard-order table:after {
		visibility:hidden!important;
		content: '';
		position: absolute;
		bottom: -40px;
		left: 10%;
		background-image: url('data:image/svg+xml,%3Csvg aria-hidden="true" focusable="false" data-prefix="fal" data-icon="hand-point-up" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="svg-inline--fa fa-hand-point-up fa-w-14 fa-9x"%3E%3Cpath fill="currentColor" d="M115.2 70.4v121.792c-12.189-5.437-27.01-9.791-44.8-9.791C29.922 182.4 0 214.687 0 256c0 48.546 53.853 57.8 76.315 71.683 17.761 11.062 57.069 42.869 67.144 60.919C134.194 394.208 128 404.38 128 416v64c0 17.673 14.327 32 32 32h224c17.673 0 32-14.327 32-32v-64c0-9.167-3.861-17.428-10.038-23.262C413.719 358.089 448 321.746 448 267.636V244.4c0-59.606-36.084-90.256-85.87-88.631-17.108-14.3-42.155-21.279-65.494-16.635-11.856-7.229-25.395-11.348-39.582-11.885a92.713 92.713 0 0 0-1.054-.033V70.4C256 32.063 224.084 0 185.6 0c-38.161 0-70.4 32.77-70.4 70.4zM160 480v-64h224v64H160zm64-409.6v99.301c16.003-14.004 46.718-15.726 66.6 5.4 21.431-12.247 49.771-1.841 58.5 14.1 42.685-7.116 66.9 10.993 66.9 55.201v23.236c0 44.337-31.267 76.684-40.861 116.364H176.462c-10.706-29.835-59.818-68.904-83.262-83.5C67.686 284.704 32 280 32 256s16-41.6 38.4-41.6c38.4 0 57.9 28.8 76.8 28.8V70.4c0-20.1 18-38.4 38.4-38.4 20.7 0 38.4 17.7 38.4 38.4zM352 428c11.046 0 20 8.954 20 20s-8.954 20-20 20-20-8.954-20-20 8.954-20 20-20z" class=""%3E%3C/path%3E%3C/svg%3E');
		background-repeat: no-repeat;
		width: 25px;
		height: 25px;
		-webkit-animation: left-right 2s infinite;
		animation: left-right 2s infinite;
    }
}