/* ===================================================================
   Zhiyuan Shangela (致远熵格拉) - GEOHO (致浩) Official Enterprise Style
   Design Reference: Huawei Enterprise (Clean White + Brand Green + Slate)
   =================================================================== */

:root {
  --color-white: #FFFFFF;
  --color-bg-light: #F8FAFC;
  --color-bg-alt: #F1F5F9;
  --color-surface: #FFFFFF;
  
  --brand-green: #00A862;
  --brand-green-hover: #00874E;
  --brand-green-light: #10B981;
  --brand-green-tint: #ECFDF5;
  --brand-green-border: #A7F3D0;
  
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-dim: #94A3B8;
  
  --border-light: #E2E8F0;
  --border-card: #E5E7EB;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.08);
  --shadow-stack: 0 -24px 60px rgba(15, 23, 42, 0.16);
  --shadow-hover: 0 16px 36px rgba(0, 168, 98, 0.12);
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--color-white);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--color-white);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

/* CONTAINER & UTILITY */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-py {
  padding: 80px 0;
}

.section-py-sm {
  padding: 56px 0;
}

.bg-light {
  background-color: var(--color-bg-light);
}

.bg-white {
  background-color: var(--color-white);
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--brand-green-tint);
  color: var(--brand-green);
  border: 1px solid var(--brand-green-border);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  outline: none;
}

.btn-primary {
  background: var(--brand-green);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--brand-green-hover);
  box-shadow: 0 4px 14px rgba(0, 168, 98, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
  background: var(--brand-green-tint);
}

/* NAVBAR (HUAWEI WHITE STYLE) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.nav-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-company-name {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  font-weight: 500;
}

.nav-product-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 24px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--brand-green);
  border-radius: 2px 2px 0 0;
}

/* DROPDOWN MENU */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 270px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  display: none;
  list-style: none;
  z-index: 1010;
}

.nav-item:hover .dropdown-menu {
  display: block;
}

.dropdown-item a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.dropdown-item a:hover {
  background: var(--brand-green-tint);
  color: var(--brand-green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

/* BREADCRUMB */
.breadcrumb-bar {
  margin-top: 72px;
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.breadcrumb-list a:hover {
  color: var(--brand-green);
}

.breadcrumb-list .current {
  color: var(--text-primary);
  font-weight: 500;
}

/* ===================================================================
   HUAWEI SCROLL OVERLAP ENGINE
   Hero stays pinned at top without actual scroll.
   As user scrolls: Hero dims and fades out.
   Content layer starts at 100vh, moves up smoothly based on scroll,
   and completely covers hero!
   =================================================================== */

.huawei-page-wrapper {
  position: relative;
  width: 100%;
}

/* SECTION 1: FIXED HERO LAYER */
.hero-fixed-layer {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 72px);
  z-index: 1;
  overflow: hidden;
  background: #0B1727;
  pointer-events: auto;
  display: flex;
  align-items: center; /* Natural vertical centering within viewport */
}

.hero-full-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center; /* Displays complete container, with ample green grass & sky on right */
  filter: brightness(0.95) contrast(1.05);
  transition: filter 0.15s ease-out;
}

/* Dimming Mask: Darkens as user scrolls */
.hero-dim-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.15s ease-out;
}

/* Left protection gradient so white text is readable over open sky/grass */
.hero-text-protection-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, 
    rgba(11, 23, 39, 0.85) 0%, 
    rgba(11, 23, 39, 0.45) 60%, 
    transparent 100%
  );
  z-index: 3;
  pointer-events: none;
}

/* Left Content: Strictly bound to left 42vw width to NEVER block container on right */
.hero-left-content {
  position: relative;
  z-index: 5;
  width: min(44vw, 760px);
  max-width: 760px;
  margin-left: max(4.5vw, 36px);
  padding: 0;
  color: #FFFFFF;
  transition: opacity 0.15s ease-out;
  box-sizing: border-box;
}

.hero-badge-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(0, 168, 98, 0.28);
  border: 1px solid rgba(0, 168, 98, 0.5);
  color: #34D399;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
}

.hero-title-main {
  margin-bottom: 14px;
  line-height: 1.22;
  letter-spacing: -0.5px;
}

.hero-title-line-1 {
  display: block;
  font-size: clamp(1.25rem, 1.7vw, 2.0rem);
  font-weight: 700;
  color: #FFFFFF !important; /* Pure white */
  line-height: 1.25;
  margin-bottom: 6px;
  white-space: nowrap; /* GUARANTEES NO WRAPPING */
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.75);
}

.hero-title-line-2 {
  display: block;
  font-size: clamp(1.6rem, 2.25vw, 2.8rem);
  font-weight: 800;
  color: #34D399 !important; /* Brand luminous emerald green */
  line-height: 1.18;
  white-space: nowrap; /* GUARANTEES NO WRAPPING */
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.75);
}

.hero-desc-main {
  font-size: clamp(0.85rem, 0.92vw, 1.0rem);
  line-height: 1.65;
  color: #E2E8F0;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-stat-number {
  font-size: 1.7rem;
  font-weight: 800;
  color: #34D399;
  line-height: 1.1;
  margin-bottom: 4px;
}

.hero-stat-text {
  font-size: 0.75rem;
  color: #CBD5E1;
  line-height: 1.35;
}

/* SECTION 2+: SLIDING CONTENT LAYER (STARTS AT 100vh AND COVERS HERO) */
.content-sliding-layer {
  position: relative;
  z-index: 10;
  margin-top: calc(100vh - 72px); /* Starts right below hero */
  background: #FFFFFF;
  box-shadow: var(--shadow-stack);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

/* SECTION 2: FACTORY & ZHIYUAN SHANGELA COMPANY INTRO */
.company-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 52px;
  align-items: center;
  padding: 80px 0;
}

.factory-visual-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.factory-visual-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.factory-visual-wrap:hover img {
  transform: scale(1.02);
}

.factory-badge-corner {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 168, 98, 0.4);
}

.company-content-col h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 14px;
}

.company-slogan-strip {
  display: inline-block;
  padding: 8px 18px;
  background: var(--brand-green-tint);
  border-left: 4px solid var(--brand-green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-green);
  margin-bottom: 22px;
}

.company-desc-para {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 18px;
}

.company-strategy-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 32px;
}

.strategy-mini-card {
  background: var(--color-bg-light);
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.strategy-mini-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.strategy-mini-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* SECTION 3: RACK SHOWCASE */
.rack-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 52px;
  align-items: center;
  padding: 80px 0;
}

.rack-box-img {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid var(--border-light);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.rack-box-img img {
  width: 100%;
  height: 460px;
  object-fit: contain;
  cursor: zoom-in;
}

/* SECTION 4: MODULAR SHOWCASE */
.modular-feature-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 52px;
  align-items: center;
  padding: 80px 0;
}

/* PRODUCT CARDS & DETAILS */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

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



.spec-item-key {
  color: var(--text-dim);
}

.spec-item-val {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

.product-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-card-link:hover {
  gap: 8px;
}

/* PRODUCT DETAIL SPEC SHEET */
.product-detail-hero {
  margin-top: 72px;
  padding: 56px 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.product-gallery-box {
  background: var(--color-bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: center;
}

.product-view-main {
  width: 100%;
  height: 440px;
  object-fit: contain;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  cursor: zoom-in;
}

.product-thumbs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.product-thumb {
  height: 70px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: #FFFFFF;
}

.product-thumb.active {
  border: 2px solid var(--brand-green);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 10px;
}

.product-detail-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.product-key-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.highlight-check {
  color: var(--brand-green);
  font-weight: bold;
}

.product-detail-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}

/* TABLES */
.table-container {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

.enterprise-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.enterprise-table th {
  background: var(--color-bg-light);
  padding: 16px 20px;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
}

.enterprise-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.enterprise-table tr:nth-child(even) td {
  background: #FAFAFA;
}

.enterprise-table tr:last-child td {
  border-bottom: none;
}

.enterprise-table .table-category {
  font-weight: 600;
  color: var(--brand-green);
  width: 25%;
}

/* FEATURE BOXES */
.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-box {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: var(--brand-green);
  box-shadow: var(--shadow-hover);
}

.feature-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-green-tint);
  border: 1px solid var(--brand-green-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--brand-green);
  margin-bottom: 18px;
}

.feature-box h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* INQUIRY BANNER */
.inquiry-banner {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: var(--shadow-md);
}

.inquiry-banner h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.inquiry-banner p {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 600px;
}

/* FOOTER */
.footer {
  background: #0B1120;
  color: #E2E8F0;
  padding: 80px 0 36px;
  border-top: 1px solid #1E293B;
  position: relative;
  z-index: 50;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 18px;
}

.footer-desc {
  font-size: 0.9rem;
  color: #94A3B8;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-col h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: #94A3B8;
}

.footer-links a:hover {
  color: var(--brand-green-light);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid #1E293B;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748B;
}

/* LIGHTBOX */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  text-align: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox-caption {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 14px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 2.2rem;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-title-main { font-size: 2.6rem; }
  .company-intro-grid, .rack-feature-grid, .modular-feature-grid {
    grid-template-columns: 1fr;
  }
  .product-grid-4, .feature-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .inquiry-banner {
    flex-direction: column;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-left-content {
    padding-left: 24px;
    max-width: 580px;
  }
}

@media (max-width: 768px) {
  .nav-menu, .nav-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title-main { font-size: 2.1rem; }
  .hero-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .product-grid-4, .feature-cards-grid { grid-template-columns: 1fr; }
  .company-strategy-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-left-content {
    width: 90%;
    max-width: none;
    margin-left: 5vw;
  }
  .hero-text-protection-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 58%;
  height: 100%;
  background: linear-gradient(90deg, 
    rgba(11, 23, 39, 0.88) 0%, 
    rgba(11, 23, 39, 0.50) 65%, 
    transparent 100%
  );
  z-index: 3;
  pointer-events: none;
}
}


/* ===================================================================
   PRODUCT SHOWCASE CARDS (Strict Height & Button Alignment)
   =================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: stretch; /* Forces equal height for cards in the same row */
}

.product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%; /* Fills full row height */
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-green);
  box-shadow: var(--shadow-hover);
}

.product-card-img-wrap {
  height: 260px;
  background: #F8FAFC;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  flex-shrink: 0; /* Strict fixed image height */
}

.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  max-height: 228px;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card-img-wrap img {
  transform: scale(1.03);
}

.product-card-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Expands to fill available vertical space */
}

.product-card-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  line-height: 1.4;
  min-height: 20px;
}

.product-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.35;
  min-height: 34px;
  display: flex;
  align-items: center;
}

.product-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 72px; /* Uniform height for exactly 3 lines of text */
}

.product-card-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  padding: 14px 16px;
  background: var(--color-bg-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
  font-size: 0.82rem;
  min-height: 76px; /* Uniform height for 2 rows of specs */
}

.spec-item-key {
  color: var(--text-dim);
}

.spec-item-val {
  color: var(--text-primary);
  font-weight: 600;
}

.product-card-btn {
  margin-top: auto; /* KEY: Pushes button to bottom, ensuring absolute horizontal alignment across row */
  width: 100%;
  text-align: center;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  background: var(--brand-green);
  color: #FFFFFF;
  transition: all 0.25s ease;
  display: block;
  text-decoration: none;
  box-sizing: border-box;
}

.product-card-btn:hover {
  background: var(--brand-green-hover);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 168, 98, 0.35);
  transform: translateY(-2px);
}
