.hsp-standard-hinges {
    --hpsh-navy: #082f51;
    --hpsh-blue: #126eaa;
    --hpsh-ink: #153149;
    --hpsh-muted: #5a6c7b;
    --hpsh-line: #d9e1e7;
    --hpsh-soft: #f3f6f8;
    color: var(--hpsh-ink);
    background: #fff;
    overflow: clip;
}

.hsp-standard-hinges *,
.hsp-standard-hinges *::before,
.hsp-standard-hinges *::after {
    box-sizing: border-box;
}

.hsp-standard-hinges .hspc-container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.hsp-standard-hinges h1,
.hsp-standard-hinges h2,
.hsp-standard-hinges h3,
.hsp-standard-hinges p,
.hsp-standard-hinges dl,
.hsp-standard-hinges ol {
    margin-top: 0;
}

.hsp-standard-hinges h2 {
    margin-bottom: 14px;
    color: var(--hpsh-navy);
    font-size: clamp(1.85rem, 3vw, 2.65rem);
    line-height: 1.12;
    letter-spacing: -.025em;
}

.hpsh-hero {
    position: relative;
    min-height: clamp(560px, 46.9vw, 720px);
    overflow: hidden;
    background: #f4f7f9;
}

.hpsh-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: inherit;
    align-items: center;
}

.hpsh-hero__copy {
    position: relative;
    width: min(40%, 500px);
    padding: 38px 0 52px;
    color: var(--hpsh-ink);
}

.hpsh-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
    overflow: hidden;
}

.hpsh-hero__image {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center right;
}

.hpsh-hero__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(248,250,252,.99) 0%, rgba(248,250,252,.96) 31%, rgba(248,250,252,.72) 42%, rgba(248,250,252,.18) 53%, rgba(248,250,252,0) 61%);
}

.hpsh-breadcrumbs {
    margin-bottom: 32px;
}

.hpsh-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin-bottom: 0;
    list-style: none;
    font-size: .86rem;
    color: #526a7c;
}

.hpsh-breadcrumbs li + li::before {
    content: "/";
    margin-right: 8px;
    color: #a2b0bb;
}

.hpsh-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.hpsh-hero h1 {
    max-width: 620px;
    margin-bottom: 25px;
    color: var(--hpsh-navy);
    font-size: clamp(3.1rem, 5.2vw, 5.15rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.hpsh-hero__copy > p {
    max-width: 555px;
    margin-bottom: 30px;
    color: #3f596d;
    font-size: 1.08rem;
    line-height: 1.68;
}

.hpsh-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hsp-standard-hinges .hspc-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 2px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.hsp-standard-hinges .hspc-btn--primary {
    border: 1px solid var(--hpsh-blue);
    background: var(--hpsh-blue);
    color: #fff;
}

.hpsh-btn--outline {
    border: 1px solid var(--hpsh-blue);
    background: rgba(255,255,255,.58);
    color: var(--hpsh-blue);
}

.hpsh-hero .hpsh-btn--outline:hover,
.hpsh-hero .hpsh-btn--outline:focus-visible {
    background: var(--hpsh-blue);
    color: #fff;
}

.hpsh-btn--text {
    color: var(--hpsh-navy);
    border: 1px solid #9cb1c1;
}

.hpsh-pagination button {
    border: 1px solid var(--hpsh-blue);
    border-radius: 2px;
    background: #fff;
    color: var(--hpsh-blue);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.hpsh-catalogue {
    padding: 68px 0 84px;
    background: #fff;
}

.hpsh-catalogue__head {
    display: flex;
    gap: 24px;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 34px;
}

.hpsh-catalogue__head .hpsh-section-head {
    margin-bottom: 0;
}

.hpsh-catalogue__count {
    flex: 0 0 auto;
    margin: 0 0 3px;
    color: var(--hpsh-muted);
    font-size: .86rem;
}

.hpsh-section-head {
    max-width: 760px;
    margin-bottom: 36px;
}

.hpsh-section-head > p {
    margin-bottom: 0;
    color: var(--hpsh-muted);
    font-size: 1.02rem;
    line-height: 1.65;
}

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

.hpsh-product[hidden] {
    display: none !important;
}

.hpsh-product {
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--hpsh-line);
    background: #fff;
    box-shadow: 0 5px 18px rgba(8,47,81,.055);
}

.hpsh-product__media {
    display: flex;
    aspect-ratio: 4 / 3;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-bottom: 1px solid #edf1f4;
    background: #fff;
}

.hpsh-product__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hpsh-product__image-missing {
    width: 72px;
    height: 2px;
    background: #aebcc6;
}

.hpsh-product__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px 18px 20px;
}

.hpsh-product__model {
    margin-bottom: 8px;
    color: var(--hpsh-blue);
    font-size: .86rem;
    font-weight: 800;
    letter-spacing: .055em;
}

.hpsh-product h3 {
    min-height: 3.75em;
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.25;
}

.hpsh-product h3 a {
    color: var(--hpsh-navy);
    text-decoration: none;
}

.hpsh-product__specs {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    font-size: .86rem;
}

.hpsh-product__specs > div {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 8px;
}

.hpsh-product__specs dt {
    color: #728391;
}

.hpsh-product__specs dd {
    margin: 0;
    color: var(--hpsh-ink);
    font-weight: 650;
}

.hpsh-product__resources {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: auto 0 18px;
    padding-top: 16px;
    border-top: 1px solid #e6ebef;
}

.hpsh-product__resources a {
    color: var(--hpsh-blue);
    font-size: .9rem;
    font-weight: 700;
    text-underline-offset: 3px;
}

.hpsh-product__quote {
    width: 100%;
}

.hpsh-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 52px;
}

.hpsh-pagination[hidden] { display: none !important; }

.hpsh-pagination > span {
    display: flex;
    gap: 7px;
}

.hpsh-pagination button {
    min-width: 42px;
    min-height: 42px;
    padding: 8px 12px;
}

.hpsh-pagination button[aria-current="page"] {
    background: var(--hpsh-navy);
    border-color: var(--hpsh-navy);
    color: #fff;
}

.hpsh-pagination button:disabled {
    opacity: .42;
    cursor: default;
}

.hpsh-mounting {
    padding: 82px 0;
    background: var(--hpsh-soft);
}

.hpsh-mounting__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(340px, .78fr);
    gap: clamp(44px, 5vw, 72px);
    align-items: start;
}

.hpsh-mounting__drawing {
    margin: 0;
    background: #fff;
}

.hpsh-mounting__drawing img {
    display: block;
    width: 100%;
    max-height: 620px;
    object-fit: contain;
    background: #fff;
}

.hpsh-mounting__drawing figcaption {
    margin-top: 10px;
    color: var(--hpsh-muted);
    font-size: .84rem;
}

.hpsh-mounting ol {
    display: grid;
    gap: 0;
    padding: 0;
    margin: 0 0 28px;
    counter-reset: check;
    list-style: none;
}

.hpsh-mounting li {
    position: relative;
    padding: 0 0 20px 44px;
    margin-bottom: 20px;
    border-bottom: 1px solid #d4dde3;
    counter-increment: check;
}

.hpsh-mounting li::before {
    content: counter(check, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--hpsh-blue);
    font-weight: 800;
}

.hpsh-mounting li h3 {
    margin-bottom: 6px;
    color: var(--hpsh-navy);
    font-size: 1.03rem;
}

.hpsh-mounting li p {
    margin-bottom: 0;
    color: var(--hpsh-muted);
    line-height: 1.55;
}

.hpsh-procurement {
    padding: 54px 0 58px;
    background: var(--hpsh-navy);
    color: #fff;
}

.hpsh-procurement h2 {
    margin-bottom: 30px;
    color: #fff;
    font-size: clamp(1.7rem, 2.5vw, 2.2rem);
}

.hpsh-procurement dl {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 0;
}

.hpsh-procurement dl > div {
    padding: 0 22px;
    border-left: 1px solid rgba(255,255,255,.2);
}

.hpsh-procurement dl > div:first-child {
    padding-left: 0;
    border-left: 0;
}

.hpsh-procurement dt {
    margin-bottom: 8px;
    color: #8bc7ee;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hpsh-procurement dd {
    margin: 0;
    color: rgba(255,255,255,.9);
    font-size: .93rem;
    line-height: 1.45;
}

.hpsh-faq {
    padding: 82px 0;
}

.hpsh-narrow {
    max-width: 900px;
}

.hpsh-faq__list {
    border-top: 1px solid var(--hpsh-line);
}

.hpsh-faq details {
    border-bottom: 1px solid var(--hpsh-line);
}

.hpsh-faq summary {
    padding: 22px 38px 22px 0;
    color: var(--hpsh-navy);
    font-weight: 750;
    cursor: pointer;
}

.hpsh-faq details p {
    max-width: 760px;
    padding: 0 0 24px;
    margin-bottom: 0;
    color: var(--hpsh-muted);
    line-height: 1.65;
}

.hsp-standard-hinges .hpsh-rfq {
    padding: 80px 0;
    background: var(--hpsh-soft);
}

.hsp-standard-hinges .hpsh-rfq .hspc-narrow {
    max-width: 900px;
}

.hsp-standard-hinges .hspc-rfq-products {
    color: var(--hpsh-navy);
}

.hpsh-rfq__attachment {
    position: relative;
    padding: 20px;
    border: 1px dashed #77a9c7;
    background: #eef6fa;
}

.hpsh-rfq__attachment > label {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid var(--hpsh-blue);
    background: #fff;
    color: var(--hpsh-blue);
    font-weight: 750;
    cursor: pointer;
}

.hpsh-rfq__attachment > small {
    display: block;
    margin-top: 12px;
    color: #405b70;
    line-height: 1.5;
}

.hpsh-rfq__attachment input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border: 0;
    opacity: 0;
}

.hpsh-rfq__attachment:focus-within > label {
    outline: 2px solid var(--hpsh-blue);
    outline-offset: 3px;
}

.hsp-standard-hinges :focus-visible {
    outline: 3px solid #48a5db;
    outline-offset: 3px;
}

@media (max-width: 1100px) {
    .hpsh-hero { display: flex; min-height: 0; flex-direction: column; }
    .hpsh-hero__inner { order: 1; display: block; min-height: 0; }
    .hpsh-hero__copy { width: min(100%, 680px); padding:34px 0; }
    .hpsh-hero__media { position: relative; inset: auto; order: 2; width: 100%; }
    .hpsh-hero__image { position: relative; inset: auto; order: 2; width: 100%; height: auto; object-fit: contain; }
    .hpsh-hero__veil { display: none; }
}

@media (max-width: 1023px) {
    .hpsh-breadcrumbs { margin-bottom: 32px; }
    .hpsh-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hpsh-mounting__grid { grid-template-columns: minmax(0, 1.1fr) minmax(310px, .9fr); gap: 36px; }
    .hpsh-procurement dl { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 0; }
    .hpsh-procurement dl > div:nth-child(4) { padding-left: 0; border-left: 0; }
}

@media (max-width: 767px) {
    .hsp-standard-hinges .hspc-container { width: min(100% - 32px, 1180px); }
    .hpsh-hero__copy { width: 100%; padding: 26px 0 26px; }
    .hpsh-hero__image { width: 150%; max-width: none; margin-left: -50%; }
    .hpsh-breadcrumbs { margin-bottom: 24px; }
    .hpsh-breadcrumbs ol { font-size: .78rem; }
    .hpsh-hero h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
    .hpsh-hero__copy > p { font-size: 1rem; }
    .hpsh-catalogue, .hpsh-mounting, .hpsh-faq, .hsp-standard-hinges .hpsh-rfq { padding: 60px 0; }
    .hpsh-catalogue__head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .hpsh-product-grid { grid-template-columns: 1fr; gap: 38px; }
    .hpsh-product h3 { min-height: 0; }
    .hpsh-product__media { aspect-ratio: 4 / 3; }
    .hpsh-pagination { flex-wrap: wrap; }
    .hpsh-pagination > button { font-size: .85rem; }
    .hpsh-mounting__grid { grid-template-columns: 1fr; gap: 38px; }
    .hpsh-mounting__drawing img { max-height: 420px; }
    .hpsh-procurement { padding: 48px 0; }
    .hpsh-procurement dl { grid-template-columns: 1fr; gap: 0; }
    .hpsh-procurement dl > div,
    .hpsh-procurement dl > div:nth-child(4) { padding: 18px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
    .hpsh-procurement dl > div:first-child { border-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hsp-standard-hinges { scroll-behavior: auto; }
}
