/* ===== Tín Phong – TPSVN.NET ===== */
:root {
  /* Màu thương hiệu TPS: cam gradient #E2461A → #F07A10 */
  --brand-1: #e2461a;
  --brand-2: #f07a10;
  --brand-grad: linear-gradient(120deg, var(--brand-1), var(--brand-2));
  --primary: #24313d;
  --primary-dark: #18222c;
  --accent: #e8560f;
  --accent-hover: #c94608;
  --accent-light: #fff0e5;
  --ink: #1b2630;
  --muted: #5f6b75;
  --line: #ece7e3;
  --bg: #ffffff;
  --bg-alt: #faf6f3;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(60, 30, 10, .08);
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 16px; }
h3 { font-size: 1.12rem; margin-bottom: 8px; }
p { color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: 2px solid var(--accent);
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit; font-size: 1rem;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn { background: var(--brand-grad); border-color: transparent; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232,86,15,.3); }
.btn--ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--ghost:hover { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: none; }
.btn--sm { padding: 9px 18px; font-size: .92rem; }
.btn--full { width: 100%; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(0,0,0,.04); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: flex; align-items: center; gap: 10px; }
/* Logo ảnh vuông có nhiều nền trắng: cắt bằng CSS để chỉ hiện phần "TPS We.Resin" */
.logo__img {
  position: relative; display: block;
  /* Kích thước cố định (tỉ lệ 795:465), không dùng aspect-ratio để Safari cũ hiển thị đúng */
  width: 79px; height: 46px;
  overflow: hidden; flex-shrink: 0;
}
.logo__img img {
  position: absolute; max-width: none;
  width: 128.8%; left: -12.6%; top: -57%;
}
/* Logo chân trang: nền trắng nằm ở lớp ngoài (.logo__badge), khung cắt bên trong không có padding.
   Trước đây padding nằm chung với khung cắt nên Safari (iPhone) đặt ảnh lệch lên trên. */
.logo__badge {
  display: inline-flex; flex-shrink: 0;
  background: #fff; border-radius: 10px; padding: 6px 10px;
}
.logo__badge .logo__img { width: 92px; height: 54px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text strong { font-size: 1.1rem; color: var(--primary-dark); letter-spacing: .04em; }
.logo__text small { font-size: .74rem; color: var(--muted); }
.logo--light .logo__text strong { color: #fff; }
.logo--light .logo__text small { color: #9fb6c4; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { font-weight: 500; color: var(--ink); position: relative; white-space: nowrap; }
.nav .btn { white-space: nowrap; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--accent); transition: width .2s;
}
.nav a:not(.btn):hover::after { width: 100%; }

/* Nút chuyển ngôn ngữ VI | EN */
.nav { margin-left: auto; }
.lang { display: flex; align-items: center; margin-left: 20px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: .82rem; font-weight: 700; }
.lang a { padding: 4px 10px; border-radius: 999px; color: var(--muted); line-height: 1.2; }
.lang a:hover { color: var(--ink); }
.lang a.is-active { background: var(--brand-grad); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(240,122,16,.14), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(226,70,26,.08), transparent 40%),
    var(--bg-alt);
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; color: var(--primary-dark); margin-bottom: 20px; }
/* Tiêu đề luôn 3 dòng cố định; chữ tự thu nhỏ để dòng dài nhất vừa khung */
.hero__content { container-type: inline-size; min-width: 0; }
.hero h1 { font-size: min(3.5rem, 9.3cqi); }
.hero h1 .h1-line { display: block; white-space: nowrap; }
.hero h1 .grad { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 1.12rem; max-width: 540px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero__stats { list-style: none; display: flex; gap: 40px; flex-wrap: wrap; }
.hero__stats strong { display: inline; font-size: 2rem; font-weight: 800; color: var(--primary); }
.hero__stats span { display: block; color: var(--muted); font-size: .92rem; }

.hero__visual { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: center; width: 100%; }
/* Ảnh hạt nhựa đầu trang: chuyển động chậm, nhẹ (phóng to + trôi ngang), thẻ "Hàng có sẵn" nhấp nhô */
.hero__photo {
  position: absolute; inset: 0;
  border-radius: 28px; overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 48px rgba(36, 49, 61, .16), 0 0 0 1px var(--line);
}
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform-origin: 30% 50%;
  animation: heroDrift 22s ease-in-out infinite alternate;
  will-change: transform;
}
.hero__photo::after { /* vệt sáng mờ lướt qua rất chậm */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: heroShine 9s ease-in-out 2s infinite;
}
.hero__card { animation: cardFloat 6s ease-in-out infinite; }
@keyframes heroDrift { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.12) translate(-2.5%, -1.5%); } }
@keyframes heroShine { 0% { transform: translateX(-120%); } 35%, 100% { transform: translateX(120%); } }
@keyframes cardFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
  .hero__photo img, .hero__photo::after, .hero__card { animation: none; }
}

.hero__card {
  position: absolute; left: -10px; bottom: 8%;
  display: flex; align-items: center; gap: 12px;
  background: #fff; padding: 14px 18px; border-radius: 12px;
  box-shadow: var(--shadow);
}
.hero__card strong { display: block; font-size: .95rem; }
.hero__card small { color: var(--muted); font-size: .8rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-light); }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--primary-dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #b5cad6; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about__text p { margin-bottom: 14px; }
.about__values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.value {
  padding: 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: transform .2s, box-shadow .2s;
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value p { font-size: .94rem; }
.value__icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; background: var(--accent-light); color: var(--accent);
  font-weight: 700; font-size: 1.2rem; margin-bottom: 14px;
}

/* Products */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-family: inherit; font-size: .95rem; font-weight: 500;
  color: var(--ink); cursor: pointer; transition: .2s;
}
.filter:hover { border-color: var(--primary); }
.filter.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product {
  background: #fff; border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, opacity .25s;
}
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product.is-hidden { display: none; }
.product { overflow: hidden; }
.product__img {
  margin: -28px -28px 20px; height: 120px; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.product__img { height: 150px; background: var(--bg-alt); }
.product__img svg, .product__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product:hover .product__img svg, .product:hover .product__img img { transform: scale(1.06); }

.footer__credits { padding: 0 24px 20px; text-align: center; font-size: .74rem; color: #6f8593; line-height: 1.6; }
.footer__credits a { text-decoration: underline; }
.product p { font-size: .95rem; margin-bottom: 16px; }
.product ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.product li { font-size: .78rem; padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); }
.product__tag {
  display: inline-block; padding: 6px 14px; border-radius: 8px;
  font-weight: 700; font-size: .85rem; margin-bottom: 16px; color: #fff;
}
.c-pp { background: #24313d; } .c-pe { background: #1e6f9e; } .c-ld { background: #3a93b8; }
.c-abs { background: #e08a2b; } .c-ps { background: #7a5cc2; } .c-pet { background: #4a6b7d; }
.c-pc { background: #2a8c8c; } .c-pa { background: #b5651d; } .c-pom { background: #5a6b2e; } .c-pbt { background: #4a5a8c; }
.c-asa { background: #c0563a; } .c-pcabs { background: #3d6fa8; }
.c-re { background: var(--accent); } .c-mb { background: #d24b6a; } .c-ad { background: #2b2f33; }

/* Makers */
.makers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.maker {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 28px 22px 24px; border: 1px solid var(--line); border-radius: 18px;
  background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.maker:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-4px); }
/* Nhà sản xuất nổi bật (vd Kolon – POM K300) */
.maker { position: relative; }
.maker--featured { border: 2px solid var(--accent); box-shadow: 0 8px 24px rgba(232, 86, 15, .14); }
.maker__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand-grad); color: #fff; font-size: .78rem; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; white-space: nowrap; box-shadow: 0 4px 10px rgba(226, 70, 26, .3);
}
.maker__logo {
  position: relative; width: 100%; height: 110px; margin-bottom: 18px;
  display: grid; place-items: center;
  border-radius: 12px; background: #fff;
}
.maker__logo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 8px; background: #fff;
}
.maker__mark {
  width: 96px; height: 96px; border-radius: 20px;
  display: grid; place-items: center;
  background: var(--accent-light); color: var(--accent-hover);
  font-weight: 800; font-size: 1.5rem; letter-spacing: .02em;
}
.maker strong { display: block; font-size: 1.08rem; line-height: 1.3; margin-bottom: 4px; }
.maker small { color: var(--muted); font-size: .9rem; }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.industry {
  text-align: center; padding: 28px 12px; border-radius: var(--radius);
  background: #fff; font-weight: 600; font-size: .95rem;
  transition: background .2s, color .2s;
}
.industry span { display: block; font-size: 2rem; margin-bottom: 10px; }
.industry:hover { background: var(--primary); color: #fff; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.steps span { display: block; font-size: 2.2rem; font-weight: 800; color: var(--accent); margin-bottom: 10px; }
.steps p { font-size: .94rem; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact__list { list-style: none; margin-top: 28px; }
.contact__list li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.contact__list b { min-width: 130px; color: var(--ink); }
.contact__list span, .contact__list a { color: var(--muted); }
.contact__list a:hover { color: var(--accent); }

.bank {
  margin-top: 28px; padding: 22px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff;
}
.bank h3 { font-size: 1rem; }
.bank p { font-size: .92rem; margin-bottom: 14px; }
.bank__accounts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bank__accounts div { padding: 12px 14px; border-radius: 10px; background: var(--accent-light); }
.bank__accounts small { display: block; color: var(--muted); font-size: .8rem; }
.bank__accounts strong { font-size: 1.1rem; letter-spacing: .04em; color: var(--accent-hover); }

.float-contact { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; gap: 10px; }
.float-contact__btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-grad); color: #fff; font-size: 1.4rem; font-weight: 700;
  box-shadow: 0 8px 20px rgba(232,86,15,.35); transition: transform .2s;
}
.float-contact__btn:hover { transform: scale(1.08); }
.float-contact__btn--zalo { background: #0068ff; font-size: .82rem; box-shadow: 0 8px 20px rgba(0,104,255,.3); }

.form { background: var(--bg-alt); padding: 36px; border-radius: 20px; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.form input, .form select, .form textarea {
  font-family: inherit; font-size: 1rem; font-weight: 400;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(232,86,15,.15);
}
.form textarea { resize: vertical; }
.form__note { font-size: .9rem; color: var(--accent); min-height: 1.2em; }
.form__note.is-ok { color: #1f8a4c; }
.form__note.is-err { color: #c62828; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn[disabled] { opacity: .65; cursor: wait; }

/* Footer */
.footer { background: #141c24; border-top: 4px solid; border-image: var(--brand-grad) 1; color: #c4d4de; padding-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.footer__inner > div:not(:first-child) { display: flex; flex-direction: column; gap: 8px; }
.footer a:hover { color: #fff; }
.footer__desc { color: #9fb6c4; margin-top: 16px; max-width: 360px; font-size: .94rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; text-align: center; padding: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; color: #8aa2b1; }
.visits strong { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.visits[hidden] { display: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .makers { grid-template-columns: repeat(3, 1fr); }
  .industries { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
/* Menu thu gọn (nút ☰) từ 1100px trở xuống: menu đầy đủ + VI | EN không đủ chỗ ở màn hình 1024px */
@media (max-width: 1100px) {
  .nav {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px 24px 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .3s;
    z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }
  .nav-toggle { display: block; }
  .lang { margin-left: auto; margin-right: 10px; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 860px) {
  .hero { padding: 48px 0 72px; }
  .hero__inner, .about, .contact { grid-template-columns: 1fr; }
  .makers { grid-template-columns: repeat(2, 1fr); }
  .hero__visual { max-width: 340px; }
  .section { padding: 72px 0; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .header .logo__text { display: none; }
  .makers { grid-template-columns: 1fr; }
  .products, .about__values, .form__row { grid-template-columns: 1fr; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; }
  .form { padding: 24px; }
  .contact__list li { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Trang chi tiết sản phẩm (hat-nhua-*/) ===== */
.page-hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(240,122,16,.14), transparent 45%),
    var(--bg-alt);
  padding: 48px 0 56px;
}
.crumbs { font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--accent); }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; color: var(--primary-dark); margin: 14px 0 16px; line-height: 1.15; }
.page-hero__lead { font-size: 1.1rem; max-width: 760px; margin-bottom: 28px; }
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.split img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split h2, .prose h2 { margin-bottom: 16px; }
.prose p + p { margin-top: 12px; }
.prose h3 { margin: 28px 0 10px; }
.ticks { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; margin-top: 16px; }
.ticks li { padding-left: 26px; position: relative; color: var(--ink); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.spec { width: 100%; border-collapse: collapse; background: #fff; font-size: .95rem; }
.spec th, .spec td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec thead th { background: var(--primary-dark); color: #fff; font-weight: 600; }
.spec tbody th { background: var(--bg-alt); font-weight: 600; width: 32%; }
.spec tr:last-child td, .spec tr:last-child th { border-bottom: 0; }
.note { font-size: .9rem; color: var(--muted); margin-top: 14px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 24px 0; }
.price-grid div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.price-grid b { display: block; color: var(--primary-dark); margin-bottom: 6px; }
.price-grid p { font-size: .93rem; }
.callout { background: var(--accent-light); border-left: 4px solid var(--accent); border-radius: 10px; padding: 18px 22px; margin-top: 8px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
.faq summary { font-weight: 600; cursor: pointer; color: var(--primary-dark); }
.faq details p { margin-top: 10px; }
.related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.related a { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .92rem; }
.related a:hover { border-color: var(--accent); color: var(--accent); }
.product__more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: .93rem; color: var(--accent); }
.product__more:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split img { height: 220px; }
  .ticks, .price-grid { grid-template-columns: 1fr; }
}
/* Bảng nhiều cột (mã hàng): trên điện thoại cuộn ngang thay vì bóp nhỏ cột */
@media (max-width: 640px) {
  .spec--wide { min-width: 620px; }
}
.scroll-hint { display: none; font-size: .85rem; color: var(--muted); margin: 0 0 8px; }
@media (max-width: 640px) { .scroll-hint { display: block; } }


/* Mã hàng nổi bật trên trang sản phẩm (POM K300, FM090; ABS PA-757, PA-765A) */
.section--tight { padding-top: 0; }
.grade-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 10px; }
.grade-card {
  display: flex; flex-direction: column; align-items: flex-start;
  background: #fff; border: 2px solid var(--accent); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: 0 10px 30px rgba(232, 86, 15, .12);
}
.grade-card > img { height: 44px; width: auto; max-width: 200px; object-fit: contain; margin-bottom: 16px; }
.grade-card h3 { font-size: 1.25rem; color: var(--primary-dark); margin-bottom: 2px; }
.grade-card__meta { font-size: .88rem; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.grade-card p { font-size: .95rem; }
.grade-card .btn { margin-top: auto; }
.grade-card p:last-of-type { margin-bottom: 18px; }
.row--featured td { background: var(--accent-light); }
.tag-hot { display: inline-block; margin-left: 6px; background: var(--brand-grad); color: #fff; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
@media (max-width: 860px) { .grade-cards { grid-template-columns: 1fr; } .grade-card { padding: 22px; } }

/* ===== Khung Thị trường: giá dầu + tin tức ===== */
/* Khung giá dầu: 2 thẻ xếp dọc, kéo cao bằng cột tin tức, biểu đồ giãn theo chiều cao còn lại */
.market { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: stretch; }
.market__oil { display: flex; flex-direction: column; gap: 18px; }
.oil-card { flex: 1; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 16px; box-shadow: var(--shadow); }
.oil-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.oil-card__name { font-weight: 700; color: var(--primary); font-size: 1.05rem; }
.oil-card__chg { font-size: .95rem; font-weight: 700; white-space: nowrap; }
.oil-card__chg.is-up { color: #1f8a4c; } .oil-card__chg.is-down { color: #c62828; }
.oil-card__price { display: block; font-size: clamp(2.2rem, 3.6vw, 3rem); font-weight: 800; color: var(--primary-dark); line-height: 1.15; margin-top: 8px; font-variant-numeric: tabular-nums; }
.oil-card__unit { font-size: .88rem; color: var(--muted); }
.oil-card__spark { display: block; width: 100%; flex: 1 1 90px; min-height: 90px; margin-top: 12px; }
.oil-card__spark polyline { stroke: var(--muted); }
.oil-card.is-up .oil-card__spark polyline { stroke: #1f8a4c; }
.oil-card.is-down .oil-card__spark polyline { stroke: #c62828; }
.spark-area { fill: var(--muted); opacity: .08; }
.oil-card.is-up .spark-area { fill: #1f8a4c; opacity: .1; }
.oil-card.is-down .spark-area { fill: #c62828; opacity: .1; }
.market__note { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.market__news { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.market__news h3 { margin-bottom: 10px; }
.news-list { list-style: none; }
.news-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.news-list li:last-child { border-bottom: 0; }
.news-list a { font-weight: 600; color: var(--primary-dark); line-height: 1.45; display: block; }
.news-list a:hover { color: var(--accent); }
.news-list span { display: block; font-size: .82rem; color: var(--muted); margin-top: 3px; }
.news-list__empty { color: var(--muted); }
@media (max-width: 860px) { .market { grid-template-columns: 1fr; } .oil-card { flex: none; } .oil-card__spark { flex: none; height: 80px; min-height: 0; } }
@media (max-width: 420px) { .oil-card { padding: 18px 18px 12px; } }
.news-lang { font-size: .8rem; font-weight: 500; color: var(--muted); }
/* Ô Ứng dụng trên trang chủ dẫn sang trang chuyên sâu */
a.industry { display: block; color: inherit; }
.industry em { display: block; font-style: normal; font-size: .78rem; font-weight: 600; color: var(--accent); margin-top: 8px; }
a.industry:hover em { color: #fff; }

/* ===== Trang thương hiệu (nhà sản xuất) ===== */
.brand-intro { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; }
.brand-intro__logo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px 28px; display: grid; place-items: center; min-height: 200px; position: sticky; top: 100px; }
.brand-intro__logo img { max-width: 100%; max-height: 120px; object-fit: contain; }
.brand-intro .spec tbody th { width: 30%; }
.brand-note { font-size: .85rem; color: var(--muted); margin-top: 14px; font-style: italic; }
.spec a { color: var(--accent); font-weight: 600; }
.spec a:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .brand-intro { grid-template-columns: 1fr; gap: 24px; }
  .brand-intro__logo { position: static; min-height: 140px; padding: 24px; }
  .brand-intro__logo img { max-height: 90px; }
}
