:root {
	--nh-one-click-visible-height: 100vh;
	--nh-one-click-keyboard-inset: 0px;
}

body.nh-one-click-open {
	overflow: hidden;
}

body.nh-one-click-open #nh-mobile-promo {
	visibility: hidden;
	pointer-events: none;
}

.nh-one-click-split {
	position: relative;
	display: flex;
	width: 100%;
	margin-top: 8px;
	border-radius: 50px;
	box-shadow: 0 3px 10px rgba(17, 24, 39, .12);
}

.nh-one-click-split button {
	box-sizing: border-box;
	min-height: 44px !important;
	margin: 0 !important;
	padding: 10px 12px;
	font-family: inherit !important;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2 !important;
	text-transform: none !important;
	cursor: pointer;
}

.nh-one-click-method-select {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	width: 30% !important;
	flex: 0 0 30%;
	border: 1px solid #d1d5db !important;
	border-right: 0 !important;
	border-radius: 50px 0 0 50px !important;
	background: #fff !important;
	color: #374151 !important;
	text-align: left;
}

.nh-one-click-method-select:disabled {
	opacity: .55;
	cursor: not-allowed;
}

.nh-one-click-method-chevron {
	margin-left: 7px;
	color: #6b7280;
	font-size: 15px;
	line-height: 1 !important;
}

.nh-one-click-split .nh-one-click-pay {
	display: inline-flex !important;
	align-items: center;
	justify-content: space-between !important;
	width: auto !important;
	flex: 1 1 auto;
	min-width: 0;
	min-height: 44px !important;
	margin: 0 !important;
	border: 1px solid #ff7837 !important;
	border-radius: 0 50px 50px 0 !important;
	background: #ff7837 !important;
	color: #fff !important;
	box-shadow: none !important;
	text-align: center;
}

.nh-one-click-split .nh-one-click-pay:hover:not(:disabled) {
	border-color: #e66a2e !important;
	background: #e66a2e !important;
}

.nh-one-click-trigger.express-buy-now {
	border-radius: 50px !important;
	overflow: hidden;
}

.nh-one-click-method-menu {
	position: absolute;
	bottom: calc(100% + 8px);
	left: 0;
	z-index: 2147483002;
	width: min(265px, 92vw);
	padding: 5px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(17, 24, 39, .18);
}

.nh-one-click-method-menu[hidden] {
	display: none !important;
}

.nh-one-click-method-option {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
	width: 100% !important;
	min-height: 0 !important;
	padding: 9px 10px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: #fff !important;
	color: #111827 !important;
	font-size: 13px !important;
	line-height: 1.2 !important;
	text-align: left;
}

.nh-one-click-method-option:hover,
.nh-one-click-method-option.is-selected {
	background: #fff7f2 !important;
}

.nh-one-click-method-option small {
	margin-top: 3px;
	color: #6b7280;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.25 !important;
}

.nh-one-click-overlay {
	position: fixed;
	inset: 0;
	z-index: 2147482998;
	background: rgba(17, 24, 39, .58);
}

.nh-one-click-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 2147483001;
	width: min(440px, calc(100vw - 32px));
	max-height: calc(100vh - 24px);
	max-height: calc(100dvh - 24px);
	overflow-y: auto;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
	transform: translate(-50%, calc(-50% + 10px));
	opacity: 0;
	transition: transform .18s ease, opacity .18s ease, height .24s cubic-bezier(.22, .61, .36, 1);
	will-change: height, transform;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.nh-one-click-modal[hidden],
.nh-one-click-overlay[hidden],
.nh-one-click-optional-body[hidden],
.nh-one-click-message[hidden],
.nh-one-click-address-message[hidden] {
	display: none !important;
}

.nh-one-click-modal.is-open {
	transform: translate(-50%, -50%);
	opacity: 1;
}

.nh-one-click-modal.is-address-expanded {
	max-height: calc(100vh - 24px);
	max-height: calc(100dvh - 24px);
}

.nh-one-click-modal.is-content-fit {
	overflow-y: hidden;
}

.nh-one-click-modal.is-scrollable {
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
}

.nh-one-click-modal.is-scrollable .nh-one-click-header {
	position: sticky;
	top: 0;
	z-index: 4;
	background: #fff;
}

.nh-one-click-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px 10px;
	border-bottom: 1px solid #eef0f2;
}

.nh-one-click-header h2 {
	margin: 0;
	color: #111827;
	font-size: 17px;
	font-weight: 750;
	line-height: 1.25;
}

.nh-one-click-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px !important;
	height: 30px !important;
	min-width: 30px !important;
	min-height: 30px !important;
	padding: 0;
	margin: 0 !important;
	border: 0;
	border-radius: 50%;
	background: #f3f4f6;
	color: #4b5563;
	font-size: 18px;
	line-height: 30px !important;
	cursor: pointer;
}

.nh-one-click-close:hover {
	background: #e5e7eb;
}

.nh-one-click-form {
	padding: 10px 16px 12px;
	margin: 0 !important;
}

.nh-one-click-modal button {
	box-sizing: border-box;
	min-height: 0 !important;
	margin: 0 !important;
	font-family: inherit !important;
	line-height: 1.2 !important;
	text-transform: none !important;
}

/* Flatsome applies a stronger button line-height/min-height rule globally. */
.nh-one-click-modal .nh-one-click-close {
	width: 30px !important;
	height: 30px !important;
	min-width: 30px !important;
	min-height: 30px !important;
	line-height: 30px !important;
}

.nh-one-click-modal .nh-one-click-qty-button {
	width: 26px !important;
	height: 26px !important;
	min-width: 26px !important;
	min-height: 26px !important;
	line-height: 26px !important;
}

.nh-one-click-product {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	padding: 8px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fafafa;
}

.nh-one-click-selected-method {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 8px;
	color: #6b7280;
	font-size: 12px;
}

.nh-one-click-selected-method strong {
	color: #374151;
	font-size: 12px;
}

.nh-one-click-product-image-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	overflow: hidden;
	border-radius: 10px;
	background: #f3f4f6;
}

.nh-one-click-product-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nh-one-click-product-copy {
	min-width: 0;
}

.nh-one-click-product-name {
	display: -webkit-box;
	overflow: hidden;
	color: #111827;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.nh-one-click-product-price {
	margin-top: 2px;
	color: #6b7280;
	font-size: 12px;
}

.nh-one-click-quantity {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.nh-one-click-qty-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px !important;
	height: 26px !important;
	min-width: 26px !important;
	min-height: 26px !important;
	padding: 0;
	margin: 0 !important;
	border: 1px solid #d1d5db;
	border-radius: 50%;
	background: #fff;
	color: #111827;
	font-size: 16px;
	line-height: 26px !important;
	cursor: pointer;
}

.nh-one-click-qty-button:hover {
	border-color: #ff7837;
	color: #e66a2e;
}

.nh-one-click-qty-value {
	min-width: 18px;
	color: #111827;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
}

.nh-one-click-address-note {
	margin: 8px 0;
	padding: 7px 9px;
	border-left: 3px solid #ff7837;
	border-radius: 7px;
	background: #fff7f2;
	color: #7c2d12;
	font-size: 12px;
	line-height: 1.35;
}

.nh-one-click-address-note[hidden] {
	display: none !important;
}

.nh-one-click-field {
	margin-top: 8px;
}

.nh-one-click-field label {
	display: block;
	margin-bottom: 3px;
	color: #374151;
	font-size: 12px;
	font-weight: 650;
}

.nh-one-click-field input,
.nh-one-click-field select,
.nh-one-click-field textarea,
.nh-one-click-phone-input input,
.nh-one-click-phone-input select {
	box-sizing: border-box;
	width: 100%;
	min-height: 40px;
	padding: 8px 10px;
	border: 1px solid #d1d5db;
	border-radius: 9px;
	background: #fff;
	color: #111827;
	font: inherit;
	font-size: 16px;
}

.nh-one-click-field textarea {
	min-height: 74px;
	resize: vertical;
}

.nh-one-click-field input:focus,
.nh-one-click-field select:focus,
.nh-one-click-field textarea:focus,
.nh-one-click-phone-input input:focus,
.nh-one-click-phone-input select:focus {
	border-color: #ff7837;
	box-shadow: 0 0 0 3px rgba(255, 120, 55, .14);
	outline: none;
}

.nh-one-click-phone-input {
	display: grid;
	grid-template-columns: 102px minmax(0, 1fr);
	gap: 8px;
}

.nh-one-click-phone-input select {
	padding-right: 6px;
	font-size: 14px;
}

.nh-one-click-phone-field small {
	display: block;
	margin-top: 3px;
	color: #6b7280;
	font-size: 11px;
}

.nh-one-click-optional-address {
	margin-top: 10px;
	border-top: 1px solid #eef0f2;
}

.nh-one-click-optional-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 8px 0 2px;
	border: 0;
	background: transparent;
	color: #374151;
	font: inherit;
	font-size: 12px;
	font-weight: 650;
	text-align: left;
	cursor: pointer;
}

.nh-one-click-optional-meta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: 8px;
	white-space: nowrap;
}

.nh-one-click-optional-label {
	color: #6b7280;
	font-size: 12px;
	font-weight: 500;
}

.nh-one-click-optional-label.is-prefilled {
	display: inline-flex;
	padding: 2px 6px;
	border-radius: 999px;
	background: #ecfdf5;
	color: #15803d;
	font-size: 10px;
	font-weight: 700;
}

.nh-one-click-optional-chevron {
	display: inline-flex;
	align-items: center;
	color: #6b7280;
	font-size: 16px;
	font-weight: 700;
	font-style: normal;
	line-height: 1 !important;
}

.nh-one-click-optional-chevron i {
	font-style: normal;
	line-height: 1 !important;
}

.nh-one-click-optional-body {
	padding-bottom: 2px;
}

.nh-one-click-total-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 10px;
	padding-top: 8px;
	border-top: 1px solid #eef0f2;
	color: #374151;
	font-size: 14px;
}

.nh-one-click-shipping-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 8px;
	color: #6b7280;
	font-size: 12px;
}

.nh-one-click-shipping-row strong {
	color: #4b5563;
	font-weight: 600;
}

.nh-one-click-points {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2px 8px;
	margin-top: 8px;
	padding: 7px 9px;
	border: 1px solid #f3d6b3;
	border-radius: 8px;
	background: #fffaf4;
	color: #92400e;
	font-size: 12px;
}

.nh-one-click-points-value {
	font-size: 13px;
	font-weight: 750;
	text-align: right;
}

.nh-one-click-points-note {
	grid-column: 1 / -1;
	color: #a16207;
	font-size: 10px;
	line-height: 1.3;
}

.nh-one-click-total-row strong {
	color: #111827;
	font-size: 16px;
}

.nh-one-click-pay {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 44px !important;
	margin-top: 10px !important;
	padding: 10px 13px;
	border: 0;
	border-radius: 10px;
	background: #ff7837;
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 750;
	cursor: pointer;
	transition: background .15s ease, opacity .15s ease;
}

.nh-one-click-pay:hover:not(:disabled) {
	background: #e66a2e;
}

.nh-one-click-pay:disabled {
	opacity: .48;
	cursor: not-allowed;
}

.nh-one-click-terms {
	margin: 5px 0 0;
	color: #6b7280;
	font-size: 11px;
	line-height: 1.4;
	text-align: center;
}

.nh-one-click-terms a {
	color: #6b7280;
	text-decoration: underline;
}

.nh-one-click-message,
.nh-one-click-address-message {
	margin-top: 10px;
	padding: 9px 10px;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.4;
}

.nh-one-click-message.is-error,
.nh-one-click-address-message.is-error {
	border: 1px solid #fecaca;
	background: #fef2f2;
	color: #b91c1c;
}

.nh-one-click-message.is-info {
	border: 1px solid #bfdbfe;
	background: #eff6ff;
	color: #1d4ed8;
}

body.nh-one-click-address-required {
	overflow: hidden;
}

.nh-one-click-address-layer {
	position: fixed;
	inset: 0;
	z-index: 2147483003;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.nh-one-click-address-layer[hidden] {
	display: none !important;
}

.nh-one-click-address-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 24, 39, .68);
}

.nh-one-click-address-card {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: min(620px, 100%);
	max-height: min(720px, 90dvh);
	overflow-y: auto;
	margin: 0 !important;
	padding: 18px;
	border: 1px solid #fed7aa;
	border-radius: 14px;
	background: #fffaf5;
}

.nh-one-click-address-card h2 {
	margin: 0 0 7px;
	color: #111827;
	font-size: 20px;
}

.nh-one-click-address-card > p {
	margin: 0 0 12px;
	color: #4b5563;
	font-size: 14px;
	line-height: 1.5;
}

.nh-one-click-address-submit {
	width: 100%;
	min-height: 44px;
	margin-top: 14px;
	padding: 10px 14px;
	border: 0;
	border-radius: 9px;
	background: #ff7837;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.nh-one-click-address-submit:disabled {
	opacity: .55;
	cursor: wait;
}

.nh-one-click-address-complete {
	padding: 12px;
	border-radius: 9px;
	background: #ecfdf5;
	color: #166534;
	font-size: 14px;
	font-weight: 650;
}

@media (max-width: 767px) {
	.nh-one-click-address-layer {
		align-items: flex-end;
		padding: 0;
		padding-bottom: var(--nh-one-click-keyboard-inset, 0px);
	}

	.nh-one-click-address-card {
		width: 100%;
		max-height: calc(var(--nh-one-click-visible-height, 100dvh) - 12px);
		border-right: 0;
		border-bottom: 0;
		border-left: 0;
		border-radius: 18px 18px 0 0;
	}

	.nh-one-click-modal {
		top: auto;
		bottom: var(--nh-one-click-keyboard-inset, 0px);
		left: 0;
		width: 100%;
		max-height: calc(var(--nh-one-click-visible-height, 100dvh) - 12px);
		border-radius: 18px 18px 0 0;
		transform: translateY(100%);
	}

	.nh-one-click-modal.is-open {
		transform: translateY(0);
	}

	.nh-one-click-modal.is-address-expanded {
		max-height: calc(var(--nh-one-click-visible-height, 100dvh) - 12px);
	}

	.nh-one-click-form {
		padding: 10px 14px 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nh-one-click-modal {
		transition: none;
	}
}
