/* nutrafolwholesale.com, design "Shelf": white page, black type, product cards with a stripe in the color of the formula. */
:root { --ink: #111; --mute: #62666d; --line: #e2e2e2; --pale: #eef3f8; --soft: #f5f5f5; --w: 1280px; --pad: 36px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.55 Figtree, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid #1a5fd0; outline-offset: 2px; }
.sf-skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 14px; z-index: 20; }
.sf-skip:focus { left: 8px; top: 8px; }

/* top */
.sf-strip { background: var(--ink); color: #fff; text-align: center; font-size: 13px; font-weight: 600; padding: 8px 14px; }
.sf-head { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.sf-head-in { max-width: var(--w); margin: 0 auto; padding: 16px var(--pad) 12px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.sf-for { font-size: 13px; color: var(--mute); }
.sf-logo { font-weight: 900; font-size: 26px; letter-spacing: -.02em; text-decoration: none; line-height: 1; }
.sf-btn { display: inline-block; background: var(--ink); color: #fff; font: 700 15px/1.2 Figtree, sans-serif; padding: 14px 22px; border: 0; border-radius: 4px; text-decoration: none; cursor: pointer; }
.sf-btn:hover { background: #333; }
.sf-btn-top { justify-self: end; padding: 12px 20px; font-size: 14px; }
.sf-burger { display: none; }
.sf-nav { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); display: flex; justify-content: center; gap: 28px; border-top: 1px solid var(--line); }
.sf-nav a { font-weight: 700; font-size: 14.5px; text-decoration: none; padding: 11px 0 9px; border-bottom: 3px solid transparent; white-space: nowrap; }
.sf-nav a:hover, .sf-nav a[aria-current] { border-color: var(--ink); }

/* frame */
.sf-main { max-width: var(--w); margin: 0 auto; }
.sf-trail { padding: 14px var(--pad) 0; font-size: 13px; color: var(--mute); display: flex; flex-wrap: wrap; gap: 6px; }
.sf-trail a::after { content: "/"; margin-left: 6px; color: #b5b8bd; }
.sf-sec { padding: 40px var(--pad) 4px; }
.sf-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.sf-bar h2, .sf-page h2, .sf-art h2 { font-size: 28px; line-height: 1.12; font-weight: 900; letter-spacing: -.02em; }
.sf-bar > a { font-weight: 800; font-size: 14px; text-underline-offset: 4px; white-space: nowrap; }
.sf-lead { font-size: 18px; line-height: 1.5; color: #24272c; max-width: 760px; }
.sf-p { max-width: 820px; margin-bottom: 14px; color: #24272c; }
.sf-small { font-size: 13.5px; color: var(--mute); margin-top: 10px; max-width: 820px; }
.sf-p a, .sf-lead a, .sf-small a, .sf-q a, .sf-yes a, .sf-no a, .sf-tab a, .sf-three a, .sf-note a, .sf-steps a { text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.sf-cta { margin: 22px 0 6px; }

/* home hero */
.sf-hero { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.sf-hero-txt { background: var(--pale); padding: 56px 44px 48px var(--pad); }
.sf-hero h1 { font-size: 62px; line-height: .98; font-weight: 900; letter-spacing: -.03em; }
.sf-hero .sf-lead { margin: 20px 0 26px; max-width: 480px; }
.sf-hero-s { font-size: 13.5px; color: var(--mute); margin-top: 18px; }
.sf-tiles { display: grid; grid-template-columns: 1fr 1fr; }
.sf-tiles a { position: relative; display: block; border-left: 1px solid var(--line); border-top: 1px solid var(--line); text-decoration: none; background: #fff; }
.sf-hero .sf-tiles a:nth-child(-n+2) { border-top: 0; }
.sf-tiles img { width: 100%; height: 220px; object-fit: contain; padding: 10px 0 40px; }
.sf-tiles span { position: absolute; left: 0; right: 0; bottom: 0; padding: 7px 14px; font-weight: 800; font-size: 14px; }
.sf-tiles-row { grid-template-columns: repeat(4, 1fr); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sf-tiles-row img { height: 180px; }

/* product cards */
.sf-tabs { display: flex; flex-wrap: wrap; border: 1px solid var(--ink); }
.sf-tabs a { padding: 8px 14px; font-weight: 700; font-size: 13.5px; text-decoration: none; border-right: 1px solid var(--ink); }
.sf-tabs a:last-child { border-right: 0; }
.sf-tabs a.on, .sf-tabs a:hover { background: var(--ink); color: #fff; }
.sf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sf-card { border: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; background: #fff; }
.sf-card:hover { border-color: var(--ink); }
.sf-stripe { display: block; height: 8px; }
.sf-card img { width: 100%; height: 230px; object-fit: contain; padding: 8px; }
.sf-in { padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.sf-in b { font-size: 17px; font-weight: 800; line-height: 1.2; }
.sf-in small { font-size: 13.5px; color: var(--mute); }
.sf-price { margin-top: 10px; font-size: 21px; font-weight: 900; line-height: 1.25; }
.sf-price s { font-size: 14px; font-weight: 500; color: var(--mute); margin-left: 6px; }
.sf-price em { font-style: normal; font-size: 13px; font-weight: 700; display: block; }
.sf-btn2 { margin-top: auto; border: 2px solid var(--ink); text-align: center; font-weight: 800; font-size: 13.5px; padding: 9px; border-radius: 4px; }
.sf-price + .sf-btn2, .sf-in small + .sf-btn2 { margin-top: 12px; }
.sf-card:hover .sf-btn2 { background: var(--ink); color: #fff; }

/* formula page top */
.sf-top { display: grid; grid-template-columns: 420px 1fr; border-bottom: 1px solid var(--line); margin-top: 14px; border-top: 1px solid var(--line); }
.sf-top-pic { border-right: 1px solid var(--line); }
.sf-top-pic img { width: 100%; height: 380px; object-fit: contain; padding: 16px; }
.sf-top-txt { padding: 44px var(--pad) 40px 44px; background: var(--pale); }
.sf-top h1, .sf-page h1, .sf-art h1 { font-size: 44px; line-height: 1.04; font-weight: 900; letter-spacing: -.025em; }
.sf-top .sf-lead { margin: 16px 0 24px; }

/* text pages */
.sf-page { padding: 26px var(--pad) 0; }
.sf-page h1 { max-width: 900px; }
.sf-page .sf-lead { margin-top: 14px; }
.sf-page h2 { margin: 38px 0 16px; }
.sf-page h3, .sf-art h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }

/* tables */
.sf-scroll { overflow-x: auto; }
.sf-tab { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
.sf-tab th { text-align: left; background: var(--ink); color: #fff; font-weight: 700; font-size: 13.5px; padding: 10px 14px; }
.sf-tab td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sf-tab tr:nth-child(even) td { background: #fafafa; }
.sf-tab td:first-child { min-width: 180px; }

/* who buys */
.sf-who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sf-who a { padding: 22px; background: var(--soft); text-decoration: none; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.sf-who b { font-size: 20px; font-weight: 900; }
.sf-who u { margin-top: 8px; font-weight: 800; font-size: 13.5px; text-underline-offset: 4px; }
.sf-who a:hover { background: #ebebeb; }

/* steps, lists, panels */
.sf-steps { list-style: none; counter-reset: n; display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--ink); }
.sf-steps li { counter-increment: n; padding: 18px 18px 20px; border-right: 1px solid var(--line); font-size: 15px; color: #24272c; }
.sf-steps li:last-child { border-right: 0; }
.sf-steps li::before { content: counter(n); display: block; font-weight: 900; font-size: 28px; line-height: 1; margin-bottom: 10px; }
.sf-steps b { display: block; font-size: 16.5px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.sf-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sf-three > div { background: var(--soft); padding: 20px; }
.sf-three p { font-size: 15px; color: #24272c; }
.sf-two { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.sf-two > div { padding: 20px 22px; }
.sf-two > div + div { border-left: 1px solid var(--line); }
.sf-yes, .sf-no { list-style: none; max-width: 820px; }
.sf-yes li, .sf-no li { position: relative; padding: 5px 0 5px 28px; }
.sf-yes li::before { content: ""; position: absolute; left: 3px; top: 12px; width: 12px; height: 6px; border: solid #1f8a4c; border-width: 0 0 3px 3px; transform: rotate(-45deg); }
.sf-no li::before { content: "\00d7"; position: absolute; left: 3px; top: 1px; font-weight: 900; font-size: 20px; color: #b3261e; }
.sf-note { border-left: 6px solid var(--ink); background: var(--soft); padding: 14px 18px; margin: 18px 0; max-width: 820px; font-size: 15px; }
.sf-key { border: 2px solid var(--ink); padding: 18px 22px; margin: 20px 0; max-width: 820px; }
.sf-key > p { font-weight: 900; font-size: 15px; margin-bottom: 6px; }
.sf-key ul { padding-left: 20px; }
.sf-key li { margin: 4px 0; }

/* questions */
.sf-q { border-bottom: 1px solid var(--line); max-width: 900px; }
.sf-q summary { cursor: pointer; list-style: none; position: relative; padding: 14px 40px 14px 0; font-weight: 800; font-size: 16.5px; }
.sf-q summary::-webkit-details-marker { display: none; }
.sf-q summary::after { content: "+"; position: absolute; right: 6px; top: 8px; font-weight: 500; font-size: 26px; }
.sf-q[open] summary::after { content: "\2212"; }
.sf-q div { padding: 0 0 16px; max-width: 800px; color: #24272c; }

/* guides */
.sf-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sf-post { border: 1px solid var(--line); border-top: 8px solid var(--ink); padding: 18px 20px 20px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.sf-post b { font-size: 19px; font-weight: 800; line-height: 1.2; }
.sf-post i { font-style: normal; font-size: 14.5px; color: #3a3d42; }
.sf-post u { margin-top: auto; font-weight: 800; font-size: 13.5px; text-underline-offset: 4px; }
.sf-post:hover { border-color: var(--ink); }
.sf-art { padding: 26px var(--pad) 0; }
.sf-art > * { max-width: 860px; }
.sf-art > .sf-scroll, .sf-art > .sf-tiles, .sf-art > .sf-three, .sf-art > .sf-steps, .sf-art > .sf-two { max-width: 1040px; }
.sf-art h1 { max-width: 900px; }
.sf-art h2 { margin: 36px 0 14px; }
.sf-art .sf-lead { margin-top: 14px; }
.sf-art .sf-scroll, .sf-art .sf-three, .sf-art .sf-two, .sf-art .sf-steps, .sf-art .sf-tiles { margin: 18px 0; }
.sf-by { font-size: 13.5px; color: var(--mute); margin-top: 12px; }
.sf-art sup a { text-decoration: none; font-weight: 800; font-size: 12px; padding: 0 2px; color: #1a5fd0; }
.sf-src { padding: 34px 0 0; }
.sf-src ol { padding-left: 22px; font-size: 14px; color: #3a3d42; }
.sf-src li { margin-bottom: 6px; overflow-wrap: anywhere; }

/* form */
.sf-ask { margin: 44px var(--pad) 52px; border: 2px solid var(--ink); scroll-margin-top: 130px; }
.sf-form { padding: 28px 30px 30px; max-width: 900px; }
.sf-form h2 { font-size: 28px; font-weight: 900; letter-spacing: -.02em; }
.sf-form > p { margin-top: 6px; }
.sf-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin: 18px 0; }
.sf-form label { font-weight: 700; font-size: 14px; display: block; }
.sf-form label small { font-weight: 500; color: var(--mute); }
.sf-form input, .sf-form select, .sf-form textarea { display: block; width: 100%; margin-top: 5px; font: 16px/1.3 Figtree, sans-serif; padding: 11px 12px; border: 1px solid #9a9da3; border-radius: 4px; background: #fff; color: var(--ink); }
.sf-wide { grid-column: 1 / -1; }
.sf-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sf-err { background: #fdecea; border-left: 6px solid #b3261e; padding: 12px 14px; margin-top: 14px; }

/* foot */
.sf-foot { background: var(--ink); color: #cfd1d5; font-size: 14px; }
.sf-foot-in { max-width: var(--w); margin: 0 auto; padding: 40px var(--pad) 26px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 28px; }
.sf-foot .sf-logo { color: #fff; font-size: 22px; display: block; margin-bottom: 10px; }
.sf-foot a { color: #cfd1d5; text-decoration: none; display: block; padding: 3px 0; }
.sf-foot a:hover { color: #fff; text-decoration: underline; }
.sf-foot p { margin-bottom: 8px; }
.sf-foot-h { color: #fff; font-weight: 800; }
.sf-legal { max-width: var(--w); margin: 0 auto; padding: 16px var(--pad) 28px; border-top: 1px solid #333; font-size: 12.5px; color: #9da0a6; }

/* narrower screens */
@media (max-width: 1080px) {
  .sf-grid { grid-template-columns: repeat(3, 1fr); }
  .sf-nav { gap: 18px; overflow-x: auto; justify-content: flex-start; }
  .sf-foot-in { grid-template-columns: 1fr 1fr 1fr; }
  .sf-top { grid-template-columns: 340px 1fr; }
}
@media (max-width: 800px) {
  :root { --pad: 18px; }
  .sf-head-in { grid-template-columns: 1fr auto; padding: 12px var(--pad); }
  .sf-for, .sf-btn-top { display: none; }
  .sf-logo { font-size: 22px; }
  .sf-burger { display: block; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 4px; background: #fff; position: relative; cursor: pointer; }
  .sf-burger span, .sf-burger span::before, .sf-burger span::after { content: ""; position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); }
  .sf-burger span { top: 20px; } .sf-burger span::before { left: 0; right: 0; top: -7px; } .sf-burger span::after { left: 0; right: 0; top: 7px; }
  .sf-nav { display: none; flex-direction: column; gap: 0; padding: 0 var(--pad) 10px; }
  .sf-open .sf-nav { display: flex; }
  .sf-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .sf-hero, .sf-top { grid-template-columns: 1fr; }
  .sf-hero-txt { padding: 34px var(--pad) 32px; }
  .sf-hero h1 { font-size: 46px; }
  .sf-hero .sf-tiles a:nth-child(-n+2) { border-top: 1px solid var(--line); }
  .sf-tiles a:nth-child(odd) { border-left: 0; }
  .sf-tiles img { height: 170px; }
  .sf-tiles span { font-size: 12.5px; padding: 6px 10px; }
  .sf-tiles-row { grid-template-columns: 1fr 1fr; border-right: 0; }
  .sf-top-pic { border-right: 0; border-bottom: 1px solid var(--line); }
  .sf-top-pic img { height: 280px; }
  .sf-top-txt { padding: 28px var(--pad) 30px; }
  .sf-top h1, .sf-page h1, .sf-art h1 { font-size: 32px; }
  .sf-bar h2, .sf-page h2, .sf-art h2, .sf-form h2 { font-size: 23px; }
  .sf-lead { font-size: 16.5px; }
  .sf-sec { padding-top: 32px; }
  .sf-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sf-card img { height: 160px; }
  .sf-in { padding: 4px 11px 12px; }
  .sf-in b { font-size: 15px; }
  .sf-in small { font-size: 12.5px; }
  .sf-price { font-size: 18px; }
  .sf-price s { display: inline-block; }
  .sf-who, .sf-three, .sf-posts, .sf-two { grid-template-columns: 1fr; }
  .sf-two > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .sf-steps { grid-template-columns: 1fr; }
  .sf-steps li { border-right: 0; border-bottom: 1px solid var(--line); }
  .sf-steps li:last-child { border-bottom: 0; }
  .sf-fields { grid-template-columns: 1fr; }
  .sf-ask { margin: 34px var(--pad) 40px; scroll-margin-top: 80px; }
  .sf-form { padding: 20px 16px 22px; }
  .sf-foot-in { grid-template-columns: 1fr 1fr; }
  .sf-foot-in > div:first-child { grid-column: 1 / -1; }
  .sf-tabs a { padding: 7px 10px; font-size: 12.5px; }
}
