/* ================= PRODUCT PAGE STYLES (product.html) ================= */
/* Biến dùng chung xem tại :root trong style.css. File này chỉ chứa style riêng cho product.html. */

/* ---------- Mở đầu: Tiêu đề trang ---------- */
.product-intro {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: var(--section-space) var(--page-gutter) clamp(48px, 5vw, 72px);
  background-color: #fff;
  text-align: center;
}

.product-intro-title {
  margin: 0;
  font-family: var(--font-ma-clayton);
  font-weight: 400;
  font-size: clamp(56px, 8vw, 128px);
  line-height: 1.1;
  color: var(--color-gray-100);
}

.product-intro-lede {
  max-width: 720px;
  text-align: center;
  font-family: var(--font-manrope);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
}

/* ---------- Khối thương hiệu (M&A / Anh Ceramics) ---------- */
.product-brand {
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 var(--page-gutter) clamp(56px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-brand-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  font-family: var(--font-google-sans-code);
  color: var(--color-gray-100);
}

.product-brand-visual {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
}

.product-brand-img {
  display: block;
  width: 100%;
  height: clamp(260px, 32vw, 460px);
  object-fit: cover;
}

.product-brand-cta {
  position: absolute;
  left: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  font-family: var(--font-manrope);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-white);
  background-image: linear-gradient(to top right, rgba(20, 18, 14, 0.7) 0%, rgba(20, 18, 14, 0) 70%);
}

.product-brand-cta-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.product-brand-visual:hover .product-brand-cta-icon {
  transform: translateX(3px);
}

/* ================= RESPONSIVE ================= */
@media screen and (max-width: 768px) {
  .product-intro {
    padding: 72px 20px 48px;
  }

  .product-brand {
    padding: 0 20px 56px;
  }

  .product-intro-lede { font-size: 20px; line-height: 1.55; }
  .product-brand-title { font-size: 19px; }
  .product-brand-visual { border-radius: 8px; }

  .product-brand-img {
    height: clamp(220px, 60vw, 340px);
  }
}

@media screen and (max-width: 480px) {
  .product-intro { padding: 54px 18px 40px; gap: 18px; }
  .product-intro-title { font-size: 56px; }
  .product-brand { padding: 0 16px 44px; gap: 14px; }
  .product-brand-img { height: 76vw; }

  .product-brand-cta {
    padding: 12px 16px;
    font-size: 14px;
  }
}
