/*
Theme Name: Younxin B2B
Theme URI: https://younxin.com
Author: Younxin Team
Description: Custom B2B foreign trade website theme for cable accessories / surge arresters / transformers / power equipment export platform. Supports 10 languages, RTL, dynamic unit switching, and RFQ inquiry system.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: proprietary
Text Domain: sunryworld
Domain Path: /languages
Tags: one-column, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ========================================
   CSS VARIABLES / DESIGN SYSTEM
   ======================================== */
:root {
  /* Primary Colors */
  --sw-navy: #0D2E6E;
  --sw-blue: #1A4FA3;
  --sw-blue-hover: #154080;
  --sw-orange: #FF6B35;
  --sw-orange-hover: #e55a28;
  --sw-whatsapp: #25D366;

  /* Neutrals */
  --sw-white: #FFFFFF;
  --sw-gray-50: #F9FAFB;
  --sw-gray-100: #F3F4F6;
  --sw-gray-200: #E5E7EB;
  --sw-gray-300: #D1D5DB;
  --sw-gray-600: #4B5563;
  --sw-gray-800: #1F2937;
  --sw-gray-900: #111827;

  /* Typography */
  --sw-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --sw-container: 1400px;
  --sw-section-padding: 80px 0;

  /* Shadows */
  --sw-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --sw-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --sw-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --sw-transition: all 0.3s ease;
}

/* ========================================
   RESET & BASE
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sw-font-primary);
  color: var(--sw-gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--sw-blue);
  text-decoration: none;
  transition: var(--sw-transition);
}

a:hover {
  color: var(--sw-blue-hover);
}

/* ========================================
   CONTAINER
   ======================================== */
.sw-container {
  max-width: var(--sw-container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   TOP BAR (S1)
   ======================================== */
.sw-topbar {
  background: var(--sw-navy);
  color: var(--sw-white);
  font-size: 11px;
  height: 36px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.sw-topbar .sw-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.sw-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sw-topbar-left a {
  color: var(--sw-white);
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
}

.sw-topbar-left a:hover {
  opacity: 0.8;
  color: var(--sw-white);
}

.sw-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sw-lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--sw-white);
  cursor: pointer;
  font-size: 11px;
}

.sw-lang-switcher img {
  width: 16px;
  height: 12px;
}

.sw-topbar-social {
  display: flex;
  gap: 8px;
}

.sw-topbar-social a {
  color: var(--sw-white);
  font-size: 12px; line-height: 1.3;
}

/* ========================================
   NAVIGATION (S2)
   ======================================== */
.sw-navbar {
  height: 70px;
  background: transparent;
  display: flex;
  align-items: center;
  position: sticky;
  top: 36px;
  z-index: 999;
  transition: var(--sw-transition);
}

.sw-navbar.scrolled {
  height: 56px;
  background: var(--sw-white);
  box-shadow: var(--sw-shadow);
  top: 0;
}

.sw-navbar .sw-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.sw-logo {
  height: 40px;
  width: auto;
}

.sw-logo svg {
  height: 40px;
  width: auto;
}

.sw-nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.sw-nav-menu > li {
  position: relative;
}

.sw-nav-menu > li > a {
  color: var(--sw-white);
  font-size: 12px; line-height: 1.3;
  font-weight: 500;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sw-navbar.scrolled .sw-nav-menu > li > a {
  color: var(--sw-gray-800);
}

.sw-nav-menu > li > a:hover {
  opacity: 0.9;
}

/* Dropdown */
.sw-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--sw-white);
  border-radius: 8px;
  box-shadow: var(--sw-shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--sw-transition);
}

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

.sw-dropdown a {
  display: block;
  padding: 8px 16px;
  color: var(--sw-gray-800);
  font-size: 13px;
  font-weight: 400;
}

.sw-dropdown a:hover {
  background: var(--sw-gray-50);
  color: var(--sw-blue);
}

/* CTA Button */
.sw-btn-primary {
  background: var(--sw-blue);
  color: var(--sw-white) !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 12px; line-height: 1.3;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--sw-transition);
  border: none;
  cursor: pointer;
}

.sw-btn-primary:hover {
  background: var(--sw-blue-hover);
  color: var(--sw-white) !important;
  transform: translateY(-1px);
}

.sw-btn-orange {
  background: var(--sw-orange);
  color: var(--sw-white) !important;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--sw-transition);
  border: none;
  cursor: pointer;
}

.sw-btn-orange:hover {
  background: var(--sw-orange-hover);
  color: var(--sw-white) !important;
  transform: scale(1.03);
}

.sw-btn-outline {
  background: transparent;
  color: var(--sw-white) !important;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--sw-white);
  transition: var(--sw-transition);
  cursor: pointer;
}

.sw-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--sw-white) !important;
}

/* ========================================
   HERO (S3) — B2B Industrial Full-Screen Banner
   ======================================== */
.sw-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.sw-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sw-hero-bg video,
.sw-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-hero-placeholder {
  position: absolute;
  inset: 0;
  background:
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect fill="%23081e42" width="100" height="100"/><circle fill="%230d2e6e" cx="25" cy="25" r="20" opacity="0.3"/><circle fill="%231a4fa3" cx="75" cy="75" r="30" opacity="0.15"/><rect fill="%23ffffff" x="45" y="45" width="10" height="10" opacity="0.03"/></svg>') repeat,
    linear-gradient(160deg, #06132e 0%, #0D2E6E 35%, #163d7a 55%, #0a1a3a 100%);
  background-size: 200px 200px, 100% 100%;
}

.sw-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(13,46,110,0.25) 40%, rgba(13,46,110,0.55) 100%);
  z-index: 1;
}

.sw-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--sw-container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Content area — left/right layout */
.sw-hero-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex: 1;
  align-self: center;
  width: 100%;
}

/* LEFT: Headline block */
.sw-hero-left {
  max-width: 620px;
}

.sw-hero-tag {
  display: inline-block;
  background: var(--sw-orange);
  color: var(--sw-white);
  padding: 6px 18px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.sw-hero-title {
  font-size: 44px;
  font-weight: 700;
  color: var(--sw-white);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.sw-hero-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 520px;
}

.sw-hero-learn-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sw-white);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--sw-orange);
  padding-bottom: 4px;
  transition: var(--sw-transition);
}

.sw-hero-learn-btn:hover {
  color: var(--sw-orange) !important;
  gap: 12px;
}

/* RIGHT: Inquiry button */
.sw-hero-right {
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
  padding-left: 40px;
}

.sw-hero-inquiry-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--sw-orange);
  color: var(--sw-white) !important;
  padding: 20px 36px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 6px 24px rgba(255, 107, 53, 0.45);
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.sw-hero-inquiry-btn span {
  line-height: 1.25;
}

.sw-hero-inquiry-btn:hover {
  background: var(--sw-orange-hover);
  color: var(--sw-white) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.55);
}

.sw-hero-inquiry-btn svg {
  flex-shrink: 0;
}

/* Stats Row — bottom bar */
.sw-hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding-top: 32px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: auto;
}

.sw-hero-stats-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
  text-align: center;
}

.sw-hero-stats-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--sw-orange);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.sw-hero-stats-lbl {
  font-size: 12px;
  color: var(--sw-white);
  opacity: 0.8;
  margin-top: 6px;
  font-weight: 400;
  line-height: 1.3;
  max-width: 130px;
}

.sw-hero-stats-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

/* ========================================
   TRUST BAR (S4) — Number counters
   ======================================== */
.sw-trust-bar {
  background: var(--sw-navy);
  padding: 30px 0;
  color: var(--sw-white);
}

.sw-trust-bar .sw-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}

.sw-trust-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sw-trust-bar-number {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.sw-trust-bar-label {
  font-size: 13px;
  margin-top: 6px;
  opacity: 0.85;
}

/* ========================================
   PRODUCT CATEGORIES (S5)
   ======================================== */
/* ========================================
   PRODUCT CATEGORIES - Dark Theme Redesign
   ======================================== */
.sw-categories {
  padding: 80px 0;
  background: #fff;
}

.sw-categories .sw-section-header h2 {
  color: #0A2647;
}

.sw-categories .sw-section-header p {
  color: #6B7280;
}

.sw-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sw-category-card {
  position: relative;
  background: #0D2E6E;
  border: 1px solid rgba(13,46,110,0.15);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sw-category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #E8792B;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 2;
}

.sw-category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(255,107,53,0.15), 0 8px 24px rgba(0,0,0,0.15);
  border-color: rgba(255,107,53,0.3);
}

.sw-category-card:hover::before {
  transform: scaleY(1);
}

/* Image Area */
.sw-cat-img-wrap {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #0a2040;
}

.sw-cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sw-category-card:hover .sw-cat-img-wrap img {
  transform: scale(1.08);
}

.sw-cat-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(13,46,110,0.6) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.sw-cat-img-num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(255,107,53,0.9);
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
  letter-spacing: 0.5px;
}

/* Content Area */
.sw-cat-content {
  padding: 16px 18px 14px;
}

.sw-cat-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
  transition: color 0.3s;
}

.sw-category-card:hover .sw-cat-name {
  color: #FF6B35;
}

/* Subcategory Tags */
.sw-cat-subs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.sw-cat-sub {
  font-size: 11.5px;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
  padding: 5px 11px;
  border-radius: 20px;
  transition: all 0.2s;
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
}

.sw-cat-sub:hover {
  background: #FF6B35;
  color: #fff;
  border-color: #E8792B;
}

/* View Link */
.sw-cat-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  transition: all 0.3s;
}

.sw-cat-arrow {
  display: inline-block;
  transition: transform 0.3s;
  font-size: 16px;
}

.sw-category-card:hover .sw-cat-view {
  color: #FF6B35;
}

.sw-category-card:hover .sw-cat-arrow {
  transform: translateX(4px);
}

/* Bottom CTA */
.sw-cat-bottom-cta {
  text-align: center;
  margin-top: 48px;
}

.sw-cat-bottom-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: #E8792B;
  color: #fff;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  letter-spacing: 0.3px;
}

.sw-cat-bottom-btn:hover {
  background: #d06a1f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,121,43,0.3);
}

.sw-cat-bottom-btn .sw-cat-arrow {
  font-size: 18px;
}

/* Responsive */
@media (max-width: 1024px) {
  .sw-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sw-cat-img-wrap {
    height: 240px;
  }
}

@media (max-width: 640px) {
  .sw-categories-grid {
    grid-template-columns: 1fr;
  }
  .sw-cat-img-wrap {
    height: 200px;
  }
}


/* ========================================
   CERTIFICATIONS (S7)
   ======================================== */
.sw-certifications {
  padding: var(--sw-section-padding);
  background: var(--sw-gray-50);
}

.sw-cert-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.sw-cert-item {
  width: 120px;
  text-align: center;
  cursor: pointer;
}

.sw-cert-item img {
  width: 100%;
  height: auto;
  margin: 0 auto 8px;
  filter: grayscale(100%);
  transition: var(--sw-transition);
}

.sw-cert-item:hover img {
  filter: grayscale(0%);
}

.sw-cert-item span {
  font-size: 11px;
  color: var(--sw-gray-600);
}

/* ========================================
   FOOTER CTA (S14)
   ======================================== */
.sw-footer-cta {
  background: var(--sw-navy);
  padding: 60px 0;
  text-align: center;
  color: var(--sw-white);
}

.sw-footer-cta h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.sw-footer-cta p {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 24px;
}

.sw-footer-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================
   FOOTER (S15)
   ======================================== */
.sw-footer {
  background: var(--sw-gray-900);
  color: var(--sw-gray-300);
  padding: 48px 0 24px;
}

.sw-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.sw-footer-col h4 {
  color: var(--sw-white);
  font-size: 12px; line-height: 1.3;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sw-footer-col ul {
  list-style: none;
}

.sw-footer-col ul li {
  margin-bottom: 8px;
}

.sw-footer-col ul li a {
  color: var(--sw-gray-300);
  font-size: 13px;
}

.sw-footer-col ul li a:hover {
  color: var(--sw-white);
}

.sw-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.sw-footer-legal {
  display: flex;
  gap: 16px;
}

.sw-footer-legal a {
  color: var(--sw-gray-300);
  font-size: 12px;
}

.sw-footer-legal a:hover {
  color: var(--sw-white);
}

/* ========================================
   FLOATING ELEMENTS
   ======================================== */

/* WhatsApp Button */
.sw-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--sw-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: var(--sw-transition);
}

.sw-whatsapp-btn:hover {
  transform: scale(1.08);
}

.sw-whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--sw-white);
}

/* Back to top */
.sw-back-to-top {
  position: fixed;
  bottom: 90px;
  right: 28px;
  width: 40px;
  height: 40px;
  background: var(--sw-blue);
  color: var(--sw-white);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  cursor: pointer;
  border: none;
  box-shadow: var(--sw-shadow);
  transition: var(--sw-transition);
}

.sw-back-to-top.visible {
  display: flex;
}

.sw-back-to-top:hover {
  background: var(--sw-blue-hover);
}

/* Quote sidebar */
.sw-quote-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9990;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.sw-quote-sidebar a {
  background: var(--sw-blue);
  color: var(--sw-white);
  padding: 16px 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 6px 0 0 6px;
  display: block;
}

.sw-quote-sidebar a:hover {
  background: var(--sw-blue-hover);
  color: var(--sw-white);
}

/* Timezone status */
.sw-tz-status {
  position: fixed;
  right: 0;
  top: calc(50% + 50px);
  transform: translateY(-50%);
  z-index: 9989;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 10px;
  padding: 10px 6px;
  color: var(--sw-gray-600);
  max-width: 30px;
  text-align: center;
  line-height: 1.3;
}

/* ========================================
   PDP — Product Detail Page
   ======================================== */
.sw-pdp {
  padding: 40px 0;
}

.sw-breadcrumb {
  height: 44px;
  display: flex;
  align-items: center;
  background: var(--sw-gray-50);
  padding: 0 20px;
  font-size: 13px;
  margin-bottom: 32px;
}

.sw-breadcrumb a {
  color: var(--sw-gray-600);
}

.sw-breadcrumb span {
  margin: 0 8px;
  color: var(--sw-gray-300);
}

.sw-breadcrumb .current {
  color: var(--sw-gray-800);
  font-weight: 500;
}

.sw-pdp-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Gallery */
.sw-pdp-gallery {
  position: relative;
}

.sw-pdp-main-image {
  width: 100%;
  aspect-ratio: 1;
  background: var(--sw-white);
  border: 1px solid var(--sw-gray-200);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.sw-pdp-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; border-radius: 8px;
  padding: 16px;
}

.sw-pdp-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.sw-pdp-thumb {
  width: 72px;
  height: 72px;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
}

.sw-pdp-thumb.active,
.sw-pdp-thumb:hover {
  border-color: var(--sw-blue);
}

.sw-pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; border-radius: 8px;
  padding: 4px;
}

/* Product Info */
.sw-pdp-info {
  position: sticky;
  top: 80px;
}

.sw-pdp-info h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--sw-gray-900);
  margin-bottom: 12px;
}

.sw-pdp-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.sw-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.sw-badge-cert {
  background: #EBF5FF;
  color: var(--sw-blue);
}

.sw-badge-stock {
  background: #ECFDF5;
  color: #059669;
}

.sw-pdp-sku {
  font-size: 13px;
  color: var(--sw-gray-600);
  margin-bottom: 16px;
}

/* Unit toggle */
.sw-unit-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
}

.sw-unit-toggle label {
  cursor: pointer;
  padding: 4px 12px;
  border: 1px solid var(--sw-gray-300);
  border-radius: 4px;
  font-weight: 500;
  transition: var(--sw-transition);
}

.sw-unit-toggle input:checked + label {
  background: var(--sw-blue);
  color: var(--sw-white);
  border-color: var(--sw-blue);
}

.sw-unit-toggle input {
  display: none;
}

/* Key specs */
.sw-key-specs {
  background: var(--sw-gray-50);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.sw-key-specs table {
  width: 100%;
  border-collapse: collapse;
}

.sw-key-specs td {
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--sw-gray-200);
}

.sw-key-specs td:first-child {
  color: var(--sw-gray-600);
  width: 45%;
}

.sw-key-specs td:last-child {
  font-weight: 500;
}

.sw-key-specs tr:last-child td {
  border-bottom: none;
}

/* CTA buttons */
.sw-pdp-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.sw-pdp-cta .sw-btn-primary {
  width: 100%;
  justify-content: center;
  height: 48px;
}

.sw-pdp-cta .sw-btn-sample {
  width: 100%;
  justify-content: center;
  height: 44px;
  background: transparent;
  border: 1.5px solid var(--sw-blue);
  color: var(--sw-blue);
  border-radius: 6px;
  font-size: 12px; line-height: 1.3;
  font-weight: 600;
  cursor: pointer;
  transition: var(--sw-transition);
}

.sw-pdp-cta .sw-btn-sample:hover {
  background: var(--sw-blue);
  color: var(--sw-white);
}

.sw-pdp-cta .sw-btn-whatsapp {
  width: 100%;
  justify-content: center;
  height: 40px;
  background: var(--sw-whatsapp);
  color: var(--sw-white);
  border-radius: 6px;
  font-size: 12px; line-height: 1.3;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--sw-transition);
}

.sw-pdp-cta .sw-btn-whatsapp:hover {
  background: #1da851;
}

.sw-pdp-cta .sw-btn-datasheet {
  font-size: 13px;
  color: var(--sw-gray-600);
  text-align: center;
}

/* Tabs */
.sw-pdp-tabs {
  margin-top: 48px;
}

.sw-tab-nav {
  display: flex;
  border-bottom: 2px solid var(--sw-gray-200);
  margin-bottom: 24px;
}

.sw-tab-nav button {
  background: none;
  border: none;
  padding: 12px 20px;
  font-size: 12px; line-height: 1.3;
  font-weight: 500;
  color: var(--sw-gray-600);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--sw-transition);
}

.sw-tab-nav button.active {
  color: var(--sw-blue);
  border-bottom-color: var(--sw-blue);
}

.sw-tab-content {
  display: none;
}

.sw-tab-content.active {
  display: block;
}

/* Spec table */
.sw-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.sw-spec-table th {
  background: var(--sw-gray-50);
  padding: 10px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--sw-gray-800);
  border-bottom: 1px solid var(--sw-gray-200);
}

.sw-spec-table td {
  padding: 10px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--sw-gray-100);
}

.sw-spec-table tr:hover td {
  background: var(--sw-gray-50);
}

/* ========================================
   RFQ FORM
   ======================================== */
.sw-rfq-page {
  padding: 60px 0;
  min-height: 60vh;
}

.sw-rfq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.sw-rfq-header {
  text-align: center;
  margin-bottom: 40px;
}

.sw-rfq-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--sw-gray-900);
  margin-bottom: 8px;
}

.sw-rfq-header p {
  color: var(--sw-gray-600);
}

.sw-rfq-product-bar {
  background: #EBF5FF;
  border: 1px solid #BDE0FE;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px; line-height: 1.3;
  color: var(--sw-blue);
  font-weight: 500;
}

.sw-rfq-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sw-rfq-form .full-width {
  grid-column: 1 / -1;
}

.sw-form-group {
  display: flex;
  flex-direction: column;
}

.sw-form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--sw-gray-800);
  margin-bottom: 6px;
}

.sw-form-group label .required {
  color: #EF4444;
}

.sw-form-group input,
.sw-form-group select,
.sw-form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--sw-gray-300);
  border-radius: 6px;
  font-size: 12px; line-height: 1.3;
  font-family: var(--sw-font-primary);
  transition: var(--sw-transition);
}

.sw-form-group input:focus,
.sw-form-group select:focus,
.sw-form-group textarea:focus {
  outline: none;
  border-color: var(--sw-blue);
  box-shadow: 0 0 0 3px rgba(26, 79, 163, 0.1);
}

.sw-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.sw-char-counter {
  font-size: 11px;
  color: var(--sw-gray-600);
  text-align: right;
  margin-top: 4px;
}

.sw-form-warning {
  font-size: 12px;
  color: var(--sw-orange);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sw-consent-group {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--sw-gray-600);
}

.sw-consent-group input[type="checkbox"] {
  margin-top: 3px;
  width: auto;
}

.sw-rfq-submit {
  grid-column: 1 / -1;
  text-align: center;
}

.sw-rfq-submit button {
  min-width: 240px;
}

.sw-tz-notice {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--sw-gray-600);
}

.sw-tz-notice .online {
  color: #059669;
}

/* ========================================
   RESPONSIVE — MOBILE FIRST
   ======================================== */
@media (max-width: 1024px) {
  .sw-hero-title {
    font-size: 36px;
  }

  .sw-hero-stats-num {
    font-size: 26px;
  }

  .sw-hero-stats-item {
    padding: 0 18px;
  }

  .sw-hero-inquiry-btn {
    padding: 16px 28px;
    font-size: 15px;
  }

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

  .sw-pdp-main {
    grid-template-columns: 1fr;
  }

  .sw-pdp-info {
    position: static;
  }
}

@media (max-width: 768px) {
  .sw-topbar-left span {
    display: none;
  }

  .sw-topbar {
    height: 32px;
  }

  .sw-hero {
    min-height: 500px;
  }

  .sw-hero-content {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .sw-hero-left {
    max-width: 100%;
    margin-bottom: 32px;
  }

  .sw-hero-title {
    font-size: 28px;
  }

  .sw-hero-subtitle {
    font-size: 15px;
  }

  .sw-hero-right {
    padding-left: 0;
    width: 100%;
  }

  .sw-hero-inquiry-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 15px;
  }

  .sw-hero-stats-row {
    gap: 8px;
    padding-top: 20px;
    padding-bottom: 24px;
  }

  .sw-hero-stats-item {
    padding: 8px 10px;
    min-width: 45%;
  }

  .sw-hero-stats-num {
    font-size: 24px;
  }

  .sw-hero-stats-lbl {
    font-size: 10px;
  }

  .sw-hero-stats-divider {
    display: none;
  }

  .sw-section-header h2 {
    font-size: 24px;
  }

  .sw-trust-bar .sw-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .sw-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sw-footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .sw-quote-sidebar {
    display: none;
  }

  .sw-tz-status {
    display: none;
  }

  .sw-rfq-form {
    grid-template-columns: 1fr;
  }

  .sw-tab-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .sw-tab-nav button {
    white-space: nowrap;
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* ========================================
   RTL — Arabic
   ======================================== */
html[dir="rtl"] .sw-topbar .sw-container {
  flex-direction: row-reverse;
}

html[dir="rtl"] .sw-topbar-left {
  flex-direction: row-reverse;
}

html[dir="rtl"] .sw-hero-overlay {
  background: rgba(10, 26, 58, 0.65);
}

html[dir="rtl"] .sw-nav-menu {
  flex-direction: row-reverse;
}

html[dir="rtl"] .sw-dropdown {
  left: auto;
  right: 0;
}

html[dir="rtl"] .sw-quote-sidebar {
  right: auto;
  left: 0;
}

html[dir="rtl"] .sw-whatsapp-btn {
  right: auto;
  left: 24px;
}

html[dir="rtl"] .sw-back-to-top {
  right: auto;
  left: 28px;
}

/* ========================================
   RTL — Arabic Extended (Trust Pages)
   ======================================== */
html[dir="rtl"] .sw-hero-inner {
  direction: rtl;
}

html[dir="rtl"] .sw-hero-stats-row {
  direction: rtl;
}

html[dir="rtl"] .sw-trust-bar .sw-container {
  direction: rtl;
}

html[dir="rtl"] .sw-section-header {
  direction: rtl;
}

html[dir="rtl"] .sw-categories-grid {
  direction: rtl;
}

html[dir="rtl"] .sw-cert-grid {
  direction: rtl;
}

html[dir="rtl"] .sw-footer-grid {
  direction: rtl;
}

html[dir="rtl"] .sw-footer-bottom {
  flex-direction: row-reverse;
}

html[dir="rtl"] .sw-footer-legal {
  flex-direction: row-reverse;
}

html[dir="rtl"] .sw-breadcrumb {
  direction: rtl;
}

html[dir="rtl"] .sw-pdp-main {
  direction: rtl;
}

html[dir="rtl"] .sw-pdp-info {
  direction: rtl;
}

html[dir="rtl"] .sw-key-specs table {
  direction: rtl;
}

html[dir="rtl"] .sw-key-specs td:first-child {
  text-align: right;
}

html[dir="rtl"] .sw-spec-table {
  direction: rtl;
}

html[dir="rtl"] .sw-spec-table th {
  text-align: right;
}

html[dir="rtl"] .sw-spec-table td {
  text-align: right;
}

html[dir="rtl"] .sw-tab-nav {
  flex-direction: row-reverse;
}

html[dir="rtl"] .sw-rfq-form {
  direction: rtl;
}

html[dir="rtl"] .sw-rfq-product-bar {
  direction: rtl;
}

html[dir="rtl"] .sw-consent-group {
  flex-direction: row-reverse;
}

/* Arabic font adjustments */
html[dir="rtl"] body {
  font-family: 'Inter', 'Noto Sans Arabic', 'Segoe UI', sans-serif;
}

/* Arabic number formatting — use Western Arabic numerals */
html[dir="rtl"] .sw-trust-bar-number,
html[dir="rtl"] .sw-hero-stats-num,
html[dir="rtl"] .sw-pdp-sku {
  direction: ltr;
  unicode-bidi: embed;
}

/* Trust pages RTL */
html[dir="rtl"] .sw-footer-cta {
  direction: rtl;
}

/* Contact form RTL */
html[dir="rtl"] .sw-form-group label {
  text-align: right;
}

html[dir="rtl"] .sw-form-group input,
html[dir="rtl"] .sw-form-group select,
html[dir="rtl"] .sw-form-group textarea {
  text-align: right;
}

/* Hero RTL */
html[dir="rtl"] .sw-hero-bottom-cta {
  direction: rtl;
}

/* Arabic number formatting */
html[dir="rtl"] .sw-hero-stats-num {
  direction: ltr;
  unicode-bidi: embed;
}

/* Email link RTL fix */
html[dir="rtl"] .sw-topbar-left a span {
  direction: ltr;
  unicode-bidi: embed;
}

/* ========================================
   Factory Equipment Carousel
   ======================================== */
.sw-factory-carousel {
  padding: 60px 0;
  background: #fff;
}

.sw-factory-carousel__header {
  text-align: center;
  margin-bottom: 32px;
}

.sw-factory-carousel__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--sw-navy, #0A2647);
  margin-bottom: 8px;
}

.sw-factory-carousel__subtitle {
  font-size: 15px;
  color: #666;
}

.sw-factory-carousel__wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.sw-factory-carousel__swiper {
  flex: 1;
  overflow: hidden;
}

.sw-factory-carousel__swiper .swiper-slide {
  height: auto;
}

.sw-factory-carousel__card {
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.sw-factory-carousel__card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.sw-factory-carousel__img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9ecef;
}

.sw-factory-carousel__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sw-factory-carousel__caption {
  display: block;
  padding: 8px 10px;
  font-size: 12px;
  color: #555;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Arrow buttons */
.sw-factory-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.2s;
  flex-shrink: 0;
}

.sw-factory-carousel__arrow:hover {
  background: var(--sw-navy, #0A2647);
  color: #fff;
  border-color: var(--sw-navy, #0A2647);
}

.sw-factory-carousel__arrow.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.sw-factory-carousel__arrow--prev {
  left: -20px;
}

.sw-factory-carousel__arrow--next {
  right: -20px;
}

/* Responsive */
@media (max-width: 1199px) {
  .sw-factory-carousel__arrow--prev { left: -12px; }
  .sw-factory-carousel__arrow--next { right: -12px; }
}

@media (max-width: 767px) {
  .sw-factory-carousel {
    padding: 40px 0;
  }
  .sw-factory-carousel__title {
    font-size: 22px;
  }
  .sw-factory-carousel__arrow {
    width: 32px;
    height: 32px;
  }
  .sw-factory-carousel__arrow--prev { left: -8px; }
  .sw-factory-carousel__arrow--next { right: -8px; }
  .sw-factory-carousel__arrow svg {
    width: 18px;
    height: 18px;
  }
}

/* ========================================
   HEADER FIX — Navbar layout overflow
   ======================================== */
.sw-navbar .sw-container {
  flex-wrap: nowrap;
  gap: 0;
}

.sw-nav-menu {
  flex-wrap: nowrap;
  flex: 1;
  justify-content: center;
  gap: 20px;
}

.sw-nav-menu > li > a {
  white-space: nowrap;
  font-size: 13.5px;
  padding: 8px 2px;
}

.sw-logo-link {
  flex-shrink: 0;
}

.sw-btn-primary {
  flex-shrink: 0;
  padding: 8px 18px;
  font-size: 13px;
}

/* Navbar responsive — tablet */
@media (max-width: 1200px) {
  .sw-navbar .sw-container {
    max-width: 100%;
    padding: 0 16px;
  }
  .sw-nav-menu {
    gap: 14px;
  }
  .sw-nav-menu > li > a {
    font-size: 12.5px;
    gap: 2px;
  }
  .sw-btn-primary {
    padding: 7px 14px;
    font-size: 12px;
  }
}

@media (max-width: 1024px) {
  .sw-nav-menu {
    gap: 10px;
  }
  .sw-nav-menu > li > a {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .sw-nav-menu {
    display: none;
  }
  .sw-btn-primary {
    display: none;
  }
  .sw-hamburger {
    display: block !important;
  }
  .sw-navbar .sw-container {
    justify-content: space-between;
  }
}

/* =============================================
   Header nav color modes: hero (white text) vs solid (dark text)
   ============================================= */

/* On hero (homepage, not scrolled): navy bg + white text */
.sw-navbar.sw-nav-hero {
    background: #0D2E6E;
}
.sw-navbar.sw-nav-hero .sw-nav-menu > li > a {
    color: #ffffff;
}
.sw-navbar.sw-nav-hero .sw-nav-menu > li > a:hover {
    color: #F26B2C;
}
.sw-navbar.sw-nav-hero .sw-hamburger svg {
    stroke: #ffffff;
}

/* On white bg (all inner pages, or homepage scrolled): dark text */
.sw-navbar.sw-nav-solid {
    background: #ffffff;
    box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}
.sw-navbar.sw-nav-solid .sw-nav-menu > li > a {
    color: #0E1E3F;
}
.sw-navbar.sw-nav-solid .sw-nav-menu > li > a:hover {
    color: #1E5BB8;
}
.sw-navbar.sw-nav-solid .sw-hamburger svg {
    stroke: #0E1E3F;
}

/* Logo: always brand dark blue, never changes */
.sw-logo-link {
    color: #0E1E3F;
}
.sw-logo svg text {
    fill: #0E1E3F;
    transition: none;
}

/* Smooth color transition on nav links and hamburger */
.sw-nav-menu > li > a,
.sw-hamburger svg {
    transition: color 0.25s ease, stroke 0.25s ease;
}
.sw-navbar {
    transition: background 0.25s ease, box-shadow 0.25s ease, top 0.25s ease;
}

/* Mobile: keep hamburger visible in correct color */
@media (max-width: 768px) {
    .sw-navbar.sw-nav-hero .sw-hamburger svg { stroke: #ffffff; }
    .sw-navbar.sw-nav-solid .sw-hamburger svg { stroke: #0E1E3F; }
}

/* ═══════════════════════════════════════════
   BLOG SYSTEM — Younxin Theme
   ═══════════════════════════════════════════ */

/* Blog Hero */
.sw-blog-hero {
    background: linear-gradient(135deg, #0D2E6E 0%, #1A4FA3 50%, #0E1E3F 100%);
    padding: 60px 0 50px;
    text-align: center;
    color: #fff;
}
.sw-blog-hero__title { font-size: 34px; font-weight: 700; margin: 0 0 10px; color: #fff; }
.sw-blog-hero__sub { font-size: 16px; opacity: 0.85; margin: 0 0 28px; }
.sw-blog-hero__search { display: flex; max-width: 480px; margin: 0 auto; background: rgba(255,255,255,.15); border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.25); }
.sw-blog-hero__input { flex: 1; padding: 12px 16px; background: transparent; border: none; color: #fff; font-size: 15px; outline: none; }
.sw-blog-hero__input::placeholder { color: rgba(255,255,255,.6); }
.sw-blog-hero__btn { padding: 12px 18px; background: #F26B2C; border: none; cursor: pointer; color: #fff; display: flex; align-items: center; transition: background .2s; }
.sw-blog-hero__btn:hover { background: #d95a20; }

/* Category Tabs */
.sw-blog-tabs { background: #fff; border-bottom: 1px solid #e8edf3; }
.sw-blog-tabs__inner { display: flex; gap: 0; }
.sw-blog-tab { padding: 14px 24px; font-size: 12px; line-height: 1.3; font-weight: 500; color: #667; text-decoration: none; border-bottom: 3px solid transparent; transition: all .15s; }
.sw-blog-tab:hover { color: #0E1E3F; }
.sw-blog-tab--active { color: #0E1E3F; border-bottom-color: #F26B2C; font-weight: 600; }

/* Blog Layout */
.sw-blog-main { padding: 40px 0 60px; background: #f4f6fa; }
.sw-blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: start; }

/* Blog Grid */
.sw-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Blog Card */
.sw-blog-card { background: #fff; border: 1px solid #e8edf3; border-radius: 6px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; box-shadow: 0 1px 3px rgba(14,30,63,.06); }
.sw-blog-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(14,30,63,.12); }
.sw-blog-card:hover .sw-blog-card__title { color: #1E5BB8; }
.sw-blog-card__img { position: relative; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, #0D2E6E, #1A4FA3); }
.sw-blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.sw-blog-card:hover .sw-blog-card__img img { transform: scale(1.05); }
.sw-blog-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.sw-blog-card__badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: .5px; }
.sw-blog-card__body { padding: 18px 20px; }
.sw-blog-card__title { font-size: 16px; font-weight: 600; color: #0E1E3F; margin: 0 0 8px; line-height: 1.4; transition: color .15s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sw-blog-card__excerpt { font-size: 13px; color: #667; line-height: 1.5; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sw-blog-card__meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #999; }
.sw-blog-card__dot { color: #ccc; }
.sw-blog-card--small .sw-blog-card__img { aspect-ratio: 16/10; }

/* Blog Sidebar */
.sw-blog-sidebar { position: sticky; top: 110px; }
.sw-blog-widget { background: #fff; border: 1px solid #e8edf3; border-radius: 6px; padding: 20px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(14,30,63,.06); }
.sw-blog-widget__title { font-size: 15px; font-weight: 600; color: #0E1E3F; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid #e8edf3; }
.sw-blog-widget__desc { font-size: 13px; color: #667; margin: 0 0 14px; line-height: 1.5; }

/* Newsletter */
.sw-blog-newsletter { display: flex; gap: 0; }
.sw-blog-newsletter__input { flex: 1; padding: 10px 12px; border: 1px solid #d0d8e3; border-radius: 4px 0 0 4px; font-size: 13px; outline: none; }
.sw-blog-newsletter__input:focus { border-color: #1E5BB8; }
.sw-blog-newsletter__btn { padding: 10px 16px; background: #F26B2C; color: #fff; border: none; border-radius: 0 4px 4px 0; font-size: 13px; font-weight: 500; cursor: pointer; transition: background .15s; }
.sw-blog-newsletter__btn:hover { background: #d95a20; }

/* Tag Cloud */
.sw-blog-tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.sw-blog-tag { display: inline-block; padding: 4px 10px; background: #eef2f9; color: #1E5BB8; border-radius: 4px; font-size: 12px; font-weight: 500; text-decoration: none; transition: all .15s; }
.sw-blog-tag:hover { background: #1E5BB8; color: #fff; }

/* Product Links */
.sw-blog-product-link { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f0f2f5; font-size: 13px; color: #0E1E3F; text-decoration: none; transition: color .15s; }
.sw-blog-product-link:last-child { border-bottom: none; }
.sw-blog-product-link:hover { color: #F26B2C; }

/* Pagination */
.sw-blog-pagination { margin-top: 40px; text-align: center; }
.sw-blog-pagination .nav-links { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; }
.sw-blog-pagination .page-numbers { padding: 8px 14px; border: 1px solid #d0d8e3; border-radius: 4px; font-size: 12px; line-height: 1.3; color: #0E1E3F; text-decoration: none; transition: all .15s; }
.sw-blog-pagination .page-numbers:hover, .sw-blog-pagination .page-numbers.current { background: #0E1E3F; color: #fff; border-color: #0E1E3F; }

/* Empty State */
.sw-blog-empty { text-align: center; padding: 80px 20px; }
.sw-blog-empty__icon { width: 72px; height: 72px; background: #EBF5FF; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.sw-blog-empty h2 { font-size: 24px; color: #0E1E3F; margin-bottom: 8px; }
.sw-blog-empty p { color: #667; margin-bottom: 20px; }
.sw-blog-empty__btn { display: inline-block; padding: 10px 24px; background: #1E5BB8; color: #fff; border-radius: 6px; font-size: 12px; line-height: 1.3; font-weight: 500; text-decoration: none; }
.sw-blog-empty__btn:hover { background: #1648a0; }

/* ─── Single Post ─── */

/* Breadcrumb */
.sw-breadcrumb--blog { background: #f4f6fa; padding: 12px 0; margin: 0; }

/* Post Hero */
.sw-post-hero { background: #f4f6fa; padding: 0 0 30px; }
.sw-post-hero__img { width: 100%; max-height: 400px; overflow: hidden; }
.sw-post-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.sw-post-hero .sw-container { position: relative; margin-top: -40px; background: #fff; border-radius: 8px; padding: 30px 36px; box-shadow: 0 2px 12px rgba(14,30,63,.08); max-width: 900px; }
.sw-post-hero__cat { display: inline-block; padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.sw-post-hero__title { font-size: 32px; font-weight: 700; color: #0E1E3F; margin: 0 0 16px; line-height: 1.3; }
.sw-post-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: #667; }
.sw-post-hero__author-av { width: 28px; height: 28px; border-radius: 50%; background: #0D2E6E; display: flex; align-items: center; justify-content: center; }
.sw-post-hero__author-name { font-weight: 500; color: #0E1E3F; }
.sw-post-hero__sep { color: #ccc; }
.sw-post-hero__updated { font-style: italic; }
.sw-post-hero__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.sw-post-tag { display: inline-block; padding: 3px 10px; background: #eef2f9; color: #1E5BB8; border-radius: 4px; font-size: 12px; text-decoration: none; transition: all .15s; }
.sw-post-tag:hover { background: #1E5BB8; color: #fff; }

/* Post Layout (TOC + Content) */
.sw-post-body { padding: 40px 0 60px; background: #f4f6fa; }
.sw-post-layout { display: grid; grid-template-columns: 200px 1fr 200px; gap: 30px; max-width: 1100px; margin: 0 auto; }

/* TOC */
.sw-post-toc { position: sticky; top: 110px; max-height: calc(100vh - 130px); overflow-y: auto; }
.sw-toc { background: #fff; border: 1px solid #e8edf3; border-radius: 6px; padding: 16px; box-shadow: 0 1px 3px rgba(14,30,63,.06); }
.sw-toc__title { font-size: 13px; font-weight: 600; color: #0E1E3F; margin: 0 0 10px; text-transform: uppercase; letter-spacing: .5px; }
.sw-toc__list { list-style: none; margin: 0; padding: 0; }
.sw-toc__list li { margin-bottom: 4px; }
.sw-toc__list a { font-size: 12px; color: #667; text-decoration: none; line-height: 1.5; display: block; padding: 3px 0; transition: color .15s; }
.sw-toc__list a:hover { color: #1E5BB8; }

/* Post Content */
.sw-post-content { background: #fff; border-radius: 8px; padding: 36px 40px; box-shadow: 0 1px 3px rgba(14,30,63,.06); font-size: 18px; line-height: 1.7; color: #1A2942; }
.sw-post-content h2 { font-size: 24px; font-weight: 600; color: #0E1E3F; margin: 36px 0 16px; padding-top: 12px; border-top: 1px solid #e8edf3; }
.sw-post-content h3 { font-size: 20px; font-weight: 600; color: #0E1E3F; margin: 28px 0 12px; }
.sw-post-content p { margin: 0 0 20px; }
.sw-post-content a { color: #1E5BB8; text-decoration: underline; }
.sw-post-content a:hover { color: #F26B2C; }
.sw-post-content img { max-width: 100%; border-radius: 6px; margin: 20px 0; }
.sw-post-content ul, .sw-post-content ol { margin: 0 0 20px; padding-left: 24px; }
.sw-post-content li { margin-bottom: 6px; }
.sw-post-content blockquote { border-left: 4px solid #1E5BB8; padding: 16px 20px; background: #f4f6fa; border-radius: 0 6px 6px 0; margin: 20px 0; font-style: italic; color: #445; }
.sw-post-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.sw-post-content th, .sw-post-content td { padding: 10px 14px; border: 1px solid #e8edf3; text-align: left; }
.sw-post-content th { background: #f4f6fa; font-weight: 600; color: #0E1E3F; }
.sw-post-pages { margin: 24px 0; font-size: 12px; line-height: 1.3; color: #667; }

/* Inline CTA */
.sw-inline-cta { margin: 28px 0; border: 1px solid #F26B2C; border-radius: 6px; background: #fff8f5; overflow: hidden; }
.sw-inline-cta__inner { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.sw-inline-cta__text { font-size: 15px; font-weight: 500; color: #0E1E3F; margin: 0; }
.sw-inline-cta__btn { display: inline-flex; padding: 8px 18px; background: #F26B2C; color: #fff; border-radius: 4px; font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background .15s; margin-left: auto; }
.sw-inline-cta__btn:hover { background: #d95a20; color: #fff; }

/* Author Card */
.sw-post-author { padding: 40px 0; background: #f4f6fa; }
.sw-author-card { display: flex; gap: 20px; background: #fff; border-radius: 8px; padding: 28px; box-shadow: 0 1px 3px rgba(14,30,63,.06); max-width: 800px; margin: 0 auto; }
.sw-author-card__avatar { flex-shrink: 0; width: 60px; height: 60px; border-radius: 50%; background: #eef2f9; display: flex; align-items: center; justify-content: center; }
.sw-author-card__info { flex: 1; }
.sw-author-card__name { font-size: 16px; font-weight: 600; color: #0E1E3F; margin: 0 0 2px; }
.sw-author-card__role { font-size: 13px; color: #1E5BB8; font-weight: 500; }
.sw-author-card__bio { font-size: 12px; line-height: 1.3; color: #667; line-height: 1.6; margin: 10px 0; }
.sw-author-card__links { display: flex; align-items: center; gap: 16px; }
.sw-author-card__count { font-size: 12px; color: #999; }
.sw-author-card__linkedin { display: flex; align-items: center; gap: 4px; font-size: 13px; color: #1E5BB8; text-decoration: none; }
.sw-author-card__linkedin:hover { color: #0D2E6E; }

/* Related Products */
.sw-post-related-products { padding: 40px 0; background: #fff; }
.sw-section-title { font-size: 22px; font-weight: 700; color: #0E1E3F; margin: 0 0 24px; text-align: center; }
.sw-related-products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 800px; margin: 0 auto; }
.sw-rp-card { background: #f4f6fa; border-radius: 6px; padding: 20px; text-align: center; }
.sw-rp-card__img { width: 60px; height: 60px; margin: 0 auto 12px; background: #e8edf3; border-radius: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sw-rp-card__img img { width: 100%; height: 100%; object-fit: cover; }
.sw-rp-card__title { font-size: 12px; line-height: 1.3; font-weight: 600; color: #0E1E3F; margin: 0 0 4px; }
.sw-rp-card__cat { font-size: 12px; color: #667; }
.sw-rp-card__btn { display: inline-block; margin-top: 12px; padding: 6px 16px; background: #1E5BB8; color: #fff; border-radius: 4px; font-size: 13px; text-decoration: none; }
.sw-rp-card__btn:hover { background: #1648a0; }

/* Related Posts */
.sw-post-related { padding: 40px 0; background: #f4f6fa; }
.sw-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* CTA Banner */
.sw-post-cta { background: #F26B2C; padding: 50px 0; text-align: center; }
.sw-post-cta__title { font-size: 28px; font-weight: 700; color: #fff; margin: 0 0 20px; }
.sw-post-cta__btn { display: inline-block; padding: 14px 32px; background: #0E1E3F; color: #fff; border-radius: 6px; font-size: 16px; font-weight: 600; text-decoration: none; transition: background .15s; }
.sw-post-cta__btn:hover { background: #1a2d52; color: #fff; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .sw-blog-layout { grid-template-columns: 1fr; }
    .sw-blog-sidebar { position: static; }
    .sw-post-layout { grid-template-columns: 1fr; }
    .sw-post-toc { display: none; }
    .sw-post-spacer { display: none; }
    .sw-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .sw-blog-hero { padding: 40px 0 30px; }
    .sw-blog-hero__title { font-size: 24px; }
    .sw-blog-grid { grid-template-columns: 1fr; }
    .sw-blog-tabs__inner { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .sw-blog-tab { padding: 12px 16px; white-space: nowrap; }
    .sw-post-hero .sw-container { padding: 20px; margin-top: -20px; }
    .sw-post-hero__title { font-size: 24px; }
    .sw-post-content { padding: 24px 20px; font-size: 16px; }
    .sw-related-grid { grid-template-columns: 1fr 1fr; }
    .sw-related-products-grid { grid-template-columns: 1fr; }
    .sw-author-card { flex-direction: column; text-align: center; }
    .sw-author-card__links { justify-content: center; }
    .sw-post-cta__title { font-size: 22px; }
}

/* ═══════════════════════════════════════════
   HEADER LAYOUT FIX — flex + nowrap + responsive
   ═══════════════════════════════════════════ */

/* Logo: never wrap or shrink */
.sw-logo-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}
.sw-logo, .sw-logo svg {
    white-space: nowrap;
    overflow: visible;
}

/* Navbar inner container: proper flex layout */
.sw-navbar .sw-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Nav menu: takes remaining space, centers items */
.sw-nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.sw-nav-menu > li > a {
    white-space: nowrap;
    font-size: 12px; line-height: 1.3;
    font-weight: 500;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: color 0.2s;
}

/* CTA button: never shrink */
.sw-navbar .sw-btn-primary {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Hamburger: hidden by default */
.sw-hamburger { display: none !important; }

/* ── Responsive: narrow laptops ── */
@media (max-width: 1100px) {
    .sw-nav-menu { gap: 14px; }
    .sw-nav-menu > li > a { font-size: 13px; }
    .sw-navbar .sw-container { gap: 10px; }
    .sw-btn-primary { padding: 8px 16px; font-size: 13px; }
}

/* ── Responsive: tablet → hamburger ── */
@media (max-width: 900px) {
    .sw-nav-menu { display: none !important; }
    .sw-hamburger { display: flex !important; }
    .sw-navbar .sw-container { justify-content: space-between; }
}

/* ── Mobile nav drawer ── */
.sw-mobile-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.5);
    z-index: 2000;
}
.sw-mobile-nav.open { display: block; }
.sw-mobile-nav__drawer {
    position: absolute;
    top: 0; right: 0;
    width: 280px; height: 100%;
    background: #fff;
    padding: 24px;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0,0,0,.15);
}
.sw-mobile-nav__close {
    background: none; border: none; cursor: pointer;
    padding: 8px; margin-bottom: 20px; float: right;
}
.sw-mobile-nav__drawer ul {
    list-style: none; padding: 0; margin: 0; clear: both;
}
.sw-mobile-nav__drawer li { border-bottom: 1px solid #e8edf3; }
.sw-mobile-nav__drawer a {
    display: block; padding: 14px 0;
    color: #0E1E3F; font-size: 15px; font-weight: 500;
    text-decoration: none;
}
.sw-mobile-nav__drawer a:hover { color: #1E5BB8; }
.sw-mobile-nav__drawer .sw-mobile-cta {
    display: block; margin-top: 24px; padding: 12px 20px;
    background: #F26B2C; color: #fff; border-radius: 6px;
    text-align: center; font-weight: 600; text-decoration: none;
}

/* --- Page Components: About & Factory --- */
/* ========================================
   Page Components: About Us & Factory
   ======================================== */

/* --- Page Hero --- */
.sw-page-hero {
    padding: 80px 0 60px;
    color: #fff;
}
.sw-page-hero__title {
    font-size: 40px;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.2;
}
.sw-page-hero__sub {
    font-size: 18px;
    opacity: .85;
    margin: 0;
}

/* --- Section System --- */
.sw-page-section {
    padding: 72px 0;
}
.sw-page-section--gray {
    background: #F8FAFC;
}
.sw-section-header {
    text-align: center;
    margin-bottom: 48px;
}
.sw-section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #F26B2C;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}
.sw-section-header .sw-section-label {
    display: block;
}
.sw-section-desc {
    color: #64748B;
    font-size: 16px;
    line-height: 1.7;
}

/* --- Two Column Layout --- */
.sw-page-two-col {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}
.sw-page-two-col__text {
    flex: 1.2;
}
.sw-page-two-col__text h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0E1E3F;
    margin: 0 0 16px;
    line-height: 1.3;
}
.sw-page-two-col__text p {
    color: #475569;
    line-height: 1.7;
    margin: 0 0 14px;
}
.sw-page-two-col__visual {
    flex: 1;
}

/* --- Placeholder Box --- */
.sw-placeholder-box {
    background: linear-gradient(135deg, #1E5BB8 0%, #0D2E6E 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 12px;
    overflow: hidden;
}
.sw-placeholder-box span {
    color: rgba(255,255,255,.5);
    font-size: 13px;
    font-weight: 500;
}

/* --- Values Grid --- */
.sw-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.sw-value-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    border: 1px solid #E2E8F0;
}
.sw-value-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.sw-value-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0E1E3F;
    margin: 0 0 10px;
}
.sw-value-card p {
    font-size: 12px; line-height: 1.3;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* --- Global Stats --- */
.sw-global-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.sw-global-stat {
    text-align: center;
    padding: 28px 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.sw-global-stat__number {
    font-size: 36px;
    font-weight: 800;
    color: #1E5BB8;
    line-height: 1;
    margin-bottom: 8px;
}
.sw-global-stat__label {
    font-size: 12px; line-height: 1.3;
    color: #64748B;
    font-weight: 500;
}

/* --- Stat Card --- */
.sw-stat-card {
    text-align: center;
    padding: 28px 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.sw-stat-card__number {
    font-size: 32px;
    font-weight: 800;
    color: #1E5BB8;
    line-height: 1;
    margin-bottom: 8px;
}
.sw-stat-card__label {
    font-size: 13px;
    color: #64748B;
    font-weight: 500;
}

/* --- Timeline --- */
.sw-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 40px;
}
.sw-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #E2E8F0;
}
.sw-timeline__item {
    position: relative;
    padding-bottom: 36px;
}
.sw-timeline__item:last-child {
    padding-bottom: 0;
}
.sw-timeline__dot {
    position: absolute;
    left: -33px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #1E5BB8;
    border: 3px solid #EBF5FF;
    z-index: 1;
}
.sw-timeline__content {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 20px 24px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.sw-timeline__year {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #F26B2C;
    background: #FFF4EB;
    padding: 2px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.sw-timeline__content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0E1E3F;
    margin: 0 0 6px;
}
.sw-timeline__content p {
    font-size: 12px; line-height: 1.3;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* --- Certifications Grid --- */
.sw-cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.sw-cert-card {
    text-align: center;
    padding: 28px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.sw-cert-card__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #1E5BB8;
    background: #EBF5FF;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.sw-cert-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0E1E3F;
    margin: 0 0 6px;
}
.sw-cert-card p {
    font-size: 13px;
    color: #64748B;
    margin: 0;
}

/* --- Cross Link Card --- */
.sw-cross-link-card {
    display: flex;
    gap: 40px;
    align-items: stretch;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    overflow: hidden;
}
.sw-cross-link-card__visual {
    flex: 1;
    min-width: 300px;
}
.sw-cross-link-card__visual .sw-placeholder-box {
    height: 100% !important;
    min-height: 260px;
    border-radius: 0;
}
.sw-cross-link-card__body {
    flex: 1.2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sw-cross-link-card__body h2 {
    font-size: 26px;
    font-weight: 800;
    color: #0E1E3F;
    margin: 0 0 14px;
    line-height: 1.3;
}
.sw-cross-link-card__body p {
    color: #64748B;
    line-height: 1.7;
    margin: 0 0 24px;
}

/* --- Production Lines --- */
.sw-production-lines {
    display: flex;
    flex-direction: column;
    gap: 48px;
}
.sw-production-line {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}
.sw-production-line__photos {
    display: flex;
    gap: 12px;
    flex: 1.5;
}
.sw-production-line__photos .sw-placeholder-box {
    flex: 1;
}
.sw-production-line__info {
    flex: 1;
    padding-top: 12px;
}
.sw-production-line__info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0E1E3F;
    margin: 0 0 10px;
}
.sw-production-line__info p {
    font-size: 12px; line-height: 1.3;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* --- Equipment Grid --- */
.sw-equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.sw-equip-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.sw-equip-card__icon {
    width: 48px;
    height: 48px;
    background: #EBF5FF;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.sw-equip-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0E1E3F;
    margin: 0 0 6px;
}
.sw-equip-card p {
    font-size: 13px;
    color: #64748B;
    line-height: 1.5;
    margin: 0;
}

/* --- Process Flow --- */
.sw-process-flow {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
}
.sw-process-step {
    text-align: center;
    flex: 1;
    max-width: 180px;
    padding: 0 8px;
}
.sw-process-step__number {
    width: 44px;
    height: 44px;
    background: #1E5BB8;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.sw-process-step h4 {
    font-size: 12px; line-height: 1.3;
    font-weight: 700;
    color: #0E1E3F;
    margin: 0 0 8px;
    line-height: 1.3;
}
.sw-process-step p {
    font-size: 12px;
    color: #64748B;
    line-height: 1.5;
    margin: 0;
}
.sw-process-step__arrow {
    padding-top: 14px;
    flex-shrink: 0;
}

/* --- Test List --- */
.sw-test-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}
.sw-test-list li {
    padding: 10px 0;
    border-bottom: 1px solid #E2E8F0;
    font-size: 12px; line-height: 1.3;
    color: #475569;
    line-height: 1.5;
}
.sw-test-list li:last-child {
    border-bottom: none;
}
.sw-test-list li strong {
    color: #0E1E3F;
}

/* --- Gallery Grid --- */
.sw-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.sw-gallery-item {
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    border-radius: 8px;
    overflow: hidden;
}
.sw-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

/* --- Lightbox --- */
.sw-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,.85);
    align-items: center;
    justify-content: center;
}
.sw-lightbox.open {
    display: flex;
}
.sw-lightbox__content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}
.sw-lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sw-lightbox__img img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
}
.sw-lightbox__img .sw-placeholder-box {
    width: 600px;
    height: 400px;
}
.sw-lightbox__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
}

/* --- Buttons --- */
.sw-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F26B2C;
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background .2s;
}
.sw-btn-primary:hover {
    background: #E85D1A;
    color: #fff;
}
.sw-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #1E5BB8;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid #1E5BB8;
    cursor: pointer;
    transition: all .2s;
}
.sw-btn-outline:hover {
    background: #1E5BB8;
    color: #fff;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .sw-values-grid { grid-template-columns: repeat(2, 1fr); }
    .sw-global-stats { grid-template-columns: repeat(2, 1fr); }
    .sw-cert-grid { grid-template-columns: repeat(2, 1fr); }
    .sw-equipment-grid { grid-template-columns: repeat(2, 1fr); }
    .sw-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .sw-factory-stats { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 768px) {
    .sw-page-hero { padding: 60px 0 40px; }
    .sw-page-hero__title { font-size: 28px; }
    .sw-page-section { padding: 48px 0; }
    .sw-page-two-col { flex-direction: column; }
    .sw-values-grid { grid-template-columns: 1fr; }
    .sw-global-stats { grid-template-columns: repeat(2, 1fr); }
    .sw-cert-grid { grid-template-columns: repeat(2, 1fr); }
    .sw-equipment-grid { grid-template-columns: 1fr; }
    .sw-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .sw-cross-link-card { flex-direction: column; }
    .sw-cross-link-card__visual { min-width: auto; }
    .sw-cross-link-card__visual .sw-placeholder-box { min-height: 200px !important; }
    .sw-production-line { flex-direction: column; }
    .sw-production-line__photos { flex-direction: column; }
    .sw-process-flow {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .sw-process-step__arrow {
        transform: rotate(90deg);
    }
    .sw-process-step { max-width: 100%; }
    .sw-factory-stats { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
    .sw-global-stats { grid-template-columns: 1fr 1fr; }
    .sw-gallery-grid { grid-template-columns: 1fr; }
    .sw-factory-stats { grid-template-columns: 1fr !important; }
}

/* ========================================
   Carousel Styles: Hero & Product Showcase
   ======================================== */

/* --- Hero Swiper --- */
.sw-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 750px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.sw-hero > .swiper {
    flex: 1;
    width: 100%;
    height: 100%;
}
.sw-hero-slide {
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sw-hero-slide .sw-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(13,46,110,0.85), rgba(13,46,110,0.25) 50%, transparent 85%);
    z-index: 1;
}
.sw-hero-slide .sw-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.sw-hero-slide .sw-hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}
.sw-hero-slide .sw-hero-left {
    flex: 1.3;
}
.sw-hero-slide .sw-hero-right {
    flex-shrink: 0;
}

/* Hero Swiper Navigation Arrows */
.sw-hero-swiper-prev,
.sw-hero-swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: all .25s;
}
.sw-hero-swiper-prev:hover,
.sw-hero-swiper-next:hover {
    background: rgba(255,255,255,.3);
    border-color: rgba(255,255,255,.5);
}
.sw-hero-swiper-prev { left: 24px; }
.sw-hero-swiper-next { right: 24px; }

/* Hero Swiper Pagination (dots) */
.sw-hero-swiper-pagination {
    position: absolute;
    bottom: 100px !important;
    left: 50% !important;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}
.sw-hero-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,.4);
    opacity: 1;
    border-radius: 10px;
    transition: all .3s;
}
.sw-hero-swiper-pagination .swiper-pagination-bullet-active {
    width: 32px;
    background: #F26B2C;
}

/* Stats row below carousel */
.sw-hero > .sw-hero-stats-row {
    position: relative;
    z-index: 5;
    margin-top: auto;
    flex-shrink: 0;
}

/* --- Product Showcase Section --- */
.sw-product-showcase {
    padding: 80px 0;
    background: #fff;
    overflow: hidden;
}
.sw-product-showcase-track {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

/* Showcase Cards */
.sw-showcase-card {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #E2E8F0;
    text-decoration: none;
    color: inherit;
    transition: transform .25s, box-shadow .25s;
}
.sw-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.sw-showcase-card__img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #F8FAFC;
}
.sw-showcase-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover; border-radius: 8px;
    padding: 12px;
    transition: transform .3s;
}
.sw-showcase-card:hover .sw-showcase-card__img img {
    transform: scale(1.05);
}
.sw-showcase-card__placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #1E5BB8 0%, #0D2E6E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.sw-showcase-card__info {
    padding: 14px 16px;
}
.sw-showcase-card__cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #F26B2C;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}
.sw-showcase-card__info h4 {
    font-size: 12px; line-height: 1.3;
    font-weight: 600;
    color: #0E1E3F;
    margin: 0;
    line-height: 1.4;
}

/* Showcase Navigation */
.sw-showcase-prev,
.sw-showcase-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1E5BB8;
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.sw-showcase-prev:hover,
.sw-showcase-next:hover {
    background: #1E5BB8;
    color: #fff;
    border-color: #1E5BB8;
}
.sw-showcase-prev { left: 0; }
.sw-showcase-next { right: 0; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .sw-hero { max-height: 680px; }
    .sw-hero-swiper-prev,
    .sw-hero-swiper-next { width: 40px; height: 40px; }
    .sw-hero-swiper-prev { left: 12px; }
    .sw-hero-swiper-next { right: 12px; }
    .sw-showcase-card__img,
    .sw-showcase-card__placeholder { height: 150px; }
}
@media (max-width: 768px) {
    .sw-hero { min-height: 500px; max-height: 600px; }
    .sw-hero-slide .sw-hero-content { flex-direction: column; text-align: center; }
    .sw-hero-slide .sw-hero-right { display: none; }
    .sw-hero-swiper-prev,
    .sw-hero-swiper-next { width: 36px; height: 36px; }
    .sw-hero-swiper-pagination { bottom: 80px !important; }
    .sw-product-showcase { padding: 48px 0; }
    .sw-product-showcase-track { padding: 0 36px; }
    .sw-showcase-card__img,
    .sw-showcase-card__placeholder { height: 140px; }
}
@media (max-width: 480px) {
    .sw-hero-swiper-prev,
    .sw-hero-swiper-next { display: none; }
    .sw-hero-swiper-pagination .swiper-pagination-bullet { width: 8px; height: 8px; }
    .sw-hero-swiper-pagination .swiper-pagination-bullet-active { width: 24px; }
    .sw-showcase-prev,
    .sw-showcase-next { width: 32px; height: 32px; }
}

/* ========================================
   WHY CHOOSE US
   ======================================== */
.sw-why-us {
    padding: 80px 0;
    background: #fff;
}
.sw-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.sw-why-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    background: #fff;
    transition: all 0.3s ease;
}
.sw-why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    border-color: transparent;
}
.sw-why-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.sw-why-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0E1E3F;
    margin: 0 0 10px;
}
.sw-why-card p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.sw-how-it-works {
    padding: 80px 0;
    background: #fff;
}
.sw-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}
.sw-step-card {
    text-align: center;
    padding: 0 20px;
    position: relative;
}
.sw-step-num {
    font-size: 48px;
    font-weight: 800;
    color: #EBF5FF;
    line-height: 1;
    margin-bottom: 8px;
}
.sw-step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #EBF5FF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.sw-step-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0E1E3F;
    margin: 0 0 8px;
}
.sw-step-card p {
    font-size: 13px;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}
.sw-step-arrow {
    position: absolute;
    right: -12px;
    top: 80px;
    z-index: 1;
}

/* ========================================
   CUSTOMER TESTIMONIALS
   ======================================== */
.sw-testimonials {
    padding: 80px 0;
    background: #F9FAFB;
}
.sw-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.sw-testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}
.sw-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    border-color: transparent;
}
.sw-testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}
.sw-testimonial-text {
    font-size: 14px;
    color: #374151;
    line-height: 1.7;
    margin: 0 0 20px;
    font-style: italic;
}
.sw-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #F1F5F9;
    padding-top: 16px;
}
.sw-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}
.sw-testimonial-name {
    font-size: 14px;
    font-weight: 600;
    color: #0E1E3F;
}
.sw-testimonial-role {
    font-size: 12px;
    color: #64748B;
}
.sw-testimonial-company {
    font-size: 11px;
    color: #94A3B8;
}

/* ========================================
   RESPONSIVE — New sections
   ======================================== */
@media (max-width: 1024px) {
    .sw-why-grid { grid-template-columns: repeat(2, 1fr); }
    .sw-steps-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .sw-step-arrow { display: none; }
    .sw-testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .sw-why-grid { grid-template-columns: 1fr; }
    .sw-steps-grid { grid-template-columns: 1fr; gap: 24px; }
    .sw-testimonial-grid { grid-template-columns: 1fr; }
}
