/* Touch layout for the two brand shops. */
@media (max-width: 760px) {
  :root {
    --header-height: 58px;
    --gutter: clamp(16px, 4.6vw, 30px);
  }
  :is(button, a) { touch-action: manipulation; }
  .rail-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
  }
  .menu-toggle { grid-column: 1; grid-row: 1; justify-self: start; font-size: 13px; }
  .brand-home { grid-column: 2; grid-row: 1; min-height: 44px; }
  .brand-art, .mens .brand-art { height: clamp(20px, 6vw, 28px); }
  .rail-top .brand-switch { grid-column: 3; grid-row: 1; justify-self: end; align-self: center; gap: 4px; margin: 0; font-size: 10px; }
  .rail-top .brand-switch span { font-size: 14px; }
  .rail-body { width: min(94vw, 385px); padding: 10px var(--gutter) 16px; overscroll-behavior: contain; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; column-gap: 14px; padding: 4px 0; }
  .filters .look-link, .filters .all-products { margin: 0 0 8px; min-height: 48px; font-size: 25px; }
  .filters .category { min-height: 44px; }
  .filters a, .filters button { justify-self: start; }
  .edition-caption { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 22px; }
  .edition-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 8px;
    align-items: end;
  }
  .edition-intro .season { grid-column: 1/-1; font-size: 11px; }
  .edition h1 { margin: 0; font-size: clamp(37px, 9.7vw, 64px); }
  .collection-link { min-height: 44px; gap: 6px; font-size: 12px; }
  .look-picker {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 12px; align-items: center; padding-top: 14px; border-top: 1px solid var(--rule);
  }
  .look-detail { min-height: 44px; }
  .look-caption strong { font-weight: 550; line-height: 1.45; word-break: keep-all; }
  .look-selector { grid-template-columns: repeat(var(--look-count,4), minmax(44px, 1fr)); gap: 4px; width: min(100%, 330px); grid-column: 1/-1; grid-row: 1; }
  .look-detail { grid-column: 1/-1; }
  .look-selector button { width: 100%; }
  .look-selector img { aspect-ratio: 4/5; }
  .collection { padding-top: clamp(26px, 7vw, 44px); }
  .collection-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 16px; padding-bottom: 10px; }
  .collection-head h2 { margin: 0; font-size: clamp(30px, 7.8vw, 48px); }
  .catalog-summary { white-space: nowrap; font-size: 12px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px clamp(9px, 2.8vw, 16px); }
  .product { min-width: 0; overflow-wrap: anywhere; }
  .product img { object-fit: cover; object-position: center 25%; }
  .product small { margin-top: 7px; font-size: 11px; }
  .product strong { margin-top: 3px; font-size: 13px; line-height: 1.5; }
  .product .price { margin-top: 3px; font-size: 13px; }
  dialog[open] { position: fixed; inset: auto 0 0; width: 100%; max-width: none; max-height: 88dvh; margin: 0; padding-bottom: env(safe-area-inset-bottom); overscroll-behavior: contain; }
  body:has(dialog[open]) { overflow: hidden; }
  .detail-head { position: sticky; top: 0; z-index: 1; padding: 4px var(--gutter); background: var(--paper); border-bottom: 1px solid var(--rule); }
  .detail-head button { min-width: 44px; min-height: 44px; }
  dialog img { max-height: 44svh; }
  .detail-copy { padding: 18px var(--gutter) 26px; overflow-wrap: anywhere; }
  .detail-copy h2 { font-size: 20px; word-break: keep-all; }
  .detail-options { word-break: keep-all; }
}
@media (min-width: 761px) and (max-width: 1024px) and (pointer: coarse) {
  :root { --rail-width: clamp(165px, 21vw, 190px); --gutter: 26px; }
  .filters .category { min-height: 44px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product img { object-fit: cover; object-position: center 25%; }
}
@media (max-width: 1024px) and (pointer: coarse) {
  .edition-stage { touch-action: pan-y pinch-zoom; }
}
@media (max-width: 370px) {
  .edition-intro { display: block; }
  .look-picker { grid-template-columns: minmax(0,1fr); gap: 4px; }
  .look-selector { grid-row: 1; }
  .look-detail { justify-content: flex-start; gap: 12px; }
}
