/* มติ 490 (บรีฟ AIC Rewards) — แถวหน้าแรก: Frame Builder ~60% + การ์ดโฆษณา AIC Rewards ~40%
   ⚠ มือถือเรียง Frame Builder ก่อน แล้ว Rewards · ไม่มีเลื่อนแนวนอน
   ⚠ การ์ด Rewards เป็นโฆษณา — ไม่มียอดแต้ม/แถบความคืบหน้า/เหรียญลอย */
.home-promo-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; align-items: stretch; margin-top: 12px; }

/* Frame Builder ในแถว: เรียงลง หัวข้อ → ภาพ → ตัวเลือก (การ์ด) */
.home-promo-row .frame-teaser {
    margin-top: 0; padding: clamp(16px, 2vw, 22px); border-radius: 6px;
    grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "panel"; grid-template-rows: auto; row-gap: 12px;
}
.home-promo-row .frame-teaser .ft-head { align-self: start; }
/* มติ 495 — คำโปรยลอยทับมุมซ้ายบนของรูป (อยู่เหนือภาพ ใต้จุดวงกลม) */
.home-promo-row .frame-teaser .ft-stage .ft-lead { position: absolute; left: 12px; top: 10px; z-index: 1; margin: 0; max-width: calc(100% - 24px); padding: 4px 10px; border-radius: 4px; background: rgba(255, 255, 255, .88); font-size: 14px; color: #2b2824; pointer-events: none; }
.home-promo-row .frame-teaser .ft-dots { z-index: 2; }
.home-promo-row .frame-teaser .ft-stage { max-height: 220px; }   /* มติ 495 — การ์ดเตี้ยลง (เดิม 320) */
/* มติ 495 — จอใหญ่: «ความกว้าง» กับ «ฐานโต๊ะ» อยู่แถวเดียวกัน (มือถือเรียงลงเหมือนเดิม) */
@media (min-width: 901px) {
    .home-promo-row .frame-teaser .ft-panel { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); column-gap: 16px; }
    .home-promo-row .frame-teaser .ft-panel > :not(.ft-group) { grid-column: 1 / -1; }
    .home-promo-row .frame-teaser .ft-panel > .ft-group { margin-top: 0; }
    .home-promo-row .frame-teaser .ft-cta { margin-top: 14px; }
    .home-promo-row .frame-teaser .ft-more { margin-top: 8px; }
}
.home-promo-row .frame-teaser .ft-group-first { margin-top: 0; }

/* การ์ด Rewards */
.rw-teaser {
    --rwt-ink: #111; --rwt-muted: #5f5a52;
    display: flex; flex-direction: column; min-width: 0; padding: clamp(16px, 2vw, 22px); border-radius: 6px;
    background: #fff4d6; color: var(--rwt-ink);
}
.rwt-eyebrow { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.rwt-new { display: inline-flex; align-items: center; min-height: 22px; padding: 0 9px; border-radius: 999px; background: var(--rwt-ink); color: #fff; font-size: 12px; letter-spacing: 0; }
.rwt-title { margin: 10px 0 0; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.rwt-lead { margin: 10px 0 0; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.6; color: var(--rwt-muted); }
.rwt-perks { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.rwt-perks li { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 2px 9px; border-radius: 999px; background: var(--yellow, #fdd20a); font-size: 13px; font-weight: 800; }   /* มติ 495 — บรรทัดเดียวบนจอใหญ่ */
.rwt-perks li::before { content: "✓"; }
.rwt-media { margin: 12px 0 0; flex: 1 1 auto; display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; align-items: center; min-height: 120px; padding: 10px 12px 8px; border-radius: 4px; background: #fff; }
.rwt-media img { width: 100%; max-width: 140px; height: 100%; max-height: 110px; object-fit: contain; }
.rwt-media figcaption { margin-top: 8px; font-size: 13px; color: var(--rwt-muted); }
.rwt-steps { list-style: none; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid #e9dcae; display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
.rwt-steps li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.rwt-steps .rwt-arrow { font-weight: 400; }
.rwt-cta {
    margin-top: 16px; display: flex; justify-content: space-between; align-items: center; min-height: 50px; padding: 0 18px;
    border-radius: 6px; background: var(--yellow, #fdd20a); color: var(--rwt-ink); font-weight: 800; font-size: 17px; text-decoration: none;
}
.rwt-cta span { font-size: 20px; }
.rwt-cta:hover { background: var(--yellow-hover, #f2c400); }
.rwt-join { align-self: center; margin-top: 10px; min-height: 44px; display: inline-flex; align-items: center; color: var(--rwt-ink); font-size: 14px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.rw-teaser :is(.rwt-cta, .rwt-join):focus-visible { outline: 3px solid var(--rwt-ink); outline-offset: 2px; }

@media (max-width: 900px) {
    .home-promo-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
    .rwt-steps { font-size: 13px; gap: 4px; }
}

/* มติ 494 — แถบโปรแถมขนม (แขก) ใต้แบนเนอร์ */
.home-gift-strip { margin-top: 12px; }
.home-gift-strip a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px; border-radius: 6px; background: #fff4d6; color: #111; text-decoration: none; font-size: 15px; }
.home-gift-strip img { width: 32px; height: 32px; flex: 0 0 32px; }
.home-gift-strip span { flex: 1 1 auto; min-width: 0; }
.home-gift-strip b { flex: 0 0 auto; white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; }
.home-gift-strip a:focus-visible { outline: 3px solid #111; outline-offset: 2px; }
@media (max-width: 600px) { .home-gift-strip a { flex-wrap: wrap; font-size: 14px; } .home-gift-strip b { margin-left: 42px; } }
