/* ===== page products-productserviceindex (compiled from Vue SCSS) ===== */
@charset "UTF-8";
.bg-primary-dark {
  background-color: #0b2f2a;
}

.text-primary-light {
  color: #eaf6f2;
}

.section-header {
  margin-bottom: 32px;
}
.section-header.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

/* 1. Hero & Search*/
.page-hero {
  padding: 64px 0;
  background-color: #0b2f2a;
}
.page-hero .search-wrapper {
  max-width: 700px;
  margin: 0 auto;
}
.page-hero .search-wrapper .search-input-group {
  display: flex;
  position: relative;
}
.page-hero .search-wrapper .search-input-group .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #66736e;
}
.page-hero .search-wrapper .search-input-group .form-control {
  flex: 1;
  height: 56px;
  padding-left: 48px;
  border-radius: 8px 0 0 8px;
  border: none;
  font-size: 16px;
  background-color: #ffffff;
  color: #1e2b27;
  /* 防止文字超出，配合 placeholder 省略号*/
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-hero .search-wrapper .search-input-group .form-control:focus {
  outline: none;
  box-shadow: none;
  border: none; /* 强制覆盖可能从全局继承的 focus border*/
}
.page-hero .search-wrapper .search-input-group .form-control:focus::placeholder {
  color: transparent; /* 聚焦时隐藏 placeholder 或使其透明，以防部分浏览器聚焦时重置省略号*/
}
.page-hero .search-wrapper .search-input-group .form-control::placeholder {
  color: #66736e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-hero .search-wrapper .search-input-group .search-btn {
  height: 56px;
  border-radius: 0 8px 8px 0;
  padding: 0 32px;
  background-color: #0b6b5a;
  color: #ffffff;
  border: 1px solid #0b6b5a;
  transition: all 160ms ease;
}
.page-hero .search-wrapper .search-input-group .search-btn:hover {
  background-color: #ffffff;
  color: #0b6b5a;
}
.page-hero .search-wrapper .quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}
.page-hero .search-wrapper .quick-links .quick-tag {
  color: #ffffff;
  font-size: 13px;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 4px;
}
.page-hero .search-wrapper .quick-links .quick-tag:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.page-hero .search-wrapper .hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
}
.page-hero .search-wrapper .hero-actions .action-btn {
  min-width: 120px;
  font-weight: 500;
  transition: all 160ms ease;
}
.page-hero .search-wrapper .hero-actions .action-btn:active {
  transform: scale(0.96) translateY(2px);
}
.page-hero .search-wrapper .hero-actions .btn-list {
  background-color: #0b6b5a;
  color: #ffffff;
  border: 1px solid #0b6b5a;
}
.page-hero .search-wrapper .hero-actions .btn-list:hover, .page-hero .search-wrapper .hero-actions .btn-list:focus, .page-hero .search-wrapper .hero-actions .btn-list:active {
  background-color: #ffffff !important;
  color: #0b6b5a !important;
  border-color: #ffffff !important;
}
.page-hero .search-wrapper .hero-actions .btn-category {
  background-color: #ffffff;
  color: #0b6b5a;
  border: 1px solid #ffffff;
}
.page-hero .search-wrapper .hero-actions .btn-category:hover, .page-hero .search-wrapper .hero-actions .btn-category:focus, .page-hero .search-wrapper .hero-actions .btn-category:active {
  background-color: #0b6b5a !important;
  color: #ffffff !important;
  border-color: #0b6b5a !important;
}

/* 2. Categories*/
.category-section .category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.category-section .category-grid .category-card {
  border: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}
.category-section .category-grid .category-card .cat-img-placeholder {
  height: 160px;
  background-color: #e2ebe8;
  width: 100%;
  flex-shrink: 0;
}
.category-section .category-grid .category-card .card-content {
  padding: 32px;
  flex: 1;
}
.category-section .category-grid .category-card .cat-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d9e5e0;
}
.category-section .category-grid .category-card .cat-header .text-h3 {
  margin: 0;
}
.category-section .category-grid .category-card .sub-category-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.category-section .category-grid .category-card .sub-category-list li a {
  display: block;
  padding: 8px 0;
  color: #66736e;
  font-size: 14px;
  position: relative;
  padding-left: 12px;
}
.category-section .category-grid .category-card .sub-category-list li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #d9e5e0;
  transition: background-color 160ms ease;
}
.category-section .category-grid .category-card .sub-category-list li a:hover {
  color: #0b6b5a;
}
.category-section .category-grid .category-card .sub-category-list li a:hover::before {
  background-color: #0b6b5a;
}

/* 3. Featured Products*/
.featured-products-section .product-card {
  cursor: pointer;
}
.featured-products-section .product-card .prod-img {
  height: 180px;
  background-color: #f0f4f3;
}
.featured-products-section .product-card .card-content {
  padding: 24px;
}
.featured-products-section .product-card .card-content .tag-light-primary {
  display: inline-block;
  font-size: 12px;
  padding: 2px 8px;
  background-color: #eaf6f2;
  color: #0b6b5a;
  border-radius: 4px;
}
.featured-products-section .product-card .card-content .title-wrapper {
  height: 52px; /* 约2行高度*/
  display: flex;
  align-items: flex-start;
}
.featured-products-section .product-card .card-content .title-wrapper .text-h3 {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.featured-products-section .product-card .card-content .desc-wrapper {
  height: 48px; /* 约2行高度*/
}
.featured-products-section .product-card .card-content .prod-desc {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.featured-products-section .product-card .card-content .prod-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.featured-products-section .product-card .card-content .prod-tags .tag-outline {
  font-size: 12px;
  color: #66736e;
  border: 1px solid #d9e5e0;
  padding: 2px 6px;
  border-radius: 4px;
}

/* 4. Services*/
.services-section .service-card {
  cursor: pointer;
  border-color: rgba(11, 107, 90, 0.2);
}
.services-section .service-card:hover {
  border-color: #0b6b5a;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(11, 107, 90, 0.1);
}
.services-section .service-card .card-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.services-section .service-card .card-content .srv-icon {
  font-size: 28px;
  display: flex;
  align-items: center;
}
.services-section .service-card .card-content .srv-desc-wrapper {
  height: 48px;
}
.services-section .service-card .card-content .srv-desc-wrapper .srv-desc {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.5;
}
.services-section .service-card .card-content .srv-details {
  font-size: 13px;
  background-color: #f7faf9;
  padding: 16px;
  border-radius: 8px;
}
.services-section .service-card .card-content .srv-details .detail-row {
  display: flex;
}
.services-section .service-card .card-content .srv-details .detail-row .label {
  color: #66736e;
  width: 70px;
  flex-shrink: 0;
}
.services-section .service-card .card-content .srv-details .detail-row .value {
  color: #1e2b27;
  font-weight: 500;
}
.services-section .service-card .card-content .border-top {
  border-top: 1px dashed #d9e5e0;
}
.services-section .service-card .card-content .flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.services-section .service-card .card-content .srv-actions {
  margin-top: auto;
  padding-top: 16px;
}
.services-section .service-card .card-content .btn-sm {
  height: 32px;
  padding: 0 16px;
  font-size: 13px;
}

/* 5. Apps Banner*/
.apps-link-section .apps-banner {
  padding: 48px 24px;
  border: none;
}
.apps-link-section .apps-banner .apps-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.apps-link-section .apps-banner .apps-pills .btn-pill {
  border-radius: 24px;
}
.apps-link-section .apps-banner .apps-pills .app-pill-btn {
  background-color: #0b6b5a;
  color: #ffffff;
  border: 1px solid #ffffff;
  transition: all 160ms ease;
}
.apps-link-section .apps-banner .apps-pills .app-pill-btn:hover {
  background-color: #ffffff;
  color: #0b6b5a;
}

/* 6. CTA Split*/
.cta-split-section .cta-box {
  height: 100%;
}
.cta-split-section .cta-box .card-content {
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cta-split-section .cta-box .card-content .btn {
  margin-top: auto;
}

.download-box {
  border: none;
}

.consult-box {
  border: none;
}

.cta-hover-btn {
  border: 1px solid #ffffff !important;
  background-color: transparent;
  transition: all 160ms ease;
}
.cta-hover-btn:hover {
  background-color: #ffffff !important;
  color: #0b6b5a !important;
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease, border-color 0.24s ease;
}
.reveal-up.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reverted from utilities.scss */
.mb-4 {
  margin-bottom: 24px;
}

.text-center {
  text-align: center;
}

.text-secondary {
  color: #66736e;
}

.text-sm {
  font-size: 14px;
}

.mb-2 {
  margin-bottom: 12px;
}

.mr-2 {
  margin-right: 12px;
}

.text-primary {
  color: #0b6b5a;
}

.mt-3 {
  margin-top: 16px;
}

.mr-3 {
  margin-right: 16px;
}

.text-white {
  color: #ffffff;
}

.font-weight-bold {
  font-weight: bold;
}

.bg-light {
  background-color: #f7faf9;
}

.bg-primary {
  background-color: #0b6b5a;
}

.bg-primary-light {
  background-color: #eaf6f2;
}

.border {
  border: 1px solid #d9e5e0;
}

.opacity-80 {
  opacity: 0.8;
}

.mt-1 {
  margin-top: 8px;
}

.mb-5 {
  margin-bottom: 32px;
}

.mt-4 {
  margin-top: 24px;
}

.mt-2 {
  margin-top: 12px;
}

.mt-5 {
  margin-top: 32px;
}

.mb-0 {
  margin-bottom: 0;
}

.pt-3 {
  padding-top: 16px;
}

/* Reverted responsive */
@media (max-width: 767px) {
  .section-header &.flex-between {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 767px) {
  .category-section .category-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 16px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .category-section .category-scroll-container::-webkit-scrollbar {
    display: none;
  }
}
@media (max-width: 767px) {
  .category-section .category-grid {
    display: flex;
    width: max-content;
  }
  .category-section .category-grid .category-card {
    width: 280px;
  }
}
@media (min-width: 768px) {
  .category-section .category-grid .category-card .sub-category-list {
    grid-template-columns: repeat(2, 1fr);
  }
}