/* ProHealth mobile product page (<= 900px), built to the supplied design (Tailwind sizes converted to px). */
.pm { display: none; }

@media (max-width: 900px) {
  .floating-chat { display: none !important; }
  .prod-desk { display: none; }
  .prod-page { background: #f3f4f6; padding-bottom: 0; }
  .prod-page > .container { width: 100%; margin: 0; }
  .prod-more-info, .prod-reviewed {
    max-width: 414px; margin: 0 auto; background: #fff; padding-inline: 24px;
  }

  .pm, .pm * { box-sizing: border-box; }
  .pm {
    --cyan: #00a8cc; --ink: #111827; --g500: #6b7280; --g800: #1f2937;
    display: block;
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    color: var(--g800); -webkit-font-smoothing: antialiased;
  }
  .pm-app { max-width: 414px; margin: 0 auto; background: #fff; position: relative; overflow-x: hidden; box-shadow: 0 0 40px rgba(0,0,0,.1); padding-bottom: 32px; }

  /* Top navigation: p-4, sticky, white/80 + blur */
  .pm-top {
    display: flex; justify-content: space-between; align-items: center; padding: 16px;
    position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.8);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .pm-top__r { display: flex; gap: 12px; }
  .pm-btn {
    width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--g800);
    border: 1px solid #f3f4f6; box-shadow: 0 1px 2px rgba(0,0,0,.05);
    display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer;
    text-decoration: none; transition: background-color .15s; position: relative;
  }
  .pm-btn::after { content: ""; position: absolute; inset: -2px; }
  .pm-btn:hover { background: #f9fafb; }
  .pm-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .pm-btn.is-on { color: #e11d48; }
  .pm-btn.is-on svg { fill: currentColor; }
  .pm-btn.is-done { color: #0e7490; }
  .pm a:focus-visible, .pm button:focus-visible { outline: 3px solid #0b3d73; outline-offset: 2px; }

  /* Breadcrumb */
  .pm-crumbs { display: flex; align-items: center; gap: 6px; padding: 0 16px 6px; font-size: 12px; line-height: 20px; color: var(--g500); white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
  .pm-crumbs::-webkit-scrollbar { display: none; }
  .pm-crumbs a { color: var(--g500); text-decoration: none; }
  .pm-crumbs i { font-style: normal; color: #9ca3af; }
  .pm-crumbs span { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }

  /* Gallery: h-64, px-4 pt-2 pb-6 */
  .pm-gal { display: flex; padding: 8px 16px 24px; height: 256px; position: relative; }
  .pm-thumbs {
    position: absolute; left: 16px; top: 8px; bottom: 24px; z-index: 10; width: 64px; padding-right: 8px;
    display: flex; flex-direction: column; gap: 8px; overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none;
  }
  .pm-thumbs::-webkit-scrollbar { display: none; }
  .pm-thumb {
    width: 48px; height: 48px; flex: none; padding: 4px; border-radius: 8px; overflow: hidden; cursor: pointer;
    background: #f9fafb; border: 1px solid transparent; box-shadow: 0 1px 2px rgba(0,0,0,.05);
    display: flex; align-items: center; justify-content: center; position: relative;
  }
  .pm-thumb::after { content: ""; position: absolute; inset: -2px; }
  .pm-thumb.is-active { background: #fff; border: 2px solid var(--cyan); }
  .pm-thumb img { width: 100%; height: 100%; object-fit: contain; opacity: .6; mix-blend-mode: multiply; }
  .pm-main { flex-grow: 1; padding-left: 64px; display: flex; align-items: center; justify-content: center; min-width: 0; touch-action: pan-y; }
  .pm-main.is-solo { padding-left: 0; }
  .pm-main img { max-height: 224px; max-width: 100%; object-fit: contain; }
  .pm-noimg { font-size: 72px; }
  .pm-dots { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
  .pm-dots i { width: 8px; height: 8px; border-radius: 50%; background: #d1d5db; border: 1px solid #9ca3af; }
  .pm-dots i.is-active { background: var(--cyan); border-color: var(--cyan); }

  /* Details sheet: rounded-t-32, pt-6 px-6, -mt-4 */
  .pm-details {
    background: #fff; border-radius: 32px 32px 0 0; padding: 24px 24px 0; margin-top: -16px;
    position: relative; z-index: 20; box-shadow: 0 -8px 20px rgba(0,0,0,.03); border-top: 1px solid #f9fafb;
  }
  .pm-head { margin-bottom: 16px; }
  .pm-title { margin: 0 0 8px; font-size: 24px; line-height: 32px; font-weight: 700; color: var(--ink); }
  .pm-pricerow { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 8px; }
  .pm-price { font-size: 30px; line-height: 36px; font-weight: 800; color: var(--cyan); }
  .pm-stock {
    display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
    background: #eaf7f5; color: #00a8cc; border: 1px solid #cbebe5;
  }
  .pm-stock i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
  .pm-stock span { font-size: 11px; line-height: 16px; font-weight: 600; }
  .pm-rating { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 20px; }
  .pm-rating svg { width: 13px; height: 13px; fill: #ffb800; }
  .pm-rating b { font-weight: 700; color: var(--ink); }
  .pm-rating span { color: var(--g500); }

  .pm-desc { margin: 0 0 24px; padding-right: 8px; font-size: 13px; line-height: 1.625; font-weight: 500; color: var(--g500); }

  /* Features: grid-cols-4 gap-2 mb-8 border-b pb-6 */
  .pm-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid #f3f4f6; }
  .pm-feats > div { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .pm-feats span { width: 48px; height: 48px; border-radius: 50%; background: #f0f9fb; color: var(--cyan); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
  .pm-feats svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .pm-feats em { font-style: normal; font-size: 10px; line-height: 1.25; font-weight: 500; color: var(--g800); }
  .pm-feats > div:not(:first-child) em { margin-top: 4px; }

  /* Options: two 45% columns */
  .pm-opts { display: grid; gap: 20px; margin-bottom: 24px; }
  .pm-opt { width: 100%; }
  .pm-opt h3 { margin: 0 0 12px; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--ink); }
  .pm-pills { display: flex; flex-wrap: wrap; gap: 8px; }
  .pm-pill {
    flex: 1 1 auto; padding: 8px 10px; border-radius: 999px; border: 1px solid #e5e7eb; background: #fff;
    color: #4b5563; font: 600 12px/16px inherit; font-family: inherit; text-align: center; cursor: pointer; white-space: nowrap;
  }
  .pm-pill:hover { background: #f9fafb; }
  .pm-pill.active { background: var(--cyan); border-color: var(--cyan); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
  .pm-qty {
    display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 6px 16px;
    border: 1px solid #e5e7eb; border-radius: 999px;
  }
  .pm-qty button { width: 24px; height: 24px; padding: 0; border: 0; background: none; color: var(--g800); display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 50%; }
  .pm-qty button:hover { color: var(--cyan); }
  .pm-qty svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
  .pm-qty output { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--ink); }

  /* Start Consultation: in the flow, not fixed */
  .pm-buy { padding: 0 24px; }
  .pm-buy .pm-pricerow { margin-bottom: 16px; align-items: center; }
  .pm-cta {
    width: 100%; height: 56px; border-radius: 999px; background: #00a8cc; color: #fff; text-decoration: none;
    display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,.05);
  }
  .pm-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .pm-cta span { font-size: 15px; }
  .pm-note { margin: 10px 8px 0; font-size: 11px; line-height: 1.5; text-align: center; color: var(--g500); }

  /* Reinstated info area */
  .pm-more { padding: 0 0 24px; display: grid; gap: 16px; }
  .pm-checks { list-style: none; margin: 0; padding: 16px; display: grid; gap: 12px; background: #f0f9fb; border-radius: 16px; }
  .pm-checks li { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.35; font-weight: 500; color: var(--g800); }
  .pm-checks i { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--cyan); display: grid; place-items: center; }
  .pm-checks svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
  .pm-countdown {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px;
    background: #fff; border: 1px solid #e5e7eb; box-shadow: 0 4px 20px -2px rgba(0,0,0,.05);
  }
  .pm-countdown__ico { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #f0f9fb; color: var(--cyan); display: grid; place-items: center; }
  .pm-countdown__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .pm-countdown__lbl { display: block; font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--g500); }
  .pm-countdown__time { display: block; font-size: 22px; line-height: 28px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
  .pm-countdown__time small { font-size: 13px; font-weight: 600; color: var(--g500); margin: 0 6px 0 2px; }
  .pm-countdown__by { display: block; font-size: 12px; line-height: 18px; color: var(--g500); }
  .pm-countdown__by strong { color: var(--g800); font-weight: 700; }
  .pm-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
  .pm-chips li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid #e5e7eb; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--g800); }

  /* More Information accordion */
  .prod-more-info { padding-top: 8px; padding-bottom: 24px; border-top: 0; }
  .prod-more-info h2 { margin: 0 0 14px; font-size: 20px; line-height: 28px; font-weight: 800; color: #111827; letter-spacing: 0; }
  details.prod-item { border: 1px solid #e5e7eb; border-radius: 16px; margin-bottom: 10px; background: #fff; box-shadow: 0 4px 20px -2px rgba(0,0,0,.05); overflow: hidden; }
  details.prod-item[open] { border-color: #00a8cc; }
  details.prod-item summary { padding: 16px 18px; min-height: 56px; font-size: 15px; line-height: 22px; font-weight: 700; color: #111827; gap: 12px; }
  details.prod-item summary::after {
    content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px; border: solid #00a8cc; border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg); transition: transform .2s; font-size: 0;
  }
  details.prod-item[open] summary::after { transform: rotate(-135deg); }
  .prod-item-body { border-top: 1px solid #f3f4f6; padding: 14px 18px 18px; font-size: 14px; line-height: 1.65; color: #4b5563; }
  .prod-reviewed { padding: 8px 24px 32px; border-top: 0; }
  .prod-reviewed h2 { font-size: 18px; margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { .pm-btn, .pm-cta { transition: none; } }
