/* ============================================================
   V6 — theo 8 comment Figma của chị Thu.
   Nạp SAU v4.css. Chỉ chứa phần mới/ghi đè của vòng này.
   ============================================================ */

/* styles.css đã có sẵn một class .trust cũ đặt color: var(--moon-soft) (màu sáng,
   dành cho nền tối). Trùng tên với dải trust mới → trên nền kem chữ gần như tàng hình.
   Đặt lại mặc định cho nền sáng, và trả màu sáng cho đúng hai ngữ cảnh nền tối. */
body.v4 .trust { color: var(--ink-soft); }
body.v4 .trust--hero,
body.v4 .sec4--night .trust { color: rgba(253, 249, 240, .78); }

/* ---- ③ sub của "One Elf. 24 Missions." phải to, dễ đọc ---- */
.sec4 .sec-sub--lead {
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  color: var(--ink);
  line-height: 1.5; font-weight: 600;
  max-width: 30ch; margin-inline: auto;
}

/* ---- ⑤ How It Works: 4 bước ---- */
.how4--4 {
  grid-template-columns: 1fr 26px 1fr 26px 1fr 26px 1fr;
  max-width: 1180px; gap: 0 8px;
}
.how4--4 .how4-step h3 { font-size: 1.08rem; }
.how4--4 .how4-step p { font-size: .95rem; max-width: 24ch; }
.how4--4 .how4-arrow { font-size: 1.2rem; margin-top: 20%; }

/* ---- ⑥ Bộ sản phẩm: ảnh lớn + lưới 6 thẻ đều nhau ---- */
.kit {
  display: grid; grid-template-columns: 0.92fr 1.08fr;
  gap: 54px; align-items: center;
  max-width: 1060px; margin: 0 auto 64px;
}
.kit-shot {
  margin: 0; border-radius: 22px; padding: 34px 20px;
  background: linear-gradient(170deg, #FFFDF9 0%, #F3EADB 100%);
  box-shadow: var(--elev-1); display: grid; place-items: center;
}
.kit-shot img { width: 100%; max-width: 320px; filter: var(--cut-2); }
.kit-copy h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem); line-height: 1.18; color: var(--night);
}
.kit-copy > p { margin-top: 14px; font-size: 1.06rem; color: var(--ink-soft); line-height: 1.6; max-width: 42ch; }
.kit-copy .trust { margin: 22px 0 26px; justify-content: flex-start; }
.kit-buy { display: block; width: 100%; text-align: center; }
.kit-note { margin-top: 14px; font-size: .92rem; color: var(--ink-soft); text-align: center; }

.kit-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 1060px; margin: 0 auto;
}
.kit-item {
  margin: 0; padding: 26px 22px 24px; text-align: center;
  background: #FFFCF6; border-radius: 16px; box-shadow: var(--elev-1);
  transition: transform .25s ease, box-shadow .25s ease;
}
.kit-item:hover { transform: translateY(-4px); box-shadow: var(--elev-2); }
.kit-ph { height: 130px; display: grid; place-items: end center; margin-bottom: 16px; }
.kit-item img { max-height: 130px; width: auto; max-width: 100%; filter: var(--cut-1); }
.kit-item b { display: block; font-size: 1rem; color: var(--night); line-height: 1.35; }
.kit-item small { display: block; margin-top: 6px; font-size: .9rem; color: var(--ink-soft); line-height: 1.45; }

/* ---- ⑥b Bộ sản phẩm dạng BANNER (thay lưới 6 thẻ) ---- */
.kitb { max-width: 1120px; margin: 0 auto; }
.kitb-img {
  border-radius: 20px; overflow: hidden; box-shadow: var(--elev-2);
  background: #F7F0E4;
}
body.v4 .kitb-img img { width: 100%; height: auto; display: block; }
.kitb-names {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 8px 20px; margin: 30px auto 0; max-width: 940px; padding: 0; list-style: none;
  font-size: 1rem; font-weight: 700; color: var(--ink); text-align: center;
}
.kitb-names li { display: flex; align-items: center; gap: 20px; }
.kitb-names li + li::before { content: "·"; color: var(--ink-soft); font-weight: 700; opacity: .6; }
.kitb-cta { text-align: center; margin-top: 34px; }
.kitb-cta .btn { min-width: 300px; }
.kitb-cta .trust { justify-content: center; margin: 0 0 22px; }
.kitb-note { margin-top: 14px; font-size: .95rem; color: var(--ink-soft); }

/* ---- For Parents: khối chữ + ảnh xen kẽ ---- */
.par6-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center;
  max-width: 1060px; margin: 0 auto;
}
.par6-split--flip .par6-split-media { order: -1; }
.par6-split-media { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--elev-2); }
body.v4 .par6-split-media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.par6-split h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.12; color: var(--night); }
.sec4--night .par6-split h2 { color: #fff; }
.par6-split p { margin-top: 16px; font-size: 1.08rem; line-height: 1.6; color: var(--ink-soft); max-width: 44ch; }
.sec4--night .par6-split p { color: rgba(253, 249, 240, .82); }
/* eyebrow dùng chung — trước đây bị khoá trong .par6-split, mà class đó đã bỏ */
.eyebrow6 {
  display: inline-block; margin-bottom: 12px;
  font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red);
}
.sec4--night .eyebrow6 { color: var(--gold); }

/* ---- ⑧ Starting Late dựng theo tờ hướng dẫn in ---- */
.late6-rules {
  max-width: 720px; margin: 0 auto 44px; padding: 0; list-style: none;
  display: grid; gap: 14px;
}
.late6-rules li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: clamp(1.05rem, 1.6vw, 1.24rem); line-height: 1.5; color: var(--ink);
}
.late6-rules svg { flex: 0 0 24px; width: 24px; height: 24px; margin-top: 5px; color: var(--red); }

.late6-ex {
  max-width: 960px; margin: 0 auto; padding: 32px 30px;
  background: #FFFCF6; border-radius: 20px; box-shadow: var(--elev-1);
}
.late6-ex > h3 {
  text-align: center; font-family: var(--font-body); font-weight: 800;
  letter-spacing: .18em; font-size: .8rem; color: var(--ink-soft);
  text-transform: uppercase; margin-bottom: 26px;
}
.late6-flow {
  display: grid; grid-template-columns: minmax(120px, auto) auto minmax(0, 1fr) 44px minmax(0, 1fr);
  gap: 22px; align-items: center;
}
.late6-recv { font-size: 1rem; line-height: 1.45; color: var(--ink); }
.late6-recv b { color: var(--night); }

.cal { border-radius: 10px; overflow: hidden; width: 130px; box-shadow: var(--elev-1); background: #fff; }
.cal-top {
  background: var(--sky-deep); color: #fff; text-align: center;
  font-weight: 800; letter-spacing: .14em; font-size: .66rem; padding: 6px 0;
}
.cal-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; padding: 6px; }
.cal-days span {
  display: grid; place-items: center; aspect-ratio: 1;
  background: #EFF3FB; border-radius: 4px;
  font-weight: 800; font-size: .82rem; color: var(--sky-night);
}
.cal-days .on { background: #2FA84F; color: #fff; }

.mcard {
  text-align: center; background: var(--red); color: #fff;
  border-radius: 10px; padding: 18px 14px 16px; box-shadow: var(--elev-2);
}
.mcard--a { transform: rotate(-2deg); }
.mcard--b { transform: rotate(2deg); }
.mcard-id {
  display: inline-block; background: #FFF6DF; color: #8E1B18;
  font-family: var(--font-body); font-weight: 800; letter-spacing: .05em;
  font-size: 1.02rem; padding: 5px 13px; border-radius: 4px;
}
.mcard-id em { font-style: normal; font-size: .7em; opacity: .7; }
.mcard p { margin-top: 11px; font-size: .93rem; line-height: 1.4; }
.late6-arrow { display: grid; place-items: center; color: var(--night); }
.late6-arrow svg { width: 40px; }

/* ---- ⑩ Gallery: băng ảnh dọc chạy liên tục ---- */
.marquee { position: relative; overflow: hidden; padding: 4px 0; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, #FBF4E9, rgba(251, 244, 233, 0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, #FBF4E9, rgba(251, 244, 233, 0)); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: mq 46s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee figure {
  margin: 0; flex: 0 0 auto; width: 232px;
  border-radius: 16px; overflow: hidden; box-shadow: var(--elev-2);
}
.marquee img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Nút giỏ trên nav ---- */
.cart-btn {
  position: relative; background: none; border: 0; padding: 8px;
  color: inherit; display: grid; place-items: center; margin-left: 6px;
}
.cart-btn svg { width: 23px; height: 23px; }
.cart-badge {
  position: absolute; top: 0; right: 0;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--red); color: #fff;
  font-size: .68rem; font-weight: 800; line-height: 18px; text-align: center;
}

/* ---- Drawer giỏ hàng ---- */
.cart-scrim {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(9, 17, 40, .5); opacity: 0; transition: opacity .3s ease;
}
.cart-scrim.on { opacity: 1; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 121;
  width: min(400px, 92vw); background: var(--cream);
  box-shadow: -10px 0 40px rgba(9, 17, 40, .25);
  transform: translateX(100%); transition: transform .32s cubic-bezier(.22, .7, .3, 1);
  display: flex; flex-direction: column;
}
.cart-drawer.on { transform: none; }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px 16px; border-bottom: 1px solid rgba(20, 40, 60, .1);
}
.cart-head h2 { font-size: 1.35rem; color: var(--night); }
.cart-close { background: none; border: 0; font-size: 1.9rem; line-height: 1; color: var(--ink-soft); padding: 0 4px; }
.cart-body { padding: 22px 24px 28px; overflow-y: auto; }
.cart-empty { color: var(--ink-soft); margin-bottom: 20px; }

.cart-line { display: grid; grid-template-columns: 66px 1fr auto; gap: 14px; align-items: start; }
body.v4 .cart-line img { width: 66px; height: auto; filter: var(--cut-1); }
.cart-line-info b { display: block; font-size: .98rem; line-height: 1.3; color: var(--night); }
.cart-line-info small { display: block; margin-top: 4px; font-size: .84rem; color: var(--ink-soft); }
.cart-line-price { font-weight: 800; color: var(--night); }
.cart-qty {
  display: inline-flex; align-items: center; gap: 2px; margin-top: 12px;
  border: 1px solid rgba(20, 40, 60, .18); border-radius: 999px; overflow: hidden;
}
.cart-qty button { background: none; border: 0; width: 32px; height: 32px; font-size: 1.05rem; color: var(--night); }
.cart-qty button:hover { background: rgba(20, 40, 60, .06); }
.cart-qty span { min-width: 24px; text-align: center; font-weight: 800; font-size: .92rem; }

.cart-sum {
  margin: 24px 0 20px; padding-top: 18px;
  border-top: 1px solid rgba(20, 40, 60, .1);
  display: grid; grid-template-columns: 1fr auto; gap: 8px 0;
}
.cart-sum dt { color: var(--ink-soft); font-size: .95rem; }
.cart-sum dd { margin: 0; text-align: right; font-weight: 800; color: var(--night); font-size: .95rem; }
.cart-checkout { display: block; width: 100%; text-align: center; }
.cart-remove {
  display: block; width: 100%; margin-top: 14px; background: none; border: 0;
  font-size: .9rem; color: var(--ink-soft); text-decoration: underline;
}
body.cart-open { overflow: hidden; }

/* ---- Sticky Add To Cart hiện cả trên desktop ---- */
@media (min-width: 761px) {
  .stickybar { display: flex; padding: 12px 34px; }
  .stickybar b { font-size: .98rem; }
}

@media (max-width: 1000px) {
  .kit { grid-template-columns: 1fr; gap: 34px; }
  .kit-grid { grid-template-columns: repeat(2, 1fr); }
  .how4--4 { grid-template-columns: 1fr; gap: 30px; max-width: 420px; }
  .how4--4 .how4-arrow { margin: 0; transform: rotate(90deg); }
  .late6-flow { grid-template-columns: 1fr; justify-items: center; gap: 18px; text-align: center; }
  .late6-arrow svg { transform: rotate(90deg); }
}

@media (max-width: 760px) {
  .marquee figure { width: 178px; }
  .marquee-track { animation-duration: 34s; }
  .kit-shot { padding: 26px 16px; }
  .late6-ex { padding: 26px 18px; }
  .kit-copy .trust { justify-content: center; }
}

/* ---- Trang Bring Pip Home ---- */
.pdp6 { padding-top: 148px; }
.pdp6-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pdp6-main { padding: 40px 26px; }
.pdp6-main img { width: 100%; max-width: 340px; filter: var(--cut-2); }
.pdp6-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 14px; }
.pdp6-thumbs button {
  background: #FFFCF6; border: 2px solid transparent; border-radius: 12px;
  padding: 8px; display: grid; place-items: center; box-shadow: var(--elev-1);
  transition: border-color .2s ease;
}
.pdp6-thumbs button.on { border-color: var(--gold); }
.pdp6-thumbs img { max-height: 62px; width: auto; max-width: 100%; }

.pdp6-buy h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.1; color: var(--night); }
.pdp6-lead { margin-top: 14px; font-size: 1.12rem; color: var(--ink-soft); line-height: 1.55; }
.pdp6-price { display: flex; align-items: baseline; gap: 14px; margin: 24px 0 22px; }
.pdp6-num { font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; color: var(--night); }
.pdp6-note { font-size: 1rem; font-weight: 700; color: var(--spruce); }
.pdp6-list { margin: 0 0 28px; padding: 0; list-style: none; display: grid; gap: 11px; }
.pdp6-list li { position: relative; padding-left: 28px; font-size: 1.02rem; color: var(--ink); line-height: 1.45; }
.pdp6-list li::before {
  content: "✦"; position: absolute; left: 0; top: 1px; color: var(--gold); font-size: .95rem;
}
.pdp6-trust { justify-content: flex-start; margin-top: 18px; }

/* ---- FAQ trên nền đêm ---- */
.faq6 { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq6 details {
  background: rgba(253, 249, 240, .07); border: 1px solid rgba(253, 249, 240, .16);
  border-radius: 14px; padding: 4px 22px;
}
.faq6 summary {
  list-style: none; cursor: pointer; padding: 16px 0;
  font-weight: 800; font-size: 1.04rem; color: #fff;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq6 summary::-webkit-details-marker { display: none; }
.faq6 summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--gold); line-height: 1; }
.faq6 details[open] summary::after { content: "–"; }
.faq6 p { padding: 0 0 18px; margin: 0; color: rgba(253, 249, 240, .82); line-height: 1.6; max-width: 62ch; }

/* tiêu đề dài không nên xuống dòng lẻ một chữ */
#mornings .sec-head { max-width: 900px; }

/* marquee trên nền kem thay vì ngà */
.marquee--cream::before { background: linear-gradient(90deg, var(--cream), rgba(250, 246, 239, 0)); }
.marquee--cream::after { background: linear-gradient(270deg, var(--cream), rgba(250, 246, 239, 0)); }

/* ---- Trang For Parents ---- */
.par6-hero { padding: 150px 0 76px; text-align: center; }
.par6-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.08; color: var(--night); }
.par6-hero p { margin: 18px auto 0; max-width: 54ch; font-size: 1.14rem; color: var(--ink-soft); line-height: 1.6; }
.par6-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 1000px; margin: 0 auto; }
/* biến thể 4 cột — trước đây viết inline trên start.html nên đè cả media query
   và làm tràn ngang trên điện thoại. Đưa về class để breakpoint xử lý được. */
.par6-steps--4 { grid-template-columns: repeat(4, 1fr); max-width: 1060px; margin-top: 52px; }
.par6-step {
  background: #FFFCF6; border-radius: 16px; padding: 30px 26px 28px; box-shadow: var(--elev-1);
}
.sec4--night .par6-step { background: rgba(253, 249, 240, .07); box-shadow: none; border: 1px solid rgba(253, 249, 240, .16); }
.par6-step .n {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: #9B1B22; color: #fff; font-weight: 800; font-size: .82rem; margin-bottom: 16px;
}
.par6-step h3 { font-size: 1.16rem; color: var(--night); margin-bottom: 9px; }
.sec4--night .par6-step h3 { color: #fff; }
.par6-step p { font-size: 1rem; color: var(--ink-soft); line-height: 1.55; }
.sec4--night .par6-step p { color: rgba(253, 249, 240, .8); }
.par6-tips { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; padding: 0; list-style: none; }
.par6-tips li {
  display: flex; gap: 14px; align-items: flex-start;
  background: #FFFCF6; border-radius: 14px; padding: 18px 22px; box-shadow: var(--elev-1);
  font-size: 1.02rem; line-height: 1.55; color: var(--ink);
}
.par6-tips b { color: var(--night); }
.par6-tips .st { color: var(--gold); flex: 0 0 auto; }
.par6-cta { text-align: center; margin-top: 44px; }

/* FAQ trên nền sáng */
.faq6--light details { background: #FFFCF6; border-color: rgba(20, 40, 60, .1); box-shadow: var(--elev-1); }
.faq6--light summary { color: var(--night); }
.faq6--light p { color: var(--ink-soft); }

@media (max-width: 1000px) {
  .pdp6-grid { grid-template-columns: 1fr; gap: 34px; }
  .par6-steps, .par6-steps--4 { grid-template-columns: 1fr; max-width: 460px; }
}

/* ---- V8: For Parents trên điện thoại — trước đây .par6-split vẫn giữ 2 cột
   nên ảnh co còn ~138px. Xếp dọc, ảnh luôn nằm trên và rộng hết khổ. ---- */
@media (max-width: 860px) {
  .par6-split { grid-template-columns: 1fr; gap: 20px; max-width: 560px; }
  .par6-split-media,
  .par6-split--flip .par6-split-media { order: -1; }
  body.v4 .par6-split-media img { aspect-ratio: 4 / 3; }
  .par6-split p { max-width: none; margin-top: 12px; }
  .par6-split h2 { font-size: 1.62rem; }
  .par6-split .eyebrow6 { margin-bottom: 8px; }
}

@media (max-width: 760px) {
  /* hero -> khối 4 bước: 3 khoảng cách cộng dồn thành 166px trống. Siết còn ~88px. */
  .sec4.par6-hero { padding: 104px 0 24px; }   /* .sec4 cùng độ đặc hiệu và đứng sau -> phải gộp 2 class */
  .par6-hero p { font-size: 1.04rem; margin-top: 14px; }
  .par6-hero .trust { margin-bottom: 12px; }
  #setup.steps4-sec { padding-top: 24px; }
  #setup .sec-head { margin-bottom: 26px; }
  body.v4 .par6-split-media img { aspect-ratio: 3 / 2; }
  .par6-tips li { font-size: 1rem; }
}

/* ---- V7: PDP kiểu Lovevery trên Home (mock chị Thu) ---- */
.pdp7 { align-items: start; margin-top: 8px; }
.pdp7-main { padding: 22px; background: #fff; }
body.v4 .pdp7-main img { width: 100%; max-width: none; height: auto; border-radius: 10px; filter: none; }
.pdp7-thumbs { grid-template-columns: repeat(6, 1fr); }
.pdp7-age {
  display: inline-block; font-size: .82rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--red);
  margin-bottom: 10px;
}
.pdp7-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.1; color: var(--night);
}
.pdp7-desc {
  margin: 16px 0 26px; font-size: 1.06rem; line-height: 1.65;
  color: var(--ink-soft); max-width: 46ch;
}
.pdp7-buy .kit-buy { max-width: 380px; }
.pdp7-buy .kit-note { text-align: left; }

/* ---- V7: Starting Late theo mock — 2 thẻ DEC 5 → DEC 6 ---- */
.late7 {
  display: grid; grid-template-columns: 1fr 56px 1fr;
  gap: 18px; align-items: stretch; max-width: 880px; margin: 0 auto;
}
.late7-card {
  position: relative; text-align: center;
  background: #FFFCF6; border-radius: 18px; box-shadow: var(--elev-1);
  padding: 30px 24px 26px;
}
.late7-pill {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: #9B1B22; color: #fff;
  font-weight: 800; font-size: .78rem; letter-spacing: .14em;
  padding: 6px 16px; border-radius: 7px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
}
.late7-card h3 { font-size: 1.18rem; color: var(--night); margin: 8px 0 20px; }
.late7-scene {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 6px; min-height: 190px;
}
/* V8: 2 cảnh giờ là ảnh chụp thật, nền ảnh đã fade sẵn về #FFFCF6 của thẻ
   nên KHÔNG đổ bóng CSS nữa — bóng đã nằm trong ảnh. */
body.v4 .late7-shot {
  width: auto; height: 268px; max-width: 100%;
  display: block; margin: 0 auto; filter: none;
}
body.v4 .late7-shot--card { height: 244px; }

.late7-go {
  display: inline-block; margin-top: 20px; position: relative;
  font-weight: 800; font-size: 1rem;
}
.late7-go::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -7px; height: 3px;
  border-radius: 3px; background: currentColor; opacity: .75;
}
.late7-go--start { color: var(--red-deep); }
.late7-go--cont { color: #1F7A45; }
.late7-arrow { display: grid; place-items: center; color: var(--night); }
.late7-arrow svg { width: 44px; }

@media (max-width: 760px) {
  /* V9: hai thẻ nằm cùng một khung, khỏi phải cuộn để so sánh Dec 5 ↔ Dec 6 */
  .late7 { grid-template-columns: 1fr 22px 1fr; gap: 8px; max-width: none; }
  .late7-card { padding: 22px 8px 18px; border-radius: 14px; }
  .late7-pill { font-size: .62rem; letter-spacing: .10em; padding: 5px 10px; top: -11px; }
  .late7-card h3 { font-size: .95rem; margin: 6px 0 12px; }
  .late7-arrow svg { width: 22px; }
  .late7-scene { min-height: 0; }
  body.v4 .late7-shot { height: 148px; }
  body.v4 .late7-shot--card { height: 136px; }
  .late7-go { font-size: .88rem; margin-top: 14px; }
  .late7-go::after { left: 4%; right: 4%; bottom: -6px; height: 2px; }
  .pdp7-buy { text-align: center; }
  .pdp7-buy .kit-buy { max-width: none; }
  .pdp7-buy .kit-note { text-align: center; }
  .pdp7-desc { margin-inline: auto; }
}

/* ---- V7: mobile — section "Because December Is Already Busy" gọn trong 1 màn ---- */
@media (max-width: 760px) {
  #easy.sec4 { padding: 50px 0; }
  .easy4 { gap: 18px; }
  .easy4-copy br { display: none; }         /* bỏ xuống dòng ép, chữ chảy tự nhiên */
  .easy4-copy br.br-keep { display: inline; }   /* trừ chỗ này: vẫn xuống dòng sau "setups." */
  .easy4-copy h2 { font-size: 1.72rem; }
  .easy4-copy p { margin-top: 12px; font-size: 1rem; line-height: 1.5; }
  .easy4-chips { margin-top: 18px; gap: 18px; justify-content: space-between; }
  .easy4-chips .ec { font-size: .8rem; gap: 7px; }
  .easy4-chips .ec svg { width: 30px; height: 30px; }
  body.v4 .easy4-media img { aspect-ratio: 16 / 10; }
}


/* ---- V8: "What's a Mission?" chỉ còn title + video, vừa trong 1 màn ---- */
#mission.sec4 { padding: 64px 0; }
#mission .mission4-title { margin-bottom: 26px; }

/* video thật thay cho montage ảnh */
.mission-video {
  position: relative; margin: 0 auto; max-width: 1000px;
  border-radius: 14px; overflow: hidden;
  box-shadow: var(--elev-3); background: #06122B; line-height: 0;
}
body.v4 .mission-video video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
}
/* khoá bề ngang theo chiều cao khả dụng để section vẫn gọn trong 1 màn (16/9 ≈ 1.778) */
#mission .mission-video { max-width: min(1000px, calc(58vh * 1.778)); }

@media (max-width: 760px) {
  #mission.sec4 { padding: 46px 0; }
  #mission .mission4-title { margin-bottom: 20px; font-size: 1.72rem; }
  #mission .mission-video { max-width: min(100%, calc(64vh * 1.778)); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .marquee-track { animation: none; }
  .marquee::before, .marquee::after { display: none; }
  .kit-item, .cart-drawer, .cart-scrim, .pdp6-thumbs button { transition: none; }
}


/* ============================================================
   V9 — polish theo feedback trên máy thật
   ============================================================ */

/* ---- ① HERO trên mobile: tách khối, ảnh KHÔNG bị lớp tối đè lên ---- */
@media (max-width: 760px) {
  .hero4 {
    display: block; min-height: 0; padding: 0;
    background: #0B1533;
  }
  .hero4-bg { position: static; display: block; }
  body.v4 .hero4-bg img {
    width: 100%; height: auto; aspect-ratio: 1024 / 792;
    object-fit: cover; object-position: 50% 50%;
  }
  /* chỉ còn dải mỏng trên cùng để logo + nav trắng đọc được trên ảnh */
  .hero4-scrim {
    top: 0; bottom: auto; height: 108px;
    background: linear-gradient(180deg, rgba(9, 17, 40, .62) 0, rgba(9, 17, 40, 0) 100%);
  }
  .hero4-snow { display: none; }
  .hero4-inner { padding-top: 26px; padding-bottom: 38px; }
  .hero4-copy { max-width: none; text-align: center; }
  .hero4-copy h1 { font-size: 2.35rem; text-shadow: none; }
  .hero4-sub { margin: 12px auto 0; font-size: 1.03rem; text-shadow: none; }
  .hero4-cta { margin-top: 22px; }
  .hero4-cta .btn { width: 100%; }
  .hero4-arrow { display: none; }
}

/* ---- ③ PDP: hàng chấm + mũi tên, khung ảnh 1:1 cố định ---- */
.pdp7-main { position: relative; }
/* khung 1:1 cố định để chuyển ảnh không nhảy chiều cao. Ảnh, phần letterbox và
   panel dùng CHUNG một nền trắng nên không còn hiệu ứng "ảnh lồng trong ảnh". */
body.v4 .pdp7-main img { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }

.pdp7-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .92); color: var(--night);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--elev-1); opacity: 0; transition: opacity .2s ease;
}
.pdp7-nav svg { width: 19px; height: 19px; }
.pdp7-nav--prev { left: 10px; }
.pdp7-nav--next { right: 10px; }
.pdp6-media:hover .pdp7-nav, .pdp7-nav:focus-visible { opacity: 1; }

.pdp7-dots { display: none; justify-content: center; gap: 9px; margin-top: 12px; }
.pdp7-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(20, 40, 60, .22); cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.pdp7-dots button.on { background: var(--red); transform: scale(1.25); }

@media (max-width: 760px) {
  /* Lovevery pattern: ảnh → chấm → mô tả → CTA, không có khoảng hở lớn */
  .pdp7-dots { display: flex; }
  .pdp7-thumbs { display: none; }
  .pdp7-nav { display: none; }
  .pdp6-grid { gap: 12px; }
  .pdp7-main { padding: 10px; border-radius: 16px; }
  .pdp7-dots { margin-top: 10px; }
  .pdp7-age { margin-top: 0; margin-bottom: 6px; }
  .pdp7-title { margin-top: 2px; font-size: 1.62rem; line-height: 1.12; }
  .pdp7-desc { margin-top: 8px; margin-bottom: 16px; font-size: 1rem; line-height: 1.45; }
  .pdp7-buy .kit-buy { margin-top: 0; }
  .kit-note { margin-top: 10px; }
  #inside.sec4 { padding: 46px 0; }
  #inside .sec-head { margin-bottom: 22px; }
}

/* ---- ⑥ Nguyên tắc chung: ngắt dòng, căn lề, nhịp dọc ---- */
h1, h2, h3, .sec4 .sec-sub, .pdp7-title, .late7-card h3 { text-wrap: balance; }
p, .pdp7-desc, .kit-note { text-wrap: pretty; }

@media (max-width: 760px) {
  /* một thang nhịp dọc duy nhất thay vì mỗi section một kiểu */
  .sec4 { padding: 56px 0; }
  .sec4--tight { padding: 44px 0; }
  .sec4--feature { padding: 64px 0; }
  /* Alignment: mobile canh giữa toàn bộ, hết cảnh chỗ trái chỗ giữa */
  .easy4-copy { text-align: center; }
  .easy4-chips { justify-content: center; gap: 22px; }
  .marquee::before, .marquee::after { width: 40px; }
}

/* ---- ⑦ Trang checkout ---- */
.chk-page { background: var(--cream); }
.chk { padding-top: 132px; }
.chk-head { max-width: 620px; margin-bottom: 40px; }
.chk-head h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.1; color: var(--night);
}
.chk-grid {
  display: grid; grid-template-columns: 1.25fr .95fr; gap: 26px;
  max-width: 980px; margin: 0 auto; align-items: start;
}
.chk-card {
  background: #FFFCF6; border-radius: 18px; box-shadow: var(--elev-1);
  padding: 26px 26px 24px;
}
/* .sec4 h2 (0,1,1) thang .chk-card-title (0,1,0) nen phai nang do dac hieu */
.chk .chk-card-title {
  font-family: var(--font-body); font-weight: 800; letter-spacing: .16em;
  font-size: .76rem; line-height: 1.4; text-transform: uppercase;
  color: var(--ink-soft); margin: 0 0 20px;
}
/* [hidden] mac dinh la display:none, nhung .chk-line/.chk-sum dat display:grid
   o do dac hieu cao hon -> phai ep lai, khong thi gio rong van hien dong hang */
.chk [hidden] { display: none !important; }

.chk-line { display: grid; grid-template-columns: 82px 1fr auto; gap: 16px; align-items: start; }
body.v4 .chk-line img { width: 82px; height: 82px; border-radius: 10px; background: #fff; object-fit: contain; }
.chk-line-info b { display: block; font-size: 1rem; line-height: 1.35; color: var(--night); }
.chk-line-info small { display: block; margin-top: 5px; font-size: .86rem; color: var(--ink-soft); line-height: 1.45; }
.chk-line-price { font-weight: 800; color: var(--night); white-space: nowrap; }

.chk-qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 12px; }
.chk-qty button {
  width: 30px; height: 30px; border: 1px solid rgba(20, 40, 60, .18);
  background: #fff; color: var(--night); font-size: 1.05rem; line-height: 1;
  cursor: pointer; border-radius: 8px;
}
.chk-qty button:first-child { border-radius: 8px 0 0 8px; }
.chk-qty button:last-child { border-radius: 0 8px 8px 0; }
.chk-qty span { min-width: 38px; text-align: center; font-weight: 800; color: var(--night); }

.chk-empty { color: var(--ink-soft); }
.chk-empty a { color: var(--red-deep); font-weight: 700; }

.chk-sum {
  display: grid; grid-template-columns: 1fr auto; gap: 10px 16px;
  margin: 22px 0 0; padding-top: 18px;
  border-top: 1px solid rgba(20, 40, 60, .1);
  font-size: .98rem; color: var(--ink-soft);
}
.chk-sum dd { margin: 0; text-align: right; color: var(--ink); }
.chk-sum .chk-total { font-weight: 800; font-size: 1.1rem; color: var(--night); }

.chk-pay-note { font-size: .96rem; line-height: 1.6; color: var(--ink-soft); margin-bottom: 20px; }
.chk-go { display: block; width: 100%; text-align: center; }
.chk-go.is-disabled { opacity: .45; pointer-events: none; }

/* khối nút PayPal — SDK tự vẽ iframe vào đây */
.chk-paypal { min-height: 52px; }
.chk-paypal.is-disabled { opacity: .4; pointer-events: none; }

/* thẻ xác nhận sau khi thanh toán xong */
.chk-done { grid-column: 1 / -1; text-align: center; }
.chk-done-lead { font-size: 1.15rem; color: var(--night); font-weight: 700; }
.chk-done-id {
  margin-top: 10px; font-size: .95rem; color: var(--ink-soft);
}
.chk-done-id b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--night); }
.chk-done-note { margin-top: 14px; font-size: .96rem; line-height: 1.6; color: var(--ink-soft); }
.chk-done .chk-go { max-width: 320px; margin: 22px auto 0; }
.chk-warn {
  margin-top: 12px; font-size: .84rem; line-height: 1.5; color: var(--red-deep);
  background: #FDF0EE; border-radius: 10px; padding: 10px 12px;
}
.chk-warn code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .95em; }

.chk-trust { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.chk-trust li {
  display: flex; align-items: center; gap: 10px;
  font-size: .92rem; font-weight: 700; color: var(--ink-soft);
}
.chk-trust svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--red); }
.chk-back {
  display: inline-block; margin-top: 20px;
  font-size: .92rem; font-weight: 700; color: var(--ink-soft);
}

@media (max-width: 860px) {
  .chk-grid { grid-template-columns: 1fr; max-width: 560px; }
  .chk { padding-top: 108px; }
  .chk-head { margin-bottom: 26px; text-align: center; margin-inline: auto; }
}

/* ---- V10: hero mobile theo bố cục elfontheshelf — ảnh và chữ nằm trên
   CÙNG một tấm nền liền mạch, không có đường cắt giữa ảnh và khối chữ ---- */
.hero4-rule { display: none; }

@media (max-width: 760px) {
  .hero4-bg { position: relative; }
  /* đáy ảnh tan dần vào đúng màu nền hero → hết đường cắt ngang */
  .hero4-bg::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 20%;
    background: linear-gradient(180deg, rgba(11, 21, 51, 0) 0%, rgba(11, 21, 51, .42) 46%, #0B1533 100%);
    pointer-events: none;
  }
  /* đẩy sản phẩm lên cao hơn trong khung để dải tan không ăn vào chân hộp */
  body.v4 .hero4-bg img { object-position: 50% 26%; }
  /* kéo khối chữ chồng nhẹ lên phần chân ảnh đã tan → một tấm liền */
  .hero4-inner { margin-top: -20px; padding-top: 0; padding-bottom: 40px; }

  .hero4-copy h1 { font-size: 2.5rem; line-height: 1.12; }
  .hero4-sub { margin-top: 14px; max-width: 30ch; margin-inline: auto; }

  /* dải phân cách: hai nét mảnh + viên kim cương vàng ở giữa */
  .hero4-rule {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    margin: 26px auto 0; max-width: 300px;
  }
  .hero4-rule::before, .hero4-rule::after {
    content: ""; flex: 1 1 auto; height: 1px; background: rgba(253, 249, 240, .42);
  }
  .hero4-rule i {
    flex: 0 0 auto; width: 11px; height: 11px;
    background: var(--gold); transform: rotate(45deg);
  }

  .hero4-cta { margin-top: 24px; }
  /* nút gọn lại, canh giữa — không kéo hết bề ngang như trước */
  .hero4-cta .btn { width: auto; min-width: 68%; padding-inline: 30px; }
}

/* ---- Starting Late: khối chữ gọn, ngắt dòng đều ---- */
@media (max-width: 760px) {
  #late .sec-head { margin-bottom: 34px; }
  #late h2 { font-size: 1.72rem; line-height: 1.14; }
  #late .late7-sub { font-size: 1rem; line-height: 1.5; max-width: 32ch; margin-inline: auto; }
  #late .late7-sub br { display: none; }
}

/* ---- V11: For Parents — 4 bước xen kẽ, ảnh tràn ra mép trang ---- */
.steps4-sec { padding-bottom: 76px; }
.steps4 { display: grid; gap: 30px; margin-top: 8px; }

.steps4-row {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 0;
}
.steps4-media { margin: 0; overflow: hidden; border-radius: 0 18px 18px 0; box-shadow: var(--elev-2); }
body.v4 .steps4-media img {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block;
}
.steps4-copy {
  background: #FFFDF9; border-radius: 16px; box-shadow: var(--elev-1);
  padding: 26px 30px; margin-left: -52px; position: relative; z-index: 2;
  max-width: 560px;
}
.steps4-copy h2 { font-size: clamp(1.35rem, 2.1vw, 1.72rem); line-height: 1.15; color: var(--night); margin-top: 4px; }
.steps4-copy p { margin-top: 10px; font-size: 1.02rem; line-height: 1.55; color: var(--ink-soft); max-width: 46ch; }
.steps4-copy .eyebrow6 { margin-bottom: 0; }

/* hàng lật: ảnh sang phải, chữ sang trái */
.steps4-row--flip .steps4-media { order: 2; border-radius: 18px 0 0 18px; }
.steps4-row--flip .steps4-copy { order: 1; margin-left: 0; margin-right: -52px; justify-self: end; }

@media (max-width: 860px) {
  .steps4 { gap: 22px; }
  .steps4-row, .steps4-row--flip { grid-template-columns: 1fr; }
  .steps4-media, .steps4-row--flip .steps4-media { order: 1; border-radius: 0; }
  body.v4 .steps4-media img { aspect-ratio: 3 / 2; }
  .steps4-copy, .steps4-row--flip .steps4-copy {
    order: 2; margin: -28px 20px 0; max-width: none; justify-self: stretch;
    padding: 20px 22px; text-align: center;
  }
  .steps4-copy p { margin-inline: auto; }
  .steps4-sec { padding-bottom: 52px; }
}

/* ============================================================
   V12 — Social proof (review Amazon) + Urgency/Guarantee + price reframe
   ============================================================ */

/* ---- Lưới review ---- */
.rev-grid {
  list-style: none; padding: 0; margin: 0 auto;
  max-width: 1120px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  align-items: start;
}
.rev-card {
  background: #FFFCF6; border-radius: 16px; box-shadow: var(--elev-1);
  padding: 22px 22px 20px;
}
.rev-stars {
  display: block; letter-spacing: .1em; font-size: .95rem;
  margin-bottom: 8px; color: rgba(20, 40, 60, .22);   /* sao rỗng */
}
.rev-stars b { color: var(--gold); font-weight: inherit; }   /* sao đầy */

.rev-title {
  font-family: var(--font-body); font-weight: 800;
  font-size: 1rem; line-height: 1.35; color: var(--night); margin: 0 0 10px;
}
.rev-body {
  margin: 0; font-size: .96rem; line-height: 1.6; color: var(--ink-soft);
  quotes: "\201C" "\201D";
}
.rev-body::before { content: open-quote; }
.rev-body::after { content: close-quote; }
.rev-src {
  display: block; margin-top: 14px; font-style: normal;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--ink-soft); opacity: .78;
}

.rev-more { text-align: center; margin-top: 26px; }
.btn-ghost {
  background: none; border: 1.5px solid rgba(20, 40, 60, .22); color: var(--night);
  padding: 12px 26px; border-radius: 999px; font-weight: 800; cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.btn-ghost:hover { border-color: var(--red); background: rgba(214, 69, 65, .06); }

.rev-trust {
  list-style: none; padding: 0; margin: 30px auto 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
  font-size: .92rem; font-weight: 700; color: var(--ink-soft);
}
.rev-trust li { display: flex; align-items: center; gap: 7px; }
.rev-trust .spark { color: var(--gold); font-size: .8em; }

#loved .sec-head .eyebrow6 { margin-bottom: 10px; }
#loved .sec-head h2 { max-width: 22ch; margin-inline: auto; }

/* ---- Giá + reframe cạnh nút mua ---- */
.price-line { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; }
.price-line .price-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem); color: var(--night); line-height: 1;
}
.price-line .price-ship { font-size: .92rem; font-weight: 700; color: #1F7A45; }
.price-reframe { margin-top: 8px; font-size: .93rem; line-height: 1.5; color: var(--ink-soft); }
.pdp7-buy .kit-buy { margin-top: 16px; }

/* ---- 3 badge bảo đảm ---- */
.gbadges {
  list-style: none; padding: 0; margin: 22px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.gbadges li {
  display: grid; grid-template-columns: 22px 1fr; grid-template-rows: auto auto;
  column-gap: 10px; row-gap: 3px; align-items: start;
}
.gbadges svg { width: 20px; height: 20px; grid-row: 1 / span 2; margin-top: 2px; color: var(--red); }
.gbadges b { font-size: .92rem; color: var(--night); line-height: 1.3; }
.gbadges small { font-size: .82rem; line-height: 1.45; color: var(--ink-soft); }
.sec4--night .gbadges b { color: #fff; }
.sec4--night .gbadges small { color: rgba(253, 249, 240, .78); }
.sec4--night .gbadges svg { color: var(--gold); }

.stickybar .sb-price { color: var(--night); }

/* ---- Thẻ ảnh + review trong băng chạy (trang chủ) ---- */
.marquee--rev .marquee-track { gap: 16px; animation-duration: 150s; }
.marquee--rev figure {
  width: 300px; background: #FFFCF6; border-radius: 16px;
  box-shadow: var(--elev-1); overflow: hidden; display: flex; flex-direction: column;
}
.marquee--rev img { aspect-ratio: 4 / 5; }
.marquee--rev figcaption { padding: 16px 17px 18px; }
.marquee--rev .rev-stars { font-size: .88rem; margin-bottom: 6px; }
.revshot-title {
  display: block; font-size: .95rem; line-height: 1.35;
  font-weight: 800; color: var(--night);
}
.revshot-body {
  margin: 8px 0 0; font-size: .89rem; line-height: 1.55; color: var(--ink-soft);
  quotes: "\201C" "\201D";
}
.revshot-body::before { content: open-quote; }
.revshot-body::after { content: close-quote; }
.revshot-src {
  display: block; margin-top: 12px; font-style: normal;
  font-size: .76rem; font-weight: 700; letter-spacing: .04em;
  color: var(--ink-soft); opacity: .75;
}

@media (max-width: 1000px) {
  .rev-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  /* điện thoại không hover được để dừng băng chạy -> tắt animation, cho vuốt tay đọc */
  .marquee--rev { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .marquee--rev .marquee-track { animation: none; width: max-content; }
  .marquee--rev figure { width: 268px; scroll-snap-align: center; }
  .marquee--rev figure[aria-hidden="true"] { display: none; }
  .marquee--rev::before, .marquee--rev::after { display: none; }

  .rev-grid { grid-template-columns: 1fr; gap: 14px; }
  .rev-card { padding: 18px; }
  #loved .sec-head h2 { font-size: 1.55rem; }
  .gbadges { grid-template-columns: 1fr; gap: 14px; }
  .price-line { justify-content: center; }
  .pdp7-buy .price-reframe { text-align: center; }
}

/* ---- ④½ So sánh với elf truyền thống — 4 hàng, cột Pip nổi thành thẻ kem trên nền đêm ----
   Bảng thật (<table>) để giữ ngữ nghĩa; trên điện thoại chuyển sang block nên có
   role="table/row/cell" ngay trong HTML để screen reader vẫn đọc đúng. */
.cmp6-wrap { max-width: 880px; margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cmp6-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.cmp6 { width: 100%; border-collapse: separate; border-spacing: 0; }
.cmp6 th, .cmp6 td { text-align: left; vertical-align: top; padding: 18px 22px; }
.cmp6 col.c-crit { width: 24%; }
.cmp6 col.c-trad, .cmp6 col.c-pip { width: 38%; }

.cmp6 thead th {
  padding: 16px 22px 12px; font-size: .76rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(253, 249, 240, .58);
}
.cmp6 thead th.is-pip { color: var(--night); }
.cmp6 tbody th { font-weight: 800; font-size: .98rem; line-height: 1.4; color: #fff; }
.cmp6 tbody td { font-size: 1.02rem; line-height: 1.5; }
.cmp6 td.is-trad { color: rgba(253, 249, 240, .72); }
.cmp6 td.is-pip { color: var(--night); font-weight: 700; }

/* cột Pip: một thẻ kem liền mạch chạy xuyên các hàng */
.cmp6 .is-pip { background: #FFFCF6; }
.cmp6 thead .is-pip { border-radius: 16px 16px 0 0; }
.cmp6 tbody tr:last-child .is-pip { border-radius: 0 0 16px 16px; }
.cmp6 tbody tr + tr th, .cmp6 tbody tr + tr td { border-top: 1px solid rgba(253, 249, 240, .14); }
.cmp6 tbody tr + tr td.is-pip { border-top-color: rgba(14, 42, 58, .10); }

.cmp6-note {
  margin: 18px auto 0; max-width: 640px; text-align: center;
  font-size: .86rem; line-height: 1.5; color: rgba(253, 249, 240, .55);
}

@media (max-width: 760px) {
  /* mỗi hàng thành một thẻ: nhãn tiêu chí chạy ngang trên, hai ô đứng cạnh nhau dưới */
  .cmp6, .cmp6 tbody, .cmp6 tr, .cmp6 th, .cmp6 td { display: block; }
  .cmp6 colgroup, .cmp6 thead { display: none; }
  .cmp6 tbody tr {
    display: grid; grid-template-columns: 1fr 1fr;
    margin-bottom: 12px; border-radius: 14px; overflow: hidden;
    background: rgba(253, 249, 240, .07); border: 1px solid rgba(253, 249, 240, .16);
  }
  .cmp6 tbody th {
    grid-column: 1 / -1; padding: 12px 16px 4px;
    font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  }
  .cmp6 tbody td { padding: 8px 16px 14px; font-size: .95rem; line-height: 1.45; }
  .cmp6 tbody tr + tr th, .cmp6 tbody tr + tr td { border-top: 0; }
  .cmp6 tbody td.is-pip { border-radius: 0; }
  .cmp6 tbody tr:last-child .is-pip { border-radius: 0; }
  /* thead ẩn nên nhãn cột lấy từ data-col */
  .cmp6 tbody td::before {
    content: attr(data-col); display: block; margin-bottom: 4px;
    font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .62;
  }
}
