:root {
  color-scheme: dark;
  --bg: #0b0e11;
  --bg-raised: #101418;
  --panel: #151a1e;
  --panel-hi: #1a2025;
  --line: rgba(183, 196, 204, .16);
  --line-strong: rgba(183, 196, 204, .28);
  --text: #f2f4f5;
  --muted: #a4adb4;
  --quiet: #74818a;
  --blue: #239acc;
  --blue-soft: #9bd8f0;
  --olive: #738547;
  --guard: #456c4b;
  --police: #347ba3;
  --other: #98764b;
  --green: #5b9665;
  --amber: #c58f39;
  --archived: #854c51;
  --page-width: 1440px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { position: relative; isolation: isolate; margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.5; }
body::before, body::after { position: fixed; z-index: -1; inset: 0; content: ""; pointer-events: none; }
body::before { background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(120deg, transparent 0 48%, rgba(35,154,204,.025) 50%, transparent 52%); background-size: 48px 48px, 48px 48px, 180% 180%; animation: field-drift 70s linear infinite; }
body::after { background: radial-gradient(460px circle at var(--pointer-x, 50%) var(--pointer-y, 36%), rgba(35,154,204,.10), transparent 74%); opacity: .82; }
@keyframes field-drift { to { background-position: 48px 48px, -48px -48px, 100% 100%; } }
@media (pointer: coarse) { body::after { background: radial-gradient(620px circle at 82% 13%, rgba(35,154,204,.06), transparent 72%); } }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 3px; }
[hidden] { display: none !important; }
.section-shell { width: min(calc(100% - 64px), var(--page-width)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; transform: translateY(-160%); background: var(--text); color: var(--bg); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 28px; width: min(calc(100% - 64px), var(--page-width)); min-height: 94px; margin: 0 auto; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 230px; }
.brand-mark { display: grid; width: 45px; height: 56px; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.48); background: #e7e5de; }
.brand-mark img { width: 34px; height: 44px; object-fit: contain; }
.brand-copy { display: grid; gap: 4px; }
.brand-copy strong { font-size: 16px; font-weight: 800; letter-spacing: .13em; }
.brand-copy small { color: var(--quiet); font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.main-nav { display: flex; align-items: center; gap: clamp(24px, 4vw, 56px); margin-left: auto; }
.main-nav a { color: #c5cbd0; font-size: 12px; font-weight: 650; transition: color .18s ease; }
.main-nav a:hover { color: var(--blue-soft); }
.header-selection { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 12px; border: 1px solid rgba(35,154,204,.38); background: rgba(21,31,37,.72); color: var(--text); cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: .02em; transition: border-color .18s ease, background .18s ease; }
.header-selection:hover { border-color: rgba(68,183,226,.82); background: rgba(35,154,204,.12); }
.selection-icon { display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid rgba(35,154,204,.45); color: var(--blue-soft); font-size: 15px; line-height: 1; }
.header-count { display: inline-grid; min-width: 20px; height: 20px; place-items: center; border-radius: 50%; background: #202a30; color: #b9ddeb; font-size: 10px; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr); gap: clamp(40px, 6vw, 88px); align-items: center; min-height: 560px; padding-block: 64px 88px; }
.hero-copy { max-width: 690px; padding-bottom: 10px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--blue-soft); font-size: 10px; font-weight: 750; letter-spacing: .18em; }
.eyebrow-index { color: #697781; font-size: 10px; }
.eyebrow-rule { display: inline-block; width: 26px; height: 1px; background: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 640px; margin: 0; font-size: clamp(42px, 5.2vw, 66px); font-weight: 720; letter-spacing: -.055em; line-height: 1.02; }
.hero h1 span { color: #aab5bc; }
.hero-description { max-width: 530px; margin: 25px 0 0; color: var(--muted); font-size: clamp(15px, 1.35vw, 17px); line-height: 1.72; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 0 18px; border: 1px solid transparent; cursor: pointer; font-size: 11px; font-weight: 760; letter-spacing: .035em; transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { border-color: rgba(148,222,246,.52); background: linear-gradient(180deg, #2da7d8, #1687b8); color: #06131a; box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 5px 18px rgba(9,113,156,.18); }
.button-primary:hover { border-color: #b3e9fb; background: linear-gradient(180deg, #4bb8e2, #239acc); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 6px 22px rgba(9,113,156,.28); }
.button-secondary { border-color: rgba(35,154,204,.72); background: rgba(35,154,204,.08); color: var(--text); }
.button-secondary:hover { background: rgba(35,154,204,.17); }
.button-outline { border-color: rgba(130,153,164,.42); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.008)); color: #e5ecef; }
.button-outline:hover { border-color: rgba(74,178,217,.86); background: rgba(35,154,204,.13); color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; color: #c4ccd1; cursor: pointer; font-size: 11px; font-weight: 700; }
.text-link:hover { color: var(--blue-soft); }

.hero-visual { position: relative; width: min(100%, 460px); justify-self: end; padding: 17px; transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) rotateZ(-1deg); border: 1px solid var(--line-strong); background: linear-gradient(135deg, rgba(255,255,255,.035), transparent 55%), var(--panel); box-shadow: 0 24px 54px rgba(0,0,0,.34), 0 5px 14px rgba(0,0,0,.28); transition: transform .32s cubic-bezier(.2,.7,.2,1), box-shadow .32s ease; transform-style: preserve-3d; }
.hero-visual:hover { box-shadow: 0 30px 64px rgba(0,0,0,.42), 0 8px 20px rgba(0,0,0,.3); }
.hero-visual::before, .hero-visual::after { position: absolute; z-index: 2; width: 22px; height: 22px; border-color: var(--blue); content: ""; pointer-events: none; }
.hero-visual::before { top: -1px; left: -1px; border-top: 2px solid var(--blue); border-left: 2px solid var(--blue); }
.hero-visual::after { right: -1px; bottom: -1px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); }
.hero-index, .hero-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #89959c; font-size: 8px; font-weight: 750; letter-spacing: .15em; }
.hero-index { padding: 1px 2px 13px; }
.hero-index span:first-child { color: var(--blue-soft); }
.hero-image-mat { position: relative; display: grid; min-height: 350px; aspect-ratio: 1.08 / 1; place-items: center; overflow: hidden; background: #e6e4dd; }
.hero-image-mat img { display: block; width: 100%; height: 100%; max-height: 390px; object-fit: contain; }
.hero-image-corner { position: absolute; right: 0; bottom: 0; width: 26px; height: 26px; background: linear-gradient(135deg, transparent 49%, var(--panel) 50%); }
.hero-caption { padding: 14px 2px 1px; color: #9ca7ae; }
.hero-caption span:first-child { color: #d3d8dc; }
.hero-bottom-rule { position: absolute; right: 0; bottom: 31px; left: 0; display: flex; justify-content: space-between; padding-top: 11px; border-top: 1px solid var(--line); color: #66737b; font-size: 8px; font-weight: 750; letter-spacing: .16em; }

.collection { padding-block: 70px 92px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2 { margin: 0; font-size: clamp(31px, 4vw, 48px); font-weight: 680; letter-spacing: -.05em; line-height: 1.07; }
.section-intro { max-width: 560px; margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.catalog-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) 245px; gap: 16px; margin-bottom: 24px; }
.search-control, .sort-control { display: grid; gap: 8px; min-width: 0; }
.control-label { color: #8b969d; font-size: 9px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.search-box, .select-box { position: relative; display: flex; align-items: center; min-width: 0; min-height: 48px; border: 1px solid var(--line); background: #101519; }
.search-box:focus-within, .select-box:focus-within { border-color: rgba(35,154,204,.75); }
.search-box svg { position: absolute; left: 14px; width: 18px; height: 18px; fill: none; stroke: #84939b; stroke-width: 1.7; }
.search-box input { width: 100%; min-width: 0; height: 46px; padding: 0 44px 0 43px; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 14px; }
.search-box input::placeholder { color: #74818a; opacity: 1; }
.search-hint { position: absolute; right: 13px; color: #8a9aa2; font-size: 10px; }
.search-hint kbd { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid rgba(143,158,166,.32); background: #192126; color: #c0cbd0; font: 700 11px/1 "Segoe UI", Arial, sans-serif; }
.select-box select { width: 100%; min-width: 0; height: 46px; padding: 0 40px 0 13px; appearance: none; border: 0; outline: 0; background: transparent; color: var(--text); cursor: pointer; font-size: 12px; }
.select-box select option { background: #151a1e; color: var(--text); }
.select-box svg { position: absolute; right: 12px; width: 17px; height: 17px; fill: none; stroke: #8d9aa1; stroke-width: 1.6; pointer-events: none; }
.filter-board { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); border: 1px solid var(--line); background: rgba(18,23,27,.77); }
.filter-group { min-width: 0; padding: 16px 18px 17px; }
.category-group { border-left: 1px solid var(--line); }
.filter-heading { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.filter-heading > span { color: var(--blue-soft); font-size: 9px; font-weight: 800; letter-spacing: .11em; }
.filter-heading h3 { margin: 0; color: #dce1e4; font-size: 9px; font-weight: 780; letter-spacing: .16em; text-transform: uppercase; }
.filter-options { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 35px; padding: 0 12px; border: 1px solid rgba(143,158,166,.22); background: rgba(21,28,32,.88); color: #b7c1c7; cursor: pointer; font-size: 10px; font-weight: 690; transition: color .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.filter-chip::before { width: 6px; height: 6px; flex: 0 0 auto; background: var(--chip-accent, #71828c); content: ""; }
.filter-chip:hover { border-color: color-mix(in srgb, var(--chip-accent, var(--blue)) 78%, white 0%); color: #fff; }
.filter-chip.is-active { border-color: color-mix(in srgb, var(--chip-accent, var(--blue)) 72%, white 0%); background: color-mix(in srgb, var(--chip-accent, var(--blue)) 22%, #11171b); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 0 0 1px rgba(255,255,255,.015); }
.category-all { --chip-accent: #687986; }
.category-militar { --chip-accent: #879b51; }
.category-guardia-civil { --chip-accent: #4f8055; }
.category-policia { --chip-accent: #3c91bf; }
.category-otros { --chip-accent: #aa8553; }
[data-filter-availability="available"] { --chip-accent: #66a572; }
[data-filter-availability="last"] { --chip-accent: #d19a43; }
[data-filter-availability="archived"] { --chip-accent: #a85c63; }
.results-line { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 19px 0 12px; color: #7f8b92; font-size: 10px; }
.results-label { display: inline-flex; align-items: center; gap: 8px; color: #aeb8be; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.results-label i { display: inline-block; width: 6px; height: 6px; background: var(--blue); }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.patch-card { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(150deg, rgba(255,255,255,.028), transparent 40%), #12171b; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.patch-card:hover { transform: translateY(-3px); border-color: rgba(117,160,179,.45); box-shadow: 0 14px 36px rgba(0,0,0,.23); }
.patch-card::before { position: absolute; z-index: 1; top: 0; left: 0; width: 21px; height: 21px; border-top: 2px solid var(--category-accent, var(--blue)); border-left: 2px solid var(--category-accent, var(--blue)); content: ""; pointer-events: none; }
.patch-card[data-category="militar"] { --category-accent: var(--olive); }
.patch-card[data-category="guardia-civil"] { --category-accent: var(--guard); }
.patch-card[data-category="policia"] { --category-accent: var(--police); }
.patch-card[data-category="otros"] { --category-accent: var(--other); }
.patch-photo { position: relative; display: grid; width: 100%; aspect-ratio: 1.08 / 1; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background: #e7e5df; }
.patch-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.photo-index { position: absolute; right: 8px; bottom: 8px; padding: 4px 6px; background: rgba(13,17,20,.84); color: #d9dfe2; font-size: 8px; font-weight: 780; letter-spacing: .1em; }
.card-content { display: flex; flex: 1; flex-direction: column; padding: 12px 12px 13px; }
.card-tags { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-bottom: 9px; }
.category-tag, .status-tag { display: inline-flex; align-items: center; max-width: 100%; min-height: 21px; padding: 0 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.category-tag { border: 1px solid color-mix(in srgb, var(--category-accent, var(--blue)) 62%, transparent); background: color-mix(in srgb, var(--category-accent, var(--blue)) 18%, transparent); color: #dce5e8; }
.status-tag { gap: 5px; border: 1px solid transparent; }
.status-tag::before { width: 5px; height: 5px; flex: 0 0 auto; background: currentColor; content: ""; }
.status-tag.status-available { border-color: rgba(91,150,101,.48); background: rgba(91,150,101,.14); color: #9fd1a6; }
.status-tag.status-last { border-color: rgba(197,143,57,.52); background: rgba(197,143,57,.15); color: #f0c875; }
.status-tag.status-archived { border-color: rgba(133,76,81,.52); background: rgba(133,76,81,.15); color: #daa5aa; }
.card-title { margin: 0; color: var(--text); font-size: 15px; font-weight: 720; letter-spacing: -.015em; line-height: 1.25; overflow-wrap: anywhere; }
.card-stock { margin: 4px 0 13px; color: #87939a; font-size: 10px; }
.card-stock strong { color: #c1c9ce; font-weight: 650; }
.card-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; margin-top: auto; }
.card-actions .button { min-height: 37px; padding-inline: 9px; font-size: 9px; white-space: nowrap; }
.card-actions .button-outline { padding-inline: 10px; }
.card-add.is-selected { border-color: rgba(91,150,101,.65); background: rgba(91,150,101,.12); color: #b5dfba; }
.card-add:disabled { cursor: default; opacity: .75; }
.catalog-empty, .catalog-error { margin-top: 12px; padding: 36px 20px; border: 1px dashed var(--line-strong); color: var(--muted); text-align: center; }
.catalog-empty p, .catalog-error p { margin: 10px 0; font-size: 13px; }
.catalog-error { border-color: rgba(197,143,57,.4); }
.catalog-error strong { color: #f0c875; }
.empty-code { color: #72808a; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.catalog-empty .text-link { margin-top: 6px; }
.load-more-wrap { display: flex; justify-content: center; min-height: 48px; margin-top: 24px; }
.patch-reference { color: #7d8990; font-size: 8px; font-weight: 750; letter-spacing: .1em; }
.card-actions .card-consult, .card-actions .card-add { min-width: 0; min-height: 38px; padding-inline: 9px; font-size: 9px; white-space: nowrap; }
.card-add { overflow: hidden; text-overflow: ellipsis; }
.card-archived-note { align-self: center; color: #9c8588; font-size: 9px; }
.image-missing { background: #e7e5df; }
.image-missing-label { color: #5d6568; font-size: 9px; font-weight: 800; letter-spacing: .12em; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 90px; border-top: 1px solid var(--line); color: #7e8a91; }
.site-footer p { margin: 0; font-size: 10px; }
.footer-brand { display: grid; gap: 1px; color: #dfe4e7; font-size: 12px; font-weight: 820; letter-spacing: .14em; }
.footer-brand span { color: #74818a; font-size: 7px; letter-spacing: .17em; }
.back-top { color: #89979e; font-size: 8px; font-weight: 780; letter-spacing: .13em; }
.back-top:hover { color: var(--blue-soft); }

.selection-widget { position: fixed; z-index: 20; right: max(24px, calc((100vw - var(--page-width)) / 2)); bottom: 20px; width: min(400px, calc(100vw - 48px)); filter: drop-shadow(0 14px 35px rgba(0,0,0,.34)); }
.selection-toggle { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 10px 14px; border: 1px solid rgba(35,154,204,.68); background: #12191e; color: var(--text); cursor: pointer; text-align: left; }
.selection-toggle-name { font-size: 11px; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.selection-count { display: inline-grid; min-width: 25px; height: 25px; place-items: center; border-radius: 50%; background: var(--blue); color: #071117; font-size: 10px; font-weight: 850; }
.selection-toggle-label { margin-left: auto; color: #a8cbd9; font-size: 10px; font-weight: 650; }
.selection-panel { max-height: min(64vh, 540px); overflow: auto; padding: 15px; border: 1px solid var(--line-strong); border-top: 0; background: #12191e; }
.selection-panel-heading { display: flex; align-items: center; justify-content: space-between; color: var(--blue-soft); font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.panel-close { width: 28px; height: 28px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; font-size: 20px; line-height: 1; }
.selection-note { margin: 7px 0; color: var(--muted); font-size: 11px; }
.selection-list { display: grid; gap: 0; margin: 4px 0 0; padding: 0; list-style: none; }
.selection-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 9px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.selection-row-title { min-width: 0; overflow-wrap: anywhere; color: #e2e6e9; font-size: 11px; line-height: 1.35; }
.selection-row-title small { display: block; margin-top: 2px; color: #7d8990; font-size: 8px; }
.quantity-controls { display: inline-flex; align-items: center; gap: 4px; }
.quantity-controls button { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid var(--line-strong); background: #1a2227; color: var(--text); cursor: pointer; font-size: 14px; }
.quantity-controls button:disabled { color: #58646b; cursor: default; }
.quantity-controls output { min-width: 18px; color: #d8e0e4; font-size: 10px; text-align: center; }
.selection-remove { border: 0; background: none; color: #aab3b8; cursor: pointer; font-size: 9px; text-decoration: underline; text-underline-offset: 3px; }
.selection-total { display: flex; justify-content: space-between; margin: 12px 0; color: #87939a; font-size: 8px; font-weight: 780; letter-spacing: .13em; }
.selection-total strong { color: var(--text); font-size: 13px; }
.selection-actions { display: grid; gap: 8px; }
.selection-actions .button { width: 100%; min-height: 42px; font-size: 10px; }
.selection-actions .button[aria-disabled="true"] { opacity: .42; pointer-events: none; }
.selection-actions button:disabled { cursor: default; opacity: .48; }
.clear-selection { justify-self: center; padding: 5px; border: 0; background: none; color: #8d989f; cursor: pointer; font-size: 9px; }
.clear-selection:disabled { cursor: default; }
.toast { position: fixed; z-index: 30; right: 24px; bottom: 92px; max-width: min(370px, calc(100vw - 32px)); padding: 11px 15px; transform: translateY(8px); border: 1px solid rgba(35,154,204,.4); background: #131b20; color: #dce8ed; font-size: 11px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { transform: translateY(0); opacity: 1; }
body.has-selection { padding-bottom: 92px; }

@media (min-width: 1500px) {
  .hero { min-height: 660px; }
  .hero-image-mat { min-height: 390px; }
}
@media (max-width: 1120px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); gap: 46px; }
  .hero-visual { width: min(100%, 390px); }
  .hero-image-mat { min-height: 300px; }
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .section-shell, .site-header { width: min(calc(100% - 40px), var(--page-width)); }
  .site-header { min-height: 78px; gap: 16px; }
  .brand { min-width: auto; }
  .brand-copy small { font-size: 8px; }
  .main-nav { gap: 20px; }
  .hero { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(240px, .83fr); gap: 28px; padding-block: 56px 91px; }
  .hero h1 { font-size: clamp(40px, 6vw, 58px); }
  .hero-description { margin-top: 19px; font-size: 14px; }
  .hero-actions { gap: 15px; margin-top: 25px; }
  .hero-visual { padding: 12px; }
  .hero-image-mat { min-height: 240px; }
  .filter-board { grid-template-columns: 1fr; }
  .category-group { border-top: 1px solid var(--line); border-left: 0; }
}
@media (max-width: 620px) {
  .section-shell, .site-header { width: min(calc(100% - 32px), var(--page-width)); }
  .site-header { min-height: 71px; gap: 10px; }
  .brand { gap: 9px; }
  .brand-mark { width: 36px; height: 45px; }
  .brand-mark img { width: 27px; height: 36px; }
  .brand-copy strong { font-size: 13px; }
  .brand-copy small { max-width: 130px; font-size: 7px; letter-spacing: .1em; }
  .main-nav { display: none; }
  .header-selection { min-height: 38px; gap: 7px; padding-inline: 8px; font-size: 10px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 47px 79px; }
  .hero-copy { padding: 0; }
  .hero .eyebrow { margin-bottom: 17px; font-size: 8px; }
  .hero h1 { font-size: clamp(42px, 11vw, 59px); line-height: .99; }
  .hero-description { max-width: 440px; margin-top: 17px; font-size: 13px; }
  .hero-actions { display: grid; justify-items: start; gap: 16px; margin-top: 23px; }
  .hero-actions .button { min-height: 46px; }
  .hero-visual { width: min(100%, 430px); justify-self: center; padding: 11px; transform: none; box-shadow: 0 14px 32px rgba(0,0,0,.28); }
  .hero-image-mat { min-height: 0; aspect-ratio: 1.18 / 1; }
  .hero-image-mat img { max-height: none; }
  .hero-bottom-rule { bottom: 23px; font-size: 7px; }
  .collection { padding-block: 47px 62px; }
  .section-heading { align-items: start; margin-bottom: 24px; }
  .section-heading .eyebrow { margin-bottom: 11px; font-size: 8px; }
  .section-heading h2 { font-size: 34px; }
  .section-intro { max-width: 380px; margin-top: 8px; font-size: 12px; }
  .catalog-toolbar { grid-template-columns: 1fr; gap: 13px; margin-bottom: 17px; }
  .sort-control { grid-template-columns: 1fr; }
  .search-box, .select-box { min-height: 46px; }
  .search-box input, .select-box select { height: 44px; font-size: 14px; }
  .filter-group { padding: 14px 12px; }
  .filter-options { gap: 6px; }
  .filter-chip { min-height: 32px; padding-inline: 9px; font-size: 9px; }
  .results-line { padding-top: 16px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .patch-photo { aspect-ratio: .92 / 1; }
  .card-content { padding: 10px 9px 10px; }
  .card-tags { align-items: flex-start; flex-direction: column; gap: 5px; margin-bottom: 7px; }
  .category-tag, .status-tag { min-height: 19px; font-size: 7px; }
  .card-title { font-size: 13px; }
  .card-stock { margin-bottom: 10px; font-size: 9px; }
  .card-actions { grid-template-columns: 1fr; gap: 6px; }
  .card-actions .button { min-height: 35px; padding-inline: 6px; font-size: 8px; }
  .card-actions .button-outline { display: none; }
  .card-actions .card-consult { display: inline-flex; }
  .photo-index { right: 5px; bottom: 5px; padding: 3px 4px; font-size: 7px; }
  .site-footer { min-height: 75px; gap: 12px; }
  .site-footer p { display: none; }
  .back-top { font-size: 7px; }
  .selection-widget { right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); left: 12px; width: auto; }
  .selection-toggle { min-height: 48px; padding: 8px 12px; }
  .selection-panel { max-height: min(58vh, 440px); padding: 12px; }
  .toast { right: 16px; bottom: calc(70px + env(safe-area-inset-bottom)); }
  body.has-selection { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
}
@media (max-width: 370px) {
  .section-shell, .site-header { width: calc(100% - 24px); }
  .brand-copy small { max-width: 110px; }
  .header-selection { gap: 5px; font-size: 9px; }
  .hero h1 { font-size: 40px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .patch-photo { aspect-ratio: 1.12 / 1; }
  .card-tags { align-items: center; flex-direction: row; }
  .card-actions { grid-template-columns: 1fr; }
  .card-actions .button-outline { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
