/* 隐藏首页自带的页面标题("Start") */
.home .hero-section,
.page-id-5805 .hero-section { display: none; }

.tkh {
  --tk-ink: #0a1f45;
  --tk-deep: #123a7a;
  position: relative;
  padding: 84px 22px 92px;
  background:
    radial-gradient(1000px 460px at 50% -20%, #2a63bd 0%, rgba(42, 99, 189, 0) 60%),
    linear-gradient(178deg, #0b2450 0%, #143f80 55%, #0e2c5e 100%);
  color: #fff;
  overflow: hidden;
}
.tkh::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .6;
}
.tkh-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; text-align: center; }

.tkh-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; letter-spacing: .6px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #cfe0ff;
}
.tkh-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #3ddc84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .2);
}

.tkh-title {
  color: #fff !important;
  font-size: 46px; font-weight: 800; line-height: 1.12;
  margin: 0 0 14px; letter-spacing: -1.2px;
}
.tkh-sub { color: #b9cbea; margin: 0 0 34px; font-size: 17px; font-weight: 400; }

/* 搜索框 */
.tkh-form {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 16px;
  padding: 8px 8px 8px 20px; margin: 0 auto; max-width: 660px;
  box-shadow: 0 22px 55px rgba(3, 14, 36, .45), 0 2px 0 rgba(255, 255, 255, .06) inset;
  transition: box-shadow .2s;
}
.tkh-form:focus-within { box-shadow: 0 24px 60px rgba(3, 14, 36, .55), 0 0 0 3px rgba(96, 165, 250, .35); }
.tkh-icon { color: #93a0b8; display: flex; flex: 0 0 auto; }
.tkh-input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
  padding: 15px 8px; font-size: 16.5px; color: #10203c;
}
.tkh-input::placeholder { color: #9aa6ba; }
.tkh-btn {
  flex: 0 0 auto; border: 0; cursor: pointer;
  background: var(--tk-ink); color: #fff;
  font-size: 16px; font-weight: 700; letter-spacing: .2px;
  padding: 15px 30px; border-radius: 12px;
  transition: background .15s, transform .1s;
}
.tkh-btn:hover { background: #14306a; }
.tkh-btn:active { transform: scale(.98); }

/* 球队快捷 */
.tkh-teams {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-top: 30px;
}
.tkh-team {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); color: #eaf1ff;
  text-decoration: none; font-size: 14px; font-weight: 500;
  border: 1px solid rgba(255, 255, 255, .14);
  transition: background .15s, transform .15s, border-color .15s;
  backdrop-filter: blur(2px);
}
.tkh-team:hover {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .3);
  transform: translateY(-2px);
}
.tkh-team i { font-style: normal; opacity: .5; font-size: 11.5px; }
.tkh-team--all {
  background: #fff; color: var(--tk-ink); font-weight: 700; border-color: #fff;
}
.tkh-team--all:hover { background: #e8effc; }

/* AI 入口 */
.tkh-ai {
  margin-top: 34px; cursor: pointer;
  background: transparent; color: #d7e4fa;
  border: 1px dashed rgba(255, 255, 255, .38);
  padding: 12px 22px; border-radius: 999px; font-size: 14px;
  display: inline-flex; align-items: center; gap: 9px;
  transition: background .15s, border-color .15s;
}
.tkh-ai:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }
.tkh-ai-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3ddc84; display: inline-block;
  box-shadow: 0 0 0 3px rgba(61, 220, 132, .22);
}

@media (max-width: 620px) {
  .tkh { padding: 54px 16px 60px; }
  .tkh-title { font-size: 30px; letter-spacing: -.6px; }
  .tkh-sub { font-size: 15px; margin-bottom: 26px; }
  .tkh-form { flex-wrap: wrap; padding: 10px; gap: 8px; }
  .tkh-icon { display: none; }
  .tkh-input { padding: 10px 6px; flex: 1 1 100%; }
  .tkh-btn { flex: 1 1 100%; padding: 14px; }
}

/* GTranslate 浮动语言切换器(真实容器 id=#gt_float_wrapper):挪到右上角,避开左下 cookie 与右下按钮 */
#gt_float_wrapper {
  left: auto !important;
  right: 18px !important;
  bottom: auto !important;
  top: 68px !important;
  z-index: 999 !important;
}

/* 首页 hero 下方的全部商品网格 */
.tk-alljerseys {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}
.tk-alljerseys-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.4px;
  margin: 0 0 0;
  color: #10203c;
}
.tk-alljerseys::before {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  background: #0f2a5c;
  border-radius: 2px;
  margin: 14px 0 30px;
}
.tk-alljerseys ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}
.tk-alljerseys ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
}
@media (max-width: 980px) { .tk-alljerseys ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .tk-alljerseys { padding: 34px 14px 56px; }
  .tk-alljerseys ul.products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* 搜索结果页:问 AI 引导条 */
.tk-nf {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  background: #f4f7fd; border: 1px solid #dbe4f4;
  border-radius: 14px; padding: 18px 22px; margin: 8px 0 30px;
}
.tk-nf--empty {
  background: linear-gradient(180deg, #eef4ff 0%, #f6f9fe 100%);
  border-color: #cddcf6;
}
.tk-nf-text { display: flex; flex-direction: column; gap: 4px; }
.tk-nf-text strong { font-size: 16px; color: #10203c; font-weight: 700; }
.tk-nf-text span { font-size: 13.5px; color: #5b6b86; }
.tk-nf-btn {
  border: 0; cursor: pointer; background: #0f2a5c; color: #fff;
  padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto;
  transition: background .15s;
}
.tk-nf-btn:hover { background: #16407f; }
.tk-nf-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #3ddc84;
  display: inline-block; box-shadow: 0 0 0 3px rgba(61, 220, 132, .22);
}
@media (max-width: 620px) {
  .tk-nf { padding: 16px; }
  .tk-nf-btn { width: 100%; justify-content: center; }
}

/* 首页搜索框里的「传图」按钮 */
.tkh-cam {
  flex: 0 0 auto; width: 46px; border: 0; background: transparent;
  color: #5b6b86; cursor: pointer; border-radius: 11px;
  display: flex; align-items: center; justify-content: center; transition: .15s;
}
.tkh-cam:hover { background: #f1f4fa; color: var(--tk-ink); }
.tkh-camhint { margin-top: 12px; font-size: 13px; color: #9fb0cf; }
.tkh-camhint b { color: #dbe6fb; }

/* 传图找货结果区 */
.tkh-imgwrap { margin-top: 20px; }
.tkh-res {
  max-width: 640px; margin: 0 auto; text-align: left;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px; padding: 18px 20px; color: #eaf1ff;
}
.tkh-res-h { font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.tkh-res--err { color: #ffd7d7; }
.tkh-res--load { display: flex; align-items: center; }
.tkh-res-list { display: flex; flex-direction: column; gap: 8px; }
.tkh-res-item {
  display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px;
  padding: 8px 12px; border-radius: 9px; background: rgba(255, 255, 255, .06);
}
.tkh-res-item b { font-weight: 500; flex: 1; }
.tkh-res-thumb {
  width: 48px; height: 48px; object-fit: cover; border-radius: 8px;
  flex: 0 0 auto; background: rgba(255, 255, 255, .1);
}
.tkh-res-price { color: #3ddc84; flex: 0 0 auto; }
.tkh-res-item--btn {
  width: 100%; border: 1px solid rgba(255, 255, 255, .12);
  cursor: pointer; text-align: left; color: inherit; font: inherit;
  align-items: center; transition: .15s;
}
.tkh-res-item--btn:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }
.tkh-res-go { color: #9ec1ff; flex: 0 0 auto; font-size: 12.5px; }
.tkh-res-item--buy { border-color: rgba(61, 220, 132, .35); }
.tkh-res-item--buy .tkh-res-go { color: #3ddc84; font-weight: 700; }
.tkh-res-btn {
  margin-top: 14px; border: 0; cursor: pointer; background: #fff; color: var(--tk-ink);
  font-weight: 700; padding: 11px 20px; border-radius: 10px; font-size: 14px;
}
.tkh-link { background: none; border: 0; color: #9ec1ff; text-decoration: underline; cursor: pointer; }
.tkh-spin {
  display: inline-block; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff;
  animation: tkhspin .8s linear infinite; margin-right: 8px; vertical-align: -2px;
}
@keyframes tkhspin { to { transform: rotate(360deg); } }
