/* ── Product Specs Table ─────────────────────────────── */
.nero-product-specs {
    font-size: 15px;
    color: #111;
    line-height: 1.5;
}
.nps-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #ebebeb;
    gap: 24px;
    min-height: 58px;
}
.nps-label {
    flex: 0 0 140px;
    color: var(--theme-palette-color-3, #3f4245);
    font-weight: 400;
    font-size: 14px;
}
.nps-value {
    flex: 1;
    text-align: right;
    color: var(--theme-palette-color-4, #111518);
    font-weight: 400;
    word-break: break-word;
}

/* ── Finishes ────────────────────────────────────────── */
.nps-finishes {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}
/* outer ring wrapper */
.nps-swatch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: border-color .2s;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
}
.nps-swatch--active {
    border-color: #333;
}
.nps-swatch:hover:not(.nps-swatch--active) {
    border-color: #bbb;
}
/* CSS3 Tooltip */
.nps-swatch {
    position: relative;
}
.nps-swatch::before,
.nps-swatch::after {
    content: "";
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    transform-origin: bottom center;
}
.nps-swatch::before {
    content: attr(data-tooltip);
    white-space: nowrap;
    background: #222;
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
    padding: 5px 8px;
    border-radius: 4px;
    transform: translateX(-50%) translateY(4px);
}
.nps-swatch::after {
    content: "";
    bottom: calc(100% + 2px);
    border: 5px solid transparent;
    border-top-color: #222;
    transform: translateX(-50%) translateY(4px);
}
.nps-swatch:hover::before,
.nps-swatch:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
/* inner circle image */
.nps-swatch img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.nps-swatch__fallback {
    width: 24px;
    height: 24px;
    background: #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #fff;
}

/* ── Included Parts ──────────────────────────────────── */
.nps-parts {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-start;
}
.nps-part {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    flex-shrink: 0;
}
.nps-part:hover {
    border-color: #aaa;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.nps-part img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 6px;
}
.nps-part__no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 10px;
    color: #999;
    padding: 6px;
    text-align: center;
    line-height: 1.3;
}

/* ── Availability ────────────────────────────────────── */
.nps-avail {
    font-weight: 500;
    font-size: 15px;
}
.nps-avail--in  { color: #111; }
.nps-avail--low { color: #b8860b; }
.nps-avail--out { color: #c0392b; }

/* ── [nero_tech_resources] ────────────────────────────────── */
.ntr-wrap {
    display: flex;
    flex-direction: column;
}
.ntr-item {
    padding: 16px 0;
    border-bottom: 1px solid #ebebeb;
    text-decoration: none;
    font-size: 20px;
}
.ntr-item:last-child {
    margin-bottom: 30px;
}
.ntr-label {
    flex: 1;
}
.ntr-arrow {
    display: inline-block;
    font-size: 30px;
    line-height: 1;
    transition: transform 0.2s ease;
}
.ntr-item:hover .ntr-arrow {
    transform: translateX(5px);
}

/* ── [nero_finishes] archive swatch strip ──────────────── */
.nfs-wrap {
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
    align-items: center;
}
.nfs-swatch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid transparent;
    flex-shrink: 0;
    cursor: default;
}
.nfs-swatch--active {
    border-color: #333;
}
.nfs-swatch img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 1px solid #eee;
}
.nfs-swatch__fallback {
    width: 20px;
    height: 20px;
    background: #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
}

.range-product-item .nfs-wrap {
    justify-content: center;
    margin-top: 16px;
}

/* ── RTL overrides ───────────────────────────────────── */
/* [dir="rtl"] .nps-value {
    text-align: left;
} */
[dir="rtl"] .nps-finishes,
[dir="rtl"] .nps-parts {
    justify-content: flex-start;
}
[dir="rtl"] .ntr-item:hover .ntr-arrow {
    transform: translateX(-5px);
}