/* ============================
   GENERAL STYLING
============================ */
#pg-cost-calculator {
    max-width: 800px;
    margin: 70px auto;
    font-family: Arial, sans-serif;
}
#pg-cost-calculator input {
	margin: 10px 0;
	border-radius: 7px;
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
}
#pg-cost-calculator input#pg-postcode {
	text-transform: uppercase;
}
#pg-cost-calculator button {
	margin-top: 30px;
}
.pg-prev-step {
	background: #bbb;
}
.pg-prev-step:hover {
	background: #999;
}
.pg-step {
	border: none;
	background-color: #f0f0ec;
	padding: 30px;
	margin-bottom: 20px;
	border-radius: 15px;
	display: none;
}
.pg-step:first-child {
	display: block;
}
.pg-step h2 {
	font-size: 24px;
	margin-bottom: 10px;
	text-align: center;
	font-weight: bold;
}
.pg-step p.intro {
	text-align: center;
	margin-bottom: 30px;
}
.pg-step p {
	font-size: 14px;
	color: #666;
}

/* ============================
   STEP NAVIGATION
============================ */
#pg-cost-calculator .pg-step-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 45px;
}
#pg-cost-calculator .pg-dot {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background-color: #f0f0f0;
	border: 2px solid var(--primary-colour);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: var(--primary-colour);
	cursor: pointer;
	transition: background-color 0.3s, border-color 0.3s;
}
#pg-cost-calculator .pg-dot.active {
	background-color: var(--primary-colour);
	border-color: var(--primary-colour);
	color: #fff;
}
#pg-cost-calculator .pg-dot:hover {
	background-color: #e0e0e0;
	border-color: #bbb;
}
#pg-cost-calculator .pg-line {
	width: 40px;
	height: 2px;
	background-color: #ccc;
	margin: 0 5px;
}
#pg-cost-calculator .pg-dot.active ~ .pg-line,
#pg-cost-calculator .pg-line.active {
	background-color: var(--primary-colour);
}

/* ============================
   ERROR STYLING
============================ */
input.pg-error,
textarea.pg-error,
select.pg-error {
	border: 2px solid red;
}
.pg-error-msg {
	font-size: 12px;
	font-weight: bold;
	color: red;
}

/* ============================
   NAVIGATION BUTTONS
============================ */
#pg-cost-calculator .pg-next-step {
	float: right;
}
#pg-cost-calculator .pg-next-step.first-button {
	float: none;
}

/* ============================
   STEP 3 - MARQUEE OPTIONS
============================ */
#pg-cost-calculator #pg-marquee-options label {
	background-color: #fff;
	border-radius: 10px;
	margin-bottom: 20px;
	width: 100%;
	padding: 25px;
	cursor: pointer;
	display: block;
	transition: border 0.3s ease, background-color 0.3s ease;
	border: 2px solid #fff;
	position: relative;
}
#pg-cost-calculator #pg-marquee-options label:hover {
	border: 2px solid var(--secondary-colour);
}
#pg-cost-calculator #pg-marquee-options input {
	display: none;
}
#pg-cost-calculator #pg-marquee-options label:has(input:checked) {
	border: 2px solid var(--secondary-colour);
	padding: 25px 25px 25px 50px;
}
#pg-cost-calculator #pg-marquee-options label:has(input:checked)::before {
	content: "\0032";
	font-family: 'FutureFont', sans-serif;
	position: absolute;
	top: 21px;
	left: 16px;
	font-size: 24px;
	color: var(--secondary-colour);
}

/* ============================
   STEP 4 - ADDITIONAL OPTIONS
============================ */
#pg-cost-calculator #pg-additional-options {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}
#pg-cost-calculator #pg-additional-options label {
	background-color: #fff;
	border-radius: 10px;
	padding: 20px;
	cursor: pointer;
	display: block;
	transition: border 0.3s ease, background-color 0.3s ease;
	position: relative;
	border: 2px solid #fff;
}
#pg-cost-calculator #pg-additional-options label:hover {
	border: 2px solid var(--secondary-colour);
	background-color: #f9f9f9;
}
#pg-cost-calculator #pg-additional-options input[type="checkbox"] {
	display: none;
}
#pg-cost-calculator #pg-additional-options label:has(input:checked) {
	border: 2px solid var(--secondary-colour);
	background-color: #f0faff;
	padding: 20px 20px 20px 50px;
}
#pg-cost-calculator #pg-additional-options label:has(input:checked)::before {
	content: "\0032";
	font-family: 'FutureFont', sans-serif;
	position: absolute;
	top: 16px;
	left: 16px;
	font-size: 24px;
	color: var(--secondary-colour);
}

/* ============================
   STEP 5 - FURNITURE OPTIONS
============================ */
#pg-cost-calculator #pg-furniture-options .pg-furniture-category {
	padding:30px;
	border-radius:10px;
	background-color:#fff;
	margin-bottom:30px;
}
#pg-cost-calculator #pg-furniture-options .pg-furniture-category .furniture-category-items {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap:12px 20px;
}
#pg-cost-calculator #pg-furniture-options .pg-furniture-category h3 {
	font-size:20px;
	font-weight:bold;
}
#pg-cost-calculator #pg-furniture-options {
	margin-top: 20px;
}
#pg-cost-calculator #pg-furniture-options label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #f6f6f6;
	border: 1px solid #ccc;
	border-radius: 6px;
	padding: 10px 12px;
	cursor: pointer;
	gap: 10px;
	font-size: 14px;
}
#pg-cost-calculator #pg-furniture-options input[type="checkbox"] {
	margin-right: 10px;
	transform: scale(1.2);
	cursor: pointer;
	width: inherit;
	margin: 0;
}
#pg-cost-calculator #pg-furniture-options span {
	flex-grow: 1;
	font-size: 14px;
}
#pg-cost-calculator #pg-furniture-options input[type="number"] {
	width: 55px;
	padding: 4px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	margin: 0;
}
.qtySelector {
	display: none;
}
#pg-cost-calculator #pg-furniture-options label:has(input:checked) .qtySelector {
	display: inline-block;
}

/* ============================
   STEP 6 - SUMMARY
============================ */
#pg-cost-calculator #pg-summary {
	display: flex;
	gap: 30px;
	margin-bottom: 30px;
}
#pg-cost-calculator #pg-summary div.finalSummary,
#pg-cost-calculator #pg-summary div.finalEstimate {
	background-color: #fff;
	padding: 30px;
	border-radius: 10px;
	width: 50%;
}
#pg-cost-calculator #pg-summary div.finalSummary p,
#pg-cost-calculator #pg-summary div.finalEstimate p {
	color: #000;
}
#pg-cost-calculator #pg-summary div h3 {
	font-size: 20px;
	color: #000;
}
#pg-cost-calculator #pg-summary div.finalSummary p.postcode {
	text-transform: uppercase;
}
#pg-cost-calculator #pg-summary div.damageWaiver {
	margin: 30px 0 0 0;
	padding: 0;
}
#pg-cost-calculator #pg-summary div.damageWaiver label {
	font-size: 14px;
}
#pg-cost-calculator #pg-summary div.damageWaiver input {
	width: inherit;
}
/* ============================
   MISC
============================ */
span.privacyMatters {
	font-size: 13px;
	display: block;
	margin-top: 20px;
	color: #333;
	text-align: center;
}
#pg-next-steps {}
/* ============================
 RESPONSIVE
============================ */
@media screen and (max-width:600px) {
	#pg-cost-calculator .pg-dot { width:45px; height:45px;}
	#pg-cost-calculator .pg-line { width:10px;}
	#pg-cost-calculator button { padding:15px 30px;}
	#pg-cost-calculator #pg-summary { flex-wrap:wrap;}
	#pg-cost-calculator #pg-summary div.finalSummary, #pg-cost-calculator #pg-summary div.finalEstimate { width:100%;}
	#pg-cost-calculator #pg-furniture-options .pg-furniture-category .furniture-category-items {grid-template-columns: repeat(1, 1fr);}
	#pg-cost-calculator #pg-furniture-options .pg-furniture-category h3 { text-align:center;}
}
