.nsl-pdp-related { margin-block: 1.5rem 2rem; }
.nsl-pdp-related__group + .nsl-pdp-related__group { margin-block-start: 1.75rem; }
.nsl-pdp-related__group > h2 { margin-block-end: .85rem; font-size: clamp(1.15rem, 2vw, 1.45rem); }
.nsl-pdp-related__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nsl-pdp-related__card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: .65rem;
    border: 1px solid var(--brdcolor-gray-300, #dedede);
    overflow-wrap: anywhere;
}
.nsl-pdp-related__product { display: grid; width: 100%; gap: .45rem; line-height: 1.35; }
.nsl-pdp-related__product img {
    width: 100%;
    height: clamp(7rem, 14vw, 12rem);
    object-fit: contain;
}
.nsl-pdp-related__product strong {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    min-block-size: 2.7em;
    max-block-size: 4.05em;
}
.nsl-pdp-related__card p { margin: .4rem 0 .55rem; font-size: .875rem; line-height: 1.4; }
.nsl-pdp-related__price { width: 100%; margin-block: auto .5rem; }
.nsl-pdp-related__card .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: .4rem .45rem;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
}
.nsl-pdp-related :focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.nsl-pdp-related__list:focus-visible { outline-offset: 3px; }

.nsl-compact-pdp :is(#tab-description, .woocommerce-Tabs-panel--description) :where(p, ul, ol) { margin-block-end: .8rem; }
.nsl-compact-pdp .nsl-pdp-reading h3 { margin: 1.1em 0 .4em; font-size: 1.12em; }
.nsl-compact-pdp .nsl-pdp-reading li + li { margin-block-start: .25em; }
.nsl-compact-pdp.postid-17387 .woocommerce-product-details__short-description strong { font-weight: inherit; }

/* Only the repeated plain title, with the linked specification retained. */
.nsl-compact-pdp.postid-17350 .woocommerce-product-details__short-description > h3.product-name:first-child:not(:has(a)) { display: none; }
.nsl-compact-pdp.postid-17350 .woocommerce-product-details__short-description > h3.product-name:has(a) {
    margin-block-end: .6rem;
    font-size: .9375rem;
}
.nsl-compact-pdp.postid-17350 #tab-description table { width: 100%; table-layout: fixed; }
.nsl-compact-pdp.postid-17350 #tab-description :is(th, td) {
    padding: .55rem .65rem;
    text-align: start;
    vertical-align: top;
    overflow-wrap: anywhere;
}
.nsl-compact-pdp.postid-17350 #tab-description td ul { margin-block-end: 0; }

/* The single-page notice already includes dispatch, collection and working-day exclusions. */
.nsl-compact-pdp.postid-74206:has(.nsl-led-lead-time--single) .nsl-led .nsl-led-delivery { display: none; }

@media (min-width: 1024px) {
    .nsl-pdp-related__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
    .nsl-pdp-related__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .nsl-pdp-related__list {
        grid-template-columns: none;
        grid-auto-columns: calc((100% - .65rem) / 2);
        grid-auto-flow: column;
        gap: .65rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-block: .2rem .5rem;
    }
    .nsl-pdp-related__card { scroll-snap-align: start; padding: .5rem; }
    .nsl-pdp-related__product img { height: clamp(6rem, 31vw, 8rem); }
}

@media (max-width: 1024px) {
    body.nsl-compact-pdp.nsl-pdp-toolbar-overlap .wd-toolbar,
    body.nsl-compact-pdp.nsl-pdp-toolbar-overlap .wd-toolbar * {
        visibility: hidden;
        pointer-events: none;
    }
}
