:root {
	--vdc-gift-panel-bg: #ffffff;
	--vdc-gift-panel-border: #d9d9d9;
	--vdc-gift-eyebrow: #111111;
	--vdc-gift-intro: #444444;
	--vdc-gift-status: #666666;
	--vdc-gift-option-bg: #ffffff;
	--vdc-gift-option-border: #d0d0d0;
	--vdc-gift-option-text: #111111;
	--vdc-gift-option-selected-bg: #fafafa;
	--vdc-gift-option-selected-border: #111111;
	--vdc-gift-button-bg: #ffffff;
	--vdc-gift-button-border: #c8c8c8;
	--vdc-gift-button-text: #111111;
}

.vdc-variable-gifts {
	display: grid;
	gap: 14px;
	margin: 18px 0;
}

.vdc-variable-gift-choice {
	padding: 18px;
	border: 1px solid var(--vdc-gift-panel-border);
	border-radius: 12px;
	background: var(--vdc-gift-panel-bg);
}

.vdc-variable-gift-choice__eyebrow {
	display: inline-block;
	margin-bottom: 5px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	color: var(--vdc-gift-eyebrow);
}

.vdc-variable-gift-choice__intro {
	margin: 0 0 12px;
	color: var(--vdc-gift-intro);
}

.vdc-gift-variation-options {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
}

.vdc-gift-variation-option {
	position: relative;
	display: block;
	margin: 0;
	cursor: pointer;
}

.vdc-gift-variation-option > input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.vdc-gift-variation-option__card {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 0;
	padding: 10px 12px;
	border: 1px solid var(--vdc-gift-option-border);
	border-radius: 10px;
	background: var(--vdc-gift-option-bg);
	text-align: left;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.vdc-gift-variation-option__image {
	display: flex;
	width: 72px;
	height: 72px;
	align-items: center;
	justify-content: center;
	flex: 0 0 72px;
}

.vdc-gift-variation-option__image-img,
.vdc-gift-variation-option__image img {
	display: block;
	width: 72px;
	height: 72px;
	margin: 0;
	object-fit: contain;
}

.vdc-gift-variation-option__name {
	display: block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	word-break: break-word;
	color: var(--vdc-gift-option-text);
}

.vdc-gift-variation-option > input:checked + .vdc-gift-variation-option__card {
	border-color: var(--vdc-gift-option-selected-border);
	box-shadow: inset 0 0 0 1px var(--vdc-gift-option-selected-border);
	background: var(--vdc-gift-option-selected-bg);
}

.vdc-gift-variation-option > input:focus-visible + .vdc-gift-variation-option__card {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.vdc-gift-variation-option:hover .vdc-gift-variation-option__card {
	border-color: rgba(0, 0, 0, .45);
}

.vdc-variable-gift-choice.is-loading .vdc-gift-variation-option {
	cursor: wait;
}

.vdc-variable-gift-choice.is-loading .vdc-gift-variation-option__card {
	opacity: .65;
}

.vdc-variable-gift-choice__message {
	display: block;
	margin-top: 10px;
	font-size: 13px;
	color: var(--vdc-gift-status);
}

@media (max-width: 600px) {
	.vdc-variable-gift-choice {
		padding: 14px;
	}

	.vdc-gift-variation-option__card {
		grid-template-columns: 60px minmax(0, 1fr);
		gap: 10px;
		padding: 9px 10px;
	}

	.vdc-gift-variation-option__image,
	.vdc-gift-variation-option__image-img,
	.vdc-gift-variation-option__image img {
		width: 60px;
		height: 60px;
	}

	.vdc-gift-variation-option__name {
		font-size: 13px;
	}
}


.vdc-checkout-gift-lock {
	display: grid;
	gap: 7px;
	width: 100%;
}

.vdc-checkout-gift-lock__button,
.vdc-checkout-gift-lock__button:disabled {
	width: 100%;
	cursor: not-allowed;
	opacity: .55;
}

.vdc-checkout-gift-lock small {
	display: block;
	font-size: 12px;
	line-height: 1.4;
	text-align: center;
}


.vdc-gift-pool-choice {
	padding: 18px;
	border: 1px solid var(--vdc-gift-panel-border);
	border-radius: 12px;
	background: var(--vdc-gift-panel-bg);
}

.vdc-gift-pool-choice__status {
	margin: -4px 0 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--vdc-gift-status);
}

.vdc-gift-pool-options {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
}

.vdc-gift-pool-option {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	align-items: center;
	gap: 11px;
	padding: 9px 10px;
	border: 1px solid var(--vdc-gift-option-border);
	border-radius: 10px;
	background: var(--vdc-gift-option-bg);
}

.vdc-gift-pool-option.is-selected {
	border-color: var(--vdc-gift-option-selected-border);
	background: var(--vdc-gift-option-selected-bg);
}

.vdc-gift-pool-option__image,
.vdc-gift-pool-option__image-img,
.vdc-gift-pool-option__image img {
	display: block;
	width: 64px;
	height: 64px;
	margin: 0;
	object-fit: contain;
}

.vdc-gift-pool-option__content {
	min-width: 0;
}

.vdc-gift-pool-option__name {
	display: block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--vdc-gift-option-text);
}

.vdc-gift-pool-option__controls {
	display: grid;
	grid-template-columns: 34px 28px 34px;
	align-items: center;
	gap: 4px;
}

.vdc-gift-pool-quantity-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid var(--vdc-gift-button-border);
	border-radius: 8px;
	background: var(--vdc-gift-button-bg);
	color: var(--vdc-gift-button-text);
	font: inherit;
	font-size: 19px;
	line-height: 1;
	cursor: pointer;
}

.vdc-gift-pool-quantity-button:disabled {
	opacity: .35;
	cursor: default;
}

.vdc-gift-pool-option__quantity {
	text-align: center;
	font-size: 14px;
	color: var(--vdc-gift-status);
}

.vdc-gift-pool-choice.is-loading .vdc-gift-pool-option {
	opacity: .65;
}

@media (max-width: 600px) {
	.vdc-gift-pool-choice {
		padding: 14px;
	}

	.vdc-gift-pool-option {
		grid-template-columns: 54px minmax(0, 1fr) auto;
		gap: 8px;
		padding: 8px;
	}

	.vdc-gift-pool-option__image,
	.vdc-gift-pool-option__image-img,
	.vdc-gift-pool-option__image img {
		width: 54px;
		height: 54px;
	}

	.vdc-gift-pool-option__name {
		font-size: 13px;
	}
}
