#pd-area-sqft {
	color: #0073aa;
	font-weight: 700;
	margin: 0 4px;
}

.pd-area-display {
	background: #fff;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.5;
	margin-top: 15px;
	padding: 12px 15px;
}

.pd-area-label {
	color: #333;
	font-weight: 600;
}

.pd-area-unit {
	color: #666;
}

.pd-breakdown-label {
	color: #666;
}

.pd-breakdown-row {
	display: flex;
	font-size: 13px;
	justify-content: space-between;
	line-height: 1.5;
	margin-bottom: 8px;
}

.pd-breakdown-value {
	color: #333;
	font-weight: 600;
}

.pd-configurator-wrap {
	background: #f9f9f9;
	border-radius: 8px;
	line-height: 1.5;
	margin: 20px 0;
	padding: 20px;
}

.pd-corner-icon {
	flex-shrink: 0;
	height: 24px;
	position: relative;
	width: 24px;
}

.pd-corner-icon svg {
	height: 100%;
	width: 100%;
}

.pd-corner-input {
	-moz-appearance: textfield;
	-webkit-appearance: none;
	appearance: none;
	border: none;
	font-size: 14px;
	font-weight: 600;
	padding: 8px 10px;
	text-align: center;
	width: 60px;
}

.pd-corner-input-group {
	align-items: center;
	background: #fff;
	border-radius: 4px;
	border: 1px solid #ddd;
	display: flex;
	overflow: hidden;
}

.pd-corner-input-wrap {
	align-items: center;
	display: flex;
	gap: 10px;
	position: relative;
}

.pd-corner-input::-webkit-inner-spin-button, .pd-corner-input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.pd-corner-input:focus {
	outline: none;
}

.pd-corner-number {
	color: #01319d;
	font-size: 10px;
	font-weight: 600;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%,-50%);
}

.pd-corner-radius-section {
	border-bottom: 1px solid #e0e0e0;
	margin-bottom: 25px;
	padding-bottom: 20px;
}

.pd-corner-radius-single {
	margin-bottom: 15px;
}

.pd-corner-toggle-wrap {
	align-items: center;
	display: flex;
	gap: 12px;
	margin-bottom: 15px;
}

.pd-corners-grid {
	display: grid;
	gap: 15px;
	grid-template-columns: repeat(2,1fr);
	margin-top: 15px;
}

.pd-dimension-controls {
	align-items: center;
	display: flex;
	gap: 15px;
}

.pd-dimension-input {
	-moz-appearance: textfield;
	-webkit-appearance: none;
	appearance: none;
	border-radius: 4px 0 0 4px;
	border-right: none;
	border: 1px solid #ddd !important;
	font-size: 18px;
	font-weight: 600;
	max-width: 80px;
	min-width: 50px;
	padding: 7px 5px !important;
	text-align: center;
	width: 60px;
	width: auto;
}

.pd-dimension-input::-webkit-inner-spin-button, .pd-dimension-input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.pd-dimension-input:focus {
	border-color: #0073aa;
	outline: none;
}

.pd-dimension-label {
	color: #333;
	display: block;
	font-weight: 600;
	line-height: 1.5;
	margin-bottom: 8px;
}

.pd-dimension-row {
	margin-bottom: 20px;
}

.pd-edging-cost-row.hidden {
	display: none;
}

.pd-edging-grid {
	display: flex;
	gap: 10px;
}

.pd-edging-image {
	height: 50px;
	margin-bottom: 8px;
	width: 50px;
}

.pd-edging-image img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.pd-edging-name {
	color: #333;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 4px;
	text-align: center;
}

.pd-edging-option {
	align-items: center;
	background: #fff;
	border-radius: 8px;
	border: 2px solid #ddd;
	box-sizing: border-box;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	flex: 0 0 calc(25% - 7.5px);
	min-width: calc(25% - 7.5px);
	padding: 12px;
	transition: all 0.2s ease;
}

.pd-edging-option input[type="radio"] {
	opacity: 0;
	pointer-events: none;
	position: absolute;
}

.pd-edging-option.selected {
	background: #f0f7fc;
	border-color: #0073aa;
}

.pd-edging-option.selected .pd-edging-name {
	color: #0073aa;
}

.pd-edging-option:hover {
	border-color: #999;
}

.pd-edging-price {
	color: #666;
	font-size: 11px;
	line-height: 1.4;
}

.pd-input-group {
	align-items: center;
	display: flex;
	gap: 0px;
}

.pd-input-spinners {
	background: #fff;
	border-radius: 0 4px 4px 0;
	border: 1px solid #ddd;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.pd-price-breakdown {
	margin-bottom: 15px;
}

.pd-price-display {
	align-items: center;
	border-top: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	padding-top: 15px;
}

.pd-price-label {
	color: #333;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.5;
}

.pd-price-section {
	background: #fff;
	border-radius: 0 0 8px 8px;
	border-top: 2px solid #0073aa;
	margin: 20px -20px -20px -20px;
	padding: 20px;
}

.pd-price-sqft {
	color: #0073aa;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.4;
}

.pd-price-sqft small {
	color: #666;
	font-size: 14px;
	font-weight: 400;
}

.pd-price-value {
	color: #0073aa;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
}

.pd-range-slider {
	-webkit-appearance: none;
	appearance: none;
	background: #ddd;
	border-radius: 4px;
	flex: 1;
	height: 8px;
	outline: none;
}

.pd-range-slider::-moz-range-thumb {
	background: #0073aa;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	height: 20px;
	width: 20px;
}

.pd-range-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	background: #0073aa;
	border-radius: 50%;
	cursor: pointer;
	height: 20px;
	transition: background 0.2s ease;
	width: 20px;
}

.pd-range-slider::-webkit-slider-thumb:hover {
	background: #005177;
}

.pd-section {
	border-bottom: 1px solid #e0e0e0;
	margin-bottom: 25px;
	padding-bottom: 20px;
}

.pd-section-title {
	color: #333;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	margin: 0 0 15px 0;
}

.pd-section:last-of-type {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.pd-shape-icon {
	color: #666;
	height: 48px;
	transition: color 0.2s ease;
	width: 48px;
}

.pd-shape-icon svg {
	height: 100%;
	width: 100%;
}

.pd-shape-name {
	color: #666;
	font-size: 11px;
	line-height: 1.4;
	margin-top: 5px;
	text-align: center;
}

.pd-shape-option {
	align-items: center;
	background: #fff;
	border-radius: 8px;
	border: 2px solid #ddd;
	box-sizing: border-box;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	flex: 0 0 calc(25% - 7.5px);
	justify-content: center;
	min-width: calc(25% - 7.5px);
	padding: 10px;
	transition: all 0.2s ease;
}

.pd-shape-option input[type="radio"] {
	opacity: 0;
	pointer-events: none;
	position: absolute;
}

.pd-shape-option.selected {
	background: #f0f7fc;
	border-color: #0073aa;
}

.pd-shape-option.selected .pd-shape-icon {
	color: #0073aa;
}

.pd-shape-option.selected .pd-shape-name {
	color: #0073aa;
	font-weight: 600;
}

.pd-shape-option:hover {
	border-color: #999;
}

.pd-shapes-grid {
	display: flex;
	gap: 10px;
}

.pd-shapes-static {
	flex-wrap: nowrap;
	justify-content: flex-start;
}

.pd-shapes-static .pd-shape-option {
	flex: 1 1 0;
	max-width: calc(33.333% - 7px);
	min-width: 0;
}

.pd-slider-arrow {
	align-items: center;
	background: #fff;
	border-radius: 50%;
	border: 1px solid #ddd;
	color: #666;
	cursor: pointer;
	display: flex;
	flex-shrink: 0;
	height: 36px;
	justify-content: center;
	transition: all 0.2s ease;
	width: 36px;
}

.pd-slider-arrow svg {
	height: 20px;
	width: 20px;
}

.pd-slider-arrow:disabled {
	cursor: not-allowed;
	opacity: 0.4;
}

.pd-slider-arrow:disabled:hover {
	background: #fff;
	border-color: #ddd;
	color: #666;
}

.pd-slider-arrow:hover {
	background: #0073aa;
	border-color: #0073aa;
	color: #fff;
}

.pd-slider-container {
	flex: 1;
	min-width: 0;
}

.pd-slider-scrollbar {
	background: #ddd;
	border-radius: 3px;
	cursor: pointer;
	height: 6px;
	margin-top: 12px;
	position: relative;
}

.pd-slider-scrollbar-thumb {
	background: #0073aa;
	border-radius: 3px;
	cursor: grab;
	height: 100%;
	left: 0;
	min-width: 30px;
	position: absolute;
	top: 0;
	transition: background 0.2s ease;
}

.pd-slider-scrollbar-thumb.dragging {
	cursor: grabbing;
}

.pd-slider-scrollbar-thumb.dragging, .pd-slider-scrollbar-thumb:hover {
	background: #005177;
}

.pd-slider-track {
	display: flex;
	gap: 10px;
	transition: transform 0.3s ease;
}

.pd-slider-viewport {
	overflow: hidden;
	position: relative;
}

.pd-slider-wrapper {
	align-items: center;
	display: flex;
	gap: 10px;
}

.pd-spinner {
	align-items: center;
	background: #f5f5f5;
	border: none;
	color: #666;
	cursor: pointer;
	display: flex;
	height: 18px;
	justify-content: center;
	padding: 0;
	transition: all 0.15s ease;
	width: 24px;
}

.pd-spinner svg {
	height: 10px;
	width: 10px;
}

.pd-spinner-up {
	border-bottom: 1px solid #ddd;
}

.pd-spinner:active {
	background: #005177;
}

.pd-spinner:hover {
	background: #0073aa;
	color: #fff;
}

.pd-toggle {
	display: inline-block;
	flex-shrink: 0;
	height: 26px;
	position: relative;
	width: 48px;
}

.pd-toggle input {
	height: 0;
	opacity: 0;
	width: 0;
}

.pd-toggle input:checked + .pd-toggle-slider {
	background-color: #01319d;
}

.pd-toggle input:checked + .pd-toggle-slider:before {
	transform: translateX(22px);
}

.pd-toggle-label {
	color: #333;
	font-size: 14px;
	line-height: 1.4;
}

.pd-toggle-slider {
	background-color: #ccc;
	border-radius: 26px;
	bottom: 0;
	cursor: pointer;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	transition: 0.3s;
}

.pd-toggle-slider:before {
	background-color: white;
	border-radius: 50%;
	bottom: 3px;
	content: "";
	height: 20px;
	left: 3px;
	position: absolute;
	transition: 0.3s;
	width: 20px;
}

.pd-unit {
	color: #666;
	font-size: 14px;
	line-height: 1.5;
	margin-left: 4px;
}

.pd-unit-small {
	background: #fff;
	color: #666;
	font-size: 14px;
	padding: 8px 10px 8px 0;
}

.pd-validation-notice {
	background: #d63638;
	border-radius: 4px;
	bottom: 100%;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	color: #fff;
	font-size: 12px;
	left: 0;
	margin-bottom: 5px;
	padding: 8px 12px;
	position: absolute;
	white-space: nowrap;
	z-index: 10;
}

.pd-validation-notice::after {
	border-top-color: #d63638;
	border: 6px solid transparent;
	content: '';
	left: 20px;
	position: absolute;
	top: 100%;
}

@media screen and (max-width: 480px) {
	.pd-configurator-wrap {
		padding: 12px;
	}

	.pd-edging-image {
		height: 36px;
		width: 36px;
	}

	.pd-edging-name {
		font-size: 9px;
	}

	.pd-edging-option {
		flex: 0 0 calc(33.333% - 7px);
		max-width: calc(33.333% - 7px);
		min-width: calc(33.333% - 7px);
		padding: 8px 4px;
	}

	.pd-edging-price {
		font-size: 9px;
	}

	.pd-price-value {
		font-size: 24px;
	}

	.pd-section-title {
		font-size: 14px;
	}

	.pd-shape-icon {
		height: 36px;
		width: 36px;
	}

	.pd-shape-name {
		font-size: 10px;
	}

	.pd-shape-option {
		flex: 0 0 calc(33.333% - 7px);
		max-width: calc(33.333% - 7px);
		min-width: calc(33.333% - 7px);
		padding: 8px 6px;
	}
}

@media screen and (max-width: 768px) {
	.pd-configurator-wrap {
		padding: 15px;
	}

	.pd-dimension-controls {
		align-items: stretch;
		flex-direction: column;
	}

	.pd-dimension-input {
		font-size: 16px;
	}

	.pd-edging-grid {
		flex-wrap: nowrap !important;
	}

	.pd-edging-image {
		height: 40px;
		width: 40px;
	}

	.pd-edging-name {
		font-size: 10px;
	}

	.pd-edging-option {
		flex: 0 0 calc(33.333% - 7px);
		max-width: calc(33.333% - 7px);
		min-width: calc(33.333% - 7px);
		padding: 10px 6px;
		scroll-snap-align: start;
	}

	.pd-edging-price {
		font-size: 10px;
	}

	.pd-input-group {
		justify-content: flex-end;
	}

	.pd-price-display {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.pd-price-value {
		font-size: 28px;
	}

	.pd-range-slider {
		width: 100%;
	}

	.pd-shape-icon {
		height: 40px;
		width: 40px;
	}

	.pd-shape-name {
		font-size: 11px;
	}

	.pd-shape-option {
		flex: 0 0 calc(33.333% - 7px);
		max-width: calc(33.333% - 7px);
		min-width: calc(33.333% - 7px);
		padding: 10px 8px;
		scroll-snap-align: start;
	}

	.pd-shapes-grid {
		flex-wrap: nowrap !important;
	}

	.pd-slider-arrow {
		display: none;
	}

	.pd-slider-scrollbar {
		background: #ddd;
		border-radius: 3px;
		display: block;
		height: 6px;
		margin-top: 12px;
		overflow: hidden;
		position: relative;
	}

	.pd-slider-scrollbar-thumb {
		background: #0073aa;
		border-radius: 3px;
		display: block;
		height: 100%;
		left: 0;
		min-width: 30px;
		position: absolute;
		top: 0;
		transition: left 0.1s ease-out;
	}

	.pd-slider-track {
		flex-wrap: nowrap !important;
		transform: none !important;
	}

	.pd-slider-viewport {
		-ms-overflow-style: none;
		-webkit-overflow-scrolling: touch;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.pd-slider-viewport::-webkit-scrollbar {
		display: none;
	}

	.pd-slider-wrapper {
		gap: 0;
	}
}

/* Minimum Square Footage Notice */
.pd-min-sqft-notice {
	background: #fff3cd;
	border-left: 4px solid #856404;
	border-radius: 4px;
	color: #856404;
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 15px;
	padding: 12px 15px;
}

.pd-min-sqft-notice strong {
	color: #664d03;
}

/* Disabled Add to Cart Button */
.single_add_to_cart_button.pd-disabled {
	background: #ccc !important;
	border-color: #ccc !important;
	color: #666 !important;
	cursor: not-allowed !important;
	opacity: 0.7 !important;
}

.single_add_to_cart_button.pd-disabled:hover {
	background: #ccc !important;
	border-color: #ccc !important;
	color: #666 !important;
}

/* Polished Edges Section */
.pd-polished-edges-section {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.pd-polished-edges-toggle-wrap {
	align-items: center;
	display: flex;
	gap: 12px;
}

.pd-polished-label-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.pd-polished-price {
	color: #666;
	font-size: 13px;
}

.pd-polished-recommendation {
	background: #e8f4fd;
	border-left: 4px solid #0073aa;
	border-radius: 4px;
	color: #0073aa;
	font-size: 13px;
	line-height: 1.5;
	margin-top: 12px;
	padding: 10px 14px;
}

/* 1.9.5: shown instead of the polishing toggle on materials that aren't polished (e.g. ABS, Polycarbonate). */
.pd-no-polish-note {
	background: #f4f5f6;
	border-left: 4px solid #8c8f94;
	border-radius: 4px;
	color: #3c434a;
	font-size: 13px;
	line-height: 1.5;
	margin: 0 0 16px;
	padding: 10px 14px;
}

.pd-polished-cost-row.hidden {
	display: none;
}

/* 1.10.0: "5.3 ft straight + 0.52 ft curves = $12.24" under Polished in the summary. */
.pd-polished-detail-row {
	margin-top: -6px;
}

.pd-polished-detail {
	color: #666;
	font-weight: 400;
	text-align: right;
}
/* Global Metric & Tolerance Note (set on the admin pricing page) */
.pd-tolerance-note {
	align-items: flex-start;
	background: #f0f6fc;
	border-left: 3px solid #01319d;
	border-radius: 3px;
	color: #333;
	display: flex;
	font-size: 13px;
	gap: 8px;
	line-height: 1.4;
	margin-bottom: 16px;
	padding: 10px 14px;
}

.pd-tolerance-note-icon {
	color: #01319d;
	flex-shrink: 0;
	font-size: 15px;
}

/* Unit toggle (in / mm) — v1.5.0 */
.pd-dimensions-header {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 4px;
}

.pd-dimensions-header .pd-section-title {
	margin-bottom: 0;
}

.pd-unit-toggle-wrap {
	background: #f0f0f0;
	border-radius: 6px;
	display: inline-flex;
	padding: 3px;
}

.pd-unit-btn {
	background: transparent;
	border-radius: 4px;
	border: none;
	color: #666;
	cursor: pointer;
	font-size: 12px;
	font-weight: 600;
	padding: 5px 12px;
	transition: all 0.15s ease;
}

.pd-unit-btn.active {
	background: #fff;
	box-shadow: 0 1px 2px rgba(0,0,0,0.1);
	color: #0073aa;
}

.pd-unit-btn:not(.active):hover {
	color: #333;
}

.pd-dimensions-hint {
	color: #999;
	font-size: 12px;
	margin: 0 0 15px 0;
}

/* v1.5.2 - "Request Price" notice for sheet products with no valid price. */
.pd-price-request {
	color: #a35a00;
	font-weight: 600;
}

.pd-request-price-notice {
	background: #fff8e5;
	border: 1px solid #f0c36d;
	border-radius: 4px;
	margin: 15px 0;
	padding: 15px;
}

.pd-request-price-notice p {
	color: #333;
	margin: 0 0 10px 0;
}

.pd-request-price-link.button {
	background: #0073aa;
	border: none;
	color: #fff;
	display: inline-block;
}

.pd-request-price-link.button:hover {
	background: #005a87;
}

/* 1.9.6: note under "Material used" for circles */
.pd-area-circle-note {
    display: block;
    width: 100%;
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.75;
    margin-top: 2px;
}

/* 1.9.7: "Continue in Cut to Size" hand-off */
.pd-cts-handoff {
    background: #f4f7fd;
    border: 1px solid #d6e0f5;
    border-radius: 8px;
    padding: 14px 16px;
}
.pd-cts-handoff-text {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 10px;
}
.pd-cts-handoff-btn {
    display: inline-block;
    background: #fff;
    border: 2px solid #01319d;
    border-radius: 6px;
    color: #01319d;
    font-weight: 600;
    padding: 8px 16px;
    text-decoration: none;
}
.pd-cts-handoff-btn:hover,
.pd-cts-handoff-btn:focus {
    background: #01319d;
    color: #fff;
}
