/* Nuratech Product Catalog — minimal, gallery-style layout */

.nrt-catalog {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 24px;
    font-family: -apple-system, "Helvetica Neue", Arial, sans-serif;
    color: #1a1a1a;
}

/* ---------- Sidebar ---------- */

.nrt-sidebar-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 24px;
}

.nrt-search input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #d8d8d8;
    border-radius: 2px;
    font-size: 13px;
    background: #fff;
    margin-bottom: 32px;
}

.nrt-search input:focus {
    outline: none;
    border-color: #1a1a1a;
}

.nrt-filter-heading {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a8a8a;
    margin: 0 0 16px;
}

.nrt-filter-group {
    border-top: 1px solid #ececec;
    padding: 16px 0;
}

.nrt-filter-group:first-of-type {
    border-top: none;
    padding-top: 0;
}

.nrt-filter-group-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin: 0 0 10px;
    color: #4a4a4a;
}

.nrt-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333;
    padding: 4px 0;
    cursor: pointer;
}

.nrt-checkbox input {
    accent-color: #1a1a1a;
    width: 14px;
    height: 14px;
    cursor: pointer;
}

/* ---------- Range sliders ---------- */

.nrt-range-group {
    padding-top: 20px;
    padding-bottom: 24px;
}

.nrt-range-slider {
    margin: 16px 4px 10px;
}

.nrt-range-values {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #8a8a8a;
}

/* noUiSlider theme overrides — thin monochrome track */
.noUi-target {
    background: #ececec;
    border: none;
    box-shadow: none;
    height: 2px;
}
.noUi-connect {
    background: #1a1a1a;
}
.noUi-handle {
    width: 14px !important;
    height: 14px !important;
    border-radius: 50%;
    background: #1a1a1a;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #1a1a1a;
    top: -6px !important;
    right: -7px !important;
    cursor: pointer;
}
.noUi-handle::before,
.noUi-handle::after {
    display: none;
}

/* ---------- Reset button ---------- */

.nrt-reset-btn {
    width: 100%;
    margin-top: 8px;
    padding: 10px;
    background: transparent;
    border: 1px solid #1a1a1a;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1a1a1a;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.nrt-reset-btn:hover {
    background: #1a1a1a;
    color: #fff;
}

/* ---------- Grid ---------- */

.nrt-grid-wrap {
    min-width: 0;
}

.nrt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    transition: opacity 0.2s ease;
}

.nrt-grid.nrt-loading {
    opacity: 0.4;
    pointer-events: none;
}

.nrt-card {
    display: flex;
    flex-direction: column;
}

.nrt-card-image {
    aspect-ratio: 1 / 1;
    background: #efefef;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
}

.nrt-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.nrt-card-noimg {
    width: 100%;
    height: 100%;
}

.nrt-card-title {
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
}

.nrt-no-results {
    grid-column: 1 / -1;
    text-align: center;
    color: #8a8a8a;
    font-size: 14px;
    padding: 64px 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .nrt-catalog {
        grid-template-columns: 1fr;
    }
    .nrt-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .nrt-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
}
