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

.hdpco-product-price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
	margin: 6px 0 18px;
	color: #808080;
	font-family: inherit;
	line-height: 1.1;
}

.hdpco-product-price__regular {
	color: var(--hdpco-price-regular, #7d7d7d);
	font-size: 26px;
	font-weight: 500;
	text-decoration: line-through;
	text-decoration-thickness: 2px;
}

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

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

.hdpco-product-price__currency {
	color: #858585;
	font-size: 24px;
	font-weight: 500;
	text-transform: uppercase;
}

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

.hdpco-options-wrap {
	--hdpco-front-primary: #5b20e6;
	--hdpco-front-primary-dark: #4815c8;
	--hdpco-front-text: #303642;
	--hdpco-front-muted: #6d7280;
	--hdpco-front-border: #e6e9f0;
	--hdpco-front-input: #cfd5e2;
	--hdpco-front-bg: #fafafa;
	--hdpco-option-bg: #fff;
	--hdpco-option-text: #303642;
	--hdpco-option-border: #c9ced8;
	--hdpco-option-selected-bg: #5b20e6;
	--hdpco-option-selected-text: #fff;
	--hdpco-option-selected-border: #5b20e6;
	width: 100%;
	margin: 16px 0 12px;
	padding: 18px 20px 20px;
	border: 1px solid var(--hdpco-front-border);
	border-radius: 8px;
	background: var(--hdpco-front-bg);
	color: var(--hdpco-front-text);
	box-shadow: 0 8px 24px rgba(35, 41, 60, 0.05);
}

.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-label {
	display: block;
	margin: 0 0 10px;
	color: #2f3540;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
}

.hdpco-required {
	color: #f45280;
}

.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: 10px;
}

.hdpco-choice {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 48px;
	min-height: 32px;
	margin: 0;
	padding: 6px 14px;
	border: 1px solid var(--hdpco-option-border);
	border-radius: 7px;
	background: var(--hdpco-option-bg);
	color: var(--hdpco-option-text);
	font-size: 13px;
	font-weight: 800;
	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, transform 0.16s ease;
}

.hdpco-choice:hover {
	border-color: var(--hdpco-option-selected-border);
	color: var(--hdpco-option-selected-bg);
	box-shadow: 0 4px 12px rgba(91, 32, 230, 0.12);
	transform: translateY(-1px);
}

.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);
	box-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);
	box-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: 42px;
	margin: 0;
	padding: 10px 13px;
	border: 1px solid var(--hdpco-front-input);
	border-radius: 7px;
	background: #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: #8c93a4;
}

.hdpco-input:focus,
.hdpco-select:focus {
	border-color: #a5b8ff;
	box-shadow: 0 0 0 3px rgba(91, 32, 230, 0.12);
	outline: none;
}

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

.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-product-price {
		gap: 6px;
		margin-bottom: 14px;
	}

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

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

	.hdpco-product-price__currency {
		font-size: 18px;
	}

	.hdpco-options-wrap {
		padding: 15px;
		border-radius: 7px;
	}

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

	.hdpco-choice {
		min-width: 44px;
		min-height: 32px;
		padding: 6px 11px;
		font-size: 12px;
	}

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

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