/* =========================================================
   MACHINE HERO
   Image + Core Meta (Industrial Dark Spec Style)
   ========================================================= */

.machine-hero {
  max-width: 1100px;
  margin: 32px auto 44px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

/* =========================
   IMAGE PANEL
   ========================= */

.machine-hero-image {
  width: 100%;
  aspect-ratio: 3 / 2; /* CLS-safe */
  background: #161c27; /* industrial dark */
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.machine-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* =========================
   META / SPEC PANEL
   ========================= */

.machine-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 26px;
  border-radius: 12px;
  background: #1b2230; /* dark spec panel */
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 1rem;
  line-height: 1.6;
}

/* HARD RESET: kill inherited fades / transforms */
.machine-hero-meta,
.machine-hero-meta * {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* =========================
   TEXT HIERARCHY
   ========================= */

body.single-machine .machine-hero-meta p {
  margin: 0;
  color: #e6e8ec !important;
}

/* Model */
.machine-model {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #d5d9e0 !important;
}

/* Price */
.machine-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: #35c96f !important; /* trust green */
}

/* Stock / Status */
.machine-stock {
  font-size: 0.95rem;
  font-weight: 600;
  color: #9fe2b8 !important;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 900px) {
  .machine-hero {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .machine-hero-meta {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .machine-price {
    font-size: 1.2rem;
  }
}
