/* WooCommerce My Account, orders list, order details. */

table.woocommerce-orders-table {
	margin-bottom: 10px !important;
}

.woocommerce-MyAccount-content > *:not(:last-child) {
	margin-bottom: 20px;
}

.woocommerce-order-details__title,
.woocommerce-column__title,
.woocommerce-Address-title,
.woocommerce-MyAccount-content header > h2,
.woocommerce-MyAccount-content > h2 {
	text-transform: capitalize;
}

table.woocommerce-table.woocommerce-table--order-details {
	overflow-wrap: anywhere;
}

.woocommerce-table--order-details tfoot tr:last-child th {
	font-size: 15px;
	text-transform: capitalize;
}

.mfp-container,
table:has(.order-actions--heading) td,
table td.woocommerce-table__product-name,
table th.woocommerce-table__product-name {
	padding: 0;
}

tr.woocommerce-orders-table__row td {
	padding: 5px;
}

td:has(> .woocommerce-Price-amount) {
	padding-bottom: 0;
	padding-top: 0;
}

tr.partial-cod-info {
	background: none !important;
}

.order-actions-button,
.wc-address-book-add-billing-button,
.wc-address-book-add-shipping-button {
	display: ruby;
}

.awp-edit-button {
	display: contents;
}

td.product-name a {
	color: var(--primary-blue);
	display: contents;
}

.woocommerce-mini-cart__buttons a.btn-cart,
.wc-address-book-add-billing-button,
.wc-address-book-add-shipping-button {
	background-color: var(--primary-blue);
	color: var(--white);
	border-radius: var(--button-radius);
}

.woocommerce-mini-cart__buttons a.btn-cart:hover {
	background-color: var(--primary-blue-hover) !important;
	color: var(--white) !important;
}

.woocommerce-orders-table__cell-order-thumbnail a,
.wc-address-book-edit,
.wc-address-book-delete,
.wc-address-book-make-primary {
	font-size: small;
}

.wc-address-book-delete {
	color: red;
}

a.button.track-button {
	padding: 10px !important;
}

a.button.track-button,
td.product-btn a,
td.woocommerce-orders-table__cell-order-actions a,
.order-actions-button,
:is(.woocommerce-order-downloads, .woocommerce-order-details) .button {
	border-radius: var(--button-radius) !important;
	font-size: 13px !important;
	color: var(--primary-blue) !important;
	background-color: var(--card-bg) !important;
	margin-inline-end: 0 !important;
}

td.product-btn a:hover,
td.woocommerce-orders-table__cell-order-actions a:hover,
.order-actions-button:hover,
:is(.woocommerce-order-downloads, .woocommerce-order-details) .button:hover {
	color: var(--primary-blue);
	background-color: var(--light-bg);
}

.tracking_number {
	color: var(--primary-blue) !important;
}

.fluid_provider_img img {
	border-radius: 10px !important;
}

/* Order list thumbnails */
.order-items-preview {
	display: flex;
	flex-direction: row;
}

.order-item-thumb:first-child {
	margin-left: 0;
}

.order-item-thumb {
	position: relative;
	margin-left: -20px;
	transition: all 0.3s ease;
	z-index: 1;
}

.order-item-thumb img {
	width: 50px;
	height: 50px;
	border-radius: var(--card-radius15);
	border: 0.1px solid grey;
	box-shadow: var(--shadow-bottom-lite);
}

.woocommerce-table_product {
	display: flex;
	flex-direction: row;
	margin-top: 8px;
	margin-bottom: 8px;
}

.woocommerce-table_product-image img {
	border-radius: 10px;
	max-width: none;
	width: 45px;
	height: 45px;
	margin-right: 10px;
	margin-top: 2px;
	margin-bottom: 2px;
	box-shadow: var(--shadow-bottom-lite);
}

/* Card surfaces */
.wt_store_credit_main,
.wt-used-coupons,
.wt-expired-coupons,
.wt-mycoupons,
div#payment,
.woocommerce-column--billing-address,
.woocommerce-column--shipping-address,
.woocommerce-Address,
.wc-address-book-address,
.fluid_container {
	background: var(--card-bg) !important;
	border-radius: var(--card-radius20) !important;
	padding: 15px;
	box-shadow: var(--shadow-bottom);
}

div#payment {
	box-shadow: none;
}

.wt_coupon_wrapper .wt-single-coupon {
	min-width: 250px;
	max-width: 20%;
}

.wd-my-account-links[class*="wd-grid"] {
	--wd-col-lg: 5;
	--wd-col-md: 3;
	--wd-col-sm: 4;
	--wd-col-xs: 2;
	--wd-gap-lg: 20px;
	margin-top: 30px;
}

.wt_store_credit_main h4,
.woocommerce-order-details,
.wt-used-coupons h4,
.wt-expired-coupons h4,
.wt-mycoupons h4 {
	margin: 0;
}

.wt-used-coupons,
.wt-expired-coupons,
.wt-mycoupons {
	margin-top: 0;
}

.woocommerce-columns--addresses,
.woocommerce-Addresses,
.wc-address-book-address {
	gap: 20px;
	margin: 2px;
	display: flex;
	flex-wrap: wrap;
}

.woocommerce-column--billing-address,
.woocommerce-column--shipping-address {
	flex: 1 0 0;
}

.order_details tr :is(td, th):first-child,
.woocommerce-orders-table tr :is(td, th):first-child {
	padding-inline-start: 15px;
}

.order_details tr :is(td, th):last-child,
.woocommerce-orders-table tr :is(td, th):last-child {
	padding-inline-end: 15px;
	text-align: end;
}

.fluid_container {
	border: unset !important;
}

.woocommerce-order-details .responsive-table {
	margin-bottom: 20px;
}

.woocommerce-MyAccount-content > p {
	font-size: 100%;
}
