.woocommerce div.product .summary > p.price,
.woocommerce div.product .entry-summary > p.price {
	display: none;
}

.hdpco-price-box {
	margin: 6px 0 18px;
	padding: 16px 18px;
	border: 1px solid #ececf1;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(20, 24, 40, 0.04);
	line-height: 1.05;
}

.hdpco-price-box *,
.hdpco-price-box *::before,
.hdpco-price-box *::after {
	box-sizing: border-box;
}

.hdpco-price-box__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.hdpco-product-price {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	font-family: inherit;
	line-height: 1.05;
}

.hdpco-product-price__sale {
	color: var(--hdpco-price-sale, #e11d2a);
	font-size: 34px;
	font-weight: 800;
	letter-spacing: 0;
}

.hdpco-product-price__regular {
	color: var(--hdpco-price-regular, #9298a3);
	font-size: 20px;
	font-weight: 500;
	text-decoration: line-through;
	text-decoration-thickness: 1px;
}

.hdpco-product-price__sale--single {
	color: var(--hdpco-price-sale, #303642);
}

.hdpco-product-price__badge {
	display: inline-flex;
	align-items: flex-start;
	gap: 1px;
	padding: 6px 9px;
	border-radius: 4px 10px 10px 4px;
	background: var(--hdpco-price-sale, #e11d2a);
	color: #fff;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.hdpco-product-price__badge b {
	color: #fff;
	font-size: 15px;
	font-style: italic;
	font-weight: 800;
	line-height: 1;
}

.hdpco-product-price__badge small {
	color: #fff;
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1;
	margin-top: 1px;
}

.hdpco-product-price .woocommerce-Price-amount,
.hdpco-product-price .woocommerce-Price-currencySymbol {
	color: inherit;
	font: inherit;
}

.hdpco-free-returns-wrap {
	position: relative;
	display: inline-flex;
	flex: none;
}

.hdpco-free-returns {
	display: inline-flex;
	align-items: center;
	flex: none;
	gap: 7px;
	margin: 0;
	padding: 9px 13px;
	border: 0;
	border-radius: 10px;
	background: #fdf3d9;
	color: #17202e;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: background 0.16s ease;
}

.hdpco-free-returns:hover {
	background: #fbecc4;
}

.hdpco-free-returns:focus-visible {
	outline: 2px solid #17202e;
	outline-offset: 2px;
}

.hdpco-free-returns-pop {
	position: absolute;
	right: 0;
	bottom: calc(100% + 12px);
	z-index: 100001;
	display: block;
	width: min(360px, calc(100vw - 32px));
	padding: 15px 17px;
	border-radius: 10px;
	background: #1f2129;
	color: #d3d6dd;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.55;
	text-align: left;
	white-space: normal;
	box-shadow: 0 12px 32px rgba(10, 14, 25, 0.32);
}

.hdpco-free-returns-pop[hidden] {
	display: none;
}

.hdpco-free-returns-pop::after {
	content: "";
	position: absolute;
	top: 100%;
	right: 26px;
	border: 7px solid transparent;
	border-top-color: #1f2129;
}

.hdpco-free-returns-pop__title {
	display: block;
	margin: 0 0 6px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}

.hdpco-free-returns-pop__text {
	display: block;
	margin: 0;
}

.hdpco-free-returns-pop__link {
	display: inline-block;
	margin-top: 10px;
	color: #ffd814;
	font-weight: 700;
	text-decoration: underline;
}

.hdpco-free-returns-pop__link:hover,
.hdpco-free-returns-pop__link:focus {
	color: #ffe14d;
	text-decoration: underline;
}

.hdpco-free-returns__icon {
	width: 14px;
	height: 14px;
	flex: none;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6.5'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

.hdpco-free-returns__caret {
	width: 12px;
	height: 12px;
	flex: none;
	background-color: currentColor;
	opacity: 0.7;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
}

.hdpco-offer-countdown {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 14px;
	padding: 11px 14px;
	border-radius: 10px;
	background: #f4f5f7;
	font-size: 14px;
	line-height: 1.25;
}

.hdpco-offer-countdown__label {
	color: #3c414d;
	font-weight: 500;
}

.hdpco-offer-countdown__time {
	color: var(--hdpco-price-sale, #e11d2a);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.hdpco-options-wrap {
	--hdpco-front-primary: #e11d2a;
	--hdpco-front-primary-dark: #c0121f;
	--hdpco-front-text: #303642;
	--hdpco-front-muted: #6d7280;
	--hdpco-front-border: #e6e9f0;
	--hdpco-front-input: #d7dbe3;
	--hdpco-front-bg: transparent;
	--hdpco-option-bg: #fff;
	--hdpco-option-text: #303642;
	--hdpco-option-border: #d7dbe3;
	--hdpco-option-selected-bg: #fdeced;
	--hdpco-option-selected-text: #e11d2a;
	--hdpco-option-selected-border: #e11d2a;
	--hdpco-select-color: #303642;
	--hdpco-field-radius: 8px;
	--hdpco-option-radius: 8px;
	width: 100%;
	margin: 16px 0 12px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--hdpco-front-text);
}

.hdpco-options-wrap *,
.hdpco-options-wrap *::before,
.hdpco-options-wrap *::after {
	box-sizing: border-box;
}

.hdpco-form {
	margin: 0;
	padding: 0;
}

.hdpco-form + .hdpco-form {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--hdpco-front-border);
}

.hdpco-form-title {
	margin: 0 0 14px;
	color: var(--hdpco-front-text);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.hdpco-field {
	margin: 0 0 18px;
}

.hdpco-field:last-child {
	margin-bottom: 0;
}

.hdpco-field.is-hidden,
.hdpco-option.is-hidden {
	display: none !important;
}

.hdpco-field-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 10px;
}

.hdpco-field-label {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	color: #17202e;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.hdpco-field-label__text {
	color: #17202e;
}

.hdpco-selected-value {
	color: var(--hdpco-option-selected-text, #e11d2a);
	font-weight: 700;
}

.hdpco-selected-value:empty {
	display: none;
}

.hdpco-required {
	color: #f45280;
}

.hdpco-guide-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: #2f6bff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	white-space: nowrap;
}

.hdpco-guide-link:hover {
	text-decoration: underline;
}

.hdpco-guide-link__icon {
	width: 16px;
	height: 16px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.3 15.3 8.7 2.7a1 1 0 0 0-1.4 0L2.7 7.3a1 1 0 0 0 0 1.4l12.6 12.6a1 1 0 0 0 1.4 0l4.6-4.6a1 1 0 0 0 0-1.4Z'/%3E%3Cpath d='m14.5 12.5-2 2M11.5 9.5l-2 2M8.5 6.5l-2 2M17.5 15.5l-2 2'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.3 15.3 8.7 2.7a1 1 0 0 0-1.4 0L2.7 7.3a1 1 0 0 0 0 1.4l12.6 12.6a1 1 0 0 0 1.4 0l4.6-4.6a1 1 0 0 0 0-1.4Z'/%3E%3Cpath d='m14.5 12.5-2 2M11.5 9.5l-2 2M8.5 6.5l-2 2M17.5 15.5l-2 2'/%3E%3C/svg%3E") no-repeat center / contain;
}

.hdpco-field-note {
	margin: 10px 0 0;
	color: var(--hdpco-price-sale, #ef3737);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
}

.hdpco-field-description {
	margin: -4px 0 10px;
	color: var(--hdpco-front-muted);
	font-size: 13px;
	line-height: 1.45;
}

.hdpco-field.has-error .hdpco-field-label {
	color: #e03131;
}

.hdpco-field.has-error .hdpco-choice,
.hdpco-field.has-error .hdpco-input,
.hdpco-field.has-error .hdpco-select {
	border-color: #e03131;
	box-shadow: 0 0 0 3px rgba(224, 49, 49, 0.1);
}

.hdpco-field-error {
	margin: 8px 0 0;
	color: #e03131;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
}

.hdpco-choice-list {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.hdpco-choice {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 40px;
	min-height: 36px;
	margin: 0;
	padding: 9px 15px;
	border: 1px solid var(--hdpco-option-border);
	border-radius: var(--hdpco-option-radius, 10px);
	background: var(--hdpco-option-bg);
	color: var(--hdpco-option-text);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	user-select: none;
	transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.hdpco-choice:hover {
	border-color: var(--hdpco-option-selected-border);
	color: var(--hdpco-option-selected-border);
}

.hdpco-choice input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.hdpco-choice.is-selected {
	border-color: var(--hdpco-option-selected-border);
	background: var(--hdpco-option-selected-bg);
	color: var(--hdpco-option-selected-text);
	font-weight: 600;
	box-shadow: var(--hdpco-option-selected-shadow, 0 7px 18px rgba(91, 32, 230, 0.23));
}

.hdpco-choice:has(input:checked) {
	border-color: var(--hdpco-option-selected-border);
	background: var(--hdpco-option-selected-bg);
	color: var(--hdpco-option-selected-text);
	font-weight: 600;
	box-shadow: var(--hdpco-option-selected-shadow, 0 7px 18px rgba(91, 32, 230, 0.23));
}

.hdpco-choice small {
	color: inherit;
	font-size: 11px;
	font-weight: 700;
	opacity: 0.85;
}

.hdpco-input,
.hdpco-select {
	display: block;
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 14px 18px;
	border: 1px solid var(--hdpco-front-input);
	border-radius: var(--hdpco-field-radius, 12px);
	background-color: #fff;
	color: var(--hdpco-front-text);
	font-size: 15px;
	line-height: 1.4;
	box-shadow: none;
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.hdpco-input::placeholder {
	color: #aab0bc;
}

.hdpco-select {
	padding-right: 40px;
	color: var(--hdpco-select-color, #c2681c);
	font-weight: 500;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23303642' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px 16px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.hdpco-select::-ms-expand {
	display: none;
}

.hdpco-input:focus,
.hdpco-select:focus {
	border-color: #2f6bff;
	box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.15);
	outline: none;
}

textarea.hdpco-input {
	min-height: 92px;
	resize: vertical;
}

.hdpco-customize {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.hdpco-customize-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 14px 18px;
	border: 1px solid #ececf1;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(20, 24, 40, 0.04);
}

.hdpco-customize-titles {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.hdpco-customize-title {
	color: #17202e;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.hdpco-customize-price {
	color: var(--hdpco-front-muted);
	font-size: 14px;
	font-weight: 500;
}

.hdpco-yesno {
	position: relative;
	flex: none;
}

.hdpco-yesno__input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.hdpco-yesno__track {
	display: inline-flex;
	align-items: center;
	padding: 12px 6px;
	border: 0;
	border-radius: 12px;
	background: var(--hdpco-option-selected-bg, #fdeced);
	cursor: pointer;
	user-select: none;
}

.hdpco-yesno__label {
	min-width: 50px;
	padding: 8px;
	border-radius: 8px;
	color: #9aa3b8;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.hdpco-yesno__label:hover {
	background: color-mix(in srgb, var(--hdpco-option-selected-bg, #fdeced) 50%, transparent);
}

.hdpco-yesno__input:not(:checked) + .hdpco-yesno__track .hdpco-yesno__label--no,
.hdpco-yesno__input:checked + .hdpco-yesno__track .hdpco-yesno__label--yes {
	background: #fff;
	color: #17202e;
	box-shadow: 0 1px 4px rgba(20, 24, 40, 0.14);
}

.hdpco-yesno__input:focus-visible + .hdpco-yesno__track {
	outline: 2px solid var(--hdpco-option-selected-border, #e11d2a);
	outline-offset: 2px;
}

.hdpco-customize-body {
	display: grid;
	gap: 18px;
	margin-top: 18px;
}

.hdpco-customize-body[hidden] {
	display: none;
}

.hdpco-customize-input {
	display: block;
}

.hdpco-customize-input > span {
	display: block;
	margin-bottom: 10px;
	color: #17202e;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.hdpco-guide-modal[hidden] {
	display: none;
}

.hdpco-guide-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.hdpco-guide-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 20, 35, 0.6);
}

.hdpco-guide-modal__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(720px, 100%);
	max-height: 90vh;
	overflow: hidden;
	padding: 20px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.hdpco-guide-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f1f3f7;
	color: #333;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.hdpco-guide-modal__close:hover {
	background: #e2e6ef;
}

.hdpco-guide-modal__title {
	flex: none;
	margin: 0 40px 14px 0;
	color: #1f2740;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.hdpco-guide-modal__image {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	border: 1px solid var(--hdpco-front-border, #e6e9f0);
	border-radius: 8px;
	background: #fff;
	-webkit-overflow-scrolling: touch;
}

.hdpco-guide-modal__image img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

body.hdpco-guide-open {
	overflow: hidden;
}

.hdpco-price-preview {
	display: grid;
	gap: 6px;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--hdpco-front-border);
	color: var(--hdpco-front-muted);
	font-size: 13px;
	line-height: 1.35;
}

.hdpco-price-preview strong {
	color: var(--hdpco-front-primary);
	font-weight: 800;
}

form.cart .hdpco-options-wrap + .quantity,
form.cart .hdpco-options-wrap + .quantity + button,
form.cart .hdpco-options-wrap ~ .single_add_to_cart_button {
	margin-top: 6px;
}

.woocommerce div.product form.cart .hdpco-options-wrap {
	clear: both;
}

.woocommerce div.product form.cart .hdpco-options-wrap select {
	max-width: 100%;
}

@media (max-width: 640px) {
	.hdpco-price-box {
		padding: 13px 14px;
		margin-bottom: 14px;
	}

	.hdpco-price-box__head {
		flex-wrap: wrap;
	}

	.hdpco-product-price {
		gap: 8px;
	}

	.hdpco-product-price__sale {
		font-size: 28px;
	}

	.hdpco-product-price__regular {
		font-size: 17px;
	}

	.hdpco-free-returns {
		padding: 8px 11px;
		font-size: 13px;
	}

	.hdpco-free-returns-pop {
		position: fixed;
		top: 50%;
		right: auto;
		bottom: auto;
		left: 50%;
		transform: translate(-50%, -50%);
		width: calc(100vw - 32px);
		max-width: 360px;
		max-height: 80vh;
		overflow-y: auto;
	}

	.hdpco-free-returns-pop::after {
		display: none;
	}

	.hdpco-offer-countdown {
		margin-top: 12px;
		font-size: 13px;
	}

	.hdpco-options-wrap {
		padding: 0;
	}

	.hdpco-choice-list {
		gap: 8px;
	}

	.hdpco-choice {
		min-width: 38px;
		min-height: 34px;
		padding: 8px 13px;
		font-size: 12px;
	}

	.hdpco-field-label {
		font-size: 15px;
	}

	.hdpco-customize-title,
	.hdpco-customize-input > span {
		font-size: 15px;
	}

	.hdpco-input,
	.hdpco-select {
		min-height: 46px;
		padding: 12px 14px;
		font-size: 14px;
	}
}
