/* =========================================================
   MAILANG 麦浪 · 官网样式（版式参照 futina.com）
   ========================================================= */
:root {
  --brand: #00afbc;
  --accent: #f08200;
  --ink: #212529;
  --ink-2: #222;
  --sub: #666;
  --muted: #999;
  --line: #e6e6e6;
  --grey: #eeeeee;
  --hdr-h: 90px;
  --wrap: 90%;
  --wrap-max: 1600px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Noto Sans Arabic", sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  padding-top: var(--hdr-h);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#app { flex: 1 0 auto; }
.ftr { margin-top: auto; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 500; font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif; }
.wrap { width: var(--wrap); max-width: var(--wrap-max); margin: 0 auto; }

/* ---------------- 顶部导航 ---------------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; height: var(--hdr-h);
  background: #fff; z-index: 99;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}
.hdr-in { width: var(--wrap); max-width: var(--wrap-max); height: 100%; margin: 0 auto; display: flex; align-items: center; }
.brand { flex: 0 0 auto; display: flex; align-items: center; }
.brand-logo { height: 26px; width: auto; max-width: none; }

.nav { display: flex; align-items: stretch; height: var(--hdr-h); margin-inline-start: auto; }
.nav-it {
  position: relative; display: flex; align-items: center;
  padding: 0 .7vw; font-size: 16px; font-weight: 400; color: var(--ink-2);
  line-height: var(--hdr-h); white-space: nowrap; transition: color .3s ease;
}
.nav-it::before {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  border: 8px solid transparent; border-bottom-color: var(--brand);
  opacity: 0; transition: all .5s ease;
}
.nav-it:hover, .nav-it.active { color: var(--brand); }
.nav-it:hover::before, .nav-it.active::before { opacity: 1; }

.hdr-right { display: flex; align-items: center; gap: 16px; margin-inline-start: 34px; }
.lang-wrap { position: relative; }
#langSel {
  appearance: none; -webkit-appearance: none;
  height: 40px; border: 1px solid #dcdcdc; border-radius: 999px;
  padding: 0 34px 0 16px; font-size: 14px; color: #333; background: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'><path d='M1 1l4.5 4.5L10 1' fill='none' stroke='%236c7174' stroke-width='1.6' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right 13px center;
}
#langSel:focus { outline: none; border-color: var(--brand); }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, #12c2ce 0%, #00afbc 55%, #009aa5 100%);
  color: #fff; box-shadow: 0 8px 18px rgba(0, 175, 188, .32);
  transition: transform .18s, box-shadow .18s, filter .18s;
}
.cart-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 22px rgba(0, 175, 188, .40); filter: brightness(1.04); }
.cart-btn:active { transform: translateY(0); }
.cart-btn svg { filter: drop-shadow(0 1px 1px rgba(0, 80, 86, .25)); }
.cart-count {
  position: absolute; top: -4px; inset-inline-end: -4px; min-width: 19px; height: 19px;
  background: var(--accent); color: #fff; border-radius: 999px; border: 2px solid #fff;
  font-size: 11px; line-height: 15px; text-align: center; padding: 0 4px; font-weight: 700;
  box-shadow: 0 2px 6px rgba(240, 130, 0, .35);
}
.menu-btn { display: none; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid #dcdcdc; border-radius: 8px; background: #fff; }

/* ---------------- 首屏轮播 ---------------- */
.hero { position: relative; height: clamp(480px, 66vw, 862px); overflow: hidden; background: #0c1416; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.hero-slide.on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-arrow {
  position: absolute; top: 50%; margin-top: -23px; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .65); background: none; color: #fff;
  display: grid; place-items: center; transition: .25s; z-index: 3;
}
.hero-arrow:hover { background: rgba(255, 255, 255, .18); }
.hero-arrow.prev { left: 5%; }
.hero-arrow.next { right: 5%; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 24px; display: flex; justify-content: center; gap: 10px; z-index: 3; }
.hero-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .5); cursor: pointer; transition: .2s; }
.hero-dots i.on { background: #fff; }

/* ---------------- 通用区块 ---------------- */
.sec { padding: 56px 0 60px; }
.sec-ttl { font-size: 36px; font-weight: 500; color: var(--ink); text-align: center; line-height: 1.3; }
.sec-line { display: block; width: 56px; height: 2px; background: var(--brand); margin: 14px auto 0; }
.sec-ttl.left { text-align: start; }

/* 产品推荐（2×2 大分类卡） */
.cat2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 34px; }
.cat2 a { position: relative; display: block; aspect-ratio: 634 / 380; overflow: hidden; background: #f3f4f5; }
.cat2 a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .84) 0%, rgba(255, 255, 255, .38) 36%, rgba(255, 255, 255, 0) 62%); transition: opacity .3s; }
.cat2 img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat2 a:hover img { transform: scale(1.05); }
.cat2 a:hover::after { opacity: .55; }
.cat2 b {
  position: absolute; left: 38px; top: 30px; z-index: 2;
  font-size: 30px; font-weight: 500; color: #1e2a2c; letter-spacing: 1px; line-height: 1.2;
}
.cat2 em {
  position: absolute; left: 40px; bottom: 28px; z-index: 2; font-style: normal;
  font-size: 14px; color: rgba(40, 56, 58, .82);
}

/* 关于我们 */
.about { background: #fff; padding: 54px 0 58px; border-bottom: 5px solid #4ab344; }
.about-grid { display: grid; grid-template-columns: 1.06fr 1fr; gap: 40px; align-items: start; margin-top: 30px; }
.about-pic { position: relative; background: #e9ecec; }
.about-pic img { width: 100%; aspect-ratio: 16 / 8.15; object-fit: cover; display: block; }
.about-more {
  position: absolute; right: 0; bottom: -15px; display: grid; place-items: center;
  width: 78px; height: 44px; background: var(--brand); color: #fff; transition: .2s;
}
.about-more:hover { background: #009aa5; }
.about-txt { margin-top: 44px; }
.about-txt p { font-size: 14.5px; color: #333; line-height: 2.05; }
.about-txt p + p { margin-top: 2px; }
.about-video { width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.about-video video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 企业新闻（三列） */
.news3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 34px; }
.news3 a { display: block; }
.news3 figure { overflow: hidden; background: #f2f2f2; aspect-ratio: 5 / 3; }
.news3 img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news3 a:hover img { transform: scale(1.05); }
.news3 h3 {
  font-size: 16px; font-weight: 700; color: var(--ink); margin: 16px 0 10px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news3 p {
  font-size: 14px; color: var(--muted); line-height: 1.75;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news3 .nline { display: block; height: 1px; background: #ededed; margin-top: 16px; }
.news3 .ndate { display: block; margin-top: 12px; font-size: 13px; color: #bbb; }

/* ---------------- 页脚 ---------------- */
.ftr { background: #f7f7f7; padding: 44px 0 0; border-top: 5px solid #4ab344; }
.ftr-in { width: var(--wrap); max-width: var(--wrap-max); margin: 0 auto; display: flex; gap: 40px; align-items: flex-start; }
.ftr-brand { flex: 0 0 236px; }
.ftr-brand img { height: 22px; width: auto; }
.ftr-brand p { margin-top: 14px; font-size: 12px; color: #999; line-height: 1.9; letter-spacing: .4px; }
.ftr-cols { flex: 1; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 18px; }
.ftr-cols h4 { font-size: 14px; font-weight: 700; color: #333; margin-bottom: 16px; }
.ftr-cols h4 a:hover { color: var(--brand); }
.ftr-cols a { display: block; font-size: 13px; color: var(--sub); margin-bottom: 13px; line-height: 1.5; }
.ftr-cols a:hover { color: var(--brand); }
.ftr-bot { margin-top: 24px; border-top: 1px solid #e2e2e2; }
.ftr-bot-in {
  width: var(--wrap); max-width: var(--wrap-max); margin: 0 auto; padding: 13px 0 14px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  font-size: 12.5px; color: #9a9a9a; line-height: 1.7;
}
.ftr-bot-in a { color: #9a9a9a; }
.ftr-bot-in a:hover { color: var(--brand); }
.ftr-bot-in .bot-r { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ---------------- 通用组件 ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; font-size: 15px; font-weight: 500; border: 1px solid transparent; transition: .2s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #009aa5; }
.btn-outline { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { filter: brightness(1.05); }
.btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost:hover { background: rgba(255, 255, 255, .26); }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.section { padding: 48px 0; }
.container { width: var(--wrap); max-width: var(--wrap-max); margin: 0 auto; }
.section h1, .section h2 { font-size: 28px; line-height: 1.35; }
.section p.lead { color: var(--sub); margin: 10px 0 24px; font-size: 15px; }
.co-intro { max-width: 980px; }
.co-intro p { font-size: 15px; color: #444; line-height: 2.05; margin-bottom: 14px; }
.co-intro p:last-child { margin-bottom: 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sec-more { color: var(--brand); font-weight: 700; font-size: 14px; white-space: nowrap; }
.crumbs { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.crumbs a { color: var(--brand); }

/* 产品列表 */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.chip { border: 1px solid var(--line); background: #fff; padding: 8px 16px; font-size: 14px; color: var(--sub); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.search { flex: 1; min-width: 200px; border: 1px solid var(--line); padding: 10px 14px; font-size: 15px; background: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card { border: 1px solid #eee; display: flex; flex-direction: column; transition: .2s; }
.card:hover { border-color: var(--brand); box-shadow: 0 10px 26px rgba(0, 0, 0, .07); }
.card .thumb { display: block; aspect-ratio: 1; background: #f4f4f4; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .thumb img { transform: scale(1.04); }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 15px; font-weight: 500; line-height: 1.45; min-height: 2.9em; }
.card h3 a:hover { color: var(--brand); }
.card .meta { color: var(--muted); font-size: 13px; }
.card .price { color: var(--brand); font-weight: 700; font-size: 17px; }
.card .row { margin-top: auto; display: flex; gap: 8px; padding-top: 10px; }
.card .row .btn { flex: 1; padding: 9px 10px; font-size: 13px; }
.badge { display: inline-block; background: #e9f8f9; color: var(--brand); font-size: 11px; font-weight: 700; padding: 3px 9px; }
.badge.custom { background: #fef3e2; color: #b26a00; }

/* 产品详情 */
.detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 34px; border: 1px solid #eee; padding: 26px; }
.gallery .main { border: 1px solid #eee; overflow: hidden; background: #f7f7f7; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.gallery .thumbs img { width: 72px; height: 72px; object-fit: cover; border: 2px solid transparent; cursor: pointer; }
.gallery .thumbs img.on { border-color: var(--brand); }
.specs { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14px; }
.specs td { border-bottom: 1px solid var(--line); padding: 10px 6px; }
.specs td:first-child { color: var(--sub); width: 42%; }
.qty-row { display: flex; gap: 10px; align-items: center; margin-top: 18px; }
.qty-row input { width: 130px; border: 1px solid var(--line); padding: 11px 12px; font-size: 15px; }
.warn { color: #b26a00; background: #fef3e2; padding: 8px 12px; font-size: 13px; margin-top: 10px; }

/* 新闻列表 / 详情 */
.news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.news-card { display: flex; flex-direction: column; gap: 8px; border: 1px solid #eee; padding: 22px; transition: .2s; }
.news-card:hover { border-color: var(--brand); }
.nc-fig { margin: -22px -22px 6px; overflow: hidden; background: #f2f2f2; aspect-ratio: 5 / 3; }
.nc-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .nc-fig img { transform: scale(1.05); }
.art-fig { margin: 18px 0 22px; background: #f2f2f2; }
.art-fig img { display: block; width: 100%; height: auto; }
.news-card h3 { font-size: 17px; font-weight: 500; line-height: 1.45; color: var(--ink); }
.news-card p { color: var(--muted); font-size: 14px; }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.news-tag { background: #e9f8f9; color: var(--brand); padding: 2px 8px; font-weight: 700; font-size: 11px; }
.news-more { margin-top: auto; color: var(--brand); font-weight: 700; font-size: 13px; }
.article { border: 1px solid #eee; padding: 34px; max-width: 860px; }
.article h1 { font-size: 27px; line-height: 1.35; margin: 12px 0 16px; }
.article p { color: #333; font-size: 15.5px; margin-bottom: 14px; line-height: 1.9; }
.article .art-lead { font-size: 16px; color: var(--sub); border-inline-start: 3px solid var(--brand); padding-inline-start: 14px; }
.art-src { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.art-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* 关于 / 联系 / 服务 / 招商 / 案例 */
.about-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.panel { border: 1px solid #eee; padding: 24px; }
.panel h3 { font-size: 17px; margin-bottom: 12px; }
.panel ul, .panel ol { padding-inline-start: 20px; color: var(--sub); font-size: 14px; display: grid; gap: 8px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { border: 1px solid #eee; padding: 26px 22px; text-align: center; transition: .2s; }
.contact-card:hover { border-color: var(--brand); }
.contact-card .ico { font-size: 28px; }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.svc-card { border: 1px solid #eee; padding: 26px 22px; transition: .2s; }
.svc-card:hover { border-color: var(--brand); box-shadow: 0 12px 28px rgba(0, 0, 0, .06); }
.svc-card .ico { font-size: 24px; }
.svc-card h3 { margin: 14px 0 8px; font-size: 16px; }
.svc-card p { color: var(--sub); font-size: 14px; line-height: 1.7; }
.empty { text-align: center; color: var(--muted); padding: 44px 0; }

/* 购物车抽屉 */
.drawer-mask { position: fixed; inset: 0; background: rgba(10, 20, 35, .45); opacity: 0; pointer-events: none; transition: .2s; z-index: 90; }
.drawer-mask.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; inset-inline-end: 0; width: min(430px, 100vw); height: 100%; background: #fff; z-index: 100; transform: translateX(105%); transition: .25s; display: flex; flex-direction: column; }
[dir="rtl"] .drawer { transform: translateX(-105%); }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer-body { padding: 16px 18px; overflow-y: auto; flex: 1; }
.icon-btn { border: none; background: none; font-size: 18px; }
.cart-item { display: flex; gap: 12px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.cart-item img { width: 64px; height: 64px; object-fit: cover; }
.cart-item .info { flex: 1; font-size: 14px; }
.cart-item .qty { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.cart-item .qty input { width: 90px; border: 1px solid var(--line); padding: 6px 8px; font-size: 13px; }
.cart-item .rm { border: none; background: none; color: #c0392b; font-size: 13px; }
.cart-total { font-size: 16px; font-weight: 700; padding: 14px 0; display: flex; justify-content: space-between; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; color: var(--sub); margin-bottom: 4px; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); padding: 10px 12px; font-size: 14px; font-family: inherit; }

/* 提示 */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 200; }
.toast.show { opacity: .95; }

/* 右侧快捷联系条 */
.rail {
  position: fixed; inset-inline-end: 0; bottom: 80px; z-index: 60;
  display: flex; flex-direction: column; gap: 6px; padding: 10px 8px; background: #fff;
  border: 1px solid #d9e8ea; border-inline-end: 0; border-radius: 18px 0 0 18px;
  box-shadow: 0 12px 30px rgba(4, 60, 66, .10);
}
.rail-btn {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 12px; background: #f3fafb; color: var(--brand); border: 1px solid #dcf0f2; transition: .15s;
}
.rail-btn svg { width: 23px; height: 23px; }
.rail-btn:hover, .rail-btn:focus-visible { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-2px); outline: none; }
.rail-sep { display: block; height: 1px; background: #e3eef0; margin: 3px 7px; }
.rail-tip {
  position: absolute; inset-inline-end: 54px; top: 50%; transform: translateY(-50%) translateX(6px);
  background: #04363b; color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap;
  padding: 9px 12px; opacity: 0; pointer-events: none; transition: .18s;
}
.rail-tip::after { content: ""; position: absolute; inset-inline-end: -5px; top: 50%; margin-top: -5px; border: 5px solid transparent; border-inline-start-color: #04363b; border-inline-end: 0; }
.rail-btn:hover .rail-tip, .rail-btn:focus-visible .rail-tip, .rail-btn.show .rail-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* 微信弹窗 */
.wx-mask { position: fixed; inset: 0; z-index: 90; background: rgba(10, 22, 38, .55); display: none; align-items: center; justify-content: center; padding: 20px; }
.wx-mask.open { display: flex; }
.wx-modal { position: relative; width: 100%; max-width: 380px; background: #fff; padding: 28px 24px 24px; text-align: center; box-shadow: 0 24px 60px rgba(6, 20, 40, .28); }
.wx-close { position: absolute; top: 12px; inset-inline-end: 12px; width: 32px; height: 32px; border: 0; background: #f1f4f8; color: var(--sub); font-size: 14px; }
.wx-logo { width: 56px; height: 56px; margin: 0 auto 12px; background: #07c160; color: #fff; display: grid; place-items: center; }
.wx-logo svg { width: 30px; height: 30px; }
.wx-modal h3 { font-size: 19px; margin-bottom: 6px; }
.wx-sub { color: var(--sub); font-size: 13px; line-height: 1.5; margin-bottom: 16px; }
.wx-id { font-size: 24px; font-weight: 700; letter-spacing: 1px; color: var(--brand); background: #f2f7fd; border: 1px dashed #b9d3ee; padding: 14px 10px; margin-bottom: 18px; user-select: all; }
.wx-actions { display: grid; gap: 10px; }
.wx-actions .btn { width: 100%; }
.wx-qr { display: block; width: 240px; max-width: 70%; margin: 6px auto 12px; border: 1px solid var(--line); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1280px) {
  .nav-it { padding: 0 .5vw; font-size: 15px; }
  .hdr-right { margin-inline-start: 20px; gap: 12px; }
}
@media (max-width: 1100px) {
  .nav-it { font-size: 14.5px; }
  .brand-logo { height: 21px; max-width: 52vw; object-fit: contain; }
}
@media (max-width: 1180px) {
  .sec-ttl { font-size: 30px; }
  .cat2 b { font-size: 24px; left: 26px; top: 22px; }
  .ftr-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 26px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .nav-it { padding: 0 .35vw; font-size: 13.5px; }
  .brand-logo { height: 21px; }
  .hdr-right { margin-inline-start: 20px; gap: 10px; }
}
@media (max-width: 980px) {
  :root { --hdr-h: 64px; --wrap: 92%; }
  .brand-logo { height: 19px; max-width: 36vw; object-fit: contain; }
  .menu-btn { display: inline-flex; width: 32px; height: 32px; }
  .nav {
    display: none; position: fixed; top: var(--hdr-h); left: 0; right: 0; height: auto;
    flex-direction: column; align-items: stretch; background: #fff; margin: 0;
    border-top: 1px solid #eee; box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
    max-height: calc(100vh - var(--hdr-h)); overflow-y: auto; z-index: 98;
  }
  .nav.open { display: flex; }
  .nav-it { line-height: 1.5; padding: 14px 5%; font-size: 15px; border-bottom: 1px solid #f2f2f2; }
  .nav-it::before { display: none; }
  .hdr-right { margin-inline-start: auto; gap: 6px; }
  #langSel { height: 32px; padding: 0 22px 0 8px; font-size: 11.5px; background-position: right 7px center; max-width: 86px; }
  .cart-btn { width: 32px; height: 32px; }
  .cart-btn svg { width: 19px; height: 19px; }
  .hero { height: 56vw; min-height: 240px; max-height: 460px; }
  .hero-arrow { width: 36px; height: 36px; margin-top: -18px; }
  .hero-arrow.prev { left: 12px; }
  .hero-arrow.next { right: 12px; }
  .sec { padding: 38px 0 42px; }
  .sec-ttl { font-size: 24px; }
  .cat2 { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .cat2 a { aspect-ratio: 16 / 9; }
  .cat2 b { font-size: 20px; left: 18px; top: 16px; }
  .cat2 em { left: 19px; bottom: 16px; font-size: 13px; }
  .about { padding: 34px 0 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; margin-top: 22px; }
  .about-pic img { aspect-ratio: 16 / 10; }
  .about-more { width: 66px; height: 40px; bottom: -12px; }
  .about-txt { margin-top: 38px; }
  .about-txt p { font-size: 14px; line-height: 1.95; }
  .news3 { grid-template-columns: 1fr; gap: 26px; margin-top: 22px; }
  .ftr { padding-top: 30px; }
  .ftr-in { flex-direction: column; gap: 26px; }
  .ftr-brand { flex: none; }
  .ftr-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .ftr-bot-in { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 0 14px; }
  .ftr-bot-in .bot-r { width: 100%; gap: 8px 14px; }
  .detail { grid-template-columns: 1fr; padding: 18px; }
  .news-list { grid-template-columns: 1fr; }
  .about-grid2, .contact-cards { grid-template-columns: 1fr; }
  .article { padding: 20px; }
  .article h1 { font-size: 21px; }
  .rail { bottom: 64px; padding: 8px 6px; gap: 5px; }
  .rail-btn { width: 40px; height: 40px; }
  .rail-btn svg { width: 21px; height: 21px; }
}
@media (max-width: 560px) {
  .sec-ttl { font-size: 21px; }
  .section h1, .section h2 { font-size: 22px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card .body { padding: 10px; }
  .card h3 { font-size: 13.5px; min-height: 0; }
  .card .row .btn { padding: 8px 6px; font-size: 12px; }
}
@media (max-width: 380px) {
  .brand-logo { height: 18px; max-width: 36vw; }
  #langSel { max-width: 96px; font-size: 11.5px; }
}
