/* Got Gummys LLC: rebuilt from the GeneratePress + WPBakery site. Values measured from the live site at 1366px. */
:root {
  --purple: #92278f;
  --green: #8cc63e;
  --text: #023a09;
  --text-2: #303030;
  --link: #00597f;
  --link-hover: #008c8c;
  --btn: #809ead;
  --btn-hover: #b1c0c9;
  --tint: rgba(58, 244, 114, .2);
  --font: "Ubuntu Condensed", sans-serif;
  --font-btn: "Montserrat", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--text-2); font: 16px/1.8 var(--font); overflow-x: clip; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: var(--link); text-decoration: none; transition: color .2s, background-color .2s; }
a:hover, a:focus { color: #1abc9c; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 20px; color: var(--green); }
h1 { font-size: 28px; line-height: 1.1; font-weight: 400; text-transform: uppercase; }
h2 { font-size: 21px; line-height: 1.4; font-weight: 500; }
strong { font-weight: 700; }
ul { margin: 0 0 1.5em 3em; padding: 0; list-style: disc; }
blockquote {
  margin: 0 0 1.5em; padding: 20px; border-left: 5px solid rgba(0, 0, 0, .05);
  font-size: 1.2em; font-style: italic; line-height: 1.8;
}
blockquote p:last-child { margin-bottom: 0; }
.tc { text-align: center; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 8px 14px; background: #fff; color: var(--purple); }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

.wrap { max-width: 1200px; margin: 0 auto; }

/* Buttons (".button ghost" on the old site) */
.button, a.button {
  display: inline-block; padding: 10px 20px; background: var(--btn); color: #fff;
  font: 600 16px/1.8 var(--font-btn); text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer;
}
.button:hover, .button:focus, a.button:hover, a.button:focus { background: var(--btn-hover); color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: var(--purple); }
.topbar__in { display: flex; justify-content: flex-end; flex-wrap: wrap; }
.topbar a { display: block; padding: 0 20px; color: #fff; font-size: 13px; line-height: 40px; }
.topbar a:hover, .topbar a:focus { color: #fff; text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { background: var(--tint) url("../img/vitaminfadefc.jpg"); color: var(--text-2); position: relative; z-index: 20; }
.site-header__in { display: flex; align-items: flex-start; justify-content: space-between; max-width: 1240px; padding: 20px; }
.logo { display: block; flex: none; }
.logo__wide { display: block; width: 320px; }
.logo__stack { display: none; }
.menu-toggle { display: none; }
.main-nav ul { display: flex; margin: 0; padding: 0; list-style: none; }
.main-nav a {
  display: block; padding: 0 23px; line-height: 120px; color: var(--purple);
  font-weight: 700; font-size: 16px; text-transform: uppercase; white-space: nowrap;
}
.main-nav li:not(.current) a:hover, .main-nav li:not(.current) a:focus { color: #fff; background: var(--green); }

/* ---------- Page hero ---------- */
.hero {
  padding: 80px 20px; color: #fff; text-align: center;
  background-color: rgba(125, 124, 170, .79); background-size: cover; background-position: center top; background-repeat: no-repeat;
}
.hero h1 { margin: 0; color: #fff; }
.hero--home { padding: 190px 40px 210px; text-align: left; background-position: 0 0; }
.hero__box { padding: 20px; background: rgba(164, 128, 175, .79); }
.hero__title { margin: 0 0 20px !important; }
.hero__sub { margin: 0 0 20px; color: #fff; }
.hero__btns { margin: 0 0 28.8px; }

/* ---------- Content (WPBakery rows: 30px gutters, 35px between elements) ---------- */
.content { padding: 80px 20px; color: var(--text); }
.content::after { content: ""; display: table; clear: both; }
.el { margin-bottom: 35px; }
.el > :last-child, .el > blockquote:last-child { margin-bottom: 0; }
.content a:not(.button):hover { color: var(--link-hover); }
.cols { display: grid; column-gap: 30px; }
.cols--2 { grid-template-columns: 1fr 1fr; }
.cols--3 { grid-template-columns: repeat(3, 1fr); }
.cols--contact { grid-template-columns: calc(25% - 22.5px) 1fr; }
.sq { display: block; width: 100%; margin: 0 auto; }
.alignleft { float: left; margin: 0 24px 0 0; }

/* Supplement facts coverflow (live: "flipster" coverflow, full-bleed, cards 128px apart, side cards scale .75 + rotateY 45deg, no perspective) */
.coverflow {
  position: relative; height: 525px; overflow: hidden; touch-action: pan-y;
  width: 100vw; margin-left: calc(50% - 50vw);
}
.coverflow__track { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.coverflow__item {
  --cf-w: 320px;
  position: absolute; left: 50%; top: 0; width: var(--cf-w); margin-left: calc(var(--cf-w) / -2);
  transition: transform .5s ease;
}
.coverflow__item a { display: block; transition: transform .5s ease; transform-origin: 50% 217px; }
.coverflow__item.is-past a { transform-origin: 0 217px; transform: rotateY(45deg) scale(.75); }
.coverflow__item.is-future a { transform-origin: 100% 217px; transform: rotateY(-45deg) scale(.75); }
.coverflow__item img {
  display: block; width: 100%; background: #fff;
  -webkit-box-reflect: below 0 linear-gradient(transparent 90%, rgba(255, 255, 255, .3));
}
.coverflow__btn {
  position: absolute; top: 217px; z-index: 50; width: 44px; height: 44px; margin-top: -22px; padding: 0;
  display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .35); color: #fff; cursor: pointer;
}
.coverflow__btn:hover, .coverflow__btn:focus-visible { background: rgba(0, 0, 0, .6); }
.coverflow__btn svg { fill: currentColor; }
.coverflow__btn--prev { left: max(8px, calc(50% - 548px)); }
.coverflow__btn--next { right: max(8px, calc(50% - 548px)); }
@media (prefers-reduced-motion: reduce) { .coverflow__item, .coverflow__item a { transition: none; } }

/* Contact page image fader (was a WPBakery flexslider) */
.fader { position: relative; aspect-ratio: 1; overflow: hidden; }
.fader__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.fader__slide.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .fader__slide { transition: none; } }

.notice { padding: 12px 16px; margin: 0 0 20px; }
.notice--error { background: #fdecef; color: #9b1c33; border-left: 4px solid #e04562; }
.btn-row .button { margin: 0 4px 10px; }

/* ---------- Contact form (was Forminator "flat" style) ---------- */
.gg-form { margin-top: 30px; color: var(--text); }
.gg-form--footer { margin-top: 30px; color: var(--text-2); }
.gg-row { margin-bottom: 30px; }
.gg-form--footer .gg-row { margin-bottom: 20px; }
.gg-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.gg-form--footer .gg-row--2 { grid-template-columns: 1fr; gap: 20px; }
.gg-field label { display: block; color: #777771; font-size: 12px; font-weight: 700; line-height: 1.7; }
.gg-field .req { color: #e04562; }
.gg-field input, .gg-field textarea {
  display: block; width: 100%; margin: 0; padding: 10px; border: 0; border-bottom: 2px solid transparent; border-radius: 0;
  background: #ededed; color: #000; font: 16px/1.3 var(--font); appearance: none;
}
.gg-field input { height: 41px; }
.gg-field textarea { height: 140px; min-height: 140px; resize: vertical; line-height: 1.25; }
.gg-field input::placeholder, .gg-field textarea::placeholder { color: #888; opacity: 1; }
.gg-field input:focus, .gg-field textarea:focus { outline: none; background: #e6e6e6; border-bottom-color: #097baa; }
.gg-count { display: block; margin-top: 5px; color: #777771; font-size: 12px; line-height: 1.5; text-align: right; }
.gg-err { display: none; margin-top: 5px; color: #e04562; font-size: 12px; line-height: 1.5; }
.gg-field.is-invalid input, .gg-field.is-invalid textarea { border-bottom-color: #e04562; }
.gg-field.is-invalid .gg-err { display: block; }
.gg-submit {
  padding: 10px; border: 0; border-radius: 0; background: #097baa; color: #fff; cursor: pointer;
  font: 500 14px/1.45 var(--font); text-transform: uppercase;
}
.gg-submit:hover, .gg-submit:focus { background: #086c96; }
.gg-submit[disabled] { opacity: .6; cursor: wait; }
.gg-status { margin: 0; font-size: 15px; }
.gg-status:empty { display: none; }
.gg-status.is-error { padding: 10px 14px; background: #fdecef; color: #9b1c33; border-left: 4px solid #e04562; }
.gg-done { padding: 15px 20px; background: #1abc9c; color: #fff; font-size: 16px; line-height: 1.5; }
.gg-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer-widgets { padding: 80px 20px 50px; background: var(--tint) url("../img/vitaminfadefc.jpg"); color: var(--text-2); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 40px; }
.fw > * { margin-bottom: 0; }
.fw p { margin-bottom: 1em; }
.fw p:last-child { margin-bottom: 0; }
.fw a:not(.button) { color: var(--green); }
.fw a:not(.button):hover, .fw a:not(.button):focus { color: var(--btn-hover); }
.fw a.plain { color: inherit; }
.fw__logo { display: block; width: 270px; margin-bottom: 39px; }
.fw__title { margin: 0 0 10px; color: var(--purple); font-size: 26px; line-height: 1.5; font-weight: 400; text-transform: capitalize; }
.fw__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 0; margin-top: 35px; justify-items: center; }
.fw__gallery img { width: 80px; height: 80px; object-fit: cover; }
.fw__list { margin: 0; list-style: none; }
.fw__list li { padding-bottom: 5px; }
.fw__badges { display: block; width: 270px; margin-top: 58px; }

.site-info { padding: 70px 20px 45px; background: var(--purple); color: #1abc9c; font-size: 13px; }
.site-info__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 50px; }
.socials { display: flex; gap: 8px; margin: 0; list-style: none; }
.socials a { display: grid; place-items: center; width: 40px; height: 42px; border-radius: 2px; background: #32d2ff; color: #fff; }
.socials a:hover { background: #60dcff; }
.socials svg { fill: currentColor; }

.to-top {
  position: fixed; right: 30px; bottom: 30px; z-index: 30; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 3px; background: var(--btn); color: #fff; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.to-top.is-on { opacity: 1; visibility: visible; }
.to-top:hover, .to-top:focus { background: var(--btn-hover); color: #fff; }
.to-top svg { fill: currentColor; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 40px 16px; background: rgba(0, 0, 0, .85); cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: calc(100vh - 80px); width: auto; max-width: 100%; box-shadow: 0 6px 30px rgba(0, 0, 0, .5); }
.lightbox__close { position: absolute; top: 10px; right: 14px; border: 0; background: none; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .main-nav a { padding: 0 13px; font-size: 15px; }
}
@media (max-width: 1060px) {
  .logo__wide { width: 250px; }
  .main-nav a { padding: 0 9px; font-size: 14px; }
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
@media (max-width: 900px) {
  /* Mobile header: stacked logo + menu button, menu drops down */
  .site-header__in { flex-wrap: wrap; align-items: center; padding: 0 0 0 20px; }
  .logo__wide { display: none; }
  .logo__stack { display: block; height: 56px; width: auto; }
  .menu-toggle {
    display: grid; place-items: center; width: 64px; height: 56px; padding: 0; border: 0; background: none;
    color: var(--purple); cursor: pointer;
  }
  .menu-toggle svg { fill: currentColor; }
  .menu-toggle .i-close, .menu-toggle[aria-expanded="true"] .i-open { display: none; }
  .menu-toggle[aria-expanded="true"] .i-close { display: inline; }
  .main-nav { display: none; flex: 0 0 100%; margin-left: -20px; width: calc(100% + 20px); max-width: none; }
  .main-nav.is-open { display: block; }
  .main-nav ul { display: block; background: #f2f2f2; }
  .main-nav a { padding: 17px 20px; line-height: 1.4; font-size: 14px; border-top: 1px solid rgba(0, 0, 0, .06); white-space: normal; }
}
@media (max-width: 768px) {
  h1 { font-size: 22px; }
  h2 { font-size: 20px; }
  .topbar__in { justify-content: center; }
  .topbar a { padding: 0 10px; font-size: 13px; line-height: 30px; }
  .hero--home { padding: 100px 30px; }
  .hero__title br, .hero__sub br { display: none; }
  .hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
  .content { padding: 60px 20px; }
  .cols--2, .cols--3, .cols--contact { grid-template-columns: 1fr; }
  .cols--contact > :first-child { max-width: 300px; order: 2; }
  .cols--contact > :last-child > p:first-child { display: none; }
  .sq { max-width: 375px; }
  .alignleft { float: none; display: block; margin: 0 0 1em; }
  .gg-row--2 { grid-template-columns: 1fr; gap: 30px; }
  .coverflow { height: 400px; }
  .coverflow__item { --cf-w: 240px; }
  .coverflow__item a { transform-origin: 50% 163px; }
  .coverflow__item.is-past a { transform-origin: 0 163px; }
  .coverflow__item.is-future a { transform-origin: 100% 163px; }
  .coverflow__btn { top: 163px; }
  .coverflow__btn { width: 38px; height: 38px; }
  .coverflow__btn--prev { left: 4px; }
  .coverflow__btn--next { right: 4px; }
  .site-info { padding: 40px 10px 30px; }
  .site-info__in { flex-direction: column; text-align: center; }
  .to-top { right: 16px; bottom: 16px; }
}
@media (max-width: 600px) {
  .hero--home { padding: 70px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .fw__gallery { max-width: 300px; }
}
