.header-logo img {
  display: none;
}

.header-logo img.logo-lg {
  display: block;
  width: 500px;
}

@media (max-width: 1240px) {
  .header-logo img.logo-lg {
    width: 400px;
  }
}

@media (max-width: 767px) {
  .hero-slider-col {
    display: none;
  }

  .header-logo img.logo-sm {
    display: block;
    width: 220px;
  }

  .header-logo img.logo-lg {
    display: none;
  }

  .container {
    --bs-gutter-x: 60px;
  }
}

@media (max-width: 425px) {
  .about-container-wrapper.style1 .about-us-img .counter-wrapper {
    width: 120px;
    height: 120px;
    bottom: 60px;
    right: 40px;
  }

  .about-container-wrapper.style1 .about-us-img .counter-wrapper h2 {
    font-size: 50px;
    line-height: 50px;
    margin-bottom: 0;
  }
}

@media (max-width: 375px) {
  .header-logo img.logo-sm {
    width: 200px;
  }
}

@media (max-width: 320px) {
  .header-logo img.logo-sm {
    width: 160px;
  }

  .et-menu-toggle {
    width: 40px;
    height: 40px;
  }
}

.mobile-logo img {
  height: 40px;
}

.et-widget-about {
  transform: translateY(-50px);
}

.et-btn.style2 {
  min-width: 150px;
}

.about-us-thumb img {
  height: 100%;
}

.footer-area {
  margin-top: var(--section-space);
}

.et-header .menu-area {
  background-color: var(--theme-color);
}

.et-header .menu-area .row {
  display: flex;
  align-items: center;
  padding: 0 32px 0 16px;
}

.et-header .menu-area .row > * {
  padding: 0;
}

.sticky-wrapper.sticky .container-fluid {
  background-color: var(--theme-color);
}

.sticky-wrapper .container-fluid {
  background-color: var(--body-color);
}

.et-menu-toggle {
  background-color: transparent !important;
}

.main-menu a {
  color: var(--text-color1);
}

.main-menu a:hover {
  color: var(--text-color2) !important;
}

.about-container-wrapper.style1 .about-us-img .counter-wrapper {
  background-color: var(--theme-color);
}

.breadcrumb-wrapper {
  margin-top: 48px;
}

.offer-card-thumb {
  margin-top: 0 !important;
}

.offer-card.style1 {
  padding: 10px 10px;
  border-color: var(--theme-color);
}

.counters-area.style1 .counter .counter-thumb h2 {
  font-size: 60px;
}

/* 移动端筛选按钮样式 */
.filter-button .btn {
  background-color: var(--theme-color);
  border: none;
  padding: 10px 20px;
  font-size: 16px;
}

/* 移动端弹窗样式 */
.modal-content {
  border-radius: 15px;
}

.modal-header {
  border-bottom: 1px solid #eee;
  padding: 15px 20px;
}

.modal-body {
  padding: 20px;
}

/* 响应式调整 */
@media (max-width: 991px) {
  .service-card {
    margin-bottom: 20px;
  }

  .modal .service-sidebar {
    padding: 0;
  }
}

/* 搜索框样式优化 */
.search-form {
  position: relative;
  transition: all 0.3s ease;
}

.search-form input {
  width: 100%;
  padding: 12px 45px 12px 15px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.search-form input:focus {
  border-color: var(--theme-color);
  box-shadow: 0 0 0 2px rgba(var(--theme-color-rgb), 0.1);
  outline: none;
}

.search-form button {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #666;
  transition: color 0.3s ease;
}

.search-form button:hover {
  color: var(--theme-color);
}

/* 移动端弹窗中的搜索框样式 */
.modal .search-form input {
  background-color: #f8f8f8;
}

.modal .search-form input:focus {
  background-color: #fff;
}

/* 筛选栏样式优化 */
.service-sidebar {
  padding: 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.widget {
  margin-bottom: 30px;
}

.widget:last-child {
  margin-bottom: 0;
}

.widget-title {
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.widget_categories ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.widget_categories ul li {
  margin-bottom: 12px;
  padding: 0;
}

.widget_categories ul li:last-child {
  margin-bottom: 0;
}

.widget_categories ul li a {
  color: var(--text-color1);
  display: block;
  padding: 10px 15px;
  background: #f8f8f8;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.widget_categories ul li.active a {
  background: var(--theme-color);
  color: #fff !important;
}

.widget_categories ul li a:hover {
  background: var(--theme-color);
  color: #fff !important;
  transform: translateX(5px);
}

/* 移动端弹窗中的筛选栏样式 */
.modal .service-sidebar {
  box-shadow: none;
  padding: 0;
}

.modal .widget_categories ul li a {
  border: 1px solid #eee;
}

.modal .widget-title {
  margin-bottom: 15px;
}

/* 产品卡片样式优化 */
.service-card.style1 {
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.service-card.style1:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.service-card-thumb {
  position: relative;
  overflow: hidden;
  padding-top: 100%; /* 1:1 比例 */
  flex: 1;
  width: 100%;
}

.service-card-thumb > * {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%; /* 留出一些边距 */
  height: 90%;
  object-fit: contain; /* 改为 contain 以显示完整图片 */
  transition: transform 0.5s ease;
}

.service-card.style1:hover .service-card-thumb img {
  transform: translate(-50%, -50%) scale(1.1);
}

.service-card-content {
  padding: 20px;
  background: #fff;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card-title {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 600;
}

.service-card-text {
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card .et-btn.style2 {
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 6px;
  background: var(--theme-color);
  color: #fff;
  transition: all 0.3s ease;
}

.service-card .et-btn.style2:hover {
  background: var(--theme-color-dark);
  transform: translateX(5px);
}

.hero-section .container .hero-content {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.hero-title {
  color: var(--text-color1);
  margin-bottom: 0;
  text-align: left;
  font-size: 24px;
}

/* 产品列表容器样式 */
.row.gy-40 {
  margin: -10px; /* 减小外边距 */
}

/* 产品列表滚动位置调整 */
#product-list {
  scroll-margin-top: 40px; /* 考虑顶部导航栏高度和一些额外空间 */
}

@media (max-width: 991px) {
  #product-list {
    scroll-margin-top: 20px; /* 移动端导航栏较小，调整偏移量 */
  }
}

.row.gy-40 > [class*="col-"] {
  padding: 10px; /* 减小内边距 */
}

/* 响应式调整 */
@media (min-width: 992px) {
  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

@media (max-width: 991px) {
  .service-card.style1 {
    margin-bottom: 0;
  }

  .service-card-content {
    padding: 15px;
  }
}

@media (max-width: 767px) {
  .row.gy-40 {
    margin: -8px;
  }

  .row.gy-40 > [class*="col-"] {
    padding: 8px;
  }

  .service-card-thumb {
    padding-top: 90%; /* 稍微降低移动端图片区域高度 */
  }
}

.service-wrapper .row > * {
  margin-top: 0;
  margin-bottom: 24px;
}

/* 分页器样式 */
.pagination-wrapper {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.pagination-nav {
  display: inline-block;
}

.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  margin: 0;
  gap: 8px;
}

.page-item .page-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #eee;
  color: var(--text-color1);
  background: #fff;
  font-size: 15px;
  transition: all 0.3s ease;
}

.page-item .page-link:hover {
  background: var(--theme-color);
  color: #fff;
  border-color: var(--theme-color);
}

.page-item.active .page-link {
  background: var(--theme-color);
  color: #fff;
  border-color: var(--theme-color);
}

.page-item.disabled .page-link {
  background: #f8f8f8;
  color: #999;
  cursor: not-allowed;
  border-color: #eee;
}

/* 移动端适配 */
@media (max-width: 767px) {
  .pagination-wrapper {
    margin-top: 30px;
  }

  .page-item .page-link {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .pagination {
    gap: 6px;
  }
}

/* 空状态样式 */
.empty-state {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
}

.empty-state-content {
  max-width: 400px;
  margin: 0 auto;
}

.empty-icon {
  font-size: 48px;
  color: #ccc;
  margin-bottom: 20px;
}

.empty-title {
  font-size: 20px;
  color: var(--text-color1);
  margin-bottom: 10px;
}

.empty-description {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 767px) {
  .empty-state {
    padding: 40px 15px;
  }

  .empty-icon {
    font-size: 36px;
    margin-bottom: 15px;
  }

  .empty-title {
    font-size: 18px;
  }
}

/* 语言切换按钮样式 */
.lang-switch {
  margin-left: 20px;
}

.lang-switch a {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.lang-switch a:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 991px) {
  .lang-switch {
    margin-left: 0;
    margin-top: 10px;
  }

  .lang-switch a {
    justify-content: center;
  }
}

.no-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  flex-direction: column;
  gap: 10px;
}

.no-image-placeholder i {
  font-size: 24px;
  color: #ccc;
}

.no-image-placeholder span {
  font-size: 14px;
  color: #ccc;
}

/* 产品详情页样式 */
.product-detail-section {
  padding: 40px 0;
}

.product-image {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  padding: 20px;
  border: 1px solid #eee;
  margin-bottom: 20px;
}

.product-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-image .no-image-placeholder {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-info {
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
}

.product-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--text-color1);
}

.product-category {
  margin-bottom: 20px;
}

.product-category .label {
  font-weight: 600;
  margin-right: 10px;
  color: var(--text-color1);
}

.product-category .value {
  color: var(--text-color2);
}

/* 产品规格表格样式 */
.specifications-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color1);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.spec-table-wrapper {
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: none;
}

.spec-table th,
.spec-table td {
  padding: 12px 16px;
  text-align: left;
  border: none;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
  min-width: 120px;
}

/* 特殊列宽度调整 */
.spec-table th:first-child,
.spec-table td:first-child {
  min-width: 150px;
}

.spec-table th:last-child,
.spec-table td:last-child {
  min-width: 200px;
}

.spec-table thead {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;

  &:after {
    content: "";
    display: block;
    height: 2px;
    background: var(--theme-color);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }
}

.spec-table th {
  background: #fff;
  font-weight: 600;
  color: var(--text-color1);
  white-space: nowrap;
}

.spec-table td {
  color: var(--text-color2);
  background: #fff;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table tr:hover td {
  background-color: rgba(var(--theme-color-rgb), 0.05);
}

/* 滚动条样式 */
.spec-table-wrapper {
  max-height: 400px;
  overflow-y: auto;
}

/* 响应式调整 */
@media (max-width: 767px) {
  .specifications-title {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 12px;
  }

  .spec-table {
    min-width: 600px;
  }

  .spec-table th,
  .spec-table td {
    padding: 10px 12px;
  }
}

/* 特性标签样式 */
.spec-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 400;
  border-radius: 10px;
  background-color: var(--theme-color);
  color: #fff;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.feature-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* 响应式调整 */
@media (max-width: 767px) {
  .spec-features {
    gap: 3px;
  }

  .feature-tag {
    padding: 2px 8px;
    font-size: 10px;
  }
}

/* 产品操作按钮样式 */
.product-actions {
  margin-top: 30px;
}

.product-actions .btn {
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.product-actions .btn:hover {
  transform: translateY(-2px);
}

.header-layout1 {
  height: 110px;
}

/* 联系我们标题样式 */
.contact-title {
  font-size: 20px;
  font-weight: 600;
  margin-top: 25px;
  color: #fff;
  position: relative;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* 邮件订阅表单样式 */
.email-input-container {
  position: relative;
}

.email-input-container input {
  padding-right: 50px;
}

/* 状态消息样式 - 放大字体 */
#statusMessage {
  min-height: 24px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.text-info {
  color: #17a2b8;
}

.text-success {
  color: #28a745;
}

.text-danger {
  color: #dc3545;
}

/* 加载动画样式 */
.spinner-border {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  vertical-align: text-bottom;
  border: 0.2em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}

.email-input-container #email {
  color: #fff;
  padding: 16px 0;
}

.email-input-container #email::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
  .hero-section {
    height: 160px;
  }
}
