/* icpshucai.com v2.1 — 暖色系 · 非全屏 Banner */
:root {
  --ic-primary: #8B3A1E;
  --ic-primary-light: #A8552F;
  --ic-accent: #E8A838;
  --ic-accent-hover: #D4952A;
  --ic-bg: #FFF8F0;
  --ic-bg-white: #FFFFFF;
  --ic-bg-warm: #FDF0E4;
  --ic-text: #2C1810;
  --ic-text-muted: #7A6B5D;
  --ic-text-light: #A89888;
  --ic-border: #E8DDD0;
  --ic-danger: #C0392B;
  --ic-container: 1280px;
  --ic-header-h: 72px;
  --ic-radius: 12px;
  --ic-radius-sm: 8px;
  --ic-shadow: 0 4px 24px rgba(139, 58, 30, 0.08);
  --ic-shadow-lg: 0 12px 40px rgba(139, 58, 30, 0.14);
  --ic-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ic-text);
  background: var(--ic-bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color var(--ic-transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--ic-container);
  margin: 0 auto;
  padding: 0 24px;
}

.ic-topbar {
  background: var(--ic-bg-warm);
  border-bottom: 1px solid var(--ic-border);
  font-size: 13px;
  color: var(--ic-text-muted);
}

.ic-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}

.ic-topbar__links a { color: var(--ic-text-muted); margin-left: 12px; }
.ic-topbar__links a:hover { color: var(--ic-primary); }
.ic-topbar__sep { margin: 0 8px; color: var(--ic-border); }

.ic-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--ic-header-h);
  background: rgba(139, 58, 30, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(139, 58, 30, 0.15);
  transition: box-shadow var(--ic-transition);
}

.ic-header.is-scrolled { box-shadow: 0 4px 24px rgba(139, 58, 30, 0.25); }

/* 首页：顶栏透明浮在轮播上 */
.page-home .ic-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  background: rgba(44, 24, 16, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}

.page-home .ic-topbar__links a { color: rgba(255, 255, 255, 0.75); }
.page-home .ic-topbar__links a:hover { color: #fff; }

.page-home .ic-header {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 1001;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent);
  box-shadow: none;
  border-bottom: none;
}

.page-home .ic-header.is-scrolled {
  background: rgba(139, 58, 30, 0.97);
  box-shadow: 0 4px 24px rgba(139, 58, 30, 0.25);
}

.ic-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 24px;
}

.ic-header__logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.ic-nav { display: flex; flex: 1; gap: 4px; flex-wrap: wrap; }

.ic-nav__link {
  padding: 8px 16px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  transition: background var(--ic-transition), color var(--ic-transition);
}

.ic-nav__link:hover,
.ic-nav__link.on {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.ic-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ic-search {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ic-search input {
  border: none;
  background: transparent;
  color: #fff;
  padding: 8px 16px;
  font-size: 13px;
  width: 160px;
  outline: none;
}
.ic-search input::placeholder { color: rgba(255, 255, 255, 0.6); }

.ic-search button {
  border: none;
  background: var(--ic-accent);
  color: #fff;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
  transition: background var(--ic-transition);
}
.ic-search button:hover { background: var(--ic-accent-hover); }

.ic-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--ic-transition);
}

.ic-btn--primary { background: var(--ic-accent); color: #fff; }
.ic-btn--primary:hover { background: var(--ic-accent-hover); }

.ic-btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}
.ic-btn--outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.ic-btn--submit {
  background: transparent;
  color: var(--ic-accent);
  border: 1.5px solid var(--ic-accent);
  padding: 6px 16px;
  font-size: 13px;
}
.ic-btn--submit:hover { background: var(--ic-accent); color: #fff; }

.ic-btn--sm { padding: 6px 16px; font-size: 13px; }

.ic-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.ic-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.ic-banner { padding: 24px 0 0; }

.ic-banner--fullscreen {
  padding: 0;
  margin-top: 0;
}

.ic-banner--fullscreen .ic-banner__wrap {
  height: 100vh;
  min-height: 560px;
  max-height: 900px;
  border-radius: 0;
  position: relative;
}

.ic-banner__wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 380px;
  box-shadow: var(--ic-shadow-lg);
}

.ic-banner__slides { position: relative; width: 100%; height: 100%; }

.ic-banner__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  background-size: cover;
  background-position: center;
}

.ic-banner__slide.is-active { opacity: 1; z-index: 1; }

.ic-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(139, 58, 30, 0.72) 0%, rgba(139, 58, 30, 0.25) 55%, rgba(0, 0, 0, 0.15) 100%);
  z-index: 2;
}

.ic-banner--fullscreen .ic-banner__overlay {
  background: linear-gradient(105deg, rgba(44, 24, 16, 0.75) 0%, rgba(139, 58, 30, 0.35) 45%, rgba(0, 0, 0, 0.25) 100%);
}

.ic-banner__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 48px;
  max-width: 560px;
  color: #fff;
}

.ic-banner--fullscreen .ic-banner__content {
  max-width: var(--ic-container);
  margin: 0 auto;
  width: 100%;
  left: 0;
  right: 0;
  padding: calc(36px + var(--ic-header-h) + 32px) 24px 80px;
}

.ic-banner__badge {
  display: inline-block;
  background: var(--ic-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
  width: fit-content;
}

.ic-banner__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.ic-banner__desc {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 24px;
  line-height: 1.7;
}

.ic-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.ic-banner__dots {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0;
}

.ic-banner__dot {
  width: 32px;
  height: 4px;
  border-radius: 4px;
  border: none;
  background: var(--ic-border);
  cursor: pointer;
  transition: all var(--ic-transition);
  padding: 0;
}

.ic-banner__dot.is-active {
  width: 56px;
  background: var(--ic-accent);
}

.ic-banner--fullscreen .ic-banner__dot {
  background: rgba(255, 255, 255, 0.4);
}

.ic-banner--fullscreen .ic-banner__dot.is-active {
  width: 56px;
  background: var(--ic-accent);
}

.ic-section { padding: 64px 0; }
.ic-section--alt { background: var(--ic-bg-warm); }

.ic-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  gap: 16px;
}

.ic-section__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ic-accent);
  margin-bottom: 6px;
}

.ic-section__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--ic-primary);
}

.ic-section__more {
  color: var(--ic-primary-light);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.ic-section__more:hover { color: var(--ic-accent); }

.ic-intro { padding: 48px 0; }

.ic-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.ic-intro__pic {
  border-radius: var(--ic-radius);
  overflow: hidden;
  box-shadow: var(--ic-shadow);
}

.ic-intro__pic img { width: 100%; height: 280px; object-fit: cover; }

.ic-intro__text h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--ic-primary);
  margin-bottom: 16px;
}

.ic-intro__text p {
  color: var(--ic-text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.ic-latest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ic-latest-item {
  display: flex;
  gap: 16px;
  background: var(--ic-bg-white);
  border-radius: var(--ic-radius);
  padding: 16px;
  border: 1px solid var(--ic-border);
  transition: box-shadow var(--ic-transition);
}

.ic-latest-item:hover { box-shadow: var(--ic-shadow); }

.ic-latest-item__thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--ic-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--ic-bg-warm);
}

.ic-latest-item__thumb img { width: 100%; height: 100%; object-fit: cover; }

.ic-latest-item__title { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.ic-latest-item__desc { font-size: 13px; color: var(--ic-text-muted); margin-bottom: 8px; }

.ic-latest-item__meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ic-text-light);
}

.ic-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ic-product {
  background: var(--ic-bg-white);
  border-radius: var(--ic-radius);
  overflow: hidden;
  box-shadow: var(--ic-shadow);
  transition: transform var(--ic-transition), box-shadow var(--ic-transition);
  border: 1px solid var(--ic-border);
}

.ic-product:hover {
  transform: translateY(-6px);
  box-shadow: var(--ic-shadow-lg);
}

.ic-product__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ic-bg-warm);
}

.ic-product__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ic-product:hover .ic-product__img img { transform: scale(1.05); }

.ic-product__body { padding: 16px; }

.ic-product__title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ic-product__desc {
  font-size: 13px;
  color: var(--ic-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

.ic-product__meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ic-text-light);
}

.ic-page-head {
  background: linear-gradient(135deg, var(--ic-primary) 0%, var(--ic-primary-light) 100%);
  padding: calc(var(--ic-header-h) + 40px) 0 48px;
  text-align: center;
  color: #fff;
}

.ic-page-head__title { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.ic-page-head__sub { font-size: 15px; opacity: 0.85; }

.ic-breadcrumb { padding: 20px 0; font-size: 13px; color: var(--ic-text-muted); }
.ic-breadcrumb a:hover { color: var(--ic-primary); }

.ic-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--ic-border);
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--ic-text-muted);
}

.ic-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 40px 0;
  flex-wrap: wrap;
}

.ic-pagination a,
.ic-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--ic-radius-sm);
  font-size: 14px;
  border: 1px solid var(--ic-border);
  background: var(--ic-bg-white);
  color: var(--ic-text);
  transition: all var(--ic-transition);
}

.ic-pagination a:hover,
.ic-pagination .current {
  background: var(--ic-primary);
  border-color: var(--ic-primary);
  color: #fff;
}

.ic-detail__main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.ic-detail__img {
  border-radius: var(--ic-radius);
  overflow: hidden;
  background: var(--ic-bg-warm);
  aspect-ratio: 4/3;
}

.ic-detail__img img { width: 100%; height: 100%; object-fit: cover; }

.ic-detail__info h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--ic-primary);
  margin-bottom: 20px;
}

.ic-detail__meta {
  background: var(--ic-bg-warm);
  border-radius: var(--ic-radius);
  padding: 20px;
  margin-bottom: 20px;
}

.ic-detail__meta-row {
  display: flex;
  padding: 8px 0;
  border-bottom: 1px solid var(--ic-border);
  font-size: 14px;
}

.ic-detail__meta-row:last-child { border-bottom: none; }
.ic-detail__meta-label { width: 80px; color: var(--ic-text-muted); flex-shrink: 0; }

.ic-detail__content {
  background: var(--ic-bg-white);
  border-radius: var(--ic-radius);
  padding: 32px;
  border: 1px solid var(--ic-border);
  line-height: 1.9;
}

.ic-detail__content img { border-radius: var(--ic-radius-sm); margin: 12px 0; }

.ic-detail__related { padding: 48px 0; }

.ic-detail__related-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--ic-primary);
  margin-bottom: 24px;
}

.ic-single {
  background: var(--ic-bg-white);
  border-radius: var(--ic-radius);
  padding: 40px;
  border: 1px solid var(--ic-border);
  line-height: 1.9;
  margin-bottom: 48px;
}

.ic-single h2, .ic-single h3 { color: var(--ic-primary); margin: 24px 0 12px; }
.ic-single p { margin-bottom: 16px; }
.ic-single img { border-radius: var(--ic-radius-sm); margin: 12px 0; }

.ic-search-box {
  background: var(--ic-bg-white);
  border-radius: var(--ic-radius);
  padding: 32px;
  border: 1px solid var(--ic-border);
  margin-bottom: 32px;
}

.ic-search-box form { display: flex; gap: 12px; }

.ic-search-box input[type="text"] {
  flex: 1;
  padding: 12px 20px;
  border: 1.5px solid var(--ic-border);
  border-radius: 50px;
  font-size: 15px;
  outline: none;
}

.ic-search-box input[type="text"]:focus { border-color: var(--ic-accent); }

.ic-search-box button {
  padding: 12px 32px;
  background: var(--ic-accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.ic-search-box button:hover { background: var(--ic-accent-hover); }

.ic-search-result {
  padding: 16px 0;
  border-bottom: 1px solid var(--ic-border);
}

.ic-search-result a { font-size: 16px; font-weight: 600; color: var(--ic-primary); }
.ic-search-result a:hover { color: var(--ic-accent); }
.ic-search-result span { font-size: 13px; color: var(--ic-text-light); margin-left: 12px; }

.ic-empty { text-align: center; padding: 60px 20px; color: var(--ic-text-muted); }
.ic-empty i { font-size: 48px; color: var(--ic-border); margin-bottom: 16px; }

.ic-trust {
  background: var(--ic-primary);
  color: #fff;
  padding: 40px 0;
}

.ic-trust__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}

.ic-trust__item i { font-size: 28px; color: var(--ic-accent); margin-bottom: 10px; }
.ic-trust__item h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.ic-trust__item p { font-size: 12px; opacity: 0.75; }

.ic-footer {
  background: var(--ic-primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 0;
}

.ic-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
}

.ic-footer__brand img {
  height: 48px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.ic-footer__brand p { font-size: 14px; opacity: 0.8; line-height: 1.7; }

.ic-footer__col h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ic-accent);
  display: inline-block;
}

.ic-footer__col a {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  opacity: 0.8;
  transition: all var(--ic-transition);
}

.ic-footer__col a:hover { color: var(--ic-accent); padding-left: 4px; }

.ic-footer__contact li {
  font-size: 14px;
  padding: 6px 0;
  opacity: 0.85;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ic-footer__contact i { color: var(--ic-accent); margin-top: 3px; width: 16px; }

.ic-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
}

.ic-footer__bottom a { color: var(--ic-accent); }

.ic-back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ic-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 18px;
  box-shadow: var(--ic-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--ic-transition);
  z-index: 999;
}

.ic-back-top.is-visible { opacity: 1; visibility: visible; }
.ic-back-top:hover { background: var(--ic-accent-hover); transform: translateY(-4px); }

.ic-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.ic-sidebar-overlay.is-open { display: block; }

.ic-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ic-reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .ic-product-grid { grid-template-columns: repeat(3, 1fr); }
  .ic-detail__main { grid-template-columns: 1fr; }
  .ic-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .ic-trust__grid { grid-template-columns: repeat(3, 1fr); }
  .ic-intro__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .ic-topbar { display: none; }
  .ic-menu-toggle { display: flex; }
  .ic-search { display: none; }
  .ic-nav {
    display: none;
    position: fixed;
    top: var(--ic-header-h);
    left: 0;
    right: 0;
    background: var(--ic-primary);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--ic-shadow-lg);
    z-index: 999;
  }
  .ic-nav.open { display: flex; }
  .ic-header__actions .ic-btn--outline { display: none; }
  .page-home .ic-header { top: 0; }
  .page-home .ic-topbar { display: none; }
  .ic-banner--fullscreen .ic-banner__wrap {
    height: 100vh;
    min-height: 480px;
    max-height: none;
  }
  .ic-banner__content { padding: calc(var(--ic-header-h) + 24px) 24px 72px; }
  .ic-banner__title { font-size: 28px; }
  .ic-banner__wrap { height: 260px; }
  .ic-section { padding: 48px 0; }
  .ic-section__title { font-size: 24px; }
  .ic-product-grid { grid-template-columns: repeat(2, 1fr); }
  .ic-latest-grid { grid-template-columns: 1fr; }
  .ic-trust__grid { grid-template-columns: repeat(2, 1fr); }
  .ic-footer__grid { grid-template-columns: 1fr; }
  .ic-page-head__title { font-size: 28px; }
}
