/* Breeze — shop / category page */

.shop { max-width: var(--page-w); margin: 0 auto; padding: 0 var(--page-pad) 64px; }
.shop-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.shop-head .page-h { margin: 0; }
.shop-tools { display: flex; align-items: center; gap: 10px; }
.sort-sel { height: 44px; padding: 0 40px 0 14px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.fbtn { height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; color: var(--ink-2); display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; transition: border-color .2s; }
.fbtn:hover { border-color: var(--navy); }
.fbtn-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Filter drawer */
.fd { position: fixed; inset: 0; z-index: 120; }
.fd-scrim { position: absolute; inset: 0; border: 0; background: rgba(8,22,47,.45); animation: fadeIn .25s ease both; }
.fd-panel { position: absolute; top: 0; right: 0; bottom: 0; width: 400px; max-width: 100%; background: #fff; display: flex; flex-direction: column; box-shadow: -20px 0 50px rgba(8,22,47,.18); animation: drawerIn .36s var(--ease-out) both; }
.fd.closing .fd-panel { animation: drawerOut .26s ease-in both; }
.fd.closing .fd-scrim { animation: fadeOut .26s ease-in both; }
.fd-head { height: 64px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 24px; border-bottom: 1px solid var(--line); }
.fd-x { width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--ink-2); display: flex; align-items: center; justify-content: center; }
.fd-scroll { flex: 1; overflow-y: auto; padding: 0 24px; }
.fgroup { padding: 18px 0; border-top: 1px solid var(--line); }
.fgroup:first-child, .fsort + .fgroup { border-top: 0; }
/* Sorting lives in the sheet on phones only (the dropdown is used above 640px). */
.fsort, .fsort-lb { display: none; }
.fpills { display: flex; flex-wrap: wrap; gap: 8px; }
.fgroup.last { border-bottom: 1px solid var(--line); padding: 16px 0; }
.fh { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.fsizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.fopt { height: 40px; border-radius: 6px; font-size: 13px; font-weight: 600; transition: all .2s; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink-2); }
.fopt:hover { border-color: var(--navy); }
.fopt[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.fradios { display: flex; flex-direction: column; }
.radio { display: flex; align-items: center; gap: 10px; height: 40px; border: 0; background: none; padding: 0; font-size: 14px; color: var(--ink-2); text-align: left; }
.radio .ring { width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all .2s; border: 1.5px solid #9CA3AF; background: #fff; }
.radio .ring::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: 0; }
.radio[aria-checked="true"] .ring { border-color: var(--navy); background: var(--navy); }
.radio[aria-checked="true"] .ring::after { opacity: 1; }
.radio .lb { flex: 1; }
.radio[data-cat] .lb { font-family: var(--font-head); font-style: normal; font-weight: 600; }
.radio small { font-size: 13px; color: #9CA3AF; }
.fcolors { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; padding: 3px; background: #fff; border: 2px solid transparent; transition: border-color .2s; }
.swatch[aria-pressed="true"] { border-color: var(--navy); }
.swatch span { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.stock { width: 100%; display: flex; align-items: center; justify-content: space-between; border: 0; background: none; padding: 0; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.track { width: 40px; height: 24px; border-radius: 999px; position: relative; transition: background .25s; background: #D1D5DB; }
.knob { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .25s var(--ease-out); }
.stock[aria-checked="true"] .track { background: var(--navy); }
.stock[aria-checked="true"] .knob { transform: translateX(16px); }
.fd-foot { flex-shrink: 0; display: flex; gap: 10px; padding: 16px 24px 20px; border-top: 1px solid var(--line); }
.fd-foot .clear { flex: 0 0 120px; height: 48px; border: 1.5px solid var(--line-2); border-radius: 4px; background: #fff; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.fd-foot .show { flex: 1; height: 48px; border: 0; border-radius: 4px; background: var(--navy); color: #fff; font-size: 15px; font-weight: 600; }

/* Results */
.results { margin-top: 24px; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 20px; }
.achip { height: 32px; padding: 0 10px 0 12px; border: 0; border-radius: 999px; background: var(--navy-tint); color: var(--navy); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.empty { padding: 72px 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: 12px; }
.empty .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--navy-tint); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.empty p { margin: 6px 0 20px; font-size: 15px; color: var(--slate); }
.empty button { height: 44px; padding: 0 22px; border: 0; border-radius: 4px; background: var(--navy); color: #fff; font-size: 15px; font-weight: 600; }
.more { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 40px; font-size: 14px; color: var(--muted); }
.more .bar { width: 220px; height: 3px; border-radius: 999px; background: var(--line); overflow: hidden; }
.more .bar div { height: 100%; background: var(--navy); border-radius: 999px; transition: width .3s var(--ease-out); }
.lm { margin-top: 6px; height: 46px; padding: 0 28px; border: 1.5px solid var(--navy); border-radius: 4px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 700; letter-spacing: .12em; transition: all .2s; }
.lm:hover { background: var(--navy); color: #fff; }

@media (max-width: 1180px) { .shop .grid4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1024px) { .shop .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .shop { padding-bottom: 48px; }
  /* Phones: title on the left, a square filter button in the right corner (design: ShopMobile). */
  .shop-head { flex-wrap: nowrap; gap: 12px; }
  .shop-head .page-h { min-width: 0; }
  .shop-tools .sel-wrap { display: none; }
  .fbtn { position: relative; flex-shrink: 0; width: 44px; padding: 0; justify-content: center; border-radius: 8px; }
  .fbtn-lb { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fbtn-n { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 10px; border: 2px solid var(--bg); }
  .fsort { display: block; }
  .fsort-lb { display: inline; }
  .fsort-no { display: none; }
  .fsort + .fgroup { border-top: 1px solid var(--line); }
  .fd-panel { width: 100%; }
}
