/* ============================================
   舒足袜业 - Professional Sock Wholesale
   Western B2B Design System
   Inspired by: ThomasNet, Alibaba B2B, European wholesale sites
   ============================================ */

/* ---------- Google Fonts ---------- */
/* Fonts loaded via <link> in HTML for performance (no @import waterfall) */

/* ---------- Reset & Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
#inquiry { scroll-margin-top: 220px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #1a1a2e;
  line-height: 1.65;
  background: #ffffff;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: #1a4c8a; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #0d7a4f; }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.35; color: #0f1c2e; }

/* ---------- Layout ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-gray { background: #f7f8fa; }
.section-white { background: #fff; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.header-top {
  background: #0f1c2e;
  color: #d1d5db;
  font-size: 13px;
  padding: 8px 0;
  font-weight: 400;
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-top-left span { margin-right: 24px; letter-spacing: 0.01em; }
.header-top-right a { color: #d1d5db; margin-left: 15px; font-size: 13px; }
.header-top-right a:hover { color: #fff; }

.header-main {
  padding: 14px 0;
}
.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.site-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: #0f1c2e;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}
.site-logo .logo-text {
  font-size: 22px;
  font-weight: 800;
  color: #0f1c2e;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.site-logo .logo-sub {
  font-size: 11px;
  color: #6b7280;
  letter-spacing: 0.05em;
  margin-top: 1px;
  font-weight: 500;
  white-space: nowrap;
}

/* ---------- Navigation ---------- */
.main-nav {
  display: flex;
  align-items: center;
}
.main-nav ul {
  display: flex;
  gap: 0;
}
.main-nav li { position: relative; }
.main-nav a {
  display: block;
  padding: 8px 9px;
  font-size: 13px;
  white-space: nowrap;
  color: #374151;
  font-weight: 500;
  transition: color 0.2s;
  border-radius: 4px;
}
.main-nav a:hover,
.main-nav a.active {
  color: #0f1c2e;
  background: transparent;
  font-weight: 600;
}
.main-nav a.active {
  border-bottom: 2px solid #1a4c8a;
  border-radius: 0;
}
.main-nav li:hover > a { color: #1a4c8a; }

/* Sub menu */
.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  min-width: 180px;
  display: none;
  z-index: 100;
  padding: 6px 0;
}
.main-nav li:hover .sub-menu { display: block; }
.main-nav .sub-menu a {
  padding: 8px 16px;
  font-size: 14px;
  color: #4b5563;
  border-radius: 0;
}
.main-nav .sub-menu a:hover {
  background: #f3f4f6;
  color: #1a4c8a;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 12px;
  border: none;
  background: none;
  z-index: 210;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0f1c2e;
  margin: 5px 0;
  transition: all 0.3s;
  border-radius: 1px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-cta {
  background: #1a4c8a;
  color: #fff !important;
  padding: 9px 14px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
}
.nav-cta:hover {
  background: #0f1c2e !important;
  color: #fff !important;
}

/* ---------- Hero Banner ---------- */
.hero {
  background: #0f1c2e;
  padding: 100px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at top right, rgba(26,76,138,0.3) 0%, transparent 60%);
}
.hero .container {
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}
.hero-content { flex: 1; }
.hero-image { flex: 1; text-align: center; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 32px;
  opacity: 0.85;
  max-width: 520px;
}
.hero-buttons { display: flex; gap: 12px; }
.btn-hero-primary {
  background: #fff;
  color: #0f1c2e;
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.2s;
}
.btn-hero-primary:hover {
  background: #f3f4f6;
  color: #0f1c2e;
  transform: translateY(-1px);
}
.btn-hero-secondary {
  background: transparent;
  color: #fff;
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.2s;
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}

.hero-image-wrapper {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 24px;
}
.hero-img-placeholder {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: rgba(255,255,255,0.3);
}

/* ---------- Product Categories ---------- */
.categories {
  padding: 80px 0;
  background: #fff;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h1,
.section-header h2 {
  font-size: 32px;
  color: #0f1c2e;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.section-header p {
  font-size: 16px;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}
.section-header .line {
  width: 48px;
  height: 3px;
  background: #1a4c8a;
  margin: 16px auto 0;
  border-radius: 2px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.category-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: pointer;
}
.category-card-featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}
.category-card-featured .category-card-img {
  aspect-ratio: auto;
  min-height: 220px;
}
.category-card-featured .category-card-body {
  align-self: center;
}
.category-card:hover {
  border-color: #c5cad3;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.category-card-img {
  aspect-ratio: 16/10;
  background: #f7f8fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.category-card-img .card-icon {
  font-size: 60px;
  color: #1a4c8a;
  opacity: 0.4;
}
.category-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-card-body {
  padding: 20px;
}
.category-card h3 {
  font-size: 18px;
  color: #0f1c2e;
  margin-bottom: 6px;
}
.category-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}
.category-card .card-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: #1a4c8a;
  font-weight: 600;
}
.category-card .card-link:hover { color: #0f1c2e; }
.category-card .card-link::after {
  content: ' \2192';
}

.categories-cta {
  text-align: center;
  margin-top: 48px;
}
.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border: 1.5px solid #1a4c8a;
  color: #1a4c8a;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.2s;
}
.btn-outline:hover {
  background: #1a4c8a;
  color: #fff;
}

/* ---------- Applications / Use Scenarios ---------- */
.applications {
  padding: 80px 0;
  background: #f7f8fa;
}
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.app-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.2s;
  border: 1px solid #e5e7eb;
}
.app-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border-color: #d1d5db;
}
.app-card-img {
  aspect-ratio: 16/10;
  background: #f7f8fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #1a4c8a;
}
.app-card h3 {
  font-size: 15px;
  color: #0f1c2e;
  padding: 14px 16px 10px;
  text-align: center;
  font-weight: 600;
}
.app-card a {
  display: block;
  text-align: center;
  padding: 6px 16px 14px;
  color: #1a4c8a;
  font-size: 13px;
  font-weight: 500;
}

/* ---------- Why Choose Us ---------- */
.why-us {
  padding: 80px 0;
  background: #fff;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.why-card {
  text-align: left;
  padding: 32px 24px;
  border-radius: 6px;
  transition: all 0.2s;
  border: 1px solid #e5e7eb;
}
.why-card:hover {
  border-color: #1a4c8a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.why-icon {
  width: 48px;
  height: 48px;
  background: #f0f4ff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px;
  font-size: 22px;
  color: #1a4c8a;
}
.why-card h3 {
  font-size: 17px;
  color: #0f1c2e;
  margin-bottom: 8px;
}
.why-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.65;
}

.why-cta {
  text-align: center;
  margin-top: 40px;
}

/* ---------- Production Process ---------- */
.process {
  padding: 80px 0;
  background: #f7f8fa;
}
.process-flow {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.process-flow::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: #d1d5db;
  z-index: 0;
}
.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-step-num {
  width: 64px;
  height: 64px;
  background: #fff;
  color: #0f1c2e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 20px;
  font-weight: 700;
  border: 2px solid #1a4c8a;
  transition: all 0.2s;
}
.process-step:hover .process-step-num {
  background: #1a4c8a;
  color: #fff;
}
.process-step h3 {
  font-size: 15px;
  color: #0f1c2e;
  margin-bottom: 6px;
}
.process-step p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

/* ---------- Featured Products ---------- */
.featured-products {
  padding: 80px 0;
  background: #fff;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.2s;
}
.product-card:hover {
  border-color: #c5cad3;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.product-card-img {
  aspect-ratio: 1/1;
  background: #f7f8fa;
  overflow: hidden;
  position: relative;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.product-card:hover .product-card-img img {
  transform: scale(1.03);
}
.product-card-img .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #d1d5db;
}
.product-card-body {
  padding: 16px 18px 18px;
}
.product-card h4 {
  font-size: 15px;
  color: #1a1a2e;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}
.product-card .product-meta {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 6px;
}
.product-card .product-price {
  font-size: 18px;
  color: #0f1c2e;
  font-weight: 700;
}
.product-card .product-price .unit {
  font-size: 13px;
  color: #9ca3af;
  font-weight: 400;
}
.product-card .product-price .original {
  font-size: 13px;
  color: #d1d5db;
  font-weight: 400;
  text-decoration: line-through;
  margin-left: 8px;
}
.product-card .product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #1a4c8a;
  color: #fff;
  padding: 3px 10px;
  font-size: 11px;
  border-radius: 3px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ---------- Stats / Numbers ---------- */
.stats {
  background: #0f1c2e;
  padding: 64px 0;
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item h3 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 4px;
  color: #fff;
  letter-spacing: -0.02em;
}
.stat-item p {
  font-size: 14px;
  opacity: 0.7;
  font-weight: 400;
}

/* ---------- Blog / News ---------- */
.blog-section {
  padding: 80px 0;
  background: #fff;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.2s;
}
.blog-card:hover {
  border-color: #c5cad3;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.blog-card-img {
  display: block;
  aspect-ratio: 16/9;
  background: #f7f8fa;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.03);
}
.blog-card-img .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #d1d5db;
}
.blog-card-body {
  padding: 24px 22px 22px;
}
.blog-card .blog-date {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 8px;
  font-weight: 500;
}
.blog-card h3 {
  font-size: 18px;
  color: #0f1c2e;
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card h3 a { color: #0f1c2e; }
.blog-card h3 a:hover { color: #1a4c8a; }
.blog-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.65;
}
.blog-card .blog-brief {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.65;
  margin-top: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #f3f4f6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0f1c2e;
  color: #9ca3af;
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-about .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-about .footer-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}
.footer-about .footer-logo .logo-text {
  font-size: 20px;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.footer-about p {
  font-size: 14px;
  line-height: 1.7;
  color: #9ca3af;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 14px;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul a {
  font-size: 14px;
  color: #9ca3af;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: #fff; }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}
.footer-contact .contact-icon {
  font-size: 16px;
  color: #6b7280;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}

/* ---------- Friend Links ---------- */
.friend-links {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}
.friend-links-title {
  font-size: 13px;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.friend-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.friend-links-list li a {
  font-size: 12px;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}
.friend-links-list li a:hover {
  color: #c5c9d0;
  text-decoration: underline;
}
.friend-links-empty {
  font-size: 12px;
  color: #4b5563;
}

/* ---------- List Page Styles ---------- */
.list-page {
  padding: 40px 0 80px;
}
.list-page-header {
  background: #0f1c2e;
  padding: 48px 0;
  color: #fff;
  margin-bottom: 0;
}
.list-page-header h1 {
  font-size: 32px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.list-page-header p {
  font-size: 15px;
  opacity: 0.7;
}

.breadcrumb {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
  padding: 16px 0;
}
.breadcrumb a { color: #1a4c8a; }
.breadcrumb a:hover { color: #0f1c2e; }
.breadcrumb span { color: #9ca3af; }

/* Filter animation */
.product-card.filter-hidden {
  display: none !important;
}
.product-card.page-hidden {
  display: none !important;
}
.product-card.filter-visible {
  display: block;
  animation: filterFadeIn 0.3s ease;
}
@keyframes filterFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.filter-result-count {
  font-size: 14px;
  color: #374151;
  font-weight: 500;
  padding: 12px 0 8px;
  margin-bottom: 8px;
}
/* Filter wrap for multiple groups */
.list-filter {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
}
.filter-label {
  font-size: 14px;
  color: #374151;
  font-weight: 600;
}
.filter-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 6px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  font-size: 13px;
  color: #4b5563;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
  font-weight: 500;
}
.filter-btn:hover {
  border-color: #1a4c8a;
  color: #1a4c8a;
}
.filter-btn.active {
  background: #0f1c2e;
  color: #fff;
  border-color: #0f1c2e;
}
.list-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.filter-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: #9ca3af;
  font-size: 16px;
  background: #f7f8fa;
  border-radius: 6px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  font-size: 14px;
  color: #4b5563;
  font-weight: 500;
}
.pagination span.current {
  background: #0f1c2e;
  color: #fff;
  border-color: #0f1c2e;
}
.pagination a:hover {
  background: #f3f4f6;
  color: #0f1c2e;
  border-color: #d1d5db;
}
.pagination .page-ellipsis {
  border: none;
  padding: 0 6px;
  color: #9ca3af;
  cursor: default;
}
.pagination .page-prev,
.pagination .page-next {
  font-weight: 500;
}

/* ---------- Detail Page Styles ---------- */
.detail-page {
  padding: 40px 0 80px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.detail-images {
  position: relative;
}
.detail-main-img {
  aspect-ratio: 1/1;
  background: #f7f8fa;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
  color: #d1d5db;
  margin-bottom: 12px;
  border: 1px solid #e5e7eb;
}
.detail-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-thumbs {
  display: flex;
  gap: 8px;
}
.detail-thumb {
  width: 72px;
  height: 72px;
  background: #f7f8fa;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #d1d5db;
}
.detail-thumb:hover,
.detail-thumb.active {
  border-color: #1a4c8a;
}

.detail-info h1 {
  font-size: 26px;
  color: #0f1c2e;
  margin-bottom: 16px;
  line-height: 1.3;
}
.detail-price-box,
.detail-moq-box {
  background: #f7f8fa;
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 20px;
  border: 1px solid #e5e7eb;
}
.detail-moq-box .moq {
  font-size: 15px;
  color: #374151;
  line-height: 1.7;
}
.detail-price {
  font-size: 28px;
  color: #0f1c2e;
  font-weight: 700;
}
.detail-price .unit {
  font-size: 14px;
  color: #9ca3af;
}
.detail-price .original {
  font-size: 16px;
  color: #d1d5db;
  text-decoration: line-through;
  margin-left: 12px;
}
.detail-price-box .moq {
  font-size: 14px;
  color: #6b7280;
  margin-top: 8px;
}

.detail-specs {
  margin-bottom: 24px;
}
.detail-specs table {
  width: 100%;
  border-collapse: collapse;
}
.detail-specs th,
.detail-specs td {
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
}
.detail-specs th {
  background: #f7f8fa;
  color: #374151;
  width: 140px;
  font-weight: 600;
  text-align: left;
}
.detail-specs td { color: #1a1a2e; }

.detail-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
/* Detail page QR code section */
.detail-qr-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}
.detail-qr-section h3 {
  font-size: 16px;
  color: #0f1c2e;
  margin-bottom: 16px;
  font-weight: 600;
}
.detail-qr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.detail-qr-item {
  text-align: center;
  background: #f7f8fa;
  border-radius: 6px;
  padding: 20px;
  border: 1px solid #e5e7eb;
}
.detail-qr-item .qr-img {
  width: 120px;
  height: 120px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.detail-qr-item span {
  display: block;
  font-size: 13px;
  color: #4b5563;
  font-weight: 500;
}
.btn-primary {
  display: inline-block;
  background: #1a4c8a;
  color: #fff;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: #0f1c2e;
}
.btn-secondary {
  display: inline-block;
  background: #fff;
  color: #1a4c8a;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid #1a4c8a;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-secondary:hover {
  background: #f7f8fa;
}

.detail-desc {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 32px;
}
.detail-desc h2 {
  font-size: 20px;
  color: #0f1c2e;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}
.detail-desc p {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 12px;
}

/* ---------- About / Contact Pages ---------- */
.page-content {
  padding: 40px 0 80px;
}
.page-header {
  background: #0f1c2e;
  padding: 56px 0;
  color: #fff;
  text-align: center;
  margin-bottom: 0;
}
.page-header h1 {
  font-size: 32px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: #fff;
}
.page-header p {
  font-size: 15px;
  opacity: 0.7;
}

.content-block {
  background: #fff;
  border-radius: 6px;
  padding: 36px;
  border: 1px solid #e5e7eb;
  margin-bottom: 24px;
}
.content-block h2 {
  font-size: 22px;
  color: #0f1c2e;
  margin-bottom: 16px;
}
.content-block p {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 12px;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
}
.contact-form .form-group {
  margin-bottom: 20px;
}
.contact-form label {
  display: block;
  font-size: 14px;
  color: #374151;
  margin-bottom: 6px;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #1a4c8a;
  box-shadow: 0 0 0 3px rgba(26,76,138,0.1);
  outline: none;
}
.contact-form textarea {
  height: 130px;
  resize: vertical;
}

/* ---------- Form Validation ---------- */
.contact-form input.error,
.contact-form select.error,
.contact-form textarea.error {
  border-color: #dc2626;
  background: #fef2f2;
}
.contact-form .form-error {
  display: none;
  color: #dc2626;
  font-size: 12px;
  margin-top: 4px;
}
.form-message {
  text-align: center;
  padding: 16px 20px;
  border-radius: 6px;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 500;
  animation: fadeInUp 0.3s ease;
}
.form-message.success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.form-message.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.btn-primary.loading {
  opacity: 0.7;
  cursor: not-allowed;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: #0f1c2e;
  padding: 72px 0;
  color: #fff;
  text-align: center;
}
.cta-content {
  max-width: 720px;
  margin: 0 auto;
}
.cta-content h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  color: #fff;
}
.cta-content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
  opacity: 0.8;
}
.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.cta-section .btn-primary {
  background: #fff;
  color: #0f1c2e;
  padding: 14px 32px;
  font-size: 15px;
}
.cta-section .btn-primary:hover {
  background: #f3f4f6;
  color: #0f1c2e;
}
.cta-section .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  padding: 14px 32px;
  font-size: 15px;
}
.cta-section .btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}
.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .products-grid,
  .list-products-grid { grid-template-columns: repeat(3, 1fr); }
  .app-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 1350px) {
  .main-nav ul { display: none; }
  .main-nav.menu-open ul { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.08); padding: 16px 0; z-index: 200; border-top: 1px solid #e5e7eb; }
  .main-nav.menu-open .nav-cta { margin: 16px 0 0 18px; }
  .hamburger { display: block; }
  .header-main .container { position: relative; }
}
@media (max-width: 768px) {
  .contact-method-grid,
  .contact-qr-grid { grid-template-columns: 1fr !important; }
  .contact-method-grid > *,
  .contact-qr-grid > * { min-width: 0; overflow-wrap: anywhere; }
  .hero .container { flex-direction: column; text-align: center; }
  .hero h1 { font-size: 28px; }
  .hero p { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-image { display: none; }
  .products-grid,
  .list-products-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: 1fr; }
  .category-card-featured { grid-column: auto; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .nav-cta { margin-left: 8px; padding: 7px 16px; font-size: 13px; }
  .site-header .container { flex-wrap: wrap; }
  .process-flow { flex-wrap: wrap; }
  .process-flow::before { display: none; }
  .process-step { flex: 0 0 calc(50% - 8px); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section-header h1, .section-header h2 { font-size: 26px; }
  .content-block { padding: 24px; }
}
@media (max-width: 480px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-top-left span { margin-right: 8px; }
  .lang-option, .hamburger { min-width: 44px; min-height: 44px; }
  .categories-grid,
  .products-grid,
  .list-products-grid { grid-template-columns: 1fr; }
  .category-card-featured { grid-column: auto; grid-template-columns: 1fr; }
  .category-card-featured .category-card-img { min-height: 0; aspect-ratio: 16/10; }
  .app-grid { grid-template-columns: 1fr; }
}

/* Article templates use the compact header and footer markup. */
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.header-inner .logo { display: flex; align-items: center; gap: 10px; color: #0f1c2e; }
.header-inner .logo-icon { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 6px; background: #0f1c2e; color: #fff; font-weight: 700; }
.header-inner .logo-text { display: flex; flex-direction: column; }
.header-inner .logo-text small { font-size: 12px; color: #4b5563; }
.header-inner .lang-switcher { margin: 0; padding: 0; }
.header-inner .lang-switcher .lang-current { color: #374151; min-height: 44px; }
.site-footer h3, .site-footer h4 { color: #fff; }
.site-footer .footer-grid a { color: #d1d5db; display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .footer-grid a:hover { color: #fff; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.article-checklist label { display: block; min-height: 44px; padding: 8px 0; cursor: pointer; }
.article-checklist input[type="checkbox"] { width: 18px; height: 18px; margin-right: 8px; vertical-align: middle; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 4px; }
@media (max-width: 1280px) {
  .header-inner { flex-wrap: wrap; }
  .header-inner .main-nav ul { display: none; }
  .header-inner .hamburger { display: block; font-size: 24px; }
  .header-inner .main-nav.menu-open ul { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 16px; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
}

/* ---------- Language Switcher ---------- */
.lang-switcher {
  position: relative;
  display: inline-block;
  margin-left: 15px;
  font-size: 13px;
  padding-bottom: 10px;
}
.lang-switcher .lang-current {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #d1d5db;
  background: transparent;
  border: 0;
  font: inherit;
  padding: 2px 8px;
  border-radius: 3px;
  transition: background 0.2s;
}
.lang-switcher .lang-current:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.lang-switcher .lang-current::after {
  content: '\25BE';
  font-size: 10px;
  margin-left: 2px;
}
.lang-switcher .lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 120px;
  z-index: 10001;
  margin-top: 4px;
  padding: 6px 0;
}
.lang-switcher.open .lang-dropdown,
.lang-switcher:hover .lang-dropdown,
.lang-dropdown.open {
  display: block;
}
.lang-switcher .lang-option {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  padding: 8px 14px;
  color: #374151;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.lang-switcher .lang-option:hover {
  background: #f3f4f6;
  color: #1a4c8a;
}
.lang-switcher .lang-option.active {
  background: #f0f4ff;
  color: #1a4c8a;
  font-weight: 600;
}
.lang-switcher .lang-option.active::before {
  content: '\2713\ ';
  margin-right: 4px;
}

/* ---------- Product card without price ---------- */
.product-card .product-actions {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}
.product-card .btn-inquire {
  display: inline-block;
  background: #1a4c8a;
  color: #fff;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
  width: 100%;
}
.product-card .btn-inquire:hover {
  background: #0f1c2e;
}

/* ---------- Product card image with real img tag ---------- */
.product-card-img .img-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card-img .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #d1d5db;
  background: #f7f8fa;
}
.product-card:hover .product-card-img .img-real {
  transform: scale(1.03);
}
.product-card-img .img-real {
  transition: transform 0.3s;
}

/* ---------- Category card image ---------- */
.category-card-img .img-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Hero image ---------- */
.hero-img-real {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 4/3;
  border-radius: 6px;
  display: block;
  object-fit: cover;
}

/* ---------- Detail page image ---------- */
.detail-main-img .img-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.detail-thumb .img-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

/* ---------- Remove member center space ---------- */
.header-top-right .spacer { display: inline-block; margin-left: 15px; }

/* ---------- Application scene images ---------- */
.app-card-img {
  width: 100%;
  height: 0;
  padding-bottom: 58.8%; /* 400/680 ratio */
  overflow: hidden;
  position: relative;
  background: #f7f8fa;
}
.app-card-img .app-img-real {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.app-card:hover .app-card-img .app-img-real {
  transform: scale(1.03);
}

/* ---------- Blog card image clickable ---------- */
.blog-card-img:hover .img-real {
  transform: scale(1.03);
}

/* ---------- Blog List Page ---------- */
.blog-list-page {
  padding: 40px 0 80px;
}
.blog-list-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.blog-list-card {
  display: flex;
  gap: 24px;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: all 0.2s;
}
.blog-list-card:hover {
  border-color: #c5cad3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.blog-list-card-img {
  width: 300px;
  min-width: 300px;
  overflow: hidden;
}
.blog-list-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.blog-list-card:hover .blog-list-card-img img {
  transform: scale(1.03);
}
.blog-list-card-body {
  flex: 1;
  padding: 24px;
}
.blog-list-card-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.blog-list-card-body h3 a {
  color: #0f1c2e;
  transition: color 0.2s;
}
.blog-list-card-body h3 a:hover {
  color: #1a4c8a;
}
.blog-list-card-body p {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.blog-read-more {
  color: #1a4c8a;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}
.blog-read-more:hover {
  color: #0f1c2e;
}
.blog-meta .blog-tag {
  display: inline-block;
  background: #f0f4ff;
  color: #1a4c8a;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 3px;
  margin-left: 10px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .blog-list-card {
    flex-direction: column;
  }
  .blog-list-card-img {
    width: 100%;
    min-width: 100%;
    height: 200px;
  }
  .blog-list-card-body {
    padding: 20px;
  }
}

/* ---------- Blog Article Page ---------- */
.blog-article {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 0 80px;
}
.blog-article-header {
  margin-bottom: 32px;
}
.blog-article-featured-img {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 20px;
}
.blog-article-featured-img img {
  width: 100%;
  object-fit: cover;
  display: block;
}
.blog-article-header h1 {
  font-size: 30px;
  color: #0f1c2e;
  line-height: 1.3;
  margin-top: 16px;
  letter-spacing: -0.01em;
}
.blog-article-content,
.blog-article > .lang-content {
  font-size: 16px;
  line-height: 1.8;
  color: #374151;
}
.blog-article-content h2,
.blog-article > .lang-content h2 {
  font-size: 24px;
  color: #0f1c2e;
  margin: 36px 0 16px;
  padding-left: 14px;
  border-left: 3px solid #1a4c8a;
}
.blog-article-content h3,
.blog-article > .lang-content h3 {
  font-size: 19px;
  color: #1a4c8a;
  margin: 28px 0 12px;
}
.blog-article-content p,
.blog-article > .lang-content p {
  margin-bottom: 16px;
}
.blog-article-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}
.blog-article-list li {
  padding: 8px 0 8px 20px;
  position: relative;
  line-height: 1.7;
}
.blog-article-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: #1a4c8a;
}

.blog-article-cta {
  background: #f7f8fa;
  border-radius: 6px;
  padding: 28px;
  margin-top: 36px;
  text-align: center;
  border: 1px solid #e5e7eb;
}
.blog-article-cta p {
  font-size: 16px;
  color: #0f1c2e;
  margin-bottom: 16px;
}

.blog-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}
.blog-related h3 {
  font-size: 20px;
  color: #0f1c2e;
  margin-bottom: 16px;
}
.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.blog-related-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: all 0.2s;
}
.blog-related-card:hover {
  border-color: #c5cad3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.blog-related-card img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}
.blog-related-card span {
  font-size: 14px;
  color: #0f1c2e;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .blog-article-header h1 {
    font-size: 22px;
  }
  .blog-article-content h2,
  .blog-article > .lang-content h2 {
    font-size: 18px;
  }
  .blog-related-grid {
    grid-template-columns: 1fr;
  }
}

/* Language content switching for blog articles */
.lang-content {
    display: none;
}
html[lang="en"] .lang-content.lang-en {
    display: block;
}
html[lang="de"] .lang-content.lang-de {
    display: block;
}
.lang-content.lang-active {
    display: block;
}

/* Keep article source references on one horizontal row. */
.custom-socks-guide .lang-content > h3 + ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 28px;
    margin: 12px 0 0;
    padding: 0 0 8px;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: thin;
}

.custom-socks-guide .lang-content > h3 + ul > li {
    flex: 0 0 auto;
    margin: 0;
    white-space: nowrap;
}

/* Blog category sections */
.blog-category-section {
    margin-bottom: 48px;
}
.blog-category-title {
    font-size: 22px;
    color: #0f1c2e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a4c8a;
    font-weight: 700;
}

/* ---------- Blog article data tables and lists (SEO optimized) ---------- */
.blog-article-content .blog-data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 14px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.blog-article-content .blog-data-table th,
.blog-article-content .blog-data-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}
.blog-article-content .blog-data-table th {
  background: #f7f8fa;
  color: #0f1c2e;
  font-weight: 600;
}
.blog-article-content .blog-data-table tr:last-child td {
  border-bottom: none;
}
.blog-article-content .blog-data-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
}
.blog-article-content .blog-data-list li {
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  line-height: 1.6;
}
.blog-article-content .blog-data-list li:last-child {
  border-bottom: none;
}
.blog-article-content .blog-conclusion-box {
  background: #f0f4ff;
  border: 1px solid #c7d8f0;
  border-radius: 6px;
  padding: 20px 24px;
  margin: 24px 0;
}
.blog-article-content .blog-conclusion-box p {
  margin-bottom: 8px;
}
.blog-article-content .blog-quick-nav {
  background: #f7f8fa;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 32px;
}
.blog-article-content .blog-quick-nav h2 {
  border-left: none;
  padding-left: 0;
  margin-top: 0;
}
.blog-article-content .blog-quick-nav .qa-item {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}
.blog-article-content .blog-quick-nav .qa-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.blog-article-content .blog-quick-nav .qa-question {
  font-weight: 600;
  color: #0f1c2e;
  margin-bottom: 6px;
  font-size: 15px;
}
.blog-article-content .blog-quick-nav .qa-answer {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.7;
}

/* Keep translated source lists on one row without widening the mobile page. */
@media (max-width: 768px) {
  .custom-socks-guide .lang-content > h3 + ul {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .blog-article .lang-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
/* Contain wide translated tables and one-line source lists inside the article. */
.blog-article-content.custom-socks-guide {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}
.blog-article-content.custom-socks-guide .lang-content {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
/* Mobile accessibility: readable auxiliary text and reliable touch targets. */
.blog-article table { margin: 20px 0 28px; }
.blog-article table th,
.blog-article table td { padding: 12px; text-align: left; vertical-align: top; }
@media (max-width: 768px) {
  .site-logo .logo-sub,
  .product-badge,
  .blog-meta,
  .breadcrumb,
  .footer-bottom {
    font-size: 12px;
  }
  .filter-btn,
  .btn-inquire,
  .main-nav a,
  .footer-links a,
  .friend-links a,
  .pagination a,
  .pagination button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .filter-btn { padding: 9px 14px; }
  .btn-inquire { padding-top: 11px; padding-bottom: 11px; }
}
