
.filters .fhead button {
background: none;
      border: none;
      color: var(--royal);
      font-weight: 700;
      font-size: 13px;
      transition: color var(--transition-default)
}

.filters .fhead button:hover {
color: var(--royal-deep);
      opacity: 1;
      text-decoration: underline;
      text-underline-offset: 3px
}

.chip button {
background: var(--mist);
      border: none;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--muted)
}

.chip button:hover {
background: var(--royal-soft);
      color: var(--royal)
}

.sort-label {
font-size: 13.5px;
      color: var(--muted);
      font-weight: 600
}

.custom-select {
position: relative;
      width: 190px;
      flex: none
}

.custom-select__trigger {
width: 100%;
      min-height: 38px;
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 8px 11px 8px 12px;
      font: 600 14px/1.35 var(--body);
      color: var(--ink);
      background: #fff;
      border: 1.5px solid var(--line);
      border-radius: 10px;
      cursor: pointer;
      transition: border-color var(--transition-default), box-shadow var(--transition-default), background var(--transition-default)
}

.custom-select__trigger svg {
color: var(--muted);
      flex: none;
      transition: transform var(--transition-default)
}

.custom-select__trigger span {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap
}

.custom-select__trigger:hover,
.custom-select__trigger[aria-expanded="true"] {
border-color: var(--royal);
      background: var(--royal-soft)
}

.custom-select__trigger[aria-expanded="true"] svg {
transform: rotate(180deg)
}

.custom-select__trigger:focus-visible,
.custom-select__option:focus-visible {
outline: 3px solid rgba(46, 91, 255, .2);
      outline-offset: 2px
}

.custom-select__menu {
position: absolute;
      top: calc(100% + 8px);
      right: 0;
      z-index: var(--z-overlay);
      width: 100%;
      min-width: 0;
      padding: 4px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 12px;
      box-shadow: 0 16px 28px -18px rgba(11, 20, 55, .42)
}

.custom-select__menu[hidden] {
display: none
}

.custom-select__option {
width: 100%;
      padding: 8px 10px;
      border: 0;
      border-radius: 8px;
      background: transparent;
      color: var(--ink);
      font: 600 13.5px/1.35 var(--body);
      text-align: left;
      white-space: nowrap;
      cursor: pointer;
      transition: background var(--transition-default), color var(--transition-default)
}

.custom-select__option:hover,
.custom-select__option[aria-selected="true"] {
background: var(--royal-soft);
      color: var(--royal-deep)
}

.check input {
appearance: none;
      width: 18px;
      height: 18px;
      border: 1.8px solid var(--line);
      border-radius: 5px;
      cursor: pointer;
      flex: none;
      position: relative;
      transition: all .12s
}

.check input:checked {
background: var(--royal);
      border-color: var(--royal)
}

.check input:checked::after {
content: "";
      position: absolute;
      left: 5px;
      top: 1.5px;
      width: 5px;
      height: 9px;
      border: solid #fff;
      border-width: 0 2px 2px 0;
      transform: rotate(45deg)
}

.radio {
display: flex;
      align-items: center;
      gap: 10px;
      padding: 6px 0;
      cursor: pointer;
      font-size: 14px;
      font-weight: 500
}

.radio input {
appearance: none;
      width: 18px;
      height: 18px;
      border: 1.8px solid var(--line);
      border-radius: 50%;
      cursor: pointer;
      flex: none;
      position: relative;
      transition: all .12s
}

.radio input:checked {
border-color: var(--royal)
}

.radio input:checked::after {
content: "";
      position: absolute;
      left: 4px;
      top: 4px;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--royal)
}

.price-inputs .pin input {
border: none;
      outline: none;
      width: 100%;
      font-family: inherit;
      font-size: 14px;
      font-weight: 600;
      color: var(--ink)
}

.card .body .foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.card {
background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
      cursor: pointer;
      transition: all .2s;
      min-width: 0;
      height: 100%;
      display: flex;
      flex-direction: column
}

.card:hover {
transform: translateY(-5px);
      box-shadow: var(--shadow);
      border-color: var(--royal-soft)
}

.card .img {
position: relative;
      height: 210px;
      background: #fff;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 58px
}

.card .img > img {
      display: block;
      width: 100%;
      height: 100%;
      max-width: 100%;
      object-fit: contain;
      object-position: center;
}

.card .img .badge {
position: absolute;
      top: 12px;
      left: 12px;
      font-size: 11px;
      font-weight: 800;
      padding: 3px 9px;
      border: 1px solid var(--color-border);
      border-radius: 999px;
      background: var(--color-surface);
      box-shadow: var(--shadow-sm)
}

.card .img .like {
position: absolute;
      top: 11px;
      right: 11px;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .92);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--muted);
      border: none;
      transition:
        color var(--transition-default),
        background-color var(--transition-default),
        transform var(--transition-default),
        box-shadow var(--transition-default)
}

.card .img .like:hover {
background: var(--royal-soft);
      color: var(--royal);
      opacity: 1;
      transform: scale(1.05);
      box-shadow: var(--shadow-sm)
}

.card .img .like.on {
color: var(--danger)
}

.card .img .like.on svg {
fill: var(--danger)
}

.card .body {
padding: 14px 15px 16px;
      display: flex;
      flex: 1;
      flex-direction: column
}

.card .body .foot {
margin-top: auto
}

.card .body .ttl {
font-weight: 700;
      font-size: 15px;
      line-height: 1.3;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap
}

.card .body .bl {
color: var(--muted);
      font-size: 12.5px;
      margin-top: 2px;
      margin-bottom: 11px
}

.card .body .pricewrap {
display: flex;
      align-items: baseline;
      gap: 7px;
      flex-wrap: wrap
}

.card .body .price {
font-family: var(--font-editorial, var(--display));
      font-weight: 800;
      font-size: 18px
}

.card .body .rrp {
color: var(--muted);
      font-size: 13px;
      font-weight: 600;
      text-decoration: line-through
}

.card .body .save {
background: #E4FBF0;
      color: #0E9F62;
      font-size: 10.5px;
      font-weight: 800;
      padding: 2px 7px;
      border-radius: 999px;
      white-space: nowrap
}

.card .body .seller {
display: flex;
      align-items: center;
      gap: 6px;
      flex: none;
      font-size: 12px;
      color: var(--muted);
      white-space: nowrap
}

.card .body .seller .av {
width: 20px;
      height: 20px;
      border-radius: 50%;
      background: var(--royal-soft);
      color: var(--royal-deep);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 10px
}

.empty {
grid-column: 1/-1;
      text-align: center;
      padding: 70px 20px;
      color: var(--muted)
}

.empty svg {
color: var(--line);
      margin-bottom: 14px
}

.empty h3 {
font-family: var(--display);
      font-weight: 800;
      font-size: 18px;
      color: var(--ink);
      margin-bottom: 6px
}/* ========================================================================== 
   Modals component
   ========================================================================== */

.overlay {
display: none;
      position: fixed;
      inset: 0;
      background: rgba(11, 20, 55, .4);
      z-index: var(--z-overlay-low)
}/* ========================================================================== 
   browse page
   ========================================================================== */

body {
  background: #fff;
  line-height: 1.5;
}

.pagebar {
padding: 26px 0 18px
}

.pagebar h1 {
font-family: var(--font-editorial, var(--display));
      font-weight: 800;
      font-size: 28px;
      letter-spacing: -.7px
}

.pagebar .row {
display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-top: 14px;
      flex-wrap: wrap
}

.count {
color: var(--muted);
      font-size: 14.5px;
      font-weight: 600
}

.count b {
color: var(--ink)
}

.sort-wrap {
display: flex;
      align-items: center;
      gap: 10px
}

.filter-toggle {
display: none;
      align-items: center;
      gap: 8px;
      background: #fff;
      border: 1.5px solid var(--line);
      border-radius: 10px;
      padding: 9px 15px;
      font-weight: 700;
      font-size: 14px;
      color: var(--ink)
}

.layout {
display: grid;
      grid-template-columns: 262px 1fr;
      gap: 26px;
      padding-bottom: 60px;
      align-items: start
}

.filters {
background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 20px;
      position: sticky;
      top: 88px
}

.filters .fhead {
display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 6px
}

.filters .fhead h2,
.filters .fhead h3 {
font-family: var(--display);
      font-weight: 800;
      font-size: 16px
}

.filters .fhead-actions {
display: flex;
      align-items: center;
      gap: 10px
}

.filters .filter-drawer-close {
display: none
}

.fgroup {
padding: 18px 0;
      border-bottom: 1px solid var(--line)
}

.fgroup:last-child {
border-bottom: none;
      padding-bottom: 0
}

.fgroup--damage {
border-bottom: 0
}

.fgroup h3,
.fgroup h4 {
font-family: var(--display);
      font-weight: 800;
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: .5px;
      color: var(--muted);
      margin-bottom: 12px
}

.cat-item {
display: flex;
      width: 100%;
      align-items: center;
      justify-content: space-between;
      border: 0;
      background: transparent;
      text-align: left;
      padding: 8px 10px;
      border-radius: 9px;
      cursor: pointer;
      font-size: 14px;
      font-weight: 600;
      transition: background .12s
}

.cat-item:hover {
background: var(--mist)
}

.cat-item:disabled:not(.active) {
      opacity: .45;
      cursor: not-allowed
}

.cat-item:disabled:not(.active):hover {
      background: transparent
}

.cat-item.active {
background: var(--royal);
      color: #fff
}

.cat-item .c {
font-size: 12px;
      color: var(--muted);
      font-weight: 700
}

.cat-item.active .c {
color: rgba(255, 255, 255, .8)
}

.check {
display: flex;
      align-items: center;
      gap: 10px;
      padding: 6px 0;
      cursor: pointer;
      font-size: 14px;
      font-weight: 500
}

.check.is-disabled,
.radio.is-disabled {
      opacity: .45;
      cursor: not-allowed
}

.check .ct {
margin-left: auto;
      font-size: 12px;
      color: var(--muted);
      font-weight: 600
}

.brand-filter-search {
display: flex;
      align-items: center;
      gap: 8px;
      margin: 0 0 9px;
      padding: 0 10px;
      border: 1.5px solid var(--line);
      border-radius: 9px;
      background: var(--mist);
      color: var(--muted);
      transition: border-color .15s, box-shadow .15s, background-color .15s
}

.brand-filter-search:focus-within {
border-color: var(--royal);
      background: #fff;
      box-shadow: 0 0 0 3px rgba(46, 91, 255, .09)
}

.brand-filter-search input {
width: 100%;
      min-width: 0;
      min-height: 38px;
      padding: 8px 0;
      border: 0;
      outline: 0;
      background: transparent;
      color: var(--ink);
      font: 500 13px/1.35 var(--body)
}

.brand-filter-search input::placeholder {
color: #8d96b5
}

.brand-filter-empty {
margin: 7px 0 2px;
      padding: 9px 10px;
      border-radius: 8px;
      background: var(--mist);
      color: var(--muted);
      font-size: 12.5px;
      text-align: center
}

.brand-filter-status {
position: absolute !important;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
      white-space: nowrap;
      border: 0
}

.brand-filter-toggle {
display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 8px;
      padding: 4px 0;
      border: 0;
      background: transparent;
      color: var(--royal);
      font: 750 12.5px/1.4 var(--body);
      cursor: pointer
}

.brand-filter-toggle::after {
content: "";
      width: 7px;
      height: 7px;
      border-right: 1.8px solid currentColor;
      border-bottom: 1.8px solid currentColor;
      transform: rotate(45deg) translateY(-2px);
      transition: transform .15s
}

.brand-filter-toggle[aria-expanded="true"]::after {
transform: rotate(225deg) translate(-1px, -1px)
}

.brand-filter-toggle[hidden] {
display: none
}

.brand-filter-toggle:hover,
.brand-filter-toggle:focus-visible {
color: var(--royal-deep);
      text-decoration: underline;
      text-underline-offset: 3px;
      outline: none
}

.price-inputs {
display: flex;
      align-items: center;
      gap: 8px
}

.price-inputs .pin {
flex: 1;
      display: flex;
      align-items: center;
      border: 1.5px solid var(--line);
      border-radius: 9px;
      padding: 8px 10px;
      gap: 4px;
      transition: border-color .15s
}

.price-inputs .pin:focus-within {
border-color: var(--royal)
}

.price-inputs .pin span {
color: var(--muted);
      font-weight: 700;
      font-size: 14px
}

.price-inputs .dash {
color: var(--muted)
}

.prange {
width: 100%;
      margin-top: 14px;
      accent-color: var(--royal)
}

.chips {
display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 18px
}

.chips:empty,
.chips.is-empty {
  display: none;
  gap: 0;
  margin: 0;
  padding: 0;
}

.chip {
display: inline-flex;
      align-items: center;
      gap: 7px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 999px;
      padding: 7px 8px 7px 13px;
      font-size: 13px;
      font-weight: 600
}

.grid {
display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px
}

.g-new {
background: #E4FBF0;
      color: #0E9F62
}

.g-like {
background: var(--royal-soft);
      color: var(--royal-deep)
}

.g-good {
background: var(--amber-soft);
      color: var(--amber)
}

.g-fair {
background: #F0F1F6;
      color: #6B7494
}

.ph-bats {
background: linear-gradient(135deg, #FFF3DD, #FFE4B5)
}

.ph-pads {
background: linear-gradient(135deg, #E8EDFF, #D6E0FF)
}

.ph-helmets {
background: linear-gradient(135deg, #E4FBF0, #CFF6E3)
}

.ph-gloves {
background: linear-gradient(135deg, #FDE8EC, #F9D2DB)
}

.ph-shoes {
background: linear-gradient(135deg, #EEEAFE, #E0D8FB)
}

.ph-bags {
background: linear-gradient(135deg, #E5F6FF, #CCEBFA)
}

.ph-clothing {
background: linear-gradient(135deg, #FFF0E8, #FFDCC9)
}

.ph-protective {
background: linear-gradient(135deg, #EAF0F2, #D6E2E6)
}

/* ========================================================================== 
   Extracted prototype modifiers
   ========================================================================== */

.browse__dyn-filter-group--hidden { display:none; }

@media (min-width: 981px) and (max-width: 1120px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media(max-width:980px) {
.overlay.show {
  display: block
  }

.grid {
  grid-template-columns: repeat(2, 1fr)
  }

.layout {
  grid-template-columns: 1fr
  }

.filter-toggle {
  display: inline-flex
  }

.filters {
  position: fixed;
          top: 0;
          left: 0;
          bottom: 0;
          width: 300px;
          max-width: 88%;
          border-radius: 0;
          z-index: var(--z-drawer);
          transform: translateX(-100%);
          transition: transform .25s ease;
          overflow-y: auto
  }

.filters.open {
  transform: none
  }

.filters .filter-drawer-close {
  display: inline-flex;
          width: 40px;
          height: 40px;
          align-items: center;
          justify-content: center;
          border: 1px solid var(--line);
          border-radius: 50%;
          color: var(--ink)
  }

.filters .filter-drawer-close:hover {
  background: var(--royal-soft);
          color: var(--royal);
          text-decoration: none
  }
}

@media(max-width:680px) {
.card .img {
  height: 150px;
          font-size: 46px
  }

.grid {
  grid-template-columns: 1fr 1fr;
          gap: 13px
  }
}

@media(max-width:560px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 14px
  }

  .card .img {
    height: 160px
  }

  .card .body {
    padding: 18px 16px
  }

  .card .body .ttl {
    font-size: 16px
  }

  .card .body .bl {
    margin-bottom: 14px;
    font-size: 13px
  }

  .card .body .foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px
  }

  .card .body .price {
    font-size: 19px
  }

  .card .body .seller {
    font-size: 12.5px
  }
}

@media(max-width:420px) {
.pagebar .row {
  align-items: flex-start
  }

  .sort-wrap {
  width: 100%;
          display: grid;
          grid-template-columns: auto minmax(0, 1fr);
          align-items: center;
          gap: 8px
  }

  .filter-toggle {
  grid-column: 1;
          justify-self: start
  }

  .sort-label {
  position: absolute;
          width: 1px;
          height: 1px;
          padding: 0;
          margin: -1px;
          overflow: hidden;
          clip: rect(0, 0, 0, 0);
          white-space: nowrap;
          border: 0
  }

  .custom-select {
  grid-column: 2;
          width: 100%;
          max-width: 190px;
          justify-self: end
  }
}

/* ========================================================================== 
   Client browse update — 25 August 2026
   ========================================================================== */

.page--browse .wrap {
  padding-top: 28px;
  padding-bottom: 60px;
}

.browse-filterbar {
  position: sticky;
  top: 88px;
  z-index: 40;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.admin-bar .browse-filterbar {
  top: 120px;
}

.browse-filter {
  position: relative;
  flex: none;
}

.browse-filter[hidden],
.browse-filter__panel[hidden],
.browse-load-more[hidden],
.browse-load-more__status:empty {
  display: none !important;
}

.browse-filter__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: 700 13.5px/1.35 var(--body);
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s, box-shadow .15s;
}

.browse-filter__chevron {
  display: block;
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  transform-origin: 50% 50%;
  transition: transform .15s;
}

.browse-filter__button:hover,
.browse-filter__button[aria-expanded="true"] {
  border-color: var(--royal);
}

.browse-filter__button.is-active,
.browse-filter__button[aria-expanded="true"] {
  border-color: var(--royal);
  background: var(--royal-soft);
  color: var(--royal-deep);
}

.browse-filter__button[aria-expanded="true"] .browse-filter__chevron {
  transform: rotate(180deg);
}

.browse-filter__button:focus-visible,
.browse-filterbar__clear:focus-visible,
.browse-filter__check input:focus-visible,
.browse-sort select:focus-visible,
.browse-load-more .btn:focus-visible {
  outline: 3px solid rgba(46, 91, 255, .22);
  outline-offset: 2px;
}

.browse-filter__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 80;
  width: min(300px, calc(100vw - 24px));
  padding: 16px 12px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.browse-filter__panel--price {
  width: 290px;
}

.browse-filter__options {
  max-height: 260px;
  padding-right: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-color: #9aa3b6 transparent;
  scrollbar-width: thin;
}

.browse-filter__panel[data-filter-panel="category"] .browse-filter__options {
  max-height: min(360px, calc(100vh - 220px));
  max-height: min(360px, calc(100dvh - 220px));
}

.browse-filter__options::-webkit-scrollbar {
  width: 8px;
}

.browse-filter__options::-webkit-scrollbar-track {
  background: transparent;
}

.browse-filter__options::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: #9aa3b6;
  background-clip: padding-box;
}

.browse-filter__options::-webkit-scrollbar-thumb:hover {
  background: #6f7890;
  background-clip: padding-box;
}

.browse-filter__check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) minmax(24px, auto);
  align-items: center;
  column-gap: 10px;
  min-height: 34px;
  padding: 6px 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.browse-filter__check.is-disabled {
  opacity: .45;
  cursor: not-allowed;
}

.browse-filter__check input {
  appearance: none;
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1.8px solid var(--line);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  transition: border-color .12s, background-color .12s;
}

.browse-filter__check input:checked {
  border-color: var(--royal);
  background: var(--royal);
}

.browse-filter__check input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1.5px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.browse-filter__option-label {
  min-width: 0;
}

.browse-filter__count {
  min-width: 24px;
  padding-left: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.browse-filterbar__clear {
  flex: none;
  margin-left: auto;
  padding: 9px 6px;
  border: 0;
  background: transparent;
  color: var(--royal);
  font: 700 13.5px/1.35 var(--body);
  cursor: pointer;
}

.browse-filterbar__clear:hover {
  color: var(--royal-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.browse-sort {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  margin-left: 0;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}

.browse-sort select {
  min-height: 40px;
  padding: 9px 34px 9px 13px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  outline: 0;
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%236B7494' stroke-width='2.4' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center;
  color: var(--ink);
  font: 600 14px/1.35 var(--body);
  cursor: pointer;
}

.pagebar--browse-results {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 16px;
}

.page--browse .chips {
  margin-bottom: 18px;
}

.page--browse .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page--browse .sportco-listing-link {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  height: auto;
  color: inherit;
  text-decoration: none;
}

.page--browse .card {
  align-self: start;
  height: auto;
}

.page--browse .card .img {
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  isolation: isolate;
  background: #f6f8ff;
}

.page--browse .card .img > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
}

.page--browse .card .body .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 24px;
  margin: 9px 0 11px;
}

.page--browse .card .body .tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--mist);
  color: var(--muted);
  font: 700 12px/1.2 var(--body);
}

.page--browse .listing-view-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  background: rgba(11, 25, 58, .76);
  color: #fff;
  font: 700 12px/1 var(--body);
  box-shadow: 0 4px 12px rgba(7, 18, 45, .16);
  pointer-events: none;
}

.browse-load-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 0 0;
  text-align: center;
}

.browse-load-more .btn {
  min-width: 180px;
  min-height: 48px;
  border: 1.5px solid var(--royal);
  border-radius: 12px;
  background: var(--royal);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(46, 91, 255, .18);
}

.browse-load-more .btn:hover {
  border-color: var(--royal-deep);
  background: var(--royal-deep);
  color: #fff;
}

.browse-load-more .btn:disabled {
  cursor: wait;
  opacity: .72;
}

.browse-load-more__status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.browse-skeleton {
  pointer-events: none;
}

.browse-skeleton__image,
.browse-skeleton__line {
  position: relative;
  overflow: hidden;
  background: #e9edf8;
}

.browse-skeleton__line {
  display: block;
  height: 14px;
  margin-bottom: 12px;
  border-radius: 999px;
}

.browse-skeleton__line--title { width: 72%; }
.browse-skeleton__line--tag { width: 48%; }
.browse-skeleton__line--price { width: 36%; margin-top: 18px; margin-bottom: 0; height: 20px; }

.browse-skeleton__image::after,
.browse-skeleton__line::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .72), transparent);
  animation: browse-shimmer 1.15s infinite;
}

@keyframes browse-shimmer {
  to { transform: translateX(100%); }
}

@media (max-width: 980px) {
  .browse-filterbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .browse-filterbar::-webkit-scrollbar {
    display: none;
  }

  .browse-filter__panel {
    position: fixed;
    max-height: min(380px, calc(100vh - 24px));
    overflow-y: auto;
  }

  .page--browse .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .admin-bar .browse-filterbar {
    top: 134px;
  }
}

@media (max-width: 680px) {
  .page--browse .wrap {
    padding-top: 18px;
    padding-bottom: 42px;
  }

  .browse-filterbar {
    top: 72px;
    margin-right: -16px;
    margin-left: -16px;
    padding: 12px 16px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .admin-bar .browse-filterbar {
    top: 118px;
  }

  .pagebar--browse-results {
    gap: 10px;
  }

  .browse-sort select {
    max-width: 136px;
    min-height: 38px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .browse-filterbar__clear {
    min-height: 38px;
    margin-left: 0;
    padding-right: 8px;
    padding-left: 8px;
  }

  .page--browse .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .page--browse .card .img {
    height: auto;
    font-size: 34px;
  }
}

@media (max-width: 560px) {
  .page--browse .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .page--browse .card .body {
    padding: 12px;
  }

  .page--browse .card .body .ttl {
    font-size: 14px;
  }

  .page--browse .card .body .tags {
    gap: 4px;
    margin-top: 7px;
  }

  .page--browse .card .body .tag {
    min-height: 22px;
    padding: 3px 7px;
    font-size: 11px;
  }

  .page--browse .card .body .foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .page--browse .grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page--browse .card .body {
    padding: 14px 15px 16px;
  }

  .page--browse .card .body .ttl {
    font-size: 15px;
  }

  .page--browse .card .body .foot {
    align-items: flex-end;
    flex-direction: row;
  }
}

@media (prefers-reduced-motion: reduce) {
  .browse-filter__button,
  .browse-filter__chevron {
    transition: none;
  }

  .browse-skeleton__image::after,
  .browse-skeleton__line::after {
    animation: none;
  }
}
