/* =========================================================
   MicroVida Admin - Account
========================================================= */

.woocommerce-Address-title h2 {
	display: none !important;
}

.woocommerce-account .woocommerce-order-details table.shop_table,
.woocommerce-account .woocommerce-table.woocommerce-table--order-details {
	width: 100%;
	max-width: none;
	table-layout: auto;
	border-collapse: separate;
	border-spacing: 0;
}

.woocommerce-account .woocommerce-order-details table.shop_table thead th,
.woocommerce-account .woocommerce-table.woocommerce-table--order-details thead th {
	padding-bottom: 14px;
	font-size: 15px;
	line-height: 1.3;
	font-weight: 500;
	color: #6f7782;
}

.woocommerce-account .woocommerce-order-details table.shop_table thead th.product-total,
.woocommerce-account .woocommerce-table.woocommerce-table--order-details thead th.product-total {
	text-align: right;
}

.woocommerce-account .woocommerce-order-details table.shop_table tbody tr.order_item td,
.woocommerce-account .woocommerce-table.woocommerce-table--order-details tbody tr.order_item td {
	vertical-align: top;
	padding-top: 16px;
	padding-bottom: 16px;
}

.woocommerce-account .woocommerce-order-details table.shop_table tbody tr.order_item td.product-name,
.woocommerce-account .woocommerce-table.woocommerce-table--order-details tbody tr.order_item td.product-name {
	width: auto;
	padding-right: 28px;
}

.woocommerce-account .woocommerce-order-details table.shop_table tbody tr.order_item td.product-name > a,
.woocommerce-account .woocommerce-table.woocommerce-table--order-details tbody tr.order_item td.product-name > a {
	display: inline-block;
	margin: 0 12px 12px 0;
	font-size: 20px;
	line-height: 1.28;
	font-weight: 500;
	color: inherit;
	text-decoration: none;
}

.woocommerce-account .woocommerce-order-details table.shop_table tbody tr.order_item td.product-name > .product-quantity,
.woocommerce-account .woocommerce-table.woocommerce-table--order-details tbody tr.order_item td.product-name > .product-quantity {
	display: inline-block;
	min-width: 52px;
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.2;
	font-weight: 400;
	text-align: center;
	white-space: nowrap;
}

.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta,
.woocommerce-account .woocommerce-table.woocommerce-table--order-details ul.wc-item-meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta li,
.woocommerce-account .woocommerce-table.woocommerce-table--order-details ul.wc-item-meta li {
	display: grid;
	grid-template-columns: minmax(168px, 220px) minmax(0, 1fr);
	gap: 8px 20px;
	align-items: start;
	margin: 0;
}

.woocommerce-account .woocommerce-order-details table.shop_table .wc-item-meta-label,
.woocommerce-account .woocommerce-table.woocommerce-table--order-details .wc-item-meta-label {
	display: block;
	margin: 0;
	font-size: 15px;
	line-height: 1.35;
	font-weight: 500;
	color: inherit;
}

.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta li p,
.woocommerce-account .woocommerce-table.woocommerce-table--order-details ul.wc-item-meta li p {
	margin: 0;
	font-size: 15px;
	line-height: 1.35;
	text-align: left;
	white-space: normal;
	word-break: normal;
	overflow-wrap: anywhere;
	font-weight: 400;
}

.woocommerce-account .woocommerce-order-details table.shop_table tbody tr.order_item td.product-total,
.woocommerce-account .woocommerce-table.woocommerce-table--order-details tbody tr.order_item td.product-total {
	width: 160px;
	text-align: right !important;
	white-space: nowrap;
	font-size: 18px;
	line-height: 1.28;
	font-weight: 500;
}

.woocommerce-account .woocommerce-order-details table.shop_table tfoot th,
.woocommerce-account .woocommerce-order-details table.shop_table tfoot td,
.woocommerce-account .woocommerce-table.woocommerce-table--order-details tfoot th,
.woocommerce-account .woocommerce-table.woocommerce-table--order-details tfoot td {
	padding-top: 12px;
	padding-bottom: 12px;
	font-size: 15px;
	line-height: 1.35;
}

.woocommerce-account .woocommerce-order-details table.shop_table tfoot th,
.woocommerce-account .woocommerce-table.woocommerce-table--order-details tfoot th {
	font-weight: 500;
}

.woocommerce-account .woocommerce-order-details table.shop_table tfoot td,
.woocommerce-account .woocommerce-table.woocommerce-table--order-details tfoot td {
	text-align: right;
}

@media (max-width: 768px) {
	.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: grid;
		gap: 12px;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation ul li {
		margin: 0 !important;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
		min-height: 54px;
		padding: 14px 18px !important;
		border-radius: 16px !important;
		font-size: 14px;
	}

	.woocommerce-account .woocommerce-MyAccount-content > p:first-child,
	.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-overview,
	.woocommerce-account .woocommerce-order-details .woocommerce-order-details__title {
		margin-bottom: 18px;
	}

	.woocommerce-account .woocommerce-order-details .woocommerce-order-details__title,
	.woocommerce-account h2,
	.woocommerce-account h3 {
		line-height: 1.08;
	}

	.woocommerce-account .woocommerce-order-details table.shop_table,
	.woocommerce-account .woocommerce-table.woocommerce-table--order-details {
		width: 100% !important;
		max-width: none !important;
		table-layout: fixed;
		margin-bottom: 18px;
	}

	.woocommerce-account .mv-delivery-groups-summary {
		margin-top: 18px;
	}

	.woocommerce-account .mv-delivery-groups-summary__title {
		margin-bottom: 10px;
	}

	.woocommerce-account table.woocommerce-table--order-details thead,
	.woocommerce-account .woocommerce-order-details table.shop_table thead {
		display: none;
	}

	.woocommerce-account table.woocommerce-table--order-details tbody tr.order_item,
	.woocommerce-account .woocommerce-order-details table.shop_table tbody tr.order_item {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 52px 76px;
		gap: 10px 12px;
		padding: 14px 0;
		width: 100%;
	}

	.woocommerce-account table.woocommerce-table--order-details tbody tr.order_item td.product-name,
	.woocommerce-account .woocommerce-order-details table.shop_table tbody tr.order_item td.product-name {
		display: contents;
	}

	.woocommerce-account table.woocommerce-table--order-details tbody tr.order_item td.product-name > a,
	.woocommerce-account .woocommerce-order-details table.shop_table tbody tr.order_item td.product-name > a {
		grid-column: 1;
		grid-row: 1;
		display: block;
		font-size: 16px;
		line-height: 1.32;
		font-weight: 500;
	}

	.woocommerce-account table.woocommerce-table--order-details tbody tr.order_item td.product-name > .product-quantity,
	.woocommerce-account .woocommerce-order-details table.shop_table tbody tr.order_item td.product-name > .product-quantity {
		grid-column: 2;
		grid-row: 1;
		justify-self: center;
		align-self: start;
		font-size: 15px;
		line-height: 1.2;
		font-weight: 500;
		white-space: nowrap;
		margin: 0;
		text-align: center;
	}

	.woocommerce-account table.woocommerce-table--order-details tbody tr.order_item td.product-total,
	.woocommerce-account .woocommerce-order-details table.shop_table tbody tr.order_item td.product-total {
		grid-column: 3;
		grid-row: 1;
		justify-self: center;
		align-self: start;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
		text-align: center !important;
		white-space: nowrap;
		font-size: 15px;
		font-weight: 500;
	}

	.woocommerce-account table.woocommerce-table--order-details ul.wc-item-meta,
	.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta {
		grid-column: 1 / -1;
		grid-row: 2;
		list-style: none;
		margin: 8px 0 0;
		padding: 0;
		display: grid;
		gap: 8px;
	}

	.woocommerce-account table.woocommerce-table--order-details ul.wc-item-meta li,
	.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta li {
		display: grid;
		grid-template-columns: minmax(124px, 1fr) auto;
		gap: 8px 12px;
		align-items: start;
		margin: 0;
	}

	.woocommerce-account table.woocommerce-table--order-details .wc-item-meta-label,
	.woocommerce-account .woocommerce-order-details table.shop_table .wc-item-meta-label {
		display: block;
		margin: 0;
		font-size: 14px;
		line-height: 1.3;
		font-weight: 500;
		color: inherit;
	}

	.woocommerce-account table.woocommerce-table--order-details ul.wc-item-meta li p,
	.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta li p {
		margin: 0;
		font-size: 15px;
		line-height: 1.35;
		text-align: right;
		white-space: normal;
		word-break: normal;
		overflow-wrap: break-word;
		font-weight: 400;
	}

	.woocommerce-account table.woocommerce-table--order-details .mv-order-item-quantity,
	.woocommerce-account .woocommerce-order-details table.shop_table .mv-order-item-quantity {
		display: inline-block;
		min-width: 52px;
		font-weight: 400;
	}

	.woocommerce-account table.woocommerce-table--order-details tfoot,
	.woocommerce-account .woocommerce-order-details table.shop_table tfoot {
		display: block;
		width: 100%;
	}

	.woocommerce-account table.woocommerce-table--order-details tfoot tr,
	.woocommerce-account .woocommerce-order-details table.shop_table tfoot tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 8px 12px;
		align-items: start;
		width: 100%;
		padding: 14px 0;
	}

	.woocommerce-account table.woocommerce-table--order-details tfoot th,
	.woocommerce-account table.woocommerce-table--order-details tfoot td,
	.woocommerce-account .woocommerce-order-details table.shop_table tfoot th,
	.woocommerce-account .woocommerce-order-details table.shop_table tfoot td {
		display: block;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
	}

	.woocommerce-account table.woocommerce-table--order-details tfoot th,
	.woocommerce-account .woocommerce-order-details table.shop_table tfoot th {
		text-align: left !important;
	}

	.woocommerce-account table.woocommerce-table--order-details tfoot td,
	.woocommerce-account .woocommerce-order-details table.shop_table tfoot td {
		text-align: right !important;
		justify-self: end;
		white-space: nowrap;
	}
}
