/* ===== PASSFIELD — theme ===== */
:root {
  --navy: #1b2a5b;
  --blue: #2f86d6;
  --orange: #f26b21;
  --green: #2f9e4f;
  --dark: #2a2a2a;
  --line: #e3e6ec;
  --muted: #6b7280;
  --sub: #eef3fa;
  --text: #333;
  --grey: #f6f7f9;
  --black: var(--navy);
  --red: var(--orange);
  --gold: #b08a3c;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Montserrat, system-ui, sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
}
body.noscroll {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
.wrap {
  width: min(1200px, 94%);
  margin: 0 auto;
}
.center {
  text-align: center;
}

/* 双语文案 */
.zh {
  display: none;
}
body.lang-zh .en {
  display: none;
}
body.lang-zh .zh {
  display: inline;
}

/* ---------- 页头 ---------- */
.hdr {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
  --hh: 100px;
}
.hdr-in {
  width: min(1240px, 96%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: var(--hh);
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  height: var(--hh);
  flex: 0 0 auto;
}
.logo img {
  height: 60px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.nav {
  display: flex;
  gap: 16px;
  height: var(--hh);
  flex: 1 1 auto;
  justify-content: center;
}
.nav-item {
  display: flex;
}
.nav-item > a {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.nav-item > a:hover,
.nav-item > a:focus-visible,
.nav-item > a.on {
  box-shadow: inset 0 -2px currentColor;
}
.menu-toggle,
.nav-toggle,
.search-toggle {
  display: none;
}
.search {
  flex: 0 1 340px;
  min-width: 0;
  margin-left: auto;
}
.search-panel {
  position: relative;
}
.search input {
  display: block;
  width: 100%;
  height: 40px;
  border: 1px solid #cfd4dd;
  background: #fff;
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  border-radius: 2px;
}
.search input::placeholder {
  color: #9aa1ad;
}
.search .sres {
  position: absolute;
  top: 44px;
  right: 0;
  width: min(340px, 96vw);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 60;
  max-height: 380px;
  overflow: auto;
}
.search .sres a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--text);
}
.search .sres img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}
.search .sres b {
  color: var(--navy);
}

/* ---------- 大菜单 ---------- */
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--hh);
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  display: none;
  z-index: 45;
}
.mega.show {
  display: block;
}
.mega .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 20px;
  padding: 16px 0 26px;
}
.mega h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}
.mega ul + h5 {
  margin-top: 14px;
}
.mega li {
  margin-bottom: 9px;
}
.mega li a {
  font-size: 12.5px;
  color: #4b5563;
}
.mega li a:hover {
  color: var(--blue);
}
.mega a.all {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- 购物袋抽屉 ---------- */
.bk-ov {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 199;
  display: none;
}
.bk-ov.show {
  display: block;
}
.basket {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(420px, 90vw);
  background: #fff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}
.basket.open {
  transform: none;
}
.bk-x {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: 0;
  font-size: 30px;
  line-height: 1;
  color: var(--navy);
}
.bk-body {
  flex: 1;
  overflow: auto;
  padding: 28px 24px;
}
.bk-empty {
  text-align: center;
  font-size: 12px;
  color: var(--navy);
  padding: 8px 40px 0;
}
.bk-list {
  margin-top: 30px;
}
.bk-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.bk-item img {
  width: 80px;
  height: 96px;
  object-fit: cover;
  background: var(--grey);
}
.bk-info {
  flex: 1;
  font-size: 12px;
}
.bk-info > a {
  font-weight: 600;
  color: var(--navy);
}
.bk-price {
  font-weight: 800;
  color: var(--navy);
  margin: 4px 0 8px;
}
.bk-qty {
  display: flex;
  align-items: center;
  gap: 6px;
}
.bk-qty button {
  width: 26px;
  height: 26px;
  border: 1px solid #cfd4dd;
  background: #fff;
  color: var(--navy);
}
.bk-qty span {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
}
.bk-qty .bk-rm {
  width: auto;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 11px;
  text-decoration: underline;
  margin-left: 8px;
}
.bk-sum {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 13px;
  color: var(--navy);
}
.bk-sum b {
  font-size: 18px;
}
.bk-go {
  display: block;
  text-align: center;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px;
}
.bk-go:hover {
  background: var(--blue);
}
.bk-foot {
  border-top: 1px solid var(--line);
  padding: 18px 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

/* ---------- 通用区块 ---------- */
.sec {
  padding: 40px 0;
}
.sec.grey {
  background: var(--grey);
}
.sec-title {
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 26px;
}
.grid5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 18px;
}

/* ---------- 产品卡 ---------- */
.pc {
  display: block;
  text-align: left;
  position: relative;
}
.pc .im {
  aspect-ratio: 3/4;
  background: #f2f2f2;
  overflow: hidden;
  margin-bottom: 10px;
  position: relative;
}
:is(.home-prod, .plp, .also) .pc .im::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(34%, 96px);
  aspect-ratio: 2613 / 1000;
  background: url("../images/brand/passfield-card-logo.jpg") right top / cover no-repeat;
  z-index: 1;
  pointer-events: none;
}
.pc .im img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pc-link {
  display: block;
}
.pc-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}
.pc-link .im > img {
  object-fit: cover;
}
.pc-link .im .b {
  opacity: 0;
  transition: opacity 0.35s ease;
}
@media (hover: hover) {
  .pc:not(.image-selected) .pc-link:hover .im .b {
    opacity: 1;
  }
}
.pc .tag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  color: #fff;
  z-index: 1;
}
.pc .tag.new {
  background: #4fb3e8;
}
.pc .tag.save {
  background: var(--navy);
}
.pc-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: -4px 0 4px;
}
.pc-dots button {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--muted);
  position: relative;
  z-index: 3;
}
.pc-dots button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.pc-dots button[aria-pressed="true"] {
  color: var(--navy);
}
.pc-dots button[aria-pressed="true"]::before {
  outline: 1px solid currentColor;
  outline-offset: 2px;
}
.pc .nm {
  font-size: 11px;
  color: #555;
  min-height: 32px;
  margin-bottom: 6px;
}
.pc .pr {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}
.pc .pr .was {
  font-size: 11px;
  color: #888;
  font-weight: 400;
  margin-left: 6px;
}
.pc .pr .was s {
  color: #999;
}

/* ---------- SEO 文字块 ---------- */
.seo {
  text-align: center;
  padding: 40px 0 60px;
}
.seo h2 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}
.seo p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 12px;
  color: #555;
  line-height: 1.7;
}
.seo p a {
  color: var(--blue);
}
body.lang-zh .seo p.zh {
  display: block;
}

/* ---------- 页脚 ---------- */
.ftr {
  border-top: 1px solid var(--line);
  padding: 40px 0 20px;
  font-size: 12px;
  background: var(--grey);
}
.ftr .cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.38fr);
  align-items: start;
  gap: clamp(28px, 4vw, 52px);
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 36px);
}
.footer-nav-title,
.ftr .nl h6 {
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-nav summary {
  display: block;
  min-height: 32px;
  padding: 6px 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.footer-nav summary::-webkit-details-marker {
  display: none;
}
.footer-nav details[open] > summary {
  font-weight: 700;
}
.footer-nav ul {
  margin: 0 0 8px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}
.footer-nav li a {
  display: block;
  padding: 4px 0;
  color: #555;
}
.footer-nav :is(a, summary):is(:hover, :focus-visible) {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ftr .nl h6 {
  margin-bottom: 12px;
}
.ftr .nl > p {
  color: #555;
  margin-bottom: 12px;
}
.ftr .nl-entry {
  display: flex;
}
.ftr .nl-entry input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 1px solid #cfd4dd;
  padding: 0 10px;
  font: inherit;
}
.ftr .nl-entry button {
  height: 40px;
  background: #2674be;
  color: #fff;
  border: 0;
  padding: 0 18px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.ftr .nl-entry button:hover {
  background: var(--navy);
}
.ftr .nl :is(input, button):focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.ftr .nl-consent {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  color: #555;
  cursor: pointer;
  font-size: 11px;
}
.ftr .nl-consent input {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  accent-color: var(--navy);
  cursor: pointer;
}
.ftr .nl-demo {
  margin-top: 8px;
  color: #5b6473;
  font-size: 11px;
}
.ftr .nl form[action] .nl-demo {
  display: none;
}
.ftr .nl-feedback:not(:empty) {
  margin-top: 8px;
  color: var(--navy);
  font-weight: 600;
}
.ftr .nl-entry input[aria-invalid="true"] {
  border-color: #a1282a;
}
.ftr .nl-feedback[data-state="error"] {
  color: #a1282a;
}
.ftr .nl-feedback[data-state="success"] {
  color: #23683a;
}
.ftr .copy {
  font-size: 10px;
  color: #888;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
/* ---------- 通用类 ---------- */
.cat-head {
  background: var(--sub);
  padding: 34px 0;
}
.cat-head h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.cat-head p {
  color: var(--muted);
  margin-top: 6px;
}
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 22px;
}
.sec-head h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sec-head p {
  color: var(--muted);
  margin-top: 4px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  border: 1px solid var(--line);
  padding: 24px;
  background: #fff;
}
.card .n {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 8px;
}
.card h4 {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 8px;
}
.card p {
  color: #555;
  font-size: 13px;
}
.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 28px;
  border: 0;
}
.btn:hover {
  background: var(--blue);
}
.btn.ghost {
  background: none;
  border: 1.5px solid var(--navy);
  color: var(--navy);
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid #cfd4dd;
  padding: 10px;
  font: inherit;
  font-size: 13px;
}
.form textarea {
  min-height: 120px;
}
.form .full {
  grid-column: span 2;
}

/* 公共菜单、表格与状态。hidden 用于原生可访问性状态和静态内容切换。 */
[hidden] {
  display: none !important;
}
.mega .wrap {
  display: block;
}
.mega-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 20px;
}
.table-scroll {
  overflow-x: auto;
}
.text-center {
  text-align: center;
}
.grid-empty {
  grid-column: 1 / -1;
}
.search-empty {
  padding: 12px;
  color: var(--muted);
}
@media (max-width: 1200px) {
  .hdr-in {
    gap: clamp(14px, 2vw, 24px);
  }
  .nav {
    gap: 8px;
  }
  .nav-item > a {
    padding: 0 10px;
    font-size: 13px;
  }
  .search {
    flex-basis: 290px;
  }
  .logo img {
    height: 50px;
  }
}
@media (max-width: 1000px) {
  .grid5 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .grid4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .ftr .cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ftr .nl {
    max-width: 420px;
  }
}
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
  .hdr {
    --hh: 64px;
    --header-nav-height: 42px;
    --header-gutter: clamp(12px, 4vw, 22px);
  }
  .hdr-in {
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-rows: var(--hh) auto;
    grid-template-areas: "logo menu search" "nav nav nav";
    gap: 0 8px;
    padding-inline: var(--header-gutter);
  }
  .logo {
    grid-area: logo;
    justify-self: start;
    height: 100%;
  }
  .logo img {
    height: 36px;
  }
  .nav {
    grid-area: nav;
    min-width: 0;
    height: var(--header-nav-height);
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    justify-content: flex-start;
    overflow-x: auto;
  }
  .menu-toggle:not([hidden])[aria-expanded="false"] + .nav {
    display: none;
  }
  .nav-item {
    flex: 1 0 auto;
    justify-content: center;
  }
  .nav-item > a {
    padding-inline: 4px;
    font-size: 12px;
    letter-spacing: 0.045em;
  }
  .nav-toggle {
    display: grid;
    flex: 0 0 26px;
    place-items: center;
    border: 0;
    background: transparent;
    color: #e0e7f4;
  }
  .nav-toggle::before {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"]::before {
    transform: translateY(2px) rotate(225deg);
  }
  .search {
    grid-area: search;
  }
  .menu-toggle,
  .search-toggle {
    position: relative;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 4px;
    background: transparent;
    color: #fff;
    -webkit-tap-highlight-color: transparent;
  }
  .menu-toggle {
    grid-area: menu;
  }
  .menu-toggle:is(:active, [aria-expanded="true"]),
  .search-toggle:is(:active, [aria-expanded="true"]) {
    background: rgba(255, 255, 255, 0.12);
  }
  .menu-icon {
    position: relative;
    width: 18px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
  }
  .menu-icon::before,
  .menu-icon::after {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: currentColor;
    content: "";
  }
  .menu-icon::before {
    transform: translateY(-6px);
  }
  .menu-icon::after {
    transform: translateY(6px);
  }
  .menu-toggle[aria-expanded="true"] .menu-icon {
    background: transparent;
  }
  .menu-toggle[aria-expanded="true"] .menu-icon::before {
    transform: rotate(-45deg);
  }
  .menu-toggle[aria-expanded="true"] .menu-icon::after {
    transform: rotate(45deg);
  }
  .search-toggle::before,
  .search-toggle::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
  }
  .search-toggle::before {
    width: 15px;
    height: 15px;
    border: 2px solid currentColor;
    border-radius: 50%;
    transform: translate(-2px, -2px);
  }
  .search-toggle::after {
    width: 8px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    transform: translate(6px, 6px) rotate(45deg);
  }
  .search-toggle[aria-expanded="true"]::before,
  .search-toggle[aria-expanded="true"]::after {
    width: 17px;
    height: 2px;
    border: 0;
    border-radius: 1px;
    background: currentColor;
  }
  .search-toggle[aria-expanded="true"]::before {
    transform: rotate(-45deg);
  }
  .search-toggle[aria-expanded="true"]::after {
    transform: rotate(45deg);
  }
  .menu-toggle:focus-visible,
  .search-toggle:focus-visible,
  .nav-toggle:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -3px;
  }
  .search-panel {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    z-index: 46;
    padding: 10px var(--header-gutter) 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    background: var(--navy);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  }
  .search-toggle[aria-expanded="true"] + .search-panel {
    display: block;
  }
  .search input {
    border-radius: 4px;
    font-size: 16px;
  }
  .search .sres {
    position: static;
    width: 100%;
    max-height: min(370px, 45vh);
    max-height: min(370px, 45dvh);
    margin-top: 8px;
    border-radius: 4px;
    overscroll-behavior: contain;
  }
  .mega {
    top: 100%;
    max-height: calc(100vh - var(--hh) - var(--header-nav-height));
    max-height: calc(100dvh - var(--hh) - var(--header-nav-height));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .mega .wrap {
    width: auto;
    margin-inline: var(--header-gutter);
    padding-bottom: 20px;
  }
  .mega-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .mega li {
    margin-bottom: 0;
  }
  .mega li a {
    display: block;
    padding: 6px 0;
  }
}
@media (max-width: 480px) {
  .hdr {
    --header-nav-height: 84px;
  }
  .nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .grid5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 24px;
  }
  .footer-nav summary {
    min-height: 36px;
  }
  .cards,
  .form {
    grid-template-columns: 1fr;
  }
  .form .full {
    grid-column: span 1;
  }
}
