/* 二期沿用一期黑灰底、工业黄与字体体系，新增目录、详情和合作案例组件。 */
:root { --focus-ring: #f5a623; }
html { scroll-padding-top: 96px; }
body { font-family: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; }
button,input,select,textarea { font: inherit; }
button,a,input,select,textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 5px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 11000; padding: 12px 20px; background: var(--accent); color: var(--bg); }
.skip-link:focus { top: 12px; }
.navbar { background: rgba(10,10,10,.9); }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { filter: none; width: 38px; height: 38px; object-fit: contain; }
.navbar.scrolled .nav-logo img { height: 34px; }
.wordmark { font-weight: 800; font-size: 19px; letter-spacing: 1px; line-height: 1.1; }
.wordmark small { display: block; margin-top: 5px; font-size: 9px; font-weight: 500; letter-spacing: 2px; color: var(--text-secondary); }
.nav-links > li > a { padding-inline: 12px; }
.menu-toggle { border: 0; background: none; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.search-btn { min-width: 40px; min-height: 40px; }
.lang-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; white-space: nowrap; }
.hero { height: 100vh; min-height: 650px; }
@supports (height: 100svh) { .hero { height: 100svh; } }
.hero-content h1 { text-wrap: balance; }
.hero-content .hero-tag { margin-top: 65px; }
.hero-content p { max-width: 660px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* 已确认的三图首屏，背景与文字分离，图片采用桌面和手机专用构图。 */
/* 首屏恢复一期居中排版，三张实景图片通栏铺满，不做左右分割。 */
.hero.hero-designed { background: #090b0d; min-height: 650px; }
.hero-scenes,.hero-scene,.hero-shade { position: absolute; inset: 0; }
.hero-scene { opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.hero-scene.is-active { opacity: 1; }
.hero-scene img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(180deg,rgba(7,9,11,.18),rgba(7,9,11,.44) 44%,rgba(7,9,11,.5) 70%,rgba(7,9,11,.62)); }
.hero-designed .hero-content { max-width: 920px; padding: 100px 25px 90px; align-items: center; text-align: center; }
.hero-designed .hero-tag { margin: 0 0 28px; }
.hero-designed h1 { font-size: clamp(38px,5.3vw,76px); line-height: 1.16; max-width: 850px; margin-bottom: 24px; text-shadow: 0 2px 20px rgba(0,0,0,.32); }
.hero-designed h1 span { color: var(--accent); }
.hero-designed .hero-content p { max-width: 620px; margin: 0 auto 32px; font-size: 15px; line-height: 1.9; color: #e0e2e3; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero-designed .hero-buttons { justify-content: center; }
.reveal { opacity: 1; transform: none; }
.js-ready .reveal:not(.visible) { opacity: 0; transform: translateY(24px); }
.eyebrow { color: var(--accent); font-size: 12px; letter-spacing: 2px; font-weight: 600; margin-bottom: 16px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.section-heading h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.2; font-weight: 800; }
.section-heading p { color: var(--text-secondary); margin-top: 14px; max-width: 650px; }
.text-link { color: var(--accent); font-size: 14px; font-weight: 600; white-space: nowrap; }
.product-overview,.catalog-section,.cases-section { padding: 110px 0; background: var(--bg-alt); }
.category-strip { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; margin-bottom: 34px; }
.category-tile { position: relative; display: flex; flex-direction: column; min-height: 162px; padding: 20px 16px; border: 1px solid var(--border); background: var(--bg-card); border-radius: 8px; transition: border-color .2s, transform .2s; }
.category-tile:hover { border-color: var(--accent); transform: translateY(-3px); }
.category-tile.active { border-color: var(--accent); background: #242017; }
.category-tile.active h3 { color: var(--accent); }
.home-product-more { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 36px; text-align: center; }
.home-product-more p { color: var(--text-secondary); font-size: 14px; line-height: 1.8; }
.category-tile .tile-number { color: var(--text-muted); font-size: 12px; margin-bottom: 24px; font-variant-numeric: tabular-nums; }
.category-tile h3 { font-size: 15px; line-height: 1.4; }
.category-tile .tile-count { color: var(--text-secondary); margin-top: auto; padding-top: 8px; font-size: 12px; }
.category-tile .tile-arrow { position: absolute; right: 14px; top: 16px; color: var(--accent); }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.product-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-card); overflow: hidden; transition: border-color .25s, transform .25s; }
.product-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.product-card .card-image { display: block; position: relative; background: #202020; aspect-ratio: 4 / 3; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s; }
.product-card:hover .card-image img { transform: scale(1.035); }
.card-info { padding: 22px; display: flex; flex: 1; flex-direction: column; }
.card-kicker { color: var(--accent); font-size: 10px; letter-spacing: 1px; font-weight: 600; margin-bottom: 10px; }
.card-info h3 { font-size: 17px; line-height: 1.5; margin-bottom: 16px; text-wrap: pretty; }
.card-facts { display: grid; gap: 8px; margin-bottom: 22px; }
.card-facts div { display: flex; align-items: start; justify-content: space-between; gap: 14px; font-size: 12px; }
.card-facts dt { color: var(--text-muted); flex-shrink: 0; }
.card-facts dd { color: var(--text-secondary); text-align: right; overflow-wrap: anywhere; }
.card-info .text-link { margin-top: auto; padding-top: 17px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; }
.catalog-hero { padding: 150px 0 55px; background: var(--bg); border-bottom: 1px solid var(--border); }
.catalog-hero h1 { font-size: clamp(34px,5vw,58px); font-weight: 800; line-height: 1.15; margin-bottom: 22px; }
.catalog-hero p { color: var(--text-secondary); max-width: 680px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; color: var(--text-secondary); font-size: 12px; margin-bottom: 28px; line-height: 1.7; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span:last-child { color: var(--text); }
.catalog-section { padding-top: 38px; }
.filter-bar { margin-bottom: 32px; padding: 24px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); }
.category-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 9px 15px; border: 1px solid var(--border-light); border-radius: 5px; color: var(--text-secondary); background: transparent; font-size: 13px; transition: color .2s,background .2s,border-color .2s; }
.filter-chip span { font-size: 11px; opacity: .75; }
.filter-chip:hover,.filter-chip.active { color: var(--bg); border-color: var(--accent); background: var(--accent); }
.filter-fields { display: grid; grid-template-columns: minmax(0,1fr) 220px auto; gap: 14px; align-items: end; }
.filter-field label { display: block; margin-bottom: 8px; color: var(--text-secondary); font-size: 12px; }
.filter-field input,.filter-field select { width: 100%; height: 46px; padding: 10px 14px; border: 1px solid var(--border-light); border-radius: 5px; background: var(--bg-card); color: var(--text); }
.filter-reset { min-height: 46px; border: 0; padding: 8px 14px; background: transparent; color: var(--accent); font-size: 13px; }
.catalog-status { color: var(--text-secondary); font-size: 13px; margin-bottom: 24px; }
.catalog-empty { padding: 70px 20px; text-align: center; border: 1px solid var(--border); border-radius: 8px; }
.catalog-empty h2 { font-size: 23px; margin-bottom: 12px; }
.catalog-empty p { color: var(--text-secondary); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination button { min-width: 40px; min-height: 40px; border: 1px solid var(--border-light); border-radius: 4px; background: var(--bg-card); color: var(--text); padding: 8px 13px; }
.pagination button[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.detail-section { padding: 128px 0 80px; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 54px; align-items: start; }
.detail-grid > *,.content-grid > * { min-width: 0; }
.gallery-main { position: relative; background: #202020; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.gallery-main > button { width: 100%; display: block; border: 0; background: transparent; }
.gallery-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.gallery-hint { position: absolute; right: 15px; bottom: 15px; padding: 7px 10px; background: rgba(0,0,0,.7); color: var(--text-secondary); pointer-events: none; border-radius: 4px; font-size: 11px; }
.gallery-thumbs { display: flex; overflow-x: auto; gap: 10px; margin-top: 14px; padding: 3px 3px 8px; }
.gallery-thumb { flex: 0 0 76px; width: 76px; height: 76px; padding: 3px; background: #202020; border: 1px solid var(--border-light); border-radius: 5px; }
.gallery-thumb[aria-current="true"] { border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.detail-copy h1 { font-size: clamp(28px,3vw,42px); line-height: 1.24; margin-bottom: 22px; font-weight: 800; text-wrap: balance; }
.detail-copy .intro { color: #bbb; font-size: 15px; line-height: 1.9; margin-bottom: 25px; }
.quick-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin-bottom: 28px; }
.quick-specs div { padding: 15px 17px; background: var(--bg-card); min-width: 0; }
.quick-specs dt { color: var(--text-muted); font-size: 11px; margin-bottom: 7px; }
.quick-specs dd { color: var(--text); font-size: 14px; overflow-wrap: anywhere; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.detail-note { color: var(--text-muted); font-size: 12px; line-height: 1.8; }
.detail-content { padding: 70px 0; background: var(--bg-alt); }
.detail-content .content-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; }
.detail-content h2 { font-size: 26px; margin-bottom: 26px; }
.detail-description p { color: var(--text-secondary); font-size: 14px; line-height: 1.9; margin-bottom: 22px; }
.feature-list { display: grid; gap: 16px; margin-bottom: 30px; }
.feature-list li { position: relative; padding-left: 23px; color: #bbb; font-size: 14px; line-height: 1.8; }
.feature-list li::before { content: ''; width: 6px; height: 6px; background: var(--accent); position: absolute; left: 1px; top: 10px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.spec-table caption { text-align: left; color: var(--text-muted); font-size: 12px; margin-bottom: 15px; }
.spec-table th,.spec-table td { border: 1px solid var(--border); padding: 13px 16px; line-height: 1.7; text-align: left; overflow-wrap: anywhere; }
.spec-table th { width: 37%; color: #aaa; background: #171717; font-weight: 500; }
.spec-table td { color: var(--text); font-variant-numeric: tabular-nums; }
.related-section { padding: 80px 0; }
.detail-contact { padding: 55px 0; background: var(--bg-card); border-block: 1px solid var(--border); }
.detail-contact .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.detail-contact h2 { font-size: 25px; margin-bottom: 8px; }
.detail-contact p { color: var(--text-secondary); font-size: 14px; }
.cases-section { background: var(--bg); }
.case-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(240px,.65fr); gap: 36px; align-items: stretch; }
.case-stage { min-width: 0; background: #1a1a1a; border-radius: 8px; border: 1px solid var(--border); overflow: hidden; }
.case-track { display: flex; overflow: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.case-track::-webkit-scrollbar { display: none; }
.case-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
/* 案例图统一为 4:3 铺满展示，按照片调整纵向取景，灯箱仍展示完整原图。 */
.case-slide button { position: relative; display: block; border: 0; background: transparent; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.case-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; background: #1a1a1a; }
.case-slide:nth-child(1) img { object-position: center 40%; }
.case-slide:nth-child(4) img { object-position: center 55%; }
.case-slide:nth-child(5) img { object-position: center 25%; }
.case-slide:nth-child(7) img { object-position: center 58%; }
.case-aside { display: flex; flex-direction: column; padding: 30px 0; }
.case-aside h3 { font-size: 27px; line-height: 1.5; margin-bottom: 20px; }
.case-aside > p { color: var(--text-secondary); font-size: 14px; line-height: 1.9; }
.case-progress { color: var(--accent); font-size: 18px; font-variant-numeric: tabular-nums; margin: 30px 0 22px; }
.case-progress span { font-size: 12px; color: var(--text-muted); }
.case-controls { display: flex; gap: 10px; margin-bottom: 25px; }
.case-controls button { width: 42px; height: 42px; background: var(--bg-card); color: var(--text); border: 1px solid var(--border-light); border-radius: 5px; }
.case-controls button:hover { border-color: var(--accent); color: var(--accent); }
.case-dots { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.case-dot { width: 24px; height: 24px; border: 0; background: transparent; position: relative; }
.case-dot::after { content: ''; position: absolute; inset: 9px 0; border-radius: 2px; background: var(--border-light); }
.case-dot[aria-current="true"]::after { background: var(--accent); }
.contact-section { background: var(--bg-alt); }
.contact-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.contact-intro-panel { align-self: start; position: sticky; top: 110px; }
.contact-intro-panel h2 { font-size: 32px; line-height: 1.4; margin-bottom: 20px; }
.contact-intro-panel > p { color: var(--text-secondary); font-size: 14px; line-height: 1.9; margin-bottom: 28px; }
.contact-info h3 { font-size: 25px; }
.contact-form { margin-top: 0; }
.contact-form h2 { font-size: 24px; margin-bottom: 22px; }
.contact-detail { margin-bottom: 24px; }
.form-status { color: var(--text-secondary); padding: 12px 14px; border: 1px solid var(--border-light); font-size: 13px; border-radius: 5px; margin-bottom: 18px; line-height: 1.7; }
.form-status.success { color: #65c78b; border-color: #34634a; }
.form-status.error { color: #ff9090; border-color: #754545; }
.btn-submit[disabled] { opacity: .6; }
.form-group input[aria-invalid="true"],.form-group textarea[aria-invalid="true"] { border-color: #ff6b6b; }
.form-group label { text-transform: none; }
.form-context { color: var(--accent); font-size: 13px; margin-bottom: 20px; overflow-wrap: anywhere; }
.footer-links { grid-template-columns: 1fr 1fr; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.lightbox[open] { display: flex; opacity: 1; visibility: visible; }
dialog.lightbox { border: 0; padding: 60px; width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; color: var(--text); }
dialog.lightbox::backdrop { background: rgba(0,0,0,.94); }
dialog:not([open]) { display: none; }
.lightbox-content img { margin: auto; max-height: 76vh; }
.lightbox-close { width: 44px; height: 44px; border: 0; background: none; }
.lightbox-prev,.lightbox-next { min-width: 44px; min-height: 44px; }
.search-overlay[open] { display: flex; opacity: 1; visibility: visible; }
dialog.search-overlay { color: var(--text); margin: 0; padding: 120px 25px 35px; border: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; }
dialog.search-overlay::backdrop { background: rgba(0,0,0,.9); }
.search-overlay .close-search { border: 0; background: none; min-height: 44px; min-width: 44px; }
.search-overlay label { display: block; font-size: 23px; font-weight: 700; margin-bottom: 20px; }
.search-result-item h3 { font-size: 14px; }
.search-result-item small { color: var(--text-secondary); }
.search-result-item img { object-fit: contain; }
.search-empty { line-height: 1.8; }
.admin-overlay.active { display: flex; }
.admin-overlay { display: none; }
.admin-panel,.admin-list-panel { box-shadow: 0 20px 80px rgba(0,0,0,.35); }
.admin-list-panel { overflow-x: auto; }
.admin-close { width: 44px; height: 44px; background: transparent; border: 0; }
.admin-table { min-width: 770px; }
.admin-message { color: var(--text-secondary); padding: 16px 0; font-size: 13px; }
.admin-toolbar button { font-size: 12px; }
.no-script-note { color: var(--text-secondary); font-size: 13px; margin-bottom: 24px; }
/* 右侧联系栏：桌面悬停或键盘聚焦展开，触屏通过按钮展开。 */
.contact-rail { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 1100; width: 54px; max-width: calc(100vw - 32px); background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 9px; box-shadow: 0 10px 35px rgba(0,0,0,.28); }
.contact-rail[data-expanded="true"] { width: 302px; }
.contact-rail-toggle { display: flex; align-items: center; width: 100%; min-height: 50px; border: 0; border-bottom: 1px solid var(--border); border-radius: 8px 8px 0 0; padding: 0; background: var(--accent); color: var(--bg); }
.contact-rail-icon { flex: 0 0 52px; width: 52px; height: 48px; display: grid; place-items: center; font-size: 20px; }
.contact-rail-heading { font-size: 14px; font-weight: 700; }
.contact-rail-chevron { margin-left: auto; padding-right: 17px; font-size: 23px; line-height: 1; }
.contact-rail-links { max-height: calc(100dvh - 190px); overflow-y: auto; scrollbar-width: thin; border-radius: 0 0 8px 8px; }
.contact-rail-link { display: flex; align-items: center; min-height: 51px; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.contact-rail-link:last-child { border-bottom: 0; }
.contact-rail-link:hover,.contact-rail-link:focus-visible { color: var(--accent); background: var(--bg-card-hover); }
.contact-rail-link .fa-whatsapp { color: var(--accent); }
.contact-rail-label { flex: 1; min-width: 0; line-height: 1.45; padding: 9px 0; }
.contact-rail-label > span { display: block; font-size: 10px; color: var(--text-muted); margin-bottom: 3px; }
.contact-rail-label strong { display: block; font-size: 12px; color: var(--text); font-weight: 500; overflow-wrap: anywhere; }
.contact-rail-arrow { padding: 0 14px 0 8px; font-size: 13px; color: var(--accent); }
.contact-rail:not([data-expanded="true"]) .contact-rail-label,.contact-rail:not([data-expanded="true"]) .contact-rail-arrow,.contact-rail:not([data-expanded="true"]) .contact-rail-heading,.contact-rail:not([data-expanded="true"]) .contact-rail-chevron { display: none; }
.contact-rail[data-expanded="true"] .contact-rail-chevron { transform: rotate(180deg); padding-right: 0; padding-left: 17px; }
.contact-rail:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.contact-rail-link:focus-visible { outline-offset: -3px; }
@media(min-width:769px) { .nav-links li:hover .dropdown,.nav-links li:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; } }
@media(max-width:1100px) { .category-strip { grid-template-columns: repeat(3,minmax(0,1fr)); } .nav-links > li > a { padding-inline: 8px; font-size: 13px; } .wordmark { font-size: 17px; } .detail-grid { gap: 30px; } }
@media(max-width:900px) { .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .detail-grid,.detail-content .content-grid { grid-template-columns: 1fr; gap: 38px; } .gallery-main img { aspect-ratio: 4/3; } .detail-copy { max-width: 100%; } .case-layout { grid-template-columns: 1fr; gap: 15px; } .case-aside { padding: 10px 0; } .case-aside h3 { font-size: 23px; margin-bottom: 10px; } .case-progress { margin: 20px 0 15px; } }
@media(max-width:768px) {
  .hero.hero-designed { min-height: 660px; }
  .hero-designed .hero-content { padding: 95px 22px 75px; }
  .hero-designed .hero-tag { margin-top: 0; margin-bottom: 23px; font-size: 10px; letter-spacing: 1.5px; }
  .hero-designed h1 { font-size: 40px; line-height: 1.2; margin-bottom: 20px; }
  .hero-designed .hero-content p { max-width: 520px; font-size: 13px; line-height: 1.85; margin-bottom: 26px; }
  .hero-designed .hero-buttons { gap: 12px; }
  .hero-designed .hero-buttons a { padding: 13px 25px; font-size: 13px; }
  .hero-scene img { object-fit: cover; object-position: center; }
  .contact-rail { top: auto; bottom: max(90px, calc(env(safe-area-inset-bottom) + 80px)); right: 12px; transform: none; }
  .contact-rail:not([data-expanded="true"]) .contact-rail-links { display: none; }
  .contact-rail:not([data-expanded="true"]) .contact-rail-toggle { border-radius: 8px; border-bottom: 0; }
  .contact-rail-links { max-height: calc(100dvh - 210px); }
  .navbar.menu-open { z-index: 2100; }
  .navbar.menu-open .menu-toggle { position: relative; z-index: 2101; }
  .nav-links:not(.active) { visibility: hidden; }
  .nav-links.active { visibility: visible; }
  .nav-links .dropdown { display: block; }
  .nav-links > li > a { font-size: 16px; }
  .nav-actions { margin-left: auto; margin-right: 8px; }
  .nav-logo img { width: 32px; height: 32px; }
  .wordmark small { font-size: 8px; }
  .menu-toggle { display: flex; order: 3; }
  .category-strip { gap: 10px; }
  .category-tile { min-height: 140px; padding: 16px 12px; }
  .category-tile .tile-number { margin-bottom: 18px; }
  .category-tile h3 { font-size: 13px; }
  .product-overview,.cases-section { padding: 70px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 18px; }
  .section-heading h2 { font-size: 28px; }
  .catalog-hero { padding: 115px 0 40px; }
  .catalog-section { padding-top: 25px; padding-bottom: 70px; }
  .filter-bar { padding: 17px; }
  .filter-fields { grid-template-columns: minmax(0,1fr) 135px; }
  .filter-reset { grid-column: 1/-1; padding: 0; text-align: left; min-height: 30px; }
  .category-tabs { gap: 7px; }
  .filter-chip { padding: 8px 12px; font-size: 12px; }
  .detail-section { padding: 108px 0 45px; }
  .detail-copy h1 { font-size: 30px; }
  .detail-content { padding: 45px 0; }
  .detail-contact .container { flex-direction: column; align-items: start; }
  .detail-contact h2 { font-size: 23px; }
  .contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .contact-intro-panel { position: static; }
  .contact-info h3 { font-size: 24px; }
  .contact-qr-row { flex-direction: row; }
  .contact-qr-item { min-width: 0; padding: 12px; }
  .contact-qr-item img { max-width: 100%; width: 120px; height: 120px; }
  .footer-bottom { display: block; }
  .footer-bottom a { display: block; margin-top: 10px; }
  dialog.lightbox { padding: 60px 12px; }
  .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
  .lightbox-prev,.lightbox-next { top: auto; bottom: 20px; transform: none; }
  .lightbox-close { top: 12px; right: 12px; }
  .admin-panel { padding: 28px 24px; }
  .admin-list-panel { padding: 20px 16px; max-height: 82vh; }
}
@media(max-width:520px) {
  .home-product-more .btn-primary { width: 100%; text-align: center; }
  .hero.hero-designed { min-height: 650px; }
  .hero-designed h1 { font-size: 37px; }
  .hero-designed h1 span { display: block; }
  .hero-designed .hero-content p { max-width: 340px; font-size: 12px; }
  .category-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-card .card-image { aspect-ratio: 4/3; }
  .card-info { padding: 19px; }
  .hero { min-height: 650px; }
  .hero-content h1 { font-size: 34px; }
  .hero-content p { font-size: 14px; }
  .hero-content .hero-tag { font-size: 10px; }
  .wordmark { font-size: 16px; }
  .nav-actions { gap: 5px; }
  .lang-btn { padding-inline: 10px; }
  .wordmark small { letter-spacing: 1px; }
  .gallery-main img { aspect-ratio: 1; }
  .gallery-thumb { width: 64px; height: 64px; flex-basis: 64px; }
  .quick-specs div { padding: 13px; }
  .spec-table th,.spec-table td { padding: 12px; font-size: 12px; }
  .detail-actions a { padding: 12px 20px; }
  .filter-fields { grid-template-columns: 1fr; }
  .filter-reset { grid-column: auto; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-bg-layer { animation: none; }
  .hero-bg-layer:first-child { opacity: 1; }
  .js-ready .reveal:not(.visible) { opacity: 1; transform: none; }
  .hero-scene { transition: none; }
}
