/* ===================================================================
   zs.css — 庄正数控 主题主样式
   现代 CSS 框架 (Grid + Flexbox + Custom Properties)
   替代 Foundation 5 + styles.css
   =================================================================== */

/* ================================================================
   0. CSS Custom Properties (Design Tokens)
   ================================================================ */
:root {
  /* Brand — industrial CNC: steel blue primary, coral accent */
  --zs-red:        #c45a48;
  --zs-blue:       #3d6b8c;
  --zs-blue-light: #5796c7;
  --zs-steel:      #2a3a4a;
  --zs-dark:       #161b22;
  --zs-darker:     #0d1117;

  /* Neutrals */
  --zs-white:      #ffffff;
  --zs-gray-100:   #f4f6f8;
  --zs-gray-200:   #e2e8ee;
  --zs-gray-300:   #c5ced6;
  --zs-gray-400:   #8a97a3;
  --zs-gray-500:   #6b7785;
  --zs-gray-600:   #4a5560;
  --zs-gray-700:   #2d3640;
  --zs-gray-800:   #1c242d;
  --zs-gray-900:   #11161c;

  /* Functional */
  --zs-primary:        var(--zs-blue);
  --zs-primary-hover:  #2f5570;
  --zs-accent:         var(--zs-red);
  --zs-text:           var(--zs-gray-600);
  --zs-heading:        var(--zs-gray-700);
  --zs-link:           var(--zs-blue-light);
  --zs-border:         var(--zs-gray-200);
  --zs-bg:             #eef1f4;
  --zs-bg-white:       var(--zs-white);

  /* Typography */
  --zs-font-sans:      "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --zs-font-mono:      "JetBrains Mono", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  --zs-font-size-base: 16px;
  --zs-font-size-sm:   14px;
  --zs-font-size-lg:   18px;
  --zs-font-size-h1:   2rem;
  --zs-font-size-h2:   1.5rem;
  --zs-font-size-h3:   1.2rem;
  --zs-font-size-h4:   1.05rem;
  --zs-line-height:    1.7;

  /* Spacing */
  --zs-space-xs:  0.25rem;
  --zs-space-sm:  0.5rem;
  --zs-space-md:  1rem;
  --zs-space-lg:  1.5rem;
  --zs-space-xl:  2rem;
  --zs-space-2xl: 3rem;
  --zs-space-3xl: 4rem;

  /* Layout */
  --zs-container: 1140px;
  --zs-radius:    2px;
  --zs-shadow:    0 1px 3px rgba(22,27,34,0.08);
  --zs-shadow-lg: 0 8px 24px rgba(22,27,34,0.12);

  /* Header */
  --zs-header-height: 72px;
  --zs-header-bg: rgba(13,17,23,0.92);

  /* Transitions */
  --zs-transition: 0.2s ease;
}

/* ================================================================
   1. Reset & Base
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--zs-font-size-base);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--zs-font-sans);
  font-size: 1rem;
  line-height: var(--zs-line-height);
  color: var(--zs-text);
  background:
    linear-gradient(180deg, #e8ecf0 0%, var(--zs-bg) 120px);
  background-color: var(--zs-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Prevent legacy colors.css from painting every button (nav/carousel) */
.zs-nav-toggle,
.zs-nav-overlay-close,
.hero-prev,
.hero-next,
.hero-dots button,
.team-carousel-prev,
.team-carousel-next,
.team-carousel-dots button {
  background: transparent;
}

.zs-nav-toggle:hover,
.zs-nav-overlay-close:hover {
  background: transparent;
}

img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--zs-link);
  text-decoration: none;
  transition: color var(--zs-transition);
}

a:hover { color: var(--zs-primary); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  color: var(--zs-heading);
  line-height: 1.3;
  margin-bottom: var(--zs-space-md);
  font-weight: 600;
}

h1 { font-size: var(--zs-font-size-h1); }
h2 { font-size: var(--zs-font-size-h2); }
h3 { font-size: var(--zs-font-size-h3); }
h4 { font-size: var(--zs-font-size-h4); }

p { margin-bottom: var(--zs-space-md); }

hr {
  border: 0;
  border-top: 1px solid var(--zs-border);
  margin: var(--zs-space-xl) 0;
}

::selection {
  background: var(--zs-primary);
  color: #fff;
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--zs-primary);
  outline-offset: 2px;
}

/* Screen reader only */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute; width: 1px;
  word-wrap: normal !important;
}

/* ================================================================
   2. Layout Grid System (CSS Grid, 12-column)
   ================================================================ */
.zs-container {
  width: 100%;
  max-width: var(--zs-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--zs-space-lg);
  padding-right: var(--zs-space-lg);
}

.zs-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--zs-space-xl);
}

.zs-col-3  { grid-column: span 3; }
.zs-col-4  { grid-column: span 4; }
.zs-col-5  { grid-column: span 5; }
.zs-col-6  { grid-column: span 6; }
.zs-col-7  { grid-column: span 7; }
.zs-col-8  { grid-column: span 8; }
.zs-col-9  { grid-column: span 9; }
.zs-col-12 { grid-column: span 12; }

/* Section spacing */
.zs-section {
  padding-top: var(--zs-space-3xl);
  padding-bottom: var(--zs-space-3xl);
}

.zs-section-gray {
  background: var(--zs-gray-100);
}

/* ================================================================
   3. Header (Sticky)
   ================================================================ */
.zs-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--zs-header-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  height: var(--zs-header-height);
  display: flex;
  align-items: center;
}

.zs-header > .zs-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.zs-header-brand {
  display: flex;
  align-items: center;
  gap: var(--zs-space-sm);
  flex-shrink: 0;
}

.zs-header-brand img {
  height: 42px;
  width: auto;
}

.zs-header-brand span {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

/* ================================================================
   4. Desktop Navigation (Bootstrap-style)
   ================================================================ */
.zs-nav {
  display: flex;
  align-items: center;
}

.zs-nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.zs-nav-list > li {
  position: relative;
}

.zs-nav-list > li > a {
  display: block;
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: var(--zs-radius);
  white-space: nowrap;
  transition: color var(--zs-transition), background var(--zs-transition);
}

.zs-nav-list > li > a:hover,
.zs-nav-list > li > a:focus {
  color: #fff;
  background: var(--zs-primary);
}

.zs-nav-list > .current-menu-item > a,
.zs-nav-list > .current_page_parent > a {
  color: #fff;
  background: var(--zs-primary);
}

/* Dropdown */
.zs-nav-list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--zs-gray-800);
  border-radius: var(--zs-radius);
  padding: var(--zs-space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity var(--zs-transition), visibility var(--zs-transition), transform var(--zs-transition);
  z-index: 100;
  box-shadow: var(--zs-shadow-lg);
}

.zs-nav-list li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.zs-nav-list .sub-menu li { display: block; }

.zs-nav-list .sub-menu a {
  display: block;
  padding: 0.5rem 1.2rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  white-space: nowrap;
}

.zs-nav-list .sub-menu a:hover,
.zs-nav-list .sub-menu a:focus {
  color: #fff;
  background: var(--zs-primary);
}

/* ================================================================
   5. Hamburger Toggle (mobile)
   ================================================================ */
.zs-nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--zs-radius);
  padding: 8px 10px;
  cursor: pointer;
  z-index: 2000;
}

.zs-nav-toggle:focus { outline: 2px solid var(--zs-primary); outline-offset: 2px; }

.zs-nav-toggle-icon {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  position: relative;
  transition: background 0.2s ease;
}

.zs-nav-toggle-icon::before,
.zs-nav-toggle-icon::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: #fff; border-radius: 1px;
  position: absolute; left: 0;
  transition: transform 0.25s ease, top 0.25s ease;
}

.zs-nav-toggle-icon::before { top: -6px; }
.zs-nav-toggle-icon::after  { top:  6px; }

.zs-nav-toggle.active .zs-nav-toggle-icon { background: transparent; }
.zs-nav-toggle.active .zs-nav-toggle-icon::before { top: 0; transform: rotate(45deg); }
.zs-nav-toggle.active .zs-nav-toggle-icon::after  { top: 0; transform: rotate(-45deg); }

/* ================================================================
   6. Mobile Full-Screen Overlay
   ================================================================ */
.zs-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.zs-nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.zs-nav-overlay-close {
  position: absolute;
  top: 20px; right: 18px;
  background: none; border: 0;
  color: rgba(255,255,255,0.6);
  font-size: 36px; font-weight: 300;
  padding: 10px; cursor: pointer;
  line-height: 1;
  transition: color var(--zs-transition), transform 0.3s ease;
}

.zs-nav-overlay-close:hover, .zs-nav-overlay-close:focus {
  color: var(--zs-primary);
  transform: rotate(90deg);
  outline: none;
}

.zs-nav-overlay-body {
  text-align: center;
  padding: 60px 20px 40px;
  width: 100%;
  max-width: 420px;
}

.zs-nav-overlay-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.zs-nav-overlay-list > li {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.zs-nav-overlay.active .zs-nav-overlay-list > li {
  opacity: 1;
  transform: translateY(0);
}

.zs-nav-overlay.active .zs-nav-overlay-list > li:nth-child(1) { transition-delay: 0.05s; }
.zs-nav-overlay.active .zs-nav-overlay-list > li:nth-child(2) { transition-delay: 0.10s; }
.zs-nav-overlay.active .zs-nav-overlay-list > li:nth-child(3) { transition-delay: 0.15s; }
.zs-nav-overlay.active .zs-nav-overlay-list > li:nth-child(4) { transition-delay: 0.20s; }
.zs-nav-overlay.active .zs-nav-overlay-list > li:nth-child(5) { transition-delay: 0.25s; }
.zs-nav-overlay.active .zs-nav-overlay-list > li:nth-child(6) { transition-delay: 0.30s; }
.zs-nav-overlay.active .zs-nav-overlay-list > li:nth-child(7) { transition-delay: 0.35s; }
.zs-nav-overlay.active .zs-nav-overlay-list > li:nth-child(8) { transition-delay: 0.40s; }

.zs-nav-overlay-list a {
  display: inline-block;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 24px;
  text-decoration: none;
  position: relative;
  transition: color var(--zs-transition);
}

.zs-nav-overlay-list a::after {
  content: ""; position: absolute;
  bottom: 8px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 1px;
  background: var(--zs-primary);
  transition: width 0.25s ease;
}

.zs-nav-overlay-list a:hover,
.zs-nav-overlay-list a:focus {
  color: var(--zs-primary);
  outline: none;
}

.zs-nav-overlay-list a:hover::after,
.zs-nav-overlay-list a:focus::after { width: 50px; }

.zs-nav-overlay-list .current-menu-item > a,
.zs-nav-overlay-list .current_page_parent > a {
  color: var(--zs-primary);
}

.zs-nav-overlay-list .current-menu-item > a::after,
.zs-nav-overlay-list .current_page_parent > a::after { width: 50px; }

/* Sub-menu in overlay */
.zs-nav-overlay-list .sub-menu {
  display: none;
  padding: 4px 0;
}

.zs-nav-overlay-list .sub-menu.open { display: block; }

.zs-nav-overlay-list .sub-menu a {
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0.5px;
  padding: 8px 24px;
  color: rgba(255,255,255,0.5);
}

.zs-nav-overlay-list .sub-menu a:hover,
.zs-nav-overlay-list .sub-menu a:focus { color: var(--zs-primary); }

/* ================================================================
   7. Hero / Banner Section
   ================================================================ */
.zs-hero {
  position: relative;
  overflow: hidden;
  background: var(--zs-gray-900);
}

.zs-hero-slides {
  display: flex;
  transition: transform 0.5s ease;
}

.zs-hero-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.zs-hero-slide img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 800px;
  object-fit: cover;
}

.zs-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0,0,0,0.35);
  padding: var(--zs-space-xl);
}

.zs-hero-overlay h1 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--zs-space-md);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.zs-hero-overlay p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-bottom: var(--zs-space-lg);
}

/* Hero nav arrows */
.zs-hero-prev, .zs-hero-next {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.4);
  color: #fff; border: 0;
  padding: 12px 16px; cursor: pointer;
  font-size: 1.2rem;
  transition: background var(--zs-transition);
}

.zs-hero-prev:hover, .zs-hero-next:hover { background: rgba(0,0,0,0.7); }
.zs-hero-prev { left: 0; border-radius: 0 var(--zs-radius) var(--zs-radius) 0; }
.zs-hero-next { right: 0; border-radius: var(--zs-radius) 0 0 var(--zs-radius); }

/* Hero dots */
.zs-hero-dots {
  position: absolute; bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}

.zs-hero-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer; padding: 0;
  transition: background var(--zs-transition);
}

.zs-hero-dots button.active,
.zs-hero-dots button:hover { background: #fff; }

/* ================================================================
   8. Buttons
   ================================================================ */
.zs-btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  padding: 0.6em 1.5em;
  border-radius: var(--zs-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--zs-transition);
  font-size: 0.9rem;
  line-height: 1.5;
  text-decoration: none;
}

.zs-btn-primary {
  background: var(--zs-primary);
  color: #fff;
  border-color: var(--zs-primary);
}

.zs-btn-primary:hover {
  background: var(--zs-primary-hover);
  border-color: var(--zs-primary-hover);
  color: #fff;
}

.zs-btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.zs-btn-outline:hover {
  background: #fff;
  color: var(--zs-dark);
}

.zs-btn-outline-red {
  background: transparent;
  color: var(--zs-primary);
  border-color: var(--zs-primary);
}

.zs-btn-outline-red:hover {
  background: var(--zs-primary);
  color: #fff;
}

.zs-btn-sm { font-size: 0.8rem; padding: 0.4em 1em; }
.zs-btn-lg { font-size: 1rem; padding: 0.8em 2em; }

/* ================================================================
   9. Cards
   ================================================================ */
.zs-card {
  background: var(--zs-bg-white);
  border-radius: var(--zs-radius);
  box-shadow: var(--zs-shadow);
  overflow: hidden;
  transition: box-shadow var(--zs-transition), transform var(--zs-transition);
}

.zs-card:hover {
  box-shadow: var(--zs-shadow-lg);
  transform: translateY(-2px);
}

.zs-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.zs-card-body { padding: var(--zs-space-lg); }

.zs-card-body h3 {
  font-size: var(--zs-font-size-h3);
  margin-bottom: var(--zs-space-sm);
}

.zs-card-body h3 a { color: var(--zs-heading); }
.zs-card-body h3 a:hover { color: var(--zs-primary); }

/* ================================================================
   10. Product Grid
   ================================================================ */
.zs-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--zs-space-xl);
}

/* ================================================================
   11. Service Icon Blocks
   ================================================================ */
.zs-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--zs-space-xl);
}

.zs-service-item {
  text-align: center;
  padding: var(--zs-space-xl) var(--zs-space-lg);
}

.zs-service-item img {
  margin: 0 auto var(--zs-space-md);
  height: 64px;
  width: auto;
}

.zs-service-item h3 {
  font-size: 1rem;
  margin-bottom: var(--zs-space-sm);
}

.zs-service-item h3 a { color: var(--zs-heading); }
.zs-service-item h3 a:hover { color: var(--zs-primary); }

.zs-service-item p {
  font-size: 0.85rem;
  color: var(--zs-gray-500);
  margin-bottom: 0;
}

/* ================================================================
   12. Blog Post Cards
   ================================================================ */
.zs-post-card {
  display: flex;
  gap: var(--zs-space-md);
}

.zs-post-date {
  flex-shrink: 0;
  background: var(--zs-primary);
  color: #fff;
  text-align: center;
  padding: 0.5rem 0.6rem;
  border-radius: var(--zs-radius);
  width: 52px;
  height: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.zs-post-date-day { font-size: 1.3rem; font-weight: 700; display: block; }
.zs-post-date-month { font-size: 0.7rem; text-transform: uppercase; }

.zs-post-info h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.zs-post-info h3 a { color: var(--zs-heading); }
.zs-post-info h3 a:hover { color: var(--zs-primary); }

.zs-post-info p {
  font-size: 0.85rem;
  color: var(--zs-gray-500);
  margin-bottom: 0;
}

/* ================================================================
   13. Sidebar
   ================================================================ */
.zs-sidebar {
  background: var(--zs-bg-white);
  padding: var(--zs-space-lg);
  border-radius: var(--zs-radius);
  box-shadow: var(--zs-shadow);
}

.zs-sidebar .widget { margin-bottom: var(--zs-space-lg); }

.zs-sidebar .widget:last-child { margin-bottom: 0; }

.zs-sidebar .widget-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--zs-accent);
  margin-bottom: var(--zs-space-md);
  padding-bottom: var(--zs-space-sm);
  border-bottom: 2px solid var(--zs-border);
}

.zs-sidebar ul li {
  padding: 0.4rem 0;
  border-bottom: 1px dotted var(--zs-border);
}

.zs-sidebar ul li:last-child { border-bottom: 0; }

.zs-sidebar ul li a {
  color: var(--zs-text);
  font-size: 0.9rem;
}

.zs-sidebar ul li a:hover { color: var(--zs-primary); }

/* ================================================================
   14. Breadcrumbs
   ================================================================ */
.zs-breadcrumbs {
  margin-bottom: var(--zs-space-lg);
  font-size: 0.85rem;
  color: var(--zs-gray-500);
}

.zs-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.zs-breadcrumbs li { display: inline-flex; align-items: center; }

.zs-breadcrumbs a { color: var(--zs-accent); }
.zs-breadcrumbs a:hover { text-decoration: underline; }

.zs-breadcrumbs .separator {
  margin: 0 0.4rem;
  color: var(--zs-gray-400);
}

.zs-breadcrumbs [aria-current="page"] {
  color: var(--zs-heading);
  font-weight: 600;
}

/* ================================================================
   15. Product Detail Page
   ================================================================ */
.zs-product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--zs-space-2xl);
  align-items: start;
}

.zs-product-image {
  border-radius: var(--zs-radius);
  overflow: hidden;
  box-shadow: var(--zs-shadow);
}

.zs-product-image img { width: 100%; display: block; }

.zs-product-specs {
  margin: var(--zs-space-lg) 0;
}

.zs-product-specs h2 {
  font-size: var(--zs-font-size-h3);
  margin-bottom: var(--zs-space-md);
}

.zs-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.zs-spec-table th, .zs-spec-table td {
  padding: 0.6rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--zs-border);
  font-size: 0.9rem;
}

.zs-spec-table th {
  background: var(--zs-gray-100);
  color: var(--zs-heading);
  font-weight: 600;
  width: 30%;
}

/* ================================================================
   16. Blog Post Single
   ================================================================ */
.zs-article {
  max-width: 800px;
}

.zs-article-header {
  margin-bottom: var(--zs-space-xl);
}

.zs-article-header h1 {
  font-size: var(--zs-font-size-h1);
  margin-bottom: var(--zs-space-sm);
}

.zs-article-meta {
  font-size: 0.85rem;
  color: var(--zs-gray-500);
  display: flex;
  gap: var(--zs-space-md);
  flex-wrap: wrap;
}

.zs-article-meta span { display: flex; align-items: center; gap: 4px; }

.zs-article-content {
  font-size: 1rem;
  line-height: 1.8;
}

.zs-article-content h2 { margin-top: var(--zs-space-xl); }
.zs-article-content h3 { margin-top: var(--zs-space-lg); }

.zs-article-content p { margin-bottom: var(--zs-space-md); }

.zs-article-content img {
  border-radius: var(--zs-radius);
  margin: var(--zs-space-lg) 0;
}

.zs-article-footer {
  margin-top: var(--zs-space-2xl);
  padding-top: var(--zs-space-lg);
  border-top: 2px solid var(--zs-border);
}

.zs-post-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--zs-space-md);
}

/* ================================================================
   17. Page Header (inner pages)
   ================================================================ */
.zs-page-header {
  background: var(--zs-gray-800);
  color: #fff;
  padding: var(--zs-space-3xl) 0;
  text-align: center;
  margin-bottom: var(--zs-space-2xl);
}

.zs-page-header h1 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: var(--zs-space-sm);
}

.zs-page-header p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ================================================================
   18. Timeline (Company History)
   ================================================================ */
.zs-timeline {
  position: relative;
  padding-left: var(--zs-space-xl);
}

.zs-timeline::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--zs-border);
}

.zs-timeline-item {
  position: relative;
  padding-bottom: var(--zs-space-lg);
}

.zs-timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--zs-space-xl) - 4px);
  top: 4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--zs-primary);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--zs-primary);
}

.zs-timeline-year {
  font-weight: 700;
  color: var(--zs-primary);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.zs-timeline-text {
  font-size: 0.9rem;
  color: var(--zs-gray-600);
}

/* ================================================================
   19. Footer
   ================================================================ */
.zs-footer {
  background: var(--zs-darker);
  color: rgba(255,255,255,0.6);
  padding: var(--zs-space-3xl) 0 var(--zs-space-xl);
  margin-top: var(--zs-space-3xl);
}

.zs-footer h5 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--zs-space-md);
  padding-bottom: var(--zs-space-sm);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.zs-footer a {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  line-height: 2;
}

.zs-footer a:hover { color: var(--zs-primary); }

.zs-footer ul li { line-height: 2; }

.zs-footer-contact p {
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
}

.zs-footer-contact strong {
  color: #fff;
}

.zs-subfooter {
  background: #0a0a14;
  color: rgba(255,255,255,0.4);
  padding: var(--zs-space-lg) 0;
  font-size: 0.8rem;
}

.zs-subfooter .zs-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--zs-space-md);
}

.zs-subfooter a { color: rgba(255,255,255,0.5); }
.zs-subfooter a:hover { color: var(--zs-primary); }

/* ================================================================
   20. Contact Page
   ================================================================ */
.zs-contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--zs-space-lg);
  margin-bottom: var(--zs-space-xl);
}

.zs-contact-card {
  text-align: center;
  padding: var(--zs-space-xl) var(--zs-space-lg);
  background: var(--zs-bg-white);
  border-radius: var(--zs-radius);
  box-shadow: var(--zs-shadow);
}

.zs-contact-card-icon {
  font-size: 2rem;
  margin-bottom: var(--zs-space-sm);
}

.zs-contact-card h3 {
  font-size: 1rem;
  margin-bottom: var(--zs-space-xs);
}

.zs-contact-card p {
  font-size: 0.9rem;
  color: var(--zs-gray-500);
  margin: 0;
}

/* ================================================================
   21. About Page — EEAT
   ================================================================ */
.zs-about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--zs-space-lg);
  margin: var(--zs-space-xl) 0;
  text-align: center;
}

.zs-about-stat {
  padding: var(--zs-space-lg);
}

.zs-about-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--zs-primary);
}

.zs-about-stat-label {
  font-size: 0.85rem;
  color: var(--zs-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ================================================================
   22. Pagination
   ================================================================ */
.zs-pagination {
  margin-top: var(--zs-space-xl);
  text-align: center;
}

.zs-pagination ul {
  display: inline-flex;
  gap: 4px;
}

.zs-pagination ul li a,
.zs-pagination ul li span {
  display: block;
  padding: 0.5rem 0.9rem;
  border-radius: var(--zs-radius);
  color: var(--zs-text);
  font-size: 0.9rem;
  transition: all var(--zs-transition);
}

.zs-pagination ul li a:hover {
  background: var(--zs-gray-200);
}

.zs-pagination ul li .current {
  background: var(--zs-primary);
  color: #fff;
}

/* ================================================================
   23. Utility Classes
   ================================================================ */
.zs-text-center { text-align: center; }
.zs-text-right  { text-align: right; }
.zs-mt-0  { margin-top: 0 !important; }
.zs-mt-md { margin-top: var(--zs-space-md); }
.zs-mt-lg { margin-top: var(--zs-space-lg); }
.zs-mt-xl { margin-top: var(--zs-space-xl); }
.zs-mb-0  { margin-bottom: 0 !important; }
.zs-mb-md { margin-bottom: var(--zs-space-md); }
.zs-mb-lg { margin-bottom: var(--zs-space-lg); }
.zs-mb-xl { margin-bottom: var(--zs-space-xl); }

/* ================================================================
   24. Responsive Breakpoints
   ================================================================ */

/* Tablet: ≤1024px */
@media (max-width: 1024px) {
  .zs-row { gap: var(--zs-space-lg); }

  .zs-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .zs-product-detail {
    grid-template-columns: 1fr;
  }

  .zs-about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .zs-services {
    grid-template-columns: repeat(2, 1fr);
  }

  .zs-contact-info {
    grid-template-columns: 1fr;
  }

  :root {
    --zs-font-size-h1: 1.7rem;
    --zs-font-size-h2: 1.3rem;
  }
}

/* Mobile: ≤768px */
@media (max-width: 768px) {
  :root {
    --zs-header-height: 60px;
    --zs-font-size-base: 16px;
  }

  .zs-container {
    padding-left: var(--zs-space-md);
    padding-right: var(--zs-space-md);
  }

  .zs-section {
    padding-top: var(--zs-space-2xl);
    padding-bottom: var(--zs-space-2xl);
  }

  /* Stack all columns on mobile */
  .zs-row {
    grid-template-columns: 1fr;
    gap: var(--zs-space-lg);
  }

  .zs-col-3, .zs-col-4, .zs-col-5, .zs-col-6,
  .zs-col-7, .zs-col-8, .zs-col-9, .zs-col-12 {
    grid-column: span 1;
  }

  /* Show hamburger, hide desktop nav */
  .zs-nav { display: none; }
  .zs-nav-toggle { display: block; }

  /* Product grid 1 column */
  .zs-product-grid {
    grid-template-columns: 1fr;
  }

  /* Services 1 column */
  .zs-services {
    grid-template-columns: 1fr;
  }

  /* Hero overlay smaller */
  .zs-hero-overlay h1 {
    font-size: 1.5rem;
  }

  .zs-hero-overlay p {
    font-size: 0.9rem;
  }

  /* Footer stack */
  .zs-footer .zs-row {
    gap: var(--zs-space-lg);
  }

  /* Timeline simplifications */
  .zs-timeline {
    padding-left: var(--zs-space-lg);
  }
}

/* Desktop: show nav, hide hamburger */
@media (min-width: 769px) {
  .zs-nav-toggle { display: none !important; }
  .zs-nav-overlay { display: none !important; }
}

/* Small phones */
@media (max-width: 480px) {
  .zs-about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .zs-hero-overlay h1 {
    font-size: 1.3rem;
  }

  .zs-hero-overlay p {
    font-size: 0.8rem;
  }

  .zs-nav-overlay-list a {
    font-size: 1.1rem;
    padding: 12px 16px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }
}

/* ================================================================
   25. Print Styles
   ================================================================ */
@media print {
  .zs-header, .zs-nav-toggle, .zs-nav-overlay,
  .zs-footer, .zs-subfooter, .zs-sidebar,
  .zs-hero-prev, .zs-hero-next, .zs-hero-dots {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  a { color: #000; text-decoration: underline; }
}

/* ================================================================
   26. Legacy Grid Bridge (Foundation .row / .columns)
   Templates still use these classes; Foundation CSS is no longer loaded.
   ================================================================ */
.container,
.main_content.container {
  width: 100%;
  max-width: var(--zs-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--zs-space-lg);
  padding-right: var(--zs-space-lg);
}

.main_content {
  padding: var(--zs-space-2xl) 0 var(--zs-space-xl);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

.row > .columns,
.row > .column {
  position: relative;
  padding-left: 12px;
  padding-right: 12px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.clear { clear: both; width: 100%; height: 0; overflow: hidden; flex-basis: 100%; }

@media (min-width: 769px) {
  .row > .one.columns   { width: 8.333%; }
  .row > .two.columns   { width: 16.666%; }
  .row > .three.columns { width: 25%; }
  .row > .four.columns  { width: 33.333%; }
  .row > .five.columns  { width: 41.666%; }
  .row > .six.columns   { width: 50%; }
  .row > .seven.columns { width: 58.333%; }
  .row > .eight.columns { width: 66.666%; }
  .row > .nine.columns  { width: 75%; }
  .row > .ten.columns   { width: 83.333%; }
  .row > .eleven.columns{ width: 91.666%; }
  .row > .twelve.columns{ width: 100%; }
}

/* ================================================================
   27. Page Banner / Carousel strip
   ================================================================ */
.carousel,
.hero-banner {
  position: relative;
  overflow: hidden;
  background: var(--zs-gray-800);
  line-height: 0;
}

.carousel img,
.hero-banner img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  display: block;
}

/* ================================================================
   28. Hero Slider
   ================================================================ */
.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-slides {
  display: flex;
  transition: transform 0.5s ease;
}

.hero-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.hero-slide img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 800px;
  object-fit: cover;
}

.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(13, 17, 23, 0.45) !important;
  color: #fff;
  border: 0;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: background var(--zs-transition);
}

.hero-prev:hover,
.hero-next:hover,
.hero-prev:focus,
.hero-next:focus {
  background: rgba(13, 17, 23, 0.75) !important;
  outline: 2px solid var(--zs-primary);
  outline-offset: 2px;
}

.hero-prev { left: 0; border-radius: 0 var(--zs-radius) var(--zs-radius) 0; }
.hero-next { right: 0; border-radius: var(--zs-radius) 0 0 var(--zs-radius); }

.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  min-width: 12px;
  min-height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent !important;
  cursor: pointer;
  padding: 0;
  transition: background var(--zs-transition);
}

.hero-dots button.active,
.hero-dots button:hover,
.hero-dots button:focus {
  background: #fff !important;
}

/* ================================================================
   29. Homepage sections
   ================================================================ */
.company-intro {
  background: var(--zs-bg-white);
  box-shadow: var(--zs-shadow);
}

.company-intro h1 {
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  margin-bottom: var(--zs-space-md);
  color: var(--zs-steel);
}

.company-intro h1 strong {
  font-weight: 700;
  border-left: 3px solid var(--zs-primary);
  padding-left: 0.75rem;
}

.company-intro p {
  color: var(--zs-gray-600);
  font-size: 1rem;
}

.company-intro .zs-btn,
.company-intro .link-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65em 1.6em;
  margin-top: var(--zs-space-sm);
  background: var(--zs-primary);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  border: 0;
  border-radius: var(--zs-radius);
  letter-spacing: 0.02em;
  transition: background var(--zs-transition);
}

.company-intro .zs-btn:hover,
.company-intro .link-more:hover {
  background: var(--zs-primary-hover);
  color: #fff !important;
}

.home-split {
  line-height: 0;
  overflow: hidden;
}

.services-block {
  padding-bottom: var(--zs-space-2xl);
}

.services-block .columns > a {
  display: block;
  height: 100%;
  padding: var(--zs-space-xl) var(--zs-space-md);
  text-align: center;
  background: var(--zs-bg-white);
  border: 1px solid var(--zs-border);
  border-top: 3px solid transparent;
  color: inherit;
  transition: border-color var(--zs-transition), box-shadow var(--zs-transition), transform var(--zs-transition);
}

.services-block .columns > a:hover {
  border-top-color: var(--zs-primary);
  box-shadow: var(--zs-shadow-lg);
  transform: translateY(-2px);
  color: inherit;
}

.services-block img {
  margin: 0 auto var(--zs-space-md);
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.services-block h3 {
  font-size: 1.05rem;
  margin-bottom: var(--zs-space-sm);
  color: var(--zs-heading);
}

.services-block p {
  font-size: 0.9rem;
  color: var(--zs-gray-500);
  margin-bottom: 0;
}

.products-section {
  padding-bottom: var(--zs-space-2xl);
}

.products-section h2,
.bottom-block h2,
.page-header .page-title {
  font-size: 1.5rem;
  color: var(--zs-steel);
  margin-bottom: var(--zs-space-xl);
  padding-bottom: var(--zs-space-sm);
  border-bottom: 2px solid var(--zs-border);
  position: relative;
}

.products-section h2::after,
.bottom-block h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 64px;
  height: 2px;
  background: var(--zs-primary);
}

.page-header {
  margin-bottom: var(--zs-space-xl);
  border-bottom: 0;
  padding-bottom: 0;
}

.page-header .page-title {
  padding-top: 0;
  color: var(--zs-heading);
}

/* ================================================================
   30. Portfolio / Product cards
   ================================================================ */
.portfolio-item {
  background: var(--zs-bg-white);
  margin-bottom: var(--zs-space-xl);
  box-shadow: var(--zs-shadow);
  transition: transform var(--zs-transition), box-shadow var(--zs-transition);
  overflow: hidden;
}

.portfolio-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--zs-shadow-lg);
}

.portfolio-item-image {
  text-align: center;
  background: var(--zs-gray-100);
  overflow: hidden;
  aspect-ratio: 7 / 5;
}

.portfolio-item-image a { display: block; }

.portfolio-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-item-content {
  background: #fff;
  padding: var(--zs-space-md);
  text-align: center;
  border-top: 1px solid var(--zs-border);
}

.portfolio-item-content .title {
  margin: 0;
  font-size: 0.95rem;
  text-transform: none;
  line-height: 1.45;
  font-weight: 600;
}

.portfolio-item-content .title a {
  color: var(--zs-heading);
}

.portfolio-item-content .title a:hover {
  color: var(--zs-primary);
}

.portfolio-item-content .subtitle {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--zs-gray-500);
  text-transform: none;
}

.product-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--zs-space-xl);
}

.product-card {
  min-width: 0;
}

.product-card .portfolio-item {
  height: 100%;
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .product-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--zs-space-lg);
  }
}

@media (max-width: 480px) {
  .product-card-grid {
    gap: var(--zs-space-md);
  }

  .product-card .portfolio-item-content {
    padding: var(--zs-space-sm);
  }
}

/* ================================================================
   31. Blog posts (homepage + archive)
   ================================================================ */
.blog-post {
  position: relative;
  margin-bottom: var(--zs-space-md);
  min-height: 64px;
}

.postdate {
  position: absolute;
  left: 0;
  top: 0;
  width: 52px;
  padding: 8px 4px;
  text-align: center;
  background: var(--zs-primary);
  color: #fff;
  text-transform: uppercase;
  border-radius: var(--zs-radius);
}

.postdate .post-date-day,
.postdate .post-date-month {
  display: block;
  color: #fff;
  line-height: 1.2;
}

.postdate .post-date-day {
  font-size: 1.35rem;
  font-weight: 700;
}

.postdate .post-date-month {
  font-size: 0.65rem;
  margin-top: 2px;
}

.post-article {
  margin-bottom: var(--zs-space-xl);
  padding-bottom: var(--zs-space-xl);
  border-bottom: 1px solid var(--zs-border);
}

.post-article .entry-header {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  gap: var(--zs-space-md);
  min-height: 58px;
  margin-bottom: var(--zs-space-md);
}

.post-article .postdate,
.archive-posts .post-article .postdate,
.color-scheme-blue .post-article .postdate {
  position: static;
  grid-column: 1;
  width: 52px;
  box-sizing: border-box;
}

.post-article .entry-header > .entry-title {
  grid-column: 2;
  min-width: 0;
  margin: 0;
  align-self: center;
}

.post-article .entry-header > .entry-title a {
  overflow-wrap: anywhere;
}

.blog-post .entry-title {
  margin-left: 64px;
  min-height: 56px;
}

.blog-post .entry-title h3,
.blog-post .entry-title .uppercase {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  text-transform: none;
}

.blog-post .entry-title a { color: var(--zs-heading); }
.blog-post .entry-title a:hover { color: var(--zs-primary); }

.entry-text {
  font-size: 0.9rem;
  color: var(--zs-gray-500);
  margin: 0.25rem 0 0.5rem;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: var(--zs-primary);
}

.link-btn:hover { color: var(--zs-accent); }

.divider3 {
  border-bottom: 1px dotted var(--zs-border);
  clear: both;
  display: block;
  width: 100%;
  margin: 0.75rem 0;
  padding: 0;
  height: 0;
}

/* ================================================================
   32. Accordion / History
   ================================================================ */
#accordion-style-1 {
  margin-bottom: var(--zs-space-lg);
}

#accordion-style-1 .acc-item {
  border-bottom: 1px solid var(--zs-border);
}

#accordion-style-1 .acc_trigger {
  display: block;
  width: 100%;
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 0.85rem 2rem 0.85rem 0;
  cursor: pointer;
  color: var(--zs-heading);
  background: url(../images/acc_style_1_arr_closed.png) no-repeat right center;
  transition: color var(--zs-transition);
}

#accordion-style-1 .acc_trigger:hover,
#accordion-style-1 .acc_trigger:focus {
  color: var(--zs-primary);
  outline: none;
}

#accordion-style-1 .acc_trigger.active {
  background-image: url(../images/acc_style_1_arr_opened.png);
  color: var(--zs-primary);
  font-weight: 600;
}

.acc_container {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

/* ================================================================
   33. Team carousel
   ================================================================ */
.team-carousel {
  position: relative;
  overflow: hidden;
  margin: var(--zs-space-lg) 0 var(--zs-space-xl);
}

.team-carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.team-carousel-slide {
  flex-shrink: 0;
  padding: 0 6px;
  text-align: center;
  box-sizing: border-box;
  width: 33.333%;
}

.team-carousel-slide img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  border-radius: var(--zs-radius);
}

.team-carousel.center-mode .team-carousel-slide .team-carousel-image-wrap {
  opacity: 0.5;
  transform: scale(0.85);
  transition: all 0.3s ease;
}

.team-carousel.center-mode .team-carousel-slide.active .team-carousel-image-wrap {
  opacity: 1;
  transform: scale(1);
}

.team-carousel-prev,
.team-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid var(--zs-border);
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--zs-gray-600);
  transition: background var(--zs-transition), color var(--zs-transition);
}

.team-carousel-prev { left: 0; }
.team-carousel-next { right: 0; }

.team-carousel-prev:hover,
.team-carousel-next:hover {
  background: var(--zs-primary) !important;
  color: #fff;
  border-color: var(--zs-primary);
}

.team-carousel-prev[disabled],
.team-carousel-next[disabled] {
  opacity: 0.35;
  cursor: default;
}

.team-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--zs-space-md);
}

.team-carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--zs-primary);
  background: transparent !important;
  cursor: pointer;
  padding: 0;
}

.team-carousel-dots button.active {
  background: var(--zs-primary) !important;
}

@media (max-width: 767px) {
  .team-carousel-slide { width: 50%; }
}

@media (max-width: 479px) {
  .team-carousel-slide { width: 100%; }
}

/* ================================================================
   34. Product detail + content overflow
   ================================================================ */
.single-product .product-img-wrapper {
  margin-bottom: var(--zs-space-lg);
  background: #fff;
  box-shadow: var(--zs-shadow);
  overflow: hidden;
}

.single-product .product-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.product-info {
  background: #fff;
  box-shadow: var(--zs-shadow);
  margin-bottom: var(--zs-space-xl);
  overflow: hidden;
}

.product-info-header h1 {
  background: var(--zs-primary);
  color: #fff;
  font-size: 1.25rem;
  padding: 0.85rem 1rem;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.4;
}

.product-info-body {
  font-size: 1rem;
  padding: 1rem;
}

.product-info-body h2,
.product-intro h2 {
  font-size: 1.1rem;
  margin-bottom: var(--zs-space-md);
  color: var(--zs-steel);
}

.product-info-body p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--zs-border);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.product-parameter-title {
  display: inline-block;
  min-width: 6.5rem;
  font-weight: 600;
  color: var(--zs-heading);
}

.product-intro {
  background: #fff;
  padding: var(--zs-space-lg);
  box-shadow: var(--zs-shadow);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.product-intro img,
.entry-content img,
.page-article img,
.type-post img {
  max-width: 100%;
  height: auto;
}

.product-intro table,
.entry-content table,
.page-article table {
  width: 100% !important;
  max-width: 100%;
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
}

.entry-content,
.page-article .entry-content,
.archive-posts {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.entry-content iframe,
.product-intro iframe {
  max-width: 100%;
}

/* ================================================================
   35. Breadcrumbs + Pagination + Sidebar
   ================================================================ */
.breadcrumbs-nav {
  display: block;
  margin: 0 0 var(--zs-space-lg);
  font-size: 0.875rem;
  color: var(--zs-gray-500);
}

.breadcrumbs-nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.breadcrumbs-nav li {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs-nav a { color: var(--zs-link); }
.breadcrumbs-nav a:hover { text-decoration: underline; }
.breadcrumbs-nav .separator { margin: 0 0.4rem; color: var(--zs-gray-400); }
.breadcrumbs-nav [aria-current="page"] {
  color: var(--zs-heading);
  font-weight: 600;
}

.pagination {
  margin: var(--zs-space-2xl) 0;
  text-align: center;
}

.pagination .page-numbers,
.pagination ul {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.pagination li { display: inline-flex; }

.pagination a,
.pagination span,
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  border-radius: var(--zs-radius);
  color: var(--zs-text);
  font-size: 0.9rem;
  background: #fff;
  border: 1px solid var(--zs-border);
  transition: all var(--zs-transition);
}

.pagination a:hover {
  background: var(--zs-gray-100);
  color: var(--zs-primary);
}

.pagination .current {
  background: var(--zs-primary);
  color: #fff;
  border-color: var(--zs-primary);
}

.sidebar,
#secondary.widget-area {
  background: #fff;
  padding: var(--zs-space-lg);
  box-shadow: var(--zs-shadow);
}

.sidebar .widget,
#secondary .widget {
  margin-bottom: var(--zs-space-lg);
}

.sidebar .widget-title,
#secondary .widget-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--zs-primary);
  margin-bottom: var(--zs-space-md);
  padding-bottom: var(--zs-space-sm);
  border-bottom: 2px solid var(--zs-border);
}

.sidebar ul li,
#secondary ul li {
  padding: 0.45rem 0;
  border-bottom: 1px dotted var(--zs-border);
  line-height: 1.5;
}

.sidebar ul li a,
#secondary ul li a {
  color: var(--zs-text);
  font-size: 0.9rem;
  display: inline-block;
  min-height: 32px;
  line-height: 1.6;
}

.sidebar ul li a:hover,
#secondary ul li a:hover { color: var(--zs-primary); }

/* Footer touch targets */
.zs-footer a,
.zs-subfooter a {
  display: inline-block;
  min-height: 32px;
  line-height: 2;
  padding: 2px 0;
  font-size: 0.9rem;
}

.zs-footer-contact p {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.zs-footer-about {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
}

.zs-footer .zs-footer-list,
.zs-footer .zs-footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.zs-footer .zs-footer-list > li,
.zs-footer .zs-footer-nav li {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

/* Custom logo in new header */
.zs-header-brand .custom-logo-link {
  display: flex;
  float: none;
}

.zs-header-brand .custom-logo {
  height: 42px;
  width: auto;
}

/* Skip link visible on focus */
.skip-link:focus {
  clip: auto !important;
  clip-path: none;
  height: auto;
  width: auto;
  display: block;
  z-index: 100000;
  left: 8px;
  top: 8px;
  padding: 0.75rem 1rem;
  background: var(--zs-primary);
  color: #fff;
  text-decoration: none;
}

.zs-footer-bookmarks {
  margin-left: 1rem;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
}

.zs-subfooter .zs-footer-bookmarks ul {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zs-subfooter .zs-footer-bookmarks li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-intro .zs-btn-outline-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 0.5rem;
}

@media (max-width: 480px) {
  .zs-footer-bookmarks {
    margin-left: 0;
  }

  .company-intro .zs-btn,
  .company-intro .link-more,
  .company-intro .zs-btn-outline-red {
    display: flex;
    width: 100%;
    margin-left: 0 !important;
  }
}

#content,
.site-content,
.content-area {
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
}

@media (max-width: 768px) {
  .container,
  .main_content.container {
    padding-left: var(--zs-space-md);
    padding-right: var(--zs-space-md);
  }

  .row {
    margin-left: 0;
    margin-right: 0;
  }

  .row > .columns,
  .row > .column {
    width: 100% !important;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: var(--zs-space-lg);
  }

  .services-block .columns > a {
    margin-bottom: 0;
  }

  .zs-nav-toggle {
    min-width: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .zs-nav-overlay-list a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .carousel img,
  .hero-slide img {
    max-height: 240px;
  }

  .company-intro h1 { font-size: 1.45rem; }

  .product-parameter-title { min-width: 5rem; }

  .sidebar,
  #secondary.widget-area {
    margin-top: var(--zs-space-md);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .row > .four.columns { width: 50%; }
  .row > .five.columns,
  .row > .six.columns { width: 50%; }
  .row > .nine.columns { width: 66.666%; }
  .row > .three.columns { width: 33.333%; }
}
