/**
 * wideum-quote.css — Formulari multi-pas "Request a Quote" ([wshop_quote_form]).
 *
 * Llenguatge visual Wideum: navy #00175C, turquesa #4ADBC4, links #1CA3B5,
 * fons suau #F7F8FA, borders #E5E8EF / inputs #C9D0DC, radi 10px, TÍTOLS 700.
 * Tipografia heretada del tema (aquí no se'n carrega cap).
 */

.wshop-quote {
	max-width: 860px;
	margin: 0 auto;
	color: #00175C;
}

/* ---------------------------------------------------------------------------
 * Barra de progrés (3 passos)
 * ------------------------------------------------------------------------- */
.wshop-quote__progress {
	display: flex;
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
}
.wshop-quote__progress-step {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	position: relative;
	margin: 0;
	text-align: center;
}
/* connector entre passos */
.wshop-quote__progress-step + .wshop-quote__progress-step::before {
	content: "";
	position: absolute;
	top: 17px;
	right: 50%;
	width: 100%;
	height: 2px;
	margin-right: 17px;
	background: #E5E8EF;
	z-index: 0;
}
.wshop-quote__progress-step.is-done + .wshop-quote__progress-step::before,
.wshop-quote__progress-step.is-done + .wshop-quote__progress-step.is-active::before {
	background: #4ADBC4;
}
.wshop-quote__progress-dot {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #C9D0DC;
	color: #7A8199;
	font-size: 15px;
	font-weight: 700;
	transition: background-color .2s, border-color .2s, color .2s;
}
.wshop-quote__progress-step.is-active .wshop-quote__progress-dot {
	background: #00175C;
	border-color: #00175C;
	color: #fff;
}
.wshop-quote__progress-step.is-done .wshop-quote__progress-dot {
	background: #4ADBC4;
	border-color: #4ADBC4;
	color: #00175C;
}
.wshop-quote__progress-label {
	font-size: 14px;
	line-height: 18px;
	font-weight: 700;
	color: #7A8199;
}
.wshop-quote__progress-step.is-active .wshop-quote__progress-label,
.wshop-quote__progress-step.is-done .wshop-quote__progress-label {
	color: #00175C;
}

/* ---------------------------------------------------------------------------
 * Targeta del formulari
 * ------------------------------------------------------------------------- */
.wshop-quote__form,
.wshop-quote__success {
	background: #fff;
	border: 1px solid #E5E8EF;
	border-radius: 10px;
	padding: 34px;
}
.wshop-quote__step {
	border: 0;
	margin: 0;
	padding: 0;
	min-inline-size: auto;
}
.wshop-quote__step[hidden] {
	display: none;
}
.wshop-quote__step-title {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0 0 6px;
	color: #00175C;
	font-size: 22px;
	line-height: 28px;
	font-weight: 700;
}
.wshop-quote__step-hint {
	margin: 0 0 22px;
	color: #5A6178;
	font-size: 15px;
	line-height: 22px;
}
.wshop-quote__group-title {
	margin: 22px 0 12px;
	color: #00175C;
	font-size: 15px;
	line-height: 20px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.wshop-quote__group-title:first-of-type {
	margin-top: 0;
}

/* ---------------------------------------------------------------------------
 * Kits & packs — targetes a l'estil de la pàgina de pricing (.prc-products):
 * targeta blanca amb badge centrat al cantell superior, nom bold navy,
 * features amb icon-check-blue i CTA de selecció a peu de targeta.
 * ------------------------------------------------------------------------- */
.wshop-quote__kits {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-bottom: 6px;
}
.wshop-quote__kit {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 26px 20px 18px;
	background: #fff;
	border: 1px solid #E5E8EF;
	border-radius: 10px;
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.wshop-quote__kit:hover {
	border-color: #4ADBC4;
}
.wshop-quote__kit.is-selected {
	border-color: #4ADBC4;
	box-shadow: 0 0 0 1px #4ADBC4 inset;
	background: #F8FEFC;
}
.wshop-quote__kit-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	padding: 4px 12px;
	background: #EDFBF8;
	border: 1px solid #4ADBC4;
	border-radius: 999px;
	color: #00175C;
	font-size: 12px;
	line-height: 16px;
	font-weight: 700;
	white-space: nowrap;
	letter-spacing: .02em;
}
.wshop-quote__kit-media {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 112px;
	margin: 2px 0 4px;
}
.wshop-quote__kit-media img {
	max-width: 100%;
	max-height: 112px;
	width: auto;
	height: auto;
	object-fit: contain;
}
.wshop-quote__kit-name {
	color: #00175C;
	font-size: 18px;
	line-height: 24px;
	font-weight: 700;
}
.wshop-quote__kit-price {
	color: #1CA3B5;
	font-size: 16px;
	line-height: 20px;
	font-weight: 700;
}
.wshop-quote__kit-tagline {
	color: #5A6178;
	font-size: 13px;
	line-height: 19px;
}
.wshop-quote__kit-features {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin: 4px 0 2px;
}
.wshop-quote__kit-feature {
	padding-left: 21px;
	background-image: url(../images/icon-check-blue.svg);
	background-repeat: no-repeat;
	background-size: 13px;
	background-position: 0 3px;
	color: #00175C;
	font-size: 13px;
	line-height: 18px;
}
.wshop-quote__kit-select {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-top: auto;
	padding-top: 13px;
	border-top: 1px solid #E5E8EF;
	color: #00175C;
	font-size: 14px;
	font-weight: 700;
}
.wshop-quote__kit-select input[type="checkbox"] {
	flex: 0 0 auto;
	width: 19px;
	height: 19px;
	margin: 0;
	accent-color: #00175C;
	cursor: pointer;
}
.wshop-quote__kit-select .wshop-quote__qty {
	margin-left: auto;
}
.wshop-quote__kit-select .wshop-quote__qty input[type="number"] {
	width: 64px;
	min-height: 38px;
}

/* ---------------------------------------------------------------------------
 * Opcions (devices + software)
 * ------------------------------------------------------------------------- */
.wshop-quote__options {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.wshop-quote__option {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 13px 16px;
	background: #fff;
	border: 1px solid #E5E8EF;
	border-radius: 10px;
	cursor: pointer;
	transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.wshop-quote__option:hover {
	border-color: #4ADBC4;
}
.wshop-quote__option.is-selected {
	border-color: #4ADBC4;
	background: #F7F8FA;
	box-shadow: 0 0 0 1px #4ADBC4 inset;
}
.wshop-quote__option-img {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	background: #fff;
	border: 1px solid #E5E8EF;
	border-radius: 8px;
	overflow: hidden;
}
.wshop-quote__option-img img {
	max-width: 46px;
	max-height: 46px;
	width: auto;
	height: auto;
	object-fit: contain;
}
.wshop-quote__option input[type="checkbox"] {
	flex: 0 0 auto;
	width: 19px;
	height: 19px;
	margin: 0;
	accent-color: #00175C;
	cursor: pointer;
}
.wshop-quote__option-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.wshop-quote__option-name {
	color: #00175C;
	font-size: 16px;
	line-height: 22px;
	font-weight: 600;
}
.wshop-quote__option-price {
	color: #1CA3B5;
	font-size: 14px;
	line-height: 18px;
	font-weight: 700;
}
.wshop-quote__option-desc {
	color: #5A6178;
	font-size: 14px;
	line-height: 19px;
}

/* Quantitat per device seleccionat */
.wshop-quote__qty {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 8px;
}
.wshop-quote__qty-label {
	color: #7A8199;
	font-size: 13px;
	font-weight: 600;
}
.wshop-quote__qty input[type="number"] {
	width: 78px;
	min-height: 42px;
	padding: 6px 10px;
	border: 1px solid #C9D0DC;
	border-radius: 10px;
	background: #fff;
	color: #00175C;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
}
.wshop-quote__qty input[type="number"]:disabled {
	opacity: .45;
	background: #F7F8FA;
}

/* ---------------------------------------------------------------------------
 * Camps de contacte (pas 3)
 * ------------------------------------------------------------------------- */
.wshop-quote__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 18px;
}
.wshop-quote__field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin: 0;
}
.wshop-quote__field--full {
	grid-column: 1 / -1;
}
.wshop-quote__field label {
	color: #00175C;
	font-size: 15px;
	line-height: 20px;
	font-weight: 700;
}
.wshop-quote__req {
	color: #1CA3B5;
}
.wshop-quote__field input,
.wshop-quote__field textarea {
	width: 100%;
	min-height: 46px;
	padding: 11px 14px;
	border: 1px solid #C9D0DC;
	border-radius: 10px;
	background: #fff;
	color: #333;
	font-size: 15px;
	line-height: 22px;
	font-family: inherit;
	transition: border-color .15s, box-shadow .15s;
}
.wshop-quote__field textarea {
	resize: vertical;
	min-height: 110px;
}
.wshop-quote__field input::placeholder,
.wshop-quote__field textarea::placeholder {
	color: #9AA1B5;
	opacity: 1;
}
.wshop-quote__field input:focus,
.wshop-quote__field textarea:focus {
	outline: none;
	border-color: #00175C;
	box-shadow: 0 0 0 3px rgba(74, 219, 196, .28);
}
.wshop-quote__field input.is-invalid,
.wshop-quote__field textarea.is-invalid {
	border-color: #D64545;
}

/* Consentiment de privacitat */
.wshop-quote__privacy {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin: 20px 0 0;
	color: #5A6178;
	font-size: 14px;
	line-height: 20px;
	cursor: pointer;
}
.wshop-quote__privacy input[type="checkbox"] {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: #00175C;
	cursor: pointer;
}
.wshop-quote__privacy a {
	color: #1CA3B5;
	text-decoration: underline;
}
.wshop-quote__privacy.is-invalid {
	color: #D64545;
}

/* ---------------------------------------------------------------------------
 * Errors + navegació
 * ------------------------------------------------------------------------- */
.wshop-quote__error {
	margin: 20px 0 0;
	padding: 12px 16px;
	border: 1px solid #F0B4B4;
	border-radius: 10px;
	background: #FDF1F1;
	color: #B03030;
	font-size: 14px;
	line-height: 20px;
}
.wshop-quote__error[hidden] {
	display: none;
}

.wshop-quote__nav {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid #E5E8EF;
}
/* NOTA: el Kit d'Elementor emet estils globals `.elementor-kit-N button`
 * (0,1,1) que guanyen una sola classe → s'escopen a .wshop-quote i es fixen
 * els colors amb !important (patró habitual del site). */
.wshop-quote .wshop-quote__btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 30px !important;
	border-radius: 10px !important;
	font-family: inherit;
	font-size: 15px !important;
	font-weight: 700 !important;
	letter-spacing: .02em;
	cursor: pointer;
	transition: background-color .2s linear, color .2s linear, border-color .2s linear;
}
.wshop-quote .wshop-quote__btn[hidden] {
	display: none;
}
/* Primari: navy → hover turquesa amb text navy */
.wshop-quote .wshop-quote__btn--primary {
	margin-left: auto;
	border: 1px solid #00175C !important;
	background: #00175C !important;
	color: #fff !important;
}
.wshop-quote .wshop-quote__btn--primary:hover,
.wshop-quote .wshop-quote__btn--primary:focus {
	background: #4ADBC4 !important;
	border-color: #4ADBC4 !important;
	color: #00175C !important;
}
.wshop-quote .wshop-quote__btn--primary:disabled {
	opacity: .55;
	cursor: wait;
}
/* Ghost (Back) */
.wshop-quote .wshop-quote__btn--ghost {
	border: 1px solid #C9D0DC !important;
	background: transparent !important;
	color: #00175C !important;
}
.wshop-quote .wshop-quote__btn--ghost:hover,
.wshop-quote .wshop-quote__btn--ghost:focus {
	border-color: #00175C !important;
	background: #F7F8FA !important;
	color: #00175C !important;
}

/* ---------------------------------------------------------------------------
 * Missatge d'èxit
 * ------------------------------------------------------------------------- */
.wshop-quote__success {
	text-align: center;
	padding: 54px 34px;
}
.wshop-quote__success[hidden] {
	display: none;
}
.wshop-quote__success-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: #4ADBC4;
	margin-bottom: 18px;
}
.wshop-quote__success-title {
	margin: 0 0 8px;
	color: #00175C;
	font-size: 24px;
	line-height: 30px;
	font-weight: 700;
}
.wshop-quote__success-text {
	margin: 0;
	color: #5A6178;
	font-size: 16px;
	line-height: 24px;
}

/* ---------------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------------- */
@media (max-width: 767px) {
	.wshop-quote__form,
	.wshop-quote__success {
		padding: 22px 18px;
	}
	.wshop-quote__grid {
		grid-template-columns: 1fr;
	}
	.wshop-quote__progress-label {
		font-size: 12px;
	}
	.wshop-quote__kits {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.wshop-quote__option {
		flex-wrap: wrap;
	}
	.wshop-quote__option-body {
		flex: 1 1 60%;
	}
	.wshop-quote__qty {
		margin-left: 33px;
	}
	.wshop-quote__nav {
		flex-direction: column-reverse;
	}
	.wshop-quote .wshop-quote__btn {
		width: 100%;
	}
	.wshop-quote .wshop-quote__btn--primary {
		margin-left: 0;
	}
}
