/* Products — /products/
   Dibangun ulang 19 Okt 2026 dari "Revision Figma/Product New.css" + preview "Products (1).png" (frame 1440x2207).
   Koordinat Figma relatif frame 1440 dengan margin 96; situs memakai margin 72 / konten 1296.
   Bentuk miring (tepi bidang hijau hero, pita fitur, pita Other) DIUKUR dari PNG preview — export tidak memuat
   kemiringannya. Cadangan sebelum rombak: temp products-index-sebelum-19okt.html / products-style-sebelum-19okt.css */

/* ---- Teks bersama ---- */
.pl-eyebrow {
  font-size: 14px;                      /* Figma 14/800/14, Primary/600 */
  font-weight: 800;
  line-height: 14px;
  text-transform: uppercase;
  color: #036F4A;
}
.pl-eyebrow--light { color: #5CD988; }  /* Primary/300 */
main .pl-title {
  margin-top: 14px;
  font-size: 36px;                      /* Figma 36/800/43, Primary/900 */
  font-weight: 800;
  line-height: 43px;
  letter-spacing: -0.02em;              /* Figma -0.02em (verifikasi 21 Okt; dulu -0.01em) */
  color: #003E3B;
}
main .pl-title--light { color: #FFFFFF; }


/* Hero = komponen bersama .pl-hero (components.css). Foto asli Figma 1600x728 memakai aturan umum komponen: di Figma
   = cover frame 1440x570 (lebar 1440, kiri 0, atas -43; template-matching 21 Okt, skor .003), dijangkar ke tepi konten.
   21 Okt (verifikasi): override lama (lebar 1468, jangkar edge+909) DIHAPUS - foto 2% terlalu besar & bergeser. */


/* ============ FEATURED PRODUCTS (eyebrow y614, judul y642, kartu y723..1016) ============ */
.pl-featured { padding-block: 44px 44px; }
.pl-feat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 21px;
  margin-top: 38px;
}
.pl-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 6px;
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(4, 140, 77, .2);
  overflow: hidden;
  transition: box-shadow .25s ease;
}
.pl-card__media { display: block; aspect-ratio: 296 / 200; background: #F3F3F3; overflow: hidden; }
.pl-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.pl-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 18px 24px;
}
.pl-card__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pl-card__title {
  font-size: 16px;                      /* Figma 16/700/27 Grayscale/900; aktif 800 Primary/500 */
  font-weight: 700;
  line-height: 27px;
  color: #242424;
  transition: color .2s ease;
}
.pl-card__sub {
  font-size: 11px;                      /* Figma 10/500/14 — dinaikkan ke 11 (batas bawah skala situs) */
  font-weight: 500;
  line-height: 14px;
  color: #242424;
  transition: color .2s ease;
}
.pl-card__arrow { flex: none; width: 30px; height: 30px; color: #048C4D; transition: transform .2s ease; }
/* Aktif (Figma: kartu pertama) — hanya saat hover/fokus (keputusan user 15 Okt) */
.pl-card:hover, .pl-card:focus-visible { box-shadow: 0 4px 16px rgba(4, 140, 77, .5); }
.pl-card:hover .pl-card__title, .pl-card:focus-visible .pl-card__title { font-weight: 800; color: #048C4D; }
.pl-card:hover .pl-card__sub, .pl-card:focus-visible .pl-card__sub { font-weight: 600; color: #32B46C; }
.pl-card:hover .pl-card__arrow { transform: translateX(3px); }
@media (hover: hover) { .pl-card:hover .pl-card__media img { transform: scale(1.04); } }

@media (max-width: 1100px) { .pl-feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px)  { .pl-feat-grid { grid-template-columns: 1fr; } }


/* ============ OTHER PRODUCTS (Figma Frame 562: 1440x657) ============
   Kiri: teks 613 + visual (pita miring + foto packaging berpendar). Kanan: 3 kartu 602x170 jarak 18. */
.pl-other {
  position: relative;
  padding-block: 54px 47px;             /* pita berakhir y610, section 657 */
  background: linear-gradient(248.93deg, #056341 23.78%, #00392A 85.39%);
  color: #FFFFFF;
  overflow: clip;
}
.pl-other__inner {
  display: grid;
  grid-template-columns: minmax(0, 613px) minmax(0, 602px);
  justify-content: space-between;
  column-gap: 33px;
  align-items: start;
}
.pl-other__desc {
  margin-top: 18px;
  font-size: 16px;                      /* Figma Body M. 16/500/24 */
  font-weight: 500;
  line-height: 24px;
  text-wrap: wrap;
}
.pl-other__btn {
  margin-top: 18px;
  padding: 13px 20px 13px 24px;         /* + garis 1px = 48 (Figma) */
  border-radius: 8px;
  font-size: 14px;                      /* Figma PMI/Button 14/600/20 */
  font-weight: 600;
  line-height: 20px;
}
.btn--primary.pl-other__btn { background: #048C4D; color: #FAFAFA; }
.btn--primary.pl-other__btn:hover { background: #036F4A; }

/* Visual: y338..610 (dari atas section) — section mulai 54 di atas teks */
.pl-other__visual {
  position: relative;
  height: 272px;
  margin-top: 14px;
  margin-left: calc(-1 * var(--edge-pad, 72px));
}
/* Pita: tepi kiri = tepi layar, tepi kanan miring, sudut membulat (skewX + radius).
   Diukur dari PNG Figma, x relatif tepi kiri kolom teks (lebar kolom 613):
     248 #025D46  y425.5..528.5  kanan 436 (atas) -> 485 (bawah)  "\"  25.4deg
     247 #036F4A  y471..590      kanan 553 (atas) -> 486 (bawah)  "/"  -29.4deg  (di atas 246)
     246 #048C4D  y499..610      kanan 512 (atas) -> 450 (bawah)  "/"  -29.2deg
   Lebar = proporsi lebar KOLOM (cqw, container = .pl-other__intro) supaya ujung pita tidak pernah
   masuk ke area kartu kanan (19 Okt: di 1280 pita sempat menumpuk di bawah kartu). */
.pl-other__intro { container-type: inline-size; }
.pl-band {
  position: absolute;
  left: -300px;                         /* 21 Okt: tepi kiri jauh di luar layar -> hanya tepi KANAN yang miring (Figma) */
  border-radius: 0 12px 12px 0;
}
.pl-band--1 {
  top: 87.5px; height: 103px;
  width: calc(300px + var(--edge-pad, 72px) + 71.1cqw);    /* 436 / 613 */
  z-index: 0;
  background: #025D46;
  transform: skewX(25.4deg); transform-origin: 0 0;
}
.pl-band--3 {
  top: 161px; height: 111px;
  width: calc(300px + var(--edge-pad, 72px) + 73.4cqw);    /* 450 / 613 */
  z-index: 1;                           /* Figma: Rect 246 DI BAWAH 247 -> hanya tampak strip 590..610 */
  background: #048C4D;
  transform: skewX(-29.2deg); transform-origin: 0 100%;
}
.pl-band--2 {
  top: 133px; height: 119px;
  width: calc(300px + var(--edge-pad, 72px) + 79.3cqw);    /* 486 / 613 */
  z-index: 2;
  background: #036F4A;
  transform: skewX(-29.4deg); transform-origin: 0 100%;
}
.pl-other__img {
  position: absolute;
  z-index: 3;
  left: calc(var(--edge-pad, 72px) + 3.9cqw);              /* 24 / 613 */
  bottom: 29px;                         /* 21 Okt: objek y365..579 seperti Figma (dulu 19px terlalu rendah) */
  width: 62cqw;                                            /* 380 / 613 */
  height: auto;
  filter: drop-shadow(-18px 12px 177.9px #5CD988);       /* nilai Figma persis (dulu 60px .55 -> pita & latar terlalu gelap) */
}

.pl-other__list { display: flex; flex-direction: column; gap: 18px; }
.pl-item {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 170px;
  padding: 18px;
  border-radius: 12px;
  background: rgba(3, 111, 74, .5);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
  transition: background-color .25s ease;
}
/* Aktif (Figma: kartu tengah #036F4A) — hanya saat hover/fokus */
.pl-item:hover, .pl-item:focus-visible { background: #036F4A; }
.pl-item__media {
  flex: none;
  width: 215px;
  aspect-ratio: 215 / 134;
  border-radius: 6px;
  background: #FAFAFA;
  overflow: hidden;
}
.pl-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
@media (hover: hover) { .pl-item:hover .pl-item__media img { transform: scale(1.04); } }
.pl-item__body { display: flex; flex-direction: column; min-width: 0; }
.pl-item__title { font-size: 20px; font-weight: 800; line-height: 27px; }        /* Figma 20/800/27 */
.pl-item__sub { margin-top: 4px; font-size: 16px; font-weight: 500; line-height: 24px; }   /* 16/500/24 */
.pl-item__desc { margin-top: 2px; font-size: 12px; font-weight: 400; line-height: 20px; }  /* 12/400/20 */
.pl-item__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
  font-size: 12px;                      /* Figma Label S. 12/600/14 Primary/300 */
  font-weight: 600;
  line-height: 14px;
  letter-spacing: .03em;
  color: #5CD988;
}
.pl-item__link svg { width: 20px; height: 20px; transition: transform .2s ease; }
.pl-item:hover .pl-item__link svg { transform: translateX(3px); }

@media (max-width: 1100px) {
  .pl-other__inner { grid-template-columns: 1fr; row-gap: 32px; }
  .pl-other__intro { max-width: 640px; }
}
@media (max-width: 640px) {
  .pl-br { display: none; }
  .pl-other__visual { height: 230px; }
  .pl-other__img { width: 80cqw; }
  .pl-item { flex-direction: column; align-items: stretch; gap: 16px; }
  .pl-item__media { width: 100%; }
}
@media (max-width: 768px) {
  main .pl-title { font-size: 28px; line-height: 34px; }
  .pl-featured { padding-block: 40px; }
  .pl-other { padding-block: 48px; }
}
/* Versi ID/CN: patah baris paksa judul Other dilepas (kalimat terjemahan lebih panjang -> 3 baris di 1280) */
html:not([lang="en"]) .pl-br { display: none; }
/* Fitur hero satu baris per teks (versi ID "Kayu Tahan Lama" sempat patah) */
/* Bukan flex kolom: noOrphans() membungkus 2 kata terakhir dalam span -> di flex jadi baris baru */


/* ============ NILAI ASLI FIGMA PRODUCT NEW (19 Okt, user) ============
   Blok "skala situs" (hero 62, kartu 18/13, eyebrow 16) DIHAPUS. Sub kartu kembali 10px seperti Figma. */
.pl-card__sub { font-size: 10px; line-height: 14px; }
.pl-hero__eyebrow { letter-spacing: 0; }
.pl-eyebrow { letter-spacing: .04em; }   /* Figma FEATURED/OTHER PRODUCTS 14/800/14 .04em (verifikasi 21 Okt) */
.pl-card__title { letter-spacing: -0.02em; }   /* Figma 16/700/27 -0.02em */
.pl-card__sub { letter-spacing: .03em; }       /* Figma 10/500/14 .03em */
@media (max-width: 860px) {
  .pl-hero__title { font-size: var(--fs-hero); line-height: var(--lh-hero); }
}
/* 21 Okt: patah baris biasa seperti Figma (balance/pretty memindah kata: "steel / clips" vs Figma "steel clips, and /
   integrated"); kata terakhir sendirian tetap dicegah noOrphans() */
.pl-hero__desc, .pl-other__desc, .pl-item__desc, .pl-item__sub, .pl-card__sub, .pl-card__title { text-wrap: wrap; }

/* ============ OPTIMASI HP & TABLET (22 Okt) ============ */
@media (max-width: 1024px) {
  .pl-card__sub { font-size: 12px; line-height: 16px; }          /* Figma 10px terlalu kecil dibaca di HP */
}

/* ============ REVISI KLIEN 29 OKT — no 2: section Other Products berlatar PUTIH ============
   Sheet revisi klien: "Background section ini boleh dibuat jadi putih" (dulu gradasi 248.93deg #056341 -> #00392A, teks putih).
   Warna isi dibalik agar kontras: label/judul = Featured Products, paragraf abu gelap, kartu terang bergaris; saat disorot
   kartu tetap hijau #036F4A berteks putih (seperti sebelumnya). Pita hijau miring & foto material berpendar tetap.
   Hapus blok ini = kembali ke versi hijau. */
.pl-other { background: #FFFFFF; color: #01261F; }
.pl-other .pl-eyebrow--light { color: #036F4A; }
main .pl-other .pl-title--light { color: #003E3B; }
.pl-other__desc { color: #393939; }
.pl-item {
  border: 1px solid #DEDEDE;
  background: #FAFAFA;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.pl-item__title { color: #003E3B; }
.pl-item__sub { color: #036F4A; }
.pl-item__desc { color: #555555; }
.pl-item__link { color: #048C4D; }
.pl-item:hover, .pl-item:focus-visible { border-color: #036F4A; background: #036F4A; }
.pl-item:hover :is(.pl-item__title, .pl-item__sub, .pl-item__desc),
.pl-item:focus-visible :is(.pl-item__title, .pl-item__sub, .pl-item__desc) { color: #FFFFFF; }
.pl-item:hover .pl-item__link, .pl-item:focus-visible .pl-item__link { color: #5CD988; }

/* 12 Nov (user: foto hero pas dengan lebar hero, tidak ter-zoom, subjek tidak tertutup gradasi/teks): foto = hasil GPT
   (tools/bahan-gpt-hero.py) dipotong ber-RASIO KOTAK HERO 1440 dengan subjek di sisi kanan (zona jernih) -> menutup kotak
   hero penuh; 1920 memotong atas-bawah sedikit, tablet & HP memperlihatkan sisi KANAN (subjek). Penjangkaran Figma lama
   (--w, top -98, cermin box-reflect) tidak dipakai lagi. Cek: python tools/ukur-hero.py */
main .pl-hero .pl-hero__bg img { --w: 100%; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%;
  -webkit-box-reflect: none; }
