/*
 * 华朗外贸官网 · 首页定制样式
 * 来源：静态稿 index-2.html 头部内联 <style>（原样迁移，勿随意改动选择器）
 * 注意：本文件位于 assets/css/，所有图片相对路径基于 assets/img/
 */

/* ===== 华朗外贸官网 · 轮播定制 ===== */
.slider-area .hl-slide {
  position: relative;
}

.slider-area .hl-slide::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10, 14, 24, 0.80) 0%, rgba(10, 14, 24, 0.40) 55%, rgba(10, 14, 24, 0.10) 100%);
  z-index: 1;
}

.slider-area .hl-slide .container {
  position: relative;
  z-index: 2;
}

.slider-content h5.hl-tag {
  color: #FF7A00;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.slider-content h2 {
  font-size: 44px;
  line-height: 1.25;
}

.hl-slide-iso .slider-content h2 {
  font-size: 44px;
}

@media (max-width: 1199.98px) {
  .slider-content h2 {
    font-size: 38px;
  }

  .hl-slide-iso .slider-content h2 {
    font-size: 30px;
  }
}

@media (max-width: 991.98px) {
  .slider-content h2 {
    font-size: 32px;
  }

  .hl-slide-iso .slider-content h2 {
    font-size: 26px;
  }
}

@media (max-width: 767.98px) {
  .slider-content h2 {
    font-size: 25px;
  }

  .hl-slide-iso .slider-content h2 {
    font-size: 21px;
  }
}

.slider-content p.hl-sub {
  margin-top: 16px;
  margin-bottom: 35px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  .slider-content p.hl-sub {
    font-size: 16px;
  }
}

.slider-content ul li {
  font-size: 16px;
  margin-bottom: 10px;
}

.slider-content ul li .icon {
  margin-right: 8px;
}

.slider-btn .btn.hl-btn {
  background: #FF7A00;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 18px 8px 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  font-size: 16px;
}

.slider-btn .btn.hl-btn i {
  background: #E66A00;
  color: #fff;
  width: 20px;
  height: 20px;
  margin-left: 8px;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.slider-btn .btn.hl-btn:hover {
  background: #E66A00;
  color: #fff;
  border-color: #E66A00;
}

.slider-btn .btn.hl-btn:hover i {
  background: #FF7A00;
  color: #fff;
}

/* ===== 华朗外贸官网 · Logo 放大 ===== */
.header-two .logo img {
  max-width: 230px;
  max-width: 100%;
}

.f-widget-title img {
  width: 346px;
  max-width: 100%;
}

@media (max-width: 767.98px) {
  .f-widget-title img {
    width: 280px;
  }
}

/* ===== 华朗外贸官网 · 产品分类 ===== */
.hl-cat {
  text-align: center;
  margin-bottom: 40px;
}

.hl-cat-img {
  border-radius: 12px;
  overflow: hidden;
}

.hl-cat-img img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.hl-cat:hover .hl-cat-img img {
  transform: scale(1.04);
}

.hl-cat-name {
  margin-top: 35px;
}

.hl-cat-name h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1D202B;
  margin-bottom: 6px;
}

.hl-cat-name span {
  font-size: 16px;
  color: #008FD4;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 产品分类 · 标语 */
.hl-cat-slogan {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 600;
  color: #008FD4;
  letter-spacing: 1px;
}

.hl-cat-slogan .cn {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #666;
  letter-spacing: 2px;
  margin-top: 6px;
}

.hl-cat-slogan-bottom {
  margin-top: 50px;
  text-align: center;
  margin-bottom: 0;
}

/* 关于我们 · 副标 */
.hl-about-sub {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 600;
  color: #008FD4;
  letter-spacing: 0.5px;
}

@media (max-width: 767.98px) {
  .hl-about-sub {
    font-size: 16px;
  }
}

/* 行业解决方案 */
.hl-solution {
  margin-bottom: 30px;
}

.hl-solution-img {
  border-radius: 12px;
  overflow: hidden;
}

.hl-solution-img img {
  width: 100%;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hl-solution:hover .hl-solution-img img {
  transform: scale(1.04);
}

.hl-solution-content h4 {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 700;
  color: #1D202B;
}

.hl-solution-content p {
  margin-top: 8px;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* 定制服务板块 */
.hl-custom-area {
  min-height: 500px;
  display: flex;
  align-items: center;
  position: relative;
}

.hl-custom-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 24, 0.78), rgba(10, 14, 24, 0.88));
}

.hl-custom-area .container {
  position: relative;
  z-index: 2;
}

.hl-custom-inner {
  text-align: center;
}

.hl-custom-tag {
  color: #008FD4;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.hl-custom-title {
  color: #fff;
  font-size: 38px;
  font-weight: 700;
  margin: 14px 0 12px;
}

.hl-custom-desc {
  color: rgba(255, 255, 255, 0.8);
  max-width: 720px;
  margin: 0 auto 45px;
  font-size: 16px;
  line-height: 1.6;
}

.hl-flow {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.hl-flow-step {
  text-align: center;
  width: 110px;
}

.hl-flow-step .ico {
  width: 64px;
  height: 64px;
  line-height: 60px;
  border-radius: 14px;
  border: 2px solid rgba(0, 143, 212, 0.6);
  color: #008FD4;
  font-size: 22px;
  margin: 0 auto 14px;
  background: rgba(255, 255, 255, 0.06);
  transition: all 0.35s ease;
}

.hl-flow-step:hover .ico {
  background: #008FD4;
  color: #fff;
  border-color: #008FD4;
  transform: translateY(-4px);
}

.hl-flow-step .t {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.hl-flow-step .t small {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 400;
  margin-top: 2px;
}

.hl-flow-arrow {
  color: #fff;
  opacity: 0.7;
  padding: 16px 10px 0;
  font-size: 16px;
}

.hl-custom-btn {
  display: inline-block;
  margin-top: 42px;
  background: #FF7A00;
  color: #fff;
  padding: 14px 38px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: background 0.3s ease;
}

.hl-custom-btn:hover {
  background: #E66A00;
  color: #fff;
}

.hl-custom-btn i {
  margin-left: 8px;
  font-size: 13px;
}

/* 产品中心 */
.hl-products-area .hl-product {
  margin-bottom: 90px;
}

.hl-products-area .col-lg-3:nth-last-child(-n+4) .hl-product,
.hl-products-area .col-md-6:last-child .hl-product {
  margin-bottom: 0;
}

.hl-product-img img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.hl-product:hover .hl-product-img img {
  transform: scale(1.03);
}

.hl-product h4 {
  margin-top: 25px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: #1D202B;
}

@media (max-width: 991.98px) {
  .hl-products-area .hl-product {
    margin-bottom: 60px;
  }
}

@media (max-width: 991.98px) {
  .hl-flow-arrow {
    display: none;
  }

  .hl-flow-step {
    width: 50%;
    margin-bottom: 24px;
  }

  .hl-custom-title {
    font-size: 28px;
  }
}

/* 资质荣誉 */
.hl-cert-area {
  position: relative;
  background-color: #0B1B2B;
  background-image: url("../img/zizhi/shijie.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hl-cert-area .container {
  padding-top: 60px;
  padding-bottom: 50px;
}

.hl-cert-area .section-title {
  margin-bottom: 40px;
}

.hl-cert-area .section-title h2,
.hl-cert-area .section-title h5 {
  color: #fff;
}

.hl-cert-slider {
  margin: 0 -10px;
}

.hl-cert-slide {
  padding: 10px;
  outline: none;
}

.hl-cert-slide img {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 13;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hl-cert-slider .slick-dots {
  position: static;
  margin: 28px 0 0;
  text-align: center;
  line-height: 0;
}

.hl-cert-slider .slick-dots li {
  display: inline-block;
  float: none;
  width: auto;
  height: auto;
  margin: 0 6px;
}

.hl-cert-slider .slick-dots li button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.35;
  padding: 0;
}

.hl-cert-slider .slick-dots li button:before {
  content: none;
}

.hl-cert-slider .slick-dots li.slick-active button {
  background: #008FD4;
  opacity: 1;
}

/* 案例展示 */
.hl-cases-area {
  width: 100%;
  background: #f2f7fc;
  padding-bottom: 60px;
  overflow: hidden;
}

.hl-case-slider {
  margin: 0 -10px;
}

.hl-case {
  position: relative;
  padding: 10px;
  outline: none;
}

.hl-case-wrap {
  display: block;
  width: 100%;
  overflow: hidden;
}

.hl-case-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.hl-case img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hl-case:hover img {
  transform: scale(1.05);
}

.hl-case-overlay {
  position: absolute;
  inset: 10px;
  border-radius: 10px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.65) 100%);
}

.hl-case-overlay h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hl-case-overlay p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* 询盘表单区 */
.hl-inquiry-area {
  background: #fff;
  padding: 80px 0;
}

.hl-inquiry-card {
  background: linear-gradient(135deg, #008FD4 0%, #006ba3 100%);
  border-radius: 16px;
  padding: 60px 50px;
  box-shadow: 0 12px 40px rgba(0, 143, 212, 0.25);
}

.hl-inquiry-title h2 {
  color: #fff;
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 14px;
}

.hl-inquiry-title p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* CTA 按钮组（cta.php 通用板块） */
.hl-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hl-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  transition: all 0.25s ease;
}

.hl-cta-btn i {
  font-size: 20px;
}

.hl-cta-wa {
  background: #25D366;
  color: #fff;
}

.hl-cta-wa:hover {
  background: #1fb857;
  color: #fff;
  transform: translateY(-2px);
}

.hl-cta-contact {
  background: #FF7A00;
  color: #fff;
}

.hl-cta-contact:hover {
  background: #E66A00;
  color: #fff;
  transform: translateY(-2px);
}

.footer-brand-line {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 25px;
}

.footer-brand-line p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.footer-widget .footer-link li {
  margin-bottom: 10px;
}

.footer-widget .footer-link li i {
  color: #008FD4;
  margin-right: 8px;
}

/* ===== 联系我们页 · CF7 表单适配 ===== */
/* CF7 会把表单标签包在 span 里，恢复块级避免宽度塌陷 */
.contact-field .wpcf7-form-control-wrap {
  display: block;
}

/* CF7 autop 生成的 <p> 不要产生额外间距 */
.contact-field p {
  margin: 0;
}

/* textarea 与模板 input 样式对齐（模板只定义了 .contact-bg01 下的 textarea） */
.contact-field textarea {
  width: 100%;
  border: 1px solid #EDF3F8;
  background: #f5f5f5;
  border-radius: 6px;
  padding: 18px 25px;
  height: 180px;
  resize: vertical;
  outline: none;
}

/* CF7 提示信息条 */
.contact-form .wpcf7-response-output {
  margin: 20px 0 0;
  border: none;
  border-radius: 6px;
  padding: 12px 18px;
  font-size: 14px;
}

/* ===== 联系我们页 · 联系信息图标（统一字体图标，替代原 png 图片） ===== */
.team-single-info li .icon i {
  display: inline-block;
  width: 40px;
  text-align: center;
  font-size: 30px;
  line-height: 40px;
  color: #008FD4;
}

/* ===== 联系我们页 · 谷歌地图 ===== */
.hl-map {
  line-height: 0;
  background: #f2f7fc;
}

.hl-map iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
}

/* ===== OEM/ODM 页面 ===== */
/* 首屏介绍 */
.hl-oem-img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.hl-oem-check {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
}

.hl-oem-check li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

.hl-oem-check li i {
  position: absolute;
  left: 0;
  top: 3px;
  font-size: 18px;
  color: #008FD4;
}

.hl-oem-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.hl-oem-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #25D366;
}

.hl-oem-wa i {
  font-size: 22px;
}

.hl-oem-wa:hover {
  color: #1fb857;
}

/* 数据带 */
.hl-oem-stats {
  background: #f2f7fc;
  padding: 60px 0;
}

.hl-oem-stat {
  text-align: center;
}

.hl-oem-stat .num {
  display: block;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: #008FD4;
}

.hl-oem-stat p {
  margin: 12px 0 0;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #666;
}

/* 可定制范围卡片 */
.hl-oem-card {
  height: calc(100% - 30px);
  margin-bottom: 30px;
  padding: 35px 28px;
  background: #fff;
  border: 1px solid #EDF3F8;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.hl-oem-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(0, 143, 212, 0.12);
}

.hl-oem-card .ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #E9F5FC;
  font-size: 26px;
  color: #008FD4;
  transition: all 0.3s ease;
}

.hl-oem-card:hover .ico {
  background: #008FD4;
  color: #fff;
}

.hl-oem-card h4 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #1D202B;
}

.hl-oem-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #666;
}

/* 合作模式卡片 */
.hl-oem-plan {
  position: relative;
  height: 100%;
  padding: 42px 32px 36px;
  background: #fff;
  border: 1px solid #EDF3F8;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.hl-oem-plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 143, 212, 0.12);
}

.hl-oem-plan .badge-tag {
  position: absolute;
  top: -14px;
  left: 32px;
  padding: 4px 16px;
  border-radius: 20px;
  background: #FF7A00;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.hl-oem-plan h4 {
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: 700;
  color: #1D202B;
}

.hl-oem-plan .sub {
  margin-bottom: 18px;
  font-size: 13px;
  color: #999;
}

.hl-oem-plan ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hl-oem-plan ul li {
  padding: 9px 0;
  border-bottom: 1px dashed #E5E5E5;
  font-size: 14px;
  color: #555;
}

.hl-oem-plan ul li:last-child {
  border-bottom: none;
}

.hl-oem-plan ul li i {
  margin-right: 8px;
  color: #008FD4;
}

.hl-oem-plan .best-for {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid #EDF3F8;
  font-size: 13px;
  color: #888;
}

/* 合作模式 · 高亮卡（ODM） */
.hl-oem-plan.hot {
  background: linear-gradient(135deg, #008FD4 0%, #006ba3 100%);
  border: none;
  box-shadow: 0 12px 40px rgba(0, 143, 212, 0.25);
}

.hl-oem-plan.hot h4 {
  color: #fff;
}

.hl-oem-plan.hot .sub {
  color: rgba(255, 255, 255, 0.75);
}

.hl-oem-plan.hot ul li {
  border-bottom-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
}

.hl-oem-plan.hot ul li i {
  color: #fff;
}

.hl-oem-plan.hot .best-for {
  border-top-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.75);
}

/* 响应式（992 / 768） */
@media (max-width: 991.98px) {
  .hl-oem-stat {
    margin-bottom: 30px;
  }

  .hl-oem-stat:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 767.98px) {
  .hl-oem-stat .num {
    font-size: 34px;
  }

  .hl-oem-img {
    margin-top: 40px;
  }
}

/* ===== OEM/ODM 页 · 定制流程步骤卡片 ===== */
.hl-step-card {
  position: relative;
  overflow: hidden;
  height: calc(100% - 30px);
  margin-bottom: 30px;
  padding: 38px 30px 34px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(29, 32, 43, 0.06);
  transition: all 0.3s ease;
}

.hl-step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0, 143, 212, 0.16);
}

/* 右上角大号序号水印 */
.hl-step-card .no {
  position: absolute;
  top: 14px;
  right: 22px;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: #E9F5FC;
  transition: color 0.3s ease;
}

.hl-step-card:hover .no {
  color: #D3ECFA;
}

.hl-step-card .ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #E9F5FC;
  font-size: 24px;
  color: #008FD4;
  transition: all 0.3s ease;
}

.hl-step-card:hover .ico {
  background: #008FD4;
  color: #fff;
}

.hl-step-card h4 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #1D202B;
}

.hl-step-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #666;
}

/* ===== 文章卡片（category.php，样式沿用 Related Post） ===== */
/* 缩略图统一 4:3 比例，保证卡片整齐 */
.related-post-wrap .post-thumb img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 无特色图占位 */
.related-post-wrap .post-thumb.is-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: #E9F5FC;
  font-size: 56px;
  color: #A6D3EE;
}

/* View More 按钮 */
.hl-post-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: #008FD4;
}

.hl-post-more i {
  transition: transform 0.25s ease;
}

.hl-post-more:hover {
  color: #0072a8;
}

.hl-post-more:hover i {
  transform: translateX(4px);
}

/* ===== 通用分页（文章/产品列表共用，居中） ===== */
.yc-pagination {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.yc-pagination ul.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yc-pagination ul.pagination li a,
.yc-pagination ul.pagination li span.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  border-radius: 50%;
  background: #fff;
  border: 1.4px solid #D6DDE5;
  color: #1D202B;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.yc-pagination ul.pagination li a:hover {
  background: #008FD4;
  border-color: #008FD4;
  color: #fff;
}

.yc-pagination ul.pagination li.active span.page-numbers.current {
  background: #008FD4;
  border-color: #008FD4;
  color: #fff;
}

/* ===== 产品归档页/分类页（product-listing.php） ===== */
/* 左侧侧边栏卡片 */
.hl-pside {
  position: sticky;
  top: 110px;
}

.hl-pside-card {
  margin-bottom: 30px;
  padding: 30px 28px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(29, 32, 43, 0.06);
}

.hl-pside-card h3 {
  margin-bottom: 22px;
  font-size: 20px;
  font-weight: 700;
  color: #1D202B;
}

/* 搜索框 */
.hl-pside-search-box {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1.4px solid #D6DDE5;
  border-radius: 8px;
  transition: border-color 0.25s ease;
}

.hl-pside-search-box:focus-within {
  border-color: #008FD4;
}

.hl-pside-search-box input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border: none;
  outline: none;
  font-size: 14px;
  color: #1D202B;
  background: transparent;
}

.hl-pside-search-box input::placeholder {
  color: #9aa4ad;
}

.hl-pside-search-box button {
  padding: 0 16px;
  border: none;
  background: #008FD4;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.25s ease;
}

.hl-pside-search-box button:hover {
  background: #0072a8;
}

/* 产品分类导航（支持二级） */
.product-cat-list,
.product-cat-list .cat-children {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-cat-list .cat-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-cat-list .cat-item-row a {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #1D202B;
  transition: all 0.25s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-cat-list .cat-item-row a:hover,
.product-cat-list .cat-item.current-cat > .cat-item-row a {
  background: #E9F5FC;
  color: #008FD4;
}

.product-cat-list .cat-item.current-cat > .cat-item-row a {
  font-weight: 600;
}

/* 子菜单展开/收起箭头（独立 span，不影响 a 链接点击） */
.product-cat-list .cat-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #f2f7fc;
  color: #008FD4;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.product-cat-list .cat-toggle:hover {
  background: #008FD4;
  color: #fff;
}

.product-cat-list .cat-toggle i {
  transition: transform 0.25s ease;
}

.product-cat-list .cat-toggle.open i {
  transform: rotate(180deg);
}

/* 二级子菜单 */
.product-cat-list .cat-children {
  display: none;
  margin: 4px 0 6px 14px;
  padding-left: 10px;
  border-left: 2px solid #E9F5FC;
}

.product-cat-list .cat-children .cat-item-row a {
  padding: 9px 12px;
  font-size: 14px;
  color: #555;
}

/* 右侧产品列表（卡片复用首页 hl-product 结构） */
.hl-product-listing {
  margin-bottom: -40px;
}

.hl-product-listing .hl-product {
  margin-bottom: 40px;
}

/* 无产品 */
.hl-product-empty {
  padding: 60px 20px;
  background: #fff;
  border-radius: 12px;
  text-align: center;
  font-size: 15px;
  color: #888;
}

.hl-product-empty p {
  margin-bottom: 0;
}

/* ===== 搜索结果页（search.php，复用产品卡片样式） ===== */
/* 搜索提示行 */
.hl-search-info {
  margin-bottom: 40px;
  font-size: 15px;
  color: #555;
}

.hl-search-info strong {
  color: #008FD4;
}

/* 无特色图占位（1:1 圆角，与产品图一致） */
.hl-product-img.is-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: #E9F5FC;
  border-radius: 12px;
  font-size: 56px;
  color: #A6D3EE;
}

/* 响应式（992 / 768） */
@media (max-width: 991.98px) {
  .hl-pside {
    position: static;
    margin-bottom: 40px;
  }
}

/* ===== 产品内页（single-product.php） ===== */
/* 图集：大图 + 缩略图联动（Swiper 11） */
.product-gallery .swiper {
  width: 100%;
}

.product-gallery .swiper-wrapper {
  align-items: center;
}

.product-gallery .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.product-gallery .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery .big-swiper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #EDF3F8;
  background: #fff;
}

.product-gallery .big-swiper .swiper-slide {
  aspect-ratio: 4 / 3;
}

.product-gallery .thumb-swiper {
  width: 100%;
  margin-top: 16px;
}

.product-gallery .thumb-swiper .swiper-slide {
  width: 25%;
  border-radius: 8px;
  overflow: hidden;
  border: 1.4px solid #EDF3F8;
  opacity: 0.45;
  cursor: pointer;
  transition: opacity 0.25s ease, border-color 0.25s ease;
}

.product-gallery .thumb-swiper .swiper-slide img {
  aspect-ratio: 4 / 3;
}

.product-gallery .thumb-swiper .swiper-slide-thumb-active {
  opacity: 1;
  border-color: #008FD4;
}

/* 大图左右切换按钮 */
.product-gallery .big-swiper .swiper-button-next,
.product-gallery .big-swiper .swiper-button-prev {
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #1D202B;
  font-size: 14px;
  box-shadow: 0 3px 12px rgba(29, 32, 43, 0.15);
  transition: all 0.25s ease;
}

.product-gallery .big-swiper .swiper-button-next:hover,
.product-gallery .big-swiper .swiper-button-prev:hover {
  background: #008FD4;
  color: #fff;
}

.product-gallery .big-swiper .swiper-button-next {
  right: 14px;
}

.product-gallery .big-swiper .swiper-button-prev {
  left: 14px;
}

.product-gallery .big-swiper .swiper-button-next::after,
.product-gallery .big-swiper .swiper-button-prev::after {
  display: none;
}

/* 右侧信息区 */
.product-single-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: #1D202B;
  margin-bottom: 0;
}

.product-short-desc {
  margin: 24px 0 0;
  padding-left: 16px;
  border-left: 3px solid #008FD4;
  font-size: 15px;
  line-height: 1.8;
  color: #666;
}

.product-short-desc p:last-child {
  margin-bottom: 0;
}

.product-single-btns {
  margin-top: 32px;
}

/* 详情正文 */
.product-details-content {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
}

.product-details-content img {
  max-width: 100%;
  height: auto;
}

/* 响应式（992 / 768） */
@media (max-width: 991.98px) {
  .product-single-title {
    font-size: 26px;
  }

  .product-single-info {
    margin-top: 40px;
  }
}
