/* 5th Axis — WooCommerce My Account (skins the native [woocommerce_my_account] output) */


/*
 * Defined on :root rather than a wrapper class — WooCommerce's own default
 * template wraps this content in `.woocommerce-account`, but Elementor
 * Pro's native My Account widget uses a plain `.woocommerce` wrapper
 * instead, so anything scoped to `.woocommerce-account` silently never
 * matches on this site.
 */
:root {
	--axis5th-wc-accent: #DD2828;
	--axis5th-wc-nav-bg: #ffffff;
	--axis5th-wc-nav-border: #e5e5e5;
	--axis5th-wc-nav-text: #4a4a4a;
	--axis5th-wc-nav-active-text: #ffffff;
	--axis5th-wc-card-bg: #ffffff;
}

/*
 * Layout: the heading, nav, and content are plain siblings in the markup
 * (WooCommerce/Elementor don't wrap them for this), but the target design
 * needs the sidebar to span full height flush at the top while the heading
 * sits only above the content column — not achievable by stacking three
 * siblings, so this turns their shared parent into a 2-column/2-row grid
 * and places each by name regardless of source order. Scoped to
 * `.e-my-account-tab .woocommerce` (Elementor Pro's own My Account widget
 * wrapper) rather than the bare `.woocommerce` class, since that class
 * alone is reused on every WooCommerce page (cart, checkout, products) and
 * grid-ifying it globally would break all of those. The `:has()` rule is a
 * belt-and-suspenders duplicate for robustness if that wrapper ever changes.
 */


.e-my-account-tab .woocommerce,
.woocommerce:has( > .woocommerce-MyAccount-navigation ) {
	display: grid !important;
	grid-template-columns: minmax( 220px, 300px ) 1fr !important;
	grid-template-rows: auto 1fr !important;
	grid-template-areas:
		"nav heading"
		"nav content" !important;
	column-gap: 2rem !important;
	background: #F4F4F5 !important;
	padding-right: 20px;
}

/* Stack sidebar under/above content from tablet down. Desktop (≥992px)
   keeps the 2-column grid above unchanged. Aligns with Elementor Pro’s
   own my-account widget breakpoint (max-width: 991px). */
@media ( max-width: 991px ) {
	.e-my-account-tab .woocommerce,
	.woocommerce:has( > .woocommerce-MyAccount-navigation ) {
		display: block !important;
		padding-right: 16px !important;
		padding-left: 16px !important;
	}
}

.axis5th-wc-account-heading {
	grid-area: heading !important;
	/* Top margin here (not on the grid container) so the heading gets
	   breathing room from the top of the page while the sidebar nav —
	   a separate grid area spanning both rows — still starts flush at
	   the very top, matching the reference design. */
	margin: 1.75rem 0 1.5rem;
	font-size: 48px !important;
	font-weight: 700 !important;
	color: #18181B;
	text-transform: uppercase;
	margin-top: 60px;
}

.axis5th-wc-account-heading span {
	color: var( --axis5th-wc-accent );
}

.woocommerce-MyAccount-content {
	grid-area: content !important;
	/* Overrides Elementor's own default percentage-based width/float for
	   this element — inside our grid, that computes against the grid
	   track's own (smaller) width instead of the old full-page width,
	   squeezing the column. Grid already sizes this via grid-area. */
	width: 100% !important;
	float: none !important;
	/* Elementor also sets padding-inline-start: 6% here, which pushes the
	   dashboard card rightward while the heading (a separate grid item, not
	   inside this padded wrapper) stays flush at the column's left edge —
	   that offset was the actual cause of the heading/card misalignment,
	   not a grid placement failure. */
	padding: 0 !important;
	padding-right: 26px !important;
	margin-bottom: 40px;
}

/* Sidebar nav */

.woocommerce-MyAccount-navigation {
	grid-area: nav !important;
	/* Same override as .woocommerce-MyAccount-content above. */
	width: 100% !important;
	float: none !important;
    padding: 60px 0;
    background-color: #fff;
}

.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}


.woocommerce-MyAccount-navigation-link a {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 16px 32px !important;
	color: var(--e-global-color-text) !important;
	text-decoration: none;
	font-size: 14px !important;
	font-weight: 600 !important;
	transition: background 0.2s ease, color 0.2s ease;
	background: transparent !important;
}

.woocommerce-MyAccount-navigation-link a::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	margin-bottom: -4px;
    margin-right: 16px;
}

.woocommerce-MyAccount-navigation-link:hover a,
.woocommerce-MyAccount-navigation-link.is-active a {
	/* !important: Elementor Pro's own default My Account widget styling
	   applies to the same elements at equal specificity and loads after
	   ours, so without this the active/hover state silently falls back to
	   its gray background + blue text instead of our red/white. */
	background: var( --axis5th-wc-accent ) !important;
	color: var( --axis5th-wc-nav-active-text ) !important;
	border-left: 4px solid #600B0B !important;
}

.woocommerce-MyAccount-navigation-link--customer-logout a {
	color: var( --axis5th-wc-accent );
}

.woocommerce-MyAccount-navigation-link--customer-logout:hover a {
    background: transparent !important;
    color: var(--axis5th-wc-accent) !important;
    opacity: 0.8;
}

/* Icons — one per standard WooCommerce endpoint. Plain background-image
   (not mask-image) with the color baked directly into each SVG: a gray
   version for the default state, a white version swapped in on hover/active
   via a second rule. This is the most broadly compatible technique —
   nothing depends on mask-image support or on any optimizer plugin leaving
   vendor-prefixed mask properties untouched. */

.woocommerce-MyAccount-navigation-link--dashboard a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234a4a4a'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3C/svg%3E" );
}
.woocommerce-MyAccount-navigation-link--dashboard:hover a::before,
.woocommerce-MyAccount-navigation-link--dashboard.is-active a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3C/svg%3E" );
}

.woocommerce-MyAccount-navigation-link--orders a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4a4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E" );
}
.woocommerce-MyAccount-navigation-link--orders:hover a::before,
.woocommerce-MyAccount-navigation-link--orders.is-active a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E" );
}

.woocommerce-MyAccount-navigation-link--downloads a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4a4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E" );
}
.woocommerce-MyAccount-navigation-link--downloads:hover a::before,
.woocommerce-MyAccount-navigation-link--downloads.is-active a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E" );
}

.woocommerce-MyAccount-navigation-link--edit-address a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4a4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E" );
}
.woocommerce-MyAccount-navigation-link--edit-address:hover a::before,
.woocommerce-MyAccount-navigation-link--edit-address.is-active a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E" );
}

.woocommerce-MyAccount-navigation-link--payment-methods a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4a4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2'/%3E%3Cline x1='1' y1='10' x2='23' y2='10'/%3E%3C/svg%3E" );
}
.woocommerce-MyAccount-navigation-link--payment-methods:hover a::before,
.woocommerce-MyAccount-navigation-link--payment-methods.is-active a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2'/%3E%3Cline x1='1' y1='10' x2='23' y2='10'/%3E%3C/svg%3E" );
}

.woocommerce-MyAccount-navigation-link--edit-account a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4a4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E" );
}
.woocommerce-MyAccount-navigation-link--edit-account:hover a::before,
.woocommerce-MyAccount-navigation-link--edit-account.is-active a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E" );
}

.woocommerce-MyAccount-navigation-link--customer-logout a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DD2828' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E" );
}

.woocommerce-MyAccount-navigation-link--quotes a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4a4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cline x1='10' y1='9' x2='8' y2='9'/%3E%3C/svg%3E" );
}
.woocommerce-MyAccount-navigation-link--quotes:hover a::before,
.woocommerce-MyAccount-navigation-link--quotes.is-active a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cline x1='10' y1='9' x2='8' y2='9'/%3E%3C/svg%3E" );
}

.woocommerce-MyAccount-navigation-link--company-users a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4a4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E" );
}
.woocommerce-MyAccount-navigation-link--company-users:hover a::before,
.woocommerce-MyAccount-navigation-link--company-users.is-active a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E" );
}

/* B2BKing's own My Account tabs (Purchase lists, Bulk order, Conversations, Offers) — same icon style as above. */
.woocommerce-MyAccount-navigation-link--purchase-lists a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4a4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E" );
}
.woocommerce-MyAccount-navigation-link--purchase-lists:hover a::before,
.woocommerce-MyAccount-navigation-link--purchase-lists.is-active a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E" );
}

.woocommerce-MyAccount-navigation-link--bulkorder a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4a4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3C/svg%3E" );
}
.woocommerce-MyAccount-navigation-link--bulkorder:hover a::before,
.woocommerce-MyAccount-navigation-link--bulkorder.is-active a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3C/svg%3E" );
}

.woocommerce-MyAccount-navigation-link--conversations a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4a4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E" );
}
.woocommerce-MyAccount-navigation-link--conversations:hover a::before,
.woocommerce-MyAccount-navigation-link--conversations.is-active a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E" );
}

.woocommerce-MyAccount-navigation-link--offers a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4a4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E" );
}
.woocommerce-MyAccount-navigation-link--offers:hover a::before,
.woocommerce-MyAccount-navigation-link--offers.is-active a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E" );
}

/* Tooling Certificates (the gift-cards endpoint): a machine tool, not a gift box. */
.woocommerce-MyAccount-navigation-link--gift-cards a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4a4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='2' y1='21' x2='22' y2='21'/%3E%3Cpath d='M15 21V3h5v18'/%3E%3Cpath d='M15 5H7v5h8'/%3E%3Cline x1='11' y1='10' x2='11' y2='14'/%3E%3Cpath d='M5 21v-4h10'/%3E%3C/svg%3E" );
}
.woocommerce-MyAccount-navigation-link--gift-cards:hover a::before,
.woocommerce-MyAccount-navigation-link--gift-cards.is-active a::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='2' y1='21' x2='22' y2='21'/%3E%3Cpath d='M15 21V3h5v18'/%3E%3Cpath d='M15 5H7v5h8'/%3E%3Cline x1='11' y1='10' x2='11' y2='14'/%3E%3Cpath d='M5 21v-4h10'/%3E%3C/svg%3E" );
}

/* Dashboard greeting card */
.woocommerce-MyAccount-content-wrapper{
	padding: 0 !important;
}

.axis5th-wc-dashboard-card,
.ywraq-view-quote-wrapper {
	background: var( --axis5th-wc-card-bg );
	border-left: 4px solid var( --axis5th-wc-accent );
	padding: 1.5rem 1.75rem;
}


.axis5th-wc-dashboard-greeting {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0 0 1rem;
	font-weight: 700;
	color: #18181B;
}

.axis5th-wc-dashboard-greeting__logout {
	font-weight: 400;
	font-size: 0.85rem;
	color: #9a9a9a;
}

.axis5th-wc-dashboard-greeting__logout a {
	color: var( --axis5th-wc-accent ) !important;
	font-weight: 600;
	text-decoration: underline;
}

.axis5th-wc-dashboard-body {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.6;
	color: #4a4a4a;
}

.axis5th-wc-dashboard-body a {
	color: var( --axis5th-wc-accent ) !important;
	text-decoration: underline;
}

/* Account Details tab (woocommerce/myaccount/form-edit-account.php override) */

.axis5th-wc-edit-account {
	/* This reuses the Login/Signup widgets' .axis5th-login__* classes
	   (field, input, btn--primary, etc.) for consistency, but those classes
	   read CSS variables that only exist inside a `.axis5th-login` wrapper
	   (see axis5th-myaccount.css) — a wrapper this page doesn't have.
	   Redefining the same variable names here (rather than adding the
	   `.axis5th-login` class itself, which also carries its own max-width/
	   background/border/padding that would conflict with the two-section
	   layout below) fixes the button, input borders/focus, label color, and
	   the required-field asterisk all at once. */
	--axis5th-login-label-color: #18181B;
	--axis5th-login-text-color: #6c6c6c;
	--axis5th-login-input-border: #cccccc;
	--axis5th-login-input-focus: #DD2828;
	--axis5th-login-btn-bg: #DD2828;
	--axis5th-login-btn-color: #ffffff;
	--axis5th-login-accent: #DD2828;
	--axis5th-login-signup-color: #DD2828;

	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.axis5th-wc-edit-account__section {
	border: 1px solid #e5e5e5;
	padding: 1.5rem 1.75rem;
	margin-bottom: 20px;
}

.axis5th-wc-edit-account__section-title {
	margin: 0 0 1.5rem;
	font-size: 1.1rem;
	font-weight: 700;
	color: #18181B;
	text-transform: uppercase;
}

/* Company / Company Administrator: shown for information, not editable. */
.axis5th-wc-edit-account .axis5th-login__input[readonly] {
	background: #f5f5f5;
	color: #4a4a4a;
	cursor: default;
}

.axis5th-wc-edit-account .axis5th-login__input[readonly]:focus {
	border-color: #d1d1d1;
	box-shadow: none;
}

.axis5th-wc-edit-account__hint {
	margin: 0.35rem 0 0;
	font-size: 0.75rem;
	font-style: italic;
	color: #9a9a9a;
}

/* My Addresses tab (woocommerce/myaccount/my-address.php override) */

.axis5th-wc-address-book__intro {
	margin: 0 0 1.5rem;
	font-size: 0.85rem;
	color: #6c6c6c;
}

.axis5th-wc-address-book__add-btn,
.ywraq-pdf-file {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.5rem 0.9rem !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    background: #DD2828 !important;
    color: #ffffff !important;
    border: 1px solid #DD2828 !important;
    text-decoration: none;
    white-space: nowrap;
}

.axis5th-wc-address-book__add-btn:hover {
	opacity: 0.85;
}

/* Never underline the "+ Add" buttons. The base theme's reset underlines
   every link (`a, a:visited`), which won on pages not rendered through
   Elementor and on hover/focus. */
.axis5th-wc-address-book__add-btn,
.axis5th-wc-address-book__add-btn:hover,
.axis5th-wc-address-book__add-btn:focus,
.axis5th-wc-address-book__add-btn:visited,
.axis5th-wc-address-book__add-btn span {
	text-decoration: none !important;
}

.axis5th-wc-address-book__columns {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

.axis5th-wc-address-book__columns--2 {
	grid-template-columns: 1fr 1fr;
}

.axis5th-wc-address-book__column-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.axis5th-wc-address-book__column-title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: #18181B;
}

.axis5th-wc-address-book__empty {
	font-size: 0.85rem;
	color: #9a9a9a;
	font-style: italic;
}

.axis5th-wc-address-book__card {
	position: relative;
	border: 1px solid #e5e5e5;
	padding: 1.1rem 1.25rem 0.85rem;
	margin-bottom: 1.25rem;
}

.axis5th-wc-address-book__card--default {
	border-color: var( --axis5th-wc-accent, #DD2828 );
}

.axis5th-wc-address-book__card-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}

.axis5th-wc-address-book__card-label {
	font-size: 0.95rem;
	color: #18181B;
}

.axis5th-wc-address-book__badge {
	flex: 0 0 auto;
	padding: 0.2rem 0.55rem;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: #18181B;
	color: #ffffff;
}

.axis5th-wc-address-book__card-address {
	font-style: normal;
	font-size: 0.85rem;
	line-height: 1.6;
	color: #6c6c6c;
}

.axis5th-wc-address-book__card-actions {
	display: flex;
	gap: 0.6rem;
	margin-top: 0.85rem;
	padding-top: 0.75rem;
	border-top: 1px solid #ececec;
}

.axis5th-wc-address-book__action-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.75rem;
	font-size: 0.78rem;
	font-weight: 500;
	color: #18181B !important;
	text-decoration: none;
	border: 1px solid transparent;
	background: transparent;
}

.axis5th-wc-address-book__action-btn::before {
	content: "";
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.axis5th-wc-address-book__action-btn--edit {
	background: #ffffff;
	border-color: #cccccc;
}

.axis5th-wc-address-book__action-btn--edit::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318181B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z'/%3E%3C/svg%3E" );
}

.axis5th-wc-address-book__action-btn--delete,
.axis5th-wc-address-book__action-btn--default {
	background: #f0f0f0;
	border-color: #f0f0f0;
}

.axis5th-wc-address-book__action-btn--delete::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318181B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3Cpath d='M9 6V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2'/%3E%3C/svg%3E" );
}

.axis5th-wc-address-book__action-btn--default::before {
	display: none;
}

.axis5th-wc-address-book__action-btn:hover {
	opacity: 0.8;
}

.axis5th-wc-address-book__action-btn--disabled {
	padding-left: 0;
	color: #cccccc;
	cursor: default;
}

.axis5th-wc-address-book__action-btn--disabled::before {
	display: none;
}

.axis5th-wc-address-book__action-btn--disabled:hover {
	opacity: 1;
}

@media ( max-width: 767px ) {
	.axis5th-wc-address-book__columns--2 {
		grid-template-columns: 1fr;
	}
}

/* My Orders tab (woocommerce/myaccount/orders.php override) */

.axis5th-wc-orders__section {
	margin-bottom: 2rem;
}

.axis5th-wc-orders__section:last-child {
	margin-bottom: 0;
}

.axis5th-wc-orders__section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.axis5th-wc-orders__section-title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: #18181B;
}



.axis5th-wc-orders__empty {
	font-size: 0.85rem;
	color: #9a9a9a;
	font-style: italic;
}

.axis5th-wc-orders__card {
	border: 1px solid #e5e5e5;
	padding: 1.1rem 1.25rem;
	margin-bottom: 1rem;
}

.axis5th-wc-orders__card:last-child {
	margin-bottom: 0;
}

.axis5th-wc-orders__card-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 0.85rem;
	margin-bottom: 0.85rem;
	border-bottom: 1px solid #ececec;
}

.axis5th-wc-orders__order-number {
	display: block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #9a9a9a;
	margin-bottom: 0.2rem;
}

.axis5th-wc-orders__product-name {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: #18181B;
}

.axis5th-wc-orders__status {
	flex: 0 0 auto;
	padding: 0.25rem 0.65rem;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: #f0f0f0;
	color: #4a4a4a;
	white-space: nowrap;
}

.axis5th-wc-orders__status--completed {
	background: #18181B;
	color: #ffffff;
}

.axis5th-wc-orders__status--cancelled,
.axis5th-wc-orders__status--failed,
.axis5th-wc-orders__status--refunded {
	background: transparent;
	color: var( --axis5th-wc-accent, #DD2828 );
	border: 1px solid var( --axis5th-wc-accent, #DD2828 );
}

.axis5th-wc-orders__card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.axis5th-wc-orders__date {
	font-size: 0.8rem;
	color: #9a9a9a;
}

.axis5th-wc-orders__actions {
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
}

.axis5th-wc-orders__action-btn {
	padding: 0.45rem 0.85rem;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	background: #f0f0f0;
	color: #18181B !important;
	border: 1px solid #f0f0f0;
}

.axis5th-wc-orders__action-btn:hover {
	opacity: 0.8;
}

.axis5th-wc-orders__action-btn--view {
	background: transparent;
	border-color: var( --axis5th-wc-accent, #DD2828 );
	color: var( --axis5th-wc-accent ) !important;
}

.axis5th-wc-orders__action-btn--pay {
	background: var( --axis5th-wc-accent, #DD2828 );
	border-color: var( --axis5th-wc-accent, #DD2828 );
	color: #ffffff !important;
}

@media ( max-width: 599px ) {
	.axis5th-wc-orders__card-header,
	.axis5th-wc-orders__card-footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.axis5th-wc-orders__section-header {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* My Gift Cards tab (woocommerce/myaccount/my-giftcards.php override) */

.axis5th-wc-giftcards__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.axis5th-wc-giftcards__title {
	margin: 0;
	font-size: 24px !important;
	font-weight: 700 !important;
	color: #18181B;
}

.axis5th-wc-giftcards__add-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.55rem 1rem;
	font-size: 0.8rem;
	font-weight: 600;
	background: #DD2828;
	color: #ffffff;
	border: 1px solid #DD2828;
	cursor: pointer;
	white-space: nowrap;
}

.axis5th-wc-giftcards__add-btn:hover {
	opacity: 0.85;
}

.axis5th-wc-giftcards__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.9rem;
	padding: 2.5rem 1rem 3rem;
	font-size: 0.85rem;
	color: #9a9a9a;
	text-align: center;
}

.axis5th-wc-giftcards__empty .axis5th-tc-icon--large {
	display: block;
	width: 96px;
	height: auto;
	color: #333333;
}

.axis5th-wc-giftcards__empty-text {
	margin: 0;
}

.axis5th-wc-giftcards__card {
	display: flex;
	align-items: center;
	gap: 1rem;
	border: 1px solid #e5e5e5;
	padding: 1.1rem 1.25rem;
	margin-bottom: 1rem;
}

.axis5th-wc-giftcards__card:last-of-type {
	margin-bottom: 0;
}

.axis5th-wc-giftcards__card--expired {
	opacity: 0.6;
}

.axis5th-wc-giftcards__icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: #f5f5f5;
	color: var( --axis5th-wc-accent, #DD2828 );
}

.axis5th-wc-giftcards__body {
	flex: 1 1 auto;
	min-width: 0;
}

.axis5th-wc-giftcards__label {
	margin: 0 0 0.35rem !important;
	font-size: 20px !important;
	font-weight: 500 !important;
	color: #18181B;
}

.axis5th-wc-giftcards__code-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.82rem;
	color: #6c6c6c;
}

.axis5th-wc-giftcards__code {
	font-family: monospace;
	color: #18181B;
}

.axis5th-wc-giftcards__icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: none;
	border: none;
	color: #9a9a9a;
	cursor: pointer;
}

.axis5th-wc-giftcards__icon-btn:hover {
	color: #18181B;
}

.axis5th-wc-giftcards__eye-icon--closed {
	display: none;
}

.axis5th-wc-giftcards__icon-btn.is-revealed .axis5th-wc-giftcards__eye-icon--open {
	display: none;
}

.axis5th-wc-giftcards__icon-btn.is-revealed .axis5th-wc-giftcards__eye-icon--closed {
	display: inline-flex;
}

.axis5th-wc-giftcards__copy-btn {
	position: relative;
}

.axis5th-wc-giftcards__copy-tooltip {
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: 6px;
	padding: 0.25rem 0.5rem;
	font-size: 0.65rem;
	font-weight: 600;
	white-space: nowrap;
	background: #18181B;
	color: #ffffff;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.axis5th-wc-giftcards__copy-tooltip.is-visible {
	opacity: 1;
}

.axis5th-wc-giftcards__expiry {
	margin: 0.35rem 0 0;
	font-size: 0.75rem;
	color: #9a9a9a;
}

.axis5th-wc-giftcards__balance {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.35rem;
	text-align: right;
}

.axis5th-wc-giftcards__balance-amount {
	font-size: 1.15rem;
	font-weight: 700;
	color: #18181B;
}

.axis5th-wc-giftcards__balance-label {
	font-size: 14px;
	font-weight: 400 !important;
	text-transform: uppercase;
	color: #9a9a9a;
}

.axis5th-wc-giftcards__apply-btn {
	font-size: 0.75rem;
	font-weight: 600;
	color: var( --axis5th-wc-accent, #DD2828 ) !important;
	text-decoration: underline;
}

.axis5th-wc-giftcards__note {
	margin: 1.5rem 0 0;
	padding: 0.85rem 1rem;
	border-left: 3px solid var( --axis5th-wc-accent, #DD2828 );
	background: #f7f7f7;
	font-size: 0.78rem;
	font-style: italic;
	color: #6c6c6c;
}

@media ( max-width: 599px ) {
	.axis5th-wc-giftcards__card {
		flex-direction: column;
		align-items: flex-start;
	}

	.axis5th-wc-giftcards__balance {
		align-items: flex-start;
		text-align: left;
	}
}

/* My Payment Methods tab (woocommerce/myaccount/payment-methods.php override) */

.axis5th-wc-payment-methods__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.axis5th-wc-payment-methods__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: #18181B;
}

.axis5th-wc-payment-methods__add-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.55rem 1rem;
	font-size: 0.8rem;
	font-weight: 600;
	background: #DD2828;
	color: #ffffff !important;
	border: 1px solid #DD2828;
	text-decoration: none;
	white-space: nowrap;
}

.axis5th-wc-payment-methods__add-btn:hover {
	opacity: 0.85;
}

.axis5th-wc-payment-methods__empty {
	font-size: 0.85rem;
	color: #9a9a9a;
	font-style: italic;
}

/*
 * The outer grid is a plain <div> (no browser quirks). Each card is its own
 * small real <table>/<tr> (see the long comment at the top of
 * payment-methods.php for why — the gateway's nickname Edit/Save JS walks
 * up to the closest real <tr> to find hidden fields, so a div-based card
 * has nothing for it to find). table/tbody are forced to plain block
 * display so the browser's table layout algorithm never kicks in; the
 * single <tr> inside becomes a CSS grid — a plain, reliable display-type
 * change (unlike `display: contents` on table parts, which turned out to
 * be unreliable across browsers when tried here previously).
 *
 * Every real WooCommerce column (method/expires/default/actions, plus
 * whatever else this columns filter adds) is rendered via PHP exactly
 * where WooCommerce core's own template would put it — do_action() is
 * never captured/moved in PHP (an earlier attempt at that silently broke
 * Edit/Save). All repositioning below is pure CSS grid-column/grid-row
 * placement on those real <td> elements. "details"/"title" are simply
 * hidden with display:none — redundant with the custom title cell added
 * here, but still fully rendered (so their do_action() always fires
 * normally) rather than skipped in PHP.
 */

.axis5th-wc-payment-methods__grid {
	display: grid;
	grid-template-columns: repeat( 2, 1fr );
	gap: 1.25rem;
}

@media ( max-width: 767px ) {
	.axis5th-wc-payment-methods__grid {
		grid-template-columns: 1fr;
	}
}

.axis5th-wc-payment-methods__card,
.axis5th-wc-payment-methods__card tbody {
	display: block;
	width: 100%;
	border-collapse: collapse;
}

.axis5th-wc-payment-methods__card {
	border: 1px solid #e5e5e5;
}

.axis5th-wc-payment-methods__card--default {
	border-color: var( --axis5th-wc-accent, #DD2828 );
}

.axis5th-wc-payment-methods__card tr.payment-method {
	display: grid;
	grid-template-columns: auto auto 1fr;
	column-gap: 0.5rem;
	padding: 1.1rem 1.25rem;
}

.axis5th-wc-payment-methods__card td {
	display: block;
	padding: 0 !important;
	border: none !important;
}

.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--details,
.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--title {
	display: none !important;
}

.axis5th-wc-payment-methods__cell-title {
	grid-column: 1 / 3;
	grid-row: 1;
	display: flex !important;
	align-items: center !important;
	gap: 0.75rem;
	padding-bottom: 0.85rem;
	margin-bottom: 0.85rem;
	border-bottom: 1px solid #ececec;
}

.axis5th-wc-payment-methods__icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: #f5f5f5;
	color: #4a4a4a;
}

.axis5th-wc-payment-methods__name {
	margin: 0 !important;
	font-size: 20px;
	font-weight: 500;
	color: #18181B;
}

.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--default {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
	align-self: start;
}

.axis5th-wc-payment-methods__card mark.default {
	display: inline-block;
	padding: 4px 25px;
	font-size: 0.65rem;
	font-weight: 600 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: #18181B !important;
	color: #ffffff !important;
}

/* !important on the text properties throughout this section — the same
   recurring fight as everywhere else on this site: WooCommerce/Elementor's
   own default link/table-cell styling (blue text, no letter-spacing) wins
   at equal-or-competing specificity without it. */
.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--expires {
	grid-column: 1 !important;
	grid-row: 2 !important;
	font-size: 0.72rem !important;
	letter-spacing: 0.03em !important;
	text-transform: uppercase !important;
	color: #9a9a9a !important;
}

/* The nickname view/edit toggle is the gateway's own real markup — its
   Edit/Save JS depends on the exact .view/.edit/input/token-id structure,
   so only display/spacing changes here, nothing structural. */
.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--method {
	grid-column: 2 / 4 !important;
	grid-row: 2 !important;
	font-size: 0.72rem !important;
	letter-spacing: 0.03em !important;
	color: #9a9a9a !important;
}

.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--method::before {
	content: "\2022";
	margin-right: 0.35rem;
	color: #cccccc;
}

/* Only .view gets a display change, and deliberately WITHOUT !important:
   the gateway's own inline `style="display:none"` on .edit (and its JS,
   which toggles that same inline style when Edit/Save is clicked) must
   keep full control of which one is actually visible. A prior version of
   this rule used !important on both, which beat that inline style and
   forced the nickname input to stay permanently visible — breaking the
   Edit toggle and showing the nickname twice. */
.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--method .view {
	display: inline;
	color: inherit;
}

.axis5th-wc-payment-methods__card input.nickname {
	width: auto;
	max-width: 140px;
	padding: 0.3rem 0.5rem;
	font-size: 0.72rem;
	text-transform: none;
	letter-spacing: normal;
	background: #F1F0F5;
	border: 1px solid #F1F0F5;
	box-sizing: border-box;
}

.axis5th-wc-payment-methods__card input.nickname:focus {
	border-color: #DD2828;
	outline: none;
	background: #ffffff;
}

.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--actions {
	grid-column: 1 / 4 !important;
	grid-row: 3 !important;
	display: flex !important;
	gap: 0.6rem;
	flex-wrap: wrap;
	margin-top: 0.85rem;
	padding-top: 0.85rem !important;
	border-top: 1px solid #ececec !important;
}

/* !important throughout this rule: same recurring fight hit on every other
   tab — Elementor Pro's own default styling applies plain link styling
   (blue, no background/border) to these anchors at equal-or-competing
   specificity and wins on load order without it. */
.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--actions a.button {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.45rem 0.85rem !important;
	font-size: 0.78rem !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	white-space: nowrap;
	background: #f0f0f0 !important;
	color: #18181B !important;
	border: 1px solid #f0f0f0 !important;
}

.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--actions a.button::before {
	content: "";
	width: 13px;
	height: 13px;
	flex: 0 0 auto;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--actions a.button.edit::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318181B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z'/%3E%3C/svg%3E" ) !important;
}

.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--actions a.button.delete::before {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318181B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3Cpath d='M9 6V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2'/%3E%3C/svg%3E" ) !important;
}

.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--actions a.button.default::before,
.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--actions a.button.save::before {
	display: none !important;
}

.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--actions a.button:hover {
	opacity: 0.8;
}

@media ( max-width: 767px ) {
	/* Single-column stack. Must reset every desktop grid-column span
	   (1 / 3, 2 / 4, 1 / 4) — otherwise implicit tracks are created and
	   title/expires/method cells paint on top of each other. */
	.axis5th-wc-payment-methods__card tr.payment-method {
		display: grid !important;
		grid-template-columns: minmax( 0, 1fr ) !important;
		grid-template-rows: auto !important;
		row-gap: 0.65rem;
		column-gap: 0;
		padding: 1rem 1.1rem;
	}

	.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--default,
	.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--expires,
	.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--method,
	.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--actions,
	.axis5th-wc-payment-methods__cell-title {
		grid-column: 1 / 2 !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--default {
		grid-row: 1 !important;
		justify-self: start !important;
		margin: 0 !important;
	}

	.axis5th-wc-payment-methods__cell-title {
		grid-row: 2 !important;
		flex-wrap: wrap;
		padding-bottom: 0.75rem !important;
		margin-bottom: 0 !important;
		border-bottom: 1px solid #ececec;
	}

	.axis5th-wc-payment-methods__name {
		font-size: 1rem !important;
		font-weight: 600 !important;
		line-height: 1.3 !important;
		word-break: break-word;
	}

	.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--expires {
		grid-row: 3 !important;
		margin: 0 !important;
	}

	.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--method {
		grid-row: 4 !important;
		margin: 0 !important;
	}

	.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--method::before {
		display: none;
	}

	.axis5th-wc-payment-methods__card td.woocommerce-PaymentMethod--actions {
		grid-row: 5 !important;
		margin-top: 0.25rem !important;
		padding-top: 0.75rem !important;
	}

	/* WooCommerce smallscreen.css injects data-title labels via ::before on
	   account tables — hide those on our custom card grid. */
	.axis5th-wc-payment-methods__card td::before {
		content: none !important;
		display: none !important;
	}

	.axis5th-wc-payment-methods__card mark.default {
		padding: 4px 12px;
	}
}

/* My Quotes tab (woocommerce/myaccount/my-quotes.php override) */

.axis5th-wc-quotes__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.axis5th-wc-quotes__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: #18181B;
}

/* Holds the two header buttons together so they stay paired at the right of
   the row rather than being pushed apart by the header's space-between. */
.axis5th-wc-quotes__actions {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-wrap: wrap;
}

.axis5th-wc-quotes__request-btn,
.axis5th-wc-orders__browse-btn,
.axis5th-wc-quotes__history-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.55rem 1rem;
	font-size: 14px !important;
	font-weight: 500 !important;
	background: #DD2828;
	color: #FAFAFA !important;
	border: 1px solid #DD2828;
	text-decoration: none;
	white-space: nowrap;
}

/* Secondary of the pair — the primary action in this header is requesting a
   new quote, so history is the quiet one. */
.axis5th-wc-quotes__history-btn {
	background: #FFFFFF;
	border-color: #E5E5E5;
	color: #18181B !important;
}

.axis5th-wc-quotes__history-btn:hover {
	background: #F4F4F5;
	border-color: #D4D4D8;
	color: #18181B !important;
	opacity: 1;
}

.axis5th-wc-quotes__request-btn:hover,
.axis5th-wc-orders__browse-btn:hover {
	opacity: 0.85;
}

.axis5th-wc-quotes__empty {
	font-size: 0.85rem;
	color: #9a9a9a;
	font-style: italic;
}

/* ── Order details & shipment tracking ───────────────────────────────────
   /my-account/view-order/{id}/ and its ?view=tracking variant. The heading
   row comes from axis5th_sm_order_heading(); the cards from
   woocommerce/myaccount/view-order.php. */

.axis5th-order-head {
	grid-area: heading !important;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	padding: 40px 0;
}

/* min-width:0 is what keeps the buttons on the same row: without it the
   heading refuses to shrink below the width of "ORDER #101663 DETAILS." on
   one line, which consumed the row and pushed the actions underneath. Allowed
   to shrink, the title wraps to two lines the way the design has it. */
.axis5th-order-head__main {
	flex: 1 1 320px;
	min-width: 0;
}

.axis5th-order-head .axis5th-acct-actions {
	flex: 0 0 auto;
}

.axis5th-order-head__invoice {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0 0 0.35rem;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6C6C6C;
}

.axis5th-order-head__date {
	margin: 0.5rem 0 0;
	font-size: 15px;
	color: #6C6C6C;
}

.axis5th-order-head .axis5th-wc-account-heading {
	margin: 0 !important;
	grid-area: auto !important;
}

/* Copy buttons — invoice, tracking and transaction ids. The tick is drawn by
   swapping the icon's opacity rather than replacing markup, so the button
   doesn't change size mid-interaction. */
.axis5th-copy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 2px;
	background: none;
	border: 0;
	color: #6C6C6C;
	cursor: pointer;
	position: relative;
}

.axis5th-copy:hover {
	color: #DD2828;
}

.axis5th-copy.is-copied {
	color: #157347;
}

.axis5th-copy.is-copied::after {
	content: var( --axis5th-copied-label, "Copied" );
	position: absolute;
	left: 50%;
	bottom: calc( 100% + 4px );
	transform: translateX( -50% );
	padding: 2px 7px;
	background: #18181B;
	color: #FFFFFF;
	font-size: 11px;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
	pointer-events: none;
}

/* The account content wrapper already carries the red accent bar on this tab,
   and .axis5th-wc-dashboard-card adds one of its own — which is why two red
   bars appeared side by side. The design has a single bar down the outer
   panel with plainly-bordered cards inside it, so on these pages the cards
   drop the accent and take a hairline instead. Keyed off the page's own
   classes rather than Elementor's wrapper, so it holds however the account
   page is rendered. */
.axis5th-order-items,
.axis5th-shipstatus,
.axis5th-track,
.axis5th-track-specs,
.axis5th-order-grid > .axis5th-wc-dashboard-card {
	border: 1px solid #E5E5E5;
	margin-bottom: 1.25rem;
}

.axis5th-order-grid > .axis5th-wc-dashboard-card {
	margin-bottom: 0;
}

/* ── Ordered items ───────────────────────────────────────────────────── */

.axis5th-order-item {
	display: grid;
	grid-template-columns: 180px minmax( 0, 1fr );
	gap: 1.5rem;
	padding: 1.25rem 0;
	border-bottom: 1px solid #EFEFEF;
}

.axis5th-order-items .axis5th-order-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.axis5th-order-items .axis5th-order-item:first-child {
	padding-top: 0;
}

.axis5th-order-item__media {
	background: #F8F8F9;
	padding: 0.75rem;
}

.axis5th-order-item__media img {
	display: block;
	width: 100%;
	height: auto;
}

.axis5th-order-item__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

/* Flagged margin: this is a real <h2>, so the site's global heading spacing
   applies and was opening a large gap between the title and the SKU line. */
.axis5th-order-item__title {
	margin: 0 !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	text-transform: uppercase;
	color: #18181B;
}

.axis5th-order-item__sku {
	margin: 0.4rem 0 0;
	font-size: 14px;
	color: #6C6C6C;
}

.axis5th-order-item__qty {
	flex: 0 0 auto;
	padding: 0.25rem 0.6rem;
	background: #18181B;
	color: #FFFFFF;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.axis5th-order-item__excerpt {
	margin: 0.9rem 0 0;
	font-size: 14px;
	line-height: 1.55;
	color: #6C6C6C;
}

.axis5th-order-item__actions {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-wrap: wrap;
	margin-top: 1.1rem;
	border-top: 1px solid #E4E4E7;
	padding-top: 16px;
}
.axis5th-order-item__actions a:first-child{
	margin-right: auto;
}

/* ── Shipment status + progress ──────────────────────────────────────── */

.axis5th-shipstatus__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 2rem;
}

.axis5th-shipstatus__tracking,
.axis5th-track__tracking {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-wrap: wrap;
}

.axis5th-track__meta-label {
	font-size: 14px;
	color: #6C6C6C;
}

.axis5th-track__number {
	font-size: 15px;
	color: #DD2828;
	text-decoration: underline;
}

/* Four equal columns with the connector drawn between dots. */
.axis5th-progress {
	display: grid;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	margin: 0;
	padding: 0;
	list-style: none;
}

.axis5th-progress__step {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	text-align: center;
}

/* The line is drawn by each step except the first, reaching back to the one
   before — so it can be coloured per step without a separate element. */
.axis5th-progress__step:not( :first-child )::before {
	content: "";
	position: absolute;
	top: 21px;
	right: 50%;
	left: -50%;
	height: 2px;
	background: #E5E5E5;
}

.axis5th-progress__step.is-done::before,
.axis5th-progress__step.is-current::before {
	background: #DD2828;
}

/* Flex-centred so the tick SVG sits dead centre without being positioned. */
.axis5th-progress__dot {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #FFFFFF;
	border: 2px solid #E5E5E5;
}

/* The tick is tick-icon.svg, whose fill resolves to currentColor — so the
   colour set here is what paints it. */
.axis5th-progress__step.is-done .axis5th-progress__dot {
	background: #DD2828;
	border-color: #DD2828;
	color: #FFFFFF;
}

/* Capped rather than fixed, so each icon keeps its own aspect ratio: the tick
   is 14×11, the truck 19×14 and the delivered box 17×17. A fixed width would
   distort whichever shape it wasn't chosen for. */
.axis5th-progress__dot .axis5th-icon {
	width: auto;
	height: auto;
	max-width: 19px;
	max-height: 16px;
	flex: 0 0 auto;
}

/* Current step: white disc, red ring, red icon — the icon's own fill resolves
   to currentColor, so `color` is what paints it. */
.axis5th-progress__step.is-current .axis5th-progress__dot {
	border-color: #DD2828;
	background: #FFFFFF;
	color: #DD2828;
}

/* Still ahead — same icon, muted. */
.axis5th-progress__step.is-todo .axis5th-progress__dot {
	color: #9A9A9A;
}

.axis5th-progress__label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #18181B;
}

.axis5th-progress__step.is-current .axis5th-progress__label {
	color: #DD2828;
}

.axis5th-progress__step.is-todo .axis5th-progress__label {
	color: #9A9A9A;
}

.axis5th-progress__date {
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6C6C6C;
}

/* ── Address + payment ───────────────────────────────────────────────── */

.axis5th-order-grid {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 1.25rem;
}

.axis5th-order-address {
	font-size: 15px;
	line-height: 1.7;
	color: #3F3F46;
}

.axis5th-order-address address {
	font-style: normal;
	margin: 0;
}

.axis5th-order-address__phone {
	margin: 1rem 0 0;
	font-size: 14px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #18181B;
}

.axis5th-order-payment__card {
	display: flex;
	align-items: center;
	gap: 0.9rem;
}

/* Fixed-size plate so Visa, Amex and Mastercard logos — which have different
   aspect ratios — all sit in the same box and the text beside them stays on
   one baseline. */
.axis5th-order-payment__brand {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 38px;
	padding: 4px;
	background: #FFFFFF;
	border: 1px solid #E5E5E5;
}

.axis5th-order-payment__brand img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
}

.axis5th-order-payment__method {
	margin: 0 !important;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	color: #18181B;
}

.axis5th-order-payment__billing {
	margin: 0.3rem 0 0 !important;
	font-size: 13px;
	color: #6C6C6C;
}

.axis5th-order-payment__txn {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0.9rem 0 0;
	font-size: 13px;
	color: #6C6C6C;
}

.axis5th-order-payment__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.25rem;
	padding-top: 1.1rem;
	border-top: 1px solid #EFEFEF;
}

.axis5th-order-payment__total span {
	font-size: 14px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #6C6C6C;
}

.axis5th-order-payment__total strong {
	font-size: 20px;
	font-weight: 700;
	color: #18181B;
}

/* ── Activity log ────────────────────────────────────────────────────── */

.axis5th-track__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1.25rem;
}

.axis5th-track__title {
	margin: 0 !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #18181B;
	margin-bottom: 20px !important;
}

.axis5th-track__meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.axis5th-track__pill {
	padding: 0.25rem 0.7rem;
	background: #DD2828;
	color: #FFFFFF;
	font-size: 12px;
	font-weight: 600;
	border-radius: 999px;
	white-space: nowrap;
}

.axis5th-track__tracking {
	margin-bottom: 1.75rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid #EFEFEF;
}

.axis5th-track__log {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Each event draws the spine below its own marker, so the line stops
   naturally at the last entry instead of running past it. */
.axis5th-track__event {
	position: relative;
	display: grid;
	grid-template-columns: 40px minmax( 0, 1fr ) auto;
	gap: 1rem;
	padding-bottom: 1.75rem;
}

.axis5th-track__event:last-child {
	padding-bottom: 0;
}

.axis5th-track__event:not( :last-child )::before {
	content: "";
	position: absolute;
	top: 40px;
	bottom: 0;
	left: 19px;
	width: 1px;
	background: #E5E5E5;
}

.axis5th-track__marker {
	width: 40px;
	height: 40px;
	background: #E5E5E5;
}

/* Only the most recent event is live; the rest are history. */
.axis5th-track__event.is-latest .axis5th-track__marker {
	background: #DD2828;
}

.axis5th-track__event-title {
	margin: 0 0 0.35rem;
	font-size: 15px !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #18181B;
}

.axis5th-track__event-text {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: #6C6C6C;
}

.axis5th-track__event-date {
	margin: 0;
	text-align: right;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #DD2828;
	white-space: nowrap;
}

.axis5th-track__event-date span {
	display: block;
}

.axis5th-track__event:not( .is-latest ) .axis5th-track__event-date {
	color: #9A9A9A;
}

/* ── Shipment specs ──────────────────────────────────────────────────── */

.axis5th-track-specs__list {
	margin: 1.25rem 0 0;
}

.axis5th-track-specs__list > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.7rem 0;
	border-bottom: 1px solid #F4F4F5;
}

.axis5th-track-specs__list > div:last-child {
	border-bottom: 0;
}

.axis5th-track-specs__list dt {
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #6C6C6C;
}

.axis5th-track-specs__list dd {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: #18181B;
}

@media ( max-width: 767px ) {
	.axis5th-order-item {
		grid-template-columns: minmax( 0, 1fr );
	}

	.axis5th-order-item__media {
		max-width: 200px;
	}

	.axis5th-order-grid {
		grid-template-columns: minmax( 0, 1fr );
	}

	/* Two rows of two rather than four cramped columns. */
	.axis5th-progress {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
		gap: 1.5rem 0;
	}

	.axis5th-progress__step::before {
		display: none;
	}

	.axis5th-track__event {
		grid-template-columns: 32px minmax( 0, 1fr );
	}

	.axis5th-track__event-date {
		grid-column: 2;
		text-align: left;
	}

	.axis5th-track__marker {
		width: 32px;
		height: 32px;
	}

	.axis5th-track__event:not( :last-child )::before {
		left: 15px;
		top: 32px;
	}
}

/* ── Share List menu ─────────────────────────────────────────────────────
   Anchored to its button, so the heading row keeps its own layout and the
   menu doesn't push anything around when it opens. */

.axis5th-share {
	position: relative;
	display: inline-flex;
}

.axis5th-share__menu {
	position: absolute;
	top: calc( 100% + 6px );
	right: 0;
	z-index: 20;
	min-width: 190px;
	padding: 0.35rem 0;
	background: #FFFFFF;
	border: 1px solid #E5E5E5;
	box-shadow: 0 8px 24px rgba( 0, 0, 0, 0.12 );
}

/* [hidden] alone loses to the display below, so it's restated here. */
.axis5th-share__menu[hidden] {
	display: none;
}

.axis5th-share__item {
	display: block;
	width: 100%;
	padding: 0.55rem 1rem;
	background: none;
	border: 0;
	font-size: 14px !important;
	font-weight: 500 !important;
	text-align: left;
	text-decoration: none !important;
	color: #18181B !important;
	cursor: pointer;
	white-space: nowrap;
}

.axis5th-share__item:hover {
	background: #F4F4F5;
	color: #DD2828 !important;
}

.axis5th-share__item--copy {
	border-top: 1px solid #EFEFEF;
	margin-top: 0.35rem;
	padding-top: 0.65rem;
}

/* ── Shared (public) wishlist page ───────────────────────────────────────
   /shared-list/{token}/ — rendered outside the account area for recipients
   who have no login. Cards come from the cart stylesheet, which that page
   enqueues; only the page shell lives here. */

.axis5th-shared-wl {
	padding: 3rem 1.25rem 4rem;
	background: #F4F4F5;
	/* Same palette the cards expect — see the note on .axis5th-wl-page. */
	--axis5th-cart-accent:      #DD2828;
	--axis5th-cart-ink:         #18181B;
	--axis5th-cart-muted:       #6C6C6C;
	--axis5th-cart-border:      #E5E5E5;
	--axis5th-cart-hairline:    #EFEFEF;
	--axis5th-cart-surface:     #FFFFFF;
	--axis5th-cart-surface-alt: #F4F4F5;
	--axis5th-cart-radius:      2px;
	--axis5th-cart-font-heading: var( --e-global-typography-primary-font-family ), sans-serif;
	--axis5th-cart-font-body:    var( --e-global-typography-57475c0-font-family ), sans-serif;
}

.axis5th-shared-wl__inner {
	max-width: 1000px;
	margin: 0 auto;
}

.axis5th-shared-wl__title {
	margin: 0 0 0.5rem;
	font-size: clamp( 32px, 5vw, 56px );
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
	color: #18181B;
}

.axis5th-shared-wl__title span {
	color: #DD2828;
}

.axis5th-shared-wl__intro {
	margin: 0 0 2rem;
	font-size: 16px;
	color: #6C6C6C;
}

.axis5th-shared-wl .axis5th-wishlist__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.axis5th-shared-wl__cta {
	margin: 2rem 0 0;
}

/* ── Wishlist page ────────────────────────────────────────────────────────
   /my-account/wishlist/. The cards themselves are the cart page's and are
   styled by assets/css/axis5th-cart.css, which this endpoint enqueues — only
   the page shell belongs here. */

.axis5th-wl-page .axis5th-wishlist__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* Pager — paginate_links( type => list ) output, so the selectors below are
   WordPress's own page-numbers classes rather than ones set here. */
.axis5th-pager {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid #EFEFEF;
	text-align: center;
}

.axis5th-pager .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.axis5th-pager li {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Applies to both the <a> links and the <span> for the current page and the
   ellipsis, so every cell is the same size and the row stays even. */
.axis5th-pager li > .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 0.7rem;
	background: #FFFFFF;
	border: 1px solid #E5E5E5;
	color: #18181B !important;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none !important;
}

.axis5th-pager li > a.page-numbers:hover {
	border-color: #DD2828;
	color: #DD2828 !important;
}

.axis5th-pager li > .page-numbers.current {
	background: #DD2828;
	border-color: #DD2828;
	color: #FFFFFF !important;
}

/* The ellipsis is not a control — it shouldn't look like one. */
.axis5th-pager li > .page-numbers.dots {
	background: none;
	border-color: transparent;
	color: #9A9A9A !important;
}

.axis5th-pager__count {
	margin: 0.9rem 0 0;
	font-size: 13px;
	color: #6C6C6C;
}

/* On a single-page list there are no controls above it, so the count doesn't
   need separating from them. */
.axis5th-pager--count-only .axis5th-pager__count {
	margin-top: 0;
}

/* The cart page nests its wishlist inside a section that sets these; standing
   alone, the cards need the variables declared on an ancestor of their own or
   every var() falls back to nothing. */
.axis5th-wl-page {
	--axis5th-cart-accent:      #DD2828;
	--axis5th-cart-ink:         #18181B;
	--axis5th-cart-muted:       #6C6C6C;
	--axis5th-cart-border:      #E5E5E5;
	--axis5th-cart-hairline:    #EFEFEF;
	--axis5th-cart-surface:     #FFFFFF;
	--axis5th-cart-surface-alt: #F4F4F5;
	--axis5th-cart-radius:      2px;
	--axis5th-cart-font-heading: var( --e-global-typography-primary-font-family ), sans-serif;
	--axis5th-cart-font-body:    var( --e-global-typography-57475c0-font-family ), sans-serif;
}

/* ── RFQ History ──────────────────────────────────────────────────────────
   The full quote record, at /my-account/quotes/?rfq-view=history. Rendered by
   axis5th_sm_render_rfq_history() in inc/sm-functions.php; it reuses the
   Quotes table classes and adds its own controls, status pills and row
   actions on top. */

/* The heading row swaps in on this view only (see
   axis5th_sm_rfq_history_swap_heading) so "Go Back" can sit beside the
   title — every other tab renders the bare <h1>. */
.axis5th-wc-account-heading-row {
	grid-area: heading !important;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.axis5th-wc-account-heading-row .axis5th-wc-account-heading {
	grid-area: auto !important;
}

.axis5th-acct-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.6rem 1.1rem;
	background: #FFFFFF;
	border: 1px solid #E5E5E5;
	color: #18181B !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	text-decoration: none;
	white-space: nowrap;
}

.axis5th-acct-btn:hover {
	background: #F4F4F5;
	border-color: #D4D4D8;
	color: #18181B !important;
}

/* The inline SVGs carry their own 16px width/height, but the icon helper's
   markup relies on this class for consistent sizing wherever it's reused. */
.axis5th-acct-btn .axis5th-icon,
.axis5th-wc-quotes__history-btn .axis5th-icon {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

/* Outline variant — a secondary action that still needs to read as active
   (View Technical Specs), as opposed to the quiet default. */
.axis5th-acct-btn--outline {
	border-color: #DD2828;
}

.axis5th-acct-btn--outline:hover {
	background: #DD2828;
	border-color: #DD2828;
	color: #FFFFFF !important;
}

/* Actions an order isn't eligible for stay visible but inert, matching the
   design's greyed-out buttons. */
.axis5th-acct-btn.is-disabled {
	opacity: 0.45;
	pointer-events: none;
}

/* Red variant for the one primary action in a heading row (Add all to Cart). */
.axis5th-acct-btn--primary {
	background: #DD2828;
	border-color: #DD2828;
	color: #FFFFFF !important;
}

.axis5th-acct-btn--primary:hover {
	background: #C11F1F;
	border-color: #C11F1F;
	color: #FFFFFF !important;
}

/* Heading rows can carry several buttons (Wishlist has three), so they get a
   flex group rather than sitting as loose siblings. */
.axis5th-acct-actions {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-wrap: wrap;
}

/* ── Controls row ──────────────────────────────────────────────────── */

.axis5th-listctl {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1.75rem;
}

/* Allowed to shrink well below its ideal width so the whole row keeps to one
   line in the account column, which is narrower than the full-width mockup. */
.axis5th-listctl__search {
	display: flex;
	align-items: center;
	flex: 1 1 220px;
	max-width: 380px;
	min-width: 0;
	position: relative;
}

.axis5th-listctl__search-icon {
	position: absolute;
	left: 0.85rem;
	color: #9A9A9A;
	pointer-events: none;
}

.axis5th-listctl__search-input {
	flex: 1 1 auto;
	min-width: 0 !important;
	height: 42px !important;
	/* Left padding clears the absolutely-positioned magnifier. */
	padding: 0 0.9rem 0 2.4rem !important;
	background: #FFFFFF !important;
	border: 1px solid #E5E5E5 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-size: 14px !important;
	color: #18181B !important;
}

.axis5th-listctl__search-input:focus {
	outline: none;
	border-color: #DD2828 !important;
}

.axis5th-listctl__search-btn {
	flex: 0 0 auto;
	height: 42px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 1.4rem !important;
	background: #DD2828 !important;
	border: 1px solid #DD2828 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #FFFFFF !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	cursor: pointer;
}

.axis5th-listctl__search-btn:hover {
	opacity: 0.88;
}

/* Sort and Category travel together at the right of the row; the search
   field takes the space to their left. nowrap keeps them on one line — the
   pair is narrow enough to fit, and letting them wrap independently is what
   put one above the other. */
.axis5th-listctl__filters {
	display: flex !important;
	align-items: center;
	gap: 0.75rem;
	flex: 0 1 auto;
	flex-wrap: nowrap;
}

/* The box is the <label>, not the <select>.
   "Sort:" / "Category:" are the control's own labels, so they can't live in
   the option text — a native select renders the selected option verbatim when
   closed, which repeated the prefix down the open list. Putting the border,
   chevron and sizing on the wrapper lets the prefix sit beside a borderless
   select: reads "Sort: Recently Saved" closed, plain choices open. */
/* No right padding and no chevron here on purpose — both belong to the
   <select> below. When the arrow was drawn in this element's padding, the
   select stopped short of it, so clicking the arrow landed on the <label>;
   a label only ever *focuses* a select, it can't open it, which is why the
   dropdown appeared dead on its most obvious click target. */
/* Fixed 200px basis rather than sizing to content. A <select> is as wide as
   its longest option, so Category stretched to fit the longest product
   category name while Sort stayed short — two mismatched boxes, and enough
   combined width to wrap the row. min-width:0 lets it shrink on narrow
   screens; overflow clips a long option rather than pushing the box open. */
.axis5th-listctl__field {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	flex: 0 1 200px;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	height: 42px;
	padding: 0 0 0 0.9rem;
	background-color: #FFFFFF;
	border: 1px solid #E5E5E5;
	cursor: pointer;
}

.axis5th-listctl__field:focus-within {
	border-color: #DD2828;
}

.axis5th-listctl__field-label {
	flex: 0 0 auto;
	font-size: 14px;
	color: #18181B;
	white-space: nowrap;
	pointer-events: none;
}

/* Borderless text inside the box above, but stretched to the field's right
   edge and carrying the chevron in its own padding — so the arrow is part of
   the select's hit area and clicking it opens the list. */
.axis5th-listctl__select {
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	/* Basis 0 so it takes whatever the label leaves rather than demanding room
	   for its longest option — that intrinsic width is what widened the field. */
	flex: 1 1 0%;
	align-self: stretch;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	background-color: transparent !important;
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236C6C6C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E" ) !important;
	background-repeat: no-repeat !important;
	background-position: right 0.8rem center !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	color: #18181B !important;
	font-size: 14px !important;
	line-height: 1.2 !important;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

/* ── Table ─────────────────────────────────────────────────────────── */

.axis5th-rfq__location {
	font-weight: 500;
	color: #18181B;
}

/* Rows beyond the first page. The `hidden` attribute alone loses to the
   table-row display the browser gives a <tr>, so the class does the work and
   the attribute stays as the no-JS fallback. */
.axis5th-wc-quotes__row.is-hidden {
	display: none;
}

.axis5th-rfq__more {
	display: flex;
	justify-content: center;
	margin-top: 1.5rem;
}

.axis5th-rfq__status {
	display: inline-block;
	padding: 0.25rem 0.7rem;
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.5;
	white-space: nowrap;
}

/* Active is the only state still awaiting something, so it carries the
   accent; the two settled states read as neutral history. */
.axis5th-rfq__status--active {
	background: #FDECEC;
	color: #DD2828;
}

.axis5th-rfq__status--converted {
	background: #18181B;
	color: #FFFFFF;
}

.axis5th-rfq__status--expired,
.axis5th-rfq__status--rejected {
	background: #F4F4F5;
	color: #6C6C6C;
}

.axis5th-rfq__action {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem;
	min-width: 150px;
	padding: 0.5rem 0.9rem;
	background: #FFFFFF;
	border: 1px solid #E5E5E5;
	color: #18181B !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	white-space: nowrap;
}

.axis5th-rfq__action:hover {
	border-color: #DD2828;
	color: #DD2828 !important;
}

@media ( max-width: 767px ) {
	.axis5th-listctl {
		flex-direction: column;
		align-items: stretch;
	}

	.axis5th-listctl__search {
		max-width: none;
	}

	/* Full-width dropdowns once stacked, so they don't sit as two narrow
	   controls on a wide row. This is the one place they *should* stack. */
	.axis5th-listctl__filters {
		flex-direction: column;
		align-items: stretch;
		flex-wrap: wrap;
	}

	.axis5th-listctl__field {
		display: flex;
		flex-basis: auto;
		min-width: 0;
	}

	.axis5th-rfq__action {
		min-width: 0;
	}
}

.axis5th-wc-quotes__table {
	width: 100%;
	border-collapse: collapse;
}

.axis5th-wc-quotes__table th {
	padding: 0.75rem 0.9rem !important;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #6C6C6C;
	text-align: left;
	background-color: #F4F4F5;
}
.axis5th-wc-quotes__table td {
	padding: 0.9rem !important;
	font-size: 0.85rem;
	color: #18181B;
	border-bottom: 1px solid #ececec !important;
	vertical-align: middle;
}

.axis5th-wc-quotes__table tbody tr:last-child td {
	border-bottom: none !important;
}

.axis5th-wc-quotes__number {
	font-weight: 700;
	color: #18181B !important;
	text-decoration: none !important;
}

.axis5th-wc-quotes__number:hover {
	color: #DD2828 !important;
}

.axis5th-wc-quotes__status {
	display: inline-block;
	padding: 0.3rem 0.7rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	white-space: nowrap;
	background: #f0f0f0;
	color: #4a4a4a;
}

.axis5th-wc-quotes__status--ywraq-new {
	background: #FCE4E4;
	color: #B91C1C;
}

.axis5th-wc-quotes__status--ywraq-pending {
	background: #F0F0F0;
	color: #4a4a4a;
}

.axis5th-wc-quotes__status--ywraq-accepted {
	background: #18181B;
	color: #ffffff;
}

.axis5th-wc-quotes__status--ywraq-rejected {
	background: #FCE4E4;
	color: #9a1c1c;
}

.axis5th-wc-quotes__status--ywraq-expired {
	background: #ececec;
	color: #9a9a9a;
}

.axis5th-wc-quotes__action-link {
	display: inline-block;
	margin-right: 0.9rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: #4a4a4a !important;
	text-decoration: underline !important;
	white-space: nowrap;
}

.axis5th-wc-quotes__action-link:last-child {
	margin-right: 0;
}

.axis5th-wc-quotes__action-link--pay_now {
	color: #DD2828 !important;
}

.axis5th-wc-quotes__action-link:hover {
	color: #DD2828 !important;
}


.yith-ywgc-add-new-gift-card-modal-inner{
	padding-bottom: 0;
}

/* ---- Tooling Certificates "Add New" popup (YITH Gift Cards modal) ----
   The plugin puts the popup at z-index 120 and its overlay at 1, below the
   sticky header (999), so the header covered the popup's top on shorter
   screens. Lift both above the header (still below the admin bar) and
   restyle the plugin's default look to match the rest of My Account. */
.yith-ywgc-add-new-gift-card-modal-overlay {
	z-index: 99990 !important;
	background: rgba( 24, 24, 27, 0.6 ) !important;
}

.yith-ywgc-add-new-gift-card-modal-wrapper {
	z-index: 99991 !important;
	width: min( 440px, calc( 100vw - 32px ) ) !important;
	max-height: calc( 100vh - 32px );
	overflow-y: auto !important;
	border-radius: 0 !important;
	background: #ffffff !important;
	border-top: 3px solid var( --e-global-color-primary, #dd2828 );
	box-shadow: 0 20px 50px rgba( 24, 24, 27, 0.25 ) !important;
	padding: 0 !important;
}

.yith-ywgc-add-new-gift-card-modal-wrapper-region {
	padding: 0 !important;
}

.yith-ywgc-add-new-gift-card-modal {
	width: 100% !important;
}

.yith-ywgc-add-new-gift-card-modal-content-wrapper {
	margin: 0 !important;
	padding: 1.75rem 1.75rem 1.5rem;
}

.ywgc-add-new-gift-card-modal-title {
	margin: 0 2rem 1.25rem 0 !important;
	padding: 0 !important;
	font-family: var( --e-global-typography-primary-font-family ), sans-serif !important;
	font-size: 22px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	text-align: left !important;
	color: var( --e-global-color-accent, #18181b ) !important;
}

.ywgc-add-new-gift-card-form {
	border-radius: 0 !important;
	background: #f4f4f5 !important;
	padding: 1.25rem !important;
	text-align: left !important;
}

.ywgc-add-new-gift-card-label {
	display: block;
	margin: 0 0 0.5rem;
	text-align: left !important;
	font-family: var( --e-global-typography-57475c0-font-family ), sans-serif;
	font-size: 13px !important;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var( --e-global-color-accent, #18181b );
}

.ywgc-add-new-gift-card-form .yith-plugin-fw-field-wrapper {
	margin: 0 0 1rem;
}

.ywgc-add-new-gift-card-form input.yith-plugin-fw-text-input {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	padding: 0.75rem 0.9rem !important;
	font-size: 14px !important;
	background: #ffffff !important;
	border: 1px solid #e4e4e7 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	box-sizing: border-box;
}

.ywgc-add-new-gift-card-form input.yith-plugin-fw-text-input:focus {
	border-color: var( --e-global-color-primary, #dd2828 ) !important;
	box-shadow: 0 0 0.1875em var( --e-global-color-primary, #dd2828 ) !important;
	outline: none;
}

.ywgc-add-new-gift-card-form .ywgc-link-gift-card-submit-button {
	width: 100% !important;
	margin: 0 !important;
	padding: 0.8rem 1.25rem !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: var( --e-global-color-primary, #dd2828 ) !important;
	color: #ffffff !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.ywgc-add-new-gift-card-form .ywgc-link-gift-card-submit-button:hover,
.ywgc-add-new-gift-card-form .ywgc-link-gift-card-submit-button:focus {
	background: var( --e-global-color-accent, #18181b ) !important;
	color: #ffffff !important;
}

.yith-ywgc-add-new-gift-card-modal-close {
	position: absolute !important;
	top: 14px !important;
	right: 14px !important;
	left: auto !important;
	width: 32px !important;
	height: 32px !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0.7;
	transition: opacity 0.2s ease;
}

.yith-ywgc-add-new-gift-card-modal-close:hover {
	opacity: 1;
}

@media ( max-width: 480px ) {
	.yith-ywgc-add-new-gift-card-modal-content-wrapper {
		padding: 1.5rem 1.1rem 1.25rem;
	}

	.ywgc-add-new-gift-card-modal-title {
		font-size: 19px !important;
	}
}

@media ( max-width: 767px ) {
	.axis5th-wc-quotes__table thead {
		display: none;
	}

	.axis5th-wc-quotes__table,
	.axis5th-wc-quotes__table tbody,
	.axis5th-wc-quotes__table tr,
	.axis5th-wc-quotes__table td {
		display: block;
		width: 100%;
	}

	.axis5th-wc-quotes__table tr {
		padding: 0.75rem 0;
		border-bottom: 1px solid #ececec;
	}

	.axis5th-wc-quotes__table td {
		border-bottom: none;
		padding: 0.3rem 0;
	}

	.axis5th-wc-quotes__table td[data-title]::before {
		content: attr( data-title );
		display: inline-block;
		min-width: 110px;
		font-size: 0.68rem;
		font-weight: 700;
		letter-spacing: 0.03em;
		text-transform: uppercase;
		color: #9a9a9a;
	}
}

/* Add Payment Method tab (woocommerce/myaccount/form-add-payment-method.php override) */

/* This page's own template script wraps the shared heading and the "Go
   Back" button as siblings inside this new row (rather than nesting the
   button inside the <h1> itself, which would be invalid heading structure).
   The wrapper takes over the "heading" grid-area slot from the <h1> below,
   so every other My Account page's heading/layout is unaffected — this rule
   only ever matches when the wrapper is actually present. */
.axis5th-wc-add-payment-method__heading-row {
	grid-area: heading !important;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin: 1.75rem 0 1.5rem;
}

.axis5th-wc-add-payment-method__heading-row .axis5th-wc-account-heading {
	grid-area: unset !important;
	margin: 0;
}

.axis5th-wc-add-payment-method__back-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 0.9rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: #18181B !important;
	background: #ffffff;
	border: 1px solid #e5e5e5;
	text-decoration: none !important;
	white-space: nowrap;
}

.axis5th-wc-add-payment-method__back-btn:hover {
	border-color: #DD2828;
}

/* This site currently has only one active gateway (Authorize.Net) — with
   nothing to choose between, the radio + gateway title/icon row is just
   noise, so it's hidden. Only applies when the modifier class is present
   (added by the template when exactly one gateway is available), so a
   second active gateway in the future automatically gets its selector back. */
.axis5th-wc-add-payment-method--single-gateway .woocommerce-PaymentMethods > .woocommerce-PaymentMethod > input,
.axis5th-wc-add-payment-method--single-gateway .woocommerce-PaymentMethods > .woocommerce-PaymentMethod > label {
	display: none !important;
}

/* The gateway's own description text ("Pay via credit or debit card", and a
   "TEST MODE ENABLED" notice in test mode) renders as a plain, class-less
   <p> directly inside the payment box (confirmed from the SkyVerge payment
   gateway framework this site's Authorize.Net gateway is built on) — the
   direct-child selector plus :not(.form-row) means this can never
   accidentally hide an actual field, since every real field is its own
   `<p class="form-row ...">` nested one level deeper inside a <fieldset>. */
.axis5th-wc-add-payment-method--single-gateway .payment_box > p:not( .form-row ) {
	display: none !important;
}

/* WooCommerce's own core stylesheet (not just Elementor) puts a
   `border-bottom` on `ul.payment_methods` and styling on `#payment` itself
   — the stray horizontal line and extra gap above the checkbox were coming
   from these, not from anything specific to the Authorize.Net gateway. */
.axis5th-wc-add-payment-method #payment,
.axis5th-wc-add-payment-method .woocommerce-Payment {
	background: none !important;
	border: none !important;
	box-shadow: none !important;
}

.axis5th-wc-add-payment-method .woocommerce-PaymentMethods {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-bottom: none !important;
}

.axis5th-wc-add-payment-method .payment_box,
.axis5th-wc-add-payment-method .woocommerce-PaymentBox {
	padding: 0 !important;
	margin: 0 !important;
	background: none !important;
	border: none !important;
	box-shadow: none !important;
}

.axis5th-wc-add-payment-method .payment_box fieldset {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
}

.axis5th-wc-add-payment-method .payment_box legend {
	display: none !important;
}

.axis5th-wc-add-payment-method .payment_box::before,
.axis5th-wc-add-payment-method .woocommerce-PaymentBox::before {
	display: none !important;
	content: none !important;
	border: none !important;
}

.axis5th-wc-add-payment-method .form-row {
	margin: 0 0 1.25rem;
	overflow: visible;
}

.axis5th-wc-add-payment-method .form-row-first,
.axis5th-wc-add-payment-method .form-row-last {
	width: calc( 50% - 0.625rem );
	float: left;
}

.axis5th-wc-add-payment-method .form-row-last {
	float: right;
}

.axis5th-wc-add-payment-method .form-row-wide {
	width: 100%;
	clear: both;
}

.axis5th-wc-add-payment-method label {
	display: block;
	font-family: var(--e-global-typography-57475c0-font-family), Sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--e-global-color-accent);
}

.axis5th-wc-add-payment-method .js-sv-wc-payment-gateway-credit-card-form-input,
.axis5th-wc-add-payment-method input[type="text"],
.axis5th-wc-add-payment-method input[type="tel"] {
	width: 100%;
	padding: 0.75rem 0.9rem;
	font-size: 14px;
	background: #FFFFFF;
	border: 1px solid #E4E4E7 !important;
	box-sizing: border-box;
}

.axis5th-wc-add-payment-method .js-sv-wc-payment-gateway-credit-card-form-input:focus,
.axis5th-wc-add-payment-method input[type="text"]:focus,
.axis5th-wc-add-payment-method input[type="tel"]:focus {
	box-shadow: 0 0 .1875em #DD2828 !important;
	border-color: #DD2828 !important;
	outline: none;
	background: #ffffff;
}
 #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-account-number{
	background-position: right 40px center !important;
	background-size: 30px 20px !important;
 }
.axis5th-wc-add-payment-method .form-row-wide {
	position: relative;
}

.axis5th-wc-add-payment-method .form-row-wide::after {
	content: "";
	position: absolute;
	right: 0.9rem;
	top: 40px;
	width: 18px;
	height: 18px;
	pointer-events: none;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4a4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E" );
}

/* Higher specificity than the generic ".axis5th-wc-add-payment-method
   label" rule above (class+element vs. this single class) — without
   !important here, that rule's uppercase/bold styling silently won since it
   was more specific, regardless of source order. */
.axis5th-wc-add-payment-method__save-row {
	display: flex !important;
	align-items: center;
	gap: 0.55rem;
	margin: 1rem 0 1rem !important;
	font-size: 0.82rem !important;
	font-weight: 400 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	color: #6c6c6c !important;
	cursor: default;
}

.axis5th-wc-add-payment-method__save-row input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	margin: 0;
	background: #ffffff;
	border: 1px solid #cccccc;
	border-radius: 2px;
}

.axis5th-wc-add-payment-method__save-row input[type="checkbox"]:checked {
	background-color: #ffffff;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 11px;
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999999' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E" );
}

/* WooCommerce core itself (not Elementor this time) scopes a rule to
   "#payment div.form-row" — an ID selector always beats a plain class, so
   text-align needs !important here regardless of which rule set it. */
.axis5th-wc-add-payment-method__submit-row {
	text-align: left !important;
}

.axis5th-wc-add-payment-method__submit-btn {
	display: inline-flex !important;
	align-items: center;
	gap: 0.5rem;
	padding: 0.8rem 1.75rem !important;
	font-size: 0.9rem !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	background: #DD2828 !important;
	border: 1px solid #DD2828 !important;
	text-transform: none;
}

.axis5th-wc-add-payment-method__submit-btn:hover {
	opacity: 0.9;
}

.axis5th-wc-add-payment-method__trust {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
}

.axis5th-wc-add-payment-method__trust li {
	position: relative;
	padding-left: 1.6rem;
	margin-bottom: 0.5rem;
	font-size: 0.82rem;
	color: #4a4a4a;
}

.axis5th-wc-add-payment-method__trust li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.1rem;
	width: 18px;
	height: 18px;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DD2828' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='9 12 11 14 15 10'/%3E%3C/svg%3E" );
}

@media ( max-width: 599px ) {
	.axis5th-wc-add-payment-method .form-row-first,
	.axis5th-wc-add-payment-method .form-row-last {
		width: 100%;
		float: none;
	}
}

/* Add/Edit Address form (woocommerce/myaccount/form-edit-address.php override) */

.axis5th-wc-address-form {
	/* Same reasoning as .axis5th-wc-edit-account: the reused
	   .axis5th-login__* classes (field, input, select) read these CSS
	   variables from a `.axis5th-login` wrapper this page doesn't have.
	   Defined fresh here rather than also adding the `.axis5th-wc-edit-account`
	   class, since that class's own flex-column/gap layout (built for the
	   two stacked sections on Account Details) isn't wanted on this
	   single-form page. */
	--axis5th-login-label-color: #18181B;
	--axis5th-login-text-color: #6c6c6c;
	--axis5th-login-input-border: #cccccc;
	--axis5th-login-input-focus: #DD2828;
	--axis5th-login-accent: #DD2828;
}

/* The "Go Back" button is added by this page's own template script,
   wrapping the shared heading and the button as siblings (not nesting the
   button inside the <h1>, which would be invalid heading structure) — same
   pattern as the Add Payment Method page. Only ever matches when the
   wrapper is actually present, so every other My Account page is
   unaffected. */
.axis5th-wc-address-form__heading-row {
	grid-area: heading !important;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin: 1.75rem 0 1.5rem;
}

.axis5th-wc-address-form__heading-row .axis5th-wc-account-heading {
	grid-area: unset !important;
	margin: 0;
}

.axis5th-wc-address-form__back-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 0.9rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: #18181B !important;
	background: #ffffff;
	border: 1px solid #e5e5e5;
	text-decoration: none !important;
	white-space: nowrap;
}

.axis5th-wc-address-form__back-btn:hover {
	border-color: #DD2828;
}

.axis5th-wc-address-form__form .axis5th-login__row {
	display: flex;
	gap: 1.5rem;
	margin: 1.25rem 0;
}

.axis5th-wc-address-form__form .axis5th-login__field {
	flex: 1 1 0;
	min-width: 0;
}

.axis5th-wc-address-form__phone-field {
	max-width: calc( 50% - 0.75rem );
}

.axis5th-wc-address-form__toggle-row {
	margin: 0.5rem 0 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid #ececec;
}

.axis5th-wc-address-form__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	cursor: pointer;
}

.axis5th-wc-address-form__toggle-text strong {
	display: block;
	font-size: 0.85rem;
	font-weight: 700;
	color: #18181B;
}

.axis5th-wc-address-form__toggle-text span {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.78rem;
	color: #9a9a9a;
}

.axis5th-wc-address-form__toggle-note {
	margin: 0.5rem 0 0;
	font-size: 0.75rem;
	font-style: italic;
	color: #9a9a9a;
}

/* A real, working toggle switch — the checkbox itself is visually hidden
   but still fully functional (keyboard-operable, submits normally); only
   its :checked state drives the track/thumb styling below. */
.axis5th-wc-address-form__switch {
	position: relative;
	flex: 0 0 auto;
	display: inline-block;
	width: 42px;
	height: 24px;
}

.axis5th-wc-address-form__switch input[type="checkbox"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
	z-index: 1;
}

.axis5th-wc-address-form__switch-track {
	position: absolute;
	inset: 0;
	background: #e5e5e5;
	border-radius: 999px;
	transition: background-color 0.15s ease;
}

.axis5th-wc-address-form__switch-track::before {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	background: #ffffff;
	border-radius: 50%;
	transition: transform 0.15s ease;
	box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.25 );
}

.axis5th-wc-address-form__switch input[type="checkbox"]:checked ~ .axis5th-wc-address-form__switch-track {
	background: #DD2828;
}

.axis5th-wc-address-form__switch input[type="checkbox"]:checked ~ .axis5th-wc-address-form__switch-track::before {
	transform: translateX( 18px );
}

.axis5th-wc-address-form__switch input[type="checkbox"]:disabled ~ .axis5th-wc-address-form__switch-track {
	opacity: 0.6;
	cursor: default;
}

.axis5th-wc-address-form__submit-row {
	text-align: left;
}

.axis5th-wc-address-form__submit-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.8rem 1.75rem;
	font-size: 0.9rem;
	font-weight: 700;
	color: #ffffff;
	background: #DD2828;
	border: 1px solid #DD2828;
}

.axis5th-wc-address-form__submit-btn:hover {
	opacity: 0.9;
}

.axis5th-wc-address-form__info-cards {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 1.25rem;
	list-style: none;
	margin: 1.75rem 0 0;
	padding: 0;
}

.axis5th-wc-address-form__info-cards li {
	background: #F4F4F5;
	padding: 1.25rem 1.4rem;
}

.axis5th-wc-address-form__info-icon {
	display: inline-flex;
	color: #DD2828;
	margin-bottom: 0.6rem;
}

.axis5th-wc-address-form__info-cards h3 {
	margin: 0 0 0.4rem;
	font-size: 0.9rem;
	font-weight: 700;
	color: #18181B;
}

.axis5th-wc-address-form__info-cards p {
	margin: 0;
	font-size: 0.8rem;
	color: #6c6c6c;
}

.ywgc-link-gift-card-submit-button{
	background-color: #DD2828 !important;
	color: #fff !important;
}
.yith-plugin-fw-text-input:focus-visible{
	outline: none;
}
.woocommerce-order-details .product-name a{
	color: #DD2828 !important;
}
.e-my-account-tab__view-order .woocommerce-MyAccount-content{
	padding: 20px !important;
	background-color: #fff;
	border-left: 4px solid #DD2828 !important;
}

.ywraq-view-quote-wrapper > p > a{
	color: #DD2828 !important;
}

.ywraq-view-quote-wrapper header{
	margin: 30px 0;
	align-items: center;
}
.ywraq-view-quote-wrapper header h2{
	margin: 0;
}
.ywraq-view-quote-wrapper .order_details{
	background-color: #fff !important;
	margin-top: 20px !important;
}
.ywraq-view-quote-wrapper .order_details .product-name-item a{
	font-size: 20px;
	font-weight: 500;
	color: #18181B !important;
}








@media ( max-width: 767px ) {
	.axis5th-wc-address-form__form .axis5th-login__row {
		flex-direction: column;
		gap: 0;
	}

	.axis5th-wc-address-form__phone-field {
		max-width: 100%;
	}

	.axis5th-wc-address-form__info-cards {
		grid-template-columns: 1fr;
	}
}

/* ═══════════════════════════════════════════════════════════════════════
   Responsive — tablet & mobile only
   Desktop (≥992px) layout/styles above are intentionally unchanged.
   ═══════════════════════════════════════════════════════════════════════ */

@media ( max-width: 991px ) {
	.axis5th-wc-account-heading {
		margin-top: 28px !important;
		margin-bottom: 1rem !important;
		font-size: clamp( 30px, 5vw, 40px ) !important;
		line-height: 1.1 !important;
	}

	.woocommerce-MyAccount-navigation {
		padding: 0 !important;
		margin: 0 0 1.25rem;
		border: 1px solid var( --axis5th-wc-nav-border, #e5e5e5 );
		background-color: #fff;
	}

	/* Horizontal scrollable account tabs — avoids a tall vertical list
	   eating the viewport on tablet/phone. */
	.woocommerce-MyAccount-navigation ul {
		display: flex;
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 0;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		padding-inline-end: 12px;
		scroll-padding-inline: 12px;
	}

	.woocommerce-MyAccount-navigation-link {
		flex: 0 0 auto;
		margin: 0 !important;
		width: auto !important;
	}

	.woocommerce-MyAccount-navigation-link a {
		padding: 12px 16px !important;
		font-size: 13px !important;
		white-space: nowrap;
	}

	.woocommerce-MyAccount-navigation-link a::before {
		width: 16px;
		height: 16px;
		margin-right: 8px;
		margin-bottom: 0;
	}

	.woocommerce-MyAccount-navigation-link:hover a,
	.woocommerce-MyAccount-navigation-link.is-active a {
		border-left: 0 !important;
		border-bottom: 3px solid #600B0B !important;
	}

	.woocommerce-MyAccount-content {
		padding: 0 !important;
		margin-bottom: 28px;
		width: 100% !important;
		max-width: 100%;
	}

	.woocommerce-MyAccount-content-wrapper {
		padding: 0 !important;
		max-width: 100%;
	}

	.axis5th-wc-dashboard-card,
	.ywraq-view-quote-wrapper {
		padding: 1.2rem 1.25rem;
	}

	.axis5th-wc-dashboard-greeting {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.4rem;
	}

	.axis5th-wc-edit-account__section {
		padding: 1.2rem 1.25rem;
	}

	.axis5th-wc-edit-account .axis5th-login__row {
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
	}

	.axis5th-wc-edit-account .axis5th-login__btn--primary,
	.axis5th-wc-edit-account .axis5th-login__btn {
		width: 100%;
		min-width: 0;
		justify-content: center;
	}

	.axis5th-wc-quotes__header,
	.axis5th-wc-giftcards__header,
	.axis5th-wc-payment-methods__header,
	.axis5th-wc-orders__section-header,
	.axis5th-wc-account-heading-row,
	.axis5th-wc-add-payment-method__heading-row,
	.axis5th-order-head {
		flex-direction: column;
		align-items: stretch;
		gap: 0.85rem;
	}

	.axis5th-wc-quotes__actions,
	.axis5th-wc-giftcards__header,
	.axis5th-wc-payment-methods__header {
		width: 100%;
	}

	.axis5th-wc-quotes__request-btn,
	.axis5th-wc-orders__browse-btn,
	.axis5th-wc-quotes__history-btn,
	.axis5th-wc-giftcards__add-btn,
	.axis5th-wc-payment-methods__add-btn,
	.axis5th-acct-btn,
	.axis5th-wc-add-payment-method__back-btn,
	.axis5th-wc-address-book__add-btn {
		width: 100%;
		justify-content: center;
		box-sizing: border-box;
	}

	.axis5th-wc-address-book__card-actions,
	.axis5th-wc-orders__actions {
		flex-wrap: wrap;
	}

	.axis5th-wc-orders__action-btn,
	.axis5th-wc-address-book__action-btn {
		flex: 1 1 auto;
		justify-content: center;
		text-align: center;
	}

	.e-my-account-tab__view-order .woocommerce-MyAccount-content {
		padding: 16px !important;
	}

	.ywraq-view-quote-wrapper header {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.axis5th-share__menu {
		right: auto;
		left: 0;
	}
}

@media ( max-width: 599px ) {
	.e-my-account-tab .woocommerce,
	.woocommerce:has( > .woocommerce-MyAccount-navigation ) {
		padding-right: 12px !important;
		padding-left: 12px !important;
	}

	.axis5th-wc-account-heading {
		margin-top: 20px !important;
		font-size: 28px !important;
	}

	.woocommerce-MyAccount-navigation-link a {
		padding: 11px 14px !important;
		font-size: 12px !important;
		gap: 0.4rem;
	}

	.woocommerce-MyAccount-navigation-link a::before {
		width: 14px;
		height: 14px;
		margin-right: 6px;
	}

	.axis5th-wc-dashboard-card,
	.ywraq-view-quote-wrapper,
	.axis5th-wc-edit-account__section,
	.axis5th-wc-orders__card,
	.axis5th-wc-giftcards__card,
	.axis5th-wc-address-book__card {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.axis5th-wc-dashboard-greeting__hello {
		word-break: break-word;
	}

	.axis5th-wc-dashboard-body {
		font-size: 0.85rem;
	}

	.axis5th-wc-quotes__actions {
		flex-direction: column;
	}

	.axis5th-wc-giftcards__code-row {
		flex-wrap: wrap;
	}

	.axis5th-wc-address-form__submit-btn,
	.ywgc-link-gift-card-submit-button {
		width: 100%;
		justify-content: center;
		box-sizing: border-box;
	}

	.axis5th-order-head {
		gap: 0.75rem;
	}

	.woocommerce-MyAccount-content table.shop_table:not( .axis5th-wc-payment-methods__card ) {
		display: block;
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

/* ==========================================================================
 * Lost password / set a new password / "check your email"
 *
 * These are logged-out account screens: the My Account wrapper has no sidebar
 * menu, but the two-column "menu | content" grid above is keyed on the wrapper
 * class alone, so on desktop the form used to land in the narrow menu column and
 * leave the rest of the page empty. Without a menu child the wrapper is a plain
 * centred column instead. (Logged-in pages always have the menu as a direct
 * child, so they keep the grid untouched.)
 *
 * The card, fields and button use !important because Elementor Pro's My Account
 * widget styles this same form (50% width, its own padding, blue button) through
 * a long selector chain that a short one cannot outrank. Everything is scoped to
 * .woocommerce-ResetPassword, so nothing else on the site is touched.
 * ========================================================================== */

.e-my-account-tab .woocommerce:not( :has( > .woocommerce-MyAccount-navigation ) ) {
	display: block !important;
	grid-template-columns: none !important;
	grid-template-rows: none !important;
	grid-template-areas: none !important;
	box-sizing: border-box;
	padding: 0 max( 16px, calc( ( 100% - 640px ) / 2 ) ) 4rem !important;
}

.e-my-account-tab .woocommerce:not( :has( > .woocommerce-MyAccount-navigation ) ) .axis5th-wc-account-heading {
	margin: 60px 0 1.5rem;
}

/* The card: the form itself, and the "email sent" notice */

.woocommerce-ResetPassword.lost_reset_password,
.e-my-account-tab .woocommerce:not( :has( > .woocommerce-MyAccount-navigation ) ) .woocommerce-message {
	box-sizing: border-box;
	width: 100% !important;
	max-width: 640px !important;
	margin: 0 !important;
	padding: 2.5rem !important;
	background: #ffffff;
	border: 1px solid #E4E4E7;
	box-shadow: 0px 4px 6px -1px #0000001A;
}

.e-my-account-tab .woocommerce:not( :has( > .woocommerce-MyAccount-navigation ) ) .woocommerce-message {
	border-left: 3px solid var( --axis5th-wc-accent );
	color: #4a4a4a;
}

.e-my-account-tab .woocommerce:not( :has( > .woocommerce-MyAccount-navigation ) ) .woocommerce-message::before {
	display: none;
}

.woocommerce-ResetPassword.lost_reset_password > p:first-child {
	margin: 0 0 1.5rem !important;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #6c6c6c !important;
}

/* Fields */

.woocommerce-ResetPassword .form-row {
	float: none !important;
	width: 100% !important;
	margin: 0 0 1.25rem !important;
	padding: 0 !important;
}

.woocommerce-ResetPassword label {
	display: block;
	margin: 0 0 0.5rem !important;
	font-family: var( --e-global-typography-57475c0-font-family ), Sans-serif;
	font-size: 14px;
	font-weight: 400;
	text-transform: uppercase;
	color: var( --e-global-color-accent ) !important;
}

.woocommerce-ResetPassword label .required {
	color: var( --e-global-color-primary );
	text-decoration: none;
}

.woocommerce-ResetPassword input.input-text {
	display: block;
	width: 100% !important;
	box-sizing: border-box;
	margin: 0;
	padding: 0.7rem 0.9rem !important;
	font-size: 0.9rem;
	color: #1a1a1a;
	background: #ffffff;
	border: 1px solid #cccccc !important;
	border-radius: 2px !important;
	transition: border-color 0.2s ease;
}

.woocommerce-ResetPassword input.input-text:focus {
	outline: none;
	border-color: var( --axis5th-wc-accent ) !important;
}

/* The show-password toggle WooCommerce adds on the new-password fields */
.woocommerce-ResetPassword .password-input {
	position: relative;
	display: block;
}

.woocommerce-ResetPassword .password-input input.input-text {
	padding-right: 2.75rem !important;
}

/* Button: the theme's red, not the Elementor widget's blue */

.woocommerce-ResetPassword button.button {
	min-width: 200px;
	padding: 0.8rem 1.6rem !important;
	font-size: 0.9rem !important;
	font-weight: 600;
	color: #ffffff !important;
	background: var( --axis5th-wc-accent ) !important;
	border: 1px solid var( --axis5th-wc-accent ) !important;
	border-radius: 2px !important;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.woocommerce-ResetPassword button.button:hover,
.woocommerce-ResetPassword button.button:focus {
	color: #ffffff !important;
	background: var( --axis5th-wc-accent ) !important;
	opacity: 0.88;
}

.woocommerce-ResetPassword .form-row:last-of-type {
	margin-bottom: 0 !important;
}

/* "Password reset email has been sent" — the paragraph under its notice */
.e-my-account-tab .woocommerce:not( :has( > .woocommerce-MyAccount-navigation ) ) > p {
	max-width: 640px;
	margin: 1.25rem 0 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #6c6c6c;
}

@media ( max-width: 767px ) {
	.woocommerce-ResetPassword.lost_reset_password,
	.e-my-account-tab .woocommerce:not( :has( > .woocommerce-MyAccount-navigation ) ) .woocommerce-message {
		padding: 1.5rem !important;
	}

	.e-my-account-tab .woocommerce:not( :has( > .woocommerce-MyAccount-navigation ) ) .axis5th-wc-account-heading {
		font-size: clamp( 32px, 9vw, 44px ) !important;
		margin-top: 40px;
	}

	.woocommerce-ResetPassword button.button {
		width: 100%;
	}
}
