.gear-hero { padding: 56px 0 0; }
.gear-hero .affiliate-note { margin-top: 0; padding: 13px 18px; box-shadow: var(--glass-inset); font-size: 12px; }
.gear-hero .affiliate-note strong { color: var(--ink); font-weight: 650; }
.gear-toolbar { display: flex; align-items: center; gap: 24px; margin: 32px 0 28px; }
.gear-search { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; padding: 0 16px; background: var(--glass); border: var(--glass-border); border-radius: 16px; box-shadow: var(--glass-inset); }
.gear-search:focus-within { outline: 2px solid var(--ink-2); outline-offset: 2px; }
.gear-search svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--ink-2); }
.gear-search input { min-width: 0; width: 100%; min-height: 54px; border: 0; outline: none; color: var(--ink); background: transparent; font-size: 14px; }
.gear-search input::placeholder { color: var(--ink-2); opacity: 1; }
.gear-latest { display: flex; align-items: center; gap: 9px; min-height: 44px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.gear-latest input { width: 17px; height: 17px; accent-color: var(--red-deep); }
.gear-latest span { padding: 2px 7px; background: var(--glass); border-radius: 6px; font-size: 11px; font-variant-numeric: tabular-nums; }
.gear-layout { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 30px; align-items: start; }
.gear-layout:has(.gear-sidebar[hidden]) { grid-template-columns: 1fr; margin-top: 32px; }
.gear-sidebar { position: sticky; top: calc(110px + env(safe-area-inset-top, 0px)); }
.gear-sidebar h2 { font-size: 10px; text-transform: uppercase; letter-spacing: 0.11em; color: var(--ink-2); margin: 12px 10px 14px; }
#gear-filters { display: flex; flex-direction: column; gap: 4px; }
#gear-filters button { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; width: 100%; padding: 10px 12px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--ink-2); font-size: 12px; font-weight: 600; cursor: pointer; text-align: left; }
#gear-filters button:hover { background: var(--glass); color: var(--ink); }
#gear-filters button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: 0 4px 14px rgba(28, 28, 34, 0.12); }
#gear-filters button span { font-size: 10px; font-variant-numeric: tabular-nums; opacity: 0.8; }
.gear-sidebar > p { margin: 24px 12px 0; padding-top: 18px; border-top: 1px solid rgba(128, 132, 158, 0.25); font-size: 11px; line-height: 1.8; color: var(--ink-2); }
.gear-results { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-bottom: 18px; color: var(--ink-2); font-size: 12px; }
.gear-results button { min-height: 44px; border: 0; background: none; color: var(--ink); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.gear-section { margin: 0 0 40px; }
.gear-section > h2 { font-size: 23px; line-height: 1.25; letter-spacing: -0.035em; margin-bottom: 18px; justify-content: flex-start; align-items: center; }
.gear-section > h2 span { color: var(--ink-2); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.gear-section .grid { gap: 16px; }
.gear-section .card { position: relative; padding: 14px; gap: 12px; border-radius: 20px; box-shadow: var(--glass-inset), 0 4px 18px rgba(31, 38, 90, 0.04); backdrop-filter: none; -webkit-backdrop-filter: none; }
.gear-section .card:hover { transform: translateY(-3px); box-shadow: var(--glass-inset), 0 12px 28px rgba(31, 38, 90, 0.12); }
.gear-section .gear-img { border-radius: 12px; padding: 18px; }
.gear-section .card h3 { font-size: 15px; line-height: 1.35; margin: 2px 3px 0; }
.gear-section .card p { margin: 0 3px; font-size: 12px; line-height: 1.65; }
.gear-section .actions { padding-top: 4px; gap: 4px; }
.gear-section .actions .btn { justify-content: center; width: 100%; border-radius: 10px; padding: 8px 10px; font-size: 12px; box-shadow: none; }
.gear-section .actions .btn-amz span { font-size: 14px; }
.gear-section .actions .btn-ghost { background: none; border: 0; color: var(--ink-2); }
@media (min-width: 481px) {
  .gear-section .card { display: grid; grid-template-rows: subgrid; grid-row: span 4; }
  .gear-section .actions { margin-top: 0; align-self: start; }
}
.gear-new { position: absolute; top: 24px; left: 24px; padding: 4px 7px; border: 1px solid #e3e6ed; border-radius: 6px; background: #fff; color: #555967; font-size: 8px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; pointer-events: none; }
.gear-empty { padding: 48px 24px; text-align: center; background: var(--glass); border: var(--glass-border); border-radius: 20px; }
.gear-empty h2 { font-size: 24px; letter-spacing: -0.03em; }
.gear-empty p { margin: 12px auto 24px; max-width: 340px; font-size: 14px; color: var(--ink-2); }
.gear-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
[data-theme="dark"] #gear-filters button[aria-pressed="true"] { background: #e5e8f5; color: #202431; }

@media (max-width: 1000px) and (min-width: 761px) {
  .gear-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 24px; }
  .gear-section .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .gear-hero { padding-top: 36px; }
  .gear-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .gear-toolbar { flex-direction: column; align-items: stretch; gap: 8px; margin: 24px 0 18px; }
  .gear-latest { align-self: flex-start; }
  .gear-sidebar { position: static; min-width: 0; }
  .gear-sidebar h2 { margin: 0 0 10px; }
  .gear-sidebar > p { display: none; }
  #gear-filters { flex-direction: row; overflow-x: auto; padding: 3px 3px 10px; scrollbar-width: thin; }
  #gear-filters button { width: auto; flex-shrink: 0; border: var(--glass-border); background: var(--glass); padding: 10px 13px; }
  .gear-results { margin-bottom: 16px; }
  .gear-section .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .gear-hero .affiliate-note { font-size: 11px; }
  .gear-search { padding: 0 12px; gap: 8px; }
  .gear-search input { font-size: 12px; }
  .gear-section .grid { grid-template-columns: minmax(0, 1fr); }
  .gear-section .card { padding: 18px; }
  .gear-section .gear-img { height: 220px; aspect-ratio: auto; padding: 22px; }
  .gear-section .card h3 { font-size: 17px; }
  .gear-section .card p { font-size: 14px; }
  .gear-section .actions .btn { font-size: 13px; }
  .gear-new { top: 28px; left: 28px; }
}
