:root {
  --page-bg: #ffffff;
  --blue-900: #214ba6;
  --blue-800: #2d79e3;
  --blue-700: #4582f3;
  --blue-600: #6497ff;
  --blue-100: #edf4ff;
  --ink-900: #1f2f4d;
  --ink-700: #4c5a74;
  --ink-500: #6f7b92;
  --line: #d8e4fb;
  --surface: #ffffff;
  --surface-alt: #f6f9ff;
  --success: #1aa37a;
  --warning: #f4b400;
  --shadow: 0 24px 60px rgba(24, 59, 134, 0.12);
  --brand-red: #cc2229;
  --brand-red-dark: #a81820;
  --brand-red-light: #fdf0f1;
}

.apex-login-modal .modal-dialog { max-width: 940px; }
.apex-login-modal__close { position: absolute; top: 0.85rem; right: 0.85rem; z-index: 10; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(0,0,0,0.08); color: var(--ink-700); font-size: 0.95rem; cursor: pointer; transition: background 0.15s, color 0.15s; }
.apex-login-modal__close:hover { background: rgba(0,0,0,0.16); color: var(--ink-900); }
.apex-login-modal .modal-content { overflow: hidden; border-radius: 1.6rem; box-shadow: var(--shadow); }
.apex-login-modal__shell { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.apex-login-modal__brand { padding: 2.2rem; color: #fff; background: radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 28%), linear-gradient(160deg, var(--blue-900), var(--blue-700)); }
.apex-login-modal__eyebrow { display: inline-block; margin-bottom: 1rem; padding: 0.45rem 0.85rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.apex-login-modal__brand h2 { margin: 0; font-size: clamp(2rem,3vw,2.6rem); font-weight: 800; letter-spacing: -0.04em; }
.apex-login-modal__brand p { margin: 0.85rem 0 1.4rem; color: rgba(255,255,255,0.9); line-height: 1.7; }
.apex-login-modal__points { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.85rem; }
.apex-login-modal__points li { display: flex; gap: 0.75rem; line-height: 1.55; }
.apex-login-modal__points li::before { content: ""; width: 0.7rem; height: 0.7rem; flex: 0 0 auto; margin-top: 0.42rem; border-radius: 50%; background: rgba(255,255,255,0.9); }
.apex-login-modal__panel { padding: 2rem; background: #fff; }
.apex-login-modal__tabs { display: inline-flex; padding: 0.35rem; gap: 0.25rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-alt); }
.apex-login-modal__tabs button { border: 0; border-radius: 999px; background: transparent; padding: 0.72rem 1.1rem; color: var(--ink-700); font-size: 0.94rem; font-weight: 800; }
.apex-login-modal__tabs button.active { color: #fff; background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark)); box-shadow: 0 10px 22px rgba(204,34,41,0.32); }
.apex-login-modal__status { min-height: 1.4rem; margin-top: 1rem; font-size: 0.84rem; font-weight: 700; color: var(--ink-500); }
.apex-login-modal__status[data-tone='danger'] { color: #c5362f; }
.apex-login-modal__status[data-tone='info'] { color: var(--blue-800); }
.apex-login-modal__status[data-tone='success'] { color: #15803d; }
.apex-login-modal__form { display: grid; gap: 1rem; margin-top: 0.5rem; }
.apex-login-modal__form .form-control { min-height: 48px; border-radius: 0.9rem; }
.apex-login-modal__form .btn { min-height: 50px; border-radius: 999px; }
@media (max-width: 991.98px) {
  .apex-login-modal__shell { grid-template-columns: 1fr; }
  .apex-login-modal__brand, .apex-login-modal__panel { padding: 1.5rem; }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--page-bg); }
body { min-width: 320px; font-family: "Plus Jakarta Sans", sans-serif; color: var(--ink-900); background: var(--page-bg); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/*.home-hero { background: linear-gradient(90deg, rgba(46,55,148,0.98) 0%, rgba(70,87,176,0.88) 52%, rgba(182,201,236,0.28) 100%), linear-gradient(180deg, #3045a4, #4369c9); }*/

.home-hero { background: linear-gradient(90deg, rgba(225,229,238,0.88) 0%, rgba(225,229,238,0.75) 55%, rgba(225,229,238,0.45) 100%), url('img/image-84.jpeg') center/cover no-repeat; }

.home-hero-slider { position: relative; }
.home-hero-slider .carousel-item { transition: transform 0.7s ease-in-out; }
.home-hero__shell { min-height: 600px; grid-template-columns: minmax(0, 0.78fr) minmax(500px, 1.12fr); gap: 3.5rem; padding: 1rem 0 1.5rem !important; }
.home-hero h1 { max-width: 10.5ch; font-size: clamp(1.85rem, 2.9vw, 2.9rem); margin-bottom: 0.55rem; line-height: 1.08; color: #2d79e3; }
.home-hero p { max-width: 22rem; font-size: 0.82rem; line-height: 1.5; color: #4c5a74; }
.home-hero__subcopy { margin-top: 0.6rem; max-width: 22rem; color: #4c5a74; font-size: 0.78rem; }
.home-hero__art { position: relative; min-height: 520px; }
.home-hero__tray-wrap { position: absolute; inset: auto 2% 0 0; height: 450px; border-radius: 2rem; overflow: hidden; box-shadow: var(--shadow); background: rgba(255,255,255,0.08); backdrop-filter: blur(3px); }
.home-hero__tray { width: 100%; height: 100%; object-fit: cover; opacity: 0.74; }
.home-hero__scientist { position: absolute; right: -4%; bottom: -1%; width: 52%; }
.home-hero__scientist--small { right: -1%; bottom: 7%; width: 36%; border-radius: 1.6rem; box-shadow: 0 24px 48px rgba(22,51,112,0.25); }
.home-hero-slider__control { width: 56px; opacity: 1; }
.home-hero-slider__control-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28); color: #fff; font-size: 1.2rem; backdrop-filter: blur(6px); }
.home-hero-slider__control:hover .home-hero-slider__control-icon, .home-hero-slider__control:focus .home-hero-slider__control-icon { background: rgba(255,255,255,0.22); }
/*.home-feature-strip { background: linear-gradient(90deg, #3670ea, #2d60d4); }*/
/*.home-feature-strip { background: #2d3187; }*/
.home-feature-strip { background: #e1e5ee; }
.home-feature-strip__grid { min-height: 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: center; }
/*.home-feature-strip__item { display: flex; align-items: center; gap: 0.85rem; color: #fff; }*/
.home-feature-strip__item { display: flex; align-items: center; gap: 0.85rem; color: #2d79e3; }
/*.home-feature-strip__icon { width: 2rem; height: 2rem; flex: 0 0 auto; display: grid; place-items: center; border-radius: 0.75rem; background: rgba(255,255,255,0.16); }*/

.home-feature-strip__icon { width: 2rem; height: 2rem; flex: 0 0 auto; display: grid; place-items: center; border-radius: 0.75rem; background: #2d79e3; }

.home-feature-strip__item strong, .home-feature-strip__item span { display: block; }
.home-feature-strip__item strong { font-size: 0.9rem; }
/*.home-feature-strip__item span { font-size: 0.75rem; color: rgba(255,255,255,0.82); }*/
.home-feature-strip__item span { font-size: 0.75rem; color: #2d79e3; }



.home-controls { display: flex; gap: 0.55rem; }
.home-control { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--blue-800); background: #fff; }
.home-control--active { color: #fff; background: var(--blue-800); border-color: var(--blue-800); }
.site-shell { background: radial-gradient(circle at top right, rgba(100,151,255,0.08), transparent 20%), linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); min-height: 100vh; }
/*.topbar { background: linear-gradient(90deg, #6796f9, #4c82f0); color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }*/
.topbar { background: #e1e5ee; color: #2d79e3; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }


.topbar__inner { min-height: 42px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.35rem; align-items: center; text-align: center; }
.topbar__inner span { line-height: 1.2; }
.site-nav { background: rgba(255,255,255,0.98); border-bottom: 1px solid rgba(216,228,251,0.9); backdrop-filter: blur(10px); }
.site-nav__shell { min-height: 96px; }
/*.brand { display: inline-flex; align-items: center; gap: 0.8rem; color: #186cdf; }*/

.brand { display: inline-flex; align-items: center; gap: 0.8rem; color: #2d79e3; }

/*.brand__mark { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #2d78ee, #185ccb); color: #fff; box-shadow: 0 14px 24px rgba(45,120,238,0.24); }*/

.brand__mark { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #2d79e3, #34388c); color: #fff; box-shadow: 0 14px 24px rgba(101,105,194,0.24); }

.brand__logo { display: block; max-height: 52px; width: auto; max-width: min(220px, 55vw); object-fit: contain; }
.brand__name { font-size: 2rem; font-weight: 700; line-height: 1; }
.site-nav .navbar-nav { gap: 1rem; }
.site-nav .nav-link { color: var(--ink-700); font-size: 0.97rem; font-weight: 600; }
/*.site-nav .nav-link.active, .site-nav .nav-link:hover { color: var(--blue-800); }*/

.site-nav .nav-link.active, .site-nav .nav-link:hover { color: #2d79e3; }

.nav-icons { display: flex; align-items: center; gap: 1rem; }
/*.nav-icons a { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--blue-800); font-size: 1.15rem; }*/


.nav-icons a { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: #2d79e3; font-size: 1.15rem; }
.apex-account-btn, .apex-login-btn { background: #2d79e3 !important; color: #fff !important; border-radius: 999px !important; padding: 0.5rem 1.2rem !important; font-weight: 700 !important; font-size: 0.9rem !important; border: none !important; width: auto !important; height: auto !important; }
.apex-account-btn:hover, .apex-login-btn:hover { background: #1f63c5 !important; color: #fff !important; }

.apex-cart-icon { position: relative; }
.apex-cart-count { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--brand-red); color: #fff; font-size: 0.68rem; font-weight: 800; display: flex; align-items: center; justify-content: center; line-height: 1; border: 2px solid #fff; }
/*.page-hero { position: relative; overflow: hidden; background: linear-gradient(115deg, rgba(41, 45,118,0.96), rgba(70,101,189,0.82) 56%, rgba(124,154,214,0.55)), linear-gradient(180deg, #3f58bd, #294da8); color: #fff; }*/


/*.page-hero { position: relative; overflow: hidden; background: linear-gradient(115deg, rgba(37,54,146,0.96), rgba(26,29,102,0.82) 56%, rgba(31,37,143,0.55)), linear-gradient(180deg, #2d79e3, #2d79e3); color: #fff; }*/


/*.page-hero { position: relative; overflow: hidden; background: 
#e1e5ee, linear-gradient(180deg, #2d79e3, #2d79e3); color: #fff; }*/




.page-hero { position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 72% 24%, rgba(255,255,255,0.18), transparent 18%), radial-gradient(circle at 15% 30%, rgba(255,255,255,0.08), transparent 12%); }
.page-hero__shell { position: relative; z-index: 1; min-height: 540px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr); gap: 2rem; align-items: center; padding: 4.8rem 0 4rem; }
.page-hero__shell--compact { min-height: 420px; }
.page-hero__eyebrow { display: inline-block; padding: 0.42rem 0.95rem; border-radius: 999px; background: rgba(41,45,118,0.08); border: 1px solid rgba(41,45,118,0.24); color: #2d79e3; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
/*.page-hero h1 { margin: 1.2rem 0 1rem; font-size: clamp(2.9rem, 5vw, 5.1rem); line-height: 1.04; font-weight: 700; letter-spacing: -0.05em; }*/

.page-hero h1 { margin: 1.2rem 0 1rem; font-size: clamp(2.9rem, 5vw, 5.1rem); line-height: 1.04; font-weight: 100; letter-spacing: -0.05em; }


.page-hero p { max-width: 42rem; margin: 0; color: rgba(255,255,255,0.9); font-size: 1.08rem; line-height: 1.75; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
/*.page-hero .btn { min-width: 180px; min-height: 56px; border-radius: 999px; font-weight: 700; }*/

.page-hero .btn { min-width: 180px; min-height: 44px; border-radius: 999px; font-weight: 700; }

.page-hero .btn-primary { background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark)); border: 0; }
.page-hero .btn-outline-light { border-width: 2px; color: #2d79e3; border-color: #2d79e3; }
.home-hero .btn-outline-light { border-width: 2px; color: #2d79e3; border-color: #2d79e3; background: transparent; }
.home-hero .btn-outline-light:hover { background: #2d79e3; color: #fff; }
.page-hero__visual { position: relative; min-height: 380px; }
.page-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 1.8rem; box-shadow: var(--shadow); }
.page-hero__card { position: absolute; right: 1rem; bottom: 1rem; padding: 1rem 1.1rem; border-radius: 1rem; background: rgba(255,255,255,0.92); color: var(--ink-900); box-shadow: 0 16px 36px rgba(20,52,117,0.18); }
.page-hero__card strong, .page-hero__card span { display: block; }
.page-hero__card strong { font-size: 0.92rem; }
.page-hero__card span { font-size: 0.8rem; color: var(--ink-500); }
.section { padding: 5.5rem 0; }
.section--tight { padding: 4rem 0; }
.section-head { max-width: 46rem; margin-bottom: 2rem; }
.section-head--inline { display: flex; align-items: end; justify-content: space-between; gap: 1rem; max-width: none; }
/*.section-head__eyebrow { display: inline-block; margin-bottom: 0.8rem; color: var(--blue-800); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }*/

.section-head__eyebrow { display: inline-block; margin-bottom: 0.8rem; color: var(--brand-red); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }


/*.section-head h2 { margin: 0; color: var(--blue-800); font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; }*/
.section-head h2 { margin: 0; color: #2d79e3; font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 100;  }
.section-head p { margin: 0.7rem 0 0; color: var(--ink-500); font-size: 1rem; line-height: 1.7; }
/*.card-surface { background: var(--surface); border: 1px solid var(--line); border-radius: 1.35rem; box-shadow: var(--shadow); }*/

.card-surface { background: #e1e5ee; border: 1px solid var(--line); border-radius: 1.35rem; box-shadow: var(--shadow); }

.split-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr); gap: 2rem; align-items: center; padding: 2rem; }
.split-panel__media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; border-radius: 1.2rem; }
.split-panel h3 { margin: 0 0 1rem; font-size: 2rem; color: var(--ink-900); letter-spacing: -0.04em; }
.split-panel p { margin: 0; color: var(--ink-500); line-height: 1.8; }
.metric-grid, .feature-grid, .compliance-grid, .contact-grid { display: grid; gap: 1.5rem; }
.metric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compliance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-grid { grid-template-columns: 0.9fr 1.1fr; }
/*metric-card, .feature-card, .compliance-card, .contact-card, .faq-panel, .cta-panel, .timeline-card { background: #fff; border: 1px solid var(--line); border-radius: 1.2rem; box-shadow: 0 18px 40px rgba(28,64,140,0.08); }*/


metric-card, .feature-card, .compliance-card, .contact-card, .faq-panel, .cta-panel, .timeline-card { background: 
#e1e5ee; border: 1px solid var(--line); border-radius: 1.2rem; box-shadow: 0 18px 40px rgba(28,64,140,0.08); }



.metric-card, .feature-card, .compliance-card, .timeline-card { padding: 1.5rem; }
/*.metric-card__value { color: var(--blue-800); font-size: 2rem; font-weight: 800; }*/

.metric-card__value { color: #2d79e3; font-size: 2rem; font-weight: 800; }

.metric-card__label, .feature-card p, .compliance-card p, .timeline-card p, .contact-card p, .faq-panel p, .cta-panel p { color: var(--ink-500); }
/*.feature-card__icon, .compliance-card__icon, .timeline-card__icon, .contact-card__icon { width: 3rem; height: 3rem; margin-bottom: 1rem; display: grid; place-items: center; border-radius: 0.95rem; background: linear-gradient(135deg, var(--blue-700), var(--blue-800)); color: #fff; font-size: 1.2rem; }*/


.feature-card__icon, .compliance-card__icon, .timeline-card__icon, .contact-card__icon { width: 3rem; height: 3rem; margin-bottom: 1rem; display: grid; place-items: center; border-radius: 0.95rem; background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark)); color: #fff; font-size: 1.2rem; }

.feature-card h3, .compliance-card h3, .timeline-card h3, .contact-card h3, .cta-panel h3 { margin: 0 0 0.75rem; color: var(--ink-900); font-size: 1.2rem; font-weight: 100; }
.feature-card p, .compliance-card p, .timeline-card p, .contact-card p, .faq-panel p, .cta-panel p { margin: 0; line-height: 1.75; }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.timeline-card__subtitle {
  display: block;
  margin: 0 0 0.45rem;
  color: var(--ink-500);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}
.product-toolbar { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2rem; }
.chip { padding: 0.75rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-700); font-size: 0.9rem; font-weight: 600; }
/*.chip.active { background: var(--blue-800); border-color: var(--blue-800); color: #fff; }*/
.chip.active { background: #2d79e3; border-color: #2d79e3; color: #fff; }

.category-nav {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: #fff;
}
#shop-catalog {
  scroll-margin-top: 1.5rem;
}
body.page-shop {
  scroll-behavior: auto;
}
.category-nav__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.category-nav__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-700);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}
.category-nav__chip:hover {
  border-color: #2d79e3;
  color: #2d79e3;
}
.category-nav__chip.is-active {
  background: #2d79e3;
  border-color: #2d79e3;
  color: #fff;
}
.category-nav__subrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.category-nav__sublabel {
  color: var(--ink-500);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-right: 0.15rem;
}
.category-nav__subchip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--blue-100);
  color: var(--ink-700);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}
.category-nav__subchip:hover {
  color: #2d79e3;
}
.category-nav__subchip.is-active {
  background: #2d79e3;
  border-color: #2d79e3;
  color: #fff;
}

.product-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-bottom: 1.75rem;
  padding-top: 0.25rem;
}
.product-controls__filter {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.92rem;
}
.product-controls__filter strong { color: var(--ink-900); font-weight: 800; }
.product-controls__filter a {
  margin-left: 0.55rem;
  color: #2d79e3;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.product-controls__sort {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--ink-700);
  font-size: 0.88rem;
  font-weight: 700;
}
.product-controls__select {
  min-width: 8.5rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fff;
  color: var(--ink-900);
  font: inherit;
  font-weight: 600;
}



.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: 1.2rem; overflow: hidden; box-shadow: 0 18px 40px rgba(28,64,140,0.08); position: relative; display: flex; flex-direction: column; align-self: stretch; }
/* Fixed listing height so page 1 / page 2 cards match */
.product-card--listing { min-height: 17.5rem; }
.product-card__badge { position: absolute; top: 1rem; left: 1rem; z-index: 1; padding: 0.35rem 0.65rem; border-radius: 999px; background: rgba(255,255,255,0.94); color: var(--blue-800); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.product-card--listing .product-card__badge { position: static; display: inline-block; margin: 0; padding: 0.25rem 0.55rem; font-size: 0.65rem; }
.product-card__badge-slot { min-height: 1.35rem; margin-bottom: 0.3rem; display: flex; align-items: center; }
.product-card__media { aspect-ratio: 1.15 / 1; overflow: hidden; background: #eff5ff; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__media a { display: block; width: 100%; height: 100%; }
.product-card__media .product-thumb-placeholder { font-size: 0.95rem; color: #5b6b86; padding: 1rem; }
.product-card__body { padding: 1.2rem; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.product-card__body h3 { margin: 0 0 0.3rem; font-size: 1.05rem; font-weight: 800; }
.product-card__body p { margin: 0 0 0.9rem; color: var(--ink-500); font-size: 0.9rem; line-height: 1.6; }
.product-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin-bottom: 0.9rem; }
/*.price { color: var(--blue-800); font-weight: 800; }*/

.price { color: #2d79e3; font-weight: 800; }

.rating { color: var(--warning); font-size: 0.82rem; }
/*.btn-pill { min-height: 48px; border-radius: 999px; font-weight: 700; }*/

.btn-pill { min-height: 39px; border-radius: 999px; font-weight: 700; }

.product-card__actions { display: grid; gap: 0.6rem; margin-top: 1rem; }
.product-card__actions .btn { width: 100%; }

/* Shop listing card internals */
.product-card__header { display: block; margin-bottom: 0.7rem; }
.product-card__title { margin: 0 0 0.55rem; font-size: 1.08rem; font-weight: 800; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.product-card__title a { color: var(--ink-900, #16192b); text-decoration: none; }
.product-card__title a:hover { color: #2d79e3; }
.product-card__price { color: #16204a; font-weight: 800; font-size: 1.45rem; line-height: 1.1; white-space: nowrap; }
.product-card__price del { color: #97a0b5; font-weight: 700; font-size: 1rem; margin-right: 0.4rem; }
.product-card__price ins { text-decoration: none; }
.product-card__content { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.product-card__attributes { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 0.35rem; margin: 0 0 0.55rem; min-height: 2.4rem; overflow: hidden; }
.product-badge { display: inline-flex; align-items: center; padding: 0.22rem 0.6rem; border-radius: 999px; background: #eff5ff; color: #2f56c9; border: 1px solid #dce7fb; font-size: 0.74rem; font-weight: 700; line-height: 1.2; }
.product-card__desc { margin: 0; color: var(--ink-500, #6b7280); font-size: 0.88rem; line-height: 1.45; min-height: calc(0.88rem * 1.45); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; }
.product-card__footer { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-top: auto; padding-top: 0.65rem; }
.product-card--listing .product-card__body { padding: 1rem 1.1rem; }
.product-card__footer .btn { flex: 0 0 auto; }
.stock { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.82rem; font-weight: 700; }
.stock.in-stock { color: #1f9d5b; }
.stock.out-stock { color: #c8102e; }

/* Pagination (shared list markup, frontend styling) */
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.4rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.pagination li { margin: 0; }
.pagination li a, .pagination li span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 0.6rem; border-radius: 10px; border: 1px solid var(--line, #e5e7eb); background: #fff; color: var(--ink-700, #374151); font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: 0.15s; }
.pagination li a:hover { border-color: #2d79e3; color: #2d79e3; }
.pagination li span { color: var(--ink-400, #9ca3af); background: #f7f8fa; }
.category-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.4rem; }
.category-card { position: relative; min-height: 240px; border-radius: 1.4rem; overflow: hidden; box-shadow: var(--shadow); }
.category-card--wide { grid-column: span 8; }
.category-card--tall, .category-card--small { grid-column: span 4; }
.category-card--full { grid-column: span 12; }
.category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.category-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,36,78,0.1), rgba(20,36,78,0.74)); }
.category-card__content { position: absolute; left: 1.35rem; right: 1.35rem; bottom: 1.2rem; z-index: 1; color: #fff; }
.category-card--plain::after { display: none; }
.category-card--plain .category-card__content { color: #2d79e3; }
.category-card--plain .category-card__content h3 { color: #2d79e3; }
.category-card--plain .category-card__content p { color: #4c5a74; }
.category-card__content h3 { margin: 0 0 0.35rem; font-size: 1.25rem; font-weight: 800; }
/*.category-card__content p { margin: 0; color: rgba(255,255,255,0.82); }*/

.category-card__content p { margin: 0; color: rgba(225,229,238,0.82); }

.faq-layout { display: grid; grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr); gap: 1.75rem; align-items: start; }
.faq-panel { padding: 1.5rem; }
/*.faq-visual { position: relative; min-height: 440px; border-radius: 1.5rem; background: linear-gradient(180deg, #f5f9ff, #eef4ff); overflow: hidden; border: 1px solid var(--line); }*/

.faq-visual { position: relative; min-height: 440px; border-radius: 1.5rem; background: #e1e5ee; overflow: hidden; border: 1px solid var(--line); }
.faq-visual__circle { position: absolute; border-radius: 50%; }
/*.faq-visual__circle--lg { width: 12rem; height: 12rem; left: 1.4rem; top: 2rem; overflow: hidden; border: 4px solid var(--blue-700); }*/


.faq-visual__circle--lg { width: 12rem; height: 12rem; left: 1.4rem; top: 2rem; overflow: hidden; border: 4px solid var(--brand-red); }


.faq-visual__circle--sm { width: 9rem; height: 9rem; right: 2rem; bottom: 2.2rem; overflow: hidden; border: 3px solid #fff; box-shadow: 0 18px 32px rgba(29,62,129,0.16); }
.faq-visual__orb { position: absolute; width: 4rem; height: 4rem; border-radius: 50%; background: rgba(84,133,247,0.24); }
.faq-visual__orb--one { left: 1rem; bottom: 4rem; }
.faq-visual__orb--two { left: 4rem; top: 1rem; width: 1rem; height: 1rem; }
.faq-visual img { width: 100%; height: 100%; object-fit: cover; }
.accordion-item { border: 1px solid var(--line); border-radius: 1rem !important; overflow: hidden; margin-bottom: 1rem; box-shadow: 0 18px 34px rgba(28,64,140,0.06); }
/*.accordion-button { font-weight: 700; color: var(--blue-800); background: #fff; }*/
.accordion-button { font-weight: 700; color: #2d79e3; background: #fff; }
/*.accordion-button:not(.collapsed) { background: var(--blue-100); color: var(--blue-800); box-shadow: none; }*/

/*.accordion-button:not(.collapsed) { background: var(--blue-100); color: #2d79e3; box-shadow: none; }*/

.accordion-button:not(.collapsed) { color: #fff; background: var(--brand-red); box-shadow: none; }

.accordion-button:focus { box-shadow: none; }
.cta-panel { position: relative; overflow: hidden; padding: 2rem; background: linear-gradient(135deg, rgba(70,130,245,0.08), rgba(33,75,166,0.03)), #fff; }
/*.cta-panel--solid { color: #fff; background: radial-gradient(circle at top left, rgba(255,255,255,0.14), transparent 18%), linear-gradient(135deg, #3d74e7, #244ba7); }*/
/*.cta-panel--solid { color: #fff; background: radial-gradient(circle at top left, rgba(41,45,118,0.14), transparent 18%), linear-gradient(135deg, #2d79e3, #2d79e3); }*/

.cta-panel--solid { color: #fff; background: radial-gradient(circle at top left, rgba(41,45,118,0.14), transparent 18%), linear-gradient(135deg, #2d79e3, #2d79e3); }

.cta-panel--solid h3, .cta-panel--solid p { color: #fff; }
.cta-panel--light { background: #e1e5ee !important; color: #2d79e3 !important; }
.cta-panel--light h3, .cta-panel--light p { color: #2d79e3 !important; }
.cta-panel--light .btn-light { background: #2d79e3; color: #fff; border: none; }
.cta-panel--light .btn-light:hover { background: #1f2260; color: #fff; }
.cta-panel--light .btn-outline-light { border-color: #2d79e3; color: #2d79e3; background: transparent; }
.cta-panel--light .btn-outline-light:hover { background: #2d79e3; color: #fff; }
.home-excellence { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr); gap: 2rem; align-items: center; }
.home-excellence__copy h3 { font-size: clamp(2rem, 3vw, 3rem); margin-bottom: 1rem; }
.home-excellence__media img { width: 100%; min-height: 300px; object-fit: cover; border-radius: 1.3rem; }
/*.home-testimonials { padding: 4.5rem 0 3.5rem; background: linear-gradient(180deg, rgba(102,145,235,0.96), rgba(37,82,176,0.98)), linear-gradient(180deg, #5b87e6, #244ba7); color: #fff; }*/
/*.home-testimonials { padding: 4.5rem 0 3.5rem; background: linear-gradient(180deg, rgba(41,45,118,0.96), rgba(43,46,110,0.98)), linear-gradient(180deg, #2d79e3, #2d79e3); color: #fff; }*/

.home-testimonials { padding: 4.5rem 0 3.5rem; background: #ffffff; color: #fff; }

.home-testimonials__head h2, .home-testimonials__head p { color: #2d79e3; }
.home-testimonial-card { min-height: 230px; }
.home-testimonial-card strong, .home-testimonial-card span { display: block; }
.home-testimonial-card strong { margin-top: 1rem; color: var(--ink-900); }
.home-testimonial-card span { color: var(--ink-500); font-size: 0.85rem; }
.home-testimonials__dots { display: flex; justify-content: center; gap: 0.45rem; margin-top: 1.2rem; }
.home-testimonials__dots span { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: rgba(255,255,255,0.5); }
.home-testimonials__dots .active { background: #fff; width: 0.55rem; height: 0.55rem; }
.home-newsletter { text-align: center; }
.home-newsletter.cta-panel--solid { background: #e1e5ee; color: #2d79e3; }
.home-newsletter.cta-panel--solid h3,
.home-newsletter.cta-panel--solid p { color: #2d79e3; }
.home-newsletter h3 { font-size: clamp(2rem, 3vw, 3rem); color: #2d79e3; }
.home-newsletter__form { width: 100%; max-width: 34rem; margin: 1.5rem auto 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.8rem; align-items: center; }
.home-newsletter .form-control { background: #fff; border: 1px solid #c5cad8; color: #2d79e3; }
.home-newsletter .form-control::placeholder { color: #6f7b92; }
.home-newsletter .btn-light { background: #2d79e3; color: #fff; border: none; }
.home-newsletter .btn-light:hover { background: #1f2260; color: #fff; }
.home-newsletter__privacy,
.home-newsletter small { display: block; width: 100%; max-width: 34rem; margin: 0.9rem auto 0; color: #4c5a74; text-align: left; line-height: 1.5; }
.home-newsletter__privacy a { color: #2d79e3; text-decoration: underline; text-underline-offset: 2px; }
.home-newsletter__privacy a:hover { color: #1f2260; }
.contact-card, .contact-form { padding: 1.6rem; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr); gap: 1.75rem; align-items: start; }
.cart-stack, .checkout-stack { display: grid; gap: 1.25rem; }
.cart-card, .checkout-card, .summary-card, .mini-card { background: #fff; border: 1px solid var(--line); border-radius: 1.2rem; box-shadow: 0 18px 40px rgba(28,64,140,0.08); padding: 1.5rem; }
.cart-item { display: grid; grid-template-columns: 132px minmax(0, 1fr) minmax(148px, max-content); gap: 1.2rem; align-items: start; }
.cart-item--no-image { grid-template-columns: minmax(0, 1fr) minmax(148px, max-content); }
.cart-item + .cart-item { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.cart-item__media { width: 132px; height: 132px; border-radius: 1rem; overflow: hidden; background: #eef4ff; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__media a { display: block; width: 100%; height: 100%; }
.product-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0.65rem;
  text-align: center;
  color: #6b7a94;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
}
/* ── Cart / Checkout extra ──────────────────────────────────────────────── */
.cart-item__meta { min-width: 0; }
.cart-item__meta h3 { margin: 0 0 0.4rem; font-size: 1.05rem; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.cart-item__meta h3 a { color: var(--ink-900); }
.cart-item__meta p { margin: 0.25rem 0; color: var(--ink-500); font-size: 0.88rem; line-height: 1.5; }
.cart-item__meta span { display: block; color: var(--ink-500); font-size: 0.82rem; margin-top: 0.2rem; line-height: 1.45; overflow-wrap: anywhere; }
.cart-item__actions { display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-start; gap: 0.7rem; width: 100%; min-width: 148px; padding-top: 0.1rem; }
.cart-item__actions > form { margin: 0; }
.cart-item__actions strong { font-size: 1.1rem; color: var(--blue-800); white-space: nowrap; }
.cart-item__qty { display: flex; align-items: center; justify-content: flex-end; gap: 0.5rem; flex-wrap: wrap; }
.remove-link { color: #c0392b; font-size: 0.82rem; font-weight: 700; text-decoration: underline; }
.remove-link:hover { color: #922b21; }
.qty-control, .quantity input { width: 72px !important; min-height: 42px; border-radius: 0.75rem; border: 1px solid var(--line); padding: 0.3rem 0.6rem; text-align: center; font-weight: 700; }
.summary-card h3 { margin: 0 0 1.2rem; font-size: 1.25rem; font-weight: 800; color: var(--ink-900); }
.summary-card__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; font-size: 0.95rem; color: var(--ink-700); }
.summary-card__divider { border: 0; border-top: 1px solid var(--line); margin: 0.5rem 0; }
.summary-card__total { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; font-size: 1.2rem; font-weight: 800; color: var(--blue-800); }
.summary-card__actions { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.summary-card__actions .btn { width: 100%; }
.summary-card__note { margin: 0.75rem 0 0; font-size: 0.78rem; color: var(--ink-500); line-height: 1.6; }
.mini-card h3 { margin: 0 0 0.75rem; font-size: 1.05rem; font-weight: 800; color: var(--ink-900); }
.mini-card p { margin: 0; color: var(--ink-500); font-size: 0.9rem; line-height: 1.7; }
.info-list { display: grid; gap: 1rem; }
.info-list__item { display: flex; gap: 1rem; align-items: flex-start; }
.info-list__icon { width: 2.4rem; height: 2.4rem; flex: 0 0 auto; display: grid; place-items: center; border-radius: 0.8rem; background: linear-gradient(135deg, var(--blue-700), var(--blue-800)); color: #fff; font-size: 1.1rem; }
.info-list__item strong { display: block; font-size: 0.95rem; margin-bottom: 0.2rem; color: var(--ink-900); }
.info-list__item p { font-size: 0.85rem; color: var(--ink-500); }
.checkout-steps { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.checkout-step { padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-500); font-size: 0.88rem; font-weight: 700; }
.checkout-step.active { background: var(--blue-800); border-color: var(--blue-800); color: #fff; }
a.checkout-step:hover { background: var(--blue-100); border-color: var(--blue-700); color: var(--blue-800); }
.checkout-card h3 { margin: 0 0 1.2rem; font-size: 1.2rem; font-weight: 800; color: var(--ink-900); }
.payment-options { display: flex; gap: 0.65rem; flex-wrap: wrap; margin-bottom: 1rem; }
.payment-option { padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); font-size: 0.9rem; font-weight: 700; color: var(--ink-700); cursor: pointer; }
.payment-option.active { background: var(--blue-800); border-color: var(--blue-800); color: #fff; }
.field-note { color: var(--ink-500); font-size: 0.85rem; margin-bottom: 1rem; }
/* WooCommerce field overrides */
.woocommerce-checkout .form-row { margin-bottom: 1rem; }
.woocommerce-checkout .form-row label { font-weight: 600; font-size: 0.9rem; color: var(--ink-700); display: block; margin-bottom: 0.35rem; }
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea { width: 100%; min-height: 52px; border-radius: 0.95rem; border: 1px solid var(--line); padding: 0.6rem 1rem; font-family: inherit; font-size: 0.95rem; }
.woocommerce-checkout .form-row textarea { min-height: 120px; }
.woocommerce-checkout #payment { background: transparent; border-radius: 0; padding: 0; }
.woocommerce-checkout #payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.65rem; }
.woocommerce-checkout #payment ul.payment_methods li { padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: 0.95rem; }
.woocommerce-checkout #payment .place-order { padding: 0; }
.woocommerce-checkout #payment #place_order { display: none; }
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3 { display: none; }
.woocommerce-account-fields, .woocommerce-additional-fields { margin-top: 0; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 1.3rem; box-shadow: var(--shadow); }
.form-control, .form-select { min-height: 52px; border-radius: 0.95rem; border-color: var(--line); }
textarea.form-control { min-height: 160px; }
/*.site-footer { margin-top: 5rem; background: linear-gradient(180deg, #2a59be 0%, #244a9f 100%); color: #fff; }*/

.site-footer { margin-top: 5rem; background: linear-gradient(180deg, #2d79e3 0%, #212573 100%); color: #fff; }

.site-footer__shell { padding: 3.4rem 0 1.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr 0.9fr; gap: 2rem; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; color: #fff; }
.footer-brand__mark { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.14); }
.footer-brand__logo { display: block; max-height: 48px; width: auto; max-width: 200px; object-fit: contain; }
.footer-brand__name { font-size: 1.6rem; font-weight: 700; }
.footer-copy, .footer-meta, .footer-address { color: rgba(255,255,255,0.86); line-height: 1.75; }
.footer-copy { max-width: 21rem; }
.footer-meta { margin: 0.45rem 0; font-size: 0.92rem; font-weight: 700; }
.site-footer h3 { margin: 0 0 1rem; font-size: 0.95rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: 0.65rem; }
.footer-links a, .footer-bottom a { color: rgba(255,255,255,0.86); }
.footer-social { display: flex; gap: 0.8rem; margin-bottom: 1rem; }
.footer-social a { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 0.85rem; border: 1px solid rgba(255,255,255,0.34); color: #fff; }
.footer-bottom { margin-top: 2.2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: rgba(255,255,255,0.84); font-size: 0.9rem; }
.footer-bottom__links { display: flex; gap: 1.2rem; flex-wrap: wrap; }

@media (max-width: 1199.98px) {
  .page-hero__shell, .split-panel, .faq-layout, .contact-grid, .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .metric-grid, .feature-grid, .product-grid, .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero__shell, .home-excellence { grid-template-columns: 1fr; }
  .home-hero__art { min-height: 440px; }
  .home-hero h1, .home-hero p, .home-hero__subcopy { max-width: 100%; }
  .home-hero p, .home-hero__subcopy { font-size: 0.95rem; }
  .home-hero__scientist { right: 0; width: 42%; }
  .home-hero-slider__control { width: 54px; }
}
@media (max-width: 991.98px) {
  .topbar__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0.65rem 0; }
  .site-nav__shell { padding: 0.75rem 0; }
  .brand__name { font-size: 1.6rem; }
  .site-nav .navbar-nav { padding-top: 1rem; }
  .nav-icons { padding-top: 1rem; }
  .page-hero__shell { min-height: auto; padding: 4rem 0 3rem; }
  .page-hero__visual { min-height: 320px; }
  .home-hero__shell { min-height: auto; }
  .home-hero h1 { font-size: 2.35rem; }
  .home-hero-slider__control { display: none; }
  .home-feature-strip__grid { grid-template-columns: 1fr; padding: 1rem 0; }
  .home-newsletter__form { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .section--tight { padding: 3rem 0; }
}
@media (max-width: 767.98px) {
  .topbar__inner, .metric-grid, .feature-grid, .product-grid, .timeline, .compliance-grid, .footer-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .home-hero__tray-wrap { inset: auto 0 0 0; height: 320px; }
  .home-hero__scientist { width: 52%; right: -2%; }
  .home-hero__scientist--small { width: 40%; right: 1%; bottom: 6%; }
  .category-card--wide, .category-card--tall, .category-card--small, .category-card--full { grid-column: span 1; }
  .page-hero h1 { font-size: 2.5rem; }
  .page-hero p { font-size: 1rem; }
  .brand__name { font-size: 1.4rem; }
  .cart-item { grid-template-columns: 1fr; }
  .cart-item--no-image { grid-template-columns: 1fr; }
  .cart-item__media { width: 100%; height: 220px; }
  .cart-item__actions { align-items: stretch; min-width: 0; }
  .cart-item__qty { justify-content: flex-start; }
  .page-hero .btn { width: 100%; }
  .home-controls { margin-top: 1rem; }
  .page-hero__actions { flex-direction: column; }
  .section-head--inline { display: block; }
  .footer-bottom { display: block; }
  .footer-bottom__links { margin-top: 0.75rem; }
}

/* ── WooCommerce My Account ──────────────────────────────────────────────── */

/* WooCommerce wraps nav + content inside .woocommerce — make that the grid */
.apex-account-wrap .woocommerce {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

/* Hide the default WC page title outputted above the layout */
.apex-account-wrap .woocommerce > h1,
.apex-account-wrap .woocommerce > h2 { display: none; }

/* ── Navigation sidebar ───────────────────────────────────────────────────── */
.woocommerce-MyAccount-navigation {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(24,59,134,0.07);
  position: sticky;
  top: 1.5rem;
  align-self: start;
  /* Keep sidebar paint stable while the content panel swaps via AJAX. */
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: layout paint;
}
.woocommerce-MyAccount-navigation ul {
  margin: 0; padding: 0.6rem; list-style: none; display: flex; flex-direction: column; gap: 0.2rem;
}
.woocommerce-MyAccount-navigation ul li a {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.9rem 1.1rem; border-radius: 0.9rem;
  color: var(--ink-700); font-size: 0.95rem; font-weight: 600;
  transition: background 0.18s, color 0.18s;
}
.woocommerce-MyAccount-navigation ul li a .bi {
  width: 2rem; height: 2rem; flex: 0 0 auto;
  display: grid; place-items: center; border-radius: 0.6rem;
  background: var(--surface-alt); font-size: 1rem;
  transition: background 0.18s, color 0.18s;
}
.woocommerce-MyAccount-navigation ul li a:hover { background: var(--blue-100); color: var(--blue-800); }
.woocommerce-MyAccount-navigation ul li a:hover .bi { background: rgba(69,130,243,0.12); color: var(--blue-800); }

/* Active state */
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--is-active a {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
  color: #fff;
}
.woocommerce-MyAccount-navigation ul li.is-active a .bi,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--is-active a .bi {
  background: rgba(255,255,255,0.18); color: #fff;
}

/* Logout item */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a { color: #c5362f; }
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a .bi { color: #c5362f; background: #fff0f0; }
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover { background: #fff0f0; }

/* Divider before logout */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout {
  border-top: 1px solid var(--line); margin-top: 0.4rem; padding-top: 0.4rem;
}

/* ── Content panel ────────────────────────────────────────────────────────── */
.woocommerce-MyAccount-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  padding: 2rem 2.4rem;
  box-shadow: 0 8px 28px rgba(24,59,134,0.07);
}
.woocommerce-MyAccount-content p { color: var(--ink-700); line-height: 1.75; margin-bottom: 0.75rem; }
.woocommerce-MyAccount-content a { color: var(--blue-800); font-weight: 600; }
.woocommerce-MyAccount-content a:hover { color: var(--blue-700); text-decoration: underline; }
.woocommerce-MyAccount-content h2 { font-size: 1.35rem; font-weight: 800; color: var(--ink-900); margin: 0 0 1.2rem; }
.woocommerce-MyAccount-content h3 { font-size: 1.05rem; font-weight: 800; color: var(--ink-900); margin: 0 0 0.85rem; }

/* Notices */
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-info {
  padding: 0.9rem 1.2rem; border-radius: 0.9rem;
  background: var(--blue-100); border: 1px solid var(--line);
  border-left: 4px solid var(--blue-700);
  color: var(--ink-900); font-weight: 600; font-size: 0.93rem;
  margin-bottom: 1.5rem; list-style: none;
}
.woocommerce-MyAccount-content .woocommerce-error {
  padding: 0.9rem 1.2rem; border-radius: 0.9rem;
  background: #fff0f0; border: 1px solid #f5c6c6; border-left: 4px solid #c5362f;
  color: #c5362f; font-weight: 600; font-size: 0.93rem;
  margin-bottom: 1.5rem; list-style: none;
}

/* ── Forms ────────────────────────────────────────────────────────────────── */
.woocommerce-MyAccount-content form { display: grid; gap: 1.1rem; }
.woocommerce-MyAccount-content .woocommerce-form-row,
.woocommerce-MyAccount-content p.form-row { margin: 0; display: grid; gap: 0.4rem; }
.woocommerce-MyAccount-content label,
.woocommerce-MyAccount-content .woocommerce-form-row label,
.woocommerce-MyAccount-content p.form-row label {
  font-size: 0.84rem; font-weight: 700; color: var(--ink-700); margin: 0;
}
.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content input[type="tel"],
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content textarea {
  width: 100%; min-height: 48px; padding: 0.72rem 1rem;
  border: 1.5px solid var(--line); border-radius: 0.9rem;
  font-family: inherit; font-size: 0.95rem; color: var(--ink-900);
  background: var(--surface); outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  appearance: auto;
}
.woocommerce-MyAccount-content input:focus,
.woocommerce-MyAccount-content select:focus,
.woocommerce-MyAccount-content textarea:focus {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 3px rgba(69,130,243,0.14);
}
.woocommerce-MyAccount-content fieldset {
  border: 1.5px solid var(--line); border-radius: 1rem;
  padding: 1.4rem 1.6rem; display: grid; gap: 1rem;
}
.woocommerce-MyAccount-content fieldset legend {
  font-size: 0.8rem; font-weight: 800; color: var(--ink-700);
  padding: 0 0.5rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.woocommerce-MyAccount-content .woocommerce-Button,
.woocommerce-MyAccount-content button[type="submit"],
.woocommerce-MyAccount-content input[type="submit"] {
  justify-self: start;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 2.4rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
  color: #fff !important; font-family: inherit; font-size: 0.97rem; font-weight: 700;
  border: 0; cursor: pointer; min-height: 52px;
  box-shadow: 0 10px 24px rgba(69,130,243,0.28);
  transition: opacity 0.15s; text-decoration: none !important;
}
.woocommerce-MyAccount-content .woocommerce-Button:hover,
.woocommerce-MyAccount-content button[type="submit"]:hover,
.woocommerce-MyAccount-content input[type="submit"]:hover { opacity: 0.88; }

/* Two-column row sets */
.woocommerce-MyAccount-content .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 0.5rem; }

/* ── Orders table ─────────────────────────────────────────────────────────── */
.woocommerce-orders-table, .woocommerce-MyAccount-content .shop_table {
  width: 100%; border-collapse: collapse; font-size: 0.93rem;
}
.woocommerce-orders-table thead th, .woocommerce-MyAccount-content .shop_table thead th {
  padding: 0.85rem 1rem; text-align: left;
  background: var(--surface-alt); color: var(--ink-700);
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.07em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.woocommerce-orders-table tbody td, .woocommerce-MyAccount-content .shop_table tbody td {
  padding: 1rem; color: var(--ink-900); border-bottom: 1px solid var(--line); vertical-align: middle;
}
.woocommerce-orders-table tbody tr:last-child td, .woocommerce-MyAccount-content .shop_table tbody tr:last-child td { border-bottom: 0; }
.woocommerce-orders-table .button, .woocommerce-MyAccount-content .shop_table .button {
  display: inline-flex; align-items: center; padding: 0.5rem 1.1rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
  color: #fff !important; font-size: 0.82rem; font-weight: 700;
  border: 0; text-decoration: none !important; transition: opacity 0.15s;
}
.woocommerce-orders-table .button:hover, .woocommerce-MyAccount-content .shop_table .button:hover { opacity: 0.88; }

/* Order status pills */
.woocommerce-order-status { display: inline-block; padding: 0.28rem 0.75rem; border-radius: 999px; font-size: 0.76rem; font-weight: 700; }
.woocommerce-order-status.status-completed  { background: #e6f9f3; color: var(--success); }
.woocommerce-order-status.status-processing { background: #edf4ff; color: var(--blue-800); }
.woocommerce-order-status.status-pending    { background: #fff8e1; color: #b07700; }
.woocommerce-order-status.status-cancelled, .woocommerce-order-status.status-failed { background: #fdf0f0; color: #c5362f; }
.woocommerce-order-status.status-on-hold    { background: #fff3e0; color: #e65100; }
.woocommerce-order-status.status-refunded   { background: #f3e5f5; color: #7b1fa2; }

/* ── Address blocks ───────────────────────────────────────────────────────── */
.apex-address-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.apex-address-card { background: var(--surface-alt); border: 1px solid var(--line); border-radius: 1rem; padding: 1.4rem 1.6rem; }
.apex-address-card__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.apex-address-card__header h3 { font-size: 1rem; font-weight: 800; color: var(--ink-900); margin: 0; }
.apex-address-card__header a { font-size: 0.82rem; color: var(--blue-700); white-space: nowrap; flex-shrink: 0; }
.apex-address-card address { font-style: normal; color: var(--ink-700); line-height: 1.8; font-size: 0.92rem; }
.apex-address-card__empty { color: var(--ink-500); font-size: 0.9rem; margin: 0; }

/* Password strength */
.woocommerce-password-strength { padding: 0.35rem 0.8rem; border-radius: 0.5rem; font-size: 0.78rem; font-weight: 700; margin-top: 0.25rem; display: inline-block; }
.woocommerce-password-strength.strong { background: #e6f9f3; color: var(--success); }
.woocommerce-password-strength.good   { background: #edf4ff; color: var(--blue-800); }
.woocommerce-password-strength.short, .woocommerce-password-strength.bad { background: #fdf0f0; color: #c5362f; }

/* Content panel loading transition — keep sidebar untouched */
.woocommerce-MyAccount-content { transition: opacity 0.18s ease; min-height: 12rem; }
.woocommerce-MyAccount-content.apex-account-loading { opacity: 0.55; pointer-events: none; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .apex-account-wrap .woocommerce { grid-template-columns: 1fr; }
  .woocommerce-MyAccount-navigation { position: static; }
  .woocommerce-MyAccount-navigation ul { flex-direction: row; flex-wrap: wrap; }
  .woocommerce-MyAccount-navigation ul li { flex: 1 1 auto; }
  .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout { border-top: 0; border-left: 1px solid var(--line); margin-top: 0; padding-top: 0; }
  .apex-address-grid, .woocommerce-MyAccount-content .col2-set { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .woocommerce-MyAccount-navigation ul li a { padding: 0.7rem 0.8rem; font-size: 0.85rem; }
  .woocommerce-MyAccount-content { padding: 1.4rem 1.2rem; }
  .woocommerce-orders-table { font-size: 0.82rem; }
}

/* ── Search overlay ──────────────────────────────────────────────────────── */
.apex-search-overlay { position: fixed; inset: 0; z-index: 9000; display: flex; flex-direction: column; align-items: center; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity 0.22s ease, visibility 0.22s ease; }
.apex-search-overlay--open { opacity: 1; pointer-events: auto; visibility: visible; }
.apex-search-overlay__backdrop { position: absolute; inset: 0; background: rgba(10,20,40,0.55); backdrop-filter: blur(4px); pointer-events: none; }
.apex-search-overlay--open .apex-search-overlay__backdrop { pointer-events: auto; }
.apex-search-overlay__panel { position: relative; z-index: 1; width: 100%; max-width: 720px; margin-top: 5rem; background: var(--surface); border-radius: 1.25rem; box-shadow: 0 24px 64px rgba(0,0,0,0.18); transform: translateY(-16px); transition: transform 0.22s ease; overflow: hidden; }
.apex-search-overlay--open .apex-search-overlay__panel { transform: translateY(0); }
.apex-search-overlay__form { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.apex-search-overlay__icon { font-size: 1.15rem; color: var(--ink-500); flex-shrink: 0; }
.apex-search-overlay__input { flex: 1; border: none; outline: none; background: transparent; font-size: 1.1rem; font-family: inherit; color: var(--ink-900); font-weight: 500; }
.apex-search-overlay__input::placeholder { color: var(--ink-400); }
.apex-search-overlay__close { background: none; border: none; cursor: pointer; color: var(--ink-500); font-size: 1.1rem; padding: 0.25rem; line-height: 1; border-radius: 0.5rem; transition: color 0.15s, background 0.15s; }
.apex-search-overlay__close:hover { color: var(--ink-900); background: var(--surface-alt); }
body.search-open { overflow: hidden; }

/* Results dropdown */
.apex-search-results { max-height: 420px; overflow-y: auto; padding: 0.5rem 0; }
.apex-search-results__group { padding: 0.25rem 0; }
.apex-search-results__label { display: flex; align-items: center; gap: 0.45rem; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-400); padding: 0.6rem 1.25rem 0.35rem; }
.apex-search-result { display: flex; align-items: center; gap: 0.9rem; padding: 0.65rem 1.25rem; text-decoration: none; color: inherit; transition: background 0.13s; }
.apex-search-result:hover, .apex-search-result:focus { background: var(--surface-alt); outline: none; }
.apex-search-result__thumb { width: 42px; height: 42px; border-radius: 0.6rem; overflow: hidden; background: var(--surface-alt); display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid var(--line); }
.apex-search-result__thumb img { width: 100%; height: 100%; object-fit: cover; }
.apex-search-result__thumb i { font-size: 1.1rem; color: var(--ink-400); }
.apex-search-result__thumb--page { background: var(--blue-50, #eff6ff); }
.apex-search-result__thumb--page i { color: var(--blue-700); }
.apex-search-result__body { flex: 1; min-width: 0; }
.apex-search-result__title { display: block; font-size: 0.92rem; font-weight: 600; color: var(--ink-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apex-search-result__price { display: block; font-size: 0.8rem; color: var(--blue-700); font-weight: 700; margin-top: 0.1rem; }
.apex-search-result__type { display: block; font-size: 0.78rem; color: var(--ink-400); text-transform: capitalize; margin-top: 0.1rem; }
.apex-search-result__arrow { font-size: 0.85rem; color: var(--ink-300); flex-shrink: 0; transition: transform 0.15s, color 0.15s; }
.apex-search-result:hover .apex-search-result__arrow { transform: translateX(3px); color: var(--blue-700); }
.apex-search-results__all { display: flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.25rem; font-size: 0.88rem; color: var(--blue-700); border-top: 1px solid var(--line); text-decoration: none; transition: background 0.13s; }
.apex-search-results__all:hover { background: var(--surface-alt); }
.apex-search-login-gate { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 2rem 1.5rem; text-align: center; }
.apex-search-login-gate i { font-size: 2rem; color: var(--blue-700); }
.apex-search-login-gate p { margin: 0; font-size: 0.92rem; color: var(--ink-600); }
.apex-search-login-btn { background: none; border: none; cursor: pointer; color: var(--blue-700); font-weight: 700; font-size: inherit; padding: 0; text-decoration: underline; }
.apex-search-results__empty, .apex-search-results__loading { padding: 1.25rem 1.5rem; font-size: 0.9rem; color: var(--ink-500); margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.apex-search-results__loading i { animation: apex-spin 0.8s linear infinite; }
@keyframes apex-spin { to { transform: rotate(360deg); } }
@media (max-width: 767.98px) { .apex-search-overlay__panel { margin-top: 0; border-radius: 0 0 1.25rem 1.25rem; } }

/* ── Thank You / Order Received ──────────────────────────────────────────── */
.apex-thankyou-hero { background: linear-gradient(160deg, var(--blue-900, #1a2f6e), var(--blue-700)); padding: 5rem 1.5rem 4.5rem; text-align: center; color: #fff; }
.apex-thankyou-hero__inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.apex-thankyou-badge { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.35); display: grid; place-items: center; font-size: 2rem; color: #fff; margin-bottom: 0.5rem; animation: apex-pop 0.45s cubic-bezier(0.34,1.56,0.64,1) both; }
@keyframes apex-pop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.apex-thankyou-hero .section-head__eyebrow { color: rgba(255,255,255,0.7); }
.apex-thankyou-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.04em; margin: 0; color: #fff; }
.apex-thankyou-hero p { color: rgba(255,255,255,0.82); font-size: 1rem; max-width: 480px; margin: 0; line-height: 1.7; }
.apex-thankyou-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-top: 0.5rem; }
.apex-thankyou-hero .btn-primary { background: #fff; color: var(--blue-700); border: none; font-weight: 700; }
.apex-thankyou-hero .btn-primary:hover { background: rgba(255,255,255,0.9); color: var(--blue-800); }
.apex-thankyou-hero .btn-outline-primary { border-color: rgba(255,255,255,0.5); color: #fff; }
.apex-thankyou-hero .btn-outline-primary:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }

.apex-thankyou-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; margin-bottom: 2rem; }
.apex-thankyou-card { background: var(--surface); border: 1px solid var(--line); border-radius: 1.2rem; padding: 1.75rem; box-shadow: 0 8px 28px rgba(28,64,140,0.07); }
.apex-thankyou-card__head { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.apex-thankyou-card__head i { font-size: 1.15rem; color: var(--blue-700); }
.apex-thankyou-card__head h2 { margin: 0; font-size: 1rem; font-weight: 800; color: var(--ink-900); }

.apex-thankyou-items { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.25rem; }
.apex-thankyou-item { display: flex; align-items: center; gap: 0.9rem; }
.apex-thankyou-item__img { width: 52px; height: 52px; border-radius: 0.65rem; overflow: hidden; border: 1px solid var(--line); flex-shrink: 0; background: #eef4ff; display: flex; align-items: center; justify-content: center; }
.apex-thankyou-item__img img { width: 100%; height: 100%; object-fit: cover; }
.apex-thankyou-item__img .product-thumb-placeholder { font-size: 0.55rem; padding: 0.25rem; }
.apex-thankyou-item__body { flex: 1; min-width: 0; }
.apex-thankyou-item__body strong { display: block; font-size: 0.9rem; color: var(--ink-900); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apex-thankyou-item__body span { font-size: 0.8rem; color: var(--ink-500); }
.apex-thankyou-item__price { font-size: 0.92rem; font-weight: 700; color: var(--ink-900); white-space: nowrap; }

.apex-thankyou-totals { border-top: 1px solid var(--line); padding-top: 1rem; display: flex; flex-direction: column; gap: 0.55rem; }
.apex-thankyou-totals__row { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--ink-600); }
.apex-thankyou-totals__total { display: flex; justify-content: space-between; font-size: 1.05rem; font-weight: 800; color: var(--ink-900); border-top: 1px solid var(--line); padding-top: 0.75rem; margin-top: 0.25rem; }

.apex-thankyou-meta { display: flex; flex-direction: column; gap: 0.65rem; }
.apex-thankyou-meta__row { display: flex; justify-content: space-between; align-items: center; font-size: 0.88rem; color: var(--ink-600); gap: 1rem; }
.apex-thankyou-meta__row strong { color: var(--ink-900); font-weight: 700; }

.apex-thankyou-trust { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; padding: 2rem 0 0.5rem; border-top: 1px solid var(--line); }
.apex-thankyou-trust__item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--ink-600); }
.apex-thankyou-trust__item i { font-size: 1.1rem; color: var(--blue-700); }

@media (max-width: 767.98px) {
  .apex-thankyou-grid { grid-template-columns: 1fr; }
  .apex-thankyou-trust { gap: 1.25rem; }
}

/* ── Toast notifications ─────────────────────────────────────────────────── */
#apexToastContainer { position: fixed; top: 1.5rem; right: 1.5rem; z-index: 99999; display: flex; flex-direction: column; gap: 0.75rem; pointer-events: none; }
.apex-toast {
  display: flex; align-items: center; gap: 0.85rem;
  min-width: 300px; max-width: 380px;
  padding: 1rem 1.1rem; border-radius: 1rem;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(24,59,134,0.16);
  pointer-events: all; cursor: default;
  transform: translateX(calc(100% + 2rem));
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.34,1.26,0.64,1), opacity 0.28s ease;
}
.apex-toast--in  { transform: translateX(0); opacity: 1; }
.apex-toast--out { transform: translateX(calc(100% + 2rem)); opacity: 0; }
.apex-toast__icon { flex: 0 0 auto; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; }
.apex-toast__msg  { flex: 1; font-size: 0.9rem; font-weight: 600; color: var(--ink-900); line-height: 1.45; }
.apex-toast__close { flex: 0 0 auto; background: transparent; border: 0; color: var(--ink-500); font-size: 1.1rem; cursor: pointer; padding: 0; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; transition: background 0.15s; }
.apex-toast__close:hover { background: var(--surface-alt); color: var(--ink-900); }
.apex-toast--success .apex-toast__icon { background: #e6f9f3; color: var(--success); }
.apex-toast--success { border-left: 4px solid var(--success); }
.apex-toast--error   .apex-toast__icon { background: #fdf0f0; color: #c5362f; }
.apex-toast--error   { border-left: 4px solid #c5362f; }
.apex-toast--info    .apex-toast__icon { background: var(--blue-100); color: var(--blue-700); }
.apex-toast--info    { border-left: 4px solid var(--blue-700); }
.apex-toast--warning .apex-toast__icon { background: #fff8e1; color: #b07700; }
.apex-toast--warning { border-left: 4px solid #f4b400; }
@media (max-width: 575.98px) {
  #apexToastContainer { top: auto; bottom: 1rem; right: 1rem; left: 1rem; }
  .apex-toast { min-width: 0; max-width: 100%; transform: translateY(calc(100% + 2rem)); }
  .apex-toast--in  { transform: translateY(0); }
  .apex-toast--out { transform: translateY(calc(100% + 2rem)); }
}

/* ── Variation square buttons ────────────────────────────────────────────── */
.apex-product-details .variations { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.apex-product-details .variations th.label { padding: 0 1rem 0.5rem 0; font-size: 0.9rem; font-weight: 700; color: var(--ink-900); text-align: left; vertical-align: top; white-space: nowrap; }
.apex-product-details .variations td.value { padding: 0 0 1rem; }
.apex-product-details .reset_variations { display: inline-block; margin-top: 0.6rem; font-size: 0.78rem; color: var(--ink-500); }
.apex-variation-label { display: block; font-size: 0.9rem; font-weight: 700; color: var(--ink-900); margin-bottom: 0.6rem; }
.apex-variation-btns { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.25rem; }
.apex-variation-btn { min-width: 3.5rem; padding: 0.6rem 1.2rem; border: 1.5px solid var(--line); border-radius: 0.55rem; background: #fff; color: var(--ink-900); font-family: inherit; font-size: 0.9rem; font-weight: 700; cursor: pointer; text-align: center; text-transform: uppercase; letter-spacing: 0.04em; transition: border-color 0.15s, background 0.15s, color 0.15s; }
.apex-variation-btn:hover { border-color: #30336b; color: #30336b; }
.apex-variation-btn.active { background: #30336b; border-color: #30336b; color: #fff; }
.apex-variation-btn:disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.apex-add-to-cart-submit:disabled { background: #e5e7eb !important; background-image: none !important; border-color: #e5e7eb !important; color: #9aa0ad !important; box-shadow: none; cursor: not-allowed; opacity: 1; }

/* ── Single product page ─────────────────────────────────────────────────── */
.apex-breadcrumb { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 0.84rem; color: var(--ink-500); }
.apex-breadcrumb .container-xl { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.apex-breadcrumb a { color: var(--ink-700); font-weight: 600; }
.apex-breadcrumb a:hover { color: var(--blue-700); }
.apex-breadcrumb .bi { font-size: 0.7rem; }
.apex-breadcrumb span { color: var(--ink-900); font-weight: 700; }

.apex-product-section { padding-top: 3rem; }
.apex-product-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 4rem; align-items: start; }
.apex-product-layout--no-image { grid-template-columns: 1fr; justify-items: center; }
.apex-product-layout--no-image .apex-product-details--full { width: 100%; max-width: 680px; }

/* Category tag on single product */
/*.apex-product-cat-tag { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.32rem 0.85rem; border-radius: 999px; background: var(--surface-alt); border: 1px solid var(--line); color: var(--blue-700); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1; }*/



.apex-product-cat-tag { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.32rem 0.85rem; border-radius: 999px; background: #e1e5ee; border: 1px solid var(--line); color: #2d79e3); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1; }


.apex-product-cat-tag a { color: inherit; text-decoration: none; }
.apex-product-cat-tag a:hover { text-decoration: underline; }

/* Gallery */
/*.apex-product-gallery__main { position: relative; border-radius: 1.6rem; overflow: hidden; background: var(--surface-alt); border: 1px solid var(--line); aspect-ratio: 1/1; }*/

.apex-product-gallery__main { position: relative; border-radius: 1.6rem; overflow: hidden; background: #e1e5ee; border: 1px solid var(--line); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }

.apex-product-gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; transition: transform 0.3s ease; }
.apex-product-gallery__main img:hover { transform: scale(1.04); }
.apex-product-gallery__main .product-card__badge { top: 1.2rem; left: 1.2rem; right: auto; }
.apex-product-gallery__main .product-thumb-placeholder { font-size: 1.15rem; color: #5b6b86; padding: 1.5rem; }
.apex-product-gallery__thumbs { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; }
.apex-thumb { width: 72px; height: 72px; border-radius: 0.75rem; overflow: hidden; border: 2px solid var(--line); background: var(--surface-alt); cursor: pointer; padding: 0; transition: border-color 0.18s; }
.apex-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 0.3rem; }
.apex-thumb.active, .apex-thumb:hover { border-color: var(--blue-700); }

/* Details panel */
.apex-product-details__card { background: #fff; border: 1px solid var(--line); border-radius: 1.25rem; padding: 2.5rem; box-shadow: 0 12px 40px rgba(18,26,43,0.06); }
@media (max-width: 640px) { .apex-product-details__card { padding: 1.5rem; } }

/* Account details: show errors only — no green “valid” checkmarks on empty optional fields */
.apex-account-details-form.was-validated .form-control:valid,
.apex-account-details-form .form-control.is-valid {
  border-color: var(--line, #ced4da);
  background-image: none;
  padding-right: 0.75rem;
  box-shadow: none;
}
.apex-account-details-form .form-text {
  font-size: 0.8125rem;
  color: #6b7280;
}
.apex-product-details { display: grid; gap: 1.4rem; align-content: start; }
.apex-product-details__title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; color: var(--ink-900); margin: 0.5rem 0 0; line-height: 1.15; }
.apex-product-details__rating { display: flex; align-items: center; gap: 0.75rem; }
.apex-product-details__rating .rating { color: #f4b400; font-size: 0.95rem; display: flex; gap: 0.15rem; }
/*.apex-product-details__price { font-size: 2rem; font-weight: 800; color: var(--blue-800); letter-spacing: -0.03em; }*/

.apex-product-details__price { font-size: 2rem; font-weight: 800; color:
#2d79e3; letter-spacing: -0.03em; }


.apex-product-details__price del { font-size: 1.3rem; color: var(--ink-500); font-weight: 500; margin-right: 0.5rem; }
.apex-product-details__desc { color: var(--ink-700); line-height: 1.8; font-size: 1rem; margin: 0; }
.apex-product-details__meta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.apex-product-details__outofstock { color: var(--ink-500); font-size: 0.95rem; }

/* Stock badge */
.apex-stock-badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.9rem; border-radius: 999px; font-size: 0.82rem; font-weight: 700; }
.apex-stock-badge--in  { background: #e6f9f3; color: var(--success); }
.apex-stock-badge--out { background: #fdf0f0; color: #c5362f; }

/* WC add-to-cart form */
.apex-product-details .quantity { display: flex; align-items: center; gap: 0; }
.apex-product-details .qty { width: 70px; min-height: 48px; text-align: center; border: 1.5px solid var(--line); border-radius: 0.9rem; font-size: 1rem; font-weight: 700; font-family: inherit; color: var(--ink-900); padding: 0.5rem; }
/*.apex-product-details .single_add_to_cart_button {
  min-height: 52px; padding: 0.85rem 2.2rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
  color: #fff; font-family: inherit; font-size: 1rem; font-weight: 700;
  border: 0; cursor: pointer; box-shadow: 0 10px 24px rgba(69,130,243,0.28);
  transition: opacity 0.15s; letter-spacing: 0.01em;
}*/




.apex-product-details .single_add_to_cart_button {
  min-height: 52px; padding: 0.85rem 2.2rem; border-radius: 999px;
  background: linear-gradient(135deg, #2d79e3, #30336b);
  color: #fff; font-family: inherit; font-size: 1rem; font-weight: 700;
  border: 0; cursor: pointer; box-shadow: 0 10px 24px rgba(69,130,243,0.28);
  transition: opacity 0.15s; letter-spacing: 0.01em;
}








.apex-product-details .single_add_to_cart_button:hover { opacity: 0.88; }
.apex-product-details form.cart { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

/* Trust badges row */
.apex-product-details__trust { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.apex-trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; font-weight: 700; color: var(--ink-700); }
/*.apex-trust-item .bi { color: var(--blue-700); font-size: 1rem; }*/

.apex-trust-item .bi { color: #2d79e3; font-size: 1rem; }

/* Tabs */
.apex-product-tabs { margin-top: 4rem; border-top: 1px solid var(--line); padding-top: 3rem; }
.apex-product-section:has(.apex-product-layout--no-image) .apex-product-tabs { max-width: 680px; margin-left: auto; margin-right: auto; }
.apex-product-tabs__nav { display: flex; gap: 0.3rem; padding: 0.35rem; background: var(--surface-alt); border: 1px solid var(--line); border-radius: 999px; width: fit-content; margin-bottom: 2rem; }
.apex-product-tabs__nav button { border: 0; background: transparent; padding: 0.65rem 1.4rem; border-radius: 999px; font-family: inherit; font-size: 0.93rem; font-weight: 700; color: var(--ink-700); cursor: pointer; transition: all 0.18s; }
.apex-product-tabs__nav button:hover { color: var(--ink-900); }
.apex-product-tabs__nav button.active { background: #fff; color: var(--ink-900); box-shadow: 0 2px 6px rgba(18,26,43,0.1); }

.apex-product-tabs__panel { display: none; }
.apex-product-tabs__panel.active { display: block; }
.apex-product-tabs__body { color: var(--ink-700); line-height: 1.85; font-size: 0.97rem; max-width: 74ch; }
.apex-product-tabs__body p { margin-bottom: 1rem; }
.apex-product-tabs__body table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.apex-product-tabs__body table th, .apex-product-tabs__body table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.apex-product-tabs__body table th { font-weight: 700; color: var(--ink-900); background: var(--surface-alt); width: 36%; }
.apex-product-tabs__body table td { color: var(--ink-700); }

/* Patient details — My Account view-order */
.apex-view-order-patient { margin-top: 2.5rem; }
.apex-view-order-patient h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; color: var(--ink-900); display: flex; align-items: center; gap: 0.5rem; }
.apex-view-order-patient h2::before { content: '\F4C2'; font-family: 'bootstrap-icons'; color: var(--blue-700); }
.apex-patient-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.apex-patient-table th, .apex-patient-table td { padding: 0.65rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.apex-patient-table th { font-weight: 700; color: var(--ink-900); background: var(--surface-alt); width: 35%; }
.apex-patient-table td { color: var(--ink-700); }

/* COA file card */
.apex-coa-files { margin-top: 1.25rem; }
.apex-coa-file-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 0.75rem; background: var(--surface-alt); }
.apex-coa-file-card strong { font-size: 0.95rem; color: var(--ink-900); }
.apex-coa-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.apex-coa-view { padding: 0.5rem 1.25rem; font-size: 0.875rem; border-radius: 999px; background: transparent; color: #1e40af; border: 2px solid #1e40af; text-decoration: none; font-weight: 700; white-space: nowrap; cursor: pointer; font-family: inherit; }
.apex-coa-view:hover { background: #1e40af; color: #fff; }

/* COA Modal */
.apex-coa-modal { display: none; position: fixed; inset: 0; z-index: 99999; }
.apex-coa-modal.is-open { display: flex; align-items: center; justify-content: center; }
.apex-coa-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.65); }
.apex-coa-modal__wrap { position: relative; z-index: 1; background: #fff; border-radius: 1rem; width: 90vw; max-width: 900px; height: 88vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.3); }
.apex-coa-modal__header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.apex-coa-modal__title { font-weight: 700; font-size: 0.95rem; color: var(--ink-900); }
.apex-coa-modal__close { background: none; border: none; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink-700); padding: 0 0.25rem; }
.apex-coa-modal__close:hover { color: var(--ink-900); }
.apex-coa-modal__body { flex: 1; overflow: hidden; }
.apex-coa-modal__iframe { width: 100%; height: 100%; border: 0; display: block; }
.apex-coa-download { padding: 0.5rem 1.25rem; font-size: 0.875rem; border-radius: 999px; background: #16a34a; color: #fff; border: 0; text-decoration: none; font-weight: 700; white-space: nowrap; }
.apex-coa-download:hover { background: #15803d; color: #fff; }
.apex-coa-content { margin-bottom: 1rem; }

/* Related products */
.apex-related { margin-top: 4rem; border-top: 1px solid var(--line); padding-top: 3rem; }

/* Responsive */
@media (max-width: 991.98px) {
  .apex-product-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .apex-product-details__trust { gap: 0.85rem; }
}
@media (max-width: 575.98px) {
  .apex-product-details form.cart { flex-direction: column; align-items: stretch; }
  .apex-product-details .single_add_to_cart_button { width: 100%; text-align: center; }
}

.btn-primary{
	background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark)) !important;
	border: none !important;
}
.product-card__media p{
	padding:15px;
	text-align:center;
}

.product-card__media h3{
	
	text-align: center;
    padding-top: 34px;
    font-size: 21px;
    font-weight: bold;

}


.apex-product-gallery p{
	padding:15px;
	text-align:center;
	
}


.apex-product-gallery h3{
	margin-top:150px;

	text-align: center;
    padding-top: 34px;
    font-size: 21px;
    font-weight: bold;

}

/* ── Checkout: selected payment/shipping card highlight ─────────────────────── */
.woocommerce-checkout ul.payment_methods li:has(input[type=radio]:checked) {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 2px rgba(69,130,243,0.18);
  background: var(--blue-100);
}

/* ── My Account: single order (WooCommerce view-order) ──────────────────────── */
.wc-order-intro { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 0 0 1.5rem; }
.wc-order-intro h3 { margin: 0; font-size: 1.4rem; font-weight: 800; color: var(--ink-900); }
.wc-order-intro p { margin: 0.25rem 0 0; color: var(--ink-500); font-size: 0.9rem; }
.wc-status-badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.95rem; border-radius: 999px; font-size: 0.82rem; font-weight: 700; text-transform: capitalize; }
.wc-status-badge--green { background: #e7f7ee; color: #1a854a; }
.wc-status-badge--blue { background: #e8eefc; color: var(--blue-800); }
.wc-status-badge--amber { background: #fff4e0; color: #b6791b; }
.wc-status-badge--red { background: #fdecea; color: #c0392b; }
.wc-status-badge--gray { background: #eef0f5; color: #5a6272; }
.wc-order-table { width: 100%; border-collapse: collapse; }
.wc-order-table th { text-align: left; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-500); padding: 0.65rem 0; border-bottom: 2px solid var(--line); }
.wc-order-table th:last-child, .wc-order-table td:last-child { text-align: right; }
.wc-order-table tbody td { padding: 0.85rem 0; border-bottom: 1px solid #f0f0f0; vertical-align: top; }
.wc-order-table tbody td .muted { display: block; color: var(--ink-500); font-size: 0.82rem; margin-top: 0.15rem; }
.wc-order-table tfoot td { padding: 0.5rem 0; color: var(--ink-700); }
.wc-order-table tfoot th { text-align: left; font-weight: 600; text-transform: none; letter-spacing: 0; padding: 0.5rem 0; border: 0; color: var(--ink-700); }
.wc-order-table tfoot tr:first-child td, .wc-order-table tfoot tr:first-child th { padding-top: 1rem; }
.wc-order-table tfoot .wc-order-total th, .wc-order-table tfoot .wc-order-total td { font-size: 1.15rem; font-weight: 800; color: var(--blue-800); border-top: 2px solid var(--line); padding-top: 0.9rem; }
.wc-address-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 0.5rem; }
.wc-address-cols address { font-style: normal; line-height: 1.7; color: var(--ink-700); font-size: 0.92rem; }
.wc-address-cols h4 { margin: 0 0 0.5rem; font-size: 0.95rem; font-weight: 800; color: var(--ink-900); }
.wc-patient-list { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.4rem 1.5rem; }
.wc-patient-list li { font-size: 0.92rem; color: var(--ink-700); }
.wc-patient-list li strong { color: var(--ink-900); }
@media (max-width: 767.98px) { .wc-address-cols, .wc-patient-list { grid-template-columns: 1fr; } }


/* ── Patients & Offices ───────────────────────────────────────────────────── */
.apex-recipients__section + .apex-recipients__section { margin-top: 2.25rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.apex-recipients__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.apex-recipients__head h3 { margin: 0; }
.apex-recipients__add {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1.25rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
  color: #fff !important; font-size: 0.85rem; font-weight: 700;
  border: 0; text-decoration: none !important; transition: opacity 0.15s;
}
.apex-recipients__add:hover { opacity: 0.88; color: #fff !important; }
.apex-recipients__actions { text-align: right; white-space: nowrap; }
.apex-recipients__actions form { display: inline; margin: 0; }
.apex-recipients__badge {
  display: inline-block; margin-left: 0.45rem; padding: 0.15rem 0.55rem;
  border-radius: 999px; background: #edf4ff; color: var(--blue-800);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
/* Overrides the blue pill that .woocommerce-MyAccount-content button[type="submit"] applies. */
.apex-recipients__actions .apex-recipients__delete {
  padding: 0 !important; min-height: 0 !important; border-radius: 0 !important;
  background: none !important; box-shadow: none !important;
  color: #c5362f !important; font: inherit; font-weight: 600; cursor: pointer;
}
.apex-recipients__actions .apex-recipients__delete:hover { text-decoration: underline; opacity: 1; }
.apex-recipients__empty { color: var(--ink-500); font-size: 0.9rem; margin: 0; }
