/* Gallery series are a real filter; each exposes only its own model controls. */
.gallery-series-picker{display:flex;gap:10px;margin:0 0 14px;flex-wrap:wrap}
.gallery-series-picker button{min-height:48px;min-width:184px;padding:12px 20px;border:1px solid #c7cfdb;border-radius:5px;background:#fff;color:#0b1639;font:inherit;font-size:17px;line-height:1.3;font-weight:750;cursor:pointer}
.gallery-series-picker button:hover{background:#f1f3f7}
.gallery-series-picker button[aria-pressed="true"],.gallery-series-picker button[aria-pressed="true"]:hover{background:#0b1639;color:#fff;border-color:#0b1639;box-shadow:inset 0 -3px #e5d719}
.gallery-series-picker button:focus-visible{outline:3px solid #c8b900;outline-offset:3px}
[data-series-models][hidden]{display:none!important}
@media(max-width:760px){.gallery-series-picker button{min-width:0;flex:1;padding:12px 10px;font-size:16px}}
@media(max-width:360px){.gallery-series-picker button{font-size:14px}}
/* Equal photo-card slots let buyers choose a model by its appearance. */
.photo-filters[data-series-models]{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;align-items:stretch}
.model-picker-hint{grid-column:1/4;align-self:center;margin:0;font-size:16px;line-height:1.35;font-weight:650;color:#53647b}
.photo-filters[data-series-models]>button[data-photo-filter="all"]{grid-column:4/-1;justify-self:end;box-sizing:border-box;width:160px;max-width:100%;height:44px;min-height:44px;padding:8px 12px;font-size:15px;line-height:1.3;white-space:nowrap}
.photo-filters[data-series-models]>button.model-option{box-sizing:border-box;display:grid;grid-template-rows:108px minmax(0,1fr);width:100%;min-width:0;height:190px;min-height:190px;margin:0;padding:0;border:2px solid #d6dce7;border-radius:6px;background:#f4f6f9;color:#0b1639;overflow:hidden;text-align:left;white-space:normal}
.photo-filters[data-series-models]>button.model-option>img{display:block;width:100%;height:108px;object-fit:cover;object-position:50% 55%;margin:0;min-width:0}
.model-option-copy{display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0;min-height:0;padding:8px}
.model-option-code{display:flex;align-items:center;justify-content:space-between;line-height:22px;font-size:18px;font-weight:800}
.model-option-label{display:block;min-height:36px;line-height:18px;font-size:13.5px;font-weight:500;white-space:normal}
.model-option-check{opacity:0;font-size:17px;line-height:22px}
.photo-filters[data-series-models]>button.model-option:hover{border-color:#8b98ad;background:#eef1f6;color:#0b1639}
.photo-filters[data-series-models]>button.model-option[aria-pressed="true"],.photo-filters[data-series-models]>button.model-option[aria-pressed="true"]:hover{border-color:#0b1639;background:#fff;color:#0b1639;box-shadow:inset 0 -3px #e5d719}
.model-option[aria-pressed="true"] .model-option-check{opacity:1}
.photo-filters[data-series-models]>button.model-option:focus-visible{outline:3px solid #c8b900;outline-offset:3px}
@media(max-width:1000px){.photo-filters[data-series-models]{grid-template-columns:repeat(3,minmax(0,1fr))}.model-picker-hint{grid-column:1/3}.photo-filters[data-series-models]>button[data-photo-filter="all"]{grid-column:3}}
@media(max-width:640px){.photo-filters[data-series-models]{grid-template-columns:repeat(2,minmax(0,1fr))}.model-picker-hint{grid-column:1;font-size:14px}.photo-filters[data-series-models]>button[data-photo-filter="all"]{grid-column:2;font-size:14px}.photo-filters[data-series-models]>button.model-option{grid-template-rows:96px minmax(0,1fr);height:178px;min-height:178px}.photo-filters[data-series-models]>button.model-option>img{height:96px}}
@media(max-width:360px){.photo-filters[data-series-models]>button[data-photo-filter="all"]{font-size:13px;padding-inline:8px}.model-option-label{font-size:13px}}

.model-option-short { display: none; }

@media (max-width: 760px) {
  #content.photo-gallery-page > .utility-intro {
    padding-block: 10px 8px;
    margin-block: 0;
  }
  #content.photo-gallery-page > .utility-intro h1 {
    margin: 0;
    font-size: clamp(1.5rem, 5.4vw, 2rem);
    line-height: 1.15;
  }
  #content.photo-gallery-page > .utility-intro p { display: none; }

  .photo-gallery-page .gallery-series-picker { gap: 6px; margin: 0 0 4px; }
  .photo-gallery-page .gallery-series-picker button {
    min-height: 44px;
    padding: 6px 8px;
    font-size: 1rem;
  }
  .photo-gallery-page .photo-filters[data-series-models] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-block: 0;
  }
  .photo-gallery-page .model-picker-hint {
    grid-column: 1 / 3;
    font-size: .875rem;
    line-height: 1.25;
    margin: 0;
  }
  .photo-gallery-page .photo-filters[data-series-models] > button[data-photo-filter="all"] {
    grid-column: 3;
    align-self: center;
    width: 100%;
    min-height: 44px;
    height: auto;
    padding: 4px;
    white-space: normal;
    line-height: 1.15;
    font-size: .8125rem;
  }
  /* Every model stays visible when switching series, including at phone widths. */
  .classic-variant .photo-gallery-page .photo-filters[data-series-models] > button.model-option {
    display: grid;
    grid-template-rows: auto 1fr;
    position: relative;
    height: auto;
    min-height: 44px;
    border-radius: 5px;
    background: #fff;
  }
  .photo-gallery-page .photo-filters[data-series-models] > button.model-option > img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.85;
    object-fit: cover;
  }
  .photo-gallery-page .model-option-copy {
    display: grid;
    align-items: center;
    justify-content: stretch;
    padding: .12rem .22rem;
  }
  .photo-gallery-page .model-option-code {
    position: absolute;
    top: 3px;
    left: 3px;
    padding: 1px 4px;
    gap: 3px;
    border-radius: 3px;
    color: #fff;
    background: #0b1639;
    font-size: .8125rem;
    line-height: 1.25;
  }
  .photo-gallery-page .model-option-check { display: none; }
  .photo-gallery-page .model-option[aria-pressed="true"] .model-option-check {
    display: inline;
    font-size: inherit;
    line-height: inherit;
    color: #ffdf45;
  }
  .photo-gallery-page .model-option-label { display: none; }
  .photo-gallery-page .model-option-short {
    display: grid;
    align-content: center;
    min-height: 2.4em;
    font-size: .8125rem;
    line-height: 1.2;
    font-weight: 600;
    overflow-wrap: anywhere;
    text-align: center;
  }
  .photo-gallery-page .gallery-count-selection {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .photo-gallery-page .gallery-result-tools {
    align-items: center;
    justify-content: space-between;
    gap: 0 6px;
    margin: 3px 0 5px;
  }
  .photo-gallery-page .gallery-result-tools #photo-result-count,
  .photo-gallery-page .gallery-result-tools a {
    font-size: .875rem;
    line-height: 1.25;
    margin: 0;
  }
  .photo-gallery-page .gallery-result-tools a { min-height: 44px; padding-block: 4px; }
}
@media (min-width: 640px) and (max-width: 760px) {
  .photo-gallery-page .photo-filters[data-series-models] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .photo-gallery-page .model-picker-hint { grid-column: 1 / 5; }
  .photo-gallery-page .photo-filters[data-series-models] > button[data-photo-filter="all"] { grid-column: 5 / -1; width: auto; padding-inline: 12px; }
}
