/* ============================================
   HUAYUAN PACKAGING - Main Stylesheet
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #1a5fa8;
  --primary-dark: #0e3d72;
  --primary-light: #2b7dd4;
  --accent: #e8a020;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --bg: #ffffff;
  --bg-light: #f5f8fc;
  --bg-gray: #f0f2f5;
  --border: #e0e6ef;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(26,95,168,0.18);
  --radius: 8px;
  --transition: all 0.3s ease;
  --font: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Raleway', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.detail-section { padding: 60px 0; }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

/* Gallery */
.detail-gallery { position: sticky; top: 100px; }

.gallery-main {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-light);
  margin-bottom: 16px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 6px;
  border: 2px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--primary);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info */
.detail-category {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.detail-info h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.detail-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.detail-tag.hot { background: rgba(232,160,32,0.1); color: #c87010; }
.detail-tag.new { background: rgba(39,174,96,0.1); color: #1e8449; }
.detail-tag.popular { background: rgba(26,95,168,0.1); color: var(--primary); }

/* Specs */
.detail-specs {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.detail-specs h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-specs h3 i { color: var(--primary); }

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.spec-row:last-child { border-bottom: none; }

.spec-label {
  color: var(--text-muted);
  font-weight: 500;
}

.spec-value {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

/* Description */
.detail-desc {
  margin-bottom: 24px;
}

.detail-desc h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-desc h3 i { color: var(--primary); }

.detail-desc p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

/* Actions */
.detail-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

/* Features */
.detail-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(26,95,168,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 15px;
  flex-shrink: 0;
}

.feature-text strong {
  display: block;
  font-size: 13px;
  color: var(--text);
}

.feature-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Page Hero (for product/archive pages) */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 50px 0;
  color: #fff;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox-overlay.active { display: flex; }

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

/* Related Products */
.related-section { padding: 60px 0; background: var(--bg-light); }

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.related-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.rc-img { height: 200px; overflow: hidden; background: #f8f9fa; display: flex; align-items: center; justify-content: center; }
.rc-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }

.rc-body { padding: 14px 16px; }
.rc-cat { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.rc-name { font-size: 14px; font-weight: 700; color: var(--primary-dark); line-height: 1.4; }

/* Product Detail responsive */
@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; gap: 40px; }
  .detail-gallery { position: static; }
  .gallery-main { max-width: 100%; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .related-grid { grid-template-columns: 1fr; }
  .detail-actions { flex-direction: column; }
  .detail-features { grid-template-columns: 1fr; }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,95,168,0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header.left { text-align: left; }

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  position: relative;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-header.left h2::after {
  margin-left: 0;
}

.section-header p {
  color: var(--text-light);
  font-size: 15px;
  max-width: 580px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-top: 12px;
}
.link-more:hover { gap: 10px; }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 8px 0;
  font-size: 13px;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-left a {
  color: rgba(255,255,255,0.8);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.top-bar-left a:hover { color: #fff; }
.top-bar-left .divider { margin: 0 12px; opacity: 0.4; }

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.top-bar-right a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}
.top-bar-right a:hover {
  color: #fff;
  background: rgba(255,255,255,0.15);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: var(--transition);
}

#header .container {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  height: 72px;
  gap: 30px;
}

/* Logo */
.logo a { display: flex; align-items: center; gap: 10px; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-main {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}
.logo-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Nav */
.main-nav { margin-left: auto; }

.main-nav > ul,
.main-nav ul.menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav > ul > li,
.main-nav ul.menu > li {
  position: relative;
}

/* 让有下拉菜单的 li 底部热区向下延伸 */
.main-nav > ul > li.has-dropdown {
  padding-bottom: 20px;
  margin-bottom: -20px;
}

.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius);
  white-space: nowrap;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
  color: var(--primary);
  background: rgba(26,95,168,0.06);
}
.main-nav > ul > li.active > a { color: var(--primary); }

/* Dropdown */
.dropdown {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  min-width: 200px;
  padding: 8px 0;
  z-index: 999;
  /* 只做 opacity 渐变，不做位移，避免产生空隙 */
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

/* 透明桥接热区：覆盖 li padding-bottom 造成的 12px 空隙，防止 hover 中断 */
.dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.has-dropdown.dropdown-open .dropdown,
.has-dropdown.dropdown-open .mega-dropdown,
.has-dropdown:hover .dropdown,
.has-dropdown:hover .mega-dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.dropdown li a {
  display: block;
  padding: 9px 20px;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
}
.dropdown li a:hover {
  color: var(--primary);
  background: var(--bg-light);
  padding-left: 26px;
}

/* Mega Dropdown - compact two-column layout */
.mega-dropdown {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  padding: 12px 0;
  z-index: 999;
  width: auto;
  min-width: 420px;
  max-height: 70vh;
  overflow-y: auto;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.mega-dropdown::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}

.mega-dropdown-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.mega-col {
  padding: 0 16px;
}

.mega-col:first-child {
  border-right: 1px solid var(--border);
}

.mega-group {
  padding: 8px 0;
}

.mega-group:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.mega-group-title a {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  padding: 4px 0;
}

.mega-group-title a:hover {
  color: var(--primary);
}

.mega-group-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.mega-group-list li a {
  display: block;
  padding: 3px 0 3px 12px;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
}

.mega-group-list li a:hover {
  color: var(--primary);
  padding-left: 18px;
}

.mega-group-list li.mega-sub a {
  padding-left: 22px;
  font-size: 12px;
  color: var(--text-muted);
}

.mega-group-list li.mega-sub a:hover {
  padding-left: 28px;
  color: var(--primary);
}

/* Hide search form in navigation and header */
#header .search-form,
#header .menu-item.search,
.main-nav .search-form,
.main-nav .menu-item.search,
.main-nav li.search-menu-item,
.top-bar .search-form,
.top-bar .menu-item.search {
  display: none !important;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text);
  padding: 8px;
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
}

.hero-slider { height: 560px; }

.hero-slide {
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-slide .container { width: 100%; }

.hero-content {
  max-width: 600px;
  color: #fff;
}

.hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Stats bar */
.hero-stats {
  background: var(--primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 20px;
  border-right: 1px solid rgba(255,255,255,0.15);
  transition: var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.05); }

.stat-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  text-align: center;
}

/* ============================================
   CATEGORIES
   ============================================ */
.categories {
  padding: 80px 0;
  background: var(--bg-light);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 16px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
  gap: 14px;
}

.cat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.cat-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  transition: var(--transition);
}

.cat-item:hover .cat-icon {
  background: linear-gradient(135deg, var(--accent), #c87010);
}

.cat-item span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.cat-item:hover span { color: var(--primary); }

/* ============================================
   ADVANTAGES
   ============================================ */
.advantages {
  padding: 80px 0;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.adv-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.adv-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.adv-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.adv-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.adv-item:hover .adv-img img { transform: scale(1.05); }

.adv-content {
  padding: 24px;
  background: #fff;
}

.adv-content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.adv-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ============================================
   ABOUT STRIP
   ============================================ */
.about-strip {
  padding: 80px 0;
  background: var(--bg-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 14px;
  font-size: 15px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0 28px;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.about-features li i {
  color: var(--primary);
  font-size: 16px;
}

.about-img {
  position: relative;
}

.about-img img {
  border-radius: 12px;
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(232,160,32,0.35);
}

.badge-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.badge-text {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
  white-space: nowrap;
}

/* ============================================
   FEATURED PRODUCTS
   ============================================ */
.featured-products {
  padding: 80px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  transition: var(--transition);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.btn-detail {
  font-size: 12px;
  color: var(--text-light);
  text-decoration: none;
  margin-left: auto;
  transition: color 0.2s;
}
.btn-detail:hover { color: var(--primary); }

.product-img {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img img { transform: scale(1.04); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.product-info {
  padding: 18px 20px;
}

.product-info h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
  line-height: 1.4;
}

.product-info p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.btn-inquiry {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-inquiry:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateX(2px);
}

.view-all-wrap {
  text-align: center;
  margin-top: 40px;
}

/* ============================================
   WHY US
   ============================================ */
.why-us {
  background: var(--primary-dark);
  padding: 60px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.why-item {
  text-align: center;
  color: #fff;
  padding: 20px;
}

.why-item i {
  font-size: 40px;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.why-item h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

/* ============================================
   NEWS & FEEDBACK
   ============================================ */
.news-feedback {
  padding: 80px 0;
  background: var(--bg-light);
}

.nf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* News */
.news-list { display: flex; flex-direction: column; gap: 28px; }

.news-item {
  display: flex;
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.news-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.news-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 10px 14px;
  min-width: 52px;
  text-align: center;
  flex-shrink: 0;
}

.news-date .d {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.news-date .m {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
  opacity: 0.85;
}

.news-content h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-content h4 a:hover { color: var(--primary); }

.news-content p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Feedback */
.feedback-list { display: flex; flex-direction: column; gap: 20px; }

.feedback-item {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feedback-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.feedback-stars {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 14px;
  display: flex;
  gap: 2px;
}

.feedback-item > p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 16px;
}

.feedback-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feedback-author i {
  font-size: 36px;
  color: var(--primary-light);
}

.feedback-author strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.feedback-author span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -100px;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.cta-content { position: relative; z-index: 1; }

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.cta-content > p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: #0e1a2e;
  color: rgba(255,255,255,0.75);
}

.footer-main {
  padding: 70px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.footer-logo .logo-main {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.footer-logo .logo-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
}

.about-col p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a::before {
  content: '›';
  color: var(--accent);
  font-size: 16px;
}

.footer-col ul li a:hover { color: #fff; padding-left: 4px; }

.contact-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.contact-list li::before { display: none; }

.contact-list li i {
  color: var(--accent);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-list li span {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.contact-list li a:hover { color: #fff; }

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 16px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* ============================================
   FLOATING CONTACTS
   ============================================ */
.float-contacts {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 14px;
  width: 48px;
  transition: width 0.3s ease, background 0.3s ease;
  white-space: nowrap;
  border-radius: 4px 0 0 4px;
  cursor: pointer;
}

.float-btn span {
  opacity: 0;
  transition: opacity 0.2s;
  font-size: 13px;
}

.float-btn:hover {
  width: 120px;
  color: #fff;
}

.float-btn:hover span { opacity: 1; }

.float-btn i { font-size: 18px; flex-shrink: 0; margin-right: 8px; }

.float-btn.skype   { background: #00AFF0; }
.float-btn.email   { background: var(--primary); }
.float-btn.whatsapp { background: #25D366; }
.float-btn.inquiry { background: var(--accent); }

/* ============================================
   BACK TO TOP
   ============================================ */
#backToTop {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 997;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(26,95,168,0.3);
}

#backToTop:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

#backToTop.visible { display: flex; }

/* ============================================
   ABOUT US PAGE
   ============================================ */
.about-detail {
  padding: 80px 0;
}

.about-text .section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 24px;
  line-height: 1.3;
}

.about-text p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 28px;
}

.about-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

.about-features li i {
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}

/* Certifications */
.cert-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.cert-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.cert-card i {
  font-size: 40px;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.cert-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.cert-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================
   PLANT TOUR PAGE
   ============================================ */
.plant-section {
  padding: 80px 0;
}

/* Manufacturing Process Timeline */
.process-timeline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  max-width: 1000px;
  margin: 40px auto 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: 2px;
}

.process-step {
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 1;
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(26,95,168,0.25);
  transition: transform 0.3s, box-shadow 0.3s;
}

.process-step:hover .step-icon {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(26,95,168,0.35);
}

.process-step h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0 8px;
}

/* Factory Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 40px auto 0;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 240px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  padding: 30px 16px 16px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.gallery-item:hover .overlay {
  transform: translateY(0);
  opacity: 1;
}

.gallery-item .overlay h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.gallery-item .overlay p {
  font-size: 12px;
  opacity: 0.85;
  margin: 0;
}

/* ============================================
   FAQ PAGE
   ============================================ */
.faq-section {
  padding: 80px 0;
}

.faq-section .entry-content {
  margin-top: 30px;
}

.faq-section .wp-block-details,
.faq-section details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-section .wp-block-details:hover,
.faq-section details:hover {
  border-color: var(--primary-light);
}

.faq-section .wp-block-details summary,
.faq-section details summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  background: #fff;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
}

.faq-section .wp-block-details summary:hover,
.faq-section details summary:hover {
  background: var(--bg-light);
}

.faq-section .wp-block-details summary::-webkit-details-marker,
.faq-section details summary::-webkit-details-marker {
  display: none;
}

.faq-section .wp-block-details summary::after,
.faq-section details summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 12px;
  color: var(--primary);
  transition: transform 0.3s;
}

.faq-section .wp-block-details[open] summary::after,
.faq-section details[open] summary::after {
  transform: rotate(180deg);
}

.faq-section .wp-block-details p,
.faq-section details p {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
  background: var(--bg-light);
}

/* ============================================
   DESIGN SERVICE PAGE
   ============================================ */
.design-section {
  padding: 80px 0;
}

.design-section.alt {
  background: var(--bg-light);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.service-card .icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.service-card .icon.blue {
  background: rgba(26,95,168,0.1);
  color: var(--primary);
}

.service-card .icon.gold {
  background: rgba(232,160,32,0.1);
  color: var(--accent);
}

.service-card .icon.teal {
  background: rgba(0,150,136,0.1);
  color: #009688;
}

.service-card h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Design Workflow Steps */
.cap-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.cap-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.flow-step .num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}

.cap-item h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.cap-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  color: #fff;
}

.cta-banner h3 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 28px;
}

/* ============================================
   DECORATIONS PAGE
   ============================================ */
.deco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.deco-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.deco-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.deco-card-body {
  padding: 24px;
}

.deco-card-body h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.deco-card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.deco-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.deco-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  padding: 4px 0;
}

.deco-features li i {
  color: var(--primary);
  font-size: 11px;
}

/* Glass Colors */
.color-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.color-card {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.color-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.color-swatch {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  border: 3px solid #fff;
  outline: 2px solid var(--border);
}

.color-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.color-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* Surface Finishes */
.finish-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.finish-card {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.finish-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.finish-card i {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 14px;
  display: block;
}

.finish-card h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.finish-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================
   CONTACT PAGE (template-parts)
   ============================================ */
.contact-page {
  padding: 80px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.info-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(26,95,168,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  font-size: 18px;
  color: var(--primary);
}

.info-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.info-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.info-text a {
  color: var(--primary);
  text-decoration: none;
}

.info-text a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.contact-section {
  padding: 80px 0;
}

.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.contact-form-wrap .form-group {
  margin-bottom: 18px;
}

.contact-form-wrap label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.contact-form-wrap input,
.contact-form-wrap textarea,
.contact-form-wrap select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus,
.contact-form-wrap select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,95,168,0.1);
}

.contact-form-wrap textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 30px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.contact-info-card i {
  font-size: 24px;
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.contact-info-card a {
  color: var(--primary);
}

.contact-info-card a:hover {
  color: var(--primary-dark);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .deco-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .color-grid { grid-template-columns: repeat(4, 1fr); }
  .finish-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .adv-grid { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .about-img { order: -1; }
  .about-badge { left: 10px; bottom: 10px; }
  .nf-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content h1 { font-size: 36px; }
  .hero-slider { height: 480px; }
  .process-timeline { flex-direction: column; gap: 30px; }
  .process-timeline::before { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .color-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .top-bar-left .divider,
  .top-bar-left a:last-child { display: none; }
  
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  
  .main-nav.open {
    display: block;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    padding: 16px 20px;
    z-index: 999;
  }
  
  .main-nav.open > ul { flex-direction: column; gap: 0; }
  .main-nav.open > ul > li > a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .dropdown, .mega-dropdown { position: static; visibility: visible; opacity: 1; pointer-events: auto; display: none; box-shadow: none; padding: 8px 16px; transform: none; transition: none; width: auto; left: auto; }
  .has-dropdown:hover .dropdown,
  .has-dropdown:hover .mega-dropdown { display: none; }
  .has-dropdown.open .dropdown,
  .has-dropdown.open .mega-dropdown { display: block; }
  .mega-dropdown { min-width: unset; transform: none; left: 0; max-height: none; overflow: visible; }
  .mega-dropdown-inner { grid-template-columns: 1fr; }
  .mega-col { border-right: none; }
  .dropdown-col { border-right: none; padding: 8px 0; }
  
  .hero-slider { height: 400px; }
  .hero-content h1 { font-size: 28px; }
  .hero-desc { font-size: 14px; }
  
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .products-layout { grid-template-columns: 240px 1fr; gap: 24px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  
  .cta-content h2 { font-size: 26px; }
  .section-header h2 { font-size: 26px; }
  
  .float-contacts { display: none; }

  /* Page templates responsive */
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .deco-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .color-grid { grid-template-columns: repeat(2, 1fr); }
  .finish-grid { grid-template-columns: repeat(2, 1fr); }
  .about-detail { padding: 50px 0; }
  .plant-section { padding: 50px 0; }
  .faq-section { padding: 50px 0; }
  .design-section { padding: 50px 0; }
  .cta-banner { padding: 40px 24px; }
  .cta-banner h3 { font-size: 24px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .products-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cert-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .color-grid { grid-template-columns: repeat(2, 1fr); }
  .finish-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
}

/* ============================================
   PRODUCT FILTER PANEL
   ============================================ */
.products-page {
  padding: 50px 0 80px;
  min-height: 60vh;
}

.products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

.widget-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}

.widget-tree {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget-tree li {
  list-style: none;
}

.tree-item > a,
.tree-toggle > a {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.tree-item > a:hover,
.tree-toggle > a:hover {
  background: rgba(26,95,168,0.06);
  color: var(--primary);
}

.tree-item.active > a,
.tree-toggle > a.active-cat {
  color: var(--primary);
  font-weight: 600;
  background: rgba(26,95,168,0.08);
}

.tree-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.tree-toggle i {
  font-size: 10px;
  color: var(--text-muted);
  transition: transform 0.2s;
  width: 16px;
  text-align: center;
}

.tree-parent.open > .tree-toggle i {
  transform: rotate(90deg);
}

.tree-children {
  display: none;
  padding-left: 16px;
}

.tree-parent.open > .tree-children {
  display: block;
}

/* Products Toolbar */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-download-catalog {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  margin-right: 10px;
}
.btn-download-catalog:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.view-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.2s;
}

.view-btn.active,
.view-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Product Grid */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.prod-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.3s;
}

.prod-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.prod-img {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform 0.4s ease;
}

.prod-card:hover .prod-img img {
  transform: scale(1.04);
}

.prod-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.prod-body {
  padding: 16px 18px;
}

.prod-cat {
  font-size: 12px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 6px;
}

.prod-cat:hover {
  color: var(--primary-dark);
}

.prod-body h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px 0;
  line-height: 1.4;
}

.prod-body p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.prod-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
}

.btn-quote {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--primary);
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-quote:hover {
  background: var(--primary-dark);
}

.btn-detail-btn {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.btn-detail-btn:hover {
  color: var(--primary);
}

/* No products */
.no-products {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.no-products i {
  font-size: 48px;
  margin-bottom: 16px;
  color: var(--border);
}

.no-products p {
  font-size: 15px;
}

/* Pagination */
.pagination {
  margin-top: 40px;
  padding: 0;
}

.pagination ul.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination ul.page-numbers li {
  list-style: none;
}

.pagination ul.page-numbers li a,
.pagination ul.page-numbers li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
}

.pagination ul.page-numbers li a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pagination ul.page-numbers li span.current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}

/* Flat pagination (non-list) fallback */
.pagination > .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination > .page-numbers > li {
  list-style: none;
}

.pagination > .page-numbers a,
.pagination > .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
}

.pagination > .page-numbers a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pagination > .page-numbers .current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}

/* Product Filter Panel */
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.filter-panel {
  padding: 16px;
}

.filter-group {
  margin-bottom: 16px;
}

.filter-group:last-of-type {
  margin-bottom: 12px;
}

.filter-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.filter-label i {
  color: var(--primary);
  font-size: 13px;
  width: 16px;
  text-align: center;
}

.filter-range-value {
  margin-left: auto;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  background: var(--bg-light);
  padding: 2px 8px;
  border-radius: 10px;
}

.filter-input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}

.filter-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,95,168,0.1);
}

.filter-input::placeholder {
  color: var(--text-muted);
}

.filter-select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  color: var(--text);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 12px center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
  outline: none;
}

.filter-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,95,168,0.1);
}

/* Dual range slider */
.range-slider-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

.range-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-gray);
  outline: none;
  transition: background 0.2s;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  transition: transform 0.15s, box-shadow 0.15s;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 2px 8px rgba(26,95,168,0.35);
}

.range-slider::-webkit-slider-thumb:active {
  transform: scale(1.2);
  background: var(--primary-dark);
}

.range-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.range-separator {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  flex-shrink: 0;
}

/* Filter actions */
.filter-actions {
  padding-top: 4px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

.btn-reset {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px 16px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-reset:hover {
  background: var(--bg-light);
  border-color: var(--primary);
  color: var(--primary);
}

/* Active filter tags */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.filter-tag:hover {
  background: var(--primary-dark);
}

.filter-tag i.fa-xmark {
  font-size: 10px;
  opacity: 0.7;
  margin-left: 2px;
}

.filter-tag i:first-child {
  font-size: 10px;
  opacity: 0.85;
}

/* Category link active state (filter mode) */
.filter-cat-link.active {
  color: var(--primary);
  font-weight: 700;
}

/* Loading overlay */
.filter-loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.filter-loading i {
  font-size: 28px;
  color: var(--primary);
  display: block;
  margin-bottom: 12px;
}

.prod-grid.loading {
  opacity: 0.6;
  transition: opacity 0.2s;
}

/* Responsive filter adjustments */
@media (max-width: 768px) {
  .filter-panel {
    padding: 12px;
  }
}
