:root {
  --ink: #17191b;
  --graphite: #25282b;
  --muted: #656a6e;
  --subtle: #8a8f93;
  --line: #dfe1e2;
  --soft-line: #eceeed;
  --surface: #f5f5f3;
  --white: #fff;
  --raon: #ef7d00;
  --hik: #e60012;
  --content: 1240px;
  --header-h: 76px;
  --visual-hero-height: 560px;
  --visual-hero-title: clamp(48px, 5vw, 72px);
  --visual-hero-title-mobile: clamp(38px, 10.5vw, 42px);
  --visual-hero-subtitle: 17px;
  --visual-hero-subtitle-mobile: 15px;
  --utility-title: clamp(44px, 4.5vw, 64px);
  --utility-title-mobile: clamp(36px, 10vw, 40px);
  --section-title: clamp(34px, 4vw, 50px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, button, input, select, textarea { font-family: "Pretendard", sans-serif; }
body { margin: 0; color: var(--ink); background: var(--white); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button, select { cursor: pointer; }
img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--raon); outline-offset: 3px; }

.catalog-header { position: fixed; z-index: 100; inset: 0 0 auto; height: var(--header-h); background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(17,19,21,.12); transition: background-color .25s ease, backdrop-filter .25s ease; }
.catalog-header.is-scrolled { background: rgba(244,244,242,.68); backdrop-filter: blur(22px) saturate(135%); }
.catalog-header.menu-open { background: rgba(255,255,255,.98); backdrop-filter: blur(22px); }
.catalog-header-inner { display: flex; width: min(calc(100% - 48px), var(--content)); height: 100%; margin: 0 auto; align-items: center; justify-content: space-between; }
.catalog-brand { display: inline-flex; align-items: center; gap: 12px; }
.catalog-brand img { display: block; width: 104px; height: auto; }
.catalog-brand span { padding-left: 12px; border-left: 1px solid #b8bbbd; font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.catalog-primary-nav { display: flex; height: 100%; align-items: stretch; gap: 4px; font-size: 15px; font-weight: 600; }
.catalog-nav-item { position: relative; display: flex; align-items: stretch; }
.catalog-nav-parent { position: relative; display: flex; padding: 0 19px; align-items: center; }
.catalog-nav-parent::after { position: absolute; right: 19px; bottom: 15px; left: 19px; height: 2px; background: var(--raon); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.catalog-nav-parent[aria-current="page"]::after, .catalog-nav-item:hover .catalog-nav-parent::after, .catalog-nav-item:focus-within .catalog-nav-parent::after { transform: scaleX(1); }
.catalog-submenu { position: absolute; top: calc(100% - 1px); left: 50%; display: grid; min-width: 190px; padding: 10px 0; background: rgba(255,255,255,.98); border-top: 2px solid var(--raon); box-shadow: 0 18px 36px rgba(0,0,0,.13); opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: opacity .18s ease, transform .18s ease; }
.catalog-submenu a { padding: 9px 20px; color: #383b3e; font-size: 13px; font-weight: 550; white-space: nowrap; }
.catalog-submenu a:hover, .catalog-submenu a:focus-visible { color: #111; background: #f1f1ef; }
.catalog-nav-item:hover .catalog-submenu, .catalog-nav-item:focus-within .catalog-submenu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.catalog-menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 0; background: transparent; }
.catalog-menu-toggle > span:not(.sr-only) { display: block; height: 1px; margin: 6px 0; background: currentColor; }

.catalog-main { min-height: calc(100vh - 280px); padding-top: var(--header-h); }
.page-heading { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-heading-inner { width: min(calc(100% - 48px), var(--content)); margin: 0 auto; padding: 72px 0 56px; }
.breadcrumb { display: flex; margin: 0 0 20px; align-items: center; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: 13px; }
.breadcrumb span { color: #a2a6a9; }
.page-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.page-title-row h1 { margin: 0; font-size: clamp(36px, 4vw, 56px); line-height: 1.12; letter-spacing: -.05em; }
.page-title-row p { max-width: 580px; margin: 12px 0 0; color: var(--muted); font-size: 16px; }

.catalog-content { width: min(calc(100% - 48px), var(--content)); margin: 0 auto; padding: 48px 0 96px; }
.catalog-tools { display: grid; margin-bottom: 36px; grid-template-columns: minmax(280px, 1fr) auto; gap: 16px; }
.catalog-search { display: flex; height: 52px; border: 1px solid #bfc3c5; background: #fff; }
.catalog-search input { min-width: 0; flex: 1; padding: 0 18px; border: 0; outline: 0; font-size: 16px; }
.catalog-search button { width: 56px; border: 0; color: #fff; background: var(--hik); }
.catalog-search svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.sort-select { min-width: 148px; height: 52px; padding: 0 40px 0 14px; border: 1px solid #bfc3c5; background: #fff; }
.filter-bar { display: flex; margin-bottom: 26px; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.category-tabs { display: flex; min-width: 0; overflow-x: auto; scrollbar-width: thin; }
.category-tab { min-height: 48px; padding: 0 20px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); white-space: nowrap; }
.category-tab:first-child { padding-left: 0; }
.category-tab.is-active { border-color: var(--hik); color: var(--ink); font-weight: 700; }
.result-count { flex: 0 0 auto; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.subfilters { display: none; margin: -4px 0 28px; flex-wrap: wrap; gap: 8px; }
.subfilters.is-visible { display: flex; }
.subfilter { min-height: 38px; padding: 0 14px; border: 1px solid #d5d7d8; background: #fff; color: #52575a; font-size: 13px; }
.subfilter.is-active { border-color: var(--ink); color: #fff; background: var(--ink); }

.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 20px; }
.catalog-card { display: block; min-width: 0; border-top: 2px solid var(--ink); }
.catalog-card-image { position: relative; display: grid; aspect-ratio: 4 / 3; overflow: hidden; place-items: center; background: #f2f2ef; }
.catalog-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; transition: transform .25s ease; }
.catalog-card-image.is-discontinued::after,.product-stage.is-discontinued::after { content:""; position:absolute; z-index:3; top:50%; left:50%; width:145%; height:4px; background:#e60012; transform:translate(-50%,-50%) rotate(-24deg); pointer-events:none; }
.catalog-card:hover .catalog-card-image img { transform: scale(1.035); }
.image-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: #8c9093; font-size: 13px; text-align: center; }
.image-placeholder::before { width: 46px; height: 36px; margin-bottom: 10px; border: 1px solid #b9bdc0; content: ""; }
.catalog-card-body { padding: 14px 2px 0; }
.catalog-card-category { display: flex; margin-bottom: 7px; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }
.catalog-card-category span:last-child { text-align: right; overflow-wrap: anywhere; }
.catalog-card h2 { margin: 0; font-size: 17px; line-height: 1.35; letter-spacing: -.02em; word-break: keep-all; }
.catalog-card-name { min-height: 20px; margin: 6px 0 0; color: #555a5e; font-size: 13px; }
.product-code-list { display: grid; margin-top: 10px; gap: 3px; }
.product-code { display: grid; margin: 0; grid-template-columns: 52px minmax(0, 1fr); gap: 7px; color: #777c80; font-size: 12px; font-variant-numeric: tabular-nums; }
.product-code strong { color: #44484b; font-weight: 650; }
.product-code span { min-width: 0; overflow-wrap: anywhere; }
.empty-state { grid-column: 1 / -1; padding: 88px 24px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); text-align: center; }
.empty-state strong { display: block; margin-bottom: 8px; font-size: 20px; }
.empty-state p { margin: 0; color: var(--muted); }
.catalog-loading { grid-column: 1 / -1; padding: 80px 0; color: var(--muted); text-align: center; }
.pagination { display: flex; margin-top: 56px; justify-content: center; gap: 7px; }
.pagination button { min-width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; }
.pagination button.is-active { color: #fff; border-color: var(--ink); background: var(--ink); }
.pagination button:disabled { cursor: default; opacity: .38; }

.product-shell { width: min(calc(100% - 48px), var(--content)); margin: 0 auto; padding: 42px 0 104px; }
.product-breadcrumb { margin-bottom: 32px; }
.product-overview { display: grid; grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.product-gallery { min-width: 0; padding: 32px 36px 34px 0; border-right: 1px solid var(--line); }
.product-stage { position: relative; display: grid; width: 100%; padding: 0; aspect-ratio: 4 / 3; overflow: hidden; place-items: center; border: 0; background: var(--surface); cursor: zoom-in; }
.product-stage img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; }
.product-thumbs { display: grid; min-height: 57px; margin-top: 10px; grid-template-columns: repeat(4, 76px); gap: 8px; }
.product-thumb { display: grid; width: 100%; padding: 0; aspect-ratio: 4 / 3; place-items: center; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.product-thumb.is-active { border-color: var(--ink); }
.product-thumb.is-empty { visibility: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 52px 0 48px 56px; }
.product-info h1 { margin: 0; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.14; letter-spacing: -.045em; word-break: keep-all; }
.product-codes { display: grid; margin: 32px 0; grid-template-columns: 112px 1fr; border-top: 1px solid var(--line); }
.product-codes dt, .product-codes dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.product-codes dt { color: var(--muted); }
.product-codes dd { font-weight: 650; overflow-wrap: anywhere; }
.product-codes dd.product-code-value { display: flex; min-width: 0; align-items: center; gap: 7px; }
.product-code-value > span { min-width: 0; overflow-wrap: anywhere; }
.code-copy-button { position: relative; display: inline-grid; flex: 0 0 30px; width: 30px; height: 30px; margin: -8px 0; padding: 0; place-items: center; border: 0; background: transparent; color: #777c80; transition: color .18s ease; }
.code-copy-button:hover { color: var(--raon); }
.code-copy-button svg { width: 18px; height: 18px; }
.code-copy-button .copy-icon { fill: currentColor; stroke: none; }
.code-copy-button .copy-check-icon { display: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.code-copy-button[data-copy-state="done"] { color: var(--raon); }
.code-copy-button[data-copy-state="done"] .copy-icon { display: none; }
.code-copy-button[data-copy-state="done"] .copy-check-icon { display: block; }
.code-copy-button[data-copy-state="done"]::after { position: absolute; z-index: 3; bottom: calc(100% + 7px); left: 50%; padding: 4px 7px; background: var(--ink); color: #fff; content: "복사됨"; font-size: 10px; font-weight: 600; line-height: 1.2; white-space: nowrap; transform: translateX(-50%); }
.product-codes dd.is-empty { color:var(--muted); font-weight:400; }
.product-codes dd.product-description-value { white-space: pre-line; line-height: 1.7; }
.product-downloads { margin-top:34px; }
.product-downloads > h2 { margin:0 0 13px; font-size:16px; letter-spacing:-.025em; }
.product-downloads .download-item { min-height:66px; padding:11px 4px; grid-template-columns:44px minmax(0,1fr) auto; gap:10px; }
.product-downloads .file-document-icon { transform:scale(.86); transform-origin:center; }
.product-downloads .download-item strong { font-size:13px; }
.product-downloads .download-item small { display:block; margin-top:3px; font-size:10px; overflow-wrap:anywhere; }
.product-downloads .download-action { min-width:40px; padding:0; }
.product-downloads .empty-state { padding:24px 16px; }
.detail-section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.detail-section-heading { display: grid; margin-bottom: 30px; grid-template-columns: 210px 1fr; align-items: start; gap: 32px; }
.detail-section-heading h2 { margin: 0; font-size: 26px; letter-spacing: -.035em; }
.detail-section-heading p { max-width: 620px; margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.product-description .detail-section-heading { margin-bottom: 38px; }
.product-detail-content { max-width: 980px; margin: 0 auto; color: #25292c; font-size: 16px; line-height: 1.75; }
.product-detail-content h2, .product-detail-content h3 { margin: 64px 0 20px; line-height: 1.28; letter-spacing: -.035em; }
.product-detail-content h2:first-child, .product-detail-content h3:first-child { margin-top: 0; }
.product-detail-content h2 { font-size: 30px; }
.product-detail-content h3 { font-size: 23px; }
.product-detail-content p { margin: 0 0 20px; }
.product-detail-content ul, .product-detail-content ol { margin: 0 0 24px; padding-left: 24px; }
.product-detail-content blockquote { margin: 28px 0; padding: 18px 22px; border-left: 3px solid var(--hik); background: #f5f5f3; }
.product-detail-content a { text-decoration: underline; text-underline-offset: 3px; }
.product-detail-content img { display: block; max-width: 100%; height: auto; margin: 28px auto; }
.product-detail-content iframe { display: block; width: 100%; max-width: 980px; margin: 32px auto; aspect-ratio: 16 / 9; border: 0; }
.product-detail-content .ql-align-center { text-align: center; }
.product-detail-content .ql-align-right { text-align: right; }
.product-detail-content .ql-align-justify { text-align: justify; }
.download-list { border-top: 1px solid var(--ink); }
.download-item { display: grid; min-height: 76px; padding: 14px 8px; grid-template-columns: 52px 1fr auto; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); }
.file-document-icon { position: relative; display: grid; width: 34px; height: 42px; margin-left: 4px; place-items: end center; padding-bottom: 6px; color: #303438; border: 1px solid #8e9396; background: #fff; font-size: 8px; font-weight: 850; line-height: 1; text-transform: uppercase; }
.file-document-icon::before { content: ""; position: absolute; top: -1px; right: -1px; width: 10px; height: 10px; border-bottom: 1px solid #8e9396; border-left: 1px solid #8e9396; background: #f0f1ef; }
.file-document-icon.is-pdf { color: #b4000e; border-color: #d5a4a8; }
.file-document-icon.is-doc { color: #22589a; border-color: #9fb6d1; }
.file-document-icon.is-sheet { color: #227044; border-color: #9bc2aa; }
.download-item strong { display: block; font-size: 14px; }
.download-item small { color: var(--muted); }
.download-action { display: grid; width: 40px; min-width: 40px; height: 40px; padding: 0; place-items: center; color: #34383b; border: 0; background: transparent; transition: color .18s ease, background-color .18s ease; }
.download-action svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.download-action:hover, .download-action:focus-visible { color: var(--hik); background: #f4f4f2; }
.detail-images { display: grid; max-width: 980px; margin: 0 auto; gap: 18px; }
.detail-images img { display: block; width: 100%; height: auto; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.back-row { display: flex; padding-top: 32px; justify-content: space-between; gap: 18px; }
.quiet-link { display: inline-flex; min-height: 44px; align-items: center; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 700; }

.site-footer { color: #c9ccce; background: #0b0d0e; line-height: 1.55; }
.footer-inner { display: grid; width: min(calc(100% - 48px), var(--content)); margin: 0 auto; padding: 22px 0 14px; grid-template-columns: 170px 1fr; column-gap: 32px; }
.footer-brands { display: flex; padding-top: 2px; align-items: flex-start; }
.footer-partner { display: block; width: 150px; height: auto; }
.footer-info { padding: 0; font-size: 12px; }
.footer-info p { display: flex; margin: 2px 0; flex-wrap: wrap; gap: 3px 18px; }
.footer-info strong { color: #fff; }
.footer-info a:hover { color: #fff; text-decoration: underline; }
.footer-policy { grid-column: 1 / -1; display: flex; margin-top: 11px; padding-top: 11px; justify-content: center; flex-wrap: wrap; gap: 6px 24px; border-top: 1px solid #2d3032; color: #fff; font-size: 11px; }
.footer-policy a + a { position: relative; }
.footer-policy a + a::before { position: absolute; left: -14px; color: #55595c; content: "·"; }
.copyright { grid-column: 1 / -1; margin: 8px 0 0; color: #75797b; font-size: 10px; text-align: center; }
.copyright a { color: #9da0a2; }

.page-sequence-nav { display: grid; margin-top: 58px; grid-template-columns: 1fr 1fr; border-top: 1px solid #aeb2b4; border-bottom: 1px solid #aeb2b4; }
.page-sequence-nav a { display: flex; min-width: 0; min-height: 72px; align-items: center; gap: 13px; color: #25282b; font-size: 15px; font-weight: 750; transition: color .16s ease, background-color .16s ease; }
.page-sequence-nav a.is-next { grid-column: 2; justify-content: flex-end; text-align: right; }
.page-sequence-nav a.is-prev { grid-column: 1; }
.page-sequence-nav a.is-next:only-child { grid-column: 2; }
.page-sequence-nav a span { flex: 0 0 auto; color: var(--raon); font-size: 21px; font-weight: 450; line-height: 1; }
.page-sequence-nav a:hover, .page-sequence-nav a:focus-visible { color: var(--hik); background: #f7f7f5; }

.modal-close { width: 44px; height: 44px; border: 0; background: transparent; font-size: 24px; }
body.modal-open { overflow: hidden; }
.image-modal { width: min(1040px, calc(100% - 32px)); max-width: none; max-height: calc(100svh - 32px); padding: 0; overflow: visible; border: 0; background: transparent; }
.image-modal::backdrop { background: rgba(16,18,20,.72); }
.image-modal-panel { position: relative; display: grid; min-height: 300px; padding: 26px 56px 28px; grid-template-rows: auto minmax(0,1fr) auto; background: #fff; }
.image-modal-head { min-width: 0; padding: 0 52px 20px 0; }
.image-modal-head strong { display: block; font-size: 15px; letter-spacing: -.02em; }
.image-modal-head span { display: block; margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.image-modal .modal-close { position: absolute; z-index: 2; top: 16px; right: 18px; display: grid; width: 42px; height: 42px; padding: 0; place-items: center; color: #262a2d; transition: color .18s ease, background-color .18s ease; }
.image-modal .modal-close:hover, .image-modal .modal-close:focus-visible { color: var(--hik); background: #f4f4f2; }
.image-modal .modal-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.image-modal-stage { display: grid; min-height: 0; place-items: center; }
.image-modal img { display: block; width: 100%; max-height: calc(100svh - 184px); object-fit: contain; }
.image-modal-foot { display: flex; min-height: 48px; padding-top: 16px; justify-content: center; }
.image-modal-foot[hidden] { display: none; }
.image-modal-download { display: grid; width: 42px; height: 42px; place-items: center; color: #34383b; transition: color .18s ease, background-color .18s ease; }
.image-modal-download[hidden] { display: none; }
.image-modal-download:hover, .image-modal-download:focus-visible { color: var(--hik); background: #f4f4f2; }
.image-modal-download svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1020px) {
  :root { --header-h: 68px; }
  .catalog-header-inner, .page-heading-inner, .catalog-content, .product-shell, .footer-inner { width: min(calc(100% - 36px), var(--content)); }
  .catalog-grid, .related-grid { grid-template-columns: repeat(3, 1fr); }
  .product-overview { grid-template-columns: 1fr 1fr; }
  .product-gallery { padding-right: 28px; }
  .product-info { padding-left: 36px; }
}

@media (max-width: 980px) {
  .catalog-menu-toggle { display: block; }
  .catalog-primary-nav { position: fixed; inset: var(--header-h) 0 auto; display: none; height: auto; max-height: calc(100svh - var(--header-h)); padding: 14px 18px 22px; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; color: var(--ink); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
  .catalog-primary-nav.is-open { display: flex; }
  .catalog-nav-item { display: block; border-bottom: 1px solid var(--line); }
  .catalog-nav-item:last-child { border-bottom: 0; }
  .catalog-nav-parent { justify-content: space-between; padding: 15px 2px; font-size: 15px; font-weight: 800; }
  .catalog-nav-parent::before { display: block; order: 2; color: #8c9093; content: "+"; font-size: 18px; font-weight: 400; line-height: 1; }
  .catalog-nav-parent::after { display: none; }
  .catalog-nav-item.submenu-open .catalog-nav-parent::before { content: "−"; }
  .catalog-submenu { position: static; display: none; min-width: 0; padding: 0 0 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; border: 0; box-shadow: none; opacity: 1; pointer-events: auto; transform: none; }
  .catalog-nav-item:hover .catalog-submenu, .catalog-nav-item:focus-within .catalog-submenu { transform: none; }
  .catalog-nav-item.submenu-open .catalog-submenu { display: grid; }
  .catalog-submenu a { padding: 9px 10px; color: #464b4f; background: #f7f7f5; border: 1px solid #eceeed; font-size: 13px; white-space: normal; }
  .catalog-submenu a:hover, .catalog-submenu a:focus-visible { color: #111; background: #fff; border-color: #d6d9da; }
}

@media (max-width: 760px) {
  .catalog-header-inner, .page-heading-inner, .catalog-content, .product-shell, .footer-inner { width: calc(100% - 32px); }
  .catalog-brand img { width: 88px; }
  .catalog-brand span { padding-left: 9px; font-size: 13px; }
  .page-heading-inner { padding: 52px 0 40px; }
  .page-title-row { align-items: flex-start; }
  .page-title-row h1 { font-size: 38px; }
  .page-title-row p { font-size: 14px; }
  .catalog-content { padding: 32px 0 72px; }
  .catalog-tools { grid-template-columns: 1fr; }
  .catalog-search, .sort-select { width: 100%; }
  .filter-bar { display: block; border-bottom: 0; }
  .category-tabs { display: grid; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; overflow: visible; scrollbar-width: none; }
  .category-tabs::-webkit-scrollbar { display: none; }
  .result-count { margin: 12px 0 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); text-align: right; }
  .category-tab { min-height: 40px; padding: 0 10px; border: 1px solid var(--line); background: #fff; color: #4d5357; font-size: 13px; }
  .category-tab:first-child { padding-left: 10px; }
  .category-tab.is-active { border-color: var(--hik); color: var(--hik); background: #fff8f8; font-weight: 800; }
  .category-tab small { font-size: 12px; }
  .catalog-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .catalog-card h2 { font-size: 15px; }
  .catalog-card-name { font-size: 12px; }
  .product-overview { display: block; }
  .product-gallery { padding: 20px 0 28px; border-right: 0; border-bottom: 1px solid var(--line); }
  .product-info { padding: 34px 0 38px; }
  .product-info h1 { font-size: 34px; }
  .code-copy-button { flex-basis: 36px; width: 36px; height: 36px; margin: -11px 0; }
  .product-downloads .download-item { grid-template-columns: 44px minmax(0,1fr) auto; }
  .product-downloads .download-action { grid-column: auto; }
  .detail-section { padding: 52px 0; }
  .detail-section-heading { display: block; }
  .detail-section-heading p { margin-top: 9px; }
  .product-detail-content { font-size: 15px; }
  .product-detail-content h2 { font-size: 26px; }
  .product-detail-content h3 { font-size: 21px; }
  .download-item { grid-template-columns: 46px 1fr; }
  .download-action { grid-column: 2; }
  .footer-inner { display: grid; padding: 14px 0 10px; grid-template-columns: 108px minmax(0, 1fr); column-gap: 14px; }
  .footer-brands { margin: 0; padding-top: 1px; }
  .footer-partner { width: 106px; }
  .footer-info { font-size: 11px; line-height: 1.42; }
  .footer-info p { display: flex; margin: 0 0 2px; gap: 2px 10px; }
  .footer-policy { grid-column: 1 / -1; display: flex; margin-top: 8px; padding-top: 8px; justify-content: center; gap: 4px 14px; font-size: 10px; }
  .footer-policy a + a::before { display: none; }
  .copyright { grid-column: 1 / -1; margin-top: 6px; font-size: 9px; }
  .page-sequence-nav { margin-top: 42px; }
  .page-sequence-nav a { min-height: 60px; font-size: 13px; }
  .page-sequence-nav a span { font-size: 18px; }
}

@media (max-width: 420px) {
  .product-shell { padding-top: 28px; }
  .category-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-downloads .download-item { grid-template-columns:40px minmax(0,1fr) 40px; }
  .product-downloads .download-action { grid-row:1; grid-column:3; }
  .image-modal { width: calc(100% - 20px); max-height: calc(100svh - 20px); }
  .image-modal-panel { padding: 22px 18px 18px; }
  .image-modal-head { padding: 0 46px 16px 2px; }
  .image-modal .modal-close { top: 9px; right: 9px; }
  .image-modal img { max-height: calc(100svh - 164px); }
}

@media (max-width: 520px) {
  .catalog-grid, .related-grid { grid-template-columns: 1fr; gap: 0; }
  .catalog-card { display: grid; min-height: 128px; padding: 14px 0; grid-template-columns: 104px minmax(0, 1fr); align-items: center; border-top-width: 1px; }
  .catalog-card:first-child { border-top-width: 2px; }
  .catalog-card-image { width: 112px; aspect-ratio: 4 / 3; }
  .catalog-card-image img { width: 100%; height: 100%; object-fit: cover; }
  .catalog-card-body { padding: 0 0 0 14px; }
  .catalog-card-category { margin-bottom: 5px; }
  .catalog-card h2 { font-size: 15px; }
  .catalog-card-name { min-height: 0; margin-top: 5px; font-size: 12px; }
  .product-code-list { margin-top: 8px; gap: 2px; }
  .product-code { grid-template-columns: 50px minmax(0, 1fr); font-size: 11px; line-height: 1.45; }
  .pagination { margin-top: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
