.nplch-gift-product {
	--gift-ink: #17151d;
	--gift-control: #26242b;
	--gift-line: #dedbdf;
	--gift-paper: #f7f6f7;
}

.nplch-gift-product #main {
	background: var(--gift-paper);
}

.nplch-gift-product #main :is(.product-breadcrumb-container, .woocommerce-breadcrumb, .rank-math-breadcrumb),
.nplch-gift-product .custom-product-page > .section.show-for-small:has(.product-breadcrumb-container),
.nplch-gift-product .custom-product-page .col:has(> .col-inner > .product-breadcrumb-container:only-child) {
	display: none !important;
}

@media (max-width: 768px) {
	.nplch-gift-product #header .header-wrapper:not(.stuck) {
		display: block;
	}

	.nplch-gift-product .nplch-gift-preview {
		margin-top: 10px;
	}
}

.nplch-gift-product .product-main {
	padding-block: clamp(24px, 4vw, 60px) 16px;
	background: var(--gift-paper);
}

.nplch-gift-product .product-main > .row {
	max-width: 1340px;
	align-items: flex-start;
}

.nplch-gift-product .product-info {
	color: var(--gift-ink);
	padding-inline: clamp(16px, 4vw, 55px) clamp(16px, 3vw, 42px);
}

.nplch-gift-product h1.product_title {
	color: var(--gift-ink);
	font-size: clamp(33px, 4.2vw, 58px);
	line-height: 1.03;
	letter-spacing: -.048em;
	margin-block: .4em .28em;
}

.nplch-gift-preview {
	overflow: hidden;
	margin: 0;
	border: 1px solid var(--gift-line);
	border-radius: clamp(10px, 1.5vw, 18px);
	color: var(--gift-ink);
	background: #fff;
	box-shadow: 0 16px 36px #17151d12;
}

.nplch-gift-preview img {
	display: block;
	width: 100%;
	height: auto;
}

.nplch-gift-product .nplch-gift-select-row[hidden] {
	display: none !important;
}

.nplch-gift-drawer-trigger {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 54px;
	margin: .75rem 0 1.5rem;
	padding: .65rem 1rem;
	border: 1px solid var(--gift-line);
	border-radius: 6px;
	background: #fff;
	color: var(--gift-ink);
	font-size: 1rem;
	letter-spacing: normal;
	text-align: left;
	text-transform: none;
}

.nplch-gift-drawer-trigger:hover {
	border-color: var(--gift-control);
}

.nplch-gift-drawer-trigger span:last-child {
	font-size: 1.5rem;
	line-height: 1;
}

.nplch-gift-product:has(.nplch-gift-drawer[open]) {
	overflow: hidden;
}

.nplch-gift-drawer {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(440px, calc(100% - 20px));
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: clamp(16px, 4vw, 30px);
	border: 0;
	background: var(--gift-paper);
	color: var(--gift-ink);
	overscroll-behavior: contain;
}

.nplch-gift-drawer::backdrop {
	background: #17151d66;
}

@media (prefers-reduced-motion: no-preference) {
	.nplch-gift-drawer[open] {
		animation: nplch-gift-drawer-in .24s ease-out;
	}
}

@keyframes nplch-gift-drawer-in {
	from { transform: translateX(100%); }
	to { transform: translateX(0); }
}

.nplch-gift-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding-bottom: .65rem;
	border-bottom: 1px solid var(--gift-line);
}

.nplch-gift-drawer-header h2 {
	margin: 0;
	color: inherit;
	font-size: clamp(19px, 5vw, 26px);
}

.nplch-gift-drawer-close {
	flex: 0 0 44px;
	width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	color: inherit;
	font-size: 1.65rem;
	line-height: 1;
}

.nplch-gift-nominals {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	min-width: 0;
	margin: 1.25rem 0;
	padding: 0;
	border: 0;
}

.nplch-gift-nominals button {
	min-height: 46px;
	margin: 0;
	padding: .5rem .2rem;
	border: 1px solid var(--gift-line);
	border-radius: 6px;
	background: #fff;
	color: var(--gift-ink);
	font-size: .875rem;
	letter-spacing: normal;
	line-height: 1.2;
	white-space: nowrap;
}

.nplch-gift-nominals button:not(:disabled):hover {
	border-color: var(--gift-control);
}

.nplch-gift-nominals button[aria-current="true"] {
	background: var(--gift-control);
	border-color: var(--gift-control);
	color: #fff;
}

.nplch-gift-nominals button:focus-visible {
	outline: 2px solid var(--gift-control);
	outline-offset: 2px;
}

.nplch-gift-nominals button:disabled {
	opacity: .45;
	cursor: not-allowed;
}

.nplch-gift-product .nplch-gift-recipient-title {
	margin: 0 0 .6rem;
	color: var(--gift-ink);
	font-size: clamp(19px, 2vw, 25px);
}

.nplch-gift-product .woocommerce_gc_giftcard_form .input-text {
	background: #fff;
	border: 1px solid var(--gift-line);
	border-radius: 6px;
	box-shadow: none;
}

.nplch-gift-product .variations_form .single_add_to_cart_button {
	width: 100%;
	min-height: 52px;
	margin-inline: 0;
	background: var(--gift-control);
	border-radius: 6px;
	color: #fff;
}

.nplch-gift-product .variations_form .single_add_to_cart_button:hover {
	background: var(--gift-ink);
}

.nplch-gift-product .wc_gc_giftcard_delivery .datepicker {
	cursor: pointer;
}

@media (max-width: 549px) {
	.nplch-gift-product .product-gallery {
		padding-bottom: 6px;
	}

	.nplch-gift-product .product-info {
		padding-top: 10px;
	}
}

.nplch-gift-intro,
.nplch-gift-details {
	max-width: 58ch;
}

.nplch-gift-details {
	margin-block: 1.25rem;
	padding-block: .75rem;
	border-block: 1px solid #e6e4e1;
}

.nplch-gift-details summary {
	min-height: 44px;
	padding-top: .5rem;
	cursor: pointer;
	font-weight: 600;
}

.nplch-gift-details p:first-of-type {
	margin-top: .6rem;
}

.woocommerce_gc_giftcard_form {
	margin-block: 1.25rem;
}

.woocommerce_gc_giftcard_form .wc_gc_field {
	margin-bottom: 1rem;
}

.woocommerce_gc_giftcard_form .input-text {
	width: 100%;
	min-height: 44px;
	margin-bottom: 0;
}

.woocommerce_gc_giftcard_form .description {
	display: block;
	margin-top: .35rem;
	color: #595959;
	line-height: 1.45;
}

.add_gift_card_form {
	margin-block: 1rem;
	padding: 1rem 0;
	border-block: 1px solid #e6e4e1;
}

.add_gift_card_form h4 {
	margin: 0 0 .6rem;
}

.nplch-checkout-gift-card {
	margin-block: 1rem;
	border-block: 1px solid #e6e4e1;
}

.nplch-checkout-gift-card > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 48px;
	padding-block: .7rem;
	list-style: none;
	font-weight: 650;
	cursor: pointer;
}

.nplch-checkout-gift-card > summary::-webkit-details-marker {
	display: none;
}

.nplch-checkout-gift-card > summary:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.nplch-checkout-gift-card > summary::after {
	content: '';
	width: .5rem;
	height: .5rem;
	margin-inline-end: .2rem;
	border-right: 1.5px solid;
	border-bottom: 1.5px solid;
	transform: rotate(45deg);
}

.nplch-checkout-gift-card[open] > summary::after {
	transform: rotate(225deg);
}

.nplch-checkout-gift-card .add_gift_card_form {
	margin: 0;
	padding: 0 0 1rem;
	border: 0;
}

.nplch-checkout-gift-card .add_gift_card_form > h4 {
	display: none;
}

.add_gift_card_form #wc_gc_cart_code,
.woocommerce-MyAccount-Giftcards-form input.input-text {
	width: 100%;
	min-height: 44px;
	margin: 0 0 .5rem;
}

.add_gift_card_form #wc_gc_cart_redeem_send,
.woocommerce-MyAccount-Giftcards-form .button {
	width: 100%;
	min-height: 44px;
	margin: 0;
}

.nplch-gift-account-note {
	max-width: 58ch;
}
