/* AWP Super Login */

.awp-sl {
	--awp-sl-row-gap: 15px;
	--awp-sl-btn-justify: stretch;
	--awp-sl-btn-width: 100%;
	--awp-sl-tabs-justify: stretch;
	--awp-sl-tab-flex: 1 1 0;
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

.awp-sl *,
.awp-sl *::before,
.awp-sl *::after {
	box-sizing: border-box;
}

.awp-sl [hidden] {
	display: none !important;
}

/* Tabs */
.awp-sl-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: var(--awp-sl-tabs-justify);
	margin-bottom: 20px;
}

.awp-sl-tab {
	flex: var(--awp-sl-tab-flex);
	display: block;
	padding: 10px 16px;
	text-align: center;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	cursor: pointer;
	transition: color .2s, background-color .2s, border-color .2s;
}

.awp-sl-tab.is-active {
	border-bottom-color: currentColor;
}

.awp-sl-tab:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* Form layout */
.awp-sl-form {
	display: flex;
	flex-direction: column;
	gap: var(--awp-sl-row-gap);
	margin: 0;
}

.awp-sl-field {
	display: flex;
	flex-direction: column;
	margin: 0;
	min-width: 0;
}

.awp-sl-label {
	display: block;
	margin-bottom: 6px;
}

.awp-sl-required {
	margin-left: 3px;
	color: #d63638;
}

.awp-sl-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.awp-sl-input {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
}

.awp-sl--input-xs .awp-sl-input { min-height: 33px; padding: 4px 12px; }
.awp-sl--input-sm .awp-sl-input { min-height: 40px; padding: 6px 14px; }
.awp-sl--input-md .awp-sl-input { min-height: 47px; padding: 8px 16px; }
.awp-sl--input-lg .awp-sl-input { min-height: 59px; padding: 12px 18px; }
.awp-sl--input-xl .awp-sl-input { min-height: 72px; padding: 16px 20px; }

.awp-sl-name-row {
	display: flex;
	flex-direction: column;
	gap: var(--awp-sl-row-gap);
}

.awp-sl-name-row--inline {
	flex-direction: row;
}

.awp-sl-name-row--inline > .awp-sl-field {
	flex: 1 1 0;
}

@media (max-width: 480px) {
	.awp-sl-name-row--inline {
		flex-direction: column;
	}
}

/* Password show/hide */
.awp-sl-pass-wrap {
	position: relative;
}

.awp-sl .awp-sl-pass-wrap input.awp-sl-input[type] {
	padding-right: 44px;
}

.awp-sl .awp-sl-pass-wrap .awp-sl-pass-toggle,
.awp-sl .awp-sl-pass-wrap .awp-sl-pass-toggle:hover,
.awp-sl .awp-sl-pass-wrap .awp-sl-pass-toggle:focus {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 44px;
	min-height: 0;
	margin: 0;
	padding: 0 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: inherit;
	line-height: 1;
	cursor: pointer;
}

.awp-sl .awp-sl-pass-wrap .awp-sl-pass-toggle {
	opacity: .6;
}

.awp-sl .awp-sl-pass-wrap .awp-sl-pass-toggle:hover,
.awp-sl .awp-sl-pass-wrap .awp-sl-pass-toggle:focus-visible {
	opacity: 1;
}

.awp-sl .awp-sl-pass-wrap .awp-sl-pass-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -4px;
}

.awp-sl-pass-toggle svg {
	width: 20px;
	height: 20px;
	pointer-events: none;
}

.awp-sl-pass-toggle .awp-sl-eye-off,
.awp-sl-pass-toggle[aria-pressed="true"] .awp-sl-eye {
	display: none;
}

.awp-sl-pass-toggle[aria-pressed="true"] .awp-sl-eye-off {
	display: block;
}

/* Checkboxes */
.awp-sl-check {
	--awp-sl-check-size: 1em;
}

.awp-sl-check label {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	line-height: 1.5;
	cursor: pointer;
}

/* Centered on the first line of text, also when the text wraps (terms). */
.awp-sl .awp-sl-check input[type="checkbox"] {
	flex: 0 0 auto;
	width: var(--awp-sl-check-size);
	height: var(--awp-sl-check-size);
	padding: 0;
	margin: calc((1.5em - var(--awp-sl-check-size)) / 2) 0 0;
	margin-top: calc((1lh - var(--awp-sl-check-size)) / 2);
	line-height: inherit;
	vertical-align: top;
}

/* Links inside text (terms, privacy, intro) follow the text, not the theme's link font. */
.awp-sl .awp-sl-check label a,
.awp-sl .awp-sl-text a,
.awp-sl .awp-sl-hooks a {
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	line-height: inherit;
	color: inherit;
	text-decoration: underline;
	text-underline-offset: .15em;
}

.awp-sl .awp-sl-check label a:hover,
.awp-sl .awp-sl-check label a:focus-visible {
	text-decoration: underline;
}

.awp-sl-check label > span {
	min-width: 0;
}

/* Button */
.awp-sl-submit-row {
	display: flex;
	justify-content: var(--awp-sl-btn-justify);
}

.awp-sl-button {
	width: var(--awp-sl-btn-width);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	cursor: pointer;
	line-height: 1;
}

.awp-sl-button--xs { font-size: 13px; padding: 10px 20px; }
.awp-sl-button--sm { font-size: 15px; padding: 12px 24px; }
.awp-sl-button--md { font-size: 16px; padding: 15px 30px; }
.awp-sl-button--lg { font-size: 18px; padding: 20px 40px; }
.awp-sl-button--xl { font-size: 20px; padding: 25px 50px; }

/* Links */
.awp-sl-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}

.awp-sl-sep {
	display: none;
	opacity: .5;
}

/* Text, hooks, captcha */
.awp-sl-text > :first-child { margin-top: 0; }
.awp-sl-text > :last-child { margin-bottom: 0; }

.awp-sl-hooks:empty { display: none; }
.awp-sl-hooks > br,
.awp-sl-captcha > br { display: none; }
.awp-sl-hooks p { margin: 0 0 .5em; }
.awp-sl-hooks > :last-child { margin-bottom: 0; }

/* v3 badge floats at the screen corner: take the empty row out of the gap. */
.awp-sl-captcha--v3:not(.awp-sl-captcha--inline) {
	margin-top: calc(-1 * var(--awp-sl-row-gap));
}

.awp-sl-recaptcha {
	max-width: 100%;
}

.awp-sl-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Logged-in button */
.awp-sl-cta-row {
	--awp-sl-cta-width: auto;
	display: flex;
	justify-content: flex-start;
	margin-top: 15px;
}

.awp-sl-account > .awp-sl-cta-row:first-child {
	margin-top: 0;
}

.awp-sl-cta-row .awp-sl-cta {
	--awp-sl-cta-icon-size: 1em;
	width: var(--awp-sl-cta-width);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-align: center;
	text-decoration: none;
	line-height: 1;
	color: #fff;
	background-color: var(--e-global-color-primary, #1a87d4);
	border: 0 solid transparent;
	transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s;
}

.awp-sl-cta-row .awp-sl-cta:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.awp-sl-cta-icon {
	display: inline-flex;
	font-size: var(--awp-sl-cta-icon-size);
	line-height: 1;
}

.awp-sl-cta-icon svg {
	width: var(--awp-sl-cta-icon-size);
	height: var(--awp-sl-cta-icon-size);
	fill: currentColor;
}

/* Messages */
.awp-sl-message {
	margin: 0 0 var(--awp-sl-row-gap);
	padding: 12px 16px;
	border: 1px solid;
	border-radius: 4px;
	line-height: 1.5;
}

.awp-sl-message ul {
	margin: 0;
	padding-left: 1.2em;
}

.awp-sl-message--error   { color: #8a1f11; background-color: #fdf0ee; border-color: #e3a59b; }
.awp-sl-message--success { color: #1e5631; background-color: #eef8f1; border-color: #9fd0ad; }
.awp-sl-message--notice  { color: #5c4a00; background-color: #fff8e1; border-color: #e6d28a; }

/* ================= AWP Account Nav ================= */

.awp-nav {
	--awp-nav-icon-size: 1em;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.awp-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	line-height: 1.2;
	text-decoration: none;
	border: 0 solid transparent;
	transition: color .2s, background-color .2s, border-color .2s;
}

.awp-nav-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.awp-nav-link.is-highlight {
	padding: 8px 16px;
}

.awp-nav-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: var(--awp-nav-icon-size);
	line-height: 1;
}

.awp-nav-icon i {
	font-size: var(--awp-nav-icon-size);
}

.awp-nav-icon svg {
	width: var(--awp-nav-icon-size);
	height: var(--awp-nav-icon-size);
	fill: currentColor;
}

.awp-nav-sep {
	opacity: .5;
	line-height: 1;
}

/* ================= AWP My Account ================= */

.awp-ma {
	--awp-ma-menu-width: 240px;
	--awp-ma-gap: 30px;
	--awp-ma-icon-size: 1em;
	--awp-ma-menu-justify: flex-start;
	--awp-ma-item-flex: 0 0 auto;
	--awp-ma-link-justify: flex-start;
	width: 100%;
	box-sizing: border-box;
}

.awp-ma *,
.awp-ma *::before,
.awp-ma *::after {
	box-sizing: border-box;
}

/* Menu beside or above the content. WooCommerce floats these; flex instead. */
.awp-ma.awp-ma--in > .woocommerce {
	display: flex;
	align-items: flex-start;
	gap: var(--awp-ma-gap);
}

.awp-ma.awp-ma--in > .woocommerce::before,
.awp-ma.awp-ma--in > .woocommerce::after {
	display: none;
}

.awp-ma--right > .woocommerce {
	flex-direction: row-reverse;
}

.awp-ma--top > .woocommerce {
	flex-direction: column;
	align-items: stretch;
}

.awp-ma .awp-ma-nav {
	flex: 0 0 var(--awp-ma-menu-width);
	max-width: 100%;
	margin: 0;
}

.awp-ma--top .awp-ma-nav {
	flex: none;
	width: 100%;
}

.awp-ma .woocommerce .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
}

.awp-ma--top .woocommerce .woocommerce-MyAccount-content {
	width: 100%;
}

@media (max-width: 767px) {
	.awp-ma--stack > .woocommerce {
		flex-direction: column;
		align-items: stretch;
	}

	.awp-ma--stack .awp-ma-nav {
		flex: none;
		width: 100%;
	}

	.awp-ma--stack .woocommerce .woocommerce-MyAccount-content {
		width: 100%;
	}
}

/* Menu */
.awp-ma .awp-ma-menu {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.awp-ma--top .awp-ma-menu {
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: var(--awp-ma-menu-justify);
}

/* Equal-height tabs, also when a label wraps to two lines. */
.awp-ma--top .awp-ma-menu > li {
	flex: var(--awp-ma-item-flex);
	display: flex;
}

.awp-ma--top .awp-ma-menu > li > .awp-ma-link {
	flex: 1 1 auto;
	text-align: center;
}

.awp-ma .awp-ma-menu > li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.awp-ma .awp-ma-menu > li::before {
	display: none;
}

.awp-ma .awp-ma-link {
	display: flex;
	align-items: center;
	justify-content: var(--awp-ma-link-justify);
	gap: 8px;
	padding: 10px 16px;
	text-decoration: none;
	border-style: solid;
	border-color: transparent;
	border-width: 0 0 0 3px;
	transition: color .2s, background-color .2s, border-color .2s;
}

.awp-ma--right .awp-ma-link {
	border-width: 0 3px 0 0;
}

.awp-ma--top .awp-ma-link {
	justify-content: center;
	border-width: 0 0 2px;
}

.awp-ma .is-active > .awp-ma-link {
	border-color: currentColor;
}

.awp-ma .awp-ma-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.awp-ma--icon-above .awp-ma-link {
	flex-direction: column;
	text-align: center;
}

.awp-ma-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: var(--awp-ma-icon-size);
	line-height: 1;
}

.awp-ma-icon i {
	font-size: var(--awp-ma-icon-size);
}

.awp-ma-icon svg {
	width: var(--awp-ma-icon-size);
	height: var(--awp-ma-icon-size);
	fill: currentColor;
}

/* Content */
.awp-ma .woocommerce-MyAccount-content > :first-child,
.awp-ma-dashboard > :first-child {
	margin-top: 0;
}

.awp-ma .woocommerce-MyAccount-content > :last-child {
	margin-bottom: 0;
}

.awp-ma table.shop_table,
.awp-ma table.woocommerce-table {
	width: 100%;
	border-collapse: collapse;
}

.awp-ma .select2-container .select2-selection {
	height: auto;
}

/* Welcome & Log Out bar above the menu */
.awp-ma .awp-ma-header {
	--awp-ma-logout-icon: 1em;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 20px;
	margin-bottom: 20px;
}

.awp-ma-welcome > :first-child { margin-top: 0; }
.awp-ma-welcome > :last-child { margin-bottom: 0; }

.awp-ma .awp-ma-logout {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	text-decoration: none;
	transition: color .2s;
}

.awp-ma .awp-ma-logout:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.awp-ma-logout-icon {
	display: inline-flex;
	align-items: center;
	font-size: var(--awp-ma-logout-icon);
	line-height: 1;
	transition: color .2s;
}

.awp-ma-logout-icon i {
	font-size: var(--awp-ma-logout-icon);
}

.awp-ma-logout-icon svg {
	width: var(--awp-ma-logout-icon);
	height: var(--awp-ma-logout-icon);
	fill: currentColor;
}

/* Logged-out message */
.awp-ma-login-text > :first-child { margin-top: 0; }
.awp-ma-login-text > :last-child { margin-bottom: 0; }

.awp-ma-login-row {
	margin-top: 15px;
}

.awp-ma-login-row .awp-ma-login-button {
	display: inline-block;
	padding: 12px 24px;
	line-height: 1;
	text-decoration: none;
	color: #fff;
	background-color: var(--e-global-color-primary, #1a87d4);
	border: 0 solid transparent;
	transition: color .2s, background-color .2s, border-color .2s;
}

/* Set New Password: the visually hidden username field for password managers. */
.awp-sl input.awp-sl-sr {
	position: absolute !important;
}

/* ================= AWP My Account: stats, dropdown, orders, Buy It Again ================= */

/* At-a-glance stats */
.awp-ma .awp-ma-stats {
	--awp-ma-stats-min: 150px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(var(--awp-ma-stats-min), 100%), 1fr));
	gap: 12px;
	margin-bottom: 20px;
}

.awp-ma .awp-ma-stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	padding: 16px 18px;
	border-radius: 8px;
	background-color: rgba(0, 0, 0, .04);
	color: inherit;
	text-decoration: none;
	transition: background-color .2s, box-shadow .2s, border-color .2s;
}

.awp-ma a.awp-ma-stat:hover,
.awp-ma a.awp-ma-stat:focus-visible {
	background-color: rgba(0, 0, 0, .07);
}

.awp-ma a.awp-ma-stat:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.awp-ma .awp-ma-stat-label,
.awp-ma .awp-ma-stat-value,
.awp-ma .awp-ma-stat-sub {
	display: block;
	overflow-wrap: anywhere;
}

.awp-ma .awp-ma-stat-label {
	font-size: .75em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.awp-ma .awp-ma-stat-value {
	font-size: 1.75em;
	font-weight: 700;
	line-height: 1.1;
}

.awp-ma .awp-ma-stat-sub {
	font-size: .8em;
}

/* Mobile dropdown (shown under 768px) */
.awp-ma .awp-ma-mobile {
	display: none;
	position: relative;
}

.awp-ma .awp-ma-mobile-toggle,
.awp-ma .awp-ma-mobile-toggle:hover,
.awp-ma .awp-ma-mobile-toggle:focus {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0;
	padding: 12px 16px;
	font: inherit;
	line-height: 1.2;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	color: inherit;
	background-color: rgba(0, 0, 0, .05);
	border: 0;
	border-radius: 6px;
	box-shadow: none;
	cursor: pointer;
}

.awp-ma .awp-ma-mobile-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.awp-ma .awp-ma-chev {
	flex: none;
	width: 14px;
	height: 14px;
	fill: currentColor;
	transition: transform .2s;
}

.awp-ma .awp-ma-mobile-toggle[aria-expanded="true"] .awp-ma-chev {
	transform: rotate(180deg);
}

.awp-ma .awp-ma-mobile-list {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 50;
	margin: 0;
	padding: 0;
	list-style: none;
	background-color: #fff;
	border-radius: 0 0 6px 6px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
	overflow: hidden;
}

.awp-ma .awp-ma-mobile-toggle[aria-expanded="true"] + .awp-ma-mobile-list {
	display: block;
}

.awp-ma .awp-ma-mobile-list li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.awp-ma .awp-ma-mobile-list li::before {
	display: none;
}

.awp-ma .awp-ma-mobile-list a {
	display: block;
	padding: 12px 16px;
	color: inherit;
	text-decoration: none;
	border-top: 1px solid rgba(0, 0, 0, .08);
	transition: color .2s, background-color .2s;
}

.awp-ma .awp-ma-mobile-list li:first-child a {
	border-top-width: 0;
}

.awp-ma .awp-ma-mobile-list a:hover,
.awp-ma .awp-ma-mobile-list a:focus-visible,
.awp-ma .awp-ma-mobile-list a[aria-current] {
	background-color: rgba(0, 0, 0, .04);
}

@media (max-width: 767px) {
	.awp-ma.awp-ma--dropdown .awp-ma-nav {
		display: none;
	}

	.awp-ma.awp-ma--dropdown .awp-ma-mobile {
		display: block;
	}

	.awp-ma.awp-ma--in.awp-ma--dropdown > .woocommerce {
		flex-direction: column;
		align-items: stretch;
	}

	.awp-ma--dropdown .woocommerce .woocommerce-MyAccount-content {
		width: 100%;
	}
}

/* Orders table: items column */
.awp-ma table.woocommerce-orders-table {
	--awp-ma-thumb: 48px;
}

.awp-ma .woocommerce-orders-table__cell-awp-items {
	min-width: 180px;
}

.awp-ma .awp-ma-items {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.awp-ma .awp-ma-thumb {
	position: relative;
	flex: 0 0 auto;
	width: var(--awp-ma-thumb);
	height: var(--awp-ma-thumb);
}

.awp-ma .awp-ma-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	padding: 2px;
	object-fit: contain;
	background-color: #fff;
	border-radius: 6px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .1);
}

.awp-ma .awp-ma-thumb-count {
	position: absolute;
	right: -6px;
	bottom: -6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 5px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	background-color: #333;
	border: 2px solid #fff;
	border-radius: 999px;
}

.awp-ma .awp-ma-items-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.3;
}

.awp-ma .awp-ma-items-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-weight: 600;
}

.awp-ma .awp-ma-items-more {
	font-size: .85em;
}

/* Orders table: status badges */
.awp-ma .awp-ma-status {
	display: inline-block;
	padding: .3em .8em;
	font-size: .8em;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: .03em;
	white-space: nowrap;
	color: #555;
	background-color: #ececec;
	border-radius: 999px;
}

.awp-ma .awp-ma-status--pending    { color: #7a4a00; background-color: #fde7c8; }
.awp-ma .awp-ma-status--processing { color: #0f5e94; background-color: #ddeefa; }
.awp-ma .awp-ma-status--on-hold    { color: #7a5500; background-color: #fcefc9; }
.awp-ma .awp-ma-status--completed  { color: #1e6b34; background-color: #dff3e5; }
.awp-ma .awp-ma-status--cancelled  { color: #565556; background-color: #e6e6e6; }
.awp-ma .awp-ma-status--refunded   { color: #5b3c88; background-color: #ece4f7; }
.awp-ma .awp-ma-status--failed     { color: #a4262c; background-color: #fbe3e4; }

/* Orders table: stacked, equal-width action buttons in a narrow column */
.awp-ma--orders-stack table.woocommerce-orders-table th,
.awp-ma--orders-stack table.woocommerce-orders-table td {
	vertical-align: middle;
}

.awp-ma--orders-stack table.woocommerce-orders-table th,
.awp-ma--orders-stack table.woocommerce-orders-table td:not(.woocommerce-orders-table__cell-awp-items) {
	white-space: nowrap;
}

.awp-ma--orders-stack .woocommerce-orders-table__header-order-actions,
.awp-ma--orders-stack td.woocommerce-orders-table__cell-order-actions {
	width: 1%;
	text-align: right;
}

.awp-ma--orders-stack .woocommerce-orders-table__cell-order-actions .button {
	display: block;
	width: 100%;
	margin: 0;
	text-align: center;
}

.awp-ma--orders-stack .woocommerce-orders-table__cell-order-actions .button + .button {
	margin-top: var(--awp-ma-action-gap, 6px);
}

.awp-ma .woocommerce-orders-table__cell-order-actions a.button {
	font-size: .8125rem;
	padding: .6em .9em;
}

.awp-ma .woocommerce-orders-table__cell-order-actions a.button.order-again {
	color: inherit;
	background-color: transparent;
	box-shadow: inset 0 0 0 2px currentColor;
}

.awp-ma .woocommerce-orders-table__cell-order-actions a.button.order-again:hover,
.awp-ma .woocommerce-orders-table__cell-order-actions a.button.order-again:focus-visible {
	background-color: rgba(0, 0, 0, .06);
}

/* Orders as cards on phones */
@media (max-width: 767px) {
	.awp-ma.awp-ma--orders-stack table.woocommerce-orders-table thead {
		display: none;
	}

	.awp-ma.awp-ma--orders-stack table.woocommerce-orders-table,
	.awp-ma.awp-ma--orders-stack table.woocommerce-orders-table tbody {
		display: block;
		width: 100%;
	}

	.awp-ma.awp-ma--orders-stack table.woocommerce-orders-table tbody tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 8px 12px;
		align-items: center;
		padding: 14px;
	}

	.awp-ma.awp-ma--orders-stack table.woocommerce-orders-table tbody tr + tr {
		border-top: 1px solid rgba(0, 0, 0, .1);
	}

	.awp-ma.awp-ma--orders-stack table.woocommerce-orders-table.shop_table tbody th,
	.awp-ma.awp-ma--orders-stack table.woocommerce-orders-table.shop_table tbody td {
		display: block !important;
		grid-column: 1 / -1;
		order: 5;
		width: auto;
		padding: 0;
		border: 0;
		text-align: left !important;
		white-space: normal;
	}

	.awp-ma.awp-ma--orders-stack table.woocommerce-orders-table.shop_table tbody tr:nth-child(n) th,
	.awp-ma.awp-ma--orders-stack table.woocommerce-orders-table.shop_table tbody tr:nth-child(n) td {
		background-color: transparent;
	}

	.awp-ma.awp-ma--orders-stack table.woocommerce-orders-table.shop_table tbody td::before {
		display: none;
	}

	.awp-ma.awp-ma--orders-stack table.woocommerce-orders-table.shop_table tbody .woocommerce-orders-table__cell-order-number {
		grid-column: 1;
		order: 1;
	}

	.awp-ma.awp-ma--orders-stack table.woocommerce-orders-table.shop_table tbody .woocommerce-orders-table__cell-order-status {
		grid-column: 2;
		order: 2;
		text-align: right !important;
	}

	.awp-ma.awp-ma--orders-stack table.woocommerce-orders-table.shop_table tbody .woocommerce-orders-table__cell-awp-items {
		order: 3;
		min-width: 0;
	}

	.awp-ma.awp-ma--orders-stack table.woocommerce-orders-table.shop_table tbody .woocommerce-orders-table__cell-order-date {
		grid-column: 1;
		order: 4;
	}

	.awp-ma.awp-ma--orders-stack table.woocommerce-orders-table.shop_table tbody .woocommerce-orders-table__cell-order-total {
		grid-column: 2;
		order: 4;
		text-align: right !important;
		font-weight: 700;
	}

	.awp-ma.awp-ma--orders-stack table.woocommerce-orders-table.shop_table tbody .woocommerce-orders-table__cell-order-actions {
		display: flex !important;
		flex-wrap: wrap;
		gap: var(--awp-ma-action-gap, 6px);
		order: 6;
	}

	.awp-ma.awp-ma--orders-stack .woocommerce-orders-table__cell-order-actions .button,
	.awp-ma.awp-ma--orders-stack .woocommerce-orders-table__cell-order-actions .button + .button {
		flex: 1 1 0;
		width: auto;
		margin: 0;
	}
}

/* Buy It Again */
.awp-ma .awp-ma-again {
	margin: 0 0 28px;
}

.awp-ma .awp-ma-again-title {
	margin: 0 0 12px;
}

.awp-ma .awp-ma-again-grid {
	display: grid;
	grid-template-columns: repeat(var(--awp-ma-again-cols, 4), minmax(0, 1fr));
	gap: 14px;
}

.awp-ma .awp-ma-again-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	padding: 12px;
	background-color: #fff;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 8px;
}

.awp-ma .awp-ma-again-image {
	display: block;
}

.awp-ma .awp-ma-again-image img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	border-radius: 6px;
}

.awp-ma .awp-ma-again-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: .9em;
	font-weight: 600;
	line-height: 1.3;
	color: inherit;
	text-decoration: none;
}

.awp-ma .awp-ma-again-price {
	font-weight: 700;
}

.awp-ma .awp-ma-again-price del {
	font-weight: 400;
	opacity: .6;
}

.awp-ma .awp-ma-again-card .button {
	display: block;
	margin-top: auto;
	text-align: center;
}

.awp-ma .awp-ma-again-card a.button {
	font-size: .8125rem;
	padding: .7em .8em;
}

.awp-ma .awp-ma-again-card .added_to_cart {
	display: block;
	font-size: .85em;
	text-align: center;
}

@media (max-width: 1024px) {
	.awp-ma .awp-ma-again-grid {
		--awp-ma-again-cols: 3;
	}
}

@media (max-width: 767px) {
	.awp-ma .awp-ma-again-grid {
		--awp-ma-again-cols: 2;
	}
}

/* No orders message */
.awp-ma .awp-ma-empty {
	--awp-ma-empty-icon: 48px;
	padding: 32px 20px;
	text-align: center;
	background-color: rgba(0, 0, 0, .03);
	border-radius: 8px;
}

.awp-ma .awp-ma-empty-icon {
	display: inline-flex;
	margin-bottom: 10px;
	font-size: var(--awp-ma-empty-icon);
	line-height: 1;
	color: rgba(0, 0, 0, .35);
}

.awp-ma .awp-ma-empty-icon i {
	font-size: var(--awp-ma-empty-icon);
}

.awp-ma .awp-ma-empty-icon svg {
	width: var(--awp-ma-empty-icon);
	height: var(--awp-ma-empty-icon);
	fill: currentColor;
}

.awp-ma .awp-ma-empty-title {
	margin: 0 0 6px;
}

.awp-ma .awp-ma-empty-text > :last-child {
	margin-bottom: 0;
}

.awp-ma .awp-ma-empty-row {
	margin: 16px 0 0;
}
