/*
Theme Name: Infotheme
Author: Infotheme
Description: Scientific Hardcoded Theme
Version: 1.0.0
*/

img:is([sizes=auto i],[sizes^="auto," i]){contain-intrinsic-size:3000px 1500px}
/*# sourceURL=wp-img-auto-sizes-contain-inline-css */




	img.wp-smiley, img.emoji {
		display: inline !important;
		border: none !important;
		box-shadow: none !important;
		height: 1em !important;
		width: 1em !important;
		margin: 0 0.07em !important;
		vertical-align: -0.1em !important;
		background: none !important;
		padding: 0 !important;
	}
/*# sourceURL=wp-emoji-styles-inline-css */



:root{--wp-block-synced-color:#7a00df;--wp-block-synced-color--rgb:122,0,223;--wp-bound-block-color:var(--wp-block-synced-color);--wp-editor-canvas-background:#ddd;--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,160.5;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.wp-element-button{cursor:pointer}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}:root{--wp--preset--font-size--normal:16px;--wp--preset--font-size--huge:42px}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-normal-font-size{font-size:var(--wp--preset--font-size--normal)}.has-huge-font-size{font-size:var(--wp--preset--font-size--huge)}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}.has-fit-text{white-space:nowrap!important}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.screen-reader-text:focus{background-color:#ddd;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}html :where(.has-border-color){border-style:solid}html :where([style*=border-top-color]){border-top-style:solid}html :where([style*=border-right-color]){border-right-style:solid}html :where([style*=border-bottom-color]){border-bottom-style:solid}html :where([style*=border-left-color]){border-left-style:solid}html :where([style*=border-width]){border-style:solid}html :where([style*=border-top-width]){border-top-style:solid}html :where([style*=border-right-width]){border-right-style:solid}html :where([style*=border-bottom-width]){border-bottom-style:solid}html :where([style*=border-left-width]){border-left-style:solid}html :where(img[class*=wp-image-]){height:auto;max-width:100%}:where(figure){margin:0 0 1em}html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:var(--wp-admin--admin-bar--height,0px)}@media screen and (max-width:600px){html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:0px}}

/*# sourceURL=wp-block-library-inline-css */



/*! This file is auto-generated */
.wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
/*# sourceURL=/wp-includes/css/classic-themes.min.css */



:root{--wp--preset--aspect-ratio--square: 1;--wp--preset--aspect-ratio--4-3: 4/3;--wp--preset--aspect-ratio--3-4: 3/4;--wp--preset--aspect-ratio--3-2: 3/2;--wp--preset--aspect-ratio--2-3: 2/3;--wp--preset--aspect-ratio--16-9: 16/9;--wp--preset--aspect-ratio--9-16: 9/16;--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgb(6,147,227) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgb(252,185,0) 0%,rgb(255,105,0) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgb(255,105,0) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgb(255, 255, 255), 6px 6px rgb(0, 0, 0);--wp--preset--shadow--crisp: 6px 6px 0px rgb(0, 0, 0);}:where(.is-layout-flex){gap: 0.5em;}:where(.is-layout-grid){gap: 0.5em;}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}:where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;}:where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;}
/*# sourceURL=global-styles-inline-css */



/************************************************************
 *                    GLOBAL VARIABLES
 ************************************************************/
:root {
  /* Brand Colors — original */
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --accent-color: #e74c3c;
  --text-color: #333333;
  --text-muted: #64748b;
  --bg-color: #f9f9f9;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-header-scrolled: 0 4px 24px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-dropdown: 0 20px 50px -12px rgba(0,0,0,0.12), 0 8px 20px -8px rgba(0,0,0,0.06);

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 150ms var(--ease-out-expo);
  --transition-base: 250ms var(--ease-out-expo);
  --transition-slow: 400ms var(--ease-out-expo);

  /* Layout */
  --header-height: 58px;
  --header-height-desktop: 66px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
}

/************************************************************
 *                          RESET
 ************************************************************/
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/************************************************************
 *                   PROGRESS BAR
 ************************************************************/
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), #f39c12, var(--primary-color));
  background-size: 200% 100%;
  width: 0%;
  z-index: 1100;
  transition: width 100ms linear;
  animation: progressShimmer 3s linear infinite;
}

@keyframes progressShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/************************************************************
 *                     HEADER
 ************************************************************/
header.site-header {
  width: 100%;
  height: var(--header-height);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(226,232,240,0.5);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: all var(--transition-base);
}

header.site-header.scrolled {
  box-shadow: var(--shadow-header-scrolled);
  background: rgba(255,255,255,0.95);
  border-bottom-color: transparent;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/************************************************************
 *                       LOGO — Original Style
 ************************************************************/
.header-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.header-logo:hover { transform: translateY(-1px); }

.header-logo img {
  height: 34px;
  width: auto;
  display: block;
  transition: transform var(--transition-base);
}

.header-logo:hover img {
  transform: scale(1.05) rotate(-3deg);
}

.header-logo-text {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.header-logo span {
  display: inline-block;
  transition: transform var(--transition-base);
}

.header-logo:hover span.peptide { transform: translateX(-2px); }
.header-logo:hover span.dosages { transform: translateX(2px); }

.header-logo span.peptide { color: var(--accent-color); }
.header-logo span.dosages { color: var(--primary-color); }

/************************************************************
 *                    DESKTOP NAV
 ************************************************************/
nav.main-nav {
  display: none;
  height: 100%;
}

nav.main-nav > ul {
  list-style: none;
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  height: 100%;
  align-items: center;
}

nav.main-nav ul li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

nav.main-nav ul li > a {
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 7px 14px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  position: relative;
  letter-spacing: -0.01em;
}

nav.main-nav ul li > a:hover {
  color: var(--primary-color);
  background: rgba(52,152,219,0.06);
}

/* Chevron */
nav.main-nav ul li.has-dropdown > a::after {
  content: '';
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 7px;
  opacity: 0.35;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

nav.main-nav ul li.has-dropdown:hover > a::after {
  transform: rotate(180deg);
  opacity: 0.6;
}

/* ── Dropdown ── */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  z-index: 9999;
  background: var(--card-bg);
  box-shadow: var(--shadow-dropdown);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  min-width: 260px;
  overflow: visible;
}

/* Invisible bridge covers the gap so hover doesn't break */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

/* Inner scroll wrapper — keeps scrollbar inside border-radius */
.dropdown-menu-inner {
  display: flex;
  flex-direction: column;
  max-height: 65vh;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}

.dropdown-menu-inner::-webkit-scrollbar { width: 4px; }
.dropdown-menu-inner::-webkit-scrollbar-track { background: transparent; }
.dropdown-menu-inner::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 10px;
}
.dropdown-menu-inner::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

.dropdown-menu.multi-column { min-width: auto; max-width: 820px; width: max-content; }

.dropdown-menu.multi-column .dropdown-menu-inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2px;
}

/* Right-align last dropdowns */
nav.main-nav > ul > li:last-child .dropdown-menu,
nav.main-nav > ul > li:nth-last-child(2) .dropdown-menu {
  left: auto; right: 0;
  transform: translateY(8px);
}

nav.main-nav ul li:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

nav.main-nav > ul > li:last-child:hover > .dropdown-menu,
nav.main-nav > ul > li:nth-last-child(2):hover > .dropdown-menu {
  transform: translateY(0);
}

.dropdown-menu li { list-style: none; }

.dropdown-menu li a {
  display: block;
  padding: 9px 12px;
  color: var(--text-color);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  font-weight: 450;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: rgba(52,152,219,0.06);
  color: var(--primary-color);
  padding-left: 16px;
}

/************************************************************
 *                  BLOG MEGA MENU
 ************************************************************/
/* Container — anchored like a dropdown but wider */
.blog-mega-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 9999;
  background: var(--card-bg);
  box-shadow: var(--shadow-dropdown);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  width: 680px;
  max-width: calc(100vw - 40px);
  overflow: visible;
}

nav.main-nav ul li.has-mega-menu:hover > .blog-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Invisible bridge covers the gap so hover doesn't break */
.blog-mega-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

/* Header row */
.mega-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--border-color);
}

.mega-menu-label {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 7px;
}

.mega-menu-label i { color: var(--accent-color); font-size: 0.9rem; }

.mega-menu-view-all {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-color) !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  border: none !important;
}

.mega-menu-view-all:hover {
  background: rgba(52,152,219,0.08);
  color: var(--primary-color) !important;
}

.mega-menu-view-all i { font-size: 0.65rem; transition: transform var(--transition-fast); }
.mega-menu-view-all:hover i { transform: translateX(3px); }

/* Post grid */
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 8px;
}

.mega-post-card {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
  padding: 8px;
  border: none !important;
}

.mega-post-card:hover {
  background: rgba(52,152,219,0.04);
}

.mega-post-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  flex-shrink: 0;
}

.mega-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-base);
}

.mega-post-card:hover .mega-post-thumb img {
  transform: scale(1.06);
}

.mega-post-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border-color);
  font-size: 1.6rem;
}

.mega-post-info {
  padding: 10px 2px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.mega-post-title {
  font-size: 0.84rem;
  font-weight: 550;
  color: var(--text-color);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.mega-post-card:hover .mega-post-title {
  color: var(--primary-color);
}

.mega-post-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.7;
}

.mega-post-date i { font-size: 0.65rem; }

/* Empty state */
.mega-menu-empty {
  padding: 40px 24px;
  text-align: center;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mega-menu-empty i { font-size: 1.5rem; opacity: 0.4; }
.mega-menu-empty span { font-size: 0.9rem; font-weight: 500; }

/* Responsive: smaller screens — 2-column */
@media (max-width: 820px) {
  .blog-mega-menu { width: 460px; }
  .mega-menu-grid { grid-template-columns: repeat(2, 1fr); }
  /* hide 5th and 6th posts */
  .mega-post-card:nth-child(n+5) { display: none; }
}

/************************************************************
 *                    CTA BUTTON
 ************************************************************/
.btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 9px 20px !important;
  background: var(--accent-color) !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  border-radius: var(--radius-full) !important;
  font-size: 0.86rem !important;
  transition: all var(--transition-fast) !important;
  border: none !important;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(231,76,60,0.25), 0 1px 2px rgba(231,76,60,0.15);
}

.btn:hover {
  background: #c0392b !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(231,76,60,0.3), 0 2px 4px rgba(231,76,60,0.1) !important;
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(231,76,60,0.2) !important;
}

.btn i {
  font-size: 0.72rem;
  transition: transform var(--transition-fast);
}

.btn:hover i { transform: translateX(3px); }

/************************************************************
 *                   HAMBURGER BUTTON
 ************************************************************/
.hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.hamburger-btn:hover { background: rgba(0,0,0,0.04); }

.hamburger-lines {
  width: 20px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-lines span {
  display: block;
  height: 2px;
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger-lines span:nth-child(1) { background: var(--accent-color); width: 100%; }
.hamburger-lines span:nth-child(2) { background: var(--secondary-color); width: 70%; }
.hamburger-lines span:nth-child(3) { background: var(--primary-color); width: 100%; }

.hamburger-btn.active .hamburger-lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background: var(--secondary-color);
  width: 100%;
}
.hamburger-btn.active .hamburger-lines span:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.hamburger-btn.active .hamburger-lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--secondary-color);
  width: 100%;
}

/************************************************************
 *                   MOBILE NAV PANEL
 ************************************************************/
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-overlay.active { opacity: 1; pointer-events: auto; }

.mobile-nav-panel {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: min(88vw, 380px);
  height: 100dvh;
  background: var(--card-bg);
  box-shadow: -10px 0 50px rgba(0,0,0,0.1);
  z-index: 9999;
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: right var(--transition-slow);
}

.mobile-nav-panel.active { right: 0; }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-nav-brand img {
  height: 28px;
  width: auto;
}

.mobile-nav-brand-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.mobile-nav-brand-text .peptide { color: var(--accent-color); }
.mobile-nav-brand-text .dosages { color: var(--primary-color); }

.mobile-close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.mobile-close-btn:hover {
  background: var(--border-color);
  color: var(--text-color);
}

.mobile-nav-panel-inner {
  padding: 12px 14px 32px;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-list > li { margin-bottom: 2px; }

.mobile-nav-list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-list > li > a:hover,
.mobile-nav-list > li > a:active {
  background: rgba(52,152,219,0.05);
  color: var(--primary-color);
}

.mobile-nav-list > li > a[data-target]::after {
  content: '';
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.3;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.mobile-nav-list > li > a[data-target].submenu-open::after {
  transform: rotate(180deg);
  opacity: 0.5;
}

.mobile-submenu {
  display: none;
  list-style: none;
  margin: 4px 0 8px;
  padding: 4px 0 4px 12px;
  border-left: 2px solid var(--primary-color);
  animation: subReveal var(--transition-base) both;
}

@keyframes subReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-submenu li a {
  display: block;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mobile-submenu li a:hover,
.mobile-submenu li a:active {
  background: rgba(52,152,219,0.05);
  color: var(--primary-color);
}

.mobile-nav-list .btn {
  margin: 20px 16px 0;
  justify-content: center;
  padding: 14px 24px !important;
  font-size: 0.95rem !important;
  border-radius: var(--radius-md) !important;
}

/************************************************************
 *                RESPONSIVE — MOBILE FIRST
 ************************************************************/
@media (max-width: 768px) {
  .hamburger-btn { display: flex; }
  .mobile-nav-panel { display: block; }
  .mobile-overlay { display: block; }
  body.mobile-menu-open { overflow: hidden; }
}

@media (min-width: 769px) {
  header.site-header { height: var(--header-height-desktop); }
  .header-inner { display: flex; padding: 0 28px; }
  .header-logo { font-size: 1.8rem; }
  .header-logo img { height: 38px; }
  nav.main-nav { display: flex; height: 100%; }
  .hamburger-btn { display: none; }
  .mobile-nav-panel,
  .mobile-overlay { display: none !important; }
}

/************************************************************
 *                 LOADING / ERROR
 ************************************************************/
.nav-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.nav-loading::before {
  content: '';
  width: 14px; height: 14px;
  border: 2px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.nav-error { color: var(--accent-color); font-size: 0.88rem; }
.nav-error a { color: var(--primary-color); font-weight: 600; text-decoration: underline; }

/************************************************************
 *                  ACCESSIBILITY
 ************************************************************/
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--primary-color);
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  z-index: 1200;
  font-weight: 600;
  font-size: 0.9rem;
  transition: top var(--transition-fast);
}

.skip-link:focus { top: 0; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

*:focus:not(:focus-visible) { outline: none; }

/************************************************************
 *              NAV BLUR (non-logged-in users)
 ************************************************************/
.nav-item-blurred a {
  filter: blur(var(--pdcg-blur, 5px));
  -webkit-filter: blur(var(--pdcg-blur, 5px));
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
  transition: filter 0.3s ease;
}
.nav-item-blurred {
  cursor: pointer;
  position: relative;
}
.nav-item-blurred:hover a {
  filter: blur(calc(var(--pdcg-blur, 5px) * 0.6));
}
/* Mobile blurred items */
.mobile-submenu .nav-item-blurred a {
  filter: blur(var(--pdcg-blur, 5px));
  pointer-events: none;
}
.mobile-submenu .nav-item-blurred {
  cursor: pointer;
}

/************************************************************
 *                   HEADER AUTH ICON
 ************************************************************/
.header-auth {
  display: flex;
  align-items: center;
  margin-left: 8px;
}
.header-auth-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--secondary-color);
  text-decoration: none;
  transition: all var(--transition-fast);
  font-size: 1rem;
  background: transparent;
  border: 2px solid var(--border-color);
}
.header-auth-link:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background: rgba(231,76,60,0.05);
  transform: translateY(-1px);
}
.header-auth-link.logged-in {
  color: #27ae60;
  border-color: #27ae60;
}
.header-auth-link.logged-in:hover {
  background: rgba(39,174,96,0.05);
}
@media (max-width: 768px) {
  /* 3-column mobile header: hamburger | logo | auth */
  .header-inner {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    gap: 0;
    padding: 0 10px;
  }
  .header-auth {
    margin-left: 0;
    position: static;
    transform: none;
    justify-self: end;
    order: 3;
  }
  .header-auth-link {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }
  .hamburger-btn {
    order: 1;
    justify-self: start;
  }
  .header-logo {
    order: 2;
    justify-self: center;
    flex-shrink: 1;
    min-width: 0;
    font-size: 1.3rem;
    margin-right: 0;
    overflow: hidden;
  }
  .header-logo img {
    height: 28px;
  }
  /* Hide desktop nav on mobile (it's in the slide-out panel instead) */
  nav.main-nav {
    display: none;
  }
}

/************************************************************
 *                   BREADCRUMBS
 ************************************************************/
.site-breadcrumbs {
  background: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
  padding: 0;
  font-size: 0.82rem;
  line-height: 1;
  position: relative;
  z-index: 10;
}

.breadcrumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

/* Yoast outputs: <span><span><a>Home</a></span> » <span>...</span></span> */
.site-breadcrumbs span {
  display: inline;
  color: var(--text-muted);
}

.site-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 450;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.site-breadcrumbs a:hover {
  color: var(--primary-color);
}

/* Separator styling */
.site-breadcrumbs .breadcrumb_last {
  color: var(--secondary-color);
  font-weight: 600;
  display: inline-block;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

/* Override Yoast's default separator with a styled chevron */
.site-breadcrumbs .breadcrumb-separator {
  display: inline-block;
  margin: 0 8px;
  color: var(--border-color);
  font-size: 0.7rem;
  vertical-align: middle;
}

@media (min-width: 769px) {
  .breadcrumb-inner {
    padding: 12px 28px;
  }
  
  .site-breadcrumbs {
    font-size: 0.84rem;
  }
  
  .site-breadcrumbs .breadcrumb_last {
    max-width: 450px;
  }
}



  /* Homepage Variables */
  :root {
    --home-primary: #3498db;
    --home-secondary: #2c3e50;
    --home-accent: #e74c3c;
    --home-gradient-start: #edf6f9;
    --home-gradient-end: #fdfcfa;
    --home-card-bg: #ffffff;
    --home-light-bg: #f7fbfe;
    --home-shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --home-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --home-shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
  }

  /* Reset & Base Mobile Styles */
  * {
    box-sizing: border-box;
  }

  /* MOBILE-FIRST HERO SECTION */
  .hero-section {
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    padding: 80px 15px 75px; /* Extra bottom padding for dots */
    position: relative;
    overflow-x: hidden; /* Only clip horizontal, not vertical */
  }

  .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
  }

  .hero-container {
    max-width: 100%; /* Full width on mobile */
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  /* Mobile-first text styles */
  .hero-text {
    text-align: center; /* Center on mobile */
    margin-bottom: 30px;
    animation: slideInUp 0.8s ease;
  }

  @keyframes slideInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero-text h1 {
    font-size: 2rem; /* Smaller on mobile */
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  }

  .hero-text p {
    font-size: 1.1rem; /* Smaller on mobile */
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
    line-height: 1.5;
    padding: 0 10px; /* Add padding for better readability */
  }

  /* Mobile-first button styles */
  .hero-buttons {
    display: flex;
    flex-direction: column; /* Stack vertically on mobile */
    gap: 15px;
    padding: 0 10px;
  }

  .hero-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%; /* Full width on mobile */
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .hero-buttons a.primary-cta {
    background: linear-gradient(135deg, var(--home-accent), #c0392b);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
  }

  .hero-buttons a.secondary-cta {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.3);
  }

  .hero-buttons a i {
    margin-right: 8px;
  }

  /* Mobile-first slideshow styles */
  .hero-slideshow {
    position: relative;
    text-align: center;
    padding: 0;
    width: 100%;
    animation: fadeIn 0.8s ease 0.3s both;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .hero-slideshow-track {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--home-shadow-lg);
    aspect-ratio: 4 / 3;
    background: rgba(0,0,0,0.15);
  }

  .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
  }

  .hero-slide.active {
    opacity: 1;
  }

  .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
  }

  /* Prev / Next arrows */
  .slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    font-size: 0.85rem;
  }

  .slide-arrow:hover {
    background: rgba(255,255,255,0.35);
  }

  .slide-arrow.prev { left: 10px; }
  .slide-arrow.next { right: 10px; }


  /* MOBILE-FIRST MAIN CONTENT */
  .home-content {
    max-width: 100%;
    margin: 30px auto 40px; /* Less negative margin on mobile */
    padding: 0 15px; /* Less padding on mobile */
  }

  /* Mobile-first section blocks */
  .section-block {
    background: var(--home-card-bg);
    border-radius: 12px; /* Smaller radius on mobile */
    padding: 25px 20px; /* Less padding on mobile */
    margin-bottom: 25px;
    box-shadow: var(--home-shadow-md);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease both;
  }

  .section-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px; /* Thinner on mobile */
    background: linear-gradient(90deg, var(--home-accent) 0%, var(--home-primary) 50%, var(--home-accent) 100%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
  }

  @keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
  }

  .section-block h2 {
    font-size: 1.6rem; /* Smaller on mobile */
    color: var(--home-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
  }

  .section-block h2 i {
    color: var(--home-accent);
    font-size: 1.3rem;
  }

  .section-block > p {
    font-size: 1rem; /* Smaller on mobile */
    color: #4a5568;
    margin-bottom: 20px;
    line-height: 1.6;
  }

  /* Mobile-first card grid */
  .home-card-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
    margin-top: 20px;
  }

  .home-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--home-shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
  }

  .home-card h3 {
    font-size: 1.2rem; /* Smaller on mobile */
    color: var(--home-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .home-card h3 i {
    color: var(--home-accent);
    font-size: 1rem;
  }

  .home-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #4a5568;
    margin-bottom: 15px;
  }

  .home-card a {
    color: var(--home-accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.95rem;
  }

  .home-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: var(--home-primary);
  }


  .why-section {
    display: flex;
    flex-direction: column; /* Stack on mobile */
    gap: 25px;
  }

  .why-content {
    order: 2; /* Image first on mobile */
  }

  .why-content ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
  }

  .why-content li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #4a5568;
  }

  .why-content li i {
    color: var(--home-accent);
    font-size: 1.1rem;
    flex-shrink: 0; /* Prevent icon from shrinking */
  }

  .why-image {
    order: 1; /* Image first on mobile */
    text-align: center;
  }

  .why-image img {
    width: 100%;
    max-width: 100%; /* Full width on mobile */
    height: auto;
    border-radius: 10px;
    box-shadow: var(--home-shadow-md);
  }

  /* MOBILE-FIRST CALCULATOR SECTION */
  .calc-container {
    display: flex;
    flex-direction: column; /* Stack on mobile */
    gap: 30px;
  }

  .calc-intro-section {
    order: 1;
  }

  .calc-calculator-section {
    order: 2;
  }

  .calc-intro-section h3 {
    font-size: 1.1rem;
    color: var(--home-primary);
    margin: 20px 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .calc-intro-section h3 i {
    color: var(--home-accent);
    font-size: 1rem;
  }

  .calc-intro-section ul {
    list-style: none;
    padding: 0;
  }

  .calc-intro-section li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: #4a5568;
  }

  .calc-intro-section li i {
    color: var(--home-accent);
    margin-top: 2px;
    flex-shrink: 0;
  }

  /* Mobile-optimized calculator */
  #peptide-calculator {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--home-shadow-md);
    border: 1px solid #e2e8f0;
    width: 100%; /* Ensure full width */
    max-width: 100%; /* Prevent overflow */
  }

  #peptide-calculator h3 {
    color: var(--home-primary);
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  #peptide-calculator p {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 15px;
  }

  #peptide-calculator label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--home-secondary);
    font-size: 0.95rem;
  }

  /* Mobile-optimized form inputs */
  #peptide-calculator input,
  #peptide-calculator select {
    width: 100%;
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 16px; /* Prevents zoom on iOS */
    transition: all 0.3s ease;
    -webkit-appearance: none; /* Remove iOS default styling */
  }

  #peptide-calculator .input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
  }

  #peptide-calculator .input-group input {
    flex: 1;
    min-width: 0; /* Prevent overflow */
  }

  #peptide-calculator .input-group select {
    width: 80px;
    flex-shrink: 0;
  }

  #peptide-calculator input:focus,
  #peptide-calculator select:focus {
    outline: none;
    border-color: var(--home-primary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
  }

  #peptide-calculator button {
    background: linear-gradient(135deg, var(--home-accent), #c0392b);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 15px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  #calcResults {
    margin-top: 15px;
    padding: 15px;
    background: white;
    border-radius: 6px;
    border: 2px solid #e2e8f0;
    font-size: 0.95rem;
  }

  /* Mobile-first CTA Section */
  .extra-cta-section {
    background: linear-gradient(135deg, var(--home-primary), #5ba3e0);
    border-radius: 12px;
    padding: 35px 20px; /* Less padding on mobile */
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
  }

  .extra-cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
    transform-origin: center center;
  }

  @keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .extra-cta-section h2 {
    font-size: 1.8rem; /* Smaller on mobile */
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
  }

  .extra-cta-section p {
    font-size: 1rem;
    margin-bottom: 25px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    padding: 0 10px;
  }

  .extra-cta-section a {
    display: inline-block;
    background: white;
    color: var(--home-primary);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
  }

  /* Animation delays */
  .delay-1 { animation-delay: 0.1s; }
  .delay-2 { animation-delay: 0.2s; }
  .delay-3 { animation-delay: 0.3s; }
  .delay-4 { animation-delay: 0.4s; }
  .delay-5 { animation-delay: 0.5s; }

  /* TABLET STYLES (min-width: 768px) */
  @media (min-width: 768px) {
    .hero-section {
      padding: 90px 30px 70px;
    }

    .hero-container {
      max-width: 1200px;
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      align-items: center;
    }

    .hero-text {
      flex: 1;
      min-width: 300px;
      text-align: left; /* Left align on tablet+ */
      margin-bottom: 0;
    }

    .hero-text h1 {
      font-size: 3rem;
    }

    .hero-text p {
      font-size: 1.2rem;
      padding: 0;
    }

    .hero-buttons {
      flex-direction: row; /* Horizontal on tablet+ */
      padding: 0;
    }

    .hero-buttons a {
      width: auto;
      min-width: 180px;
    }

    .hero-slideshow {
      flex: 1;
      min-width: 300px;
      padding: 0;
    }

    .hero-slideshow-track {
      max-width: 450px;
      margin: 0 auto;
      aspect-ratio: 4 / 3;
    }

    .home-content {
      max-width: 1200px;
      margin: -40px auto 60px;
      padding: 0 30px;
    }

    .section-block {
      padding: 35px 30px;
      border-radius: 16px;
      margin-bottom: 35px;
    }

    .section-block h2 {
      font-size: 2rem;
    }

    .home-card-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
      gap: 25px;
    }

    .why-section {
      flex-direction: row; /* Side by side on tablet+ */
    }

    .why-content {
      order: 1; /* Reset order */
      flex: 1;
    }

    .why-image {
      order: 2; /* Reset order */
      flex: 1;
    }

    .why-image img {
      max-width: 400px;
    }

    .calc-container {
      flex-direction: row; /* Side by side on tablet+ */
    }

    .calc-intro-section,
    .calc-calculator-section {
      flex: 1;
    }

    #peptide-calculator {
      padding: 25px;
    }

    .extra-cta-section {
      padding: 45px 35px;
      border-radius: 16px;
    }

    .extra-cta-section h2 {
      font-size: 2.2rem;
    }

    .extra-cta-section p {
      font-size: 1.1rem;
      padding: 0;
    }
  }

  /* DESKTOP STYLES (min-width: 1024px) */
  @media (min-width: 1024px) {
    .hero-section {
      padding: 100px 20px 80px;
    }

    .hero-text h1 {
      font-size: 3.5rem;
    }

    .hero-text p {
      font-size: 1.3rem;
    }

    .hero-slideshow-track {
      max-width: 500px;
    }

    .section-block {
      padding: 40px;
      margin-bottom: 40px;
    }

    .section-block h2 {
      font-size: 2.2rem;
    }

    .section-block > p {
      font-size: 1.1rem;
    }

    .home-card-grid {
      grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
      gap: 30px;
    }

    .home-card {
      padding: 30px;
    }

    .home-card h3 {
      font-size: 1.4rem;
    }

    .home-card p {
      font-size: 1rem;
    }

    .calc-intro-section h3 {
      font-size: 1.3rem;
    }

    .calc-intro-section li {
      font-size: 1rem;
    }

    #peptide-calculator {
      padding: 30px;
    }

    #peptide-calculator h3 {
      font-size: 1.5rem;
    }

    .extra-cta-section {
      padding: 50px 40px;
    }

    .extra-cta-section h2 {
      font-size: 2.5rem;
    }

    .extra-cta-section p {
      font-size: 1.2rem;
    }
  }

  /* Ensure nothing overflows on any screen size */
  html,
  body {
    overflow-x: hidden;
  }

  .home-content,
  .hero-container {
    overflow-x: hidden;
  }



/* Ensure pseudo-elements don't block clicks */
.hero-section::before,
.section-block::before,
.extra-cta-section::before {
  pointer-events: none;
}

/* CTA button hovers */
.hero-buttons a.primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.45);
  filter: brightness(1.08);
}

.hero-buttons a.secondary-cta:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-3px);
}

/* Extra CTA section button hover */
.extra-cta-section a:hover {
  background: #f0f4ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Read more / card link hovers */
.home-card a:hover {
  text-decoration: underline;
}



  /* Footer Variables */
  :root {
    --footer-bg: #2c3e50;
    --footer-text: #ecf0f1;
    --footer-accent: #e74c3c;
    --footer-border: #34495e;
    --footer-hover: #3498db;
    --footer-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  }

  /* Main Footer */
  .site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    margin-top: 60px;
    position: relative;
    overflow: hidden;
  }

  /* Decorative Wave */
  .footer-wave {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: var(--footer-bg);
  }

  .footer-wave::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50'%3E%3Cpath fill='%232c3e50' fill-opacity='1' d='M0,25 C240,5 480,45 720,25 C960,5 1200,45 1440,25 L1440,50 L0,50 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
    background-size: cover;
  }

  /* Footer Content Container */
  .footer-main {
    padding: 60px 0 40px;
    position: relative;
    z-index: 1;
  }

  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* Footer Grid */
  .footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1.5fr;
    gap: 35px;
    margin-bottom: 40px;
  }

  /* Footer Columns */
  .footer-column h3 {
    color: var(--footer-text);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
  }

  .footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--footer-accent);
    border-radius: 2px;
  }

  /* About Section */
  .footer-about p {
    line-height: 1.8;
    color: #bdc3c7;
    margin-bottom: 20px;
  }

  .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
  }

  .footer-logo img {
    height: 40px;
    width: auto;
  }

  .footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
  }

  .footer-logo .peptide {
    color: var(--footer-accent);
  }

  .footer-logo .dosages {
    color: var(--footer-hover);
  }

  /* Footer Links */
  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-links li {
    margin-bottom: 12px;
  }

  .footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .footer-links a:hover {
    color: var(--footer-hover);
    transform: translateX(5px);
  }

  .footer-links a::before {
    content: '▸';
    color: var(--footer-accent);
    transition: transform 0.3s ease;
  }

  .footer-links a:hover::before {
    transform: translateX(3px);
  }

  /* Newsletter Section */
  .footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
  }

  .newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--footer-text);
    font-size: 0.95rem;
    transition: all 0.3s ease;
  }

  .newsletter-form input[type="email"]::placeholder {
    color: #95a5a6;
  }

  .newsletter-form input[type="email"]:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px var(--footer-hover);
  }

  .newsletter-form button {
    padding: 12px 20px;
    background: var(--footer-accent);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
  }

  .newsletter-form button:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
  }

  /* Footer Bottom */
  .footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
  }

  .footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-copyright {
    color: #95a5a6;
    font-size: 0.95rem;
  }

  .footer-legal-links {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-legal-links a {
    color: #95a5a6;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
  }

  .footer-legal-links a:hover {
    color: var(--footer-hover);
  }

  /* Disclaimer */
  .footer-disclaimer {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: 30px;
    text-align: center;
  }

  .footer-disclaimer p {
    color: #ecf0f1;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
  }

  .footer-disclaimer strong {
    color: var(--footer-accent);
  }

  /* Back to Top Button */
  .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--footer-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }

  .back-to-top.visible {
    opacity: 1;
    visibility: visible;
  }

  .back-to-top:hover {
    background: var(--footer-hover);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  }

  /* Mobile Responsive */
  @media (max-width: 1024px) {
    .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 30px;
    }
    
    .footer-about {
      grid-column: 1 / -1;
    }
    
    .footer-newsletter-col {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 768px) {
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 30px;
    }
    
    .footer-about {
      grid-column: auto;
    }
    
    .footer-newsletter-col {
      grid-column: auto;
    }

    .footer-bottom-content {
      flex-direction: column;
      text-align: center;
    }

    .newsletter-form {
      flex-direction: column;
    }

    .newsletter-form button {
      width: 100%;
    }

    .footer-legal-links {
      flex-direction: column;
      text-align: center;
      gap: 10px;
    }
  }

  /* Dark Mode Support */
  body.dark-mode .site-footer {
    background: #1a1a1a;
  }

  body.dark-mode .footer-wave::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50'%3E%3Cpath fill='%231a1a1a' fill-opacity='1' d='M0,25 C240,5 480,45 720,25 C960,5 1200,45 1440,25 L1440,50 L0,50 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
    background-size: cover;
  }

  body.dark-mode .footer-column h3 {
    color: #f0f0f0;
  }

  body.dark-mode .footer-links a,
  body.dark-mode .footer-about p {
    color: #ccc;
  }

  body.dark-mode .footer-newsletter {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
  }


/************************************************************
 *                    GLOBAL VARIABLES
 ************************************************************/
:root {
  /* Brand Colors — original */
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --accent-color: #e74c3c;
  --text-color: #333333;
  --text-muted: #64748b;
  --bg-color: #f9f9f9;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-header-scrolled: 0 4px 24px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-dropdown: 0 20px 50px -12px rgba(0,0,0,0.12), 0 8px 20px -8px rgba(0,0,0,0.06);

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 150ms var(--ease-out-expo);
  --transition-base: 250ms var(--ease-out-expo);
  --transition-slow: 400ms var(--ease-out-expo);

  /* Layout */
  --header-height: 58px;
  --header-height-desktop: 66px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
}

/************************************************************
 *                          RESET
 ************************************************************/
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/************************************************************
 *                   PROGRESS BAR
 ************************************************************/
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), #f39c12, var(--primary-color));
  background-size: 200% 100%;
  width: 0%;
  z-index: 1100;
  transition: width 100ms linear;
  animation: progressShimmer 3s linear infinite;
}

@keyframes progressShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/************************************************************
 *                     HEADER
 ************************************************************/
header.site-header {
  width: 100%;
  height: var(--header-height);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(226,232,240,0.5);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: all var(--transition-base);
}

header.site-header.scrolled {
  box-shadow: var(--shadow-header-scrolled);
  background: rgba(255,255,255,0.95);
  border-bottom-color: transparent;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/************************************************************
 *                       LOGO — Original Style
 ************************************************************/
.header-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.header-logo:hover { transform: translateY(-1px); }

.header-logo img {
  height: 34px;
  width: auto;
  display: block;
  transition: transform var(--transition-base);
}

.header-logo:hover img {
  transform: scale(1.05) rotate(-3deg);
}

.header-logo-text {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.header-logo span {
  display: inline-block;
  transition: transform var(--transition-base);
}

.header-logo:hover span.peptide { transform: translateX(-2px); }
.header-logo:hover span.dosages { transform: translateX(2px); }

.header-logo span.peptide { color: var(--accent-color); }
.header-logo span.dosages { color: var(--primary-color); }

/************************************************************
 *                    DESKTOP NAV
 ************************************************************/
nav.main-nav {
  display: none;
  height: 100%;
}

nav.main-nav > ul {
  list-style: none;
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  height: 100%;
  align-items: center;
}

nav.main-nav ul li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

nav.main-nav ul li > a {
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 7px 14px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  position: relative;
  letter-spacing: -0.01em;
}

nav.main-nav ul li > a:hover {
  color: var(--primary-color);
  background: rgba(52,152,219,0.06);
}

/* Chevron */
nav.main-nav ul li.has-dropdown > a::after {
  content: '';
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 7px;
  opacity: 0.35;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

nav.main-nav ul li.has-dropdown:hover > a::after {
  transform: rotate(180deg);
  opacity: 0.6;
}

/* ── Dropdown ── */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  z-index: 9999;
  background: var(--card-bg);
  box-shadow: var(--shadow-dropdown);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  min-width: 260px;
  overflow: visible;
}

/* Invisible bridge covers the gap so hover doesn't break */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

/* Inner scroll wrapper — keeps scrollbar inside border-radius */
.dropdown-menu-inner {
  display: flex;
  flex-direction: column;
  max-height: 65vh;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}

.dropdown-menu-inner::-webkit-scrollbar { width: 4px; }
.dropdown-menu-inner::-webkit-scrollbar-track { background: transparent; }
.dropdown-menu-inner::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 10px;
}
.dropdown-menu-inner::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

.dropdown-menu.multi-column { min-width: auto; max-width: 820px; width: max-content; }

.dropdown-menu.multi-column .dropdown-menu-inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2px;
}

/* Right-align last dropdowns */
nav.main-nav > ul > li:last-child .dropdown-menu,
nav.main-nav > ul > li:nth-last-child(2) .dropdown-menu {
  left: auto; right: 0;
  transform: translateY(8px);
}

nav.main-nav ul li:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

nav.main-nav > ul > li:last-child:hover > .dropdown-menu,
nav.main-nav > ul > li:nth-last-child(2):hover > .dropdown-menu {
  transform: translateY(0);
}

.dropdown-menu li { list-style: none; }

.dropdown-menu li a {
  display: block;
  padding: 9px 12px;
  color: var(--text-color);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  font-weight: 450;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: rgba(52,152,219,0.06);
  color: var(--primary-color);
  padding-left: 16px;
}

/************************************************************
 *                  BLOG MEGA MENU
 ************************************************************/
/* Container — anchored like a dropdown but wider */
.blog-mega-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 9999;
  background: var(--card-bg);
  box-shadow: var(--shadow-dropdown);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  width: 680px;
  max-width: calc(100vw - 40px);
  overflow: visible;
}

nav.main-nav ul li.has-mega-menu:hover > .blog-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Invisible bridge covers the gap so hover doesn't break */
.blog-mega-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

/* Header row */
.mega-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--border-color);
}

.mega-menu-label {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 7px;
}

.mega-menu-label i { color: var(--accent-color); font-size: 0.9rem; }

.mega-menu-view-all {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-color) !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  border: none !important;
}

.mega-menu-view-all:hover {
  background: rgba(52,152,219,0.08);
  color: var(--primary-color) !important;
}

.mega-menu-view-all i { font-size: 0.65rem; transition: transform var(--transition-fast); }
.mega-menu-view-all:hover i { transform: translateX(3px); }

/* Post grid */
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 8px;
}

.mega-post-card {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
  padding: 8px;
  border: none !important;
}

.mega-post-card:hover {
  background: rgba(52,152,219,0.04);
}

.mega-post-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  flex-shrink: 0;
}

.mega-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-base);
}

.mega-post-card:hover .mega-post-thumb img {
  transform: scale(1.06);
}

.mega-post-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border-color);
  font-size: 1.6rem;
}

.mega-post-info {
  padding: 10px 2px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.mega-post-title {
  font-size: 0.84rem;
  font-weight: 550;
  color: var(--text-color);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.mega-post-card:hover .mega-post-title {
  color: var(--primary-color);
}

.mega-post-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.7;
}

.mega-post-date i { font-size: 0.65rem; }

/* Empty state */
.mega-menu-empty {
  padding: 40px 24px;
  text-align: center;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mega-menu-empty i { font-size: 1.5rem; opacity: 0.4; }
.mega-menu-empty span { font-size: 0.9rem; font-weight: 500; }

/* Responsive: smaller screens — 2-column */
@media (max-width: 820px) {
  .blog-mega-menu { width: 460px; }
  .mega-menu-grid { grid-template-columns: repeat(2, 1fr); }
  /* hide 5th and 6th posts */
  .mega-post-card:nth-child(n+5) { display: none; }
}

/************************************************************
 *                    CTA BUTTON
 ************************************************************/
.btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 9px 20px !important;
  background: var(--accent-color) !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  border-radius: var(--radius-full) !important;
  font-size: 0.86rem !important;
  transition: all var(--transition-fast) !important;
  border: none !important;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(231,76,60,0.25), 0 1px 2px rgba(231,76,60,0.15);
}

.btn:hover {
  background: #c0392b !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(231,76,60,0.3), 0 2px 4px rgba(231,76,60,0.1) !important;
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(231,76,60,0.2) !important;
}

.btn i {
  font-size: 0.72rem;
  transition: transform var(--transition-fast);
}

.btn:hover i { transform: translateX(3px); }

/************************************************************
 *                   HAMBURGER BUTTON
 ************************************************************/
.hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.hamburger-btn:hover { background: rgba(0,0,0,0.04); }

.hamburger-lines {
  width: 20px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-lines span {
  display: block;
  height: 2px;
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger-lines span:nth-child(1) { background: var(--accent-color); width: 100%; }
.hamburger-lines span:nth-child(2) { background: var(--secondary-color); width: 70%; }
.hamburger-lines span:nth-child(3) { background: var(--primary-color); width: 100%; }

.hamburger-btn.active .hamburger-lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background: var(--secondary-color);
  width: 100%;
}
.hamburger-btn.active .hamburger-lines span:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.hamburger-btn.active .hamburger-lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--secondary-color);
  width: 100%;
}

/************************************************************
 *                   MOBILE NAV PANEL
 ************************************************************/
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 997;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-overlay.active { opacity: 1; pointer-events: auto; }

.mobile-nav-panel {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: min(88vw, 380px);
  height: 100dvh;
  background: var(--card-bg);
  box-shadow: -10px 0 50px rgba(0,0,0,0.1);
  z-index: 998;
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: right var(--transition-slow);
}

.mobile-nav-panel.active { right: 0; }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-nav-brand img {
  height: 28px;
  width: auto;
}

.mobile-nav-brand-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.mobile-nav-brand-text .peptide { color: var(--accent-color); }
.mobile-nav-brand-text .dosages { color: var(--primary-color); }

.mobile-close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.mobile-close-btn:hover {
  background: var(--border-color);
  color: var(--text-color);
}

.mobile-nav-panel-inner {
  padding: 12px 14px 32px;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-list > li { margin-bottom: 2px; }

.mobile-nav-list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-list > li > a:hover,
.mobile-nav-list > li > a:active {
  background: rgba(52,152,219,0.05);
  color: var(--primary-color);
}

.mobile-nav-list > li > a[data-target]::after {
  content: '';
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.3;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.mobile-nav-list > li > a[data-target].submenu-open::after {
  transform: rotate(180deg);
  opacity: 0.5;
}

.mobile-submenu {
  display: none;
  list-style: none;
  margin: 4px 0 8px;
  padding: 4px 0 4px 12px;
  border-left: 2px solid var(--primary-color);
  animation: subReveal var(--transition-base) both;
}

@keyframes subReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-submenu li a {
  display: block;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mobile-submenu li a:hover,
.mobile-submenu li a:active {
  background: rgba(52,152,219,0.05);
  color: var(--primary-color);
}

.mobile-nav-list .btn {
  margin: 20px 16px 0;
  justify-content: center;
  padding: 14px 24px !important;
  font-size: 0.95rem !important;
  border-radius: var(--radius-md) !important;
}

/************************************************************
 *                RESPONSIVE — MOBILE FIRST
 ************************************************************/
@media (max-width: 768px) {
  .hamburger-btn { display: flex; }
  .mobile-nav-panel { display: block; }
  .mobile-overlay { display: block; }
  body.mobile-menu-open { overflow: hidden; }
}

@media (min-width: 769px) {
  header.site-header { height: var(--header-height-desktop); }
  .header-inner { display: flex; padding: 0 28px; }
  .header-logo { font-size: 1.8rem; }
  .header-logo img { height: 38px; }
  nav.main-nav { display: flex; height: 100%; }
  .hamburger-btn { display: none; }
  .mobile-nav-panel,
  .mobile-overlay { display: none !important; }
}

/************************************************************
 *                 LOADING / ERROR
 ************************************************************/
.nav-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.nav-loading::before {
  content: '';
  width: 14px; height: 14px;
  border: 2px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.nav-error { color: var(--accent-color); font-size: 0.88rem; }
.nav-error a { color: var(--primary-color); font-weight: 600; text-decoration: underline; }

/************************************************************
 *                  ACCESSIBILITY
 ************************************************************/
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--primary-color);
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  z-index: 1200;
  font-weight: 600;
  font-size: 0.9rem;
  transition: top var(--transition-fast);
}

.skip-link:focus { top: 0; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

*:focus:not(:focus-visible) { outline: none; }

/************************************************************
 *              NAV BLUR (non-logged-in users)
 ************************************************************/
.nav-item-blurred a {
  filter: blur(var(--pdcg-blur, 5px));
  -webkit-filter: blur(var(--pdcg-blur, 5px));
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
  transition: filter 0.3s ease;
}
.nav-item-blurred {
  cursor: pointer;
  position: relative;
}
.nav-item-blurred:hover a {
  filter: blur(calc(var(--pdcg-blur, 5px) * 0.6));
}
/* Mobile blurred items */
.mobile-submenu .nav-item-blurred a {
  filter: blur(var(--pdcg-blur, 5px));
  pointer-events: none;
}
.mobile-submenu .nav-item-blurred {
  cursor: pointer;
}

/************************************************************
 *                   HEADER AUTH ICON
 ************************************************************/
.header-auth {
  display: flex;
  align-items: center;
  margin-left: 8px;
}
.header-auth-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--secondary-color);
  text-decoration: none;
  transition: all var(--transition-fast);
  font-size: 1rem;
  background: transparent;
  border: 2px solid var(--border-color);
}
.header-auth-link:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background: rgba(231,76,60,0.05);
  transform: translateY(-1px);
}
.header-auth-link.logged-in {
  color: #27ae60;
  border-color: #27ae60;
}
.header-auth-link.logged-in:hover {
  background: rgba(39,174,96,0.05);
}
@media (max-width: 768px) {
  /* 3-column mobile header: hamburger | logo | auth */
  .header-inner {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    gap: 0;
    padding: 0 10px;
  }
  .header-auth {
    margin-left: 0;
    position: static;
    transform: none;
    justify-self: end;
    order: 3;
  }
  .header-auth-link {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }
  .hamburger-btn {
    order: 1;
    justify-self: start;
  }
  .header-logo {
    order: 2;
    justify-self: center;
    flex-shrink: 1;
    min-width: 0;
    font-size: 1.3rem;
    margin-right: 0;
    overflow: hidden;
  }
  .header-logo img {
    height: 28px;
  }
  /* Hide desktop nav on mobile (it's in the slide-out panel instead) */
  nav.main-nav {
    display: none;
  }
}

/************************************************************
 *                   BREADCRUMBS
 ************************************************************/
.site-breadcrumbs {
  background: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
  padding: 0;
  font-size: 0.82rem;
  line-height: 1;
  position: relative;
  z-index: 10;
}

.breadcrumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

/* Yoast outputs: <span><span><a>Home</a></span> » <span>...</span></span> */
.site-breadcrumbs span {
  display: inline;
  color: var(--text-muted);
}

.site-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 450;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.site-breadcrumbs a:hover {
  color: var(--primary-color);
}

/* Separator styling */
.site-breadcrumbs .breadcrumb_last {
  color: var(--secondary-color);
  font-weight: 600;
  display: inline-block;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

/* Override Yoast's default separator with a styled chevron */
.site-breadcrumbs .breadcrumb-separator {
  display: inline-block;
  margin: 0 8px;
  color: var(--border-color);
  font-size: 0.7rem;
  vertical-align: middle;
}

@media (min-width: 769px) {
  .breadcrumb-inner {
    padding: 12px 28px;
  }
  
  .site-breadcrumbs {
    font-size: 0.84rem;
  }
  
  .site-breadcrumbs .breadcrumb_last {
    max-width: 450px;
  }
}
  /* Homepage Variables */
  :root {
    --home-primary: #3498db;
    --home-secondary: #2c3e50;
    --home-accent: #e74c3c;
    --home-gradient-start: #edf6f9;
    --home-gradient-end: #fdfcfa;
    --home-card-bg: #ffffff;
    --home-light-bg: #f7fbfe;
    --home-shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --home-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --home-shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
  }

  /* Reset & Base Mobile Styles */
  * {
    box-sizing: border-box;
  }

  /* MOBILE-FIRST HERO SECTION */
  .hero-section {
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    padding: 80px 15px 75px; /* Extra bottom padding for dots */
    position: relative;
    overflow-x: hidden; /* Only clip horizontal, not vertical */
  }

  .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
  }

  .hero-container {
    max-width: 100%; /* Full width on mobile */
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  /* Mobile-first text styles */
  .hero-text {
    text-align: center; /* Center on mobile */
    margin-bottom: 30px;
    animation: slideInUp 0.8s ease;
  }

  @keyframes slideInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero-text h1 {
    font-size: 2rem; /* Smaller on mobile */
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  }

  .hero-text p {
    font-size: 1.1rem; /* Smaller on mobile */
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
    line-height: 1.5;
    padding: 0 10px; /* Add padding for better readability */
  }

  /* Mobile-first button styles */
  .hero-buttons {
    display: flex;
    flex-direction: column; /* Stack vertically on mobile */
    gap: 15px;
    padding: 0 10px;
  }

  .hero-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%; /* Full width on mobile */
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .hero-buttons a.primary-cta {
    background: linear-gradient(135deg, var(--home-accent), #c0392b);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
  }

  .hero-buttons a.secondary-cta {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.3);
  }

  .hero-buttons a i {
    margin-right: 8px;
  }

  /* Mobile-first slideshow styles */
  .hero-slideshow {
    position: relative;
    text-align: center;
    padding: 0;
    width: 100%;
    animation: fadeIn 0.8s ease 0.3s both;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .hero-slideshow-track {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--home-shadow-lg);
    aspect-ratio: 4 / 3;
    background: rgba(0,0,0,0.15);
  }

  .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
  }

  .hero-slide.active {
    opacity: 1;
  }

  .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
  }

  /* Prev / Next arrows */
  .slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    font-size: 0.85rem;
  }

  .slide-arrow:hover {
    background: rgba(255,255,255,0.35);
  }

  .slide-arrow.prev { left: 10px; }
  .slide-arrow.next { right: 10px; }


  /* MOBILE-FIRST MAIN CONTENT */
  .home-content {
    max-width: 100%;
    margin: 30px auto 40px; /* Less negative margin on mobile */
    padding: 0 15px; /* Less padding on mobile */
  }

  /* Mobile-first section blocks */
  .section-block {
    background: var(--home-card-bg);
    border-radius: 12px; /* Smaller radius on mobile */
    padding: 25px 20px; /* Less padding on mobile */
    margin-bottom: 25px;
    box-shadow: var(--home-shadow-md);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease both;
  }

  .section-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px; /* Thinner on mobile */
    background: linear-gradient(90deg, var(--home-accent) 0%, var(--home-primary) 50%, var(--home-accent) 100%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
  }

  @keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
  }

  .section-block h2 {
    font-size: 1.6rem; /* Smaller on mobile */
    color: var(--home-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
  }

  .section-block h2 i {
    color: var(--home-accent);
    font-size: 1.3rem;
  }

  .section-block > p {
    font-size: 1rem; /* Smaller on mobile */
    color: #4a5568;
    margin-bottom: 20px;
    line-height: 1.6;
  }

  /* Mobile-first card grid */
  .home-card-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
    margin-top: 20px;
  }

  .home-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--home-shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
  }

  .home-card h3 {
    font-size: 1.2rem; /* Smaller on mobile */
    color: var(--home-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .home-card h3 i {
    color: var(--home-accent);
    font-size: 1rem;
  }

  .home-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #4a5568;
    margin-bottom: 15px;
  }

  .home-card a {
    color: var(--home-accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.95rem;
  }

  .home-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: var(--home-primary);
  }


  .why-section {
    display: flex;
    flex-direction: column; /* Stack on mobile */
    gap: 25px;
  }

  .why-content {
    order: 2; /* Image first on mobile */
  }

  .why-content ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
  }

  .why-content li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #4a5568;
  }

  .why-content li i {
    color: var(--home-accent);
    font-size: 1.1rem;
    flex-shrink: 0; /* Prevent icon from shrinking */
  }

  .why-image {
    order: 1; /* Image first on mobile */
    text-align: center;
  }

  .why-image img {
    width: 100%;
    max-width: 100%; /* Full width on mobile */
    height: auto;
    border-radius: 10px;
    box-shadow: var(--home-shadow-md);
  }

  /* MOBILE-FIRST CALCULATOR SECTION */
  .calc-container {
    display: flex;
    flex-direction: column; /* Stack on mobile */
    gap: 30px;
  }

  .calc-intro-section {
    order: 1;
  }

  .calc-calculator-section {
    order: 2;
  }

  .calc-intro-section h3 {
    font-size: 1.1rem;
    color: var(--home-primary);
    margin: 20px 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .calc-intro-section h3 i {
    color: var(--home-accent);
    font-size: 1rem;
  }

  .calc-intro-section ul {
    list-style: none;
    padding: 0;
  }

  .calc-intro-section li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: #4a5568;
  }

  .calc-intro-section li i {
    color: var(--home-accent);
    margin-top: 2px;
    flex-shrink: 0;
  }

  /* Mobile-optimized calculator */
  #peptide-calculator {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--home-shadow-md);
    border: 1px solid #e2e8f0;
    width: 100%; /* Ensure full width */
    max-width: 100%; /* Prevent overflow */
  }

  #peptide-calculator h3 {
    color: var(--home-primary);
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  #peptide-calculator p {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 15px;
  }

  #peptide-calculator label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--home-secondary);
    font-size: 0.95rem;
  }

  /* Mobile-optimized form inputs */
  #peptide-calculator input,
  #peptide-calculator select {
    width: 100%;
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 16px; /* Prevents zoom on iOS */
    transition: all 0.3s ease;
    -webkit-appearance: none; /* Remove iOS default styling */
  }

  #peptide-calculator .input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
  }

  #peptide-calculator .input-group input {
    flex: 1;
    min-width: 0; /* Prevent overflow */
  }

  #peptide-calculator .input-group select {
    width: 80px;
    flex-shrink: 0;
  }

  #peptide-calculator input:focus,
  #peptide-calculator select:focus {
    outline: none;
    border-color: var(--home-primary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
  }

  #peptide-calculator button {
    background: linear-gradient(135deg, var(--home-accent), #c0392b);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 15px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  #calcResults {
    margin-top: 15px;
    padding: 15px;
    background: white;
    border-radius: 6px;
    border: 2px solid #e2e8f0;
    font-size: 0.95rem;
  }

  /* Mobile-first CTA Section */
  .extra-cta-section {
    background: linear-gradient(135deg, var(--home-primary), #5ba3e0);
    border-radius: 12px;
    padding: 35px 20px; /* Less padding on mobile */
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
  }

  .extra-cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
    transform-origin: center center;
  }

  @keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .extra-cta-section h2 {
    font-size: 1.8rem; /* Smaller on mobile */
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
  }

  .extra-cta-section p {
    font-size: 1rem;
    margin-bottom: 25px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    padding: 0 10px;
  }

  .extra-cta-section a {
    display: inline-block;
    background: white;
    color: var(--home-primary);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
  }

  /* Animation delays */
  .delay-1 { animation-delay: 0.1s; }
  .delay-2 { animation-delay: 0.2s; }
  .delay-3 { animation-delay: 0.3s; }
  .delay-4 { animation-delay: 0.4s; }
  .delay-5 { animation-delay: 0.5s; }

  /* TABLET STYLES (min-width: 768px) */
  @media (min-width: 768px) {
    .hero-section {
      padding: 90px 30px 70px;
    }

    .hero-container {
      max-width: 1200px;
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      align-items: center;
    }

    .hero-text {
      flex: 1;
      min-width: 300px;
      text-align: left; /* Left align on tablet+ */
      margin-bottom: 0;
    }

    .hero-text h1 {
      font-size: 3rem;
    }

    .hero-text p {
      font-size: 1.2rem;
      padding: 0;
    }

    .hero-buttons {
      flex-direction: row; /* Horizontal on tablet+ */
      padding: 0;
    }

    .hero-buttons a {
      width: auto;
      min-width: 180px;
    }

    .hero-slideshow {
      flex: 1;
      min-width: 300px;
      padding: 0;
    }

    .hero-slideshow-track {
      max-width: 450px;
      margin: 0 auto;
      aspect-ratio: 4 / 3;
    }

    .home-content {
      max-width: 1200px;
      margin: -40px auto 60px;
      padding: 0 30px;
    }

    .section-block {
      padding: 35px 30px;
      border-radius: 16px;
      margin-bottom: 35px;
    }

    .section-block h2 {
      font-size: 2rem;
    }

    .home-card-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
      gap: 25px;
    }

    .why-section {
      flex-direction: row; /* Side by side on tablet+ */
    }

    .why-content {
      order: 1; /* Reset order */
      flex: 1;
    }

    .why-image {
      order: 2; /* Reset order */
      flex: 1;
    }

    .why-image img {
      max-width: 400px;
    }

    .calc-container {
      flex-direction: row; /* Side by side on tablet+ */
    }

    .calc-intro-section,
    .calc-calculator-section {
      flex: 1;
    }

    #peptide-calculator {
      padding: 25px;
    }

    .extra-cta-section {
      padding: 45px 35px;
      border-radius: 16px;
    }

    .extra-cta-section h2 {
      font-size: 2.2rem;
    }

    .extra-cta-section p {
      font-size: 1.1rem;
      padding: 0;
    }
  }

  /* DESKTOP STYLES (min-width: 1024px) */
  @media (min-width: 1024px) {
    .hero-section {
      padding: 100px 20px 80px;
    }

    .hero-text h1 {
      font-size: 3.5rem;
    }

    .hero-text p {
      font-size: 1.3rem;
    }

    .hero-slideshow-track {
      max-width: 500px;
    }

    .section-block {
      padding: 40px;
      margin-bottom: 40px;
    }

    .section-block h2 {
      font-size: 2.2rem;
    }

    .section-block > p {
      font-size: 1.1rem;
    }

    .home-card-grid {
      grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
      gap: 30px;
    }

    .home-card {
      padding: 30px;
    }

    .home-card h3 {
      font-size: 1.4rem;
    }

    .home-card p {
      font-size: 1rem;
    }

    .calc-intro-section h3 {
      font-size: 1.3rem;
    }

    .calc-intro-section li {
      font-size: 1rem;
    }

    #peptide-calculator {
      padding: 30px;
    }

    #peptide-calculator h3 {
      font-size: 1.5rem;
    }

    .extra-cta-section {
      padding: 50px 40px;
    }

    .extra-cta-section h2 {
      font-size: 2.5rem;
    }

    .extra-cta-section p {
      font-size: 1.2rem;
    }
  }

  /* Ensure nothing overflows on any screen size */
  html,
  body {
    overflow-x: hidden;
  }

  .home-content,
  .hero-container {
    overflow-x: hidden;
  }
/* Ensure pseudo-elements don't block clicks */
.hero-section::before,
.section-block::before,
.extra-cta-section::before {
  pointer-events: none;
}

/* CTA button hovers */
.hero-buttons a.primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.45);
  filter: brightness(1.08);
}

.hero-buttons a.secondary-cta:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-3px);
}

/* Extra CTA section button hover */
.extra-cta-section a:hover {
  background: #f0f4ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Read more / card link hovers */
.home-card a:hover {
  text-decoration: underline;
}
  /* Footer Variables */
  :root {
    --footer-bg: #2c3e50;
    --footer-text: #ecf0f1;
    --footer-accent: #e74c3c;
    --footer-border: #34495e;
    --footer-hover: #3498db;
    --footer-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  }

  /* Main Footer */
  .site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    margin-top: 60px;
    position: relative;
    overflow: hidden;
  }

  /* Decorative Wave */
  .footer-wave {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: var(--footer-bg);
  }

  .footer-wave::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50'%3E%3Cpath fill='%232c3e50' fill-opacity='1' d='M0,25 C240,5 480,45 720,25 C960,5 1200,45 1440,25 L1440,50 L0,50 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
    background-size: cover;
  }

  /* Footer Content Container */
  .footer-main {
    padding: 60px 0 40px;
    position: relative;
    z-index: 1;
  }

  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* Footer Grid */
  .footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1.5fr;
    gap: 35px;
    margin-bottom: 40px;
  }

  /* Footer Columns */
  .footer-column h3 {
    color: var(--footer-text);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
  }

  .footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--footer-accent);
    border-radius: 2px;
  }

  /* About Section */
  .footer-about p {
    line-height: 1.8;
    color: #bdc3c7;
    margin-bottom: 20px;
  }

  .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
  }

  .footer-logo img {
    height: 40px;
    width: auto;
  }

  .footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
  }

  .footer-logo .peptide {
    color: var(--footer-accent);
  }

  .footer-logo .dosages {
    color: var(--footer-hover);
  }

  /* Footer Links */
  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-links li {
    margin-bottom: 12px;
  }

  .footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .footer-links a:hover {
    color: var(--footer-hover);
    transform: translateX(5px);
  }

  .footer-links a::before {
    content: '▸';
    color: var(--footer-accent);
    transition: transform 0.3s ease;
  }

  .footer-links a:hover::before {
    transform: translateX(3px);
  }

  /* Newsletter Section */
  .footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
  }

  .newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--footer-text);
    font-size: 0.95rem;
    transition: all 0.3s ease;
  }

  .newsletter-form input[type="email"]::placeholder {
    color: #95a5a6;
  }

  .newsletter-form input[type="email"]:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px var(--footer-hover);
  }

  .newsletter-form button {
    padding: 12px 20px;
    background: var(--footer-accent);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
  }

  .newsletter-form button:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
  }

  /* Footer Bottom */
  .footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
  }

  .footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-copyright {
    color: #95a5a6;
    font-size: 0.95rem;
  }

  .footer-legal-links {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-legal-links a {
    color: #95a5a6;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
  }

  .footer-legal-links a:hover {
    color: var(--footer-hover);
  }

  /* Disclaimer */
  .footer-disclaimer {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: 30px;
    text-align: center;
  }

  .footer-disclaimer p {
    color: #ecf0f1;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
  }

  .footer-disclaimer strong {
    color: var(--footer-accent);
  }

  /* Back to Top Button */
  .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--footer-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }

  .back-to-top.visible {
    opacity: 1;
    visibility: visible;
  }

  .back-to-top:hover {
    background: var(--footer-hover);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  }

  /* Mobile Responsive */
  @media (max-width: 1024px) {
    .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 30px;
    }
    
    .footer-about {
      grid-column: 1 / -1;
    }
    
    .footer-newsletter-col {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 768px) {
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 30px;
    }
    
    .footer-about {
      grid-column: auto;
    }
    
    .footer-newsletter-col {
      grid-column: auto;
    }

    .footer-bottom-content {
      flex-direction: column;
      text-align: center;
    }

    .newsletter-form {
      flex-direction: column;
    }

    .newsletter-form button {
      width: 100%;
    }

    .footer-legal-links {
      flex-direction: column;
      text-align: center;
      gap: 10px;
    }
  }

  /* Dark Mode Support */
  body.dark-mode .site-footer {
    background: #1a1a1a;
  }

  body.dark-mode .footer-wave::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50'%3E%3Cpath fill='%231a1a1a' fill-opacity='1' d='M0,25 C240,5 480,45 720,25 C960,5 1200,45 1440,25 L1440,50 L0,50 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
    background-size: cover;
  }

  body.dark-mode .footer-column h3 {
    color: #f0f0f0;
  }

  body.dark-mode .footer-links a,
  body.dark-mode .footer-about p {
    color: #ccc;
  }

  body.dark-mode .footer-newsletter {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
  }
