/*
Theme Name:        Eye Medical
Theme URI:         https://eyemedicalpro.com
Description:       Thème officiel Eye Medical — Équipements & Solutions Ophtalmologiques pour l'Afrique de l'Ouest. WordPress custom theme replicating the eyemedicalpro.com design.
Version:           1.0.0
Author:            Eye Medical
Author URI:        https://eyemedicalpro.com
Text Domain:       eyemedical
Tags:              medical, ophthalmology, blue, professional, custom-header, custom-logo, full-width-template
License:           Proprietary
*/

/* ==========================================================================
   RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Open Sans', Arial, sans-serif; color: #1a2a4a; background: #fff; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; }
ul { list-style: none; }
template {
  display: none;
}
.page-template-full-width .lte-text-page > .row {
  margin: 0 !important;
}
.page-template-full-width .lte-text-page > .row > div {
  padding: 0;
  width: 100%;
}

/* ==========================================================================
   COLOUR TOKENS — match eyemedicalpro.com mockup exactly
   ========================================================================== */
:root {
  --em-navy:        #0d2249;
  --em-blue-main:   #1565c0;
  --em-blue-btn:    #1976d2;
  --em-blue-teal:   #0288d1;   /* "Demander un devis" teal button */
  --em-blue-light:  #e8f0fe;
  --em-grey-bg:     #f4f7fc;
  --em-grey-line:   #d0daea;
  --em-text-dark:   #1a2a4a;
  --em-text-body:   #3d4f6b;
  --em-text-muted:  #6b7a99;
  --em-white:       #ffffff;
  --em-radius-sm:   4px;
  --em-radius-md:   8px;
  --em-shadow:      0 2px 12px rgba(0,0,0,0.10);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
  color: var(--em-navy);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.em-nav {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: var(--em-white);
  border-bottom: 1px solid var(--em-grey-line);
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}

.em-nav__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 24px;
  min-height: 70px;
}

.em-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: 28px;
  text-decoration: none;
}

.em-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.em-logo__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--em-navy);
  letter-spacing: 0.04em;
}

.em-logo__sub {
  font-size: 8.5px;
  font-weight: 600;
  color: var(--em-blue-main);
  letter-spacing: 0.05em;
  margin-top: 2px;
  text-transform: uppercase;
}

.em-primary-nav {
  flex: 1;
  min-width: 0;
}

.em-nav__links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  gap: 0;
  list-style: none;
}

.em-nav__links > li {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.em-nav__links > li > a {
  display: block;
  position: relative;
  padding: 24px 13px;
  color: var(--em-text-dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap !important;
  word-break: normal;
  overflow-wrap: normal;
  text-decoration: none;
  transition: color .2s;
}

.em-nav__links > li > a:hover,
.em-nav__links > li.current-menu-item > a,
.em-nav__links > li.current-menu-parent > a,
.em-nav__links > li.current_page_item > a {
  color: var(--em-blue-main);
}

.em-nav__links > li.current-menu-item > a::after,
.em-nav__links > li.current_page_item > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--em-blue-main);
  border-radius: 2px;
}

.em-nav__links .sub-menu {
  position: absolute;
  z-index: 10001;
  top: 100%;
  left: 0;
  min-width: 190px;
  margin: 0;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--em-grey-line);
  border-radius: var(--em-radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: opacity .2s, visibility .2s, transform .2s;
}

.em-nav__links > li:hover > .sub-menu,
.em-nav__links > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.em-nav__links .sub-menu li {
  margin: 0;
}

.em-nav__links .sub-menu a {
  display: block;
  padding: 9px 15px;
  color: var(--em-text-dark);
  font-size: 13px;
  white-space: nowrap !important;
}

.em-nav__links .sub-menu a:hover {
  background: var(--em-grey-bg);
  color: var(--em-blue-main);
}

.em-nav__right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
  flex-shrink: 0;
}

.em-nav__search {
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--em-text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s, background .2s;
}

.em-nav__search:hover {
  color: var(--em-blue-main);
  background: var(--em-blue-light);
}

.btn-devis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--em-blue-teal);
  color: var(--em-white);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--em-radius-sm);
  border: none;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
  text-decoration: none;
}

.btn-devis:hover {
  background: #0277bd;
  color: #fff;
}

.em-nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  margin: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.em-nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--em-blue-main);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

.em-nav__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.em-nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.em-nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.em-search-panel {
  display: none;
  position: absolute;
  z-index: 10000;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--em-grey-line);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  padding: 18px 24px;
}

.em-search-panel.is-open {
  display: block;
}

.em-search-form {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.em-search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--em-grey-line);
  border-radius: var(--em-radius-sm);
  color: var(--em-text-dark);
  background: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  outline: none;
}

.em-search-form input[type="search"]:focus {
  border-color: var(--em-blue-main);
  box-shadow: 0 0 0 3px rgba(21,101,192,.10);
}

.em-search-form button[type="submit"] {
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--em-radius-sm);
  background: var(--em-blue-main);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.em-search-form button[type="submit"]:hover {
  background: #0d47a1;
}

.em-search-close {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--em-text-muted);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.em-hero {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 480px;
  background-image: url('https://eyemedicalpro.com/wp-content/themes/eyemedical/assets/images/eyemdeicalhomepage.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.em-hero__left {
  max-width: 560px;
  margin: 40px;
  padding: 48px;
  border-radius: var(--em-radius-md);
  box-shadow: 0 10px 40px rgba(13, 34, 73, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
}
.em-hero__right {
  display: none;
}
.em-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--em-blue-main);
  border-radius: 20px;
  padding: 5px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--em-blue-main);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 22px;
}
.em-hero__h1 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 900;
  line-height: 1.12;
  color: var(--em-navy);
  margin-bottom: 4px;
}
.em-hero__h1-blue {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 900;
  line-height: 1.12;
  color: var(--em-blue-main);
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 20px;
}
.em-hero__body {
  font-size: 14.5px;
  color: var(--em-text-body);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 32px;
}
.em-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-solid {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--em-navy); color: var(--em-white);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 700;
  padding: 12px 24px; border-radius: var(--em-radius-sm);
  border: none; cursor: pointer; transition: background .2s;
}
.btn-solid:hover { background: #1a3560; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: var(--em-navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 700;
  padding: 11px 24px; border-radius: var(--em-radius-sm);
  border: 2px solid var(--em-grey-line); cursor: pointer; transition: all .2s;
}
.btn-outline:hover { border-color: var(--em-blue-main); color: var(--em-blue-main); }
.em-hero__right { position: relative; overflow: hidden; min-height: 380px; }
.em-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.em-hero__overlay-text {
  position: absolute; top: 20px; right: 20px;
  background: rgba(13,34,73,0.82); color: white;
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700;
  line-height: 1.5; padding: 14px 18px; border-radius: var(--em-radius-sm);
  text-align: center; max-width: 130px; transform: rotate(2deg);
}

/* ==========================================================================
   SOLUTION CARDS
   ========================================================================== */
.em-solutions { background: var(--em-white); padding: 40px 24px; }
.em-solutions__grid {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.sol-card {
  border: 1px solid var(--em-grey-line);
  border-radius: var(--em-radius-md);
  overflow: hidden;
  box-shadow: var(--em-shadow);
  background: var(--em-white);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  transition: box-shadow .2s, transform .2s;
}
.sol-card:hover { box-shadow: 0 6px 24px rgba(21,101,192,0.14); transform: translateY(-2px); }
.sol-card__header {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 14px;
  padding: 22px 20px 0;
}
.sol-card__icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--em-blue-btn);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sol-card__icon svg { width: 22px; height: 22px; }
.sol-card__title { font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 700; color: var(--em-navy); }
.sol-card__body { padding: 14px 20px 0; font-size: 13.5px; color: var(--em-text-body); line-height: 1.65; align-self: start; }
.sol-card__image { width: 110px; height: 110px; object-fit: contain; object-position: center; padding: 8px; align-self: center; }
.sol-card__footer { grid-column: 1 / -1; padding: 16px 20px 20px; }
.sol-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; color: var(--em-blue-main);
  transition: gap .2s;
}
.sol-card__link:hover { gap: 10px; }

/* ==========================================================================
   BRAND STRIP
   ========================================================================== */
.em-brands {
  background: #f8faff;
  border-top: 1px solid var(--em-grey-line);
  border-bottom: 1px solid var(--em-grey-line);
  padding: 28px 24px;
}
.em-brands__inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}
.em-brands__label {
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--em-text-muted); display: flex; align-items: center; gap: 12px; white-space: nowrap;
}
.em-brands__label::after {
  content: ''; display: block; width: 36px; height: 2px;
  background: var(--em-blue-main); border-radius: 2px;
}
.em-brands__logos { display: flex; align-items: center; flex: 1; }
.em-brands__logo-item {
  flex: 1; display: flex; align-items: center; justify-content: center; padding: 0 24px;
}
.em-brands__logo-item + .em-brands__logo-item { border-left: 1px solid var(--em-grey-line); }
.em-brands__logo-item img { max-height: 44px; width: auto; }

/* ==========================================================================
   WHY EYE MEDICAL
   ========================================================================== */
.em-why { background: var(--em-white); padding: 60px 24px; }
.em-why__inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: start;
}
.em-why__eyebrow { width: 36px; height: 4px; background: var(--em-blue-main); border-radius: 2px; margin-bottom: 18px; }
.em-why__title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; color: var(--em-navy); line-height: 1.25; margin-bottom: 16px; }
.em-why__body { font-size: 14px; color: var(--em-text-body); line-height: 1.7; margin-bottom: 24px; }
.btn-learn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--em-grey-line);
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; color: var(--em-navy);
  padding: 9px 20px; border-radius: var(--em-radius-sm); background: var(--em-white); cursor: pointer; transition: all .2s;
}
.btn-learn:hover { border-color: var(--em-blue-main); color: var(--em-blue-main); }
.em-why__right { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.why-col { display: flex; flex-direction: column; gap: 10px; }
.why-col__icon {
  width: 36px; height: 36px; border-radius: 50%; background: var(--em-blue-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 4px; flex-shrink: 0;
}
.why-col__icon svg { width: 18px; height: 18px; }
.why-col__title { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; color: var(--em-navy); }
.why-col__text { font-size: 13px; color: var(--em-text-body); line-height: 1.6; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.em-cta-band { background: var(--em-navy); padding: 52px 24px; position: relative; overflow: hidden; }
.em-cta-band::after {
  content: ''; position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(21,101,192,0.35) 0%, transparent 70%); pointer-events: none;
}
.em-cta-band__inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; position: relative; z-index: 1;
}
.em-cta-band__title { font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; color: var(--em-white); line-height: 1.25; margin-bottom: 8px; }
.em-cta-band__sub { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.em-cta-band__btns { display: flex; gap: 14px; align-items: center; flex-shrink: 0; flex-wrap: wrap; }
.btn-cta-contact, .btn-cta-phone {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: var(--em-white);
  font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700;
  padding: 12px 24px; border-radius: var(--em-radius-sm);
  border: 2px solid rgba(255,255,255,0.55); cursor: pointer; transition: border-color .2s; white-space: nowrap;
}
.btn-cta-contact:hover, .btn-cta-phone:hover { border-color: white; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.em-footer { background: var(--em-white); border-top: 1px solid var(--em-grey-line); padding: 28px 24px; }
.em-footer__inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.em-footer__logo { display: flex; align-items: center; gap: 9px; }
.em-footer__logo-name { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 800; color: var(--em-navy); letter-spacing: 0.04em; }
.em-footer__logo-sub { font-size: 7px; font-weight: 600; color: var(--em-blue-main); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }
.em-footer__logo-text { display: flex; flex-direction: column; line-height: 1; }
.em-footer__nav { display: flex; flex-wrap: wrap; }
.em-footer__nav li + li { border-left: 1px solid var(--em-grey-line); }
.em-footer__nav li a { font-size: 13px; font-weight: 500; color: var(--em-text-muted); padding: 0 14px; display: block; transition: color .2s; }
.em-footer__nav li a:hover { color: var(--em-blue-main); }
.em-footer__contact { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.em-footer__contact-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--em-text-muted); }
.em-footer__contact-item svg { width: 15px; height: 15px; flex-shrink: 0; }
.em-footer__social { display: flex; align-items: center; gap: 8px; }
.em-footer__social a {
  width: 30px; height: 30px; border-radius: 50%; background: var(--em-grey-bg);
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.em-footer__social a:hover { background: var(--em-blue-light); }
.em-footer__copy { font-size: 11px; color: var(--em-text-muted); flex-basis: 100%; text-align: right; margin-top: 4px; }

/* ==========================================================================
   PRODUCT PAGE SPECIFIC
   ========================================================================== */
.em-breadcrumb { background: var(--em-grey-bg); border-bottom: 1px solid var(--em-grey-line); padding: 11px 24px; }
.em-breadcrumb__inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.em-breadcrumb__inner li { font-size: 12.5px; color: var(--em-text-muted); display: flex; align-items: center; gap: 8px; }
.em-breadcrumb__inner li a { color: var(--em-text-muted); transition: color .2s; }
.em-breadcrumb__inner li a:hover { color: var(--em-blue-main); }
.em-breadcrumb__inner li.current { color: var(--em-navy); font-weight: 600; }
.em-prod-hero { background: var(--em-white); padding: 48px 24px 40px; border-bottom: 1px solid var(--em-grey-line); }
.em-prod-hero__inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 480px 1fr; gap: 60px; align-items: start; }
.em-gallery__main {
  background: var(--em-grey-bg); border: 1px solid var(--em-grey-line);
  border-radius: var(--em-radius-md); aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px; overflow: hidden; position: relative;
}
.em-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.em-gallery__badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--em-navy); color: white; font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.em-gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.em-gallery__thumb {
  background: var(--em-grey-bg); border: 2px solid transparent;
  border-radius: var(--em-radius-sm); aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; overflow: hidden; transition: border-color .2s;
}
.em-gallery__thumb.active, .em-gallery__thumb:hover { border-color: var(--em-blue-main); }
.em-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.badge { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; letter-spacing: 0.04em; text-transform: uppercase; }
.badge--brand { background: var(--em-navy); color: var(--em-blue-light); }
.badge--cat   { background: var(--em-blue-light); color: var(--em-blue-main); }
.badge--stock { background: #dcfce7; color: #15803d; display: flex; align-items: center; gap: 5px; }
.badge--stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.em-prod-info__name { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; line-height: 1.18; color: var(--em-navy); margin-bottom: 14px; }
.em-prod-info__tagline { font-size: 14.5px; color: var(--em-text-body); line-height: 1.7; max-width: 500px; margin-bottom: 28px; }
.em-prod-specs-strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--em-grey-line); border-radius: var(--em-radius-md); overflow: hidden; margin-bottom: 28px; }
.spec-kv { padding: 16px 18px; background: var(--em-grey-bg); border-right: 1px solid var(--em-grey-line); }
.spec-kv:last-child { border-right: none; }
.spec-kv__val { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 800; color: var(--em-navy); line-height: 1; }
.spec-kv__label { font-size: 12px; color: var(--em-text-muted); margin-top: 4px; font-family: 'Montserrat', sans-serif; font-weight: 600; }
.em-prod-cta { background: var(--em-blue-light); border: 1px solid #c5d9f5; border-radius: var(--em-radius-md); padding: 24px; margin-bottom: 28px; }
.em-prod-cta__title { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; color: var(--em-navy); margin-bottom: 4px; }
.em-prod-cta__sub { font-size: 13px; color: var(--em-text-body); margin-bottom: 18px; }
.em-prod-cta__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-prod-primary {
  display: inline-flex; align-items: center; gap: 8px; background: var(--em-navy); color: white;
  font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700;
  padding: 12px 22px; border-radius: var(--em-radius-sm); border: none; cursor: pointer; transition: background .2s; flex: 1; justify-content: center;
}
.btn-prod-primary:hover { background: #1a3560; }
.btn-prod-secondary {
  display: inline-flex; align-items: center; gap: 8px; background: white; color: var(--em-navy);
  font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700;
  padding: 11px 22px; border-radius: var(--em-radius-sm); border: 2px solid var(--em-grey-line); cursor: pointer; transition: all .2s; flex: 1; justify-content: center;
}
.btn-prod-secondary:hover { border-color: var(--em-blue-main); color: var(--em-blue-main); }
.em-prod-features { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.em-prod-features li { display: flex; align-items: flex-start; gap: 12px; font-size: 13.5px; color: var(--em-text-body); line-height: 1.55; }
.feat-icon { width: 20px; height: 20px; border-radius: 50%; background: var(--em-blue-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.feat-icon svg { width: 11px; height: 11px; }
.em-tab-bar { display: flex; border-bottom: 2px solid var(--em-grey-line); margin-bottom: 40px; }
.em-tab-btn { background: none; border: none; border-bottom: 3px solid transparent; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; color: var(--em-text-muted); padding: 14px 24px; cursor: pointer; margin-bottom: -2px; transition: all .15s; }
.em-tab-btn.active { color: var(--em-blue-main); border-bottom-color: var(--em-blue-main); }
.em-tab-btn:hover:not(.active) { color: var(--em-navy); }
.em-tab-pane { display: none; }
.em-tab-pane.active { display: block; }
.specs-tbl { width: 100%; border-collapse: collapse; border: 1px solid var(--em-grey-line); border-radius: var(--em-radius-md); overflow: hidden; }
.specs-tbl tr { border-bottom: 1px solid var(--em-grey-line); }
.specs-tbl tr:last-child { border-bottom: none; }
.specs-tbl td { padding: 13px 20px; font-size: 14px; }
.specs-tbl td:first-child { width: 260px; font-family: 'Montserrat', sans-serif; font-weight: 600; color: var(--em-navy); background: var(--em-grey-bg); border-right: 1px solid var(--em-grey-line); }
.specs-tbl td:last-child { color: var(--em-text-body); }
.specs-tbl__group td { background: var(--em-navy) !important; color: white !important; font-size: 11.5px; letter-spacing: 0.07em; text-transform: uppercase; border-right-color: rgba(255,255,255,0.12) !important; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1100px) {
  .em-logo {
    margin-right: 14px;
  }

  .em-nav__links > li > a {
    padding-left: 8px;
    padding-right: 8px;
  }

  .em-nav__right {
    gap: 6px;
    margin-left: 8px;
  }

  .btn-devis {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 900px) {
  .em-nav__inner {
    min-height: 68px;
  }

  .em-primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid var(--em-grey-line);
    box-shadow: 0 10px 22px rgba(0,0,0,.08);
  }

  .em-primary-nav.is-open {
    display: block;
  }

  .em-nav__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 8px 20px 14px;
  }

  .em-nav__links > li {
    width: 100%;
    border-bottom: 1px solid #edf1f5;
  }

  .em-nav__links > li:last-child {
    border-bottom: 0;
  }

  .em-nav__links > li > a {
    width: 100%;
    padding: 14px 4px;
    font-size: 15px;
  }

  .em-nav__links > li.current-menu-item > a::after,
  .em-nav__links > li.current_page_item > a::after {
    display: none;
  }

  .em-nav__links .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0 0 6px 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .em-nav__links .sub-menu a {
    padding: 8px 4px;
  }

  .em-nav__toggle {
    display: flex;
  }

  .em-nav__right .btn-devis {
    display: none;
  }

  /* ---- HERO: floating text card over full-width background ---- */
  .em-hero {
    min-height: auto;
  }

  .em-hero__left {
    max-width: none;
    margin: 20px;
    padding: 32px 24px;
  }

  .em-hero__body {
    max-width: none;
  }

  /* ---- SOLUTION CARDS: 3 cols -> 2 cols ---- */
  .em-solutions__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ---- WHY EYE MEDICAL: intro column stacks above the 4 features ---- */
  .em-why__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* ---- CTA BAND: heading stacks above buttons ---- */
  .em-cta-band__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .em-cta-band__btns {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .em-nav__inner {
    padding: 0 16px;
  }

  .em-logo {
    margin-right: 0;
    gap: 8px;
  }

  .em-logo svg {
    width: 40px;
    height: 40px;
  }

  .em-logo img {
    max-width: 40px;
  }

  .em-logo__name {
    font-size: 18px;
  }

  .em-logo__sub {
    font-size: 8px;
  }

  .em-hero__left {
    padding: 40px 20px;
  }

  .em-why__right {
    grid-template-columns: 1fr 1fr;
  }

  .em-search-panel {
    padding: 14px 16px;
  }

  .em-search-form {
    gap: 6px;
  }

  .em-search-form button[type="submit"] {
    padding: 0 14px;
  }
}

@media (max-width: 560px) {
  .em-solutions__grid {
    grid-template-columns: 1fr;
  }

  .em-hero__left {
    margin: 12px;
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .em-logo__sub {
    display: none;
  }

  .em-logo__name {
    font-size: 17px;
  }

  .em-logo svg,
  .em-logo img {
    width: 36px;
    max-width: 36px;
  }

  .em-why__right {
    grid-template-columns: 1fr;
  }

  .em-search-form {
    flex-wrap: wrap;
  }

  .em-search-form input[type="search"] {
    flex: 1 1 100%;
  }

  .em-search-form button[type="submit"] {
    flex: 1;
  }

  .em-search-close {
    flex: 0 0 36px;
  }
}

