
:root {
    --nh-bg: #090a0f;
    --nh-panel: #11131b;
    --nh-panel-2: #171a24;
    --nh-border: #292e3d;
    --nh-text: #f4f6fb;
    --nh-muted: #a9b0c1;
    --nh-purple: #9b63ff;
    --nh-cyan: #42d9ff;
    --nh-max: 1240px;
    --nh-radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--nh-bg);
    color: var(--nh-text);
    font-family:
        Montserrat,
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

.shell {
    width: min(calc(100% - 40px), var(--nh-max));
    margin-inline: auto;
}

.narrow {
    max-width: 820px;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    transform: translateY(-160%);
    padding: 10px 14px;
    background: white;
    color: black;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(9, 10, 15, 0.9);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand img {
    display: block;
    width: 190px;
    max-height: 52px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    font-weight: 700;
}

.main-nav a {
    text-decoration: none;
    color: #d7dbe7;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: white;
}

.nav-cta {
    padding: 11px 16px;
    border: 1px solid rgba(155, 99, 255, 0.75);
    border-radius: 999px;
    box-shadow: 0 0 30px rgba(155, 99, 255, 0.14);
}

.hero {
    position: relative;
    min-height: 720px;
    display: grid;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--nh-border);
}

.hero-image {
    position: absolute;
    inset: 0;
    background:
        url("../backgrounds/hero-stage.9e66c91290fd.jpg")
        center 35% / cover no-repeat;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(6, 7, 12, 0.97) 0%,
            rgba(6, 7, 12, 0.9) 38%,
            rgba(6, 7, 12, 0.45) 69%,
            rgba(6, 7, 12, 0.72) 100%
        ),
        linear-gradient(
            0deg,
            rgba(9, 10, 15, 1) 0%,
            rgba(9, 10, 15, 0) 45%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-block: 96px;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--nh-cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    margin: 0;
    max-width: 880px;
    font-size: clamp(48px, 7.2vw, 96px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero h1 span {
    display: block;
    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #b883ff 52%,
            #42d9ff 100%
        );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy {
    max-width: 690px;
    margin: 26px 0 0;
    color: #c1c7d4;
    font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
}

.button-primary {
    background:
        linear-gradient(
            100deg,
            var(--nh-purple),
            #7357ff 50%,
            var(--nh-cyan)
        );
    color: white;
    box-shadow: 0 12px 45px rgba(120, 75, 255, 0.28);
}

.button-secondary {
    border: 1px solid #3b4153;
    background: rgba(15, 17, 25, 0.75);
}

.hero-proof {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 56px;
    color: #bec4d2;
    font-size: 13px;
    font-weight: 700;
}

.hero-proof span::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 9px;
    border-radius: 50%;
    background: var(--nh-cyan);
    box-shadow: 0 0 18px var(--nh-cyan);
}

.section {
    padding: 100px 0;
}

.section-heading {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 70px;
    align-items: end;
    margin-bottom: 44px;
}

.section-heading h2,
.split-copy h2 {
    margin: 0;
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.section-heading p,
.split-copy p,
.page-hero p {
    color: var(--nh-muted);
    font-size: 18px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    min-height: 290px;
    padding: 28px;
    border: 1px solid var(--nh-border);
    border-radius: var(--nh-radius);
    background:
        linear-gradient(
            160deg,
            rgba(155, 99, 255, 0.08),
            transparent 45%
        ),
        var(--nh-panel);
}

.feature-number {
    color: var(--nh-purple);
    font-weight: 900;
}

.feature-card h3 {
    margin: 72px 0 8px;
    font-size: 25px;
}

.feature-card p {
    margin: 0;
    color: var(--nh-muted);
}

.split-section {
    padding: 30px 0 110px;
}

.split-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    overflow: hidden;
    border: 1px solid var(--nh-border);
    border-radius: 24px;
    background: var(--nh-panel);
}

.split-image img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    display: block;
    object-fit: cover;
}

.split-copy {
    padding: clamp(36px, 6vw, 80px);
    align-self: center;
}

.text-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--nh-cyan);
    text-decoration: none;
    font-weight: 800;
}

.page-hero {
    padding: 110px 0 70px;
    border-bottom: 1px solid var(--nh-border);
    background:
        radial-gradient(
            circle at 78% 10%,
            rgba(66, 217, 255, 0.09),
            transparent 28%
        ),
        radial-gradient(
            circle at 22% 0%,
            rgba(155, 99, 255, 0.13),
            transparent 35%
        );
}

.page-hero.compact h1 {
    max-width: 950px;
    font-size: clamp(46px, 6vw, 76px);
}

.page-hero p {
    max-width: 760px;
    margin: 22px 0 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.product-card {
    overflow: hidden;
    border: 1px solid var(--nh-border);
    border-radius: var(--nh-radius);
    background: var(--nh-panel);
}

.product-media {
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(155, 99, 255, 0.1),
            transparent 42%
        ),
        #0b0d13;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
}

.product-placeholder {
    color: #697083;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-body {
    padding: 22px;
}

.product-meta,
.product-model {
    color: var(--nh-muted);
}

.product-meta {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-body h2 {
    margin: 7px 0;
    font-size: 22px;
}

.product-model {
    margin: 0;
}

.price {
    margin-top: 24px;
    font-size: 23px;
    font-weight: 900;
}

.price span {
    color: var(--nh-muted);
    font-size: 13px;
    font-weight: 600;
}

.muted-price {
    color: var(--nh-muted);
    font-size: 15px;
}

.empty-state {
    padding: 70px 30px;
    text-align: center;
    border: 1px dashed #353a49;
    border-radius: 18px;
    background: var(--nh-panel);
}

.empty-state h2 {
    margin: 6px 0;
    font-size: 34px;
}

.empty-state p {
    max-width: 680px;
    margin: 10px auto 0;
    color: var(--nh-muted);
}

.stage-preview {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--nh-border);
    border-radius: 22px;
    background: #050609;
}

.stage-preview img {
    display: block;
    width: 100%;
    max-height: 720px;
    object-fit: contain;
}

.stage-preview-label {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(8, 9, 14, 0.86);
    backdrop-filter: blur(16px);
}

.stage-preview-label span,
.stage-preview-label strong {
    display: block;
}

.stage-preview-label span {
    color: var(--nh-cyan);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.stage-preview-label strong {
    margin-top: 3px;
    font-size: 19px;
}

.site-footer {
    padding: 62px 0;
    border-top: 1px solid var(--nh-border);
    background: #07080c;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-logo {
    width: 170px;
    margin-bottom: 16px;
}

.site-footer p,
.site-footer span,
.site-footer a {
    color: var(--nh-muted);
}

.site-footer a,
.site-footer span {
    display: block;
    margin: 8px 0;
    text-decoration: none;
}

.site-footer h2 {
    margin: 0 0 12px;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding-block: 18px;
    }

    .main-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .hero {
        min-height: 650px;
    }

    .section-heading,
    .split-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-heading {
        gap: 12px;
    }
}

@media (max-width: 620px) {
    .shell {
        width: min(calc(100% - 26px), var(--nh-max));
    }

    .brand img {
        width: 165px;
    }

    .main-nav {
        gap: 18px;
        font-size: 13px;
    }

    .nav-cta {
        display: none;
    }

    .hero {
        min-height: 620px;
    }

    .hero-content {
        padding-block: 68px;
    }

    .hero h1 {
        font-size: clamp(46px, 16vw, 66px);
    }

    .hero-proof {
        gap: 13px;
        flex-direction: column;
        margin-top: 36px;
    }

    .section {
        padding: 70px 0;
    }

    .feature-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 230px;
    }

    .feature-card h3 {
        margin-top: 42px;
    }

    .page-hero {
        padding: 80px 0 50px;
    }

    .stage-preview-label {
        position: static;
        border: 0;
        border-top: 1px solid var(--nh-border);
        border-radius: 0;
    }
}


/* Catalogue v001 */
.dev-banner,
.draft-banner {
    margin-bottom: 28px;
    padding: 14px 16px;
    border: 1px solid rgba(155, 99, 255, 0.4);
    border-radius: 10px;
    background: rgba(155, 99, 255, 0.08);
    color: #cfd5e3;
    font-size: 13px;
}

.dev-banner strong {
    color: #c79fff;
    margin-right: 8px;
}

.product-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.product-card {
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(155, 99, 255, 0.55);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.product-placeholder {
    display: grid;
    gap: 8px;
    place-items: center;
    text-align: center;
}

.product-placeholder strong {
    color: #8d94a8;
    font-size: 20px;
    letter-spacing: 0;
    text-transform: none;
}

.product-topline,
.stock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.draft-badge {
    padding: 3px 7px;
    border: 1px solid rgba(155, 99, 255, 0.5);
    border-radius: 999px;
    color: #c79fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stock-row {
    align-items: flex-start;
    margin-top: 20px;
    color: var(--nh-muted);
    font-size: 12px;
}

.stock-good {
    color: #69e6b0;
}

.stock-hold {
    color: #ff9b9b;
}

.product-detail-section {
    padding: 70px 0 110px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 58px;
    align-items: start;
}

.detail-media {
    min-height: 560px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--nh-border);
    border-radius: 22px;
    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(155, 99, 255, 0.11),
            transparent 38%
        ),
        #0b0d13;
}

.detail-media img {
    width: 100%;
    height: 100%;
    max-height: 680px;
    object-fit: contain;
    padding: 38px;
}

.detail-placeholder {
    display: grid;
    gap: 12px;
    place-items: center;
    padding: 30px;
    color: #6d7486;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    font-weight: 800;
}

.detail-placeholder strong {
    color: #a0a7b9;
    font-size: clamp(36px, 7vw, 72px);
    letter-spacing: -0.04em;
    text-transform: none;
}

.detail-copy h1 {
    margin: 0;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.detail-model {
    margin: 16px 0 0;
    color: var(--nh-muted);
    font-size: 20px;
}

.detail-description {
    margin-top: 28px;
    color: #c4cad7;
}

.availability-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    overflow: hidden;
    margin-top: 34px;
    border: 1px solid var(--nh-border);
    border-radius: 12px;
    background: var(--nh-border);
}

.availability-panel > div {
    padding: 18px;
    background: var(--nh-panel);
}

.availability-panel span,
.availability-panel strong {
    display: block;
}

.availability-panel span {
    color: var(--nh-muted);
    font-size: 12px;
}

.availability-panel strong {
    margin-top: 4px;
    font-size: 28px;
}

.availability-note {
    color: #7f879a;
    font-size: 12px;
}

.detail-price {
    margin-top: 32px;
    font-size: 36px;
    font-weight: 900;
}

.detail-price span {
    color: var(--nh-muted);
    font-size: 14px;
    font-weight: 600;
}

.detail-price.request {
    font-size: 20px;
    color: var(--nh-muted);
}

.detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.button[disabled],
.button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.staff-details {
    margin-top: 34px;
    border-top: 1px solid var(--nh-border);
    padding-top: 20px;
    color: var(--nh-muted);
    font-size: 13px;
}

.staff-details summary {
    cursor: pointer;
    color: var(--nh-cyan);
    font-weight: 800;
}

.staff-asset-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 900px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-media {
        min-height: 430px;
    }
}

@media (max-width: 620px) {
    .availability-panel {
        grid-template-columns: 1fr;
    }

    .stock-row {
        flex-direction: column;
        gap: 5px;
    }

    .staff-asset-row {
        grid-template-columns: 1fr;
    }
}


/* Stage Builder UI v001 */
.stage-page-hero {
    padding-bottom: 46px;
}

.stage-builder-section {
    padding: 36px 0 100px;
}

.builder-shell {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.builder-palette,
.builder-main,
.equipment-list-panel {
    border: 1px solid var(--nh-border);
    border-radius: 16px;
    background: var(--nh-panel);
}

.builder-palette {
    position: sticky;
    top: 104px;
    max-height: calc(100vh - 124px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.builder-panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
}

.builder-panel-heading h2 {
    margin: 0;
    font-size: 20px;
}

.builder-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.builder-search {
    margin: 0 14px 12px;
    padding: 12px 13px;
    border: 1px solid #34394a;
    border-radius: 9px;
    outline: none;
    background: #0b0d13;
    color: white;
    font: inherit;
}

.builder-search:focus {
    border-color: var(--nh-cyan);
    box-shadow: 0 0 0 3px rgba(66, 217, 255, 0.08);
}

.builder-product-list {
    overflow-y: auto;
    padding: 0 10px 12px;
}

.builder-product-button {
    width: 100%;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 24px;
    gap: 10px;
    align-items: center;
    margin: 7px 0;
    padding: 9px;
    border: 1px solid #2b3040;
    border-radius: 10px;
    background: #0c0e15;
    color: white;
    cursor: pointer;
    text-align: left;
}

.builder-product-button:hover,
.builder-product-button:focus-visible {
    border-color: rgba(155, 99, 255, 0.65);
    background: #11141d;
}

.palette-media {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #161925;
}

.palette-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.palette-placeholder {
    color: #b9a3df;
    font-size: 14px;
    font-weight: 900;
}

.palette-copy {
    min-width: 0;
}

.palette-copy strong,
.palette-copy small {
    display: block;
}

.palette-copy strong {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.palette-copy small {
    margin-top: 2px;
    overflow: hidden;
    color: #7f879a;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.palette-add {
    color: var(--nh-cyan);
    font-size: 20px;
    font-weight: 800;
}

.builder-main {
    padding: 14px;
}

.builder-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.layout-name-wrap {
    min-width: 240px;
}

.layout-name-wrap label {
    display: block;
    margin-bottom: 5px;
    color: var(--nh-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.layout-name-wrap input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #34394a;
    border-radius: 8px;
    outline: none;
    background: #0b0d13;
    color: white;
    font: inherit;
}

.builder-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.save-status {
    margin-right: 3px;
    color: #7f879a;
    font-size: 11px;
}

.save-status[data-state="dirty"] {
    color: #f1c66f;
}

.save-status[data-state="error"] {
    color: #ff8f8f;
}

.button-danger {
    border: 1px solid rgba(255, 105, 105, 0.45);
    background: rgba(255, 105, 105, 0.08);
    color: #ffb0b0;
}

.stage-canvas {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid #363c4d;
    border-radius: 13px;
    background: #050609;
    touch-action: none;
    user-select: none;
}

.stage-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.78;
    pointer-events: none;
}

.stage-items {
    position: absolute;
    inset: 0;
}

.stage-product {
    position: absolute;
    width: 126px;
    height: 126px;
    cursor: grab;
    touch-action: none;
}

.stage-product:active {
    cursor: grabbing;
}

.stage-product-visual {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 112px;
    height: 92px;
    display: grid;
    place-items: center;
    transform-origin: center;
}

.stage-product-visual img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.5));
    pointer-events: none;
}

.stage-placeholder {
    width: 108px;
    min-height: 72px;
    display: grid;
    place-items: center;
    padding: 8px;
    border: 1px solid rgba(155, 99, 255, 0.7);
    border-radius: 8px;
    background:
        linear-gradient(
            145deg,
            rgba(155, 99, 255, 0.18),
            rgba(66, 217, 255, 0.07)
        ),
        rgba(8, 10, 16, 0.94);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.stage-placeholder strong {
    color: #c9afff;
    font-size: 20px;
}

.stage-placeholder span {
    max-width: 94px;
    overflow: hidden;
    color: #c6cbd7;
    font-size: 8px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stage-product-label {
    position: absolute;
    left: 50%;
    bottom: 1px;
    max-width: 124px;
    transform: translateX(-50%);
    padding: 3px 6px;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(4, 5, 8, 0.82);
    color: #e7eaf1;
    font-size: 8px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
}

.stage-product.is-active .stage-placeholder,
.stage-product.is-active .stage-product-visual img {
    outline: 2px solid var(--nh-cyan);
    outline-offset: 4px;
}

.equipment-list-panel {
    margin-top: 14px;
    overflow: hidden;
}

.equipment-total {
    color: var(--nh-muted);
    font-size: 11px;
}

.equipment-list {
    border-top: 1px solid var(--nh-border);
}

.equipment-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 15px;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.equipment-row:last-child {
    border-bottom: 0;
}

.equipment-row-name strong,
.equipment-row-name span {
    display: block;
}

.equipment-row-name strong {
    font-size: 13px;
}

.equipment-row-name span {
    margin-top: 2px;
    color: #7f879a;
    font-size: 10px;
}

.equipment-row-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

.equipment-row-controls button {
    min-width: 28px;
    min-height: 28px;
    border: 1px solid #34394a;
    border-radius: 6px;
    background: #0c0e15;
    color: #dbe0eb;
    cursor: pointer;
}

.equipment-row-controls button:hover {
    border-color: var(--nh-cyan);
}

.equipment-row-controls span {
    min-width: 25px;
    text-align: center;
    font-weight: 800;
}

.builder-empty {
    padding: 20px;
    color: #777f92;
    font-size: 12px;
    text-align: center;
}

.csrf-form {
    display: none;
}

@media (max-width: 1000px) {
    .builder-shell {
        grid-template-columns: 240px minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .builder-shell {
        grid-template-columns: 1fr;
    }

    .builder-palette {
        position: static;
        max-height: none;
    }

    .builder-product-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: 330px;
    }

    .builder-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .builder-toolbar-actions {
        justify-content: flex-end;
    }

    .layout-name-wrap {
        min-width: 0;
    }

    .stage-product {
        width: 92px;
        height: 92px;
    }

    .stage-product-visual {
        width: 80px;
        height: 64px;
    }

    .stage-placeholder {
        width: 76px;
        min-height: 54px;
    }

    .stage-placeholder strong {
        font-size: 15px;
    }

    .stage-placeholder span {
        max-width: 67px;
        font-size: 6px;
    }
}

@media (max-width: 500px) {
    .builder-product-list {
        grid-template-columns: 1fr;
    }

    .equipment-row {
        grid-template-columns: 1fr;
    }

    .equipment-row-controls {
        justify-content: flex-start;
    }
}

/* Stage Builder stock limits v001 */
.builder-product-button.is-unavailable {
    opacity: 0.45;
    cursor: not-allowed;
}

.builder-product-button.is-unavailable:hover {
    border-color: #2b3040;
    background: #0c0e15;
}

.equipment-row-controls button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: #34394a;
}

/* Hire-date availability UI v001 */
.hire-date-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto;
    gap: 18px;
    align-items: end;
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid var(--nh-border);
    border-radius: 14px;
    background:
        linear-gradient(
            130deg,
            rgba(155, 99, 255, 0.09),
            rgba(66, 217, 255, 0.04)
        ),
        var(--nh-panel);
}

.hire-date-copy strong,
.hire-date-copy span {
    display: block;
}

.hire-date-copy strong {
    font-size: 18px;
}

.hire-date-copy span {
    margin-top: 3px;
    color: var(--nh-muted);
    font-size: 12px;
}

.hire-date-form {
    display: flex;
    gap: 10px;
    align-items: end;
    flex-wrap: wrap;
}

.hire-date-form label span {
    display: block;
    margin-bottom: 4px;
    color: var(--nh-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hire-date-form input {
    min-height: 42px;
    padding: 0 10px;
    border: 1px solid #34394a;
    border-radius: 8px;
    background: #0b0d13;
    color: white;
    color-scheme: dark;
}

.date-button {
    min-height: 42px;
    padding-inline: 15px;
    border: 0;
    cursor: pointer;
}

.date-clear {
    min-height: 42px;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: #8f96a8;
    cursor: pointer;
    text-decoration: underline;
}

.site-messages {
    margin: -12px 0 24px;
}

.site-message {
    padding: 10px 12px;
    border: 1px solid var(--nh-border);
    border-radius: 8px;
    background: var(--nh-panel);
    color: #d9deea;
    font-size: 12px;
}

.site-message.success {
    border-color: rgba(105, 230, 176, 0.35);
}

.site-message.error {
    border-color: rgba(255, 143, 143, 0.45);
    color: #ffb3b3;
}

.date-required-panel {
    margin-bottom: 18px;
    padding: 24px;
    border: 1px solid rgba(241, 198, 111, 0.3);
    border-radius: 14px;
    background: rgba(241, 198, 111, 0.05);
}

.date-required-panel h2 {
    margin: 0;
    font-size: 24px;
}

.date-required-panel p {
    margin: 7px 0 0;
    color: var(--nh-muted);
}

.builder-disabled {
    opacity: 0.55;
}

.builder-disabled .stage-canvas {
    pointer-events: none;
}

.catalogue-section {
    padding-top: 34px;
}

@media (max-width: 900px) {
    .hire-date-bar {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
}

@media (max-width: 620px) {
    .hire-date-form {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hire-date-form input {
        width: 100%;
    }
}


/* NOW HIRE — Product image gallery */

.product-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.product-thumbnail {
    width: 84px;
    height: 84px;
    padding: 5px;
    border: 1px solid #383842;
    border-radius: 8px;
    background: #202026;
    cursor: pointer;
    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}

.product-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
    background: #fff;
}

.product-thumbnail:hover {
    border-color: #00d9ff;
}

.product-thumbnail.is-active {
    border-color: #a855f7;
    box-shadow: 0 0 0 1px #a855f7;
}

.product-thumbnail:focus-visible {
    outline: 2px solid #00d9ff;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .product-thumbnails {
        gap: 8px;
    }

    .product-thumbnail {
        width: 68px;
        height: 68px;
    }
}


/* V012 — Product gallery layout correction */

.detail-media .product-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
    width: 100%;
}

.detail-media .product-thumbnail {
    display: block;
    width: 100%;
    height: 70px;
    min-width: 0;
    padding: 4px;
    margin: 0;
    border: 1px solid #343442;
    border-radius: 8px;
    background: #17171f;
    overflow: hidden;
    cursor: pointer;
}

.detail-media .product-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    border: 0;
    border-radius: 4px;
    background: #fff;
}

.detail-media .product-thumbnail.is-active {
    border-color: #a855f7;
    box-shadow: 0 0 0 1px #a855f7;
}

@media (max-width: 600px) {
    .detail-media .product-thumbnails {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .detail-media .product-thumbnail {
        height: 60px;
    }
}

/* V012 — Fix gallery thumbnail image visibility */

.detail-media .product-thumbnails .product-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    min-width: 0;
    min-height: 0;
    padding: 0;
    margin: 0;
    object-fit: contain;
    object-position: center;
    background: #fff;
    border: none;
    border-radius: 3px;
    box-shadow: none;
    transform: none;
}

.detail-media .product-thumbnail {
    position: relative;
    overflow: hidden;
}
