.fitting-head, .builder-submit { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap }
.fitting-head h1 { margin-bottom: 8px }
.builder-columns { margin-top: 26px; align-items: start }
.sample-column { position: sticky; top: 20px; min-width: 0 }
.sample-print a { display: block; width: fit-content; max-width: 100%; margin: 0 auto }
.sample-print img { width: auto; height: auto; max-height: 65vh; border-radius: var(--round-photo) }
.sample-print figcaption { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 16px; justify-content: center; padding-top: 10px; font-size: 13px; color: var(--soft) }
.sample-print figcaption span,.request-example figcaption { color: var(--ink); font: 400 clamp(22px,2.4vw,36px)/1.5 var(--hand) }
.base-photos { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(112px,100%),1fr)); gap: 10px; margin-bottom: 22px }
.base-photos a { position: relative; display: flex; flex-direction: column; padding: 4px; min-width: 0; border-radius: 12px; text-decoration: none; border: 1px solid transparent }
.base-photos a[aria-current] { border-color: #9c7c92; background: #f6e8f0 }
.base-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 63%; border-radius: 8px; margin-bottom: 6px }
.base-photos span,.fitting .option-row label { font: 500 15px/1.4 var(--body); overflow-wrap: anywhere }
.base-photos small,.option-row small,.inquiry-form small { font-size: 13px; color: var(--soft); font-weight: 400 }
.fitting .option-row { display: grid; grid-template-columns: 80px minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 8px 10px 8px 0; margin: 0; border-radius: 0; border: none; border-bottom: 1px solid var(--line) }
.option-row:first-child { border-top: 1px solid var(--line) }
.option-photo { display: grid; justify-items: center; gap: 2px; min-width: 0; font-size: 11px; color: var(--soft); text-decoration: underline; text-underline-offset: 3px }
.option-photo img { width: 55px; height: 66px; object-fit: contain; border-radius: 5px }
.option-row small { display: block }
.option-row input[type=radio] { width: 20px; height: 20px; min-height: 20px; margin: 0 9px; accent-color: #735869 }
.material-row label { cursor: pointer; padding-block: 14px }
.option-row:has(:checked),.fitting .option-row.selected-part { background: #f5edf2 }
.option-row .stepper input { width: 3ch; min-width: 0; border: 0 }
.option-row .stepper button { min-width: 40px }
.selection-summary { color: var(--graphite); margin: 18px 0 8px; overflow-wrap: anywhere }
.selection-summary:empty { display: none }
.photo-viewer { border: 0; border-radius: 18px; padding: 12px; width: fit-content; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); background: var(--paper); color: var(--ink) }
.photo-viewer::backdrop { background: rgb(41 34 39 / .72) }
.photo-viewer figure img { width: auto; height: auto; max-height: 70dvh; max-width: 100%; margin: auto; border-radius: 10px; object-fit: contain }
.photo-viewer figcaption { padding: 8px 4px 2px; font-size: 14px }
.viewer-close { display: block; margin: 0 0 6px auto; border: 0; background: transparent; padding: 8px; min-height: 44px; font: inherit; text-decoration: underline; cursor: pointer }
textarea { width: 100%; resize: vertical; font: inherit; background: var(--white); color: var(--ink); margin-top: 5px; border: 1px solid #ab9ba9; border-radius: var(--round-field); padding: 10px 12px }
.builder-submit { margin-top: 18px; justify-content: flex-start }
.inquiry-page aside p { max-width: 38ch }
.request-example { max-width: 330px }
.request-example img { width: 100%; max-height: 330px; object-fit: cover; border-radius: var(--round-photo) }
.request-example figcaption { padding-top: 8px }
.inquiry-form { max-width: 540px }
.inquiry-form > label { margin-top: 18px }
.inquiry-form .request-consent { display: flex; align-items: flex-start; gap: 9px }
.request-consent input { flex: none; margin: 3px 0 0 }
.legal-links { margin: 6px 0 20px; font-size: 13px }
.catalog-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(215px,100%),1fr)); gap: clamp(14px,2.4vw,36px); margin-top: 20px }
.catalog-list > a { display: block; color: inherit; text-decoration: none }
.catalog-list img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--round-photo) }
.catalog-list h2 { margin: 9px 0 2px }
.catalog-list a:hover h2 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px }
.catalog-detail .sample-print img { margin-inline: auto }
.catalog-detail .two { align-items: start }
.catalog-detail h2 { margin-top: 28px }
.catalog-detail .primary { margin-top: 14px }
@media (max-width: 680px) {
    .sample-column { position: static }
    .fitting .builder-columns { grid-template-columns: 1fr; gap: 18px }
    .sample-print { display: flex; gap: 16px; align-items: center }
    .sample-print a { width: 38%; margin: 0; flex: none }
    .sample-print img { width: 100%; max-height: 240px; object-fit: contain }
    .sample-print figcaption { flex-direction: column; align-items: flex-start }
    .fitting-head { gap: 4px }
    .base-photos { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px }
    .base-photos a { flex-direction: row; flex-wrap: wrap; align-content: center; column-gap: 6px }
    .base-photos img { width: 100%; aspect-ratio: 1.65 }
    .fitting .option-row { grid-template-columns: 58px minmax(0,1fr) auto; gap: 7px; padding-right: 1px }
    .option-row .stepper button { min-width: 32px }
    .inquiry-page .two { grid-template-columns: 1fr; gap: 20px }
    .request-example img { height: 180px }
    .catalog-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 12px }
    .catalog-list h2 { font-size: clamp(24px,6.6vw,36px) }
    .catalog-detail .sample-print img { max-height: 36vh }
}
[hidden] { display: none !important }
