:root {
  --accent: #f8b500;
  --accent-dark: #d99e00;
  --ink: #1d1d1f;
  --ink-secondary: #6e6e73;
  --ink-tertiary: #86868b;
  --bg: #fff;
  --surface: #f5f5f7;
  --surface-hover: #eeeef0;
  --border: #d2d2d7;
  --radius: 0.18rem;
  --radius-lg: 0.24rem;
  --shadow-sm: 0 0.01rem 0.03rem rgba(0,0,0,0.06);
  --shadow-md: 0 0.04rem 0.16rem rgba(0,0,0,0.08);
  --blue: #0071e3;
  --blue-hover: #0077ED;
  --max-w: 65vw;
  --gutter: clamp(0.20rem, 4vw, 0.40rem);
}



/* ── serchmian ── */
.serchmian {
  background: #272837;
  background-image: radial-gradient(ellipse 60% 40% at 50% -10%, rgba(240,177,0,0.04), transparent);
  text-align: center;
  padding: 0.8rem var(--gutter) 0.64rem;
  z-index: 9;
  position: relative;
}
.serchmian h1 {
  font-size: clamp(1.750em, 5vw, 2.500em);
  font-family: OpenSans-bold;
  letter-spacing: -0.050em;
  line-height: 1.2;
  margin-bottom: 0.08rem;
  color: #fff;
}
.serchmian .serchmian-sub {
  font-size: 1.062em;
  color: #f5f5f7;
  max-width: 4.8rem;
  margin: 0 auto 0.28rem;
}
.search-wrap {
  max-width: 5.2rem;
  margin: 0 auto;
  position: relative;
}
.search-wrap input {
  width: 100%;
  padding: 0.14rem 0.18rem 0.14rem 0.48rem;
  font-size: 1.000em;
  border: 0.01rem solid var(--border);
  border-radius: 0.24rem;
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  
}
.search-wrap input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.04rem rgba(240,177,0,0.1), 0 0.04rem 0.16rem rgba(0,0,0,0.06);
}
.search-wrap input::placeholder { color: var(--border); }
.search-wrap .s-icon {
  position: absolute;
  left: 0.16rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-tertiary);
  pointer-events: none;
}

/* ── CATEGORY TABS (Apple-style large icon tabs) ── */
.cat-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(1.4rem, 1fr));
  gap: 0.16rem;
}
.cat-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08rem;
  padding: 0.32rem 0.16rem 0.2rem;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 0.01rem solid var(--border);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  
  position: relative;
  text-decoration: none;
  color: var(--ink);
}
.cat-tab:hover {
  border-color: rgba(240,177,0,0.4);
  text-decoration: none;
  transform: scale(1.01);
}
.cat-tab.active {
  border-color: var(--accent);
}
.cat-tab-icon {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 0.14rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25,0.1,0.25,1);
}
.cat-tab-icon svg { width: 0.52rem; height: 0.52rem; }
.cat-tab-icon svg rect{ fill:#f5f5f7 }
.cat-tab.active .cat-tab-icon svg rect{ fill:#fff9e6 }
.cat-tab:hover .cat-tab-icon {
  transform: scale(1.06);
}
.cat-tab.active .cat-tab-icon {
  transform: scale(1.08);
}
.cat-tab-name {
  font-size: 1em;
  font-family: OpenSans-bold;
  line-height: 1.3;
}

.cat-tab-more {
  font-size: .688em;
  color: var(--blue);
  font-family: OpenSans-bold;
  opacity: 0;
  transition: opacity 0.2s;
  margin-top: 0.02rem;
}
.cat-tab:hover .cat-tab-more { opacity: 1; }

/* ── FAQ CONTENT BLOCKS (Apple-style) ── */
.faq-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.24rem;
  flex-wrap: wrap;
  gap: 0.08rem;
  margin-top: 0.42rem;
}
.faq-section-title {
  font-size: clamp(1.375em, 3.5vw, 1.750em);
  font-family: OpenSans-bold;
  letter-spacing: -0.019em;
}
.faq-section-link {
  font-size: .875em;
  font-family: OpenSans-bold;
  display: inline-flex;
  align-items: center;
  gap: 0.04rem;
}
/* Card-style FAQ blocks */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.faq-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0.2rem;
  padding: 0.26rem 0;
  background: transparent;
  border: none;
  border-bottom: 0.01rem solid var(--border);
  border-radius: 0;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: background 0.25s ease;
}
.faq-block:nth-child(odd) { padding-right: 0.4rem; }
.faq-block:nth-child(even) { padding-left: 0.4rem; }
.faq-block:hover { transform: scale(1); }
.faq-block:hover .faq-block-title { color: var(--blue); }
.faq-block-icon {
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.12rem;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
}
.faq-block-icon .imgtitles{position: absolute;top:50%;left: 0.06rem;width: 45%;font-size: 0.5em;transform: translateY(-50%);font-style: italic;font-family: OpenSans-bold;background: #ffffff33;padding: 0.06rem 0.01rem; border-radius: 0.06rem;}
.faq-block:hover .faq-block-icon { transform: scale(1.04); }
.faq-block-body { min-width: 0; }
.faq-block-label {
  font-size: .6875em;
  font-family: OpenSans-bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-tertiary);
  margin-bottom: 0.06rem;
}
.faq-block-title {
  font-size: 1.000em;
  font-family: OpenSans-bold;
  line-height: 1.35;
  margin-bottom: 0.06rem;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.faq-block-desc {
  font-size: .812em;
  color: var(--ink-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.faq-block-hot {
  display: inline-block;
  font-size: .625em;
  font-family: OpenSans-bold;
  color: #ff3b30;
  background: #fde8e8;
  padding: 0.01rem 0.07rem;
  border-radius: 0.08rem;
  margin-left: 0.08rem;
  vertical-align: middle;
  letter-spacing: 0.02em;
}

/* Search dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 0.08rem);
  left: 0;
  right: 0;
  background:#fff;
  border-radius: 0.24rem;
  box-shadow: 0 0.08rem 0.4rem rgba(0,0,0,0.12), 0 0.02rem 0.08rem rgba(0,0,0,0.06);
  max-height: 5rem;
  overflow: hidden;
  z-index: 99;
}
.search-dropdown-box{max-height: 4.8rem; overflow-y: auto;width: 100%;display: none;}
.search-dropdown-box.visible { display: block; animation: dropIn 0.25s cubic-bezier(0.25,0.1,0.25,1);background:#fff; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }


/* Dropdown sections */
.sd-section { padding: 0.08rem 0; }
.sd-section + .sd-section { border-top: 0.01rem solid var(--surface); }
.sd-header {
  padding: 0.08rem 0.18rem 0.04rem;
  font-size: .688em;
  font-family: OpenSans-bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-tertiary);
}

/* Dropdown item */
.search-dropdown-item {
  padding: 0.10rem 0.18rem;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  gap: 0.10rem;
}
.search-dropdown-item:hover { background: var(--surface); }
.sd-item-icon {
  width: 0.28rem; height: 0.28rem;
  border-radius: 0.06rem;
  flex-shrink: 0;
  overflow: hidden;
}
.sd-item-icon svg { width: 100%; height: 100%; }
.sd-item-text { flex: 1; min-width: 0; text-align: left;}
.sd-item-text .sd-title {
  font-family: OpenSans-bold;
  font-size: .812em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sd-item-text .sd-cat { font-size: .688em; color: var(--ink-tertiary); }

/* No result state in dropdown */
.sd-no-result {
  padding: 0.20rem 0.18rem;
  text-align: center;
}
.sd-no-result-text {
  font-size: .875em;
  color: var(--ink-secondary);
  margin-bottom: 0.08rem;
}
.sd-no-result a {
  color: var(--accent-dark);
  font-family: OpenSans-bold;
  font-size: .812em;
  display: inline-block;
  padding: 0.05rem 0.12rem;
}

/* ── Search Modal ── */
.search-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 200;
  padding: 0.6rem var(--gutter);
  overflow-y: auto;
}
.search-modal-overlay.visible {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  animation: fadeIn 0.25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.search-modal {
  background: var(--bg);
  max-width: 65vw;
  max-height: calc(70vh + 0.8rem);
  border-radius: 0.24rem;
  box-shadow: 0 0.24rem 0.8rem rgba(0,0,0,0.15);
  animation: modalUp 0.35s cubic-bezier(0.16,1,0.3,1);
  overflow: hidden;
  margin-top: 5em;
}
.search-modal-in {
  border-radius: 0.24rem;
  max-width: 65vw;
  max-height: 70vh;
  overflow-y: auto;
  margin: 0.24rem 0.2rem;
}

@keyframes modalUp { from { opacity: 0; transform: translateY(0.3rem); } to { opacity: 1; transform: translateY(0); } }
.search-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.20rem 0.24rem 0.12rem;
  border-bottom: 0.01rem solid var(--surface);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 1;
}
.search-modal-header h3 {
  font-size: 1.125em;
  font-family: OpenSans-bold;
  color: var(--ink);
}
.search-modal-close {
  width: 0.32rem; height: 0.32rem;
  border-radius: 50%;
  border: none;
  background: var(--surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875em;
  color: var(--ink-secondary);
  transition: background 0.2s;
}
.search-modal-close:hover { background: var(--border); }
.search-modal-body { padding: 0.12rem 0; }
.search-modal .sd-section { padding: 0.08rem 0; }
.search-modal .search-dropdown-item { padding: 0.12rem 0.24rem; }

/* Tab panel visibility */
.tab-panel { display: none; }
.tab-panel.active { display: block; }



/* ── HOT QUESTIONS & COMMON QUESTIONS ── */
.extra-faq-section {
    overflow: hidden;
  padding: 0.56rem 0;
  background: var(--surface);
  background-image: radial-gradient(ellipse 50% 60% at 50% 120%, rgba(240, 177, 0, 0.05), transparent);
}

.extra-faq-heading {
  text-align: center;
  margin-bottom: 0.32rem;
}
.extra-faq-heading h2 {
  font-size: clamp(1.375em, 3.5vw, 1.875em);
  font-family: OpenSans-bold;
  letter-spacing: -0.031em;
  color: var(--ink);
}
.extra-faq-heading p {
  margin-top: 0.06rem;
  font-size: .938em;
  color: var(--ink-secondary);
}
/* Apple-style heading: left title, right link */
.hot-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.28rem;
  flex-wrap: wrap;
  gap: 0.08rem;
}
.hot-heading h2 {
  font-size: clamp(1.500em, 3.5vw, 2.000em);
  font-family: OpenSans-bold;
  letter-spacing: -0.031em;
  color: var(--ink);
}
.hot-heading-link {
  font-size: .938em;
  font-family: OpenSans-bold;
  color: var(--accent-dark);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.hot-heading-link:hover { opacity: 0.7; text-decoration: none; }
.hot-heading-link span { font-size: 1.062em; }
.hot-carousel-wrap { position: relative; margin-bottom: 0.48rem; }
.hot-scroll {
  display: flex;
  gap: 0.16rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.04rem 0.02rem 0.12rem;
  scroll-padding-left: 0;
  scroll-snap-type: x proximity;
}
.hot-scroll::-webkit-scrollbar { display: none; }
.hot-card {
  flex: 0 0 calc((100% - 0.32rem) / 3);
  min-width: 0;
  scroll-snap-align: start;
  background: #fff;
  border: none;
  border-radius: 0.24rem;
   padding: 0.24rem 0;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.25,0.1,0.25,1), box-shadow 0.4s cubic-bezier(0.25,0.1,0.25,1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 4rem;
  box-shadow: 0 0.01rem 0.04rem rgba(0,0,0,0.04);
}
@media (max-width: 1023px) {
  .hot-card { flex-basis: calc((100% - 0.16rem) / 2); }
}
@media (max-width: 765px) {
  .hot-card { flex-basis: 100%; }
}

.hot-card:hover {
  transform: scale(1.01);
  box-shadow: 0 0.02rem 0.05rem rgba(0,0,0,0.08);
}

.hot-card-label {
  font-size: .688em;
  font-family: OpenSans-bold;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-tertiary);
  margin-bottom: 0.12rem;
  padding: 0 0.24rem;
}
.hot-card h4 {
  font-size: 1.375em;
  font-family: OpenSans-bold;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 0.1rem;
  letter-spacing: -0.019em;
  padding: 0 0.24rem;
}
.hot-card p {
  font-size: .875em;
  color: #424245;
  line-height: 1.55;
  margin-bottom: auto;
  padding: 0 0.24rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-card-visual {
  text-align: center;
  margin-bottom: 0.24rem;
}
.hot-card-visual img {
  opacity: 0.95;
  transition: all 0.4s cubic-bezier(0.25,0.1,0.25,1);
}
.hot-card:hover .hot-card-visual img {
  opacity: 1;
  transform: scale(1.06);
}
.hot-card-plus {
  position: absolute;
  bottom: 0.2rem; right: 0.2rem;
  width: 0.36rem; height: 0.36rem;
  border-radius: 50%;
  background: rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: var(--ink);
}
.hot-card:hover .hot-card-plus {
  background: var(--accent);
  color: var(--ink);
}
.hot-card-plus svg { width: 0.16rem; height: 0.16rem; }
/* Carousel controls at bottom-right, Apple style */
.hot-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.08rem;
  margin-top: 0.16rem;
  padding-right: 0.04rem;
}
.hot-arrow {
  width: 0.36rem; height: 0.36rem; border-radius: 50%;
  background: #d2d2d7; border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
  color: #fff;
  position: static; transform: none;
  box-shadow: none;
}
.hot-arrow:hover { background: #b0b0b5; }
.hot-arrow:disabled { opacity: 0.25; cursor: default; pointer-events: none; }
.hot-arrow svg { width: 0.14rem; height: 0.14rem; }
.hot-dots { display: none; }
.faq-accordion {
  max-width: 7.6rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.faq-acc-item {
  background: var(--bg);
  border: 0.01rem solid var(--border);
  border-radius: 0.14rem;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-acc-item:hover {
  border-color: rgba(240,177,0,0.3);
}
.faq-acc-item.open {
  border-color: rgba(240,177,0,0.3);
  box-shadow: 0 0.02rem 0.12rem rgba(0,0,0,0.04);
  transform: scale(1) translate(0,0);
  padding: 0;
}
.faq-acc-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.18rem 0.22rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: .938em;
  font-family: OpenSans-bold;
  color: var(--ink);
  
  transition: color 0.25s;
  gap: 0.12rem;
}
.faq-acc-q:hover { color: var(--accent-dark); }
.faq-acc-icon {
  flex-shrink: 0;
  width: 0.28rem; height: 0.28rem;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-tertiary);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  border: 0.015rem solid transparent;
}
.faq-acc-icon svg { width: 0.14rem; height: 0.14rem; }
.faq-acc-item.open .faq-acc-icon {
  transform: rotate(180deg);
  color: var(--accent-dark);
  border-color: rgba(240,177,0,0.3);
  background: #fff;
}
.faq-acc-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.25,0.1,0.25,1);
}
.faq-acc-item.open .faq-acc-a { max-height: 3rem; }
.faq-acc-a-inner {
  padding: 0 0.22rem 0.2rem;
  font-size: .875em;
  color: var(--ink-secondary);
  line-height: 1.7;
  border-top: 0.01rem solid var(--surface);
  padding-top: 0.16rem;
  margin-top: -0.04rem;
}
@media (min-width: 999px) {
    .faqlunbo .wx-clist {
        height: 36.25vw;
    }
}
/* ── RESPONSIVE ── */
@media (max-width: 765px) {
 
  .serchmian { padding: 0.48rem var(--gutter) 0.36rem; }
  .cat-tabs { grid-template-columns: repeat(3, 1fr); gap: 0.1rem; }
  .cat-tab { padding: 0.16rem 0.08rem 0.12rem;border-radius: 0.12rem; }
  .cat-tab-icon { width: 0.4rem; height: 0.4rem; border-radius: 0.1rem; }
  .cat-tab-name { font-size: .750em; }
  .cat-tab-more { display: none; }
  .search-modal { width: 92%; max-height: 85vh; border-radius: 0.16rem; }
  .search-modal-header { padding: 0.24rem 0.24rem 0 0.24rem; }
  .search-modal-body { padding: 0.16rem 0.2rem 0.28rem; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-block { gap: 0.14rem; padding: 0.2rem 0; }
  .faq-block:nth-child(odd), .faq-block:nth-child(even) { padding-left: 0; padding-right: 0; }
  .faq-block-title { font-size: .875em; }
  .hot-card { flex: 0 0 99%; min-width:99%; padding: 0.22rem 0.22rem 0; min-height: 3.4rem; border-radius: 0.14rem; }
  .hot-card h4 { font-size: 1.188em; }
  .hot-card-visual { min-height: 1.1rem; }
  .faq-block-icon .imgtitles {font-size: 0.35em;}
  .faq-accordion {max-width:100%;}
  .serchmian .serchmian-sub {max-width: 100%;}
  .search-wrap {max-width: 100%;}
  .sd-item-icon {width: 0.4rem;height: 0.4rem;}
  .search-modal {max-width: 90vw;}
  .search-wrap input {padding: 0.14rem 0.18rem 0.14rem 0.8rem;}

}

/* ── PRINT ── */
@media print {
 .search-wrap, .search-dropdown-box, .cat-tabs, .cta-section { display: none; }
  .tab-panel { display: block !important; }
  .serchmian { background: #fff; padding: 0.16rem 0; }
}
