/* AR Product Add to Cart widget — defaults match the design; every value can be changed in Elementor. */

.ar-pc,
.ar-pc *,
.ar-pc *::before,
.ar-pc *::after {
	box-sizing: border-box;
}

.ar-pc {
	color: #0a2540;
}

.ar-pc form.ar-pc-form.cart {
	margin: 0 !important;
	padding: 0;
}

.ar-pc .ar-pc-notice {
	padding: 16px;
	border: 1px dashed #c3c4c7;
	font-size: 14px;
}

/* Labels */
.ar-pc .ar-pc-label {
	display: block;
	margin-bottom: 10px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	color: #0a2540;
}

/* Attributes */
.ar-pc .variations.ar-pc-attrs {
	margin: 0;
	border: 0;
	width: 100%;
}

.ar-pc .ar-pc-attr {
	margin-bottom: 24px;
}

.ar-pc .ar-pc-swatches {
	display: var(--ar-pc-buttons, flex);
	flex-wrap: wrap;
	gap: 10px;
}

.ar-pc .ar-pc-swatches .ar-pc-swatch {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 10px 22px;
	min-width: 0;
	background: #fff;
	border: 1px solid #dcdcdc;
	border-radius: 50px;
	box-shadow: none;
	color: #0a2540;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.ar-pc .ar-pc-swatches .ar-pc-swatch:hover:not(.is-disabled):not(.is-active) {
	background: #fff;
	border-color: #0a2540;
	color: #0a2540;
}

.ar-pc .ar-pc-swatches .ar-pc-swatch.is-active,
.ar-pc .ar-pc-swatches .ar-pc-swatch.is-active:hover {
	background: #0a2540;
	border-color: #0a2540;
	color: #fff;
}

.ar-pc .ar-pc-swatches .ar-pc-swatch:focus-visible {
	outline: 2px solid #0a2540;
	outline-offset: 2px;
}

.ar-pc .ar-pc-swatches .ar-pc-swatch.is-disabled {
	opacity: .4;
	cursor: not-allowed;
}

.ar-pc--unavailable-strike .ar-pc-swatches .ar-pc-swatch.is-disabled {
	text-decoration: line-through;
}

.ar-pc--unavailable-hide .ar-pc-swatches .ar-pc-swatch.is-disabled {
	display: none;
}

/* Dropdown (used per device via "Show Options As") */
.ar-pc .ar-pc-select-wrap {
	display: var(--ar-pc-dropdown, none);
	position: relative;
	width: 100%;
}

.ar-pc .ar-pc-select-wrap::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 8px;
	height: 8px;
	margin-top: -6px;
	border: solid #0a2540;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	pointer-events: none;
}

.ar-pc .ar-pc-select-wrap .ar-pc-select {
	-webkit-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 44px 0 18px;
	background: #fff;
	background-image: none;
	border: 1px solid #dcdcdc;
	border-radius: 8px;
	box-shadow: none;
	color: #0a2540;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
}

.ar-pc .ar-pc-select-wrap .ar-pc-select:focus {
	outline: none;
	border-color: #0a2540;
	box-shadow: 0 0 0 3px rgba(10, 37, 64, .12);
}

.ar-pc .ar-pc-select-wrap .ar-pc-select option:disabled {
	color: #9ca3af;
}

/* Clear link */
.ar-pc .ar-pc-attr-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 16px;
}

.ar-pc .ar-pc-reset {
	display: inline-block;
	font-size: 12px;
	line-height: 1.3;
	color: #6b7280;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ar-pc .ar-pc-reset:hover {
	color: #0a2540;
}

.ar-pc .ar-pc-attrs > .ar-pc-reset {
	margin: -12px 0 20px;
}

/* Variation price / description (hidden unless enabled) */
.ar-pc--hide-details .single_variation {
	display: none !important;
}

.ar-pc .single_variation:not(:empty) {
	margin-bottom: 20px;
}

/* Quantity */
.ar-pc .ar-pc-qty-group {
	margin-bottom: 28px;
}

.ar-pc .ar-pc-qty-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px;
}

.ar-pc .ar-pc-qty {
	display: inline-flex;
	align-items: stretch;
	float: none !important;
	margin: 0 !important;
	width: 135px;
	height: 48px;
	background: #fff;
	border: 1px solid #dcdcdc;
	border-radius: 8px;
	overflow: hidden;
}

.ar-pc .ar-pc-qty .ar-pc-qty-btn {
	-webkit-appearance: none;
	appearance: none;
	flex: 0 0 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: #0a2540;
	font-family: inherit;
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
}

.ar-pc .ar-pc-qty .ar-pc-qty-btn:hover {
	background: transparent;
	color: #0a2540;
}

.ar-pc .ar-pc-qty .ar-pc-qty-btn:focus-visible {
	outline: 2px solid #0a2540;
	outline-offset: -2px;
}

.ar-pc .ar-pc-qty .ar-pc-qty-input {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: #0a2540;
	font-family: inherit;
	font-size: 18px;
	font-weight: 600;
	text-align: center;
	-moz-appearance: textfield;
}

.ar-pc .ar-pc-qty .ar-pc-qty-input::-webkit-outer-spin-button,
.ar-pc .ar-pc-qty .ar-pc-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Stock + price */
.ar-pc .ar-pc-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 24px;
}

.ar-pc .ar-pc-price {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: #0a2540;
}

.ar-pc .ar-pc-price del {
	margin-right: 6px;
	font-size: .8em;
	font-weight: 500;
	color: #9ca3af;
	opacity: 1;
}

.ar-pc .ar-pc-price ins {
	text-decoration: none;
	background: none;
}

.ar-pc .ar-pc-price.is-updated {
	animation: arPcPriceIn .3s ease-out;
}

@keyframes arPcPriceIn {
	from { opacity: 0; transform: translateY(3px); }
	to   { opacity: 1; transform: none; }
}

.ar-pc .ar-pc-stock-status {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}

.ar-pc .ar-pc-stock .ar-pc-dot {
	position: relative;
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}

.ar-pc .ar-pc-stock.has-pulse.is-instock .ar-pc-dot {
	box-shadow: 0 0 6px currentColor;
}

.ar-pc .ar-pc-stock.has-pulse.is-instock .ar-pc-dot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: currentColor;
	animation: arPcPulse 1.6s ease-out infinite;
}

@keyframes arPcPulse {
	0%   { transform: scale(1);   opacity: .7; }
	100% { transform: scale(3.2); opacity: 0; }
}

.ar-pc .ar-pc-stock.no-dot .ar-pc-dot {
	display: none;
}

.ar-pc .ar-pc-stock.is-instock .ar-pc-stock-status { color: #22b04b; }
.ar-pc .ar-pc-stock.is-outofstock .ar-pc-stock-status { color: #d63638; }
.ar-pc .ar-pc-stock.is-backorder .ar-pc-stock-status { color: #c27c0e; }
.ar-pc .ar-pc-stock.is-pending .ar-pc-stock-status { color: #6b7280; }
.ar-pc .ar-pc-stock.is-pending .ar-pc-dot { display: none; }

.ar-pc .ar-pc-stock-count {
	margin-top: 4px;
	font-size: 14px;
	color: #4b5563;
}

.ar-pc .ar-pc-stock-count:empty {
	display: none;
}

/* Buttons */
.ar-pc .ar-pc-actions {
	display: flex;
	flex-direction: row;
	gap: 14px;
}

.ar-pc .ar-pc-actions .ar-pc-btn {
	-webkit-appearance: none;
	appearance: none;
	flex: 1 1 100%;
	min-width: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 58px;
	margin: 0;
	padding: 14px 24px;
	border: 1px solid transparent;
	border-radius: 50px;
	box-shadow: none;
	font-family: inherit;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease, opacity .15s ease;
}

.ar-pc .ar-pc-btn .ar-pc-btn-icon {
	display: inline-flex;
	align-items: center;
	font-size: 1.05em;
	line-height: 1;
}

.ar-pc .ar-pc-btn .ar-pc-btn-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.ar-pc .ar-pc-btn:focus-visible {
	outline: 2px solid #0a2540;
	outline-offset: 3px;
}

.ar-pc .ar-pc-btn.ar-pc-cart-btn {
	background: #e94335;
	border-color: #e94335;
	color: #fff;
}

.ar-pc .ar-pc-btn.ar-pc-cart-btn:hover:not(:disabled) {
	background: #c9352a;
	border-color: #c9352a;
	color: #fff;
}

.ar-pc .ar-pc-btn.ar-pc-cart-btn:disabled,
.ar-pc .ar-pc-btn.ar-pc-cart-btn.disabled {
	opacity: .5;
	cursor: not-allowed;
}

.ar-pc .ar-pc-btn.ar-pc-specs-btn {
	background: #fff;
	border-color: #0a2540;
	color: #0a2540;
}

.ar-pc .ar-pc-btn.ar-pc-specs-btn:hover:not(:disabled) {
	background: #0a2540;
	border-color: #0a2540;
	color: #fff;
}

@media (max-width: 767px) {
	.ar-pc .ar-pc-actions {
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ar-pc .ar-pc-swatch,
	.ar-pc .ar-pc-btn {
		transition: none;
	}
	.ar-pc .ar-pc-stock.has-pulse .ar-pc-dot::after,
	.ar-pc .ar-pc-price.is-updated {
		animation: none;
	}
}

/* Block +/- buttons that some themes inject into quantity fields */
.ar-pc .ar-pc-qty > *:not(.ar-pc-qty-btn):not(.ar-pc-qty-input) {
	display: none !important;
}

/* ---------- Grouped products ---------- */
.ar-pc--grouped .ar-pc-group-label {
	margin-bottom: 12px;
}

.ar-pc .ar-pc-group-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 20px;
}

.ar-pc .ar-pc-group-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid #e3e5e8;
	border-radius: 10px;
	transition: border-color .15s ease, background-color .15s ease;
}

.ar-pc .ar-pc-group-item.is-selected {
	border-color: #0a2540;
	background: #f7f9fc;
}

.ar-pc .ar-pc-group-item.is-unavailable {
	background: #fafafa;
}

.ar-pc .ar-pc-group-img {
	flex: none;
	display: block;
	width: 56px;
	height: 56px;
	overflow: hidden;
	background: #efefef;
	border-radius: 6px;
}

.ar-pc .ar-pc-group-img img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 0;
}

.ar-pc .ar-pc-group-info {
	flex: 1 1 auto;
	min-width: 0;
}

.ar-pc .ar-pc-group-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: #0a2540;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}

.ar-pc .ar-pc-group-name:hover {
	color: #e94335;
}

.ar-pc .ar-pc-group-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 14px;
	margin-top: 4px;
}

.ar-pc .ar-pc-group-price {
	color: #0a2540;
	font-size: 15px;
	font-weight: 700;
}

.ar-pc .ar-pc-group-price del {
	margin-right: 4px;
	font-size: .85em;
	font-weight: 500;
	color: #9ca3af;
}

.ar-pc .ar-pc-group-price ins {
	text-decoration: none;
	background: none;
}

.ar-pc .ar-pc-stock--mini .ar-pc-stock-status {
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
}

.ar-pc .ar-pc-stock--mini .ar-pc-dot {
	width: 6px;
	height: 6px;
}

.ar-pc .ar-pc-group-action {
	flex: none;
	display: flex;
	justify-content: flex-end;
}

.ar-pc .ar-pc-group-action .ar-pc-qty {
	width: 120px;
	height: 42px;
}

.ar-pc .ar-pc-group-link {
	font-size: 14px;
	font-weight: 600;
	color: #0a2540;
	text-decoration: underline;
	text-underline-offset: 2px;
	white-space: nowrap;
}

.ar-pc .ar-pc-group-na {
	font-size: 14px;
	color: #6b7280;
	white-space: nowrap;
}

.ar-pc .ar-pc-group-check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.ar-pc .ar-pc-group-check input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #0a2540;
}

.ar-pc .ar-pc-group-total {
	display: flex;
	justify-content: flex-end;
	align-items: baseline;
	gap: 8px;
	margin: -6px 0 20px;
	color: #0a2540;
	font-size: 18px;
	font-weight: 700;
}

.ar-pc .ar-pc-group-total-label {
	font-size: .8em;
	font-weight: 500;
	color: #4b5563;
}

@media (max-width: 480px) {
	.ar-pc .ar-pc-group-item {
		flex-wrap: wrap;
		gap: 10px 12px;
	}
	.ar-pc .ar-pc-group-img {
		width: 48px;
		height: 48px;
	}
	.ar-pc .ar-pc-group-info {
		flex-basis: calc(100% - 60px);
	}
	.ar-pc .ar-pc-group-action {
		flex-basis: 100%;
	}
}

/* ---------- Add-ons ---------- */
.ar-pc .ar-pc-addons {
	margin-bottom: 24px;
}

.ar-pc .ar-pc-addons-title {
	margin-bottom: 12px;
}

.ar-pc .ar-pc-addons-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ar-pc .ar-pc-addon {
	position: relative;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #e3e5e8;
	border-radius: 10px;
	transition: border-color .15s ease, background-color .15s ease;
}

.ar-pc .ar-pc-addon.is-selected {
	border-color: #0a2540;
	background: #f7f9fc;
}

.ar-pc .ar-pc-addon-head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.ar-pc .ar-pc-addon-toggle {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.ar-pc .ar-pc-addon-check {
	flex: none;
	display: flex;
	cursor: pointer;
	margin: 0;
}

.ar-pc .ar-pc-addon-box {
	position: relative;
	width: 22px;
	height: 22px;
	background: #fff;
	border: 1.5px solid #b9bec5;
	border-radius: 6px;
	transition: background-color .15s ease, border-color .15s ease;
}

.ar-pc .ar-pc-addon-toggle:checked + .ar-pc-addon-check .ar-pc-addon-box {
	background: #0a2540;
	border-color: transparent;
}

.ar-pc .ar-pc-addon-toggle:checked + .ar-pc-addon-check .ar-pc-addon-box::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 3px;
	width: 6px;
	height: 11px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.ar-pc .ar-pc-addon-toggle:focus-visible + .ar-pc-addon-check .ar-pc-addon-box {
	outline: 2px solid #0a2540;
	outline-offset: 2px;
}

.ar-pc .ar-pc-addon-img {
	flex: none;
	display: block;
	width: 52px;
	height: 52px;
	margin: 0;
	overflow: hidden;
	background: #efefef;
	border-radius: 6px;
	cursor: pointer;
}

.ar-pc .ar-pc-addon-img img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 0;
}

.ar-pc .ar-pc-addon-info {
	flex: 1 1 auto;
	min-width: 0;
}

.ar-pc .ar-pc-addon-name {
	display: block;
	margin: 0;
	color: #0a2540;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	cursor: pointer;
}

.ar-pc .ar-pc-addon-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 14px;
	margin-top: 4px;
}

.ar-pc .ar-pc-addon-price {
	color: #0a2540;
	font-size: 15px;
	font-weight: 700;
}

.ar-pc .ar-pc-addon-price del {
	margin-right: 4px;
	font-size: .85em;
	font-weight: 500;
	color: #9ca3af;
}

.ar-pc .ar-pc-addon-price ins {
	text-decoration: none;
	background: none;
}

.ar-pc .ar-pc-addon-link {
	font-size: 12px;
	color: #6b7280;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ar-pc .ar-pc-addon-link:hover {
	color: #0a2540;
}

/* Options + quantity appear once the add-on is ticked */
.ar-pc .ar-pc-addon-body {
	display: none;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #e3e5e8;
}

.ar-pc .ar-pc-addon.is-selected .ar-pc-addon-body {
	display: block;
	animation: arPcPriceIn .2s ease-out;
}

.ar-pc .ar-pc-addon .ar-pc-attr {
	margin-bottom: 16px;
}

.ar-pc .ar-pc-addon .ar-pc-swatches .ar-pc-swatch {
	padding: 8px 18px;
	font-size: 14px;
}

.ar-pc .ar-pc-addon-qty {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ar-pc .ar-pc-addon-qty .ar-pc-label {
	margin: 0;
}

.ar-pc .ar-pc-addon-qty .ar-pc-qty {
	width: 120px;
	height: 42px;
}

.ar-pc .ar-pc-addon-hint {
	display: none;
	margin-top: 12px;
	font-size: 13px;
	color: #c9352a;
}

.ar-pc .ar-pc-addon.is-incomplete .ar-pc-addon-hint {
	display: block;
}

.ar-pc .ar-pc-addons-total {
	display: flex;
	justify-content: flex-end;
	align-items: baseline;
	gap: 8px;
	margin-top: 14px;
	color: #0a2540;
	font-size: 20px;
	font-weight: 700;
}

.ar-pc .ar-pc-addons-total-label {
	font-size: .75em;
	font-weight: 500;
	color: #4b5563;
}

.ar-pc .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

@media (max-width: 480px) {
	.ar-pc .ar-pc-addon-head {
		gap: 10px;
	}
	.ar-pc .ar-pc-addon-img {
		width: 44px;
		height: 44px;
	}
}
