/*
 * Nurail.com storefront.
 * Mill-finish aluminum surfaces, ink type, Hollaender red for prices and actions,
 * safety-yellow bin labels for figure numbers. Layered over the Bagisto default theme.
 */

:root {
    --nr-mill: #e6e8eb;
    --nr-mill-dark: #cfd3d8;
    --nr-plate: #ffffff;
    --nr-ink: #15171a;
    --nr-steel: #5b6470;
    --nr-red: #b3121b;
    --nr-red-dark: #8e0e15;
    --nr-yellow: #f5c518;
    --nr-accent: #b3121b;
    --nr-accent-light: #ff6b72;
    --nr-alu: linear-gradient(180deg, #eef0f2 0%, #d5d9de 55%, #c3c9cf 100%);

    --nr-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --nr-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
    --nr-mono: 'IBM Plex Mono', ui-monospace, monospace;

    --nr-gutter: clamp(16px, 4vw, 60px);

    --font-poppins: var(--nr-body);
}

body,
#app,
#main {
    font-family: var(--nr-body);
    color: var(--nr-ink);
}

.nr-mono {
    font-family: var(--nr-mono);
}

/* ============ Utility strip ============ */

.nr-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 7px var(--nr-gutter);
    background: var(--nr-ink);
    color: #c9cdd2;
    font-size: 13px;
}

.nr-topbar__note {
    display: flex;
    gap: 18px;
    margin: 0;
}

.nr-topbar__note span + span::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-right: 18px;
    vertical-align: middle;
    background: var(--nr-steel);
}

.nr-topbar__usa {
    color: #fff;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.nr-topbar__links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nr-topbar__links a {
    color: #e3e6e9;
}

.nr-topbar__links a:hover {
    color: #fff;
    text-decoration: underline;
}

.nr-topbar__phone {
    font-family: var(--nr-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .03em;
    color: #fff !important;
}

.nr-topbar__phone span {
    margin-left: 6px;
    font-family: var(--nr-body);
    font-size: 12px;
    font-weight: 400;
    color: #9aa1aa;
}

.nr-mobilebar {
    display: block;
    padding: 6px 12px;
    background: var(--nr-ink);
    color: #e3e6e9;
    font-size: 13px;
    text-align: center;
}

.nr-mobilebar strong {
    color: #fff;
}

@media (min-width: 1024px) {
    .nr-mobilebar {
        display: none;
    }
}

/* ============ Main header (white, search-first) ============ */

header.sticky {
    background: var(--nr-plate) !important;
    border-bottom: 1px solid var(--nr-mill-dark);
    box-shadow: none !important;
}

header.sticky img[alt] {
    max-height: 44px;
    width: auto;
}

header.sticky form[role="search"] {
    max-width: none !important;
}

header.sticky .relative.w-full:has(#organic-search) {
    min-width: min(560px, 40vw);
}

header.sticky input#organic-search {
    height: 46px;
    border: 2px solid var(--nr-ink) !important;
    border-radius: 4px !important;
    background: #fff !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}

header.sticky input#organic-search:focus {
    border-color: var(--nr-red) !important;
    outline: none;
}

header.sticky .icon-search {
    top: 12px !important;
    color: var(--nr-steel);
}

header.sticky [class^="icon-"]:hover,
header.sticky [class*=" icon-"]:hover {
    color: var(--nr-red);
}

/* ============ Department bar ============ */

.nr-dept {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 0 var(--nr-gutter);
    background: var(--nr-mill);
    border-top: 1px solid var(--nr-mill-dark);
}

.nr-dept ul {
    display: flex;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nr-dept ul a {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    padding: 8px 14px 8px 8px;
    font-family: var(--nr-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--nr-ink);
    border-bottom: 3px solid transparent;
}

.nr-dept ul a:hover,
.nr-dept ul a[aria-current="page"] {
    background: var(--nr-plate);
    border-bottom-color: var(--nr-red);
}

.nr-dept svg {
    width: 30px;
    height: 30px;
    flex: none;
}

.nr-dept__guide {
    align-self: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--nr-red);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ============ Buttons, links, shared ============ */

.primary-button,
a.primary-button,
button.primary-button {
    background: var(--nr-red) !important;
    border-color: var(--nr-red) !important;
    border-radius: 4px !important;
    color: #fff !important;
    font-family: var(--nr-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.primary-button:hover {
    background: var(--nr-red-dark) !important;
    border-color: var(--nr-red-dark) !important;
}

.secondary-button,
a.secondary-button,
button.secondary-button {
    border: 2px solid var(--nr-ink) !important;
    border-radius: 4px !important;
    color: var(--nr-ink) !important;
    font-family: var(--nr-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.secondary-button:hover {
    background: var(--nr-ink) !important;
    color: #fff !important;
}

.text-navyBlue {
    color: var(--nr-red) !important;
}

.bg-navyBlue {
    background-color: var(--nr-red) !important;
}

.border-navyBlue {
    border-color: var(--nr-red) !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--nr-accent) !important;
    outline-offset: 2px;
}

#main h1,
#main h2 {
    font-family: var(--nr-display) !important;
    font-weight: 700;
    letter-spacing: .01em;
}

.nr-eyebrow {
    margin: 0 0 10px;
    font-family: var(--nr-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--nr-steel);
}

/* ============ Hero: parts diagram ============ */

.nr-hero {
    display: grid;
    grid-template-columns: minmax(320px, 5fr) 7fr;
    gap: 32px;
    align-items: center;
    padding: 40px var(--nr-gutter) 28px;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 1px, transparent 1px 4px),
        linear-gradient(180deg, #eceef1, var(--nr-mill));
    border-bottom: 1px solid var(--nr-mill-dark);
}

.nr-hero h1 {
    margin: 0;
    font-family: var(--nr-display) !important;
    font-size: clamp(44px, 5.2vw, 76px);
    font-weight: 800 !important;
    line-height: .92;
    letter-spacing: -.01em !important;
    text-transform: uppercase;
}

.nr-hero__lede {
    max-width: 30em;
    margin: 16px 0 22px;
    font-size: 17px;
    line-height: 1.55;
    color: #343a41;
}

.nr-lookup label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.nr-lookup__row {
    display: flex;
    max-width: 420px;
    border: 2px solid var(--nr-ink);
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
}

.nr-lookup__hash {
    display: grid;
    place-items: center;
    width: 46px;
    background: var(--nr-accent);
    border-right: 2px solid var(--nr-ink);
    font-family: var(--nr-mono);
    font-size: 22px;
    font-weight: 600;
}

.nr-lookup input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: 0;
    font-family: var(--nr-mono);
    font-size: 20px;
    font-weight: 600;
    outline: none;
}

.nr-lookup button {
    padding: 0 20px;
    background: var(--nr-red);
    color: #fff;
    font-family: var(--nr-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
}

.nr-lookup button:hover {
    background: var(--nr-red-dark);
}

.nr-codes {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 14px 0 6px;
}

.nr-codes div {
    display: flex;
    border: 1px solid var(--nr-mill-dark);
    background: #fff;
    font-size: 13px;
}

.nr-codes dt {
    padding: 4px 7px;
    background: var(--nr-ink);
    color: var(--nr-accent-light);
    font-family: var(--nr-mono);
    font-weight: 600;
}

.nr-codes dd {
    margin: 0;
    padding: 4px 8px;
    font-family: var(--nr-mono);
}

.nr-codes__note {
    font-size: 13px;
    color: var(--nr-steel);
}

.nr-hero__diagram svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 470px;
}

.nr-joint {
    cursor: pointer;
}

.nr-joint__leader {
    stroke: var(--nr-ink);
    stroke-width: 1.5;
}

.nr-joint__dot {
    fill: var(--nr-ink);
}

.nr-joint__tag rect {
    fill: var(--nr-accent);
    stroke: var(--nr-ink);
    stroke-width: 1.5;
}

.nr-joint__fig {
    font-family: var(--nr-mono);
    font-size: 15px;
    font-weight: 600;
    fill: var(--nr-ink);
}

.nr-joint__name {
    font-family: var(--nr-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    fill: var(--nr-ink);
}

.nr-joint__part {
    transition: filter .15s;
}

.nr-joint:hover .nr-joint__part,
.nr-joint:focus-visible .nr-joint__part {
    filter: drop-shadow(0 0 0 var(--nr-red)) drop-shadow(0 0 3px var(--nr-red));
}

.nr-joint:hover .nr-joint__tag rect,
.nr-joint:focus-visible .nr-joint__tag rect {
    fill: var(--nr-ink);
}

.nr-joint:hover .nr-joint__tag text,
.nr-joint:focus-visible .nr-joint__tag text {
    fill: var(--nr-accent);
}

.nr-joint:focus-visible {
    outline: none;
}

@media (prefers-reduced-motion: no-preference) {
    .nr-joint__tag,
    .nr-joint__leader,
    .nr-joint__dot {
        animation: nr-tag-in .45s cubic-bezier(.2, .8, .2, 1) both;
        animation-delay: calc(.35s + var(--i, 0) * .12s);
    }

    @keyframes nr-tag-in {
        from {
            opacity: 0;
            transform: translateY(-6px);
        }
    }
}

/* ============ Sections ============ */

.nr-section {
    padding: 40px var(--nr-gutter) 8px;
}

.nr-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    border-bottom: 2px solid var(--nr-ink);
    padding-bottom: 8px;
}

.nr-section__head h2 {
    margin: 0;
    font-family: var(--nr-display) !important;
    font-size: 32px;
    font-weight: 800 !important;
    text-transform: uppercase;
}

.nr-section__head p {
    max-width: 46em;
    margin: 0;
    font-size: 14px;
    color: var(--nr-steel);
}

/* Shop by type */

.nr-types {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nr-type {
    display: grid;
    justify-items: center;
    gap: 4px;
    padding: 18px 10px 14px;
    background: var(--nr-plate);
    border: 1px solid var(--nr-mill-dark);
    border-radius: 4px;
    transition: border-color .15s, transform .15s;
}

.nr-type:hover {
    border-color: var(--nr-ink);
    transform: translateY(-2px);
}

.nr-type__icon {
    width: 76px;
    height: 76px;
    margin-bottom: 6px;
}

.nr-type__name {
    font-family: var(--nr-display);
    font-size: 21px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.nr-type__count {
    font-family: var(--nr-mono);
    font-size: 12px;
    color: var(--nr-steel);
}

/* Pipe size gauge */

.nr-gauge__list {
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nr-gauge__item {
    display: grid;
    grid-template-rows: 116px auto auto;
    justify-items: center;
    align-items: end;
    min-width: 132px;
    padding: 14px 16px 12px;
    background: var(--nr-plate);
    border: 1px solid var(--nr-mill-dark);
    border-radius: 4px;
}

.nr-gauge__ring {
    width: var(--d);
    height: var(--d);
    border-radius: 50%;
    background:
        radial-gradient(circle, var(--nr-plate) 0 calc(50% - 5px), transparent calc(50% - 5px)),
        conic-gradient(from 210deg, #8b929b, #f5f7f9, #b7bdc4, #eef1f4, #8b929b);
    box-shadow: inset 0 0 0 1px #4a5058, 0 0 0 1px #4a5058;
}

.nr-gauge__label {
    margin-top: 10px;
    font-family: var(--nr-display);
    font-size: 26px;
    font-weight: 800;
}

.nr-gauge__od {
    font-family: var(--nr-mono);
    font-size: 12px;
    color: var(--nr-steel);
}

.nr-gauge__item:hover {
    border-color: var(--nr-ink);
}

.nr-gauge__item:hover .nr-gauge__label {
    color: var(--nr-red);
}

.nr-gauge__guide a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    max-width: 220px;
    padding: 14px 16px;
    border: 2px dashed var(--nr-steel);
    border-radius: 4px;
    font-size: 14px;
    color: #343a41;
}

.nr-gauge__guide strong {
    font-family: var(--nr-display);
    font-size: 20px;
    text-transform: uppercase;
    color: var(--nr-red);
}

/* ============ Product cards: photos kept near their real size ============ */

#main .max-w-72\.75 {
    border: 1px solid var(--nr-mill-dark);
    border-radius: 4px;
    background: var(--nr-plate);
}

#main .max-w-72\.75 img,
#main .max-w-62\.5 img {
    object-fit: contain !important;
    padding: 20% !important;
    background: var(--nr-plate) !important;
}

#main .max-w-72\.75 .bg-zinc-100,
#main .max-w-62\.5 .bg-zinc-100 {
    background: var(--nr-plate) !important;
}

#main .group:hover .group-hover\:scale-105 {
    transform: none !important;
}

#main .group .text-base.font-medium {
    font-weight: 600;
    line-height: 1.3;
}

#main .group .text-lg.font-semibold {
    color: var(--nr-red);
    font-family: var(--nr-display);
    font-size: 22px;
    font-weight: 700;
}

/* ============ Product page ============ */

#main .min-w-112\.5 {
    min-width: 0 !important;
    width: 360px !important;
    height: 360px !important;
    object-fit: contain;
    padding: 50px;
    background: var(--nr-plate);
    border: 1px solid var(--nr-mill-dark);
    border-radius: 4px !important;
}

#main .max-w-140 {
    max-width: 360px !important;
}

#main .max-h-\[100px\].min-w-\[100px\] {
    object-fit: contain;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--nr-mill-dark) !important;
    border-radius: 4px !important;
}

#main .text-3xl.font-medium,
#main h1.text-3xl {
    font-family: var(--nr-display) !important;
    font-size: 40px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

#main .text-3xl.font-medium + * .font-semibold,
#main .text-2xl.font-medium {
    color: var(--nr-red);
}

#main .text-zinc-500 ul,
#main .prose ul {
    list-style: square;
    padding-left: 1.25rem;
}

/* ============ Welcome block (from storefront sections) ============ */

.nr-welcome {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin: 40px var(--nr-gutter) 20px;
    align-items: start;
}

.nr-welcome h2 {
    margin: 0 0 12px;
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
}

.nr-welcome p {
    margin-bottom: 12px;
    line-height: 1.7;
    color: #343a41;
}

.nr-guide {
    padding: 22px 24px;
    background: var(--nr-accent);
    border: 2px solid var(--nr-ink);
    border-radius: 4px;
}

.nr-guide h3 {
    margin: 0 0 6px;
    font-family: var(--nr-display);
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
}

.nr-guide p {
    margin: 0 0 14px;
    font-size: 14px;
    color: var(--nr-ink);
}

.nr-btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 4px;
    background: var(--nr-ink);
    color: #fff;
    font-family: var(--nr-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.nr-btn:hover {
    background: var(--nr-red);
}

/* ============ Footer ============ */

.nr-footer {
    margin-top: 56px;
    background: var(--nr-ink);
    color: #c9cdd2;
    font-size: 14px;
}

.nr-footer a {
    color: #e3e6e9;
}

.nr-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.nr-footer__usa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 14px var(--nr-gutter);
    background: var(--nr-plate);
    border-top: 4px solid var(--nr-red);
    color: var(--nr-ink);
    text-align: center;
}

.nr-footer__usa-flag {
    width: 38px;
    height: 24px;
    border: 1px solid var(--nr-ink);
}

.nr-footer__usa-text {
    padding: 2px 12px;
    border: 3px double var(--nr-ink);
    font-family: var(--nr-display);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.nr-footer__usa-sub {
    font-size: 14px;
    color: var(--nr-steel);
}

.nr-footer__main {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
    padding: 40px var(--nr-gutter);
}

.nr-footer__brand {
    display: grid;
    gap: 6px;
    max-width: 340px;
}

.nr-footer__brand img {
    margin-bottom: 10px;
}

.nr-footer__phone {
    margin-right: 8px;
    font-family: var(--nr-display);
    font-size: 24px;
    font-weight: 700;
    color: #fff !important;
}

.nr-footer__muted {
    color: #8d949c;
    font-size: 13px;
}

.nr-footer__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 24px 40px;
}

.nr-footer__links h2 {
    margin: 0 0 12px;
    font-family: var(--nr-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--nr-accent-light);
}

.nr-footer__links ul {
    display: grid;
    gap: 9px;
}

.nr-footer__legal {
    display: grid;
    gap: 4px;
    padding: 16px var(--nr-gutter) 24px;
    border-top: 1px solid #2a2d31;
    font-size: 12px;
    color: #8d949c;
}

/* ============ Responsive ============ */

@media (max-width: 1023px) {
    .nr-hero {
        grid-template-columns: 1fr;
        padding-top: 26px;
    }

    .nr-hero__diagram {
        order: -1;
    }

    .nr-welcome {
        grid-template-columns: 1fr;
    }

    .nr-footer__links {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
    }

    .nr-section__head {
        flex-direction: column;
        gap: 4px;
    }

    #main .min-w-112\.5 {
        width: 100% !important;
        height: auto !important;
    }
}

/* ============ Pass 2 adjustments ============ */

@media (min-width: 1180px) {
    .nr-types {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}

.font-dmserif {
    font-family: var(--nr-display) !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

#main .container h2.font-dmserif,
#main .container .text-3xl.font-dmserif {
    font-size: 32px !important;
}

body,
.font-poppins,
#main input,
#main select,
#main button,
#main textarea {
    font-family: var(--nr-body) !important;
}

/* All-sizes table (product page) */

.nr-sizes {
    margin-top: 28px;
}

.nr-sizes h2 {
    margin: 0 0 8px;
    font-size: 22px !important;
    text-transform: uppercase;
}

.nr-sizes table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: var(--nr-plate);
}

.nr-sizes th {
    padding: 8px 10px;
    background: var(--nr-ink);
    color: #fff;
    font-family: var(--nr-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    text-align: left;
    text-transform: uppercase;
}

.nr-sizes td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--nr-mill-dark);
}

.nr-sizes tbody tr:nth-child(even) {
    background: #f6f7f8;
}

.nr-sizes .nr-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.nr-sizes__item {
    font-weight: 600;
}

.nr-stock {
    font-size: 13px;
    font-weight: 600;
}

.nr-stock--in {
    color: #1d6b34;
}

.nr-stock--out {
    color: var(--nr-steel);
}

.nr-sizes p {
    margin-top: 8px;
    font-size: 13px;
    color: var(--nr-steel);
}

/* Product page: add to cart is the primary action */
#main button.secondary-button.w-full.max-w-full {
    background: var(--nr-red) !important;
    border-color: var(--nr-red) !important;
    color: #fff !important;
}

#main button.secondary-button.w-full.max-w-full:hover {
    background: var(--nr-red-dark) !important;
    border-color: var(--nr-red-dark) !important;
}

/* Mobile fixes */
@media (max-width: 1023px) {
    .nr-dept {
        display: none;
    }

    .nr-lookup__row {
        max-width: 100%;
    }

    .nr-lookup button {
        padding: 0 14px;
        font-size: 16px;
    }

    .nr-hero h1 {
        font-size: 44px;
    }

    .nr-types {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .nr-type {
        padding: 10px 4px;
    }

    .nr-type__icon {
        width: 44px;
        height: 44px;
    }

    .nr-type__name {
        font-size: 15px;
    }

    .nr-type__count {
        display: none;
    }

    .nr-gauge__list {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .nr-gauge__item {
        min-width: 112px;
    }

    .nr-gauge__guide a {
        min-width: 180px;
    }
}

.nr-hero > * {
    min-width: 0;
}

@media (max-width: 1023px) {
    .nr-hero {
        grid-template-columns: minmax(0, 1fr);
        overflow: hidden;
    }

    .nr-hero__lede {
        font-size: 16px;
    }
}

/* ============ v3 header: black logo bar, graphite utility strip ============ */

:root {
    --nr-graphite: #2b2e33;
}

.nr-topbar,
.nr-mobilebar {
    background: var(--nr-graphite);
}

header.sticky {
    background: #0c0d0f !important;
    border-bottom: 0;
}

header.sticky > div > div,
header.sticky .border,
header.sticky .border-b {
    border-color: #0c0d0f !important;
}

header.sticky [class^="icon-"],
header.sticky [class*=" icon-"],
header.sticky .text-navyBlue {
    color: #f1f2f4;
}

header.sticky input#organic-search,
header.sticky input[type="text"] {
    border-color: transparent !important;
}

header.sticky input#organic-search:focus {
    border-color: var(--nr-accent) !important;
}

.nr-tagline {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 0 0 4px;
    padding: 0;
    list-style: none;
    font-family: var(--nr-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #c9cdd2;
    white-space: nowrap;
}

.nr-tagline li + li::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    margin: 0 11px 2px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #f5f7f9, #7a828c 70%);
    box-shadow: 0 0 0 1px #000;
}

.nr-tagline li:first-child {
    color: var(--nr-accent-light);
}

@media (max-width: 1279px) {
    .nr-tagline li:nth-child(n+3) {
        display: none;
    }
}

@media (max-width: 1100px) {
    .nr-tagline {
        display: none;
    }
}

/* Centered department bar; size guide sits with the categories */
.nr-dept {
    justify-content: center;
}

.nr-dept__guide {
    margin-left: 10px;
    padding-left: 12px;
    border-left: 1px solid var(--nr-mill-dark);
}

.nr-dept__guide a {
    color: var(--nr-red) !important;
}

/* Bigger logo in the black bar */
@media (min-width: 1024px) {
    header.sticky img[alt] {
        max-height: 58px;
    }

    header.sticky .min-h-19\.5 {
        min-height: 92px;
    }
}

/* Keep the logo from being squeezed by the tagline and search */
@media (min-width: 1024px) {
    header.sticky .gap-x-10 > a:first-of-type {
        flex: none;
    }

    header.sticky .gap-x-10 > a:first-of-type img {
        height: 54px !important;
        width: auto !important;
        max-height: none;
        max-width: none;
    }

    header.sticky .relative.w-full:has(#organic-search) {
        min-width: 0;
        width: clamp(260px, 30vw, 480px);
    }
}

/* Header fit at common laptop widths */
.nr-tagline {
    font-size: 14px;
}

.nr-tagline li + li::before {
    margin: 0 9px 2px;
}

@media (max-width: 1439px) {
    .nr-tagline li:nth-child(4) {
        display: none;
    }
}

@media (max-width: 1279px) {
    .nr-tagline li:nth-child(3) {
        display: none;
    }
}

.nr-topbar,
.nr-topbar * {
    white-space: nowrap;
}

@media (max-width: 1199px) {
    .nr-topbar__note span:last-child,
    .nr-topbar__phone span {
        display: none;
    }
}

header.sticky .gap-x-9 {
    flex: none;
}

/* ============ Yellow department bar ============ */

.nr-dept {
    background: var(--nr-accent);
    border-top: 0;
    border-bottom: 2px solid var(--nr-ink);
}

.nr-dept ul a {
    color: var(--nr-ink);
}

.nr-dept ul a:hover,
.nr-dept ul a[aria-current="page"] {
    background: var(--nr-ink);
    color: var(--nr-accent-light);
    border-bottom-color: var(--nr-ink);
}

.nr-dept__guide {
    border-left-color: rgba(21, 23, 26, .35);
}

.nr-dept__guide a {
    color: var(--nr-ink) !important;
}

.nr-dept__guide a:hover {
    color: var(--nr-accent-light) !important;
}

/* ============ Category page ============ */

.nr-cat {
    padding: 0 var(--nr-gutter) 20px;
}

.nr-cat__head {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0 calc(var(--nr-gutter) * -1) 22px;
    padding: 28px var(--nr-gutter) 24px;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 1px, transparent 1px 4px),
        linear-gradient(180deg, #eceef1, var(--nr-mill));
    border-bottom: 1px solid var(--nr-mill-dark);
}

.nr-cat__icon {
    flex: none;
    width: 104px;
    height: 104px;
    padding: 10px;
    background: var(--nr-plate);
    border: 2px solid var(--nr-ink);
    border-radius: 4px;
}

.nr-cat__head h1 {
    margin: 2px 0 4px;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800 !important;
    line-height: .95;
    text-transform: uppercase;
}

.nr-cat__meta {
    font-size: 13px;
    color: var(--nr-steel);
}

.nr-crumbs {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: var(--nr-steel);
}

.nr-crumbs a:hover {
    color: var(--nr-red);
    text-decoration: underline;
}

.nr-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.nr-chips a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: var(--nr-plate);
    border: 2px solid var(--nr-ink);
    border-radius: 999px;
    font-family: var(--nr-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.nr-chips a span {
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--nr-mill);
    font-size: 12px;
}

.nr-chips a:hover {
    background: var(--nr-mill);
}

.nr-chips a[aria-current="page"] {
    background: var(--nr-ink);
    color: var(--nr-accent-light);
}

.nr-chips a[aria-current="page"] span {
    background: var(--nr-accent);
    color: var(--nr-ink);
}

.nr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
}

.nr-empty {
    padding: 40px;
    background: var(--nr-mill);
    text-align: center;
}

.nr-cat__help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding: 16px 20px;
    border: 2px dashed var(--nr-steel);
    border-radius: 4px;
    font-size: 14px;
}

.nr-cat__help a {
    font-weight: 600;
    color: var(--nr-red);
    text-decoration: underline;
}

/* ============ Spec card ============ */

.nr-card {
    display: flex;
    flex-direction: column;
    background: var(--nr-plate);
    border: 1px solid var(--nr-mill-dark);
    border-radius: 4px;
    transition: border-color .15s, box-shadow .15s;
}

.nr-card:hover {
    border-color: var(--nr-ink);
    box-shadow: 4px 4px 0 var(--nr-ink);
}

.nr-card__link {
    display: block;
}

.nr-card__photo {
    position: relative;
    display: grid;
    place-items: center;
    height: 190px;
    border-bottom: 1px solid var(--nr-mill);
}

.nr-card__photo img {
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
}

.nr-card__nophoto {
    font-family: var(--nr-mono);
    font-size: 12px;
    color: var(--nr-steel);
}

.nr-card__fig {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 8px;
    background: var(--nr-accent);
    border: 1.5px solid var(--nr-ink);
    border-radius: 3px;
    font-family: var(--nr-mono);
    font-size: 14px;
    font-weight: 600;
}

.nr-card__title {
    margin: 12px 14px 8px;
    font-family: var(--nr-display);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
}

.nr-card__link:hover .nr-card__title {
    color: var(--nr-red);
}

.nr-card__sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 14px 12px;
    padding: 0;
    list-style: none;
}

.nr-card__sizes li {
    padding: 2px 6px;
    border: 1px solid var(--nr-mill-dark);
    border-radius: 3px;
    font-family: var(--nr-mono);
    font-size: 12px;
}

.nr-card__foot {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: auto;
    padding: 10px 14px 12px;
    border-top: 1px solid var(--nr-mill);
}

.nr-card__price {
    margin: 0;
    font-family: var(--nr-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--nr-red);
}

.nr-card__price span {
    margin-right: 2px;
    font-family: var(--nr-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--nr-steel);
}

.nr-card__stock {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
}

.nr-card__stock.is-in {
    color: #1d6b34;
}

.nr-card__stock.is-out {
    color: var(--nr-steel);
}

@media (max-width: 640px) {
    .nr-cat__icon {
        width: 64px;
        height: 64px;
    }

    .nr-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .nr-card__photo {
        height: 140px;
    }

    .nr-card__photo img {
        max-width: 110px;
        max-height: 110px;
    }

    .nr-card__title {
        font-size: 18px;
    }
}

/* Flat header panels (no brushed stripes) */
.nr-hero,
.nr-cat__head {
    background: var(--nr-mill);
}

/* ============ Product detail page ============ */

.nr-pcrumbs {
    padding: 18px var(--nr-gutter) 0;
    flex-wrap: wrap;
}

.nr-pcrumbs [aria-current] {
    color: var(--nr-ink);
    font-weight: 600;
}

.nr-peyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--nr-steel);
}

.nr-peyebrow__fig {
    padding: 3px 9px;
    background: var(--nr-accent);
    border: 1.5px solid var(--nr-ink);
    border-radius: 3px;
    font-family: var(--nr-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--nr-ink);
}

.nr-pd {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 28px 40px;
    margin-top: 40px;
    padding: 36px var(--nr-gutter) 0;
    border-top: 2px solid var(--nr-ink);
}

.nr-pd__sizes,
.nr-pd__install,
.nr-pd__projects,
.nr-pd__related {
    grid-column: 1 / -1;
}

.nr-pd__h {
    margin: 0 0 12px;
    font-family: var(--nr-display) !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

/* Spec plate: an engraved nameplate */
.nr-plate {
    position: relative;
    padding: 20px 22px 18px;
    background: linear-gradient(180deg, #f4f5f7, #e3e6ea);
    border: 2px solid var(--nr-ink);
    border-radius: 6px;
    box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px var(--nr-mill-dark);
}

.nr-plate::before,
.nr-plate::after {
    content: '';
    position: absolute;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff, #8b929b 70%);
    box-shadow: 0 0 0 1px #4a5058;
}

.nr-plate::before {
    left: 10px;
}

.nr-plate::after {
    right: 10px;
}

.nr-plate__rows {
    display: grid;
    margin: 6px 0 0;
}

.nr-plate__rows div {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed #b9bec5;
}

.nr-plate__rows dt {
    font-family: var(--nr-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--nr-steel);
}

.nr-plate__rows dd {
    margin: 0;
    font-weight: 500;
}

.nr-plate__features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.nr-plate__features li {
    padding: 3px 10px;
    background: var(--nr-ink);
    border-radius: 3px;
    color: #fff;
    font-family: var(--nr-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.nr-plate__prose {
    margin: 12px 0 0;
    line-height: 1.6;
}

/* Documents */
.nr-pd__docs {
    display: grid;
    align-content: start;
    gap: 10px;
}

.nr-pd__docs .nr-pd__h {
    margin-bottom: 2px;
}

.nr-doc {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--nr-plate);
    border: 2px solid var(--nr-ink);
    border-radius: 4px;
    transition: box-shadow .15s;
}

a.nr-doc:hover {
    box-shadow: 4px 4px 0 var(--nr-ink);
}

.nr-doc strong {
    display: block;
    font-family: var(--nr-display);
    font-size: 20px;
    text-transform: uppercase;
}

.nr-doc span span {
    display: block;
    font-size: 13px;
    color: var(--nr-steel);
}

.nr-doc__icon {
    flex: none;
    width: 42px;
    height: 48px;
}

.nr-doc.is-pending {
    border-style: dashed;
    border-color: #8d949c;
    background: transparent;
}

/* Installation steps */
.nr-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: nr-step;
    border: 2px solid var(--nr-ink);
    border-radius: 4px;
    background: var(--nr-plate);
}

.nr-steps li {
    position: relative;
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 14px;
    padding: 18px 18px 18px 52px;
    counter-increment: nr-step;
}

.nr-steps li + li {
    border-left: 1px solid var(--nr-mill-dark);
}

.nr-steps li::before {
    content: counter(nr-step);
    position: absolute;
    top: 18px;
    left: 16px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--nr-accent);
    border: 1.5px solid var(--nr-ink);
    font-family: var(--nr-mono);
    font-weight: 600;
}

.nr-steps svg {
    grid-row: 1 / 3;
    width: 64px;
    height: 64px;
}

.nr-steps strong {
    font-family: var(--nr-display);
    font-size: 20px;
    text-transform: uppercase;
}

.nr-steps span {
    font-size: 14px;
    color: #343a41;
}

/* Project photos */
.nr-projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.nr-projects img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 4px;
}

.nr-projects__slot {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    border: 2px dashed #b9bec5;
    border-radius: 4px;
    background:
        linear-gradient(135deg, transparent 49.5%, #d4d8dd 49.5% 50.5%, transparent 50.5%),
        var(--nr-mill);
    font-family: var(--nr-mono);
    font-size: 13px;
    color: var(--nr-steel);
}

.nr-projects__slot span {
    padding: 4px 10px;
    background: var(--nr-mill);
}

.nr-pd__all {
    font-weight: 600;
    color: var(--nr-red);
    text-decoration: underline;
}

.nr-pd .nr-sizes {
    margin-top: 0;
}

@media (max-width: 1023px) {
    .nr-pd {
        grid-template-columns: 1fr;
    }

    .nr-steps {
        grid-template-columns: 1fr;
    }

    .nr-steps li + li {
        border-left: 0;
        border-top: 1px solid var(--nr-mill-dark);
    }

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

    .nr-plate__rows div {
        grid-template-columns: 100px 1fr;
    }

    .nr-sizes {
        overflow-x: auto;
    }
}

/* Buy box */
#main .text-2xl.font-medium,
#main p.font-medium.text-2xl,
#main .flex.items-center.gap-2\.5.text-2xl {
    font-family: var(--nr-display);
    color: var(--nr-red) !important;
    font-size: 34px !important;
    font-weight: 700 !important;
}

.nr-trust {
    display: grid;
    gap: 0;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--nr-mill-dark);
    border-radius: 4px;
    background: #f7f8f9;
}

.nr-trust li {
    display: grid;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--nr-steel);
}

.nr-trust li + li {
    border-top: 1px solid var(--nr-mill-dark);
}

.nr-trust strong {
    font-family: var(--nr-display);
    font-size: 16px;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--nr-ink);
}

.nr-trust a {
    font-weight: 600;
    color: var(--nr-red);
}

/* Hero drawing annotations */
.nr-dim line {
    stroke: var(--nr-red);
    stroke-width: 1.2;
}

.nr-dim polygon {
    fill: var(--nr-red);
}

.nr-dim text {
    font-family: var(--nr-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    fill: var(--nr-red);
}

.nr-titleblock rect,
.nr-titleblock line {
    fill: none;
    stroke: var(--nr-ink);
    stroke-width: 1.5;
}

.nr-titleblock rect {
    fill: rgba(255, 255, 255, .6);
}

.nr-titleblock text {
    font-family: var(--nr-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .05em;
    fill: var(--nr-ink);
}

.nr-titleblock__big {
    font-family: var(--nr-display) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

.nr-hero__diagram svg {
    max-height: 520px;
}

@media (min-width: 1180px) {
    .nr-types {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* ============ Product page v2: single photo, downloads under it ============ */

#main .flex-24.min-w-25 {
    display: none !important;
}

.nr-pgal {
    display: grid;
    align-content: start;
    gap: 14px;
    flex: none;
    width: 360px;
}

.nr-pdocs {
    display: grid;
    gap: 8px;
}

.nr-pdocs__label {
    margin: 4px 0 0;
    font-family: var(--nr-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--nr-steel);
}

.nr-pdocs .nr-doc {
    padding: 10px 12px;
}

.nr-pdocs .nr-doc strong {
    font-size: 18px;
}

.nr-pdocs .nr-doc__icon {
    width: 34px;
    height: 40px;
}

.nr-pd__specs,
.nr-pd__install {
    grid-column: auto;
}

.nr-pd__install .nr-steps {
    grid-template-columns: 1fr;
}

.nr-pd__install .nr-steps li + li {
    border-left: 0;
    border-top: 1px solid var(--nr-mill-dark);
}

.nr-pd__sizes {
    grid-row: 2;
}

@media (max-width: 1179px) {
    .nr-pgal {
        width: 100%;
        padding: 0 20px;
    }
}

/* ============ FAQ ============ */

.nr-faq {
    padding: 0 var(--nr-gutter) 20px;
}

.nr-faq__head {
    flex-wrap: wrap;
}

.nr-faq__intro {
    flex: 1;
    min-width: 260px;
}

.nr-faq__search {
    width: min(420px, 100%);
}

.nr-faq__search label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.nr-faq__search input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--nr-ink);
    border-radius: 4px;
    background: #fff;
    font-size: 16px;
}

.nr-faq__count {
    min-height: 18px;
    margin: 6px 0 0;
    font-family: var(--nr-mono);
    font-size: 12px;
    color: var(--nr-steel);
}

.nr-faq__chips a svg {
    width: 22px;
    height: 22px;
}

.nr-faq__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
    align-items: start;
}

.nr-faq__group {
    scroll-margin-top: 170px;
    margin-bottom: 30px;
}

.nr-faq__group h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--nr-ink);
    font-size: 28px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

.nr-faq__group h2 svg {
    width: 36px;
    height: 36px;
}

.nr-faq__item {
    border-bottom: 1px solid var(--nr-mill-dark);
    scroll-margin-top: 170px;
}

.nr-faq__item summary {
    position: relative;
    padding: 15px 44px 15px 2px;
    list-style: none;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}

.nr-faq__item summary::-webkit-details-marker {
    display: none;
}

.nr-faq__item summary::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 8px;
    width: 22px;
    height: 22px;
    margin-top: -11px;
    border: 1.5px solid var(--nr-ink);
    border-radius: 3px;
    background:
        linear-gradient(var(--nr-ink), var(--nr-ink)) center / 10px 2px no-repeat,
        linear-gradient(var(--nr-ink), var(--nr-ink)) center / 2px 10px no-repeat,
        #fff;
}

.nr-faq__item[open] summary::after {
    background:
        linear-gradient(var(--nr-ink), var(--nr-ink)) center / 10px 2px no-repeat,
        var(--nr-accent);
}

.nr-faq__item summary:hover {
    color: var(--nr-red);
}

.nr-faq__answer {
    padding: 0 44px 18px 2px;
    line-height: 1.65;
    color: #2d3238;
}

.nr-faq__answer p {
    margin: 0 0 10px;
}

.nr-faq__answer a {
    font-weight: 600;
    color: var(--nr-red);
    text-decoration: underline;
}

.nr-faq__answer ul,
.nr-faq__answer ol {
    margin: 0 0 10px;
    padding-left: 22px;
}

.nr-faq__answer ul {
    list-style: square;
}

.nr-faq__answer ol {
    list-style: decimal;
}

.nr-faq__table {
    margin: 4px 0 12px;
    border-collapse: collapse;
    font-family: var(--nr-mono);
    font-size: 14px;
}

.nr-faq__table th {
    padding: 6px 14px;
    background: var(--nr-ink);
    color: #fff;
    text-align: left;
}

.nr-faq__table td {
    padding: 6px 14px;
    border-bottom: 1px solid var(--nr-mill-dark);
}

.nr-faq__none {
    padding: 24px;
    background: var(--nr-mill);
    border-radius: 4px;
}

.nr-faq__aside {
    position: sticky;
    top: 190px;
    display: grid;
    gap: 12px;
}

.nr-faq__call {
    padding: 22px;
    background: var(--nr-ink);
    border-radius: 4px;
    color: #c9cdd2;
}

.nr-faq__call .nr-eyebrow {
    color: var(--nr-accent-light);
}

.nr-faq__call-title {
    margin: 0 0 12px;
    font-family: var(--nr-display);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
    color: #fff;
}

.nr-faq__phone {
    font-family: var(--nr-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--nr-accent-light);
}

.nr-faq__hours {
    margin: 2px 0 16px;
    font-size: 13px;
}

.nr-faq__call .nr-btn {
    background: var(--nr-accent);
    color: var(--nr-ink);
}

.nr-faq__call .nr-btn:hover {
    background: #fff;
}

@media (max-width: 1023px) {
    .nr-faq__layout {
        grid-template-columns: 1fr;
    }

    .nr-faq__aside {
        position: static;
    }
}

@media (max-width: 1179px) {
    .nr-pgal .w-screen {
        width: 100% !important;
        background: var(--nr-plate);
        border: 1px solid var(--nr-mill-dark);
        border-radius: 4px;
    }

    .nr-pgal .max-h-screen {
        width: 100% !important;
    }

    .nr-pgal img.aspect-square {
        max-width: 220px !important;
        margin: 24px auto;
        object-fit: contain;
    }
}

@media (max-width: 1179px) {
    .nr-pgal .max-h-screen {
        justify-items: center;
    }

    .nr-pgal .inline-flex,
    .nr-pgal .inline-flex > * {
        width: 100% !important;
    }
}


/* Weathered safety yellow: faint grain and smudges, like painted steel signage */
.nr-dept,
.nr-guide {
    background-color: var(--nr-accent);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .18 0 0 0 0 0 0 0 0 .9 -.35'/%3E%3C/filter%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.011 .02' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .22 0 0 0 0 .16 0 0 0 0 .02 0 0 0 1.4 -.72'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23g%29' opacity='.22'/%3E%3Crect width='100%25' height='100%25' filter='url%28%23s%29' opacity='.16'/%3E%3C/svg%3E"),
        radial-gradient(ellipse 22% 140% at 8% 80%, rgba(70, 50, 0, .07), transparent 70%),
        radial-gradient(ellipse 14% 120% at 71% 10%, rgba(70, 50, 0, .05), transparent 70%),
        radial-gradient(ellipse 30% 90% at 93% 95%, rgba(50, 35, 0, .06), transparent 70%);
    background-size: 320px 320px, auto, auto, auto;
}

.nr-hero h1 span {
    box-shadow: inset 0 -.16em 0 var(--nr-accent);
}

.nr-lookup__hint {
    margin: -2px 0 8px;
    font-size: 14px;
    color: var(--nr-steel);
}

.nr-lookup__hint a {
    font-weight: 600;
    color: var(--nr-ink);
    text-decoration: underline;
}

.nr-hero h1 span {
    font-family: inherit !important;
    font-weight: inherit !important;
    color: inherit;
    box-shadow: none;
    background: linear-gradient(var(--nr-accent), var(--nr-accent)) 0 88% / 100% .2em no-repeat;
}

/* Made in the USA badge, under the footer logo */
.nr-footer {
    border-top: 4px solid var(--nr-red);
}

.nr-footer__usa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    width: max-content;
    margin: 2px 0 14px;
    padding: 0;
    background: none;
    border: 0;
    color: #fff;
}

.nr-footer__usa-text {
    padding: 2px 10px;
    border: 3px double #fff;
    font-size: 20px;
    letter-spacing: .14em;
}

.nr-footer__usa-flag {
    border-color: #fff;
}

/* ============ Technical library ============ */

.nr-lib__group {
    scroll-margin-top: 170px;
    margin-bottom: 34px;
}

.nr-lib__h {
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--nr-ink);
    font-size: 28px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

.nr-lib__sub {
    margin: 22px 0 8px;
    font-family: var(--nr-display);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.nr-lib__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 16px;
}

.nr-paper {
    display: grid;
    grid-template-columns: 96px 1fr;
    grid-template-rows: 1fr auto;
    gap: 6px 16px;
    padding: 16px;
    background: var(--nr-plate);
    border: 1px solid var(--nr-mill-dark);
    border-radius: 4px;
    transition: border-color .15s, box-shadow .15s;
}

.nr-paper:hover {
    border-color: var(--nr-ink);
    box-shadow: 4px 4px 0 var(--nr-ink);
}

.nr-paper__sheet {
    position: relative;
    grid-row: 1 / 3;
    align-self: start;
    width: 96px;
    aspect-ratio: 8.5 / 11;
    overflow: hidden;
    background: #fff;
    border: 1px solid #c9cdd2;
    box-shadow: 2px 3px 0 #dfe2e6, 4px 6px 0 #eef0f2;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.nr-paper__sheet::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 16px;
    height: 16px;
    background: linear-gradient(225deg, transparent 50%, #d5d9de 50%);
}

.nr-paper__sheet img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.nr-paper__body {
    display: grid;
    align-content: start;
    gap: 4px;
}

.nr-paper__body strong {
    font-family: var(--nr-display);
    font-size: 20px;
    line-height: 1.05;
    text-transform: uppercase;
}

.nr-paper__desc {
    font-size: 14px;
    line-height: 1.45;
    color: #343a41;
}

.nr-paper__meta {
    margin-top: 2px;
    font-size: 11px;
    color: var(--nr-steel);
}

.nr-paper__dl {
    justify-self: start;
    padding: 5px 12px;
    background: var(--nr-ink);
    border-radius: 3px;
    color: #fff;
    font-family: var(--nr-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.nr-paper:hover .nr-paper__dl {
    background: var(--nr-red);
}

.nr-lib__table {
    width: 100%;
    max-width: 860px;
}

.nr-lib__table a {
    font-family: var(--nr-mono);
    font-weight: 600;
    color: var(--nr-red);
}

.nr-lib__note {
    margin-top: 10px;
    font-size: 13px;
    color: var(--nr-steel);
}

.nr-lib .nr-cat__icon {
    padding: 14px 20px;
}

/* Inspector's stamp on the hero drawing */
.nr-hero__diagram {
    position: relative;
}

.nr-stamp {
    position: absolute;
    left: 6%;
    top: 34%;
    z-index: 1;
    display: grid;
    justify-items: center;
    margin: 0;
    padding: 8px 16px 9px;
    border: 3px solid var(--nr-red);
    border-radius: 6px;
    box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 4px var(--nr-red);
    color: var(--nr-red);
    font-family: var(--nr-display);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    transform: rotate(-9deg);
    mix-blend-mode: multiply;
    opacity: .88;
    pointer-events: none;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.75'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.75'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.nr-stamp span:first-child {
    font-size: 30px;
    letter-spacing: .06em;
}

.nr-stamp span:last-child {
    font-size: 17px;
    letter-spacing: .05em;
}

@media (max-width: 1023px) {
    .nr-stamp {
        left: 4%;
        top: 30%;
        padding: 5px 10px 6px;
    }

    .nr-stamp span:first-child {
        font-size: 20px;
    }

    .nr-stamp span:last-child {
        font-size: 12px;
    }
}

/* Buy America badge beside Made in the USA */
.nr-footer__baa {
    color: #fff !important;
    font-size: 15px !important;
    letter-spacing: .1em !important;
    font-family: var(--nr-display);
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none !important;
}

.nr-footer__baa:hover {
    border-color: var(--nr-accent) !important;
    color: var(--nr-accent-light) !important;
}

.nr-doc--slim {
    padding: 9px 12px !important;
    border-width: 1px;
}

.nr-doc--slim strong {
    font-size: 16px !important;
}

.nr-doc--list {
    display: grid;
    gap: 4px;
}

.nr-doc--list ul {
    display: grid;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
}

.nr-doc--list a {
    color: var(--nr-red);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.nr-pdocs__all {
    font-size: 13px;
    font-weight: 600;
    color: var(--nr-ink);
    text-decoration: underline;
}

/* ============ Project gallery ============ */

.nr-proj__lede {
    max-width: 42em;
    margin: 6px 0 0;
    font-size: 16px;
    color: #343a41;
}

.nr-proj__filters button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: var(--nr-plate);
    border: 2px solid var(--nr-ink);
    border-radius: 999px;
    font-family: var(--nr-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    cursor: pointer;
}

.nr-proj__filters button span {
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--nr-mill);
    font-size: 12px;
}

.nr-proj__filters button[aria-pressed="true"] {
    background: var(--nr-ink);
    color: var(--nr-accent-light);
}

.nr-proj__filters button[aria-pressed="true"] span {
    background: var(--nr-accent);
    color: var(--nr-ink);
}

.nr-proj__grid {
    columns: 3 320px;
    column-gap: 18px;
}

.nr-shot {
    break-inside: avoid;
    margin: 0 0 18px;
    background: var(--nr-plate);
    border: 1px solid var(--nr-mill-dark);
    border-radius: 4px;
    overflow: hidden;
}

.nr-shot[hidden] {
    display: none;
}

.nr-shot__open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: var(--nr-ink);
    cursor: zoom-in;
}

.nr-shot__open img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity .2s, transform .4s;
}

.nr-shot__open:hover img {
    opacity: .9;
    transform: scale(1.02);
}

.nr-shot figcaption {
    display: grid;
    gap: 4px;
    padding: 12px 14px 14px;
}

.nr-shot__tag {
    justify-self: start;
    padding: 2px 7px;
    background: var(--nr-accent);
    border: 1px solid var(--nr-ink);
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.nr-shot strong {
    font-family: var(--nr-display);
    font-size: 21px;
    line-height: 1.05;
    text-transform: uppercase;
}

.nr-shot__desc {
    font-size: 14px;
    color: #343a41;
}

.nr-shot__credit {
    margin-top: 2px;
    font-size: 12px;
    color: var(--nr-steel);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.nr-shot__credit:hover {
    color: var(--nr-red);
}

.nr-proj__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin: 20px 0 10px;
    padding: 24px 28px;
    background: var(--nr-ink);
    border-radius: 4px;
    color: #c9cdd2;
}

.nr-proj__cta .nr-eyebrow {
    color: var(--nr-accent-light);
}

.nr-proj__cta-title {
    margin: 0;
    max-width: 30em;
    font-family: var(--nr-display);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
    color: #fff;
}

.nr-proj__cta-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nr-proj__cta .nr-btn {
    background: var(--nr-accent);
    color: var(--nr-ink);
}

.nr-lib__note a {
    text-decoration: underline;
}

/* Lightbox */
.nr-lightbox {
    width: min(1100px, 94vw);
    max-height: 94vh;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: var(--nr-ink);
    color: #c9cdd2;
    overflow: visible;
}

.nr-lightbox::backdrop {
    background: rgba(12, 13, 15, .86);
}

.nr-lightbox figure {
    margin: 0;
}

.nr-lightbox img {
    display: block;
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    background: #000;
}

.nr-lightbox figcaption {
    display: grid;
    gap: 3px;
    padding: 12px 16px 14px;
}

.nr-lightbox strong {
    font-family: var(--nr-display);
    font-size: 22px;
    text-transform: uppercase;
    color: #fff;
}

.nr-lightbox .nr-shot__credit {
    color: #9aa1aa;
}

.nr-lightbox__close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--nr-accent);
    border: 2px solid var(--nr-ink);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.nr-lightbox__nav {
    position: absolute;
    top: 40%;
    z-index: 2;
    width: 48px;
    height: 64px;
    background: rgba(12, 13, 15, .7);
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
}

.nr-lightbox__nav[data-step="-1"] {
    left: 0;
}

.nr-lightbox__nav[data-step="1"] {
    right: 0;
}

.nr-lightbox__nav:hover {
    background: var(--nr-red);
}

/* Homepage project strip */
.nr-strip__row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.nr-strip__item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
    background: var(--nr-ink);
}

.nr-strip__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s, opacity .2s;
}

.nr-strip__item:hover img {
    transform: scale(1.04);
    opacity: .85;
}

.nr-strip__item > span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    gap: 2px;
    padding: 28px 12px 10px;
    background: linear-gradient(transparent, rgba(12, 13, 15, .88));
    color: #fff;
    font-family: var(--nr-display);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
}

.nr-strip__item .nr-mono {
    font-family: var(--nr-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--nr-accent-light);
}

.nr-strip__credit {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--nr-steel);
}

.nr-strip__credit a {
    text-decoration: underline;
}

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

.nr-lightbox[open] {
    position: fixed;
    inset: 0;
    margin: auto;
    height: max-content;
}

.nr-lightbox[open] {
    box-shadow: 0 0 0 100vmax rgba(12, 13, 15, .86);
}

@media (max-width: 640px) {
    .nr-footer__usa {
        flex-wrap: wrap;
        width: auto;
        max-width: 100%;
    }

    .nr-footer__brand {
        max-width: 100%;
    }
}

.nr-lib__grid {
    grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
}

@media (max-width: 640px) {
    .nr-lib__table {
        display: block;
        overflow-x: auto;
    }

    .nr-faq__search {
        width: 100%;
    }
}

/* ============ Light page template (contact, policies) ============ */

.nr-page {
    padding: 0 var(--nr-gutter) 20px;
}

.nr-page__head {
    max-width: 1100px;
    margin: 0 auto;
    padding: 26px 0 18px;
    border-bottom: 2px solid var(--nr-ink);
}

.nr-page__head h1 {
    margin: 6px 0 0;
    font-size: clamp(38px, 4.4vw, 56px) !important;
    font-weight: 800 !important;
    line-height: .95;
    text-transform: uppercase;
}

.nr-page__lede {
    max-width: 40em;
    margin: 10px 0 0;
    font-size: 17px;
    color: #343a41;
}

.nr-page__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}

.nr-page__tabs a {
    padding: 6px 14px;
    border: 1.5px solid var(--nr-mill-dark);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

.nr-page__tabs a:hover {
    border-color: var(--nr-ink);
}

.nr-page__tabs a[aria-current="page"] {
    background: var(--nr-ink);
    border-color: var(--nr-ink);
    color: var(--nr-accent-light);
}

.nr-page__summary {
    max-width: 1100px;
    margin: 24px auto 0;
}

.nr-page__summary ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nr-page__summary li {
    display: grid;
    gap: 4px;
    padding: 18px;
    background: var(--nr-plate);
    border: 1px solid var(--nr-mill-dark);
    border-top: 4px solid var(--nr-accent);
    border-radius: 4px;
}

.nr-page__summary strong {
    font-family: var(--nr-display);
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.nr-page__summary span {
    font-size: 14px;
    color: #343a41;
}

.nr-page__body {
    max-width: 1100px;
    margin: 28px auto 0;
}

.nr-page__body.has-toc {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.nr-page__toc {
    position: sticky;
    top: 190px;
    padding-left: 14px;
    border-left: 2px solid var(--nr-mill-dark);
}

.nr-page__toc ol {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.nr-page__toc a {
    color: #343a41;
}

.nr-page__toc a:hover {
    color: var(--nr-red);
}

.nr-prose {
    max-width: 72ch;
    font-size: 16px;
    line-height: 1.7;
    color: #2d3238;
}

.nr-prose h2 {
    scroll-margin-top: 180px;
    margin: 30px 0 8px;
    font-family: var(--nr-display) !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    color: var(--nr-ink);
}

.nr-prose h2:first-child {
    margin-top: 0;
}

.nr-prose p {
    margin: 0 0 12px;
}

.nr-prose ul,
.nr-prose ol {
    margin: 0 0 14px;
    padding-left: 22px;
}

.nr-prose ul {
    list-style: square;
}

.nr-prose li {
    margin-bottom: 4px;
}

.nr-prose a {
    font-weight: 600;
    color: var(--nr-red);
    text-decoration: underline;
}

.nr-prose img {
    max-width: 100%;
    height: auto;
}

.nr-page__ask {
    display: grid;
    gap: 2px;
    margin-top: 32px;
    padding: 16px 18px;
    background: var(--nr-mill);
    border-radius: 4px;
    font-size: 15px;
}

.nr-page__ask strong {
    font-family: var(--nr-display);
    font-size: 19px;
    text-transform: uppercase;
}

/* ============ Contact ============ */

.nr-contact {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 36px;
    max-width: 1100px;
    margin: 28px auto 0;
    align-items: start;
}

.nr-contact__form {
    display: grid;
    gap: 16px;
    padding: 26px;
    background: var(--nr-plate);
    border: 1px solid var(--nr-mill-dark);
    border-radius: 4px;
}

.nr-contact__form h2 {
    margin: 0;
    font-size: 26px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

.nr-field {
    display: grid;
    gap: 6px;
}

.nr-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.nr-field label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.nr-field label span {
    color: var(--nr-red);
}

.nr-field__opt {
    color: var(--nr-steel) !important;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.nr-field input,
.nr-field select,
.nr-field textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid #b9bec5;
    border-radius: 4px;
    background: #fff;
    font-size: 16px;
}

.nr-field input:focus,
.nr-field select:focus,
.nr-field textarea:focus {
    border-color: var(--nr-ink);
    outline: 3px solid var(--nr-accent);
    outline-offset: 0;
}

.nr-field [aria-invalid="true"] {
    border-color: var(--nr-red);
}

.nr-field__err,
.nr-contact__error {
    margin: 0;
    font-size: 13px;
    color: var(--nr-red);
}

.nr-contact__send {
    justify-self: start;
    padding: 13px 26px;
    background: var(--nr-red);
    border-radius: 4px;
    color: #fff;
    font-family: var(--nr-display);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
}

.nr-contact__send:hover {
    background: var(--nr-red-dark);
}

.nr-contact__send[disabled] {
    opacity: .6;
}

.nr-contact__note {
    margin: -4px 0 0;
    font-size: 12px;
    color: var(--nr-steel);
}

.nr-contact__side {
    display: grid;
    gap: 14px;
}

.nr-contact__call {
    padding: 22px;
    background: var(--nr-ink);
    border-radius: 4px;
    color: #c9cdd2;
}

.nr-contact__call .nr-eyebrow {
    color: var(--nr-accent-light);
}

.nr-contact__call .nr-faq__phone {
    font-size: 40px;
}

.nr-contact__alt {
    margin: 0;
    font-size: 13px;
}

.nr-contact__hours {
    margin: 6px 0 0;
    font-size: 14px;
    color: #fff;
}

.nr-contact__visit {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px;
    background: var(--nr-plate);
    border: 1px solid var(--nr-mill-dark);
    border-radius: 4px;
}

.nr-contact__visit:hover {
    border-color: var(--nr-ink);
}

.nr-contact__visit > span {
    display: grid;
    gap: 2px;
    font-size: 14px;
}

.nr-contact__visit strong {
    font-family: var(--nr-display);
    font-size: 20px;
    text-transform: uppercase;
}

.nr-contact__dir {
    margin-top: 4px;
    font-weight: 600;
    color: var(--nr-red);
}

.nr-contact__quick {
    padding: 16px 18px;
    border: 1px dashed var(--nr-steel);
    border-radius: 4px;
}

.nr-contact__quick ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
}

.nr-contact__quick a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nr-contact__quick a:hover {
    color: var(--nr-red);
}

/* ============ Footer v2 ============ */

.nr-foot {
    margin-top: 64px;
    background: #121316;
    color: #a9afb6;
    font-size: 14px;
}

.nr-foot a:hover {
    color: #fff;
}

.nr-foot__help {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: #26282c;
    border-top: 4px solid var(--nr-accent);
}

.nr-foot__helpcard {
    display: grid;
    gap: 3px;
    padding: 22px var(--nr-gutter);
    background: #18191c;
    transition: background .15s;
}

.nr-foot__help a:hover {
    background: #1f2125;
}

.nr-foot__helplabel {
    font-family: var(--nr-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--nr-accent-light);
}

.nr-foot__helpcard strong {
    font-family: var(--nr-display);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    color: #fff;
}

.nr-foot__main {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(0, 1.5fr);
    gap: 48px;
    padding: 44px var(--nr-gutter) 36px;
}

.nr-foot__brand img {
    height: 40px;
    width: auto;
}

.nr-foot__about {
    max-width: 30em;
    margin: 14px 0 20px;
    line-height: 1.6;
}

.nr-creds {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nr-cred {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 14px 10px 12px;
    background: #1c1e21;
    border: 1px solid #2c2f34;
    border-radius: 10px;
}

a.nr-cred:hover {
    border-color: var(--nr-accent);
}

.nr-cred__icon {
    flex: none;
    width: 34px;
    height: 24px;
}

a.nr-cred .nr-cred__icon {
    width: 24px;
    height: 28px;
}

.nr-cred > span {
    display: grid;
    line-height: 1.2;
}

.nr-cred strong {
    font-family: var(--nr-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
}

.nr-cred span span {
    font-size: 12px;
    color: #8d949c;
}

.nr-foot__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.nr-foot__links h2 {
    margin: 0 0 14px;
    font-family: var(--nr-mono) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #6f767e;
}

.nr-foot__links ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nr-foot__links a {
    color: #d6d9dd;
}

.nr-foot__base {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    padding: 16px var(--nr-gutter) 22px;
    border-top: 1px solid #26282c;
    font-size: 12px;
    color: #7c838b;
}

.nr-foot__base p {
    margin: 0;
}

.nr-foot__cards {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nr-foot__cards li {
    padding: 3px 8px;
    border: 1px solid #2f3237;
    border-radius: 4px;
    font-family: var(--nr-mono);
    font-size: 11px;
    font-weight: 600;
    color: #c9cdd2;
}

.nr-foot__legal {
    flex-basis: 100%;
    font-size: 11px;
    color: #626970;
}

/* ============ Responsive for pages + footer ============ */

@media (max-width: 1023px) {
    .nr-page__body.has-toc,
    .nr-contact,
    .nr-foot__main {
        grid-template-columns: 1fr;
    }

    .nr-page__toc {
        position: static;
    }

    .nr-page__summary ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nr-foot__help {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nr-field-row {
        grid-template-columns: 1fr;
    }

    .nr-foot__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nr-contact__visit {
        grid-template-columns: 90px 1fr;
    }
}


/* ============ Palette A: brushed aluminum + Hollaender red ============ */

.nr-dept,
.nr-guide {
    background: var(--nr-alu) !important;
    background-image: var(--nr-alu) !important;
}

.nr-dept {
    border-bottom: 2px solid var(--nr-ink);
}

.nr-dept ul a,
.nr-dept__guide a {
    color: var(--nr-ink) !important;
}

.nr-dept ul a:hover,
.nr-dept ul a[aria-current="page"] {
    background: var(--nr-ink) !important;
    color: #fff !important;
    border-bottom-color: var(--nr-accent) !important;
}

.nr-dept__guide a {
    color: var(--nr-accent) !important;
}

.nr-guide {
    border-color: var(--nr-ink);
}

/* White text wherever red is the background */
.nr-lookup__hash,
.nr-card__fig,
.nr-peyebrow__fig,
.nr-shot__tag,
.nr-chips a[aria-current="page"] span,
.nr-proj__filters button[aria-pressed="true"] span,
.nr-steps li::before,
.nr-faq__call .nr-btn,
.nr-proj__cta .nr-btn {
    color: #fff !important;
}

.nr-joint__tag text {
    fill: #fff !important;
}

.nr-joint:hover .nr-joint__tag rect,
.nr-joint:focus-visible .nr-joint__tag rect {
    fill: var(--nr-ink) !important;
}

.nr-faq__item[open] summary::after {
    background:
        linear-gradient(#fff, #fff) center / 10px 2px no-repeat,
        var(--nr-accent);
    border-color: var(--nr-accent);
}

.nr-faq__call .nr-btn:hover,
.nr-proj__cta .nr-btn:hover {
    background: #fff !important;
    color: var(--nr-ink) !important;
}

.nr-hero h1 span {
    background: linear-gradient(var(--nr-accent), var(--nr-accent)) 0 88% / 100% .2em no-repeat !important;
}

/* ============ Hero photo rail ============ */

.nr-rail {
    grid-column: 1 / -1;
    margin-top: 6px;
    padding-top: 18px;
    border-top: 2px solid var(--nr-ink);
    min-width: 0;
}

.nr-rail__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.nr-rail__head .nr-eyebrow {
    margin: 0;
    color: var(--nr-ink);
}

.nr-rail__controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nr-rail__all {
    margin-right: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--nr-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nr-rail__btn {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 2px solid var(--nr-ink);
    border-radius: 50%;
    background: var(--nr-plate);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.nr-rail__btn:hover {
    background: var(--nr-ink);
    color: #fff;
}

.nr-rail__track {
    display: flex;
    gap: 14px;
    margin: 0;
    padding: 0 0 6px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.nr-rail__track::-webkit-scrollbar {
    display: none;
}

.nr-rail__track li {
    flex: 0 0 clamp(220px, 23%, 320px);
    scroll-snap-align: start;
}

.nr-rail__item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
    background: var(--nr-ink);
}

.nr-rail__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s, opacity .2s;
}

.nr-rail__item:hover img {
    transform: scale(1.04);
    opacity: .85;
}

.nr-rail__item > span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    gap: 2px;
    padding: 30px 12px 10px;
    background: linear-gradient(transparent, rgba(12, 13, 15, .9));
    color: #fff;
    font-family: var(--nr-display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
}

.nr-rail__item .nr-mono {
    font-family: var(--nr-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--nr-accent-light);
}

.nr-rail__credit {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--nr-steel);
}

.nr-rail__credit a {
    text-decoration: underline;
}

@media (max-width: 1023px) {
    .nr-rail__track li {
        flex-basis: 70%;
    }

    .nr-rail__all {
        display: none;
    }
}

/* Tech Library: same treatment as the categories, but in red */
.nr-dept__guide a {
    color: var(--nr-accent) !important;
    text-decoration: none !important;
}

.nr-dept__guide a:hover,
.nr-dept__guide a[aria-current="page"] {
    color: var(--nr-accent-light) !important;
}

.nr-dept ul li.nr-dept__guide a {
    color: var(--nr-accent) !important;
    text-decoration: none !important;
}

.nr-dept ul li.nr-dept__guide a:hover,
.nr-dept ul li.nr-dept__guide a[aria-current="page"] {
    color: var(--nr-accent-light) !important;
}

.nr-dept ul li.nr-dept__guide {
    text-decoration: none !important;
}

/* Hero: white drawing area, gray photo band beneath */
.nr-hero {
    background: var(--nr-plate) !important;
    padding-bottom: 0 !important;
    border-bottom: 1px solid var(--nr-mill-dark);
}

.nr-rail {
    margin: 10px calc(var(--nr-gutter) * -1) 0;
    padding: 18px var(--nr-gutter) 22px;
    background: var(--nr-mill);
    border-top: 2px solid var(--nr-ink);
}

.nr-rail__btn {
    background: var(--nr-plate);
}

/* ============ Product page v3: about + specs, real photos ============ */

.nr-pd__about {
    grid-column: 1;
}

.nr-pd__specs {
    grid-column: 2;
    grid-row: 1;
}

.nr-pd__install {
    grid-column: 1 / -1 !important;
}

.nr-pd__install .nr-steps {
    grid-template-columns: repeat(3, 1fr) !important;
}

.nr-pd__install .nr-steps li + li {
    border-top: 0 !important;
    border-left: 1px solid var(--nr-mill-dark) !important;
}

.nr-pd__sizes {
    grid-row: auto !important;
}

.nr-pd__desc {
    max-width: 68ch;
}

.nr-pd__desc h3 {
    margin: 22px 0 6px;
    font-family: var(--nr-display);
    font-size: 19px;
    font-weight: 800;
    text-transform: uppercase;
}

/* Cut sheet card with per-size links */
.nr-doc--cut > span {
    display: grid;
    gap: 2px;
}

.nr-doc--cut a {
    font-size: 14px;
    font-weight: 600;
    color: var(--nr-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Photos are sharp now: let them fill their frames */
#main .min-w-112\.5 {
    padding: 0 !important;
    object-fit: cover !important;
}

.nr-card__photo {
    height: auto;
    aspect-ratio: 1;
    overflow: hidden;
    padding: 0;
}

.nr-card__photo img {
    max-width: none;
    max-height: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.nr-card:hover .nr-card__photo img {
    transform: scale(1.04);
}

@media (max-width: 1023px) {
    .nr-pd__about,
    .nr-pd__specs {
        grid-column: 1;
        grid-row: auto;
    }

    .nr-pd__install .nr-steps {
        grid-template-columns: 1fr !important;
    }

    .nr-pd__install .nr-steps li + li {
        border-left: 0 !important;
        border-top: 1px solid var(--nr-mill-dark) !important;
    }

    .nr-pgal img.aspect-square {
        max-width: 100% !important;
        margin: 0 auto;
    }
}

.nr-lib__intro {
    margin: -4px 0 12px;
    font-size: 14px;
    color: var(--nr-steel);
}

.nr-lib__cuts {
    max-width: 960px;
}

.nr-lib__fitting {
    font-weight: 600;
    color: var(--nr-ink) !important;
    font-family: var(--nr-body) !important;
}

.nr-lib__fitting:hover {
    color: var(--nr-accent) !important;
    text-decoration: underline;
}

/* ============ Pipe ordering info ============ */

.nr-pipeinfo {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 14px;
    margin: 0 0 26px;
}

.nr-pd .nr-pipeinfo,
.nr-pipeinfo + .nr-pd {
    margin-top: 0;
}

main .nr-pipeinfo:first-child,
#main > .nr-pipeinfo {
    margin: 32px var(--nr-gutter) 0;
}

.nr-pipeinfo__card {
    padding: 18px 20px;
    background: var(--nr-plate);
    border: 1px solid var(--nr-mill-dark);
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.55;
}

.nr-pipeinfo__card p {
    margin: 0 0 8px;
}

.nr-pipeinfo__card--ink {
    background: var(--nr-ink);
    border-color: var(--nr-ink);
    color: #c9cdd2;
}

.nr-pipeinfo__card--ink strong {
    color: #fff;
}

.nr-pipeinfo__card--ink .nr-eyebrow {
    color: var(--nr-accent-light);
}

.nr-pipeinfo__card--ink .nr-faq__phone {
    font-size: 28px;
    color: #fff;
}

.nr-pipeinfo__hours {
    font-size: 12px;
    color: #8d949c;
}

.nr-pipeinfo__card--warn {
    border-top: 4px solid var(--nr-accent);
}

.nr-pipeinfo__card--warn a {
    font-weight: 600;
    color: var(--nr-accent);
    text-decoration: underline;
}

.nr-pipeinfo__tiers {
    width: 100%;
    margin: 4px 0 10px;
    border-collapse: collapse;
}

.nr-pipeinfo__tiers th {
    width: 64px;
    padding: 6px 10px 6px 0;
    font-family: var(--nr-mono);
    font-size: 13px;
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}

.nr-pipeinfo__tiers td {
    padding: 6px 0;
    border-bottom: 1px dashed var(--nr-mill-dark);
}

.nr-pipeinfo__note {
    font-size: 13px;
    color: var(--nr-steel);
}

.nr-pd > .nr-pipeinfo,
.nr-pipeinfo:has(+ .nr-pd) {
    margin: 32px var(--nr-gutter) 0;
}

@media (max-width: 1023px) {
    .nr-pipeinfo {
        grid-template-columns: 1fr;
    }
}

.nr-sizes__scroll {
    overflow-x: auto;
}

.nr-sizes--matrix table {
    min-width: 640px;
}

.nr-sizes--matrix tbody th {
    padding: 8px 10px;
    font-family: var(--nr-mono);
    font-weight: 600;
    text-align: left;
    background: #f6f7f8;
    color: var(--nr-ink);
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
}

/* "Need the tool?" add-on in the buy box */
.nr-addon {
    margin-top: 18px;
    padding: 12px 14px;
    border: 1.5px dashed var(--nr-steel);
    border-radius: 4px;
}

.nr-addon__title {
    display: grid;
    gap: 2px;
    margin: 0 0 8px;
    font-family: var(--nr-display);
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
}

.nr-addon__title span {
    font-family: var(--nr-body);
    font-size: 13px;
    font-weight: 400;
    text-transform: none;
    color: var(--nr-steel);
}

.nr-addon ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nr-addon li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.nr-addon__name {
    flex: 1;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.nr-addon__price {
    font-weight: 700;
    color: var(--nr-accent);
}

.nr-addon__add {
    padding: 5px 14px;
    background: var(--nr-ink);
    border-radius: 3px;
    color: #fff;
    font-family: var(--nr-display);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.nr-addon__add:hover {
    background: var(--nr-accent);
}

.nr-addon__add[disabled] {
    opacity: .7;
}

.nr-addon__msg {
    margin: 6px 0 0;
    font-size: 13px;
}

.nr-addon__msg a {
    font-weight: 600;
    color: var(--nr-accent);
    text-decoration: underline;
}

/* ============ Product page v4: gallery | buy box | downloads rail ============ */

.nr-pbuy {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr) 320px;
    align-items: start;
    gap: 40px;
    margin-top: 28px;
    padding: 0 var(--nr-gutter);
}

.nr-pbuy--norail {
    grid-template-columns: 360px minmax(0, 640px);
}

.nr-pbuy .nr-pgal {
    width: auto;
    padding: 0;
}

.nr-pbuy__main {
    min-width: 0;
}

.nr-pbuy__title {
    margin: 0;
    font-family: var(--nr-display);
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.nr-pbuy__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 0;
    font-family: var(--nr-display);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    color: var(--nr-accent);
}

.nr-pbuy__price .price-label {
    font-family: var(--nr-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--nr-steel);
}

.nr-pbuy__price .regular-price {
    font-size: 20px;
    color: var(--nr-steel);
    text-decoration: line-through;
}

.nr-pbuy__short {
    margin-top: 14px;
    font-size: 16px;
    color: var(--nr-steel);
}

.nr-pbuy__short ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nr-pbuy__short li {
    padding: 3px 10px;
    background: #f1f3f5;
    border: 1px solid var(--nr-mill-dark);
    border-radius: 3px;
    font-size: 14px;
    color: var(--nr-ink);
}

.nr-pbuy__actions {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin-top: 24px;
}

.nr-pbuy__actions .nr-qty {
    flex: none;
    gap: 18px;
    padding: 0 18px;
    border: 1.5px solid #c3c9cf;
    border-radius: 4px;
}

.nr-pbuy__add {
    flex: 1;
    min-height: 52px;
}

.nr-pbuy__rail {
    display: grid;
    gap: 18px;
    padding-left: 24px;
    border-left: 1px solid var(--nr-mill-dark);
}

/* Size and length buttons */
.nr-opts {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.nr-opts__group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.nr-opts__label {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
    padding: 0;
    font-family: var(--nr-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--nr-steel);
}

.nr-opts__hint {
    font-family: var(--nr-body);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: #8d949c;
}

.nr-opts__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nr-opt {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    height: 46px;
    padding: 0 14px;
    background: #fff;
    border: 1.5px solid #c3c9cf;
    border-radius: 4px;
    font-family: var(--nr-mono);
    font-size: 16px;
    font-weight: 600;
    color: var(--nr-ink);
    cursor: pointer;
    transition: border-color .12s, background .12s, color .12s;
}

.nr-opt:hover {
    border-color: var(--nr-ink);
}

.nr-opt.is-selected {
    background: var(--nr-ink);
    border-color: var(--nr-ink);
    color: #fff;
    box-shadow: inset 0 -4px 0 var(--nr-accent);
}

.nr-opt__input {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.nr-opt:has(.nr-opt__input:focus-visible) {
    outline: 2px solid var(--nr-accent);
    outline-offset: 2px;
}

.nr-opt.is-placeholder {
    border-style: dashed;
    color: #b0b6bd;
    cursor: not-allowed;
}

.nr-opts__error {
    margin: 6px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--nr-accent);
}

/* Downloads and tool add-on in the rail */
.nr-pbuy__rail .nr-pdocs__label {
    margin: 0;
}

.nr-pbuy__rail .nr-addon {
    margin: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--nr-mill-dark);
    border-top: 4px solid var(--nr-accent);
}

.nr-addon__title {
    margin: 0 0 4px;
    font-size: 19px;
}

.nr-addon__note {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--nr-steel);
}

.nr-addon li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px dashed var(--nr-mill-dark);
}

.nr-addon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--nr-mill-dark);
    border-radius: 3px;
}

.nr-addon__info {
    display: grid;
    gap: 2px;
    line-height: 1.25;
}

.nr-addon__name {
    font-size: 13px;
}

/* Quick add: size table rows, pipe picker bar, add-ons */
.nr-qadd__qty {
    width: 62px;
    height: 34px;
    padding: 0 4px;
    background: #fff;
    border: 1.5px solid #c3c9cf;
    border-radius: 3px;
    font-family: var(--nr-mono);
    font-size: 14px;
    text-align: center;
}

.nr-qadd__qty:focus {
    border-color: var(--nr-ink);
    outline: none;
}

.nr-qadd__btn {
    height: 34px;
    padding: 0 16px;
    background: var(--nr-accent);
    border-radius: 3px;
    font-family: var(--nr-display);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: background .12s;
}

.nr-qadd__btn:hover {
    background: var(--nr-red-dark);
}

.nr-qadd__btn.is-added {
    background: #1d6b34;
}

.nr-qadd__btn[disabled] {
    opacity: .8;
    cursor: default;
}

.nr-addon .nr-qadd__btn {
    background: var(--nr-ink);
}

.nr-addon .nr-qadd__btn:hover {
    background: var(--nr-accent);
}

.nr-qadd--row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.nr-sizes td:last-child,
.nr-sizes__buyh {
    text-align: right;
}

.nr-sizes__call {
    font-weight: 600;
    color: var(--nr-accent);
    text-decoration: underline;
}

.nr-sizes__pick {
    width: 100%;
    padding: 6px 8px;
    background: none;
    border: 1.5px solid transparent;
    border-radius: 3px;
    font-family: var(--nr-mono);
    font-size: inherit;
    text-align: right;
    cursor: pointer;
}

.nr-sizes__pick:hover {
    background: #fff;
    border-color: var(--nr-ink);
}

.nr-sizes__pick.is-picked {
    background: var(--nr-ink);
    border-color: var(--nr-ink);
    color: #fff;
    box-shadow: inset 0 -3px 0 var(--nr-accent);
}

.nr-qadd--bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 20px;
    margin-top: 12px;
    padding: 12px 16px;
    background: #f7f8f9;
    border: 1px solid var(--nr-mill-dark);
    border-left: 4px solid #c3c9cf;
    border-radius: 4px;
}

.nr-qadd--bar.is-ready {
    border-left-color: var(--nr-accent);
}

.nr-qadd__sel {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}

.nr-qadd__lbl,
.nr-qadd__qtywrap span {
    font-family: var(--nr-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--nr-steel);
}

.nr-qadd__pick {
    font-family: var(--nr-display);
    font-size: 21px;
    text-transform: uppercase;
}

.nr-qadd--bar:not(.is-ready) .nr-qadd__pick {
    font-family: var(--nr-body);
    font-size: 15px;
    font-weight: 500;
    text-transform: none;
    color: var(--nr-steel);
}

.nr-qadd__price {
    font-family: var(--nr-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--nr-accent);
}

.nr-qadd__qtywrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nr-qadd--bar .nr-qadd__qty,
.nr-qadd--bar .nr-qadd__btn {
    height: 44px;
}

.nr-qadd--bar .nr-qadd__btn {
    padding: 0 24px;
    font-size: 18px;
}

/* Trust strip: one horizontal row under the buy area */
.nr-trust {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 36px var(--nr-gutter) 0;
}

.nr-trust li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
}

.nr-trust li + li {
    border-top: 0;
    border-left: 1px solid var(--nr-mill-dark);
}

.nr-trust li > span {
    display: grid;
    gap: 2px;
}

.nr-trust__icon {
    flex: none;
    width: 30px;
    height: 30px;
    fill: none;
    stroke: var(--nr-ink);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nr-trust + .nr-pd {
    margin-top: 32px;
}

/* Pipe: shipping by length */
.nr-pd__ship {
    grid-column: 1 / -1;
}

.nr-pship {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    background: #fff;
    border: 1px solid var(--nr-mill-dark);
    border-radius: 4px;
    overflow: hidden;
}

.nr-pship__tiers {
    padding: 22px 24px;
}

.nr-pship__scale {
    display: grid;
    gap: 10px;
    margin: 6px 0 14px;
    padding: 0;
    list-style: none;
}

.nr-pship__scale li {
    display: grid;
    grid-template-columns: 64px 180px 48px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    font-size: 14px;
}

.nr-pship__len {
    font-size: 14px;
    font-weight: 600;
}

.nr-pship__bar {
    position: relative;
    display: block;
    height: 12px;
    background: #f1f3f5;
    border-radius: 2px;
}

.nr-pship__bar::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: calc(var(--len) * 100%);
    background: var(--nr-alu);
    border: 1px solid #8d949c;
    border-radius: 2px;
}

.nr-pship__scale li:last-child .nr-pship__bar::before {
    border-color: var(--nr-accent);
    box-shadow: inset 0 0 0 1px var(--nr-accent);
}

.nr-pship__cost {
    font-weight: 700;
    color: var(--nr-accent);
}

.nr-pship__txt {
    color: var(--nr-steel);
}

.nr-pship__txt strong {
    color: var(--nr-ink);
}

.nr-pship__note {
    margin: 0;
    padding-top: 12px;
    border-top: 1px dashed var(--nr-mill-dark);
    font-size: 13px;
    color: var(--nr-steel);
}

.nr-pship__call {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 22px 24px;
    background: var(--nr-ink);
    color: #c9cdd2;
    font-size: 14px;
    line-height: 1.55;
}

.nr-pship__call p {
    margin: 0;
}

.nr-pship__call strong {
    color: #fff;
}

.nr-pship__call .nr-eyebrow {
    color: var(--nr-accent-light);
}

.nr-pship__phone {
    margin-top: 4px;
    font-family: var(--nr-display);
    font-size: 30px;
    font-weight: 800;
    color: #fff;
}

.nr-pship__phone:hover {
    color: var(--nr-accent-light);
}

.nr-pship__hours {
    font-size: 12px;
    color: #8d949c;
}

/* Category: special-order card */
.nr-card--special {
    border: 1.5px dashed var(--nr-steel);
    background: #f7f8f9;
}

.nr-card__special-art {
    background: repeating-linear-gradient(0deg, transparent 0 23px, #e3e6e9 23px 24px), repeating-linear-gradient(90deg, transparent 0 23px, #e3e6e9 23px 24px), #fff;
}

.nr-card__special-art svg {
    position: absolute;
    width: 74px;
    height: 74px;
    opacity: .55;
    filter: grayscale(1);
}

.nr-card__special-a { left: 18%; top: 22%; }
.nr-card__special-b { right: 16%; top: 16%; }
.nr-card__special-c { left: 40%; bottom: 8%; }

.nr-card__special-q {
    position: relative;
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    background: var(--nr-accent);
    border: 2px solid var(--nr-ink);
    border-radius: 50%;
    font-family: var(--nr-display);
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    box-shadow: 3px 3px 0 var(--nr-ink);
}

.nr-card__special-text {
    margin: 0 14px 12px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--nr-steel);
}

.nr-card__special-cta {
    font-family: var(--nr-display);
    font-size: 19px;
    font-weight: 700;
    color: var(--nr-accent);
    text-transform: uppercase;
}

.nr-card--special:hover .nr-card__special-cta {
    text-decoration: underline;
}

/* Tools category: which key, and why we sell them */
.nr-toolsintro {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 18px 32px;
    margin: 0 0 26px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--nr-mill-dark);
    border-radius: 4px;
}

.nr-toolsintro h2 {
    margin: 2px 0 8px;
    font-family: var(--nr-display);
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
}

.nr-toolsintro__lead p:last-child {
    margin: 0;
    line-height: 1.6;
}

.nr-toolsintro__sizes {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nr-toolsintro__sizes li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 14px;
    background: #f7f8f9;
    border: 1px solid var(--nr-mill-dark);
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--nr-steel);
}

.nr-toolsintro__sizes strong {
    display: block;
    font-family: var(--nr-display);
    font-size: 18px;
    text-transform: uppercase;
    color: var(--nr-ink);
}

.nr-toolsintro__size {
    flex: none;
    min-width: 64px;
    padding: 6px 0;
    background: var(--nr-ink);
    border-radius: 3px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    box-shadow: inset 0 -3px 0 var(--nr-accent);
}

.nr-toolsintro__why {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--nr-mill-dark);
}

.nr-toolsintro__why svg {
    flex: none;
    width: 52px;
    height: 52px;
}

.nr-toolsintro__why p {
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 1279px) {
    .nr-pbuy {
        grid-template-columns: 320px minmax(0, 1fr);
    }

    .nr-pbuy__rail {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        padding: 20px 0 0;
        border-left: 0;
        border-top: 1px solid var(--nr-mill-dark);
    }

    .nr-trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nr-trust li:nth-child(3) {
        border-left: 0;
    }

    .nr-trust li:nth-child(n+3) {
        border-top: 1px solid var(--nr-mill-dark);
    }
}

@media (max-width: 767px) {
    .nr-pbuy,
    .nr-pbuy--norail {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        margin-top: 16px;
        padding: 0 16px;
    }

    .nr-pbuy__title {
        font-size: 32px;
    }

    .nr-pbuy__rail,
    .nr-trust,
    .nr-pship,
    .nr-toolsintro {
        grid-template-columns: minmax(0, 1fr);
    }

    .nr-trust {
        margin: 28px 16px 0;
    }

    .nr-trust li + li {
        border-left: 0;
        border-top: 1px solid var(--nr-mill-dark);
    }

    .nr-pship__scale li {
        grid-template-columns: 56px minmax(0, 1fr) 44px;
    }

    .nr-pship__txt {
        grid-column: 1 / -1;
    }

    .nr-sizes__buyh {
        min-width: 130px;
    }
}

#main button.secondary-button.nr-pbuy__add {
    background: var(--nr-red) !important;
    border-color: var(--nr-red) !important;
    border-radius: 4px;
    font-family: var(--nr-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .02em;
    color: #fff !important;
}

#main button.secondary-button.nr-pbuy__add:hover {
    background: var(--nr-red-dark) !important;
    border-color: var(--nr-red-dark) !important;
}

#main .nr-pbuy__actions .nr-qty {
    border-color: #c3c9cf !important;
}

.nr-sizes th.nr-sizes__buyh {
    text-align: right;
}

.nr-addon__name {
    text-decoration: none;
    font-weight: 600;
    line-height: 1.3;
}

.nr-addon__name:hover {
    color: var(--nr-accent);
    text-decoration: underline;
}

/* ============ Cart + checkout ============ */

.nr-cohead {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 14px var(--nr-gutter);
    background: #0d0e10;
    border-bottom: 3px solid var(--nr-accent);
    color: #c9cdd2;
}

.nr-cohead__logo img {
    width: auto;
    height: 40px;
}

.nr-cohead__steps {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nr-cohead__steps li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--nr-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #6f7781;
}

.nr-cohead__steps li + li::before {
    content: "";
    width: 34px;
    height: 2px;
    margin-right: 6px;
    background: #3a3f45;
}

.nr-cohead__steps a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nr-cohead__steps a:hover {
    color: #fff;
}

.nr-cohead__steps .nr-mono {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    font-size: 12px;
}

.nr-cohead__steps .is-done {
    color: #c9cdd2;
}

.nr-cohead__steps .is-done + li::before,
.nr-cohead__steps .is-done + .is-current::before {
    background: var(--nr-accent);
}

.nr-cohead__steps .is-current {
    color: #fff;
}

.nr-cohead__steps .is-current .nr-mono {
    background: var(--nr-accent);
    border-color: var(--nr-accent);
}

.nr-cohead__end {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.nr-cohead__secure {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #8d949c;
}

.nr-cohead__secure svg,
.nr-card-form__note svg {
    flex: none;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linejoin: round;
}

.nr-cohead__back {
    padding: 7px 14px;
    border: 1.5px solid #4a5058;
    border-radius: 4px;
    font-weight: 600;
    color: #fff;
}

.nr-cohead__back:hover {
    border-color: #fff;
}

.nr-cohead__login span {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.nr-cohead__login span:hover {
    color: var(--nr-accent-light) !important;
}

/* Page body */
.nr-co {
    max-width: 1280px;
    padding-bottom: 60px;
}

.nr-co > .mt-8\.5:has(nav) {
    display: none;
}

.nr-co #steps-container {
    display: grid;
    gap: 18px;
    padding-top: 28px;
}

.nr-co #steps-container > div,
.nr-co #steps-container > .nr-copay {
    margin: 0 !important;
    padding: 6px 24px 22px;
    background: #fff;
    border: 1px solid var(--nr-mill-dark);
    border-radius: 4px;
}

#main .nr-co #steps-container h2,
#main .nr-co h1,
#main .nr-co .text-2xl.font-medium {
    font-family: var(--nr-display) !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: var(--nr-ink) !important;
}

.nr-co #steps-container {
    counter-reset: nrstep;
}

.nr-co #steps-container h2.text-2xl::before,
.nr-coship__title::before,
.nr-copay__title::before {
    counter-increment: nrstep;
    content: counter(nrstep);
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    background: var(--nr-ink);
    border-radius: 3px;
    font-family: var(--nr-mono);
    font-size: 15px;
    color: #fff;
    vertical-align: 3px;
    box-shadow: inset 0 -3px 0 var(--nr-accent);
}

.nr-co input[type="text"],
.nr-co input[type="email"],
.nr-co input[type="tel"],
.nr-co input:not([type]),
.nr-co select,
.nr-co textarea {
    border: 1.5px solid #c3c9cf !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    color: var(--nr-ink) !important;
}

.nr-co input:focus,
.nr-co select:focus,
.nr-co textarea:focus {
    border-color: var(--nr-ink) !important;
    box-shadow: 0 0 0 3px rgba(21, 23, 26, .08) !important;
    outline: none !important;
}

.nr-co label {
    font-weight: 600;
    color: var(--nr-ink);
}

/* Shipping method tiles */
.nr-co label[for*="_"].rounded-xl,
.nr-co .rounded-xl.border {
    border-radius: 4px !important;
    border-color: var(--nr-mill-dark) !important;
}

.nr-co input:checked + label + label,
.nr-co .peer:checked ~ label.rounded-xl {
    border-color: var(--nr-ink) !important;
    box-shadow: inset 0 -3px 0 var(--nr-accent);
}

.nr-co .text-navyBlue,
.nr-co .icon-radio-select {
    color: var(--nr-accent) !important;
}

/* Summary */
.nr-co .sticky.top-8 {
    top: 24px;
    padding-top: 28px;
}

.nr-co .sticky.top-8 > div:first-child,
.nr-co--cart .w-104\.5,
.nr-co--cart .w-\[418px\] {
    padding: 20px 22px !important;
    background: #f7f8f9;
    border: 1px solid var(--nr-mill-dark);
    border-radius: 4px;
}

.nr-co .sticky .primary-button,
.nr-co--cart .primary-button {
    width: 100% !important;
    max-width: none !important;
    margin-top: 14px;
    padding: 16px !important;
    background: var(--nr-accent) !important;
    border-color: var(--nr-accent) !important;
    border-radius: 4px !important;
    font-family: var(--nr-display);
    font-size: 21px !important;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #fff !important;
}

.nr-co .sticky .primary-button:hover,
.nr-co--cart .primary-button:hover {
    background: var(--nr-red-dark) !important;
}

.nr-co .sticky .flex.justify-end {
    display: block;
}

/* Payment and card form */
.nr-copay__title {
    margin: 14px 0 14px;
}

.nr-copay__methods {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.nr-copay__method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1.5px solid var(--nr-mill-dark);
    border-radius: 4px;
    cursor: pointer;
}

.nr-copay__method.is-selected {
    border-color: var(--nr-ink);
}

.nr-copay__method span {
    display: grid;
}

.nr-copay__method small {
    color: var(--nr-steel);
}

.nr-card-form {
    padding: 18px 20px;
    background: #f7f8f9;
    border: 1.5px solid var(--nr-ink);
    border-radius: 4px;
    box-shadow: inset 4px 0 0 var(--nr-accent);
}

.nr-card-form__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.nr-card-form__head strong {
    font-family: var(--nr-display);
    font-size: 20px;
    text-transform: uppercase;
}

.nr-card-form__brands {
    display: flex;
    gap: 6px;
}

.nr-card-form__brands span {
    padding: 3px 8px;
    background: #fff;
    border: 1px solid var(--nr-mill-dark);
    border-radius: 3px;
    font-family: var(--nr-mono);
    font-size: 11px;
    font-weight: 600;
    transition: opacity .15s;
}

.nr-card-form__brands span.is-dim {
    opacity: .3;
}

.nr-card-form__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 14px;
}

.nr-card-form__field {
    display: grid;
    gap: 6px;
    align-content: start;
}

.nr-card-form__field--wide:last-child {
    grid-column: 1 / -1;
}

.nr-card-form__field > span {
    font-size: 14px;
}

.nr-card-form__field input {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    background: #fff;
    font-family: var(--nr-mono);
    font-size: 18px !important;
    letter-spacing: .04em;
}

.nr-card-form__field input#nr-cc-name {
    font-family: var(--nr-body);
    letter-spacing: 0;
}

.nr-card-form__field input.is-invalid {
    border-color: var(--nr-accent) !important;
    background: #fff6f6;
}

.nr-card-form__error {
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    color: var(--nr-accent);
}

.nr-card-form__note {
    display: flex;
    gap: 8px;
    margin: 16px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--nr-steel);
}

.nr-card-form__note svg {
    margin-top: 2px;
    color: #1d6b34;
}

/* Cart page */
.nr-co--cart {
    padding-top: 28px;
}

.nr-co--cart .text-navyBlue,
.nr-co--cart .text-blue-700 {
    color: var(--nr-accent) !important;
}

.nr-co--cart .secondary-button {
    border-radius: 4px !important;
}

@media (max-width: 1023px) {
    .nr-cohead {
        grid-template-columns: auto 1fr;
    }

    .nr-cohead__steps {
        display: none;
    }

    .nr-cohead__end {
        justify-content: flex-end;
    }
}

@media (max-width: 640px) {
    .nr-cohead {
        gap: 12px;
        padding: 12px 16px;
    }

    .nr-cohead__logo img {
        height: 30px;
    }

    .nr-cohead__secure {
        display: none;
    }

    .nr-cohead__end {
        gap: 12px;
    }

    .nr-cohead__back {
        padding: 6px 10px;
        font-size: 13px;
    }

    .nr-co #steps-container > div,
    .nr-co #steps-container > .nr-copay {
        padding: 4px 14px 16px;
    }

    .nr-card-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

#main .nr-co #steps-container h2.text-xl {
    font-size: 19px !important;
    font-weight: 700 !important;
    color: var(--nr-steel) !important;
}

.nr-co .sticky .text-navyBlue,
.nr-co .sticky a.text-navyBlue {
    color: var(--nr-ink) !important;
    font-weight: 600;
}

.nr-co .sticky .text-navyBlue:hover {
    color: var(--nr-accent) !important;
}

/* Cart buttons share one face: condensed, uppercase */
.nr-co .secondary-button,
.nr-co .primary-button,
.nr-cohead__steps li,
.nr-cohead__back {
    font-family: var(--nr-display) !important;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.nr-cohead__back {
    font-size: 15px;
}

.nr-co--cart .secondary-button {
    padding: 12px 26px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}

#main .nr-co .secondary-button,
#main .nr-co .primary-button,
#main .nr-co button.secondary-button,
#main .nr-cohead__login span {
    font-family: var(--nr-display) !important;
    letter-spacing: .03em;
    text-transform: uppercase;
}

#main .nr-cohead__login span {
    font-size: 15px !important;
    font-weight: 700 !important;
}

.nr-cartsum__later {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
}

.nr-cartsum__later p:last-child {
    color: var(--nr-steel);
    font-style: italic;
}

.nr-cartsum__note {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--nr-steel);
}

@media (max-width: 1023px) {
    .nr-pd {
        grid-template-columns: minmax(0, 1fr);
    }

    .nr-pd > section,
    .nr-pd > div {
        min-width: 0;
    }

    .nr-pd .nr-sizes {
        overflow-x: auto;
    }
}

@media (max-width: 767px) {
    .nr-pbuy .nr-pgal img.aspect-square {
        max-width: 100% !important;
        margin: 0 auto;
    }
}

/* Checkout v2: every step panel fully boxed, shipping tiles, plain card form */
.nr-co #steps-container > div,
.nr-co #steps-container > .nr-copay,
.nr-co #steps-container > .nr-coship {
    border: 1px solid var(--nr-mill-dark) !important;
}

.nr-co #steps-container > .nr-coship {
    margin: 0;
    padding: 6px 24px 22px;
    background: #fff;
    border-radius: 4px;
}

#main .nr-co .nr-coship__title,
#main .nr-co .nr-copay__title {
    margin: 14px 0 16px;
    font-family: var(--nr-display) !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    color: var(--nr-ink) !important;
}

.nr-coship__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.nr-ship {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px 16px;
    background: #fff;
    border: 1.5px solid #c3c9cf;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color .12s, box-shadow .12s;
}

.nr-ship:hover {
    border-color: var(--nr-steel);
}

.nr-ship.is-selected {
    border-color: var(--nr-ink);
    box-shadow: inset 0 -4px 0 var(--nr-accent);
}

.nr-ship__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nr-ship:has(.nr-ship__input:focus-visible) {
    outline: 2px solid var(--nr-accent);
    outline-offset: 2px;
}

.nr-ship__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.nr-ship__logo {
    width: auto;
    height: 20px;
}

.nr-ship__radio {
    width: 20px;
    height: 20px;
    border: 2px solid #c3c9cf;
    border-radius: 50%;
}

.nr-ship.is-selected .nr-ship__radio {
    border: 6px solid var(--nr-accent);
}

.nr-ship__name {
    font-family: var(--nr-display);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

.nr-ship__note {
    font-size: 13px;
    line-height: 1.4;
    color: var(--nr-steel);
}

.nr-ship__price {
    margin-top: auto;
    padding-top: 10px;
    font-family: var(--nr-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--nr-ink);
}

/* Card form: same fields as the address step, no extra chrome */
.nr-card-form {
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
}

.nr-card-form__head {
    margin-bottom: 12px;
}

.nr-card-form__head > span:first-child {
    font-size: 16px;
    font-weight: 600;
}

.nr-card-form__brands {
    gap: 6px;
}

.nr-card-form__brands img {
    width: 38px;
    height: 24px;
    border-radius: 3px;
    transition: opacity .15s, filter .15s;
}

.nr-card-form__brands img.is-dim {
    opacity: .25;
    filter: grayscale(1);
}

.nr-card-form__grid {
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 16px;
}

.nr-card-form__field--name {
    grid-column: 1 / -1;
}

.nr-card-form__field > span:first-child {
    font-size: 16px;
    font-weight: 600;
}

.nr-card-form__control {
    position: relative;
    display: block;
}

.nr-card-form__field input {
    height: 48px;
    font-family: var(--nr-body);
    font-size: 17px !important;
    letter-spacing: .02em;
}

.nr-card-form__field--number input {
    padding-right: 44px;
    font-variant-numeric: tabular-nums;
}

.nr-card-form__status {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
}

.nr-card-form__status.is-ok {
    background: #1d6b34;
    border-radius: 50%;
}

.nr-card-form__status.is-ok::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.nr-card-form__field input.is-valid {
    border-color: #1d6b34 !important;
}

.nr-card-form__field input.is-invalid {
    background: #fff;
}

.nr-card-form__note {
    margin-top: 14px;
}

@media (max-width: 900px) {
    .nr-coship__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .nr-ship {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 2px 14px;
    }

    .nr-ship__top {
        grid-row: 1 / 3;
        flex-direction: row-reverse;
        gap: 12px;
        margin: 0;
    }

    .nr-ship__name {
        grid-column: 2;
    }

    .nr-ship__note {
        grid-column: 2;
    }

    .nr-ship__price {
        grid-column: 3;
        grid-row: 1 / 3;
        margin: 0;
        padding: 0;
        font-size: 22px;
    }
}

@media (max-width: 640px) {
    .nr-card-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .nr-co #steps-container > .nr-coship {
        padding: 4px 14px 16px;
    }
}

/* Let every element inherit its font (Bagisto's base layer pins one on each element) */
@layer base {
    *,
    ::before,
    ::after {
        font-family: inherit;
    }

    html {
        font-family: var(--nr-body);
    }
}

.nr-co .sticky button.text-blue-700,
.nr-co .sticky .text-blue-700 {
    color: var(--nr-accent) !important;
    font-weight: 600;
}

/* Shipping: one column per speed, FedEx and UPS stacked in each */
.nr-coship__grid {
    grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
    align-items: start;
}

.nr-coship__tier {
    display: grid;
    gap: 10px;
}

.nr-coship__grid.is-flat {
    display: block;
}

.nr-coship__grid.is-flat .nr-coship__tier {
    grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
}

.nr-coship__tierlabel {
    margin: 0;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--nr-ink);
    font-family: var(--nr-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.nr-ship__logo--ups {
    height: 28px;
}

@media (max-width: 900px) {
    .nr-coship__grid,
    .nr-coship__grid.is-flat .nr-coship__tier {
        grid-template-columns: minmax(0, 1fr);
    }

    .nr-coship__grid {
        gap: 18px;
    }
}

.nr-ship__top {
    height: 30px;
}

/* Department bar: categories left, Tech Library pushed right */
.nr-dept {
    justify-content: flex-start;
}

.nr-dept ul {
    flex: 1;
}

.nr-dept ul li:first-child a {
    padding-left: 0;
}

.nr-dept .nr-dept__guide {
    margin-left: auto;
}

/* Larger logo; three-item tagline */
@media (min-width: 1024px) {
    header.sticky .gap-x-10 > a:first-of-type img {
        height: 70px !important;
    }

    header.sticky .min-h-19\.5 {
        min-height: 88px;
    }
}

@media (min-width: 1180px) {
    .nr-tagline li:nth-child(3) {
        display: list-item;
    }
}

.nr-tagline {
    margin-left: 12px;
    font-size: 16px;
}

/* Tighter header stack */
.nr-topbar {
    padding-top: 4px;
    padding-bottom: 4px;
}

@media (min-width: 1024px) {
    header.sticky .gap-x-10 > a:first-of-type img {
        position: relative;
        top: -3px;
    }
}

.nr-dept ul a {
    padding-top: 5px;
    padding-bottom: 5px;
}

/* Shipping matrix: speeds across, one row per carrier */
.nr-shipgrid {
    display: grid;
    grid-template-columns: 76px repeat(var(--cols, 3), minmax(0, 1fr));
    align-items: stretch;
    gap: 8px 10px;
}

.nr-shipgrid__tier {
    display: grid;
    margin: 0;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--nr-ink);
    line-height: 1.2;
}

.nr-shipgrid__tier strong {
    font-family: var(--nr-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.nr-shipgrid__tier span {
    font-size: 12px;
    color: var(--nr-steel);
}

.nr-shipgrid__carrier {
    display: flex;
    align-items: center;
}

.nr-shipgrid .nr-ship {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
}

.nr-shipgrid .nr-ship__radio {
    flex: none;
}

.nr-ship__body {
    display: grid;
    line-height: 1.15;
}

.nr-shipgrid .nr-ship__price {
    margin: 0;
    padding: 0;
    font-size: 22px;
}

.nr-shipgrid .nr-ship__name {
    font-family: var(--nr-body);
    font-size: 12px;
    font-weight: 500;
    text-transform: none;
    color: var(--nr-steel);
}

.nr-ship.is-empty {
    justify-content: center;
    border-style: dashed;
    font-size: 12px;
    color: #9aa1a9;
    cursor: default;
}

.nr-shipgrid .nr-ship__logo {
    height: 20px;
    width: auto;
}

.nr-shipgrid .nr-ship__logo--ups {
    height: 30px;
}

@media (max-width: 640px) {
    .nr-shipgrid {
        grid-template-columns: 52px repeat(var(--cols, 3), minmax(0, 1fr));
        gap: 6px;
    }

    .nr-shipgrid .nr-ship {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 8px;
    }

    .nr-shipgrid .nr-ship__price {
        font-size: 18px;
    }

    .nr-shipgrid .nr-ship__logo {
        height: 14px;
    }

    .nr-shipgrid .nr-ship__logo--ups {
        height: 24px;
    }

    .nr-shipgrid__tier strong {
        font-size: 14px;
    }
}

.nr-dept ul a {
    padding-top: 9px;
    padding-bottom: 9px;
}

.nr-shipgrid .nr-ship__body > * {
    grid-column: auto;
    grid-row: auto;
}

@media (max-width: 640px) {
    .nr-shipgrid__tier span {
        font-size: 11px;
    }

    .nr-shipgrid .nr-ship__name {
        font-size: 11px;
    }
}

/* ============ Sign in, sign up, password pages ============ */

.nr-auth {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 560px);
    justify-content: center;
    align-items: stretch;
    gap: 0;
    margin: 40px auto 56px;
    padding: 0 var(--nr-gutter);
}

.nr-auth__side {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 34px 32px;
    overflow: hidden;
    background: var(--nr-ink);
    border-radius: 4px 0 0 4px;
    color: #c9cdd2;
    font-size: 15px;
    line-height: 1.55;
}

.nr-auth__side .nr-eyebrow {
    margin: 0;
    color: var(--nr-accent-light);
}

.nr-auth__side h2 {
    margin: 0;
    font-family: var(--nr-display);
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    color: #fff;
}

.nr-auth__side p {
    margin: 0;
}

.nr-auth__perks {
    display: grid;
    gap: 12px;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}

.nr-auth__perks li {
    padding-left: 18px;
    border-left: 3px solid var(--nr-accent);
}

.nr-auth__perks strong {
    display: block;
    font-family: var(--nr-display);
    font-size: 18px;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #fff;
}

.nr-auth__guest {
    font-size: 14px;
    color: #9aa1a9;
}

.nr-auth__help {
    display: grid;
    margin-top: auto !important;
    padding-top: 18px;
    border-top: 1px solid #2b3036;
    font-size: 13px;
}

.nr-auth__help a {
    font-family: var(--nr-display);
    font-size: 26px;
    font-weight: 800;
    color: #fff;
}

.nr-auth__help a:hover {
    color: var(--nr-accent-light);
}

.nr-auth__help span {
    color: #8d949c;
}

.nr-auth__art {
    position: absolute;
    right: -18px;
    bottom: 70px;
    width: 190px;
    height: 190px;
    opacity: .14;
    pointer-events: none;
}

.nr-auth__fit {
    position: absolute;
    width: 96px;
    height: 96px;
}

.nr-auth__fit--a { top: 0; left: 40px; }
.nr-auth__fit--b { top: 70px; left: 0; }
.nr-auth__fit--c { top: 80px; left: 90px; }

.nr-auth__card {
    padding: 36px 40px 32px;
    background: #fff;
    border: 1px solid var(--nr-mill-dark);
    border-left: 0;
    border-radius: 0 4px 4px 0;
}

#main .nr-auth__title {
    margin: 0;
    font-family: var(--nr-display);
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    color: var(--nr-ink);
}

.nr-auth__card > p:first-of-type {
    margin-top: 8px !important;
    font-size: 15px !important;
    color: var(--nr-steel) !important;
}

.nr-auth__card .mt-14 {
    margin-top: 24px !important;
}

.nr-auth__card label {
    font-size: 14px;
    font-weight: 600;
    color: var(--nr-ink);
}

.nr-auth__card input[type="text"],
.nr-auth__card input[type="email"],
.nr-auth__card input[type="password"] {
    height: 48px;
    padding: 0 14px !important;
    border: 1.5px solid #c3c9cf !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    color: var(--nr-ink);
}

.nr-auth__card input:focus {
    border-color: var(--nr-ink) !important;
    box-shadow: 0 0 0 3px rgba(21, 23, 26, .08);
    outline: none;
}

#main .nr-auth__card .primary-button {
    width: 100%;
    max-width: none;
    padding: 14px !important;
    background: var(--nr-accent) !important;
    border-color: var(--nr-accent) !important;
    border-radius: 4px !important;
    font-family: var(--nr-display);
    font-size: 20px !important;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #fff !important;
}

#main .nr-auth__card .primary-button:hover {
    background: var(--nr-red-dark) !important;
}

.nr-auth__card .mt-8 {
    margin-top: 20px !important;
}

.nr-auth__card a[href*="forgot"],
.nr-auth__card .text-navyBlue {
    font-weight: 600;
    color: var(--nr-accent) !important;
}

.nr-auth__card a[href*="forgot"]:hover,
.nr-auth__card .text-navyBlue:hover {
    text-decoration: underline;
}

.nr-auth__card > p:last-child {
    margin-top: 22px !important;
    padding-top: 18px;
    border-top: 1px dashed var(--nr-mill-dark);
    font-size: 15px;
}

@media (max-width: 900px) {
    .nr-auth {
        grid-template-columns: minmax(0, 1fr);
        margin: 20px auto 40px;
        padding: 0 16px;
    }

    .nr-auth__card {
        order: -1;
        padding: 26px 20px;
        border-left: 1px solid var(--nr-mill-dark);
        border-radius: 4px 4px 0 0;
    }

    .nr-auth__side {
        padding: 26px 20px;
        border-radius: 0 0 4px 4px;
    }

    .nr-auth__side h2 {
        font-size: 30px;
    }
}

.nr-auth__card form:has(input[name="first_name"]) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
}

.nr-auth__card form:has(input[name="first_name"]) > * {
    grid-column: 1 / -1;
}

.nr-auth__card form:has(input[name="first_name"]) > :has(input[name="first_name"]),
.nr-auth__card form:has(input[name="first_name"]) > :has(input[name="last_name"]) {
    grid-column: span 1;
}

@media (max-width: 480px) {
    .nr-auth__card form:has(input[name="first_name"]) > * {
        grid-column: 1 / -1 !important;
    }
}

/* ============ Customer account ============ */

.nr-acct {
    padding-bottom: 56px;
}

.nr-acctnav {
    flex: none;
    width: 280px;
    background: #fff;
    border: 1px solid var(--nr-mill-dark);
    border-radius: 4px;
    overflow: hidden;
}

.nr-acctnav__who {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    background: var(--nr-ink);
    color: #c9cdd2;
}

.nr-acctnav__who > span:last-child {
    display: grid;
    min-width: 0;
    line-height: 1.3;
}

.nr-acctnav__initials {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    background: var(--nr-accent);
    border-radius: 3px;
    font-family: var(--nr-display);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.nr-acctnav__label {
    font-family: var(--nr-mono);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #8d949c;
}

.nr-acctnav__who strong {
    font-family: var(--nr-display);
    font-size: 20px;
    text-transform: uppercase;
    color: #fff;
}

.nr-acctnav__email {
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nr-acctnav ul {
    margin: 0;
    padding: 6px 0;
    list-style: none;
}

.nr-acctnav a,
.nr-acctnav button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 18px;
    border-left: 4px solid transparent;
    font-family: var(--nr-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .03em;
    text-align: left;
    text-transform: uppercase;
    color: var(--nr-ink);
    cursor: pointer;
}

.nr-acctnav a:hover,
.nr-acctnav button:hover {
    background: #f4f5f7;
}

.nr-acctnav a[aria-current="page"] {
    background: #f4f5f7;
    border-left-color: var(--nr-accent);
}

.nr-acctnav a span,
.nr-acctnav button span {
    font-size: 22px;
    color: var(--nr-steel);
}

.nr-acctnav li:last-child {
    margin-top: 6px;
    border-top: 1px solid var(--nr-mill);
}

.nr-acctnav button {
    color: var(--nr-steel);
}

.nr-acctnav__help {
    display: grid;
    margin: 0;
    padding: 14px 18px;
    background: #f7f8f9;
    border-top: 1px solid var(--nr-mill-dark);
    font-size: 13px;
    color: var(--nr-steel);
}

.nr-acctnav__help a {
    display: inline;
    width: auto;
    padding: 0;
    border: 0;
    font-size: 22px;
    color: var(--nr-ink);
}

.nr-acctnav__help a:hover {
    background: none;
    color: var(--nr-accent);
}

/* Content area */
.nr-acct > .mt-8 {
    margin-top: 20px;
    gap: 32px;
}

#main .nr-acct h2.text-2xl,
#main .nr-acct .text-2xl.font-medium {
    font-family: var(--nr-display) !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    color: var(--nr-ink) !important;
}

.nr-acct .rounded-xl,
.nr-acct .rounded-2xl,
.nr-acct .rounded-lg {
    border-radius: 4px !important;
}

.nr-acct .border-zinc-200 {
    border-color: var(--nr-mill-dark) !important;
}

.nr-acct .bg-zinc-100,
.nr-acct .bg-gray-100 {
    background: #f4f5f7 !important;
}

.nr-acct .text-navyBlue,
.nr-acct .text-blue-700 {
    color: var(--nr-accent) !important;
}

.nr-acct .bg-navyBlue {
    background: var(--nr-ink) !important;
}

.nr-acct input[type="text"],
.nr-acct input[type="email"],
.nr-acct input[type="tel"],
.nr-acct input[type="password"],
.nr-acct input[type="date"],
.nr-acct select,
.nr-acct textarea {
    border: 1.5px solid #c3c9cf !important;
    border-radius: 4px !important;
    font-size: 16px !important;
}

.nr-acct input:focus,
.nr-acct select:focus,
.nr-acct textarea:focus {
    border-color: var(--nr-ink) !important;
    box-shadow: 0 0 0 3px rgba(21, 23, 26, .08) !important;
}

#main .nr-acct .primary-button {
    background: var(--nr-accent) !important;
    border-color: var(--nr-accent) !important;
    border-radius: 4px !important;
    font-family: var(--nr-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #fff !important;
}

@media (max-width: 767px) {
    .nr-acct > .mt-8 {
        gap: 20px;
    }

    .nr-acctnav {
        width: 100%;
    }

    .nr-acctnav ul {
        display: flex;
        flex-wrap: wrap;
        padding: 0;
    }

    .nr-acctnav li {
        flex: 1 1 auto;
    }

    .nr-acctnav li:last-child {
        margin: 0;
        border-top: 0;
    }

    .nr-acctnav a,
    .nr-acctnav button {
        justify-content: center;
        padding: 12px 10px;
        border-left: 0;
        border-bottom: 3px solid transparent;
        font-size: 15px;
    }

    .nr-acctnav a[aria-current="page"] {
        border-bottom-color: var(--nr-accent);
    }

    .nr-acctnav a span,
    .nr-acctnav button span {
        display: none;
    }

    .nr-acctnav__help {
        display: none;
    }
}

.nr-acct .label-pending {
    background: var(--nr-ink) !important;
    border-radius: 3px;
    font-family: var(--nr-mono);
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff !important;
}

#main .nr-acct div.primary-button:has(+ div.md\:hidden),
#main .nr-acct .primary-button[class*="px-11"]:not(button) {
    background: #fff !important;
    border: 1.5px solid #c3c9cf !important;
    font-size: 15px;
    color: var(--nr-steel) !important;
}

#main .nr-acct div.primary-button:has(+ div.md\:hidden):hover {
    border-color: var(--nr-accent) !important;
    color: var(--nr-accent) !important;
}

/* ============ Order confirmation ============ */

.nr-done {
    max-width: 760px;
    margin: 44px auto 64px;
    padding: 0 var(--nr-gutter);
}

.nr-done__head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.nr-done__check {
    position: relative;
    flex: none;
    width: 56px;
    height: 56px;
    background: #1d6b34;
    border-radius: 4px;
}

.nr-done__check::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 10px;
    width: 14px;
    height: 26px;
    border: solid #fff;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
}

.nr-done__head .nr-eyebrow {
    margin: 0;
}

.nr-done h1 {
    margin: 4px 0 8px;
    font-family: var(--nr-display);
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.nr-done__head p:last-child {
    margin: 0;
    color: var(--nr-steel);
}

.nr-done__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: nrdone;
    background: #fff;
    border: 1px solid var(--nr-mill-dark);
    border-radius: 4px;
}

.nr-done__steps li {
    display: grid;
    align-content: start;
    gap: 4px;
    padding: 18px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--nr-steel);
}

.nr-done__steps li + li {
    border-left: 1px solid var(--nr-mill-dark);
}

.nr-done__steps li::before {
    counter-increment: nrdone;
    content: counter(nrdone);
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-bottom: 6px;
    background: var(--nr-ink);
    border-radius: 3px;
    font-family: var(--nr-mono);
    font-size: 14px;
    color: #fff;
    box-shadow: inset 0 -3px 0 var(--nr-accent);
}

.nr-done__steps strong {
    font-family: var(--nr-display);
    font-size: 18px;
    text-transform: uppercase;
    color: var(--nr-ink);
}

.nr-done__note {
    margin: 18px 0 0;
    padding: 14px 16px;
    background: #f7f8f9;
    border-radius: 4px;
}

.nr-done__account {
    margin-top: 18px;
    padding: 16px 18px;
    background: #f7f8f9;
    border: 1px solid var(--nr-mill-dark);
    border-left: 4px solid var(--nr-accent);
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.55;
}

.nr-done__account .nr-eyebrow {
    margin: 0 0 4px;
}

.nr-done__account p:last-child {
    margin: 0;
}

.nr-done__account a,
.nr-done__help a {
    font-weight: 600;
    color: var(--nr-accent);
    text-decoration: underline;
}

.nr-done__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.nr-btn--ghost {
    background: #fff !important;
    border: 2px solid var(--nr-ink) !important;
    color: var(--nr-ink) !important;
}

.nr-btn--ghost:hover {
    background: var(--nr-ink) !important;
    color: #fff !important;
}

.nr-done__help {
    margin-top: 22px;
    font-size: 14px;
    color: var(--nr-steel);
}

@media (max-width: 767px) {
    .nr-done h1 {
        font-size: 32px;
    }

    .nr-done__steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .nr-done__steps li + li {
        border-left: 0;
        border-top: 1px solid var(--nr-mill-dark);
    }
}

/* ============ Header size card (replaces search) ============ */

.nr-sizecard {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 8px 6px 12px;
    background: #1d2024;
    border: 1px solid #3a3f45;
    border-radius: 4px;
}

.nr-sizecard__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--nr-display);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #c9cdd2;
    white-space: nowrap;
}

.nr-sizecard__label svg {
    width: 26px;
    height: 26px;
}

.nr-sizecard__label:hover {
    color: #fff;
}

.nr-sizecard ul {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nr-sizecard ul a {
    display: grid;
    place-items: center;
    min-width: 58px;
    height: 40px;
    padding: 0 10px;
    background: var(--nr-alu);
    border: 1px solid #8d949c;
    border-radius: 3px;
    font-family: var(--nr-mono);
    font-size: 15px;
    font-weight: 700;
    color: var(--nr-ink);
    white-space: nowrap;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12);
    transition: transform .1s, box-shadow .1s;
}

.nr-sizecard ul a:hover {
    box-shadow: inset 0 -3px 0 var(--nr-accent);
    transform: translateY(-1px);
}

.nr-sizecard ul a[aria-current="page"] {
    background: var(--nr-accent);
    border-color: var(--nr-accent);
    color: #fff;
    box-shadow: none;
}

@media (max-width: 1279px) {
    .nr-sizecard__label span {
        display: none;
    }

    .nr-sizecard ul a {
        min-width: 50px;
        font-size: 14px;
    }
}

@media (max-width: 1023px) {
    .nr-sizecard {
        width: 100%;
        margin-top: 10px;
        padding: 6px;
    }

    .nr-sizecard__label span {
        display: inline;
        font-size: 11px;
    }

    .nr-sizecard ul {
        flex: 1;
    }

    .nr-sizecard ul li {
        flex: 1;
    }

    .nr-sizecard ul a {
        min-width: 0;
        height: 38px;
        padding: 0 4px;
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .nr-sizecard__label {
        display: none;
    }
}

/* ============ Shop by size page ============ */

.nr-bysize {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px var(--nr-gutter) 60px;
}

.nr-bysize__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--nr-ink);
}

.nr-bysize__head .nr-eyebrow {
    margin: 0;
}

.nr-bysize__head h1 {
    margin: 4px 0 6px;
    font-family: var(--nr-display);
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.nr-bysize__head p:last-child {
    margin: 0;
    color: var(--nr-steel);
}

.nr-sizepick {
    display: flex;
    gap: 6px;
}

.nr-sizepick a {
    display: grid;
    place-items: center;
    min-width: 62px;
    height: 46px;
    padding: 0 12px;
    background: #fff;
    border: 1.5px solid #c3c9cf;
    border-radius: 4px;
    font-family: var(--nr-mono);
    font-size: 16px;
    font-weight: 700;
}

.nr-sizepick a:hover {
    border-color: var(--nr-ink);
}

.nr-sizepick a[aria-current="page"] {
    background: var(--nr-ink);
    border-color: var(--nr-ink);
    color: #fff;
    box-shadow: inset 0 -4px 0 var(--nr-accent);
}

.nr-bysize__group {
    margin-top: 30px;
}

.nr-bysize__group h2 {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0 0 10px;
    font-family: var(--nr-display);
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
}

.nr-bysize__group h2 .nr-mono {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--nr-steel);
}

.nr-bysize__note {
    margin: -4px 0 10px;
    font-size: 14px;
    color: var(--nr-steel);
}

.nr-bysize__note a {
    font-weight: 600;
    color: var(--nr-accent);
    text-decoration: underline;
}

.nr-bysize__list {
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--nr-mill-dark);
    border-radius: 4px;
}

.nr-bysize__row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 90px 90px 150px;
    align-items: center;
    gap: 16px;
    padding: 10px 14px;
}

.nr-bysize__row + .nr-bysize__row {
    border-top: 1px solid var(--nr-mill);
}

.nr-bysize__row:hover {
    background: #fafbfb;
}

.nr-bysize__thumb {
    display: block;
    width: 64px;
    height: 64px;
    overflow: hidden;
    background: #f1f3f5;
    border-radius: 3px;
}

.nr-bysize__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nr-bysize__name {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.nr-bysize__name a {
    font-family: var(--nr-display);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
}

.nr-bysize__name a:hover {
    color: var(--nr-accent);
}

.nr-bysize__fig {
    display: inline-block;
    margin-right: 4px;
    padding: 0 6px;
    background: var(--nr-accent);
    border-radius: 3px;
    font-size: 13px;
    color: #fff;
    vertical-align: 2px;
}

.nr-bysize__meta {
    font-size: 12px;
    color: var(--nr-steel);
}

.nr-bysize__price {
    font-family: var(--nr-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--nr-accent);
    text-align: right;
}

.nr-bysize__row .nr-stock {
    font-size: 12px;
}

.nr-bysize__row .nr-qadd--row,
.nr-bysize__row .nr-sizes__call {
    justify-self: end;
}

.nr-bysize__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
    padding: 16px 20px;
    border: 2px dashed var(--nr-steel);
    border-radius: 4px;
    font-size: 15px;
}

.nr-bysize__foot p {
    margin: 0;
}

.nr-bysize__foot p a {
    font-weight: 600;
    color: var(--nr-accent);
    text-decoration: underline;
}

@media (max-width: 767px) {
    .nr-bysize {
        padding: 20px 16px 40px;
    }

    .nr-bysize__head h1 {
        font-size: 36px;
    }

    .nr-sizepick {
        width: 100%;
    }

    .nr-sizepick a {
        flex: 1;
        min-width: 0;
        padding: 0 4px;
        font-size: 14px;
    }

    .nr-bysize__row {
        grid-template-columns: 52px minmax(0, 1fr) auto;
        grid-template-areas:
            "thumb name price"
            "thumb stock buy";
        gap: 6px 12px;
    }

    .nr-bysize__thumb {
        grid-area: thumb;
        width: 52px;
        height: 52px;
    }

    .nr-bysize__name {
        grid-area: name;
    }

    .nr-bysize__price {
        grid-area: price;
        font-size: 19px;
    }

    .nr-bysize__row .nr-stock {
        grid-area: stock;
    }

    .nr-bysize__row .nr-qadd--row,
    .nr-bysize__row .nr-sizes__call {
        grid-area: buy;
    }

    .nr-bysize__name a {
        font-size: 16px;
    }
}

/* ============ Empty cart ============ */

.nr-emptycart {
    display: grid;
    place-items: center;
    padding: 56px 0 72px;
}

.nr-emptycart--mini {
    padding: 40px 0;
}

.nr-empty-cart {
    display: grid;
    justify-items: center;
    gap: 10px;
    max-width: 440px;
    text-align: center;
}

.nr-empty-cart__art {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    margin-bottom: 4px;
    background: #f4f5f7;
    border: 2px dashed #c3c9cf;
    border-radius: 50%;
}

.nr-empty-cart__art svg {
    width: 62px;
    height: 62px;
}

.nr-empty-cart__title {
    margin: 0;
    font-family: var(--nr-display);
    font-size: 30px;
    font-weight: 800;
    text-transform: uppercase;
}

.nr-empty-cart__text {
    margin: 0;
    color: var(--nr-steel);
}

.nr-empty-cart__sizes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 8px 0 4px;
    padding: 0;
    list-style: none;
}

.nr-empty-cart__sizes a {
    display: grid;
    place-items: center;
    min-width: 60px;
    height: 44px;
    padding: 0 12px;
    background: #fff;
    border: 1.5px solid #c3c9cf;
    border-radius: 4px;
    font-family: var(--nr-mono);
    font-size: 15px;
    font-weight: 700;
}

.nr-empty-cart__sizes a:hover {
    background: var(--nr-ink);
    border-color: var(--nr-ink);
    color: #fff;
}

.nr-empty-cart__link {
    font-weight: 600;
    color: var(--nr-accent);
}

.nr-empty-cart__link:hover {
    text-decoration: underline;
}

/* ============ Hero: selling points and uses ============ */

.nr-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 22px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.nr-facts li {
    display: grid;
    gap: 2px;
    padding-left: 14px;
    border-left: 3px solid var(--nr-accent);
    font-size: 14px;
    line-height: 1.45;
    color: var(--nr-steel);
}

.nr-facts strong {
    font-family: var(--nr-display);
    font-size: 18px;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--nr-ink);
}

.nr-uses {
    margin-top: 22px;
}

.nr-uses__label {
    margin: 0 0 8px;
    font-family: var(--nr-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--nr-steel);
}

.nr-uses ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nr-uses li {
    padding: 4px 10px;
    background: #f1f3f5;
    border: 1px solid var(--nr-mill-dark);
    border-radius: 3px;
    font-size: 14px;
    color: var(--nr-ink);
}

.nr-hero__cta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 22px;
    margin-top: 26px;
}

.nr-hero__link {
    font-weight: 600;
    color: var(--nr-accent);
}

.nr-hero__link:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .nr-facts {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Size card: round pipe ends, scaled to the pipe size */
.nr-sizecard ul {
    align-items: center;
    gap: 8px;
}

.nr-sizecard ul a {
    --d: calc(44px + var(--s, 2) * 4px);
    width: var(--d);
    min-width: 0;
    height: var(--d);
    padding: 0;
    background:
        radial-gradient(circle at 50% 50%, #ffffff 0 52%, #8d949c 53% 55%, transparent 56%),
        radial-gradient(circle at 35% 30%, #f7f8f9, #c3c9cf 60%, #8d949c 100%);
    border: 1px solid #5b6470;
    border-radius: 50%;
    font-size: 12px;
    letter-spacing: -.02em;
    box-shadow: 0 2px 0 rgba(0, 0, 0, .35);
}

.nr-sizecard ul a:hover {
    box-shadow: 0 0 0 2px var(--nr-accent), 0 2px 0 rgba(0, 0, 0, .35);
    transform: translateY(-1px);
}

.nr-sizecard ul a[aria-current="page"] {
    background:
        radial-gradient(circle at 50% 50%, var(--nr-accent) 0 52%, #8e0e15 53% 55%, transparent 56%),
        radial-gradient(circle at 35% 30%, #f7f8f9, #c3c9cf 60%, #8d949c 100%);
    color: #fff;
}

@media (max-width: 1279px) {
    .nr-sizecard ul a {
        --d: calc(40px + var(--s, 2) * 3px);
        font-size: 11px;
    }
}

@media (max-width: 1023px) {
    .nr-sizecard ul {
        justify-content: space-around;
    }

    .nr-sizecard ul li {
        flex: none;
    }

    .nr-sizecard ul a {
        --d: calc(40px + var(--s, 2) * 3px);
        height: var(--d);
        padding: 0;
        font-size: 11px;
    }
}

.nr-sizecard ul a {
    --d: calc(48px + var(--s, 2) * 4px);
    background:
        radial-gradient(circle at 50% 50%, #ffffff 0 64%, #8d949c 65% 67%, transparent 68%),
        radial-gradient(circle at 35% 30%, #f7f8f9, #c3c9cf 60%, #8d949c 100%);
    font-size: 11.5px;
    letter-spacing: -.04em;
}

.nr-sizecard ul a[aria-current="page"] {
    background:
        radial-gradient(circle at 50% 50%, var(--nr-accent) 0 64%, #8e0e15 65% 67%, transparent 68%),
        radial-gradient(circle at 35% 30%, #f7f8f9, #c3c9cf 60%, #8d949c 100%);
}

@media (max-width: 1023px) {
    .nr-sizecard ul a {
        --d: calc(44px + var(--s, 2) * 3px);
        font-size: 10.5px;
    }
}

/* Size card v3: no panel, smaller pipe ends, stacked fractions */
.nr-sizecard {
    gap: 10px;
    padding: 0;
    background: none;
    border: 0;
}

.nr-sizecard ul {
    gap: 6px;
}

.nr-sizecard ul a {
    --d: calc(38px + var(--s, 2) * 3.5px);
    letter-spacing: 0;
}

.nr-frac {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    font-family: var(--nr-display);
    font-weight: 700;
    line-height: 1;
}

.nr-frac__whole {
    font-size: 17px;
}

.nr-frac__part {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    font-size: 9.5px;
    line-height: .95;
}

.nr-frac__part sup,
.nr-frac__part sub {
    position: static;
    font-size: inherit;
    vertical-align: baseline;
}

.nr-frac__part sup {
    padding-bottom: 1px;
    border-bottom: 1px solid currentColor;
}

.nr-frac__part sub {
    padding-top: 1px;
}

.nr-frac__in {
    align-self: flex-start;
    margin-top: 1px;
    font-size: 10px;
}

@media (max-width: 1279px) {
    .nr-sizecard ul a {
        --d: calc(36px + var(--s, 2) * 3px);
    }
}

@media (max-width: 1023px) {
    .nr-sizecard {
        margin-top: 8px;
    }

    .nr-sizecard ul a {
        --d: calc(38px + var(--s, 2) * 3px);
    }
}

.nr-frac__part {
    display: inline-grid;
    grid-auto-rows: auto;
    justify-items: center;
    margin-left: 1px;
    font-size: 10px;
    line-height: 1;
}

.nr-frac__num {
    display: block;
    padding: 0 1px 1px;
    border-bottom: 1.5px solid currentColor;
}

.nr-frac__den {
    display: block;
    padding-top: 1px;
}

.nr-frac__whole {
    font-size: 18px;
}

/* ============ Mini cart drawer ============ */

.nr-mini__title {
    margin: 0;
    font-family: var(--nr-display);
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
}

.nr-mini__qty {
    border: 1.5px solid #c3c9cf !important;
    border-radius: 4px !important;
}

.nr-mini__remove {
    font-size: 14px;
    font-weight: 600;
    color: var(--nr-steel);
}

.nr-mini__remove:hover {
    color: var(--nr-accent);
    text-decoration: underline;
}

.nr-mini__checkout {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--nr-accent);
    border-radius: 4px;
    font-family: var(--nr-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .03em;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
}

.nr-mini__checkout:hover {
    background: var(--nr-red-dark);
    color: #fff;
}

.nr-mini__view {
    text-align: center;
}

.nr-mini__view a {
    display: inline-block;
    padding: 8px;
    font-family: var(--nr-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--nr-ink);
}

.nr-mini__view a:hover {
    color: var(--nr-accent);
}

.nr-pd__intro {
    margin: 32px var(--nr-gutter) 0;
}

.nr-pd__intro .nr-toolsintro {
    margin: 0;
}

.nr-pd__intro + .nr-pd {
    margin-top: 32px;
}

/* Backorder: orderable, ships when restocked */
.nr-stock--back,
.nr-card__stock.is-back {
    font-weight: 600;
    color: #8a5a00;
}

.nr-toolsintro__lead p + p {
    margin-top: 10px;
}

.nr-stock--back small,
.nr-card__stock.is-back small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--nr-steel);
    white-space: nowrap;
}

/* ============ Home: compact shop by type / size ============ */

.nr-quick {
    display: grid;
    gap: 12px;
    margin: 0 var(--nr-gutter);
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--nr-mill-dark);
    border-radius: 4px;
}

.nr-quick__row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.nr-quick__row + .nr-quick__row {
    padding-top: 12px;
    border-top: 1px dashed var(--nr-mill-dark);
}

.nr-quick__label {
    flex: none;
    width: 140px;
    margin: 0;
    font-family: var(--nr-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--nr-steel);
}

.nr-quick__types,
.nr-quick__sizes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nr-quick__types a {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 12px 0 6px;
    background: #f4f5f7;
    border: 1px solid var(--nr-mill-dark);
    border-radius: 4px;
    font-family: var(--nr-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.nr-quick__types a:hover {
    background: #fff;
    border-color: var(--nr-ink);
    box-shadow: inset 0 -3px 0 var(--nr-accent);
}

.nr-quick__types svg {
    width: 26px;
    height: 26px;
}

.nr-quick__sizes a {
    --d: calc(38px + var(--s, 2) * 3.5px);
    display: grid;
    place-items: center;
    width: var(--d);
    height: var(--d);
    background:
        radial-gradient(circle at 50% 50%, #ffffff 0 64%, #8d949c 65% 67%, transparent 68%),
        radial-gradient(circle at 35% 30%, #f7f8f9, #c3c9cf 60%, #8d949c 100%);
    border: 1px solid #5b6470;
    border-radius: 50%;
    color: var(--nr-ink);
    box-shadow: 0 2px 0 rgba(0, 0, 0, .2);
    transition: transform .1s, box-shadow .1s;
}

.nr-quick__sizes a:hover {
    box-shadow: 0 0 0 2px var(--nr-accent), 0 2px 0 rgba(0, 0, 0, .2);
    transform: translateY(-1px);
}

.nr-quick__more {
    margin-left: auto;
    font-size: 14px;
    font-weight: 600;
    color: var(--nr-accent);
}

.nr-quick__more:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .nr-quick {
        margin: 0 16px;
        padding: 14px;
    }

    .nr-quick__label {
        width: 100%;
    }

    .nr-quick__types a {
        height: 34px;
        font-size: 14px;
    }

    .nr-quick__more {
        margin-left: 0;
    }
}

/* Call for price (items without a price yet) */
.nr-pbuy__price .final-price.is-call,
.nr-callprice,
.nr-card__call {
    font-family: var(--nr-display);
    font-weight: 700;
    color: var(--nr-ink) !important;
}

.nr-pbuy__price .final-price.is-call {
    font-size: 30px;
}

.nr-callprice {
    font-size: 15px;
}

.nr-card__price .nr-card__call {
    margin: 0;
    font-size: 18px;
}

.nr-pbuy__call {
    margin: 12px 0 0;
    padding: 10px 14px;
    background: #f7f8f9;
    border-left: 3px solid var(--nr-accent);
    font-size: 14px;
}

.nr-pbuy__call a {
    font-weight: 700;
    color: var(--nr-accent);
}

/* ============ Hero example slideshow ============ */

.nr-slides {
    display: grid;
    gap: 10px;
}

.nr-slide.is-active {
    animation: nr-slide-in .45s ease both;
}

@keyframes nr-slide-in {
    from {
        opacity: 0;
    }
}

.nr-slides__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.nr-slides__tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: #fff;
    border: 1px solid var(--nr-mill-dark);
    border-radius: 4px;
}

.nr-slides__tabs button {
    padding: 6px 14px;
    border-radius: 3px;
    font-family: var(--nr-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--nr-steel);
    cursor: pointer;
}

.nr-slides__tabs button:hover {
    color: var(--nr-ink);
}

.nr-slides__tabs button[aria-selected="true"] {
    background: var(--nr-ink);
    color: #fff;
    box-shadow: inset 0 -3px 0 var(--nr-accent);
}

.nr-slides__arrow {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    background: #fff;
    border: 1px solid var(--nr-mill-dark);
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    color: var(--nr-ink);
    cursor: pointer;
}

.nr-slides__arrow:hover {
    border-color: var(--nr-ink);
}

@media (prefers-reduced-motion: reduce) {
    .nr-slide.is-active {
        animation: none;
    }
}

@media (max-width: 640px) {
    .nr-slides__tabs button {
        padding: 6px 8px;
        font-size: 13px;
    }

    .nr-slides__arrow {
        display: none;
    }
}

/* Slideshow selector: plain text and arrows */
.nr-slides__tabs {
    gap: 18px;
    padding: 0;
    background: none;
    border: 0;
}

.nr-slides__tabs button {
    padding: 4px 0;
    border-radius: 0;
    border-bottom: 2px solid transparent;
}

.nr-slides__tabs button[aria-selected="true"] {
    background: none;
    color: var(--nr-ink);
    border-bottom-color: var(--nr-accent);
    box-shadow: none;
}

.nr-slides__arrow {
    width: auto;
    height: auto;
    padding: 0 6px;
    background: none;
    border: 0;
    border-radius: 0;
    font-size: 26px;
    color: var(--nr-steel);
}

.nr-slides__arrow:hover {
    color: var(--nr-accent);
}

@media (max-width: 640px) {
    .nr-slides__tabs {
        gap: 12px;
    }

    .nr-slides__arrow {
        display: grid;
    }
}

.nr-slides__nav {
    align-items: center;
}

.nr-slides__arrow {
    display: inline-flex;
    align-items: center;
    height: 28px;
    font-size: 24px;
    line-height: 1;
    transform: translateY(-2px);
}

.nr-slides__tabs button {
    line-height: 20px;
}

/* Home quick shop: centered rows, larger size circles */
.nr-quick__row {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.nr-quick__label {
    width: auto;
    text-align: center;
}

.nr-quick__types,
.nr-quick__sizes {
    justify-content: center;
}

.nr-quick__sizes {
    gap: 10px;
}

.nr-quick__sizes a {
    --d: calc(46px + var(--s, 2) * 4.5px);
}

.nr-quick__sizes .nr-frac__whole {
    font-size: 21px;
}

.nr-quick__sizes .nr-frac__part {
    font-size: 11.5px;
}

.nr-quick__more {
    margin-left: 0;
}

.nr-slides__arrow {
    transform: none;
}

.nr-quick__sizes a {
    --d: calc(54px + var(--s, 2) * 5px);
}

.nr-quick__sizes .nr-frac__whole {
    font-size: 24px;
}

.nr-quick__sizes .nr-frac__part {
    font-size: 13px;
}

/* Shop by size: larger product photos */
.nr-bysize__row {
    grid-template-columns: 128px minmax(0, 1fr) 90px 110px 150px;
}

.nr-bysize__thumb {
    width: 128px;
    height: 128px;
}

.nr-bysize__name a {
    font-size: 22px;
}

@media (max-width: 767px) {
    .nr-bysize__row {
        grid-template-columns: 96px minmax(0, 1fr) auto;
    }

    .nr-bysize__thumb {
        width: 96px;
        height: 96px;
    }
}

@media (max-width: 767px) {
    .nr-bysize__row {
        grid-template-columns: 88px minmax(0, 1fr) auto;
    }

    .nr-bysize__thumb {
        width: 88px;
        height: 88px;
    }

    .nr-bysize__name a {
        font-size: 16px;
    }
}

.nr-quick__sizes {
    gap: 14px;
}

.nr-quick__sizes a {
    --d: calc(68px + var(--s, 2) * 6px);
}

.nr-quick__sizes .nr-frac__whole {
    font-size: 30px;
}

.nr-quick__sizes .nr-frac__part {
    font-size: 16px;
}

.nr-quick__sizes .nr-frac__in {
    font-size: 14px;
}

@media (max-width: 480px) {
    .nr-quick__sizes {
        gap: 8px;
    }

    .nr-quick__sizes a {
        --d: calc(50px + var(--s, 2) * 3.5px);
    }

    .nr-quick__sizes .nr-frac__whole {
        font-size: 22px;
    }

    .nr-quick__sizes .nr-frac__part {
        font-size: 12px;
    }
}

/* Site credit */
.nr-foot__credit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    font-size: 11px;
    letter-spacing: .02em;
    color: #6b737c;
}

.nr-foot__credit img {
    width: auto;
    height: 16px;
    opacity: .55;
    filter: grayscale(1);
    transition: opacity .2s, filter .2s;
}

.nr-foot__credit:hover {
    color: #9aa1a9;
}

.nr-foot__credit:hover img {
    opacity: 1;
    filter: none;
}

.nr-foot__base .nr-foot__legal {
    flex-basis: 100%;
}

/* Footer base: larger copyright and credit */
.nr-foot__base {
    font-size: 14px;
    color: #8d949c;
}

.nr-foot__base .nr-foot__legal {
    font-size: 12.5px;
    line-height: 1.5;
}

.nr-foot__credit {
    gap: 10px;
    font-size: 13px;
    color: #7c838b;
}

.nr-foot__credit img {
    height: 22px;
    opacity: .7;
}

.nr-foot__base {
    font-size: 15px;
}

.nr-foot__credit {
    font-size: 14px;
}

.nr-foot__credit img {
    height: 26px;
}

/* Footer base: two columns */
.nr-foot__base {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px 40px;
}

.nr-foot__notice {
    display: grid;
    gap: 6px;
}

.nr-foot__credit {
    margin-left: 0;
    padding-left: 40px;
    border-left: 1px solid #26282c;
    align-self: stretch;
}

@media (max-width: 767px) {
    .nr-foot__base {
        grid-template-columns: minmax(0, 1fr);
    }

    .nr-foot__credit {
        padding: 14px 0 0;
        border-left: 0;
        border-top: 1px solid #26282c;
    }
}

.nr-foot__credit img,
.nr-foot__credit:hover img {
    opacity: 1;
    filter: none;
}

/* ============ Mobile menu drawer ============ */

.nr-mdrawer .bg-white {
    background: var(--nr-mill);
}

.nr-mdrawer .flex.h-full.flex-col > div:first-child {
    position: relative;
    padding: 18px 20px;
    background: var(--nr-ink);
    border-bottom: 3px solid var(--nr-red);
}

.nr-mdrawer .flex.h-full.flex-col > div:first-child img {
    width: 150px;
    height: auto;
}

.nr-mdrawer .icon-cancel {
    color: #fff;
}

.nr-mdrawer .flex.h-full.flex-col > div:first-child > .absolute {
    top: 50%;
    transform: translateY(-50%);
}

.nr-mmenu {
    padding: 16px 16px 32px;
    color: var(--nr-ink);
}

.nr-mmenu a {
    color: var(--nr-ink);
}

.nr-mmenu__account {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: var(--nr-plate);
    border: 1px solid var(--nr-mill-dark);
    border-radius: 6px;
}

.nr-mmenu__account .icon-users {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: none;
    font-size: 22px;
    color: #fff;
    background: var(--nr-ink);
    border-radius: 50%;
}

.nr-mmenu__account strong {
    display: block;
    font-family: var(--nr-display);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.nr-mmenu__account small {
    display: block;
    font-size: 14px;
    color: var(--nr-steel);
}

.nr-mmenu__label {
    margin: 22px 4px 8px;
    font-family: var(--nr-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--nr-steel);
}

.nr-mmenu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nr-mmenu__depts {
    background: var(--nr-plate);
    border: 1px solid var(--nr-mill-dark);
    border-radius: 6px;
    overflow: hidden;
}

.nr-mmenu__depts > li + li {
    border-top: 1px solid var(--nr-mill);
}

.nr-mmenu__depts summary {
    display: flex;
    align-items: stretch;
    list-style: none;
    cursor: pointer;
}

.nr-mmenu__depts summary::-webkit-details-marker {
    display: none;
}

.nr-mmenu__depts summary > a,
.nr-mmenu__row {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    font-family: var(--nr-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.nr-mmenu__depts svg {
    width: 34px;
    height: 34px;
    flex: none;
}

.nr-mmenu__chev {
    display: grid;
    place-items: center;
    width: 54px;
    flex: none;
    border-left: 1px solid var(--nr-mill);
}

.nr-mmenu__chev::before {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--nr-ink);
    border-bottom: 2px solid var(--nr-ink);
    transform: translateY(-3px) rotate(45deg);
    transition: transform .2s;
}

.nr-mmenu__depts details[open] .nr-mmenu__chev::before {
    transform: translateY(3px) rotate(-135deg);
}

.nr-mmenu__depts details[open] summary {
    border-bottom: 1px solid var(--nr-mill);
}

.nr-mmenu__depts details ul {
    padding: 6px 0 10px 58px;
    background: #f7f8f9;
}

.nr-mmenu__depts details ul a {
    display: block;
    padding: 9px 12px 9px 0;
    font-size: 17px;
}

.nr-mmenu__depts details ul li:first-child a {
    font-weight: 600;
    color: var(--nr-red);
}

.nr-mmenu__help {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.nr-mmenu__help a {
    display: block;
    padding: 12px 14px;
    font-size: 17px;
    font-weight: 600;
    background: var(--nr-plate);
    border: 1px solid var(--nr-mill-dark);
    border-radius: 6px;
}

.nr-mmenu__call {
    display: grid;
    margin-top: 22px;
    padding: 16px 18px;
    background: var(--nr-ink);
    border-left: 4px solid var(--nr-red);
    border-radius: 6px;
}

.nr-mmenu a.nr-mmenu__call {
    color: #fff;
}

.nr-mmenu__call span {
    font-family: var(--nr-mono);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #aeb4bb;
}

.nr-mmenu__call strong {
    font-family: var(--nr-display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: .02em;
}

.nr-mmenu__call small {
    font-size: 14px;
    color: #c9cdd2;
}

.nr-mdrawer .nr-mmenu__label {
    color: #9aa1aa;
}

.nr-mdrawer .nr-mmenu__call {
    background: var(--nr-graphite, #2b2e33);
}

/* Small phones: the slide tabs must not widen the drawing */
.nr-slides {
    grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 1023px) {
    .nr-hero {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .nr-slides__nav {
        gap: 4px;
    }

    .nr-slides__tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .nr-slides__tabs::-webkit-scrollbar {
        display: none;
    }

    .nr-slides__tabs button {
        white-space: nowrap;
        flex: none;
    }
}

/* Shop by size, phones: name gets the full width beside the photo */
@media (max-width: 640px) {
    .nr-bysize__row {
        grid-template-columns: 84px minmax(0, 1fr) auto;
        grid-template-areas:
            "thumb name name"
            "thumb price price"
            "stock stock buy";
        gap: 4px 14px;
        padding: 12px;
    }

    .nr-bysize__thumb {
        width: 84px;
        height: 84px;
    }

    .nr-bysize__row .nr-bysize__price {
        grid-area: price;
        justify-self: start;
    }

    .nr-bysize__row .nr-stock {
        align-self: center;
        margin-top: 8px;
    }

    .nr-bysize__row .nr-qadd--row,
    .nr-bysize__row .nr-sizes__call {
        margin-top: 8px;
    }
}

/* ============ Special order (quote only) ============ */

.nr-so-flag {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin: 6px 0 18px;
    font-size: 15px;
    color: var(--nr-steel);
}

.nr-so-flag span {
    padding: 3px 8px;
    font-family: var(--nr-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    background: var(--nr-ink);
    border-left: 3px solid var(--nr-red);
}

.nr-so-terms {
    display: grid;
    gap: 6px;
    margin: 18px 0 0;
    padding: 14px 16px;
    list-style: none;
    font-size: 14px;
    background: var(--nr-mill);
    border-radius: 4px;
}

.nr-so-terms li {
    position: relative;
    padding-left: 16px;
}

.nr-so-terms li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 7px;
    height: 7px;
    background: var(--nr-red);
}

.nr-qadd-so__sizes {
    margin: 0 0 14px;
    padding: 0;
    border: 0;
}

.nr-qadd-so__sizes legend,
.nr-qadd-so__field > span {
    display: block;
    margin-bottom: 8px;
    font-family: var(--nr-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--nr-steel);
}

.nr-qadd-so__opts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nr-qadd-so__opt input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nr-qadd-so__opt span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    height: 46px;
    padding: 0 14px;
    font-family: var(--nr-mono);
    font-size: 16px;
    font-weight: 600;
    color: var(--nr-ink);
    background: #fff;
    border: 1.5px solid #c3c9cf;
    border-radius: 4px;
    cursor: pointer;
}

.nr-qadd-so__opt span:hover {
    border-color: var(--nr-ink);
}

.nr-qadd-so__opt input:checked + span {
    color: #fff;
    background: var(--nr-ink);
    border-color: var(--nr-ink);
    box-shadow: inset 0 -3px 0 var(--nr-red);
}

.nr-qadd-so__opt input:focus-visible + span {
    outline: 2px solid var(--nr-red);
    outline-offset: 2px;
}

.nr-qadd-so__field {
    display: block;
    margin-bottom: 14px;
}

.nr-qadd-so__finish {
    width: 100%;
    max-width: 380px;
    height: 46px;
    padding: 0 12px;
    font-size: 16px;
    background: #fff;
    border: 1.5px solid #c3c9cf;
    border-radius: 4px;
}

.nr-qadd-so__row {
    display: flex;
    gap: 10px;
}

.nr-qadd-so__qty input {
    width: 90px;
    height: 54px;
    font-size: 18px;
    text-align: center;
    border: 1.5px solid #c3c9cf;
    border-radius: 4px;
}

.nr-qadd-so__btn {
    flex: 1;
    max-width: 290px;
    height: 54px;
    font-family: var(--nr-display);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    background: var(--nr-red);
    border-radius: 4px;
    cursor: pointer;
}

.nr-qadd-so__btn:hover {
    background: var(--nr-red-dark);
}

.nr-qadd-so__btn:disabled {
    opacity: .7;
}

.nr-qadd-so__list,
.nr-so-intro__list,
.nr-mmenu__quote {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
    color: var(--nr-red);
}

.nr-qadd-so__list[hidden],
.nr-so-intro__list[hidden],
.nr-mmenu__quote[hidden],
.nr-topbar__quote[hidden] {
    display: none;
}

.nr-topbar__quote {
    font-weight: 700;
    color: #fff !important;
}

.nr-mmenu__quote {
    display: block;
    padding: 12px 14px;
    color: #fff;
    background: var(--nr-red);
    border-radius: 6px;
}

.nr-mmenu a.nr-mmenu__quote {
    color: #fff;
}

.nr-card__stock.is-special {
    color: var(--nr-steel);
}

.nr-so-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 16px 32px;
    align-items: start;
    margin: 0 0 24px;
    padding: 20px 22px;
    background: var(--nr-plate);
    border: 1px solid var(--nr-mill-dark);
    border-left: 4px solid var(--nr-red);
    border-radius: 4px;
}

.nr-so-intro h2 {
    margin: 0 0 6px;
    font-family: var(--nr-display);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}

.nr-so-intro p {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
}

.nr-so-intro p a {
    color: var(--nr-red);
    text-decoration: underline;
}

.nr-so-intro .nr-so-terms {
    margin: 0;
}

.nr-so-intro__list {
    grid-column: 1 / -1;
    margin: 0;
}

@media (max-width: 767px) {
    .nr-so-intro {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Quote list page */

.nr-quote {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px var(--nr-gutter) 56px;
}

.nr-quote__head h1 {
    margin: 2px 0 22px;
    font-family: var(--nr-display);
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
}

.nr-quote__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.nr-quote__lines ul {
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--nr-mill-dark);
    border-radius: 4px;
}

.nr-quote__line {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
}

.nr-quote__line + .nr-quote__line {
    border-top: 1px solid var(--nr-mill);
}

.nr-quote__thumb {
    display: block;
    width: 72px;
    height: 72px;
    overflow: hidden;
    background: #f1f3f5;
    border-radius: 3px;
}

.nr-quote__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nr-quote__name {
    display: grid;
    gap: 2px;
    font-size: 14px;
    color: var(--nr-steel);
}

.nr-quote__name a {
    font-family: var(--nr-display);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--nr-ink);
}

.nr-quote__qty input {
    width: 76px;
    height: 42px;
    text-align: center;
    font-size: 16px;
    border: 1.5px solid #c3c9cf;
    border-radius: 4px;
}

.nr-quote__remove {
    font-size: 14px;
    color: var(--nr-red);
    text-decoration: underline;
    cursor: pointer;
}

.nr-quote__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}

.nr-quote__actions a {
    font-weight: 600;
    color: var(--nr-red);
}

.nr-btn--ghost {
    color: var(--nr-ink);
    background: transparent;
    border: 2px solid var(--nr-ink);
}

.nr-btn--ghost:hover {
    color: #fff;
}

.nr-quote__form {
    display: grid;
    gap: 12px;
    padding: 20px 22px;
    background: var(--nr-mill);
    border-radius: 4px;
}

.nr-quote__form h2 {
    margin: 0;
    font-family: var(--nr-display);
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
}

.nr-quote__form label {
    display: grid;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
}

.nr-quote__form input,
.nr-quote__form textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 16px;
    font-weight: 400;
    background: #fff;
    border: 1.5px solid #c3c9cf;
    border-radius: 4px;
}

.nr-quote__form .nr-so-terms {
    margin: 4px 0;
    background: var(--nr-plate);
}

.nr-quote__form .nr-btn {
    padding: 14px 18px;
    font-size: 20px;
    background: var(--nr-red);
}

.nr-quote__form .nr-btn:hover {
    background: var(--nr-red-dark);
}

.nr-quote__hp {
    position: absolute !important;
    left: -9999px;
}

.nr-quote__error {
    margin: 0;
    padding: 10px 12px;
    color: #fff;
    background: var(--nr-red);
    border-radius: 4px;
}

.nr-quote__sent,
.nr-quote__empty {
    display: grid;
    justify-items: start;
    gap: 14px;
    max-width: 720px;
    padding: 24px;
    background: var(--nr-plate);
    border: 1px solid var(--nr-mill-dark);
    border-left: 4px solid var(--nr-red);
    border-radius: 4px;
    font-size: 17px;
}

.nr-quote__sent h2 {
    margin: 0;
    font-family: var(--nr-display);
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .nr-quote__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    .nr-quote__line {
        grid-template-columns: 60px minmax(0, 1fr) auto;
        grid-template-areas:
            "thumb name name"
            "thumb qty remove";
    }

    .nr-quote__thumb {
        grid-area: thumb;
        width: 60px;
        height: 60px;
    }

    .nr-quote__name {
        grid-area: name;
    }

    .nr-quote__qty {
        grid-area: qty;
    }

    .nr-quote__remove {
        grid-area: remove;
        justify-self: end;
    }
}

.nr-stock--low {
    color: #a35a00;
}

/* Stock for the chosen size, beside Add to cart */
.nr-pbuy__actions {
    flex-wrap: wrap;
    align-items: center;
}

.nr-pbuy__stock {
    margin: 0;
}

.nr-pbuy__stock:empty {
    display: none;
}

.nr-pbuy__stock .nr-stock {
    display: grid;
    font-size: 15px;
}

.nr-pbuy__stock .nr-stock small {
    font-size: 13px;
    font-weight: 400;
    color: var(--nr-steel);
}

.nr-pbuy__actions .nr-qty {
    align-self: stretch;
    min-height: 56px;
}

.nr-pbuy__actions .nr-qty p {
    width: 2.5ch;
    font-size: 19px;
    font-weight: 600;
}

.nr-pbuy__actions {
    max-width: 600px;
}

.nr-pbuy__actions .nr-pbuy__add {
    white-space: nowrap;
}

.nr-stock--low small {
    display: block;
    font-weight: 400;
    color: var(--nr-steel);
}

/* Typed quantity in the +/- box */
.nr-qty__input {
    width: 4ch;
    min-width: 32px;
    padding: 0;
    font-size: inherit;
    font-weight: 600;
    text-align: center;
    color: inherit;
    background: transparent;
    border: 0;
    -moz-appearance: textfield;
}

.nr-qty__input::-webkit-outer-spin-button,
.nr-qty__input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.nr-qty__input:focus {
    outline: 2px solid var(--nr-red);
    outline-offset: 2px;
    border-radius: 2px;
}

.nr-pbuy__actions .nr-qty__input {
    font-size: 19px;
}

/* Quantity over stock */
.nr-stock__warn {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 600;
    color: var(--nr-red);
}

.nr-pbuy__stock .nr-stock__warn {
    font-size: 13px;
}

/* Cart and checkout: short-stock notice and shipping choice */
.nr-stocknote {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
    padding: 16px 18px;
    background: #fff8ec;
    border: 1px solid #f0d6a8;
    border-left: 4px solid #a35a00;
    border-radius: 4px;
}

.nr-stocknote[hidden] {
    display: none;
}

.nr-stocknote__title {
    margin: 0;
    font-weight: 700;
    color: var(--nr-ink);
}

.nr-stocknote__list {
    display: grid;
    gap: 4px;
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
    list-style: disc;
}

.nr-stocknote__choice {
    display: grid;
    gap: 8px;
    margin: 4px 0 0;
    padding: 0;
    border: 0;
}

.nr-stocknote__choice legend {
    margin-bottom: 6px;
    font-family: var(--nr-display);
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
}

.nr-stocknote__choice label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 15px;
    background: #fff;
    border: 1.5px solid #e2c793;
    border-radius: 4px;
    cursor: pointer;
}

.nr-stocknote__choice label:has(input:checked) {
    border-color: var(--nr-ink);
    box-shadow: inset 3px 0 0 var(--nr-red);
}

.nr-stocknote__choice input {
    width: 18px;
    height: 18px;
    accent-color: var(--nr-red);
}

.nr-stock .nr-stock__warn {
    font-weight: 600;
    color: var(--nr-red);
}

.nr-stock small.nr-stock__warn,
.nr-pbuy__stock .nr-stock small.nr-stock__warn {
    font-weight: 600;
    color: var(--nr-red);
}

/* Stock always on its own line under the quantity and Add to cart */
.nr-pbuy__actions .nr-pbuy__stock {
    flex-basis: 100%;
}

/* Room for 4-digit quantities, no spinner arrows */
.nr-qadd__qty {
    width: 76px !important;
    text-align: center;
    -moz-appearance: textfield;
}

.nr-qadd__qty::-webkit-outer-spin-button,
.nr-qadd__qty::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.nr-qty__input {
    width: 5ch;
}

.nr-stock__warn b {
    display: block;
}

.nr-stock:has(.nr-stock__warn) > small:not(.nr-stock__warn) {
    display: none;
}

/* Cart and checkout: pipe terms */
.nr-pipenote {
    display: grid;
    gap: 4px;
    margin: 0 0 14px;
    padding: 14px 18px;
    font-size: 15px;
    background: #fdf2f2;
    border: 1px solid #efc6c8;
    border-left: 4px solid var(--nr-red);
    border-radius: 4px;
}

.nr-pipenote[hidden] {
    display: none;
}

.nr-pipenote p {
    margin: 0;
}

.nr-pipenote__title {
    font-weight: 700;
}

/* Confirm dialog (8 ft pipe) */
.nr-confirm {
    width: min(460px, calc(100vw - 32px));
    padding: 0;
    border: 0;
    border-top: 4px solid var(--nr-red);
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.nr-confirm::backdrop {
    background: rgba(21, 23, 26, .55);
}

.nr-confirm form {
    display: grid;
    gap: 14px;
    padding: 24px;
}

.nr-confirm h2 {
    margin: 0;
    font-family: var(--nr-display);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

.nr-confirm p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.nr-confirm__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.nr-confirm__actions .nr-btn {
    flex: 1;
    min-width: 170px;
    padding: 12px 16px;
    cursor: pointer;
}

.nr-confirm__actions .nr-btn:first-child {
    background: var(--nr-red);
}

.nr-checkout-notes {
    padding-top: 28px;
}

.nr-checkout-notes:not(:has(section:not([hidden]))) {
    padding-top: 0;
}

.nr-confirm[open] {
    position: fixed;
    inset: 0;
    margin: auto;
    height: fit-content;
    max-height: calc(100vh - 32px);
}

/* Pipe: 20 ft full lengths are quoted by phone */
.nr-opt--mill {
    border-style: dashed;
    color: var(--nr-steel);
    background: #f7f8f9;
}

.nr-opt--mill:hover {
    color: var(--nr-ink);
}

.nr-sizes__mill {
    font-weight: 600;
    color: var(--nr-red);
    text-decoration: underline;
    cursor: pointer;
}

.nr-confirm__note {
    font-size: 13px !important;
    color: var(--nr-steel);
}

.nr-confirm__actions a.nr-btn {
    text-align: center;
    color: #fff;
}

/* Cart and checkout: mismatched pipe sizes */
.nr-sizenote {
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
    padding: 16px 18px;
    font-size: 15px;
    background: #fff8ec;
    border: 1px solid #f0d6a8;
    border-left: 4px solid #a35a00;
    border-radius: 4px;
}

.nr-sizenote[hidden] {
    display: none;
}

.nr-sizenote p {
    margin: 0;
}

.nr-sizenote__title {
    font-weight: 700;
}

.nr-sizenote__list {
    display: grid;
    gap: 3px;
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
    list-style: disc;
}

.nr-sizenote__confirm {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    padding: 10px 12px;
    font-weight: 600;
    background: #fff;
    border: 1.5px solid #e2c793;
    border-radius: 4px;
    cursor: pointer;
}

.nr-sizenote__confirm:has(input:checked) {
    border-color: var(--nr-ink);
    box-shadow: inset 3px 0 0 var(--nr-red);
}

.nr-sizenote__confirm input {
    width: 18px;
    height: 18px;
    accent-color: var(--nr-red);
}

.nr-sizenote__hint {
    font-size: 13px;
    color: var(--nr-steel);
}

body.nr-size-hold main a[href*="checkout/onepage"],
body.nr-size-hold .sticky .primary-button {
    opacity: .45;
    cursor: not-allowed;
}

/* ============ Cart & checkout notices: one style for all ============ */

.nr-sizenote,
.nr-pipenote,
.nr-stocknote {
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--nr-ink);
    background: #fdf2f2;
    border: 1px solid #efc6c8;
    border-left: 4px solid var(--nr-red);
    border-radius: 4px;
}

.nr-sizenote[hidden],
.nr-pipenote[hidden],
.nr-stocknote[hidden] {
    display: none;
}

.nr-sizenote p,
.nr-pipenote p,
.nr-stocknote p {
    margin: 0;
    font-size: 14px;
}

.nr-sizenote__title,
.nr-pipenote__title,
.nr-stocknote__title,
.nr-stocknote__choice legend {
    margin: 0;
    padding: 0;
    font-family: var(--nr-body);
    font-size: 15px !important;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
    color: var(--nr-ink);
}

.nr-sizenote__list,
.nr-stocknote__list {
    display: grid;
    gap: 3px;
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
    list-style: disc;
}

.nr-stocknote__choice {
    gap: 6px;
    margin: 4px 0 0;
}

.nr-stocknote__choice legend {
    margin-bottom: 4px;
}

.nr-sizenote__confirm,
.nr-stocknote__choice label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
    border: 1.5px solid #efc6c8;
    border-radius: 4px;
    box-shadow: none;
    cursor: pointer;
}

.nr-sizenote__confirm:has(input:checked),
.nr-stocknote__choice label:has(input:checked) {
    border-color: var(--nr-ink);
    box-shadow: inset 3px 0 0 var(--nr-red);
}

.nr-sizenote__confirm input,
.nr-stocknote__choice input {
    width: 18px;
    height: 18px;
    flex: none;
    margin: 0;
    accent-color: var(--nr-red);
}

.nr-sizenote__hint {
    font-size: 13px !important;
    color: var(--nr-steel);
}

.nr-contact__sent {
    display: grid;
    gap: 4px;
    margin: 0 0 16px;
    padding: 14px 18px;
    font-size: 15px;
    background: #eef7f0;
    border: 1px solid #b9dcc2;
    border-left: 4px solid #1d6b34;
    border-radius: 4px;
}

.nr-contact__sent strong {
    font-size: 16px;
    color: #1d6b34;
}
