.wh-tabs,.wh-ship,.wh-specs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.wh-tabs {
	margin: 0 0 30px;
}

.wh-tabs a,.wh-cta,.wh-now,.wh-specs button,.wh-dialog button,.wh-dialog a {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-height: 42px;
	padding: 8px 20px;
	border: 1px solid #594423;
	border-radius: 999px;
	color: #594423;
	background: #fff;
	text-decoration: none;
}

.wh-tabs [aria-current],.wh-specs [aria-pressed=true],.wh-cta,.wh-dialog .confirm {
	background: #594423;
	color: #efd9c5;
}

.wh-panel .wh-secondary {
	background: rgba(255,250,246,.94);
	color: #594423;
}

.wh-panel button:disabled {
	opacity: .55;
	cursor: not-allowed;
}

.wh-panel button:focus-visible,.wh-dialog :focus-visible {
	outline: 3px solid #6c8189;
	outline-offset: 3px;
}

.wh-ship {
	justify-content: space-between;
	border-block: 1px solid #ddd4c9;
	padding: 12px 0;
}

.wh-change {
	text-decoration: underline;
	background: transparent;
	border: 0;
	min-height: 44px;
	color: #594423;
}

.wh-status,.wh-feedback:not(:empty) {
	padding: 10px 0;
}

.wh-feedback:empty {
	display: none;
}

.wh-panel fieldset {
	border: none;
	padding: 0;
	margin: 8px 0 16px;
}

.wh-panel legend {
	font-size: 16px;
}

.wh-buy label {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-block: 14px;
}

.wh-buy .wh-cta,.wh-buy .wh-now {
	min-height: 52px;
}

.wh-dialog {
	position: fixed;
	inset: 0;
	margin: auto;
	width: min(440px,94vw);
	max-height: 85dvh;
	overflow: auto;
	border: 0;
	border-radius: 16px;
	padding: 24px;
	color: #1c1c1c;
}

.wh-dialog::backdrop {
	background: #21170875;
}

.wh-dialog label {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
}

.wh-dialog input {
	width: 18px;
	height: 18px;
}

.wh-dialog p {
	margin: 10px 0;
}

.wh-dialog button+button,.wh-dialog a+button {
	margin-left: 8px;
}

.haptelle-wc-theme .wh-card {
	display: grid;
	grid-template:  auto 1fr / minmax(0,1fr);
	min-width: 0;
	gap: 12px;
	border: 0;
}

.wh-card .card-product_wrapper,.wh-card>.wh-panel {
	grid-area: 1/1;
}

.haptelle-wc-theme:not(.search) .wh-card .card-product_wrapper .product-img {
	display: block;
	aspect-ratio: 2/3;
	height: auto;
	border-radius: 12px!important;
	overflow: hidden;
	background: #f7f3ef;
}

.haptelle-wc-theme:not(.search) .wh-card .product-img img {
	height: 100%;
	width: 100%;
	object-fit: contain;
}

.wh-kicker {
	display: block;
	text-transform: uppercase;
	font-size: 11px;
	color: #594423;
}

.wh-card>.wh-panel {
	align-self: end;
	z-index: 2;
	margin: 0 12px 12px;
	opacity: 0;
	pointer-events: none;
}

.wh-card:hover>.wh-panel,.wh-card:focus-within>.wh-panel {
	opacity: 1;
	pointer-events: auto;
}

.wh-card .wh-cta {
	width: 100%;
	font-size: 13px;
}

.wh-card .card-product_info {
	grid-area: 2/1;
	text-align: left;
	min-width: 0;
}

@media(max-width:767px){
.wh-card>.wh-panel {
	grid-area: 3/1;
	opacity: 1;
	pointer-events: auto;
	margin: 0;
}

.wh-card .card-product_info {
	grid-area: 2/1;
}

.wh-dialog {
	inset: auto 0 0;
	width: 100%;
	max-width: 100%;
	border-radius: 18px 18px 0 0;
	padding-bottom: max(24px,env(safe-area-inset-bottom));
}

.wh-tabs a {
	padding-inline: 12px;
}
}
.haptelle-wc-theme:not(.search) .wh-card .card-product_wrapper {
	aspect-ratio: 2/3;
	z-index: 1;
}

.wh-panel [hidden] {
	display: none !important;
}

.wh-buy {
	padding: clamp(16px, 3vw, 28px);
	border-radius: 16px;
	border: 1px solid #e3cab7;
	background: #fff0e5;
}

.wh-purchase-actions {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
}

.wh-buy .wh-purchase-actions .haptelle-preorder__form {
	margin: 0;
}

.wh-buy .wh-quantity-label {
	font-weight: 600;
	margin: 0 0 8px;
}

.wh-buy .wh-cta {
	padding-inline: 10px;
}

.wh-buy .wh-wishlist {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid #e3cab7;
	border-radius: 50%;
	color: #594423;
	background: #fffbf8;
}

.wh-shipping {
	margin-top: 14px;
	border-top: 1px solid #e3cab7;
	padding-bottom: 6px;
}

.wh-ship {
	border: 0;
	padding: 4px 0;
	color: #594423;
}

.wh-ship i {
	margin-right: 4px;
}

.wh-change {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	text-decoration: none;
}

.wh-change span {
	width: 8px;
	height: 8px;
	border-right: 2px solid;
	border-bottom: 2px solid;
	transform: translateY(-2px) rotate(45deg);
}

.wh-change[aria-expanded=true] span {
	transform: translateY(2px) rotate(225deg);
}

.wh-inline-options {
	padding: 4px;
	margin: 0 0 8px;
	background: #fffbf8;
	border: 1px solid #e3cab7;
	border-radius: 12px;
}

.wh-inline-list button {
	display: grid;
	grid-template-columns: minmax(0, 1fr) fit-content(42%);
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 10px;
	min-height: 50px;
	text-align: left;
	background: transparent;
	color: #1c1c1c;
	border: 0;
	border-radius: 8px;
}

@media (hover: hover) {
	.wh-inline-list button:hover:not(:disabled) {
		background: #f5e5d7;
	}
}

.wh-inline-list small {
	display: block;
	color: #594423;
}

.wh-inline-list button > small {
	text-align: right;
}

.wh-buy .wh-now {
	width: 100%;
	margin: 6px 0 0;
	background: #fff;
	border-color: var(--haptelle-brand-oak-hush, #594423);
	color: var(--haptelle-brand-oak-hush, #594423);
}

@media (hover: hover) {
	.wh-buy .wh-now:hover:enabled {
		background: var(--haptelle-brand-silk-nude, #efd9c5);
	}
}

.wh-buy .wh-now:focus-visible {
	outline-color: var(--haptelle-brand-oak-hush, #594423);
}

.wh-delivery,.wh-dispatch {
	color: #594423;
	font-size: .875rem;
	margin: 2px 0;
}

.wh-status[data-state=available] {
	color: #405d44;
}

.wh-status[data-state=preorder] {
	color: #825522;
}

.wh-shipping .wh-ship {
	padding-block: 12px;
	flex-wrap: nowrap;
	gap: 8px;
}

.wh-ship > span:first-child {
	flex: 1;
	min-width: 0;
}

.wh-inline-list button > small {
	font-size: .875rem;
}

.wh-buy .wh-purchase-actions .wg-quantity {
	display: grid;
	grid-template-columns: var(--haptelle-control-compact, 42px) 32px var(--haptelle-control-compact, 42px);
	align-items: stretch;
	min-width: 0;
	min-height: var(--haptelle-control-regular, 52px);
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: #fffbf8;
}

.wh-buy .wh-purchase-actions input.wh-qty {
	width: 100%;
	padding: 0;
	margin: 0;
	appearance: textfield;
}

.wh-buy .wh-qty::-webkit-inner-spin-button,
.wh-buy .wh-qty::-webkit-outer-spin-button {
	display: none;
}

.wh-buy .haptelle-preorder__quantity-step {
	display: grid;
	place-items: center;
	padding: 0;
}

.wh-buy .haptelle-preorder__quantity-step:focus-visible {
	outline-offset: -3px;
}

.wh-buy .haptelle-preorder__quantity-step span {
	display: grid;
	place-items: center;
	font-size: 0;
}

.wh-buy .haptelle-preorder__quantity-step span::before,
.wh-buy [data-haptelle-preorder-step="increase"] span::after {
	content: "";
	grid-area: 1 / 1;
	width: 12px;
	height: 2px;
	background: currentColor;
}

.wh-buy [data-haptelle-preorder-step="increase"] span::after {
	width: 2px;
	height: 12px;
}

@media (max-width: 359px) {
	.wh-purchase-actions {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.wh-buy .wh-purchase-actions .haptelle-preorder__form {
		grid-column: 1 / -1;
		justify-self: start;
	}
}

.wh-origin {
	display: block;
	font-size: .875rem;
	padding-inline-start: 21px;
}

.wh-listing-card {
	position: relative;
	overflow: visible;
}

.wh-listing {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
	position: relative;
	width: 100%;
}

.wh-listing-card:focus-within,.wh-listing-card:hover {
	z-index: 3;
}

.wh-list-picker {
	position: relative;
	min-width: 0;
}

.wh-list-buy,.wh-list-picker .wh-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 100%;
	min-height: 44px;
	padding: 6px 8px;
	border: 1px solid #594423;
	border-radius: 999px;
	font-size: .875rem;
	line-height: 1.25;
	text-align: center;
	font-weight: 600;
}

.wh-list-buy {
	background: #594423;
	color: #fff;
}

.wh-list-buy:hover,.wh-list-buy:focus-visible {
	color: #fff;
	background: #413016;
}

.wh-list-picker .wh-cta {
	background: #fff0e5;
	color: #594423;
}

.wh-list-picker button > span {
	width: 7px;
	height: 7px;
	border: solid currentColor;
	border-width: 0 1.5px 1.5px 0;
	transform: rotate(45deg);
	flex: none;
}

.wh-list-picker .wh-cta[aria-expanded=true] span {
	transform: rotate(225deg);
}

.wh-list-options {
	position: absolute;
	z-index: 5;
	top: 100%;
	inset-inline-end: 0;
	width: min(215px, calc(200% + 6px));
	min-width: 100%;
	border: 1px solid #e3cab7;
	border-radius: 11px;
	background: #fffaf6;
	box-shadow: 0 7px 17px rgba(89,68,35,.14);
	color: #594423;
}

.wh-list-options p,.wh-list-options button {
	padding: 8px 10px;
	font-size: .875rem;
	line-height: 1.3;
}

.wh-list-options button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 5px;
	width: 100%;
	min-height: 42px;
	text-align: start;
	font-weight: 600;
	background: transparent;
	color: inherit;
	border: 0;
	border-top: 1px solid #eadbcc;
}

.wh-list-options button:last-child {
	border-radius: 0 0 10px 10px;
}

.wh-list-options button:is(:hover,:focus-visible) {
	background: #fff0e5;
}

.wh-list-options button span {
	transform: rotate(-45deg);
}

.wh-listing .wh-feedback {
	grid-column: 1 / -1;
}

@media (hover: hover) and (min-width: 768px) {
	.wh-listing {
		visibility: hidden;
	}

	.wh-listing-card:is(:hover,:focus-within) .wh-listing {
		visibility: visible;
	}
}

.wh-list-options--above {
	top: auto;
	bottom: 100%;
}

.wh-list-options[popover] {
	position: fixed;
	inset: auto;
	margin: 0;
	min-width: 0;
	padding: 0;
}

.wh-listing:has(.wh-cta[aria-expanded=true]),
.wh-list-options:popover-open {
	visibility: visible;
}

.wh-listing.wh-detail-actions {
	visibility: visible;
	width: min(100%, 365px);
	margin: 24px auto 0;
	gap: 12px;
}

.wh-listing-single {
	grid-template-columns: minmax(0, 1fr);
}

.wh-detail-actions.wh-listing-single {
	max-width: 177px;
}

.wh-detail-actions .wh-list-buy,.wh-detail-actions .wh-list-picker .wh-cta {
	min-height: 48px;
	font-size: 1rem;
}

.wh-list-buy-options {
	inset-inline-start: 0;
	inset-inline-end: auto;
	max-height: calc(100dvh - 16px);
	overflow-y: auto;
}

.wh-list-buy-options button {
	display: grid;
	gap: 2px;
}

.wh-list-buy-options small {
	font-size: .8125rem;
	font-weight: 400;
}

.wh-list-buy-options button[data-wh-preferred]:enabled,
.wh-list-buy-options:has([data-wh-preferred]:disabled) button:enabled {
	background: #fff0e5;
}

.wh-listing:has(.wh-list-buy[aria-expanded=true]) {
	visibility: visible;
}

.wh-shipping .wh-change {
	padding: 6px 12px;
	border: 1px solid #ad846a;
	border-radius: 999px;
	background: #fffbf8;
	line-height: 1.25;
}

.wh-shipping .wh-change:is(:hover, [aria-expanded=true]) {
	background: #f5e5d7;
}

.wh-choose-alternative .wh-change,
.wh-choose-alternative .wh-change:is(:hover, [aria-expanded=true]) {
	background: #594423;
	border-color: #594423;
	color: #fff0e5;
}

.wh-choose-alternative .wh-inline-list button:enabled {
	color: #594423;
}

.wh-inline-list button:disabled,
.wh-list-buy-options button:disabled {
	opacity: 1;
	color: #6d6258;
}

.wh-choose-alternative .wh-inline-list button:disabled,
.wh-inline-list button:disabled:hover,
.wh-list-buy-options button:disabled:hover {
	background: transparent;
}

.wh-inline-list button[data-state=available] > small,
.wh-list-buy-options button[data-state=available] small {
	color: #405d44;
}

.wh-inline-list button[data-state=preorder] > small,
.wh-list-buy-options button[data-state=preorder] small {
	color: #825522;
}

.wh-legacy-now {
	width: 100%;
	min-height: 52px;
	margin-top: 6px;
	cursor: not-allowed;
	background: #f5e5d7;
	color: #6d6258;
	border-color: #e3cab7;
}

/* A1 catalog cards share one stock and pre-order action. */
.wh-card-cart {
	display: block;
	margin: 0;
}
.wh-card-cart .wh-list-picker {
	container-type: inline-size;
}

.card-product_wrapper > .wh-card-cart {
	position: absolute;
	inset: auto clamp(5px, 3%, 14px) clamp(6px, 2.2%, 12px);
	width: auto;
	z-index: 4;
}
.wh-card-cart .wh-cta, .wh-card-cart .wh-cart-link, .wh-card-cart > .wh-list-buy {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 42px;
	border-radius: 999px;
	background: #594423;
	color: #fffaf6;
}

.wh-card-cart .wh-cta {
	background: rgba(89, 68, 35, .96);
	border-color: #ad846a;
}

.wh-card-cart .wh-feedback:not(:empty) {
	position: absolute;
	z-index: 1;
	inset: auto 0 calc(100% + 10px);
	margin: 0;
	padding: 6px 10px;
	border: 1px solid #e3cab7;
	border-radius: 8px;
	background: #fffaf6;
	color: #594423;
	font-size: .875rem;
	line-height: 1.35;
}
.wh-card-cart .wh-feedback:empty { display: none; }

.wh-card-warehouse-options {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: clamp(4px, 2.2cqi, 10px);
}

.wh-cta + .wh-card-warehouse-options {
	position: absolute;
	inset: auto 0 0;
}

.wh-card-warehouse-options[hidden] {
	display: none;
}

.wh-card-cart .wh-cta[aria-expanded=true] {
	opacity: 0;
	pointer-events: none;
}

.wh-card-cart .wh-card-warehouse-choice,
.wh-card-cart .wh-card-warehouse-options .wh-cart-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(3px, 1.4cqi, 8px);
	min-height: 42px;
	padding: 3px 4px;
	border: 1px solid #e3cab7;
	border-radius: 999px;
	background: #fff5e9;
	color: #3e2c1a;
	font-size: clamp(.6875rem, 3.1cqi, .875rem);
	font-weight: 700;
	line-height: 1.05;
	text-align: center;
}

.wh-card-cart a.wh-cart-link,
.wh-card-cart .wh-card-warehouse-options .wh-cart-link {
	container-type: inline-size;
	flex-wrap: wrap;
	align-content: center;
	column-gap: .4em;
	row-gap: 1px;
	padding-inline: 1px;
	text-decoration: none;
}
.wh-card-cart .wh-cart-link > span:first-child {
	text-decoration: underline;
}
.wh-card-cart .wh-cart-link > span:last-child {
	font-weight: 500;
}
.wh-card-cart .wh-cart-link small {
	font-size: inherit;
}
@container (width < 110px) {
	.wh-cart-link small {
		display: none;
	}
}

.wh-card-cart .wh-card-warehouse-choice:is(:hover, :focus-visible) {
	background: #e7d1bd;
	color: #594423;
	border-color: #594423;
}

.wh-card-cart .wh-card-warehouse-options .wh-cart-link:is(:hover, :focus-visible) {
	background: #fff5e9;
	color: #594423;
	border-color: #594423;
}

.wh-card-warehouse-options:has(> .wh-cart-link) > .wh-card-warehouse-choice {
	background: #594423;
	color: #fffaf6;
	border-color: #594423;
}

.wh-card-warehouse-options:has(> .wh-cart-link) > .wh-card-warehouse-choice:is(:hover, :focus-visible) {
	background: #765a36;
	color: #fff0e5;
	border-color: #765a36;
}

.wh-card-cart .wh-card-warehouse-choice:focus-visible,
.wh-card-cart .wh-card-warehouse-options .wh-cart-link:focus-visible {
	outline: 2px solid #594423;
	outline-offset: -3px;
}

.wh-card-warehouse-options button:disabled {
	cursor: wait;
	opacity: .75;
}

.wh-card-warehouse-name {
	inline-size: min-content;
	text-align: start;
	font-weight: 400;
}

.wh-card-warehouse-flag {
	flex: none;
	inline-size: 22px;
	aspect-ratio: 1;
	background: center / contain no-repeat;
}

.wh-card-warehouse-flag[data-flag=US] {
	background-image: url("../images/warehouse/us.png");
}

.wh-card-warehouse-flag[data-flag=EU] {
	background-image: url("../images/warehouse/eu.png");
}

.wh-card-warehouse-flag[data-flag=CA] {
	background-image: url("../images/warehouse/ca.png");
}

/* A narrow option keeps its flag above the two lines of text. */
.wh-card-warehouse-options > .wh-card-warehouse-choice {
	container-type: inline-size;
	flex-wrap: wrap;
	align-content: center;
	row-gap: 1px;
	padding: 0;
}
@container (width < 90px) {
	.wh-card-warehouse-flag {
		inline-size: 15px;
	}
	.wh-card-warehouse-name {
		inline-size: 100%;
		text-align: center;
		font-size: 11px;
	}
	.wh-card-warehouse-suffix {
		display: block;
		letter-spacing: -.3px;
	}
}
@container (width < 50px) {
	.wh-card-warehouse-suffix {
		inline-size: max-content;
		position: relative;
		left: 50%;
		transform: translateX(-50%) scaleX(.76);
	}
}


.wh-card-warehouse-options > .wh-card-warehouse-choice:only-child {
	flex-wrap: nowrap;
}
.wh-card-warehouse-choice:only-child .wh-card-warehouse-name {
	inline-size: auto;
	white-space: nowrap;
}
.wh-card-warehouse-choice:only-child .wh-card-warehouse-suffix {
	display: inline;
}

@media (hover: hover) and (min-width: 768px) and (prefers-reduced-motion: no-preference) {
	.wh-listing-card .card-product_wrapper > .wh-card-cart {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 130ms ease-out, visibility 0s linear 130ms;
	}

	.wh-listing-card:is(:hover, :focus-within) .card-product_wrapper > .wh-card-cart {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transition: opacity 160ms ease-out, visibility 0s;
	}

	.wh-card-cart .wh-cta {
		transition: opacity 240ms ease-in-out;
	}

	.wh-card-cart .wh-card-warehouse-options {
		transition: opacity 240ms ease-in-out, display 240ms allow-discrete;
	}

	.wh-card-cart .wh-card-warehouse-options[hidden] {
		opacity: 0;
		pointer-events: none;
	}

	@starting-style {
		.wh-card-cart .wh-card-warehouse-options:not([hidden]) {
			opacity: 0;
		}
	}
}
