/* Nuratech products page */

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

.ntp-hero { padding: clamp(56px, 7vw, 104px) 0 clamp(32px, 3.5vw, 48px); background: radial-gradient(ellipse 30% 90% at 82% 0%, rgba(var(--nt-glow), .20), rgba(15,14,13,0) 75%), var(--nt-bg); }
.ntp-crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--nt-faint); margin-bottom: 18px; }
.ntp-crumbs a { color: var(--nt-muted); }
.ntp-hero__title { font-family: var(--nt-serif); font-weight: 300; font-size: clamp(42px, 5.6vw, 80px); line-height: 1.05; letter-spacing: -0.01em; }
.ntp-hero__text { margin-top: 18px !important; font-size: clamp(16px, 1.3vw, 18px); color: var(--nt-text-2); max-width: 620px; }

.ntp-search { position: relative; margin-top: clamp(28px, 3vw, 40px); max-width: 760px; }
.ntp-search__icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--nt-muted); pointer-events: none; }
.nt-page .ntp-search input {
	width: 100%; box-sizing: border-box; height: 60px; padding: 0 20px 0 54px; margin: 0;
	background: var(--nt-panel); color: var(--nt-text); border: 1px solid #3A3733; border-radius: 30px;
	font-family: var(--nt-sans); font-size: 17px; -webkit-appearance: none; appearance: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.nt-page .ntp-search input::placeholder { color: #7A746B; }
.nt-page .ntp-search input:focus { outline: none; border-color: var(--nt-accent); box-shadow: 0 0 0 3px rgba(var(--nt-glow), .18); }

.ntp-body { padding: 8px 0 var(--nt-section); }
.ntp-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; }

/* Filters */
.ntp-filters { position: sticky; top: 24px; max-height: calc(100vh - 48px); display: flex; flex-direction: column; }
.ntp-filters__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--nt-line-2); }
.ntp-filters__head h2 { font-size: 13px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--nt-accent); }
.ntp-filters__scroll { overflow-y: auto; overscroll-behavior: contain; padding-right: 6px; scrollbar-width: thin; scrollbar-color: #3A3733 transparent; }
.ntp-filters__close, .ntp-filters__foot { display: none; }
.ntp-link-btn { background: none; border: 0; padding: 4px 0; color: var(--nt-muted); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ntp-link-btn:hover { color: var(--nt-accent); }

.ntp-group { border-bottom: 1px solid var(--nt-line-2); padding: 4px 0; }
.ntp-group summary {
	list-style: none; cursor: pointer; padding: 14px 0; font-size: 15px; font-weight: 500;
	display: flex; justify-content: space-between; align-items: center;
}
.ntp-group summary::-webkit-details-marker { display: none; }
.ntp-group summary::after { content: ""; width: 9px; height: 9px; border-right: 1.5px solid var(--nt-muted); border-bottom: 1.5px solid var(--nt-muted); transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
.ntp-group[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.ntp-unit { color: var(--nt-faint); font-weight: 400; font-size: 13px; margin: 0 auto 0 6px; }

.ntp-checks { padding: 0 0 12px; }
.ntp-checks li { margin: 0; }
.ntp-checks label { display: flex; align-items: center; gap: 12px; padding: 7px 0; cursor: pointer; font-size: 15px; color: var(--nt-text-2); min-height: 32px; }
.ntp-checks input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ntp-checks__box { width: 18px; height: 18px; flex-shrink: 0; border: 1px solid var(--nt-line-3); border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; transition: background-color .15s ease, border-color .15s ease; }
.ntp-checks input:checked + .ntp-checks__box { background: var(--nt-accent); border-color: var(--nt-accent); }
.ntp-checks input:checked + .ntp-checks__box::after { content: ""; width: 5px; height: 9px; border-right: 2px solid var(--nt-ink); border-bottom: 2px solid var(--nt-ink); transform: rotate(45deg) translate(-1px, -1px); }
.ntp-checks input:focus-visible + .ntp-checks__box { outline: 2px solid var(--nt-accent); outline-offset: 2px; }
.ntp-checks input:checked ~ .ntp-checks__label { color: var(--nt-text); }
.ntp-checks label:hover .ntp-checks__box { border-color: var(--nt-text-2); }
.ntp-checks__label { flex-grow: 1; }
.ntp-checks__count { font-size: 13px; color: var(--nt-faint); font-variant-numeric: tabular-nums; }
.ntp-checks li.is-zero label { opacity: .4; }

/* Range */
.ntp-range { padding: 6px 2px 18px; }
.ntp-range__track { position: relative; height: 28px; }
.ntp-range__track::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: #3A3733; border-radius: 1px; }
.ntp-range__fill { position: absolute; top: 13px; height: 2px; background: var(--nt-accent); left: 0; right: 0; }
.ntp-range input[type=range] { position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; height: 28px; }
.ntp-range input[type=range]::-webkit-slider-runnable-track { background: none; height: 28px; }
.ntp-range input[type=range]::-moz-range-track { background: none; }
.ntp-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: var(--nt-text); border: 2px solid var(--nt-bg); box-shadow: 0 0 0 1px var(--nt-line-3); cursor: grab; }
.ntp-range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--nt-text); border: 2px solid var(--nt-bg); box-shadow: 0 0 0 1px var(--nt-line-3); cursor: grab; }
.ntp-range input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(var(--nt-glow), .5); }
.ntp-range__inputs { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--nt-faint); }
.ntp-range__inputs label { flex: 1; }
.nt-page .ntp-range__inputs input { width: 100%; box-sizing: border-box; height: 40px; padding: 0 10px; background: var(--nt-bg); color: var(--nt-text); border: 1px solid #3A3733; border-radius: 4px; font: inherit; font-size: 14px; -moz-appearance: textfield; }
.nt-page .ntp-range__inputs input:focus { outline: none; border-color: var(--nt-accent); }

/* Toolbar */
.ntp-toolbar { display: flex; align-items: center; gap: 16px; min-height: 48px; margin-bottom: 16px; }
.ntp-count { flex-grow: 1; color: var(--nt-muted); font-size: 15px; }
.ntp-count span { color: var(--nt-text); font-weight: 500; }
.ntp-sort { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--nt-muted); }
.nt-page .ntp-sort select {
	height: 44px; padding: 0 40px 0 14px; background: var(--nt-panel); color: var(--nt-text); border: 1px solid #3A3733; border-radius: 22px; font: inherit; font-size: 14px; cursor: pointer; -webkit-appearance: none; appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23A39D93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center;
}
.ntp-filter-btn { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid var(--nt-line-3); background: transparent; color: var(--nt-text); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.ntp-filter-btn__n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--nt-accent); color: var(--nt-ink); font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.ntp-filter-btn__n[hidden] { display: none; }

.ntp-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; }
.ntp-chips[hidden] { display: none; }
.ntp-chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 14px; border-radius: 17px; border: 1px solid #3A3733; background: var(--nt-panel); color: var(--nt-text); font: inherit; font-size: 13px; cursor: pointer; }
.ntp-chip span[aria-hidden] { color: var(--nt-muted); font-size: 16px; line-height: 1; }
.ntp-chip:hover { border-color: var(--nt-accent); }

/* Grid */
.ntp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.ntp-grid[hidden] { display: none; }
.ntp-card a { display: flex; flex-direction: column; gap: 16px; color: inherit; }
.ntp-card__media {
	position: relative; aspect-ratio: 1 / 1; border-radius: 4px; overflow: hidden; border: 1px solid #2A2825;
	background: radial-gradient(ellipse 55% 60% at 50% 50%, rgba(var(--nt-glow), .07), rgba(28,27,23,0) 70%), #1C1B17;
	display: flex; align-items: center; justify-content: center; transition: border-color .25s ease;
}
.ntp-card__media img { width: 86%; height: 86% !important; object-fit: contain; transition: transform .5s ease; }
.ntp-card a:hover .ntp-card__media { border-color: var(--nt-line-3); }
.ntp-card a:hover .ntp-card__media img { transform: scale(1.04); }
.ntp-card__body { display: flex; flex-direction: column; gap: 4px; }
.ntp-card__cat { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--nt-accent); }
.ntp-card__model { font-size: 20px; font-weight: 500; line-height: 1.3; }
.ntp-card a:hover .ntp-card__model { color: var(--nt-accent); }
.ntp-card__meta { font-size: 14px; color: var(--nt-muted); }

.ntp-empty { border: 1px dashed var(--nt-line-3); border-radius: 4px; padding: 56px 32px; text-align: center; }
.ntp-empty h2 { font-size: 22px; font-weight: 500; }
.ntp-empty p { color: var(--nt-muted); margin: 10px 0 24px !important; }
.ntp-scrim[hidden] { display: none; }

@media (max-width: 1279px) {
	.ntp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Drawer on tablet/phone */
@media (max-width: 1023px) {
	.ntp-layout { grid-template-columns: minmax(0, 1fr); }
	.ntp-filter-btn { display: inline-flex; }
	.ntp-filters {
		position: fixed; top: 0; bottom: 0; left: 0; z-index: 1000; width: min(380px, 92vw); max-height: none;
		background: var(--nt-bg); border-right: 1px solid var(--nt-line); padding: 20px 20px 0;
		transform: translateX(-102%); transition: transform .3s ease; visibility: hidden;
	}
	.ntp-filters.is-open { transform: none; visibility: visible; }
	.ntp-filters__close { display: inline-flex; background: none; border: 0; color: var(--nt-text); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; margin-right: -10px; }
	.ntp-filters__head h2 { flex-grow: 1; }
	.ntp-filters__scroll { flex-grow: 1; }
	.ntp-filters__foot { display: block; padding: 16px 0 20px; border-top: 1px solid var(--nt-line-2); }
	.ntp-filters__foot .nt-btn { width: 100%; border: 0; cursor: pointer; }
	.ntp-scrim { position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,.6); }
	html.ntp-lock, html.ntp-lock body { overflow: hidden; }
}

@media (max-width: 639px) {
	.ntp-toolbar { flex-wrap: wrap; gap: 10px; }
	.ntp-count { order: 3; flex-basis: 100%; }
	.ntp-sort span { display: none; }
	.ntp-sort { margin-left: auto; }
	.ntp-grid { gap: 24px 14px; }
	.ntp-card__model { font-size: 16px; }
	.ntp-card__meta { font-size: 13px; }
	.ntp-card__cat { font-size: 10px; letter-spacing: 1.2px; }
	.nt-page .ntp-search input { height: 54px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.ntp-filters { transition: none; }
}
