body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul,
.yith-wcmap .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid #ebebeb;
	border-bottom: 0;
	background: #fff;
}

body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li,
.yith-wcmap .woocommerce-MyAccount-navigation li {
	margin: 0;
}

body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li a,
.yith-wcmap .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 12px 14px;
	background: #fff !important;
	color: #9C9C9C !important;
	/* inactive text */
	text-decoration: none;
	border-bottom: 1px solid #ebebeb;
	position: relative;
	font-weight: 400;
}

/* remove theme/YITH icons */
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li a:before,
.yith-wcmap .woocommerce-MyAccount-navigation li a:before {
	display: none !important;
}

/* hover */
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li a:hover,
.yith-wcmap .woocommerce-MyAccount-navigation li a:hover {
	background: #f7f7f7 !important;
	color: #8B536F !important;
}

/* active/current */
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation .is-active a,
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li a[aria-current="page"],
.yith-wcmap .woocommerce-MyAccount-navigation .is-active a,
.yith-wcmap .woocommerce-MyAccount-navigation li a[aria-current="page"] {
	font-weight: 600;
	color: #8B536F !important;
	border-left: 3px solid #8B536F;
	padding-left: 11px;
	background: #fff !important;
}

.woocommerce-MyAccount-content {
	overflow-x: auto;
}

.ast-modern-woo-account-page .ast-container {
    width: 100%;
}

@media screen and (max-width: 540px) {
	.woocommerce-account .woocommerce-MyAccount-content .form-row-first {
		width: 100%;
	}
}

.tinv-wishlist .product-action .button {
	background: #fff;
	color: var(--ast-global-color-8);
	border: 1px solid var(--ast-global-color-8);
}

.tinv-wishlist .product-action .button.alt {
	color: #ffffff;
	border-color: var(--ast-global-color-8);
	background-color: var(--ast-global-color-8);
}

@media (max-width: 768px) {
	.wishlist_item {
		display: grid;
		grid-template-areas:
			"cb date date remove"
			"thumb thumb name name"
			"thumb thumb price price"
			"thumb thumb stock stock"
			"action action action action";
		grid-template-columns: 41px 59px 1fr 41px;
		gap: 5px 0;
		/* Spacing between grid items */
		border: 1px solid #eee;
		margin-bottom: 15px;
		padding: 10px;
		position: relative;
		align-items: center;
		line-height: 1.4;
	}

	/* Map the cells to the grid areas */
	.product-remove {
		grid-area: remove;
		justify-self: end;
	}

	/* Top right */
	.product-thumbnail {
		grid-area: thumb;
	}
	.product-name {
		grid-area: name;
		font-weight: bold;
	}

	.product-price {
		grid-area: price;
	}
	.product-stock {
		grid-area: stock;
		text-align: left;
	}
	.product-action {
		grid-area: action;
		text-align: center;
	}
	/* Button centered */
	.product-date {
		grid-area: date;
	}
	.product-cb {
		grid-area: cb;
	}

	.tinv-wishlist .product-remove button {
		margin-right: 0;
	}

	/* Ensure thumbnail image fits */
	.product-thumbnail img {
		width: 100%;
		height: auto;
	}
	table.tinvwl-table-manage-list>tbody>tr>td {
		border: 0;
		padding: 0;
	}
	.tinv-wishlist .tinvwl-table-manage-list .product-remove {
		padding: 0;
	}
	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-name,
	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-price,
	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-stock {
		text-align: left;
	}
	.tinv-wishlist .product-stock p {
		margin-left: 0;
	}
	.tinv-wishlist .product-stock p.out-of-stock {
		color: #ef4444;
	}
	.tinv-wishlist .product-stock p.in-stock {
		color: #059669;
	}
	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-action {
		margin-top: 5px;
		padding-left: 15px;
		padding-right: 15px;
	}
	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-action a,
	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-action button {
		font-size: 13px;
	}
	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-date {
		font-size: 12px;
	}
	td.product-price del {
		opacity: 0.6;
	}
	.tinv-wishlist .product-stock i {
		margin-right: 5px;
	}
}
