
body.product-body {
  background: #fff;
  color: #111;
}

.product-title-amr {
  position: relative;
  height: 40vh;
  min-height: 420px;

  background: url("/pictures/arm.png") center / cover no-repeat;
  display: flex;
  align-items: center;
}

/* overlay */
.product-title-amr {
  position: relative;
  height: 50vh;
  min-height: 420px;
  background: url("/pictures/arm.png") center / cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden; /* tránh nội dung tràn khi dịch chuyển */
}

.product-title-amr::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.3), rgba(0,0,0,0.2));
}

.product-title-amr-content {
  position: relative;
  z-index: 1;
  padding-left: 120px;
  max-width: 600px;
  color: #fff;

  opacity: 0;
  transform: translateY(35px);
  animation: fadeUpTitle 1.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.4s;
  transition: transform 0.4s ease, text-shadow 0.4s ease;
}

@keyframes fadeUpTitle {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-title-amr-content:hover {
  transform: translateX(15px) translateY(-8px);
}

.product-title-amr h1 {
  font-size: 54px;
  margin-bottom: 18px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: text-shadow 0.4s ease, transform 0.4s ease;
}

.product-title-amr p {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.95;
  transition: all 0.4s ease;
}

.product-title-amr-content:hover h1 {
  text-shadow: 0 8px 30px rgba(100, 180, 255, 0.7);
  transform: scale(1.02);
}

.product-title-amr-content:hover p {
  opacity: 1;
  text-shadow: 0 2px 10px rgba(255,255,255,0.4);
}

/* 2 column layout */
.product-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 80px 180px;
  align-items: center;
}

.product-two-col.reverse {
  background: #ded7d7;
}

/* Thiết lập khung chứa ảnh cố định */
.product-img {
  width: 100%;
  height: 400px; /* Bạn có thể thay đổi con số này tùy ý (ví dụ: 300px, 500px) */
  overflow: hidden;
  border-radius: 12px;
}

/* Ép ảnh lấp đầy khung mà không bị biến dạng */
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Quan trọng: Giúp ảnh không bị méo khi ép kích thước */
  object-position: center; /* Giữ tâm ảnh ở giữa khung */
  display: block;
}

.product-content ul {
  padding-left: 20px;
}

.product-content li {
  margin-bottom: 14px;
  line-height: 1.6;
}

/* FEATURES */
.product-features {
  padding: 100px 120px;
  text-align: center;
}

.product-features h2 {
  font-size: 32px;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.feature img {
  width: 48px;
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature p {
  font-size: 14px;
  color: #555;
}

/* Responsive */
@media (max-width: 900px) {
  .product-two-col {
    grid-template-columns: 1fr;
    padding: 60px 20px;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}