/* Filters and gender on the home page (BNN-0071, 2026-10-31; banan-filter.js). The site's own look: white on black, Helvetica,
   small spaced capitals like CART, outline chips, no shadows, no frames on focus (a brighter line instead, §14). */

/* ---------- the row over the grid: FILTER, the chosen filters, All / Women / Men */
.bnn-filter-section { flex: 0 0 100%; min-width: 0; }
.bnn-filterbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 20px var(--bc-m, 24px); color: #fff;
  font: 400 13px/16px "Helvetica Neue", HelveticaNeue, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.bnn-filterbar button, .bnn-f-panel button, .bnn-f-empty button { -webkit-appearance: none; appearance: none; margin: 0; background: none; border: 0; border-radius: 0; box-shadow: none;
  color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bnn-f-open { position: relative; padding: 8px 0; }
.bnn-f-open::before, .bnn-g::before, .bnn-f-link::before { content: ""; position: absolute; inset: -6px -4px; }   /* hit area 44px, invisible */
.bnn-f-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; }
.bnn-chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px 0 12px; border: 1px solid rgba(255, 255, 255, .5) !important; transition: border-color .2s ease; }
.bnn-chip .x { font-size: 16px; line-height: 1; opacity: .7; }
.bnn-f-gender { display: flex; gap: 16px; margin-left: auto; }
.bnn-g { position: relative; padding: 8px 0; color: rgba(255, 255, 255, .55) !important; transition: color .2s ease; }
.bnn-g[aria-pressed="true"] { color: #fff !important; text-decoration: underline; text-underline-offset: 5px; }
.bnn-f-link { position: relative; padding: 8px 0; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .5); }
@media (hover: hover) {
  .bnn-f-open:hover, .bnn-f-link:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #fff; }
  .bnn-chip:hover { border-color: #fff !important; }
  .bnn-g:hover { color: #fff !important; }
}
.bnn-filterbar button:focus-visible, .bnn-f-panel button:focus-visible, .bnn-f-empty button:focus-visible { outline: none; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.bnn-chip:focus-visible, .bnn-opt:focus-visible { border-color: #fff !important; box-shadow: inset 0 0 0 1px #fff; text-decoration: none !important; }
/* from 768 px the row keeps right: the fixed logo sits top left and would cover it while it passes under */
@media (min-width: 768px) {
  .bnn-filterbar .bnn-f-open { margin-left: auto; }   /* beats the reset margin of the row's buttons */
  .bnn-f-chips { flex: 0 1 auto; }
  .bnn-f-gender { margin-left: 24px; }
}
@media (max-width: 767px) {
  .bnn-filterbar { padding: 16px var(--bc-m, 16px); }
  .bnn-f-chips { order: 3; flex-basis: 100%; }
  .bnn-f-chips:empty { display: none; }
}
.bnn-f-empty { padding: 48px var(--bc-m, 24px) 96px; color: #fff; text-align: center; font: 300 16px/24px "Helvetica Neue", HelveticaNeue, Arial, sans-serif; letter-spacing: .4px; }
.bnn-f-empty[hidden] { display: none; }
.bnn-f-empty p { margin: 0 0 16px; color: rgba(255, 255, 255, .7); }
.bnn-f-empty .bnn-f-link { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.bnn-f-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- filtered: the collage gives way to an even grid (as "photos per row" does on phones), other tiles hidden */
html.bnn-filtered .product-grid-section .hover-image-container.bnn-off { display: none !important; }
html.bnn-filtered #MainContent:has(.product-grid-section) { display: flex; flex-wrap: wrap; }
html.bnn-filtered #MainContent > .shopify-section:not(:has(.product-grid-section)) { flex: 0 0 100%; min-width: 0; }
html.bnn-filtered #MainContent > .shopify-section:has(.product-grid-section),
html.bnn-filtered #MainContent .product-grid-layout-container,
html.bnn-filtered #MainContent .product-grid-section,
html.bnn-filtered #MainContent .partition-wrapper { display: contents; }
html.bnn-filtered .product-grid-section .hover-image-container { flex: 0 0 25%; aspect-ratio: 3 / 4 !important; align-self: flex-start; min-width: 0; }
html.bnn-filtered .product-grid-section .hover-image-container img { object-fit: cover; }
@media (min-width: 768px) and (max-width: 1199px) {
  html.bnn-filtered .product-grid-section .hover-image-container { flex-basis: calc(100% / 3); }
  html.bnn-filtered[data-bnn-cols="2"] .product-grid-section .hover-image-container { flex-basis: 50%; }
  html.bnn-filtered[data-bnn-cols="4"] .product-grid-section .hover-image-container { flex-basis: 25%; }
}
@media (max-width: 767px) {
  html.bnn-filtered .product-grid-section .hover-image-container { flex-basis: 100%; }
  html.bnn-filtered[data-bnn-cols="2"] .product-grid-section .hover-image-container { flex-basis: 50%; }
  html.bnn-filtered[data-bnn-cols="3"] .product-grid-section .hover-image-container { flex-basis: calc(100% / 3); }
  html.bnn-filtered[data-bnn-cols="4"] .product-grid-section .hover-image-container { flex-basis: 25%; }
}

/* ---------- the panel: from the right on a computer, the whole screen on a phone */
html.bnn-f-lock, html.bnn-f-lock body { overflow: hidden; }
.bnn-f-shade { position: fixed; inset: 0; z-index: 1100; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .25s ease; }
.bnn-f-shade.on { opacity: 1; }
.bnn-f-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1101; display: flex; flex-direction: column; box-sizing: border-box; width: min(440px, 100vw);
  background: #000; color: #fff; border-left: 1px solid rgba(255, 255, 255, .2); transform: translateX(100%); transition: transform .25s ease;
  font: 400 13px/16px "Helvetica Neue", HelveticaNeue, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.bnn-f-panel.on { transform: none; }
@media (max-width: 767px) { .bnn-f-panel { width: 100vw; border-left: 0; } }
@media (prefers-reduced-motion: reduce) { .bnn-f-panel, .bnn-f-shade { transition: none; } }
.bnn-f-head { display: flex; align-items: center; justify-content: space-between; padding: 22px var(--bc-m, 24px) 8px; }
.bnn-f-head h2 { margin: 0; color: #fff; font: inherit; letter-spacing: inherit; }
.bnn-f-x { position: relative; width: 32px; height: 32px; margin-right: -8px !important; font-size: 24px !important; line-height: 1 !important; }
.bnn-f-x::before { content: ""; position: absolute; inset: -6px; }
.bnn-f-body { flex: 1 1 auto; overflow-y: auto; padding: 8px var(--bc-m, 24px) 24px; overscroll-behavior: contain; }
.bnn-f-group { margin: 28px 0 0; padding: 0; border: 0; min-width: 0; }
.bnn-f-group:first-child { margin-top: 12px; }
.bnn-f-group legend { float: left; width: 100%; padding: 0 0 12px; color: rgba(255, 255, 255, .6); font-size: 12px; letter-spacing: .16em; }   /* float: no fieldset gap under it */
.bnn-f-opts { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.bnn-opt { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px !important; border: 1px solid rgba(255, 255, 255, .35) !important; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.bnn-opt[aria-pressed="true"] { background: #fff !important; color: #000 !important; border-color: #fff !important; }
.bnn-opt[aria-disabled="true"] { opacity: .3; cursor: default; }
@media (hover: hover) { .bnn-opt:not([aria-disabled="true"]):not([aria-pressed="true"]):hover { border-color: #fff !important; } }
.bnn-opt .sw { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.bnn-opt[aria-pressed="true"] .sw { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3); }
.bnn-f-foot { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px var(--bc-m, 24px) calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .15); }
.bnn-f-foot .bnn-f-show { width: 100%; text-transform: uppercase; }
