/*
 * Norway Car Lookup — frontend styles (v2)
 *
 * Override any value by setting CSS variables on .ncl-wrap from your theme,
 * Customizer Additional CSS, or Elementor Custom CSS:
 *
 *   .ncl-wrap {
 *       --ncl-accent:    #c8102e;
 *       --ncl-radius-lg: 12px;
 *       --ncl-bg:        #0e1116;
 *       --ncl-ink:       #f4f1ea;
 *   }
 */

.ncl-wrap {
	/* Light defaults (registry-style) */
	--ncl-bg:           #ffffff;
	--ncl-bg-2:         #f7f8fa;
	--ncl-bg-3:         #eef0f4;
	--ncl-ink:          #0e1116;
	--ncl-ink-mute:     #565d6a;
	--ncl-ink-dim:      #8a9099;
	--ncl-line:         #e4e7eb;
	--ncl-line-2:       #d8dce2;

	--ncl-accent:        #0a66c2;
	--ncl-accent-hover:  #084a8c;

	--ncl-plate-yellow:  #ffd400;
	--ncl-plate-edge:    #b88e00;
	--ncl-eu-blue:       #003399;

	--ncl-ok:    #06a96e;
	--ncl-warn:  #c98a04;
	--ncl-alert: #c8102e;
	--ncl-info:  #0a66c2;

	--ncl-radius:    8px;
	--ncl-radius-lg: 12px;
	--ncl-shadow:    0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
	--ncl-font:      inherit;

	font-family: var(--ncl-font);
	color:       var(--ncl-ink);
	max-width:   980px;
	margin:      0 auto;
	box-sizing:  border-box;
}

.ncl-wrap *,
.ncl-wrap *::before,
.ncl-wrap *::after {
	box-sizing: border-box;
}

/* ============================================================
 * SEARCH FORM (top of widget)
 * ============================================================ */
.ncl-title {
	margin: 0 0 0.75em;
	font-size: 1.4em;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.ncl-form {
	background: var(--ncl-bg);
	padding: 1.25em;
	border: 1px solid var(--ncl-line);
	border-radius: var(--ncl-radius-lg);
	box-shadow: var(--ncl-shadow);
	margin-bottom: 1.5em;
}

.ncl-label {
	display: block;
	font-size: 0.8em;
	font-weight: 600;
	margin-bottom: 0.5em;
	color: var(--ncl-ink-mute);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.ncl-input-row {
	display: flex;
	gap: 0.5em;
	flex-wrap: wrap;
}

/* The plate-styled input wrapper */
.ncl-plate-input {
	flex: 1 1 220px;
	display: flex;
	align-items: stretch;
	background: var(--ncl-plate-yellow);
	border: 2px solid var(--ncl-plate-edge);
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 0 0 1px rgba(0,0,0,0.2) inset;
	transition: box-shadow 0.15s;
}
.ncl-plate-input:focus-within {
	box-shadow: 0 0 0 1px rgba(0,0,0,0.2) inset, 0 0 0 3px rgba(10, 102, 194, 0.25);
}
.ncl-plate-eu {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	background: var(--ncl-eu-blue);
	color: var(--ncl-plate-yellow);
	font-weight: 800;
	font-size: 1.2em;
	border-right: 2px solid var(--ncl-plate-edge);
}
.ncl-input {
	flex: 1;
	min-width: 0;
	font: inherit;
	font-size: 1.15em;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 0.6em 0.8em;
	background: transparent;
	border: none;
	color: #000;
}
.ncl-input::placeholder { color: rgba(0,0,0,0.35); font-weight: 500; letter-spacing: 0.05em; }
.ncl-input:focus { outline: none; }
.ncl-input:disabled { opacity: 0.6; cursor: not-allowed; }

.ncl-button {
	position: relative;
	font: inherit;
	font-weight: 600;
	color: #fff;
	background: var(--ncl-accent);
	border: 1px solid var(--ncl-accent);
	border-radius: var(--ncl-radius);
	padding: 0.6em 1.4em;
	cursor: pointer;
	transition: background-color 0.15s, transform 0.15s;
	min-width: 110px;
}
.ncl-button:hover:not(:disabled) {
	background: var(--ncl-accent-hover);
	border-color: var(--ncl-accent-hover);
}
.ncl-button:disabled { opacity: 0.7; cursor: not-allowed; }

.ncl-spinner {
	display: none;
	width: 1em;
	height: 1em;
	border-radius: 50%;
	border: 2px solid rgba(255,255,255,0.4);
	border-top-color: #fff;
	animation: ncl-spin 0.7s linear infinite;
	margin-left: 0.5em;
	vertical-align: -0.15em;
}
.ncl-is-loading .ncl-spinner { display: inline-block; }
@keyframes ncl-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ncl-spinner { animation-duration: 1.6s; } }

.ncl-message {
	margin: 0.75em 0 0;
	min-height: 1.2em;
	font-size: 0.95em;
}
.ncl-message-info  { color: var(--ncl-ink-mute); }
.ncl-message-error {
	color: var(--ncl-alert);
	background: #fdecee;
	padding: 0.6em 0.8em;
	border-radius: var(--ncl-radius);
	border: 1px solid #f7c5cc;
}

/* ============================================================
 * REPORT
 * ============================================================ */
.ncl-result { margin-top: 1.5em; }

.ncl-report {
	background: var(--ncl-bg);
	border: 1px solid var(--ncl-line);
	border-radius: var(--ncl-radius-lg);
	padding: 2em;
	box-shadow: var(--ncl-shadow);
	animation: ncl-fade-in 0.25s ease-out;
	position: relative;
}

/* ============================================================
 * LANGUAGE TOGGLE
 * ============================================================ */
.ncl-lang-toggle {
	position: absolute;
	top: 1em;
	right: 1em;
	display: inline-flex;
	background: var(--ncl-bg-2);
	border: 1px solid var(--ncl-line);
	border-radius: 999px;
	padding: 2px;
	z-index: 1;
}
.ncl-lang-btn {
	background: transparent;
	border: none;
	font: inherit;
	font-size: 0.75em;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 0.4em 0.9em;
	color: var(--ncl-ink-mute);
	cursor: pointer;
	border-radius: 999px;
	transition: background 0.15s, color 0.15s;
}
.ncl-lang-btn:hover { color: var(--ncl-ink); }
.ncl-lang-btn.is-active {
	background: var(--ncl-accent);
	color: #fff;
}
@keyframes ncl-fade-in {
	from { opacity: 0; transform: translateY(4px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
 * HERO
 * ============================================================ */
.ncl-hero {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.5em;
	align-items: center;
	padding-bottom: 1.25em;
	padding-right: 5em; /* leave space for language toggle */
	margin-bottom: 1.5em;
	border-bottom: 1px solid var(--ncl-line);
}
.ncl-plate-large {
	display: flex;
	align-items: stretch;
	background: var(--ncl-plate-yellow);
	border: 2px solid var(--ncl-plate-edge);
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 0 0 1px rgba(0,0,0,0.25) inset;
}
.ncl-plate-large .ncl-plate-eu {
	width: 36px;
	background: var(--ncl-eu-blue);
	color: var(--ncl-plate-yellow);
	font-weight: 800;
	font-size: 1.1em;
	border-right: 2px solid var(--ncl-plate-edge);
	display: flex;
	align-items: center;
	justify-content: center;
}
.ncl-plate-num {
	display: flex;
	align-items: center;
	padding: 0.4em 0.7em;
	font-weight: 800;
	font-size: 1.5em;
	letter-spacing: 0.1em;
	color: #000;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Courier New", monospace;
}

.ncl-hero-title {
	margin: 0;
	font-size: 1.75em;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
}
.ncl-hero-year {
	color: var(--ncl-ink-dim);
	font-weight: 500;
	margin-left: 0.4em;
	font-size: 0.7em;
}
.ncl-hero-sub {
	margin: 0.4em 0 0;
	color: var(--ncl-ink-mute);
	font-size: 0.95em;
}

/* ============================================================
 * STATUS CHIP ROW
 * ============================================================ */
.ncl-status-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0.6em;
	margin-bottom: 1.75em;
}
.ncl-chip {
	display: flex;
	align-items: center;
	gap: 0.7em;
	padding: 0.7em 0.85em;
	background: var(--ncl-bg-2);
	border: 1px solid var(--ncl-line);
	border-radius: var(--ncl-radius);
	font-size: 0.9em;
	min-width: 0; /* allow flex children to shrink and ellipsise */
}
.ncl-chip-ico {
	flex-shrink: 0;
	width: 32px; height: 32px;
	border-radius: 6px;
	background: var(--ncl-bg-3);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ncl-ink-mute);
}
.ncl-chip > span:last-child {
	min-width: 0;
	flex: 1;
}
.ncl-chip-label {
	display: block;
	font-size: 0.7em;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ncl-ink-dim);
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ncl-chip-value {
	display: block;
	font-weight: 600;
	color: var(--ncl-ink);
	margin-top: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.ncl-chip-ok    { border-color: rgba(6, 169, 110, 0.3); }
.ncl-chip-ok    .ncl-chip-ico { background: rgba(6, 169, 110, 0.12); color: var(--ncl-ok); }
.ncl-chip-warn  { border-color: rgba(201, 138, 4, 0.3); }
.ncl-chip-warn  .ncl-chip-ico { background: rgba(201, 138, 4, 0.12); color: var(--ncl-warn); }
.ncl-chip-alert { border-color: rgba(200, 16, 46, 0.3); }
.ncl-chip-alert .ncl-chip-ico { background: rgba(200, 16, 46, 0.12); color: var(--ncl-alert); }
.ncl-chip-info  .ncl-chip-ico { background: rgba(10, 102, 194, 0.1);  color: var(--ncl-info); }

/* ============================================================
 * SECTIONS
 * ============================================================ */
.ncl-section { margin-bottom: 1.75em; }

.ncl-section-head {
	display: flex;
	align-items: center;
	gap: 0.7em;
	margin-bottom: 0.9em;
}
.ncl-section-num {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Courier New", monospace;
	font-size: 0.75em;
	font-weight: 600;
	color: var(--ncl-ink-dim);
	background: var(--ncl-bg-2);
	border: 1px solid var(--ncl-line);
	padding: 0.2em 0.5em;
	border-radius: 4px;
	letter-spacing: 0.05em;
}
.ncl-section-head h3 {
	margin: 0;
	font-size: 1.1em;
	font-weight: 700;
	letter-spacing: -0.01em;
}
.ncl-section-line {
	flex: 1;
	height: 1px;
	background: var(--ncl-line);
}
.ncl-pill {
	font-size: 0.7em;
	padding: 0.25em 0.7em;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
}
.ncl-pill-info  { background: rgba(10,102,194,0.08); color: var(--ncl-info);  border: 1px solid rgba(10,102,194,0.3); }
.ncl-pill-ok    { background: rgba(6,169,110,0.08);  color: var(--ncl-ok);    border: 1px solid rgba(6,169,110,0.3); }
.ncl-pill-warn  { background: rgba(201,138,4,0.08);  color: var(--ncl-warn);  border: 1px solid rgba(201,138,4,0.3); }
.ncl-pill-alert { background: rgba(200,16,46,0.08);  color: var(--ncl-alert); border: 1px solid rgba(200,16,46,0.3); }

/* ============================================================
 * BANNER (alert / ok / info)
 * ============================================================ */
.ncl-banner {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1em;
	align-items: center;
	padding: 1em 1.2em;
	border: 1px solid var(--ncl-line);
	border-radius: var(--ncl-radius);
	background: var(--ncl-bg-2);
}
.ncl-banner-ico {
	width: 44px; height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ncl-bg-3);
	color: var(--ncl-ink-mute);
}
.ncl-banner h4 {
	margin: 0 0 0.3em;
	font-size: 1.05em;
	font-weight: 700;
}
.ncl-banner p {
	margin: 0;
	color: var(--ncl-ink-mute);
	font-size: 0.92em;
	line-height: 1.55;
}
.ncl-banner-ok    { border-color: rgba(6,169,110,0.3); background: rgba(6,169,110,0.04); }
.ncl-banner-ok    .ncl-banner-ico { background: rgba(6,169,110,0.12); color: var(--ncl-ok); }
.ncl-banner-warn  { border-color: rgba(201,138,4,0.3); background: rgba(201,138,4,0.04); }
.ncl-banner-warn  .ncl-banner-ico { background: rgba(201,138,4,0.14); color: var(--ncl-warn); }
.ncl-banner-alert { border-color: rgba(200,16,46,0.3); background: rgba(200,16,46,0.04); }
.ncl-banner-alert .ncl-banner-ico { background: rgba(200,16,46,0.14); color: var(--ncl-alert); }
.ncl-banner-info  { border-color: rgba(10,102,194,0.25); background: rgba(10,102,194,0.04); }
.ncl-banner-info  .ncl-banner-ico { background: rgba(10,102,194,0.1); color: var(--ncl-info); }

/* ============================================================
 * EXTERNAL REGISTRY GRID
 * ============================================================ */
.ncl-ext-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0.75em;
}
.ncl-ext {
	padding: 1em 1.1em;
	border: 1px solid var(--ncl-line);
	border-radius: var(--ncl-radius);
	background: var(--ncl-bg-2);
}
.ncl-ext-ico {
	display: inline-flex;
	width: 32px; height: 32px;
	border-radius: 6px;
	background: var(--ncl-bg-3);
	align-items: center;
	justify-content: center;
	color: var(--ncl-ink-mute);
	margin-bottom: 0.5em;
}
.ncl-ext h5 {
	margin: 0 0 0.3em;
	font-size: 0.95em;
	font-weight: 700;
}
.ncl-ext p {
	margin: 0;
	font-size: 0.85em;
	color: var(--ncl-ink-mute);
	line-height: 1.5;
}
.ncl-ext-warn { border-color: rgba(201,138,4,0.25); }
.ncl-ext-warn .ncl-ext-ico { background: rgba(201,138,4,0.12); color: var(--ncl-warn); }
.ncl-ext-info .ncl-ext-ico { background: rgba(10,102,194,0.08); color: var(--ncl-info); }

/* ============================================================
 * KEY-VALUE LIST (specs, dates, dimensions, motor)
 * ============================================================ */
.ncl-kv {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 0;
	border: 1px solid var(--ncl-line);
	border-radius: var(--ncl-radius);
	overflow: hidden;
	background: var(--ncl-bg);
}
.ncl-kv-row {
	display: flex;
	flex-direction: column;
	padding: 0.7em 1em;
	border-bottom: 1px solid var(--ncl-line);
	border-right: 1px solid var(--ncl-line);
	min-width: 0;
}
.ncl-kv-row:nth-child(odd)  { background: var(--ncl-bg); }
.ncl-kv-row:nth-child(even) { background: var(--ncl-bg-2); }
.ncl-kv dt {
	font-size: 0.78em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ncl-ink-dim);
	margin-bottom: 0.2em;
}
.ncl-kv dd {
	margin: 0;
	font-weight: 500;
	color: var(--ncl-ink);
	word-break: break-word;
}

/* ============================================================
 * DATA TABLES (axles, tires)
 * ============================================================ */
.ncl-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--ncl-line);
	border-radius: var(--ncl-radius);
	background: var(--ncl-bg);
}
.ncl-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9em;
	min-width: 540px;
}
.ncl-table th,
.ncl-table td {
	padding: 0.65em 0.85em;
	text-align: left;
	border-bottom: 1px solid var(--ncl-line);
}
.ncl-table thead th {
	background: var(--ncl-bg-2);
	font-size: 0.78em;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 700;
	color: var(--ncl-ink-mute);
}
.ncl-table tbody tr:last-child td { border-bottom: 0; }
.ncl-table tbody tr:hover { background: var(--ncl-bg-2); }

/* ============================================================
 * ENGINE LIST (per-motor cards)
 * ============================================================ */
.ncl-engine-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 0.75em;
	margin-top: 1em;
}
.ncl-engine-card {
	background: var(--ncl-bg-2);
	border: 1px solid var(--ncl-line);
	border-radius: var(--ncl-radius);
	padding: 1em 1.2em;
}
.ncl-engine-title {
	margin: 0 0 0.6em;
	font-size: 1em;
	font-weight: 700;
	color: var(--ncl-ink);
}
.ncl-engine-rows {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}
.ncl-engine-row {
	display: flex;
	flex-direction: column;
	padding: 0.5em 0;
	border-bottom: 1px solid var(--ncl-line);
}
.ncl-engine-row:last-child { border-bottom: 0; }
.ncl-engine-row dt {
	font-size: 0.85em;
	color: var(--ncl-ink-mute);
	font-weight: 500;
	margin-bottom: 0.15em;
}
.ncl-engine-row dd {
	margin: 0;
	font-weight: 600;
	color: var(--ncl-ink);
}

/* ============================================================
 * TYRE COMBINATION (cards + inner table)
 * ============================================================ */
.ncl-tire-combo {
	margin-top: 0.5em;
	padding: 1em 1.2em;
	background: var(--ncl-bg-2);
	border: 1px solid var(--ncl-line);
	border-radius: var(--ncl-radius);
}
.ncl-tire-combo + .ncl-tire-combo {
	margin-top: 0.75em;
}
.ncl-tire-combo .ncl-engine-title {
	margin-bottom: 0.6em;
}
.ncl-tire-combo .ncl-table-wrap {
	border: 1px solid var(--ncl-line);
	background: var(--ncl-bg);
}

/* ============================================================
 * DISCLAIMER
 * ============================================================ */
.ncl-disclaimer {
	margin-top: 2em;
	padding-top: 1.25em;
	border-top: 1px solid var(--ncl-line);
	font-size: 0.82em;
	color: var(--ncl-ink-dim);
	text-align: center;
}
.ncl-disclaimer a { color: var(--ncl-accent); text-decoration: none; }
.ncl-disclaimer a:hover { text-decoration: underline; }

/* ============================================================
 * WOOCOMMERCE PRODUCT GRID
 * ============================================================ */
.ncl-products-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 0.75em;
}
.ncl-product {
	background: var(--ncl-bg);
	border: 1px solid var(--ncl-line);
	border-radius: var(--ncl-radius);
	overflow: hidden;
	transition: transform 0.15s, box-shadow 0.15s;
}
.ncl-product:hover {
	transform: translateY(-2px);
	box-shadow: var(--ncl-shadow);
}
.ncl-product-link {
	display: block;
	padding: 0.7em;
	text-decoration: none;
	color: inherit;
}
.ncl-product img {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 0.5em;
	border-radius: 4px;
}
.ncl-product-name {
	display: block;
	font-size: 0.9em;
	font-weight: 600;
	margin-bottom: 0.2em;
}
.ncl-product-price {
	display: block;
	font-size: 0.9em;
	color: var(--ncl-accent);
	font-weight: 600;
}

/* ============================================================
 * RESPONSIVE
 * ============================================================ */
@media (max-width: 640px) {
	.ncl-report { padding: 1.25em; padding-top: 3em; }
	.ncl-hero { grid-template-columns: 1fr; gap: 1em; padding-right: 0; }
	.ncl-hero-title { font-size: 1.4em; }
	.ncl-banner { grid-template-columns: 1fr; text-align: left; }
	.ncl-banner-ico { width: 36px; height: 36px; }
}

/* ============================================================
 * CAR IMAGE IN HERO
 * ============================================================ */
.ncl-hero-has-img {
	display: block;
	padding-right: 5em;
}
.ncl-hero-image {
	width: 100%;
	margin-bottom: 1.25em;
	background: linear-gradient(135deg, var(--ncl-bg-2), var(--ncl-bg-3));
	border: 1px solid var(--ncl-line);
	border-radius: var(--ncl-radius);
	padding: 1em;
	text-align: center;
	min-height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ncl-hero-image img {
	max-width: 100%;
	height: auto;
	max-height: 240px;
	object-fit: contain;
}
.ncl-hero-main {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.5em;
	align-items: center;
}

/* ============================================================
 * RELATED PRODUCTS (affiliate)
 * ============================================================ */
.ncl-products-intro {
	color: var(--ncl-ink-mute);
	font-size: 0.95em;
	margin: 0 0 1em;
}
.ncl-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 1em;
}
.ncl-product-card {
	display: flex;
	flex-direction: column;
	background: var(--ncl-bg);
	border: 1px solid var(--ncl-line);
	border-radius: var(--ncl-radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.ncl-product-card:hover {
	transform: translateY(-3px);
	border-color: var(--ncl-accent);
	box-shadow: var(--ncl-shadow);
}
.ncl-product-card-img {
	aspect-ratio: 1 / 1;
	background: var(--ncl-bg-2);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-bottom: 1px solid var(--ncl-line);
}
.ncl-product-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ncl-product-card-noimg {
	font-size: 0.85em;
	font-weight: 600;
	color: var(--ncl-ink-mute);
	padding: 1em;
	text-align: center;
}
.ncl-product-card-body {
	padding: 0.85em;
	display: flex;
	flex-direction: column;
	gap: 0.35em;
	flex: 1;
}
.ncl-product-card-name {
	font-weight: 600;
	font-size: 0.95em;
	line-height: 1.3;
}
.ncl-product-card-tagline {
	font-size: 0.82em;
	color: var(--ncl-ink-mute);
	line-height: 1.4;
	flex: 1;
}
.ncl-product-card-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 0.5em;
	padding-top: 0.6em;
	border-top: 1px solid var(--ncl-line);
}
.ncl-product-card-price {
	font-weight: 700;
	font-size: 0.95em;
}
.ncl-product-card-cta {
	font-size: 0.8em;
	font-weight: 600;
	color: var(--ncl-accent);
}
.ncl-affiliate-note {
	font-size: 0.78em;
	color: var(--ncl-ink-dim);
	margin: 1em 0 0;
	font-style: italic;
}

@media (max-width: 640px) {
	.ncl-hero-has-img { padding-right: 0; }
	.ncl-hero-main { grid-template-columns: 1fr; gap: 1em; }
}

/* ============================================================
 * RARITY / PERFORMANCE CARD
 * ============================================================ */
.ncl-rarity {
	position: relative;
	background: var(--ncl-bg);
	border: 1px solid var(--ncl-line);
	border-radius: var(--ncl-radius-lg);
	padding: 2em;
	box-shadow: var(--ncl-shadow);
	animation: ncl-fade-in 0.3s ease-out;
	overflow: hidden;
}

.ncl-rarity-header {
	display: flex;
	align-items: center;
	gap: 1em;
	margin-bottom: 1.5em;
	padding-right: 5em;
}
.ncl-rarity-logo {
	width: 64px;
	height: 64px;
	flex-shrink: 0;
	background: var(--ncl-bg-2);
	border: 1px solid var(--ncl-line);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.ncl-rarity-logo img { max-width: 80%; max-height: 80%; object-fit: contain; }
.ncl-logo-letter,
.ncl-logo-fallback::before {
	font-size: 28px;
	font-weight: 800;
	color: var(--ncl-ink-mute);
}
.ncl-logo-fallback::before { content: attr(data-letter); }
.ncl-rarity-plate {
	display: inline-block;
	font-family: ui-monospace, Menlo, monospace;
	font-weight: 800;
	letter-spacing: 0.1em;
	background: var(--ncl-plate-yellow);
	color: #000;
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 0.85em;
	margin-bottom: 0.3em;
}
.ncl-rarity-title {
	margin: 0;
	font-size: 1.4em;
	font-weight: 700;
	letter-spacing: -0.01em;
}
.ncl-rarity-title span { color: var(--ncl-ink-dim); font-weight: 500; }

/* Tier banner */
.ncl-tier {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.9em 1.2em;
	border-radius: var(--ncl-radius);
	margin-bottom: 1.5em;
	color: #fff;
}
.ncl-tier-label {
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 1.05em;
}
.ncl-tier-score { font-size: 1.6em; font-weight: 800; }
.ncl-tier-score small { font-size: 0.5em; opacity: 0.7; font-weight: 600; }
.ncl-tier-common    { background: linear-gradient(135deg, #6b7280, #4b5563); }
.ncl-tier-uncommon  { background: linear-gradient(135deg, #0891b2, #0e7490); }
.ncl-tier-rare      { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.ncl-tier-legendary { background: linear-gradient(135deg, #f59e0b, #d97706); }

/* Gauges */
.ncl-gauges {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1em;
	margin-bottom: 1.5em;
}
.ncl-gauge {
	text-align: center;
	background: var(--ncl-bg-2);
	border: 1px solid var(--ncl-line);
	border-radius: var(--ncl-radius);
	padding: 1.2em 0.8em;
}
.ncl-gauge-svg { width: 120px; height: 120px; }
.ncl-gauge-track { fill: none; stroke: var(--ncl-line); stroke-width: 10; }
.ncl-gauge-fill {
	fill: none;
	stroke-width: 10;
	stroke-linecap: round;
	transition: stroke-dashoffset 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ncl-gauge-rarity .ncl-gauge-fill { stroke: #7c3aed; }
.ncl-gauge-perf .ncl-gauge-fill   { stroke: #ef4444; }
.ncl-gauge-num {
	font-size: 30px;
	font-weight: 800;
	fill: var(--ncl-ink);
	text-anchor: middle;
	font-family: var(--ncl-font);
}
.ncl-gauge-unit { font-size: 12px; fill: var(--ncl-ink-dim); text-anchor: middle; }
.ncl-gauge-label {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.8em;
	margin-top: 0.6em;
	color: var(--ncl-ink);
}
.ncl-gauge-caption { font-size: 0.85em; color: var(--ncl-ink-mute); margin-top: 0.2em; }

/* Stat cards */
.ncl-stat-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75em;
	margin-bottom: 1.5em;
}
.ncl-stat-card {
	background: var(--ncl-bg-2);
	border: 1px solid var(--ncl-line);
	border-radius: var(--ncl-radius);
	padding: 1em;
	display: flex;
	flex-direction: column;
	gap: 0.2em;
}
.ncl-stat-card-label {
	font-size: 0.8em;
	color: var(--ncl-ink-mute);
	font-weight: 600;
}
.ncl-stat-card-value {
	font-size: 1.5em;
	font-weight: 800;
	letter-spacing: -0.02em;
}
.ncl-stat-card-sub { font-size: 0.78em; color: var(--ncl-ink-dim); }

/* Verdict */
.ncl-verdict {
	text-align: center;
	font-size: 1.1em;
	font-style: italic;
	font-weight: 500;
	color: var(--ncl-ink);
	padding: 1em;
	background: var(--ncl-bg-2);
	border-radius: var(--ncl-radius);
	margin: 0 0 1em;
}
.ncl-rarity-note {
	font-size: 0.75em;
	color: var(--ncl-ink-dim);
	font-style: italic;
	margin: 0;
	text-align: center;
}

@media (max-width: 640px) {
	.ncl-rarity { padding: 1.25em; }
	.ncl-rarity-header { padding-right: 4em; }
	.ncl-gauges { grid-template-columns: 1fr; }
	.ncl-stat-cards { grid-template-columns: 1fr; }
}

/* ============================================================
 * BRAND LOGO IN MAIN LOOKUP HERO
 * ============================================================ */
.ncl-hero-main {
	display: flex;
	align-items: center;
	gap: 1em;
	flex-wrap: wrap;
}
.ncl-hero-logo {
	width: 56px;
	height: 56px;
	flex-shrink: 0;
	background: var(--ncl-bg-2);
	border: 1px solid var(--ncl-line);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.ncl-hero-logo img { max-width: 78%; max-height: 78%; object-fit: contain; }
.ncl-hero-logo.ncl-logo-fallback::before {
	content: attr(data-letter);
	font-size: 26px;
	font-weight: 800;
	color: var(--ncl-ink-mute);
}
.ncl-hero-main .ncl-hero-text { flex: 1; min-width: 180px; }

/* ============================================================
 * SHARE ROW (rarity card)
 * ============================================================ */
.ncl-share {
	margin: 0 0 1em;
	padding: 1em;
	background: var(--ncl-bg-2);
	border: 1px solid var(--ncl-line);
	border-radius: var(--ncl-radius);
	text-align: center;
}
.ncl-share-label {
	display: block;
	font-size: 0.85em;
	font-weight: 600;
	color: var(--ncl-ink-mute);
	margin-bottom: 0.6em;
}
.ncl-share-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	justify-content: center;
}
.ncl-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font: inherit;
	font-size: 0.85em;
	font-weight: 600;
	padding: 0.5em 0.9em;
	background: var(--ncl-bg);
	color: var(--ncl-ink);
	border: 1px solid var(--ncl-line);
	border-radius: 999px;
	cursor: pointer;
	transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.ncl-share-btn:hover {
	transform: translateY(-2px);
	border-color: var(--ncl-accent);
}
.ncl-share-btn svg { flex-shrink: 0; }
.ncl-share-btn[data-ncl-share-fb]:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.ncl-share-btn[data-ncl-share-x]:hover  { background: #000; color: #fff; border-color: #000; }
.ncl-share-btn[data-ncl-share-download]:hover,
.ncl-share-btn[data-ncl-share-copy]:hover { background: var(--ncl-accent); color: #fff; border-color: var(--ncl-accent); }

@media (max-width: 480px) {
	.ncl-share-btn span { display: none; }
	.ncl-share-btn { padding: 0.6em; }
}

/* ============================================================
 * MULTI-SCORE DASHBOARD ADDITIONS
 * ============================================================ */
/* Strength banner — leads with what THIS car is best at */
.ncl-strength {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2em;
	padding: 1em;
	border-radius: var(--ncl-radius);
	margin-bottom: 1.5em;
	color: #fff;
	text-align: center;
}
.ncl-strength-tag {
	font-size: 0.7em;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-weight: 600;
	opacity: 0.85;
}
.ncl-strength-label { font-size: 1.5em; font-weight: 800; letter-spacing: -0.01em; }
.ncl-strength-rarity { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.ncl-strength-value  { background: linear-gradient(135deg, #0891b2, #0e7490); }
.ncl-strength-eco    { background: linear-gradient(135deg, #16a34a, #15803d); }
.ncl-strength-perf   { background: linear-gradient(135deg, #dc2626, #b91c1c); }

/* Four-gauge grid */
.ncl-gauges-4 {
	grid-template-columns: repeat(4, 1fr);
}
.ncl-gauge-value .ncl-gauge-fill { stroke: #0891b2; }
.ncl-gauge-eco .ncl-gauge-fill   { stroke: #16a34a; }

@media (max-width: 720px) {
	.ncl-gauges-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 380px) {
	.ncl-gauges-4 { grid-template-columns: 1fr; }
}

/* Personality card */
.ncl-personality {
	background: var(--ncl-bg-2);
	border: 1px solid var(--ncl-line);
	border-radius: var(--ncl-radius);
	padding: 1.2em;
	margin-bottom: 1.5em;
	text-align: center;
}
.ncl-personality-tag {
	font-size: 0.72em;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-weight: 600;
	color: var(--ncl-ink-mute);
}
.ncl-personality-name {
	font-size: 1.5em;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0.2em 0 0.3em;
	color: var(--ncl-accent);
}
.ncl-personality-blurb {
	margin: 0;
	color: var(--ncl-ink-mute);
	font-size: 0.95em;
	font-style: italic;
}

/* Running cost */
.ncl-cost {
	background: var(--ncl-bg-2);
	border: 1px solid var(--ncl-line);
	border-radius: var(--ncl-radius);
	padding: 1.2em;
	margin-bottom: 1.5em;
}
.ncl-cost-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 1em;
	flex-wrap: wrap;
	gap: 0.3em;
}
.ncl-cost-title { font-weight: 600; font-size: 0.95em; }
.ncl-cost-total { font-size: 1.5em; font-weight: 800; letter-spacing: -0.02em; }
.ncl-cost-total small { font-size: 0.5em; font-weight: 500; color: var(--ncl-ink-mute); margin-left: 0.2em; }
.ncl-cost-row {
	display: grid;
	grid-template-columns: 7em 1fr 5em;
	align-items: center;
	gap: 0.6em;
	margin-bottom: 0.5em;
	font-size: 0.85em;
}
.ncl-cost-label { color: var(--ncl-ink-mute); }
.ncl-cost-track {
	height: 8px;
	background: var(--ncl-bg-3);
	border-radius: 999px;
	overflow: hidden;
}
.ncl-cost-fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	transition: width 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ncl-cost-fuel  { background: #f59e0b; }
.ncl-cost-ins   { background: #0891b2; }
.ncl-cost-other { background: #8b5cf6; }
.ncl-cost-val { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.ncl-cost-note {
	margin: 0.8em 0 0;
	font-size: 0.75em;
	font-style: italic;
	color: var(--ncl-ink-dim);
}

@media (max-width: 420px) {
	.ncl-cost-row { grid-template-columns: 5.5em 1fr 4.5em; font-size: 0.78em; }
}
