/*
Theme Name: KeroRong Child
Theme URI: https://kerorong.com/
Description: Amayama-style auto parts storefront — Astra child theme. T1-T8 templates by KeroRong build.
Author: KeroRong
Template: astra
Version: 0.1.0
Text Domain: kerorong-child
*/

/* ============ Design tokens (Amayama-style: dense, utilitarian, blue) ============ */
:root {
  --kr-primary: #14417B;
  --kr-primary-dark: #0C2C55;
  --kr-accent: #D85A30;
  --kr-bg: #FFFFFF;
  --kr-bg-alt: #F4F6F8;
  --kr-border: #DDE3EA;
  --kr-text: #1C2530;
  --kr-text-muted: #5F6B7A;
}

body {
  color: var(--kr-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.kr-wrap {
  max-width: min(1560px, 100%);
  margin: 0 auto;
  padding: 0 16px;
}

.kr-section h2,
.kr-hero h1 {
  font-weight: 600;
}

/* ============ Global fixes (header overlap + footer credit) ============ */

/* Astra transparent header must not float over content */
body.ast-has-transparent-header .main-header-bar-wrap,
body.ast-has-transparent-header .main-header-bar {
  position: relative !important;
  background: #ffffff !important;
}

body.ast-has-transparent-header .site-header {
  position: relative !important;
  z-index: 5;
}

/* hide Astra default copyright (own credit line printed via wp_footer) */
.ast-footer-copyright {
  display: none !important;
}

/* ============ Amayama-style top line + nav (Astra header retired) ============ */

body:not(.wp-admin) .site-header {
  display: none !important;
}

.kr-topline {
  background: #fff;
  border-bottom: 1px solid var(--kr-border);
}

.kr-topline__in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.kr-topline__logo {
  font-weight: 700;
  font-size: 21px;
  color: var(--kr-primary-dark);
  text-decoration: none;
  margin-right: auto;
}

.kr-topline__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.kr-topline__login {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--kr-text);
  font-size: 13px;
  text-decoration: none;
}

.kr-topline__login b {
  color: var(--kr-primary);
  font-weight: 600;
}

.kr-topline__login:hover b {
  text-decoration: underline;
}

.kr-topline__cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--kr-primary);
  text-decoration: none;
}

.kr-topline__count {
  background: var(--kr-accent);
  color: #fff;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 6px;
  line-height: 1.5;
}

.kr-topline__total {
  color: var(--kr-text-muted);
  font-size: 13px;
}

.kr-topline__cur {
  color: var(--kr-text-muted);
  font-size: 12px;
  border-left: 1px solid var(--kr-border);
  padding-left: 14px;
}

.kr-nav {
  background: #fff;
  border-bottom: 1px solid var(--kr-border);
}

.kr-nav .kr-topline__in {
  padding-top: 0;
  padding-bottom: 0;
}

.kr-nav__menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.kr-nav__menu a {
  display: block;
  padding: 11px 0;
  font-size: 13.5px;
  color: var(--kr-text);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.kr-nav__menu a:hover {
  color: var(--kr-primary);
  border-bottom-color: var(--kr-primary);
}

@media (max-width: 720px) {
  .kr-topline__in {
    flex-wrap: wrap;
    gap: 10px;
  }

  .kr-nav__menu {
    gap: 16px;
  }
}

/* logo wordmark in topline */
.kr-topline__logo {
  display: flex;
  align-items: center;
  gap: 11px;
}

.kr-logo-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.kr-logo-word {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--kr-primary-dark);
}

.kr-logo-word__tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3.5px;
  color: var(--kr-accent);
  margin-top: 4px;
}

/* ============ Sticky header wrapper (topline + nav scroll with page) ============ */

.kr-headwrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: #fff;
  box-shadow: 0 1px 0 var(--kr-border);
}

/* no-JS fallback; inline script after header refines this to exact height */
body {
  padding-top: 100px;
}

.kr-topline__tag {
  color: var(--kr-text-muted);
  font-size: 12.5px;
  border-left: 1px solid var(--kr-border);
  padding-left: 14px;
  margin-left: 2px;
}

body.admin-bar .kr-headwrap {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .kr-headwrap {
    top: 46px;
  }
}

@media (max-width: 1000px) {
  .kr-topline__tag {
    display: none;
  }
}

.kr-mainPage {
  padding-top: 16px;
}

/* ============ Electro-style mobile header (burger + icons, dropdown panels) ============ */

.kr-burger,
.kr-search-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px;
  color: var(--kr-primary-dark);
  line-height: 0;
}

.kr-searchdrop {
  display: none;
  background: #fff;
  border-top: 1px solid var(--kr-border);
}

.kr-searchdrop.kr-open {
  display: block;
}

.kr-searchdrop .kr-searchForm {
  max-width: 100%;
  margin: 12px 0;
}

.kr-searchdrop .kr-searchForm__field {
  padding: 12px 14px;
  font-size: 15px;
}

.kr-searchdrop .kr-searchForm .kr-btn--primary {
  padding: 12px 24px;
  font-size: 14px;
}

@media (max-width: 720px) {
  /* compact single bar: burger | logo | search/account/cart icons */
  .kr-burger,
  .kr-search-toggle {
    display: inline-flex;
  }

  .kr-topline__in {
    flex-wrap: nowrap;
    padding: 8px 12px;
    gap: 10px;
  }

  .kr-topline__logo {
    margin-right: auto;
    padding: 0;
  }

  .kr-topline__right {
    width: auto;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    padding: 0;
  }

  .kr-topline__login {
    padding: 4px;
  }

  .kr-topline__login-text {
    display: none;
  }

  .kr-topline__cart {
    margin-left: 0;
    padding: 4px;
  }

  /* nav becomes a dropdown panel behind the burger */
  .kr-nav {
    display: none;
    border-top: 1px solid var(--kr-border);
  }

  .kr-nav.kr-open {
    display: block;
  }

  .kr-nav__menu {
    flex-direction: column;
    gap: 0;
  }

  .kr-nav__menu a {
    padding: 12px 0;
    border-bottom: 0;
    font-size: 14px;
  }
}

@media (max-width: 720px) {
  /* right icon order per user: account, cart, search */
  .kr-topline__right {
    gap: 16px;
  }

  .kr-topline__login {
    order: 1;
  }

  .kr-topline__cart {
    order: 2;
  }

  .kr-search-toggle {
    order: 3;
  }
}

/* ============ Mobile nav drawer: two department columns ============ */

/* Column blocks only ever appear inside the drawer; the desktop nav stays a
   single row of links. */
.kr-nav-brand-col,
.kr-nav-cat-col {
  display: none;
}

.kr-nav-col__title {
  margin: 0 0 2px;
  padding-bottom: 9px;
  border-bottom: 1px solid #edf0f4;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9aa4b2;
}

.kr-nav-cats {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kr-nav-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #f4f6f9;
  color: var(--kr-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.kr-nav-cats li:last-child a {
  border-bottom: 0;
}

.kr-nav-cats a:active,
.kr-nav-cats a:hover {
  color: var(--kr-accent);
}

.kr-nav-cats__t {
  min-width: 0;
}

.kr-nav-cats__chev {
  flex: 0 0 auto;
  margin-left: auto;
  color: #c3cad4;
  transition: transform 0.15s ease, color 0.15s ease;
}

.kr-nav-cats a:active .kr-nav-cats__chev {
  color: var(--kr-accent);
  transform: translateX(2px);
}

/* "All brands →" / "All categories →" escape hatch at the foot of a column. */
/* The <li> is the flex item, so the auto margin has to live there. */
.kr-nav-cats .kr-nav-cats__more {
  margin-top: auto;
}

.kr-nav-cats__more a {
  justify-content: flex-start;
  gap: 6px;
  padding-top: 13px;
  border-bottom: 0;
  color: var(--kr-primary);
  font-size: 12.5px;
  font-weight: 700;
}

.kr-nav-cats__more .kr-nav-cats__go {
  transition: transform 0.15s ease;
}

.kr-nav-cats__more a:active .kr-nav-cats__go {
  transform: translateX(3px);
}

@media (max-width: 720px) {
  /* Departments only — the page links (Home / About Us / My Account) are
     already one tap away in the header and footer. */
  .kr-nav-menu-col {
    display: none;
  }

  .kr-nav.kr-open {
    width: 100%;
    min-height: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    border-right: 0;
    border-bottom: 1px solid var(--kr-border);
    box-shadow: 0 22px 34px -24px rgba(16, 24, 40, 0.45);
  }

  .kr-nav .kr-nav-in {
    display: block;
    padding: 16px 16px 18px;
  }

  .kr-nav-cols {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
    column-gap: 16px;
    align-items: stretch;
  }

  /* Both "All …" links sit on one baseline at the foot of the drawer. */
  .kr-nav-cats {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
  }

  .kr-nav-brand-col,
  .kr-nav-cat-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .kr-nav-cat-col {
    padding-left: 16px;
    border-left: 1px solid #edf0f4;
  }

  .kr-nav-cats a {
    padding: 9px 0;
  }
}

@media (max-width: 359px) {
  .kr-nav-cats a {
    font-size: 13px;
  }

  .kr-nav-cats__chev {
    width: 12px;
    height: 12px;
  }
}

/* ============ Nav drawer: second level (slide-in pane) ============ */

/* Only built for the mobile drawer; desktop keeps the flat one-row nav. */
.kr-nav-drawer {
  display: none;
}

.kr-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 10px;
  padding: 2px 0;
  border: 0;
  background: none;
  color: #6b7683;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.kr-nav-back:active {
  color: var(--kr-accent);
}

.kr-nav-subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid #edf0f4;
}

.kr-nav-subhead__title {
  margin: 0;
  color: var(--kr-text);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.kr-nav-subhead__all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  color: var(--kr-primary);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.kr-nav-subhead__all:active {
  color: var(--kr-accent);
}

.kr-nav-sub {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: min(54vh, 440px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* Long lists (Toyota has 28 models) fade at the cut edge instead of being
   chopped off, so it reads as "keep scrolling" rather than "that's all". */
.kr-nav-sub.is-scroll {
  padding-bottom: 20px;
  /* White, not black: Chrome's -webkit-mask defaults to luminance, and a black
     stop would hide the whole list instead of fading its edge. */
  -webkit-mask-image: linear-gradient(to bottom, #fff calc(100% - 38px), transparent);
  mask-image: linear-gradient(to bottom, #fff calc(100% - 38px), transparent);
}

.kr-nav-sub a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f4f6f9;
  color: var(--kr-text);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.kr-nav-sub li:last-child a {
  border-bottom: 0;
}

.kr-nav-sub a:active {
  color: var(--kr-accent);
}

@media (max-width: 720px) {
  .kr-nav-drawer {
    position: relative;
    display: block;
    overflow: hidden;
    transition: height 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  }

  .kr-nav-drawer__pane {
    transition: transform 0.34s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.24s ease, visibility 0.34s;
  }

  /* Sits on top of the first level and slides in from the right. */
  .kr-nav-drawer__pane--sub {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(24%);
    pointer-events: none;
  }

  .kr-nav-drawer.is-sub .kr-nav-drawer__pane--main {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-14%);
    pointer-events: none;
  }

  .kr-nav-drawer.is-sub .kr-nav-drawer__pane--sub {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kr-nav-drawer,
  .kr-nav-drawer__pane {
    transition: none;
  }
}

/* Trust strip links inherit the strip's own colour until hovered. */
.kr-trust a {
  color: inherit;
  text-decoration: none;
}

.kr-trust a:hover,
.kr-trust a:focus {
  text-decoration: underline;
}
/* ============ Footer (light, storefront-style) ============ */
.site-footer {
  background: #fff !important;
  background-color: #fff !important;
  border-top: 1px solid #e5e7eb;
  padding: 0;
  margin-bottom: 0 !important;
}

.site-footer .site-below-footer-wrap,
.site-footer [data-section="section-below-footer-builder"],
.site-footer .ast-builder-grid-row-container-inner,
.site-footer .ast-builder-footer-grid-columns,
.site-footer .site-footer-below-section-1 {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  min-height: 0 !important;
  line-height: 0;
}

/* ---------- Minimal footer ---------- */
.kr-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 24px 0;
  color: #5f6b7a;
}

/* Top row: brand + support email */
.kr-footer__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
}

.kr-footer__brand {
  color: #16181d;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2.5px;
  line-height: 1;
}

.kr-footer__brand span {
  display: block;
  margin-top: 6px;
  color: #fc7978;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 4.5px;
}

.kr-footer__mail {
  color: #5f6b7a;
  font-size: 14px;
  text-decoration: none;
}

.kr-footer__mail:hover,
.kr-footer__mail:focus {
  color: #e0552f;
}

.kr-footer__tag {
  margin: 14px 0 36px;
  font-size: 13px;
  line-height: 1.6;
  max-width: 520px;
}

/* Link columns */
.kr-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.kr-footer__col h4 {
  margin: 0 0 14px;
  color: #9aa3ad;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kr-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kr-footer__col li {
  margin: 0 0 10px;
}

.kr-footer__col a {
  color: #5f6b7a;
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.kr-footer__col a:hover,
.kr-footer__col a:focus {
  color: #e0552f;
}

/* Quiet trust strip */
.kr-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid #eef0f3;
  font-size: 12.5px;
}

.kr-footer__meta span::before {
  content: "\2713";
  margin-right: 7px;
  color: #3fae5a;
  font-weight: 700;
}

/* Compact payment badges */
.kr-footer__pay {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.kr-pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  min-width: 44px;
  padding: 0 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.kr-pay--visa { color: #1a1f71; font-style: italic; font-size: 11px; }
.kr-pay--mc i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.kr-pay--mc i:first-child { background: #eb001b; }
.kr-pay--mc i:last-child { background: #f79e1b; margin-left: -5px; mix-blend-mode: multiply; }
.kr-pay--amex { background: #2e77bc; border-color: #2e77bc; color: #fff; }
.kr-pay--disc { color: #f76b1c; }
.kr-pay--pp { color: #003087; font-style: italic; }
.kr-pay--pp i { color: #009cde; }
.kr-pay--apay { color: #000; }
.kr-pay--gpay { color: #5f6368; font-weight: 600; }
.kr-pay--gpay b { color: #4285f4; font-weight: 800; }

/* Bottom bar */
.kr-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 24px;
  padding: 16px 0 20px;
  border-top: 1px solid #e5e7eb;
}

.kr-footer__copy {
  font-size: 12.5px;
  color: #9aa3ad;
}

.kr-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.kr-footer__legal a {
  color: #5f6b7a;
  font-size: 12.5px;
  text-decoration: none;
}

.kr-footer__legal a:hover,
.kr-footer__legal a:focus {
  color: #e0552f;
}

@media (max-width: 900px) {
  /* Kill Astra's stacked top padding on product/inner pages */
  .ast-separate-container #primary {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .ast-separate-container .ast-woocommerce-container {
    padding-top: 12px !important;
  }

  .kr-footer {
    padding-top: 32px;
  }
  .kr-footer__grid {
    gap: 28px;
  }
  .kr-footer__meta {
    margin-top: 32px;
    padding-top: 18px;
  }
  .kr-footer__bottom {
    margin-top: 20px;
  }
}

@media (max-width: 560px) {
  .kr-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px 18px;
  }
  .kr-footer__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .kr-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Variable product: highlight the options form when the sticky bar is tapped */
@keyframes kr-flash-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(251, 119, 1, .55); }
	50% { box-shadow: 0 0 0 7px rgba(251, 119, 1, 0); }
}
.kr-flash {
	animation: kr-flash-pulse .8s ease-in-out 2;
	border-radius: 8px;
}

/* ===== 2026-11-11 页首一行三段式：logo / 导航 / 工具 ===== */
@media (min-width: 861px) {
  .kr-topline__in {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 8px 16px;
  }
  .kr-topline__logo {
    margin-right: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 11px;
    row-gap: 1px;
    align-items: center;
  }
  .kr-topline__logo .kr-logo-img {
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
  }
  .kr-logo-word {
    grid-column: 2;
    grid-row: 1;
    font-size: 19px;
  }
  .kr-topline__tag {
    grid-column: 2;
    grid-row: 2;
    display: block;
    font-size: 9px;
    letter-spacing: 0.3px;
    color: var(--kr-text-muted);
    margin: 0;
  }
  .kr-topline__nav {
    display: flex;
    justify-content: center;
    min-width: 0;
  }
  .kr-topline__navmenu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
  }
  .kr-topline__navmenu a {
    display: block;
    font-size: 13px;
    color: var(--kr-text);
    text-decoration: none;
    white-space: nowrap;
    padding: 6px 0;
  }
  .kr-topline__navmenu a:hover {
    color: var(--kr-primary);
  }
  .kr-topline__right { gap: 14px; }
  .kr-topline__login,
  .kr-topline__cart,
  .kr-topline__cur { white-space: nowrap; }
  .kr-mobile-only { display: none !important; }
}

/* 2026-11-11 修正：logo 区第二行改为副标题，去掉重复的 AUTO PARTS */
@media (min-width: 861px) {
  .kr-topline__logo { row-gap: 3px; }
  .kr-topline__logo .kr-logo-word__tag { display: none; }
  .kr-topline__tag {
    margin: 0;
    font-size: 9.5px;
    line-height: 1;
  }
}

/* 2026-11-11 移动端：桌面内联导航不参与小屏布局 */
@media (max-width: 860px) {
  .kr-topline__nav { display: none !important; }
}


/* 2026-11-11 桌面 logo 字标去掉默认边距，副标题紧贴品牌名 */
@media (min-width: 861px) {
  .kr-topline__logo .kr-logo-word {
    margin: 0;
    line-height: 1;
  }
  .kr-topline__logo .kr-topline__tag {
    margin-top: 3px;
  }
}

/* 2026-11-11 桌面 logo 区：行高按内容排，避免副标题下沉 */
@media (min-width: 861px) {
  .kr-topline__logo {
    align-content: center;
    row-gap: 1px;
  }
  .kr-topline__logo .kr-logo-img {
    width: 38px;
    height: 38px;
    align-self: center;
  }
  .kr-topline__logo .kr-logo-word { align-self: end; }
  .kr-topline__logo .kr-topline__tag { align-self: start; margin-top: 2px; }
}

/* 2026-11-11 页首常驻搜索框（独立于首页 hero 搜索） */
@media (min-width: 861px) {
  .kr-topsearch {
    display: flex;
    align-items: center;
    width: 176px;
    height: 32px;
    border: 1.5px solid #14171a;
    border-radius: 2px;
    background: #fff;
    overflow: hidden;
    flex: 0 0 auto;
  }
  .kr-topsearch__field {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: none;
    background: transparent;
    padding: 0 9px;
    font-size: 12px;
    color: #222;
    box-shadow: none;
  }
  .kr-topsearch__field::placeholder { color: #9aa0a6; }
  .kr-topsearch__field:focus { outline: none; box-shadow: none; }
  .kr-topsearch__btn {
    flex: 0 0 auto;
    height: 100%;
    border: 0;
    background: transparent;
    padding: 0 7px;
    display: flex;
    align-items: center;
    color: #14171a;
    cursor: pointer;
  }
  .kr-topsearch__btn:hover { color: var(--kr-primary); }
  .kr-topline__navmenu { gap: 22px; }
  .kr-topline__right { gap: 12px; }
}
@media (max-width: 860px) {
  .kr-topsearch { display: none !important; }
}

/* 2026-11-11 中等宽度：隐藏常驻搜索框，避免导航挤压重叠 */
@media (min-width: 861px) and (max-width: 1199px) {
  .kr-topsearch { display: none !important; }
  .kr-topline__navmenu { gap: 16px; }
  .kr-topline__in { gap: 16px; }
  .kr-topline__login-text { font-size: 12px; }
}

/* 2026-11-11 中窄屏进一步压缩：登录文字收起，导航字号下调 */
@media (min-width: 861px) and (max-width: 1199px) {
  .kr-topline__navmenu { gap: 13px; }
  .kr-topline__navmenu a { font-size: 12px; }
  .kr-topline__login-text { display: none; }
  .kr-topline__right { gap: 9px; }
  .kr-logo-word { font-size: 17px; }
  .kr-topline__logo .kr-logo-img { width: 34px; height: 34px; }
}

/* 2026-11-11 隐藏页首主导航（内链已由 footer 承接），搜索框加宽 */
@media (min-width: 861px) {
  .kr-topline__nav { display: none !important; }
  .kr-topsearch { width: 264px; }
  .kr-topline__in { gap: 20px; }
}

/* 2026-11-11 导航隐藏后：两列布局，工具组靠右 */
@media (min-width: 861px) {
  .kr-topline__in { grid-template-columns: 1fr auto; }
  .kr-topline__right { justify-self: end; }
}

@media (min-width: 1200px) {
  .kr-topline__right { gap: 18px; }
}

@media (min-width: 861px) {
  .kr-topsearch { display: flex !important; width: 220px; }
  .kr-topsearch__field { padding: 0 8px; }
}
@media (min-width: 1200px) {
  .kr-topsearch { width: 264px; }
}

/* 2026-11-11 修复：第二行品牌/分类导航误继承了 topline 的 grid */
@media (min-width: 861px) {
  .kr-nav .kr-topline__in,
  .kr-nav-in {
    display: flex !important;
    align-items: center;
    gap: 24px;
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* ===== 2026-11-11 页脚降高：品牌区与链接列并排 ===== */
@media (min-width: 861px) {
  .kr-footer {
    display: grid;
    grid-template-columns: 320px 1fr;
    column-gap: 56px;
    row-gap: 0;
    align-items: start;
    padding: 34px 24px 0;
  }
  .kr-footer__head {
    display: block;
    grid-column: 1;
    grid-row: 1;
  }
  .kr-footer__brand { font-size: 18px; letter-spacing: 2px; }
  .kr-footer__brand span { margin-top: 4px; letter-spacing: 3.5px; }
  .kr-footer__logo { width: 56px; height: 56px; }
  .kr-footer__mail { display: inline-block; margin-top: 10px; font-size: 13px; }
  .kr-footer__tag {
    grid-column: 1;
    grid-row: 2;
    margin: 12px 0 0;
    max-width: 300px;
    font-size: 12.5px;
    line-height: 1.55;
  }
  .kr-footer__grid {
    grid-column: 2;
    grid-row: 1 / span 2;
    gap: 28px;
  }
  .kr-footer__col h4 { margin: 0 0 10px; }
  .kr-footer__col li { margin: 0 0 7px; }
  .kr-footer__col a { font-size: 13px; }
  .kr-footer__meta {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 26px;
    padding-top: 16px;
    font-size: 12px;
  }
  .kr-footer__pay {
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: 12px;
  }
  .kr-footer__bottom {
    grid-column: 1 / -1;
    grid-row: 5;
    margin-top: 16px;
    padding: 14px 0;
  }
}

/* ===== 2026-11-11 页脚改 flex 两栏，底部整行 ===== */
@media (min-width: 861px) {
  .kr-footer {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-start;
    column-gap: 56px;
    row-gap: 0;
    padding: 32px 24px 0;
  }
  .kr-footer__left {
    flex: 0 0 320px;
    max-width: 320px;
  }
  .kr-footer__head {
    display: block;
  }
  .kr-footer__tag {
    margin: 12px 0 0;
    max-width: 300px;
    font-size: 12.5px;
    line-height: 1.55;
  }
  .kr-footer__grid {
    flex: 1 1 0;
    min-width: 0;
    gap: 28px;
  }
  .kr-footer__meta {
    flex: 0 0 100%;
    margin-top: 24px;
    padding-top: 14px;
    font-size: 12px;
  }
  .kr-footer__pay {
    flex: 0 0 100%;
    margin-top: 10px;
  }
  .kr-footer__bottom {
    flex: 0 0 100%;
    margin-top: 14px;
    padding: 12px 0;
  }
}

/* ===== 2026-11-11 页脚品牌区：logo 与字标垂直居中成组 ===== */
.kr-footer__brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.kr-footer__brand .kr-footer__wordmark {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  color: inherit;
}
.kr-footer__brand .kr-footer__name {
  display: block;
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1;
  color: #16181d;
}
.kr-footer__brand .kr-footer__sub {
  display: block;
  margin: 4px 0 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3.5px;
  line-height: 1;
  color: #fc7978;
}

/* 2026-11-11 统一副标题：全大写后的字距收敛 */
@media (min-width: 861px) {
  .kr-topline__logo .kr-topline__tag {
    letter-spacing: 0.9px;
    font-size: 9px;
  }
}
.kr-footer__brand .kr-footer__sub {
  letter-spacing: 1.4px;
  font-size: 8.5px;
}

/* 2026-11-11 清掉 logo 区多余分隔线与屏幕阅读器文本的可见残留 */
@media (min-width: 861px) {
  .kr-topline__logo .kr-logo-word,
  .kr-topline__logo .kr-logo-word__tag,
  .kr-topline__logo .kr-topline__tag {
    border: 0 !important;
    box-shadow: none !important;
  }
  .kr-topline__logo .kr-logo-word::before,
  .kr-topline__logo .kr-logo-word::after,
  .kr-topline__logo .kr-topline__tag::before,
  .kr-topline__logo .kr-topline__tag::after {
    content: none !important;
    display: none !important;
  }
  .kr-topline__logo .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
}

/* 2026-11-11 短版字标：字距放大更挺拔 */
@media (min-width: 861px) {
  .kr-topline__logo .kr-topline__tag { letter-spacing: 2.6px; font-size: 9px; }
}
.kr-footer__brand .kr-footer__sub { letter-spacing: 2.8px; font-size: 8.5px; }

/* ===== 2026-11-11 页首 logo 以页脚为准：徽章 + 竖排字标 ===== */
.kr-logo-word__name {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1;
  color: var(--kr-primary-dark);
}
.kr-logo-word__sub {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3.5px;
  line-height: 1;
  margin-top: 4px;
  color: var(--kr-accent);
}

@media (min-width: 861px) {
  .kr-topline__logo {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 11px !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    row-gap: 0 !important;
    margin-right: 0;
  }
  .kr-topline__logo .kr-logo-img {
    width: 56px !important;
    height: 56px !important;
    grid-row: auto !important;
    align-self: center !important;
    flex: 0 0 auto;
  }
  .kr-topline__logo .kr-logo-word {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    grid-column: auto !important;
    grid-row: auto !important;
    align-self: center !important;
    margin: 0;
    font-size: inherit;
    letter-spacing: normal;
    color: inherit;
  }
  .kr-topline__logo .kr-logo-word__name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1;
    color: #16181d;
  }
  .kr-topline__logo .kr-logo-word__sub {
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 2.8px;
    line-height: 1;
    margin-top: 4px;
    color: #fc7978;
  }
}

/* ===== 2026-11-11 小屏：logo 组按原比例收紧，保持单行不溢出 ===== */
@media (max-width: 860px) {
  .kr-topline__logo .kr-logo-img {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
  }
  .kr-topline__logo { gap: 8px; }
  .kr-logo-word__name {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.4px;
  }
  .kr-logo-word__sub {
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 2.2px;
    margin-top: 2px;
  }
}

/* 2026-11-11 小屏工具区只留图标，避免价格货币把购物车挤出视口 */
@media (max-width: 860px) {
  .kr-topline__total,
  .kr-topline__cur,
  .kr-topline__login-text { display: none !important; }
  .kr-topline__right { gap: 12px; }
}

/* 2026-11-11 小屏再收 4px，确保购物车不出界 */
@media (max-width: 860px) {
  .kr-topline__in { padding-left: 10px; padding-right: 10px; gap: 8px; }
  .kr-topline__logo .kr-logo-img { width: 38px; height: 38px; }
  .kr-topline__logo { gap: 7px; }
  .kr-logo-word__name { font-size: 14px; letter-spacing: 0.3px; }
  .kr-logo-word__sub { font-size: 6.5px; letter-spacing: 1.9px; }
  .kr-topline__right { gap: 10px; }
}

/* 2026-11-11 小屏最后 8px：字标微收，购物车回到视口内 */
@media (max-width: 860px) {
  .kr-logo-word__name { font-size: 13px; letter-spacing: 0.2px; }
  .kr-topline__right { gap: 8px; }
  .kr-topline__logo { gap: 6px; }
}

/* ===== 2026-11-11 页首页脚 logo 组严格同构：徽章 + 竖排字标，垂直居中 ===== */
@media (min-width: 861px) {
  .kr-topline__logo .kr-logo-word,
  .kr-footer__brand .kr-footer__wordmark {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    letter-spacing: normal !important;
    line-height: 1 !important;
    text-align: left;
  }
  .kr-topline__logo .kr-logo-word__name,
  .kr-footer__brand .kr-footer__name {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    line-height: 1 !important;
    color: #16181d !important;
  }
  .kr-topline__logo .kr-logo-word__sub,
  .kr-footer__brand .kr-footer__sub {
    display: block;
    margin: 4px 0 0 !important;
    padding: 0 !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    letter-spacing: 2.8px !important;
    line-height: 1 !important;
    color: #fc7978 !important;
  }
  .kr-topline__logo .kr-logo-img,
  .kr-footer__brand .kr-footer__logo {
    width: 54px !important;
    height: 54px !important;
    flex: 0 0 auto;
    align-self: center !important;
  }
  .kr-topline__logo,
  .kr-footer__brand {
    align-items: center !important;
    gap: 11px !important;
  }
}

/* 2026-11-11 小屏：左侧 logo 组可收缩，右侧工具固定不被挤出 */
@media (max-width: 860px) {
  .kr-topline__in { overflow: hidden; }
  .kr-topline__logo {
    flex: 0 1 auto;
    min-width: 0;
    margin-right: 0 !important;
  }
  .kr-topline__logo .kr-logo-word {
    min-width: 0;
    overflow: hidden;
  }
  .kr-topline__logo .kr-logo-word__name,
  .kr-topline__logo .kr-logo-word__sub {
    white-space: nowrap;
    overflow: hidden;
  }
  .kr-topline__right {
    flex: 0 0 auto;
    margin-left: auto;
  }
}

/* 2026-11-11 小屏：页首锚定视口宽度，避免被页面横向溢出撑宽 */
@media (max-width: 860px) {
  html, body { overflow-x: hidden; }
  .kr-headwrap {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: auto !important;
  }
  .kr-topline__in {
    max-width: 100vw !important;
    box-sizing: border-box;
    width: 100% !important;
  }
}

/* 2026-11-11 小屏：右侧工具绝对定位贴右，彻底避免被挤出去 */
@media (max-width: 860px) {
  .kr-topline__in { position: relative; }
  .kr-topline__right {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%);
    margin: 0 !important;
    width: auto !important;
  }
  .kr-topline__logo { padding-right: 84px; box-sizing: border-box; }
}

/* ===== 2026-11-11 小屏修正：logo 组不参与拉伸，右侧工具回归正常流 ===== */
@media (max-width: 860px) {
  .kr-topline__in {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box;
    overflow: hidden;
  }
  .kr-topline__logo {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
  }
  .kr-topline__logo .kr-logo-img {
    width: 38px !important;
    height: 38px !important;
  }
  .kr-logo-word__name { font-size: 13px !important; letter-spacing: 0.2px !important; }
  .kr-logo-word__sub { font-size: 6.5px !important; letter-spacing: 1.9px !important; margin-top: 2px !important; }
  .kr-topline__right {
    position: static !important;
    transform: none !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin-left: auto !important;
    gap: 8px !important;
  }
}

/* ===== 2026-11-11 收尾：撤销调试期引入的过激约束，恢复自然布局 ===== */
@media (max-width: 860px) {
  html, body { overflow-x: visible; }
  .kr-headwrap {
    width: 100% !important;
    max-width: none !important;
    left: 0 !important;
    right: 0 !important;
  }
  .kr-topline__in { overflow: visible; max-width: none !important; }
}

/* ===== 2026-11-11 移动端页脚：降高 + 排版整齐 ===== */
@media (max-width: 860px) {
  .kr-footer { padding: 26px 18px 0; }
  .kr-footer__head { margin: 0 0 16px; }
  .kr-footer__brand { font-size: 17px; letter-spacing: 1.6px; }
  .kr-footer__brand .kr-footer__logo { width: 44px !important; height: 44px !important; }
  .kr-footer__brand .kr-footer__name { font-size: 16px !important; letter-spacing: 1.6px !important; }
  .kr-footer__brand .kr-footer__sub {
    font-size: 7.5px !important;
    letter-spacing: 2.2px !important;
    margin-top: 3px !important;
  }
  .kr-footer__mail { font-size: 12.5px; margin-top: 10px; }
  .kr-footer__grid { gap: 22px 16px; }
  .kr-footer__col h4 { margin: 0 0 9px; font-size: 10px; }
  .kr-footer__col li { margin: 0 0 6px; }
  .kr-footer__col a { font-size: 12.5px; line-height: 1.35; }
  .kr-footer__meta {
    margin-top: 22px;
    padding-top: 14px;
    gap: 6px 16px;
    font-size: 11.5px;
  }
  .kr-footer__pay { margin-top: 12px; gap: 6px; }
  .kr-pay { height: 22px; min-width: 40px; padding: 0 6px; font-size: 9px; }
  .kr-footer__bottom { margin-top: 14px; padding: 12px 0 14px; gap: 6px 14px; }
  .kr-footer__copy { font-size: 11.5px; }
  .kr-footer__legal { gap: 4px 14px; }
  .kr-footer__legal a { font-size: 11.5px; }
}

/* 窄屏：LEGAL 组横跨两列并在内部排两列，消除右侧大片空白 */
@media (max-width: 560px) {
  .kr-footer__grid { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .kr-footer__col:last-child { grid-column: 1 / -1; }
  .kr-footer__col:last-child ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 14px;
  }
  .kr-footer__col:last-child li { margin: 0; }
}

/* 2026-11-11 移动端页脚：行距强制收紧（Astra 的 li 样式特异性更高） */
@media (max-width: 860px) {
  .kr-footer .kr-footer__col ul { margin: 0 !important; padding: 0 !important; }
  .kr-footer .kr-footer__col li {
    margin: 0 0 5px !important;
    padding: 0 !important;
    line-height: 1.3 !important;
  }
  .kr-footer .kr-footer__col a {
    font-size: 12.5px !important;
    line-height: 1.3 !important;
    display: inline-block;
    padding: 1px 0;
  }
  .kr-footer .kr-footer__col h4 { margin: 0 0 8px !important; }
  .kr-footer .kr-footer__grid { gap: 18px 14px !important; }
  .kr-footer .kr-footer__mail { margin-top: 9px !important; }
}

/* ===== 2026-11-11 移动端页脚精修：列宽贴合内容、分组有节奏 ===== */
@media (max-width: 560px) {
  .kr-footer { padding: 22px 16px 0; }

  /* 品牌 + 邮箱 */
  .kr-footer__head { margin: 0 0 18px; }
  .kr-footer__brand .kr-footer__logo { width: 40px !important; height: 40px !important; }
  .kr-footer__brand .kr-footer__name { font-size: 15px !important; letter-spacing: 1.6px !important; }
  .kr-footer__brand .kr-footer__sub { font-size: 7px !important; letter-spacing: 2.1px !important; }
  .kr-footer__mail {
    font-size: 12px !important;
    padding: 5px 12px !important;
    margin-top: 10px !important;
  }

  /* 两组并排但列宽贴合文字，不再 50/50 拉开 */
  .kr-footer .kr-footer__grid {
    grid-template-columns: auto auto !important;
    justify-content: start !important;
    column-gap: 34px !important;
    row-gap: 16px !important;
  }
  .kr-footer .kr-footer__col h4 { margin: 0 0 7px !important; }
  .kr-footer .kr-footer__col li { margin: 0 0 5px !important; }

  /* LEGAL 横跨，但与上面的组之间用分隔线隔开，形成独立一节 */
  .kr-footer .kr-footer__col:last-child {
    grid-column: 1 / -1 !important;
    margin-top: 2px !important;
    padding-top: 14px !important;
    border-top: 1px solid #eef0f3;
  }
  .kr-footer .kr-footer__col:last-child ul {
    display: grid !important;
    grid-template-columns: auto auto;
    justify-content: start;
    column-gap: 34px !important;
    row-gap: 5px !important;
  }
}

/* 2026-11-11 移动端页脚底部收口：字号统一，行距平整 */
@media (max-width: 560px) {
  .kr-footer__meta {
    gap: 6px 14px !important;
    font-size: 12px !important;
  }
  .kr-footer__pay { margin-top: 12px !important; gap: 6px !important; }
  .kr-footer__bottom {
    display: block !important;
    margin-top: 14px !important;
    padding: 12px 0 16px !important;
  }
  .kr-footer__copy { font-size: 12px !important; }
  .kr-footer__legal { margin-top: 8px !important; gap: 6px 16px !important; }
  .kr-footer__legal a { font-size: 12px !important; }
}

/* 2026-11-11 移动端页脚：LEGAL 分隔线随容器整宽收口 */
@media (max-width: 560px) {
  .kr-footer .kr-footer__grid {
    grid-template-columns: auto 1fr !important;
    justify-content: stretch !important;
    width: 100% !important;
    position: relative;
  }
  .kr-footer .kr-footer__col { justify-self: start; }
  .kr-footer .kr-footer__col:last-child { justify-self: stretch !important; }
}
/* ===== 2026-11-11 页脚：原生 details 折叠（移动端收起，桌面展开） ===== */
.kr-footer__col > summary {
  display: block;
  list-style: none;
  cursor: default;
}
.kr-footer__col > summary::-webkit-details-marker { display: none; }
.kr-footer__col > summary::marker { content: ""; }
.kr-footer__col > summary h4 { margin: 0; }

@media (min-width: 861px) {
  .kr-footer__grid { align-items: start; }
  .kr-footer details.kr-footer__col > summary { padding: 0; }
  .kr-footer details.kr-footer__col > summary h4 { margin: 0 0 10px; }
  .kr-footer details.kr-footer__col > ul { margin: 0; padding: 0; }
}

@media (max-width: 860px) {
  .kr-footer .kr-footer__grid {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .kr-footer details.kr-footer__col {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #eef0f3 !important;
    grid-column: auto !important;
    width: 100% !important;
  }
  .kr-footer details.kr-footer__col:first-of-type {
    border-top: 1px solid #eef0f3 !important;
  }
  .kr-footer details.kr-footer__col > summary {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    cursor: pointer;
    list-style: none;
    -webkit-tap-highlight-color: transparent;
  }
  .kr-footer details.kr-footer__col > summary h4 {
    margin: 0 !important;
    font-size: 10.5px !important;
    letter-spacing: 0.08em !important;
    color: #9aa3ad;
  }
  .kr-footer details.kr-footer__col > summary::after {
    content: "\002B";
    font-size: 17px;
    line-height: 1;
    font-weight: 400;
    color: #9aa3ad;
  }
  .kr-footer details.kr-footer__col[open] > summary::after {
    content: "\2212";
  }
  .kr-footer details.kr-footer__col > ul {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4px 16px !important;
    margin: 0 !important;
    padding: 0 0 14px !important;
  }
  .kr-footer details.kr-footer__col li,
  .kr-footer details.kr-footer__col:last-child li {
    margin: 0 !important;
  }
  .kr-footer details.kr-footer__col > ul a {
    display: inline-block;
    padding: 2px 0;
  }
}

/* 2026-11-11 折叠面板展开态：链接改单列竖排 */
@media (max-width: 860px) {
  .kr-footer details.kr-footer__col > ul {
    display: block !important;
    padding: 2px 0 14px !important;
    margin: 0 !important;
  }
  .kr-footer details.kr-footer__col li,
  .kr-footer details.kr-footer__col:last-child li {
    margin: 0 0 7px !important;
  }
  .kr-footer details.kr-footer__col > ul a {
    display: inline-block;
    padding: 0;
  }
}

/* 2026-11-11 折叠收起时确保内容不可见（防止 display 规则意外覆盖） */
@media (max-width: 860px) {
  .kr-footer details.kr-footer__col:not([open]) > ul {
    display: none !important;
  }
}

/* 2026-11-11 折叠面板最终覆盖：旧规则为 3 个 class 权重，这里提到 3 class + 2 元素 */
@media (max-width: 860px) {
  .kr-footer .kr-footer__grid details.kr-footer__col,
  .kr-footer .kr-footer__grid details.kr-footer__col:last-child {
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #eef0f3 !important;
    grid-column: auto !important;
    justify-self: auto !important;
    width: 100% !important;
    display: block !important;
  }
  .kr-footer .kr-footer__grid details.kr-footer__col:first-of-type {
    border-top: 1px solid #eef0f3 !important;
  }
  .kr-footer .kr-footer__grid details.kr-footer__col > ul,
  .kr-footer .kr-footer__grid details.kr-footer__col:last-child > ul {
    display: block !important;
    padding: 2px 0 14px !important;
    margin: 0 !important;
    grid-template-columns: none !important;
  }
  .kr-footer .kr-footer__grid details.kr-footer__col li,
  .kr-footer .kr-footer__grid details.kr-footer__col:last-child li {
    margin: 0 0 7px !important;
    padding: 0 !important;
  }
  .kr-footer .kr-footer__grid details.kr-footer__col:not([open]) > ul {
    display: none !important;
  }
}
