/* AW Account — customer portal skin. Same tokens and type as AW Checkout:
 * contained block, white cards, small uppercase Montserrat titles, site green.
 * Scoped under .awacc; a few !important rules beat Avada's account styles. */

.awacc {
	--aw-green: #006738;
	--aw-green-dark: #004f2b;
	--aw-green-bg: #eef6f1;
	--aw-text: #1d1d1f;
	--aw-muted: #6b6f73;
	--aw-border: #d5d9dd;
	--aw-border-soft: #eceef0;
	--aw-panel: #f7f7f5;
	--aw-radius: 10px;
	--aw-field-radius: 6px;
	--aw-title-font: Montserrat, Arial, Helvetica, sans-serif;

	max-width: 1180px;
	margin: 0 auto;
	color: var(--aw-text);
	font-size: 15px;
	-webkit-font-smoothing: antialiased;
}
.awacc a { color: var(--aw-green); }
.awacc .awacc-muted { color: var(--aw-muted); font-weight: 400; }
.awacc .awacc-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .03em; }

/* ---------------- header ---------------- */
.awacc .awacc-head {
	display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
	padding: 4px 0 18px; margin: 0 0 24px; border-bottom: 1px solid var(--aw-border-soft);
}
.awacc .awacc-head-title {
	margin: 0 0 6px !important; font-family: var(--aw-title-font); font-size: 22px !important; line-height: 1.2 !important;
	font-weight: 700; color: var(--aw-text);
}
.awacc .awacc-head-sub { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; }
.awacc .awacc-badge {
	display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700;
	letter-spacing: .06em; text-transform: uppercase; background: var(--aw-panel); color: var(--aw-muted);
}
.awacc .awacc-badge--trade { background: var(--aw-green); color: #fff; }

/* ---------------- layout ---------------- */
.awacc .awacc-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
/* Avada floats/sizes the nav + content columns */
.woocommerce-account .awacc .woocommerce-MyAccount-navigation,
.woocommerce-account .awacc .woocommerce-MyAccount-content { float: none !important; width: auto !important; margin: 0 !important; padding: 0; border: 0; }
.awacc .awacc-content { min-width: 0; display: flex; flex-direction: column; gap: 20px; }

/* ---------------- navigation card ---------------- */
.awacc .awacc-nav {
	position: sticky; top: 120px;
	background: #fff; border: 1px solid var(--aw-border-soft) !important; border-radius: var(--aw-radius); padding: 8px !important;
}
.awacc .awacc-nav ul { list-style: none; margin: 0; padding: 0; }
.awacc .awacc-nav li { margin: 0; padding: 0; border: 0 !important; float: none !important; width: auto !important; }
/* Avada floats the account menu items; the help block then wrapped beside them */
.awacc .awacc-nav-help { clear: both; }
.awacc .awacc-nav li a {
	display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 8px;
	color: var(--aw-text) !important; font-size: 14px; font-weight: 500; text-decoration: none; background: transparent;
}
.awacc .awacc-nav li a:hover { background: var(--aw-panel); }
.awacc .awacc-nav li.is-active a { background: var(--aw-green-bg); color: var(--aw-green) !important; font-weight: 700; }
.awacc .awacc-nav li a::before, .awacc .awacc-nav li a::after { display: none !important; } /* Avada arrows */
.awacc .awacc-ico { flex: 0 0 18px; color: var(--aw-muted); }
.awacc .awacc-nav li.is-active .awacc-ico { color: var(--aw-green); }
.awacc .awacc-nav li.woocommerce-MyAccount-navigation-link--customer-logout { border-top: 1px solid var(--aw-border-soft) !important; margin-top: 6px; padding-top: 6px; }
.awacc .awacc-nav-help { padding: 12px; margin-top: 6px; border-top: 1px solid var(--aw-border-soft); font-size: 13px; color: var(--aw-muted); }
.awacc .awacc-nav-help a { display: block; font-weight: 700; margin-top: 2px; }

/* ---------------- cards ---------------- */
.awacc .awacc-card {
	background: #fff; border: 1px solid var(--aw-border-soft); border-radius: var(--aw-radius); padding: 22px 24px;
}
.awacc .awacc-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.awacc .awacc-card-head p { margin: 4px 0 0; font-size: 14px; }
.awacc .awacc-card-title,
.awacc .awacc-content h2,
.awacc .awacc-content h3 {
	margin: 0 !important; font-family: var(--aw-title-font); font-size: 13px !important; line-height: 1.4 !important;
	font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--aw-text);
}
.awacc .awacc-eyebrow { margin: 0 0 6px; font-family: var(--aw-title-font); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--aw-green); }
.awacc .awacc-link { font-size: 13px; text-decoration: underline; white-space: nowrap; }
.awacc .awacc-hint { font-size: 12px; color: var(--aw-muted); margin: 6px 0 0; }

/* ---------------- buttons & chips ---------------- */
.awacc .awacc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 42px; padding: 0 18px; border-radius: var(--aw-field-radius);
	background: var(--aw-green) !important; color: #fff !important; border: 1px solid var(--aw-green) !important;
	font-family: var(--aw-title-font); font-size: 12px !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	text-decoration: none !important; cursor: pointer; box-shadow: none !important; line-height: 1.2;
}
.awacc .awacc-btn:hover { background: var(--aw-green-dark) !important; }
.awacc .awacc-btn--ghost { background: #fff !important; color: var(--aw-text) !important; border-color: var(--aw-border) !important; }
.awacc .awacc-btn--ghost:hover { background: var(--aw-panel) !important; }
.awacc .awacc-btn--sm { min-height: 34px; padding: 0 12px; font-size: 11px !important; }
.awacc .awacc-btn[disabled] { opacity: .6; cursor: wait; }
.awacc .awacc-link-btn { background: none !important; border: 0 !important; padding: 0 !important; color: var(--aw-green) !important; font-size: 13px !important; text-decoration: underline; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important; }
.awacc .awacc-link-btn--danger { color: #9b2c1f !important; }
.awacc .awacc-inline-form { display: inline; margin: 0; }

.awacc .awacc-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.awacc .awacc-chip--good { background: var(--aw-green-bg); color: var(--aw-green); }
.awacc .awacc-chip--info { background: #eaf1fb; color: #1f5fae; }
.awacc .awacc-chip--wait { background: #fff6e0; color: #8a5a00; }
.awacc .awacc-chip--bad  { background: #fdecea; color: #9b2c1f; }

/* ---------------- dashboard ---------------- */
.awacc .awacc-dash { display: flex; flex-direction: column; gap: 20px; }
.awacc .awacc-car-hero {
	display: flex; justify-content: space-between; align-items: center; gap: 24px;
	background: linear-gradient(135deg, #0f3d26 0%, #006738 100%); border: 0; color: #fff;
}
.awacc .awacc-car-hero .awacc-eyebrow { color: #b9dfc9; }
.awacc .awacc-car-hero .awacc-muted { color: #cfe5d8; }
.awacc .awacc-car-title { margin: 0 0 6px !important; font-family: var(--aw-title-font); font-size: 22px !important; line-height: 1.25 !important; font-weight: 700; color: #fff !important; letter-spacing: 0 !important; text-transform: none !important; }
.awacc .awacc-car-hero .awacc-car-ids { display: flex; flex-wrap: wrap; gap: 16px; margin: 8px 0 0; font-size: 13px; color: #cfe5d8; }
.awacc .awacc-car-hero .awacc-car-ids strong { color: #fff; font-family: ui-monospace, Menlo, monospace; font-weight: 600; }
.awacc .awacc-car-hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 220px; }
.awacc .awacc-car-hero .awacc-btn { background: #fff !important; color: var(--aw-green) !important; border-color: #fff !important; }
.awacc .awacc-car-hero .awacc-btn--ghost { background: transparent !important; color: #fff !important; border-color: rgba(255,255,255,.55) !important; }
.awacc .awacc-car-hero .awacc-link { color: #fff; text-align: center; }

.awacc .awacc-mini-orders { list-style: none; margin: 0; padding: 0; }
.awacc .awacc-mini-orders li {
	display: grid; grid-template-columns: 90px 1fr 110px 110px 60px; align-items: center; gap: 12px;
	padding: 12px 0; border-top: 1px solid var(--aw-border-soft); font-size: 14px;
}
.awacc .awacc-mini-orders li:first-child { border-top: 0; padding-top: 0; }
.awacc .awacc-mini-order-no { font-weight: 700; text-decoration: none; }

.awacc .awacc-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.awacc .awacc-tile {
	display: flex; flex-direction: column; gap: 6px; padding: 18px; background: #fff;
	border: 1px solid var(--aw-border-soft); border-radius: var(--aw-radius); text-decoration: none; color: var(--aw-text) !important;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.awacc .awacc-tile:hover { border-color: var(--aw-green); box-shadow: 0 2px 10px rgba(0, 103, 56, .08); }
.awacc .awacc-tile .awacc-ico { color: var(--aw-green); width: 22px; height: 22px; }
.awacc .awacc-tile strong { font-size: 14px; }
.awacc .awacc-tile span { font-size: 12px; color: var(--aw-muted); }

/* ---------------- orders ---------------- */
.awacc .awacc-order-list { list-style: none; margin: 0; padding: 0; }
.awacc .awacc-order { padding: 18px 0; border-top: 1px solid var(--aw-border-soft); }
.awacc .awacc-order:first-child { border-top: 0; padding-top: 0; }
.awacc .awacc-order-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 12px; }
.awacc .awacc-order-no { font-weight: 700; font-size: 15px; text-decoration: none; color: var(--aw-text) !important; }
.awacc .awacc-order-no:hover { color: var(--aw-green) !important; }
.awacc .awacc-order-total { margin-left: auto; font-weight: 700; display: inline-flex; gap: 8px; align-items: baseline; }
.awacc .awacc-order-total .awacc-muted { font-size: 12px; }
.awacc .awacc-order-body { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.awacc .awacc-order-items { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1 1 320px; }
.awacc .awacc-order-item { display: flex; align-items: center; gap: 10px; font-size: 13px; min-width: 0; }
.awacc .awacc-order-item img, .awacc .awacc-thumb-ph {
	width: 40px !important; height: 40px !important; object-fit: contain; border: 1px solid var(--aw-border-soft); border-radius: 6px; background: #fff; flex: 0 0 40px;
}
.awacc .awacc-order-item-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.awacc .awacc-order-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.awacc .awacc-pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--aw-border-soft); }
.awacc .awacc-empty { text-align: center; padding: 20px 0; }

/* single order */
.awacc .awacc-steps { list-style: none; display: flex; margin: 4px 0 20px; padding: 0; counter-reset: s; }
.awacc .awacc-steps li {
	flex: 1; position: relative; padding-top: 30px; text-align: center; font-size: 12px; color: var(--aw-muted); counter-increment: s;
}
.awacc .awacc-steps li::before {
	content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 1;
	width: 22px; height: 22px; line-height: 22px; border-radius: 50%; background: var(--aw-border-soft); color: var(--aw-muted); font-weight: 700; font-size: 11px;
}
.awacc .awacc-steps li::after {
	content: ""; position: absolute; top: 10px; left: -50%; width: 100%; height: 2px; background: var(--aw-border-soft);
}
.awacc .awacc-steps li:first-child::after { display: none; }
.awacc .awacc-steps li.is-done { color: var(--aw-text); font-weight: 600; }
.awacc .awacc-steps li.is-done::before { content: "✓"; background: var(--aw-green); color: #fff; }
.awacc .awacc-steps li.is-done::after { background: var(--aw-green); }
.awacc .awacc-order-view .awacc-order-actions { justify-content: flex-start; }

.awacc .awacc-shipments { list-style: none; margin: 12px 0 0; padding: 0; }
.awacc .awacc-shipment {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 14px 16px; border: 1px solid var(--aw-border-soft); border-radius: 8px; margin-top: 10px; background: var(--aw-panel);
}
.awacc .awacc-shipment strong { margin-right: 8px; }
.awacc .awacc-shipment-items { margin: 6px 0 0; font-size: 12px; color: var(--aw-muted); }
.awacc .awacc-notes { list-style: none; margin: 12px 0 0; padding: 0; }
.awacc .awacc-notes li { padding: 10px 0; border-top: 1px solid var(--aw-border-soft); font-size: 14px; }
.awacc .awacc-notes li:first-child { border-top: 0; }
.awacc .awacc-notes p { margin: 4px 0 0; }

/* WooCommerce order-details table inside our card */
.awacc .awacc-order-details .woocommerce-order-details,
.awacc .awacc-order-details .woocommerce-customer-details { margin: 0 0 20px; }
.awacc .awacc-order-details table.shop_table { width: 100%; border: 0 !important; border-collapse: collapse; margin: 12px 0 0; }
.awacc .awacc-order-details table.shop_table th,
.awacc .awacc-order-details table.shop_table td {
	padding: 10px 0 !important; border: 0 !important; border-top: 1px solid var(--aw-border-soft) !important;
	background: transparent !important; font-size: 14px; text-align: left; vertical-align: top;
}
.awacc .awacc-order-details table.shop_table td:last-child,
.awacc .awacc-order-details table.shop_table th:last-child { text-align: right; }
.awacc .awacc-order-details table.shop_table thead th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--aw-muted); border-top: 0 !important; }
.awacc .awacc-order-details table.shop_table tfoot tr:last-child td,
.awacc .awacc-order-details table.shop_table tfoot tr:last-child th { font-weight: 700; font-size: 16px; }
.awacc .awacc-line-again { display: inline-block; margin-left: 10px; font-size: 12px; text-decoration: underline; }
.awacc .awacc-order-details address { font-style: normal; line-height: 1.6; padding: 14px 16px; border: 1px solid var(--aw-border-soft); border-radius: 8px; }
.awacc .awacc-order-details .woocommerce-columns--addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.awacc .awacc-order-details .woocommerce-column { width: auto !important; float: none !important; }

/* ---------------- garage ---------------- */
.awacc .awacc-cars { list-style: none; margin: 0; padding: 0; }
.awacc .awacc-car {
	display: flex; justify-content: space-between; gap: 20px; padding: 18px; margin-top: 12px;
	border: 1px solid var(--aw-border-soft); border-radius: var(--aw-radius);
}
.awacc .awacc-car:first-child { margin-top: 0; }
.awacc .awacc-car.is-default { border-color: var(--aw-green); box-shadow: inset 3px 0 0 var(--aw-green); }
.awacc .awacc-car-name { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.awacc .awacc-car .awacc-car-ids { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; font-size: 13px; color: var(--aw-muted); }
.awacc .awacc-car .awacc-car-ids .awacc-mono { color: var(--aw-text); }
.awacc .awacc-car-notes { margin: 8px 0 0; font-size: 13px; color: var(--aw-muted); }
.awacc .awacc-car-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; min-width: 170px; }

/* ---------------- forms (garage + stock WC account forms) ---------------- */
.awacc .awacc-vin-box { padding: 16px; margin-bottom: 18px; background: var(--aw-panel); border-radius: var(--aw-radius); }
.awacc .awacc-vin-box label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.awacc .awacc-vin-row { display: flex; gap: 8px; }
.awacc .awacc-vin-row input { flex: 1; font-family: ui-monospace, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.awacc .awacc-vin-result { margin-top: 10px; font-size: 13px; padding: 10px 12px; border-radius: 6px; background: #fff; }
.awacc .awacc-vin-result.is-ok { color: var(--aw-green); border: 1px solid #cfe5d8; }
.awacc .awacc-vin-result.is-error { color: #9b2c1f; border: 1px solid #f1c7c2; }
.awacc .awacc-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 14px; }
.awacc .awacc-field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.awacc .awacc-field--wide { grid-column: 1 / -1; }
.awacc .awacc-field[hidden] { display: none; }
.awacc .awacc-field label { font-size: 13px; font-weight: 600; margin: 0; }
.awacc .awacc-form input[type="text"],
.awacc .awacc-form input[type="number"],
.awacc .awacc-form select,
.awacc .awacc-form textarea,
.awacc .woocommerce-MyAccount-content input.input-text,
.awacc .woocommerce-MyAccount-content select,
.awacc .woocommerce-MyAccount-content textarea {
	width: 100%; min-height: 44px; padding: 10px 12px; font-size: 15px; color: var(--aw-text); background: #fff;
	border: 1px solid var(--aw-border) !important; border-radius: var(--aw-field-radius) !important; box-shadow: none; box-sizing: border-box;
}
.awacc .awacc-form textarea { min-height: 84px; }
.awacc .awacc-form input:focus, .awacc .awacc-form select:focus, .awacc .awacc-form textarea:focus,
.awacc .woocommerce-MyAccount-content input.input-text:focus { border-color: var(--aw-green) !important; box-shadow: 0 0 0 1px var(--aw-green); outline: none; }
.awacc .awacc-form-actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; }

/* stock WC pages we haven't replaced yet (Addresses, Account details) */
.awacc .woocommerce-MyAccount-content > p,
.awacc .woocommerce-MyAccount-content > form,
.awacc .woocommerce-MyAccount-content > .woocommerce-Addresses,
.awacc .woocommerce-MyAccount-content > .woocommerce-notices-wrapper:not(:empty) {
	background: #fff; border: 1px solid var(--aw-border-soft); border-radius: var(--aw-radius); padding: 22px 24px; margin: 0;
}
.awacc .woocommerce-MyAccount-content > .woocommerce-notices-wrapper:empty { display: none; }
.awacc .woocommerce-Addresses { display: grid !important; grid-template-columns: 1fr 1fr; gap: 20px; }
.awacc .woocommerce-Addresses::before, .awacc .woocommerce-Addresses::after { display: none !important; }
.awacc .woocommerce-Address { width: auto !important; float: none !important; }
.awacc .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; }
.awacc .woocommerce-Address address { font-style: normal; line-height: 1.6; }
.awacc .woocommerce-MyAccount-content .form-row { margin: 0 0 14px; padding: 0; }
.awacc .woocommerce-MyAccount-content .form-row label { font-size: 13px; font-weight: 600; margin-bottom: 6px; display: block; }
.awacc .woocommerce-MyAccount-content button.button,
.awacc .woocommerce-MyAccount-content .button {
	background: var(--aw-green) !important; color: #fff !important; border: 0 !important; border-radius: var(--aw-field-radius) !important;
	font-family: var(--aw-title-font); font-size: 12px !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 12px 18px !important;
}
.awacc .woocommerce-MyAccount-content fieldset { border: 1px solid var(--aw-border-soft); border-radius: var(--aw-radius); padding: 16px; margin: 10px 0 16px; }
.awacc .woocommerce-MyAccount-content fieldset legend { font-family: var(--aw-title-font); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 0 6px; }

/* ---------------- responsive ---------------- */
@media (max-width: 1000px) {
	.awacc .awacc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.awacc .awacc-mini-orders li { grid-template-columns: 1fr auto; }
	.awacc .awacc-mini-orders li > :nth-child(2),
	.awacc .awacc-mini-orders li > :nth-child(3) { display: none; }
}
@media (max-width: 860px) {
	.awacc .awacc-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.awacc .awacc-nav { position: static; padding: 6px !important; }
	.awacc .awacc-nav ul { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; }
	.awacc .awacc-nav li a { white-space: nowrap; padding: 9px 12px; }
	.awacc .awacc-nav li.woocommerce-MyAccount-navigation-link--customer-logout { border-top: 0 !important; margin: 0; padding: 0; }
	.awacc .awacc-nav-help { display: none; }
	.awacc .awacc-car-hero, .awacc .awacc-car, .awacc .awacc-shipment { flex-direction: column; align-items: stretch; }
	.awacc .awacc-car-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
	.awacc .awacc-fields { grid-template-columns: 1fr 1fr; }
	.awacc .awacc-card { padding: 18px 16px; }
	.awacc .awacc-order-actions { justify-content: flex-start; }
	.awacc .woocommerce-Addresses,
	.awacc .awacc-order-details .woocommerce-columns--addresses { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.awacc .awacc-fields { grid-template-columns: 1fr; }
	.awacc .awacc-tiles { grid-template-columns: 1fr 1fr; }
	.awacc .awacc-head { flex-direction: column; align-items: flex-start; }
}

/* ---------------- trade (B2B) ---------------- */
.awacc .awacc-trade-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.awacc .awacc-stat { display: flex; flex-direction: column; gap: 8px; }
.awacc .awacc-stat p { margin: 0; font-size: 13px; }
.awacc .awacc-stat-big { font-family: var(--aw-title-font); font-size: 20px !important; font-weight: 700; color: var(--aw-text); }
.awacc .awacc-stat-links { display: flex; flex-wrap: wrap; gap: 8px; }
.awacc .awacc-trade-pitch p { margin: 10px 0 16px; max-width: 560px; }

.awacc .awacc-table { width: 100%; border-collapse: collapse; border: 0 !important; margin: 0; }
.awacc .awacc-table th,
.awacc .awacc-table td {
	padding: 12px 10px 12px 0 !important; border: 0 !important; border-top: 1px solid var(--aw-border-soft) !important;
	background: transparent !important; font-size: 14px; text-align: left; vertical-align: middle;
}
.awacc .awacc-table thead th { border-top: 0 !important; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--aw-muted); font-weight: 700; }
.awacc .awacc-table td a { font-weight: 600; text-decoration: none; color: var(--aw-text) !important; }
.awacc .awacc-table td a:hover { color: var(--aw-green) !important; text-decoration: underline; }
.awacc .awacc-table .awacc-muted.awacc-mono { font-size: 12px; margin-top: 2px; }
.awacc .awacc-right { text-align: right !important; white-space: nowrap; }

.awacc .awacc-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0; }
.awacc .awacc-dl div { border-top: 1px solid var(--aw-border-soft); padding-top: 10px; }
.awacc .awacc-dl dt { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--aw-muted); margin: 0 0 3px; }
.awacc .awacc-dl dd { margin: 0; font-size: 14px; }

.awacc .awacc-qo textarea { min-height: 200px; font-size: 14px; }
.awacc .awacc-qo .awacc-field + .awacc-field { margin-top: 14px; }
.awacc .awacc-qo-table tr.is-off td { opacity: .7; }
.awacc .awacc-qo-table .awacc-chip { margin-top: 4px; font-size: 11px; }
.awacc .awacc-qo-note { font-size: 12px; color: #1f5fae; margin-top: 3px; }
.awacc .awacc-qo-table input.awacc-qty { width: 72px; min-height: 36px; padding: 6px 8px; border: 1px solid var(--aw-border); border-radius: 6px; }
.awacc .awacc-qo-table input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--aw-green); }

@media (max-width: 860px) {
	.awacc .awacc-trade-grid { grid-template-columns: 1fr; }
	.awacc .awacc-dl { grid-template-columns: 1fr; }
	.awacc .awacc-table thead { display: none; }
	.awacc .awacc-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-top: 1px solid var(--aw-border-soft); }
	.awacc .awacc-table td { border: 0 !important; padding: 0 !important; }
	.awacc .awacc-qo-table tr { grid-template-columns: 28px 1fr auto; }
}
.awacc .awacc-po { display: inline-block; padding: 2px 8px; border: 1px solid var(--aw-border); border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--aw-text); font-family: ui-monospace, Menlo, monospace; }
.awacc .awacc-car-tag {
	display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px;
	background: #f1f3f5; color: var(--aw-text) !important; font-size: 12px; font-weight: 600; text-decoration: none;
}
.awacc a.awacc-car-tag:hover { background: var(--aw-green-bg); color: var(--aw-green) !important; }
.awacc .awacc-car-tag::before { content: ""; width: 14px; height: 14px; background: currentColor; opacity: .7;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.92 6.01A1.5 1.5 0 0 0 17.5 5h-11a1.5 1.5 0 0 0-1.42 1.01L3 12v8a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-1h12v1a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-8l-2.08-5.99ZM6.5 16a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm11 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3ZM5 11l1.5-4.5h11L19 11H5Z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.92 6.01A1.5 1.5 0 0 0 17.5 5h-11a1.5 1.5 0 0 0-1.42 1.01L3 12v8a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-1h12v1a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-8l-2.08-5.99ZM6.5 16a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm11 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3ZM5 11l1.5-4.5h11L19 11H5Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.awacc .awacc-filter { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; }
.awacc .awacc-car-orders { margin: 8px 0 0; font-size: 13px; }
.awacc .awacc-car-orders a { font-weight: 600; }

/* ---------------- address book ---------------- */
.awacc .awacc-address { font-style: normal; line-height: 1.6; font-size: 14px; margin: 0; }
.awacc .awacc-addresses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.awacc .awacc-address-card { border: 1px solid var(--aw-border-soft); border-radius: var(--aw-radius); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.awacc .awacc-address-card.is-default { border-color: var(--aw-green); box-shadow: inset 3px 0 0 var(--aw-green); }
.awacc .awacc-address-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.awacc .awacc-address-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: auto; padding-top: 6px; }
.awacc .awacc-address-fields { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
.awacc .awacc-address-fields .form-row { grid-column: 1 / -1; width: auto !important; float: none !important; }
.awacc .awacc-address-fields .form-row-first { grid-column: 1 / 2; }
.awacc .awacc-address-fields .form-row-last { grid-column: 2 / -1; }
.awacc .awacc-address-form .form-row label { font-size: 13px; font-weight: 600; margin-bottom: 6px; display: block; }
.awacc .awacc-address-form .select2-container { width: 100% !important; }
.awacc .awacc-address-form .select2-container .select2-selection--single { height: 44px; border: 1px solid var(--aw-border); border-radius: var(--aw-field-radius); }
.awacc .awacc-address-form .select2-container .select2-selection__rendered { line-height: 42px; }
.awacc .awacc-address-form .select2-container .select2-selection__arrow { height: 42px; }
@media (max-width: 860px) {
	.awacc .awacc-addresses { grid-template-columns: 1fr; }
	.awacc .awacc-address-fields { grid-template-columns: 1fr; }
	.awacc .awacc-address-fields .form-row-first, .awacc .awacc-address-fields .form-row-last { grid-column: 1 / -1; }
}

/* ---------------- saved parts ---------------- */
.awacc .awacc-sp-list { list-style: none; margin: 0; padding: 0; }
.awacc .awacc-sp-item {
	display: grid; grid-template-columns: 72px minmax(0, 1fr) 130px 190px; gap: 16px; align-items: center;
	padding: 16px 0; border-top: 1px solid var(--aw-border-soft); margin: 0;
}
.awacc .awacc-sp-item:first-child { border-top: 0; }
.awacc .awacc-sp-img img { width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--aw-border-soft); border-radius: 6px; background: #fff; display: block; }
.awacc .awacc-sp-name { font-weight: 600; color: var(--aw-text) !important; text-decoration: none; line-height: 1.35; }
.awacc .awacc-sp-name:hover { color: var(--aw-green) !important; text-decoration: underline; }
.awacc .awacc-sp-main .awacc-mono { font-size: 12px; margin: 2px 0 6px; }
.awacc .awacc-sp-avail { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.awacc .awacc-sp-avail .awacc-chip { white-space: normal; }
.awacc .awacc-sp-avail .awacc-sp-note { margin: 0; }
.awacc .awacc-sp-alert { color: #1f5fae; font-weight: 600; }
.awacc .awacc-sp-alert::before { content: "\1F514\00a0"; }
.awacc .awacc-sp-note { display: block; font-size: 12px; margin-top: 6px; }
.awacc .awacc-sp-price { font-weight: 600; text-align: right; }
.awacc .awacc-sp-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.awacc .awacc-sp-actions form { margin: 0; }
.awacc .awacc-sp-actions .awacc-btn { white-space: nowrap; }
@media (max-width: 860px) {
	.awacc .awacc-sp-item { grid-template-columns: 64px minmax(0, 1fr); }
	.awacc .awacc-sp-img img { width: 64px; height: 64px; }
	.awacc .awacc-sp-price { grid-column: 2; text-align: left; }
	.awacc .awacc-sp-actions { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------------- sign in / create account / password screens (logged out) ---------------- */
.awacc.awacc-auth { padding: 8px 0 40px; }
.awacc .awacc-auth-head { margin: 0 0 22px; padding: 4px 0 16px; border-bottom: 1px solid var(--aw-border-soft); }
.awacc .awacc-auth-context { margin: 6px 0 0; color: var(--aw-green); font-weight: 600; }
.awacc .awacc-auth-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: start; }
.awacc .awacc-auth-grid--single { grid-template-columns: minmax(0, 520px); }
.awacc.awacc-auth--narrow { max-width: 560px; }
.awacc.awacc-auth--narrow .awacc-head-title { margin-bottom: 14px !important; }
.awacc-auth .awacc-card-title { margin: 0 0 16px !important; }
.awacc-auth form { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.awacc-auth .form-row { display: block; margin: 0 0 14px !important; padding: 0 !important; float: none !important; width: auto !important; }
.awacc-auth label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--aw-text); }
.awacc-auth .required { color: #9b2c1f; border: 0; text-decoration: none; }
.awacc-auth input.input-text,
.awacc-auth input[type="text"], .awacc-auth input[type="email"], .awacc-auth input[type="password"], .awacc-auth input[type="number"], .awacc-auth input[type="tel"],
.awacc-auth select, .awacc-auth textarea {
	width: 100% !important; box-sizing: border-box; height: 46px !important; padding: 0 12px !important; margin: 0 !important;
	border: 1px solid var(--aw-border) !important; border-radius: var(--aw-field-radius) !important; background: #fff !important;
	font-size: 15px !important; color: var(--aw-text) !important; box-shadow: none !important;
}
.awacc-auth textarea { height: 80px !important; padding: 10px 12px !important; }
.awacc-auth input:focus, .awacc-auth select:focus, .awacc-auth textarea:focus { border-color: var(--aw-green) !important; outline: 2px solid rgba(0, 103, 56, .15); outline-offset: 0; }
.awacc-auth input[type="file"] { height: auto !important; padding: 10px !important; background: var(--aw-panel) !important; font-size: 13px !important; }
/* Avada's critical CSS zeroes checkbox height (same bug as checkout) */
.awacc-auth input[type="checkbox"] { width: 16px !important; height: 16px !important; margin: 0 8px 0 0 !important; vertical-align: -3px; appearance: auto !important; -webkit-appearance: checkbox !important; opacity: 1 !important; position: static !important; }
.awacc-auth .awacc-auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 2px 0 16px; font-size: 14px; }
.awacc-auth .awacc-auth-row label { display: inline-flex; align-items: center; margin: 0; font-weight: 400; }
.awacc .awacc-btn--block { display: flex !important; width: 100% !important; justify-content: center; }
.awacc-auth .awacc-auth-help { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--aw-border-soft); font-size: 13px; line-height: 1.5; }
.awacc-auth .awacc-auth-note { margin: -4px 0 14px; font-size: 13px; }
.awacc-auth .awacc-auth-perks { list-style: none; margin: 0 0 20px !important; padding: 14px 16px !important; background: var(--aw-green-bg); border-radius: 8px; }
.awacc-auth .awacc-auth-perks li { position: relative; margin: 0 0 6px; padding: 0 0 0 24px; font-size: 14px; line-height: 1.45; }
.awacc-auth .awacc-auth-perks li:last-child { margin-bottom: 0; }
.awacc-auth .awacc-auth-perks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 10px; height: 6px; border-left: 2px solid var(--aw-green); border-bottom: 2px solid var(--aw-green); transform: rotate(-45deg); }
/* Addify B2B registration fields */
.awacc-auth .afreg_extra_fields { margin: 0; padding: 0; border: 0; }
.awacc-auth .afreg_extra_fields h3 { margin: 22px 0 12px !important; padding-top: 16px; border-top: 1px solid var(--aw-border-soft); font-family: var(--aw-title-font); font-size: 12px !important; letter-spacing: .08em; text-transform: uppercase; color: var(--aw-muted); }
.awacc-auth .afreg_extra_fields h3:empty { display: none; }
.awacc-auth .afreg_extra_fields .form-row input[type="checkbox"] + .afreg_radios { display: inline; font-size: 14px; }
.awacc-auth .afreg_extra_fields .form-row input[type="checkbox"] { margin-top: 8px !important; }
.awacc-auth .afreg_extra_fields .form-row .afreg_radios::after { content: ""; display: block; }
.awacc-auth .woocommerce-privacy-policy-text p { font-size: 12px; color: var(--aw-muted); margin: 4px 0 14px; }
@media (max-width: 860px) {
	.awacc .awacc-auth-grid { grid-template-columns: minmax(0, 1fr); }
}
.awacc.awacc-auth .afreg_extra_fields input.input-text:not([type="file"]),
.awacc.awacc-auth .afreg_extra_fields select,
.awacc.awacc-auth #afreg_select_user_role { height: 46px !important; min-height: 46px !important; }
/* WooCommerce's own submit buttons on the password screens + ours: portal button, not Avada's red pill */
.awacc.awacc-auth button[type="submit"] {
	display: inline-flex !important; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px !important;
	border-radius: var(--aw-field-radius) !important; background: var(--aw-green) !important; border: 1px solid var(--aw-green) !important; color: #fff !important;
	font-family: var(--aw-title-font); font-size: 12px !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; box-shadow: none !important;
}
.awacc.awacc-auth button[type="submit"]:hover { background: var(--aw-green-dark) !important; }
.awacc.awacc-auth--narrow { margin-top: 24px; }
.awacc.awacc-auth--narrow form > p:first-child { margin: 0 0 16px; color: var(--aw-muted); font-size: 14px; }
