/* ==========================================================================
   Lanyard Configurator – Frontend Styles
   Full-width vertical layout matching reference design.
   Isolation block prevents theme styles from overriding plugin elements.
   ========================================================================== */

[v-cloak] {
	display: none !important;
}

/* ── Theme isolation: reset common theme overrides so plugin styles take precedence ──── */

.lc-configurator button,
.lc-configurator input,
.lc-configurator select,
.lc-configurator textarea,
.lc-configurator .lc-stepper-btn,
.lc-configurator .lc-style-btn,
.lc-configurator .lc-nudge-btn,
.lc-configurator .lc-qty-btn,
.lc-configurator .lc-btn,
.lc-configurator .lc-colour-slider__nav,
.lc-configurator .lc-step-nav__btn {
	box-sizing: border-box !important;
	min-height: unset !important;
	min-width: unset !important;
}

/* ── Full-width product page override ─────────────────────────────────── */

.lc-product-page {
	max-width: 100%;
	padding: 0;
}

/* ── Main Configurator Container ──────────────────────────────────────── */

.lc-configurator {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto 40px;
	padding: 10px;
}

/* ── Preview Section ──────────────────────────────────────────────────── */

.lc-preview-section {
	padding: 20px 0 10px;
	display: flex;
	justify-content: center;
}

.lc-preview {
	position: relative;
	width: 100%;
	max-width: 900px;
	background: #fff;
}

.lc-preview-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 200px;
	background: #f9fafb;
	border: 2px dashed #e0e0e0;
	border-radius: 8px;
}

.lc-preview-placeholder p {
	margin: 0;
	color: #98a2b3;
	font-size: 15px;
	text-align: center;
	padding: 20px;
}

.lc-preview-image-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 200px;
	background: #f5f5f5;
	overflow: hidden;
}

/* During PDF/save capture: allow full content to be captured without clipping */
#lc-preview-canvas.lc-preview-capture,
#lc-preview-canvas.lc-preview-capture .lc-preview-image-wrap,
#lc-preview-canvas.lc-preview-capture .lc-preview-colour-wrap {
	overflow: visible !important;
}

/* Tight-fit wrap so colour applies only behind the lanyard image, not the whole preview area */
.lc-preview-colour-wrap {
	display: inline-block;
	line-height: 0;
	position: relative;
	z-index: 1;
}

.lc-preview-style-img {
	position: relative;
	z-index: 1;
	max-width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

/* Blend img with wrapper background so white/light strap areas take the selected colour (theme-style preview) */
/* Overlays for clip, text, logo (reflects other step selections) */
.lc-preview-overlays {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lc-preview-overlay--clip {
	position: absolute;
	left: 8%;
	bottom: 15%;
	max-height: 70px;
	max-width: 80px;
	object-fit: contain;
}

.lc-preview-overlay--text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-shadow: 0 1px 2px rgba(0,0,0,0.5);
	white-space: nowrap;
	max-width: 80%;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lc-preview-overlay--logo {
	position: absolute;
	top: 35%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-height: 50px;
	max-width: 80px;
	object-fit: contain;
}

/* Chain bands: text/logo along strap; position/size from SVG geometry via JS */
.lc-chain-bands {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.lc-chain-bands--single {
	z-index: 0;
}

.lc-chain-bands--double {
	z-index: 2;
}

.lc-chain-band {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	overflow: hidden;
	padding: 4px 5px;
	box-sizing: border-box;
	min-height: 0; /* prevent content from expanding calculated height */
}

.lc-chain-inner {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	white-space: nowrap;
	overflow: hidden;
	width: 100%;
	min-height: 0; /* allow flex shrink so band height stays fixed */
	text-transform: uppercase;
	letter-spacing: 1px;
	text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

/* Single-ended top strap only: flip text to match theme/twisted loop (text on visible "back" appears inverted) */
.lc-chain-inner--flip {
	transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
}

.lc-chain-text {
	display: inline-block;
	white-space: nowrap;
	flex-shrink: 0;
	line-height: 1.1;
	vertical-align: middle;
}

.lc-chain-text > span {
	display: inline;
}


.lc-chain-logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.lc-chain-logo img {
	display: block;
	width: auto;
	object-fit: contain;
	vertical-align: middle;
}

.lc-lanyard-svg {
	width: 100%;
	height: auto;
	display: block;
}

.lc-svg-strap {
	transition: fill 0.3s ease;
}

.lc-svg-strap-text {
	font-family: inherit;
	pointer-events: none;
	user-select: none;
}

.lc-preview-clip-overlay {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}

.lc-preview-clip-img {
	max-height: 80px;
	object-fit: contain;
}

/* ── Info Text ────────────────────────────────────────────────────────── */

.lc-info-text {
	text-align: center;
	padding: 16px 20px 20px;
	max-width: 800px;
	margin: 0 auto;
}

.lc-info-text p {
	margin: 0 0 4px;
	font-size: 15px;
	line-height: 1.5;
}

.lc-info-text__note {
	font-size: 13px;
	color: #888;
	font-style: italic;
}

/* ── Step Panel ───────────────────────────────────────────────────────── */

.lc-step-panel {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	margin: 0 auto 20px;
	max-width: 1000px;
	background: #fff;
	overflow: hidden;
}

/* ── Step Navigation Tabs ─────────────────────────────────────────────── */

.lc-step-nav {
	display: flex;
	border-bottom: 1px solid #e0e0e0;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	background: #fafafa;
}

.lc-step-nav::-webkit-scrollbar {
	display: none;
}

.lc-configurator .lc-step-nav__btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 12px 16px;
	border: none;
	border-bottom: 3px solid transparent;
	background: transparent;
	font-size: 13px;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.2s ease;
	color: #667085;
	flex-shrink: 0;
}

.lc-configurator .lc-step-nav__btn:hover {
	color: #333;
	background: #f0f0f0;
}

.lc-configurator .lc-step-nav__btn--active {
	border-bottom-color: #e67e22;
	color: #1a1a1a;
	font-weight: 600;
	background: #fff;
}

.lc-configurator .lc-step-nav__btn--done {
	color: #059669;
}

.lc-configurator .lc-step-nav__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #e0e0e0;
	font-size: 11px;
	font-weight: 700;
	color: #667085;
}

.lc-configurator .lc-step-nav__btn--active .lc-step-nav__number {
	background: #e67e22;
	color: #fff;
}

.lc-configurator .lc-step-nav__btn--done .lc-step-nav__number {
	background: #059669;
	color: #fff;
}

/* ── Step Content ─────────────────────────────────────────────────────── */

.lc-step-content {
	padding: 24px 32px 32px;
}

.lc-step__title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 6px;
	text-align: center;
	text-transform: uppercase;
}

.lc-step__subtitle {
	color: #667085;
	margin: 0 0 12px;
	font-size: 14px;
	text-align: center;
	line-height: 1.5;
}

.lc-step__desc {
	color: #667085;
	margin: 0 0 20px;
	font-size: 14px;
	text-align: center;
}

.lc-step__required-hint {
	margin: 0 0 16px;
	padding: 10px 16px;
	background: #eff6ff;
	border: 1px solid #93c5fd;
	border-radius: 6px;
	color: #1e40af;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

/* Step notice (notice / warning / info) */
.lc-step__notice {
	margin: 16px 0 0;
	padding: 12px 16px;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

.lc-step__notice--notice {
	background: #e8f4fd;
	border: 1px solid #b8d9f0;
	color: #1a5a8a;
}

.lc-step__notice--warning {
	background: #fff8e6;
	border: 1px solid #f0d674;
	color: #8a6d1a;
}

.lc-step__notice--info {
	background: #f0f7fc;
	border: 1px solid #d0e3f0;
	color: #2c5282;
}

/* ── Options Grid (selection cards) ───────────────────────────────────── */

.lc-options-grid {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
}

.lc-option-card {
	box-sizing: border-box;
	border: 2px solid #e5e7eb;
	border-radius: 4px;
	overflow: hidden;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
	background: #fff;
	width: 160px;
	text-align: center;
}

.lc-option-card:hover {
	border-color: #bbb;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lc-option-card--selected {
	border-color: #e67e22;
	box-shadow: 0 0 0 1px #e67e22;
}

.lc-option-card--no-upgrade .lc-option-card__body {
	padding: 14px 16px;
	min-height: 72px;
	justify-content: center;
}

.lc-option-card__image {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #fafafa;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lc-option-card__image img {
	max-width: 90%;
	max-height: 90%;
	object-fit: contain;
}

.lc-option-card__body {
	padding: 8px 10px 10px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.lc-option-card__title {
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
}

.lc-option-card__price {
	font-size: 11px;
	color: #e67e22;
	font-weight: 500;
}

.lc-option-card__check {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 22px;
	height: 22px;
	background: #e67e22;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

/* ── Colour Section ───────────────────────────────────────────────────── */

.lc-colour-section {
	text-align: center;
}

.lc-colour-section__heading {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 16px;
}

.lc-colour-grid {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 12px;
}

.lc-colour-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	padding: 8px;
	border: 2px solid transparent;
	border-radius: 6px;
	transition: border-color 0.15s ease;
	min-width: 70px;
}

.lc-colour-item:hover {
	border-color: #ddd;
}

.lc-colour-item--selected {
	border-color: #e67e22;
}

.lc-colour-swatch {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 2px solid #e0e0e0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.15s ease;
}

.lc-colour-item:hover .lc-colour-swatch {
	transform: scale(1.1);
}

.lc-colour-item--selected .lc-colour-swatch {
	border-color: #333;
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #333;
}

.lc-colour-label {
	font-size: 11px;
	color: #555;
	text-align: center;
	line-height: 1.2;
}

.lc-colour-selected-name {
	font-size: 14px;
	margin: 8px 0 0;
	font-weight: 600;
	text-align: center;
}

/* Pantone search */
.lc-pantone-search-wrap {
	margin-bottom: 14px;
}

.lc-pantone-search-row {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	flex-flow: column;
}

.lc-pantone-search-input {
	width: 100%;
	max-width: 320px;
	padding: 6px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.4;
}

.lc-pantone-search-input:focus {
	outline: none;
	border-color: #e67e22;
	box-shadow: 0 0 0 1px #e67e22;
}

.lc-pantone-selected-chip {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px 10px;
	background: #f5f5f5;
	border-radius: 6px;
}

.lc-pantone-selected-chip .lc-colour-swatch {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
}

.lc-pantone-selected-chip .lc-colour-label {
	font-size: 13px;
	font-weight: 600;
	color: #333;
}

.lc-pantone-results {
	margin-top: 10px;
}

/* Colour slider – horizontal scroll without visible scrollbar */
.lc-colour-slider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.lc-configurator .lc-colour-slider__nav {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	padding: 0 !important;
	border: none;
	background: none;
	color: #555;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s;
}

.lc-configurator .lc-colour-slider__nav:hover {
	color: #e67e22;
}

.lc-configurator .lc-colour-slider__nav svg {
	width: 24px;
	height: 24px;
	display: block;
}

.lc-colour-slider__viewport {
	flex: 1;
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scroll-padding: 0 16px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.lc-colour-slider__viewport::-webkit-scrollbar {
	display: none;
}

/* Options slider viewport: constrain to whole card widths (160px + 16px gap = 176px per slot) to prevent cut-off */
.lc-options-slider .lc-colour-slider__viewport {
	max-width: 528px; /* 3 × 176px */
}

@media (max-width: 600px) {
	.lc-options-slider .lc-colour-slider__viewport {
		max-width: 352px; /* 2 × 176px */
	}
}

@media (min-width: 900px) {
	.lc-options-slider .lc-colour-slider__viewport {
		max-width: 720px; /* 4 cards (160×4 + 16×3 + 32 padding) so ≤4 options fit without arrows */
	}
}

.lc-colour-slider__track {
	display: flex;
	flex-wrap: nowrap;
	gap: 16px;
	padding: 4px 16px;
	min-width: min-content;
}

.lc-colour-slider .lc-colour-item {
	flex: 0 0 auto;
	scroll-snap-align: center;
}

/* Options slider – selection step cards; start snap keeps full cards in view */
.lc-options-slider .lc-option-card {
	flex: 0 0 auto;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.lc-options-slider__track {
	gap: 16px;
}

/* When options fit container: hide arrows, wrap like grid */
.lc-options-slider--fits .lc-colour-slider__nav {
	display: none;
}

.lc-options-slider--fits .lc-colour-slider__viewport {
	overflow: visible;
	scroll-snap-type: none;
}

.lc-options-slider--fits .lc-colour-slider__track {
	flex-wrap: wrap;
	justify-content: center;
	min-width: 0;
}

/* When colour swatches fit: hide arrows, wrap like grid */
.lc-colour-slider--fits .lc-colour-slider__nav {
	display: none;
}

.lc-colour-slider--fits .lc-colour-slider__viewport {
	overflow: visible;
	scroll-snap-type: none;
}

.lc-colour-slider--fits .lc-colour-slider__track {
	flex-wrap: wrap;
	justify-content: center;
	min-width: 0;
}

.lc-configurator .lc-colour-slider__nav:disabled,
.lc-configurator .lc-colour-slider__nav--hidden {
	display: none;
}

/* Center options slider in step content */
.lc-options-slider-wrap {
	display: flex;
	justify-content: center;
}

.lc-colour-slider-wrap .lc-colour-grid {
	margin-bottom: 0;
}

/* ── Input Section (Text & Logo) ──────────────────────────────────────── */

.lc-input-section {
	width: 100%;
	margin: 0;
}

.lc-input-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	margin-bottom: 20px;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.lc-input-columns--single {
	grid-template-columns: 1fr;
	max-width: none;
	margin-bottom: 16px;
}

/* Standalone text/logo steps: no redundant heading (step title provides it) */
.lc-input-col--standalone .lc-input-col__desc {
	margin-top: 0;
	margin-bottom: 12px;
}

@media (max-width: 640px) {
	.lc-input-columns {
		grid-template-columns: 1fr;
	}
}

.lc-input-col__heading {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 12px;
	text-transform: uppercase;
	padding-bottom: 10px;
	border-bottom: 2px solid #e67e22;
	color: #1a1a1a;
}

.lc-input-col__desc {
	font-size: 13px;
	color: #667085;
	margin: 0 0 12px;
}

.lc-label {
	font-size: 13px;
	font-weight: 500;
	color: #344054;
}

.lc-input {
	padding: 10px 12px;
	border: 1px solid #d0d5dd;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.15s ease;
	width: 100%;
	box-sizing: border-box;
}

.lc-input:focus {
	outline: none;
	border-color: #e67e22;
	box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.15);
}

.lc-textarea {
	padding: 10px 12px;
	border: 1px solid #d0d5dd;
	border-radius: 4px;
	font-size: 14px;
	width: 100%;
	box-sizing: border-box;
	resize: vertical;
}

.lc-textarea:focus {
	outline: none;
	border-color: #e67e22;
	box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.15);
}

.lc-logo-upload {
	display: flex;
	align-items: center;
	gap: 8px;
}

.lc-file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.lc-logo-preview {
	margin-top: 8px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.lc-logo-preview img {
	max-height: 60px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 4px;
}

/* ── Rich text/logo controls ─────────────────────────────────────────── */

.lc-text-block,
.lc-logo-block {
	padding: 12px 16px;
	margin-bottom: 12px;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	background: #fafbfc;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.lc-text-block:hover,
.lc-logo-block:hover {
	border-color: #d0d5dd;
}

.lc-text-block:last-of-type,
.lc-logo-block:last-of-type {
	margin-bottom: 10px;
}

/* Compact form rows – industry standard horizontal layout */
.lc-form-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px 20px;
	margin-bottom: 10px;
}

.lc-form-row--main {
	display: grid;
	grid-template-columns: auto 1fr minmax(100px, 140px) minmax(120px, 160px);
	gap: 12px 16px;
	align-items: end;
}

@media (max-width: 768px) {
	.lc-form-row--main {
		grid-template-columns: 1fr;
	}
}

.lc-form-row--logo {
	flex-wrap: wrap;
	align-items: center;
}

.lc-repeat-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.lc-repeat-row .lc-label {
	margin: 0;
	flex-shrink: 0;
}

.lc-input-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
}

.lc-input-field--flex {
	min-width: 0;
}

.lc-input-field--short {
	min-width: 0;
}

.lc-select {
	padding: 8px 10px;
	border: 1px solid #d0d5dd;
	border-radius: 4px;
	font-size: 14px;
	min-width: 70px;
}

.lc-select-font {
	min-width: 120px;
	max-width: 160px;
}

.lc-input--short {
	max-width: 100%;
	min-width: 0;
}

.lc-link-small {
	font-size: 12px;
	color: #e67e22;
	display: inline-block;
	margin: 0 0 8px;
}

.lc-link-small:hover {
	text-decoration: underline;
}

/* Compact toolbar: Style + Size + Space + Position */
.lc-configurator .lc-controls-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #e5e7eb;
}

.lc-configurator .lc-toolbar-group {
	display: flex;
	align-items: center;
	gap: 8px;
}

.lc-configurator .lc-toolbar-group .lc-style-btns,
.lc-configurator .lc-toolbar-group .lc-align-btns {
	margin: 0;
}

.lc-configurator .lc-align-btns {
	display: flex;
	gap: 4px;
}

.lc-configurator .lc-label--inline {
	margin: 0;
	flex-shrink: 0;
}

.lc-configurator .lc-style-btns {
	display: flex;
	gap: 4px;
}

.lc-configurator .lc-style-btn {
	width: 32px;
	height: 32px;
	min-width: 32px;
	padding: 0;
	margin: 0;
	border: 2px solid #d0d5dd;
	background: #fff;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s;
}

.lc-configurator .lc-style-btn:hover {
	border-color: #98a2b3;
	background: #f9fafb;
}

.lc-configurator .lc-style-btn--on {
	background: #e67e22;
	border-color: #e67e22;
	color: #fff;
}

.lc-configurator .lc-stepper-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0;
}

.lc-configurator .lc-stepper {
	display: flex;
	align-items: center;
	gap: 6px;
}

.lc-configurator .lc-stepper .lc-label {
	margin: 0;
	width: auto;
	min-width: 40px;
	flex-shrink: 0;
}

.lc-configurator .lc-stepper-btn {
	width: 32px;
	height: 32px;
	min-width: 32px;
	padding: 0;
	margin: 0;
	border: 1px solid #d0d5dd;
	background: #fff;
	border-radius: 4px;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	transition: background 0.15s;
}

.lc-configurator .lc-stepper-btn:hover {
	background: #f5f5f5;
}

.lc-configurator .lc-stepper-val {
	min-width: 28px;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
}

.lc-configurator .lc-nudge-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: auto auto auto;
	gap: 2px;
	width: 90px;
	margin: 0;
}

.lc-configurator .lc-nudge-btn {
	width: 28px;
	height: 28px;
	min-width: 28px;
	padding: 0;
	margin: 0;
	border: 1px solid #d0d5dd;
	background: #fff;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s;
}

.lc-configurator .lc-nudge-btn:hover {
	background: #e67e22;
	color: #fff;
	border-color: #e67e22;
}

.lc-configurator .lc-nudge-btn:active {
	transform: scale(0.96);
}

.lc-configurator .lc-nudge-grid .lc-nudge-btn:nth-child(1) { grid-column: 2; grid-row: 1; }
.lc-configurator .lc-nudge-grid .lc-nudge-btn:nth-child(2) { grid-column: 1; grid-row: 2; }
.lc-configurator .lc-nudge-grid .lc-nudge-center { grid-column: 2; grid-row: 2; width: 28px; height: 28px; }
.lc-configurator .lc-nudge-grid .lc-nudge-btn:nth-child(4) { grid-column: 3; grid-row: 2; }
.lc-configurator .lc-nudge-grid .lc-nudge-btn:nth-child(5) { grid-column: 2; grid-row: 3; }

.lc-configurator .lc-btn--add {
	margin-top: 12px;
	padding: 10px 20px;
	font-weight: 600;
	border-width: 2px;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.lc-configurator .lc-btn--add:hover {
	background: #e67e22;
	color: #fff;
	border-color: #e67e22;
}

.lc-input-notes {
	padding-top: 12px;
	border-top: 1px solid #e5e7eb;
	margin-top: 16px;
}

.lc-configurator .lc-btn--small {
	font-size: 11px;
	padding: 4px 0;
}

/* ── Summary ──────────────────────────────────────────────────────────── */

.lc-summary__pricing-table-wrap {
	margin-bottom: 24px;
}

.lc-pricing-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 8px;
}

.lc-pricing-table-scroll {
	overflow-x: auto;
	max-width: 100%;
}

.lc-pricing-table--horizontal {
	display: inline-table;
	min-width: auto;
}

.lc-pricing-table--horizontal th,
.lc-pricing-table--horizontal td {
	white-space: nowrap;
	text-align: center;
	min-width: 48px;
}

.lc-pricing-table--horizontal th:first-child,
.lc-pricing-table--horizontal td:first-child {
	text-align: left;
	white-space: normal;
	min-width: 140px;
}

.lc-pricing-table th,
.lc-pricing-table td {
	padding: 8px 12px;
	text-align: left;
	border: 1px solid #e0e0e0;
	font-size: 13px;
}

.lc-pricing-table th {
	background: #f5f5f5;
	font-weight: 600;
}

.lc-pricing-table:not(.lc-pricing-table--horizontal) td:last-child {
	text-align: right;
}

.lc-summary__print-options {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #eee;
}

.lc-summary__print-options--top {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
	margin-bottom: 20px;
}

.lc-summary__print-options h4 {
	font-size: 14px;
	margin: 0 0 12px;
}

.lc-print-option {
	margin-bottom: 10px;
}

.lc-print-option:last-child {
	margin-bottom: 0;
}

.lc-print-option__radio,
.lc-print-option__checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-weight: 400;
	font-size: 14px;
}

.lc-print-option__radio input[type="radio"],
.lc-print-option__checkbox input[type="checkbox"] {
	margin: 0;
	flex-shrink: 0;
}

.lc-summary__columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: start;
}

@media (max-width: 640px) {
	.lc-summary__columns {
		grid-template-columns: 1fr;
	}
}

.lc-summary__details h4 {
	font-size: 16px;
	font-weight: 700;
	font-style: italic;
	margin: 0 0 12px;
}

.lc-summary__table {
	width: 100%;
	border-collapse: collapse;
}

.lc-summary__table td {
	padding: 6px 4px;
	font-size: 13px;
	vertical-align: top;
}

.lc-summary__label {
	color: #555;
	font-weight: 600;
	width: 35%;
}

.lc-summary__value {
	color: #333;
}

.lc-summary__price {
	text-align: right;
	color: #555;
	white-space: nowrap;
}

.lc-summary__pricing {
	margin-bottom: 16px;
}

.lc-summary__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 6px 0;
	font-size: 15px;
	line-height: 1.4;
}

.lc-summary__row span {
	color: #555;
	font-weight: 500;
}

.lc-summary__row strong {
	font-weight: 700;
	font-size: 16px;
}

.lc-summary__quantity-cart-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.lc-summary__quantity-cart-row .lc-quantity-row {
	margin-bottom: 0;
}

.lc-min-qty-hint {
	margin: 0 0 8px;
	font-size: 12px;
	color: #666;
}

/* ── Quantity & Cart ──────────────────────────────────────────────────── */

.lc-configurator .lc-quantity-row {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 12px;
}

.lc-configurator .lc-qty-btn {
	width: 32px;
	height: 36px;
	min-width: 32px;
	padding: 0;
	margin: 0;
	border: 1px solid #d0d5dd;
	background: #fff;
	font-size: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	transition: background 0.15s;
}

.lc-configurator .lc-qty-btn:hover {
	background: #f5f5f5;
}

.lc-configurator .lc-qty-input {
	width: 44px;
	min-width: 44px;
	max-width: 60px;
	height: 36px;
	text-align: center;
	border: 1px solid #d0d5dd;
	border-radius: 4px;
	font-size: 14px;
	-moz-appearance: textfield;
}

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

/* ── Navigation Bar ───────────────────────────────────────────────────── */

.lc-configurator .lc-nav-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 0;
	max-width: 1000px;
	margin: 0 auto;
	gap: 12px;
}

.lc-configurator .lc-nav-bar__spacer {
	flex: 1;
}

/* ── Buttons (scoped to .lc-configurator for higher specificity vs theme) ─ */

.lc-configurator .lc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.15s ease;
	border: 2px solid transparent;
	text-decoration: none;
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.lc-configurator .lc-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.lc-configurator .lc-btn--primary {
	background: #e67e22;
	color: #fff;
	border-color: #e67e22;
}

.lc-configurator .lc-btn--primary:hover:not(:disabled) {
	background: #d35400;
	border-color: #d35400;
}

.lc-configurator .lc-btn--nav {
	min-width: 140px;
}

.lc-configurator .lc-btn--cart {
	background: #e67e22;
	color: #fff;
	border-color: #e67e22;
	padding: 10px 20px;
	font-size: 12px;
}

.lc-configurator .lc-btn--cart:hover:not(:disabled) {
	background: #d35400;
}

.lc-configurator .lc-btn--save {
	background: #e67e22;
	color: #fff;
	border-color: #e67e22;
	font-size: 11px;
	padding: 12px 20px;
	flex: 0 1 auto;
}

.lc-configurator .lc-btn--save:hover:not(:disabled) {
	background: #d35400;
}

.lc-configurator .lc-btn--pdf {
	background: #c0392b;
	border-color: #c0392b;
}

.lc-configurator .lc-btn--pdf:hover:not(:disabled) {
	background: #a93226;
	border-color: #a93226;
}

.lc-configurator .lc-btn--upload {
	background: #e67e22;
	color: #fff;
	border-color: #e67e22;
	padding: 10px 20px;
	font-size: 12px;
}

.lc-configurator .lc-btn--upload:hover {
	background: #d35400;
}

.lc-configurator .lc-btn--outline {
	background: #fff;
	color: #344054;
	border-color: #d0d5dd;
}

.lc-configurator .lc-btn--outline:hover:not(:disabled) {
	background: #f9fafb;
	border-color: #98a2b3;
}

.lc-configurator .lc-btn--link {
	background: none;
	border: none;
	color: #e67e22;
	padding: 4px 0;
	font-size: 12px;
	cursor: pointer;
	text-transform: uppercase;
	font-weight: 600;
}

.lc-configurator .lc-btn--link:hover {
	text-decoration: underline;
	color: #d35400;
}

.lc-configurator .lc-enquire-btn {
	border: 1px solid #d0d5dd;
	padding: 8px 16px;
	color: #333;
	border-radius: 4px;
}

.lc-configurator .lc-enquire-btn:hover {
	background: #f9fafb;
}

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 768px) {
	.lc-step-content {
		padding: 16px;
	}

	.lc-option-card {
		width: 130px;
	}

	.lc-nav-bar {
		flex-wrap: wrap;
		justify-content: center;
	}

	.lc-configurator .lc-btn--nav {
		min-width: 100px;
	}

	.lc-summary__columns {
		grid-template-columns: 1fr;
	}
}

/* ── Modal (replaces native alert/confirm) ─────────────────────────────── */

.lc-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	padding: 24px;
	animation: lc-modal-fade-in 0.25s ease;
}

.lc-modal-overlay--notice {
	background: rgba(0, 0, 0, 0.65);
}

@keyframes lc-modal-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

.lc-modal {
	position: relative;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
	max-width: 440px;
	width: 100%;
	overflow: hidden;
	animation: lc-modal-slide-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lc-modal--notice {
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05), 0 0 0 3px rgba(245, 158, 11, 0.3);
}

.lc-modal--confirm {
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05), 0 0 0 3px rgba(37, 99, 235, 0.25);
}

@keyframes lc-modal-slide-in {
	from {
		opacity: 0;
		transform: scale(0.92) translateY(-16px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.lc-modal__accent {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
}

.lc-modal__accent--notice {
	background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.lc-modal__accent--confirm {
	background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
}

.lc-modal__accent--alert {
	background: linear-gradient(90deg, #6b7280 0%, #4b5563 100%);
}

.lc-modal__accent--pdf-quote {
	background: linear-gradient(90deg, #e67e22 0%, #d35400 100%);
}

.lc-modal--pdf-quote .lc-modal__body {
	max-width: 420px;
}

.lc-pdf-quote-form-wrap {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.lc-pdf-quote-preview {
	text-align: center;
}

.lc-pdf-quote-preview__img {
	max-width: 180px;
	max-height: 100px;
	object-fit: contain;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
}

.lc-pdf-quote-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.lc-pdf-quote-form__row {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.lc-pdf-quote-form .lc-modal__footer {
	padding-top: 16px;
	margin-top: 8px;
	border-top: 1px solid #e5e7eb;
}

.lc-modal__header {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 24px 24px 0;
}

.lc-modal__icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
}

.lc-modal--notice .lc-modal__icon {
	background: rgba(245, 158, 11, 0.15);
	color: #d97706;
}

.lc-modal--confirm .lc-modal__icon {
	background: rgba(59, 130, 246, 0.15);
	color: #2563eb;
}

.lc-modal--alert .lc-modal__icon {
	background: rgba(107, 114, 128, 0.15);
	color: #4b5563;
}

.lc-modal__title {
	margin: 0;
	padding-top: 6px;
	font-size: 20px;
	font-weight: 700;
	color: #111827;
	letter-spacing: -0.02em;
	line-height: 1.3;
}

.lc-modal__body {
	padding: 20px 24px 24px;
	padding-top: 16px;
}

.lc-modal__message {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: #374151;
	white-space: pre-wrap;
}

.lc-modal--notice .lc-modal__message {
	color: #4b5563;
	font-weight: 500;
}

.lc-modal__footer {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	padding: 0 24px 24px;
}

.lc-modal__btn {
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 600;
	min-width: 100px;
}

.lc-configurator .lc-modal__footer .lc-btn--primary {
	padding: 12px 28px;
}

.lc-configurator .lc-btn--secondary {
	background: #f9fafb;
	color: #374151;
	border: 1px solid #e5e7eb;
}

.lc-configurator .lc-btn--secondary:hover:not(:disabled) {
	background: #f3f4f6;
	border-color: #d1d5db;
	color: #1f2937;
}
