.studio-range-intro { max-width: 65ch; }
.studio-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 12px; }
.studio-filter[hidden] { display: none; }
.studio-filter button { display: inline-flex; gap: 9px; align-items: center; min-height: 44px; border: 1px solid #d9ded2; border-radius: 999px; padding: 9px 17px; color: #244633; background: #fffdf8; font: 650 14px/1.4 var(--sans); cursor: pointer; }
.studio-filter button span { color: #62695e; font-size: 12px; }
.studio-filter button[aria-pressed="true"] { background: #d7e5d8; border-color: #799d82; color: #1e3e2d; }
.studio-status { margin: 0 0 22px; color: #62695e; font: 500 13px/1.5 var(--sans); }
.studio-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(18px,2.5vw,30px); }
.studio-garment { min-width: 0; }
.studio-garment[hidden] { display: none; }
.studio-image-link { display: block; position: relative; overflow: hidden; background: #f8f6ef; border: 1px solid #e4dfd5; border-radius: 20px; color: #244633; }
.studio-image-link img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; transition: transform 180ms ease; }
.studio-image-link:hover img { transform: scale(1.025); }
.studio-zoom { position: absolute; bottom: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #d9ded2; border-radius: 50%; background: #fffdf8; }
.studio-zoom svg { width: 18px; height: 18px; }
.studio-garment-kind { margin: 15px 0 4px; color: #526c57; font: 700 11px/1.5 var(--sans); letter-spacing: .075em; text-transform: uppercase; }
.studio-garment h3 { margin: 0 0 7px; color: #213f2d; font-size: clamp(18px,2vw,25px); line-height: 1.2; }
.studio-garment > p:last-child { margin: 0; color: #5b665b; font: 400 14px/1.55 var(--sans); }
.studio-photo-disclosure { display: flex; gap: 10px; align-items: flex-start; max-width: 74ch; margin: 26px 0 0; color: #62695e; font: 400 13px/1.6 var(--sans); }
.studio-photo-disclosure svg { flex: none; width: 20px; height: 20px; }
.studio-range-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 25px; }
.other-jacket-styles { margin-top: 38px; border-top: 1px solid #dce2d6; border-bottom: 1px solid #dce2d6; padding: 18px 0; }
.other-jacket-styles > summary { padding: 8px 0; cursor: pointer; color: #244633; font: 650 16px/1.5 var(--sans); }
.other-jacket-styles .jacket-compare { margin-top: 24px; }
.jacket-fabric-section { background: #edf2e9; }
.jacket-fabric-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; align-items: start; }
.jacket-fabric-choice { border: 1px solid #d7dfd2; border-radius: 17px; background: #fffdf8; overflow: hidden; }
.jacket-fabric-choice summary { display: flex; align-items: center; gap: 14px; padding: 20px; cursor: pointer; list-style: none; }
.jacket-fabric-choice summary::-webkit-details-marker { display: none; }
.jacket-fabric-choice summary > svg { width: 32px; height: 32px; flex: none; }
.jacket-fabric-choice summary > span { flex: 1; min-width: 0; }
.jacket-fabric-choice summary strong { display: block; color: #244633; font-size: 18px; line-height: 1.3; }
.jacket-fabric-choice summary small { display: block; margin-top: 4px; color: #62695e; font: 400 13px/1.5 var(--sans); }
.jacket-fabric-choice summary::after { content: '+'; color: #526c57; font: 400 26px/1 var(--sans); }
.jacket-fabric-choice[open] summary::after { content: '−'; }
.jacket-fabric-choice[open] { border-color: #90ae92; }
.jacket-fabric-guidance { margin: 0 20px 20px 66px; border-top: 1px solid #e1e6dc; padding-top: 15px; }
.jacket-fabric-guidance p { margin: 0 0 10px; font: 400 14px/1.65 var(--sans); color: #505d51; }
.jacket-fabric-guidance p:last-child { margin-bottom: 0; }
.studio-dialog { width: min(940px,calc(100% - 28px)); height: fit-content; max-width: none; max-height: calc(100dvh - 28px); inset: 0; margin: auto; padding: clamp(16px,3vw,30px); border: 1px solid #dce2d6; border-radius: 24px; background: #fffdf8; color: #213f2d; box-shadow: 0 28px 100px rgba(16,31,21,.25); overflow: auto; }
.jacket-cover-plates .jacket-plate img { object-fit: contain; background: #f8f6ef; }
.studio-dialog::backdrop { background: rgba(22,35,27,.7); }
.studio-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 14px; }
.studio-dialog-head h3 { margin: 0; font-size: clamp(23px,3vw,32px); line-height: 1.15; }
.studio-dialog-close { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 13px; border: 1px solid #d5ddcf; border-radius: 999px; background: #fffdf8; color: #244633; font: 650 13px/1.5 var(--sans); cursor: pointer; }
.studio-dialog-close svg { width: 18px; height: 18px; }
.studio-dialog figure { margin: 0; }
.studio-dialog figure img { display: block; width: 100%; max-height: 60dvh; height: auto; aspect-ratio: 1; object-fit: contain; background: #f8f6ef; border-radius: 15px; }
.studio-dialog figcaption { margin: 12px 0 18px; color: #62695e; font: 400 13px/1.5 var(--sans); }
.studio-dialog-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.studio-dialog-footer > button { min-height: 44px; padding: 10px 15px; border: 1px solid #d7dfd2; border-radius: 999px; background: #edf2e9; color: #244633; font: 650 13px/1.4 var(--sans); cursor: pointer; }
.studio-dialog-footer > button:disabled { opacity: .45; cursor: default; }
.studio-dialog-footer [data-studio-count] { padding-inline: 6px; color: #62695e; font: 500 13px/1.5 var(--sans); }
.studio-dialog-footer > a { margin-left: auto; }
.studio-filter button:focus-visible, .studio-image-link:focus-visible, .jacket-fabric-choice summary:focus-visible, .other-jacket-styles > summary:focus-visible, .studio-dialog :is(button,a):focus-visible { outline: 3px solid #3e6b54; outline-offset: 4px; }
@media (min-width: 981px) {
  .studio-gallery[data-visible-count="4"] { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .studio-gallery[data-visible-count="1"] { grid-template-columns: minmax(0,480px); justify-content: center; }
}
@media (max-width: 900px) { .studio-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px) {
  .studio-filter { gap: 7px; }
  .studio-filter button { padding-inline: 13px; font-size: 13px; }
  .studio-gallery { gap: 22px 13px; }
  .studio-image-link { border-radius: 15px; }
  .studio-garment h3 { font-size: 18px; }
  .studio-garment > p:last-child { font-size: 13px; }
  .studio-zoom { bottom: 8px; right: 8px; width: 30px; height: 30px; }
  .jacket-fabric-grid { grid-template-columns: minmax(0,1fr); }
  .studio-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 18px; padding: 14px; }
  .studio-dialog figure img { max-height: 52dvh; }
  .studio-dialog-footer > a { width: 100%; margin: 4px 0 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .studio-image-link img { transition: none; } }
