/*
Theme Name: ZK
Text Domain: zk
Theme URI: https://www.zktek.com
Author: ZHAOHUA
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: corporate, industrial, chinese, dark-mode, custom-menu, featured-images, translation-ready

Copyright 2024-2026 ZKTEK
*/


:root {
  --color-primary: #646464;
  --color-primary-hover: #ff0015;
  --color-bg-light: #ffffff;
  --color-bg-dark: #ffffff;
  --color-bg-card: transparent;
  --color-border: #333333;
  --color-text-white: #ffffff;
  --color-text-gray: #c6c6c6;
  --color-text-muted: #646464;
  --color-text-black: #1a1a1a;
  --font-primary: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --container-width: 1440px;
  --header-height: 80px;
  --news-date-badge:  rgba(0, 0, 0, 0.8);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


body {
  font-family: var(--font-primary);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.displaynone {
  display: none;
}

.product-actions
{
}
.site-header {
  top: var(--header-height);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-primary);
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.section-header {
  text-align: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text-white);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.section-header h4 {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text-gray);
  letter-spacing: 0.1em;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background-color: var(--color-primary);
  color: var(--color-text-white);
  font-size: 16px;
  font-weight: 500;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  color: var(--color-text-white);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 48px;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-text-white);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Site Footer */
.site-footer {
  background-color: #cccccc;
  color: #111111;
}
.site-footer a,
.site-footer .footer-links a,
.site-footer .friendship-links a,
.site-footer .copyright a {
  color: #333333;
}
.site-footer a:hover,
.site-footer .footer-links a:hover,
.site-footer .friendship-links a:hover,
.site-footer .copyright a:hover {
  color: #000000;
}
.site-footer a {
  color: #dddddd;
}
.site-footer a:hover {
  color: #ffffff;
}
.site-footer .footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 20px 0;
}
.zk-phone {
  display: inline-flex;        /* 保持水平排列 */
  font-size: 18px;             /* 正常大小 */
  font-weight: 600;
  gap:5px;                    /* ✅ 数字间距，避免放大重叠 */
}

.zk-digit {
  display: inline-block;
  transform: scale(1);
  transition: transform 260ms ease;
  /* 关键：防止数字放大时被挤 */
  width: 1ch;                  /* 每个数字占 1 个字符宽度 */
  text-align: center;           /* 居中 */
}

.zk-digit.is-active {
  transform: scale(1.6);
}

.zk-hero {
  position: relative;
  height: 90vh;
  background: url(/path/to/your/bg.jpg) center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zk-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.65)
  );
}

.zk-hero-content {
    position: absolute;
    z-index: 99;
    text-align: center;
    color: #fff;
    max-width: 1500px;
    background-color: rgba(0, 0, 0, 0.1); /* 10% 透明黑色背景 */
    padding: 40px 50px;
    clear: both;
    float:none;
    bottom:250px;
}

.zk-hero-content h1 {
  font-size: 72px;
  margin-bottom: 16px;
}

.zk-hero-content p {
  font-size: 18px;
  opacity: .85;
}

.zk-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 28px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 600;
}
.zk-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

.zk-cards {
  position: absolute;
  bottom: 50px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 10px; /* 叠在 Hero 下方 */
  padding: 0 60px;
  float:none;
  clear: both;
}

.zk-card {
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 32px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.1); /* 黑色背景透明10% */
}

.zk-card:hover {
  transform: scale(1.08);
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.zk-card h3 {
  margin-bottom: 16px;
  font-size: 24px;
  background: var(--color-primary);
  color: var(--color-text-white);
}

.qc-stats {
    z-index: 99;
  display: flex;
  justify-content: space-around;
  align-items: center;
  transition: transform .35s ease, box-shadow .35s ease;
  padding: 20px;
  border-radius: 12px;
  color: #fff;
  font-family: 'Roboto', sans-serif;
}

.qc-stat {
  text-align: center;
}

.qc-number {
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
}

.qc-number span {
  font-size: 1.2rem;
  vertical-align: top;
  margin-left: 4px;
}

.qc-label {
  font-size: 1rem;
  margin-top: 8px;
  text-transform: uppercase;
  opacity: 0.8;
}
/* Ordering Information Section */
.product-ordering-section {
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, #f5f5f5 0%, #f9f9f9 100%);
  border-left: 4px solid var(--color-primary-hover);
  border-radius: 4px;
}

.product-ordering-section h2 {
  margin-top: 0;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary-hover);
  padding-bottom: 10px;
}

.ordering-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.ordering-item {
  padding: 15px;
  background: white;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

.ordering-item strong {
  display: block;
  color: var(--color-primary);
  margin-bottom: 8px;
  font-weight: 600;
}

.ordering-item p {
  margin: 0;
  color: #555;
}

.ordering-subsection {
  margin-top: 20px;
}

.ordering-subsection h3 {
  color: var(--color-primary);
  font-size: 1.1rem;
  margin: 15px 0 10px 0;
}

/* Product variants table */
.product-variants-section {
  margin: 40px 0;
}

.product-variants-section h2 {
  margin-bottom: 16px;
}

.variants-table-wrapper {
  overflow-x: auto;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #ffffff;
}

.variants-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.variants-table th,
.variants-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #ececec;
  font-size: 13px;
  text-align: left;
  white-space: nowrap;
}

.variants-table th {
  background: #f7f7f7;
  font-weight: 700;
  color: #333333;
}

.variants-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.variants-notes {
  margin-top: 16px;
}

.variants-notes h3 {
  font-size: 1rem;
  color: #333333;
  margin-bottom: 8px;
}

.variants-notes ul {
  list-style: disc;
  padding-left: 20px;
  color: #555555;
}

/* Products archive layout */
.products-archive-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.products-sidebar {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 20px;
}

.sidebar-section + .sidebar-section {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e6e6e6;
}

.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 12px;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-item {
  margin: 0;
}

.sidebar-link {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  background: #f6f7f9;
  color: #333333;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

.sidebar-link:hover,
.sidebar-link.is-active {
  background: #0073aa;
  color: #ffffff;
}

.sidebar-empty {
  font-size: 13px;
  color: #777777;
}

.products-archive-layout .section-title {
  text-align: left;
  margin-bottom: 20px;
}

@media (max-width: 1024px) {
  .products-archive-layout {
    grid-template-columns: 1fr;
  }

  .products-sidebar {
    order: 1;
  }

  .products-main {
    order: 2;
  }
}

.discount-list, .delivery-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}

.discount-list li, .delivery-list li {
  padding: 8px 0 8px 25px;
  position: relative;
  color: #555;
}

.discount-list li:before, .delivery-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary-hover);
  font-weight: bold;
}

/* Datasheet Download Section */
.product-datasheet-section {
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, #f0f4f8 0%, #f8fbfc 100%);
  border-left: 4px solid #2196F3;
  border-radius: 4px;
}

.product-datasheet-section h2 {
  margin-top: 0;
  color: var(--color-primary);
  border-bottom: 2px solid #2196F3;
  padding-bottom: 10px;
}

.datasheet-main {
  margin: 20px 0;
}

.btn-download-datasheet {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--color-primary-hover);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--color-primary-hover);
}

.btn-download-datasheet:hover {
  background: transparent;
  color: var(--color-primary-hover);
}

.datasheet-description {
  margin-top: 10px;
  color: #666;
  font-style: italic;
}

.additional-documents {
  margin-top: 25px;
}

.additional-documents h3 {
  color: var(--color-primary);
  font-size: 1.1rem;
  margin: 0 0 15px 0;
}

.document-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.document-list li {
  padding: 12px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.document-list li:hover {
  background: #fafafa;
  border-color: var(--color-primary-hover);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.document-list a {
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  font-weight: 500;
  transition: color 0.3s ease;
}

.document-list a:hover {
  color: var(--color-primary-hover);
}

/* Shipping Information Section */
.product-shipping-section {
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, #f5f0f8 0%, #faf8fc 100%);
  border-left: 4px solid #9C27B0;
  border-radius: 4px;
}

.product-shipping-section h2 {
  margin-top: 0;
  color: var(--color-primary);
  border-bottom: 2px solid #9C27B0;
  padding-bottom: 10px;
}

.shipping-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.shipping-item {
  padding: 15px;
  background: white;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  text-align: center;
}

.shipping-item strong {
  display: block;
  color: var(--color-primary);
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.shipping-item p {
  margin: 0;
  color: #555;
  font-size: 1.1rem;
}

.shipping-subsection {
  margin-top: 20px;
}

.shipping-subsection h3 {
  color: var(--color-primary);
  font-size: 1.1rem;
  margin: 15px 0 10px 0;
}

.handling-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  columns: 2;
  column-gap: 30px;
}

.handling-list li {
  padding: 8px 0 8px 25px;
  position: relative;
  color: #555;
  break-inside: avoid;
}

.handling-list li:before {
  content: "⚠";
  position: absolute;
  left: 0;
  color: var(--color-primary-hover);
  font-weight: bold;
}

/* Ordering Quick Info Panel (in product quick info) */
.product-ordering-quick-info {
  margin-top: 20px;
  padding: 15px;
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  border-left: 4px solid var(--color-primary-hover);
}

.product-ordering-quick-info h3 {
  margin: 0 0 12px 0;
  font-size: 0.95rem;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ordering-quick-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ordering-quick-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
}

.ordering-quick-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ordering-quick-list .label {
  font-weight: 600;
  color: var(--color-primary);
  margin-right: 10px;
}

.ordering-quick-list .value {
  color: #ff0015;
  font-weight: 500;
}

/* Shared Hero Row and Info Card Styles */
.page-hero-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 0 0 16px;
}

.page-hero {
  flex: 0 0 520px;
  max-width: 520px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
}

.page-hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.page-hero-avatars {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;

/* Solutions page cards (match product card pattern) */
.solutions-page {
  margin-top: 24px;
}

.solutions-page .products-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 24px;
  margin: 24px 0 40px;
}

@media (max-width: 1400px) {
  .solutions-page .products-grid {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
  }
}

@media (max-width: 1200px) {
  .solutions-page .products-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

@media (max-width: 992px) {
  .solutions-page .products-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

.solutions-page .product-card-archive {
  position: relative;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  min-height: 360px;
}

.solutions-page .product-card-archive:hover {
  border-color: #0073aa;
  box-shadow: 0 4px 12px rgba(0, 115, 170, 0.15);
}

.solutions-page .product-thumbnail {
  position: relative;
  margin: 0;
  text-align: center;
  overflow: hidden;
  border-radius: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #ffffff;
}

.solutions-page .product-thumbnail a {
  display: block;
  height: 100%;
}

.solutions-page .product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  transition: transform 0.3s ease;
}

.solutions-page .product-card-archive:hover .product-thumbnail img {
  transform: scale(1.05);
}

.solutions-page .product-info {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 12px 14px;
  background: #ffffff;
  color: #1f2937;
  border-top: 1px solid #f0f0f0;
}

.solutions-page .product-name {
  font-size: 1.1em;
  font-weight: 600;
  margin: 0;
  line-height: 1.25;
}

.solutions-page .product-name a {
  color: #0d47a1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.solutions-page .product-name a:hover {
  color: #0b3b8b;
}

.solutions-page .product-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.solutions-page .category-badge {
  display: inline-block;
  padding: 3px 8px;
  background: #eef2f6;
  border-radius: 3px;
  font-size: 11px;
  color: #546e7a;
  border: 1px solid #dde3ea;
}

.solutions-page .product-excerpt {
  font-size: 12px;
  line-height: 1.45;
  color: #607d8b;
  margin-top: 2px;
}

.solutions-page .product-actions {
  margin-top: auto;
  padding-top: 4px;
}
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  justify-content: center;
  margin: 0 auto;
}

.page-hero-avatar-card {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  overflow: hidden;
  background: #f4f6f8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-info-card {
  flex: 1 1 auto;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  min-height: 240px;
}

.page-info-title {
  margin: 0 0 10px;
  font-size: 18px;
}

.page-info-text {
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}

/* Contact page address cards */
.page-contact .contact-content ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.page-contact .contact-content li {
  position: relative;
  padding: 16px 16px 18px 44px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  font-size: 14px;
  line-height: 1.65;
}

.page-contact .contact-content li::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 16px;
  width: 22px;
  height: 22px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d6cdf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.page-contact .contact-content li img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin: 6px 0 12px;
}

.page-contact .contact-content li strong,
.page-contact .contact-content li b {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
  color: #1a1a1a;
}

@media (max-width: 1024px) {
  .page-contact .contact-content ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-contact .contact-content ul {
    grid-template-columns: 1fr;
  }
}

/* Software downloads page */
.page-software .software-downloads {
  margin-top: 24px;
}

.page-software .software-group {
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: #fff;
}

.page-software .software-group h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.page-software .software-group-desc {
  margin: 0 0 12px;
  color: #666;
  font-size: 14px;
}

.page-software .software-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 18px;
}

.page-software .software-list li {
  background: #f8f9fb;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-software .software-list a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
}

.page-software .software-item-type {
  font-size: 12px;
  color: #2d6cdf;
  background: #e9f0ff;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Software archive and cards */
.software-archive {
  padding: 30px 0 60px;
}

.software-header {
  text-align: center;
  margin-bottom: 35px;
}

.software-header h1 {
  font-size: 32px;
  margin: 0 0 10px;
  color: #1a1a1a;
}

.software-header p {
  margin: 0;
  color: #666;
}

.software-category-section {
  margin-bottom: 40px;
  padding: 24px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
}

.software-category-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.software-category-image {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #f4f6f8;
  flex-shrink: 0;
}

.software-category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.software-category-text h3 {
  margin: 0 0 4px;
  font-size: 20px;
  color: #1a1a1a;
}

.software-category-text p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.software-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.software-card {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.software-card a {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
}

.software-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.software-card-body {
  padding: 12px 14px;
  text-align: center;
}

.software-card-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: #f1f1f1;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.software-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.software-placeholder {
  color: #999;
  font-size: 12px;
}

.software-card-body h4 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #1a1a1a;
}

.software-card-body p {
  margin: 0;
  font-size: 13px;
  color: #666;
}

/* Software single intro cards */
.software-single {
  padding: 30px 0 60px;
}

.software-entry-header h1 {
  margin: 0 0 8px;
  font-size: 30px;
  color: #1a1a1a;
}

.software-entry-categories {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.software-entry-categories a {
  color: #0066cc;
  text-decoration: none;
}

.software-entry-content {
  font-size: 15px;
  color: #333;
  line-height: 1.8;
  margin-top: 20px;
}

.software-hero-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 20px 0;
}

.software-hero {
  flex: 0 0 520px;
  max-width: 520px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
}

.software-hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.software-info-card {
  flex: 1 1 auto;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  min-height: 240px;
}

.software-info-title {
  margin: 0 0 10px;
  font-size: 18px;
}

.software-info-text {
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}

.software-download-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.software-download-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  background: #f8f9fb;
}

.software-download-list a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
}

.software-download-type {
  font-size: 12px;
  color: #2d6cdf;
  background: #e9f0ff;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .software-category-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .software-hero-row {
    flex-direction: column;
  }

  .software-hero {
    flex: 1 1 auto;
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .page-software .software-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-software .software-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .page-hero-row {
    flex-direction: column;
  }

  .page-hero {
    flex: 1 1 auto;
    max-width: 100%;
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  .product-ordering-section, 
  .product-datasheet-section, 
  .product-shipping-section {
    padding: 20px;
    margin: 30px 0;
  }

  .ordering-grid,
  .shipping-grid {
    grid-template-columns: 1fr;
  }

  .document-list,
  .handling-list {
    grid-template-columns: 1fr;
    columns: 1;
  }

  .product-ordering-section h2,
  .product-datasheet-section h2,
  .product-shipping-section h2 {
    font-size: 1.3rem;
  }

  .ordering-quick-list li {
    flex-direction: column;
  }

  .ordering-quick-list .label {
    margin-right: 0;
    margin-bottom: 4px;
  }
}