/* ===================================
   河南永研磨具有限公司 - 主样式文件
   Henan Yongyan Abrasive Co., Ltd.
   =================================== */

:root {
  --primary: #1a3a6e;
  --primary-dark: #0f2550;
  --accent: #e8820c;
  --accent-light: #f5a030;
  --text-dark: #1a1a2e;
  --text-mid: #4a5568;
  --text-light: #718096;
  --bg-white: #ffffff;
  --bg-light: #f8f9fc;
  --bg-gray: #eef0f5;
  --border: #dde1ea;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* === HEADER === */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.header-top {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  padding: 6px 0;
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-top a { color: rgba(255,255,255,0.8); }
.header-top a:hover { color: #fff; }
.header-main {
  padding: 14px 0;
}
.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -1px;
}
.logo-text h1 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.logo-text p {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.5px;
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
  position: relative;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--primary);
  background: var(--bg-light);
}
.main-nav .dropdown { position: relative; }
.main-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  padding: 8px 0;
  z-index: 999;
}
.main-nav .dropdown:hover .dropdown-menu { display: block; }
.main-nav .dropdown-menu a {
  display: block;
  padding: 9px 16px;
  border-radius: 0;
  font-size: 13px;
}
.main-nav .dropdown-menu a:hover {
  background: var(--bg-light);
  color: var(--primary);
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-contact {
  background: var(--accent);
  color: white;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-contact:hover { background: var(--accent-light); transform: translateY(-1px); }
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 10px;
  cursor: pointer;
  font-size: 18px;
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1e4f8a 100%);
  color: white;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero-content { flex: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  margin-bottom: 24px;
}
.hero-badge span { color: var(--accent-light); }
.hero h2 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero h2 em { color: var(--accent-light); font-style: normal; }
.hero p {
  font-size: 17px;
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent);
  color: white;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,130,12,0.4); }
.btn-outline {
  background: transparent;
  color: white;
  padding: 13px 28px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-light);
  display: block;
}
.hero-stat .label { font-size: 13px; opacity: 0.7; }
.hero-image { flex: 0 0 420px; }
.hero-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* === CONTAINER === */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
section { padding: 70px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block;
  background: rgba(26,58,110,0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.section-header p { color: var(--text-light); font-size: 16px; max-width: 560px; margin: 0 auto; }

/* === CATEGORY CARDS === */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.cat-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card-body { padding: 20px; }
.cat-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.cat-card-body p { font-size: 13px; color: var(--text-light); margin-bottom: 14px; line-height: 1.5; }
.cat-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cat-count {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}
.cat-arrow {
  width: 32px; height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}
.cat-card:hover .cat-arrow { background: var(--accent); transform: translateX(3px); }

/* === PRODUCT GRID === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--accent);
}
.product-card-img {
  width: 100%;
  height: 180px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-info { padding: 14px 16px; }
.product-card-info .cat-tag {
  font-size: 11px;
  color: var(--primary);
  background: rgba(26,58,110,0.08);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 6px;
}
.product-card-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-card-info p {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 12px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-card-actions {
  display: flex;
  gap: 8px;
}
.btn-detail {
  flex: 1;
  text-align: center;
  padding: 7px 0;
  background: var(--primary);
  color: white;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-detail:hover { background: var(--accent); }
.btn-inquiry {
  padding: 7px 12px;
  border: 1px solid var(--border);
  color: var(--text-mid);
  border-radius: 6px;
  font-size: 12px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}
.btn-inquiry:hover { border-color: var(--accent); color: var(--accent); }

/* === PRODUCT DETAIL PAGE === */
.product-detail { padding: 40px 0 80px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--border); }
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.product-gallery { position: relative; }
.gallery-main {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.gallery-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}
.product-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.meta-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-mid);
}
.meta-tag strong { color: var(--text-dark); }
.product-desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.product-params { margin-bottom: 28px; }
.product-params h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.param-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.param-item {
  background: var(--bg-white);
  padding: 10px 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.param-item .key { font-size: 13px; color: var(--text-light); white-space: nowrap; }
.param-item .val { font-size: 13px; color: var(--text-dark); font-weight: 500; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-lg-primary {
  flex: 1;
  min-width: 160px;
  background: var(--accent);
  color: white;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}
.btn-lg-primary:hover { background: var(--accent-light); transform: translateY(-2px); }
.btn-lg-outline {
  padding: 14px 24px;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-lg-outline:hover { background: var(--primary); color: white; }
.product-tabs { margin-top: 48px; }
.tab-nav {
  display: flex;
  border-bottom: 2px solid var(--border);
  gap: 4px;
  margin-bottom: 28px;
}
.tab-btn {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-btn:hover { color: var(--primary); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  font-size: 14px;
  text-align: left;
}
.spec-table th { background: var(--bg-light); font-weight: 600; color: var(--text-dark); }
.spec-table tr:nth-child(even) td { background: var(--bg-light); }

/* === RELATED PRODUCTS === */
.related-section { background: var(--bg-light); }
.related-section .product-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }

/* === FEATURES === */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feat-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.feat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feat-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(26,58,110,0.08), rgba(26,58,110,0.15));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}
.feat-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feat-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* === CERTIFICATES / PARTNERS === */
.certs-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.cert-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}
.cert-badge .cert-icon { font-size: 24px; }

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  text-align: center;
  padding: 70px 24px;
}
.cta-section h2 { font-size: 36px; font-weight: 800; margin-bottom: 14px; }
.cta-section p { font-size: 17px; opacity: 0.85; margin-bottom: 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === FOOTER === */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); }
.footer-main { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo-text h1 { color: white; font-size: 20px; }
.footer-brand .logo-text p { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 16px; opacity: 0.7; }
.footer-col h4 { font-size: 15px; font-weight: 700; color: white; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--accent-light); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 12px;
  opacity: 0.7;
}
.footer-contact-item span:first-child { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  opacity: 0.6;
}

/* === CATEGORY SUB PAGE === */
.cat-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 50px 0 40px;
}
.cat-hero .container { display: flex; align-items: center; justify-content: space-between; }
.cat-hero-content h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.cat-hero-content p { font-size: 16px; opacity: 0.8; max-width: 500px; }
.cat-hero-icon { font-size: 80px; opacity: 0.3; }
.cat-page-body { padding: 40px 0 80px; }
.cat-sidebar {
  width: 240px;
  flex-shrink: 0;
}
.cat-sidebar-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.cat-sidebar-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; color: var(--primary); }
.filter-group { margin-bottom: 16px; }
.filter-group label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-mid); cursor: pointer; padding: 4px 0; }
.filter-group label:hover { color: var(--primary); }
.filter-group input[type="checkbox"] { accent-color: var(--primary); }
.cat-content { flex: 1; min-width: 0; }
.cat-layout { display: flex; gap: 24px; }
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.result-count { font-size: 14px; color: var(--text-light); }
.result-count strong { color: var(--text-dark); }
.sort-bar { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.sort-bar select {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  background: white;
  color: var(--text-dark);
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.page-btn {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-mid);
  background: white;
}
.page-btn:hover, .page-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

/* === ABOUT & CONTACT PAGES === */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 60px 0;
  text-align: center;
}
.page-hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 17px; opacity: 0.8; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 32px; font-weight: 800; margin-bottom: 16px; }
.about-text p { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; }
.timeline { margin: 32px 0; }
.timeline-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.timeline-year {
  width: 60px;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}
.timeline-content h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.timeline-content p { font-size: 13px; color: var(--text-light); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-avatar {
  width: 80px; height: 80px;
  background: var(--bg-gray);
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.team-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.team-card p { font-size: 13px; color: var(--text-light); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.contact-info-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-info-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 44px; height: 44px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item-text h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.contact-item-text p { font-size: 14px; color: var(--text-mid); }
.contact-form { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.contact-form h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-dark);
  transition: var(--transition);
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,110,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.btn-submit:hover { background: var(--accent); }

/* === BACK TO TOP === */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
}
.back-top.visible { opacity: 1; pointer-events: all; }
.back-top:hover { background: var(--accent); transform: translateY(-3px); }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero h2 { font-size: 38px; }
  .hero-image { flex: 0 0 320px; }
}
@media (max-width: 900px) {
  .hero .container { flex-direction: column; }
  .hero-image { flex: none; width: 100%; max-width: 400px; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .cat-layout { flex-direction: column; }
  .cat-sidebar { width: 100%; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .related-section .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: 1fr; }
  .hero h2 { font-size: 28px; }
  .section-header h2 { font-size: 26px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .related-section .product-grid { grid-template-columns: repeat(2, 1fr); }
  .param-grid { grid-template-columns: 1fr; }
}

/* === MOBILE MENU === */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
}
.mobile-nav.open { display: flex; }
.mobile-nav-panel {
  background: white;
  width: 300px;
  height: 100%;
  overflow-y: auto;
  padding: 24px;
}
.mobile-nav-close {
  position: absolute;
  right: 16px;
  top: 16px;
  font-size: 24px;
  cursor: pointer;
  color: white;
}
.mobile-nav-panel a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-dark);
}

/* Admin hidden link indicator */
.admin-hint {
  position: fixed;
  bottom: 32px;
  left: 32px;
  opacity: 0;
  pointer-events: none;
}
