/**
 * CEX Request a Quote — front end.
 *
 * Every selector is prefixed with .cex-raq- so theme styles are not touched.
 * Colors come from CSS custom properties printed from the settings
 * (--cex-raq-btn-*). Fonts are inherited from the theme.
 */

:root {
	--cex-raq-btn-bg: #fff200;
	--cex-raq-btn-text: #070811;
	--cex-raq-btn-border: #fff200;
	--cex-raq-btn-icon: #070811;
	--cex-raq-btn-bg-hover: #070811;
	--cex-raq-btn-text-hover: #fff;
	--cex-raq-btn-border-hover: #070811;
	--cex-raq-btn-icon-hover: #fff200;
	--cex-raq-dark: #070811;
	--cex-raq-muted: #646970;
	--cex-raq-line: #dcdcde;
	--cex-raq-row-alt: #f2f3f5;
	--cex-raq-form-bg: #f6f7f7;
	--cex-raq-error: #b32d2e;
	--cex-raq-success: #00703c;
	--cex-raq-offcanvas-width: 420px;
	--cex-raq-z: 2147483000;
}

/* Utilities ---------------------------------------------------------------- */

.cex-raq-screen-reader-text,
.cex-raq-hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.cex-raq-offcanvas [hidden],
.cex-raq-cart [hidden],
.cex-raq-added[hidden],
.cex-raq-mini-cart [hidden] {
	display: none !important;
}

/* Buttons ------------------------------------------------------------------ */

.cex-raq-btn,
a.cex-raq-btn,
button.cex-raq-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	box-sizing: border-box;
	min-height: 48px;
	margin: 0;
	padding: 17px 15px;
	border: 1px solid var(--cex-raq-btn-border);
	border-radius: 0;
	background: var(--cex-raq-btn-bg);
	color: var(--cex-raq-btn-text);
	font-family: inherit;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cex-raq-btn:hover,
.cex-raq-btn:focus-visible {
	border-color: var(--cex-raq-btn-border-hover);
	background: var(--cex-raq-btn-bg-hover);
	color: var(--cex-raq-btn-text-hover);
	text-decoration: none;
}

.cex-raq-btn:focus-visible,
.cex-raq-btn-outline:focus-visible,
.cex-raq-qty__btn:focus-visible,
.cex-raq-mini-cart:focus-visible,
.cex-raq-offcanvas__close:focus-visible {
	outline: 2px solid var(--cex-raq-dark);
	outline-offset: 2px;
}

.cex-raq-btn__icon {
	display: inline-flex;
	line-height: 0;
}

.cex-raq-btn__icon svg {
	width: 16px;
	height: 16px;
	fill: var(--cex-raq-btn-icon);
	transition: fill 0.2s ease;
}

.cex-raq-btn:hover .cex-raq-btn__icon svg,
.cex-raq-btn:focus-visible .cex-raq-btn__icon svg {
	fill: var(--cex-raq-btn-icon-hover);
}

.cex-raq-btn[disabled],
.cex-raq-btn.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
	pointer-events: none;
}

.cex-raq-btn.is-loading {
	position: relative;
	color: transparent !important;
	pointer-events: none;
}

.cex-raq-btn.is-loading .cex-raq-btn__icon {
	visibility: hidden;
}

.cex-raq-btn.is-loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid var(--cex-raq-btn-text);
	border-right-color: transparent;
	border-radius: 50%;
	animation: cex-raq-spin 0.7s linear infinite;
}

.cex-raq-btn.cex-raq-btn--loop {
	width: 100%;
}

.cex-raq-btn.cex-raq-btn--block,
.cex-raq-btn-outline.cex-raq-btn--block {
	display: flex;
	width: 100%;
}

.cex-raq-btn.cex-raq-btn--submit {
	border-radius: 3px;
	font-weight: 600;
	text-transform: uppercase;
}

.cex-raq-btn-outline,
button.cex-raq-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 48px;
	margin: 0;
	padding: 17px 15px;
	border: 1px solid var(--cex-raq-dark);
	border-radius: 0;
	background: #fff;
	color: var(--cex-raq-dark);
	font-family: inherit;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.1;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.cex-raq-btn-outline:hover,
.cex-raq-btn-outline:focus-visible {
	background: var(--cex-raq-dark);
	color: #fff;
}

/* Generic trigger (Elementor/theme buttons with the cex-raq-trigger class). */
.cex-raq-trigger.is-loading,
.cex-raq-trigger .is-loading {
	opacity: 0.6;
	pointer-events: none;
	cursor: progress;
}

/* Quantity |-|qty|+| --------------------------------------------------------- */

.cex-raq-qty {
	display: inline-flex;
	align-items: stretch;
	box-sizing: border-box;
	height: 62px;
	border: 1px solid var(--cex-raq-dark);
	background: #fff;
}

.cex-raq-qty__btn,
button.cex-raq-qty__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	min-width: 30px;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--cex-raq-dark);
	font-family: inherit;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.cex-raq-qty__btn:hover {
	background: var(--cex-raq-row-alt);
	color: var(--cex-raq-dark);
}

.cex-raq-qty__input,
input.cex-raq-qty__input[type="number"] {
	box-sizing: border-box;
	width: 56px;
	height: auto;
	margin: 0;
	padding: 0 4px;
	border: 0;
	border-right: 1px solid var(--cex-raq-dark);
	border-left: 1px solid var(--cex-raq-dark);
	border-radius: 0;
	background: #fff;
	color: var(--cex-raq-dark);
	font-family: inherit;
	font-size: 16px;
	text-align: center;
	box-shadow: none;
	-moz-appearance: textfield;
	appearance: textfield;
}

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

.cex-raq-qty__input:focus {
	outline: 2px solid var(--cex-raq-dark);
	outline-offset: -2px;
}

.cex-raq-qty.is-busy {
	opacity: 0.6;
	pointer-events: none;
}

/* Product page --------------------------------------------------------------- */

.cex-raq-form,
.cex-raq-variation-button {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 10px;
}

.cex-raq-form .cex-raq-btn--single,
.cex-raq-variation-button .cex-raq-btn--single {
	min-width: 278px;
	min-height: 62px;
	padding: 10px 24px;
	font-size: 20px;
	font-weight: 400;
}

.cex-raq-added {
	margin-top: 10px;
}

.cex-raq-added .cex-raq-btn-outline {
	min-width: 408px;
	min-height: 65px;
	font-size: 20px;
}

.cex-raq-grouped {
	width: 100%;
	margin: 0 0 10px;
	border-collapse: collapse;
}

.cex-raq-grouped td {
	padding: 6px 10px 6px 0;
	vertical-align: middle;
}

.cex-raq-grouped .cex-raq-qty {
	height: 44px;
}

/* Mini cart ------------------------------------------------------------------ */

.cex-raq-mini-cart,
button.cex-raq-mini-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 4px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: currentColor;
	line-height: 0;
	box-shadow: none;
	cursor: pointer;
}

.cex-raq-mini-cart:hover,
.cex-raq-mini-cart:focus {
	background: transparent;
	color: currentColor;
}

.cex-raq-mini-cart__icon {
	width: 26px;
	height: 26px;
	fill: currentColor;
}

.cex-raq-mini-cart__count {
	position: absolute;
	top: -4px;
	right: -6px;
	box-sizing: border-box;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 10px;
	background: var(--cex-raq-btn-bg);
	color: var(--cex-raq-btn-text);
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
}

/* Off-canvas ----------------------------------------------------------------- */

html.cex-raq-lock,
html.cex-raq-lock body {
	overflow: hidden;
}

.cex-raq-offcanvas {
	position: fixed;
	inset: 0;
	z-index: var(--cex-raq-z);
}

.cex-raq-offcanvas__overlay {
	position: absolute;
	inset: 0;
	background: rgba(7, 8, 17, 0.55);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.cex-raq-offcanvas__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: min(var(--cex-raq-offcanvas-width), 100vw);
	height: 100%;
	background: #fff;
	color: var(--cex-raq-dark);
	box-shadow: -8px 0 24px rgba(7, 8, 17, 0.18);
	transform: translateX(100%);
	transition: transform 0.3s ease;
	outline: none;
}

.cex-raq-offcanvas.is-open .cex-raq-offcanvas__overlay {
	opacity: 1;
}

.cex-raq-offcanvas.is-open .cex-raq-offcanvas__panel {
	transform: translateX(0);
}

.cex-raq-offcanvas__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 20px 20px 12px;
}

.cex-raq-offcanvas__logo img,
.cex-raq-offcanvas__logo-img {
	display: block;
	width: auto;
	max-width: 200px;
	height: auto;
	max-height: 56px;
}

.cex-raq-offcanvas__site-name {
	font-size: 20px;
	font-weight: 700;
}

.cex-raq-offcanvas__close,
button.cex-raq-offcanvas__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	min-width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--cex-raq-dark);
	cursor: pointer;
}

.cex-raq-offcanvas__close svg {
	fill: currentColor;
}

.cex-raq-offcanvas__close:hover {
	background: var(--cex-raq-row-alt);
	color: var(--cex-raq-dark);
}

.cex-raq-offcanvas__title {
	margin: 0;
	padding: 0 20px 12px;
	border-bottom: 1px solid var(--cex-raq-line);
	color: var(--cex-raq-dark);
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.cex-raq-offcanvas__body {
	flex: 1 1 auto;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

.cex-raq-offcanvas__footer {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px 20px 20px;
	border-top: 1px solid var(--cex-raq-line);
}

.cex-raq-offcanvas__footer .cex-raq-btn,
.cex-raq-offcanvas__footer .cex-raq-btn-outline {
	width: 100%;
	font-size: 17px;
}

.cex-raq-items {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cex-raq-item {
	display: grid;
	grid-template-columns: 64px 1fr 32px;
	gap: 12px;
	align-items: start;
	margin: 0;
	padding: 14px 20px;
	border-bottom: 1px solid var(--cex-raq-line);
}

.cex-raq-item:nth-child(odd) {
	background: var(--cex-raq-row-alt);
}

.cex-raq-item__thumb img,
.cex-raq-row__thumb img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.cex-raq-item__info {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.cex-raq-item__name,
.cex-raq-row__name {
	color: var(--cex-raq-dark);
	font-size: 15px;
	line-height: 1.3;
	text-decoration: none;
	word-break: break-word;
}

.cex-raq-item__name:hover,
.cex-raq-row__name:hover {
	color: var(--cex-raq-dark);
	text-decoration: underline;
}

.cex-raq-item__sku,
.cex-raq-row__sku {
	color: var(--cex-raq-dark);
	font-size: 12px;
}

.cex-raq-item .cex-raq-qty,
.cex-raq-row .cex-raq-qty {
	align-self: flex-start;
	height: 34px;
}

.cex-raq-item .cex-raq-qty__input,
.cex-raq-row .cex-raq-qty__input {
	width: 46px;
	font-size: 15px;
}

.cex-raq-item__remove,
.cex-raq-row__remove,
button.cex-raq-item__remove,
button.cex-raq-row__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	min-width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--cex-raq-muted);
	cursor: pointer;
}

.cex-raq-item__remove svg,
.cex-raq-row__remove svg {
	fill: currentColor;
}

.cex-raq-item__remove:hover,
.cex-raq-row__remove:hover,
.cex-raq-item__remove:focus-visible,
.cex-raq-row__remove:focus-visible {
	background: #fff;
	color: var(--cex-raq-error);
}

.cex-raq-item.is-busy,
.cex-raq-row.is-busy {
	opacity: 0.5;
	pointer-events: none;
}

.cex-raq-empty {
	margin: 0;
	padding: 32px 20px;
	color: var(--cex-raq-muted);
	text-align: center;
}

.cex-raq-loading {
	display: flex;
	justify-content: center;
	padding: 40px 20px;
}

.cex-raq-loading::before {
	content: "";
	width: 28px;
	height: 28px;
	border: 3px solid var(--cex-raq-line);
	border-top-color: var(--cex-raq-dark);
	border-radius: 50%;
	animation: cex-raq-spin 0.7s linear infinite;
}

/* Toast (screen reader + visual feedback) ----------------------------------- */

.cex-raq-toast {
	position: fixed;
	bottom: 20px;
	left: 50%;
	z-index: calc(var(--cex-raq-z) + 1);
	max-width: calc(100vw - 32px);
	padding: 12px 18px;
	background: var(--cex-raq-dark);
	color: #fff;
	font-size: 15px;
	line-height: 1.4;
	box-shadow: 0 6px 20px rgba(7, 8, 17, 0.25);
	transform: translate(-50%, 150%);
	transition: transform 0.25s ease;
}

.cex-raq-toast.is-visible {
	transform: translate(-50%, 0);
}

.cex-raq-toast.is-error {
	background: var(--cex-raq-error);
}

/* Quote cart page -------------------------------------------------------------- */

.cex-raq-cart {
	color: var(--cex-raq-dark);
}

.cex-raq-cart__grid {
	display: grid;
	grid-template-columns: minmax(0, 65fr) minmax(0, 35fr);
	gap: 40px;
	align-items: start;
}

.cex-raq-cart__empty {
	padding: 40px 0;
	text-align: center;
}

.cex-raq-cart__empty p {
	margin: 0 0 20px;
	font-size: 18px;
}

.cex-raq-list__head {
	padding: 0 0 14px 75px;
	border-bottom: 1px solid var(--cex-raq-line);
	font-size: 17px;
	font-weight: 700;
}

.cex-raq-list__rows {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cex-raq-row {
	display: grid;
	grid-template-columns: 48px 1fr 32px;
	gap: 27px;
	align-items: start;
	margin: 0;
	padding: 24px 12px;
}

.cex-raq-row:nth-child(odd) {
	background: var(--cex-raq-row-alt);
}

.cex-raq-row__info {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.cex-raq-row__name {
	font-size: 16px;
}

.cex-raq-cart__related {
	margin-top: 40px;
}

/* Carousel */

.cex-raq-carousel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.cex-raq-carousel__title {
	margin: 0;
	color: var(--cex-raq-dark);
	font-family: inherit;
	font-size: 22px;
	font-weight: 700;
}

.cex-raq-carousel__nav {
	display: flex;
	gap: 6px;
}

.cex-raq-carousel__arrow,
button.cex-raq-carousel__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	min-width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--cex-raq-dark);
	border-radius: 0;
	background: #fff;
	color: var(--cex-raq-dark);
	cursor: pointer;
}

.cex-raq-carousel__arrow svg {
	fill: currentColor;
}

.cex-raq-carousel__arrow:hover {
	background: var(--cex-raq-dark);
	color: #fff;
}

.cex-raq-carousel__arrow[disabled] {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

.cex-raq-carousel__track {
	display: grid;
	grid-auto-columns: calc((100% - 40px) / 3);
	grid-auto-flow: column;
	gap: 20px;
	margin: 0;
	padding: 0 0 8px;
	overflow-x: auto;
	list-style: none;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}

.cex-raq-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	scroll-snap-align: start;
}

.cex-raq-card__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

.cex-raq-card__name {
	flex: 1 1 auto;
	color: var(--cex-raq-dark);
	font-size: 15px;
	line-height: 1.3;
	text-decoration: none;
}

.cex-raq-card .cex-raq-btn {
	padding: 14px 10px;
	font-size: 15px;
}

/* Form */

.cex-raq-cart__side {
	position: sticky;
	top: 20px;
}

.cex-raq-quote-form {
	box-sizing: border-box;
	padding: 28px 25px;
	background: var(--cex-raq-form-bg);
}

.cex-raq-form__fields {
	display: flex;
	flex-wrap: wrap;
	gap: 0 16px;
}

.cex-raq-field {
	box-sizing: border-box;
	flex: 1 1 100%;
	margin: 0 0 22px;
}

.cex-raq-field--half {
	flex: 1 1 calc(50% - 8px);
}

.cex-raq-field__label {
	display: block;
	margin: 0 0 10px;
	padding: 0;
	color: var(--cex-raq-dark);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
}

.cex-raq-field__req {
	margin-left: 1px;
}

.cex-raq-field__group {
	margin: 0;
	padding: 0;
	border: 0;
}

.cex-raq-quote-form .cex-raq-field__control {
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 6px 0 12px;
	border: 0;
	border-bottom: 1px solid var(--cex-raq-dark);
	border-radius: 0;
	background: transparent;
	color: var(--cex-raq-dark);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.4;
	box-shadow: none;
}

.cex-raq-quote-form textarea.cex-raq-field__control {
	min-height: 90px;
	resize: vertical;
}

.cex-raq-quote-form .cex-raq-field__control::placeholder {
	color: var(--cex-raq-muted);
	opacity: 1;
}

.cex-raq-quote-form .cex-raq-field__control:focus {
	border-bottom-width: 2px;
	outline: none;
	box-shadow: none;
}

.cex-raq-quote-form .cex-raq-field__file {
	padding: 8px 0;
	border-bottom: 0;
}

.cex-raq-field__hint {
	display: block;
	margin-top: 4px;
	color: var(--cex-raq-muted);
	font-size: 12px;
}

.cex-raq-check {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 6px;
	font-size: 14px;
	line-height: 1.4;
	cursor: pointer;
}

.cex-raq-check input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--cex-raq-dark);
}

.cex-raq-check a {
	color: var(--cex-raq-dark);
	text-decoration: underline;
}

.cex-raq-field.has-error .cex-raq-field__control {
	border-bottom-color: var(--cex-raq-error);
}

.cex-raq-field__error {
	display: block;
	margin-top: 6px;
	color: var(--cex-raq-error);
	font-size: 13px;
	line-height: 1.3;
}

.cex-raq-field--recaptcha {
	min-height: 78px;
}

.cex-raq-form__error {
	margin: 0 0 16px;
	padding: 10px 12px;
	border-left: 3px solid var(--cex-raq-error);
	background: #fff;
	color: var(--cex-raq-error);
	font-size: 14px;
}

.cex-raq-form__success {
	padding: 28px 25px;
	border-left: 4px solid var(--cex-raq-success);
	background: var(--cex-raq-form-bg);
	font-size: 17px;
}

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

@media (max-width: 1024px) {
	.cex-raq-cart__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.cex-raq-cart__side {
		position: static;
	}

	.cex-raq-carousel__track {
		grid-auto-columns: calc((100% - 20px) / 2);
	}
}

@media (max-width: 600px) {
	.cex-raq-form .cex-raq-btn--single,
	.cex-raq-variation-button .cex-raq-btn--single {
		flex: 1 1 auto;
		min-width: 0;
	}

	.cex-raq-added .cex-raq-btn-outline {
		width: 100%;
		min-width: 0;
	}

	.cex-raq-field--half {
		flex-basis: 100%;
	}

	.cex-raq-quote-form {
		padding: 22px 16px;
	}

	.cex-raq-list__head {
		padding-left: 0;
	}

	.cex-raq-row {
		gap: 14px;
		padding: 16px 8px;
	}

	.cex-raq-carousel__track {
		grid-auto-columns: 75%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cex-raq-offcanvas__panel,
	.cex-raq-offcanvas__overlay,
	.cex-raq-toast,
	.cex-raq-carousel__track {
		transition: none;
		scroll-behavior: auto;
	}
}

@keyframes cex-raq-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Isolation -------------------------------------------------------------------
 * Page builders style every button inside ".cart" forms with high-specificity
 * selectors (e.g. the Elementor "Add to cart" widget). The quantity steppers
 * and the outline button are internal controls, so their core look is locked.
 */
.cex-raq-qty .cex-raq-qty__btn {
	width: 30px !important;
	min-width: 30px !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--cex-raq-dark) !important;
	box-shadow: none !important;
	font-size: 18px !important;
	line-height: 1 !important;
}

.cex-raq-qty .cex-raq-qty__btn:hover,
.cex-raq-qty .cex-raq-qty__btn:focus-visible {
	background: var(--cex-raq-row-alt) !important;
	color: var(--cex-raq-dark) !important;
}

.cex-raq-added .cex-raq-btn-outline {
	border: 1px solid var(--cex-raq-dark) !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: var(--cex-raq-dark) !important;
	box-shadow: none !important;
}

.cex-raq-added .cex-raq-btn-outline:hover,
.cex-raq-added .cex-raq-btn-outline:focus-visible {
	background: var(--cex-raq-dark) !important;
	color: #fff !important;
}

/* Focus after a mouse click -----------------------------------------------------
 * Themes style "button:focus" (e.g. Hello Elementor paints it #c36). A clicked
 * button keeps the focus, so without these rules it keeps the theme color after
 * the mouse leaves. Focused buttons look like their normal state; :hover rules
 * below (same specificity, declared later) still apply while hovered, and
 * :focus-visible keeps the keyboard outline.
 */
button.cex-raq-btn:focus,
a.cex-raq-btn:focus {
	border-color: var(--cex-raq-btn-border);
	background: var(--cex-raq-btn-bg);
	color: var(--cex-raq-btn-text);
}

button.cex-raq-btn:hover,
a.cex-raq-btn:hover,
button.cex-raq-btn:focus-visible,
a.cex-raq-btn:focus-visible {
	border-color: var(--cex-raq-btn-border-hover);
	background: var(--cex-raq-btn-bg-hover);
	color: var(--cex-raq-btn-text-hover);
}

button.cex-raq-btn-outline:focus {
	background: #fff;
	color: var(--cex-raq-dark);
}

button.cex-raq-btn-outline:hover,
button.cex-raq-btn-outline:focus-visible {
	background: var(--cex-raq-dark);
	color: #fff;
}

button.cex-raq-carousel__arrow:focus {
	border-color: var(--cex-raq-dark);
	background: #fff;
	color: var(--cex-raq-dark);
}

button.cex-raq-carousel__arrow:hover,
button.cex-raq-carousel__arrow:focus-visible {
	background: var(--cex-raq-dark);
	color: #fff;
}

button.cex-raq-offcanvas__close:focus,
button.cex-raq-mini-cart:focus {
	border: 0;
	background: transparent;
	color: var(--cex-raq-dark);
}

button.cex-raq-mini-cart:focus {
	color: currentColor;
}

button.cex-raq-offcanvas__close:hover {
	background: var(--cex-raq-row-alt);
	color: var(--cex-raq-dark);
}

button.cex-raq-item__remove:focus,
button.cex-raq-row__remove:focus {
	border: 0;
	background: transparent;
	color: var(--cex-raq-muted);
}

button.cex-raq-item__remove:hover,
button.cex-raq-row__remove:hover,
button.cex-raq-item__remove:focus-visible,
button.cex-raq-row__remove:focus-visible {
	background: #fff;
	color: var(--cex-raq-error);
}

/* Product page: the button has the same height as the quantity selector.
 * Page builders add their own vertical padding to ".cart button" (e.g. the
 * Elementor "Add to cart" widget), which made the button taller. */
.cex-raq-form .cex-raq-btn.cex-raq-btn--single,
.cex-raq-variation-button .cex-raq-btn.cex-raq-btn--single {
	height: 62px !important;
	min-height: 62px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	box-sizing: border-box;
	align-self: flex-start;
}

/* Button text color on the inner span.
 * Page builders style "a" inside text widgets with high specificity (e.g.
 * ".elementor-123 .elementor-element-x a { color: #000 }"), which overrides
 * the link color of a.cex-raq-btn. Those rules target "a" only, so the span
 * keeps the configured colors in every state. */
.cex-raq-btn .cex-raq-btn__text {
	color: var(--cex-raq-btn-text);
	transition: color 0.2s ease;
}

.cex-raq-btn:hover .cex-raq-btn__text,
.cex-raq-btn:focus-visible .cex-raq-btn__text {
	color: var(--cex-raq-btn-text-hover);
}
