/* Nuratech single product page (loads after products.css for the shared card grid) */

.ntp-single__crumbs { padding-top: 28px; padding-bottom: 0; margin: 0 auto; }
.ntp-top { padding: 32px 0 clamp(72px, 8vw, 120px); }
.ntp-top__grid { align-items: start; row-gap: 40px; }

/* Gallery */
.ntp-gallery { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: 16px; }
.ntp-gallery__stage {
	aspect-ratio: 1 / 1; max-height: 680px; width: 100%; border-radius: 4px; overflow: hidden;
	background: radial-gradient(ellipse 50% 45% at 50% 55%, rgba(var(--nt-glow), .10), rgba(28,27,23,0) 70%), #1C1B17;
	display: flex; align-items: center; justify-content: center;
}
.ntp-gallery__stage img { width: 92%; height: 92% !important; object-fit: contain; }
.ntp-gallery__none { width: 170px; height: 170px; border-radius: 50%; border: 14px solid #D9D4CB; display: flex; align-items: center; justify-content: center; background: var(--nt-bg); }
.ntp-gallery__none span { width: 64px; height: 64px; border-radius: 50%; background: var(--nt-accent); box-shadow: 0 0 60px 14px rgba(var(--nt-glow), .35); }
.ntp-gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; }
.ntp-gallery__thumbs button { width: 100%; aspect-ratio: 1 / 1; padding: 0; border-radius: 4px; overflow: hidden; background: #1C1B17; border: 1px solid #2A2825; cursor: pointer; }
.ntp-gallery__thumbs button.is-active { border-color: var(--nt-accent); }
.ntp-gallery__thumbs img { width: 100%; height: 100% !important; object-fit: cover; }

/* Info */
.ntp-info { grid-column: 9 / span 4; padding-top: 16px; }
.ntp-info .nt-eyebrow { margin-bottom: 18px !important; }
.ntp-info__title { font-family: var(--nt-serif); font-weight: 300; font-size: clamp(48px, 5.3vw, 76px); line-height: 1; letter-spacing: -0.01em; word-break: break-word; }
.ntp-info__sub { margin-top: 12px !important; font-size: 16px; color: var(--nt-muted); }
.ntp-info__desc { margin-top: 18px !important; font-size: 17px; line-height: 1.6; color: var(--nt-text-2); }
.ntp-figures { margin-top: 32px !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--nt-line-2); column-gap: 20px; }
.ntp-figures > div { padding: 16px 0; border-bottom: 1px solid var(--nt-line-2); }
.ntp-figures dt { font-size: 13px; color: var(--nt-muted); }
.ntp-figures dd { margin-top: 4px; font-size: clamp(19px, 1.6vw, 23px); font-weight: 500; }
.ntp-figures > div.is-wide { grid-column: 1 / -1; }
.ntp-figures__sub { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--nt-muted); }
.ntp-specs-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--nt-text); border-bottom: 1px solid var(--nt-line-3); align-self: flex-start; }
.ntp-specs-link:hover { border-color: var(--nt-accent); }
.ntp-specs { scroll-margin-top: 24px; }
.ntp-specs:focus { outline: none; }
.ntp-cct { margin-top: 26px; }
.ntp-cct__label { font-size: 13px; color: var(--nt-muted); margin-bottom: 12px !important; }
.ntp-cct ul { display: flex; flex-wrap: wrap; gap: 10px; }
.ntp-cct li { height: 40px; padding: 0 16px 0 10px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid #3A3733; border-radius: 20px; font-size: 14px; font-weight: 500; }
.ntp-cct__dot { width: 18px; height: 18px; border-radius: 50%; }
.ntp-actions { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.ntp-actions__main { min-height: 56px; white-space: normal; text-align: center; }
.ntp-actions__files { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.ntp-actions__wa { align-self: center; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 15px; font-weight: 500; color: var(--nt-text-2); min-height: 44px; }

/* Beams */
.ntp-beams { padding: clamp(72px, 8vw, 120px) 0; background: var(--nt-panel); border-top: 1px solid var(--nt-line); border-bottom: 1px solid var(--nt-line); }
.ntp-beams__hint { max-width: 360px; color: var(--nt-muted); font-size: 16px; }
.ntp-beams__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: stretch; }
.ntp-beams__stages { min-width: 0; }
.ntp-beams__stage { position: relative; margin: 0; border-radius: 4px; overflow: hidden; background: #1C1B17; aspect-ratio: 4 / 3; height: 100%; }
.ntp-beams__stage[hidden] { display: none; }
.ntp-beams__stage img, .ntp-beams__stage .ntp-beam-svg { display: block; width: 100%; height: 100% !important; object-fit: cover; }
.ntp-beams__stage figcaption { position: absolute; left: 28px; bottom: 20px; font-family: var(--nt-serif); font-weight: 300; font-size: clamp(44px, 5vw, 72px); line-height: 1; text-shadow: 0 2px 24px rgba(0,0,0,.4); }
.ntp-beams__list { display: flex; flex-direction: column; gap: 12px; }
.ntp-beam { display: flex; align-items: center; gap: 18px; padding: 12px; border-radius: 4px; border: 1px solid #2A2825; background: transparent; color: var(--nt-text); font: inherit; text-align: left; cursor: pointer; flex: 1 1 0; min-height: 72px; transition: border-color .2s ease, background-color .2s ease; }
.ntp-beam__thumb { width: 112px; height: 84px; flex-shrink: 0; border-radius: 2px; overflow: hidden; display: block; background: #1C1B17; }
.ntp-beam__thumb img, .ntp-beam__thumb .ntp-beam-svg { width: 100%; height: 100% !important; object-fit: cover; display: block; }
.ntp-beam > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.ntp-beam__label { font-size: 22px; font-weight: 500; }
.ntp-beam__note { font-size: 14px; color: var(--nt-muted); }
.ntp-beam:hover { border-color: var(--nt-line-3); }
.ntp-beam.is-active { border-color: var(--nt-accent); background: #1F1D1A; }
/* 5–6 beams: compact rows */
.ntp-beams--n5 .ntp-beam, .ntp-beams--n6 .ntp-beam { padding: 8px 12px; gap: 14px; min-height: 0; }
.ntp-beams--n5 .ntp-beam__thumb, .ntp-beams--n6 .ntp-beam__thumb { width: 80px; height: 60px; }
.ntp-beams--n5 .ntp-beam__label, .ntp-beams--n6 .ntp-beam__label { font-size: 19px; }
.ntp-beams--n5 .ntp-beam__note, .ntp-beams--n6 .ntp-beam__note { font-size: 13px; }
/* One beam: a single wide panel */
.ntp-beams--single .ntp-beams__grid { grid-template-columns: minmax(0, 1fr); }
.ntp-beams--single .ntp-beams__stage { aspect-ratio: 21 / 9; }

/* Specs */
.ntp-specs { padding: clamp(80px, 9vw, 140px) 0 clamp(64px, 7vw, 100px); }
.ntp-specs .nt-grid { row-gap: 40px; }
.ntp-specs__intro { grid-column: 1 / span 4; }
.ntp-downloads { margin-top: 28px !important; display: flex; flex-direction: column; gap: 4px; }
.ntp-downloads a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 500; }
.ntp-specs__tables { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: 44px; }
.ntp-spec-group h3 { font-size: 13px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: var(--nt-faint); padding-bottom: 14px; border-bottom: 1px solid #3A3733; }
.ntp-spec-group dl > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--nt-line-2); font-size: 16px; }
.ntp-spec-group dt { color: var(--nt-muted); }
.ntp-spec-group dd { font-weight: 500; }

/* Dimensions + controls */
.ntp-extra { padding: 0 0 clamp(80px, 9vw, 140px); }
.ntp-extra__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.ntp-panel { border: 1px solid #2A2825; border-radius: 4px; padding: clamp(24px, 2.8vw, 40px); background: var(--nt-panel); }
.ntp-panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.ntp-panel__head h3 { font-size: 22px; font-weight: 500; }
.ntp-panel__head span { font-size: 13px; color: var(--nt-faint); }
.ntp-dims { width: 100%; height: auto; max-height: 320px; }
.ntp-controls { width: 100%; border-collapse: collapse; font-size: 15px; }
.ntp-controls th, .ntp-controls td { padding: 13px 0; border-bottom: 1px solid var(--nt-line-2); text-align: center; }
.ntp-controls thead th { font-size: 13px; font-weight: 400; color: var(--nt-faint); border-bottom-color: #3A3733; }
.ntp-controls th:first-child { text-align: left; }
.ntp-controls tbody th { font-weight: 500; }
.ntp-controls td { color: var(--nt-line-3); }
.ntp-controls td.is-yes { color: var(--nt-accent); }

.ntp-drawing { position: relative; display: flex; align-items: center; justify-content: center; background: #FFFFFF; border-radius: 4px; padding: clamp(16px, 2vw, 28px); min-height: 280px; }
.ntp-drawing img { max-width: 100%; max-height: 460px; width: auto; height: auto !important; object-fit: contain; }
.ntp-drawing__zoom { position: absolute; right: 12px; bottom: 10px; font-size: 12px; color: #4D4841; background: rgba(244,241,236,.9); padding: 4px 8px; border-radius: 3px; opacity: 0; transition: opacity .2s ease; }
.ntp-drawing:hover .ntp-drawing__zoom, .ntp-drawing:focus-visible .ntp-drawing__zoom { opacity: 1; }

/* Related */
.ntp-related { padding: 0 0 clamp(80px, 9vw, 140px); }
.ntp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* CTA */
.ntp-cta { background: var(--nt-text); color: var(--nt-ink); padding: clamp(64px, 8vw, 120px) 0; }
.ntp-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.ntp-cta__title { font-family: var(--nt-serif); font-weight: 300; font-size: clamp(36px, 3.9vw, 56px); line-height: 1.08; color: var(--nt-ink); }
.ntp-cta p { margin-top: 14px !important; font-size: 18px; color: var(--nt-ink-2); max-width: 560px; }
.ntp-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.nt-page .ntp-btn-dark { background: var(--nt-ink); color: var(--nt-text); }
.nt-page .ntp-btn-dark:hover { background: #2A2825; color: var(--nt-text); }
.nt-page .ntp-btn-outline-dark { border: 1px solid var(--nt-ink); color: var(--nt-ink); }
.nt-page .ntp-btn-outline-dark:hover { background: rgba(15,14,13,.06); color: var(--nt-ink); }
.nt-page .ntp-cta :focus-visible { outline-color: var(--nt-ink); }

@media (max-width: 1023px) {
	.ntp-gallery, .ntp-info, .ntp-specs__intro, .ntp-specs__tables { grid-column: 1 / -1; }
	.ntp-gallery__stage { max-height: 560px; }
	.ntp-info { padding-top: 0; }
	.ntp-beams__grid { grid-template-columns: 1fr; }
	.ntp-beams__stage { height: auto; }
	.ntp-beams__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); flex-direction: row; }
	.ntp-beam, .ntp-beams--n5 .ntp-beam, .ntp-beams--n6 .ntp-beam { flex-direction: column; align-items: flex-start; gap: 10px; padding: 8px; }
	.ntp-beam__thumb, .ntp-beams--n5 .ntp-beam__thumb, .ntp-beams--n6 .ntp-beam__thumb { width: 100%; height: auto; aspect-ratio: 4 / 3; }
	.ntp-beam__note { display: none; }
	.ntp-beams--single .ntp-beams__stage { aspect-ratio: 16 / 9; }
	.ntp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
	.ntp-single__crumbs { font-size: 13px; }
	.ntp-top { padding-top: 16px; }
	.ntp-beams__list { grid-template-columns: repeat(auto-fit, minmax(56px, 1fr)); gap: 8px; }
	.ntp-beam, .ntp-beams--n5 .ntp-beam, .ntp-beams--n6 .ntp-beam { padding: 6px; min-height: 44px; align-items: center; justify-content: center; border-radius: 22px; }
	.ntp-beam__thumb, .ntp-beams--n5 .ntp-beam__thumb, .ntp-beams--n6 .ntp-beam__thumb { display: none; }
	.ntp-beam__label, .ntp-beams--n5 .ntp-beam__label, .ntp-beams--n6 .ntp-beam__label { font-size: 16px; }
	.ntp-beams--single .ntp-beams__stage { aspect-ratio: 4 / 3; }
	.ntp-spec-group dl > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); font-size: 15px; }
	.ntp-cta__actions, .ntp-cta__actions .nt-btn { width: 100%; }
}
