/* ============================================
   CAMTOP PETROLEO - Main Stylesheet
   Alibaba B2B Inspired Design
   ============================================ */

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

:root {
  --primary: #E8490F;
  --primary-dark: #C73E0D;
  --primary-light: #FFF3ED;
  --secondary: #222;
  --accent: #FF8C00;
  --bg: #f4f5f7;
  --bg-white: #fff;
  --text: #333;
  --text-light: #666;
  --text-lighter: #999;
  --border: #e0e0e0;
  --border-light: #f0f0f0;
  --success: #00A854;
  --star: #F5A623;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.12);
  --radius: 4px;
  --radius-lg: 8px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --header-h: 64px;
  --topbar-h: 36px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-width: 320px;
}

a { color: var(--text); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
input, button, textarea, select { font-family: inherit; font-size: inherit; }

/* --- Utility --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }
.section { padding: 60px 0; }
.section-title {
  font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 8px; color: var(--secondary);
}
.section-subtitle { text-align: center; color: var(--text-light); margin-bottom: 36px; font-size: 15px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 24px; border-radius: var(--radius); border: none; cursor: pointer;
  font-size: 14px; font-weight: 600; transition: var(--transition); text-align: center;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-lg { padding: 12px 36px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-sm { padding: 6px 16px; font-size: 13px; }
.btn-block { width: 100%; }

/* --- Top Bar --- */
.topbar {
  background: #f8f8f8; height: var(--topbar-h); line-height: var(--topbar-h);
  font-size: 12px; color: var(--text-light); border-bottom: 1px solid var(--border-light);
}
.topbar .container { display: flex; justify-content: space-between; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar a { color: var(--text-light); }
.topbar a:hover { color: var(--primary); }
.topbar .sep { color: #ddd; }

/* --- Header --- */
.header {
  background: #fff; height: var(--header-h); display: flex; align-items: center;
  border-bottom: 2px solid var(--primary); position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.header .container { display: flex; align-items: center; gap: 20px; width: 100%; }

.logo { flex-shrink: 0; display: flex; align-items: center; gap: 10px; }
.logo a { display: flex; align-items: center; gap: 10px; }
.logo-img { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo a .logo-name { font-size: 20px; font-weight: 800; color: var(--secondary); letter-spacing: 0.5px; background: linear-gradient(135deg, #b8860b 0%, #f4c430 50%, #b8860b 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo a .logo-sub { display: block; font-size: 9px; font-weight: 500; color: var(--text-lighter); letter-spacing: 0.8px; text-transform: uppercase; margin-top: 2px; }

/* --- Search Bar --- */
.search-bar { flex: 1; max-width: 620px; position: relative; }
.search-bar form { display: flex; }
.search-bar input {
  flex: 1; height: 40px; padding: 0 16px; border: 2px solid var(--primary);
  border-right: none; border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  outline: none; font-size: 14px; transition: var(--transition);
}
.search-bar input:focus { border-color: var(--primary-dark); }
.search-bar button {
  height: 40px; padding: 0 24px; background: var(--primary); color: #fff;
  border: 2px solid var(--primary); border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  cursor: pointer; font-size: 18px; display: flex; align-items: center; transition: var(--transition);
}
.search-bar button:hover { background: var(--primary-dark); }

/* --- Header Actions --- */
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-actions .icon-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 12px; cursor: pointer; padding: 4px 8px;
  border-radius: var(--radius); transition: var(--transition); border: none; background: none;
}
.header-actions .icon-btn:hover { color: var(--primary); background: var(--primary-light); }
.header-actions .icon-btn svg { width: 22px; height: 22px; margin-bottom: 2px; }
.cart-count {
  position: absolute; top: -2px; right: -6px; min-width: 18px; height: 18px;
  background: var(--primary); color: #fff; border-radius: 9px; font-size: 11px;
  display: flex; align-items: center; justify-content: center; font-weight: 600;
}
.cart-icon-wrap { position: relative; }

/* --- Main Navigation --- */
.nav { background: var(--secondary); }
.nav .container { display: flex; align-items: center; }

/* Categories Dropdown */
.categories-dropdown { position: relative; }
.cat-toggle {
  display: flex; align-items: center; gap: 8px; padding: 0 20px; height: 44px;
  background: var(--primary); color: #fff; cursor: pointer; font-size: 14px;
  font-weight: 600; white-space: nowrap; border: none; min-width: 220px;
  justify-content: space-between;
}
.cat-toggle .hamburger { display: flex; flex-direction: column; gap: 3px; }
.cat-toggle .hamburger span { width: 16px; height: 2px; background: #fff; border-radius: 1px; }
.cat-menu {
  position: absolute; top: 44px; left: 0; width: 260px; background: #fff;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg); display: none; z-index: 999;
}
.categories-dropdown:hover .cat-menu { display: block; }
.cat-menu a {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 13px;
  border-bottom: 1px solid var(--border-light); transition: var(--transition);
}
.cat-menu a:hover { background: var(--primary-light); color: var(--primary); }
.cat-menu a:last-child { border-bottom: none; }

/* Nav Links */
.nav-links { display: flex; align-items: center; margin-left: 12px; }
.nav-links a {
  display: flex; align-items: center; padding: 0 20px; height: 44px; color: #ccc;
  font-size: 14px; font-weight: 500; transition: var(--transition); position: relative;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 24px; height: 2px; background: var(--primary); border-radius: 1px;
}

/* --- Mobile Nav Toggle --- */
.mobile-toggle {
  display: none; flex-direction: column; gap: 4px; cursor: pointer; padding: 8px; border: none; background: none;
}
.mobile-toggle span { width: 22px; height: 2px; background: var(--secondary); border-radius: 1px; transition: var(--transition); }

/* --- Hero Banner --- */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff; position: relative; overflow: hidden; min-height: 440px; display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(232,73,15,0.15) 100%);
}
.hero::after {
  content: ''; position: absolute; bottom: -60px; right: -60px; width: 400px; height: 400px;
  border: 40px solid rgba(232,73,15,0.08); border-radius: 50%;
}
.hero .container { position: relative; z-index: 2; display: flex; align-items: center; gap: 60px; }
.hero-content { flex: 1; max-width: 560px; }
.hero-badge {
  display: inline-block; background: rgba(232,73,15,0.2); color: var(--primary);
  padding: 4px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 16px;
  border: 1px solid rgba(232,73,15,0.3);
}
.hero h1 { font-size: 42px; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 16px; color: #b0b8c8; margin-bottom: 32px; line-height: 1.7; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 36px; }
.hero-stat h4 { font-size: 28px; font-weight: 700; color: var(--primary); }
.hero-stat p { font-size: 13px; color: #8899aa; margin: 0; }
.hero-visual {
  flex-shrink: 0; width: 400px; height: 360px; position: relative;
  background: rgba(255,255,255,0.03); border-radius: 16px; display: flex; align-items: center; justify-content: center;
}
.hero-oil-rig {
  width: 280px; height: 300px; position: relative;
}
.hero-oil-rig .tower {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 200px; background: linear-gradient(to top, var(--primary), #ff8c00);
  border-radius: 4px;
}
.hero-oil-rig .arm {
  position: absolute; bottom: 220px; left: 50%; transform: translateX(-50%);
  width: 160px; height: 6px; background: var(--primary); border-radius: 3px;
}
.hero-oil-rig .base {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 120px; height: 40px; background: linear-gradient(to top, #555, #777);
  border-radius: 6px;
}
.hero-oil-rig .tank {
  position: absolute; bottom: 20px; width: 50px; height: 70px;
  background: linear-gradient(to top, #333, #555); border-radius: 8px 8px 4px 4px;
}
.hero-oil-rig .tank.left { left: 20px; }
.hero-oil-rig .tank.right { right: 20px; }

/* --- Trust Strip --- */
.trust-strip {
  background: #fff; padding: 20px 0; border-bottom: 1px solid var(--border-light);
}
.trust-strip .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 16px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-light); }
.trust-item svg { width: 32px; height: 32px; color: var(--primary); flex-shrink: 0; }
.trust-item strong { display: block; color: var(--text); font-size: 14px; }

/* --- Category Cards --- */
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-card {
  background: #fff; border-radius: var(--radius-lg); padding: 24px 16px; text-align: center;
  transition: var(--transition); cursor: pointer; border: 1px solid transparent;
}
.cat-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-4px); }
.cat-card .cat-icon { width: 56px; height: 56px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; }
.cat-card .cat-icon img { width: 48px; height: 48px; object-fit: contain; }
.cat-card .cat-name { font-size: 14px; font-weight: 600; color: var(--secondary); }

/* --- Product Card --- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.product-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); border: 1px solid var(--border-light); position: relative;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-card .product-img {
  position: relative; overflow: hidden; height: 220px; background: #fafafa;
  display: flex; align-items: center; justify-content: center;
}
.product-card .product-img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-card .product-badge {
  position: absolute; top: 12px; left: 12px; background: var(--primary); color: #fff;
  padding: 2px 10px; border-radius: 3px; font-size: 11px; font-weight: 600;
}
.product-card .product-actions {
  position: absolute; bottom: 12px; right: 12px; display: flex; gap: 6px;
  opacity: 0; transition: var(--transition);
}
.product-card:hover .product-actions { opacity: 1; }
.product-card .product-actions button {
  width: 36px; height: 36px; border-radius: 50%; border: none; background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15); cursor: pointer; display: flex;
  align-items: center; justify-content: center; font-size: 16px; transition: var(--transition);
}
.product-card .product-actions button:hover { background: var(--primary); color: #fff; }

.product-card .product-info { padding: 16px; }
.product-card .product-name {
  font-size: 14px; font-weight: 500; color: var(--secondary); margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  line-height: 1.4; min-height: 40px;
}
.product-card .product-name a:hover { color: var(--primary); }
.product-card .product-price { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.product-card .product-price small { font-size: 12px; font-weight: 400; color: var(--text-lighter); }
.product-card .product-moq { font-size: 12px; color: var(--text-light); margin-bottom: 12px; }
.product-card .product-supplier { font-size: 12px; color: var(--text-lighter); }

/* --- Section: Why Choose Us --- */
.why-us { background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  text-align: center; padding: 32px 20px; border-radius: var(--radius-lg);
  transition: var(--transition); border: 1px solid var(--border-light);
}
.feature-card:hover { box-shadow: var(--shadow); }
.feature-card .feature-icon { width: 64px; height: 64px; margin: 0 auto 16px; color: var(--primary); }
.feature-card h4 { font-size: 16px; margin-bottom: 8px; color: var(--secondary); }
.feature-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* --- Factory Section --- */
.factory-section { background: #fff; }
.factory-content { display: flex; gap: 48px; align-items: center; }
.factory-images { flex: 1; display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.factory-images .main-img {
  grid-row: span 2; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 360px; background: #e8e8e8; display: flex; align-items: center; justify-content: center;
}
.factory-images .sub-img {
  border-radius: var(--radius-lg); overflow: hidden; min-height: 174px;
  background: #e8e8e8; display: flex; align-items: center; justify-content: center;
}
.factory-info { flex: 1; }
.factory-info h3 { font-size: 24px; font-weight: 700; margin-bottom: 16px; color: var(--secondary); }
.factory-info p { color: var(--text-light); line-height: 1.8; margin-bottom: 20px; }
.factory-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.factory-stat { background: var(--bg); padding: 16px; border-radius: var(--radius); }
.factory-stat .stat-num { font-size: 24px; font-weight: 700; color: var(--primary); }
.factory-stat .stat-label { font-size: 13px; color: var(--text-light); }

/* --- Certificates --- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card {
  background: #fff; border-radius: var(--radius-lg); padding: 24px; text-align: center;
  border: 1px solid var(--border-light); transition: var(--transition);
}
.cert-card:hover { box-shadow: var(--shadow); }
.cert-card .cert-icon { width: 60px; height: 60px; margin: 0 auto 12px; color: var(--primary); }
.cert-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.cert-card p { font-size: 12px; color: var(--text-lighter); }

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #ff6b2b 100%);
  color: #fff; text-align: center; padding: 64px 0;
}
.cta-section h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.cta-section p { font-size: 16px; opacity: 0.9; margin-bottom: 28px; }
.cta-section .btn { background: #fff; color: var(--primary); font-size: 16px; padding: 14px 40px; }
.cta-section .btn:hover { background: #f5f5f5; }

/* --- Page Banner --- */
.page-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  color: #fff; text-align: center; padding: 60px 0;
}
.page-banner h1 { font-size: 36px; font-weight: 700; margin-bottom: 8px; }
.page-banner .breadcrumb { font-size: 13px; color: #8899aa; }
.page-banner .breadcrumb a { color: #8899aa; }
.page-banner .breadcrumb a:hover { color: #fff; }
.page-banner .breadcrumb .current { color: var(--primary); }

/* --- Products Page --- */
.products-layout { display: flex; gap: 24px; }
.products-sidebar { width: 260px; flex-shrink: 0; }
.products-main { flex: 1; }

/* Sidebar */
.sidebar-block {
  background: #fff; border-radius: var(--radius-lg); padding: 20px; margin-bottom: 16px;
  border: 1px solid var(--border-light);
}
.sidebar-title { font-size: 15px; font-weight: 700; margin-bottom: 12px; color: var(--secondary); }
.sidebar-menu a {
  display: block; padding: 8px 0; font-size: 13px; color: var(--text-light);
  border-bottom: 1px solid var(--border-light); transition: var(--transition);
}
.sidebar-menu a:hover, .sidebar-menu a.active { color: var(--primary); }
.sidebar-menu a:last-child { border-bottom: none; }
.sidebar-menu a .count { float: right; color: var(--text-lighter); font-size: 12px; }

/* Sort Bar */
.sort-bar {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; padding: 12px 16px; border-radius: var(--radius-lg);
  margin-bottom: 20px; border: 1px solid var(--border-light);
}
.sort-bar .result-count { font-size: 13px; color: var(--text-light); }
.sort-options { display: flex; gap: 8px; }
.sort-options button {
  padding: 6px 14px; border-radius: var(--radius); border: 1px solid var(--border);
  background: #fff; cursor: pointer; font-size: 13px; transition: var(--transition);
}
.sort-options button.active, .sort-options button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 36px; }
.pagination button {
  min-width: 36px; height: 36px; border-radius: var(--radius); border: 1px solid var(--border);
  background: #fff; cursor: pointer; font-size: 13px; transition: var(--transition);
}
.pagination button.active, .pagination button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }

/* --- Product Detail --- */
.product-detail { display: flex; gap: 40px; }
.product-gallery { width: 440px; flex-shrink: 0; }
.product-gallery .main-image {
  width: 100%; height: 400px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-light); display: flex; align-items: center; justify-content: center;
  background: #fafafa; margin-bottom: 12px;
}
.product-gallery .main-image img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery .thumb-list { display: flex; gap: 8px; }
.product-gallery .thumb {
  width: 72px; height: 72px; border-radius: var(--radius); overflow: hidden;
  border: 2px solid transparent; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; background: #fafafa;
}
.product-gallery .thumb:hover, .product-gallery .thumb.active { border-color: var(--primary); }
.product-gallery .thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-meta { flex: 1; }
.product-meta h1 { font-size: 24px; font-weight: 700; color: var(--secondary); margin-bottom: 12px; line-height: 1.4; }
.product-meta .price-block { background: var(--primary-light); padding: 16px; border-radius: var(--radius); margin-bottom: 16px; }
.product-meta .price { font-size: 28px; font-weight: 700; color: var(--primary); }
.product-meta .price small { font-size: 14px; font-weight: 400; }
.product-meta .meta-row { display: flex; gap: 24px; margin-bottom: 12px; font-size: 13px; }
.product-meta .meta-row .label { color: var(--text-lighter); min-width: 80px; }
.product-meta .meta-row .value { color: var(--text); font-weight: 500; }
.product-meta .product-cta { display: flex; gap: 12px; margin: 24px 0; }

/* Specs Table */
.specs-section { margin-top: 40px; }
.specs-section h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table td {
  padding: 10px 16px; border: 1px solid var(--border-light); font-size: 13px;
}
.specs-table td:first-child { background: #fafafa; font-weight: 600; width: 200px; color: var(--secondary); }

/* --- About Page --- */
.about-intro { display: flex; gap: 48px; align-items: center; margin-bottom: 60px; }
.about-intro .about-text { flex: 1; }
.about-intro .about-text h2 { font-size: 26px; font-weight: 700; margin-bottom: 16px; color: var(--secondary); }
.about-intro .about-text p { color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.about-intro .about-image {
  width: 500px; flex-shrink: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: #e8e8e8; min-height: 360px; display: flex; align-items: center; justify-content: center;
}

/* Timeline */
.timeline { position: relative; padding-left: 32px; margin: 40px 0; }
.timeline::before {
  content: ''; position: absolute; left: 11px; top: 0; bottom: 0; width: 2px; background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 32px; padding-bottom: 4px; }
.timeline-item::before {
  content: ''; position: absolute; left: -27px; top: 4px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--primary); border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-item .year { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.timeline-item p { color: var(--text-light); font-size: 14px; }

/* --- Contact Page --- */
.contact-layout { display: flex; gap: 40px; }
.contact-form-wrap { flex: 1; background: #fff; padding: 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-form-wrap h2 { font-size: 22px; font-weight: 700; margin-bottom: 24px; color: var(--secondary); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 13px; color: var(--secondary); }
.form-group label .required { color: var(--primary); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  outline: none; transition: var(--transition); font-size: 14px;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(232,73,15,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-info-sidebar { width: 340px; flex-shrink: 0; }
.contact-info-card {
  background: #fff; padding: 28px; border-radius: var(--radius-lg); margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.contact-info-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: var(--secondary); }
.contact-info-item { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14px; }
.contact-info-item svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.contact-info-item .info-label { display: block; font-size: 12px; color: var(--text-lighter); }
.contact-info-item .info-value { color: var(--text); font-weight: 500; }

/* --- Footer --- */
.footer { background: #1a1a2e; color: #8899aa; padding: 52px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.footer-col p { font-size: 13px; line-height: 1.8; margin-bottom: 16px; }
.footer-col a { display: block; color: #8899aa; font-size: 13px; padding: 4px 0; transition: var(--transition); }
.footer-col a:hover { color: var(--primary); padding-left: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; color: #8899aa; font-size: 16px;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; font-size: 12px;
}
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: #8899aa; }
.footer-bottom-links a:hover { color: var(--primary); }

/* --- Inquiry Modal --- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2000;
  display: none; align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal { background: #fff; border-radius: var(--radius-lg); padding: 36px; max-width: 500px; width: 90%; position: relative; }
.modal h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px;
  border-radius: 50%; border: none; background: var(--bg); cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.modal-close:hover { background: #ddd; }

/* --- Toast --- */
.toast {
  position: fixed; top: 24px; right: 24px; z-index: 3000; padding: 14px 24px;
  border-radius: var(--radius); color: #fff; font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg); transform: translateX(120%); transition: transform 0.3s ease;
}
.toast.show { transform: translateX(0); }
.toast.success { background: var(--success); }
.toast.error { background: #e74c3c; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 32px; }
  .hero-visual { display: none; }
  .product-detail { flex-direction: column; }
  .product-gallery { width: 100%; }
  .factory-content { flex-direction: column; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .header { height: 56px; }
  .search-bar { display: none; }
  .mobile-toggle { display: flex; }
  .header-actions .icon-btn span { display: none; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%;
    left: 0; right: 0; background: var(--secondary); padding: 8px 0; z-index: 999;
  }
  .categories-dropdown { display: none; }
  .hero { min-height: auto; padding: 48px 0; text-align: center; }
  .hero .container { flex-direction: column; }
  .hero h1 { font-size: 26px; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 20px; }
  .hero-btns { justify-content: center; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .products-layout { flex-direction: column; }
  .products-sidebar { width: 100%; }
  .product-detail { flex-direction: column; }
  .product-gallery { width: 100%; }
  .about-intro { flex-direction: column; }
  .about-intro .about-image { width: 100%; min-height: 240px; }
  .contact-layout { flex-direction: column; }
  .contact-info-sidebar { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .factory-images { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 22px; }
  .hero h1 { font-size: 22px; }
}
