.rhg-commerce .summary-inner .rhg-selection {
	position: relative;
	margin: 0 0 26px;
	padding: 24px 0 0;
	border-top: 1px solid var(--rhg-line);
	background: #fff;
}

.rhg-commerce .summary-inner .rhg-selection::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 42px;
	height: 3px;
	background: var(--ams-accent);
	transform: skewX(-22deg);
}

.rhg-commerce .summary-inner:has(.rhg-selection-price) > .price {
	display: none;
}

.rhg-commerce .rhg-selection .rhg-selection-heading {
	padding: 0;
	margin: 0 0 22px !important;
	border: 0;
	background: transparent;
}

.rhg-commerce .rhg-selection-heading h2 {
	margin: 0;
	color: var(--rhg-ink);
	font-size: 24px;
	line-height: 1.2;
	letter-spacing: -.7px;
}

.rhg-commerce .summary-inner .rhg-selection form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 14px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.rhg-commerce .rhg-selection :is(.variations, .single_variation_wrap) {
	width: 100%;
	flex-basis: 100%;
}

.rhg-commerce .rhg-selection .variations {
	margin: 0;
	border: 0;
}

.rhg-commerce .rhg-selection .variations tr {
	display: block;
	margin: 0 0 20px;
}

.rhg-commerce .rhg-selection .variations :is(th, td) {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
}

.rhg-commerce .rhg-selection .variations th {
	margin-bottom: 10px;
	text-align: left;
}

.rhg-commerce .rhg-selection .variations .rhg-option-enhanced > th,
.rhg-commerce .rhg-option-enhanced :is(select.rhg-option-source, .wd-swatches-product),
.rhg-commerce .rhg-selection-enhanced .woocommerce-variation-price {
	display: none !important;
}

.rhg-commerce .rhg-option-group {
	display: block;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.rhg-commerce .rhg-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.rhg-commerce .rhg-option-check {
	display: none;
}

.rhg-commerce .rhg-option-group legend {
	float: none;
	width: 100%;
	margin: 0 0 10px;
	padding: 0;
	color: #72736c;
	font-size: 11px;
	font-weight: 400;
}

.rhg-commerce .rhg-option {
	position: relative;
	display: flex;
	align-items: center;
	min-width: 0;
	min-height: 76px;
	margin: 0;
	padding: 18px 44px 18px 18px;
	border: 1px solid #d8d8d1;
	background: #fff;
	color: var(--rhg-ink);
	cursor: pointer;
	white-space: normal;
	transition: border-color .15s, background-color .15s;
}

.rhg-commerce .rhg-option:hover {
	border-color: #999a92;
	background: #faf9f6;
}

.rhg-commerce .rhg-option.is-selected {
	border-color: var(--rhg-ink);
	box-shadow: inset 0 0 0 1px var(--rhg-ink);
	background: #faf9f6;
}

.rhg-commerce .rhg-option::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 16px;
	width: 17px;
	height: 17px;
	border: 1px solid #bcbdb5;
	border-radius: 50%;
	transform: translateY(-50%);
}

.rhg-commerce .rhg-option.is-selected::after {
	content: "\2713";
	display: grid;
	place-items: center;
	border-color: var(--ams-accent);
	background: var(--ams-accent);
	color: #fff;
	font: 11px Arial, sans-serif;
}

.rhg-commerce .rhg-option input[type="radio"] {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
}

.rhg-commerce .rhg-option-title {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.rhg-commerce .rhg-option:has(input:focus-visible) {
	outline: 2px solid var(--ams-accent);
	outline-offset: 3px;
}

.rhg-commerce .rhg-option.is-disabled {
	border-color: #e5e5df;
	background: #f7f7f4;
	color: #90918a;
	cursor: not-allowed;
}

.rhg-commerce .rhg-option.is-disabled::after {
	opacity: .4;
}

.rhg-commerce .rhg-selection .wd-reset-var {
	position: static;
	width: auto;
	margin: 12px 0 0;
}

.rhg-commerce .rhg-selection .reset_variations {
	margin-left: 0;
	font-size: 11px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rhg-commerce .rhg-selection.rhg-has-selection .reset_variations {
	visibility: visible !important;
	opacity: 1 !important;
}

.rhg-commerce .rhg-selection .reset_variations::before {
	display: none;
}

.rhg-commerce .rhg-selection .woocommerce-variation-availability:has(> .ams-availability) {
	display: none;
}

.rhg-commerce .summary-inner .rhg-selection .woocommerce-variation-add-to-cart {
	align-items: flex-end;
	gap: 14px;
}

.rhg-commerce .rhg-selection-price {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 12px;
	width: 100%;
	flex-basis: 100%;
	margin: 4px 0 10px;
	padding-top: 22px;
	border-top: 1px solid var(--rhg-line);
}

.rhg-commerce .rhg-selection-price-caption {
	display: block;
	margin: 0 0 8px;
	color: #777871;
	font-size: 11px;
}

.rhg-commerce .rhg-selection form.cart:not(.variations_form) > .rhg-selection-price {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.rhg-commerce .rhg-selection-price-amount {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
}

.rhg-commerce .rhg-selection-price-value,
.rhg-commerce .rhg-selection-price-value .price {
	margin: 0;
	color: var(--rhg-ink);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -1px;
}

.rhg-commerce .rhg-selection-price-value :is(ins, .amount) {
	color: inherit;
	font-size: inherit;
}

.rhg-commerce .rhg-selection-currency {
	color: #5f605b;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: .4px;
}

.rhg-commerce .rhg-selection-version {
	max-width: 42%;
	color: #72736c;
	font-size: 11px;
	line-height: 1.6;
	text-align: right;
}

.rhg-commerce .rhg-quantity-control {
	flex: 0 0 auto;
	margin: 0;
}

.rhg-commerce .rhg-quantity-control:has(> .quantity[style*="display: none"]) {
	display: none;
}

.rhg-commerce .rhg-quantity-label {
	display: block;
	margin-bottom: 8px;
	color: #6f7069;
	font-size: 11px;
	line-height: 1.4;
}

.rhg-commerce .summary-inner .rhg-selection form.cart .quantity {
	display: inline-flex;
	min-height: 52px;
	margin: 0;
	background: #f3f2ef;
	border: 0;
	border-bottom: 1px solid #a5a69d;
}

.rhg-commerce .summary-inner .rhg-selection form.cart .quantity :is(.qty, .minus, .plus) {
	height: 51px;
	min-height: 51px;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--rhg-ink);
}

.rhg-commerce .summary-inner .rhg-selection form.cart .quantity .qty {
	width: 38px;
	padding: 0;
}

.rhg-commerce .summary-inner .rhg-selection form.cart .quantity .btn {
	width: 30px;
	min-width: 30px;
}

.rhg-commerce .summary-inner .rhg-selection form.cart .single_add_to_cart_button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: 1 1 0;
	gap: 16px;
	min-width: 0;
	min-height: 52px;
	margin: 0;
	padding: 12px 20px;
	border: 0;
	border-radius: 0;
	background: var(--rhg-ink);
	box-shadow: none;
	color: #fff;
	font-size: 13px;
	text-align: left;
	text-transform: none;
	white-space: nowrap;
}

.rhg-commerce .summary-inner .rhg-selection form.cart .single_add_to_cart_button:hover {
	background: #303237;
	color: #fff;
}

.rhg-commerce .rhg-selection .single_add_to_cart_button::before {
	content: "\2192";
	position: static;
	display: block;
	width: auto;
	height: auto;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: #ff713d;
	font: 27px/1 Arial, sans-serif;
	opacity: 1;
	transform: none;
	animation: none;
	order: 1;
}

.rhg-commerce .rhg-selection .single_add_to_cart_button.loading::before {
	opacity: 0;
}

.rhg-commerce .rhg-selection :is(button, input, select, a):focus-visible {
	outline: 2px solid var(--ams-accent);
	outline-offset: 3px;
}

.rhg-commerce .rhg-selection-support {
	margin-top: 22px;
	font-size: 12px;
	line-height: 1.7;
}

.rhg-commerce .rhg-selection-support a {
	color: #41443e;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.rhg-commerce .rhg-selection .rhg-request-note {
	margin-top: 20px;
	padding: 17px 0 0;
	border: 0;
	border-top: 1px solid var(--rhg-line);
}

.rhg-commerce .rhg-selection .rhg-request-note p {
	margin: 0;
	color: #777871;
	font-size: 11px;
	line-height: 1.6;
}

@media (max-width: 699px) {
	.rhg-commerce .rhg-selection-heading h2 { font-size: 23px; }
	.rhg-commerce .rhg-option { min-height: 70px; padding: 15px 34px 15px 13px; }
	.rhg-commerce .rhg-option::after { right: 11px; width: 15px; height: 15px; }
	.rhg-commerce .rhg-option-title { font-size: 13px; }
	.rhg-commerce .rhg-selection-price-value,
	.rhg-commerce .rhg-selection-price-value .price { font-size: 29px; }
	.rhg-commerce .rhg-selection-version { max-width: 35%; font-size: 10px; }
	.rhg-commerce .summary-inner .rhg-selection form.cart .single_add_to_cart_button { padding: 12px 15px; }
}

@media (max-width: 379px) {
	.rhg-commerce .rhg-options { gap: 8px; }
	.rhg-commerce .rhg-option { padding: 14px 30px 14px 11px; }
	.rhg-commerce .rhg-option-title { font-size: 12px; }
	.rhg-commerce .summary-inner .rhg-selection form.cart,
	.rhg-commerce .summary-inner .rhg-selection .woocommerce-variation-add-to-cart { gap: 10px; }
	.rhg-commerce .summary-inner .rhg-selection form.cart .quantity .qty { width: 30px; }
	.rhg-commerce .summary-inner .rhg-selection form.cart .quantity .btn { width: 26px; min-width: 26px; }
	.rhg-commerce .summary-inner .rhg-selection form.cart .single_add_to_cart_button { gap: 10px; padding: 12px; font-size: 12px; }
	.rhg-commerce .rhg-selection-price { flex-wrap: wrap; }
	.rhg-commerce .rhg-selection-version { max-width: 100%; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
	.rhg-commerce .rhg-option { transition: none; }
}
