.sm-purchase-overview {
  box-sizing: border-box;
  width: min(calc(100% - 40px), 1170px);
  margin: clamp(20px, 4vw, 48px) auto;
  padding: clamp(18px, 3.2vw, 36px);
  background: #f3f7f2;
  border: 1px solid #cbdad5;
  border-radius: 16px;
  color: #173b32;
}
.sm-purchase-overview h2 { margin: 0 0 8px; font-size: clamp(25px, 4vw, 38px); line-height: 1.13; }
.sm-purchase-overview p { margin: 0; color: #40594e; }
.sm-purchase-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 18px 0; }
.sm-purchase-facts div { min-width: 0; padding: 14px; border: 1px solid #d5e2d9; border-radius: 9px; background: #fff; }
.sm-purchase-facts dt { font-weight: 700; margin: 0 0 5px; }
.sm-purchase-facts dd { margin: 0; font-size: 14px; color: #40594e; overflow-wrap: anywhere; }
.sm-purchase-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.sm-purchase-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px 14px; background: #173b32; color: #fff; border: 1px solid #173b32; border-radius: 7px; font-weight: 700; text-decoration: none; }
.sm-purchase-actions .sm-purchase-secondary { background: #fff; color: #173b32; }
.sm-purchase-actions a:focus-visible { outline: 2px solid #526c49; outline-offset: 3px; }
#inquiry, #dosage-forms { scroll-margin-top: 92px; }
@media (max-width: 760px) {
  .nutriform-oem-theme .ready-stock-user-hero { grid-template-columns: minmax(0,1fr) !important; min-height: 0 !important; }
  .nutriform-oem-theme .ready-stock-user-hero > div:first-child { padding: 24px 20px !important; }
  .nutriform-oem-theme .ready-stock-user-hero h1 { font-size: clamp(32px,9vw,50px) !important; }
}
@media (max-width: 640px) {
  .sm-purchase-overview { width: calc(100% - 28px); }
  .sm-purchase-facts { grid-template-columns: minmax(0,1fr); gap: 7px; }
  .sm-purchase-facts div { padding: 10px 12px; }
  .sm-purchase-actions a { flex: 1 1 155px; }
  body.nutriform-oem-theme .ref-section.dosage-section .dosage-showcase-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  body.nutriform-oem-theme .dosage-showcase-grid .dosage-showcase-image { height: auto !important; min-height: 0 !important; aspect-ratio: 4/3; }
  body.nutriform-oem-theme .dosage-showcase-grid .dosage-showcase-copy { padding: 10px !important; min-width: 0; }
  body.nutriform-oem-theme .dosage-showcase-grid .dosage-showcase-copy h3 { font-size: clamp(16px,5vw,22px) !important; overflow-wrap: anywhere; }
  .dosage-showcase-grid .dosage-showcase-copy > p:first-child,
  .dosage-showcase-grid .dosage-showcase-copy .dosage-showcase-summary,
  .dosage-showcase-grid .dosage-showcase-copy .dosage-showcase-reveal { display: none !important; }
  .dosage-showcase-grid .dosage-showcase-actions > a { min-height: 44px; }
  body.nutriform-oem-theme .ingredient-detail-hero h1 { font-size: clamp(29px,8vw,42px) !important; overflow-wrap: anywhere; }
}

.sm-procurement {
  width: min(1100px, calc(100% - 2rem));
  margin: clamp(1.5rem, 4vw, 3rem) auto;
  color: #173b32;
}
.sm-procurement-table { overflow-x: auto; }
.sm-procurement table { width: 100%; border-collapse: collapse; }
.sm-procurement th, .sm-procurement td {
  padding: .75rem;
  border: 1px solid #d6ded4;
  text-align: left;
  vertical-align: top;
}
.sm-procurement thead { background: #eef2eb; }
.sm-procurement th[scope="row"] { width: 28%; }
.sm-order > div { flex-wrap: wrap; }

.sm-format-illustration {
  width: min(100%, 280px);
  margin: 1rem auto;
}

.sm-format-illustration img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .75rem;
}

.sm-format-illustration figcaption {
  margin-top: .5rem;
  font-size: .875rem;
  text-align: center;
}

body.nutriform-oem-theme .sm-buying-panel h2 {
  margin: 0 0 .65rem;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.12;
  text-wrap: balance;
}
body.nutriform-oem-theme .sm-buying-panel {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 32px));
  margin: clamp(24px, 4vw, 56px) auto;
  padding: clamp(16px, 3vw, 38px);
  background: #f5f8f4;
  border: 1px solid #d6e1d6;
  border-radius: 18px;
  font-size: 1rem;
  line-height: 1.58;
}
.sm-buying-panel .sm-buying-intro { max-width: 72ch; }
.sm-buying-panel .sm-buying-intro strong { display: block; margin-bottom: .25rem; }
.sm-buying-specs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 23%);
  align-items: start;
  gap: clamp(16px, 3vw, 30px);
  margin-block: 1.2rem;
}
.sm-buying-specs > .sm-format-illustration { margin: 0; }
.sm-buying-panel .sm-procurement-table { min-width: 0; }
.sm-buying-panel table { table-layout: fixed; font-size: .9375rem; background: #fff; }
.sm-buying-panel :is(th, td) { overflow-wrap: anywhere; }
.sm-buying-panel th[scope="row"] { width: 30%; }
.sm-buying-panel .ref-button { min-height: 44px; }
.sm-buying-panel .sm-procurement-decisions {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #d6e1d6;
}
.sm-buying-panel .sm-procurement-decisions h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
@media (max-width: 640px) {
  .sm-buying-specs { grid-template-columns: minmax(0,1fr); }
  .sm-buying-specs > .sm-format-illustration { width: min(55%, 180px); }
  .sm-buying-panel :is(th, td) { padding: .58rem; }
  .sm-buying-panel th[scope="row"] { width: 34%; }
}

/* Homepage dosage navigation. Cards use one grid column at every breakpoint. */
.sm-format-directory {
  padding: clamp(36px, 5vw, 72px) clamp(12px, 3vw, 40px);
  background: #f8f7f2;
  color: #173b32;
}
.sm-format-heading,
.sm-format-grid,
.sm-format-quote {
  max-width: 1184px;
  margin-inline: auto;
}
.sm-format-heading { margin-bottom: 24px; }
.sm-format-heading h2 {
  margin: 0 0 9px;
  font: 400 clamp(28px, 4vw, 46px)/1.08 Georgia, serif;
  text-wrap: balance;
}
.sm-format-heading p,
.sm-format-quote p {
  margin: 0;
  color: #41584e;
  font-size: 16px;
  line-height: 1.5;
}
.sm-format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 18px);
}
.sm-format-grid .sm-format-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d6dfd5;
  border-radius: 12px;
  background: #fff;
  color: #173b32;
  text-decoration: none;
}
.sm-format-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #eee9df;
}
.sm-format-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: start;
  padding: clamp(10px, 1.4vw, 18px);
  overflow-wrap: anywhere;
}
.sm-format-copy h3 {
  margin: 0 0 7px;
  font: 700 clamp(17px, 1.8vw, 22px)/1.17 system-ui, sans-serif;
}
.sm-format-details { margin: 0 0 12px; }
.sm-format-details p {
  margin: 0;
  color: #41584e;
  font-size: 14px;
  line-height: 1.4;
}
.sm-format-details p + p {
  margin-top: 5px;
  color: #285e49;
  font-weight: 650;
}
.sm-format-link {
  display: flex;
  align-items: center;
  gap: .35em;
  margin-top: auto;
  color: #1d6349;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
.sm-format-card:hover { border-color: #4e806a; }
.sm-format-card:hover .sm-format-link { text-decoration: underline; }
.sm-format-card:focus-visible,
.sm-format-quote a:focus-visible {
  outline: 3px solid #2b7458;
  outline-offset: 2px;
}
.sm-format-quote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 24px;
  padding: clamp(16px, 2.4vw, 26px);
  border: 1px solid #d6dfd5;
  border-radius: 12px;
  background: #edf3eb;
}
.sm-format-quote > div { max-width: 72ch; }
.sm-format-quote h3 {
  margin: 0 0 6px;
  font: 700 20px/1.2 system-ui, sans-serif;
}
.sm-format-quote a {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 7px;
  background: #173b32;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.sm-format-quote a:hover { background: #285e49; }
@media (min-width: 960px) {
  .sm-format-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 359px) {
  .sm-format-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Dosage directory only */
.sm-directory { background: #fbfaf7; color: #173b32; }
.sm-directory .sm-directory-inner { box-sizing: border-box; width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.sm-directory-hero { background: #eef1e8; color: #173b32; padding-block: clamp(24px, 4vw, 54px); }
.sm-directory-hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(20px, 5vw, 70px); }
.sm-directory-hero-image { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 12px; }
.sm-directory .sm-directory-hero h1 {
  margin: 0 0 18px; color: #173b32; font: 400 clamp(34px, 4.4vw, 64px)/1.07 Georgia, serif;
}
.sm-directory-hero p { color: #40584c; max-width: 44ch; margin: 0 0 24px; }
.sm-directory-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sm-directory .sm-directory-actions a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; box-sizing: border-box;
  padding: 9px 15px; border: 1px solid #adc6b5; border-radius: 6px; color: inherit; text-decoration: none; font-weight: 650;
}
.sm-directory .sm-directory-actions a:first-child { background: #173b32; color: #fff; }
.sm-directory-formats, .sm-directory-browse { padding-block: clamp(25px, 4vw, 55px); scroll-margin-top: 90px; }
.sm-directory h2 { margin: 0 0 20px; color: #173b32; font: 400 clamp(23px, 3vw, 38px)/1.15 Georgia, serif; }
.sm-directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 4vw, 54px); }
 .sm-directory-card { min-width: 0; border-top: 1px solid #d5ded3; }
.sm-directory-card:nth-last-child(-n+2) { border-bottom: 1px solid #d5ded3; }
.sm-directory .sm-directory-card > a {
  position: relative; display: grid; grid-template-columns: clamp(80px, 10vw, 146px) minmax(0, 1fr);
  align-items: center; gap: clamp(12px, 2vw, 24px); min-height: 100%;
  padding: 15px 32px 15px 0; color: #173b32; text-decoration: none;
}
.sm-directory-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.sm-directory-card-copy { min-width: 0; overflow-wrap: anywhere; }
.sm-directory-card h3 { margin: 0 0 3px; font: 400 clamp(20px, 2vw, 27px)/1.15 Georgia, serif; }
.sm-directory-card p { margin: 0 0 7px; color: #475b50; }
.sm-directory-card dl { display: grid; gap: 2px; margin: 0; font-size: .875rem; line-height: 1.4; }
.sm-directory-card dl > div { display: flex; flex-wrap: wrap; column-gap: 8px; }
.sm-directory-card dt { font-weight: 700; }
.sm-directory-card dd { margin: 0; color: #475b50; }
.sm-directory-card-action { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.35rem; color: #1d664b; }
.sm-directory-card a:hover h3 { text-decoration: underline; }
.sm-directory a { overflow-wrap: anywhere; }
.sm-directory a:focus-visible { outline: 3px solid #568568; outline-offset: 3px; }
.sm-directory-index-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sm-directory-index { padding: clamp(15px, 2.5vw, 27px); border: 1px solid #d9e0d6; background: #fff; border-radius: 10px; }
.sm-directory-index h3 { margin: 0 0 10px; font-size: 1.15rem; }
.sm-directory-index ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 12px; padding: 0; list-style: none; column-gap: 14px; }
.sm-directory-index li { min-width: 0; border-bottom: 1px solid #e2e8df; }
.sm-directory-index li a { display: flex; align-items: center; min-height: 44px; color: #244e3f; }
.sm-directory-more { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: #1d664b; font-weight: 700; }
.sm-directory-brief { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; padding: clamp(16px, 3vw, 32px); border-radius: 10px; background: #e8eee3; }
.sm-directory-brief h2 { margin-bottom: 10px; }
.sm-directory-brief p { max-width: 66ch; margin: 0; }
.sm-directory-brief .sm-directory-actions { flex-direction: column; align-items: start; }
.sm-directory { padding-bottom: clamp(24px, 4vw, 54px); }

@media (max-width: 680px) {
  .sm-directory .sm-directory-inner { width: calc(100% - 28px); }
  .sm-directory-grid, .sm-directory-hero-grid, .sm-directory-index-grid, .sm-directory-brief { grid-template-columns: minmax(0, 1fr); }
  .sm-directory-card:nth-last-child(2) { border-bottom: 0; }
  .sm-directory-hero-image { aspect-ratio: 2.5 / 1; }
  .sm-directory-card p { font-size: .875rem; }
  .sm-directory-brief .sm-directory-actions { flex-direction: row; }
}
@media (max-width: 349px) { .sm-directory-grid { grid-template-columns: minmax(0, 1fr); } }

.sm-directory-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sm-directory-filters[hidden], .sm-directory-card[hidden] { display: none; }
.sm-directory-filters button {
  min-height: 44px; padding: 8px 14px; border: 1px solid #c5d2c5; border-radius: 999px;
  background: transparent; color: #244e3f; font: 650 .875rem/1.25 system-ui, sans-serif; cursor: pointer;
}
.sm-directory-filters button:hover { background: #edf2e7; }
.sm-directory-filters button[aria-pressed="true"] { background: #173b32; border-color: #173b32; color: #fff; }
.sm-directory-filters button:focus-visible { outline: 3px solid #568568; outline-offset: 3px; }

/* Visual entry points to formulation resources */
.sm-directory-feature {
  display: flex; flex-direction: column; min-width: 0; background: #fff;
  border: 1px solid #d9e0d6; border-radius: 12px;
}
.sm-directory-feature-cover {
  display: block; overflow: hidden; border-radius: 11px 11px 0 0; background: #e4e9df;
}
.sm-directory-feature-cover img {
  display: block; width: 100%; aspect-ratio: 2.45 / 1; object-fit: cover;
}
.sm-directory-feature-content {
  display: flex; flex: 1; flex-direction: column; align-items: flex-start;
  padding: clamp(16px, 2.6vw, 30px);
}
.sm-directory-feature-content h3 {
  margin: 0 0 7px; color: #173b32; font: 400 clamp(24px, 2.6vw, 34px)/1.13 Georgia, serif;
}
.sm-directory-feature-content p { margin: 0 0 16px; color: #475b50; }
.sm-directory-feature-content ul {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 20px; list-style: none;
}
.sm-directory-feature-content li { margin: 0; }
.sm-directory-feature-content li a {
  display: inline-flex; align-items: center; box-sizing: border-box; min-height: 36px;
  padding: 5px 10px; border: 1px solid #dce5da; border-radius: 999px;
  color: #244e3f; background: #f5f8f3; font-size: .875rem; text-decoration: none;
}
.sm-directory-feature-content li a:hover { background: #e4eee1; text-decoration: underline; }
.sm-directory .sm-directory-feature-cta {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  margin-top: auto; color: #17513b; font-weight: 700; text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 680px) {
  .sm-directory-feature-cover img { aspect-ratio: 2.1 / 1; }
}

/* Buyer pathways for the four manufacturing landing pages */
.sm-buyer-hero,.sm-buyer-review { box-sizing:border-box;width:min(1200px,calc(100% - 40px));margin:clamp(20px,4vw,54px) auto; }
.sm-buyer-hero { display:grid;grid-template-columns:1.03fr 1fr;align-items:stretch;background:#edf2e8;border-radius:14px;overflow:hidden;color:#173b32; }
.sm-buyer-hero-copy { padding:clamp(22px,4vw,55px);align-self:center;min-width:0; }
.sm-buyer-hero .sm-buyer-route { margin:0 0 12px;color:#305746;font-weight:700; }
.sm-buyer-hero h1 { margin:0 0 16px;font:400 clamp(32px,4.35vw,61px)/1.05 Georgia,serif;overflow-wrap:anywhere;color:#173b32; }
.sm-buyer-hero p { color:#354e43;line-height:1.55; }
.sm-buyer-hero img { width:100%;height:100%;min-height:0;display:block;object-fit:cover; }
.sm-buyer-actions { display:flex;flex-wrap:wrap;gap:10px;margin-top:22px; }
.sm-buyer-actions a { display:inline-flex;align-items:center;min-height:44px;padding:7px 13px;border:1px solid #b7c8b8;border-radius:6px;color:#173b32;font-weight:700;text-decoration:none; }
.sm-buyer-actions a:first-child { background:#173b32;color:#fff;border-color:#173b32; }
.sm-buyer-review { display:grid;grid-template-columns:minmax(0, .8fr) minmax(0,1.2fr);gap:clamp(15px,4vw,54px);padding:clamp(18px,3vw,35px);border:1px solid #d8e2d7;border-radius:14px;background:#fff;color:#173b32;scroll-margin-top:90px; }
.sm-buyer-review h2 { margin:0 0 10px;font:400 clamp(26px,3vw,40px)/1.13 Georgia,serif; }
.sm-buyer-review-intro p,.sm-buyer-steps p { margin:0;color:#354e43;line-height:1.58; }
.sm-buyer-steps { display:grid;gap:8px;min-width:0; }
.sm-buyer-steps details { border:1px solid #dbe4da;border-radius:8px;background:#f5f8f3; }
.sm-buyer-steps summary { box-sizing:border-box;min-height:44px;padding:12px 15px;cursor:pointer;font-weight:700; }
.sm-buyer-steps details[open] summary { color:#16563c; }
.sm-buyer-steps p { padding:0 15px 15px; }
.sm-buyer-steps summary:focus-visible,.sm-buyer-actions a:focus-visible { outline:3px solid #518365;outline-offset:2px; }
@media(max-width:740px) {
 .sm-buyer-hero,.sm-buyer-review { grid-template-columns:minmax(0,1fr);width:calc(100% - 28px); }
 .sm-buyer-hero img { height:auto;aspect-ratio:2/1; }
}
