.fh-workshop {
    --product-line: #d9d7cd;
    padding-block: clamp(18px, 3vw, 46px) clamp(30px, 5vw, 72px);
}
.fh-crumbs { color: #585c50; font-size: 14px; }
.fh-crumbs a { text-decoration: underline; }
.fh-crumbs span { margin-inline: 5px; }
.fh-workshop h1 {
    margin: 12px 0 clamp(16px, 2.5vw, 32px);
    font-size: clamp(29px, 4.2vw, 60px);
    line-height: 1.05;
    letter-spacing: -.045em;
}
.fh-layout {
    display: grid;
    grid-template-columns: minmax(235px, .38fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(12px, 2vw, 28px);
}
.fh-settings, .fh-samples {
    min-width: 0;
    border: 1px solid var(--product-line);
    border-radius: 12px;
    background: #fff;
    padding: clamp(14px, 2vw, 26px);
}
.fh-settings label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.fh-workshop select, .fh-workshop input[type=search] {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #aaa99c;
    border-radius: 5px;
    background-color: #fff;
    color: var(--ink);
    font: inherit;
}
.fh-settings input { margin-bottom: 14px; }
.fh-apply, .fh-toggle {
    cursor: pointer;
    min-height: 44px;
    border-radius: 6px;
    padding: 8px 14px;
    font: inherit;
    font-weight: 600;
}
.fh-apply { width: 100%; margin-top: 12px; border: 0; background: #244539; color: white; }
.fh-apply:hover { background: #163326; }
.fh-apply:disabled { opacity: .55; cursor: default; }
.fh-toggle { border: 1px solid #b7c3b9; background: #edf2eb; color: #244539; font-size: 14px; }
.fh-selected { margin-top: 20px; border-top: 1px solid var(--product-line); padding-top: 16px; }
.fh-selected > span, .fh-note { color: #585d55; font-size: 14px; }
.fh-selected strong { display: block; font-size: 24px; }
.fh-selected p { margin: 5px 0; overflow-wrap: anywhere; }
.fh-selected a { display: inline-block; margin-top: 10px; color: var(--brick); text-decoration: underline; text-underline-offset: 3px; }
.fh-display { min-width: 0; display: grid; gap: 16px; }
.fh-display details { margin-top: 0; }
.fh-samples-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.fh-samples h2 { margin: 0; font-size: clamp(20px, 2.4vw, 31px); line-height: 1.1; }
.fh-sample-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.fh-sample-grid.is-comparing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fh-sample-grid figure { margin: 0; }
.fh-photo { display: grid; place-items: center; background: #f1f0e9; border-radius: 7px; overflow: hidden; }
.fh-photo img { width: 100%; height: clamp(140px, 26vw, 340px); object-fit: contain; }
.fh-sample-grid figcaption { padding-block: 7px; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.fh-note { margin: 12px 0 0; }
.fh-workshop [hidden] { display: none !important; }
@media(max-width:820px){
    .fh-layout {grid-template-columns: minmax(0, 1fr);}
    .fh-settings {display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:16px;}
    .fh-selected {margin:0; padding:0; border:0;}
}
@media(max-width:530px){
    .fh-settings {grid-template-columns: minmax(0,1fr);}
    .fh-selected {border-top:1px solid var(--product-line); padding-top:10px;}
    .fh-selected strong {font-size:19px;}
    .fh-photo img {height:170px;}
    .is-comparing .fh-photo img {height:110px;}
    .fh-sample-grid {gap:8px;}
}

@media (max-width: 1000px) {
    .fh-workshop select, .fh-workshop input[type=search] {
        font-size: max(16px, 1em);
    }
}
