/* ==========================================================
   yusleep.medmorning.com – stylesheet (plain CSS, no external files)
   ========================================================== */
:root {
  --navy: #0e2340;
  --navy-dark: #0a1a31;
  --yellow: #fff200;
  --yellow-dark: #e6da00;
  --ink: #000000;
  --text: #1c1c1c;
  --muted: #555555;
  --line: #e3e6eb;
  --empty: #eef1f5;
  --white: #ffffff;
  --font: "Jost", "Futura", "Century Gothic", "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --max: 1180px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7; color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; color: var(--ink); overflow-wrap: break-word; }
p { margin: 0 0 1.2em; }
[id] { scroll-margin-top: calc(var(--header-h) + 10px); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); font-weight: 700; padding: 10px 16px; border-radius: 6px; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #2f6fed; outline-offset: 3px; }
.site-header :focus-visible, .site-footer :focus-visible, .band :focus-visible { outline-color: var(--yellow); }

/* ---------- Image slots (fixed ratio; missing file = clean empty box) ---------- */
.media { display: block; position: relative; width: 100%; overflow: hidden; }
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; color: transparent; }
.media.is-empty { background: var(--empty); border-radius: 12px; }
.media > img.is-missing { visibility: hidden; }
.media.optional.is-empty { display: none; }          /* optional photos simply disappear */

.media-hero    { aspect-ratio: 4 / 3; }
.media-square  { aspect-ratio: 1 / 1; max-width: 480px; margin: 0 auto; }
.media-badge   { width: 150px; aspect-ratio: 1 / 1; margin: 0 auto 18px; }
.media-badge.is-empty { border-radius: 50%; }
.media-customer { width: 170px; aspect-ratio: 1 / 1; margin: 0 auto 18px; border: 4px solid #222; border-radius: 16px; }
.media-customer > img { object-fit: cover; }
.media-package { aspect-ratio: 3 / 4; }
.media-seal    { aspect-ratio: 1 / 1; max-width: 300px; margin: 0 auto; }
.media-seal.is-empty { border-radius: 50%; }

/* small cart icon inside buttons */
.icon-slot { display: inline-block; position: relative; width: 22px; height: 22px; vertical-align: middle; flex-shrink: 0; }
.icon-slot > img { width: 100%; height: 100%; object-fit: contain; }
.icon-slot.is-empty { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  max-width: 100%; background: var(--yellow); color: var(--ink);
  font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 22px; line-height: 1.2;
  text-align: center; text-decoration: underline; text-underline-offset: 3px;
  padding: 16px 30px; border-radius: 6px; border: 0; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--yellow-dark); transform: translateY(-2px); }
.btn-big { font-size: 24px; padding: 18px 36px; }
.text-cta { font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 19px; color: var(--ink); text-underline-offset: 3px; }
.right-action { text-align: right; margin-top: 10px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.logo { color: var(--white); text-decoration: none; font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 16px; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-nav .nav-order {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--ink); padding: 13px 22px; border-radius: 4px;
  font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 19px;
}
.site-nav .nav-order:hover { background: var(--yellow-dark); text-decoration: none; }

.mobile-order { display: none; margin-left: auto; background: var(--yellow); color: var(--ink); text-decoration: none; font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 15px; padding: 10px 14px; border-radius: 4px; white-space: nowrap; }
.mobile-order:hover { background: var(--yellow-dark); }
.nav-check { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nav-check:focus-visible + .nav-toggle { outline: 3px solid var(--yellow); outline-offset: 2px; }
.nav-check:checked + .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-check:checked + .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-check:checked + .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.nav-toggle { display: none; width: 48px; height: 48px; background: transparent; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 3px; background: var(--white); border-radius: 2px; margin: 6px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Layout helpers ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.text-block { max-width: 1100px; }
.section { padding-bottom: 70px; }
.band { background: var(--navy); text-align: center; padding: 22px 20px; margin-bottom: 50px; }
.band h2 { color: var(--white); font-size: clamp(28px, 3.6vw, 44px); margin: 0; }
.band-sub { color: var(--yellow); font-weight: 700; font-size: clamp(17px, 1.8vw, 22px); margin: 6px 0 0; }

/* ---------- Hero ---------- */
.hero { padding: 50px 0 80px; }
.hero-title { font-size: clamp(42px, 5vw, 64px); color: var(--navy); margin-bottom: 18px; }
.hero-sub { font-size: clamp(22px, 2.3vw, 28px); margin-bottom: 22px; }
.offer-link { margin-top: 30px; }
.offer-link a { font-weight: 700; font-size: 18px; color: var(--ink); text-underline-offset: 3px; }
.hero-actions { display: flex; align-items: center; justify-content: flex-end; gap: 30px; flex-wrap: wrap; margin-top: 10px; }

/* ---------- Badges ---------- */
.badge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.badge-item { text-align: center; }
.badge-item h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; }
.badge-item p { max-width: 240px; margin: 0 auto; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.review { text-align: center; }
.review-tag { font-size: 22px; margin-bottom: 12px; }
.review blockquote { margin: 0 0 16px; font-size: 16.5px; }
.review-name { font-style: italic; margin: 0; }

/* ---------- Pricing (package images) ---------- */
.package-row { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; gap: 30px; align-items: center; }
.package { display: block; text-decoration: none; color: var(--ink); border-radius: 12px; transition: transform .15s ease; }
.package:hover { transform: translateY(-4px); }
.package-fallback { display: none; }
.media-package.is-empty { border: 2px solid var(--line); background: #f4f7fb; }
.package.featured .media-package.is-empty { border-color: var(--navy); background: var(--navy); color: var(--white); }
.media-package.is-empty .package-fallback {
  display: flex; position: absolute; inset: 0; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 16px; text-align: center;
}
.package-fallback strong { font-size: 34px; line-height: 1.1; }
.fallback-btn { background: var(--yellow); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 20px; padding: 12px 22px; border-radius: 6px; text-decoration: underline; }

/* ---------- Guarantee ---------- */
.guarantee { grid-template-columns: 2fr 3fr; }

/* ---------- Benefits ---------- */
.benefits { text-align: center; }
.benefit-list { list-style: none; padding: 0; margin: 10px 0 0; }
.benefit-list li { margin: 0 0 22px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 18px 50px 18px 0; font-weight: 700; font-size: 21px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 30px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq-answer p { margin: 0 0 18px; }

/* ---------- Final offer ---------- */
.final-text { text-align: center; }
.old-price { font-size: 24px; margin-bottom: 6px; }
.new-price { font-size: 28px; margin-bottom: 26px; }
.new-price strong { color: #c40000; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #d6dce6; padding: 40px 0 26px; font-size: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.footer-links a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 15px; }
.footer-links a:hover, .footer-links a[aria-current="page"] { text-decoration: underline; }
.footer-text { max-width: 1000px; margin: 0 auto; text-align: center; line-height: 1.6; }
.copyright { text-align: center; margin: 20px 0 0; color: #aeb8c9; }

/* ---------- Legal pages ---------- */
.legal { padding-bottom: 70px; }
.legal .band h1 { color: var(--white); font-size: clamp(28px, 3.8vw, 44px); margin: 0; }
.legal-body { max-width: 900px; }
.legal-body h2 { font-size: clamp(21px, 2.4vw, 26px); color: var(--navy); margin-top: 1.6em; }
.legal-body ul { padding-left: 1.3em; }
.legal-updated { color: var(--muted); font-size: 15px; }
.fda-box { border-left: 5px solid var(--navy); background: #f4f6fa; padding: 14px 18px; border-radius: 6px; font-weight: 700; }

/* ==========================================================
   Responsive
   ========================================================== */

/* ---------- Pricing images (AquaSculpt) ---------- */
.media-wide { aspect-ratio: 1000 / 675; }
.pricing-bg { background: #eeeeee; padding-bottom: 60px; margin-bottom: 70px; }
.pricing-bg .band { margin-bottom: 40px; }
.pkg-row { display: flex; justify-content: center; align-items: center; gap: 14px; }
.pkg { display: block; flex: 0 1 364px; border-radius: 16px; transition: transform .15s ease; }
.pkg-featured { flex-basis: 404px; }
.pkg:hover { transform: translateY(-4px); }
.pkg img { width: 100%; height: auto; }
@media (max-width: 860px) {
  .pkg-row { flex-direction: column; gap: 20px; }
  .pkg { flex-basis: auto; width: 100%; max-width: 360px; }
  .pkg-featured { order: -1; }
}

/* ---------- Price cards (AquaSculpt) ---------- */
.price-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 320px)); justify-content: center; gap: 26px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; background: #eef5fc; border: 2px solid #b9d6f2; border-radius: 10px; padding: 48px 22px 22px; text-align: center; }
.price-card h3 { font-size: 34px; color: var(--navy); margin-bottom: 8px; }
.price-card.featured { background: var(--navy); border-color: var(--navy); color: var(--white); transform: scale(1.04); z-index: 1; }
.price-card.featured h3, .price-card.featured .price span { color: var(--white); }
.price-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 4px; opacity: .8; }
.ribbon { position: absolute; top: 0; left: 0; right: 0; margin: 0; padding: 7px; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; border-radius: 8px 8px 0 0; }
.media-bottle { aspect-ratio: 1 / 1; max-width: 220px; margin: 6px auto 12px; }
.price { font-size: 18px; font-weight: 600; margin: 0; }
.price span { font-size: 56px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.price-extra { font-size: 15px; margin: 2px 0 16px; }
.price-extra.free { color: #7CFC9A; font-weight: 700; }
.price-card .btn { margin-top: auto; }
.btn-block { display: flex; width: 100%; }
.price-total { margin: 12px 0 0; font-weight: 700; }
.price-note { text-align: center; font-size: 14px; color: var(--muted); margin: 26px 0 0; }

/* ---------- How it works list ---------- */
.how-list { padding-left: 1.2em; margin: 0 0 1.2em; }
.how-list li { margin-bottom: 10px; }

/* ---------- Ingredients (numbered) ---------- */
.center { text-align: center; }
.source-note { color: var(--muted); font-size: 15px; }
.ingredient-list, .info-steps { list-style: none; counter-reset: n; padding: 0; margin: 30px 0 10px; display: grid; gap: 18px; }
.ingredient-list { grid-template-columns: 1fr 1fr; }
.ingredient-list li, .info-steps li { counter-increment: n; position: relative; background: #f6f8fb; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px 18px 74px; }
.ingredient-list li::before, .info-steps li::before {
  content: counter(n); position: absolute; left: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--yellow); font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center;
}
.ingredient-list h3, .info-steps h3 { font-size: 20px; color: var(--navy); margin-bottom: 4px; }
.ingredient-list p, .info-steps p { margin: 0; font-size: 16px; }
.ingredient-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }

.free-ship { font-weight: 700; color: #1a7f37; margin-top: -14px; }

@media (max-width: 1024px) {
  .price-cards { gap: 16px; }
  .price-card { padding-left: 14px; padding-right: 14px; }
  .price span { font-size: 44px; }
}
@media (max-width: 860px) {
  .price-cards { grid-template-columns: minmax(0, 380px); gap: 24px; }
  .price-card.featured { transform: none; order: -1; }
  .ingredient-list { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .badge-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
  .review-grid { gap: 24px; }
  .package-row { gap: 18px; }
  .package-fallback strong { font-size: 28px; }
  .fallback-btn { font-size: 17px; padding: 10px 16px; }
}

@media (max-width: 860px) {
  :root { --header-h: 70px; }
  .logo { font-size: 34px; }
  .nav-toggle { display: block; }
  .mobile-order { display: inline-block; }
  .header-inner { gap: 10px; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-top: 1px solid rgba(255,255,255,.15);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .3s ease, visibility 0s linear .3s;
  }
  .nav-check:checked ~ .site-nav, .site-nav.open { max-height: 480px; visibility: visible; transition: max-height .3s ease, visibility 0s; }
  .site-nav a { padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .site-nav .nav-order { justify-content: center; margin: 14px 20px 18px; border: 0; }

  .no-js .nav-toggle, .no-js .mobile-order { display: none; }
  .no-js .header-inner { flex-wrap: wrap; padding: 12px 20px; }
  .no-js .site-nav { position: static; max-height: none; visibility: visible; width: 100%; flex-direction: row; flex-wrap: wrap; border: 0; }
  .no-js .site-nav a { padding: 6px 12px 6px 0; border: 0; }
  .no-js .site-nav .nav-order { margin: 6px 0; }

  .two-col, .guarantee { grid-template-columns: 1fr; gap: 30px; }
  .col-media { max-width: 480px; width: 100%; margin: 0 auto; }
  .hero { padding-top: 30px; }
  .hero-actions { justify-content: flex-start; }
  .right-action { text-align: left; }
  .review-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 44px; }
  .package-row { grid-template-columns: minmax(0, 340px); gap: 26px; }
  .package.featured { order: -1; }
  .final-text { text-align: center; }
}

@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .container { padding: 0 16px; }
  .logo { font-size: 28px; }
  .badge-grid { grid-template-columns: 1fr; }
  .band { padding: 20px 16px; margin-bottom: 34px; }
  .section { padding-bottom: 54px; }
  .hero-actions { flex-direction: column; align-items: stretch; text-align: center; gap: 18px; }
  .btn, .btn-big { font-size: 20px; padding: 15px 18px; width: 100%; }
  .right-action .btn { width: 100%; }
  .faq summary { font-size: 18px; }
  .old-price { font-size: 20px; }
  .new-price { font-size: 23px; }
}

@media (max-width: 360px) {
  .logo { font-size: 24px; }
  .mobile-order { font-size: 13px; padding: 9px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- ProstaVive-specific ---------- */
.media-pv-hero   { aspect-ratio: 574 / 354; }
.media-pv-whatis { aspect-ratio: 418 / 393; max-width: 440px; margin: 0 auto; }
.media-pv-final  { aspect-ratio: 700 / 355; }
.pkg, .pkg-featured { flex: 0 1 300px; }
.bonus-list { display: grid; gap: 22px; }
.bonus { display: flex; gap: 26px; align-items: center; background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.12); padding: 24px 28px; }
.bonus img { flex: 0 0 140px; width: 140px; height: auto; }
.bonus h3 { color: #d00000; font-size: 22px; margin-bottom: 8px; }
.bonus p { margin: 0 0 10px; }
@media (max-width: 600px) {
  .bonus { flex-direction: column; text-align: center; padding: 20px 16px; }
}
/* header: keep menu on one line; switch to phone menu earlier */
.site-nav a { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 861px) {
  .logo { font-size: 36px; }
  .site-nav { gap: 20px; }
  .site-nav a { font-size: 15px; }
  .site-nav .nav-order { font-size: 16px; padding: 11px 16px; }
}
.review .stars { color: #f5b301; font-size: 24px; letter-spacing: 4px; margin: 0 0 10px; }

/* ==========================================================
   Yu Sleep theme – purple & green, taken from the bottle label
   ========================================================== */
:root {
  --navy: #3d1f63;          /* deep purple (label) */
  --navy-dark: #2c1549;
  --yellow: #8cc63f;        /* green accent (label stripe) */
  --yellow-dark: #74ad2b;
}
.new-price strong { color: #5b2a86; }
.free-ship { color: #4f8a16; }
.media-ys-hero   { aspect-ratio: 509 / 538; max-width: 460px; margin: 0 auto; }
.media-ys-whatis { aspect-ratio: 614 / 564; }
.media-ys-final  { aspect-ratio: 641 / 542; }
.pkg, .pkg-featured { flex: 0 1 230px; }
.pkg img { border-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.bonus h3 { color: #5b2a86; }
@media (max-width: 860px) { .pkg { max-width: 280px; } }
