.wcvc-calculator {
	background: linear-gradient(180deg, #f7f7f7 0%, #f1f1f1 100%);
	border: 1px solid #e2e2e2;
	padding: 18px;
	margin-bottom: 18px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

form.cart.wcvc-has-calculator > .quantity,
form.cart.wcvc-has-calculator > button.single_add_to_cart_button {
	display: none !important;
}

.wcvc-fields {
	display: grid;
	gap: 14px;
}

.wcvc-field {
	display: grid;
	gap: 6px;
}

.wcvc-label-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	color: #4e4e4e;
	font-size: 17px;
	line-height: 1.2;
}

.wcvc-label-row label {
	margin: 0;
	font-weight: 500;
}

.wcvc-info {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #f45b16;
	color: #fff;
	font-size: 13px;
	font-style: normal;
	font-weight: 700;
	cursor: help;
}

.wcvc-control-wrap,
.wcvc-file-trigger,
.wcvc-control-wrap-small {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 44px;
	background: #dcdcdc;
	border: 1px solid transparent;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wcvc-control-wrap:focus-within,
.wcvc-file-trigger:focus-within,
.wcvc-control-wrap-small:focus-within {
	border-color: #f45b16;
	box-shadow: 0 0 0 1px rgba(244, 91, 22, 0.18);
}

.wcvc-control-wrap select,
.wcvc-control-wrap-small select,
.wcvc-quantity-control input {
	width: 100%;
	height: 44px;
	border: 0;
	background: transparent;
	box-shadow: none;
	padding: 0 40px 0 14px;
	color: #2d2d2d;
	font-size: 16px;
	appearance: none;
}

.wcvc-control-wrap select:focus,
.wcvc-control-wrap-small select:focus,
.wcvc-quantity-control input:focus {
	outline: none;
}

.wcvc-caret {
	position: absolute;
	right: 14px;
	top: 50%;
	width: 10px;
	height: 10px;
	border-right: 2px solid #151515;
	border-bottom: 2px solid #151515;
	transform: translateY(-65%) rotate(45deg);
	pointer-events: none;
}

.wcvc-file-wrap {
	position: relative;
}

.wcvc-file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
}

.wcvc-file-trigger {
	justify-content: space-between;
	padding: 0 40px 0 14px;
	cursor: pointer;
}

.wcvc-file-name {
	color: #434343;
	font-size: 16px;
	line-height: 1.3;
}

.wcvc-bottom-bar {
	display: grid;
	grid-template-columns: minmax(120px, 0.8fr) minmax(220px, 1.1fr) minmax(220px, 1fr) minmax(200px, 0.9fr);
	gap: 12px;
	align-items: end;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid #e0e0e0;
}

.wcvc-footer-block {
	display: grid;
	gap: 8px;
}

.wcvc-footer-block label {
	margin: 0;
	color: #4e4e4e;
	font-size: 15px;
	font-weight: 500;
}

.wcvc-control-wrap-small select {
	padding-right: 32px;
}

.wcvc-quantity-control {
	display: grid;
	grid-template-columns: 62px minmax(88px, 1fr) 62px;
	background: #232323;
}

.wcvc-stepper {
	height: 44px;
	border: 0;
	border-radius: 0;
	background: #232323;
	color: #fff;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.wcvc-stepper:hover {
	background: #111;
}

.wcvc-quantity-control input {
	text-align: center;
	background: #f1f1f1;
	padding: 0 10px;
	-moz-appearance: textfield;
}

.wcvc-quantity-control input::-webkit-outer-spin-button,
.wcvc-quantity-control input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.wcvc-summary {
	padding: 10px 14px;
	background: #ececec;
	min-height: 44px;
}

.wcvc-summary-top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.wcvc-summary-label {
	color: #4e4e4e;
	font-size: 15px;
	font-weight: 500;
}

.wcvc-summary-total {
	color: #111;
	font-size: 25px;
	line-height: 1;
}

.wcvc-summary-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin-top: 6px;
	color: #555;
	font-size: 13px;
}

.wcvc-add-to-cart-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 56px;
	padding: 12px 18px;
	border: 0;
	border-radius: 0;
	background: #08b253;
	color: #fff;
	font-size: 28px;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.wcvc-add-to-cart-button:hover {
	background: #079247;
}

.wcvc-add-to-cart-button:disabled {
	opacity: 0.7;
	cursor: wait;
}

.wcvc-feedback {
	min-height: 20px;
	margin: 10px 0 0;
	color: #d64d10;
	font-size: 14px;
}

.wcvc-feedback.is-success {
	color: #07813f;
}

@media (max-width: 980px) {
	.wcvc-bottom-bar {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 680px) {
	.wcvc-calculator {
		padding: 14px;
	}

	.wcvc-label-row {
		font-size: 15px;
	}

	.wcvc-bottom-bar {
		grid-template-columns: 1fr;
	}

	.wcvc-add-to-cart-button {
		font-size: 22px;
		min-height: 50px;
	}
}
