/* Attribute Swatches for WooCommerce - header cart icon, side-drawer cart and toast */

/* Keep every plugin button and button-style control consistently pill-shaped. */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.button,
.wcas-cart-btn,
.wcas-qc-done__btn,
.wcas-shop-card-cart,
.wcas-shop-card-quote,
.wcas-quote-btn {
	border-radius: 150px !important;
}

/* ---------- Header icon ([wcas_cart_icon]) ---------- */

.wcas-cart-shell {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
}

.wcas-cart-link {
	position: relative;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1.5px solid #0A3D5A;
	border-radius: 50%;
	background: transparent;
	color: #0A3D5A;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.wcas-cart-link:hover {
	background: #0A3D5A;
	color: #ffffff;
}

.wcas-cart-link:hover .wcas-cart-count {
	background: #ffffff;
	color: #0A3D5A;
	box-shadow: 0 0 0 2px #0A3D5A;
}

.wcas-cart-link:active {
	transform: scale(0.94);
}

.wcas-cart-link:focus-visible {
	outline: 2px solid #0A3D5A;
	outline-offset: 2px;
}

.wcas-cart-link .wcas-icon {
	width: 24px;
	height: 24px;
}

/* ---------- Account icon ([wcas_account_icon]) ---------- */

.wcas-account-shell {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
}

.wcas-account-link {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1.5px solid #0A3D5A;
	border-radius: 50%;
	background: transparent;
	color: #0A3D5A;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.wcas-account-link:hover {
	background: #0A3D5A;
	color: #ffffff;
}

.wcas-account-link:active {
	transform: scale(0.94);
}

.wcas-account-link:focus-visible {
	outline: 2px solid #0A3D5A;
	outline-offset: 2px;
}

.wcas-account-link .wcas-icon {
	width: 24px;
	height: 24px;
}

.wcas-account-initial {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1;
}

/* ---------- Account drawer ([wcas_account_icon]) ---------- */

.wcas-account-drawer {
	position: fixed;
	inset: 0;
	z-index: 100001;
	visibility: hidden;
	pointer-events: none;
	transition: visibility 0s linear 0.38s;
}

.wcas-account-drawer.is-open {
	visibility: visible;
	pointer-events: auto;
	transition: visibility 0s linear 0s;
}

.wcas-account-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(7, 28, 42, 0.42);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.wcas-account-drawer.is-open .wcas-account-drawer__backdrop {
	opacity: 1;
}

.wcas-account-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: min(430px, 100%);
	height: 100%;
	overflow: hidden;
	background: #fff;
	box-shadow: -24px 0 60px rgba(7, 28, 42, 0.18);
	transform: translateX(100%);
	transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
	outline: none;
}

.wcas-account-drawer.is-open .wcas-account-drawer__panel {
	transform: translateX(0);
}

html.wcas-account-open {
	overflow: hidden;
}

.wcas-account-drawer__head,
.wcas-account-drawer__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 30px 40px;
	border-bottom: 1px solid #e6eef3;
}

.wcas-account-drawer__head h2 {
	margin: 2px 0 0;
	color: #0f2a3a;
	font-size: 20px;
}

.wcas-account-drawer__eyebrow {
	margin: 0;
	color: #6b8190;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.wcas-account-drawer__close {
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #f1f5f8;
	color: #0a3d5a;
	font-size: 30px;
	font-family: Arial, sans-serif;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
}

.wcas-account-drawer__close:hover,
.wcas-account-drawer__close:focus-visible {
	background: #e7eef3;
	color: #082f48;
}

.wcas-account-drawer__close:focus-visible,
.wcas-account-drawer__foot-close:focus-visible {
	outline: 2px solid #0a3d5a;
	outline-offset: 3px;
}

.wcas-account-drawer__tabs {
	display: flex;
	gap: 6px;
	padding: 12px 22px 0;
	border-bottom: 1px solid #e6eef3;
}

.wcas-account-drawer__tabs button {
	padding: 10px 12px;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0 !important;
	background: transparent;
	color: #6b8190;
	cursor: pointer;
	font-weight: 600;
}

.wcas-account-drawer__tabs button[aria-selected="true"] {
	border-bottom-color: #0a3d5a;
	color: #0a3d5a;
}

.wcas-account-drawer__body {
	flex: 1 1 auto;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 32px 40px;
	box-sizing: border-box;
}

.wcas-account-field {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 13px 0;
	border-bottom: 1px solid #edf2f5;
}

.wcas-account-field span,
.wcas-account-order span {
	color: #6b8190;
	font-size: 12px;
}

.wcas-account-field strong {
	color: #0f2a3a;
	font-size: 15px;
}

.wcas-account-drawer .wcas-icon {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.wcas-account-form__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 0 14px;
}

.wcas-account-form .wcas-account-field {
	padding: 0 0 14px;
	border-bottom: 0;
}

.wcas-account-form .wcas-account-field--full {
	grid-column: 1 / -1;
}

.wcas-account-form .wcas-account-field input {
	box-sizing: border-box;
	min-width: 0;
	max-width: 100%;
	width: 100%;
	min-height: 44px;
	padding: 9px 11px;
	border: 1px solid #d5e1e8;
	border-radius: 8px;
	background: #fff;
	color: #0f2a3a;
	font: inherit;
}

.wcas-account-form .wcas-account-field input:focus {
	border-color: #0a3d5a;
	outline: 0;
	box-shadow: 0 0 0 3px rgba(10, 61, 90, .12);
}

.wcas-account-save,
.wcas-account-drawer__action {
	display: block;
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #0a3d5a;
	border-radius: 8px;
	background: #fff;
	color: #0a3d5a;
	font: inherit;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.wcas-account-save,
.wcas-account-drawer__action--primary {
	background: #0a3d5a;
	color: #fff;
}

.wcas-account-save:disabled {
	opacity: .6;
	cursor: wait;
}

.wcas-account-form__status {
	margin: 12px 0 0;
	font-size: 13px;
	font-weight: 600;
}

.wcas-account-form__status.is-success { color: #1f7a3a; }
.wcas-account-form__status.is-error { color: #a52c2c; }

.wcas-account-drawer__guest h3 {
	margin: 0 0 8px;
	color: #0f2a3a;
	font-size: 22px;
}

.wcas-account-drawer__guest p {
	margin: 0 0 22px;
	color: #6b8190;
	line-height: 1.55;
}

.wcas-account-drawer__guest .wcas-account-drawer__action + .wcas-account-drawer__action {
	margin-top: 12px;
}

.wcas-account-auth-form[hidden],
.wcas-account-auth-choice[hidden] {
	display: none;
}

.wcas-account-auth-form h3 {
	margin: 0 0 22px;
	color: #0f2a3a;
	font-size: 22px;
}

.wcas-account-auth-form .wcas-account-field {
	padding: 0;
	margin: 0 0 16px;
	border: 0;
}

.wcas-account-auth-form .wcas-account-field input {
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
}

.wcas-account-auth-back {
	display: block;
	margin: 16px auto 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #0a3d5a;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

[data-wcas-account-toast] {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 100010;
	max-width: min(360px, calc(100vw - 48px));
	padding: 14px 18px;
	border-radius: 8px;
	background: #0a3d5a;
	box-shadow: 0 8px 24px rgba(7, 28, 42, .2);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	opacity: 0;
	pointer-events: none;
	transform: translateY(12px);
	transition: opacity .2s ease, transform .2s ease;
}

[data-wcas-account-toast].is-visible {
	opacity: 1;
	transform: translateY(0);
}

.wcas-account-order {
	display: grid;
	gap: 8px;
	margin-bottom: 12px;
	padding: 15px;
	border: 1px solid #e1ebf0;
	border-radius: 10px;
	background: #f8fafb;
}

.wcas-account-order > div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.wcas-account-order a {
	color: #0a3d5a;
	font-size: 13px;
	font-weight: 600;
}

.wcas-account-order__product,
.wcas-account-quote-item {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.wcas-account-product-thumb {
	display: block;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	border: 1px solid #e1ebf0;
	border-radius: 6px;
	background: #fff;
	object-fit: contain;
}

.wcas-account-order__product > span,
.wcas-account-quote-item > span {
	min-width: 0;
}

.wcas-account-item-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 5px;
}

.wcas-account-item-chips .wcas-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 6px;
	border: 1px solid #dfe8ed;
	border-radius: 999px;
	background: #f8fafb;
	font-size: 10px;
	line-height: 15px;
}

.wcas-account-item-chips .wcas-chip__swatch {
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--wcas-chip-color, #e2e8f0);
}

.wcas-account-item-chips .wcas-chip__swatch img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wcas-account-empty {
	color: #6b8190;
}

.wcas-account-drawer .wcas-qc-table-wrap {
	overflow-x: auto;
	margin: 0;
}

.wcas-account-drawer .wcas-qc-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 12px;
}

.wcas-account-drawer .wcas-qc-table th,
.wcas-account-drawer .wcas-qc-table td {
	padding: 9px 6px;
	border-bottom: 1px solid #e6eef3;
	text-align: left;
	vertical-align: top;
}

.wcas-account-drawer .wcas-qc-table th {
	color: #6b8190;
	font-size: 11px;
	text-transform: uppercase;
}

.wcas-account-drawer .wcas-qc-status {
	display: inline-block;
	padding: 3px 7px;
	border-radius: 999px;
	background: #e6f0fb;
	color: #1d4f91;
	font-size: 11px;
	font-weight: 600;
}

.wcas-account-drawer__foot {
	border-top: 1px solid #e6eef3;
	border-bottom: 0;
	padding-top: 24px;
	padding-bottom: 24px;
}

.wcas-account-drawer__foot {
	justify-content: center;
}

/* Log out: a full-width outlined button. */
.wcas-account-drawer__foot .wcas-account-drawer__logout {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 50px;
	padding: 0 20px;
	border: 1.5px solid #a52c2c;
	border-radius: 10px;
	background: #ffffff;
	color: #a52c2c;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.wcas-account-drawer__foot .wcas-account-drawer__logout:hover {
	background: #fdf2f2;
	border-color: #7f1d1d;
	color: #7f1d1d;
}

.wcas-account-drawer__foot .wcas-account-drawer__logout:focus-visible {
	outline: 2px solid #a52c2c;
	outline-offset: 3px;
}

.wcas-account-drawer__foot-close {
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #4b4b4b;
	font: inherit;
	font-size: 18px;
	line-height: 1.2;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.wcas-account-drawer__foot-close:hover {
	background: transparent;
	color: #0f2a3a;
}

@media (max-width: 520px) {
	.wcas-account-drawer__head,
	.wcas-account-drawer__foot {
		padding-right: 24px;
		padding-left: 24px;
	}

	.wcas-account-drawer__body {
		padding-right: 24px;
		padding-left: 24px;
	}

	.wcas-account-form__grid {
		grid-template-columns: 1fr;
	}

	.wcas-account-form .wcas-account-field--full {
		grid-column: auto;
	}
}

.wcas-cart-count {
	position: absolute;
	top: 3px;
	right: 2px;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: #0A3D5A;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 0 0 2px #ffffff;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.wcas-cart-count.is-zero {
	background: #7d97a8;
}

.wcas-cart-count.is-bumped {
	animation: wcas-cart-bump 0.6s cubic-bezier(0.3, 1.4, 0.5, 1);
}

@keyframes wcas-cart-bump {
	0% { transform: scale(1); }
	35% { transform: scale(1.35); }
	70% { transform: scale(0.92); }
	100% { transform: scale(1); }
}

/* ---------- Drawer ---------- */

.wcas-cart-drawer {
	position: fixed;
	inset: 0;
	z-index: 100000;
	visibility: hidden;
	pointer-events: none;
	font-family: inherit;
	color: #0f2a3a;
	/* Stay visible until the slide-out has finished, then hide. */
	transition: visibility 0s linear 0.38s;
}

.wcas-cart-drawer.is-open {
	visibility: visible;
	pointer-events: auto;
	transition: visibility 0s linear 0s;
}

.wcas-cart-linkbtn {
	padding: 0;
	border: 0;
	background: none;
	color: #0A3D5A;
	text-decoration: underline;
	font-size: 13px;
	cursor: pointer;
}

.wcas-cart-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(7, 28, 42, 0.42);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.wcas-cart-drawer.is-open .wcas-cart-drawer__backdrop {
	opacity: 1;
}

.wcas-cart-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: min(430px, 100%);
	height: 100%;
	max-height: 100vh;
	max-height: 100dvh;
	background: #ffffff;
	box-shadow: -24px 0 60px rgba(7, 28, 42, 0.18);
	transform: translateX(100%);
	transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
	outline: none;
}

.wcas-cart-drawer.is-open .wcas-cart-drawer__panel {
	transform: translateX(0);
}

html.wcas-cart-open {
	overflow: hidden;
	padding-right: var(--wcas-sbw, 0px);
}

.wcas-cart-drawer__head {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: calc(18px + env(safe-area-inset-top, 0px)) 22px 18px;
	border-bottom: 1px solid #e6eef3;
}

.wcas-cart-drawer__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 18px;
	font-weight: 650;
	letter-spacing: -0.01em;
	color: #0f2a3a;
}

.wcas-cart-drawer__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	padding: 0 8px;
	border-radius: 999px;
	background: #0A3D5A;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.wcas-cart-drawer__count.is-zero {
	background: #7d97a8;
}

.wcas-cart-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #f1f5f8;
	color: #0A3D5A;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.wcas-cart-drawer__close:hover {
	background: #e2ecf3;
}

.wcas-cart-drawer__close:focus-visible {
	outline: 2px solid #0A3D5A;
	outline-offset: 2px;
}

.wcas-cart-drawer .wcas-icon {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.wcas-cart-drawer__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding: 4px 22px;
}

/* ---------- Items ---------- */

.wcas-cart-items {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wcas-cart-item {
	position: relative;
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 14px;
	padding: 18px 28px 18px 0;
	border-bottom: 1px solid #eef3f6;
	transition: opacity 0.2s ease;
}

.wcas-cart-item:last-child {
	border-bottom: 0;
}

.wcas-cart-item.is-busy {
	opacity: 0.5;
	pointer-events: none;
}

.wcas-cart-item__thumb {
	display: block;
	width: 84px;
	height: 104px;
	overflow: hidden;
	border-radius: 12px;
	background: #f2f6f9;
}

.wcas-cart-item__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wcas-cart-item__info {
	min-width: 0;
}

.wcas-cart-item__name {
	display: block;
	margin-bottom: 4px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: #0f2a3a;
	text-decoration: none;
}

.wcas-cart-item__name:hover {
	color: #0A3D5A;
}

.wcas-cart-item__meta {
	font-size: 12.5px;
	line-height: 1.5;
	color: #64748b;
}

.wcas-cart-item__meta dl,
.wcas-cart-item__meta dd,
.wcas-cart-item__meta dt,
.wcas-cart-item__meta p {
	display: inline;
	margin: 0;
}

.wcas-cart-item__meta dt {
	font-weight: 600;
}

.wcas-cart-item__meta dt::after {
	content: " ";
}

.wcas-cart-item__meta dd + dt::before {
	content: " · ";
}

.wcas-cart-item__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 12px;
}

.wcas-cart-item__price {
	font-size: 14px;
	font-weight: 700;
	color: #0f2a3a;
	white-space: nowrap;
}

.wcas-cart-item__price .woocommerce-Price-amount {
	color: inherit;
}

.wcas-cart-item__remove {
	position: absolute;
	top: 14px;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #94a3b8;
	cursor: pointer;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.wcas-cart-item__remove:hover {
	background: #fdecec;
	color: #b91c1c;
}

.wcas-cart-item__remove:focus-visible {
	outline: 2px solid #0A3D5A;
	outline-offset: 1px;
}

/* Quantity stepper */
.wcas-qty {
	display: inline-flex;
	align-items: center;
	height: 34px;
	overflow: hidden;
	border: 1px solid #d5e2ea;
	border-radius: 999px;
	background: #ffffff;
}

.wcas-qty__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: #0A3D5A;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.wcas-qty__btn:hover:not(:disabled) {
	background: #eef4f8;
}

.wcas-qty__btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.wcas-qty__btn:focus-visible {
	outline: 2px solid #0A3D5A;
	outline-offset: -2px;
}

.wcas-qty__input {
	width: 64px;
	height: 100%;
	padding: 0 4px;
	border: 0;
	background: transparent;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	color: #0f2a3a;
	-moz-appearance: textfield;
}

.wcas-qty__input::-webkit-outer-spin-button,
.wcas-qty__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.wcas-qty__input:focus {
	outline: 2px solid #0A3D5A;
	outline-offset: -2px;
	border-radius: 999px;
}

/* ---------- Empty state ---------- */

.wcas-cart-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 56px 12px 40px;
	text-align: center;
}

.wcas-cart-empty__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 16px;
	border-radius: 999px;
	background: #eef4f8;
	color: #0A3D5A;
}

.wcas-cart-empty__icon .wcas-icon {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.wcas-cart-empty__title {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 650;
	color: #0f2a3a;
}

.wcas-cart-empty__text {
	margin: 0 0 22px;
	font-size: 14px;
	color: #64748b;
}

/* ---------- Footer ---------- */

.wcas-cart-drawer__foot {
	max-height: 62vh;
	overflow-y: auto;
	overscroll-behavior: contain;
	flex: 0 0 auto;
	padding: 18px 22px calc(18px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid #e6eef3;
	background: #ffffff;
}

/* Empty list: hide the footer, except the thank-you message after a request was sent */
.wcas-cart-drawer.is-empty:not(.is-sent) .wcas-cart-drawer__foot {
	display: none;
}

/* The views in the footer are switched with the hidden attribute */
.wcas-cart-drawer [hidden] {
	display: none !important;
}

.wcas-quote-view {
	margin: 0;
}

.wcas-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 12px;
	min-width: 0;
}

.wcas-field span {
	font-size: 12.5px;
	font-weight: 600;
	color: #0f2a3a;
}

.wcas-field input,
.wcas-field textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #cfdde6;
	border-radius: 12px;
	background: #ffffff;
	font: inherit;
	font-size: 15px;
	color: #0f2a3a;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wcas-field textarea {
	resize: vertical;
	min-height: 60px;
}

.wcas-field input:focus,
.wcas-field textarea:focus {
	outline: none;
	border-color: #0A3D5A;
	box-shadow: 0 0 0 3px rgba(10, 61, 90, 0.15);
}

.wcas-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.wcas-quote-error {
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 10px;
	background: #fdecec;
	color: #991b1b;
	font-size: 13px;
}

.wcas-quote-done {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.5;
	color: #0f2a3a;
}

.wcas-cart-btn[disabled] {
	opacity: 0.6;
	cursor: wait;
}

.wcas-cart-sub-unused {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	font-size: 15px;
	color: #0f2a3a;
}

.wcas-cart-sub strong {
	font-size: 18px;
	font-weight: 700;
}

.wcas-cart-note {
	margin: 6px 0 14px;
	font-size: 12px;
	color: #64748b;
}

.wcas-cart-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.wcas-cart-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 48px;
	padding: 0 18px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.wcas-cart-btn:active {
	transform: scale(0.98);
}

.wcas-cart-btn:focus-visible {
	outline: 2px solid #0A3D5A;
	outline-offset: 2px;
}

.wcas-cart-btn--primary {
	background: #0A3D5A;
	color: #ffffff;
}

.wcas-cart-btn--primary:hover {
	background: #072C42;
	color: #ffffff;
}

.wcas-cart-btn--ghost {
	background: #eef4f8;
	color: #0A3D5A;
}

.wcas-cart-btn--ghost:hover {
	background: #e2ecf3;
	color: #0A3D5A;
}

.wcas-cart-empty .wcas-cart-btn--primary {
	min-width: 180px;
}

/* ---------- Toast ---------- */

.wcas-toast {
	position: fixed;
	left: 50%;
	bottom: calc(24px + env(safe-area-inset-bottom, 0px));
	z-index: 100001;
	max-width: calc(100% - 32px);
	box-sizing: border-box;
	padding: 12px 18px;
	border-radius: 999px;
	background: #072C42;
	color: #ffffff;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	text-align: center;
	box-shadow: 0 16px 36px -12px rgba(7, 28, 42, 0.5);
	opacity: 0;
	transform: translate(-50%, 14px);
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.wcas-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

.wcas-toast.is-error {
	background: #a32121;
}

/* ---------- Search drawer ---------- */

.wcas-search-shell {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
}

.wcas-search-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1.5px solid #0A3D5A;
	border-radius: 50%;
	background: transparent;
	color: #0A3D5A;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.wcas-search-link:hover {
	background: #0A3D5A;
	color: #fff;
}

.wcas-search-link:active {
	transform: scale(0.94);
}

.wcas-search-link:focus-visible,
.wcas-search-input:focus-visible,
.wcas-search-submit:focus-visible,
.wcas-search-result:focus-visible,
.wcas-search-drawer__close:focus-visible {
	outline: 2px solid #0A3D5A;
	outline-offset: 2px;
}

.wcas-search-link .wcas-icon {
	width: 22px;
	height: 22px;
}

.wcas-search-drawer {
	position: fixed;
	inset: 0;
	z-index: 100000;
	visibility: hidden;
	pointer-events: none;
	overflow: hidden;
	transition: visibility 0s linear 0.28s;
}

.wcas-search-drawer.is-open {
	visibility: visible;
	pointer-events: auto;
	transition: visibility 0s linear 0s;
}

.wcas-search-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(7, 28, 42, 0.38);
	backdrop-filter: blur(2px);
	opacity: 0;
	transition: opacity 0.28s ease;
}

.wcas-search-drawer.is-open .wcas-search-drawer__backdrop {
	opacity: 1;
}

.wcas-search-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: min(100vw, 520px);
	height: 100%;
	max-width: 100vw;
	background: #fff;
	transform: translateX(100%);
	transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
	outline: none;
	overflow-x: hidden;
}

.wcas-search-drawer.is-open .wcas-search-drawer__panel {
	transform: translateX(0);
}

.wcas-search-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: calc(18px + env(safe-area-inset-top, 0px)) 22px 16px;
	border-bottom: 1px solid #e5edf3;
}

.wcas-search-drawer__title {
	margin: 0;
	font-size: 14px;
	letter-spacing: 0;
	text-transform: none;
	font-weight: 700;
	line-height: 1.3;
	color: #0f2a3a;
}

.wcas-search-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #f1f5f8;
	color: #0A3D5A;
	cursor: pointer;
}

.wcas-search-drawer__close .wcas-icon {
	width: 18px;
	height: 18px;
}

.wcas-search-drawer__body {
	flex: 1;
	padding: 18px 22px 22px;
	overflow-y: auto;
	overflow-x: hidden;
}

.wcas-search-field {
	position: relative;
	width: 100%;
	margin-bottom: 18px;
}

.wcas-search-input {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 46px;
	padding: 0 54px 0 0;
	border: 0;
	border-bottom: 2px solid #dfe8ef;
	border-radius: 0;
	background: transparent;
	font-size: 16px;
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: -0.03em;
	color: #0f2a3a;
	box-sizing: border-box;
}

.wcas-search-input::placeholder {
	color: #9aaab6;
}

.wcas-search-field__icon {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	color: #0A3D5A;
	pointer-events: none;
}

.wcas-search-field__icon .wcas-icon {
	width: 26px;
	height: 26px;
}

.wcas-search-results {
	margin-top: 8px;
}

.wcas-search-results__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wcas-search-result {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 18px;
	padding: 16px 0;
	border-bottom: 1px solid #eef3f6;
	color: inherit;
	text-decoration: none;
}

.wcas-search-result__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 92px;
	height: 92px;
	border-radius: 12px;
	overflow: hidden;
	background: #edf3f7;
	border: 1px solid #e5edf3;
}

.wcas-search-result__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wcas-search-result__placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #0A3D5A;
}

.wcas-search-result__placeholder .wcas-icon {
	width: 28px;
	height: 28px;
}

.wcas-search-result__info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.wcas-search-result__info strong {
	display: block;
	font-size: clamp(16px, 1.6vw, 20px);
	line-height: 1.28;
	font-weight: 700;
	color: #0f2a3a;
}

.wcas-search-result__info small {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6a7b87;
}

.wcas-search-empty {
	margin: 0;
	padding: 18px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: #6a7b87;
}

.wcas-search-submit {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 58px;
	margin-top: 18px;
	padding: 0 16px 0 0;
	border: 0;
	background: #eef3f8;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 600;
	color: #0f2a3a;
	cursor: pointer;
}

.wcas-search-submit span {
	font-size: 28px;
	line-height: 1;
	color: #0A3D5A;
}

.wcas-search-submit {
	padding-left: 16px;
}

/* ---------- Responsive ---------- */

@media (max-width: 480px) {
	.wcas-cart-drawer__head {
		padding-left: 18px;
		padding-right: 18px;
	}

	.wcas-cart-drawer__body {
		padding-left: 18px;
		padding-right: 18px;
	}

	.wcas-cart-drawer__foot {
		padding-left: 18px;
		padding-right: 18px;
	}

	.wcas-cart-item {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 12px;
	}

	.wcas-cart-item__thumb {
		width: 72px;
		height: 90px;
	}

	.wcas-cart-btn {
		min-height: 44px;
	}
}

/* ---------- Search bar (pill) and drawer polish ---------- */

.wcas-search-shell--bar {
	display: flex;
	width: 100%;
	max-width: var(--wcas-search-max, 560px);
	min-width: 0;
}

.wcas-search-bar {
	--wcas-search-accent: #0B57A4;
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-width: 0;
	height: 52px;
	margin: 0;
	padding: 0 6px 0 22px;
	border: 1px solid #dfe5ec;
	border-radius: 999px;
	background: #fff;
	color: #6b7280;
	font: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
	cursor: text;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.25s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.wcas-search-bar:hover,
.wcas-search-bar:focus,
.wcas-search-bar:active {
	background: #fff;
	color: #6b7280;
}

.wcas-search-bar:hover {
	border-color: #c4d0dc;
}

.wcas-search-bar:focus {
	outline: none;
}

.wcas-search-bar:focus-visible,
.wcas-search-bar.is-active {
	border-color: var(--wcas-search-accent);
}

.wcas-search-bar:focus-visible {
	outline: 2px solid var(--wcas-search-accent);
	outline-offset: 3px;
}

.wcas-search-bar.is-active {
	transform: scale(1.015);
}

.wcas-search-bar__text {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: opacity 0.25s ease;
}

.wcas-search-bar.is-active .wcas-search-bar__text {
	opacity: 0.55;
}

.wcas-search-bar__go {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--wcas-search-accent);
	color: #fff;
	transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wcas-search-bar:hover .wcas-search-bar__go {
	transform: scale(1.07);
}

.wcas-search-bar.is-active .wcas-search-bar__go {
	transform: scale(1.14) rotate(-10deg);
}

.wcas-search-bar__go .wcas-icon {
	width: 20px;
	height: 20px;
}

@media (max-width: 640px) {
	.wcas-search-shell--bar {
		width: auto;
		max-width: none;
	}

	.wcas-search-bar,
	.wcas-search-bar:hover,
	.wcas-search-bar:focus,
	.wcas-search-bar:active {
		width: 44px;
		height: 44px;
		gap: 0;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: transparent;
		justify-content: center;
	}

	.wcas-search-bar__text {
		display: none;
	}

	.wcas-search-bar__go {
		width: 44px;
		height: 44px;
	}

	.wcas-search-bar.is-active {
		transform: none;
	}
}

/* Drawer: smoother slide, softer backdrop, content that settles in one piece at a time. */

.wcas-search-drawer {
	transition: visibility 0s linear 0.52s;
}

.wcas-search-drawer__backdrop {
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	transition: opacity 0.4s ease;
}

.wcas-search-drawer__panel {
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.wcas-search-drawer__head,
.wcas-search-field,
.wcas-search-results,
.wcas-search-drawer__foot {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.wcas-search-drawer.is-open .wcas-search-drawer__head {
	opacity: 1;
	transform: none;
	transition: opacity 0.4s ease 0.12s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.wcas-search-drawer.is-open .wcas-search-field {
	opacity: 1;
	transform: none;
	transition: opacity 0.4s ease 0.2s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.wcas-search-drawer.is-open .wcas-search-results,
.wcas-search-drawer.is-open .wcas-search-drawer__foot {
	opacity: 1;
	transform: none;
	transition: opacity 0.4s ease 0.28s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.28s;
}

/* The drawer's field matches the bar. */

.wcas-search-input {
	height: 52px;
	padding: 0 64px 0 22px;
	border: 1px solid #dfe5ec;
	border-radius: 999px;
	background: #fff;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0;
	transition: border-color 0.25s ease;
}

.wcas-search-input:focus,
.wcas-search-input:focus-visible {
	outline: none;
	border-color: #0B57A4;
}

.wcas-search-field__icon {
	right: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #0B57A4;
	color: #fff;
}

.wcas-search-field__icon .wcas-icon {
	width: 20px;
	height: 20px;
}

/* Morph: the bar flies into the drawer's field and back. */

.wcas-search-bar.is-morph-hidden {
	visibility: hidden;
}

.wcas-search-drawer__panel {
	will-change: transform;
}

.wcas-search-drawer.is-morphing .wcas-search-field {
	opacity: 0 !important;
	transform: none !important;
	transition: none !important;
}

.wcas-search-drawer.is-landed .wcas-search-field {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

.wcas-search-ghost {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100002;
	box-sizing: border-box;
	margin: 0;
	border: 1px solid #dfe5ec;
	border-radius: 999px;
	background: #fff;
	color: #6b7280;
	font-size: 15px;
	line-height: 1;
	overflow: hidden;
	pointer-events: none;
	will-change: transform, width, height;
}

.wcas-search-ghost__text {
	position: absolute;
	top: 50%;
	left: 22px;
	right: 62px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transform: translateY(-50%);
}

.wcas-search-ghost__text--end {
	opacity: 0;
}

.wcas-search-ghost.has-typed .wcas-search-ghost__text--start {
	color: #0f2a3a;
}

.wcas-search-ghost__go {
	position: absolute;
	top: 50%;
	right: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #0B57A4;
	color: #fff;
	transform: translateY(-50%);
}

.wcas-search-ghost__go .wcas-icon {
	width: 20px;
	height: 20px;
}

@media (max-width: 640px) {
	.wcas-search-ghost {
		font-size: 14px;
	}

	.wcas-search-ghost__text {
		left: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wcas-search-bar,
	.wcas-search-bar__go,
	.wcas-search-bar__text,
	.wcas-search-drawer,
	.wcas-search-drawer__backdrop,
	.wcas-search-drawer__panel,
	.wcas-search-drawer__head,
	.wcas-search-field,
	.wcas-search-results,
	.wcas-search-drawer__foot {
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}

	.wcas-search-bar.is-active,
	.wcas-search-bar.is-active .wcas-search-bar__go {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wcas-cart-drawer__panel,
	.wcas-cart-drawer__backdrop,
	.wcas-cart-count,
	.wcas-cart-count.is-bumped,
	.wcas-cart-link,
	.wcas-toast,
	.wcas-cart-item {
		transition: none !important;
		animation: none !important;
	}
}


/* ---------- Selected option chips (swatch + name) in the drawer and on the quote page ---------- */

.wcas-cart-item__chips,
.wcas-qc-item__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 8px;
}

.wcas-qc-item__chips {
	margin: 2px 0 0;
}

.wcas-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	padding: 3px 10px 3px 4px;
	border: 1px solid rgba(15, 42, 58, 0.12);
	border-radius: 999px;
	background: #fff;
	font-size: 12.5px;
	line-height: 1.3;
	color: #334155;
}

.wcas-chip:not(.has-swatch) {
	padding-left: 10px;
}

.wcas-chip__swatch {
	display: block;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--wcas-chip-color, #e2e8f0);
}

.wcas-chip__swatch--image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wcas-chip__text {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 500;
}

.wcas-chip__label {
	font-weight: 600;
}


/* ---------- Search drawer: View all results ---------- */

.wcas-search-drawer__foot {
	flex: 0 0 auto;
	padding: 14px 22px calc(14px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid #e6eef3;
	background: #fff;
}

.wcas-search-drawer__foot[hidden] {
	display: none !important;
}

.wcas-search-drawer__foot .wcas-search-all {
	display: flex;
	width: 100%;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

/* No results */

.wcas-search-none {
	padding: 28px 12px;
	text-align: center;
}

.wcas-search-none__title {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 700;
	color: #0f2a3a;
}

.wcas-search-none__text {
	margin: 0;
	font-size: 14px;
	color: #64748b;
}

/* ---------- Search results page ---------- */

.wcas-search-page__form {
	display: flex;
	gap: 10px;
	max-width: 640px;
	margin: 0 0 24px;
}

.wcas-search-page__form input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	box-sizing: border-box;
	padding: 13px 18px;
	border: 1px solid #d5e0e8;
	border-radius: 999px;
	font-size: 15px;
	background: #fff;
}

.wcas-search-page__btn {
	flex: 0 0 auto;
	padding: 13px 26px;
	border: 0;
	background: #0A3D5A;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.wcas-search-page__btn:hover {
	background: #072C42;
}

.wcas-search-page__title {
	margin: 0 0 4px;
}

.wcas-search-page__count {
	margin: 0 0 20px;
	color: #64748b;
}

/* Profile form: a fixed layout that stays inside its column.
   Two columns only when the drawer itself is wide enough (container query), so it does not
   depend on the viewport. Inputs get a hard reset so theme input styles cannot widen them. */
.wcas-account-drawer__panel {
	container-type: inline-size;
}

.wcas-account-form {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.wcas-account-form .wcas-account-form__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0 16px;
	width: 100%;
	box-sizing: border-box;
}

@container (min-width: 440px) {
	.wcas-account-form .wcas-account-form__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

.wcas-account-form .wcas-account-field {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 6px;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0 0 14px;
	border: 0;
	box-sizing: border-box;
}

.wcas-account-form .wcas-account-field--full {
	grid-column: 1 / -1;
}

.wcas-account-form .wcas-account-field > span {
	display: block;
	margin: 0;
	color: #5b7283;
	font-size: 13px;
	line-height: 1.3;
}

.wcas-account-form .wcas-account-field input {
	display: block;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: 44px;
	margin: 0 !important;
	padding: 0 12px !important;
	border: 1px solid #d5e1e8 !important;
	border-radius: 8px !important;
	background: #ffffff !important;
	color: #0f2a3a !important;
	font: inherit;
	font-size: 15px;
	line-height: 1.2;
	float: none;
}

.wcas-account-form .wcas-account-field input:focus {
	border-color: #0a3d5a !important;
	outline: 0;
}

.wcas-account-form .wcas-account-save {
	width: 100%;
	margin-top: 8px;
}

/* ---------------------------------------------------------------
   Account drawer: final overrides. These win over older rules and
   over theme styles, so the cross, Log out button and profile form
   keep their layout.
   --------------------------------------------------------------- */

/* Cross: 36px round button, same as the cart drawer. */
.wcas-account-drawer .wcas-account-drawer__close {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	min-height: 36px !important;
	flex: 0 0 36px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #f1f5f8 !important;
	color: #0a3d5a !important;
}

.wcas-account-drawer .wcas-account-drawer__close svg {
	display: block !important;
	width: 18px !important;
	height: 18px !important;
}

/* Log out: full-width outlined button, no underline. */
.wcas-account-drawer .wcas-account-drawer__foot a.wcas-account-drawer__logout {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	width: 100% !important;
	min-height: 50px !important;
	margin: 0 !important;
	padding: 0 20px !important;
	border: 1.5px solid #a52c2c !important;
	border-radius: 10px !important;
	background: #ffffff !important;
	color: #a52c2c !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	text-decoration: none !important;
}

.wcas-account-drawer .wcas-account-drawer__foot a.wcas-account-drawer__logout:hover,
.wcas-account-drawer .wcas-account-drawer__foot a.wcas-account-drawer__logout:focus-visible {
	background: #fdf2f2 !important;
	border-color: #7f1d1d !important;
	color: #7f1d1d !important;
	text-decoration: none !important;
}

/* Profile form: one column on narrow drawers, two only when the drawer is wide. */
.wcas-account-drawer .wcas-account-form,
.wcas-account-drawer .wcas-account-form .wcas-account-form__grid {
	box-sizing: border-box !important;
	min-width: 0 !important;
	max-width: 100% !important;
}

.wcas-account-drawer .wcas-account-form .wcas-account-form__grid {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 0 16px !important;
	width: 100% !important;
}

@container (min-width: 440px) {
	.wcas-account-drawer .wcas-account-form .wcas-account-form__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
	}
}

.wcas-account-drawer .wcas-account-form .wcas-account-field {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 6px !important;
	box-sizing: border-box !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 0 14px !important;
	border: 0 !important;
	float: none !important;
}

.wcas-account-drawer .wcas-account-form .wcas-account-field--full {
	grid-column: 1 / -1 !important;
}

.wcas-account-drawer .wcas-account-form .wcas-account-field input {
	display: block !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 12px !important;
	float: none !important;
}

.wcas-account-drawer .wcas-account-form .wcas-account-save {
	width: 100% !important;
	box-sizing: border-box !important;
}

/* ---------- Search: loading skeleton ----------
 * Shown in the results area while a search is in flight. Same grid as .wcas-search-result,
 * so the rows do not jump when the real results arrive. */

.wcas-search-skeleton {
	pointer-events: none;
}

.wcas-search-skel {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 18px;
	padding: 16px 0;
	border-bottom: 1px solid #eef3f6;
}

.wcas-search-skel__thumb,
.wcas-search-skel__line {
	position: relative;
	overflow: hidden;
	background: #edf3f7;
}

.wcas-search-skel__thumb {
	display: block;
	width: 92px;
	height: 92px;
	border-radius: 12px;
	border: 1px solid #e5edf3;
}

.wcas-search-skel__info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	min-width: 0;
}

.wcas-search-skel__line {
	display: block;
	height: 14px;
	border-radius: 999px;
}

.wcas-search-skel__line--long {
	width: 72%;
}

.wcas-search-skel__line--short {
	width: 38%;
	height: 10px;
}

.wcas-search-skel__thumb::after,
.wcas-search-skel__line::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0) 100%);
	transform: translateX(-100%);
	animation: wcas-search-skel-shine 1.2s ease-in-out infinite;
}

@keyframes wcas-search-skel-shine {
	100% { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
	.wcas-search-skel__thumb::after,
	.wcas-search-skel__line::after {
		animation: none;
		opacity: 0;
	}
}
