/* Mobile only: the existing tablet/desktop cards and guide table stay intact. */
.mobile-product-recommendations { display:none; }
@media (max-width:560px) {
  #courses .learning-path__choices { display:none; }
  .mobile-product-recommendations { display:grid;grid-template-columns:minmax(0,1fr);gap:16px;scroll-margin-top:100px; }
  .course-guide .mobile-product-recommendations { margin:0 -4px 32px; }
  .mobile-product-card { min-width:0;padding:18px 16px;border:1px solid var(--product-edge);border-radius:22px;background:var(--product-surface);color:var(--ink);box-shadow:0 7px 16px -14px #163c5080;font:400 16px/1.8 var(--font-sans,'IBM Plex Sans Thai',sans-serif);text-align:left; }
  .mobile-product-card__head { display:grid;grid-template-columns:clamp(88px,24vw,104px) minmax(0,1fr);gap:12px;align-items:start; }
  .mobile-product-card__head>img { display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain; }
  .mobile-product-card h3 { margin:0 0 10px;font:600 19px/1.6 var(--font-sans,'IBM Plex Sans Thai',sans-serif);color:var(--ink);text-wrap:pretty; }
  .mobile-product-recommendations article p { margin:0; }
  .mobile-product-card__head p { font-size:16px;line-height:1.8; }
  .mobile-product-card .mobile-product-card__scope { margin-top:16px;padding-top:12px;border-top:1px solid var(--product-edge);font-weight:600; }
  .mobile-product-card .mobile-product-card__duration { margin:8px 0 12px;font-size:15px; }
  .mobile-product-card__plan { display:flex;gap:10px;align-items:center;padding:11px 12px;border-radius:12px;background:#fffdf7; }
  .mobile-product-card__plan svg { flex:0 0 24px;color:var(--product-accent); }
  .mobile-product-card__plan span { display:block;font-size:15px;line-height:1.8; }
  .mobile-product-card .mobile-product-card__estimate { margin:8px 0 16px;font-size:13px;line-height:1.7;color:#4e636b; }
  .mobile-product-card__footer { display:grid;gap:10px; }
  .mobile-product-card .product-card-cta { display:flex;min-height:48px;width:100%;white-space:normal;font-size:16px; }
  .mobile-product-card__head--books { align-items:center;margin-bottom:16px; }
  .mobile-product-card__head--books h3 { margin:0; }
  .mobile-product-card__books { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 18px; }
  .mobile-product-card__books a { min-width:0;color:inherit;text-decoration:none;font-size:15px;line-height:1.7; }
  .mobile-product-card__books img { display:block;width:100%;height:auto;aspect-ratio:5/7;object-fit:contain;margin-bottom:10px; }
  .mobile-product-card__books span { display:block; }
  .mobile-product-card a:focus-visible { outline:3px solid var(--teal-deep);outline-offset:4px; }
}
