* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --orange: #f26522;
  --orange-light: #f47a3e;
  --blue: #2a9bd6;
  --text: #333;
  --gray: #888;
  --border: #e5e5e5;
}

body {
  font-family: Arial, "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.duotu { text-align: center}
.duotu p { text-align: center}
.duotu img { text-align: center;display: inline}

.pagination2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination2 a {
  padding: 6px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-gray);
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.pagination2 a:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.pagination2 a.active {
  color: #ffffff;
  background-color: var(--orange);
  border-color: var(--orange);
}
/* Header */
.header {
  padding: 18px 0;
  border-bottom: 1px solid #f2f2f2;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  color: var(--orange);
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.nav-link {
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 15px;
  color: #444;
}

.nav-link.active {
  background: var(--blue);
  color: #fff;
}

.search {
  display: flex;
  align-items: center;
}

.search-input {
  width: 180px;
  height: 38px;
  border: 1px solid var(--border);
  border-right: none;
  padding: 0 10px;
  outline: none;
}

.search-btn {
  height: 38px;
  width: 48px;
  background: var(--orange);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Banner */
.banner {
  padding: 24px 16px 8px;
}

.slider {
  position: relative;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  flex: 0 0 100%;
  width: 100%;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.slider:hover .slider-arrow {
  opacity: 1;
}

.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }

.slider-arrow:hover {
  background: var(--orange);
}

.banner-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: var(--orange);
}

/* Layout */
.layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-top: 16px;
  padding-bottom: 40px;
}

/* Sidebar */
.sidebar {
  width: 260px;
  flex-shrink: 0;
}

.side-block {
  margin-bottom: 24px;
}

.side-head {
  background: var(--orange);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 12px 16px;
}

.side-list {
  list-style: none;
  border: 1px solid var(--border);
  border-top: none;
}

.side-list li {
  padding: 14px 16px;
  font-size: 14px;
  color: #555;
  border-bottom: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.side-list li:last-child {
  border-bottom: none;
}

.side-list li:hover {
  color: var(--orange);
}

.caret {
  color: #888;
  font-size: 22px;
  line-height: 1;
  margin-left: 8px;
  transition: transform 0.25s ease;
}

/* Collapsible categories */
.cat-list .cat {
  display: block;
  padding: 0;
  border-bottom: 1px dashed var(--border);
  cursor: default;
}

.cat-list .cat:last-child {
  border-bottom: none;
}

.cat-list .cat:hover {
  color: inherit;
}

.cat-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: none;
  border: none;
  font: inherit;
  font-size: 14px;
  color: #555;
  text-align: left;
  cursor: pointer;
}

.cat-head:hover {
  color: var(--orange);
}

.cat.open .caret {
  transform: rotate(180deg);
}

.sub-list {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.cat.open .sub-list {
  max-height: 400px;
}

.sub-list li {
  padding: 10px 16px 10px 28px;
  font-size: 14px;
  color: #555;
  border: none;
  cursor: pointer;
}

.sub-list li:hover {
  color: var(--orange);
}

.contact-list,
.work-time,
.contact-details {
  padding: 14px 16px;
  font-size: 14px;
  color: #555;
  border-bottom: 1px dashed var(--border);
}

.contact-details {
  border-bottom: none;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.wt-title,
.cd-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}

.work-time p,
.contact-details p {
  margin-bottom: 4px;
}

.ico {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: inline-block;
  flex-shrink: 0;
}

/* Content */
.content {
  flex: 1;
  min-width: 0;
}

.tab-bar {
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.tab {
  display: inline-block;
  padding: 10px 4px;
  font-size: 16px;
  font-weight: 700;
  border-bottom: 2px solid var(--orange);
  margin-bottom: -1px;
}

.marquee {
  overflow: hidden;
  width: 100%;
  margin-bottom: 24px;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 20s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.product-card {
  flex: 0 0 auto;
  width: 200px;
  text-align: center;
  padding: 0 8px;
}

.product-card img {
  height: 130px;
  width: 100%;
  object-fit: contain;
  margin: 0 auto 12px;
}

.product-name {
  font-size: 15px;
  color: #555;
}

.section-link {
  color: var(--blue);
  font-size: 16px;
  font-weight: 400;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

/* Instruction page */
.layout-top {
  padding-top: 24px;
}

.page-head {
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.page-title {
  display: inline-block;
  color: var(--orange);
  font-size: 22px;
  font-weight: 400;
  padding: 0 4px 12px;
  border-bottom: 2px solid var(--orange);
  margin-bottom: -1px;
}

.page-title-blue {
  color: var(--blue);
  border-bottom-color: transparent;
}

/* News detail */
.news-detail {
  padding: 16px 4px 0;
}

.news-title {
  font-size: 28px;
  font-weight: 400;
  color: #333;
  margin-bottom: 24px;
}

.news-time {
  font-size: 18px;
  color: #aaa;
  margin-bottom: 24px;
}

.news-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 32px;
}

.news-body p {
  font-size: 19px;
  line-height: 1.9;
  color: #333;
  margin-bottom: 4px;
}

.instruction-list {
  list-style: none;
}

.instruction-item {
  padding: 28px 4px;
  border-bottom: 1px dashed var(--border);
}

.instruction-item:last-child {
  border-bottom: none;
}

.ins-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.ins-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 16px;
}

.ins-title {
  font-size: 20px;
  font-weight: 400;
  color: #555;
}

.ins-link:hover .ins-title {
  color: var(--orange);
}

.ins-date {
  flex-shrink: 0;
  font-size: 18px;
  color: #777;
}

.ins-desc {
  font-size: 18px;
  line-height: 1.6;
  color: #888;
}

/* Video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 16px;
}

.video-title {
  color: var(--blue);
  font-size: 15px;
  font-weight: 400;
  margin-top: 10px;
  text-align: center;
}

.thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f4f4f4;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-left: 16px solid #fff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}

/* Footer */
.footer {
  background: #2b2b2b;
  color: #aaa;
  padding: 40px 0 24px;
  margin-top: 20px;
}

.footer-nav {
  display: flex;
  gap: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #444;
  margin-bottom: 32px;
}

.footer-nav a {
  color: #999;
  font-size: 15px;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-contact {
  display: flex;
  justify-content: space-around;
  gap: 24px;
  text-align: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.fc-item {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.fc-item p {
  font-size: 14px;
  max-width: 240px;
}

.circle-ico {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid #666;
  position: relative;
}

.circle-ico::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  background: #888;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.circle-ico.location::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8 2 5 5 5 9c0 5 7 13 7 13s7-8 7-13c0-4-3-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8 2 5 5 5 9c0 5 7 13 7 13s7-8 7-13c0-4-3-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5z'/%3E%3C/svg%3E");
}

.circle-ico.mail::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 4h20v16H2z' fill='none'/%3E%3Cpath d='M2 4l10 8 10-8M2 4h20v16H2z' fill='none' stroke='%23888' stroke-width='2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 4l10 8 10-8M2 4h20v16H2z' fill='none' stroke='%23888' stroke-width='2'/%3E%3C/svg%3E");
}

.circle-ico.phone::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.2 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.4c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.4 0 .8-.3 1.1l-2.1 2.1z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.2 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.4c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.4 0 .8-.3 1.1l-2.1 2.1z'/%3E%3C/svg%3E");
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #777;
}

/* Responsive */
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; }
  .nav { order: 3; flex-basis: 100%; flex-wrap: wrap; }
  .layout { flex-direction: column; }
  .sidebar { width: 100%; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .banner-santa img { height: 200px; }
}

@media (max-width: 560px) {
  .logo { font-size: 18px; white-space: normal; }
  .banner-title { font-size: 28px; }
}
