.ns-quote-btn,
.ns-quote-link {
	margin-top: 0.75rem;
	cursor: pointer;
}

.ns-quote-btn--loop {
	width: 100%;
	margin-top: 0.5rem;
}

.ns-quote-shell {
	padding-block: 2.5rem 3.5rem;
}

.ns-quote-page {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 0 1rem;
	color: #0c0c0c;
}

.ns-quote-page__head {
	margin-bottom: 1.75rem;
	padding-bottom: 1.25rem;
	border-bottom: 2px solid #0c0c0c;
}

.ns-quote-page__kicker {
	margin: 0 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #666;
}

.ns-quote-page__title {
	margin: 0 0 0.65rem;
	font-family: var(--ns-font-heading, "Oswald", Impact, sans-serif);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	line-height: 1.15;
	color: #0c0c0c;
}

.ns-quote-page__lead {
	margin: 0;
	max-width: 42ch;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #444;
}

.ns-quote-page__empty {
	padding: 1.5rem 0;
}

.ns-quote-page__empty p {
	margin: 0 0 1rem;
}

.ns-quote-page__items {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	border: 1px solid #e5e5e5;
	background: #fff;
}

.ns-quote-page__item {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) auto;
	gap: 0.85rem 1rem;
	align-items: center;
	padding: 1rem 1.1rem;
	border-bottom: 1px solid #eee;
}

.ns-quote-page__item:last-child {
	border-bottom: 0;
}

.ns-quote-page__thumb {
	display: block;
	width: 72px;
	height: 72px;
	background: #f5f5f5;
	border: 1px solid #e8e8e8;
	overflow: hidden;
}

.ns-quote-page__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.ns-quote-page__info {
	display: grid;
	gap: 0.2rem;
	min-width: 0;
}

.ns-quote-page__name {
	font-family: var(--ns-font-heading, "Oswald", Impact, sans-serif);
	font-size: 1.05rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #0c0c0c;
}

.ns-quote-page__qty,
.ns-quote-page__price,
.ns-quote-page__preferred {
	font-size: 0.85rem;
	color: #555;
}

.ns-quote-page__remove {
	appearance: none;
	-webkit-appearance: none;
	border: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	padding: 0.25rem 0 !important;
	color: #0c0c0c !important;
	text-decoration: underline;
	text-underline-offset: 0.15em;
	cursor: pointer;
	font: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ns-quote-page__remove:hover {
	color: #444 !important;
}

.ns-quote-form {
	display: grid;
	gap: 0.15rem;
}

.ns-quote-form__fieldset {
	margin: 0 0 1rem;
	padding: 1rem;
	border: 1px solid #e5e5e5;
}

.ns-quote-form__fieldset legend {
	padding: 0 0.35rem;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.ns-quote-form__radio {
	display: flex !important;
	align-items: center;
	gap: 0.45rem;
	margin: 0.35rem 0 0 !important;
	font-weight: 500;
}

.ns-quote-form__radio input {
	width: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
}

.ns-quote-form label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #0c0c0c;
}

.ns-quote-form input[type="text"],
.ns-quote-form input[type="email"],
.ns-quote-form textarea {
	width: 100%;
	min-height: 2.85rem;
	margin-bottom: 0.95rem;
	padding: 0.65rem 0.85rem;
	border: 1px solid #ccc;
	border-radius: 0;
	background: #fff;
	box-sizing: border-box;
	font: inherit;
	color: #0c0c0c;
}

.ns-quote-form textarea {
	min-height: 7rem;
	resize: vertical;
}

.ns-quote-form input:focus,
.ns-quote-form textarea:focus {
	outline: 2px solid #edec5c;
	outline-offset: 1px;
	border-color: #0c0c0c;
}

.ns-quote-form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.5rem;
}

.ns-quote-btn-primary,
.ns-quote-btn-ghost,
.novashop-storefront .ns-quote-page .button,
.novashop-storefront .ns-quote-page button.button,
.novashop-storefront .ns-quote-page a.button,
.ns-quote-continue {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.7rem 1.35rem !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-family: var(--ns-font-body, "Montserrat", system-ui, sans-serif);
	font-size: 0.78rem;
	font-weight: 700 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none !important;
	cursor: pointer;
	line-height: 1.2;
}

.ns-quote-btn-primary,
.novashop-storefront .ns-quote-page button.button[type="submit"],
.novashop-storefront .ns-quote-page .ns-quote-btn-primary,
.ns-quote-continue {
	background: #0c0c0c !important;
	background-color: #0c0c0c !important;
	border: 2px solid #0c0c0c !important;
	color: #fff !important;
}

.ns-quote-btn-primary:hover,
.ns-quote-continue:hover {
	background: #edec5c !important;
	background-color: #edec5c !important;
	color: #0c0c0c !important;
}

.ns-quote-btn-ghost,
.novashop-storefront .ns-quote-page a.button {
	background: #edec5c !important;
	background-color: #edec5c !important;
	border: 2px solid #0c0c0c !important;
	color: #0c0c0c !important;
}

.ns-quote-btn-ghost:hover {
	background: #0c0c0c !important;
	color: #edec5c !important;
}

.ns-quote-form__feedback {
	margin-top: 1rem;
	padding: 0.85rem 1rem;
	background: #f3f3f3;
	font-size: 0.9rem;
}

.ns-quote-form__feedback.is-error {
	background: #fdecea;
	color: #8a1f11;
}

.ns-quote-form__feedback.is-ok {
	background: #edec5c;
	color: #0c0c0c;
}

.ns-quote-convert {
	margin-left: 0.5rem;
}

@media (max-width: 640px) {
	.ns-quote-page__item {
		grid-template-columns: 56px minmax(0, 1fr);
	}

	.ns-quote-page__remove {
		grid-column: 2;
		justify-self: start;
	}

	.ns-quote-form__actions {
		flex-direction: column;
	}

	.ns-quote-btn-primary,
	.ns-quote-btn-ghost {
		width: 100%;
	}
}
