/* HPH PRODUCTS - shared styles for all product pages */
.page-hero{
    height:370px;
    position:relative;
    display:flex;
    align-items:flex-end;
    color:#fff;
    overflow:hidden;
}

.breadcrumbs{
    border-bottom:1px solid var(--line);
    background:#fff;
}
.breadcrumbs .wrap{
    min-height:52px;
    display:flex;
    align-items:center;
    gap:11px;
    font:600 12px Montserrat,Arial,sans-serif;
    color:var(--muted);
}
.breadcrumbs a{transition:color .2s}
.breadcrumbs a:hover{color:var(--brand)}
.breadcrumbs i{color:var(--brand)}

.line-intro{
    padding:68px 0;
    background:#fff;
}
.line-intro-grid{
    display:grid;
    grid-template-columns:.8fr 1.2fr;
    gap:80px;
    align-items:start;
}
.line-intro h2{
    font-size:clamp(32px,4vw,45px);
    line-height:1.08;
    color:var(--b700);
    letter-spacing:-.035em;
    margin:10px 0 0;
}
.line-intro p{
    font-size:18px;
    line-height:1.7;
    color:var(--muted);
    margin:0;
}

/* Shared product catalogue */
.product-catalogue{
    padding:72px 0 86px;
    background:linear-gradient(180deg,#f5f8fd 0%,#edf3fb 100%);
}
.product-catalogue-head{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:40px;
    margin-bottom:38px;
}
.product-catalogue-head h2{
    font-size:clamp(30px,4vw,44px);
    line-height:1.08;
    color:var(--b700);
    letter-spacing:-.035em;
    margin:10px 0 0;
}
.product-catalogue-head p{
    max-width:540px;
    margin:0;
    color:var(--muted);
    font-size:16px;
    line-height:1.65;
}
.product-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
}
.product-card{
    position:relative;
    display:flex;
    flex-direction:column;
    min-width:0;
    background:#fff;
    border:1px solid #dbe5f2;
    box-shadow:0 14px 34px rgba(20,51,94,.08);
    overflow:hidden;
    transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;
}
.product-card:hover{
    transform:translateY(-7px);
    border-color:rgba(100,149,237,.65);
    box-shadow:0 22px 45px rgba(20,51,94,.16);
}
.product-image{
    display:flex;
    align-items:center;
    justify-content:center;
    aspect-ratio:4/3;
    padding:22px;
    background:#fff;
    border-bottom:1px solid #e4ebf4;
    overflow:hidden;
}
.product-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    transition:transform .45s cubic-bezier(.2,.75,.25,1);
}
.product-card:hover .product-image img{transform:scale(1.045)}
.product-copy{
    display:flex;
    flex:1;
    flex-direction:column;
    padding:24px;
}
.product-copy h3{
    color:var(--b700);
    font-size:19px;
    line-height:1.35;
    margin:0 0 22px;
}
.product-more{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    margin-top:auto;
    padding-top:18px;
    border-top:1px solid #e4ebf4;
    color:var(--brand);
    font:800 11px Montserrat,Arial,sans-serif;
    letter-spacing:.08em;
}
.product-more i{
    font-size:17px;
    transition:transform .25s ease;
}
.product-card:hover .product-more i{transform:translateX(5px)}
.empty-product-list{
    grid-column:1/-1;
    padding:35px;
    background:#fff;
    border:1px solid var(--line);
    color:var(--muted);
    text-align:center;
}



@media(max-width:700px){
    .product-form .form-grid{
        grid-template-columns:1fr;
        gap:18px;
    }
    .product-form .form-field.full,
    .product-form .form-privacy,
    .product-form .form-submit{
        grid-column:auto;
    }
    .product-form .boxinfo{padding:32px 20px}
}

/* Shared bottom cover. Each page supplies --product-cover. */
.line-cover{
    height:210px;
    background:var(--product-cover) center bottom/100% no-repeat;
    background-attachment:fixed;
}

@media(prefers-reduced-motion:reduce){
    .product-card,
    .product-image img,
    .product-more i,
    .product-contact-button{
        transition:none;
    }
}
@media(max-width:1000px){
    .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:800px){
    .line-intro-grid{grid-template-columns:1fr;gap:25px}
    .product-catalogue-head{align-items:start;flex-direction:column;gap:18px}
}
@media(max-width:760px){
    .line-intro{padding:52px 0}
    .line-intro p{font-size:16px}
    .product-catalogue{padding:55px 0 65px}
    .line-cover{background-attachment:scroll}
}
@media(max-width:560px){
    .page-hero{height:320px}
    .page-hero-content{padding-bottom:35px}
    .page-hero h1{font-size:38px}
    .product-grid{grid-template-columns:1fr}
}
