/* De'Stellar Catalog: quote list. Minimal black and white. All rules scoped under .dsc-*. */

.dsc-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Buttons */

.dsc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
	padding: 10px 24px;
	border: 1px solid #111;
	border-radius: 4px;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s;
}

.dsc-btn--primary {
	background: #111;
	color: #fff;
}

.dsc-btn--primary:hover,
.dsc-btn--primary:focus {
	background: #333;
	color: #fff;
}

.dsc-btn--ghost {
	background: #fff;
	color: #111;
}

.dsc-btn--ghost:hover {
	background: #f2f2f2;
	color: #111;
}

.dsc-btn:focus-visible,
.dsc-step:focus-visible,
.dsc-remove:focus-visible,
.dsc-quote-icon:focus-visible,
.dsc-toast__link:focus-visible,
.dsc-field input:focus-visible,
.dsc-field textarea:focus-visible,
.dsc-qty-input:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}

.dsc-btn[disabled],
.dsc-btn[aria-disabled="true"] {
	opacity: 0.45;
	cursor: not-allowed;
}

/* Add to Quote block (product page) */

.dsc-addquote {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 16px 0;
}

.dsc-addquote__msg {
	flex: 1 1 100%;
	margin: 0;
	min-height: 0;
	color: #b00020;
	font-size: 14px;
}

.dsc-addquote__msg:empty {
	display: none;
}

/* Quantity stepper */

.dsc-stepper {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid #c9c9c9;
	border-radius: 4px;
	background: #fff;
}

.dsc-stepper .dsc-qty-input {
	width: 64px;
	min-height: 44px;
	margin: 0;
	padding: 0 4px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #111;
	font: inherit;
	font-size: 15px;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

.dsc-stepper .dsc-qty-input::-webkit-outer-spin-button,
.dsc-stepper .dsc-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.dsc-step {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #111;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.dsc-js .dsc-step {
	display: inline-flex;
}

.dsc-step:hover {
	background: #f2f2f2;
	color: #111;
}

.dsc-js .dsc-nojs-only {
	display: none;
}

/* Header icon */

.dsc-quote-icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	color: inherit;
	text-decoration: none;
}

.dsc-quote-icon__svg {
	display: block;
}

.dsc-quote-icon__badge {
	position: absolute;
	top: 2px;
	right: 0;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: #111;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
	box-sizing: border-box;
}

.dsc-quote-icon__badge[hidden] {
	display: none;
}

/* Toast */

.dsc-toast {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 99999;
	max-width: 440px;
	margin: 0 auto;
	padding: 14px 18px;
	border-radius: 6px;
	background: #111;
	color: #fff;
	font-size: 15px;
	line-height: 1.4;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.dsc-toast__link {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
	white-space: nowrap;
}

/* Lift the toast above the mobile sticky bottom bar (Products/Blog/Contact/Chat). */
@media (max-width: 1024px) {
	.dsc-toast {
		bottom: calc(96px + env(safe-area-inset-bottom, 0px));
	}
}

/* Quote page */

.dsc-quote {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
	max-width: 100%;
	color: #111;
}

@media (min-width: 1025px) {
	.dsc-quote {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
		align-items: start;
	}

	.dsc-quote__form {
		position: sticky;
		top: 24px;
	}
}

.dsc-quote__heading {
	margin: 0 0 16px;
	font-size: 22px;
	line-height: 1.2;
}

.dsc-quote__empty {
	margin: 0 0 16px;
}

.dsc-quote__empty[hidden],
.dsc-form-error[hidden],
.dsc-field-error[hidden] {
	display: none;
}

.dsc-lines {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dsc-line {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 8px 14px;
	padding: 16px 0;
	border-bottom: 1px solid #e5e5e5;
}

.dsc-line__img img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: cover;
	background: #f6f6f6;
}

.dsc-line__body {
	min-width: 0;
}

.dsc-line__title {
	display: block;
	color: #111;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.dsc-line__sku,
.dsc-line__attrs {
	margin: 2px 0 0;
	color: #555;
	font-size: 13px;
	overflow-wrap: anywhere;
}

.dsc-line__qty,
.dsc-line__remove {
	grid-column: 2;
	margin: 0;
}

.dsc-line__qty {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.dsc-remove {
	min-height: 44px;
	min-width: 44px;
	padding: 0 4px;
	border: 0;
	background: transparent;
	color: #555;
	font: inherit;
	font-size: 14px;
	text-decoration: underline;
	cursor: pointer;
}

.dsc-remove:hover {
	color: #b00020;
	background: transparent;
}

@media (min-width: 640px) {
	.dsc-line {
		grid-template-columns: 96px minmax(0, 1fr) auto auto;
		align-items: center;
	}

	.dsc-line__img img {
		width: 96px;
		height: 96px;
	}

	.dsc-line__qty,
	.dsc-line__remove {
		grid-column: auto;
	}
}

/* Request form */

.dsc-quote__form {
	padding: 24px;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	background: #fff;
	box-sizing: border-box;
	min-width: 0;
}

.dsc-fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	margin-bottom: 18px;
}

@media (min-width: 480px) {
	.dsc-fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dsc-field:not(.dsc-field--half) {
		grid-column: 1 / -1;
	}
}

.dsc-field label {
	display: block;
	margin-bottom: 4px;
	font-size: 14px;
	font-weight: 600;
}

.dsc-field input,
.dsc-field textarea {
	display: block;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #c9c9c9;
	border-radius: 4px;
	background: #fff;
	color: #111;
	font: inherit;
	font-size: 16px;
	box-sizing: border-box;
}

.dsc-field textarea {
	resize: vertical;
}

.dsc-field input[aria-invalid="true"],
.dsc-field textarea[aria-invalid="true"] {
	border-color: #b00020;
}

.dsc-field-error,
.dsc-form-error {
	margin: 4px 0 0;
	color: #b00020;
	font-size: 14px;
}

.dsc-form-error {
	margin: 0 0 16px;
	padding: 10px 12px;
	border: 1px solid #b00020;
	border-radius: 4px;
}

.dsc-quote__submit {
	width: 100%;
}

.dsc-quote__note {
	margin: 12px 0 0;
	color: #555;
	font-size: 13px;
}

/* Honeypot: off-screen, not display:none, so simple bots still fill it. */
.dsc-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
