/* ==========================================================================
   CÔNG TY CỔ PHẦN THƯƠNG MẠI VÀ PHÁT TRIỂN KHOA CƯƠNG
   Domain: gachngoikhoacuong.com | Hotline/Zalo: 0968 220 199
   MST: 0601292822 | Địa chỉ: Xóm 8, Xã Giao Bình, Tỉnh Ninh Bình
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600;1,700&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap&subset=vietnamese,latin-ext');

:root {
  /* Color Palette */
  --primary: #0f3d32;         /* Deep Luxury Emerald */
  --primary-dark: #08241d;
  --primary-light: #165b4c;
  --primary-rgb: 15, 61, 50;

  --accent-gold: #c59b27;     /* Imperial Gold */
  --accent-gold-light: #dfb746;
  --accent-gold-dark: #9b7713;
  --accent-gold-rgb: 197, 155, 39;

  --brand-red: #b91c1c;       /* Khoa Cương Crimson from Logo */
  --brand-red-dark: #991b1b;

  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-dark: #0a1916;
  --bg-darker: #050d0b;

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --border-light: #e2e8f0;
  --border-gold: rgba(197, 155, 39, 0.3);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(15, 61, 50, 0.08);
  --shadow-lg: 0 16px 36px -6px rgba(15, 61, 50, 0.12);
  --shadow-xl: 0 24px 50px -10px rgba(15, 61, 50, 0.18);
  --shadow-gold: 0 8px 25px rgba(197, 155, 39, 0.25);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.3;
}

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Utilities */
.heading-serif {
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

.text-gold {
  color: var(--accent-gold);
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 50%, var(--accent-gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Top Utility Bar */
.topbar {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  font-size: 0.825rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1001;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
}

.topbar-info, .topbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-item i {
  color: var(--accent-gold);
}

.topbar-item strong {
  color: #ffffff;
}

.topbar-link:hover {
  color: var(--accent-gold-light);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 61, 50, 0.08);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-gold);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.brand-title span {
  color: var(--brand-red);
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 3px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--primary));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 61, 50, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 61, 50, 0.35);
  color: #ffffff;
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(197, 155, 39, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-light);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(15, 61, 50, 0.04);
}

.btn-zalo {
  background: #0068ff;
  color: #ffffff;
}

.btn-zalo:hover {
  background: #0052cc;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 104, 255, 0.3);
}

.btn-phone {
  background: var(--brand-red);
  color: #ffffff;
}

.btn-phone:hover {
  background: var(--brand-red-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(185, 28, 28, 0.3);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 640px;
  background-color: var(--bg-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  padding: 60px 0 100px;
}

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

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.65;
  transform: scale(1.03);
  transition: transform 10s ease-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 25, 22, 0.95) 0%,
    rgba(10, 25, 22, 0.85) 45%,
    rgba(10, 25, 22, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(197, 155, 39, 0.15);
  border: 1px solid rgba(197, 155, 39, 0.4);
  border-radius: var(--radius-full);
  color: var(--accent-gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-gold-light);
  line-height: 1;
}

.trust-label {
  font-size: 0.825rem;
  color: #cbd5e1;
  margin-top: 4px;
}

/* Floating Stats Strip */
.stats-strip {
  position: relative;
  z-index: 10;
  margin-top: -50px;
  margin-bottom: 60px;
}

.stats-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-box {
  background: #ffffff;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-gold);
}

.stat-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(15, 61, 50, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stat-box:hover .stat-icon-wrapper {
  background: var(--primary);
  color: #ffffff;
}

.stat-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 3px;
}

.stat-info p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.825rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   ABOUT COMPANY SECTION
   ========================================================================== */
.about-section {
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-visual-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 3px solid var(--border-gold);
  background: #ffffff;
  width: 100%;
}

.about-image-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-image-card:hover img {
  transform: scale(1.02);
}

.about-info-card {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(197, 155, 39, 0.4);
  box-shadow: var(--shadow-md);
  color: #ffffff;
}

.about-badge-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent-gold-light);
  margin-bottom: 6px;
  line-height: 1.35;
}

.about-badge-desc {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.about-content-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.company-meta-box {
  background: var(--bg-subtle);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 0.875rem;
}

.company-meta-box div strong {
  color: var(--primary-dark);
}

.about-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}

.about-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--text-main);
}

.about-checklist li i {
  color: #16a34a;
}

/* ==========================================================================
   CATEGORY CARDS (CHỦ LỰC)
   ========================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.category-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-gold);
}

.category-img-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
}

.category-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.category-badge-count {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 61, 50, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.category-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 14px;
  flex-grow: 1;
}

.category-link-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.category-card:hover .category-link-btn {
  color: var(--accent-gold);
}

/* ==========================================================================
   PRODUCT SHOWCASE & FILTER SYSTEM
   ========================================================================== */
.catalog-section {
  background-color: var(--bg-main);
  padding: 90px 0;
}

.filter-control-panel {
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-filter-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.search-box-wrapper {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.search-box-wrapper input {
  width: 100%;
  padding: 12px 18px 12px 46px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  outline: none;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--bg-subtle);
}

.search-box-wrapper input:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(15, 61, 50, 0.1);
}

.search-box-wrapper i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
}

.brand-select-wrapper {
  min-width: 200px;
}

.brand-select-wrapper select {
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  outline: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--bg-subtle);
  cursor: pointer;
  transition: var(--transition);
}

.brand-select-wrapper select:focus {
  border-color: var(--primary);
  background-color: #ffffff;
}

/* Category Filter Tabs */
.category-filter-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.filter-tab {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  background: var(--bg-subtle);
  color: var(--text-muted);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.filter-tab.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 61, 50, 0.25);
}

.catalog-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.catalog-status-bar strong {
  color: var(--primary-dark);
}


.product-code-badge {
  font-size: 0.725rem;
  font-weight: 700;
  background: #e0f2fe;
  color: #0369a1;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

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

.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}

.product-media {
  position: relative;
  height: 230px;
  background: #f8fafc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.product-media img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.06);
}

.product-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.product-badge-tag.badge-gold {
  background: var(--accent-gold);
}

.product-badge-tag.badge-red {
  background: var(--brand-red);
}

.product-brand-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  color: var(--primary-dark);
  font-size: 0.725rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.35;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
}

.product-specs-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  flex-grow: 1;
}

.spec-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #f1f5f9;
  padding-bottom: 3px;
}

.spec-line span:first-child {
  color: #94a3b8;
}

.spec-line span:last-child {
  font-weight: 600;
  color: var(--text-main);
  text-align: right;
  max-width: 60%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-footer-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  margin-top: auto;
}

.price-inquiry-label {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--brand-red);
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-view-detail {
  padding: 6px 14px;
  font-size: 0.825rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: rgba(15, 61, 50, 0.08);
  color: var(--primary);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.product-card:hover .btn-view-detail {
  background: var(--primary);
  color: #ffffff;
}

/* Load More / Pagination Area */
.pagination-wrapper {
  text-align: center;
  margin-top: 48px;
}

.btn-load-more {
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 700;
}

/* ==========================================================================
   PAINT / MEN SỨ & COLOR PALETTE SHOWCASE
   ========================================================================== */
.paint-showcase-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.paint-showcase-section .section-title {
  color: #ffffff;
}

.paint-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.paint-tech-box {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.paint-feature-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.paint-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(197, 155, 39, 0.2);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.paint-info h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.paint-info p {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.fengshui-colors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.fengshui-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.fengshui-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
}

.color-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin: 0 auto 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.fengshui-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold-light);
}

.fengshui-tones {
  font-size: 0.7rem;
  color: #94a3b8;
}

/* ==========================================================================
   FEATURED PROJECTS GALLERY
   ========================================================================== */
.projects-section {
  background: #ffffff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  height: 340px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 25, 22, 0.92) 0%, rgba(10, 25, 22, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #ffffff;
}

.project-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-gold-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 8px;
}

.project-desc {
  font-size: 0.825rem;
  color: #cbd5e1;
  line-height: 1.4;
}

/* ==========================================================================
   CONSULTATION & INQUIRY FORM
   ========================================================================== */
.consultation-section {
  background: var(--bg-subtle);
  position: relative;
}

.consultation-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.consultation-info-side {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 48px 40px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.consultation-info-header h3 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.consultation-info-header p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-quick-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 36px 0;
}

.c-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.c-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(197, 155, 39, 0.2);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.c-text span {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.c-text strong {
  font-size: 1rem;
  color: #ffffff;
}

.consultation-form-side {
  padding: 48px 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  outline: none;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--bg-main);
}

.form-control:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(15, 61, 50, 0.08);
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-darker);
  color: #94a3b8;
  padding-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-about-text {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #cbd5e1;
}

.footer-legal-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 0.8rem;
  line-height: 1.5;
}

.footer-legal-card p strong {
  color: #ffffff;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: 0.875rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links-list a:hover {
  color: var(--accent-gold-light);
  transform: translateX(4px);
}

.footer-links-list a i {
  font-size: 0.75rem;
  color: var(--accent-gold);
}

.footer-map-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}

.footer-map-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  text-align: center;
  font-size: 0.825rem;
  color: #64748b;
}

.footer-bottom strong {
  color: #cbd5e1;
}

/* ==========================================================================
   PRODUCT DETAIL MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 22, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.product-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 1160px;
  max-height: 92vh;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.95) translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .product-modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-body-scroll {
  overflow-y: auto;
  flex: 1;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

.modal-top-bar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.modal-top-bar-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f3d32;
}

.modal-top-bar-info i {
  color: #c59b27;
  font-size: 1.05rem;
}

.modal-close-btn {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fee2e2;
  border: 1.5px solid #f87171;
  color: #dc2626;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 7px 16px;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  line-height: 1;
}

.modal-close-btn i {
  font-size: 1.15rem;
  color: #dc2626;
}

.modal-close-btn:hover,
.modal-close-btn:active {
  background: #dc2626;
  color: #ffffff;
  border-color: #b91c1c;
  transform: scale(1.04);
}

.modal-close-btn:hover i,
.modal-close-btn:active i {
  color: #ffffff;
}

.modal-content-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  padding: 28px;
  align-items: stretch;
}

.modal-media-side {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 12px;
}

.modal-main-img-box {
  background: #f8fafc;
  border-radius: var(--radius-lg);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 560px;
  height: 100%;
  border: 1px solid var(--border-light);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.modal-main-img-box img {
  width: 100%;
  height: 100%;
  max-height: 590px;
  object-fit: contain;
  border-radius: var(--radius-md);
  transition: transform 0.3s ease;
}

.modal-main-img-box:hover img {
  transform: scale(1.03);
}

.modal-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 61, 50, 0.85);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.modal-main-img-box:hover .modal-zoom-hint {
  background: var(--accent-gold);
  color: #0f3d32;
  font-weight: 700;
}

/* ==========================================================================
   FULLSCREEN IMAGE LIGHTBOX
   ========================================================================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 13, 11, 0.95);
  backdrop-filter: blur(12px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img-wrapper {
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption {
  margin-top: 14px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  font-family: var(--font-heading);
}

.lightbox-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 3010;
}

.lightbox-close-btn:hover {
  background: var(--brand-red);
  transform: rotate(90deg);
}

.modal-details-side {
  display: flex;
  flex-direction: column;
}

.modal-header-meta {
  margin-bottom: 12px;
}

.modal-brand-badge {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-gold-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-prod-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.3;
  margin: 6px 0 10px;
}

.modal-price-bar {
  background: #fef2f2;
  border: 1px dashed #f87171;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-price-bar strong {
  color: var(--brand-red);
  font-size: 1.05rem;
}

.modal-price-bar span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 0.875rem;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-light);
}

.specs-table td {
  padding: 8px 12px;
}

.specs-table td:first-child {
  width: 35%;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.specs-table td:last-child {
  color: var(--text-main);
  font-weight: 600;
}

.modal-features-list {
  margin-bottom: 24px;
}

.modal-features-list h5 {
  font-size: 0.9rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.modal-features-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-features-list li i {
  color: #16a34a;
}

.modal-action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
}

.btn-modal-close-bottom {
  grid-column: 1 / -1;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  font-size: 0.95rem;
}

.btn-modal-close-bottom:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #94a3b8;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (ZALO / HOTLINE)
   ========================================================================== */
.floating-contact-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  position: relative;
  transition: var(--transition);
  cursor: pointer;
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-btn-zalo {
  background: #ffffff;
  border: 1.5px solid rgba(0, 104, 255, 0.4);
  box-shadow: 0 8px 24px rgba(0, 104, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0068ff;
}

.float-btn-zalo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.float-btn-phone {
  background: #22c55e;
}

.float-btn-fb {
  background: #1877f2;
}

.float-btn-user {
  background: #0284c7;
}

.float-btn-user:hover {
  background: #0369a1;
}

.float-btn-top {
  background: var(--primary-dark);
  font-size: 1.1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.float-btn-top.show {
  opacity: 1;
  visibility: visible;
}

/* Pulse Animation for Zalo/Phone */
.pulse-ring::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.8;
  animation: pulseEffect 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

@keyframes pulseEffect {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 0.3; }
  100% { transform: scale(1.6); opacity: 0; }
}

.float-tooltip {
  position: absolute;
  right: 68px;
  background: var(--bg-dark);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: var(--transition);
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1200px) {
  .product-grid, .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stats-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .about-grid, .paint-grid, .consultation-card {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .product-grid, .categories-grid, .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal-content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
  .modal-main-img-box {
    min-height: auto;
    height: 360px;
  }
}

@media (max-width: 768px) {
  .modal-overlay {
    padding: 0;
    align-items: stretch;
    justify-content: center;
  }
  .product-modal-dialog {
    width: 100%;
    max-width: 100%;
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    margin: 0;
    transform: none;
    box-shadow: none;
  }
  .modal-top-bar {
    padding-top: max(12px, env(safe-area-inset-top, 12px));
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 10px;
  }
  .modal-top-bar-info {
    font-size: 0.9rem;
  }
  .modal-close-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    min-height: 40px;
  }
  .modal-content-grid {
    padding: 14px;
    gap: 14px;
  }
  .modal-main-img-box {
    min-height: auto;
    height: 280px;
  }
  .modal-header-meta {
    padding-right: 44px;
  }
  .modal-prod-title {
    font-size: 1.25rem;
  }
  .topbar {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    z-index: 999;
  }
  .nav-menu.active {
    transform: translateY(0);
  }
  .header-cta .btn-gold {
    display: none;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .stats-card-grid {
    grid-template-columns: 1fr;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
  
  /* Mobile 2-column Product Card Adjustments */
  .product-grid .product-media {
    height: 155px;
    padding: 8px;
  }
  .product-grid .product-badge-tag {
    font-size: 0.58rem;
    padding: 2px 6px;
    top: 6px;
    left: 6px;
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .product-grid .product-brand-tag {
    font-size: 0.58rem;
    padding: 1px 5px;
    bottom: 6px;
    right: 6px;
  }
  .product-grid .product-body {
    padding: 10px;
  }
  .product-grid .product-category-text {
    font-size: 0.65rem;
    margin-bottom: 2px;
  }
  .product-grid .product-code-badge {
    font-size: 0.65rem;
    padding: 1px 5px;
  }
  .product-grid .product-title {
    font-size: 0.82rem;
    line-height: 1.3;
    height: 2.6em;
    margin-bottom: 6px;
  }
  .product-grid .product-specs-list {
    gap: 2px;
    font-size: 0.7rem;
    margin-bottom: 8px;
  }
  .product-grid .spec-line {
    padding-bottom: 2px;
  }
  .product-grid .spec-line span:first-child {
    font-size: 0.68rem;
    color: #64748b;
  }
  .product-grid .spec-line span:last-child {
    font-size: 0.68rem;
    font-weight: 600;
    max-width: 55%;
  }
  .product-grid .product-footer-action {
    flex-direction: column;
    gap: 6px;
    padding-top: 8px;
    align-items: stretch;
  }
  .product-grid .price-inquiry-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-red);
    text-align: center;
    justify-content: center;
  }
  .product-grid .btn-view-detail {
    width: 100%;
    justify-content: center;
    padding: 5px 8px;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
  }
  
  .catalog-status-bar {
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .fengshui-colors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .modal-action-buttons {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .floating-contact-widget {
    bottom: 80px;
    right: 16px;
  }
  body {
    padding-bottom: 64px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
  .product-grid .product-media {
    height: 140px;
    padding: 6px;
  }
  .product-grid .product-body {
    padding: 8px 6px;
  }
  .product-grid .product-title {
    font-size: 0.78rem;
  }
  .categories-grid {
    gap: 8px;
  }
}

/* ==========================================================================
   SIZE FILTER PILLS
   ========================================================================== */
.size-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-light);
}

.size-filter-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.size-pill {
  padding: 5px 12px;
  font-size: 0.775rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}

.size-pill:hover {
  background: #ffffff;
  color: var(--primary);
  border-color: var(--primary-light);
}

.size-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(15, 61, 50, 0.25);
}

/* ==========================================================================
   MATERIAL & ROOF CALCULATOR WIDGET
   ========================================================================== */
.calculator-section {
  background: linear-gradient(135deg, #0a1916 0%, #0f3d32 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.calculator-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197, 155, 39, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.calc-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(12px);
}

.calc-form-group {
  margin-bottom: 20px;
}

.calc-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent-gold-light);
}

.calc-input, .calc-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.calc-input:focus, .calc-select:focus {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.15);
}

.calc-select option {
  background: #0f3d32;
  color: #ffffff;
}

.calc-result-box {
  background: rgba(197, 155, 39, 0.12);
  border: 1px solid rgba(197, 155, 39, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
  text-align: center;
}

.calc-result-num {
  font-size: 2.25rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--accent-gold-light);
  line-height: 1.1;
  margin-bottom: 6px;
}

.calc-result-sub {
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* ==========================================================================
   RECENTLY VIEWED PRODUCTS
   ========================================================================== */
.recent-views-section {
  background: #ffffff;
  padding: 48px 0;
  border-top: 1px solid var(--border-light);
}

.recent-views-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.recent-views-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.recent-views-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ==========================================================================
   MOBILE BOTTOM STICKY BAR
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(15, 61, 50, 0.12);
  padding: 8px 12px;
  z-index: 1002;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.mobile-bottom-bar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-bottom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.mobile-btn-zalo {
  background: #0068ff;
}

.mobile-btn-phone {
  background: var(--brand-red);
}

@media (max-width: 768px) {
  /* 1. Header Cleanup on Mobile */
  .site-header .header-cta .btn-zalo,
  .site-header .header-cta .btn-phone {
    display: none !important;
  }
  
  .site-header {
    padding: 8px 0;
  }
  
  .brand-logo-link .logo-badge {
    width: 36px;
    height: 36px;
  }
  
  .brand-title {
    font-size: 1.1rem;
    letter-spacing: -0.2px;
  }
  
  .brand-subtitle {
    font-size: 0.62rem;
  }

  .mobile-toggle {
    display: flex !important;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: rgba(15, 61, 50, 0.08);
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 61, 50, 0.15);
    color: var(--primary-dark);
    font-size: 1.25rem;
  }

  /* 2. Floating Buttons Cleanup on Mobile */
  .floating-contact-widget {
    display: none !important;
  }

  /* 3. Sticky Bottom Bar */
  .mobile-bottom-bar {
    display: block !important;
  }

  /* 4. Hero Section Sizing */
  .hero-section {
    padding: 60px 0 36px;
    min-height: auto;
  }

  .hero-title {
    font-size: 1.55rem;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 13px 18px;
    font-size: 0.92rem;
  }

  /* 5. Section Paddings */
  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 1.45rem;
    line-height: 1.3;
  }

  /* 6. Multi-Column 2-by-2 Grids on Mobile for Maximum Browsing Efficiency */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .category-card .category-img-wrap {
    height: 130px !important;
  }

  .category-card .category-content {
    padding: 12px !important;
  }

  .category-card .category-title {
    font-size: 0.92rem !important;
    margin-bottom: 4px !important;
  }

  .category-card .category-desc {
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .category-card .category-link-btn {
    font-size: 0.78rem !important;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .product-card {
    border-radius: var(--radius-md) !important;
  }

  .product-card .product-media {
    height: 150px !important;
    padding: 8px !important;
  }

  .product-card .product-body {
    padding: 10px !important;
  }

  .product-card .product-category-text {
    font-size: 0.68rem !important;
    margin-bottom: 2px !important;
  }

  .product-card .product-title {
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
    height: 2.6em !important;
    margin-bottom: 6px !important;
  }

  .product-card .product-specs-list {
    gap: 2px !important;
    font-size: 0.72rem !important;
    margin-bottom: 8px !important;
  }

  .product-card .product-footer-action {
    padding-top: 8px !important;
  }

  .product-card .price-inquiry-label {
    font-size: 0.72rem !important;
  }

  .product-card .btn-card-detail {
    padding: 4px 8px !important;
    font-size: 0.72rem !important;
  }

  .calc-grid {
    grid-template-columns: 1fr !important;
  }

  .recent-views-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}

/* ==========================================================================
   DEDICATED REAL-LIFE PROJECTS SHOWCASE SECTION (HORIZONTAL CAROUSEL)
   ========================================================================== */
.real-projects-section {
  background: linear-gradient(180deg, #09261f 0%, #061b16 100%);
  padding: 70px 0 80px;
  position: relative;
  border-top: 1px solid rgba(197, 155, 39, 0.15);
  border-bottom: 1px solid rgba(197, 155, 39, 0.15);
}

.real-projects-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.project-filter-pill {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.project-filter-pill:hover,
.project-filter-pill.active {
  background: var(--accent-gold);
  color: #09261f;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 14px rgba(197, 155, 39, 0.3);
  transform: translateY(-2px);
}

/* Carousel Container */
.real-projects-carousel-wrapper {
  position: relative;
  width: 100%;
}

.real-projects-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 4px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.real-projects-carousel-track::-webkit-scrollbar {
  display: none; /* Chrome / Safari / Edge */
}

/* Cards in Slider */
.real-project-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 320px;
  max-width: 380px;
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.real-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(197, 155, 39, 0.25);
  border-color: var(--accent-gold);
}

.real-project-img-wrapper {
  position: relative;
  height: 220px;
  width: 100%;
  background: #0f172a;
  overflow: hidden;
}

.real-project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.real-project-card:hover .real-project-img-wrapper img {
  transform: scale(1.08);
}

.real-project-badge-left {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 61, 50, 0.9);
  color: #ffffff;
  backdrop-filter: blur(4px);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(197, 155, 39, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.real-project-badge-right {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent-gold);
  color: #09261f;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.real-project-zoom-hint {
  position: absolute;
  inset: 0;
  background: rgba(9, 38, 31, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.real-project-card:hover .real-project-zoom-hint {
  opacity: 1;
}

.real-project-zoom-pill {
  background: rgba(255, 255, 255, 0.95);
  color: #09261f;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.real-project-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.real-project-title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.real-project-location {
  font-size: 0.8rem;
  color: #0284c7;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.real-project-desc {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 38px;
}

.real-project-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #94a3b8;
}

.btn-view-large {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.real-project-card:hover .btn-view-large {
  color: var(--accent-gold);
}

/* Slider Nav Arrows */
.carousel-nav-btn {
  position: absolute;
  top: calc(50% - 24px);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0f3d32;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 10;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.carousel-nav-btn:hover {
  background: var(--accent-gold);
  color: #09261f;
  transform: scale(1.12);
  box-shadow: 0 10px 28px rgba(197, 155, 39, 0.5);
}

.carousel-prev-btn {
  left: -22px;
}

.carousel-next-btn {
  right: -22px;
}

.carousel-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

/* Bottom Hint & Controls */
.carousel-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  color: #cbd5e1;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 992px) {
  .real-project-card {
    flex: 0 0 calc((100% - 20px) / 2);
    min-width: 290px;
  }
  .carousel-prev-btn {
    left: -10px;
  }
  .carousel-next-btn {
    right: -10px;
  }
}

@media (max-width: 640px) {
  .real-project-card {
    flex: 0 0 85%;
    min-width: 270px;
  }
  .carousel-nav-btn {
    display: none; /* Mobile uses natural finger swipe */
  }
  .carousel-bottom-bar {
    justify-content: center;
    text-align: center;
  }
}

