/* ==========================================================================
   Product category landing page  (/barcode-printers.html)
   --------------------------------------------------------------------------
   Hero, section heading and closing CTA come from inner-pages.css; colour
   tokens from the :root block in mega-menu.css. Everything here is the
   category-page furniture: range cards, product spec cards, applications,
   buying guide, the printer/label/ribbon chain, consumables, FAQs.
   ========================================================================== */

.sd-cat {
    padding: 62px 0;
    background: #fff;
}

.sd-cat--tint {
    background: var(--sd-tint);
}

/* --------------------------------------------------------------------------
   2. Range cards
   -------------------------------------------------------------------------- */

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

.sd-range {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--sd-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(16, 38, 73, .06);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.sd-range:hover {
    border-color: rgba(232, 106, 56, .4);
    box-shadow: 0 18px 40px rgba(16, 38, 73, .12);
    transform: translateY(-4px);
}

.sd-range__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--sd-tint);
    line-height: 0;
}

.sd-range__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    transition: transform .5s ease;
}

.sd-range:hover .sd-range__media img {
    transform: scale(1.05);
}

.sd-range__badge {
    position: absolute;
    left: 18px;
    bottom: -22px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--sd-orange);
    color: #fff;
    font-size: 17px;
    box-shadow: 0 8px 18px rgba(232, 106, 56, .35);
}

.sd-range__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 34px 24px 24px;
}

.sd-range__title {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
}

.sd-range__title a {
    color: var(--sd-navy);
    text-decoration: none;
}

.sd-range:hover .sd-range__title a {
    color: var(--sd-orange-ink);
}

.sd-range__desc {
    margin: 0 0 14px;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--sd-muted);
}

.sd-range__apps {
    margin: 0 0 20px;
    padding-top: 14px;
    border-top: 1px dashed var(--sd-line);
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--sd-navy);
}

.sd-range__apps span {
    display: block;
    margin-bottom: 3px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sd-muted);
}

.sd-range__more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    align-self: flex-start;
    color: var(--sd-blue);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.sd-range__more i {
    font-size: 12px;
    transition: transform .25s ease;
}

.sd-range__more:hover {
    color: var(--sd-orange);
}

.sd-range:hover .sd-range__more i {
    transform: translateX(4px);
}

/* A card can carry a second action under View Products (Labels: the label
   requirement form). The wrapper takes over the push to the card's foot. */
.sd-range__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: auto;
}

.sd-range__links .sd-range__more {
    margin-top: 0;
}

.sd-range__links {
    align-items: stretch;
}

.sd-range__links .sd-range__more {
    align-self: flex-start;
}

.sd-range__ask {
    justify-content: center;
    gap: 8px;
    padding-left: 14px;
    padding-right: 14px;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. Product spec cards
   -------------------------------------------------------------------------- */

.sd-prod__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.sd-prod {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--sd-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(16, 38, 73, .05);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.sd-prod:hover {
    border-color: rgba(232, 106, 56, .4);
    box-shadow: 0 16px 34px rgba(16, 38, 73, .11);
    transform: translateY(-3px);
}

.sd-prod__media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid var(--sd-line);
    line-height: 0;
}

.sd-prod__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.sd-prod__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.sd-prod__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
}

.sd-prod__brand {
    padding: 3px 9px;
    border-radius: 4px;
    background: var(--sd-blue);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.sd-prod__cat {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--sd-muted);
}

.sd-prod__title {
    margin: 0 0 14px;
    font-size: 17.5px;
    font-weight: 800;
    line-height: 1.3;
}

.sd-prod__title a {
    color: var(--sd-navy);
    text-decoration: none;
}

.sd-prod:hover .sd-prod__title a {
    color: var(--sd-orange-ink);
}

.sd-prod__specs {
    margin: 0 0 18px;
    padding: 14px 0 0;
    border-top: 1px dashed var(--sd-line);
}

.sd-prod__specs > div {
    display: flex;
    gap: 12px;
    padding: 5px 0;
    font-size: 13.5px;
    line-height: 1.5;
}

.sd-prod__specs dt {
    flex: 0 0 96px;
    font-weight: 600;
    color: var(--sd-muted);
}

.sd-prod__specs dd {
    margin: 0;
    color: var(--sd-navy);
    font-weight: 600;
}

.sd-prod__actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   4. Applications
   -------------------------------------------------------------------------- */

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

.sd-app {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border: 1px solid var(--sd-line);
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.sd-app:hover {
    border-color: rgba(232, 106, 56, .45);
    box-shadow: 0 12px 26px rgba(16, 38, 73, .09);
    transform: translateY(-3px);
}

.sd-app__icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(18, 74, 154, .08);
    color: var(--sd-blue);
    font-size: 17px;
    transition: background .25s ease, color .25s ease;
}

.sd-app:hover .sd-app__icon {
    background: var(--sd-orange);
    color: #fff;
}

.sd-app__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sd-app__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--sd-navy);
}

.sd-app:hover .sd-app__title {
    color: var(--sd-orange-ink);
}

.sd-app__desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--sd-muted);
}

/* --------------------------------------------------------------------------
   5. Buying guide
   -------------------------------------------------------------------------- */

.sd-choose__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.sd-choose {
    position: relative;
    padding: 26px 24px 24px;
    border: 1px solid var(--sd-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(16, 38, 73, .05);
}

.sd-choose__num {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    color: rgba(232, 106, 56, .35);
}

.sd-choose h3 {
    margin: 0 0 9px;
    font-size: 17.5px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--sd-navy);
}

.sd-choose p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--sd-muted);
}

/* --------------------------------------------------------------------------
   6. Printer → label → ribbon chain
   -------------------------------------------------------------------------- */

.sd-chain {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 34px;
    flex-wrap: wrap;
}

.sd-chain__step {
    flex: 1 1 190px;
    padding: 22px 20px;
    border: 1px solid var(--sd-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(16, 38, 73, .05);
    text-align: center;
}

.sd-chain__icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border-radius: 12px;
    background: rgba(18, 74, 154, .08);
    color: var(--sd-blue);
    font-size: 17px;
}

.sd-chain__step h3 {
    margin: 0 0 7px;
    font-size: 16.5px;
    font-weight: 800;
    color: var(--sd-navy);
}

.sd-chain__step p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--sd-muted);
}

.sd-chain__arrow {
    align-self: center;
    font-size: 15px;
    color: var(--sd-orange);
}

.sd-mat__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.sd-mat {
    padding: 22px;
    border-left: 3px solid var(--sd-orange);
    border-radius: 0 12px 12px 0;
    background: var(--sd-tint);
}

.sd-cat--tint .sd-mat {
    background: #fff;
}

.sd-mat h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    font-size: 16.5px;
    font-weight: 800;
    color: var(--sd-navy);
}

.sd-mat h3 i {
    font-size: 14px;
    color: var(--sd-orange);
}

.sd-mat p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--sd-muted);
}

/* --------------------------------------------------------------------------
   7. Consumables
   -------------------------------------------------------------------------- */

.sd-cons__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.sd-cons {
    display: flex;
    flex-direction: column;
    padding: 26px 22px;
    border: 1px solid var(--sd-line);
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(16, 38, 73, .05);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.sd-cons:hover {
    border-color: rgba(232, 106, 56, .45);
    box-shadow: 0 14px 30px rgba(16, 38, 73, .1);
    transform: translateY(-3px);
}

.sd-cons__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 12px;
    background: rgba(18, 74, 154, .08);
    color: var(--sd-blue);
    font-size: 18px;
    transition: background .25s ease, color .25s ease;
}

.sd-cons:hover .sd-cons__icon {
    background: var(--sd-orange);
    color: #fff;
}

.sd-cons__title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 800;
    color: var(--sd-navy);
}

.sd-cons__desc {
    margin: 0 0 18px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--sd-muted);
}

.sd-cons__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--sd-blue);
    font-size: 14px;
    font-weight: 700;
}

.sd-cons__more i {
    font-size: 11px;
    transition: transform .25s ease;
}

.sd-cons:hover .sd-cons__more {
    color: var(--sd-orange);
}

.sd-cons:hover .sd-cons__more i {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   8. Why us
   -------------------------------------------------------------------------- */

.sd-why__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.sd-why {
    display: flex;
    flex-direction: column;
    padding: 26px 24px;
    border: 1px solid var(--sd-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(16, 38, 73, .05);
}

.sd-why__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 12px;
    background: var(--sd-orange);
    color: #fff;
    font-size: 18px;
}

.sd-why h3 {
    margin: 0 0 8px;
    font-size: 17.5px;
    font-weight: 800;
    color: var(--sd-navy);
}

.sd-why p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--sd-muted);
}

/* --------------------------------------------------------------------------
   9. FAQs
   -------------------------------------------------------------------------- */

.sd-qa {
    max-width: 900px;
    margin: 0 auto;
}

.sd-qa__item {
    margin-bottom: 12px;
    border: 1px solid var(--sd-line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.sd-qa__item[open] {
    border-color: rgba(232, 106, 56, .45);
    box-shadow: 0 10px 26px rgba(16, 38, 73, .08);
}

/* default.css assigns Manrope by listing elements (body, div, h1-h6, p, input,
   button, select, textarea) and never covers details/summary, so a <summary>
   falls back to the browser's own font. Declare it explicitly rather than
   relying on inheritance, which browsers treat inconsistently for summary. */
.sd-qa__item,
.sd-qa__q,
.sd-qa__a,
.sd-qa__a p {
    font-family: "Manrope", sans-serif;
    font-variant: normal;
    font-feature-settings: normal;
    text-transform: none;
    letter-spacing: normal;
}

.sd-qa__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 19px 22px;
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--sd-navy);
    cursor: pointer;
    list-style: none;
}

.sd-qa__q::-webkit-details-marker {
    display: none;
}

.sd-qa__q i {
    flex: 0 0 auto;
    font-size: 14px;
    color: var(--sd-orange);
    transition: transform .25s ease;
}

.sd-qa__item[open] .sd-qa__q i {
    transform: rotate(45deg);
}

.sd-qa__q:hover {
    color: var(--sd-orange-ink);
}

.sd-qa__a {
    padding: 0 22px 20px;
}

.sd-qa__a p {
    margin: 0;
    padding-top: 4px;
    border-top: 1px dashed var(--sd-line);
    padding-top: 16px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--sd-muted);
}

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

@media (max-width: 1199.98px) {
    .sd-cons__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .sd-cat {
        padding: 46px 0;
    }

    .sd-range__grid,
    .sd-prod__grid,
    .sd-choose__grid,
    .sd-mat__grid,
    .sd-why__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .sd-chain__arrow {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .sd-cat {
        padding: 36px 0;
    }

    .sd-range__grid,
    .sd-prod__grid,
    .sd-app__grid,
    .sd-choose__grid,
    .sd-mat__grid,
    .sd-cons__grid,
    .sd-why__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sd-chain__step {
        flex: 1 1 100%;
    }


    .sd-prod__actions .sd-btn {
        flex: 1 1 100%;
    }

    .sd-qa__q {
        font-size: 15.5px;
        padding: 16px 18px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .sd-range,
    .sd-range__media img,
    .sd-range__more i,
    .sd-prod,
    .sd-app,
    .sd-app__icon,
    .sd-cons,
    .sd-cons__icon,
    .sd-cons__more i,
    .sd-qa__q i {
        transition: none !important;
    }

    .sd-range:hover,
    .sd-prod:hover,
    .sd-app:hover,
    .sd-cons:hover {
        transform: none;
    }

    .sd-range:hover .sd-range__media img {
        transform: none;
    }
}

/* ==========================================================================
   Additions for the scanners category page
   ========================================================================== */

/* Four categories rather than five, so a 4-up row at wide sizes. */
@media (min-width: 1200px) {
    .sd-range__grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

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

/* --------------------------------------------------------------------------
   Comparison table
   -------------------------------------------------------------------------- */

.sd-table__wrap {
    overflow-x: auto;
    border: 1px solid var(--sd-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(16, 38, 73, .06);
}

.sd-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 14.5px;
}

.sd-table thead th {
    padding: 16px 20px;
    background: var(--sd-navy);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-align: left;
}

.sd-table thead th:first-child {
    width: 168px;
}

.sd-table tbody tr + tr {
    border-top: 1px solid var(--sd-line);
}

.sd-table tbody th {
    padding: 15px 20px;
    background: var(--sd-tint);
    color: var(--sd-navy);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}

.sd-cat--tint .sd-table tbody th {
    background: #F7F9FD;
}

.sd-table tbody td {
    padding: 15px 20px;
    color: var(--sd-muted);
    line-height: 1.6;
    vertical-align: top;
}

.sd-table tbody td a {
    color: var(--sd-blue);
    font-weight: 700;
    text-decoration: none;
}

.sd-table tbody td a:hover {
    color: var(--sd-orange);
}

/* --------------------------------------------------------------------------
   Brand grid
   -------------------------------------------------------------------------- */

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

.sd-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px 24px;
    border: 1px solid var(--sd-line);
    border-left: 3px solid var(--sd-orange);
    border-radius: 0 12px 12px 0;
    background: #fff;
    box-shadow: 0 4px 16px rgba(16, 38, 73, .05);
}

.sd-brand__name {
    font-size: 19px;
    font-weight: 800;
    color: var(--sd-navy);
}

.sd-brand__note {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--sd-muted);
}

@media (max-width: 991.98px) {
    .sd-brand__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .sd-brand__grid,
    .sd-mat__grid--2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .sd-table thead th:first-child {
        width: auto;
    }
}

/* ==========================================================================
   Additions for the consumables category page
   ========================================================================== */

.sd-spec__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.sd-spec__grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sd-spec {
    display: flex;
    flex-direction: column;
    padding: 26px 24px;
    border: 1px solid var(--sd-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(16, 38, 73, .05);
}

.sd-cat--tint .sd-spec {
    background: #fff;
}

.sd-spec__title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--sd-navy);
}

.sd-spec__icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--sd-orange);
    color: #fff;
    font-size: 16px;
}

.sd-spec__rows {
    margin: 0 0 16px;
    padding: 0 0 14px;
    border-bottom: 1px dashed var(--sd-line);
}

.sd-spec__rows > div {
    display: flex;
    gap: 12px;
    padding: 5px 0;
    font-size: 13.5px;
    line-height: 1.55;
}

.sd-spec__rows dt {
    flex: 0 0 92px;
    font-weight: 700;
    color: var(--sd-muted);
}

.sd-spec__rows dd {
    margin: 0;
    color: var(--sd-navy);
}

.sd-spec__label {
    margin: 0 0 9px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sd-muted);
}

.sd-spec__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sd-spec__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 5px 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--sd-navy);
    font-weight: 500;
}

.sd-spec__list li i {
    flex: 0 0 13px;
    margin-top: 5px;
    font-size: 10.5px;
    color: var(--sd-orange);
}

.sd-choose__grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sd-note {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 26px 0 0;
    padding: 16px 20px;
    border-left: 3px solid var(--sd-orange);
    border-radius: 0 10px 10px 0;
    background: var(--sd-tint);
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--sd-muted);
}

.sd-cat--tint .sd-note {
    background: #fff;
}

.sd-note i {
    margin-top: 3px;
    color: var(--sd-orange);
}

.sd-note a {
    color: var(--sd-blue);
    font-weight: 700;
    text-decoration: none;
}

.sd-note a:hover {
    color: var(--sd-orange);
}

@media (max-width: 1199.98px) {
    .sd-spec__grid--4,
    .sd-choose__grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .sd-spec__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .sd-spec__grid,
    .sd-spec__grid--4,
    .sd-choose__grid--4 {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Three services rather than four consumables, so a 3-up row. */
@media (min-width: 992px) {
    .sd-cons__grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* "Right for you" line on the services cards. */
.sd-cons__for {
    margin: 0 0 18px;
    padding-top: 14px;
    border-top: 1px dashed var(--sd-line);
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--sd-navy);
}

.sd-cons__for span {
    display: block;
    margin-bottom: 3px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sd-muted);
}

/* ==========================================================================
   Listing filters and comparison
   ========================================================================== */

.sd-filter {
    padding: 24px 26px;
    margin-bottom: 28px;
    border: 1px solid var(--sd-line);
    border-radius: 16px;
    background: var(--sd-tint);
}

.sd-cat--tint .sd-filter { background: #fff; }

.sd-filter__group { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.sd-filter__group + .sd-filter__group { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--sd-line); }

.sd-filter__label {
    flex: 0 0 108px;
    font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: var(--sd-muted);
}

.sd-filter__chips { display: flex; flex-wrap: wrap; gap: 7px; }

.sd-chip--sm { padding: 7px 14px; font-size: 13px; }
.sd-chip--sm span { margin-left: 5px; opacity: .6; font-weight: 600; }

.sd-filter__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--sd-line);
}

.sd-filter__count { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--sd-muted); }

.sd-filter__clear {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border: 1px solid var(--sd-line); border-radius: 50px;
    background: #fff; font-family: inherit; font-size: 13.5px; font-weight: 700;
    color: var(--sd-navy); cursor: pointer; transition: border-color .2s ease, color .2s ease;
}

.sd-filter__clear[hidden] { display: none; }
.sd-filter__clear:hover { border-color: var(--sd-orange); color: var(--sd-orange-ink); }

.sd-filter__empty {
    display: flex; align-items: flex-start; gap: 11px; margin: 24px 0 0; padding: 18px 20px;
    border-left: 3px solid var(--sd-orange); border-radius: 0 10px 10px 0;
    background: var(--sd-tint); font-size: 15px; line-height: 1.6; color: var(--sd-muted);
}

.sd-filter__empty[hidden] { display: none; }
.sd-filter__empty i { margin-top: 3px; color: var(--sd-orange); }
.sd-filter__empty a { color: var(--sd-blue); font-weight: 700; text-decoration: none; }

/* ---- compare checkbox on the card ---- */

.sd-prod { position: relative; }

.sd-prod__compare {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 12px 6px 9px; border: 1px solid var(--sd-line); border-radius: 50px;
    background: rgba(255, 255, 255, .94); font-size: 12px; font-weight: 700;
    color: var(--sd-muted); cursor: pointer; transition: border-color .2s ease, color .2s ease;
}

.sd-prod__compare:hover { border-color: var(--sd-orange); color: var(--sd-orange-ink); }
.sd-prod__compare input { margin: 0; accent-color: var(--sd-orange); cursor: pointer; }
.sd-prod__compare input:disabled { cursor: not-allowed; }
.sd-prod__compare input:disabled + span { opacity: .45; }

.sd-prod.is-picked { border-color: var(--sd-orange); box-shadow: 0 0 0 2px rgba(232, 106, 56, .25); }
.sd-prod.is-picked .sd-prod__compare { border-color: var(--sd-orange); color: var(--sd-orange-ink); }

/* ---- compare tray ---- */

.sd-compare {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100;
    padding: 14px 0; background: var(--sd-navy);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, .25);
}

.sd-compare[hidden] { display: none; }

.sd-compare__inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.sd-compare__count { margin: 0; color: #fff; font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.sd-compare__count em { font-style: normal; font-weight: 500; color: #A9BCD5; }

.sd-compare__chips { display: flex; gap: 8px; flex-wrap: wrap; flex: 1 1 auto; }

.sd-compare__tag {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 7px 14px; border: 0; border-radius: 50px;
    background: rgba(255, 255, 255, .13); color: #fff;
    font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
    transition: background .2s ease;
}

.sd-compare__tag:hover { background: var(--sd-orange); }
.sd-compare__tag i { font-size: 11px; }

.sd-compare__actions { display: flex; align-items: center; gap: 12px; }

.sd-compare__clear {
    border: 0; background: none; color: #A9BCD5;
    font-family: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
}

.sd-compare__clear:hover { color: #fff; }

/* ---- compare panel ---- */

.sd-compare__panel {
    position: fixed; inset: 0; z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    padding: 40px 20px; background: rgba(10, 20, 36, .8);
}

.sd-compare__panel[hidden] { display: none; }

.sd-compare__sheet {
    display: flex; flex-direction: column;
    width: 100%; max-width: 940px; max-height: 100%;
    border-radius: 16px; background: #fff; overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .4);
}

.sd-compare__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 26px; border-bottom: 1px solid var(--sd-line);
}

.sd-compare__head h2 { margin: 0; font-size: 21px; font-weight: 800; color: var(--sd-navy); }

.sd-compare__close {
    width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--sd-line); border-radius: 50%; background: #fff;
    color: var(--sd-navy); font-size: 15px; cursor: pointer; transition: background .2s ease, color .2s ease;
}

.sd-compare__close:hover { background: var(--sd-orange); border-color: var(--sd-orange); color: #fff; }

.sd-compare__body { padding: 22px 26px 26px; overflow: auto; }
.sd-compare__body .sd-table { min-width: 520px; }
.sd-compare__body .sd-table thead th a { color: #fff; text-decoration: none; }
.sd-compare__body .sd-table thead th a:hover { text-decoration: underline; }
.sd-compare__na { color: #A9B7CC; font-style: italic; }

@media (max-width: 767.98px) {
    .sd-filter { padding: 18px 16px; }
    .sd-filter__label { flex: 1 1 100%; }
    .sd-compare__inner { gap: 12px; }
    .sd-compare__chips { order: 3; flex: 1 1 100%; }
    .sd-compare__actions { margin-left: auto; }
    .sd-compare__panel { padding: 16px 10px; }
    .sd-compare__body { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .sd-filter__clear, .sd-prod__compare, .sd-compare__tag, .sd-compare__close {
        transition: none !important;
    }
}

/* ==========================================================================
   Consumable material cards  (the four /products/consumables/ listings)
   --------------------------------------------------------------------------
   Consumables have no model pages, so these replace the spec cards above.
   One card per material family: image, name, what it is for, and the
   material-to-use pairs the client supplied.
   ========================================================================== */

.sd-mats {
    padding: 54px 0 8px;
}

.sd-mat__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 26px;
    align-items: start;
}

.sd-mat {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--sd-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(16, 38, 73, .06);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.sd-mat:hover {
    border-color: rgba(232, 106, 56, .4);
    box-shadow: 0 18px 40px rgba(16, 38, 73, .12);
    transform: translateY(-3px);
}

.sd-mat__media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 210px;
    padding: 18px;
    background: var(--sd-tint);
    border-bottom: 1px solid var(--sd-line);
}

.sd-mat__media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.sd-mat__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 24px 24px 26px;
}

.sd-mat__name {
    margin: 0 0 10px;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--sd-navy);
}

.sd-mat__blurb {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.68;
    color: var(--sd-muted);
}

/* default.css sets list-style:none on every ul and li site-wide, so the
   marker has to be asked for again here. */
.sd-mat__points {
    margin: 0 0 18px;
    padding: 0 0 0 20px;
    list-style: disc outside;
}

.sd-mat__points li {
    list-style: disc outside;
    margin-bottom: 8px;
    font-size: 14.5px;
    line-height: 1.62;
    color: var(--sd-navy);
}

.sd-mat__points li:last-child {
    margin-bottom: 0;
}

/* ---- material to use pairs ---- */

.sd-mat__specs {
    margin: 0 0 20px;
    padding: 16px 0 0;
    border-top: 1px dashed var(--sd-line);
}

.sd-mat__specs > div {
    padding: 9px 0;
    border-bottom: 1px solid rgba(16, 38, 73, .06);
}

.sd-mat__specs > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.sd-mat__specs dt {
    margin: 0 0 3px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--sd-navy);
}

.sd-mat__specs dd {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--sd-muted);
}

/* ---- supporting photos ---- */

.sd-mat__thumbs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 22px;
}

.sd-mat__thumbs img {
    width: 100%;
    height: 116px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--sd-line);
}

/* ---- enquiry ---- */

.sd-mat__enquire {
    margin: auto 0 0;
}

.sd-mat__enquire .sd-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

@media (max-width: 767.98px) {
    .sd-mats {
        padding-top: 36px;
    }

    .sd-mat__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .sd-mat__media {
        height: 180px;
    }

    .sd-mat__body {
        padding: 20px 20px 22px;
    }

    .sd-mat__name {
        font-size: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sd-mat {
        transition: none !important;
    }

    .sd-mat:hover {
        transform: none;
    }
}

/* ==========================================================================
   Listing layout: filter in a left column
   --------------------------------------------------------------------------
   Client request, October 2026. The filter used to sit as a full-width panel
   above the products, pushing every model below the fold. It now lives in a
   sticky left column on desktop, and behind a button on narrower screens.
   ========================================================================== */

.sd-cat__layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}
.sd-cat__layout--full { grid-template-columns: minmax(0, 1fr); }

.sd-cat__side {
    position: sticky;
    top: 24px;
}

.sd-cat__side .sd-filter {
    margin-bottom: 0;
    padding: 20px 18px;
}

.sd-side__title {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 800;
    color: var(--sd-navy);
}

/* Groups stack, one value per row with a tick box. */
.sd-cat__side .sd-filter__group {
    display: block;
}
.sd-cat__side .sd-filter__label {
    display: block;
    margin-bottom: 8px;
}
.sd-cat__side .sd-filter__chips {
    flex-direction: column;
    gap: 2px;
}
.sd-cat__side .sd-chip--sm {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 7px 8px 7px 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: var(--sd-navy);
}
.sd-cat__side .sd-chip--sm::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border: 1.5px solid #B7C3D4;
    border-radius: 4px;
    background: #fff;
    transition: background .15s ease, border-color .15s ease;
}
.sd-cat__side .sd-chip--sm:hover {
    background: rgba(18, 74, 154, .06);
}
.sd-cat__side .sd-chip--sm[aria-pressed="true"] {
    background: rgba(18, 74, 154, .08);
    color: var(--sd-blue);
}
.sd-cat__side .sd-chip--sm[aria-pressed="true"]::before {
    border-color: var(--sd-blue);
    background: var(--sd-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
/* No counts beside the values: they read as clutter in a list this short. */
.sd-cat__side .sd-chip--sm span { display: none; }

.sd-cat__side .sd-filter__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

/* The toggle only exists for narrow screens. */
.sd-side__toggle { display: none; }

@media (max-width: 1199.98px) and (min-width: 992px) {
    .sd-cat__layout .sd-prod__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .sd-cat__layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .sd-cat__side { position: static; }

    .sd-side__toggle {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        padding: 11px 20px;
        border: 1px solid var(--sd-line);
        border-radius: 50px;
        background: #fff;
        font-family: inherit;
        font-size: 14.5px;
        font-weight: 700;
        color: var(--sd-navy);
        cursor: pointer;
    }
    .sd-side__toggle[aria-expanded="true"] { border-color: var(--sd-blue); color: var(--sd-blue); }

    .sd-cat__side .sd-filter { display: none; margin-top: 12px; }
    .sd-cat__side .sd-filter.is-open { display: block; }
    .sd-side__title { display: none; }

    /* Room again for values side by side. */
    .sd-cat__side .sd-filter__chips { flex-direction: row; flex-wrap: wrap; gap: 4px 10px; }
    .sd-cat__side .sd-chip--sm { width: auto; }
}

/* While the compare bar is open, the floating buttons sit above it. The open
   chat is left alone: a transform would trap its full-screen phone view. */
#sd-chat, a.float, .back-to-top { transition: transform .2s ease; }
body.sd-comparing #sd-chat:not(.is-open),
body.sd-comparing a.float,
body.sd-comparing .back-to-top { transform: translateY(calc(-1 * var(--sd-compare-h, 0px))); }

/* ==========================================================================
   Consumable types and applications, after the client's sheet: each type
   with its two photos and its applications, in the sheet's blue and orange.
   ========================================================================== */

.sd-ltypes { padding: 54px 0 64px; }

/* When the types lead the page, the materials that follow sit on a tint. */
.sd-mats--tint { padding: 64px 0 70px; background: var(--sd-tint); }
.sd-mats--tint .sd-mat__media { background: #fff; }

.sd-ltypes__table {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.sd-ltypes__table:has(> :only-child) { grid-template-columns: minmax(0, 560px); justify-content: center; }

.sd-ltype {
    --sd-band: #3F6FB5;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--sd-line);
    border-top: 4px solid var(--sd-band);
    border-radius: 14px;
    background: #fff;
}

/* Rows alternate blue and orange, as on the sheet. */
.sd-ltype:nth-child(4n+3), .sd-ltype:nth-child(4n+4) { --sd-band: #E8892F; }

.sd-ltype__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--sd-line); }

.sd-ltype__photos img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background: #fff;
}

.sd-ltype__body { padding: 18px 22px 22px; }

.sd-ltype__body h3 { margin: 0 0 2px; font-size: 20px; font-weight: 800; line-height: 1.3; color: var(--sd-navy); }

.sd-ltype__note { margin: 0; font-size: 13.5px; color: var(--sd-muted); }

.sd-ltype__label {
    margin: 10px 0 8px;
    font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--sd-band);
}

.sd-ltype__body ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 18px;
    margin: 0; padding: 0; list-style: none;
}

.sd-ltype__body li {
    position: relative;
    padding-left: 16px;
    font-size: 14.5px; line-height: 1.45;
    color: var(--sd-navy);
}

/* The sheet's own ► marker. */
.sd-ltype__body li::before {
    content: "";
    position: absolute; left: 0; top: .45em;
    border-left: 7px solid var(--sd-band);
    border-top: 4.5px solid transparent;
    border-bottom: 4.5px solid transparent;
}

@media (max-width: 991.98px) {
    .sd-ltypes__table { grid-template-columns: minmax(0, 1fr); }
    .sd-ltype:nth-child(n) { --sd-band: #3F6FB5; }
    .sd-ltype:nth-child(even) { --sd-band: #E8892F; }
}

@media (max-width: 575.98px) {
    .sd-ltypes { padding: 40px 0 48px; }
    .sd-mats--tint { padding: 44px 0 50px; }
    .sd-ltype__body ul { grid-template-columns: minmax(0, 1fr); }
}
