/* ==========================================================================
   Ephedrine Store — global styles
   Breakpoints (match the original Elementor build):
     tablet  ≤ 1024px
     mobile  ≤ 767px
   ========================================================================== */

/* ---------- Fonts (self-hosted Poppins, latin subset) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }

/* ---------- Design tokens ---------- */
:root {
  --navy: #0F3460;
  --navy-18: rgba(15, 52, 96, .18);
  --text: #535353;
  --black: #000;
  --white: #fff;
  --link: #CC3366;          /* Hello theme default link colour */
  --red: #D9534F;           /* arrow on "Order Now" buttons */
  --star: #FFB300;
  --bg-blue: #F1F7FF;       /* header / hero / testimonials */
  --bg-ice: #F9FCFF;        /* footer, alt sections */
  --bg-grey: #F8F8F8;
  --bg-dark: #3C3C3C;       /* important-notice box */
  --line: #D9D9D9;
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1440px;           /* stretched-section content max width */
  --boxed: 1140px;          /* boxed-section content max width */
  --gutter: 25px;
}
@media (max-width: 767px) { :root { --gutter: 20px; } }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font); font-weight: 600; color: var(--black); }
p { margin: 0 0 14.4px; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
img { display: inline-block; max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: var(--link); text-decoration: none; background-color: transparent; }
a:hover, a:active { color: #336; }
b, strong { font-weight: 700; }
button, input, select, textarea { font: inherit; }
svg.icon { display: inline-block; width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--navy); color: var(--white); padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; color: var(--white); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* ---------- Layout ---------- */
main { overflow-x: hidden; overflow-x: clip; }   /* slide-in animations never cause sideways scroll */
.section { position: relative; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap { width: 100%; max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.boxed { width: 100%; max-width: var(--boxed); margin-left: auto; margin-right: auto; }
.bg-blue { background-color: var(--bg-blue); }
.bg-ice { background-color: var(--bg-ice); }
.bg-grey { background-color: var(--bg-grey); }
.bg-navy { background-color: var(--navy); }
.bg-white { background-color: var(--white); }

/* Two equal columns, stacking at tablet. Column padding/order is set per page. */
.split { display: flex; align-items: center; }
.split > .col { width: 50%; min-width: 0; position: relative; }
@media (max-width: 1024px) {
  .split { flex-wrap: wrap; }
  .split > .col { width: 100%; }
  .split--t-reverse > .col:first-child { order: 2; }   /* image first on tablet/mobile */
}

/* ---------- Typography helpers ---------- */
.h-section { font-size: 36px; line-height: 46px; font-weight: 600; color: var(--navy); }
.h-sub { font-size: 26px; line-height: 36px; font-weight: 600; color: var(--black); }
@media (max-width: 1024px) {
  .h-section { font-size: 26px; line-height: 36px; }
  .h-sub { font-size: 22px; line-height: 32px; }
}
@media (max-width: 767px) { .h-sub { line-height: 30px; } }
.prose { font-size: 18px; line-height: 28px; color: var(--text); }
.center { text-align: center; }
.rounded { border-radius: 12px; }
@media (max-width: 1024px) { .t-center { text-align: center; } }

/* ---------- Icon list (fa-plus-circle bullets) ---------- */
.icon-list { list-style: none; }
.icon-list li { display: flex; align-items: flex-start; padding-bottom: 5px; }
.icon-list li:last-child { padding-bottom: 0; }
.icon-list .icon-list__icon { display: flex; width: 25px; padding-right: 5px; position: relative; top: 6px; color: var(--navy); font-size: 16px; flex-shrink: 0; }
.icon-list .icon-list__icon svg { width: 20px; height: 16px; }
.icon-list .icon-list__text { padding-left: 5px; font-size: 18px; line-height: 28px; color: var(--text); }

/* ---------- Order / CTA button ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 11px 17px;
  background-color: var(--navy-18);
  border-radius: 3px;
  font-family: var(--font); font-size: 20px; line-height: 20px; font-weight: 400;
  text-transform: capitalize;
  color: var(--black);
  transition: background-color .3s, color .3s;
}
.btn:hover, .btn:focus { color: var(--white); background-color: var(--navy); }
.btn:hover .btn__arrow, .btn:focus .btn__arrow { fill: var(--white); }
.btn--underline .btn__text { text-decoration: underline; }
.btn .btn__arrow { width: 20px; height: 7px; fill: var(--red); }

/* ---------- Header ---------- */
.site-header { background-color: var(--bg-blue); padding: 15px; position: relative; z-index: 50; }
.site-header__inner { display: flex; align-items: center; max-width: var(--wrap); margin: 0 auto; }
.site-header__brand { width: 20%; flex-shrink: 0; }
.site-header__brand a { display: block; }
.site-header__brand img { width: 100%; height: auto; display: block; }
.site-header__nav { width: 80%; display: flex; align-items: center; justify-content: flex-end; }

.nav__list { display: flex; flex-wrap: wrap; justify-content: flex-end; list-style: none; }
.nav__link {
  display: flex; align-items: center;
  padding: 15px 18px;
  font-size: 18px; line-height: 18px; font-weight: 400;
  color: var(--black);
  transition: color .3s, background-color .3s;
}
.nav__link:hover, .nav__link:focus, .nav__link[aria-current="page"] { color: var(--navy); }

.nav-toggle {
  display: none; margin-left: auto; padding: 0; border: 0; background: none; cursor: pointer;
  color: #494C4F; font-size: 22px; line-height: 22px;
}
.nav-toggle svg { width: 19.25px; height: 22px; }
.nav-toggle:hover { color: var(--navy); }

@media (max-width: 1024px) {
  .site-header__brand { width: 30%; padding-top: 10px; }
  .site-header__nav { width: 70%; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    margin-top: 0; background-color: var(--navy);
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .nav__list { display: block; }
  .nav__list li:not(:last-child) { border-bottom: 1px solid var(--white); }
  .nav__link { padding: 25px 18px; color: var(--white); background-color: var(--navy); }
  .nav__link:hover, .nav__link:focus { color: var(--navy); background-color: var(--bg-blue); }
  .nav__link[aria-current="page"] { color: var(--white); background-color: var(--navy); }
}
@media (max-width: 767px) {
  .site-header__brand { width: 50%; }
  .site-header__nav { width: 50%; }
}

/* ---------- Inner-page title banner ---------- */
.page-banner { background-color: var(--navy); padding: 80px var(--gutter); }
.page-banner__title {
  max-width: var(--boxed); margin: 0 auto; padding: 0 114px;
  text-align: center; color: var(--white);
  font-size: 60px; line-height: 70px; font-weight: 500;
}
@media (max-width: 1024px) { .page-banner__title { font-size: 42px; line-height: 52px; padding: 0 10%; } }
@media (max-width: 767px)  { .page-banner { padding: 80px 25px; } .page-banner__title { font-size: 30px; line-height: 35px; padding: 0; } }

/* ---------- Footer ---------- */
.site-footer { background-color: var(--bg-ice); padding: 80px var(--gutter); text-align: center; }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; }
.site-footer__logo { display: inline-block; margin-bottom: 30px; }
.site-footer__logo img { width: 304px; height: auto; }
.site-footer__email {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 32px; color: var(--navy);
}
.site-footer__email svg { width: 31.25px; height: 25px; padding-right: 6px; color: var(--navy); }
.site-footer__email span { padding-left: 5px; }
.site-footer__email:hover { color: var(--navy); }
.notice { margin: 35px auto 0; padding: 0 40px; max-width: 1030px; }
.notice__box { background-color: var(--bg-dark); border-radius: 20px; padding: 50px 30px; }
.notice__title { color: var(--white); font-size: 26px; line-height: 36px; font-weight: 600; margin-bottom: 20px; }
.notice__text { color: var(--white); font-size: 12px; line-height: 22px; font-weight: 300; max-width: 890px; margin: 0 auto; }
@media (max-width: 1024px) {
  .notice { margin-top: 40px; }
  .notice__title { font-size: 22px; line-height: 32px; }
}
@media (max-width: 767px) {
  .site-footer { padding: 30px var(--gutter); }
  .site-footer__email { font-size: 20px; }
  .site-footer__email svg { width: 20px; height: 16px; }
  .notice { padding: 0; }
  .notice__title { font-size: 15px; line-height: 31px; }
}

/* ---------- Entrance animations (same keyframes/timing as Elementor) ---------- */
.js [data-anim] { visibility: hidden; }
.js [data-anim].is-in { visibility: visible; animation-duration: 2s; animation-fill-mode: both; }   /* Elementor "slow" */
.is-in[data-anim="fadeInLeft"]        { animation-name: fadeInLeft; }
.is-in[data-anim="fadeInRight"]       { animation-name: fadeInRight; }
.is-in[data-anim="fadeInUp"]          { animation-name: fadeInUp; }
.is-in[data-anim="zoomIn"]            { animation-name: zoomIn; }
.is-in[data-anim="rotateInDownRight"] { animation-name: rotateInDownRight; }
.is-in[data-anim="rotateInUpRight"]   { animation-name: rotateInUpRight; }
@keyframes fadeInLeft  { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); }  to { opacity: 1; transform: none; } }
@keyframes fadeInUp    { from { opacity: 0; transform: translate3d(0, 100%, 0); }  to { opacity: 1; transform: none; } }
@keyframes zoomIn      { from { opacity: 0; transform: scale3d(.3, .3, .3); } 50% { opacity: 1; } }
@keyframes rotateInDownRight { from { transform-origin: right bottom; transform: rotate3d(0, 0, 1, 45deg); opacity: 0; } to { transform-origin: right bottom; transform: none; opacity: 1; } }
@keyframes rotateInUpRight   { from { transform-origin: right bottom; transform: rotate3d(0, 0, 1, -90deg); opacity: 0; } to { transform-origin: right bottom; transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-anim] { visibility: visible; }
  .js [data-anim].is-in { animation: none; }
}
